@lovrabet/rabetbase-cli 2.5.3-beta.3 → 2.5.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 (361) 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/index.js +1 -1
  249. package/lib/commands/workspace/add.js +1 -1
  250. package/lib/commands/workspace/index.js +1 -1
  251. package/lib/commands/workspace/remove.js +1 -1
  252. package/lib/config/domain-config.js +1 -1
  253. package/lib/config/project-domain-routing.js +1 -1
  254. package/lib/config/region-config.js +1 -1
  255. package/lib/config/schema.js +1 -1
  256. package/lib/constant/cdn.d.ts +5 -3
  257. package/lib/constant/cdn.js +1 -1
  258. package/lib/constant/cli.js +1 -1
  259. package/lib/constant/defaults.js +1 -1
  260. package/lib/constant/domain.js +1 -1
  261. package/lib/constant/env.js +1 -1
  262. package/lib/constant/output.js +1 -1
  263. package/lib/constant/paths.js +1 -1
  264. package/lib/constant/region.js +1 -1
  265. package/lib/constant/risk.js +1 -1
  266. package/lib/constant/routing-profile.js +1 -1
  267. package/lib/context/app-resolver.js +1 -1
  268. package/lib/context/auth-resolver.js +1 -1
  269. package/lib/context/config-loader.js +1 -1
  270. package/lib/context.js +1 -1
  271. package/lib/core/alias-resolver.js +1 -1
  272. package/lib/core/api-client.js +1 -1
  273. package/lib/core/bff/config.js +1 -1
  274. package/lib/core/bff/file-system.js +1 -1
  275. package/lib/core/bff/hash.js +1 -1
  276. package/lib/core/bff/hook-directory.js +1 -1
  277. package/lib/core/bff/lock.js +1 -1
  278. package/lib/core/bff/utils.js +1 -1
  279. package/lib/core/cross-db-relation.js +1 -1
  280. package/lib/core/db-resolver.js +1 -1
  281. package/lib/core/flow-config.js +1 -1
  282. package/lib/core/instant-api-policy/config.js +1 -1
  283. package/lib/core/kb-search-client.js +1 -1
  284. package/lib/core/page/file-system.js +1 -1
  285. package/lib/core/page/hash.js +1 -1
  286. package/lib/core/page/lock.js +1 -1
  287. package/lib/core/page/lr-smart-jsx.js +1 -1
  288. package/lib/core/sql-index-auditor.js +1 -1
  289. package/lib/core/sql-sync/config.js +1 -1
  290. package/lib/core/sql-sync/file-system.js +1 -1
  291. package/lib/core/sql-sync/hash.js +1 -1
  292. package/lib/core/sql-sync/lock.js +1 -1
  293. package/lib/core/sql-sync/utils.js +1 -1
  294. package/lib/core/sql-validator.js +1 -1
  295. package/lib/errors.js +1 -1
  296. package/lib/framework/build-all-flags.js +1 -1
  297. package/lib/framework/error-output.js +1 -1
  298. package/lib/framework/explicit-yes.js +1 -1
  299. package/lib/framework/flags.js +1 -1
  300. package/lib/framework/help.js +1 -1
  301. package/lib/framework/index.js +1 -1
  302. package/lib/framework/output.js +1 -1
  303. package/lib/framework/response.js +1 -1
  304. package/lib/framework/runner-alias.js +1 -1
  305. package/lib/framework/runner.js +1 -1
  306. package/lib/framework/schema-export.js +1 -1
  307. package/lib/framework/supported-flags.js +1 -1
  308. package/lib/framework/types.js +1 -1
  309. package/lib/generated/build-info.d.ts +4 -4
  310. package/lib/generated/build-info.js +1 -1
  311. package/lib/generated/official-routing.js +1 -1
  312. package/lib/generated/routing-contract.js +1 -1
  313. package/lib/help.js +1 -1
  314. package/lib/postinstall.js +1 -1
  315. package/lib/runtime/confirmation.js +1 -1
  316. package/lib/runtime/event.js +1 -1
  317. package/lib/runtime/index.js +1 -1
  318. package/lib/runtime/queue.js +1 -1
  319. package/lib/runtime/resolve.js +1 -1
  320. package/lib/skills/builtin-skill.js +1 -1
  321. package/lib/skills/main.js +1 -1
  322. package/lib/skills/npx-skills-add.js +1 -1
  323. package/lib/skills/skill-presence.js +1 -1
  324. package/lib/telemetry/cli-command-trace.js +1 -1
  325. package/lib/telemetry/cli-help-trace.js +1 -1
  326. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  327. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  328. package/lib/telemetry/send-cli-trace-log.js +1 -1
  329. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  330. package/lib/utils/ai_config.js +1 -1
  331. package/lib/utils/apply-jq-filter.js +1 -1
  332. package/lib/utils/cdn-config.js +1 -1
  333. package/lib/utils/check-sdk-version.js +1 -1
  334. package/lib/utils/cli-version-check.js +1 -1
  335. package/lib/utils/cli-version-policy.d.ts +7 -0
  336. package/lib/utils/cli-version-policy.js +1 -1
  337. package/lib/utils/config.js +1 -1
  338. package/lib/utils/entity-with-id.js +1 -1
  339. package/lib/utils/file-utils.js +1 -1
  340. package/lib/utils/guides-cdn.js +1 -1
  341. package/lib/utils/http-client.js +1 -1
  342. package/lib/utils/is-non-interactive.js +1 -1
  343. package/lib/utils/logger.js +1 -1
  344. package/lib/utils/params.js +1 -1
  345. package/lib/utils/platform.js +1 -1
  346. package/lib/utils/sleep.js +1 -1
  347. package/lib/utils/template-replacer.js +1 -1
  348. package/lib/utils/update-notice.js +1 -1
  349. package/lib/utils/version.js +1 -1
  350. package/lib/utils/with-active-cookie.js +1 -1
  351. package/lib/utils/write-cli-side-channel.js +1 -1
  352. package/package.json +3 -1
  353. package/skills/rabetbase/SKILL.md +7 -5
  354. package/skills/rabetbase/guides/backend-function.md +5 -1
  355. package/skills/rabetbase/guides/bff-creation-workflow.md +3 -1
  356. package/skills/rabetbase/guides/cross-database-bff.md +70 -0
  357. package/skills/rabetbase/guides/data-api-guidelines.md +35 -33
  358. package/skills/rabetbase/guides/sql-creation-workflow.md +2 -0
  359. package/skills/rabetbase/references/rabetbase-dataset-cross-relations.md +5 -1
  360. package/skills/rabetbase.manifest.json +4 -3
  361. package/templates/README.md +41 -13
@@ -1 +1 @@
1
- const a296_0x4caa84=a296_0x5ad5;(function(_0x4d578c,_0xbe92d3){const _0x4b35af=a296_0x5ad5,_0x2ed514=_0x4d578c();while(!![]){try{const _0x25adc1=-parseInt(_0x4b35af(0x117))/0x1+-parseInt(_0x4b35af(0x109))/0x2+-parseInt(_0x4b35af(0xf6))/0x3+-parseInt(_0x4b35af(0x10e))/0x4*(-parseInt(_0x4b35af(0x10a))/0x5)+-parseInt(_0x4b35af(0xef))/0x6+parseInt(_0x4b35af(0xfc))/0x7+-parseInt(_0x4b35af(0xf9))/0x8*(-parseInt(_0x4b35af(0x130))/0x9);if(_0x25adc1===_0xbe92d3)break;else _0x2ed514['push'](_0x2ed514['shift']());}catch(_0x525745){_0x2ed514['push'](_0x2ed514['shift']());}}}(a296_0x2af3,0x6dbd1));const MYBATIS_OUTER_TAGS=new Map([['select','SELECT'],['insert',a296_0x4caa84(0x106)],[a296_0x4caa84(0x115),'UPDATE'],[a296_0x4caa84(0xea),'DELETE']]),MYBATIS_DYNAMIC_TAGS=new Set(['if','where','foreach',a296_0x4caa84(0x129),a296_0x4caa84(0xf4),a296_0x4caa84(0x126),a296_0x4caa84(0x10f),a296_0x4caa84(0x125),a296_0x4caa84(0xdc),'include',a296_0x4caa84(0x114)]),MYBATIS_BRANCH_TAGS=new Set(['if',a296_0x4caa84(0xe7),'choose',a296_0x4caa84(0xf4),a296_0x4caa84(0x126)]);export const MYBATIS_DYNAMIC_START_MARKER='__RABETBASE_MYBATIS_DYNAMIC_START__';export const MYBATIS_DYNAMIC_END_MARKER=a296_0x4caa84(0xe8);export const MYBATIS_INCLUDE_MARKER=a296_0x4caa84(0xed);const UNRESOLVED_SQL_FRAGMENT=a296_0x4caa84(0xe2),MYBATIS_OUTER_TAG_PATTERN=new RegExp(a296_0x4caa84(0x122)+[...MYBATIS_OUTER_TAGS[a296_0x4caa84(0x12a)]()][a296_0x4caa84(0xde)]('|')+a296_0x4caa84(0x116),'i');export function normalizeSqlForStaticAnalysis(_0x85a518){const _0x392382=a296_0x4caa84,_0x3baf08=typeof _0x85a518==='string'?_0x85a518:'';if(!startsWithMybatisStatementWrapper(_0x3baf08))return{'sql':_0x3baf08,'mode':_0x392382(0x108)};let _0x51e8ee=0x0,_0x23ab9e='',_0x5d99ea,_0x318a10=![],_0x2ff84e=![];const _0x5610a5=[];while(_0x51e8ee<_0x3baf08[_0x392382(0xdf)]){if(_0x3baf08['startsWith'](_0x392382(0x11a),_0x51e8ee)){const _0x1edf1d=_0x3baf08['indexOf'](_0x392382(0x119),_0x51e8ee+0x4);if(_0x1edf1d<0x0)return invalidMybatisSource(_0x392382(0x11d));_0x23ab9e+='\x20',_0x51e8ee=_0x1edf1d+0x3;continue;}if(_0x3baf08[_0x392382(0xf0)]('<![CDATA[',_0x51e8ee)){if(!_0x318a10||_0x2ff84e)return invalidMybatisSource(_0x392382(0xf5));const _0x4781fa=_0x3baf08['indexOf'](_0x392382(0xe3),_0x51e8ee+0x9);if(_0x4781fa<0x0)return invalidMybatisSource(_0x392382(0x11c));_0x23ab9e+=_0x3baf08[_0x392382(0x12f)](_0x51e8ee+0x9,_0x4781fa),_0x51e8ee=_0x4781fa+0x3;continue;}if(_0x3baf08[_0x392382(0xf0)]('<?',_0x51e8ee)){if(_0x318a10)return invalidMybatisSource(_0x392382(0xfe));const _0x32e319=_0x3baf08[_0x392382(0x112)]('?>',_0x51e8ee+0x2);if(_0x32e319<0x0)return invalidMybatisSource('Unterminated\x20XML\x20declaration.');_0x23ab9e+='\x20',_0x51e8ee=_0x32e319+0x2;continue;}if(_0x3baf08[_0x51e8ee]!=='<'){const _0x44b5bb=_0x3baf08[_0x392382(0x112)]('<',_0x51e8ee),_0x225287=_0x44b5bb<0x0?_0x3baf08['length']:_0x44b5bb,_0x7e92a0=_0x3baf08[_0x392382(0x12f)](_0x51e8ee,_0x225287);if((!_0x318a10||_0x2ff84e)&&_0x7e92a0[_0x392382(0x10f)]())return invalidMybatisSource(_0x392382(0xfd));if(_0x318a10&&!_0x2ff84e){const _0x344a93=decodeXmlEntities(_0x7e92a0);if(_0x344a93===null)return invalidMybatisSource(_0x392382(0xf1));_0x23ab9e+=_0x344a93;}else _0x23ab9e+='\x20';_0x51e8ee=_0x225287;continue;}const _0x5afce4=findXmlTagEnd(_0x3baf08,_0x51e8ee);if(_0x5afce4<0x0)return invalidMybatisSource('Unterminated\x20MyBatis\x20XML\x20tag.');const _0x7a000f=_0x3baf08[_0x392382(0x12f)](_0x51e8ee,_0x5afce4+0x1),_0x4a2420=/^<\s*(\/?)\s*([A-Za-z][\w:-]*)([\s\S]*?)(\/?)\s*>$/['exec'](_0x7a000f);if(!_0x4a2420)return invalidMybatisSource(_0x392382(0xda));const _0x1ab07b=_0x4a2420[0x1]==='/',_0x3370ae=_0x4a2420[0x2]??'',_0x553e68=_0x3370ae['toLowerCase'](),_0x474222=_0x4a2420[0x3]??'',_0x25a216=_0x4a2420[0x4]==='/',_0xaf798c=MYBATIS_OUTER_TAGS[_0x392382(0xd8)](_0x553e68);if(!_0xaf798c&&!MYBATIS_DYNAMIC_TAGS[_0x392382(0x102)](_0x553e68))return invalidMybatisSource(_0x392382(0xfb)+_0x553e68+'>.');if(!_0xaf798c&&_0x3370ae!==_0x553e68)return invalidMybatisSource(_0x392382(0xee)+_0x3370ae+'>.');if(_0x1ab07b){if(_0x474222[_0x392382(0x10f)]()||_0x25a216)return invalidMybatisSource(_0x392382(0x118)+_0x3370ae+'>.');const _0x2305d6=_0x5610a5['at'](-0x1);if(!_0x2305d6||(_0x2305d6['outer']?_0x2305d6['tagName']!==_0x553e68:_0x2305d6[_0x392382(0xff)]!==_0x3370ae))return invalidMybatisSource(_0x392382(0x104)+_0x3370ae+'>.');_0x5610a5[_0x392382(0xf3)]();if(_0x2305d6[_0x392382(0x11f)])_0x2ff84e=!![];_0x23ab9e+=MYBATIS_BRANCH_TAGS[_0x392382(0x102)](_0x553e68)?'\x20'+MYBATIS_DYNAMIC_END_MARKER+'\x20':'\x20';}else{if(!hasWellFormedXmlAttributes(_0x474222))return invalidMybatisSource(_0x392382(0x120)+_0x3370ae+'>.');if(_0x553e68===_0x392382(0x114)&&(!_0x25a216||_0x5610a5['at'](-0x1)?.['tagName']!==_0x392382(0x107)))return invalidMybatisSource('MyBatis\x20<property>\x20must\x20be\x20a\x20self-closing\x20direct\x20child\x20of\x20<include>.');if(_0xaf798c){if(_0x318a10||_0x5610a5[_0x392382(0xdf)]>0x0)return invalidMybatisSource('Multiple\x20MyBatis\x20statement\x20wrappers\x20are\x20not\x20supported.');_0x318a10=!![],_0x2ff84e=_0x25a216,_0x5d99ea=_0xaf798c;}else{if(!_0x318a10||_0x2ff84e)return invalidMybatisSource('MyBatis\x20dynamic\x20tag\x20must\x20be\x20inside\x20the\x20statement\x20wrapper:\x20<'+_0x3370ae+'>.');}_0x23ab9e+=_0x553e68===_0x392382(0xe4)?'\x20WHERE\x20':_0x553e68===_0x392382(0x125)?_0x392382(0x12b):_0x553e68==='include'?'\x20'+MYBATIS_INCLUDE_MARKER+'\x20':MYBATIS_BRANCH_TAGS['has'](_0x553e68)&&!_0x25a216?'\x20'+MYBATIS_DYNAMIC_START_MARKER+'\x20':'\x20',!_0x25a216&&_0x5610a5[_0x392382(0xd9)]({'rawName':_0x3370ae,'tagName':_0x553e68,'outer':!!_0xaf798c});}_0x51e8ee=_0x5afce4+0x1;}if(_0x5610a5[_0x392382(0xdf)]>0x0)return invalidMybatisSource(_0x392382(0x11b)+_0x5610a5['at'](-0x1)?.['rawName']+'>.');if(!_0x318a10||!_0x2ff84e)return invalidMybatisSource(_0x392382(0x111));return{'sql':_0x23ab9e[_0x392382(0x10f)](),'mode':_0x392382(0x10d),..._0x5d99ea?{'statementType':_0x5d99ea}:{}};}function hasWellFormedXmlAttributes(_0x7428aa){const _0x1993b8=a296_0x4caa84;let _0xca4904=0x0;const _0x956d89=new Set();while(_0xca4904<_0x7428aa[_0x1993b8(0xdf)]){while(_0xca4904<_0x7428aa[_0x1993b8(0xdf)]&&/\s/[_0x1993b8(0xdb)](_0x7428aa[_0xca4904]??''))_0xca4904+=0x1;if(_0xca4904>=_0x7428aa[_0x1993b8(0xdf)])return!![];const _0x565528=/^[A-Za-z_:][\w:.-]*/[_0x1993b8(0x121)](_0x7428aa[_0x1993b8(0x12f)](_0xca4904)),_0x29a4f5=_0x565528?.[0x0];if(!_0x29a4f5||_0x956d89['has'](_0x29a4f5))return![];_0x956d89['add'](_0x29a4f5),_0xca4904+=_0x29a4f5['length'];while(_0xca4904<_0x7428aa[_0x1993b8(0xdf)]&&/\s/[_0x1993b8(0xdb)](_0x7428aa[_0xca4904]??''))_0xca4904+=0x1;if(_0x7428aa[_0xca4904]!=='=')return![];_0xca4904+=0x1;while(_0xca4904<_0x7428aa[_0x1993b8(0xdf)]&&/\s/[_0x1993b8(0xdb)](_0x7428aa[_0xca4904]??''))_0xca4904+=0x1;const _0x38cb4a=_0x7428aa[_0xca4904];if(_0x38cb4a!=='\x22'&&_0x38cb4a!=='\x27')return![];_0xca4904+=0x1;const _0x977c79=_0x7428aa[_0x1993b8(0x112)](_0x38cb4a,_0xca4904);if(_0x977c79<0x0)return![];if(decodeXmlEntities(_0x7428aa[_0x1993b8(0x12f)](_0xca4904,_0x977c79))===null)return![];_0xca4904=_0x977c79+0x1;}return!![];}function startsWithMybatisStatementWrapper(_0xd32ef4){const _0x50f029=a296_0x4caa84;let _0x412cb2=0x0;const _0x15f432=()=>{const _0x3b26f2=a296_0x5ad5;while(_0x412cb2<_0xd32ef4[_0x3b26f2(0xdf)]&&/\s/[_0x3b26f2(0xdb)](_0xd32ef4[_0x412cb2]??''))_0x412cb2+=0x1;};_0x15f432();while(_0x412cb2<_0xd32ef4[_0x50f029(0xdf)]){if(_0xd32ef4['startsWith'](_0x50f029(0x11a),_0x412cb2)){const _0x20fcdf=_0xd32ef4[_0x50f029(0x112)]('-->',_0x412cb2+0x4);if(_0x20fcdf<0x0)return!![];_0x412cb2=_0x20fcdf+0x3,_0x15f432();continue;}if(_0xd32ef4[_0x50f029(0xf0)]('<?',_0x412cb2)){const _0x173fe1=_0xd32ef4['indexOf']('?>',_0x412cb2+0x2);if(_0x173fe1<0x0)return!![];_0x412cb2=_0x173fe1+0x2,_0x15f432();continue;}break;}return MYBATIS_OUTER_TAG_PATTERN[_0x50f029(0xdb)](_0xd32ef4[_0x50f029(0x12f)](_0x412cb2));}function a296_0x2af3(){const _0x37db7d=['pop','when','CDATA\x20sections\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','406323fFxqEu','unknown\x20table(s)','WITH','9443944eLsRNh','from','Unsupported\x20MyBatis\x20XML\x20tag:\x20<','4131708QfZhIe','SQL\x20text\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','XML\x20declarations\x20must\x20precede\x20the\x20MyBatis\x20statement\x20wrapper.','rawName','UPDATE','replace','has','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','Mismatched\x20MyBatis\x20XML\x20closing\x20tag:\x20</','DDL','INSERT','include','sql','1517056xyPuAA','15gnBmxm','toUpperCase','UNKNOWN','mybatisXml','548008BvCEDf','trim','matchAll','MyBatis\x20XML\x20must\x20contain\x20exactly\x20one\x20complete\x20statement\x20wrapper.','indexOf','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','property','update',')\x5cb','492835LPffQp','Invalid\x20MyBatis\x20XML\x20closing\x20tag:\x20</','-->','<!--','Unclosed\x20MyBatis\x20XML\x20tag:\x20<','Unterminated\x20CDATA\x20section.','Unterminated\x20XML\x20comment.','&lt;','outer','Invalid\x20attributes\x20on\x20MyBatis\x20XML\x20tag:\x20<','exec','^<\x5cs*(?:','\x20with\x20parameters:\x20','&amp;','set','otherwise','error','SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements','choose','keys','\x20SET\x20','DELETE','fromCodePoint','match','slice','9NoBKjA','get','push','Invalid\x20MyBatis\x20XML\x20tag.','test','bind','reason','join','length','replaceAll','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','__RABETBASE_UNRESOLVED_SQL_FRAGMENT__',']]>','where','type','add','foreach','__RABETBASE_MYBATIS_DYNAMIC_END__','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','delete','&gt;','SELECT','__RABETBASE_MYBATIS_INCLUDE_UNRESOLVED__','MyBatis\x20dynamic\x20tag\x20names\x20must\x20be\x20lowercase:\x20<','2072700KQFFfL','startsWith','Invalid\x20XML\x20entity\x20reference.','\x20query\x20targeting\x20'];a296_0x2af3=function(){return _0x37db7d;};return a296_0x2af3();}function invalidMybatisSource(_0x31e52d){return{'sql':'','mode':'mybatisXml','error':_0x31e52d};}function findXmlTagEnd(_0x9b1ee4,_0x2507e9){let _0x23de5e;for(let _0x27a78d=_0x2507e9+0x1;_0x27a78d<_0x9b1ee4['length'];_0x27a78d+=0x1){const _0x1c5345=_0x9b1ee4[_0x27a78d];if(_0x23de5e){if(_0x1c5345===_0x23de5e)_0x23de5e=undefined;continue;}if(_0x1c5345==='\x22'||_0x1c5345==='\x27'){_0x23de5e=_0x1c5345;continue;}if(_0x1c5345==='>')return _0x27a78d;}return-0x1;}function decodeXmlEntities(_0x279340){const _0xad19f7=a296_0x4caa84;let _0x3fd221=![];const _0x1bfb62=_0x279340[_0xad19f7(0x101)](/&(?:#x[0-9a-f]+;|#[0-9]+;|[A-Za-z_:][\w:.-]*;)?/g,_0x47c3d0=>{const _0x38b4ba=_0xad19f7;if(_0x47c3d0===_0x38b4ba(0x11e))return'<';if(_0x47c3d0===_0x38b4ba(0xeb))return'>';if(_0x47c3d0==='&quot;')return'\x22';if(_0x47c3d0==='&apos;')return'\x27';if(_0x47c3d0===_0x38b4ba(0x124))return'&';const _0x4c685e=/^&#(?:x([0-9a-f]+)|([0-9]+));$/[_0x38b4ba(0x121)](_0x47c3d0);if(_0x4c685e){const _0x249c30=_0x4c685e[0x1],_0x541a4c=_0x4c685e[0x2],_0x284399=Number['parseInt'](_0x249c30??_0x541a4c??'',_0x249c30?0x10:0xa);if(isValidXmlCharacter(_0x284399))return String[_0x38b4ba(0x12d)](_0x284399);}return _0x3fd221=!![],'';});return _0x3fd221?null:_0x1bfb62;}function isValidXmlCharacter(_0x5b8d5f){return _0x5b8d5f===0x9||_0x5b8d5f===0xa||_0x5b8d5f===0xd||_0x5b8d5f>=0x20&&_0x5b8d5f<=0xd7ff||_0x5b8d5f>=0xe000&&_0x5b8d5f<=0xfffd||_0x5b8d5f>=0x10000&&_0x5b8d5f<=0x10ffff;}export function detectSqlType(_0x38d93a){return detectNormalizedSqlType(normalizeSqlForStaticAnalysis(_0x38d93a));}function detectNormalizedSqlType(_0x41d9a4){const _0x87e821=a296_0x4caa84;if(_0x41d9a4[_0x87e821(0x127)])return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x41d9a4['error']};if(!_0x41d9a4[_0x87e821(0x108)][_0x87e821(0x10f)]())return{'type':_0x87e821(0x10c),'isSelectOnly':![],'isDangerous':![],'reason':'SQL\x20content\x20is\x20empty'};const _0x120167=stripStaticAnalysisMarkers(_0x41d9a4['sql'])[_0x87e821(0x101)](/#\{[^}]*\}/g,'?')[_0x87e821(0x101)](/\$\{[^}]*\}/g,'?')['replace'](/@[^(\s]+(\([^)]*\))?/g,'')[_0x87e821(0x101)](/\/\*[\s\S]*?\*\//g,'')[_0x87e821(0x10f)](),_0x4a31a0=_0x120167['split']('\x0a');let _0x7e3c39='';for(const _0x58a3e0 of _0x4a31a0){const _0xbb0ef7=_0x58a3e0[_0x87e821(0x10f)]();if(!_0xbb0ef7||_0xbb0ef7[_0x87e821(0xf0)]('--')||_0xbb0ef7[_0x87e821(0xf0)]('/*'))continue;_0x7e3c39=_0xbb0ef7;break;}const _0x5a1f30=_0x7e3c39[_0x87e821(0x10b)](),_0xcd2571=_0x41d9a4['statementType'],_0x16ec2e=maskSqlTextForBlockedKeywordScan(_0x120167),_0x3a4dab=/\b(DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x87e821(0xdb)](_0x16ec2e);if(_0xcd2571===_0x87e821(0xec)||!_0xcd2571&&(_0x5a1f30[_0x87e821(0xf0)]('SELECT')||_0x5a1f30[_0x87e821(0xf0)](_0x87e821(0xf8)))){const _0x6de971=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x87e821(0xdb)](_0x120167);return{'type':_0x87e821(0xec),'isSelectOnly':!_0x6de971,'isDangerous':_0x6de971,'reason':_0x6de971?_0x87e821(0xe1):undefined};}if(_0xcd2571===_0x87e821(0x106)||!_0xcd2571&&_0x5a1f30[_0x87e821(0xf0)](_0x87e821(0x106)))return{'type':'INSERT','isSelectOnly':![],'isDangerous':_0x3a4dab,'reason':_0x3a4dab?'SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements':undefined};if(_0xcd2571===_0x87e821(0x100)||!_0xcd2571&&_0x5a1f30[_0x87e821(0xf0)](_0x87e821(0x100)))return{'type':_0x87e821(0x100),'isSelectOnly':![],'isDangerous':_0x3a4dab,'reason':_0x3a4dab?_0x87e821(0x128):undefined};if(_0xcd2571==='DELETE'||!_0xcd2571&&_0x5a1f30['startsWith'](_0x87e821(0x12c)))return{'type':_0x87e821(0x12c),'isSelectOnly':![],'isDangerous':!![],'reason':_0x87e821(0x113)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x5a1f30))return{'type':_0x87e821(0x105),'isSelectOnly':![],'isDangerous':!![],'reason':_0x87e821(0x103)};return{'type':_0x87e821(0x10c),'isSelectOnly':![],'isDangerous':![]};}function stripStaticAnalysisMarkers(_0x57d346){const _0x1e3737=a296_0x4caa84;return _0x57d346[_0x1e3737(0xe0)](MYBATIS_DYNAMIC_START_MARKER,'\x20')[_0x1e3737(0xe0)](MYBATIS_DYNAMIC_END_MARKER,'\x20')[_0x1e3737(0xe0)](MYBATIS_INCLUDE_MARKER,'\x20'+UNRESOLVED_SQL_FRAGMENT+'\x20');}function a296_0x5ad5(_0xd33b7d,_0xa4fa26){_0xd33b7d=_0xd33b7d-0xd8;const _0x2af3ed=a296_0x2af3();let _0x5ad5fb=_0x2af3ed[_0xd33b7d];return _0x5ad5fb;}function maskSqlTextForBlockedKeywordScan(_0x354158){const _0x2e65ae=a296_0x4caa84;return _0x354158[_0x2e65ae(0x101)](/'(?:''|\\.|[^'])*'/g,'\x20')['replace'](/"(?:""|\\.|[^"])*"/g,'\x20')[_0x2e65ae(0x101)](/`(?:``|\\.|[^`])*`/g,'\x20')[_0x2e65ae(0x101)](/--.*$/gm,'\x20')[_0x2e65ae(0x101)](/#.*$/gm,'\x20')[_0x2e65ae(0x101)](/\/\*[\s\S]*?\*\//g,'\x20');}function extractTables(_0x27cee6){const _0x44f5df=a296_0x4caa84,_0x461e9f=_0x27cee6[_0x44f5df(0x101)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')[_0x44f5df(0x101)](/--.*$/gm,'')[_0x44f5df(0x101)](/\/\*[\s\S]*?\*\//g,''),_0x228176=[],_0x1c0ee9=_0x461e9f[_0x44f5df(0x12e)](/FROM\s+([^\s,)(]+)/i);addTable(_0x228176,_0x1c0ee9?.[0x1]);for(const _0x3a61d8 of _0x461e9f[_0x44f5df(0x110)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){addTable(_0x228176,_0x3a61d8[0x1]);}const _0x99b52b=_0x461e9f[_0x44f5df(0x12e)](/INTO\s+([^\s(]+)/i);addTable(_0x228176,_0x99b52b?.[0x1]);const _0x498b09=_0x461e9f[_0x44f5df(0x12e)](/UPDATE\s+([^\s,)(]+)/i);return addTable(_0x228176,_0x498b09?.[0x1]),_0x228176;}function addTable(_0x3fc962,_0x54e5c5){const _0x1ec31d=a296_0x4caa84,_0x5c982e=_0x54e5c5?.[_0x1ec31d(0x101)](/[`"]/g,'');_0x5c982e&&_0x5c982e!==UNRESOLVED_SQL_FRAGMENT&&!_0x3fc962['includes'](_0x5c982e)&&_0x3fc962[_0x1ec31d(0xd9)](_0x5c982e);}function extractParameters(_0x122106){const _0xf595eb=a296_0x4caa84,_0x1c579b=new Set();for(const _0x4b66b8 of _0x122106[_0xf595eb(0x110)](/[#$]\{\s*([A-Za-z_][\w.]*)\s*(?=[,}])/g)){if(_0x4b66b8[0x1])_0x1c579b[_0xf595eb(0xe6)](_0x4b66b8[0x1]);}return Array[_0xf595eb(0xfa)](_0x1c579b);}export function validateSql(_0x585605){const _0x12a826=a296_0x4caa84,_0x2850e0=normalizeSqlForStaticAnalysis(_0x585605),_0xc61baa=detectNormalizedSqlType(_0x2850e0),_0x54ff2=stripStaticAnalysisMarkers(_0x2850e0[_0x12a826(0x108)]),_0x1727ee=_0x2850e0[_0x12a826(0x127)]?[]:extractTables(_0x54ff2),_0xdf60de=_0x2850e0[_0x12a826(0x127)]?[]:extractParameters(_0x54ff2);if(_0xc61baa['isDangerous'])return{'valid':![],'sqlType':_0xc61baa,'tables':_0x1727ee,'parameters':_0xdf60de,'message':_0xc61baa[_0x12a826(0xdd)]||_0xc61baa[_0x12a826(0xe5)]+'\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.'};if(_0xc61baa[_0x12a826(0xe5)]===_0x12a826(0x10c))return{'valid':![],'sqlType':_0xc61baa,'tables':_0x1727ee,'parameters':_0xdf60de,'message':_0x2850e0[_0x12a826(0x127)]?'Unable\x20to\x20detect\x20SQL\x20type.\x20'+_0x2850e0[_0x12a826(0x127)]:_0x12a826(0xe9)};return{'valid':!![],'sqlType':_0xc61baa,'tables':_0x1727ee,'parameters':_0xdf60de,'message':_0xc61baa[_0x12a826(0xe5)]+_0x12a826(0xf2)+(_0x1727ee[_0x12a826(0xdf)]?_0x1727ee[_0x12a826(0xde)](',\x20'):_0x12a826(0xf7))+(_0xdf60de['length']?_0x12a826(0x123)+_0xdf60de[_0x12a826(0xde)](',\x20'):'')};}
1
+ const a296_0x30ed2f=a296_0x2dd3;(function(_0x52b020,_0xd2f2c8){const _0x50a24c=a296_0x2dd3,_0xfc483d=_0x52b020();while(!![]){try{const _0x58ccb2=-parseInt(_0x50a24c(0x162))/0x1+parseInt(_0x50a24c(0x14a))/0x2*(-parseInt(_0x50a24c(0x193))/0x3)+-parseInt(_0x50a24c(0x163))/0x4*(parseInt(_0x50a24c(0x169))/0x5)+parseInt(_0x50a24c(0x174))/0x6*(-parseInt(_0x50a24c(0x17b))/0x7)+parseInt(_0x50a24c(0x170))/0x8*(parseInt(_0x50a24c(0x16d))/0x9)+parseInt(_0x50a24c(0x15f))/0xa*(parseInt(_0x50a24c(0x18e))/0xb)+parseInt(_0x50a24c(0x185))/0xc;if(_0x58ccb2===_0xd2f2c8)break;else _0xfc483d['push'](_0xfc483d['shift']());}catch(_0x382c27){_0xfc483d['push'](_0xfc483d['shift']());}}}(a296_0x2b2b,0xeed2a));const MYBATIS_OUTER_TAGS=new Map([[a296_0x30ed2f(0x18f),a296_0x30ed2f(0x165)],[a296_0x30ed2f(0x1a1),a296_0x30ed2f(0x171)],['update',a296_0x30ed2f(0x149)],['delete',a296_0x30ed2f(0x178)]]),MYBATIS_DYNAMIC_TAGS=new Set(['if',a296_0x30ed2f(0x19e),a296_0x30ed2f(0x168),'choose','when',a296_0x30ed2f(0x17c),a296_0x30ed2f(0x14d),a296_0x30ed2f(0x177),a296_0x30ed2f(0x155),a296_0x30ed2f(0x151),a296_0x30ed2f(0x17d)]),MYBATIS_BRANCH_TAGS=new Set(['if',a296_0x30ed2f(0x168),a296_0x30ed2f(0x18a),'when',a296_0x30ed2f(0x17c)]);export const MYBATIS_DYNAMIC_START_MARKER='__RABETBASE_MYBATIS_DYNAMIC_START__';export const MYBATIS_DYNAMIC_END_MARKER='__RABETBASE_MYBATIS_DYNAMIC_END__';export const MYBATIS_INCLUDE_MARKER='__RABETBASE_MYBATIS_INCLUDE_UNRESOLVED__';function a296_0x2dd3(_0x4072e5,_0x38260e){_0x4072e5=_0x4072e5-0x147;const _0x2b2b0f=a296_0x2b2b();let _0x2dd382=_0x2b2b0f[_0x4072e5];return _0x2dd382;}const UNRESOLVED_SQL_FRAGMENT='__RABETBASE_UNRESOLVED_SQL_FRAGMENT__',MYBATIS_OUTER_TAG_PATTERN=new RegExp(a296_0x30ed2f(0x15b)+[...MYBATIS_OUTER_TAGS[a296_0x30ed2f(0x181)]()]['join']('|')+a296_0x30ed2f(0x15e),'i');export function normalizeSqlForStaticAnalysis(_0x573e19){const _0x9d07e3=a296_0x30ed2f,_0x51ac93=typeof _0x573e19==='string'?_0x573e19:'';if(!startsWithMybatisStatementWrapper(_0x51ac93))return{'sql':_0x51ac93,'mode':_0x9d07e3(0x19b)};let _0x15a310=0x0,_0x34f329='',_0x3830c2,_0x3817d2=![],_0x2c2355=![];const _0x53336c=[];while(_0x15a310<_0x51ac93['length']){if(_0x51ac93[_0x9d07e3(0x150)](_0x9d07e3(0x164),_0x15a310)){const _0x3f352b=_0x51ac93[_0x9d07e3(0x186)](_0x9d07e3(0x156),_0x15a310+0x4);if(_0x3f352b<0x0)return invalidMybatisSource(_0x9d07e3(0x194));_0x34f329+='\x20',_0x15a310=_0x3f352b+0x3;continue;}if(_0x51ac93[_0x9d07e3(0x150)](_0x9d07e3(0x19f),_0x15a310)){if(!_0x3817d2||_0x2c2355)return invalidMybatisSource(_0x9d07e3(0x183));const _0x5cc664=_0x51ac93[_0x9d07e3(0x186)](']]>',_0x15a310+0x9);if(_0x5cc664<0x0)return invalidMybatisSource(_0x9d07e3(0x16b));_0x34f329+=_0x51ac93['slice'](_0x15a310+0x9,_0x5cc664),_0x15a310=_0x5cc664+0x3;continue;}if(_0x51ac93[_0x9d07e3(0x150)]('<?',_0x15a310)){if(_0x3817d2)return invalidMybatisSource(_0x9d07e3(0x195));const _0x48090b=_0x51ac93[_0x9d07e3(0x186)]('?>',_0x15a310+0x2);if(_0x48090b<0x0)return invalidMybatisSource(_0x9d07e3(0x182));_0x34f329+='\x20',_0x15a310=_0x48090b+0x2;continue;}if(_0x51ac93[_0x15a310]!=='<'){const _0x417ed1=_0x51ac93['indexOf']('<',_0x15a310),_0x444cd1=_0x417ed1<0x0?_0x51ac93[_0x9d07e3(0x19a)]:_0x417ed1,_0x1c2f37=_0x51ac93[_0x9d07e3(0x152)](_0x15a310,_0x444cd1);if((!_0x3817d2||_0x2c2355)&&_0x1c2f37[_0x9d07e3(0x14d)]())return invalidMybatisSource('SQL\x20text\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.');if(_0x3817d2&&!_0x2c2355){const _0x35d655=decodeXmlEntities(_0x1c2f37);if(_0x35d655===null)return invalidMybatisSource(_0x9d07e3(0x19c));_0x34f329+=_0x35d655;}else _0x34f329+='\x20';_0x15a310=_0x444cd1;continue;}const _0x420708=findXmlTagEnd(_0x51ac93,_0x15a310);if(_0x420708<0x0)return invalidMybatisSource('Unterminated\x20MyBatis\x20XML\x20tag.');const _0x3dcda8=_0x51ac93['slice'](_0x15a310,_0x420708+0x1),_0x237a7=/^<\s*(\/?)\s*([A-Za-z][\w:-]*)([\s\S]*?)(\/?)\s*>$/[_0x9d07e3(0x161)](_0x3dcda8);if(!_0x237a7)return invalidMybatisSource(_0x9d07e3(0x157));const _0x5dd98c=_0x237a7[0x1]==='/',_0x13f4ca=_0x237a7[0x2]??'',_0x1ad32f=_0x13f4ca['toLowerCase'](),_0x5beb09=_0x237a7[0x3]??'',_0xcc6f3a=_0x237a7[0x4]==='/',_0x2e1510=MYBATIS_OUTER_TAGS[_0x9d07e3(0x15c)](_0x1ad32f);if(!_0x2e1510&&!MYBATIS_DYNAMIC_TAGS[_0x9d07e3(0x16c)](_0x1ad32f))return invalidMybatisSource(_0x9d07e3(0x14c)+_0x1ad32f+'>.');if(!_0x2e1510&&_0x13f4ca!==_0x1ad32f)return invalidMybatisSource(_0x9d07e3(0x166)+_0x13f4ca+'>.');if(_0x5dd98c){if(_0x5beb09[_0x9d07e3(0x14d)]()||_0xcc6f3a)return invalidMybatisSource('Invalid\x20MyBatis\x20XML\x20closing\x20tag:\x20</'+_0x13f4ca+'>.');const _0x56e0c5=_0x53336c['at'](-0x1);if(!_0x56e0c5||(_0x56e0c5[_0x9d07e3(0x18d)]?_0x56e0c5[_0x9d07e3(0x167)]!==_0x1ad32f:_0x56e0c5[_0x9d07e3(0x16e)]!==_0x13f4ca))return invalidMybatisSource(_0x9d07e3(0x1a0)+_0x13f4ca+'>.');_0x53336c[_0x9d07e3(0x159)]();if(_0x56e0c5[_0x9d07e3(0x18d)])_0x2c2355=!![];_0x34f329+=MYBATIS_BRANCH_TAGS[_0x9d07e3(0x16c)](_0x1ad32f)?'\x20'+MYBATIS_DYNAMIC_END_MARKER+'\x20':'\x20';}else{if(!hasWellFormedXmlAttributes(_0x5beb09))return invalidMybatisSource(_0x9d07e3(0x15a)+_0x13f4ca+'>.');if(_0x1ad32f===_0x9d07e3(0x17d)&&(!_0xcc6f3a||_0x53336c['at'](-0x1)?.['tagName']!=='include'))return invalidMybatisSource(_0x9d07e3(0x196));if(_0x2e1510){if(_0x3817d2||_0x53336c[_0x9d07e3(0x19a)]>0x0)return invalidMybatisSource(_0x9d07e3(0x17e));_0x3817d2=!![],_0x2c2355=_0xcc6f3a,_0x3830c2=_0x2e1510;}else{if(!_0x3817d2||_0x2c2355)return invalidMybatisSource(_0x9d07e3(0x199)+_0x13f4ca+'>.');}_0x34f329+=_0x1ad32f==='where'?_0x9d07e3(0x173):_0x1ad32f===_0x9d07e3(0x177)?'\x20SET\x20':_0x1ad32f===_0x9d07e3(0x151)?'\x20'+MYBATIS_INCLUDE_MARKER+'\x20':MYBATIS_BRANCH_TAGS['has'](_0x1ad32f)&&!_0xcc6f3a?'\x20'+MYBATIS_DYNAMIC_START_MARKER+'\x20':'\x20',!_0xcc6f3a&&_0x53336c['push']({'rawName':_0x13f4ca,'tagName':_0x1ad32f,'outer':!!_0x2e1510});}_0x15a310=_0x420708+0x1;}if(_0x53336c[_0x9d07e3(0x19a)]>0x0)return invalidMybatisSource(_0x9d07e3(0x17a)+_0x53336c['at'](-0x1)?.[_0x9d07e3(0x16e)]+'>.');if(!_0x3817d2||!_0x2c2355)return invalidMybatisSource('MyBatis\x20XML\x20must\x20contain\x20exactly\x20one\x20complete\x20statement\x20wrapper.');return{'sql':_0x34f329[_0x9d07e3(0x14d)](),'mode':_0x9d07e3(0x153),..._0x3830c2?{'statementType':_0x3830c2}:{}};}function hasWellFormedXmlAttributes(_0x3ca014){const _0x5d6c0f=a296_0x30ed2f;let _0x58b67c=0x0;const _0x46a233=new Set();while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]){while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]&&/\s/[_0x5d6c0f(0x180)](_0x3ca014[_0x58b67c]??''))_0x58b67c+=0x1;if(_0x58b67c>=_0x3ca014['length'])return!![];const _0x5b1562=/^[A-Za-z_:][\w:.-]*/[_0x5d6c0f(0x161)](_0x3ca014['slice'](_0x58b67c)),_0x52aebb=_0x5b1562?.[0x0];if(!_0x52aebb||_0x46a233[_0x5d6c0f(0x16c)](_0x52aebb))return![];_0x46a233[_0x5d6c0f(0x16f)](_0x52aebb),_0x58b67c+=_0x52aebb[_0x5d6c0f(0x19a)];while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]&&/\s/[_0x5d6c0f(0x180)](_0x3ca014[_0x58b67c]??''))_0x58b67c+=0x1;if(_0x3ca014[_0x58b67c]!=='=')return![];_0x58b67c+=0x1;while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]&&/\s/[_0x5d6c0f(0x180)](_0x3ca014[_0x58b67c]??''))_0x58b67c+=0x1;const _0x1f51b9=_0x3ca014[_0x58b67c];if(_0x1f51b9!=='\x22'&&_0x1f51b9!=='\x27')return![];_0x58b67c+=0x1;const _0x5d2ed7=_0x3ca014[_0x5d6c0f(0x186)](_0x1f51b9,_0x58b67c);if(_0x5d2ed7<0x0)return![];if(decodeXmlEntities(_0x3ca014[_0x5d6c0f(0x152)](_0x58b67c,_0x5d2ed7))===null)return![];_0x58b67c=_0x5d2ed7+0x1;}return!![];}function startsWithMybatisStatementWrapper(_0x2e3486){const _0x46d9d6=a296_0x30ed2f;let _0x53f182=0x0;const _0x3a685a=()=>{const _0x177d5b=a296_0x2dd3;while(_0x53f182<_0x2e3486['length']&&/\s/[_0x177d5b(0x180)](_0x2e3486[_0x53f182]??''))_0x53f182+=0x1;};_0x3a685a();while(_0x53f182<_0x2e3486[_0x46d9d6(0x19a)]){if(_0x2e3486['startsWith'](_0x46d9d6(0x164),_0x53f182)){const _0x4d58f6=_0x2e3486[_0x46d9d6(0x186)](_0x46d9d6(0x156),_0x53f182+0x4);if(_0x4d58f6<0x0)return!![];_0x53f182=_0x4d58f6+0x3,_0x3a685a();continue;}if(_0x2e3486['startsWith']('<?',_0x53f182)){const _0x5cba5e=_0x2e3486['indexOf']('?>',_0x53f182+0x2);if(_0x5cba5e<0x0)return!![];_0x53f182=_0x5cba5e+0x2,_0x3a685a();continue;}break;}return MYBATIS_OUTER_TAG_PATTERN[_0x46d9d6(0x180)](_0x2e3486[_0x46d9d6(0x152)](_0x53f182));}function invalidMybatisSource(_0x25196c){return{'sql':'','mode':'mybatisXml','error':_0x25196c};}function findXmlTagEnd(_0xc75218,_0x32336d){const _0x46664f=a296_0x30ed2f;let _0x376116;for(let _0x54b851=_0x32336d+0x1;_0x54b851<_0xc75218[_0x46664f(0x19a)];_0x54b851+=0x1){const _0x2e7fe2=_0xc75218[_0x54b851];if(_0x376116){if(_0x2e7fe2===_0x376116)_0x376116=undefined;continue;}if(_0x2e7fe2==='\x22'||_0x2e7fe2==='\x27'){_0x376116=_0x2e7fe2;continue;}if(_0x2e7fe2==='>')return _0x54b851;}return-0x1;}function decodeXmlEntities(_0x557620){const _0x450342=a296_0x30ed2f;let _0x1cb37a=![];const _0x4efb37=_0x557620[_0x450342(0x175)](/&(?:#x[0-9a-f]+;|#[0-9]+;|[A-Za-z_:][\w:.-]*;)?/g,_0x6747c8=>{const _0x211748=_0x450342;if(_0x6747c8===_0x211748(0x15d))return'<';if(_0x6747c8===_0x211748(0x18c))return'>';if(_0x6747c8===_0x211748(0x14f))return'\x22';if(_0x6747c8===_0x211748(0x14b))return'\x27';if(_0x6747c8==='&amp;')return'&';const _0x50c2f1=/^&#(?:x([0-9a-f]+)|([0-9]+));$/[_0x211748(0x161)](_0x6747c8);if(_0x50c2f1){const _0x3dd446=_0x50c2f1[0x1],_0x19886d=_0x50c2f1[0x2],_0x3edb8c=Number[_0x211748(0x176)](_0x3dd446??_0x19886d??'',_0x3dd446?0x10:0xa);if(isValidXmlCharacter(_0x3edb8c))return String['fromCodePoint'](_0x3edb8c);}return _0x1cb37a=!![],'';});return _0x1cb37a?null:_0x4efb37;}function isValidXmlCharacter(_0x377424){return _0x377424===0x9||_0x377424===0xa||_0x377424===0xd||_0x377424>=0x20&&_0x377424<=0xd7ff||_0x377424>=0xe000&&_0x377424<=0xfffd||_0x377424>=0x10000&&_0x377424<=0x10ffff;}export function detectSqlType(_0x226b49){return detectNormalizedSqlType(normalizeSqlForStaticAnalysis(_0x226b49));}function detectNormalizedSqlType(_0x391558){const _0x2b42d4=a296_0x30ed2f;if(_0x391558[_0x2b42d4(0x184)])return{'type':_0x2b42d4(0x179),'isSelectOnly':![],'isDangerous':![],'reason':_0x391558[_0x2b42d4(0x184)]};if(!_0x391558[_0x2b42d4(0x19b)][_0x2b42d4(0x14d)]())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x2b42d4(0x19d)};const _0xb3779d=stripStaticAnalysisMarkers(_0x391558[_0x2b42d4(0x19b)])[_0x2b42d4(0x175)](/#\{[^}]*\}/g,'?')[_0x2b42d4(0x175)](/\$\{[^}]*\}/g,'?')['replace'](/@[^(\s]+(\([^)]*\))?/g,'')[_0x2b42d4(0x175)](/\/\*[\s\S]*?\*\//g,'')['trim'](),_0x1750c7=_0xb3779d['split']('\x0a');let _0x190437='';for(const _0x584105 of _0x1750c7){const _0x4313f5=_0x584105[_0x2b42d4(0x14d)]();if(!_0x4313f5||_0x4313f5[_0x2b42d4(0x150)]('--')||_0x4313f5[_0x2b42d4(0x150)]('/*'))continue;_0x190437=_0x4313f5;break;}const _0xabd0ee=_0x190437['toUpperCase'](),_0xaa8baf=_0x391558['statementType'],_0x1ecd7f=maskSqlTextForBlockedKeywordScan(_0xb3779d),_0x16dd95=/\b(DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x1ecd7f);if(_0xaa8baf===_0x2b42d4(0x165)||!_0xaa8baf&&(_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x165))||_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x14e)))){const _0x35fe48=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x2b42d4(0x180)](_0xb3779d);return{'type':_0x2b42d4(0x165),'isSelectOnly':!_0x35fe48,'isDangerous':_0x35fe48,'reason':_0x35fe48?'SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT':undefined};}if(_0xaa8baf==='INSERT'||!_0xaa8baf&&_0xabd0ee[_0x2b42d4(0x150)]('INSERT'))return{'type':_0x2b42d4(0x171),'isSelectOnly':![],'isDangerous':_0x16dd95,'reason':_0x16dd95?_0x2b42d4(0x192):undefined};if(_0xaa8baf===_0x2b42d4(0x149)||!_0xaa8baf&&_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x149)))return{'type':_0x2b42d4(0x149),'isSelectOnly':![],'isDangerous':_0x16dd95,'reason':_0x16dd95?'SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements':undefined};if(_0xaa8baf===_0x2b42d4(0x178)||!_0xaa8baf&&_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x178)))return{'type':_0x2b42d4(0x178),'isSelectOnly':![],'isDangerous':!![],'reason':_0x2b42d4(0x187)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x2b42d4(0x180)](_0xabd0ee))return{'type':_0x2b42d4(0x189),'isSelectOnly':![],'isDangerous':!![],'reason':_0x2b42d4(0x190)};return{'type':_0x2b42d4(0x179),'isSelectOnly':![],'isDangerous':![]};}function stripStaticAnalysisMarkers(_0x53fd76){const _0x155f73=a296_0x30ed2f;return _0x53fd76[_0x155f73(0x148)](MYBATIS_DYNAMIC_START_MARKER,'\x20')[_0x155f73(0x148)](MYBATIS_DYNAMIC_END_MARKER,'\x20')[_0x155f73(0x148)](MYBATIS_INCLUDE_MARKER,'\x20'+UNRESOLVED_SQL_FRAGMENT+'\x20');}function maskSqlTextForBlockedKeywordScan(_0x5bb266){const _0x2fa420=a296_0x30ed2f;return _0x5bb266[_0x2fa420(0x175)](/'(?:''|\\.|[^'])*'/g,'\x20')[_0x2fa420(0x175)](/"(?:""|\\.|[^"])*"/g,'\x20')['replace'](/`(?:``|\\.|[^`])*`/g,'\x20')[_0x2fa420(0x175)](/--.*$/gm,'\x20')[_0x2fa420(0x175)](/#.*$/gm,'\x20')['replace'](/\/\*[\s\S]*?\*\//g,'\x20');}function extractTables(_0x53760){const _0xcbc8f=a296_0x30ed2f,_0x343124=_0x53760[_0xcbc8f(0x175)](/#\{[^}]*\}/g,'?')[_0xcbc8f(0x175)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')[_0xcbc8f(0x175)](/--.*$/gm,'')[_0xcbc8f(0x175)](/\/\*[\s\S]*?\*\//g,''),_0xf3d46f=[],_0x7f018b=_0x343124[_0xcbc8f(0x154)](/FROM\s+([^\s,)(]+)/i);addTable(_0xf3d46f,_0x7f018b?.[0x1]);for(const _0x23953b of _0x343124[_0xcbc8f(0x191)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){addTable(_0xf3d46f,_0x23953b[0x1]);}const _0x2be310=_0x343124['match'](/INTO\s+([^\s(]+)/i);addTable(_0xf3d46f,_0x2be310?.[0x1]);const _0x52c176=_0x343124[_0xcbc8f(0x154)](/UPDATE\s+([^\s,)(]+)/i);return addTable(_0xf3d46f,_0x52c176?.[0x1]),_0xf3d46f;}function a296_0x2b2b(){const _0x31b08c=['exec','1376413MvoBLZ','9428dAbNwp','<!--','SELECT','MyBatis\x20dynamic\x20tag\x20names\x20must\x20be\x20lowercase:\x20<','tagName','foreach','3635kDJmuM','Unable\x20to\x20detect\x20SQL\x20type.\x20','Unterminated\x20CDATA\x20section.','has','99ISrzjf','rawName','add','153264JhimpB','INSERT','reason','\x20WHERE\x20','2626314qZHYFz','replace','parseInt','set','DELETE','UNKNOWN','Unclosed\x20MyBatis\x20XML\x20tag:\x20<','7gDKmvR','otherwise','property','Multiple\x20MyBatis\x20statement\x20wrappers\x20are\x20not\x20supported.','join','test','keys','Unterminated\x20XML\x20declaration.','CDATA\x20sections\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','error','51900672DQEboP','indexOf','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','type','DDL','choose','\x20query\x20targeting\x20','&gt;','outer','46486VnxJTc','select','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','matchAll','SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements','3309927PBDZQq','Unterminated\x20XML\x20comment.','XML\x20declarations\x20must\x20precede\x20the\x20MyBatis\x20statement\x20wrapper.','MyBatis\x20<property>\x20must\x20be\x20a\x20self-closing\x20direct\x20child\x20of\x20<include>.','unknown\x20table(s)','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','MyBatis\x20dynamic\x20tag\x20must\x20be\x20inside\x20the\x20statement\x20wrapper:\x20<','length','sql','Invalid\x20XML\x20entity\x20reference.','SQL\x20content\x20is\x20empty','where','<![CDATA[','Mismatched\x20MyBatis\x20XML\x20closing\x20tag:\x20</','insert','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','from','replaceAll','UPDATE','2lrnfGQ','&apos;','Unsupported\x20MyBatis\x20XML\x20tag:\x20<','trim','WITH','&quot;','startsWith','include','slice','mybatisXml','match','bind','-->','Invalid\x20MyBatis\x20XML\x20tag.','push','pop','Invalid\x20attributes\x20on\x20MyBatis\x20XML\x20tag:\x20<','^<\x5cs*(?:','get','&lt;',')\x5cb','2540XInYuV','includes'];a296_0x2b2b=function(){return _0x31b08c;};return a296_0x2b2b();}function addTable(_0x4fc54b,_0x2d133e){const _0x4a9ace=a296_0x30ed2f,_0x2b0515=_0x2d133e?.[_0x4a9ace(0x175)](/[`"]/g,'');_0x2b0515&&_0x2b0515!==UNRESOLVED_SQL_FRAGMENT&&!_0x4fc54b[_0x4a9ace(0x160)](_0x2b0515)&&_0x4fc54b[_0x4a9ace(0x158)](_0x2b0515);}function extractParameters(_0x325f3c){const _0x48e5be=a296_0x30ed2f,_0x595592=new Set();for(const _0x105d24 of _0x325f3c['matchAll'](/[#$]\{\s*([A-Za-z_][\w.]*)\s*(?=[,}])/g)){if(_0x105d24[0x1])_0x595592['add'](_0x105d24[0x1]);}return Array[_0x48e5be(0x147)](_0x595592);}export function validateSql(_0x2c1503){const _0x53bc12=a296_0x30ed2f,_0x5c1ab6=normalizeSqlForStaticAnalysis(_0x2c1503),_0x56e28b=detectNormalizedSqlType(_0x5c1ab6),_0x44f0c6=stripStaticAnalysisMarkers(_0x5c1ab6[_0x53bc12(0x19b)]),_0x372f08=_0x5c1ab6[_0x53bc12(0x184)]?[]:extractTables(_0x44f0c6),_0x2c1192=_0x5c1ab6['error']?[]:extractParameters(_0x44f0c6);if(_0x56e28b['isDangerous'])return{'valid':![],'sqlType':_0x56e28b,'tables':_0x372f08,'parameters':_0x2c1192,'message':_0x56e28b[_0x53bc12(0x172)]||_0x56e28b[_0x53bc12(0x188)]+_0x53bc12(0x198)};if(_0x56e28b[_0x53bc12(0x188)]===_0x53bc12(0x179))return{'valid':![],'sqlType':_0x56e28b,'tables':_0x372f08,'parameters':_0x2c1192,'message':_0x5c1ab6[_0x53bc12(0x184)]?_0x53bc12(0x16a)+_0x5c1ab6[_0x53bc12(0x184)]:_0x53bc12(0x1a2)};return{'valid':!![],'sqlType':_0x56e28b,'tables':_0x372f08,'parameters':_0x2c1192,'message':_0x56e28b[_0x53bc12(0x188)]+_0x53bc12(0x18b)+(_0x372f08[_0x53bc12(0x19a)]?_0x372f08[_0x53bc12(0x17f)](',\x20'):_0x53bc12(0x197))+(_0x2c1192[_0x53bc12(0x19a)]?'\x20with\x20parameters:\x20'+_0x2c1192[_0x53bc12(0x17f)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- const a297_0x59ce2e=a297_0x1d91;(function(_0x383fdf,_0x2c6cac){const _0x52aec2=a297_0x1d91,_0x2c17f6=_0x383fdf();while(!![]){try{const _0x14855a=-parseInt(_0x52aec2(0xb3))/0x1*(parseInt(_0x52aec2(0xb8))/0x2)+parseInt(_0x52aec2(0xc3))/0x3+parseInt(_0x52aec2(0xc0))/0x4*(parseInt(_0x52aec2(0xc6))/0x5)+-parseInt(_0x52aec2(0xb6))/0x6*(parseInt(_0x52aec2(0xbf))/0x7)+parseInt(_0x52aec2(0xbc))/0x8+-parseInt(_0x52aec2(0xbe))/0x9*(-parseInt(_0x52aec2(0xc1))/0xa)+-parseInt(_0x52aec2(0xbd))/0xb*(-parseInt(_0x52aec2(0xba))/0xc);if(_0x14855a===_0x2c6cac)break;else _0x2c17f6['push'](_0x2c17f6['shift']());}catch(_0x1246f3){_0x2c17f6['push'](_0x2c17f6['shift']());}}}(a297_0x2038,0x9de43));function a297_0x1d91(_0x195cd0,_0x1ca7af){_0x195cd0=_0x195cd0-0xaf;const _0x2038e2=a297_0x2038();let _0x1d9161=_0x2038e2[_0x195cd0];return _0x1d9161;}import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};function a297_0x2038(){const _0x165231=['\x20auth`\x20to\x20login\x20first.','12CpMduv','cancelled','8560928PjiROF','4531428DZjLbZ','494775xwpKAF','14hXAiGB','682676iAeNJH','50KzbxRn','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.\x0a\x20\x20\x20\x20\x20\x20\x20Tip:\x20`','831663hLaQns','Missing\x20required\x20flag:\x20--','Authentication\x20required','10QHVpTN','Unknown\x20command:\x20','not_in_project','apiError','Check\x20your\x20internet\x20connection\x20and\x20try\x20again.','auth_required','\x20--help`\x20to\x20see\x20available\x20commands.','\x20project\x20directory','flag_missing','\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','Run\x20`','unknown_command','1ITMrxP','Network\x20error:\x20','Set\x20appcode\x20via\x20`','2280474FndzFR','Operation\x20cancelled.','1937234PUqXAM'];a297_0x2038=function(){return _0x165231;};return a297_0x2038();}const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a297_0x59ce2e(0xb1)+CLI_BIN_NAME+a297_0x59ce2e(0xb9),'configMissingHint':a297_0x59ce2e(0xb5)+CLI_BIN_NAME+a297_0x59ce2e(0xc2)+CLI_BIN_NAME+a297_0x59ce2e(0xb0),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});export const CliErrors={'authRequired'(_0x56bda6){const _0x5d856d=a297_0x59ce2e;return new CliError(_0x5d856d(0xcb),0x1,_0x5d856d(0xc5),_0x56bda6??_0x5d856d(0xb1)+CLI_BIN_NAME+_0x5d856d(0xb9));},'configMissing'(_0x393f11){const _0x3988cf=a297_0x59ce2e;return new CliError('config_missing',0x1,'Configuration\x20file\x20not\x20found',_0x393f11??'Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x3988cf(0xc2)+CLI_BIN_NAME+_0x3988cf(0xb0));},'notInProject'(){const _0x4c526d=a297_0x59ce2e;return new CliError(_0x4c526d(0xc8),0x1,'Not\x20in\x20a\x20'+CLI_BIN_NAME+_0x4c526d(0xcd),'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.');},'apiError'(_0x2bfc72,_0x568114){const _0x46e0be=a297_0x59ce2e;return baseCliErrors[_0x46e0be(0xc9)](_0x2bfc72,_0x568114);},'networkError'(_0x143f34){const _0x4164c1=a297_0x59ce2e;return new CliError('network_error',0x2,_0x4164c1(0xb4)+_0x143f34,_0x4164c1(0xca));},'unknownCommand'(_0x5c579e){const _0x323d12=a297_0x59ce2e;return new CliError(_0x323d12(0xb2),0x1,_0x323d12(0xc7)+_0x5c579e,_0x323d12(0xb1)+CLI_BIN_NAME+_0x323d12(0xcc));},'flagMissing'(_0x120ec9,_0x17ced1){const _0x10083f=a297_0x59ce2e;return new CliError(_0x10083f(0xaf),0x1,_0x10083f(0xc4)+_0x120ec9,_0x17ced1);},'validation'(_0x3fa504,_0x3ca016){return baseCliErrors['validation'](_0x3fa504,_0x3ca016);},'cancelled'(_0x420db9){const _0x3ded41=a297_0x59ce2e;return new CliError(_0x3ded41(0xbb),0x0,_0x420db9??_0x3ded41(0xb7));}};
1
+ const a297_0x3434fc=a297_0x5724;(function(_0x1785b7,_0x3c8cf2){const _0x223098=a297_0x5724,_0x596b76=_0x1785b7();while(!![]){try{const _0x15cbb3=parseInt(_0x223098(0x15e))/0x1+-parseInt(_0x223098(0x167))/0x2+parseInt(_0x223098(0x15b))/0x3+parseInt(_0x223098(0x150))/0x4+parseInt(_0x223098(0x163))/0x5+-parseInt(_0x223098(0x153))/0x6*(-parseInt(_0x223098(0x164))/0x7)+parseInt(_0x223098(0x169))/0x8*(-parseInt(_0x223098(0x14f))/0x9);if(_0x15cbb3===_0x3c8cf2)break;else _0x596b76['push'](_0x596b76['shift']());}catch(_0x3fc128){_0x596b76['push'](_0x596b76['shift']());}}}(a297_0x54d1,0xba9bd));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a297_0x3434fc(0x16b)+CLI_BIN_NAME+a297_0x3434fc(0x160),'configMissingHint':a297_0x3434fc(0x162)+CLI_BIN_NAME+a297_0x3434fc(0x14e)+CLI_BIN_NAME+'\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','notInProjectHint':a297_0x3434fc(0x159)});function a297_0x54d1(){const _0x5666b4=['Run\x20`','validation','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.\x0a\x20\x20\x20\x20\x20\x20\x20Tip:\x20`','72XFEbcf','4242996XDRRFV','Missing\x20required\x20flag:\x20--','config_missing','1323996FCAcND','\x20--help`\x20to\x20see\x20available\x20commands.','Authentication\x20required','not_in_project','Not\x20in\x20a\x20','Operation\x20cancelled.','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','Configuration\x20file\x20not\x20found','1746300aYiHvy','auth_required','unknown_command','471190mqaRSf','\x20project\x20directory','\x20auth`\x20to\x20login\x20first.','\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','Set\x20appcode\x20via\x20`','4249050uzzbfD','14XVgwnf','Check\x20your\x20internet\x20connection\x20and\x20try\x20again.','network_error','1427376DnTBGq','flag_missing','1927144hTsTtB','Network\x20error:\x20'];a297_0x54d1=function(){return _0x5666b4;};return a297_0x54d1();}function a297_0x5724(_0x2debdc,_0x86796f){_0x2debdc=_0x2debdc-0x14d;const _0x54d153=a297_0x54d1();let _0x572443=_0x54d153[_0x2debdc];return _0x572443;}export const CliErrors={'authRequired'(_0x4cd1ea){const _0x281d49=a297_0x3434fc;return new CliError(_0x281d49(0x15c),0x1,_0x281d49(0x155),_0x4cd1ea??_0x281d49(0x16b)+CLI_BIN_NAME+_0x281d49(0x160));},'configMissing'(_0x19411d){const _0x49d358=a297_0x3434fc;return new CliError(_0x49d358(0x152),0x1,_0x49d358(0x15a),_0x19411d??_0x49d358(0x162)+CLI_BIN_NAME+_0x49d358(0x14e)+CLI_BIN_NAME+_0x49d358(0x161));},'notInProject'(){const _0x30a419=a297_0x3434fc;return new CliError(_0x30a419(0x156),0x1,_0x30a419(0x157)+CLI_BIN_NAME+_0x30a419(0x15f),_0x30a419(0x159));},'apiError'(_0x535f36,_0x1c693b){return baseCliErrors['apiError'](_0x535f36,_0x1c693b);},'networkError'(_0x7d5de0){const _0x31b0b9=a297_0x3434fc;return new CliError(_0x31b0b9(0x166),0x2,_0x31b0b9(0x16a)+_0x7d5de0,_0x31b0b9(0x165));},'unknownCommand'(_0x4a5b0a){const _0x515bd7=a297_0x3434fc;return new CliError(_0x515bd7(0x15d),0x1,'Unknown\x20command:\x20'+_0x4a5b0a,'Run\x20`'+CLI_BIN_NAME+_0x515bd7(0x154));},'flagMissing'(_0xeb5f4e,_0x343ed7){const _0x4f23cf=a297_0x3434fc;return new CliError(_0x4f23cf(0x168),0x1,_0x4f23cf(0x151)+_0xeb5f4e,_0x343ed7);},'validation'(_0x4b388b,_0x15b103){const _0x574a57=a297_0x3434fc;return baseCliErrors[_0x574a57(0x14d)](_0x4b388b,_0x15b103);},'cancelled'(_0x2925f7){const _0xb99c1=a297_0x3434fc;return new CliError('cancelled',0x0,_0x2925f7??_0xb99c1(0x158));}};
@@ -1 +1 @@
1
- (function(_0x5eaa2c,_0x128563){const _0xaac772=a298_0x51a9,_0x2a51b1=_0x5eaa2c();while(!![]){try{const _0x23b863=-parseInt(_0xaac772(0x145))/0x1*(parseInt(_0xaac772(0x143))/0x2)+-parseInt(_0xaac772(0x14c))/0x3*(parseInt(_0xaac772(0x140))/0x4)+parseInt(_0xaac772(0x14b))/0x5*(parseInt(_0xaac772(0x148))/0x6)+-parseInt(_0xaac772(0x13f))/0x7*(-parseInt(_0xaac772(0x146))/0x8)+-parseInt(_0xaac772(0x149))/0x9+parseInt(_0xaac772(0x144))/0xa*(parseInt(_0xaac772(0x14a))/0xb)+parseInt(_0xaac772(0x147))/0xc;if(_0x23b863===_0x128563)break;else _0x2a51b1['push'](_0x2a51b1['shift']());}catch(_0x5438cf){_0x2a51b1['push'](_0x2a51b1['shift']());}}}(a298_0x3120,0x3e1b2));function a298_0x51a9(_0xefab05,_0x21e2d8){_0xefab05=_0xefab05-0x13f;const _0x31207f=a298_0x3120();let _0x51a954=_0x31207f[_0xefab05];return _0x51a954;}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a298_0x48807a}from'@lovrabet/cli-framework';function a298_0x3120(){const _0x537860=['name','4146ckCmyG','245450wgTPlb','13yYnzCX','1061576KqpOkO','2128704rqBrwv','1506JcyEzf','1677294vfUBxH','55KlHEhy','6805zClIcK','460086EPWWzs','7bjKHlN','8xXpbJi','yes'];a298_0x3120=function(){return _0x537860;};return a298_0x3120();}import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0x5d5f9e){const _0x29bbb6=a298_0x51a9,_0x3eb4be=a298_0x48807a(_0x5d5f9e,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x5d5f9e))return _0x3eb4be;return _0x3eb4be['map'](_0x35bdb2=>_0x35bdb2[_0x29bbb6(0x142)]===_0x29bbb6(0x141)?{..._0x35bdb2,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x35bdb2);}
1
+ (function(_0x13ca4d,_0x3801f6){const _0x28ea19=a298_0x6b62,_0xa462bb=_0x13ca4d();while(!![]){try{const _0x1340bf=-parseInt(_0x28ea19(0x184))/0x1+-parseInt(_0x28ea19(0x185))/0x2*(parseInt(_0x28ea19(0x187))/0x3)+parseInt(_0x28ea19(0x17e))/0x4+-parseInt(_0x28ea19(0x17c))/0x5*(parseInt(_0x28ea19(0x181))/0x6)+parseInt(_0x28ea19(0x17d))/0x7*(-parseInt(_0x28ea19(0x180))/0x8)+parseInt(_0x28ea19(0x182))/0x9+parseInt(_0x28ea19(0x183))/0xa;if(_0x1340bf===_0x3801f6)break;else _0xa462bb['push'](_0xa462bb['shift']());}catch(_0x5f28b5){_0xa462bb['push'](_0xa462bb['shift']());}}}(a298_0x2263,0xbca92));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a298_0x1cdc20}from'@lovrabet/cli-framework';function a298_0x6b62(_0xa3de4c,_0x49be97){_0xa3de4c=_0xa3de4c-0x17b;const _0x22639e=a298_0x2263();let _0x6b62a1=_0x22639e[_0xa3de4c];return _0x6b62a1;}function a298_0x2263(){const _0x2c8b14=['yes','177sdXDao','map','30755zcxOhM','91EUmQcW','2619756vZLedF','name','129432FzUzyU','426CVnTmS','1596681ZeBITL','35320880wktAYj','1522793ZyxHHj','48198yUBCUi'];a298_0x2263=function(){return _0x2c8b14;};return a298_0x2263();}import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0x3a0d29){const _0xe68d43=a298_0x6b62,_0x458d40=a298_0x1cdc20(_0x3a0d29,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x3a0d29))return _0x458d40;return _0x458d40[_0xe68d43(0x17b)](_0x88a796=>_0x88a796[_0xe68d43(0x17f)]===_0xe68d43(0x186)?{..._0x88a796,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x88a796);}
@@ -1 +1 @@
1
- function a299_0x578a(_0xccba7b,_0x4b6cb5){_0xccba7b=_0xccba7b-0x181;var _0x2a7cb5=a299_0x2a7c();var _0x578a67=_0x2a7cb5[_0xccba7b];return _0x578a67;}(function(_0x18a973,_0x1a54bb){var _0x5f5833=a299_0x578a,_0x572b23=_0x18a973();while(!![]){try{var _0x4290e0=parseInt(_0x5f5833(0x189))/0x1*(parseInt(_0x5f5833(0x186))/0x2)+parseInt(_0x5f5833(0x185))/0x3+-parseInt(_0x5f5833(0x18e))/0x4+-parseInt(_0x5f5833(0x18d))/0x5*(-parseInt(_0x5f5833(0x18b))/0x6)+parseInt(_0x5f5833(0x18a))/0x7+parseInt(_0x5f5833(0x188))/0x8*(parseInt(_0x5f5833(0x182))/0x9)+-parseInt(_0x5f5833(0x183))/0xa;if(_0x4290e0===_0x1a54bb)break;else _0x572b23['push'](_0x572b23['shift']());}catch(_0x56e2f0){_0x572b23['push'](_0x572b23['shift']());}}}(a299_0x2a7c,0xf10de));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x523f14){return _0x523f14?.['structuredErrors']===!![];}function a299_0x2a7c(){var _0x1a1892=['5TzndoM','1410536rRFsCn','format','97731OjhaLN','11658520fHOASx','defaultFormat','1468710oBdYsn','18pjRKXJ','flags','56yUmNfU','31105rixqQJ','3999954CvIloR','6533364oDNrvf','def'];a299_0x2a7c=function(){return _0x1a1892;};return a299_0x2a7c();}export function resolveErrorOutputFormat(_0xb2d0ba){var _0x23f5b8=a299_0x578a;if(!_0xb2d0ba[_0x23f5b8(0x18c)])return _0xb2d0ba[_0x23f5b8(0x184)]??'compress';return resolveOutputConfig({'flags':_0xb2d0ba[_0x23f5b8(0x187)]??{},'def':_0xb2d0ba[_0x23f5b8(0x18c)],'configDefault':_0xb2d0ba[_0x23f5b8(0x184)]})[_0x23f5b8(0x181)];}
1
+ function a299_0x5455(_0x4d6e6f,_0x26fea7){_0x4d6e6f=_0x4d6e6f-0xab;var _0x2009f8=a299_0x2009();var _0x5455f7=_0x2009f8[_0x4d6e6f];return _0x5455f7;}(function(_0x2c3e9c,_0x2d5025){var _0x58f4ad=a299_0x5455,_0xac4e9b=_0x2c3e9c();while(!![]){try{var _0x34517c=parseInt(_0x58f4ad(0xab))/0x1*(parseInt(_0x58f4ad(0xb3))/0x2)+-parseInt(_0x58f4ad(0xb0))/0x3+-parseInt(_0x58f4ad(0xb5))/0x4+-parseInt(_0x58f4ad(0xb6))/0x5+parseInt(_0x58f4ad(0xb4))/0x6*(-parseInt(_0x58f4ad(0xb2))/0x7)+-parseInt(_0x58f4ad(0xb1))/0x8+-parseInt(_0x58f4ad(0xb9))/0x9*(-parseInt(_0x58f4ad(0xad))/0xa);if(_0x34517c===_0x2d5025)break;else _0xac4e9b['push'](_0xac4e9b['shift']());}catch(_0x3ea1ef){_0xac4e9b['push'](_0xac4e9b['shift']());}}}(a299_0x2009,0x6269a));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a299_0x2009(){var _0x391a29=['1XcWjCr','flags','2171990QBImgw','structuredErrors','defaultFormat','1234833tuogbX','1995480uwjEzM','1222319nhQbTh','460986YFYpUB','12XIYxuA','2680100NJiOpz','1595400fdHZtJ','compress','def','90ZWmmCc','format'];a299_0x2009=function(){return _0x391a29;};return a299_0x2009();}export function usesStructuredErrorOutput(_0x1df7f9){var _0x314aae=a299_0x5455;return _0x1df7f9?.[_0x314aae(0xae)]===!![];}export function resolveErrorOutputFormat(_0x4d0b30){var _0x180e6a=a299_0x5455;if(!_0x4d0b30[_0x180e6a(0xb8)])return _0x4d0b30[_0x180e6a(0xaf)]??_0x180e6a(0xb7);return resolveOutputConfig({'flags':_0x4d0b30[_0x180e6a(0xac)]??{},'def':_0x4d0b30[_0x180e6a(0xb8)],'configDefault':_0x4d0b30[_0x180e6a(0xaf)]})[_0x180e6a(0xba)];}
@@ -1 +1 @@
1
- function a300_0x7fa6(_0x193d81,_0x17e917){_0x193d81=_0x193d81-0x13f;const _0x1c8d9d=a300_0x1c8d();let _0x7fa63e=_0x1c8d9d[_0x193d81];return _0x7fa63e;}const a300_0x343226=a300_0x7fa6;(function(_0x424fc9,_0x323403){const _0x14fa5c=a300_0x7fa6,_0x5d4c10=_0x424fc9();while(!![]){try{const _0x50e645=parseInt(_0x14fa5c(0x145))/0x1+parseInt(_0x14fa5c(0x150))/0x2*(parseInt(_0x14fa5c(0x14a))/0x3)+-parseInt(_0x14fa5c(0x143))/0x4+-parseInt(_0x14fa5c(0x146))/0x5+-parseInt(_0x14fa5c(0x14b))/0x6*(parseInt(_0x14fa5c(0x144))/0x7)+-parseInt(_0x14fa5c(0x14c))/0x8*(-parseInt(_0x14fa5c(0x140))/0x9)+-parseInt(_0x14fa5c(0x14e))/0xa*(-parseInt(_0x14fa5c(0x148))/0xb);if(_0x50e645===_0x323403)break;else _0x5d4c10['push'](_0x5d4c10['shift']());}catch(_0x1764a3){_0x5d4c10['push'](_0x5d4c10['shift']());}}}(a300_0x1c8d,0x9c5d2));const EXPLICIT_YES_COMMANDS=new Set([a300_0x343226(0x141),a300_0x343226(0x14d),a300_0x343226(0x142),a300_0x343226(0x149)]);export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';export function requiresExplicitYes(_0x19d721){const _0x38f88a=a300_0x343226;return EXPLICIT_YES_COMMANDS[_0x38f88a(0x13f)](_0x19d721[_0x38f88a(0x14f)]+'\x20'+_0x19d721[_0x38f88a(0x147)]);}function a300_0x1c8d(){const _0x187212=['menu\x20delete','notification\x20config-update','1247240iyOvCs','28497ECiDzG','617138faklUc','891730PHBJDu','command','7469kUbNmc','notification\x20config-delete','547269ZjWggH','1410wNwBIw','8Zvvxyr','kb\x20delete','15880SscwuU','service','4wDXBky','has','243639bpaxFS'];a300_0x1c8d=function(){return _0x187212;};return a300_0x1c8d();}
1
+ function a300_0x410a(){const _0x4b4037=['notification\x20config-update','3221659zfpfXj','notification\x20config-delete','kb\x20delete','856890EErIfL','command','3554568PtXcos','24UeYenj','27080REgXhc','1oDDSHI','290928QWAxcr','2368215FZQGQU','357294VOzgAR','10KDLiiN','3443WOaxjR'];a300_0x410a=function(){return _0x4b4037;};return a300_0x410a();}const a300_0x157d3f=a300_0x43f2;(function(_0x46300c,_0x1b2643){const _0x1a4820=a300_0x43f2,_0x4c4852=_0x46300c();while(!![]){try{const _0x182064=-parseInt(_0x1a4820(0xce))/0x1*(-parseInt(_0x1a4820(0xc9))/0x2)+parseInt(_0x1a4820(0xcf))/0x3*(parseInt(_0x1a4820(0xcc))/0x4)+-parseInt(_0x1a4820(0xc3))/0x5*(parseInt(_0x1a4820(0xc2))/0x6)+parseInt(_0x1a4820(0xc6))/0x7+-parseInt(_0x1a4820(0xcb))/0x8+parseInt(_0x1a4820(0xd0))/0x9+parseInt(_0x1a4820(0xcd))/0xa*(-parseInt(_0x1a4820(0xc4))/0xb);if(_0x182064===_0x1b2643)break;else _0x4c4852['push'](_0x4c4852['shift']());}catch(_0x57c10b){_0x4c4852['push'](_0x4c4852['shift']());}}}(a300_0x410a,0x4ec5a));function a300_0x43f2(_0x25d3aa,_0x18483d){_0x25d3aa=_0x25d3aa-0xc2;const _0x410a4e=a300_0x410a();let _0x43f250=_0x410a4e[_0x25d3aa];return _0x43f250;}const EXPLICIT_YES_COMMANDS=new Set(['menu\x20delete',a300_0x157d3f(0xc8),a300_0x157d3f(0xc5),a300_0x157d3f(0xc7)]);export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';export function requiresExplicitYes(_0x86612c){const _0x3d8287=a300_0x157d3f;return EXPLICIT_YES_COMMANDS['has'](_0x86612c['service']+'\x20'+_0x86612c[_0x3d8287(0xca)]);}
@@ -1 +1 @@
1
- const a301_0x1b4dd3=a301_0x58d2;(function(_0x447bef,_0x25b645){const _0x371464=a301_0x58d2,_0x11a230=_0x447bef();while(!![]){try{const _0x2f889b=-parseInt(_0x371464(0x88))/0x1+-parseInt(_0x371464(0x8a))/0x2*(parseInt(_0x371464(0x85))/0x3)+-parseInt(_0x371464(0x82))/0x4+-parseInt(_0x371464(0x89))/0x5*(parseInt(_0x371464(0x83))/0x6)+parseInt(_0x371464(0x84))/0x7*(parseInt(_0x371464(0x87))/0x8)+-parseInt(_0x371464(0x86))/0x9+parseInt(_0x371464(0x8b))/0xa;if(_0x2f889b===_0x25b645)break;else _0x11a230['push'](_0x11a230['shift']());}catch(_0x5f260a){_0x11a230['push'](_0x11a230['shift']());}}}(a301_0x3e42,0x867e3));import{createFlagHelpers}from'@lovrabet/cli-framework';function a301_0x58d2(_0x17e7b2,_0x3b2c58){_0x17e7b2=_0x17e7b2-0x80;const _0x3e4271=a301_0x3e42();let _0x58d202=_0x3e4271[_0x17e7b2];return _0x58d202;}import{CliErrors}from'../errors.js';function a301_0x3e42(){const _0x57202a=['2985mnqKLC','3986532eTCUiW','4325816FyYgIM','40407lQcDTX','725060UUfHHW','1676uWNNBA','26422000eexxUF','validateFlags','parseFlags','3362088eXYxSg','42hVfMUe','14ZBzDXg'];a301_0x3e42=function(){return _0x57202a;};return a301_0x3e42();}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a301_0x1b4dd3(0x81)];export const validateFlags=helpers[a301_0x1b4dd3(0x80)];
1
+ const a301_0x51c66a=a301_0x2bb0;(function(_0x3785dc,_0x3aa635){const _0x3aa069=a301_0x2bb0,_0x5767b1=_0x3785dc();while(!![]){try{const _0x4bb318=parseInt(_0x3aa069(0x1ee))/0x1+parseInt(_0x3aa069(0x1e6))/0x2*(-parseInt(_0x3aa069(0x1ea))/0x3)+parseInt(_0x3aa069(0x1ed))/0x4+parseInt(_0x3aa069(0x1f0))/0x5+parseInt(_0x3aa069(0x1ef))/0x6*(-parseInt(_0x3aa069(0x1e9))/0x7)+-parseInt(_0x3aa069(0x1e7))/0x8+-parseInt(_0x3aa069(0x1f1))/0x9*(parseInt(_0x3aa069(0x1ec))/0xa);if(_0x4bb318===_0x3aa635)break;else _0x5767b1['push'](_0x5767b1['shift']());}catch(_0x574873){_0x5767b1['push'](_0x5767b1['shift']());}}}(a301_0x439c,0x3e931));import{createFlagHelpers}from'@lovrabet/cli-framework';function a301_0x439c(){const _0x165046=['726lysWAJ','1938055UXfxdt','171OIBLyu','240258aOPSUt','2417816jhFhVj','validateFlags','13076sYrLGH','3TTnKCF','parseFlags','33890CpRTgh','2035744nprsud','72533qEaMzq'];a301_0x439c=function(){return _0x165046;};return a301_0x439c();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a301_0x2bb0(_0x1ca6a2,_0x42aaa4){_0x1ca6a2=_0x1ca6a2-0x1e6;const _0x439c1d=a301_0x439c();let _0x2bb0fa=_0x439c1d[_0x1ca6a2];return _0x2bb0fa;}export const parseFlags=helpers[a301_0x51c66a(0x1eb)];export const validateFlags=helpers[a301_0x51c66a(0x1e8)];
@@ -1 +1 @@
1
- (function(_0xe13eec,_0x25a161){const _0x581b40=a302_0x33e4,_0x4db292=_0xe13eec();while(!![]){try{const _0x3b0dfc=parseInt(_0x581b40(0xfb))/0x1*(parseInt(_0x581b40(0x105))/0x2)+parseInt(_0x581b40(0x100))/0x3+parseInt(_0x581b40(0xfd))/0x4*(-parseInt(_0x581b40(0x106))/0x5)+parseInt(_0x581b40(0xf9))/0x6+parseInt(_0x581b40(0x101))/0x7+-parseInt(_0x581b40(0x104))/0x8*(parseInt(_0x581b40(0xfc))/0x9)+parseInt(_0x581b40(0xfa))/0xa;if(_0x3b0dfc===_0x25a161)break;else _0x4db292['push'](_0x4db292['shift']());}catch(_0x2f82fa){_0x4db292['push'](_0x4db292['shift']());}}}(a302_0x1fcb,0x96b77));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a302_0x33e4(_0x186067,_0x343abe){_0x186067=_0x186067-0xf8;const _0x1fcb48=a302_0x1fcb();let _0x33e429=_0x1fcb48[_0x186067];return _0x33e429;}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 _0x35cbbd=a302_0x33e4;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x42e49e=>serviceGroups['get'](_0x42e49e),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x35cbbd(0xf8)+CLI_BIN_NAME+_0x35cbbd(0xfe),'serviceUsageSuffix':_0x35cbbd(0x103)});}export function generateCommandHelp(_0x4b3833){const _0xfa4c31=a302_0x33e4,_0x5e31a9=createGenerators()[_0xfa4c31(0x102)](_0x4b3833);if(!requiresExplicitYes(_0x4b3833))return _0x5e31a9;return _0x5e31a9['replace'](_0xfa4c31(0xff),'Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}function a302_0x1fcb(){const _0x4ca0b5=['6554WpXztr','55QaNJKU','Requires\x20appcode\x20(set\x20via\x20`','3508848xcEYro','4395870kkcJSh','267zeNyBO','63xHcyCk','269728zeECtv','\x20workspace\x20init`\x20or\x20--appcode).','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','1219221bMWxiv','1298395ooBfRA','generateCommandHelp','\x20[args]\x20[flags]','1293896CVvMaW'];a302_0x1fcb=function(){return _0x4ca0b5;};return a302_0x1fcb();}export function generateServiceHelp(_0x1551fa){return createGenerators()['generateServiceHelp'](_0x1551fa);}export function generateFullHelp(){return createGenerators()['generateFullHelp']();}
1
+ (function(_0x43c147,_0x4b92c1){const _0x28b451=a302_0x58be,_0x1002aa=_0x43c147();while(!![]){try{const _0x5ca2fa=-parseInt(_0x28b451(0xc3))/0x1+parseInt(_0x28b451(0xcb))/0x2*(-parseInt(_0x28b451(0xcd))/0x3)+parseInt(_0x28b451(0xc8))/0x4*(-parseInt(_0x28b451(0xc5))/0x5)+-parseInt(_0x28b451(0xc9))/0x6+-parseInt(_0x28b451(0xca))/0x7+-parseInt(_0x28b451(0xc2))/0x8*(parseInt(_0x28b451(0xcf))/0x9)+parseInt(_0x28b451(0xc6))/0xa;if(_0x5ca2fa===_0x4b92c1)break;else _0x1002aa['push'](_0x1002aa['shift']());}catch(_0x4ec059){_0x1002aa['push'](_0x1002aa['shift']());}}}(a302_0x5b21,0xf15e6));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a302_0x5b21(){const _0x260700=['5233515jejMSd','52WzvYlb','generateFullHelp','147927HiEmwN','replace','9120555IKMfBp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','generateServiceHelp','8nPKsDP','301596wzBDlD','\x20[args]\x20[flags]','10MBijcc','63397280UQLBgX','generateCommandHelp','3410204jQoBZU','1807860eVeYSH'];a302_0x5b21=function(){return _0x260700;};return a302_0x5b21();}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a302_0x58be(_0x53bea1,_0x2e16e4){_0x53bea1=_0x53bea1-0xc0;const _0x5b21d5=a302_0x5b21();let _0x58bef2=_0x5b21d5[_0x53bea1];return _0x58bef2;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x272aa1=a302_0x58be;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x2d13b5=>serviceGroups['get'](_0x2d13b5),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':_0x272aa1(0xc4)});}export function generateCommandHelp(_0x56ab6f){const _0x45f81c=a302_0x58be,_0x526a7e=createGenerators()[_0x45f81c(0xc7)](_0x56ab6f);if(!requiresExplicitYes(_0x56ab6f))return _0x526a7e;return _0x526a7e[_0x45f81c(0xce)](_0x45f81c(0xc0),'Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}export function generateServiceHelp(_0x54d070){const _0x5d8e2f=a302_0x58be;return createGenerators()[_0x5d8e2f(0xc1)](_0x54d070);}export function generateFullHelp(){const _0x3ba3bf=a302_0x58be;return createGenerators()[_0x3ba3bf(0xcc)]();}
@@ -1 +1 @@
1
- (function(_0x420032,_0x19eb2a){var _0x1eaacf=a303_0x179a,_0xcb072e=_0x420032();while(!![]){try{var _0x4dc1b9=parseInt(_0x1eaacf(0xf1))/0x1+parseInt(_0x1eaacf(0xf5))/0x2+parseInt(_0x1eaacf(0xf6))/0x3+parseInt(_0x1eaacf(0xf3))/0x4*(parseInt(_0x1eaacf(0xf4))/0x5)+parseInt(_0x1eaacf(0xed))/0x6*(-parseInt(_0x1eaacf(0xf2))/0x7)+-parseInt(_0x1eaacf(0xee))/0x8+parseInt(_0x1eaacf(0xef))/0x9*(-parseInt(_0x1eaacf(0xf0))/0xa);if(_0x4dc1b9===_0x19eb2a)break;else _0xcb072e['push'](_0xcb072e['shift']());}catch(_0x42f671){_0xcb072e['push'](_0xcb072e['shift']());}}}(a303_0x2942,0x47e42));export{runCommand}from'../framework/runner.js';function a303_0x2942(){var _0x55a857=['2003905TgusFO','294836zrhttM','1397076RuKeWq','3270KBYrDj','4588880nbhFSV','5856021ifZeHX','10aVdqZe','505399lhPfbp','7liZKnn','4XYQmsm'];a303_0x2942=function(){return _0x55a857;};return a303_0x2942();}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a303_0x179a(_0x58c95f,_0x533738){_0x58c95f=_0x58c95f-0xed;var _0x2942a8=a303_0x2942();var _0x179a8c=_0x2942a8[_0x58c95f];return _0x179a8c;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
1
+ function a303_0x46a2(){var _0x1c28a0=['2ozpRUh','570304auSpuy','215265cutUPZ','8882739OfoikH','30560820KsEUhT','5502248Cgiyhm','84cJTtah','5084943sbLwbz','12QzCNEQ','1112859cvFkdP'];a303_0x46a2=function(){return _0x1c28a0;};return a303_0x46a2();}(function(_0x1ab8e2,_0x571d92){var _0x557e4b=a303_0xca0c,_0xf8027=_0x1ab8e2();while(!![]){try{var _0x318bd2=parseInt(_0x557e4b(0x1cb))/0x1*(-parseInt(_0x557e4b(0x1cc))/0x2)+-parseInt(_0x557e4b(0x1c9))/0x3+-parseInt(_0x557e4b(0x1ca))/0x4*(parseInt(_0x557e4b(0x1ce))/0x5)+-parseInt(_0x557e4b(0x1d2))/0x6*(-parseInt(_0x557e4b(0x1cd))/0x7)+parseInt(_0x557e4b(0x1d1))/0x8+-parseInt(_0x557e4b(0x1cf))/0x9+parseInt(_0x557e4b(0x1d0))/0xa;if(_0x318bd2===_0x571d92)break;else _0xf8027['push'](_0xf8027['shift']());}catch(_0x9e1001){_0xf8027['push'](_0xf8027['shift']());}}}(a303_0x46a2,0xea7f5));function a303_0xca0c(_0x25add4,_0x100098){_0x25add4=_0x25add4-0x1c9;var _0x46a220=a303_0x46a2();var _0xca0c49=_0x46a220[_0x25add4];return _0xca0c49;}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 a304_0x11dd(_0x3d28aa,_0x5d79c8){_0x3d28aa=_0x3d28aa-0xcc;const _0x45bab2=a304_0x45ba();let _0x11ddab=_0x45bab2[_0x3d28aa];return _0x11ddab;}(function(_0x1ca0f5,_0x1517b7){const _0xb0ed8=a304_0x11dd,_0x12527d=_0x1ca0f5();while(!![]){try{const _0x483e69=parseInt(_0xb0ed8(0xe1))/0x1*(parseInt(_0xb0ed8(0xd2))/0x2)+parseInt(_0xb0ed8(0xd4))/0x3*(-parseInt(_0xb0ed8(0xde))/0x4)+parseInt(_0xb0ed8(0xe5))/0x5+parseInt(_0xb0ed8(0xcd))/0x6*(parseInt(_0xb0ed8(0xda))/0x7)+parseInt(_0xb0ed8(0xd3))/0x8*(parseInt(_0xb0ed8(0xe6))/0x9)+parseInt(_0xb0ed8(0xd1))/0xa+parseInt(_0xb0ed8(0xe0))/0xb*(-parseInt(_0xb0ed8(0xdb))/0xc);if(_0x483e69===_0x1517b7)break;else _0x12527d['push'](_0x12527d['shift']());}catch(_0x5897f2){_0x12527d['push'](_0x12527d['shift']());}}}(a304_0x45ba,0xbdd81));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(_0x2de0ba,_0x23352c){const _0xf5e5c2=a304_0x11dd,_0x2e22bf=_0x2de0ba['_notice'],{_notice:_0x2fa2db,..._0x38b868}=_0x2de0ba;void _0x2fa2db,baseFormatOutput(_0x38b868,_0x23352c),_0x23352c[_0xf5e5c2(0xe3)]===_0xf5e5c2(0xdd)&&printPrettyNotice(_0x2e22bf);}export function formatCliError(_0x23ad29,_0x299bad){const _0x33f3e7=a304_0x11dd;if(_0x299bad[_0x33f3e7(0xe3)]===_0x33f3e7(0xdd))return![];const _0x277582=_0x23ad29['data'],_0x3cfddf={'ok':![],'command':_0x299bad['command'],'risk':_0x299bad[_0x33f3e7(0xce)],'data':_0x277582??null,'error':{'code':_0x23ad29['code'],'message':_0x23ad29['message'],..._0x23ad29[_0x33f3e7(0xcf)]?{'hint':_0x23ad29['hint']}:{}}},_0x1b9836=_0x299bad[_0x33f3e7(0xe3)]==='json'?JSON[_0x33f3e7(0xd9)](_0x3cfddf,null,0x2):JSON['stringify'](_0x3cfddf);let _0x4c6e78=_0x1b9836;if(_0x299bad[_0x33f3e7(0xdc)]?.[_0x33f3e7(0xd8)]())try{_0x4c6e78=applyJqFilter(_0x1b9836,_0x299bad[_0x33f3e7(0xdc)]);}catch(_0x5c042c){const _0x27bba1=_0x5c042c instanceof CliError?_0x5c042c:CliErrors[_0x33f3e7(0xdf)]('jq:\x20'+(_0x5c042c instanceof Error?_0x5c042c['message']:String(_0x5c042c))),_0x34b0b2={..._0x3cfddf,'error':{'code':_0x27bba1['code'],'message':_0x27bba1[_0x33f3e7(0xd6)],..._0x27bba1[_0x33f3e7(0xcf)]?{'hint':_0x27bba1[_0x33f3e7(0xcf)]}:{},'cause':_0x3cfddf[_0x33f3e7(0xd0)]}};_0x4c6e78=_0x299bad['format']===_0x33f3e7(0xe2)?JSON[_0x33f3e7(0xd9)](_0x34b0b2,null,0x2):JSON['stringify'](_0x34b0b2);}return process[_0x33f3e7(0xe4)][_0x33f3e7(0xd7)](_0x4c6e78['endsWith']('\x0a')?_0x4c6e78:_0x4c6e78+'\x0a'),!![];}function a304_0x45ba(){const _0x1753c9=['validation','10571QVewsQ','966067NSFXJU','json','format','stdout','4978945MCNjUj','18vxgLaQ','update','12TpcaTh','risk','hint','error','9511690KckjfF','2NDxHIq','2577424lEFEAc','3zAlgVo','url','message','write','trim','stringify','4495862dPrCYx','45636PlRqUB','jqFilter','pretty','1638516opxSWQ'];a304_0x45ba=function(){return _0x1753c9;};return a304_0x45ba();}function printPrettyNotice(_0x1f3ee2){const _0x2890a3=a304_0x11dd;if(!_0x1f3ee2?.[_0x2890a3(0xcc)])return;console[_0x2890a3(0xd0)](_0x1f3ee2[_0x2890a3(0xcc)][_0x2890a3(0xd6)]+'\x20('+_0x1f3ee2[_0x2890a3(0xcc)][_0x2890a3(0xd5)]+')');}
1
+ (function(_0x41db2d,_0x387f25){const _0x2b37fa=a304_0x5798,_0x9ebced=_0x41db2d();while(!![]){try{const _0x529fc1=parseInt(_0x2b37fa(0xa5))/0x1*(-parseInt(_0x2b37fa(0xbe))/0x2)+-parseInt(_0x2b37fa(0xbf))/0x3*(-parseInt(_0x2b37fa(0xae))/0x4)+parseInt(_0x2b37fa(0xaa))/0x5+-parseInt(_0x2b37fa(0xa3))/0x6+parseInt(_0x2b37fa(0xb9))/0x7+parseInt(_0x2b37fa(0xb8))/0x8*(parseInt(_0x2b37fa(0xb6))/0x9)+parseInt(_0x2b37fa(0xbc))/0xa*(parseInt(_0x2b37fa(0xa6))/0xb);if(_0x529fc1===_0x387f25)break;else _0x9ebced['push'](_0x9ebced['shift']());}catch(_0x57c4af){_0x9ebced['push'](_0x9ebced['shift']());}}}(a304_0x2e4d,0x9f024));function a304_0x2e4d(){const _0x2cde91=['endsWith','trim','_notice','2610185BCoOpr','update','error','message','40VElLQb','command','stringify','url','format','data','stdout','code','99uqOCjO','json','442704FSZeIa','6826939nutAKh','hint','pretty','5770VDsYQx','risk','8596MweMLc','19785VfkGVp','7409550HWXyZu','jqFilter','181PNWsLY','9383ZxHcNo'];a304_0x2e4d=function(){return _0x2cde91;};return a304_0x2e4d();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';function a304_0x5798(_0x45c4ad,_0x4a494a){_0x45c4ad=_0x45c4ad-0xa3;const _0x2e4d55=a304_0x2e4d();let _0x579843=_0x2e4d55[_0x45c4ad];return _0x579843;}import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x2e9c8b,_0x5639f3){const _0x5c13a7=a304_0x5798,_0x2ccd81=_0x2e9c8b[_0x5c13a7(0xa9)],{_notice:_0x17e5b8,..._0x3ff60b}=_0x2e9c8b;void _0x17e5b8,baseFormatOutput(_0x3ff60b,_0x5639f3),_0x5639f3[_0x5c13a7(0xb2)]===_0x5c13a7(0xbb)&&printPrettyNotice(_0x2ccd81);}export function formatCliError(_0x569263,_0x4e5b07){const _0x2235d3=a304_0x5798;if(_0x4e5b07[_0x2235d3(0xb2)]==='pretty')return![];const _0x305cc3=_0x569263[_0x2235d3(0xb3)],_0x3f9404={'ok':![],'command':_0x4e5b07[_0x2235d3(0xaf)],'risk':_0x4e5b07[_0x2235d3(0xbd)],'data':_0x305cc3??null,'error':{'code':_0x569263[_0x2235d3(0xb5)],'message':_0x569263['message'],..._0x569263[_0x2235d3(0xba)]?{'hint':_0x569263['hint']}:{}}},_0x2c274d=_0x4e5b07[_0x2235d3(0xb2)]===_0x2235d3(0xb7)?JSON[_0x2235d3(0xb0)](_0x3f9404,null,0x2):JSON[_0x2235d3(0xb0)](_0x3f9404);let _0x2412b3=_0x2c274d;if(_0x4e5b07[_0x2235d3(0xa4)]?.[_0x2235d3(0xa8)]())try{_0x2412b3=applyJqFilter(_0x2c274d,_0x4e5b07[_0x2235d3(0xa4)]);}catch(_0x31e97b){const _0x5f3e41=_0x31e97b instanceof CliError?_0x31e97b:CliErrors['validation']('jq:\x20'+(_0x31e97b instanceof Error?_0x31e97b[_0x2235d3(0xad)]:String(_0x31e97b))),_0x119bbe={..._0x3f9404,'error':{'code':_0x5f3e41[_0x2235d3(0xb5)],'message':_0x5f3e41[_0x2235d3(0xad)],..._0x5f3e41[_0x2235d3(0xba)]?{'hint':_0x5f3e41[_0x2235d3(0xba)]}:{},'cause':_0x3f9404[_0x2235d3(0xac)]}};_0x2412b3=_0x4e5b07['format']===_0x2235d3(0xb7)?JSON[_0x2235d3(0xb0)](_0x119bbe,null,0x2):JSON['stringify'](_0x119bbe);}return process[_0x2235d3(0xb4)]['write'](_0x2412b3[_0x2235d3(0xa7)]('\x0a')?_0x2412b3:_0x2412b3+'\x0a'),!![];}function printPrettyNotice(_0x178eb8){const _0x5420fc=a304_0x5798;if(!_0x178eb8?.[_0x5420fc(0xab)])return;console[_0x5420fc(0xac)](_0x178eb8[_0x5420fc(0xab)][_0x5420fc(0xad)]+'\x20('+_0x178eb8[_0x5420fc(0xab)][_0x5420fc(0xb1)]+')');}
@@ -1 +1 @@
1
- function a305_0x23c5(){var _0x23d015=['8548554vHClnt','3789836GbjaUF','355162WvLbUa','2760415oyMKaF','684106RnCgrk','3MzQvfs','34185464QwFXwN','2345371HQWloz'];a305_0x23c5=function(){return _0x23d015;};return a305_0x23c5();}(function(_0x147462,_0x4637fe){var _0x295e4d=a305_0x2c46,_0x251896=_0x147462();while(!![]){try{var _0x23859b=-parseInt(_0x295e4d(0x69))/0x1+-parseInt(_0x295e4d(0x67))/0x2*(parseInt(_0x295e4d(0x6a))/0x3)+-parseInt(_0x295e4d(0x66))/0x4+-parseInt(_0x295e4d(0x68))/0x5+-parseInt(_0x295e4d(0x65))/0x6+parseInt(_0x295e4d(0x64))/0x7+parseInt(_0x295e4d(0x6b))/0x8;if(_0x23859b===_0x4637fe)break;else _0x251896['push'](_0x251896['shift']());}catch(_0x555a5d){_0x251896['push'](_0x251896['shift']());}}}(a305_0x23c5,0xc8be8));function a305_0x2c46(_0x179b47,_0x5aa25e){_0x179b47=_0x179b47-0x64;var _0x23c56f=a305_0x23c5();var _0x2c4668=_0x23c56f[_0x179b47];return _0x2c4668;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ (function(_0x3189b5,_0x457fa5){var _0x47ad59=a305_0x3257,_0x428821=_0x3189b5();while(!![]){try{var _0x590b00=parseInt(_0x47ad59(0x1cc))/0x1*(-parseInt(_0x47ad59(0x1c9))/0x2)+-parseInt(_0x47ad59(0x1cf))/0x3*(-parseInt(_0x47ad59(0x1ce))/0x4)+parseInt(_0x47ad59(0x1c8))/0x5+parseInt(_0x47ad59(0x1cb))/0x6*(parseInt(_0x47ad59(0x1cd))/0x7)+-parseInt(_0x47ad59(0x1d1))/0x8*(-parseInt(_0x47ad59(0x1d2))/0x9)+parseInt(_0x47ad59(0x1d4))/0xa*(parseInt(_0x47ad59(0x1ca))/0xb)+-parseInt(_0x47ad59(0x1d3))/0xc*(parseInt(_0x47ad59(0x1d0))/0xd);if(_0x590b00===_0x457fa5)break;else _0x428821['push'](_0x428821['shift']());}catch(_0x3ec568){_0x428821['push'](_0x428821['shift']());}}}(a305_0x59e6,0x4afac));function a305_0x59e6(){var _0x5722ed=['82197QTSBNb','637620YxMEOn','1450jpOnqv','2221805gSiMDD','2qYKXLJ','19987OimPNd','68574SyJhNO','513819cDpegE','154uZnDmT','167292cEquNq','3QDwYdR','91vhpwyS','168vOGIkX'];a305_0x59e6=function(){return _0x5722ed;};return a305_0x59e6();}function a305_0x3257(_0x22fb69,_0x3c9124){_0x22fb69=_0x22fb69-0x1c8;var _0x59e6d1=a305_0x59e6();var _0x3257eb=_0x59e6d1[_0x22fb69];return _0x3257eb;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x130cbc,_0x5a7395){const _0x222142=a306_0x25c9,_0x27fcc1=_0x130cbc();while(!![]){try{const _0x3f65e4=parseInt(_0x222142(0x13c))/0x1*(-parseInt(_0x222142(0x13e))/0x2)+-parseInt(_0x222142(0x129))/0x3*(parseInt(_0x222142(0x125))/0x4)+parseInt(_0x222142(0x127))/0x5*(parseInt(_0x222142(0x12b))/0x6)+-parseInt(_0x222142(0x12c))/0x7*(-parseInt(_0x222142(0x13d))/0x8)+-parseInt(_0x222142(0x12a))/0x9+-parseInt(_0x222142(0x126))/0xa*(parseInt(_0x222142(0x12e))/0xb)+parseInt(_0x222142(0x136))/0xc;if(_0x3f65e4===_0x5a7395)break;else _0x27fcc1['push'](_0x27fcc1['shift']());}catch(_0x1fe9d4){_0x27fcc1['push'](_0x27fcc1['shift']());}}}(a306_0x482b,0x32c89));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a306_0x25c9(_0x2ca1b3,_0x38d5a7){_0x2ca1b3=_0x2ca1b3-0x123;const _0x482bdb=a306_0x482b();let _0x25c9ed=_0x482bdb[_0x2ca1b3];return _0x25c9ed;}function a306_0x482b(){const _0x189aec=['`\x20requires\x20either\x20--code\x20or\x20--alias.','map','6205104xLFTOw','filePath','validation','Unknown\x20alias\x20\x22','code','flags','383ovBvzv','8MqSugO','538rJgMrE','\x20api\x20pull`\x20first.','No\x20model\x20aliases\x20found\x20in\x20','120CDEgUH','20PrMePH','1665gQgqCa','\x22.\x20','4527RXqDFr','584982HwRvhj','4458gQcbDo','240667ZOOXuM','alias','2076734EwCGdn','string','.\x20Run\x20`','type','some','name'];a306_0x482b=function(){return _0x189aec;};return a306_0x482b();}import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x16a1a7,_0x4bad5b,_0x26f13c,_0x5069bc,_0x12bdb8,_0x2fbcc7){const _0xce5873=a306_0x25c9,_0x13445a=_0x16a1a7['flags']['some'](_0xaa2d66=>_0xaa2d66[_0xce5873(0x133)]===_0xce5873(0x13a)&&_0xaa2d66[_0xce5873(0x131)]===_0xce5873(0x12f)),_0x5be634=_0x16a1a7[_0xce5873(0x13b)][_0xce5873(0x132)](_0x5d780d=>_0x5d780d['name']===_0xce5873(0x12d)&&_0x5d780d[_0xce5873(0x131)]==='string');if(!_0x13445a||!_0x5be634)return;const _0x546b48=_0x4bad5b[_0xce5873(0x13a)]?String(_0x4bad5b[_0xce5873(0x13a)]):'',_0x407a79=_0x4bad5b['alias']?String(_0x4bad5b[_0xce5873(0x12d)]):'';if(!_0x546b48&&!_0x407a79)throw CliErrors['validation']('`'+_0x5069bc+_0xce5873(0x134));if(_0x407a79&&!_0x546b48){const _0xb4174f=resolveApiModelSource(_0x26f13c,_0x12bdb8,_0x2fbcc7),_0x402ad7=resolveAlias(_0x26f13c,_0x407a79,undefined,_0xb4174f[_0xce5873(0x137)],_0xb4174f['profileName']);if(!_0x402ad7){const _0x181783=listAliases(_0x26f13c,undefined,_0xb4174f[_0xce5873(0x137)],_0xb4174f['profileName'])[_0xce5873(0x135)](_0x58e842=>_0x58e842[_0xce5873(0x12d)]),_0x280621=_0x181783['length']?'Available\x20aliases:\x20'+_0x181783['join'](',\x20'):_0xce5873(0x124)+_0x26f13c+_0xce5873(0x130)+CLI_BIN_NAME+_0xce5873(0x123);throw CliErrors[_0xce5873(0x138)](_0xce5873(0x139)+_0x407a79+_0xce5873(0x128)+_0x280621);}_0x4bad5b[_0xce5873(0x13a)]=_0x402ad7;}}
1
+ (function(_0x1902bc,_0x136a72){const _0x528440=a306_0x5b76,_0x5b77f8=_0x1902bc();while(!![]){try{const _0x1c4e68=-parseInt(_0x528440(0x1f1))/0x1+parseInt(_0x528440(0x1eb))/0x2*(parseInt(_0x528440(0x1f8))/0x3)+-parseInt(_0x528440(0x1f3))/0x4*(-parseInt(_0x528440(0x1f7))/0x5)+parseInt(_0x528440(0x1e2))/0x6+-parseInt(_0x528440(0x1e1))/0x7*(-parseInt(_0x528440(0x1f5))/0x8)+parseInt(_0x528440(0x1e7))/0x9+-parseInt(_0x528440(0x1e5))/0xa*(parseInt(_0x528440(0x1f2))/0xb);if(_0x1c4e68===_0x136a72)break;else _0x5b77f8['push'](_0x5b77f8['shift']());}catch(_0x530037){_0x5b77f8['push'](_0x5b77f8['shift']());}}}(a306_0x2b7a,0xe0c1c));import{CliErrors}from'../errors.js';function a306_0x2b7a(){const _0x54eec9=['70375KJFHAy','3UchCHS','map','name','127505LTkNrj','5499054unFevS','\x22.\x20','profileName','76690WpyeSD','filePath','4625262VJAklS','No\x20model\x20aliases\x20found\x20in\x20','`\x20requires\x20either\x20--code\x20or\x20--alias.','type','2135972ITZAoa','string','code','Unknown\x20alias\x20\x22','flags','alias','998467pqJlVL','3883FuVfar','496MULHcF','.\x20Run\x20`','168ZXjqjt','validation'];a306_0x2b7a=function(){return _0x54eec9;};return a306_0x2b7a();}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a306_0x5b76(_0x356989,_0x181371){_0x356989=_0x356989-0x1df;const _0x2b7af1=a306_0x2b7a();let _0x5b7601=_0x2b7af1[_0x356989];return _0x5b7601;}import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x3d1b57,_0x211c37,_0x475839,_0x42b4ce,_0x394b99,_0x5c5da3){const _0x3d8415=a306_0x5b76,_0x5454b6=_0x3d1b57[_0x3d8415(0x1ef)]['some'](_0x34c9ab=>_0x34c9ab[_0x3d8415(0x1e0)]===_0x3d8415(0x1ed)&&_0x34c9ab[_0x3d8415(0x1ea)]===_0x3d8415(0x1ec)),_0xf6813e=_0x3d1b57[_0x3d8415(0x1ef)]['some'](_0x410af0=>_0x410af0[_0x3d8415(0x1e0)]===_0x3d8415(0x1f0)&&_0x410af0[_0x3d8415(0x1ea)]===_0x3d8415(0x1ec));if(!_0x5454b6||!_0xf6813e)return;const _0x4b8176=_0x211c37[_0x3d8415(0x1ed)]?String(_0x211c37[_0x3d8415(0x1ed)]):'',_0x2e4404=_0x211c37[_0x3d8415(0x1f0)]?String(_0x211c37[_0x3d8415(0x1f0)]):'';if(!_0x4b8176&&!_0x2e4404)throw CliErrors[_0x3d8415(0x1f6)]('`'+_0x42b4ce+_0x3d8415(0x1e9));if(_0x2e4404&&!_0x4b8176){const _0x24053e=resolveApiModelSource(_0x475839,_0x394b99,_0x5c5da3),_0x4ed254=resolveAlias(_0x475839,_0x2e4404,undefined,_0x24053e[_0x3d8415(0x1e6)],_0x24053e[_0x3d8415(0x1e4)]);if(!_0x4ed254){const _0x12fea4=listAliases(_0x475839,undefined,_0x24053e['filePath'],_0x24053e[_0x3d8415(0x1e4)])[_0x3d8415(0x1df)](_0x4fa6fa=>_0x4fa6fa[_0x3d8415(0x1f0)]),_0x35ab05=_0x12fea4['length']?'Available\x20aliases:\x20'+_0x12fea4['join'](',\x20'):_0x3d8415(0x1e8)+_0x475839+_0x3d8415(0x1f4)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation'](_0x3d8415(0x1ee)+_0x2e4404+_0x3d8415(0x1e3)+_0x35ab05);}_0x211c37[_0x3d8415(0x1ed)]=_0x4ed254;}}
@@ -1 +1 @@
1
- (function(_0x48f20b,_0x35cb5e){const _0x242022=a307_0x4473,_0x4ed0a5=_0x48f20b();while(!![]){try{const _0x364ae9=-parseInt(_0x242022(0x154))/0x1*(parseInt(_0x242022(0x178))/0x2)+parseInt(_0x242022(0x140))/0x3*(parseInt(_0x242022(0x162))/0x4)+-parseInt(_0x242022(0x12c))/0x5*(parseInt(_0x242022(0x14d))/0x6)+-parseInt(_0x242022(0x166))/0x7*(-parseInt(_0x242022(0x16f))/0x8)+-parseInt(_0x242022(0x149))/0x9+parseInt(_0x242022(0x124))/0xa*(parseInt(_0x242022(0x125))/0xb)+-parseInt(_0x242022(0x177))/0xc*(-parseInt(_0x242022(0x12e))/0xd);if(_0x364ae9===_0x35cb5e)break;else _0x4ed0a5['push'](_0x4ed0a5['shift']());}catch(_0x20f355){_0x4ed0a5['push'](_0x4ed0a5['shift']());}}}(a307_0x2ee3,0x3a3e1));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';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';function a307_0x4473(_0x20d156,_0x267c06){_0x20d156=_0x20d156-0x124;const _0x2ee304=a307_0x2ee3();let _0x447334=_0x2ee304[_0x20d156];return _0x447334;}import{isNonInteractive as a307_0x16c093}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x2994d6){const _0x25944d=a307_0x4473;return typeof _0x2994d6===_0x25944d(0x17b)&&_0x2994d6[_0x25944d(0x163)]()?_0x2994d6[_0x25944d(0x163)]():undefined;}function resolveEnvAppCode(){const _0x292eb1=a307_0x4473,_0xd6a1ad=stringFlag(process.env.RABETBASE_APPCODE);if(_0xd6a1ad)return{'name':_0x292eb1(0x17a),'value':_0xd6a1ad};const _0x103120=stringFlag(process.env.LOVRABET_APPCODE);if(_0x103120)return{'name':_0x292eb1(0x146),'value':_0x103120};return undefined;}function hasExplicitAppCode(_0x580229,_0x301840){const _0x2f0eb7=a307_0x4473;return!!(stringFlag(_0x580229[_0x2f0eb7(0x139)])||stringFlag(_0x301840['appcode']));}function assertEnvAppCodeNotIgnored(_0x1fa75f,_0x5c091e,_0x3f32f1){const _0x3be3d7=a307_0x4473;if(!_0x5c091e||_0x3f32f1||_0x1fa75f===_0x5c091e[_0x3be3d7(0x15c)])return;const _0x39e93c=_0x1fa75f?_0x3be3d7(0x160)+_0x1fa75f+'\x22.':_0x3be3d7(0x15f);throw CliErrors[_0x3be3d7(0x153)](_0x5c091e[_0x3be3d7(0x128)]+'='+_0x5c091e['value']+_0x3be3d7(0x159)+_0x39e93c+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x5c091e[_0x3be3d7(0x128)]+'\x22.'));}export function createPipelineEnv(_0x81c604,_0x32d53e,_0x2c785a=[]){const _0xc4443a=a307_0x4473;return{'rawFlags':_0x32d53e,'args':_0x2c785a,'resolveAppCode':()=>_0x81c604[_0xc4443a(0x145)],'resolveCookie':()=>_0x81c604[_0xc4443a(0x134)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a307_0x16c093(_0x32d53e),'defaultFormat':_0x81c604[_0xc4443a(0x155)],'defaultPageSize':_0x81c604['pageSize'],'defaultVerbose':_0x81c604[_0xc4443a(0x172)],'apiDir':_0x81c604[_0xc4443a(0x157)],'riskLevel':_0x81c604[_0xc4443a(0x16e)],'selectedAppName':_0x81c604['explicitAppName'],'mergedCli':{'defaultApp':_0x81c604[_0xc4443a(0x13d)],'currentApp':_0x81c604[_0xc4443a(0x176)],'appCode':_0x81c604[_0xc4443a(0x145)],'apps':_0x81c604['apps']}};}export function createRabetbaseRunnerAdapter(_0x448c88={}){const _0x2399b3=a307_0x4473;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x3b3e82=>PIPELINE_FLAG_NAMES['has'](_0x3b3e82[_0x2399b3(0x128)]))['map'](({name:_0x1c6109,type:_0xaec9a4,description:_0x2e8e59})=>({'name':_0x1c6109,'type':_0xaec9a4,'description':_0x2e8e59})),'formatOutput':_0x448c88[_0x2399b3(0x12b)]??formatOutput,'getCommandLabel'(_0x10ed9f){const _0x12c042=_0x2399b3;return CLI_BIN_NAME+'\x20'+_0x10ed9f[_0x12c042(0x171)]+'\x20'+_0x10ed9f['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x59c77c,{def:_0x22c52b}){const _0x3c25be=_0x2399b3,_0x309019=_0x59c77c['includes']('Edit\x20the\x20config\x20file\x20manually')?_0x3c25be(0x14a):'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x22c52b[_0x3c25be(0x165)]+_0x3c25be(0x175)+_0x3c25be(0x14a);return CliErrors[_0x3c25be(0x153)](_0x59c77c+'\x0a\x20\x20'+_0x309019);}},async 'prepare'(_0x3168be,_0x380108,_0x2e64bc,_0x52d341){const _0x4f84ef=_0x2399b3,_0x2581f9=_0x380108[_0x4f84ef(0x157)]||DEFAULT_API_DIR,_0x11939c=hasExplicitAppCode(_0x2e64bc,_0x380108['rawFlags']),_0x3f967c=stringFlag(_0x2e64bc[_0x4f84ef(0x139)])||stringFlag(_0x380108[_0x4f84ef(0x13b)][_0x4f84ef(0x139)]),_0x5c0d30=_0x380108[_0x4f84ef(0x150)]?.[_0x4f84ef(0x14f)]??{},_0x3402d7=_0x380108['selectedAppName']||_0x380108['mergedCli']?.[_0x4f84ef(0x176)]||_0x380108[_0x4f84ef(0x150)]?.[_0x4f84ef(0x13d)],_0x4c54e1=_0x3f967c?Object['entries'](_0x5c0d30)[_0x4f84ef(0x13a)](([,_0x1b0ad7])=>_0x1b0ad7[_0x4f84ef(0x139)]===_0x3f967c)[_0x4f84ef(0x131)](([_0x4658ed])=>_0x4658ed):[];if(_0x4c54e1[_0x4f84ef(0x129)]>0x1&&!_0x380108['selectedAppName'])throw CliErrors[_0x4f84ef(0x153)](_0x4f84ef(0x14e)+_0x3f967c+_0x4f84ef(0x141)+_0x4c54e1[_0x4f84ef(0x16d)](',\x20')+'.',_0x4f84ef(0x168));resolveAliasToCode(_0x3168be,_0x2e64bc,_0x2581f9,_0x52d341,_0x380108['resolveAppCode'](),_0x3402d7);const _0x1094b7=resolveCommandAuthMode(_0x3168be);let _0x27c7f6='';if(_0x1094b7!=='none'){_0x27c7f6=_0x380108[_0x4f84ef(0x130)]()||'';if(!_0x27c7f6){if(_0x1094b7===_0x4f84ef(0x158))throw CliErrors[_0x4f84ef(0x147)]();}else{const {setActiveCookie:_0x38a318}=await import(_0x4f84ef(0x152));_0x38a318(_0x27c7f6);}}const _0x359be4=_0x380108['resolveAppCode']()??'';if(_0x3168be[_0x4f84ef(0x16c)]!==![]){if(!_0x11939c&&_0x3402d7&&!_0x5c0d30[_0x3402d7]){const _0x21120c=Object[_0x4f84ef(0x13e)](_0x5c0d30);throw CliErrors[_0x4f84ef(0x153)]('App\x20\x22'+_0x3402d7+'\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.',_0x21120c[_0x4f84ef(0x129)]>0x0?_0x4f84ef(0x13f)+_0x21120c['join'](',\x20')+_0x4f84ef(0x127)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x4f84ef(0x15d));}assertEnvAppCodeNotIgnored(_0x359be4,resolveEnvAppCode(),_0x11939c);if(!_0x359be4){const _0x3401ee=Object[_0x4f84ef(0x13e)](_0x5c0d30);if(!_0x3402d7&&_0x3401ee['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+_0x4f84ef(0x16a)+_0x3401ee[_0x4f84ef(0x16d)](',\x20')+'.');throw CliErrors[_0x4f84ef(0x17c)](_0x4f84ef(0x136)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}}return{'defaults':{'booleans':{'verbose':_0x380108[_0x4f84ef(0x137)]},'numbers':{'pagesize':_0x380108[_0x4f84ef(0x14c)]}},'extras':{'appCode':_0x359be4,'cookie':_0x27c7f6,'apiDomain':_0x380108[_0x4f84ef(0x126)](),'apiDir':_0x2581f9,'selectedAppName':_0x380108[_0x4f84ef(0x14b)],'mergedCli':_0x380108[_0x4f84ef(0x150)]}};},'confirmHighRisk':_0x448c88[_0x2399b3(0x143)]??(async({env:_0x273f4a,commandLabel:_0x20f2f7})=>{const _0x1970c8=_0x2399b3;if(_0x273f4a[_0x1970c8(0x15a)])throw CliErrors[_0x1970c8(0x153)](_0x1970c8(0x156)+_0x20f2f7+_0x1970c8(0x169));await requireConfirmationPrompt({'lines':[_0x1970c8(0x144)+_0x20f2f7,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x3abb9d=>CliErrors[_0x1970c8(0x12a)](_0x3abb9d)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x15ac28=a307_0x4473,{clearActiveCookie:_0x24d9cc}=await import(_0x15ac28(0x152));_0x24d9cc();}export async function finalizeRabetbaseRuntimeState(){const _0x451e5f=a307_0x4473;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x2edbec},{initEnv:_0x4da25d}]=await Promise[_0x451e5f(0x133)]([import(_0x451e5f(0x173)),import(_0x451e5f(0x132))]);_0x2edbec(),_0x4da25d(_0x451e5f(0x138));}}export async function runCommand(_0x231483,_0x52985b,_0x4dad16=terminalRunnerAdapter){assertRejectedFlags(_0x231483,_0x52985b['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x231483)?withUpdateNotice(_0x231483):_0x231483,_0x52985b,_0x4dad16);}function assertRejectedFlags(_0x2daf1c,_0x5a9749){const _0x42bb65=a307_0x4473;for(const _0x1d7f46 of _0x2daf1c[_0x42bb65(0x164)]??[]){const _0xda01a3=GLOBAL_FLAGS['find'](_0x5c22ed=>_0x5c22ed[_0x42bb65(0x128)]===_0x1d7f46[_0x42bb65(0x128)]),_0xebeab3=new Set([_0x1d7f46[_0x42bb65(0x128)],toCamelCase(_0x1d7f46[_0x42bb65(0x128)]),_0xda01a3?.[_0x42bb65(0x13c)]]),_0x49bc32=[..._0xebeab3][_0x42bb65(0x151)](_0x268890=>{if(!_0x268890)return![];const _0x1efa06=_0x5a9749[_0x268890];return _0x1efa06!==undefined&&_0x1efa06!==null&&_0x1efa06!==![];});if(_0x49bc32)throw CliErrors[_0x42bb65(0x153)](_0x1d7f46[_0x42bb65(0x12f)],_0x1d7f46[_0x42bb65(0x12d)]);}}function toCamelCase(_0x3e9109){const _0x5d590f=a307_0x4473;return _0x3e9109['replace'](/-([a-z])/g,(_0x4d959a,_0x1bee56)=>_0x1bee56[_0x5d590f(0x15e)]());}function shouldAttachUpdateNotice(_0xd1819d){const _0x4f12f5=a307_0x4473;if(_0xd1819d[_0x4f12f5(0x167)]===![])return![];return![_0x4f12f5(0x174),'schema',_0x4f12f5(0x148)][_0x4f12f5(0x15b)](_0xd1819d[_0x4f12f5(0x171)]);}function a307_0x2ee3(){const _0x21fda8=['130tPWuDe','object','RABETBASE_APPCODE','string','configMissing','40xeDywk','331309VYyDRH','resolveApiDomain','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','name','length','cancelled','formatOutput','1481055ATtVMs','hint','5447vrWPpi','message','resolveCookie','map','../constant/env.js','all','cookie','pretty','Set\x20appcode\x20via\x20`','defaultVerbose','production','appcode','filter','rawFlags','meowKey','defaultApp','keys','Available:\x20','12HDcBfO','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','nonInteractive','confirmHighRisk','⚠\x20\x20High-risk\x20operation:\x20','appCode','LOVRABET_APPCODE','authRequired','doctor','4269906mnaKxC','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','selectedAppName','defaultPageSize','6neaXed','AppCode\x20\x22','apps','mergedCli','some','../core/api-client.js','validation','3499ZgrMLI','format','High-risk\x20operation\x20`','apiDir','required','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','isNonInteractive','includes','value','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','toUpperCase','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','Current\x20resolved\x20appcode\x20is\x20\x22','resolve','148612ffAARs','trim','rejectedFlags','risk','161BReWWB','hasFormat','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','_notice','requiresAppCode','join','riskLevel','131048ijmTPS','catch','service','verbose','../constant/domain.js','update','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','currentApp','16920tPXyhJ'];a307_0x2ee3=function(){return _0x21fda8;};return a307_0x2ee3();}function withUpdateNotice(_0x479362){return{..._0x479362,async 'execute'(_0x4ae37b){const _0xc0933f=a307_0x4473,_0x28999f=shouldResolveUpdateNotice(_0x4ae37b)?resolveLatestUpdateNotice()[_0xc0933f(0x170)](()=>null):Promise[_0xc0933f(0x161)](null),_0x132b95=await _0x479362['execute'](_0x4ae37b);return attachUpdateNotice(_0x132b95,await _0x28999f);}};}function shouldResolveUpdateNotice(_0x15c1df){const _0x36c74a=a307_0x4473;return _0x15c1df[_0x36c74a(0x155)]===_0x36c74a(0x135)&&!_0x15c1df[_0x36c74a(0x142)];}function attachUpdateNotice(_0x2d0d62,_0x54392c){const _0x1347dc=a307_0x4473;if(!_0x54392c||!_0x2d0d62||typeof _0x2d0d62!==_0x1347dc(0x179))return _0x2d0d62;const _0x8e699c=_0x2d0d62,_0x4358a7=typeof _0x8e699c[_0x1347dc(0x16b)]==='object'&&_0x8e699c[_0x1347dc(0x16b)]!==null?_0x8e699c[_0x1347dc(0x16b)]:{};return{..._0x8e699c,'_notice':{..._0x4358a7,'update':_0x54392c}};}
1
+ (function(_0x10cbec,_0x2b264a){const _0x9c211d=a307_0xeb45,_0x477983=_0x10cbec();while(!![]){try{const _0x104b75=parseInt(_0x9c211d(0xa7))/0x1+parseInt(_0x9c211d(0xa1))/0x2*(parseInt(_0x9c211d(0xb4))/0x3)+parseInt(_0x9c211d(0xc0))/0x4*(-parseInt(_0x9c211d(0x8d))/0x5)+parseInt(_0x9c211d(0x84))/0x6*(parseInt(_0x9c211d(0x7a))/0x7)+-parseInt(_0x9c211d(0xce))/0x8+parseInt(_0x9c211d(0xa2))/0x9+parseInt(_0x9c211d(0x88))/0xa;if(_0x104b75===_0x2b264a)break;else _0x477983['push'](_0x477983['shift']());}catch(_0x5d3d2a){_0x477983['push'](_0x477983['shift']());}}}(a307_0x1e18,0x96a50));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';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_0x55d4ab}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x1c21a5){const _0x3c4d82=a307_0xeb45;return typeof _0x1c21a5===_0x3c4d82(0xd3)&&_0x1c21a5[_0x3c4d82(0x7e)]()?_0x1c21a5[_0x3c4d82(0x7e)]():undefined;}function resolveEnvAppCode(){const _0x55604b=a307_0xeb45,_0x4fa576=stringFlag(process.env.RABETBASE_APPCODE);if(_0x4fa576)return{'name':_0x55604b(0x9f),'value':_0x4fa576};const _0x1fa06c=stringFlag(process.env.LOVRABET_APPCODE);if(_0x1fa06c)return{'name':_0x55604b(0x80),'value':_0x1fa06c};return undefined;}function hasExplicitAppCode(_0x2b4be6,_0x48ef9f){return!!(stringFlag(_0x2b4be6['appcode'])||stringFlag(_0x48ef9f['appcode']));}function assertEnvAppCodeNotIgnored(_0x56350e,_0x1ca2af,_0x45f765){const _0x2cb11a=a307_0xeb45;if(!_0x1ca2af||_0x45f765||_0x56350e===_0x1ca2af[_0x2cb11a(0xb3)])return;const _0x7d496f=_0x56350e?_0x2cb11a(0xb0)+_0x56350e+'\x22.':_0x2cb11a(0xd5);throw CliErrors[_0x2cb11a(0xb1)](_0x1ca2af['name']+'='+_0x1ca2af['value']+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x7d496f+'\x20'+(_0x2cb11a(0xb2)+_0x1ca2af[_0x2cb11a(0x99)]+'\x22.'));}export function createPipelineEnv(_0x426297,_0xf44c91,_0x5464d7=[]){const _0x1dd22d=a307_0xeb45;return{'rawFlags':_0xf44c91,'args':_0x5464d7,'resolveAppCode':()=>_0x426297[_0x1dd22d(0x9e)],'resolveCookie':()=>_0x426297['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a307_0x55d4ab(_0xf44c91),'defaultFormat':_0x426297[_0x1dd22d(0x82)],'defaultPageSize':_0x426297[_0x1dd22d(0xa6)],'defaultVerbose':_0x426297[_0x1dd22d(0x81)],'apiDir':_0x426297['apiDir'],'riskLevel':_0x426297[_0x1dd22d(0xae)],'selectedAppName':_0x426297[_0x1dd22d(0xc2)],'mergedCli':{'defaultApp':_0x426297[_0x1dd22d(0x8b)],'currentApp':_0x426297['currentApp'],'appCode':_0x426297[_0x1dd22d(0x9e)],'apps':_0x426297['apps']}};}export function createRabetbaseRunnerAdapter(_0x4202a3={}){const _0x4f68c4=a307_0xeb45;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x4f68c4(0xc4)](_0x15d881=>PIPELINE_FLAG_NAMES[_0x4f68c4(0xad)](_0x15d881[_0x4f68c4(0x99)]))[_0x4f68c4(0xa5)](({name:_0x362bcf,type:_0x545800,description:_0x415f73})=>({'name':_0x362bcf,'type':_0x545800,'description':_0x415f73})),'formatOutput':_0x4202a3[_0x4f68c4(0x7f)]??formatOutput,'getCommandLabel'(_0x344cf7){const _0x4d9366=_0x4f68c4;return CLI_BIN_NAME+'\x20'+_0x344cf7['service']+'\x20'+_0x344cf7[_0x4d9366(0xac)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xff91ff,{def:_0x17bd5b}){const _0x4ead7d=_0x4f68c4,_0x529a8b=_0xff91ff[_0x4ead7d(0x77)]('Edit\x20the\x20config\x20file\x20manually')?_0x4ead7d(0x7c):_0x4ead7d(0x85)+_0x17bd5b[_0x4ead7d(0x94)]+_0x4ead7d(0xc8)+_0x4ead7d(0x7c);return CliErrors['validation'](_0xff91ff+_0x4ead7d(0x7b)+_0x529a8b);}},async 'prepare'(_0x1fbe7f,_0x59cab6,_0x307059,_0x38eb49){const _0x105820=_0x4f68c4,_0x520a18=_0x59cab6[_0x105820(0xbf)]||DEFAULT_API_DIR,_0x20813e=hasExplicitAppCode(_0x307059,_0x59cab6[_0x105820(0xb9)]),_0x67a710=stringFlag(_0x307059[_0x105820(0xb8)])||stringFlag(_0x59cab6[_0x105820(0xb9)][_0x105820(0xb8)]),_0x276d23=_0x59cab6[_0x105820(0xbe)]?.[_0x105820(0x8c)]??{},_0xe5275f=_0x59cab6[_0x105820(0xd1)]||_0x59cab6[_0x105820(0xbe)]?.['currentApp']||_0x59cab6[_0x105820(0xbe)]?.[_0x105820(0x8b)],_0x12f603=_0x67a710?Object[_0x105820(0xa8)](_0x276d23)[_0x105820(0xc4)](([,_0x1ac382])=>_0x1ac382[_0x105820(0xb8)]===_0x67a710)[_0x105820(0xa5)](([_0xab4b])=>_0xab4b):[];if(_0x12f603[_0x105820(0xcc)]>0x1&&!_0x59cab6[_0x105820(0xd1)])throw CliErrors[_0x105820(0xb1)]('AppCode\x20\x22'+_0x67a710+'\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20'+_0x12f603[_0x105820(0xaa)](',\x20')+'.',_0x105820(0x9c));resolveAliasToCode(_0x1fbe7f,_0x307059,_0x520a18,_0x38eb49,_0x59cab6[_0x105820(0xb6)](),_0xe5275f);const _0x99f261=resolveCommandAuthMode(_0x1fbe7f);let _0x1c33a3='';if(_0x99f261!==_0x105820(0x89)){_0x1c33a3=_0x59cab6['resolveCookie']()||'';if(!_0x1c33a3){if(_0x99f261===_0x105820(0xd0))throw CliErrors[_0x105820(0x8e)]();}else{const {setActiveCookie:_0x3c667b}=await import(_0x105820(0xba));_0x3c667b(_0x1c33a3);}}const _0x1e3f42=_0x59cab6[_0x105820(0xb6)]()??'';if(_0x1fbe7f['requiresAppCode']!==![]){if(!_0x20813e&&_0xe5275f&&!_0x276d23[_0xe5275f]){const _0x36539f=Object[_0x105820(0x96)](_0x276d23);throw CliErrors[_0x105820(0xb1)](_0x105820(0xd4)+_0xe5275f+_0x105820(0xc5),_0x36539f[_0x105820(0xcc)]>0x0?_0x105820(0xcd)+_0x36539f[_0x105820(0xaa)](',\x20')+_0x105820(0x98)+CLI_BIN_NAME+_0x105820(0x78):_0x105820(0xbd)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.');}assertEnvAppCodeNotIgnored(_0x1e3f42,resolveEnvAppCode(),_0x20813e);if(!_0x1e3f42){const _0x464c7b=Object['keys'](_0x276d23);if(!_0xe5275f&&_0x464c7b[_0x105820(0xcc)]>0x1)throw CliErrors[_0x105820(0xb5)](_0x105820(0xa9)+CLI_BIN_NAME+_0x105820(0xa4)+_0x464c7b[_0x105820(0xaa)](',\x20')+'.');throw CliErrors[_0x105820(0xb5)](_0x105820(0xa0)+CLI_BIN_NAME+_0x105820(0xaf));}}return{'defaults':{'booleans':{'verbose':_0x59cab6[_0x105820(0xa3)]},'numbers':{'pagesize':_0x59cab6[_0x105820(0xbc)]}},'extras':{'appCode':_0x1e3f42,'cookie':_0x1c33a3,'apiDomain':_0x59cab6[_0x105820(0xca)](),'apiDir':_0x520a18,'selectedAppName':_0x59cab6['selectedAppName'],'mergedCli':_0x59cab6['mergedCli']}};},'confirmHighRisk':_0x4202a3[_0x4f68c4(0x87)]??(async({env:_0x2e849e,commandLabel:_0x5414ed})=>{const _0x140a05=_0x4f68c4;if(_0x2e849e['isNonInteractive'])throw CliErrors[_0x140a05(0xb1)](_0x140a05(0xc7)+_0x5414ed+_0x140a05(0xc3));await requireConfirmationPrompt({'lines':[_0x140a05(0xc9)+_0x5414ed,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x3e80e0=>CliErrors[_0x140a05(0xb7)](_0x3e80e0)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0xb333bb=a307_0xeb45,{clearActiveCookie:_0x5c6cea}=await import(_0xb333bb(0xba));_0x5c6cea();}export async function finalizeRabetbaseRuntimeState(){const _0x4b4918=a307_0xeb45;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x183903},{initEnv:_0x14bf37}]=await Promise[_0x4b4918(0x9a)]([import(_0x4b4918(0x86)),import(_0x4b4918(0x79))]);_0x183903(),_0x14bf37(_0x4b4918(0x90));}}export async function runCommand(_0xe5ac5d,_0x147c3c,_0x17b158=terminalRunnerAdapter){const _0x3a6176=a307_0xeb45;assertRejectedFlags(_0xe5ac5d,_0x147c3c[_0x3a6176(0xb9)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0xe5ac5d)?withUpdateNotice(_0xe5ac5d):_0xe5ac5d,_0x147c3c,_0x17b158);}function assertRejectedFlags(_0x219c0f,_0x37fc47){const _0x47c4c1=a307_0xeb45;for(const _0x57f3a2 of _0x219c0f['rejectedFlags']??[]){const _0x364b5e=GLOBAL_FLAGS[_0x47c4c1(0xbb)](_0xae729d=>_0xae729d[_0x47c4c1(0x99)]===_0x57f3a2['name']),_0x446fc7=new Set([_0x57f3a2[_0x47c4c1(0x99)],toCamelCase(_0x57f3a2[_0x47c4c1(0x99)]),_0x364b5e?.[_0x47c4c1(0x93)]]),_0x176409=[..._0x446fc7][_0x47c4c1(0x95)](_0x5b08a3=>{if(!_0x5b08a3)return![];const _0x20c46a=_0x37fc47[_0x5b08a3];return _0x20c46a!==undefined&&_0x20c46a!==null&&_0x20c46a!==![];});if(_0x176409)throw CliErrors[_0x47c4c1(0xb1)](_0x57f3a2[_0x47c4c1(0x8f)],_0x57f3a2[_0x47c4c1(0x9b)]);}}function toCamelCase(_0x4dfc64){const _0x25be4c=a307_0xeb45;return _0x4dfc64[_0x25be4c(0x9d)](/-([a-z])/g,(_0x573228,_0x301cac)=>_0x301cac[_0x25be4c(0xcf)]());}function shouldAttachUpdateNotice(_0x66efed){const _0x17251c=a307_0xeb45;if(_0x66efed[_0x17251c(0x8a)]===![])return![];return![_0x17251c(0xcb),_0x17251c(0x91),_0x17251c(0x92)][_0x17251c(0x77)](_0x66efed[_0x17251c(0x83)]);}function withUpdateNotice(_0x2fde8f){return{..._0x2fde8f,async 'execute'(_0x5df05b){const _0x491420=a307_0xeb45,_0x31eb77=shouldResolveUpdateNotice(_0x5df05b)?resolveLatestUpdateNotice()[_0x491420(0xd2)](()=>null):Promise[_0x491420(0xab)](null),_0x13d3b4=await _0x2fde8f[_0x491420(0xc6)](_0x5df05b);return attachUpdateNotice(_0x13d3b4,await _0x31eb77);}};}function shouldResolveUpdateNotice(_0x4a306d){const _0x2f0600=a307_0xeb45;return _0x4a306d['format']==='pretty'&&!_0x4a306d[_0x2f0600(0x97)];}function a307_0xeb45(_0x92de71,_0x2c903b){_0x92de71=_0x92de71-0x77;const _0x1e18e2=a307_0x1e18();let _0xeb4533=_0x1e18e2[_0x92de71];return _0xeb4533;}function attachUpdateNotice(_0x4ee66c,_0x24a1be){const _0x253598=a307_0xeb45;if(!_0x24a1be||!_0x4ee66c||typeof _0x4ee66c!==_0x253598(0x7d))return _0x4ee66c;const _0x237d67=_0x4ee66c,_0x112b1f=typeof _0x237d67[_0x253598(0xc1)]==='object'&&_0x237d67[_0x253598(0xc1)]!==null?_0x237d67[_0x253598(0xc1)]:{};return{..._0x237d67,'_notice':{..._0x112b1f,'update':_0x24a1be}};}function a307_0x1e18(){const _0x2b02d7=['Available:\x20','9448184GFlSXw','toUpperCase','required','selectedAppName','catch','string','App\x20\x22','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','includes','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','../constant/env.js','6766648kChMpp','\x0a\x20\x20','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','object','trim','formatOutput','LOVRABET_APPCODE','verbose','format','service','6YlLOwE','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','../constant/domain.js','confirmHighRisk','1745400irzJTH','none','hasFormat','defaultApp','apps','750jtEbga','authRequired','message','production','schema','doctor','meowKey','risk','some','keys','nonInteractive','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','name','all','hint','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','replace','appCode','RABETBASE_APPCODE','Set\x20appcode\x20via\x20`','30IJaiin','3470994gyffUa','defaultVerbose','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','map','pageSize','733028IrATHM','entries','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','join','resolve','command','has','riskLevel','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Current\x20resolved\x20appcode\x20is\x20\x22','validation','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','value','145593MQAgCs','configMissing','resolveAppCode','cancelled','appcode','rawFlags','../core/api-client.js','find','defaultPageSize','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','mergedCli','apiDir','31728aQyatc','_notice','explicitAppName','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','filter','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','execute','High-risk\x20operation\x20`','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','⚠\x20\x20High-risk\x20operation:\x20','resolveApiDomain','update','length'];a307_0x1e18=function(){return _0x2b02d7;};return a307_0x1e18();}
@@ -1 +1 @@
1
- (function(_0x41a7b5,_0x234856){const _0x2f9a6d=a308_0x1794,_0x479967=_0x41a7b5();while(!![]){try{const _0x50a2a4=-parseInt(_0x2f9a6d(0x122))/0x1+parseInt(_0x2f9a6d(0x11c))/0x2*(-parseInt(_0x2f9a6d(0x11f))/0x3)+parseInt(_0x2f9a6d(0x11d))/0x4+-parseInt(_0x2f9a6d(0x120))/0x5*(-parseInt(_0x2f9a6d(0x119))/0x6)+-parseInt(_0x2f9a6d(0x11a))/0x7+-parseInt(_0x2f9a6d(0x121))/0x8+parseInt(_0x2f9a6d(0x11b))/0x9;if(_0x50a2a4===_0x234856)break;else _0x479967['push'](_0x479967['shift']());}catch(_0x5b5b69){_0x479967['push'](_0x479967['shift']());}}}(a308_0x3b61,0x5d0c9));import{buildSchemaPayload as a308_0x19cc24}from'@lovrabet/cli-framework';function a308_0x1794(_0x39a15c,_0x2cceb0){_0x39a15c=_0x39a15c-0x119;const _0x3b6197=a308_0x3b61();let _0x1794f4=_0x3b6197[_0x39a15c];return _0x1794f4;}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a308_0x3b61(){const _0x3df63b=['23875HAWwYH','1223336KCsiOk','148211SUsOZN','414ynVslB','789572CazWPi','5243913RaAkxL','349454gOiDzD','230592qFauRQ','../commands/registry.js','3yUkwrw'];a308_0x3b61=function(){return _0x3df63b;};return a308_0x3b61();}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x2cd134=a308_0x1794,{serviceRegistry:_0x183fbe,findDefinition:_0x418fb6}=await import(_0x2cd134(0x11e));return a308_0x19cc24({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x183fbe,'buildAllFlags':buildAllFlags,'findDefinition':_0x418fb6});}
1
+ function a308_0x5cfb(){const _0x191e18=['1035652SxHQpi','182885PzxekX','15077384xfcyau','4036011WcRoBk','../commands/registry.js','4790760cyZFdK','791234PCmAHu','4982562kXMdPz','9AWSNol'];a308_0x5cfb=function(){return _0x191e18;};return a308_0x5cfb();}(function(_0x29fc3a,_0x525da9){const _0x4d82ee=a308_0x53d2,_0xb021ac=_0x29fc3a();while(!![]){try{const _0x6a171e=-parseInt(_0x4d82ee(0x14e))/0x1+parseInt(_0x4d82ee(0x153))/0x2*(parseInt(_0x4d82ee(0x14c))/0x3)+parseInt(_0x4d82ee(0x14d))/0x4+-parseInt(_0x4d82ee(0x152))/0x5+-parseInt(_0x4d82ee(0x154))/0x6+-parseInt(_0x4d82ee(0x150))/0x7+parseInt(_0x4d82ee(0x14f))/0x8;if(_0x6a171e===_0x525da9)break;else _0xb021ac['push'](_0xb021ac['shift']());}catch(_0x12974a){_0xb021ac['push'](_0xb021ac['shift']());}}}(a308_0x5cfb,0xbf040));import{buildSchemaPayload as a308_0xc3390a}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a308_0x53d2(_0x1b16f7,_0x8e39f6){_0x1b16f7=_0x1b16f7-0x14c;const _0x5cfb68=a308_0x5cfb();let _0x53d232=_0x5cfb68[_0x1b16f7];return _0x53d232;}export async function buildSchemaPayload(){const _0x1bfb19=a308_0x53d2,{serviceRegistry:_0x47334e,findDefinition:_0x312420}=await import(_0x1bfb19(0x151));return a308_0xc3390a({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x47334e,'buildAllFlags':buildAllFlags,'findDefinition':_0x312420});}
@@ -1 +1 @@
1
- (function(_0x26931f,_0x550ea4){const _0xa6e686=a309_0x209f,_0x4a7ff7=_0x26931f();while(!![]){try{const _0x30f841=parseInt(_0xa6e686(0x1e4))/0x1+-parseInt(_0xa6e686(0x1d9))/0x2+-parseInt(_0xa6e686(0x1f1))/0x3+-parseInt(_0xa6e686(0x1ed))/0x4+parseInt(_0xa6e686(0x1e9))/0x5+-parseInt(_0xa6e686(0x1ef))/0x6*(-parseInt(_0xa6e686(0x1f2))/0x7)+parseInt(_0xa6e686(0x1dc))/0x8;if(_0x30f841===_0x550ea4)break;else _0x4a7ff7['push'](_0x4a7ff7['shift']());}catch(_0x6c03ff){_0x4a7ff7['push'](_0x4a7ff7['shift']());}}}(a309_0x57d3,0x70f76));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a309_0x57d3(){const _0x36a853=['command','version','name','2311555uGbhTh','help','toLowerCase','replace','1419220ZvutXm','$1-$2','6yESEEy','Unsupported\x20flag\x20--','2043189rsfYhV','3326841yXsAYe','service','844196VpFNmK','toUpperCase','\x20for\x20`','5610776qtCQQF','add','length','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','validation','strictFlags','meowKey','has','281755bDjyMn','entries'];a309_0x57d3=function(){return _0x36a853;};return a309_0x57d3();}import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x3a609f,_0x54246d){const _0x5aba18=a309_0x209f;if(!_0x3a609f[_0x5aba18(0x1e1)])return;const _0x183652=new Set([_0x5aba18(0x1ea),_0x5aba18(0x1e7)]),_0x1de8f5=GLOBAL_FLAGS['filter'](_0x3d66d8=>PIPELINE_FLAG_NAMES['has'](_0x3d66d8[_0x5aba18(0x1e8)]));for(const _0x34663a of[..._0x3a609f['flags'],..._0x1de8f5]){addFlagCandidates(_0x183652,_0x34663a);}for(const [_0x2e6612,_0x4c6c44]of Object[_0x5aba18(0x1e5)](_0x54246d)){if(!isExplicitValue(_0x4c6c44)||_0x183652[_0x5aba18(0x1e3)](_0x2e6612))continue;const _0x51bed1=GLOBAL_FLAGS['find'](_0x4ddb85=>_0x4ddb85[_0x5aba18(0x1e2)]===_0x2e6612)?.[_0x5aba18(0x1e8)]??toKebabCase(_0x2e6612);throw CliErrors[_0x5aba18(0x1e0)](_0x5aba18(0x1f0)+_0x51bed1+_0x5aba18(0x1db)+CLI_BIN_NAME+'\x20'+_0x3a609f['service']+'\x20'+_0x3a609f[_0x5aba18(0x1e6)]+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x3a609f[_0x5aba18(0x1f3)]+'\x20'+_0x3a609f[_0x5aba18(0x1e6)]+_0x5aba18(0x1df));}}function addFlagCandidates(_0x542bc5,_0x2a7aa9){const _0x3c07fc=a309_0x209f,_0x38320d='meowKey'in _0x2a7aa9?[_0x2a7aa9[_0x3c07fc(0x1e8)],_0x2a7aa9[_0x3c07fc(0x1e2)]]:[_0x2a7aa9['name'],_0x2a7aa9['alias']];for(const _0x48d202 of _0x38320d){if(!_0x48d202)continue;_0x542bc5[_0x3c07fc(0x1dd)](_0x48d202),_0x542bc5[_0x3c07fc(0x1dd)](toCamelCase(_0x48d202));}}function isExplicitValue(_0x37ba5a){const _0x4621d7=a309_0x209f;return _0x37ba5a!==undefined&&_0x37ba5a!==null&&_0x37ba5a!==![]&&(!Array['isArray'](_0x37ba5a)||_0x37ba5a[_0x4621d7(0x1de)]>0x0);}function a309_0x209f(_0x375a1e,_0x2a7544){_0x375a1e=_0x375a1e-0x1d9;const _0x57d391=a309_0x57d3();let _0x209f96=_0x57d391[_0x375a1e];return _0x209f96;}function toCamelCase(_0x462430){const _0x485ca9=a309_0x209f;return _0x462430[_0x485ca9(0x1ec)](/-([a-z])/g,(_0x1d4e99,_0x57de50)=>_0x57de50[_0x485ca9(0x1da)]());}function toKebabCase(_0x2abfb5){const _0x596d36=a309_0x209f;return _0x2abfb5[_0x596d36(0x1ec)](/([a-z0-9])([A-Z])/g,_0x596d36(0x1ee))[_0x596d36(0x1eb)]();}
1
+ (function(_0x3bf852,_0x5e62a3){const _0x55378f=a309_0x69ed,_0x4af031=_0x3bf852();while(!![]){try{const _0x37ead4=parseInt(_0x55378f(0x15a))/0x1+parseInt(_0x55378f(0x166))/0x2*(-parseInt(_0x55378f(0x156))/0x3)+-parseInt(_0x55378f(0x158))/0x4+parseInt(_0x55378f(0x15c))/0x5*(-parseInt(_0x55378f(0x152))/0x6)+parseInt(_0x55378f(0x169))/0x7*(parseInt(_0x55378f(0x160))/0x8)+parseInt(_0x55378f(0x151))/0x9*(parseInt(_0x55378f(0x16a))/0xa)+parseInt(_0x55378f(0x15f))/0xb*(parseInt(_0x55378f(0x163))/0xc);if(_0x37ead4===_0x5e62a3)break;else _0x4af031['push'](_0x4af031['shift']());}catch(_0x7edb89){_0x4af031['push'](_0x4af031['shift']());}}}(a309_0x68cb,0xb9811));function a309_0x69ed(_0x25a3d3,_0x5d3e2b){_0x25a3d3=_0x25a3d3-0x150;const _0x68cbb9=a309_0x68cb();let _0x69ed6b=_0x68cbb9[_0x25a3d3];return _0x69ed6b;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x1086cf,_0x204e18){const _0x200d66=a309_0x69ed;if(!_0x1086cf[_0x200d66(0x164)])return;const _0x1c5daa=new Set([_0x200d66(0x150),'version']),_0x446d34=GLOBAL_FLAGS[_0x200d66(0x159)](_0x160997=>PIPELINE_FLAG_NAMES[_0x200d66(0x154)](_0x160997[_0x200d66(0x167)]));for(const _0x116f03 of[..._0x1086cf['flags'],..._0x446d34]){addFlagCandidates(_0x1c5daa,_0x116f03);}for(const [_0x3f9bfc,_0x55901c]of Object['entries'](_0x204e18)){if(!isExplicitValue(_0x55901c)||_0x1c5daa[_0x200d66(0x154)](_0x3f9bfc))continue;const _0x22e996=GLOBAL_FLAGS['find'](_0x10072f=>_0x10072f[_0x200d66(0x15d)]===_0x3f9bfc)?.['name']??toKebabCase(_0x3f9bfc);throw CliErrors[_0x200d66(0x165)](_0x200d66(0x16b)+_0x22e996+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x1086cf[_0x200d66(0x153)]+'\x20'+_0x1086cf[_0x200d66(0x15b)]+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x1086cf[_0x200d66(0x153)]+'\x20'+_0x1086cf['command']+_0x200d66(0x168));}}function addFlagCandidates(_0x30835a,_0x4e4644){const _0x39b923=a309_0x69ed,_0x361675=_0x39b923(0x15d)in _0x4e4644?[_0x4e4644[_0x39b923(0x167)],_0x4e4644[_0x39b923(0x15d)]]:[_0x4e4644[_0x39b923(0x167)],_0x4e4644[_0x39b923(0x157)]];for(const _0x28b30a of _0x361675){if(!_0x28b30a)continue;_0x30835a['add'](_0x28b30a),_0x30835a[_0x39b923(0x161)](toCamelCase(_0x28b30a));}}function a309_0x68cb(){const _0x99be17=['has','length','547455ExnKRm','alias','5663876hQWppU','filter','362205DbgBFF','command','5140085CwQcXA','meowKey','isArray','15983HySkct','8173320QTXmUE','add','replace','26832sZsPhv','strictFlags','validation','16jgTkEu','name','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','7EKCsGd','10tTHlIy','Unsupported\x20flag\x20--','help','278217ufGNGH','6YeXKrh','service'];a309_0x68cb=function(){return _0x99be17;};return a309_0x68cb();}function isExplicitValue(_0x190d89){const _0x4d7f21=a309_0x69ed;return _0x190d89!==undefined&&_0x190d89!==null&&_0x190d89!==![]&&(!Array[_0x4d7f21(0x15e)](_0x190d89)||_0x190d89[_0x4d7f21(0x155)]>0x0);}function toCamelCase(_0x274277){const _0x509a3f=a309_0x69ed;return _0x274277[_0x509a3f(0x162)](/-([a-z])/g,(_0x4f8547,_0xcb3dac)=>_0xcb3dac['toUpperCase']());}function toKebabCase(_0x4541cd){const _0x224990=a309_0x69ed;return _0x4541cd[_0x224990(0x162)](/([a-z0-9])([A-Z])/g,'$1-$2')['toLowerCase']();}
@@ -1 +1 @@
1
- (function(_0x1cd4fa,_0x2f6534){var _0x55330c=a310_0x595f,_0x578fc3=_0x1cd4fa();while(!![]){try{var _0x26b514=-parseInt(_0x55330c(0x1a4))/0x1+parseInt(_0x55330c(0x1a7))/0x2*(-parseInt(_0x55330c(0x1af))/0x3)+parseInt(_0x55330c(0x1aa))/0x4*(parseInt(_0x55330c(0x1a5))/0x5)+-parseInt(_0x55330c(0x1ab))/0x6*(parseInt(_0x55330c(0x1ad))/0x7)+-parseInt(_0x55330c(0x1ac))/0x8+-parseInt(_0x55330c(0x1a9))/0x9*(-parseInt(_0x55330c(0x1a8))/0xa)+parseInt(_0x55330c(0x1a6))/0xb*(parseInt(_0x55330c(0x1ae))/0xc);if(_0x26b514===_0x2f6534)break;else _0x578fc3['push'](_0x578fc3['shift']());}catch(_0xd4a863){_0x578fc3['push'](_0x578fc3['shift']());}}}(a310_0xd51b,0x223d2));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a310_0x595f(_0x5ab9a4,_0x4ddaae){_0x5ab9a4=_0x5ab9a4-0x1a4;var _0xd51b91=a310_0xd51b();var _0x595f45=_0xd51b91[_0x5ab9a4];return _0x595f45;}function a310_0xd51b(){var _0x3ed61d=['12RilART','90KfmQlV','151200NpwtQI','130775GSZnik','3569555qLnwyy','17524aGqEwb','20IiSRhQ','1259073JCgGqZ','24zHuxhc','41610XSozzr','1100616uObRZf','70EPsfEd'];a310_0xd51b=function(){return _0x3ed61d;};return a310_0xd51b();}
1
+ (function(_0x221018,_0x517d68){var _0x554a36=a310_0x35a8,_0x18a0a3=_0x221018();while(!![]){try{var _0x3c9dd0=-parseInt(_0x554a36(0x192))/0x1+parseInt(_0x554a36(0x193))/0x2*(parseInt(_0x554a36(0x190))/0x3)+-parseInt(_0x554a36(0x194))/0x4*(parseInt(_0x554a36(0x18b))/0x5)+-parseInt(_0x554a36(0x18e))/0x6+-parseInt(_0x554a36(0x195))/0x7*(parseInt(_0x554a36(0x191))/0x8)+-parseInt(_0x554a36(0x18f))/0x9*(parseInt(_0x554a36(0x18c))/0xa)+parseInt(_0x554a36(0x18d))/0xb;if(_0x3c9dd0===_0x517d68)break;else _0x18a0a3['push'](_0x18a0a3['shift']());}catch(_0x5dac0e){_0x18a0a3['push'](_0x18a0a3['shift']());}}}(a310_0x1680,0xd7dd7));function a310_0x1680(){var _0x3312b2=['172120xNKftk','31054375EWvxlC','1494408bAInaa','639PMHArN','1660563Crlpoe','272IrOERX','509244cmwCLd','6CThRIi','5659612ainTLi','42049FsJPTv','5geemQk'];a310_0x1680=function(){return _0x3312b2;};return a310_0x1680();}function a310_0x35a8(_0x56e8f3,_0x5c1079){_0x56e8f3=_0x56e8f3-0x18b;var _0x168098=a310_0x1680();var _0x35a8e6=_0x168098[_0x56e8f3];return _0x35a8e6;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.5.3-beta.3";
2
- export declare const GIT_TAG = "v2.5.3-beta.3";
3
- export declare const GIT_COMMIT = "de31c63e";
4
- export declare const BUILD_TIME = "2026-09-11T09:13:14.939Z";
1
+ export declare const VERSION = "2.5.3";
2
+ export declare const GIT_TAG = "v2.5.3";
3
+ export declare const GIT_COMMIT = "ff93c672";
4
+ export declare const BUILD_TIME = "2026-09-14T03:40:23.014Z";
@@ -1 +1 @@
1
- const a311_0x3f941f=a311_0x2661;(function(_0x16f68b,_0x52923){const _0x21d5fb=a311_0x2661,_0x1f5f60=_0x16f68b();while(!![]){try{const _0x1d4d5b=-parseInt(_0x21d5fb(0xe7))/0x1+parseInt(_0x21d5fb(0xe6))/0x2*(-parseInt(_0x21d5fb(0xe8))/0x3)+parseInt(_0x21d5fb(0xea))/0x4*(parseInt(_0x21d5fb(0xf1))/0x5)+-parseInt(_0x21d5fb(0xf0))/0x6*(parseInt(_0x21d5fb(0xeb))/0x7)+parseInt(_0x21d5fb(0xef))/0x8*(parseInt(_0x21d5fb(0xee))/0x9)+parseInt(_0x21d5fb(0xed))/0xa*(parseInt(_0x21d5fb(0xe9))/0xb)+parseInt(_0x21d5fb(0xe5))/0xc;if(_0x1d4d5b===_0x52923)break;else _0x1f5f60['push'](_0x1f5f60['shift']());}catch(_0x187ac6){_0x1f5f60['push'](_0x1f5f60['shift']());}}}(a311_0x1e47,0xa8951));function a311_0x2661(_0x3b0e52,_0x4f6693){_0x3b0e52=_0x3b0e52-0xe4;const _0x1e47c8=a311_0x1e47();let _0x2661ee=_0x1e47c8[_0x3b0e52];return _0x2661ee;}export const VERSION=a311_0x3f941f(0xe4);function a311_0x1e47(){const _0x4aa4bf=['9bxrfwP','267528LNYafm','41346pIIEcY','5HqRgcr','de31c63e','2.5.3-beta.3','13245144noPeHr','2DqXRLy','1258909xFkRHT','925284eoALFG','3223leeOoE','4388308FGmezS','21fNFMKp','2026-09-11T09:13:14.939Z','1510UMFglk'];a311_0x1e47=function(){return _0x4aa4bf;};return a311_0x1e47();}export const GIT_TAG='v2.5.3-beta.3';export const GIT_COMMIT=a311_0x3f941f(0xf2);export const BUILD_TIME=a311_0x3f941f(0xec);
1
+ function a311_0x4ee0(){const _0x52f8d3=['4174nBMcUj','5718792MpqhdB','180910wBvOZu','ff93c672','v2.5.3','18hcSnel','463haRAuy','5644878fVVPIH','174036BPAphV','2.5.3','44628160fbfChu','8369514GIovqk','7qoADrw'];a311_0x4ee0=function(){return _0x52f8d3;};return a311_0x4ee0();}function a311_0x1b13(_0x5100b5,_0x34b52b){_0x5100b5=_0x5100b5-0xb8;const _0x4ee096=a311_0x4ee0();let _0x1b13cd=_0x4ee096[_0x5100b5];return _0x1b13cd;}const a311_0x3a4af6=a311_0x1b13;(function(_0x51ba1f,_0x13f103){const _0x4c40a7=a311_0x1b13,_0xb9f6e=_0x51ba1f();while(!![]){try{const _0x31f98d=parseInt(_0x4c40a7(0xc1))/0x1*(-parseInt(_0x4c40a7(0xbb))/0x2)+parseInt(_0x4c40a7(0xc0))/0x3*(-parseInt(_0x4c40a7(0xc3))/0x4)+-parseInt(_0x4c40a7(0xbd))/0x5+-parseInt(_0x4c40a7(0xc2))/0x6*(parseInt(_0x4c40a7(0xba))/0x7)+-parseInt(_0x4c40a7(0xbc))/0x8+-parseInt(_0x4c40a7(0xb9))/0x9+parseInt(_0x4c40a7(0xb8))/0xa;if(_0x31f98d===_0x13f103)break;else _0xb9f6e['push'](_0xb9f6e['shift']());}catch(_0x4db99f){_0xb9f6e['push'](_0xb9f6e['shift']());}}}(a311_0x4ee0,0x95d3b));export const VERSION=a311_0x3a4af6(0xc4);export const GIT_TAG=a311_0x3a4af6(0xbf);export const GIT_COMMIT=a311_0x3a4af6(0xbe);export const BUILD_TIME='2026-09-14T03:40:23.014Z';
@@ -1 +1 @@
1
- const a312_0x5f0a68=a312_0x4de6;(function(_0x248afb,_0x336275){const _0x22b5bc=a312_0x4de6,_0x33cc2a=_0x248afb();while(!![]){try{const _0x29ba89=parseInt(_0x22b5bc(0x124))/0x1*(-parseInt(_0x22b5bc(0x130))/0x2)+-parseInt(_0x22b5bc(0x13d))/0x3*(parseInt(_0x22b5bc(0x12e))/0x4)+parseInt(_0x22b5bc(0x13c))/0x5+-parseInt(_0x22b5bc(0x132))/0x6*(-parseInt(_0x22b5bc(0x147))/0x7)+-parseInt(_0x22b5bc(0x13a))/0x8+-parseInt(_0x22b5bc(0x135))/0x9*(-parseInt(_0x22b5bc(0x137))/0xa)+parseInt(_0x22b5bc(0x146))/0xb*(-parseInt(_0x22b5bc(0x148))/0xc);if(_0x29ba89===_0x336275)break;else _0x33cc2a['push'](_0x33cc2a['shift']());}catch(_0x383905){_0x33cc2a['push'](_0x33cc2a['shift']());}}}(a312_0x4124,0x5ca13));export const ROUTING_CATALOG_DIGEST='3106fb4f7940b1f4446307e8a7f0c6f6e4a71affd6f8ebe7e5f23e055c08ca3f';export const DEFAULT_REGION='cn';function a312_0x4de6(_0x2595e9,_0x11bf3d){_0x2595e9=_0x2595e9-0x124;const _0x412408=a312_0x4124();let _0x4de6c1=_0x412408[_0x2595e9];return _0x4de6c1;}function a312_0x4124(){const _0xcb66ce=['11409HMtPov','https://skills.lovrabet.com','https://user.lovrabet.com','https://daily-api.lovrabet.com','Mainland\x20China','Global','https://dev.lovrabet.id','https://api.lovrabet.id','https://runtime.lovrabet.id','660JQFBOT','5010138YbvvXv','75564ZUkqEE','https://api.lovrabet.com','6416LPrIBT','https://g.lovrabet.com','https://app.lovrabet.id','https://skills-daily.lovrabet.com','https://dev.lovrabet.com','https://api.lovrabet.ai','https://user.lovrabet.ai','china','https://g.alicdn.com/code/lib','indonesia','64JtClwu','https://runtime.lovrabet.com','200WTXxQP','https://skills.lovrabet.ai','6WAuuMY','https://cdnjs.cloudflare.com/ajax/libs','https://g.lovrabet.id','25731URuQOJ','https://daily-runtime.lovrabet.com','2060DsvoSe','https://app.lovrabet.ai','https://dev.lovrabet.ai','1914832uwWkPG','global','1971725ctFXSb'];a312_0x4124=function(){return _0xcb66ce;};return a312_0x4124();}export const REGION_VALUES=['cn','id',a312_0x5f0a68(0x13b)];export const ENABLED_REGION_VALUES=['cn','id'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a312_0x5f0a68(0x141),'aliases':[a312_0x5f0a68(0x12b)],'serviceDomains':{'production':{'user':a312_0x5f0a68(0x13f),'api':a312_0x5f0a68(0x149),'runtime':a312_0x5f0a68(0x12f),'skill':a312_0x5f0a68(0x13e),'kb':a312_0x5f0a68(0x149),'app':'https://app.lovrabet.com'},'daily':{'user':'https://user-daily.lovrabet.com','api':a312_0x5f0a68(0x140),'runtime':a312_0x5f0a68(0x136),'skill':a312_0x5f0a68(0x127),'kb':'https://daily-api.lovrabet.com','app':'https://daily.lovrabet.com'}},'cdn':{'libraries':a312_0x5f0a68(0x12c),'lovrabet':a312_0x5f0a68(0x125)},'local':{'origin':a312_0x5f0a68(0x128)}},'id':{'enabled':!![],'label':'Indonesia','aliases':[a312_0x5f0a68(0x12d)],'serviceDomains':{'production':{'user':'https://user.lovrabet.id','api':a312_0x5f0a68(0x144),'runtime':a312_0x5f0a68(0x145),'skill':'https://skills.lovrabet.id','kb':a312_0x5f0a68(0x144),'app':a312_0x5f0a68(0x126)}},'cdn':{'libraries':a312_0x5f0a68(0x133),'lovrabet':a312_0x5f0a68(0x134)},'local':{'origin':a312_0x5f0a68(0x143)}},'global':{'enabled':![],'label':a312_0x5f0a68(0x142),'aliases':[],'serviceDomains':{'production':{'user':a312_0x5f0a68(0x12a),'api':'https://api.lovrabet.ai','runtime':'https://runtime.lovrabet.ai','skill':a312_0x5f0a68(0x131),'kb':a312_0x5f0a68(0x129),'app':a312_0x5f0a68(0x138)}},'cdn':{'libraries':a312_0x5f0a68(0x133)},'local':{'origin':a312_0x5f0a68(0x139)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
1
+ const a312_0x4c8e93=a312_0x5e24;(function(_0x13a9e1,_0x4c7b5f){const _0x366462=a312_0x5e24,_0xcf3ce1=_0x13a9e1();while(!![]){try{const _0x4cfcac=parseInt(_0x366462(0x1ad))/0x1*(-parseInt(_0x366462(0x1c8))/0x2)+-parseInt(_0x366462(0x1b2))/0x3+parseInt(_0x366462(0x1d2))/0x4+parseInt(_0x366462(0x1bb))/0x5*(parseInt(_0x366462(0x1b9))/0x6)+parseInt(_0x366462(0x1cd))/0x7+-parseInt(_0x366462(0x1b0))/0x8*(parseInt(_0x366462(0x1c5))/0x9)+parseInt(_0x366462(0x1c3))/0xa*(-parseInt(_0x366462(0x1b1))/0xb);if(_0x4cfcac===_0x4c7b5f)break;else _0xcf3ce1['push'](_0xcf3ce1['shift']());}catch(_0x41dacf){_0xcf3ce1['push'](_0xcf3ce1['shift']());}}}(a312_0x30eb,0x952ae));export const ROUTING_CATALOG_DIGEST=a312_0x4c8e93(0x1b6);export const DEFAULT_REGION='cn';function a312_0x5e24(_0x17e22c,_0x14adf0){_0x17e22c=_0x17e22c-0x1ac;const _0x30eb3c=a312_0x30eb();let _0x5e249e=_0x30eb3c[_0x17e22c];return _0x5e249e;}function a312_0x30eb(){const _0x54da7b=['https://daily-runtime.lovrabet.com','https://user-daily.lovrabet.com','1192356HMiwmj','https://dev.lovrabet.ai','13ovXTeA','https://user.lovrabet.ai','indonesia','24LGxASG','649StGHnn','500340kVjmAy','Global','https://dev.lovrabet.id','https://dev.lovrabet.com','3106fb4f7940b1f4446307e8a7f0c6f6e4a71affd6f8ebe7e5f23e055c08ca3f','https://api.lovrabet.com','https://skills.lovrabet.ai','3067188SWfmLp','Mainland\x20China','10vbMSnh','https://cdnjs.cloudflare.com/ajax/libs','https://daily.lovrabet.com','https://api.lovrabet.id','https://api.lovrabet.ai','Indonesia','global','https://skills.lovrabet.com','9880ezThji','https://user.lovrabet.id','1064169UIDPbA','https://app.lovrabet.com','china','176760OOwjRR','https://g.lovrabet.com','https://app.lovrabet.id','https://runtime.lovrabet.com','https://g.lovrabet.id','7134680oYovYt','https://daily-api.lovrabet.com','https://app.lovrabet.ai'];a312_0x30eb=function(){return _0x54da7b;};return a312_0x30eb();}export const REGION_VALUES=['cn','id',a312_0x4c8e93(0x1c1)];export const ENABLED_REGION_VALUES=['cn','id'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a312_0x4c8e93(0x1ba),'aliases':[a312_0x4c8e93(0x1c7)],'serviceDomains':{'production':{'user':'https://user.lovrabet.com','api':a312_0x4c8e93(0x1b7),'runtime':a312_0x4c8e93(0x1cb),'skill':a312_0x4c8e93(0x1c2),'kb':a312_0x4c8e93(0x1b7),'app':a312_0x4c8e93(0x1c6)},'daily':{'user':a312_0x4c8e93(0x1d1),'api':a312_0x4c8e93(0x1ce),'runtime':a312_0x4c8e93(0x1d0),'skill':'https://skills-daily.lovrabet.com','kb':a312_0x4c8e93(0x1ce),'app':a312_0x4c8e93(0x1bd)}},'cdn':{'libraries':'https://g.alicdn.com/code/lib','lovrabet':a312_0x4c8e93(0x1c9)},'local':{'origin':a312_0x4c8e93(0x1b5)}},'id':{'enabled':!![],'label':a312_0x4c8e93(0x1c0),'aliases':[a312_0x4c8e93(0x1af)],'serviceDomains':{'production':{'user':a312_0x4c8e93(0x1c4),'api':a312_0x4c8e93(0x1be),'runtime':'https://runtime.lovrabet.id','skill':'https://skills.lovrabet.id','kb':a312_0x4c8e93(0x1be),'app':a312_0x4c8e93(0x1ca)}},'cdn':{'libraries':a312_0x4c8e93(0x1bc),'lovrabet':a312_0x4c8e93(0x1cc)},'local':{'origin':a312_0x4c8e93(0x1b4)}},'global':{'enabled':![],'label':a312_0x4c8e93(0x1b3),'aliases':[],'serviceDomains':{'production':{'user':a312_0x4c8e93(0x1ae),'api':a312_0x4c8e93(0x1bf),'runtime':'https://runtime.lovrabet.ai','skill':a312_0x4c8e93(0x1b8),'kb':a312_0x4c8e93(0x1bf),'app':a312_0x4c8e93(0x1cf)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs'},'local':{'origin':a312_0x4c8e93(0x1ac)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +1 @@
1
- const a313_0x3e42bb=a313_0x2ba2;(function(_0x287b97,_0x3e440d){const _0x33fc63=a313_0x2ba2,_0x28f116=_0x287b97();while(!![]){try{const _0x1c82dc=-parseInt(_0x33fc63(0x1d2))/0x1+parseInt(_0x33fc63(0x1dd))/0x2+parseInt(_0x33fc63(0x1d1))/0x3+-parseInt(_0x33fc63(0x1da))/0x4+parseInt(_0x33fc63(0x1dc))/0x5*(-parseInt(_0x33fc63(0x1d7))/0x6)+parseInt(_0x33fc63(0x1d4))/0x7+parseInt(_0x33fc63(0x1db))/0x8;if(_0x1c82dc===_0x3e440d)break;else _0x28f116['push'](_0x28f116['shift']());}catch(_0x620dc1){_0x28f116['push'](_0x28f116['shift']());}}}(a313_0x54d8,0xf3e1b));function a313_0x54d8(){const _0x4e6005=['15626120FYDxmI','10bIQgIS','2059564NxnDnv','enterprise','lovrabet','appDomain','apiDomain','lovrabet-routing/v1','libraries','305802OGEHYz','360035GnbimF','localDomain','2597070YykITS','d83929cbced3959b68435d16131e5ff12a4bfc6095e6b7f15bada2bfd03a72cc','runtimeDomain','5514324VhUVzp','kbDomain','userDomain','1035636NpdLoU'];a313_0x54d8=function(){return _0x4e6005;};return a313_0x54d8();}export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a313_0x3e42bb(0x1d5);export const ENTERPRISE_ROUTING_PROTOCOL=a313_0x3e42bb(0x1cf);export const ENTERPRISE_ROUTING_KIND=a313_0x3e42bb(0x1de);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a313_0x3e42bb(0x1ce),a313_0x3e42bb(0x1d6),'skillDomain',a313_0x3e42bb(0x1d8),a313_0x3e42bb(0x1cd),a313_0x3e42bb(0x1d3),'certificateDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a313_0x3e42bb(0x1d9),a313_0x3e42bb(0x1ce),a313_0x3e42bb(0x1d6),'skillDomain',a313_0x3e42bb(0x1d8),'appDomain'];export const ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x3e42bb(0x1d0),'lovrabet'];function a313_0x2ba2(_0x34dc69,_0x2f6293){_0x34dc69=_0x34dc69-0x1cd;const _0x54d8f5=a313_0x54d8();let _0x2ba27b=_0x54d8f5[_0x34dc69];return _0x2ba27b;}export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x3e42bb(0x1d0),a313_0x3e42bb(0x1df)];
1
+ const a313_0x403dce=a313_0x1333;(function(_0x3d4d82,_0x186eab){const _0x510ad3=a313_0x1333,_0x207072=_0x3d4d82();while(!![]){try{const _0x47d254=-parseInt(_0x510ad3(0xa0))/0x1+-parseInt(_0x510ad3(0xa3))/0x2*(-parseInt(_0x510ad3(0xa7))/0x3)+parseInt(_0x510ad3(0x9e))/0x4+parseInt(_0x510ad3(0x97))/0x5*(parseInt(_0x510ad3(0xa1))/0x6)+-parseInt(_0x510ad3(0x92))/0x7*(parseInt(_0x510ad3(0x93))/0x8)+-parseInt(_0x510ad3(0xa6))/0x9+parseInt(_0x510ad3(0xa5))/0xa;if(_0x47d254===_0x186eab)break;else _0x207072['push'](_0x207072['shift']());}catch(_0x168381){_0x207072['push'](_0x207072['shift']());}}}(a313_0x4cd8,0x1fad7));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a313_0x403dce(0xa8);export const ENTERPRISE_ROUTING_PROTOCOL=a313_0x403dce(0xa2);export const ENTERPRISE_ROUTING_KIND=a313_0x403dce(0x98);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a313_0x403dce(0x9d),a313_0x403dce(0x9a),a313_0x403dce(0x9b),a313_0x403dce(0x9c),a313_0x403dce(0xa4),a313_0x403dce(0x99),a313_0x403dce(0x9f)];function a313_0x1333(_0x550722,_0xe38b5c){_0x550722=_0x550722-0x92;const _0x4cd8a4=a313_0x4cd8();let _0x133307=_0x4cd8a4[_0x550722];return _0x133307;}export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a313_0x403dce(0x96),'apiDomain',a313_0x403dce(0x9a),a313_0x403dce(0x9b),'kbDomain',a313_0x403dce(0xa4)];function a313_0x4cd8(){const _0x595279=['d83929cbced3959b68435d16131e5ff12a4bfc6095e6b7f15bada2bfd03a72cc','14tUqVCb','675704TiFYmc','libraries','lovrabet','userDomain','3255wdJwVk','enterprise','localDomain','runtimeDomain','skillDomain','kbDomain','apiDomain','432288MPOQKB','certificateDomain','62589GqKpUM','972ZnGkuQ','lovrabet-routing/v1','396786axeNQR','appDomain','1221470pxkEHN','1555272wfuzxF','3vKsFTa'];a313_0x4cd8=function(){return _0x595279;};return a313_0x4cd8();}export const ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x403dce(0x94),a313_0x403dce(0x95)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x403dce(0x94),a313_0x403dce(0x95)];
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3dd270,_0x8d7fcc){var _0xcb566=a314_0x4e84,_0xb9547c=_0x3dd270();while(!![]){try{var _0x1c9ff4=-parseInt(_0xcb566(0xa9))/0x1*(-parseInt(_0xcb566(0xae))/0x2)+parseInt(_0xcb566(0xa5))/0x3*(-parseInt(_0xcb566(0xa0))/0x4)+parseInt(_0xcb566(0xa8))/0x5*(-parseInt(_0xcb566(0xac))/0x6)+-parseInt(_0xcb566(0x9f))/0x7+parseInt(_0xcb566(0xa4))/0x8*(-parseInt(_0xcb566(0xa6))/0x9)+parseInt(_0xcb566(0xa1))/0xa+-parseInt(_0xcb566(0xa2))/0xb*(-parseInt(_0xcb566(0x9d))/0xc);if(_0x1c9ff4===_0x8d7fcc)break;else _0xb9547c['push'](_0xb9547c['shift']());}catch(_0x1cffc0){_0xb9547c['push'](_0xb9547c['shift']());}}}(a314_0x4196,0xe44e8));function a314_0x4196(){var _0x1512c0=['56002tetUhl','12rewcsM','green','12625263keXxPh','5236796FdpyMc','2157630bCYfUE','43349174uFCkaj','\x20--help','80AQjidH','3NtmAHo','109206YkSGtG','\x20to\x20view\x20available\x20commands.','5lCUNxV','8aNqiJj','bold','\x20\x20Use\x20','1267878GHCvHG','log'];a314_0x4196=function(){return _0x1512c0;};return a314_0x4196();}function a314_0x4e84(_0x576709,_0x43588a){_0x576709=_0x576709-0x9d;var _0x419612=a314_0x4196();var _0x4e847a=_0x419612[_0x576709];return _0x4e847a;}import a314_0x9f87fe from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x15d250=a314_0x4e84;console[_0x15d250(0xad)](),console[_0x15d250(0xad)](a314_0x9f87fe['green'][_0x15d250(0xaa)]('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x15d250(0xad)](_0x15d250(0xab)+a314_0x9f87fe[_0x15d250(0x9e)]['bold'](CLI_BIN_NAME+_0x15d250(0xa3))+_0x15d250(0xa7)),console['log']();}
1
+ (function(_0x3e7d45,_0x248938){var _0x5ccefa=a314_0x83a2,_0x1335b2=_0x3e7d45();while(!![]){try{var _0x39f97f=parseInt(_0x5ccefa(0x7e))/0x1+parseInt(_0x5ccefa(0x7a))/0x2*(parseInt(_0x5ccefa(0x79))/0x3)+-parseInt(_0x5ccefa(0x81))/0x4+-parseInt(_0x5ccefa(0x84))/0x5*(parseInt(_0x5ccefa(0x80))/0x6)+parseInt(_0x5ccefa(0x7c))/0x7+parseInt(_0x5ccefa(0x78))/0x8*(parseInt(_0x5ccefa(0x7b))/0x9)+-parseInt(_0x5ccefa(0x7f))/0xa;if(_0x39f97f===_0x248938)break;else _0x1335b2['push'](_0x1335b2['shift']());}catch(_0x283651){_0x1335b2['push'](_0x1335b2['shift']());}}}(a314_0x1609,0xb97a2));import a314_0x192f9b from'chalk';function a314_0x1609(){var _0x2f165f=['log','587587ohtAlG','10398610ENuMxn','18WYwIlH','1777144OaVnRI','green','\x20\x20Use\x20','1758045vsnUkA','\x20to\x20view\x20available\x20commands.','bold','2024LCFfTX','1761mhrpFe','4198NegUdm','11673lpoHnC','8055929ySycbD'];a314_0x1609=function(){return _0x2f165f;};return a314_0x1609();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a314_0x83a2(_0x1bfda3,_0x4504a0){_0x1bfda3=_0x1bfda3-0x78;var _0x160942=a314_0x1609();var _0x83a2a9=_0x160942[_0x1bfda3];return _0x83a2a9;}export function showHelp(){var _0xea4cd4=a314_0x83a2;console['log'](),console['log'](a314_0x192f9b[_0xea4cd4(0x82)][_0xea4cd4(0x86)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xea4cd4(0x7d)](),console[_0xea4cd4(0x7d)](_0xea4cd4(0x83)+a314_0x192f9b[_0xea4cd4(0x82)][_0xea4cd4(0x86)](CLI_BIN_NAME+'\x20--help')+_0xea4cd4(0x85)),console[_0xea4cd4(0x7d)]();}
@@ -1 +1 @@
1
- (function(_0x11f24b,_0x50b598){const _0x24f1f0=a315_0x20f1,_0x40623d=_0x11f24b();while(!![]){try{const _0x6090ad=parseInt(_0x24f1f0(0x11a))/0x1*(parseInt(_0x24f1f0(0x108))/0x2)+-parseInt(_0x24f1f0(0x103))/0x3+parseInt(_0x24f1f0(0x106))/0x4*(-parseInt(_0x24f1f0(0x102))/0x5)+parseInt(_0x24f1f0(0x10f))/0x6+-parseInt(_0x24f1f0(0x116))/0x7*(parseInt(_0x24f1f0(0x115))/0x8)+parseInt(_0x24f1f0(0x101))/0x9*(-parseInt(_0x24f1f0(0x110))/0xa)+parseInt(_0x24f1f0(0x107))/0xb*(parseInt(_0x24f1f0(0x10d))/0xc);if(_0x6090ad===_0x50b598)break;else _0x40623d['push'](_0x40623d['shift']());}catch(_0x3ac39a){_0x40623d['push'](_0x40623d['shift']());}}}(a315_0x590d,0xd8ce2));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a315_0x590d(){const _0x47ae4d=['1876203QlxDGd','warn','Installation\x20failed','64lWxalQ','176gLLFPy','1003346WLkVHN','repairCommand','[BUILTIN_SKILL_INSTALL_','code','SOURCE_INVALID','1643112ZswZcF','Repair\x20with:\x20','1431864dhVAKL','10nXxSUW','installedPath','Rabetbase\x20Built-in\x20Skill\x20','error','\x20at\x20','628408iyoDyJ','77ojlJtN','already\x20current','log','changed','1LcFNKj','1455453hccTjE','122475CaXvwY'];a315_0x590d=function(){return _0x47ae4d;};return a315_0x590d();}function a315_0x20f1(_0x4f01d7,_0x1fa568){_0x4f01d7=_0x4f01d7-0x101;const _0x590d70=a315_0x590d();let _0x20f18c=_0x590d70[_0x4f01d7];return _0x20f18c;}export async function runPostinstall(_0x14feac={}){const _0x43cd90=a315_0x20f1,_0x280531=installBuiltinSkill(_0x14feac);if(_0x280531['ok']){const _0x34483e=_0x280531[_0x43cd90(0x119)]?'installed':_0x43cd90(0x117),_0x168d6d=_0x280531[_0x43cd90(0x111)]?_0x43cd90(0x114)+_0x280531[_0x43cd90(0x111)]:'\x20via\x20skills@latest';return console[_0x43cd90(0x118)](_0x43cd90(0x112)+_0x280531['skillVersion']+'\x20'+_0x34483e+_0x168d6d),_0x280531;}const _0x24357d=_0x43cd90(0x10a)+(_0x280531[_0x43cd90(0x10b)]??'FAILED')+']\x20'+(_0x280531[_0x43cd90(0x113)]??_0x43cd90(0x105))+'.\x20'+(_0x43cd90(0x10e)+_0x280531[_0x43cd90(0x109)]);if(_0x280531[_0x43cd90(0x10b)]===_0x43cd90(0x10c))throw new Error(_0x24357d);return console[_0x43cd90(0x104)](_0x24357d),_0x280531;}
1
+ (function(_0x3cc496,_0x48c730){const _0x4ff219=a315_0x4186,_0x9733f0=_0x3cc496();while(!![]){try{const _0x30edbd=-parseInt(_0x4ff219(0xfc))/0x1*(parseInt(_0x4ff219(0xee))/0x2)+parseInt(_0x4ff219(0xff))/0x3+-parseInt(_0x4ff219(0x100))/0x4+parseInt(_0x4ff219(0xef))/0x5+parseInt(_0x4ff219(0xf8))/0x6*(parseInt(_0x4ff219(0xf2))/0x7)+parseInt(_0x4ff219(0xf7))/0x8*(-parseInt(_0x4ff219(0xf4))/0x9)+-parseInt(_0x4ff219(0xfa))/0xa;if(_0x30edbd===_0x48c730)break;else _0x9733f0['push'](_0x9733f0['shift']());}catch(_0x18c975){_0x9733f0['push'](_0x9733f0['shift']());}}}(a315_0x9479,0xd2a21));function a315_0x9479(){const _0x1c7f29=['\x20at\x20','45176oLPcga','241302hCNMZF','repairCommand','3694350OcgGXa','changed','298092HdCtDN','\x20via\x20skills@latest','FAILED','3906675bQCXxn','1115688qRfVbI','installedPath','code','Repair\x20with:\x20','Rabetbase\x20Built-in\x20Skill\x20','warn','4kGiyRo','1495945zIaYhL','already\x20current','Installation\x20failed','91WARcls','[BUILTIN_SKILL_INSTALL_','27csUQnf','error'];a315_0x9479=function(){return _0x1c7f29;};return a315_0x9479();}import{installBuiltinSkill}from'./skills/builtin-skill.js';function a315_0x4186(_0x5a07f1,_0x449dd8){_0x5a07f1=_0x5a07f1-0xea;const _0x94798d=a315_0x9479();let _0x4186be=_0x94798d[_0x5a07f1];return _0x4186be;}export async function runPostinstall(_0x48ccb4={}){const _0x53e7c3=a315_0x4186,_0x365156=installBuiltinSkill(_0x48ccb4);if(_0x365156['ok']){const _0x1b03fc=_0x365156[_0x53e7c3(0xfb)]?'installed':_0x53e7c3(0xf0),_0x20666c=_0x365156[_0x53e7c3(0x101)]?_0x53e7c3(0xf6)+_0x365156['installedPath']:_0x53e7c3(0xfd);return console['log'](_0x53e7c3(0xec)+_0x365156['skillVersion']+'\x20'+_0x1b03fc+_0x20666c),_0x365156;}const _0x1c235c=_0x53e7c3(0xf3)+(_0x365156[_0x53e7c3(0xea)]??_0x53e7c3(0xfe))+']\x20'+(_0x365156[_0x53e7c3(0xf5)]??_0x53e7c3(0xf1))+'.\x20'+(_0x53e7c3(0xeb)+_0x365156[_0x53e7c3(0xf9)]);if(_0x365156[_0x53e7c3(0xea)]==='SOURCE_INVALID')throw new Error(_0x1c235c);return console[_0x53e7c3(0xed)](_0x1c235c),_0x365156;}
@@ -1 +1 @@
1
- (function(_0x5269f2,_0x2986e8){const _0x298b99=a316_0x335c,_0x15ec88=_0x5269f2();while(!![]){try{const _0x28fe73=-parseInt(_0x298b99(0xaa))/0x1*(-parseInt(_0x298b99(0xa4))/0x2)+parseInt(_0x298b99(0x9e))/0x3*(parseInt(_0x298b99(0xa7))/0x4)+-parseInt(_0x298b99(0x9d))/0x5*(-parseInt(_0x298b99(0xa2))/0x6)+-parseInt(_0x298b99(0x9a))/0x7+-parseInt(_0x298b99(0xab))/0x8*(parseInt(_0x298b99(0xa3))/0x9)+parseInt(_0x298b99(0x9c))/0xa+parseInt(_0x298b99(0xa6))/0xb*(-parseInt(_0x298b99(0xa5))/0xc);if(_0x28fe73===_0x2986e8)break;else _0x15ec88['push'](_0x15ec88['shift']());}catch(_0x38f17b){_0x15ec88['push'](_0x15ec88['shift']());}}}(a316_0x1e8e,0xe98d4));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x22d36d,_0x5bed51,_0x35676e){const _0x1fc10d=a316_0x335c,_0x3883fd=normalizeText(_0x22d36d[_0x1fc10d(0xad)],DESCRIPTION_MAX_LENGTH),_0x59387e=_0x3883fd||normalizeText(defaultDescription(requireWriteRisk(_0x22d36d),_0x5bed51),DESCRIPTION_MAX_LENGTH);return{'operation':_0x5bed51,'risk':requireWriteRisk(_0x22d36d),'description':_0x59387e,..._0x35676e?{'signal':_0x35676e}:{}};}function requireWriteRisk(_0x36fe8c){const _0x534304=a316_0x335c;if(_0x36fe8c[_0x534304(0xa1)]===_0x534304(0xa8)||_0x36fe8c[_0x534304(0xa1)]===_0x534304(0xac))return _0x36fe8c['risk'];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function defaultDescription(_0x2998d5,_0x20e3d7){const _0x16e404=a316_0x335c;if(_0x2998d5===_0x16e404(0xac))return'This\x20will\x20run\x20the\x20high-risk\x20write\x20'+_0x20e3d7+_0x16e404(0xa0);return _0x16e404(0x99)+_0x20e3d7+_0x16e404(0xa9);}function a316_0x335c(_0x25270d,_0x3656a5){_0x25270d=_0x25270d-0x98;const _0x1e8e3c=a316_0x1e8e();let _0x335c12=_0x1e8e3c[_0x25270d];return _0x335c12;}function a316_0x1e8e(){const _0x45dcdd=['3793732jexQNL','write','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','1225BLmlVQ','16VmgZDi','high-risk-write','confirmationDescription','replace','string','This\x20will\x20run\x20the\x20write\x20','1197511JLLdqa','trim','5968170McvwiX','335310rQqHNa','3DfvkoX','slice','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','risk','36aHRXev','4679577WUsvnf','882EChBqd','12EOpfpN','3522640TMEkQV'];a316_0x1e8e=function(){return _0x45dcdd;};return a316_0x1e8e();}function normalizeText(_0x3ea6b8,_0x29dcb0){const _0x551de4=a316_0x335c;if(typeof _0x3ea6b8!==_0x551de4(0x98))return'';return _0x3ea6b8[_0x551de4(0xae)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x551de4(0xae)](/\s+/g,'\x20')[_0x551de4(0x9b)]()[_0x551de4(0x9f)](0x0,_0x29dcb0);}
1
+ (function(_0x149c21,_0x279561){const _0x373750=a316_0x2132,_0x3bd780=_0x149c21();while(!![]){try{const _0x4dc52f=-parseInt(_0x373750(0xfd))/0x1+-parseInt(_0x373750(0xfa))/0x2*(-parseInt(_0x373750(0xf9))/0x3)+parseInt(_0x373750(0xf2))/0x4+-parseInt(_0x373750(0xf4))/0x5*(-parseInt(_0x373750(0xf5))/0x6)+-parseInt(_0x373750(0xf6))/0x7*(parseInt(_0x373750(0xf3))/0x8)+-parseInt(_0x373750(0x101))/0x9*(parseInt(_0x373750(0xfc))/0xa)+-parseInt(_0x373750(0x102))/0xb*(-parseInt(_0x373750(0x100))/0xc);if(_0x4dc52f===_0x279561)break;else _0x3bd780['push'](_0x3bd780['shift']());}catch(_0xea5bf0){_0x3bd780['push'](_0x3bd780['shift']());}}}(a316_0x2b45,0x20378));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x57f346,_0x1003c7,_0x223945){const _0x432a5f=normalizeText(_0x57f346['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x50550c=_0x432a5f||normalizeText(defaultDescription(requireWriteRisk(_0x57f346),_0x1003c7),DESCRIPTION_MAX_LENGTH);return{'operation':_0x1003c7,'risk':requireWriteRisk(_0x57f346),'description':_0x50550c,..._0x223945?{'signal':_0x223945}:{}};}function requireWriteRisk(_0x433643){const _0x234ec2=a316_0x2132;if(_0x433643[_0x234ec2(0xf1)]==='write'||_0x433643['risk']===_0x234ec2(0xf0))return _0x433643['risk'];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function a316_0x2b45(){const _0xf32f28=['45cCmZKW','10967OKHrkh','high-risk-write','risk','143096jkwmJy','416TMogSy','10465AZLrhU','156IKGxEn','33929fvUowS','string','slice','21iCOXfV','11654dDrPgN','This\x20will\x20run\x20the\x20high-risk\x20write\x20','387070aCryBI','87834mHBJfY','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','replace','6432YtIxLw'];a316_0x2b45=function(){return _0xf32f28;};return a316_0x2b45();}function defaultDescription(_0x5d22bc,_0x361e47){const _0x1147a9=a316_0x2132;if(_0x5d22bc==='high-risk-write')return _0x1147a9(0xfb)+_0x361e47+_0x1147a9(0xfe);return'This\x20will\x20run\x20the\x20write\x20'+_0x361e47+'.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.';}function a316_0x2132(_0x4a27b6,_0x13fb38){_0x4a27b6=_0x4a27b6-0xf0;const _0x2b4506=a316_0x2b45();let _0x213222=_0x2b4506[_0x4a27b6];return _0x213222;}function normalizeText(_0x1e2d07,_0x4daf4e){const _0x34e701=a316_0x2132;if(typeof _0x1e2d07!==_0x34e701(0xf7))return'';return _0x1e2d07[_0x34e701(0xff)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x34e701(0xff)](/\s+/g,'\x20')['trim']()[_0x34e701(0xf8)](0x0,_0x4daf4e);}