@lovrabet/lovrabet-cli 2.3.10-beta.3 → 2.3.11-beta.1

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 (186) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/approval/index.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/device.js +1 -1
  14. package/lib/commands/auth/index.js +1 -1
  15. package/lib/commands/auth/prompt.js +1 -1
  16. package/lib/commands/bff/detail.js +1 -1
  17. package/lib/commands/bff/exec.js +1 -1
  18. package/lib/commands/bff/index.js +1 -1
  19. package/lib/commands/cli-skill/index.js +1 -1
  20. package/lib/commands/common/config-policy.js +1 -1
  21. package/lib/commands/common/constraints.js +1 -1
  22. package/lib/commands/common/flags.js +1 -1
  23. package/lib/commands/common/local-file.js +1 -1
  24. package/lib/commands/config/definitions.js +1 -1
  25. package/lib/commands/config/init.js +1 -1
  26. package/lib/commands/config/shared.js +1 -1
  27. package/lib/commands/data/import-excel.js +1 -1
  28. package/lib/commands/data/index.js +1 -1
  29. package/lib/commands/dataset/detail.js +1 -1
  30. package/lib/commands/dataset/index.js +1 -1
  31. package/lib/commands/dataset/list.js +1 -1
  32. package/lib/commands/dataset/sdk-doc.js +1 -1
  33. package/lib/commands/doctor.js +1 -1
  34. package/lib/commands/file/index.js +1 -1
  35. package/lib/commands/init.js +1 -1
  36. package/lib/commands/issue/context.js +1 -1
  37. package/lib/commands/issue/index.js +1 -1
  38. package/lib/commands/issue/report.js +1 -1
  39. package/lib/commands/kb/index.js +1 -1
  40. package/lib/commands/logs/index.js +1 -1
  41. package/lib/commands/notification/config-list.js +1 -1
  42. package/lib/commands/notification/index.js +1 -1
  43. package/lib/commands/notification/shared.js +1 -1
  44. package/lib/commands/ocr/index.js +1 -1
  45. package/lib/commands/permit/dataset-get.js +1 -1
  46. package/lib/commands/permit/dataset-set.js +1 -1
  47. package/lib/commands/permit/index.js +1 -1
  48. package/lib/commands/permit/page-get.js +1 -1
  49. package/lib/commands/permit/page-set.js +1 -1
  50. package/lib/commands/permit/role-menus-set.js +1 -1
  51. package/lib/commands/permit/role-menus.js +1 -1
  52. package/lib/commands/permit/shared.js +1 -1
  53. package/lib/commands/personal-bff/index.js +1 -1
  54. package/lib/commands/registry.js +1 -1
  55. package/lib/commands/role/create.js +1 -1
  56. package/lib/commands/role/delete.js +1 -1
  57. package/lib/commands/role/detail.js +1 -1
  58. package/lib/commands/role/index.js +1 -1
  59. package/lib/commands/role/list.js +1 -1
  60. package/lib/commands/role/shared.js +1 -1
  61. package/lib/commands/role/update.js +1 -1
  62. package/lib/commands/role/user-add.js +1 -1
  63. package/lib/commands/role/user-remove.js +1 -1
  64. package/lib/commands/schedule/index.js +1 -1
  65. package/lib/commands/schema.js +1 -1
  66. package/lib/commands/service/dynamic.js +1 -1
  67. package/lib/commands/service/function-name-adapter.js +1 -1
  68. package/lib/commands/service/index.js +1 -1
  69. package/lib/commands/service/registry.js +1 -1
  70. package/lib/commands/skill/commands/create.js +1 -1
  71. package/lib/commands/skill/commands/diagram.js +1 -1
  72. package/lib/commands/skill/commands/install.js +1 -1
  73. package/lib/commands/skill/commands/list.js +1 -1
  74. package/lib/commands/skill/commands/push.js +1 -1
  75. package/lib/commands/skill/commands/validate.js +1 -1
  76. package/lib/commands/skill/diagram.js +1 -1
  77. package/lib/commands/skill/flags.js +1 -1
  78. package/lib/commands/skill/index.js +1 -1
  79. package/lib/commands/skill/manifest-helpers.js +1 -1
  80. package/lib/commands/skill/push-execute.js +1 -1
  81. package/lib/commands/skill/push-flow-helpers.js +1 -1
  82. package/lib/commands/skill/push-retarget.js +1 -1
  83. package/lib/commands/skill/scopes.js +1 -1
  84. package/lib/commands/skill/summary.js +1 -1
  85. package/lib/commands/skill/templates.js +1 -1
  86. package/lib/commands/skill/validate.js +1 -1
  87. package/lib/commands/sql/detail.js +1 -1
  88. package/lib/commands/sql/exec.js +1 -1
  89. package/lib/commands/sql/index.js +1 -1
  90. package/lib/commands/update.js +1 -1
  91. package/lib/commands/user-account/bind.js +1 -1
  92. package/lib/commands/user-account/index.js +1 -1
  93. package/lib/commands/workspace/index.js +1 -1
  94. package/lib/config/domain-config.js +1 -1
  95. package/lib/config/schema.js +1 -1
  96. package/lib/constant/app.js +1 -1
  97. package/lib/constant/auth-mode.js +1 -1
  98. package/lib/constant/cli.js +1 -1
  99. package/lib/constant/defaults.js +1 -1
  100. package/lib/constant/distribution.js +1 -1
  101. package/lib/constant/domain.js +1 -1
  102. package/lib/constant/env.js +1 -1
  103. package/lib/constant/output.js +1 -1
  104. package/lib/constant/product.js +1 -1
  105. package/lib/constant/region.js +1 -1
  106. package/lib/constant/risk.js +1 -1
  107. package/lib/constant/url.js +1 -1
  108. package/lib/context.js +1 -1
  109. package/lib/core/api-client.js +1 -1
  110. package/lib/core/db-resolver.js +1 -1
  111. package/lib/core/kb-management-client.js +1 -1
  112. package/lib/core/kb-sdk-errors.js +1 -1
  113. package/lib/core/kb-search-client.js +1 -1
  114. package/lib/core/sdk-client.js +1 -1
  115. package/lib/errors.js +1 -1
  116. package/lib/framework/access-error.js +1 -1
  117. package/lib/framework/build-all-flags.js +1 -1
  118. package/lib/framework/dryrun.js +1 -1
  119. package/lib/framework/flags.js +1 -1
  120. package/lib/framework/help.js +1 -1
  121. package/lib/framework/index.js +1 -1
  122. package/lib/framework/output.js +1 -1
  123. package/lib/framework/preparse.js +1 -1
  124. package/lib/framework/rate-limit.js +1 -1
  125. package/lib/framework/raw-flags.js +1 -1
  126. package/lib/framework/response.js +1 -1
  127. package/lib/framework/runner-confirmation.js +1 -1
  128. package/lib/framework/runner-error.js +1 -1
  129. package/lib/framework/runner.js +1 -1
  130. package/lib/framework/schema-export.js +1 -1
  131. package/lib/framework/service-order.js +1 -1
  132. package/lib/framework/types.js +1 -1
  133. package/lib/generated/build-info.d.ts +4 -4
  134. package/lib/generated/build-info.js +1 -1
  135. package/lib/generated/official-routing.js +1 -1
  136. package/lib/generated/routing-contract.js +1 -1
  137. package/lib/help.js +1 -1
  138. package/lib/postinstall.js +1 -1
  139. package/lib/runtime/confirmation.js +1 -1
  140. package/lib/runtime/event.js +1 -1
  141. package/lib/runtime/index.js +1 -1
  142. package/lib/runtime/queue.js +1 -1
  143. package/lib/runtime/resolve.js +1 -1
  144. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  145. package/lib/services/dataset-import/excel-reader.js +1 -1
  146. package/lib/services/dataset-import/image-bytes.js +1 -1
  147. package/lib/services/dataset-import/image-ooxml.js +1 -1
  148. package/lib/services/dataset-import/image-runner.js +1 -1
  149. package/lib/services/dataset-import/metadata.js +1 -1
  150. package/lib/services/dataset-import/preview.js +1 -1
  151. package/lib/services/dataset-import/runner.js +1 -1
  152. package/lib/skills/builtin-skill.js +1 -1
  153. package/lib/skills/npx-skills-add.js +1 -1
  154. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  155. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  156. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  157. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  158. package/lib/skills/runtime-skill-sync/links.js +1 -1
  159. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  160. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  161. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  162. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  163. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  164. package/lib/skills/runtime-skill-sync/push.js +1 -1
  165. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  166. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  167. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  168. package/lib/skills/runtime-skill-sync.js +1 -1
  169. package/lib/skills/skill-presence.js +1 -1
  170. package/lib/utils/access-key-redaction.js +1 -1
  171. package/lib/utils/apply-jq-filter.js +1 -1
  172. package/lib/utils/cli-version-check.js +1 -1
  173. package/lib/utils/cli-version-policy.js +1 -1
  174. package/lib/utils/logger.js +1 -1
  175. package/lib/utils/lossless-json.js +1 -1
  176. package/lib/utils/params.js +1 -1
  177. package/lib/utils/positive-safe-integer.js +1 -1
  178. package/lib/utils/redaction.js +1 -1
  179. package/lib/utils/runtime-user-id.js +1 -1
  180. package/lib/utils/update-notice.js +1 -1
  181. package/lib/utils/version.js +1 -1
  182. package/lib/utils/write-cli-side-channel.js +1 -1
  183. package/package.json +1 -1
  184. package/skills/lovrabet/SKILL.md +3 -3
  185. package/skills/lovrabet/references/lovrabet-schedule-workflow.md +50 -1
  186. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0x243841,_0x13a615){const _0x4763a1=a128_0x1914,_0x1eb6bc=_0x243841();while(!![]){try{const _0x552365=parseInt(_0x4763a1(0x1f2))/0x1*(parseInt(_0x4763a1(0x1c7))/0x2)+parseInt(_0x4763a1(0x1da))/0x3*(-parseInt(_0x4763a1(0x1c4))/0x4)+-parseInt(_0x4763a1(0x1f0))/0x5*(-parseInt(_0x4763a1(0x1d3))/0x6)+-parseInt(_0x4763a1(0x1db))/0x7+parseInt(_0x4763a1(0x1e7))/0x8*(parseInt(_0x4763a1(0x1f6))/0x9)+parseInt(_0x4763a1(0x1f9))/0xa+parseInt(_0x4763a1(0x1ec))/0xb;if(_0x552365===_0x13a615)break;else _0x1eb6bc['push'](_0x1eb6bc['shift']());}catch(_0x509387){_0x1eb6bc['push'](_0x1eb6bc['shift']());}}}(a128_0x2d50,0x6a43f));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a128_0x1914(_0x28c98b,_0x36beb9){_0x28c98b=_0x28c98b-0x1c4;const _0x2d50e2=a128_0x2d50();let _0x1914f0=_0x2d50e2[_0x28c98b];return _0x1914f0;}import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a128_0x2d50(){const _0x4ad2a9=['service','4yJhTuF','string','app','812896WLLRny','_notice','appCode','cancelled','requiresAuth','.appcode\x20to\x20','write','name','ClientAk','production','doctor','defaultVerbose','127284MhItHs','command','update','execute','appcode','Run\x20`','appcode\x20\x22','2164170rwQQdT','1607116dprNKk','Set\x20accessKey\x20in\x20','../core/sdk-client.js','\x20or\x20pass\x20','High-risk\x20operation\x20`','env','error','schedule','../core/api-client.js','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','trim','currentApp','304664JBNGzD','accessKey','../commands/app/remote-source.js','verbose','validation','4111008mjxfBL','filter','mergedCli','defaultPageSize','65kbxMON','high-risk-write','1JANCRP','\x20\x20To\x20proceed:\x20','confirmHighRisk','has','18YkoOAV','defaultApp','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','2541170CNbcnz','rawFlags','newConfigFileName','catch','accessKeySource','nativeToolAvailable','requiresAppCode','apiDomain','resolve','risk','formatOutput','install','pretty','items','object','local-alias','nativeToolRequired','cli-skill','isNonInteractive','format','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'];a128_0x2d50=function(){return _0x4ad2a9;};return a128_0x2d50();}import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';import{isNonInteractiveMode}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain,getRuntimeDomain,requireHarnessDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';import{assertKnownCommandFlags}from'../framework/raw-flags.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{assertCliVersionSupported,checkCliVersion}from'../utils/cli-version-check.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x1612f5){const _0x3953c4=a128_0x1914;return void _0x1612f5,AUTH_MODE[_0x3953c4(0x1cf)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x3d7a57,_0xaa4ce6){const _0x3f8314=a128_0x1914;return{'rawFlags':_0xaa4ce6,'appCode':_0x3d7a57[_0x3f8314(0x1c9)],'appCodeSource':_0x3d7a57['appCodeSource'],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0xaa4ce6),'defaultFormat':_0x3d7a57[_0x3f8314(0x20c)],'defaultPageSize':_0x3d7a57['pageSize'],'defaultVerbose':_0x3d7a57[_0x3f8314(0x1ea)],'riskLevel':_0x3d7a57['riskLevel'],'nativeToolAvailable':_0x3d7a57[_0x3f8314(0x1fe)],'accessKey':_0x3d7a57[_0x3f8314(0x1e8)],'accessKeySource':_0x3d7a57[_0x3f8314(0x1fd)],'env':_0x3d7a57['env'],'mergedCli':{'defaultApp':_0x3d7a57[_0x3f8314(0x1f7)],'currentApp':_0x3d7a57[_0x3f8314(0x1e6)],'appCode':_0x3d7a57['appCode']}};}export function createLovrabetRunnerAdapter(_0xe8df11={}){const _0x3de923=a128_0x1914,_0x228c1a={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x3de923(0x1ed)](_0x2dff63=>PIPELINE_FLAG_NAMES[_0x3de923(0x1f5)](_0x2dff63[_0x3de923(0x1ce)]))['map'](({name:_0x5137c7,type:_0x337c1b,description:_0x54e6ee})=>({'name':_0x5137c7,'type':_0x337c1b,'description':_0x54e6ee})),'formatOutput':_0xe8df11[_0x3de923(0x203)]??formatOutput,'getCommandLabel'(_0x1c55df){const _0x54f467=_0x3de923;return CLI_BIN_NAME+'\x20'+_0x1c55df[_0x54f467(0x20e)]+'\x20'+_0x1c55df[_0x54f467(0x1d4)];},'riskPolicy':{'onViolation'(_0x11731d,{def:_0x53ca81,env:_0x188ca0}){const _0x125c14=_0x3de923;if(shouldRouteWriteToNativeTool(_0x53ca81,_0x188ca0))return;console[_0x125c14(0x1e1)](_0x11731d);},'createError'(_0x7fea98,{def:_0x1cb1d2,env:_0x551b60}){const _0x2cace7=_0x3de923;if(shouldRouteWriteToNativeTool(_0x1cb1d2,_0x551b60))return CliErrors[_0x2cace7(0x209)](CLI_BIN_NAME+'\x20'+_0x1cb1d2[_0x2cace7(0x20e)]+'\x20'+_0x1cb1d2[_0x2cace7(0x1d4)]);return CliErrors['cancelled'](_0x7fea98);}},async 'prepare'(_0x3e95e5,_0x402712){const _0x4edae7=_0x3de923,_0x3b78fd=resolveAuthMode(_0x402712);if(_0x3e95e5[_0x4edae7(0x1cb)]!==![]){if(!_0x402712[_0x4edae7(0x1e8)])throw CliErrors['authRequired'](_0x4edae7(0x1dc)+PRODUCT_CONFIG['newConfigFileName']+_0x4edae7(0x1de)+productEnvName('ACCESS_KEY')+'.');const {setActiveAK:_0x5acccb}=await import(_0x4edae7(0x1e3));_0x5acccb(_0x402712[_0x4edae7(0x1e8)]);}if(_0x3e95e5['service']===_0x4edae7(0x1e2))requireHarnessDomain();let _0x4da069='';if(_0x3e95e5[_0x4edae7(0x1ff)]!==![]){_0x4da069=_0x402712[_0x4edae7(0x1c9)]??'',_0x4da069=await resolveExplicitAppName(_0x3e95e5,_0x402712,_0x4da069);if(!_0x4da069){await assertSelectedAppNameIsRuntimeAccessible(_0x3e95e5,_0x402712);throw CliErrors['configMissing'](_0x4edae7(0x20d)+PRODUCT_CONFIG[_0x4edae7(0x1fb)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x3e95e5,_0x402712,_0x4da069);}if(_0x4da069){const {initSdkClient:_0x488e8c}=await import(_0x4edae7(0x1dd));_0x488e8c({'appCode':_0x4da069,'env':_0x402712[_0x4edae7(0x1e0)]??_0x4edae7(0x1d0),'runtimeDomain':_0x402712['runtimeDomain'],'accessKey':_0x402712[_0x4edae7(0x1e8)],'authMode':_0x3b78fd}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x402712[_0x4edae7(0x1d2)]},'numbers':{'pagesize':_0x402712[_0x4edae7(0x1ef)]}},'extras':{'appCode':_0x4da069,'cookie':'','apiDomain':_0x402712[_0x4edae7(0x200)],'apiDir':'','accessKey':_0x402712['accessKey'],'envName':_0x402712['env'],'accessKeySource':_0x402712[_0x4edae7(0x1fd)],'mergedCli':_0x402712[_0x4edae7(0x1ee)]}};},'confirmHighRisk':_0xe8df11[_0x3de923(0x1f4)]??(async({def:_0x6219bd,env:_0x35aea3,flags:_0x5ee024,commandLabel:_0x13767b})=>{const _0x2e4f01=_0x3de923;if(_0x35aea3[_0x2e4f01(0x20b)]){const _0x123ee5=reconstructCommandArgv(_0x6219bd,_0x5ee024);throw CliErrors[_0x2e4f01(0x1eb)](_0x2e4f01(0x1df)+_0x13767b+_0x2e4f01(0x1e4)+(_0x2e4f01(0x1f3)+_0x123ee5));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x6219bd,_0x13767b,_0x5ee024),'createCancelledError':_0x11bc8f=>CliErrors[_0x2e4f01(0x1ca)](_0x11bc8f)});}),'mapDryRunError'(_0x1ac05d){return mapUserFacingExecuteError(_0x1ac05d);},'mapExecuteError'(_0x504bdf){return mapUserFacingExecuteError(_0x504bdf);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x228c1a;}function shouldRouteWriteToNativeTool(_0x35f3a8,_0x245fd2){const _0x174f55=a128_0x1914;return _0x245fd2[_0x174f55(0x1fe)]===!![]&&(_0x35f3a8['risk']===_0x174f55(0x1cd)||_0x35f3a8[_0x174f55(0x202)]===_0x174f55(0x1f1));}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x5e85c5=a128_0x1914;try{if(sdkClientInitialized){const {clearSdkClient:_0x2d3773}=await import('../core/sdk-client.js');_0x2d3773();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0xf4dbc3}=await import(_0x5e85c5(0x1e3));_0xf4dbc3();}}async function resolveExplicitAppName(_0x3d966d,_0x362953,_0x20052a){const _0x867abb=a128_0x1914;if(_0x3d966d[_0x867abb(0x1ff)]===![])return _0x20052a;const _0xe5602f=typeof _0x362953['rawFlags']['app']===_0x867abb(0x1c5)?_0x362953[_0x867abb(0x1fa)][_0x867abb(0x1c6)][_0x867abb(0x1e5)]():'';if(!_0xe5602f)return _0x20052a;const _0x55110f=typeof _0x362953[_0x867abb(0x1fa)][_0x867abb(0x1d7)]===_0x867abb(0x1c5)&&_0x362953[_0x867abb(0x1fa)]['appcode']['trim']();if(_0x55110f||_0x362953['appCodeSource']===_0x867abb(0x208))return _0x20052a;const {getRemoteAppList:_0x3b42ef}=await import(_0x867abb(0x1e9)),_0x279994=await _0x3b42ef({'env':_0x362953[_0x867abb(0x1e0)]??_0x867abb(0x1d0),'accessKey':_0x362953[_0x867abb(0x1e8)]}),_0x56b4bd=findAppByName(_0x279994[_0x867abb(0x206)],_0xe5602f);if(_0x56b4bd&&!isRuntimeAccessibleApp(_0x56b4bd))throw runtimeInaccessibleAppError(_0x56b4bd,'\x22'+_0xe5602f+'\x22');const _0x2e2831=_0x56b4bd?.['appCode']?.[_0x867abb(0x1e5)]();if(_0x2e2831)return _0x2e2831;throw CliErrors[_0x867abb(0x1eb)]('Unknown\x20app:\x20'+_0xe5602f,_0x867abb(0x1d8)+CLI_BIN_NAME+_0x867abb(0x1f8)+_0xe5602f+_0x867abb(0x1cc)+PRODUCT_CONFIG[_0x867abb(0x1fb)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x39d5d6,_0x4b9685){const _0x2aeb95=a128_0x1914;if(_0x39d5d6['requiresAppCode']===![]||!_0x4b9685[_0x2aeb95(0x1e8)])return;const _0x54f065=(typeof _0x4b9685[_0x2aeb95(0x1fa)][_0x2aeb95(0x1c6)]==='string'&&_0x4b9685[_0x2aeb95(0x1fa)][_0x2aeb95(0x1c6)]['trim']()?_0x4b9685[_0x2aeb95(0x1fa)][_0x2aeb95(0x1c6)]:_0x4b9685[_0x2aeb95(0x1ee)]?.['currentApp']??_0x4b9685[_0x2aeb95(0x1ee)]?.['defaultApp'])?.[_0x2aeb95(0x1e5)]();if(!_0x54f065)return;const {getRemoteAppList:_0x116724}=await import('../commands/app/remote-source.js'),_0x10704f=await _0x116724({'env':_0x4b9685[_0x2aeb95(0x1e0)]??_0x2aeb95(0x1d0),'accessKey':_0x4b9685['accessKey']}),_0x377a29=findAppByName(_0x10704f['items'],_0x54f065);if(_0x377a29&&!isRuntimeAccessibleApp(_0x377a29))throw runtimeInaccessibleAppError(_0x377a29,'\x22'+_0x54f065+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x13380e,_0x660776,_0x581542){const _0x1a2f73=a128_0x1914;if(_0x13380e[_0x1a2f73(0x1ff)]===![]||!_0x660776[_0x1a2f73(0x1e8)])return;const {getRemoteAppList:_0x4cac46}=await import(_0x1a2f73(0x1e9)),_0x830d2f=await _0x4cac46({'env':_0x660776['env']??'production','accessKey':_0x660776[_0x1a2f73(0x1e8)]}),_0x3c4a1b=findAppByCode(_0x830d2f['items'],_0x581542);if(_0x3c4a1b&&!isRuntimeAccessibleApp(_0x3c4a1b))throw runtimeInaccessibleAppError(_0x3c4a1b,_0x1a2f73(0x1d9)+_0x581542+'\x22');}export async function runCommand(_0x21f749,_0x174f6e,_0x5c03a5=terminalRunnerAdapter){assertKnownCommandFlags(_0x21f749,_0x174f6e['rawFlags']),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x21f749)?withVersionPolicy(_0x21f749):_0x21f749,_0x174f6e,_0x5c03a5);}function shouldApplyVersionPolicy(_0x570cbb){const _0x4aec36=a128_0x1914;if([_0x4aec36(0x1d5),'schema',_0x4aec36(0x1d1)]['includes'](_0x570cbb['service']))return![];return!(_0x570cbb[_0x4aec36(0x20e)]===_0x4aec36(0x20a)&&_0x570cbb[_0x4aec36(0x1d4)]===_0x4aec36(0x204));}function withVersionPolicy(_0x5ec93e){return{..._0x5ec93e,async 'execute'(_0x3834d0){const _0x34616c=a128_0x1914,_0x3e61a4=await checkCliVersion();assertCliVersionSupported(_0x3e61a4);const _0xea9675=shouldResolveUpdateNotice(_0x3834d0)?resolveLatestUpdateNotice(_0x3e61a4)[_0x34616c(0x1fc)](()=>null):Promise[_0x34616c(0x201)](null),_0x5837bb=await _0x5ec93e[_0x34616c(0x1d6)](_0x3834d0);return attachUpdateNotice(_0x5837bb,await _0xea9675);}};}function shouldResolveUpdateNotice(_0x351f74){const _0x52bd20=a128_0x1914;return _0x351f74[_0x52bd20(0x20c)]===_0x52bd20(0x205)&&!_0x351f74['nonInteractive'];}function attachUpdateNotice(_0x5b74c8,_0x3a9bba){const _0xa63cdd=a128_0x1914;if(!_0x3a9bba||!_0x5b74c8||typeof _0x5b74c8!==_0xa63cdd(0x207))return _0x5b74c8;const _0x2e92fb=_0x5b74c8,_0x106bfc=typeof _0x2e92fb[_0xa63cdd(0x1c8)]===_0xa63cdd(0x207)&&_0x2e92fb[_0xa63cdd(0x1c8)]!==null?_0x2e92fb[_0xa63cdd(0x1c8)]:{};return{..._0x2e92fb,'_notice':{..._0x106bfc,'update':_0x3a9bba}};}
1
+ (function(_0x551207,_0x247b17){const _0x30baf2=a128_0x4df8,_0x29650b=_0x551207();while(!![]){try{const _0x13cced=parseInt(_0x30baf2(0x1a4))/0x1+parseInt(_0x30baf2(0x19e))/0x2+-parseInt(_0x30baf2(0x184))/0x3*(-parseInt(_0x30baf2(0x160))/0x4)+-parseInt(_0x30baf2(0x18c))/0x5+-parseInt(_0x30baf2(0x166))/0x6+parseInt(_0x30baf2(0x181))/0x7*(-parseInt(_0x30baf2(0x16d))/0x8)+parseInt(_0x30baf2(0x19d))/0x9;if(_0x13cced===_0x247b17)break;else _0x29650b['push'](_0x29650b['shift']());}catch(_0x51836c){_0x29650b['push'](_0x29650b['shift']());}}}(a128_0x2014,0x87910));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';import{isNonInteractiveMode}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain,getRuntimeDomain,requireHarnessDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';import{assertKnownCommandFlags}from'../framework/raw-flags.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{assertCliVersionSupported,checkCliVersion}from'../utils/cli-version-check.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x3d5d7d){const _0x1a84de=a128_0x4df8;return void _0x3d5d7d,AUTH_MODE[_0x1a84de(0x1a7)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x1790e3,_0x5d12d4){const _0x55f07a=a128_0x4df8;return{'rawFlags':_0x5d12d4,'appCode':_0x1790e3[_0x55f07a(0x182)],'appCodeSource':_0x1790e3[_0x55f07a(0x198)],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x5d12d4),'defaultFormat':_0x1790e3[_0x55f07a(0x199)],'defaultPageSize':_0x1790e3[_0x55f07a(0x193)],'defaultVerbose':_0x1790e3[_0x55f07a(0x16c)],'riskLevel':_0x1790e3['riskLevel'],'nativeToolAvailable':_0x1790e3['nativeToolAvailable'],'accessKey':_0x1790e3['accessKey'],'accessKeySource':_0x1790e3['accessKeySource'],'env':_0x1790e3[_0x55f07a(0x178)],'mergedCli':{'defaultApp':_0x1790e3[_0x55f07a(0x17b)],'currentApp':_0x1790e3[_0x55f07a(0x171)],'appCode':_0x1790e3['appCode']}};}export function createLovrabetRunnerAdapter(_0x1a544b={}){const _0x3b69b7=a128_0x4df8,_0x223d15={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x3b69b7(0x1aa)](_0x5c9ab6=>PIPELINE_FLAG_NAMES[_0x3b69b7(0x177)](_0x5c9ab6[_0x3b69b7(0x17f)]))[_0x3b69b7(0x1a2)](({name:_0x29d856,type:_0x3becec,description:_0x13b058})=>({'name':_0x29d856,'type':_0x3becec,'description':_0x13b058})),'formatOutput':_0x1a544b[_0x3b69b7(0x17e)]??formatOutput,'getCommandLabel'(_0x171885){const _0x1e450d=_0x3b69b7;return CLI_BIN_NAME+'\x20'+_0x171885[_0x1e450d(0x161)]+'\x20'+_0x171885[_0x1e450d(0x173)];},'riskPolicy':{'onViolation'(_0x3949cf,{def:_0x2cf782,env:_0x4c5b54}){const _0x42f75f=_0x3b69b7;if(shouldRouteWriteToNativeTool(_0x2cf782,_0x4c5b54))return;console[_0x42f75f(0x195)](_0x3949cf);},'createError'(_0x25890f,{def:_0xcb600b,env:_0x4f30f7}){const _0x31b598=_0x3b69b7;if(shouldRouteWriteToNativeTool(_0xcb600b,_0x4f30f7))return CliErrors[_0x31b598(0x18e)](CLI_BIN_NAME+'\x20'+_0xcb600b[_0x31b598(0x161)]+'\x20'+_0xcb600b[_0x31b598(0x173)]);return CliErrors[_0x31b598(0x197)](_0x25890f);}},async 'prepare'(_0x14f392,_0x4fe3e3){const _0x5dd39e=_0x3b69b7,_0x393c46=resolveAuthMode(_0x4fe3e3);if(_0x14f392[_0x5dd39e(0x191)]!==![]){if(!_0x4fe3e3[_0x5dd39e(0x19f)])throw CliErrors['authRequired'](_0x5dd39e(0x1a9)+PRODUCT_CONFIG[_0x5dd39e(0x183)]+_0x5dd39e(0x194)+productEnvName(_0x5dd39e(0x16b))+'.');const {setActiveAK:_0xff7bcf}=await import('../core/api-client.js');_0xff7bcf(_0x4fe3e3[_0x5dd39e(0x19f)]);}if(_0x14f392[_0x5dd39e(0x161)]==='schedule')requireHarnessDomain();let _0x342436='';if(_0x14f392[_0x5dd39e(0x18f)]!==![]){_0x342436=_0x4fe3e3[_0x5dd39e(0x182)]??'',_0x342436=await resolveExplicitAppName(_0x14f392,_0x4fe3e3,_0x342436);if(!_0x342436){await assertSelectedAppNameIsRuntimeAccessible(_0x14f392,_0x4fe3e3);throw CliErrors[_0x5dd39e(0x19b)](_0x5dd39e(0x1a3)+PRODUCT_CONFIG[_0x5dd39e(0x183)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x14f392,_0x4fe3e3,_0x342436);}if(_0x342436){const {initSdkClient:_0x10a16d}=await import(_0x5dd39e(0x19a));_0x10a16d({'appCode':_0x342436,'env':_0x4fe3e3['env']??_0x5dd39e(0x190),'runtimeDomain':_0x4fe3e3[_0x5dd39e(0x1a5)],'accessKey':_0x4fe3e3[_0x5dd39e(0x19f)],'authMode':_0x393c46}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x4fe3e3[_0x5dd39e(0x172)]},'numbers':{'pagesize':_0x4fe3e3[_0x5dd39e(0x1a8)]}},'extras':{'appCode':_0x342436,'cookie':'','apiDomain':_0x4fe3e3[_0x5dd39e(0x174)],'apiDir':'','accessKey':_0x4fe3e3[_0x5dd39e(0x19f)],'envName':_0x4fe3e3[_0x5dd39e(0x178)],'accessKeySource':_0x4fe3e3[_0x5dd39e(0x17d)],'mergedCli':_0x4fe3e3[_0x5dd39e(0x167)]}};},'confirmHighRisk':_0x1a544b['confirmHighRisk']??(async({def:_0x40a904,env:_0x2bad62,flags:_0x6b7356,commandLabel:_0x313524})=>{const _0x18b20a=_0x3b69b7;if(_0x2bad62[_0x18b20a(0x170)]){const _0x3b6d01=reconstructCommandArgv(_0x40a904,_0x6b7356);throw CliErrors['validation'](_0x18b20a(0x16e)+_0x313524+_0x18b20a(0x186)+(_0x18b20a(0x16a)+_0x3b6d01));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x40a904,_0x313524,_0x6b7356),'createCancelledError':_0x31fa93=>CliErrors['cancelled'](_0x31fa93)});}),'mapDryRunError'(_0x4a403e){return mapUserFacingExecuteError(_0x4a403e);},'mapExecuteError'(_0x179d9c){return mapUserFacingExecuteError(_0x179d9c);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x223d15;}function shouldRouteWriteToNativeTool(_0x2f5756,_0xe13173){const _0x252a15=a128_0x4df8;return _0xe13173['nativeToolAvailable']===!![]&&(_0x2f5756[_0x252a15(0x180)]===_0x252a15(0x17c)||_0x2f5756[_0x252a15(0x180)]===_0x252a15(0x165));}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){try{if(sdkClientInitialized){const {clearSdkClient:_0x35530c}=await import('../core/sdk-client.js');_0x35530c();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x2472c2}=await import('../core/api-client.js');_0x2472c2();}}function a128_0x4df8(_0x4e404e,_0x4d1017){_0x4e404e=_0x4e404e-0x15f;const _0x201456=a128_0x2014();let _0x4df8fd=_0x201456[_0x4e404e];return _0x4df8fd;}function a128_0x2014(){const _0x1c420d=['risk','42jDurWY','appCode','newConfigFileName','6uqKOjS','update','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','execute','.appcode\x20to\x20','pretty','includes','string','2123915JAhsfc','install','nativeToolRequired','requiresAppCode','production','requiresAuth','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','pageSize','\x20or\x20pass\x20','error','trim','cancelled','appCodeSource','format','../core/sdk-client.js','configMissing','rawFlags','13609494GGAbUT','391826syAYXn','accessKey','schema','_notice','map','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','618130zbGNQN','runtimeDomain','items','ClientAk','defaultPageSize','Set\x20accessKey\x20in\x20','filter','app','1336728jcAEGY','service','../commands/app/remote-source.js','resolve','Run\x20`','high-risk-write','5910432gKQkyl','mergedCli','nonInteractive','appcode','\x20\x20To\x20proceed:\x20','ACCESS_KEY','verbose','1372584KMjbZD','High-risk\x20operation\x20`','catch','isNonInteractive','currentApp','defaultVerbose','command','apiDomain','doctor','appcode\x20\x22','has','env','local-alias','Unknown\x20app:\x20','defaultApp','write','accessKeySource','formatOutput','name'];a128_0x2014=function(){return _0x1c420d;};return a128_0x2014();}async function resolveExplicitAppName(_0x1e1f3c,_0x5bd135,_0x1b649a){const _0x1a988c=a128_0x4df8;if(_0x1e1f3c[_0x1a988c(0x18f)]===![])return _0x1b649a;const _0x8217e5=typeof _0x5bd135['rawFlags']['app']===_0x1a988c(0x18b)?_0x5bd135['rawFlags'][_0x1a988c(0x15f)]['trim']():'';if(!_0x8217e5)return _0x1b649a;const _0x658fce=typeof _0x5bd135[_0x1a988c(0x19c)][_0x1a988c(0x169)]===_0x1a988c(0x18b)&&_0x5bd135[_0x1a988c(0x19c)][_0x1a988c(0x169)][_0x1a988c(0x196)]();if(_0x658fce||_0x5bd135[_0x1a988c(0x198)]===_0x1a988c(0x179))return _0x1b649a;const {getRemoteAppList:_0x3c542d}=await import(_0x1a988c(0x162)),_0x466ef6=await _0x3c542d({'env':_0x5bd135[_0x1a988c(0x178)]??_0x1a988c(0x190),'accessKey':_0x5bd135[_0x1a988c(0x19f)]}),_0x5252ed=findAppByName(_0x466ef6[_0x1a988c(0x1a6)],_0x8217e5);if(_0x5252ed&&!isRuntimeAccessibleApp(_0x5252ed))throw runtimeInaccessibleAppError(_0x5252ed,'\x22'+_0x8217e5+'\x22');const _0x102158=_0x5252ed?.[_0x1a988c(0x182)]?.[_0x1a988c(0x196)]();if(_0x102158)return _0x102158;throw CliErrors['validation'](_0x1a988c(0x17a)+_0x8217e5,_0x1a988c(0x164)+CLI_BIN_NAME+_0x1a988c(0x192)+_0x8217e5+_0x1a988c(0x188)+PRODUCT_CONFIG[_0x1a988c(0x183)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x59dceb,_0x1e1ef4){const _0x4f0a16=a128_0x4df8;if(_0x59dceb[_0x4f0a16(0x18f)]===![]||!_0x1e1ef4[_0x4f0a16(0x19f)])return;const _0x5ed1c4=(typeof _0x1e1ef4[_0x4f0a16(0x19c)][_0x4f0a16(0x15f)]===_0x4f0a16(0x18b)&&_0x1e1ef4[_0x4f0a16(0x19c)][_0x4f0a16(0x15f)][_0x4f0a16(0x196)]()?_0x1e1ef4[_0x4f0a16(0x19c)][_0x4f0a16(0x15f)]:_0x1e1ef4['mergedCli']?.[_0x4f0a16(0x171)]??_0x1e1ef4['mergedCli']?.[_0x4f0a16(0x17b)])?.[_0x4f0a16(0x196)]();if(!_0x5ed1c4)return;const {getRemoteAppList:_0x2a4e83}=await import('../commands/app/remote-source.js'),_0x55c308=await _0x2a4e83({'env':_0x1e1ef4[_0x4f0a16(0x178)]??_0x4f0a16(0x190),'accessKey':_0x1e1ef4[_0x4f0a16(0x19f)]}),_0x1eddf5=findAppByName(_0x55c308['items'],_0x5ed1c4);if(_0x1eddf5&&!isRuntimeAccessibleApp(_0x1eddf5))throw runtimeInaccessibleAppError(_0x1eddf5,'\x22'+_0x5ed1c4+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x4d4a4e,_0x4d774d,_0x1b5c67){const _0x99b480=a128_0x4df8;if(_0x4d4a4e[_0x99b480(0x18f)]===![]||!_0x4d774d[_0x99b480(0x19f)])return;const {getRemoteAppList:_0x178789}=await import(_0x99b480(0x162)),_0x52d9fa=await _0x178789({'env':_0x4d774d['env']??_0x99b480(0x190),'accessKey':_0x4d774d[_0x99b480(0x19f)]}),_0x2b7745=findAppByCode(_0x52d9fa[_0x99b480(0x1a6)],_0x1b5c67);if(_0x2b7745&&!isRuntimeAccessibleApp(_0x2b7745))throw runtimeInaccessibleAppError(_0x2b7745,_0x99b480(0x176)+_0x1b5c67+'\x22');}export async function runCommand(_0x566dc6,_0x51d280,_0xbab626=terminalRunnerAdapter){const _0x508b7d=a128_0x4df8;assertKnownCommandFlags(_0x566dc6,_0x51d280[_0x508b7d(0x19c)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x566dc6)?withVersionPolicy(_0x566dc6):_0x566dc6,_0x51d280,_0xbab626);}function shouldApplyVersionPolicy(_0x3d372a){const _0x44831f=a128_0x4df8;if([_0x44831f(0x185),_0x44831f(0x1a0),_0x44831f(0x175)][_0x44831f(0x18a)](_0x3d372a[_0x44831f(0x161)]))return![];return!(_0x3d372a[_0x44831f(0x161)]==='cli-skill'&&_0x3d372a['command']===_0x44831f(0x18d));}function withVersionPolicy(_0x4b1ef3){return{..._0x4b1ef3,async 'execute'(_0x1d7447){const _0x37c8ce=a128_0x4df8,_0x5a09f4=await checkCliVersion();assertCliVersionSupported(_0x5a09f4);const _0x493e03=shouldResolveUpdateNotice(_0x1d7447)?resolveLatestUpdateNotice(_0x5a09f4)[_0x37c8ce(0x16f)](()=>null):Promise[_0x37c8ce(0x163)](null),_0x18409e=await _0x4b1ef3[_0x37c8ce(0x187)](_0x1d7447);return attachUpdateNotice(_0x18409e,await _0x493e03);}};}function shouldResolveUpdateNotice(_0x1e988f){const _0x4204bf=a128_0x4df8;return _0x1e988f['format']===_0x4204bf(0x189)&&!_0x1e988f[_0x4204bf(0x168)];}function attachUpdateNotice(_0xf28e89,_0x4c4d77){const _0xe1f844=a128_0x4df8;if(!_0x4c4d77||!_0xf28e89||typeof _0xf28e89!=='object')return _0xf28e89;const _0x20e2a9=_0xf28e89,_0x444788=typeof _0x20e2a9[_0xe1f844(0x1a1)]==='object'&&_0x20e2a9['_notice']!==null?_0x20e2a9[_0xe1f844(0x1a1)]:{};return{..._0x20e2a9,'_notice':{..._0x444788,'update':_0x4c4d77}};}
@@ -1 +1 @@
1
- function a129_0x2be8(){const _0x5f1f47=['map','has','20GqFRzz','4856uunwiz','../commands/registry.js','4498389GHDNMJ','none','4388766PxdnjN','35rVGobl','29944400ZBKSYp','1179405QrRqtT','615700ITpEXG','39826MHBdQm','services','8267ssBROp','auth','requiresAuth'];a129_0x2be8=function(){return _0x5f1f47;};return a129_0x2be8();}(function(_0x17bff8,_0x25dd92){const _0x1ffde6=a129_0x52d7,_0x2613d7=_0x17bff8();while(!![]){try{const _0x34a98c=parseInt(_0x1ffde6(0x163))/0x1*(-parseInt(_0x1ffde6(0x167))/0x2)+-parseInt(_0x1ffde6(0x165))/0x3+parseInt(_0x1ffde6(0x16e))/0x4*(parseInt(_0x1ffde6(0x166))/0x5)+-parseInt(_0x1ffde6(0x162))/0x6+-parseInt(_0x1ffde6(0x169))/0x7*(parseInt(_0x1ffde6(0x16f))/0x8)+-parseInt(_0x1ffde6(0x171))/0x9+parseInt(_0x1ffde6(0x164))/0xa;if(_0x34a98c===_0x25dd92)break;else _0x2613d7['push'](_0x2613d7['shift']());}catch(_0x1d9ee2){_0x2613d7['push'](_0x2613d7['shift']());}}}(a129_0x2be8,0x8b9fd));import{buildSchemaPayload as a129_0x895edc}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4cbe44=a129_0x52d7,{serviceRegistry:_0x34d371,findDefinition:_0x425304}=await import(_0x4cbe44(0x170)),_0x8750e3=new Set(_0x34d371[_0x4cbe44(0x16c)](_0x3ed9cf=>_0x3ed9cf['service'])),_0x5eb546=listDynamicServiceEntries()['filter'](_0xd3f3c7=>!_0x8750e3[_0x4cbe44(0x16d)](_0xd3f3c7['service'])),_0x7b241=a129_0x895edc({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x34d371,_0x5eb546),'buildAllFlags':buildAllFlags,'findDefinition':(_0xf55116,_0x2b9d90)=>_0x425304(_0xf55116,_0x2b9d90)??findDynamicServiceDefinition(_0xf55116,_0x2b9d90)});return normalizeSchemaPayload(_0x7b241);}function a129_0x52d7(_0x243f7f,_0x4151e5){_0x243f7f=_0x243f7f-0x161;const _0x2be808=a129_0x2be8();let _0x52d749=_0x2be808[_0x243f7f];return _0x52d749;}function normalizeSchemaPayload(_0x59f089){const _0x3e19fe=a129_0x52d7;return{..._0x59f089,'schemaVersion':0x2,'services':_0x59f089[_0x3e19fe(0x168)][_0x3e19fe(0x16c)](_0x230674=>({..._0x230674,'commands':_0x230674['commands'][_0x3e19fe(0x16c)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x257bc9){const _0x5acec4=a129_0x52d7,_0x276c6d=_0x257bc9;return{..._0x257bc9,'auth':_0x276c6d[_0x5acec4(0x16a)]??(_0x257bc9[_0x5acec4(0x16b)]?'required':_0x5acec4(0x161))};}
1
+ function a129_0x1d9f(_0x270761,_0x40d15f){_0x270761=_0x270761-0xd8;const _0x39b4bf=a129_0x39b4();let _0x1d9fc9=_0x39b4bf[_0x270761];return _0x1d9fc9;}(function(_0x6d76dc,_0x2e80e3){const _0x2b7462=a129_0x1d9f,_0x284439=_0x6d76dc();while(!![]){try{const _0x453d7d=-parseInt(_0x2b7462(0xda))/0x1+parseInt(_0x2b7462(0xe8))/0x2*(parseInt(_0x2b7462(0xe1))/0x3)+parseInt(_0x2b7462(0xe5))/0x4*(-parseInt(_0x2b7462(0xdc))/0x5)+-parseInt(_0x2b7462(0xe0))/0x6+-parseInt(_0x2b7462(0xd8))/0x7*(-parseInt(_0x2b7462(0xdb))/0x8)+parseInt(_0x2b7462(0xde))/0x9+-parseInt(_0x2b7462(0xea))/0xa*(-parseInt(_0x2b7462(0xe9))/0xb);if(_0x453d7d===_0x2e80e3)break;else _0x284439['push'](_0x284439['shift']());}catch(_0x527470){_0x284439['push'](_0x284439['shift']());}}}(a129_0x39b4,0x45e87));import{buildSchemaPayload as a129_0x397ed2}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a129_0x39b4(){const _0x4a2632=['49698ytfRHM','map','auth','commands','61228wJrmjG','requiresAuth','filter','22GhSahW','6127fNdoeY','7180BTtfpf','services','836773qLXKfs','has','24274VMxTls','8EfinaV','140ordDhf','none','2335815jvOIND','service','1332078mNoVkx'];a129_0x39b4=function(){return _0x4a2632;};return a129_0x39b4();}import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x21bed1=a129_0x1d9f,{serviceRegistry:_0x36b9c7,findDefinition:_0x581772}=await import('../commands/registry.js'),_0x234642=new Set(_0x36b9c7['map'](_0x57d73d=>_0x57d73d[_0x21bed1(0xdf)])),_0x52f83a=listDynamicServiceEntries()[_0x21bed1(0xe7)](_0xd3b471=>!_0x234642[_0x21bed1(0xd9)](_0xd3b471[_0x21bed1(0xdf)])),_0x4b1c9c=a129_0x397ed2({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x36b9c7,_0x52f83a),'buildAllFlags':buildAllFlags,'findDefinition':(_0x287326,_0xa721e7)=>_0x581772(_0x287326,_0xa721e7)??findDynamicServiceDefinition(_0x287326,_0xa721e7)});return normalizeSchemaPayload(_0x4b1c9c);}function normalizeSchemaPayload(_0xaefbf2){const _0x1fd7ad=a129_0x1d9f;return{..._0xaefbf2,'schemaVersion':0x2,'services':_0xaefbf2[_0x1fd7ad(0xeb)][_0x1fd7ad(0xe2)](_0x25c0c1=>({..._0x25c0c1,'commands':_0x25c0c1[_0x1fd7ad(0xe4)][_0x1fd7ad(0xe2)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x25f124){const _0x26c3c4=a129_0x1d9f,_0x338670=_0x25f124;return{..._0x25f124,'auth':_0x338670[_0x26c3c4(0xe3)]??(_0x25f124[_0x26c3c4(0xe6)]?'required':_0x26c3c4(0xdd))};}
@@ -1 +1 @@
1
- (function(_0x2a16c8,_0x2cc115){const _0xf4862b=a130_0xb4f9,_0x3be1f7=_0x2a16c8();while(!![]){try{const _0x28e9aa=-parseInt(_0xf4862b(0x1ce))/0x1+parseInt(_0xf4862b(0x1c8))/0x2+parseInt(_0xf4862b(0x1cb))/0x3+parseInt(_0xf4862b(0x1cc))/0x4+-parseInt(_0xf4862b(0x1c9))/0x5+parseInt(_0xf4862b(0x1cd))/0x6+-parseInt(_0xf4862b(0x1d0))/0x7;if(_0x28e9aa===_0x2cc115)break;else _0x3be1f7['push'](_0x3be1f7['shift']());}catch(_0x53d288){_0x3be1f7['push'](_0x3be1f7['shift']());}}}(a130_0x486c,0xac80a));function a130_0xb4f9(_0x20a827,_0x2aa182){_0x20a827=_0x20a827-0x1c8;const _0x486ce3=a130_0x486c();let _0xb4f9d1=_0x486ce3[_0x20a827];return _0xb4f9d1;}export function insertDynamicServicesAfterServiceTree(_0x3e4d56,_0x5a7acc){const _0x418067=a130_0xb4f9;if(_0x5a7acc[_0x418067(0x1ca)]===0x0)return[..._0x3e4d56];const _0x403a7f=_0x3e4d56[_0x418067(0x1cf)](_0x2f77a5=>_0x2f77a5[_0x418067(0x1d1)]===_0x418067(0x1d1));if(_0x403a7f<0x0)return[..._0x3e4d56,..._0x5a7acc];return[..._0x3e4d56['slice'](0x0,_0x403a7f+0x1),..._0x5a7acc,..._0x3e4d56['slice'](_0x403a7f+0x1)];}function a130_0x486c(){const _0x4a0fe1=['2126873TGneLo','service','1929486EmJTAo','401570nAVpxu','length','225399TZItWz','1095384klJsVg','21072gNaXgU','226511IRTOOz','findIndex'];a130_0x486c=function(){return _0x4a0fe1;};return a130_0x486c();}
1
+ (function(_0x52d2bc,_0x3408f1){const _0x2a37a5=a130_0x196e,_0xa29673=_0x52d2bc();while(!![]){try{const _0x5251dc=-parseInt(_0x2a37a5(0x91))/0x1+parseInt(_0x2a37a5(0x96))/0x2*(parseInt(_0x2a37a5(0x8d))/0x3)+parseInt(_0x2a37a5(0x97))/0x4+-parseInt(_0x2a37a5(0x92))/0x5+parseInt(_0x2a37a5(0x94))/0x6+parseInt(_0x2a37a5(0x95))/0x7*(-parseInt(_0x2a37a5(0x8f))/0x8)+parseInt(_0x2a37a5(0x90))/0x9*(parseInt(_0x2a37a5(0x93))/0xa);if(_0x5251dc===_0x3408f1)break;else _0xa29673['push'](_0xa29673['shift']());}catch(_0xe80ef5){_0xa29673['push'](_0xa29673['shift']());}}}(a130_0x307c,0xa1c4a));function a130_0x196e(_0x4f97fd,_0xa4bf3c){_0x4f97fd=_0x4f97fd-0x8c;const _0x307c83=a130_0x307c();let _0x196e4a=_0x307c83[_0x4f97fd];return _0x196e4a;}export function insertDynamicServicesAfterServiceTree(_0x111a6d,_0x1b5ad1){const _0xfbc7e2=a130_0x196e;if(_0x1b5ad1['length']===0x0)return[..._0x111a6d];const _0x49d07e=_0x111a6d['findIndex'](_0x6e26c0=>_0x6e26c0[_0xfbc7e2(0x8c)]==='service');if(_0x49d07e<0x0)return[..._0x111a6d,..._0x1b5ad1];return[..._0x111a6d[_0xfbc7e2(0x8e)](0x0,_0x49d07e+0x1),..._0x1b5ad1,..._0x111a6d['slice'](_0x49d07e+0x1)];}function a130_0x307c(){const _0x32f304=['2862008FgJgLJ','36DtQXGw','92642AGezna','3483105tNXvLP','1854620aavKlE','4471920NiLWlP','14yLaQXs','1141522XyodrA','437752UvHIhH','service','3RGEfbY','slice'];a130_0x307c=function(){return _0x32f304;};return a130_0x307c();}
@@ -1 +1 @@
1
- (function(_0x17b3b8,_0x4e52fc){var _0x1863fa=a131_0x450f,_0x334024=_0x17b3b8();while(!![]){try{var _0x45ec33=-parseInt(_0x1863fa(0xcd))/0x1*(parseInt(_0x1863fa(0xc7))/0x2)+-parseInt(_0x1863fa(0xca))/0x3*(-parseInt(_0x1863fa(0xcf))/0x4)+parseInt(_0x1863fa(0xc8))/0x5+parseInt(_0x1863fa(0xce))/0x6*(-parseInt(_0x1863fa(0xcc))/0x7)+parseInt(_0x1863fa(0xc5))/0x8*(-parseInt(_0x1863fa(0xc6))/0x9)+-parseInt(_0x1863fa(0xc9))/0xa*(-parseInt(_0x1863fa(0xd0))/0xb)+-parseInt(_0x1863fa(0xcb))/0xc*(-parseInt(_0x1863fa(0xd1))/0xd);if(_0x45ec33===_0x4e52fc)break;else _0x334024['push'](_0x334024['shift']());}catch(_0x12cdda){_0x334024['push'](_0x334024['shift']());}}}(a131_0x443e,0xdeca8));function a131_0x443e(){var _0x1c23d5=['568ceiAgT','55431YFicHW','4656rfUhtm','4940170SidMrM','6467090jONUwo','2053653ZVjpQg','876jOXLZY','9719283aBHszS','233qPwVCo','6hRnzCA','8HNfOcM','11rqgOQM','49309OAjhKE'];a131_0x443e=function(){return _0x1c23d5;};return a131_0x443e();}function a131_0x450f(_0xc89d48,_0x4f26be){_0xc89d48=_0xc89d48-0xc5;var _0x443e52=a131_0x443e();var _0x450f06=_0x443e52[_0xc89d48];return _0x450f06;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a131_0x9839(_0x426e5e,_0x247eae){_0x426e5e=_0x426e5e-0x10e;var _0x24d34d=a131_0x24d3();var _0x983943=_0x24d34d[_0x426e5e];return _0x983943;}function a131_0x24d3(){var _0x1c7148=['6034544ZGdBAC','1759201huDjjU','6172968sMwNfG','553022zgdJrq','1586291LtJKRy','31068090OivbNB','9ojYhdg','8pxgEjB','5ViArCU','2215611diYgxZ'];a131_0x24d3=function(){return _0x1c7148;};return a131_0x24d3();}(function(_0x4c396b,_0x51517f){var _0x36bac3=a131_0x9839,_0x355fa2=_0x4c396b();while(!![]){try{var _0x548c42=-parseInt(_0x36bac3(0x117))/0x1+-parseInt(_0x36bac3(0x10f))/0x2+-parseInt(_0x36bac3(0x115))/0x3*(-parseInt(_0x36bac3(0x113))/0x4)+parseInt(_0x36bac3(0x114))/0x5*(-parseInt(_0x36bac3(0x10e))/0x6)+parseInt(_0x36bac3(0x110))/0x7+-parseInt(_0x36bac3(0x116))/0x8+-parseInt(_0x36bac3(0x112))/0x9*(-parseInt(_0x36bac3(0x111))/0xa);if(_0x548c42===_0x51517f)break;else _0x355fa2['push'](_0x355fa2['shift']());}catch(_0x14cbd9){_0x355fa2['push'](_0x355fa2['shift']());}}}(a131_0x24d3,0xf2196));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.3.10-beta.3";
2
- export declare const GIT_TAG = "v2.3.10-beta.3";
3
- export declare const GIT_COMMIT = "c06897d";
4
- export declare const BUILD_TIME = "2026-11-05T08:59:31.757Z";
1
+ export declare const VERSION = "2.3.11-beta.1";
2
+ export declare const GIT_TAG = "v2.3.11-beta.1";
3
+ export declare const GIT_COMMIT = "44f7bc5";
4
+ export declare const BUILD_TIME = "2026-11-10T05:34:10.330Z";
@@ -1 +1 @@
1
- function a132_0x4437(_0x42685c,_0xdbb817){_0x42685c=_0x42685c-0x168;const _0x537163=a132_0x5371();let _0x443756=_0x537163[_0x42685c];return _0x443756;}const a132_0x2559ef=a132_0x4437;(function(_0x2442e8,_0x1adc6e){const _0x2b9fda=a132_0x4437,_0x3bc955=_0x2442e8();while(!![]){try{const _0x31c7e3=-parseInt(_0x2b9fda(0x16a))/0x1+-parseInt(_0x2b9fda(0x169))/0x2*(parseInt(_0x2b9fda(0x173))/0x3)+parseInt(_0x2b9fda(0x171))/0x4+parseInt(_0x2b9fda(0x16b))/0x5+parseInt(_0x2b9fda(0x16e))/0x6*(parseInt(_0x2b9fda(0x172))/0x7)+parseInt(_0x2b9fda(0x16c))/0x8*(-parseInt(_0x2b9fda(0x168))/0x9)+parseInt(_0x2b9fda(0x174))/0xa;if(_0x31c7e3===_0x1adc6e)break;else _0x3bc955['push'](_0x3bc955['shift']());}catch(_0x10de8c){_0x3bc955['push'](_0x3bc955['shift']());}}}(a132_0x5371,0x9d9e2));export const VERSION='2.3.10-beta.3';export const GIT_TAG=a132_0x2559ef(0x16f);function a132_0x5371(){const _0x44b24c=['v2.3.10-beta.3','2026-11-05T08:59:31.757Z','4415404pZWvfz','7BrCGkE','1875RUNfSb','4794280EvzwoK','864KGTYlK','2602XFlmUV','1089555bHpAid','1537105zaffFr','1208VQnQHr','c06897d','4032468gugsCh'];a132_0x5371=function(){return _0x44b24c;};return a132_0x5371();}export const GIT_COMMIT=a132_0x2559ef(0x16d);export const BUILD_TIME=a132_0x2559ef(0x170);
1
+ const a132_0x46a601=a132_0x2a7f;(function(_0x7bbe77,_0xdc07df){const _0x20609e=a132_0x2a7f,_0x41a50d=_0x7bbe77();while(!![]){try{const _0x30ade7=-parseInt(_0x20609e(0x7d))/0x1+parseInt(_0x20609e(0x80))/0x2+-parseInt(_0x20609e(0x82))/0x3+-parseInt(_0x20609e(0x84))/0x4+parseInt(_0x20609e(0x81))/0x5*(-parseInt(_0x20609e(0x83))/0x6)+parseInt(_0x20609e(0x7f))/0x7+parseInt(_0x20609e(0x7b))/0x8*(parseInt(_0x20609e(0x7c))/0x9);if(_0x30ade7===_0xdc07df)break;else _0x41a50d['push'](_0x41a50d['shift']());}catch(_0x1045ae){_0x41a50d['push'](_0x41a50d['shift']());}}}(a132_0x4cf6,0xf243d));function a132_0x4cf6(){const _0x3d0128=['5734060wQHnhn','797436BWQjCa','6ExYCBB','2092184TcmKhS','44f7bc5','2.3.11-beta.1','184GjOELc','345807YnprGg','422015xcrVxg','v2.3.11-beta.1','4877264aQJlLS','3539042CNpIOM'];a132_0x4cf6=function(){return _0x3d0128;};return a132_0x4cf6();}export const VERSION=a132_0x46a601(0x86);export const GIT_TAG=a132_0x46a601(0x7e);export const GIT_COMMIT=a132_0x46a601(0x85);function a132_0x2a7f(_0x383841,_0x3ac87b){_0x383841=_0x383841-0x7b;const _0x4cf6b1=a132_0x4cf6();let _0x2a7fc7=_0x4cf6b1[_0x383841];return _0x2a7fc7;}export const BUILD_TIME='2026-11-10T05:34:10.330Z';
@@ -1 +1 @@
1
- const a133_0x4a307b=a133_0x9913;(function(_0x426039,_0x517d31){const _0x357b31=a133_0x9913,_0xaaceb=_0x426039();while(!![]){try{const _0x15c67e=-parseInt(_0x357b31(0xea))/0x1+parseInt(_0x357b31(0xed))/0x2+parseInt(_0x357b31(0xef))/0x3*(parseInt(_0x357b31(0x103))/0x4)+parseInt(_0x357b31(0xfa))/0x5+-parseInt(_0x357b31(0xdf))/0x6+-parseInt(_0x357b31(0xf9))/0x7*(-parseInt(_0x357b31(0xe2))/0x8)+parseInt(_0x357b31(0xf1))/0x9;if(_0x15c67e===_0x517d31)break;else _0xaaceb['push'](_0xaaceb['shift']());}catch(_0x2280ad){_0xaaceb['push'](_0xaaceb['shift']());}}}(a133_0x38ec,0xb3523));export const ROUTING_CATALOG_DIGEST=a133_0x4a307b(0xf3);function a133_0x38ec(){const _0x4ec3d9=['Indonesia','global','https://skills.lovrabet.com','https://kb-service-daily.lovrabet.com','https://runtime.lovrabet.ai','Global','https://daily-api.lovrabet.ai','4Kjkrby','https://runtime.lovrabet.id','https://user.lovrabet.ai','2510562zsHjLN','https://kb-service.lovrabet.ai','https://user.lovrabet.id','28128xhOMnd','indonesia','https://api.lovrabet.ai','https://user.lovrabet.com','https://sandbox-api.lovrabet.com','https://user-daily.lovrabet.com','https://daily-runtime.lovrabet.com','Mainland\x20China','1373198dArfeO','https://user-daily.lovrabet.ai','https://sandbox-api-daily.lovrabet.com','2229194uKSlMn','https://daily-api.lovrabet.com','1594767uXDXdj','https://api.lovrabet.com','2897361GOPUmj','https://skills.lovrabet.ai','19bc6dd7c8de7d4ef260bc553e38e63b268d7cd3f535fd1933132eb7ac3c5b52','https://daily-runtime.lovrabet.ai','https://runtime.lovrabet.com','https://skills-daily.lovrabet.ai','china','https://kb-service.lovrabet.id','399mnvWyP','1787985hrdjsN','https://kb-service.lovrabet.com'];a133_0x38ec=function(){return _0x4ec3d9;};return a133_0x38ec();}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a133_0x4a307b(0xfd)];export const ENABLED_REGION_VALUES=['cn','id',a133_0x4a307b(0xfd)];function a133_0x9913(_0x2f8207,_0x1e21ac){_0x2f8207=_0x2f8207-0xde;const _0x38ec53=a133_0x38ec();let _0x991327=_0x38ec53[_0x2f8207];return _0x991327;}export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a133_0x4a307b(0xe9),'aliases':[a133_0x4a307b(0xf7)],'serviceDomains':{'production':{'user':a133_0x4a307b(0xe5),'api':a133_0x4a307b(0xf0),'runtime':a133_0x4a307b(0xf5),'skill':a133_0x4a307b(0xfe),'kbService':a133_0x4a307b(0xfb),'harness':a133_0x4a307b(0xe6)},'daily':{'user':a133_0x4a307b(0xe7),'api':a133_0x4a307b(0xee),'runtime':a133_0x4a307b(0xe8),'skill':'https://skills-daily.lovrabet.com','kbService':a133_0x4a307b(0xff),'harness':a133_0x4a307b(0xec)}}},'id':{'enabled':!![],'label':a133_0x4a307b(0xfc),'aliases':[a133_0x4a307b(0xe3)],'serviceDomains':{'production':{'user':a133_0x4a307b(0xe1),'api':'https://api.lovrabet.id','runtime':a133_0x4a307b(0x104),'skill':'https://skills.lovrabet.id','kbService':a133_0x4a307b(0xf8),'harness':'https://sandbox-api.lovrabet.id'}}},'global':{'enabled':!![],'label':a133_0x4a307b(0x101),'aliases':[],'serviceDomains':{'production':{'user':a133_0x4a307b(0xde),'api':a133_0x4a307b(0xe4),'runtime':a133_0x4a307b(0x100),'skill':a133_0x4a307b(0xf2),'kbService':a133_0x4a307b(0xe0),'harness':'https://sandbox-api.lovrabet.ai'},'daily':{'user':a133_0x4a307b(0xeb),'api':a133_0x4a307b(0x102),'runtime':a133_0x4a307b(0xf4),'skill':a133_0x4a307b(0xf6)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
1
+ const a133_0x4f3eda=a133_0x2007;(function(_0x293aba,_0x2f32cf){const _0x4bbc03=a133_0x2007,_0xa67f57=_0x293aba();while(!![]){try{const _0x2bfea1=-parseInt(_0x4bbc03(0x98))/0x1*(parseInt(_0x4bbc03(0xa5))/0x2)+-parseInt(_0x4bbc03(0x91))/0x3*(parseInt(_0x4bbc03(0xa8))/0x4)+-parseInt(_0x4bbc03(0xae))/0x5*(parseInt(_0x4bbc03(0xa1))/0x6)+-parseInt(_0x4bbc03(0x94))/0x7+parseInt(_0x4bbc03(0x9f))/0x8*(parseInt(_0x4bbc03(0x8f))/0x9)+-parseInt(_0x4bbc03(0x95))/0xa*(parseInt(_0x4bbc03(0xaf))/0xb)+parseInt(_0x4bbc03(0xb3))/0xc;if(_0x2bfea1===_0x2f32cf)break;else _0xa67f57['push'](_0xa67f57['shift']());}catch(_0x8ea51d){_0xa67f57['push'](_0xa67f57['shift']());}}}(a133_0x1ed4,0xe4927));export const ROUTING_CATALOG_DIGEST=a133_0x4f3eda(0x8e);export const DEFAULT_REGION='cn';function a133_0x2007(_0x495d07,_0x8f2446){_0x495d07=_0x495d07-0x8e;const _0x1ed4d3=a133_0x1ed4();let _0x20070f=_0x1ed4d3[_0x495d07];return _0x20070f;}function a133_0x1ed4(){const _0x3fd203=['https://api.lovrabet.ai','54XMbIaM','https://user.lovrabet.com','https://daily-runtime.lovrabet.com','1271824WqOAfY','https://sandbox-api.lovrabet.id','https://user.lovrabet.id','https://kb-service-daily.lovrabet.com','https://user-daily.lovrabet.com','https://sandbox-api.lovrabet.ai','8015YAQDjv','15796kzmfYM','https://kb-service.lovrabet.id','https://sandbox-api-daily.lovrabet.com','global','78380436KqwTzF','19bc6dd7c8de7d4ef260bc553e38e63b268d7cd3f535fd1933132eb7ac3c5b52','481005XqWJoX','china','15HVjsMY','https://skills-daily.lovrabet.com','https://skills.lovrabet.com','8856631AfibMh','11560oIiRBI','Indonesia','https://kb-service.lovrabet.com','35133HePBfJ','indonesia','Mainland\x20China','https://skills-daily.lovrabet.ai','https://user.lovrabet.ai','https://api.lovrabet.com','https://daily-api.lovrabet.com','88giPfAV','Global','2694zYNfmJ','https://sandbox-api.lovrabet.com','https://runtime.lovrabet.id'];a133_0x1ed4=function(){return _0x3fd203;};return a133_0x1ed4();}export const REGION_VALUES=['cn','id',a133_0x4f3eda(0xb2)];export const ENABLED_REGION_VALUES=['cn','id',a133_0x4f3eda(0xb2)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a133_0x4f3eda(0x9a),'aliases':[a133_0x4f3eda(0x90)],'serviceDomains':{'production':{'user':a133_0x4f3eda(0xa6),'api':a133_0x4f3eda(0x9d),'runtime':'https://runtime.lovrabet.com','skill':a133_0x4f3eda(0x93),'kbService':a133_0x4f3eda(0x97),'harness':a133_0x4f3eda(0xa2)},'daily':{'user':a133_0x4f3eda(0xac),'api':a133_0x4f3eda(0x9e),'runtime':a133_0x4f3eda(0xa7),'skill':a133_0x4f3eda(0x92),'kbService':a133_0x4f3eda(0xab),'harness':a133_0x4f3eda(0xb1)}}},'id':{'enabled':!![],'label':a133_0x4f3eda(0x96),'aliases':[a133_0x4f3eda(0x99)],'serviceDomains':{'production':{'user':a133_0x4f3eda(0xaa),'api':'https://api.lovrabet.id','runtime':a133_0x4f3eda(0xa3),'skill':'https://skills.lovrabet.id','kbService':a133_0x4f3eda(0xb0),'harness':a133_0x4f3eda(0xa9)}}},'global':{'enabled':!![],'label':a133_0x4f3eda(0xa0),'aliases':[],'serviceDomains':{'production':{'user':a133_0x4f3eda(0x9c),'api':a133_0x4f3eda(0xa4),'runtime':'https://runtime.lovrabet.ai','skill':'https://skills.lovrabet.ai','kbService':'https://kb-service.lovrabet.ai','harness':a133_0x4f3eda(0xad)},'daily':{'user':'https://user-daily.lovrabet.ai','api':'https://daily-api.lovrabet.ai','runtime':'https://daily-runtime.lovrabet.ai','skill':a133_0x4f3eda(0x9b)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +1 @@
1
- const a134_0xaae3da=a134_0x9902;(function(_0x1e9b10,_0x57c293){const _0x4c6d5d=a134_0x9902,_0x4ffc19=_0x1e9b10();while(!![]){try{const _0x1eeb35=-parseInt(_0x4c6d5d(0x12c))/0x1+parseInt(_0x4c6d5d(0x12a))/0x2+parseInt(_0x4c6d5d(0x134))/0x3+parseInt(_0x4c6d5d(0x135))/0x4+-parseInt(_0x4c6d5d(0x128))/0x5+parseInt(_0x4c6d5d(0x133))/0x6+-parseInt(_0x4c6d5d(0x127))/0x7;if(_0x1eeb35===_0x57c293)break;else _0x4ffc19['push'](_0x4ffc19['shift']());}catch(_0x62933){_0x4ffc19['push'](_0x4ffc19['shift']());}}}(a134_0x3e17,0xddc7d));function a134_0x9902(_0x4ffa13,_0x51ee37){_0x4ffa13=_0x4ffa13-0x127;const _0x3e177b=a134_0x3e17();let _0x990252=_0x3e177b[_0x4ffa13];return _0x990252;}export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a134_0xaae3da(0x12b);export const ENTERPRISE_ROUTING_PROTOCOL=a134_0xaae3da(0x12f);export const ENTERPRISE_ROUTING_KIND=a134_0xaae3da(0x12d);function a134_0x3e17(){const _0x644471=['skillDomain','8324340FENtbg','1396716kPyENb','3603784jBxJYJ','8320025pFVnFa','5737250VNJzoo','harnessDomain','3493350YFGYWI','192eedb6fe65d2091e1e03fb0fe5046da1c2cf5a5aea21cb85511b2c1181a3d9','1256145scHJhs','enterprise','apiDomain','lovrabet-routing/v1','kbServiceDomain','userDomain'];a134_0x3e17=function(){return _0x644471;};return a134_0x3e17();}export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a134_0xaae3da(0x131),a134_0xaae3da(0x12e),'runtimeDomain',a134_0xaae3da(0x132),a134_0xaae3da(0x130),a134_0xaae3da(0x129)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[];
1
+ function a134_0x5acd(_0x3365df,_0x162033){_0x3365df=_0x3365df-0x116;const _0x70e762=a134_0x70e7();let _0x5acd89=_0x70e762[_0x3365df];return _0x5acd89;}const a134_0x3a29fe=a134_0x5acd;(function(_0x1ce2cb,_0x417d36){const _0x2f0d4d=a134_0x5acd,_0x2a39d1=_0x1ce2cb();while(!![]){try{const _0x54925e=parseInt(_0x2f0d4d(0x11d))/0x1+parseInt(_0x2f0d4d(0x11f))/0x2+-parseInt(_0x2f0d4d(0x117))/0x3+parseInt(_0x2f0d4d(0x122))/0x4*(-parseInt(_0x2f0d4d(0x11c))/0x5)+parseInt(_0x2f0d4d(0x123))/0x6*(-parseInt(_0x2f0d4d(0x118))/0x7)+-parseInt(_0x2f0d4d(0x119))/0x8+parseInt(_0x2f0d4d(0x121))/0x9;if(_0x54925e===_0x417d36)break;else _0x2a39d1['push'](_0x2a39d1['shift']());}catch(_0x20cfcc){_0x2a39d1['push'](_0x2a39d1['shift']());}}}(a134_0x70e7,0xf2271));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a134_0x3a29fe(0x11b);export const ENTERPRISE_ROUTING_PROTOCOL='lovrabet-routing/v1';export const ENTERPRISE_ROUTING_KIND=a134_0x3a29fe(0x125);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a134_0x3a29fe(0x11e),a134_0x3a29fe(0x120),a134_0x3a29fe(0x11a),a134_0x3a29fe(0x124),a134_0x3a29fe(0x116),a134_0x3a29fe(0x126)];function a134_0x70e7(){const _0x32b5d2=['userDomain','2716958CHAcJA','apiDomain','25698528ZgIMMH','4ZTkXRe','6ESYMON','skillDomain','enterprise','harnessDomain','kbServiceDomain','5398878JZhltH','1396150hwWDKx','1188336fZqbYS','runtimeDomain','192eedb6fe65d2091e1e03fb0fe5046da1c2cf5a5aea21cb85511b2c1181a3d9','8929695erSdHA','711543bNCrnu'];a134_0x70e7=function(){return _0x32b5d2;};return a134_0x70e7();}export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[];
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x47460d,_0x55b335){const _0x55c4ac=a135_0xe029,_0x492111=_0x47460d();while(!![]){try{const _0x2f1864=parseInt(_0x55c4ac(0x1cb))/0x1*(-parseInt(_0x55c4ac(0x1cc))/0x2)+-parseInt(_0x55c4ac(0x1cd))/0x3+-parseInt(_0x55c4ac(0x1ca))/0x4*(-parseInt(_0x55c4ac(0x1cf))/0x5)+-parseInt(_0x55c4ac(0x1d5))/0x6*(-parseInt(_0x55c4ac(0x1d3))/0x7)+parseInt(_0x55c4ac(0x1c9))/0x8+-parseInt(_0x55c4ac(0x1d0))/0x9+parseInt(_0x55c4ac(0x1d1))/0xa*(parseInt(_0x55c4ac(0x1d2))/0xb);if(_0x2f1864===_0x55b335)break;else _0x492111['push'](_0x492111['shift']());}catch(_0x941ed7){_0x492111['push'](_0x492111['shift']());}}}(a135_0x2635,0x1912a));import{jsx as a135_0x2fed7f,jsxs as a135_0x312a45}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';function a135_0xe029(_0x196e8b,_0x573a84){_0x196e8b=_0x196e8b-0x1c8;const _0x26354d=a135_0x2635();let _0xe029e5=_0x26354d[_0x196e8b];return _0xe029e5;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x548f98=a135_0xe029,{exit:_0x50902d}=useApp();return useEffect(()=>{_0x50902d();},[_0x50902d]),a135_0x312a45(Box,{'flexDirection':_0x548f98(0x1d6),'marginTop':0x1,'marginBottom':0x1,'children':[a135_0x2fed7f(Box,{'children':a135_0x2fed7f(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a135_0x312a45(Box,{'marginTop':0x1,'children':[a135_0x2fed7f(Text,{'dimColor':!![],'children':'\x20\x20Use\x20'}),a135_0x2fed7f(Text,{'bold':!![],'color':_0x548f98(0x1ce),'children':CLI_BIN_NAME+_0x548f98(0x1c8)}),a135_0x2fed7f(Text,{'dimColor':!![],'children':_0x548f98(0x1d4)})]})]});}function a135_0x2635(){const _0x29c579=['12594EMcfPX','column','\x20--help','513952jJztGc','148fvBmGw','19NBDrjE','4322SteMAD','522165LPZZbQ','green','12670IvRZOF','1583433JXxGbj','30OZjfGU','1131020xwSVur','91mtAgiy','\x20to\x20view\x20available\x20commands.'];a135_0x2635=function(){return _0x29c579;};return a135_0x2635();}
1
+ function a135_0x1914(){const _0x35f89c=['8RiQdWO','632876LJoIHb','271980cqEZvm','1715265afbTMJ','510885JIiizx','green','\x20\x20Use\x20','30359AACUlx','242683WvlXax','482817rGIXQn','\x20--help','120MnIPVN'];a135_0x1914=function(){return _0x35f89c;};return a135_0x1914();}function a135_0x36ec(_0x191fbd,_0x2553ca){_0x191fbd=_0x191fbd-0x182;const _0x191444=a135_0x1914();let _0x36ecfc=_0x191444[_0x191fbd];return _0x36ecfc;}(function(_0x46ee49,_0x48e3a7){const _0x2cad09=a135_0x36ec,_0x3d5e9a=_0x46ee49();while(!![]){try{const _0x521435=parseInt(_0x2cad09(0x185))/0x1+parseInt(_0x2cad09(0x18a))/0x2+-parseInt(_0x2cad09(0x186))/0x3+-parseInt(_0x2cad09(0x18b))/0x4+-parseInt(_0x2cad09(0x18d))/0x5+parseInt(_0x2cad09(0x188))/0x6*(-parseInt(_0x2cad09(0x184))/0x7)+parseInt(_0x2cad09(0x189))/0x8*(parseInt(_0x2cad09(0x18c))/0x9);if(_0x521435===_0x48e3a7)break;else _0x3d5e9a['push'](_0x3d5e9a['shift']());}catch(_0x3daf5c){_0x3d5e9a['push'](_0x3d5e9a['shift']());}}}(a135_0x1914,0x5104f));import{jsx as a135_0x1d3ddc,jsxs as a135_0x552153}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x566e69=a135_0x36ec,{exit:_0x1530cf}=useApp();return useEffect(()=>{_0x1530cf();},[_0x1530cf]),a135_0x552153(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a135_0x1d3ddc(Box,{'children':a135_0x1d3ddc(Text,{'bold':!![],'color':_0x566e69(0x182),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a135_0x552153(Box,{'marginTop':0x1,'children':[a135_0x1d3ddc(Text,{'dimColor':!![],'children':_0x566e69(0x183)}),a135_0x1d3ddc(Text,{'bold':!![],'color':_0x566e69(0x182),'children':CLI_BIN_NAME+_0x566e69(0x187)}),a135_0x1d3ddc(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}
@@ -1 +1 @@
1
- (function(_0x4110b2,_0x5f308f){const _0x5076ba=a136_0x2501,_0x2a375b=_0x4110b2();while(!![]){try{const _0x4b5dd1=parseInt(_0x5076ba(0x154))/0x1+parseInt(_0x5076ba(0x15a))/0x2*(-parseInt(_0x5076ba(0x153))/0x3)+-parseInt(_0x5076ba(0x150))/0x4+parseInt(_0x5076ba(0x155))/0x5*(parseInt(_0x5076ba(0x14f))/0x6)+-parseInt(_0x5076ba(0x14c))/0x7*(parseInt(_0x5076ba(0x159))/0x8)+-parseInt(_0x5076ba(0x158))/0x9*(parseInt(_0x5076ba(0x14d))/0xa)+parseInt(_0x5076ba(0x15c))/0xb;if(_0x4b5dd1===_0x5f308f)break;else _0x2a375b['push'](_0x2a375b['shift']());}catch(_0x5da1ed){_0x2a375b['push'](_0x2a375b['shift']());}}}(a136_0x40aa,0x7a61d));function a136_0x2501(_0x136225,_0x452095){_0x136225=_0x136225-0x146;const _0x40aa39=a136_0x40aa();let _0x2501ad=_0x40aa39[_0x136225];return _0x2501ad;}import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x575510={}){const _0x1118ba=a136_0x2501,_0x57ce62=installBuiltinSkill(_0x575510);if(_0x57ce62['ok']){const _0x326f61=_0x57ce62[_0x1118ba(0x14b)]?_0x1118ba(0x151):'already\x20current',_0x474f82=_0x57ce62[_0x1118ba(0x14e)]?_0x1118ba(0x15b)+_0x57ce62[_0x1118ba(0x14e)]:'\x20via\x20skills@latest';return console['log'](_0x1118ba(0x157)+_0x57ce62[_0x1118ba(0x147)]+'\x20'+_0x326f61+_0x474f82),_0x57ce62;}const _0x554dcc=_0x1118ba(0x146)+(_0x57ce62['code']??'FAILED')+']\x20'+(_0x57ce62[_0x1118ba(0x15d)]??_0x1118ba(0x148))+'.\x20'+(_0x1118ba(0x14a)+_0x57ce62[_0x1118ba(0x152)]);if(_0x57ce62[_0x1118ba(0x156)]==='SOURCE_INVALID')throw new Error(_0x554dcc);return console[_0x1118ba(0x149)](_0x554dcc),_0x57ce62;}function a136_0x40aa(){const _0x1519fa=['[BUILTIN_SKILL_INSTALL_','skillVersion','Installation\x20failed','warn','Repair\x20with:\x20','changed','140FwRbos','1705550htAWvq','installedPath','230694xTZFwy','1081232HNsGax','installed','repairCommand','20919ODOzSB','789597yljiwG','85pZrcVn','code','Lovrabet\x20Built-in\x20Skill\x20','45YEOVez','32904LBCKeL','138ZTJWYE','\x20at\x20','8189797czRlXO','error'];a136_0x40aa=function(){return _0x1519fa;};return a136_0x40aa();}
1
+ function a136_0x3fc2(_0x329634,_0xf9ee6c){_0x329634=_0x329634-0x18a;const _0x3961d4=a136_0x3961();let _0x3fc244=_0x3961d4[_0x329634];return _0x3fc244;}(function(_0x21e44c,_0x593591){const _0x539b80=a136_0x3fc2,_0x7cb53=_0x21e44c();while(!![]){try{const _0x513469=-parseInt(_0x539b80(0x193))/0x1+-parseInt(_0x539b80(0x191))/0x2+-parseInt(_0x539b80(0x194))/0x3+parseInt(_0x539b80(0x19f))/0x4+-parseInt(_0x539b80(0x18c))/0x5*(parseInt(_0x539b80(0x190))/0x6)+parseInt(_0x539b80(0x19a))/0x7+parseInt(_0x539b80(0x192))/0x8;if(_0x513469===_0x593591)break;else _0x7cb53['push'](_0x7cb53['shift']());}catch(_0x3e6125){_0x7cb53['push'](_0x7cb53['shift']());}}}(a136_0x3961,0x3761f));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a136_0x3961(){const _0x4df39d=['323861gndjxJ','1551LdLTps','installed','code','SOURCE_INVALID','installedPath','Repair\x20with:\x20','1836835JxlztR','FAILED','\x20via\x20skills@latest','\x20at\x20','[BUILTIN_SKILL_INSTALL_','461028altLyO','repairCommand','warn','1988200ajEDyb','changed','Installation\x20failed','log','6WyINjD','878622cwdZed','8084112UOJBeR'];a136_0x3961=function(){return _0x4df39d;};return a136_0x3961();}export async function runPostinstall(_0x175815={}){const _0x48f5e4=a136_0x3fc2,_0x432644=installBuiltinSkill(_0x175815);if(_0x432644['ok']){const _0x17b99e=_0x432644[_0x48f5e4(0x18d)]?_0x48f5e4(0x195):'already\x20current',_0x2e26cc=_0x432644[_0x48f5e4(0x198)]?_0x48f5e4(0x19d)+_0x432644['installedPath']:_0x48f5e4(0x19c);return console[_0x48f5e4(0x18f)]('Lovrabet\x20Built-in\x20Skill\x20'+_0x432644['skillVersion']+'\x20'+_0x17b99e+_0x2e26cc),_0x432644;}const _0x350534=_0x48f5e4(0x19e)+(_0x432644[_0x48f5e4(0x196)]??_0x48f5e4(0x19b))+']\x20'+(_0x432644['error']??_0x48f5e4(0x18e))+'.\x20'+(_0x48f5e4(0x199)+_0x432644[_0x48f5e4(0x18a)]);if(_0x432644['code']===_0x48f5e4(0x197))throw new Error(_0x350534);return console[_0x48f5e4(0x18b)](_0x350534),_0x432644;}
@@ -1 +1 @@
1
- (function(_0xa6668f,_0x41c13a){const _0x448b2e=a137_0x15e1,_0x515c47=_0xa6668f();while(!![]){try{const _0x329b7f=parseInt(_0x448b2e(0xa0))/0x1+-parseInt(_0x448b2e(0xac))/0x2+-parseInt(_0x448b2e(0xaa))/0x3*(parseInt(_0x448b2e(0xa8))/0x4)+-parseInt(_0x448b2e(0x9c))/0x5+parseInt(_0x448b2e(0xab))/0x6*(parseInt(_0x448b2e(0x9f))/0x7)+parseInt(_0x448b2e(0xa6))/0x8*(parseInt(_0x448b2e(0xa1))/0x9)+-parseInt(_0x448b2e(0xa2))/0xa*(parseInt(_0x448b2e(0xa7))/0xb);if(_0x329b7f===_0x41c13a)break;else _0x515c47['push'](_0x515c47['shift']());}catch(_0x374e57){_0x515c47['push'](_0x515c47['shift']());}}}(a137_0x5b38,0xa9ab2));const DESCRIPTION_MAX_LENGTH=0x1f4;function a137_0x15e1(_0x145ed3,_0xc3b883){_0x145ed3=_0x145ed3-0x9c;const _0x5b388b=a137_0x5b38();let _0x15e1a7=_0x5b388b[_0x145ed3];return _0x15e1a7;}export function buildLovrabetConfirmationRequest(_0x4c7b99,_0x4932c3,_0x108086){const _0x38da12=a137_0x15e1,_0xf70941=normalizeText(_0x4c7b99[_0x38da12(0xa3)],DESCRIPTION_MAX_LENGTH),_0x51ace7=normalizeText(_0x4c7b99[_0x38da12(0xa5)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x4932c3,'risk':requireWriteRisk(_0x4c7b99),'description':_0xf70941||_0x51ace7||_0x38da12(0x9e),..._0x108086?{'signal':_0x108086}:{}};}function a137_0x5b38(){const _0x1504a6=['142388CQLDmz','trim','4274395dBYcSD','high-risk-write','Run\x20this\x20write\x20operation','1261337pkQUQi','772406rVkVcl','18feMDpN','6710970IzXzLg','confirmationDescription','risk','description','1802264RaNdPy','11hHJnBD','652gUiJzc','replace','3537wPuPbF','42qNFHAT'];a137_0x5b38=function(){return _0x1504a6;};return a137_0x5b38();}function requireWriteRisk(_0x39c688){const _0x33307b=a137_0x15e1;if(_0x39c688[_0x33307b(0xa4)]==='write'||_0x39c688['risk']===_0x33307b(0x9d))return _0x39c688['risk'];throw new Error('Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.');}function normalizeText(_0x28ef83,_0xdcc265){const _0x4be9a8=a137_0x15e1;if(typeof _0x28ef83!=='string')return'';return _0x28ef83[_0x4be9a8(0xa9)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x4be9a8(0xa9)](/\s+/g,'\x20')[_0x4be9a8(0xad)]()['slice'](0x0,_0xdcc265);}
1
+ (function(_0x4ab97f,_0x19f2b1){const _0x1e0ac8=a137_0x4b98,_0x5d4dd4=_0x4ab97f();while(!![]){try{const _0x5f2540=parseInt(_0x1e0ac8(0x1d7))/0x1*(-parseInt(_0x1e0ac8(0x1d6))/0x2)+-parseInt(_0x1e0ac8(0x1d8))/0x3*(parseInt(_0x1e0ac8(0x1cc))/0x4)+parseInt(_0x1e0ac8(0x1d3))/0x5+parseInt(_0x1e0ac8(0x1d5))/0x6*(-parseInt(_0x1e0ac8(0x1d0))/0x7)+-parseInt(_0x1e0ac8(0x1da))/0x8+parseInt(_0x1e0ac8(0x1d9))/0x9+-parseInt(_0x1e0ac8(0x1cb))/0xa*(-parseInt(_0x1e0ac8(0x1ca))/0xb);if(_0x5f2540===_0x19f2b1)break;else _0x5d4dd4['push'](_0x5d4dd4['shift']());}catch(_0x95b6c6){_0x5d4dd4['push'](_0x5d4dd4['shift']());}}}(a137_0x1344,0xdc6f7));function a137_0x4b98(_0x40fd49,_0x30e6a0){_0x40fd49=_0x40fd49-0x1ca;const _0x1344c5=a137_0x1344();let _0x4b9835=_0x1344c5[_0x40fd49];return _0x4b9835;}function a137_0x1344(){const _0x412471=['Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.','write','206215OqueOb','description','158472XboZvd','8ejiOde','431114gHABlg','174846AfgVxg','915795LdZbaA','10781000pyxfSG','3562570MIlXam','170VbkXRV','104vcLSxz','replace','risk','string','42GUvuKp'];a137_0x1344=function(){return _0x412471;};return a137_0x1344();}const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildLovrabetConfirmationRequest(_0x4b206e,_0x42572f,_0x34414d){const _0x3702b3=a137_0x4b98,_0x21e464=normalizeText(_0x4b206e['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x4b1fb5=normalizeText(_0x4b206e[_0x3702b3(0x1d4)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x42572f,'risk':requireWriteRisk(_0x4b206e),'description':_0x21e464||_0x4b1fb5||'Run\x20this\x20write\x20operation',..._0x34414d?{'signal':_0x34414d}:{}};}function requireWriteRisk(_0x2e6d42){const _0x1ac0ab=a137_0x4b98;if(_0x2e6d42['risk']===_0x1ac0ab(0x1d2)||_0x2e6d42[_0x1ac0ab(0x1ce)]==='high-risk-write')return _0x2e6d42['risk'];throw new Error(_0x1ac0ab(0x1d1));}function normalizeText(_0x2088f9,_0x4b6564){const _0x550d73=a137_0x4b98;if(typeof _0x2088f9!==_0x550d73(0x1cf))return'';return _0x2088f9[_0x550d73(0x1cd)](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')['trim']()['slice'](0x0,_0x4b6564);}
@@ -1 +1 @@
1
- (function(_0x3d7e75,_0x2790b6){const _0x28bae1=a138_0x41aa,_0x4beae6=_0x3d7e75();while(!![]){try{const _0x130583=-parseInt(_0x28bae1(0x18d))/0x1*(-parseInt(_0x28bae1(0x18c))/0x2)+parseInt(_0x28bae1(0x18f))/0x3*(-parseInt(_0x28bae1(0x18b))/0x4)+parseInt(_0x28bae1(0x18e))/0x5*(-parseInt(_0x28bae1(0x17b))/0x6)+-parseInt(_0x28bae1(0x181))/0x7*(-parseInt(_0x28bae1(0x186))/0x8)+-parseInt(_0x28bae1(0x18a))/0x9*(parseInt(_0x28bae1(0x183))/0xa)+parseInt(_0x28bae1(0x17f))/0xb*(parseInt(_0x28bae1(0x17c))/0xc)+parseInt(_0x28bae1(0x180))/0xd*(-parseInt(_0x28bae1(0x185))/0xe);if(_0x130583===_0x2790b6)break;else _0x4beae6['push'](_0x4beae6['shift']());}catch(_0x25ecb7){_0x4beae6['push'](_0x4beae6['shift']());}}}(a138_0x4d7c,0xddc88));export function canonicalLovrabetOperation(_0xdf13ba){const _0x80756d=a138_0x41aa;return[_0xdf13ba[_0x80756d(0x187)],..._0xdf13ba[_0x80756d(0x188)][_0x80756d(0x184)]()[_0x80756d(0x17e)](/\s+/)][_0x80756d(0x189)](Boolean)['join']('.');}function a138_0x41aa(_0x3aa0a8,_0x13b058){_0x3aa0a8=_0x3aa0a8-0x179;const _0x4d7c3f=a138_0x4d7c();let _0x41aab7=_0x4d7c3f[_0x3aa0a8];return _0x41aab7;}export function createLovrabetWriteMetadata(_0x3aa4c9,_0x1d8d4a,_0x2e2f91,_0x16befa){const _0x237813=a138_0x41aa;if(_0x16befa||_0x2e2f91['ok']!==!![]||_0x3aa4c9[_0x237813(0x179)]!==_0x237813(0x17a)&&_0x3aa4c9[_0x237813(0x179)]!==_0x237813(0x182))return undefined;const _0x567962=_0x3aa4c9[_0x237813(0x17d)]?.(_0x2e2f91),_0x10951a={'type':'lovrabet.write.completed','operation':_0x1d8d4a,'risk':_0x3aa4c9[_0x237813(0x179)],..._0x567962?{'subject':_0x567962}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x10951a}};}function a138_0x4d7c(){const _0x53927e=['18559229MgPdcM','896hXjbxS','high-risk-write','2980JfCafb','trim','14JUQMbp','37008lhMbeW','service','command','filter','27180fEwOwD','3644doZsaa','50yRazEP','72185acLqpY','155395iIqlvG','87vIPPVB','risk','write','132Lemrvc','40332HoWkKY','writeEventSubject','split','5071rLzrlC'];a138_0x4d7c=function(){return _0x53927e;};return a138_0x4d7c();}
1
+ (function(_0x125e8e,_0x28d929){const _0x4097f3=a138_0x289b,_0x51d249=_0x125e8e();while(!![]){try{const _0x411764=parseInt(_0x4097f3(0x119))/0x1+parseInt(_0x4097f3(0x11b))/0x2+parseInt(_0x4097f3(0x127))/0x3*(parseInt(_0x4097f3(0x117))/0x4)+-parseInt(_0x4097f3(0x120))/0x5*(-parseInt(_0x4097f3(0x122))/0x6)+parseInt(_0x4097f3(0x114))/0x7+parseInt(_0x4097f3(0x124))/0x8*(parseInt(_0x4097f3(0x11c))/0x9)+-parseInt(_0x4097f3(0x11a))/0xa;if(_0x411764===_0x28d929)break;else _0x51d249['push'](_0x51d249['shift']());}catch(_0x121472){_0x51d249['push'](_0x51d249['shift']());}}}(a138_0x3d82,0x669cf));export function canonicalLovrabetOperation(_0x314e3f){const _0x2ce002=a138_0x289b;return[_0x314e3f[_0x2ce002(0x115)],..._0x314e3f['command'][_0x2ce002(0x11e)]()[_0x2ce002(0x126)](/\s+/)][_0x2ce002(0x116)](Boolean)[_0x2ce002(0x125)]('.');}function a138_0x289b(_0x3b8089,_0x1feb07){_0x3b8089=_0x3b8089-0x114;const _0x3d8221=a138_0x3d82();let _0x289b4a=_0x3d8221[_0x3b8089];return _0x289b4a;}function a138_0x3d82(){const _0x2d0606=['26573140ZphCbx','877260TdkqtM','836127iSFcIB','lovrabet.write.completed','trim','writeEventSubject','44995FzQNbF','risk','510gHTxkw','write','24mOfOAN','join','split','53292bYUrHd','3821909mZWsAX','service','filter','172KzJWRp','high-risk-write','285524XAsPxL'];a138_0x3d82=function(){return _0x2d0606;};return a138_0x3d82();}export function createLovrabetWriteMetadata(_0x2beadb,_0x456e37,_0x3872fe,_0x4e6c93){const _0x7236ce=a138_0x289b;if(_0x4e6c93||_0x3872fe['ok']!==!![]||_0x2beadb[_0x7236ce(0x121)]!==_0x7236ce(0x123)&&_0x2beadb['risk']!==_0x7236ce(0x118))return undefined;const _0x32aeb2=_0x2beadb[_0x7236ce(0x11f)]?.(_0x3872fe),_0x94f468={'type':_0x7236ce(0x11d),'operation':_0x456e37,'risk':_0x2beadb[_0x7236ce(0x121)],..._0x32aeb2?{'subject':_0x32aeb2}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x94f468}};}
@@ -1 +1 @@
1
- (function(_0x2c1c8c,_0x2d9371){const _0x292452=a139_0xffa7,_0x2ce256=_0x2c1c8c();while(!![]){try{const _0xd3c642=-parseInt(_0x292452(0xce))/0x1+parseInt(_0x292452(0xd9))/0x2+parseInt(_0x292452(0xd1))/0x3*(parseInt(_0x292452(0xe9))/0x4)+parseInt(_0x292452(0xe8))/0x5+-parseInt(_0x292452(0xd2))/0x6+-parseInt(_0x292452(0xdb))/0x7+parseInt(_0x292452(0xca))/0x8*(parseInt(_0x292452(0xe4))/0x9);if(_0xd3c642===_0x2d9371)break;else _0x2ce256['push'](_0x2ce256['shift']());}catch(_0x386c2e){_0x2ce256['push'](_0x2ce256['shift']());}}}(a139_0x4192,0x8eecc));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';function a139_0x4192(){const _0x52d8f7=['riskLevel','7529382SGwEGs','aborted','risk','presentation','result','message','data','rawFlags','args','1098cnDxcA','Lovrabet\x20invocation\x20aborted.','high-risk-write','definition','4834605NzDAsz','135220wFxRKw','present','dry-run','confirmation','1936zVrelu','signal','dryRun','reason','443555plpNym','Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','confirm','72lXzBRu','2961810dbmZFB','command','execute','stringify','AbortError','format','write','1580942tBPivH'];a139_0x4192=function(){return _0x52d8f7;};return a139_0x4192();}import{buildLovrabetConfirmationRequest}from'../runtime/confirmation.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x18cc0c,command:_0x2eeab5,risk:_0x51cf97,dryRun:_0x1707df}){const _0x3127b6=a139_0xffa7;return JSON[_0x3127b6(0xd5)]({'ok':_0x18cc0c['ok'],'command':_0x2eeab5,'risk':_0x51cf97,..._0x1707df?{'dryRun':!![]}:{},..._0x18cc0c[_0x3127b6(0xe1)]!==undefined?{'data':_0x18cc0c[_0x3127b6(0xe1)]}:{},..._0x18cc0c[_0x3127b6(0xe0)]?{'message':_0x18cc0c['message']}:{}});}};export async function invokeLovrabet(_0x541492,_0x3cf378){const _0x41af4e=a139_0xffa7;throwIfAborted(_0x3cf378[_0x41af4e(0xcb)]);const _0x113503=await resolveLovrabetInvocation(_0x541492),_0x2dc363=canonicalLovrabetOperation(_0x113503[_0x41af4e(0xe7)]);return await confirmWriteBeforeQueue(_0x113503['definition'],_0x113503[_0x41af4e(0xe2)],_0x2dc363,_0x3cf378),runSerialized(async()=>{const _0x5b0c08=_0x41af4e;throwIfAborted(_0x3cf378[_0x5b0c08(0xcb)]);const _0x81a285={},_0x1e80e9=buildConfigFromFlags(_0x113503[_0x5b0c08(0xe2)]);await initGlobalEnvironment(_0x1e80e9);const _0x21475d=createPipelineEnv(_0x1e80e9,{..._0x113503[_0x5b0c08(0xe2)],'yes':_0x113503[_0x5b0c08(0xe7)][_0x5b0c08(0xdd)]==='high-risk-write'?!![]:_0x113503[_0x5b0c08(0xe2)]['yes'],'nonInteractive':!![]});_0x21475d[_0x5b0c08(0xe3)]=_0x113503[_0x5b0c08(0xe3)],_0x21475d['isNonInteractive']=!![],_0x21475d[_0x5b0c08(0xda)]=_0x5b0c08(0xe6);const _0x1401e5=withAbortSignal(_0x113503[_0x5b0c08(0xe7)],_0x3cf378['signal']),_0x22a186=createLovrabetRunnerAdapter({'formatOutput'(_0x2896be,_0x5c011d){const _0x596fe7=_0x5b0c08;_0x81a285[_0x596fe7(0xdf)]=_0x2896be,_0x81a285[_0x596fe7(0xd3)]=_0x5c011d[_0x596fe7(0xd3)],_0x81a285[_0x596fe7(0xdd)]=_0x5c011d[_0x596fe7(0xdd)],_0x81a285['format']=_0x5c011d['format'],_0x81a285[_0x596fe7(0xcc)]=_0x5c011d[_0x596fe7(0xcc)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.');}});try{await runCommand(_0x1401e5,_0x21475d,_0x22a186);if(!_0x81a285[_0x5b0c08(0xdf)]||!_0x81a285[_0x5b0c08(0xd3)]||!_0x81a285[_0x5b0c08(0xdd)]||!_0x81a285[_0x5b0c08(0xd7)])throw new Error(_0x5b0c08(0xcf));const _0x1a4902=_0x3cf378[_0x5b0c08(0xde)]??defaultPresentation,_0x3b22f7=_0x81a285['dryRun']===!![],_0x3bc18e={'result':_0x81a285[_0x5b0c08(0xdf)],'command':_0x81a285['command'],'operation':_0x2dc363,'risk':_0x81a285['risk'],'format':_0x81a285[_0x5b0c08(0xd7)],'dryRun':_0x3b22f7},_0x326bdf=createLovrabetWriteMetadata(_0x113503[_0x5b0c08(0xe7)],_0x2dc363,_0x81a285[_0x5b0c08(0xdf)],_0x3b22f7);let _0x2ccbe6;try{_0x2ccbe6=await _0x1a4902[_0x5b0c08(0xea)](_0x3bc18e);}catch(_0x30c023){if(!_0x326bdf||_0x1a4902===defaultPresentation)throw _0x30c023;_0x2ccbe6=await defaultPresentation[_0x5b0c08(0xea)](_0x3bc18e);}return{'operation':_0x2dc363,'risk':_0x81a285[_0x5b0c08(0xdd)],'mode':_0x3b22f7?_0x5b0c08(0xeb):'execute','result':_0x81a285[_0x5b0c08(0xdf)],'output':_0x2ccbe6,..._0x326bdf?{'metadata':_0x326bdf}:{}};}finally{await finalizeLovrabetRuntimeState();}});}async function confirmWriteBeforeQueue(_0x38a004,_0x4dc915,_0x148660,_0x2b1be1){const _0x260caa=a139_0xffa7;if(_0x4dc915[_0x260caa(0xcc)]===!![]||_0x38a004[_0x260caa(0xdd)]!==_0x260caa(0xd8)&&_0x38a004[_0x260caa(0xdd)]!==_0x260caa(0xe6))return;await _0x2b1be1[_0x260caa(0xc9)][_0x260caa(0xd0)](buildLovrabetConfirmationRequest(_0x38a004,_0x148660,_0x2b1be1['signal']));}function withAbortSignal(_0x314849,_0x53ad7b){return{..._0x314849,async 'execute'(_0x37ca44){const _0x3899dd=a139_0xffa7;return throwIfAborted(_0x53ad7b),_0x314849[_0x3899dd(0xd4)]({..._0x37ca44,'signal':_0x53ad7b});}};}function a139_0xffa7(_0x5cac9f,_0x39fad3){_0x5cac9f=_0x5cac9f-0xc9;const _0x4192b1=a139_0x4192();let _0xffa778=_0x4192b1[_0x5cac9f];return _0xffa778;}function throwIfAborted(_0x39a04e){const _0x5783d6=a139_0xffa7;if(_0x39a04e?.[_0x5783d6(0xdc)])throw _0x39a04e[_0x5783d6(0xcd)]instanceof Error?_0x39a04e[_0x5783d6(0xcd)]:new DOMException(_0x5783d6(0xe5),_0x5783d6(0xd6));}
1
+ (function(_0x25e0c2,_0x4674dc){const _0x251d49=a139_0x1a8c,_0x5ce874=_0x25e0c2();while(!![]){try{const _0x808dd=-parseInt(_0x251d49(0xd2))/0x1+-parseInt(_0x251d49(0xcc))/0x2*(parseInt(_0x251d49(0xd5))/0x3)+-parseInt(_0x251d49(0xe7))/0x4*(parseInt(_0x251d49(0xed))/0x5)+parseInt(_0x251d49(0xcf))/0x6*(parseInt(_0x251d49(0xdf))/0x7)+parseInt(_0x251d49(0xd0))/0x8*(-parseInt(_0x251d49(0xcd))/0x9)+-parseInt(_0x251d49(0xde))/0xa+parseInt(_0x251d49(0xe2))/0xb*(parseInt(_0x251d49(0xe9))/0xc);if(_0x808dd===_0x4674dc)break;else _0x5ce874['push'](_0x5ce874['shift']());}catch(_0x20f0ce){_0x5ce874['push'](_0x5ce874['shift']());}}}(a139_0x4ae8,0x3bfa5));function a139_0x4ae8(){const _0x4c374f=['high-risk-write','4392230qWzxpO','865844qPDJuG','confirm','format','6357109TfJGkN','risk','riskLevel','command','aborted','35924VIAaoX','confirmation','24eZMdxL','definition','reason','result','35AngtbZ','args','dryRun','315576prBUUT','1152081lxNozn','data','12uXyDlz','16QXaVYj','rawFlags','241657NalMsx','message','write','3xAYQVN','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','signal','dry-run','presentation','present','isNonInteractive','execute'];a139_0x4ae8=function(){return _0x4c374f;};return a139_0x4ae8();}import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{buildLovrabetConfirmationRequest}from'../runtime/confirmation.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';function a139_0x1a8c(_0x2100da,_0x1f7f73){_0x2100da=_0x2100da-0xcb;const _0x4ae810=a139_0x4ae8();let _0x1a8c2c=_0x4ae810[_0x2100da];return _0x1a8c2c;}import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0xac2217,command:_0x490695,risk:_0x4d42fb,dryRun:_0x1fa852}){const _0x156009=a139_0x1a8c;return JSON['stringify']({'ok':_0xac2217['ok'],'command':_0x490695,'risk':_0x4d42fb,..._0x1fa852?{'dryRun':!![]}:{},..._0xac2217[_0x156009(0xce)]!==undefined?{'data':_0xac2217[_0x156009(0xce)]}:{},..._0xac2217[_0x156009(0xd3)]?{'message':_0xac2217[_0x156009(0xd3)]}:{}});}};export async function invokeLovrabet(_0x5d184e,_0x53c333){const _0x33ab5e=a139_0x1a8c;throwIfAborted(_0x53c333[_0x33ab5e(0xd7)]);const _0x1d12e2=await resolveLovrabetInvocation(_0x5d184e),_0x18370c=canonicalLovrabetOperation(_0x1d12e2[_0x33ab5e(0xea)]);return await confirmWriteBeforeQueue(_0x1d12e2['definition'],_0x1d12e2[_0x33ab5e(0xd1)],_0x18370c,_0x53c333),runSerialized(async()=>{const _0x25953c=_0x33ab5e;throwIfAborted(_0x53c333[_0x25953c(0xd7)]);const _0x3b6651={},_0x29c3c1=buildConfigFromFlags(_0x1d12e2['rawFlags']);await initGlobalEnvironment(_0x29c3c1);const _0x513b47=createPipelineEnv(_0x29c3c1,{..._0x1d12e2['rawFlags'],'yes':_0x1d12e2[_0x25953c(0xea)]['risk']===_0x25953c(0xdd)?!![]:_0x1d12e2['rawFlags']['yes'],'nonInteractive':!![]});_0x513b47[_0x25953c(0xee)]=_0x1d12e2['args'],_0x513b47[_0x25953c(0xdb)]=!![],_0x513b47[_0x25953c(0xe4)]=_0x25953c(0xdd);const _0x4a4517=withAbortSignal(_0x1d12e2[_0x25953c(0xea)],_0x53c333[_0x25953c(0xd7)]),_0x35e920=createLovrabetRunnerAdapter({'formatOutput'(_0x48668d,_0x5cebd9){const _0x455ed9=_0x25953c;_0x3b6651[_0x455ed9(0xec)]=_0x48668d,_0x3b6651[_0x455ed9(0xe5)]=_0x5cebd9[_0x455ed9(0xe5)],_0x3b6651[_0x455ed9(0xe3)]=_0x5cebd9[_0x455ed9(0xe3)],_0x3b6651[_0x455ed9(0xe1)]=_0x5cebd9[_0x455ed9(0xe1)],_0x3b6651[_0x455ed9(0xcb)]=_0x5cebd9[_0x455ed9(0xcb)]===!![];},async 'confirmHighRisk'(){const _0x2585e2=_0x25953c;throw new Error(_0x2585e2(0xd6));}});try{await runCommand(_0x4a4517,_0x513b47,_0x35e920);if(!_0x3b6651[_0x25953c(0xec)]||!_0x3b6651[_0x25953c(0xe5)]||!_0x3b6651[_0x25953c(0xe3)]||!_0x3b6651[_0x25953c(0xe1)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x353ae7=_0x53c333[_0x25953c(0xd9)]??defaultPresentation,_0x5014fc=_0x3b6651[_0x25953c(0xcb)]===!![],_0x1583e0={'result':_0x3b6651['result'],'command':_0x3b6651['command'],'operation':_0x18370c,'risk':_0x3b6651['risk'],'format':_0x3b6651[_0x25953c(0xe1)],'dryRun':_0x5014fc},_0x3a0fc4=createLovrabetWriteMetadata(_0x1d12e2['definition'],_0x18370c,_0x3b6651[_0x25953c(0xec)],_0x5014fc);let _0x4ee1e2;try{_0x4ee1e2=await _0x353ae7[_0x25953c(0xda)](_0x1583e0);}catch(_0x5e4b82){if(!_0x3a0fc4||_0x353ae7===defaultPresentation)throw _0x5e4b82;_0x4ee1e2=await defaultPresentation['present'](_0x1583e0);}return{'operation':_0x18370c,'risk':_0x3b6651[_0x25953c(0xe3)],'mode':_0x5014fc?_0x25953c(0xd8):_0x25953c(0xdc),'result':_0x3b6651[_0x25953c(0xec)],'output':_0x4ee1e2,..._0x3a0fc4?{'metadata':_0x3a0fc4}:{}};}finally{await finalizeLovrabetRuntimeState();}});}async function confirmWriteBeforeQueue(_0x42732d,_0x5a0413,_0x2b416e,_0x2eb8ea){const _0x139742=a139_0x1a8c;if(_0x5a0413[_0x139742(0xcb)]===!![]||_0x42732d[_0x139742(0xe3)]!==_0x139742(0xd4)&&_0x42732d['risk']!==_0x139742(0xdd))return;await _0x2eb8ea[_0x139742(0xe8)][_0x139742(0xe0)](buildLovrabetConfirmationRequest(_0x42732d,_0x2b416e,_0x2eb8ea[_0x139742(0xd7)]));}function withAbortSignal(_0x14438b,_0x39090f){return{..._0x14438b,async 'execute'(_0x1b62f4){const _0x4becb5=a139_0x1a8c;return throwIfAborted(_0x39090f),_0x14438b[_0x4becb5(0xdc)]({..._0x1b62f4,'signal':_0x39090f});}};}function throwIfAborted(_0x2dd4bc){const _0x1a034b=a139_0x1a8c;if(_0x2dd4bc?.[_0x1a034b(0xe6)])throw _0x2dd4bc[_0x1a034b(0xeb)]instanceof Error?_0x2dd4bc['reason']:new DOMException('Lovrabet\x20invocation\x20aborted.','AbortError');}
@@ -1 +1 @@
1
- const a140_0x3f8fec=a140_0x2a29;(function(_0x266872,_0x23a46d){const _0x56d4d9=a140_0x2a29,_0x5b66f4=_0x266872();while(!![]){try{const _0x539a5d=-parseInt(_0x56d4d9(0x156))/0x1*(-parseInt(_0x56d4d9(0x15a))/0x2)+parseInt(_0x56d4d9(0x153))/0x3*(-parseInt(_0x56d4d9(0x152))/0x4)+parseInt(_0x56d4d9(0x157))/0x5*(-parseInt(_0x56d4d9(0x15b))/0x6)+parseInt(_0x56d4d9(0x155))/0x7+parseInt(_0x56d4d9(0x159))/0x8*(parseInt(_0x56d4d9(0x151))/0x9)+parseInt(_0x56d4d9(0x15d))/0xa+-parseInt(_0x56d4d9(0x150))/0xb*(parseInt(_0x56d4d9(0x15c))/0xc);if(_0x539a5d===_0x23a46d)break;else _0x5b66f4['push'](_0x5b66f4['shift']());}catch(_0x17a9cd){_0x5b66f4['push'](_0x5b66f4['shift']());}}}(a140_0x1f27,0xeab88));function a140_0x2a29(_0x4ca715,_0x1d60d5){_0x4ca715=_0x4ca715-0x150;const _0x1f2796=a140_0x1f27();let _0x2a2982=_0x1f2796[_0x4ca715];return _0x2a2982;}let tail=Promise[a140_0x3f8fec(0x154)]();export async function runSerialized(_0x403457){const _0x2fb3b0=a140_0x3f8fec,_0x10a68e=tail;let _0x443d7c;tail=new Promise(_0x5b6149=>{_0x443d7c=_0x5b6149;}),await _0x10a68e[_0x2fb3b0(0x158)](()=>undefined);try{return await _0x403457();}finally{_0x443d7c();}}function a140_0x1f27(){const _0x42a11e=['6595660OZFewX','22rcPNws','16789491PDjGKm','84WpmaSA','115557ljNfvY','resolve','12203436EbzlrA','589053QmNsIW','21595KTeoPF','catch','8DvLxIu','2ulGYZN','114scVZAS','18030540iMSMhb'];a140_0x1f27=function(){return _0x42a11e;};return a140_0x1f27();}
1
+ const a140_0x7e0ece=a140_0xc364;(function(_0x4f0ae4,_0x35dad0){const _0x12bcc0=a140_0xc364,_0x481105=_0x4f0ae4();while(!![]){try{const _0x1df2e1=-parseInt(_0x12bcc0(0x15e))/0x1+-parseInt(_0x12bcc0(0x159))/0x2+-parseInt(_0x12bcc0(0x160))/0x3+parseInt(_0x12bcc0(0x161))/0x4*(parseInt(_0x12bcc0(0x15b))/0x5)+parseInt(_0x12bcc0(0x15a))/0x6+-parseInt(_0x12bcc0(0x15c))/0x7+parseInt(_0x12bcc0(0x162))/0x8*(parseInt(_0x12bcc0(0x15f))/0x9);if(_0x1df2e1===_0x35dad0)break;else _0x481105['push'](_0x481105['shift']());}catch(_0x2846d4){_0x481105['push'](_0x481105['shift']());}}}(a140_0x253d,0xabe74));let tail=Promise[a140_0x7e0ece(0x15d)]();export async function runSerialized(_0x3dc39b){const _0x55b6eb=tail;let _0x32e398;tail=new Promise(_0x528035=>{_0x32e398=_0x528035;}),await _0x55b6eb['catch'](()=>undefined);try{return await _0x3dc39b();}finally{_0x32e398();}}function a140_0xc364(_0x1e509a,_0x530040){_0x1e509a=_0x1e509a-0x159;const _0x253dfb=a140_0x253d();let _0xc364af=_0x253dfb[_0x1e509a];return _0xc364af;}function a140_0x253d(){const _0x4bb310=['resolve','755888MbOuCZ','288seILxR','116448eiFnwU','1074628NlVCat','487752WGDLwg','1465132uvszTT','3064908rEQmAG','20XkjnNZ','9135476YZtlli'];a140_0x253d=function(){return _0x4bb310;};return a140_0x253d();}
@@ -1 +1 @@
1
- function a141_0x217b(_0x2bbbfa,_0x16cfc2){_0x2bbbfa=_0x2bbbfa-0x13f;const _0x14b104=a141_0x14b1();let _0x217b03=_0x14b104[_0x2bbbfa];return _0x217b03;}function a141_0x14b1(){const _0x443736=['2CxjMPt','hint','8045790vNgSlK','80RBzvEk','flags','36IoTrMF','1300149klfeOF','24933EyODcx','989912kwMxwN','defaultCommand','601944XpNpJR','message','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','1086235AxkgIC','assign','args','607758bIwDKU','492Ctglmy','definition','unknownCommand','slice','validation','input','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','50vJUDfl'];a141_0x14b1=function(){return _0x443736;};return a141_0x14b1();}(function(_0x3bcc84,_0x329e14){const _0x2fef99=a141_0x217b,_0x342705=_0x3bcc84();while(!![]){try{const _0x502378=-parseInt(_0x2fef99(0x156))/0x1*(-parseInt(_0x2fef99(0x146))/0x2)+-parseInt(_0x2fef99(0x14d))/0x3*(parseInt(_0x2fef99(0x157))/0x4)+-parseInt(_0x2fef99(0x153))/0x5+parseInt(_0x2fef99(0x148))/0x6+parseInt(_0x2fef99(0x150))/0x7*(-parseInt(_0x2fef99(0x149))/0x8)+parseInt(_0x2fef99(0x14c))/0x9*(parseInt(_0x2fef99(0x145))/0xa)+parseInt(_0x2fef99(0x14e))/0xb*(parseInt(_0x2fef99(0x14b))/0xc);if(_0x502378===_0x329e14)break;else _0x342705['push'](_0x342705['shift']());}catch(_0x53fceb){_0x342705['push'](_0x342705['shift']());}}}(a141_0x14b1,0xcd770));import a141_0x4766c4 from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveLovrabetInvocation(_0x2e8a7e){const _0x56a738=a141_0x217b,_0x30302c=a141_0x4766c4('',{'importMeta':import.meta,'argv':_0x2e8a7e,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x474a76=[..._0x30302c[_0x56a738(0x143)]],_0x2ec3f1=_0x30302c[_0x56a738(0x14a)];await correctFlags(_0x2ec3f1);const _0x269948=_0x474a76[0x0];if(!_0x269948)throw CliErrors['validation'](_0x56a738(0x144));const _0x122f14=resolveRemovedCommand(_0x269948,_0x474a76[0x1]);if(_0x122f14)throw CliErrors[_0x56a738(0x142)](_0x122f14[_0x56a738(0x151)],_0x122f14[_0x56a738(0x147)]);if(!isKnownService(_0x269948)){const _0x515cc1=resolveDynamicServiceCommand(_0x474a76,_0x2ec3f1);if(!_0x515cc1)throw CliErrors[_0x56a738(0x140)](_0x474a76['join']('\x20'));return Object[_0x56a738(0x154)](_0x2ec3f1,_0x515cc1[_0x56a738(0x14a)]),{'definition':_0x515cc1[_0x56a738(0x13f)],'rawFlags':_0x2ec3f1,'args':_0x515cc1[_0x56a738(0x155)]};}const _0x15db31=getServiceEntry(_0x269948),_0xae26fe=_0x474a76[0x1]||_0x15db31[_0x56a738(0x14f)];if(!_0xae26fe)throw CliErrors[_0x56a738(0x142)](_0x56a738(0x152)+_0x269948+'\x22.');const _0x355284=findDefinition(_0x269948,_0xae26fe);if(!_0x355284)throw CliErrors[_0x56a738(0x140)](_0x269948+'\x20'+_0xae26fe);return{'definition':_0x355284,'rawFlags':_0x2ec3f1,'args':_0x474a76[_0x56a738(0x141)](0x2)};}async function correctFlags(_0x5057e1){const _0x4e4202=a141_0x217b;try{const {correctFlags:_0x259f43}=await import('../framework/preparse.js'),{getAllDefinitions:_0x67faf7}=await import('../commands/registry.js'),_0x3694ca=_0x67faf7()['flatMap'](_0x4aff2a=>_0x4aff2a[_0x4e4202(0x14a)]??[]),_0x1d6480=_0x259f43(_0x5057e1,_0x3694ca);Object[_0x4e4202(0x154)](_0x5057e1,_0x1d6480[_0x4e4202(0x14a)]);}catch{}}
1
+ function a141_0x3b99(){const _0x4c0f85=['input','flags','2494767pfDWVC','5250tmOtXk','definition','4613090bLEWjB','args','flatMap','826488WRjTVO','unknownCommand','5192392hFinGU','910FqbjhT','1424imNmrT','validation','../framework/preparse.js','156888Fddioj','640bZDbzI','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','join','../commands/registry.js','2838kjKbEf','assign'];a141_0x3b99=function(){return _0x4c0f85;};return a141_0x3b99();}(function(_0x3308a1,_0x486928){const _0x2023bd=a141_0x1a66,_0x40926a=_0x3308a1();while(!![]){try{const _0x35fd43=-parseInt(_0x2023bd(0x97))/0x1*(parseInt(_0x2023bd(0x93))/0x2)+parseInt(_0x2023bd(0x89))/0x3+-parseInt(_0x2023bd(0x8f))/0x4+parseInt(_0x2023bd(0x8c))/0x5+parseInt(_0x2023bd(0x85))/0x6*(parseInt(_0x2023bd(0x8a))/0x7)+parseInt(_0x2023bd(0x91))/0x8+parseInt(_0x2023bd(0x96))/0x9*(-parseInt(_0x2023bd(0x92))/0xa);if(_0x35fd43===_0x486928)break;else _0x40926a['push'](_0x40926a['shift']());}catch(_0x1e387c){_0x40926a['push'](_0x40926a['shift']());}}}(a141_0x3b99,0x7c5d0));function a141_0x1a66(_0x475cca,_0xf31c17){_0x475cca=_0x475cca-0x82;const _0x3b99b7=a141_0x3b99();let _0x1a66ea=_0x3b99b7[_0x475cca];return _0x1a66ea;}import a141_0x587698 from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveLovrabetInvocation(_0x4a4926){const _0x2182cb=a141_0x1a66,_0x200b05=a141_0x587698('',{'importMeta':import.meta,'argv':_0x4a4926,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x2196fa=[..._0x200b05[_0x2182cb(0x87)]],_0x1795e1=_0x200b05[_0x2182cb(0x88)];await correctFlags(_0x1795e1);const _0x24cba1=_0x2196fa[0x0];if(!_0x24cba1)throw CliErrors['validation'](_0x2182cb(0x82));const _0x1ba73b=resolveRemovedCommand(_0x24cba1,_0x2196fa[0x1]);if(_0x1ba73b)throw CliErrors['validation'](_0x1ba73b['message'],_0x1ba73b['hint']);if(!isKnownService(_0x24cba1)){const _0x4c2e24=resolveDynamicServiceCommand(_0x2196fa,_0x1795e1);if(!_0x4c2e24)throw CliErrors[_0x2182cb(0x90)](_0x2196fa[_0x2182cb(0x83)]('\x20'));return Object['assign'](_0x1795e1,_0x4c2e24[_0x2182cb(0x88)]),{'definition':_0x4c2e24[_0x2182cb(0x8b)],'rawFlags':_0x1795e1,'args':_0x4c2e24[_0x2182cb(0x8d)]};}const _0x2b9666=getServiceEntry(_0x24cba1),_0x26baf7=_0x2196fa[0x1]||_0x2b9666['defaultCommand'];if(!_0x26baf7)throw CliErrors[_0x2182cb(0x94)]('Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x24cba1+'\x22.');const _0x542458=findDefinition(_0x24cba1,_0x26baf7);if(!_0x542458)throw CliErrors[_0x2182cb(0x90)](_0x24cba1+'\x20'+_0x26baf7);return{'definition':_0x542458,'rawFlags':_0x1795e1,'args':_0x2196fa['slice'](0x2)};}async function correctFlags(_0x4ea7c5){const _0x209984=a141_0x1a66;try{const {correctFlags:_0x484d0f}=await import(_0x209984(0x95)),{getAllDefinitions:_0x3eba3a}=await import(_0x209984(0x84)),_0x2f0cb9=_0x3eba3a()[_0x209984(0x8e)](_0x2fd57f=>_0x2fd57f[_0x209984(0x88)]??[]),_0x5581a7=_0x484d0f(_0x4ea7c5,_0x2f0cb9);Object[_0x209984(0x86)](_0x4ea7c5,_0x5581a7[_0x209984(0x88)]);}catch{}}
@@ -1 +1 @@
1
- (function(_0x4338f0,_0x3309ef){const _0x4ee42e=a143_0x254a,_0x3dfc67=_0x4338f0();while(!![]){try{const _0x392aa8=parseInt(_0x4ee42e(0x189))/0x1*(parseInt(_0x4ee42e(0x1a5))/0x2)+-parseInt(_0x4ee42e(0x1bf))/0x3*(parseInt(_0x4ee42e(0x1cc))/0x4)+-parseInt(_0x4ee42e(0x1d1))/0x5+parseInt(_0x4ee42e(0x1d0))/0x6+parseInt(_0x4ee42e(0x195))/0x7*(parseInt(_0x4ee42e(0x197))/0x8)+parseInt(_0x4ee42e(0x1c3))/0x9+-parseInt(_0x4ee42e(0x1b5))/0xa;if(_0x392aa8===_0x3309ef)break;else _0x3dfc67['push'](_0x3dfc67['shift']());}catch(_0x29aef5){_0x3dfc67['push'](_0x3dfc67['shift']());}}}(a143_0x2dfc,0xa1a24));import{randomBytes,randomUUID}from'node:crypto';import{lstat,readFile}from'node:fs/promises';import{acquireLock,assertImportContract,assertImportPaths,canonical,sameImportValue,resolveImportOutputPath,saveImportJson}from'./runner.js';function a143_0x254a(_0x5984eb,_0x5ddeec){_0x5984eb=_0x5984eb-0x189;const _0x2dfc5e=a143_0x2dfc();let _0x254a2f=_0x2dfc5e[_0x5984eb];return _0x254a2f;}const validId=_0x45e4f2=>typeof _0x45e4f2==='number'&&Number['isSafeInteger'](_0x45e4f2)&&_0x45e4f2>0x0;export async function runAutoIdExcelImport(_0x4d699d){const _0x133fc0=a143_0x254a,_0x395ee7={..._0x4d699d,'checkpoint':await resolveImportOutputPath(_0x4d699d[_0x133fc0(0x1ca)]),'report':await resolveImportOutputPath(_0x4d699d[_0x133fc0(0x18a)])},{manifest:_0x27267d,contract:_0x4a8ed7,api:_0x383ec6}=_0x395ee7;assertImportContract(_0x4a8ed7,_0x395ee7[_0x133fc0(0x1cd)],_0x395ee7[_0x133fc0(0x19f)]);if(_0x4a8ed7[_0x133fc0(0x1bd)]!==0x2||!_0x383ec6['readTask'])throw Error(_0x133fc0(0x196));if(_0x27267d[_0x133fc0(0x18f)][_0x133fc0(0x1c1)])throw Error('Excel\x20contains\x20invalid\x20rows;\x20no\x20data\x20was\x20written.');if(!_0x27267d[_0x133fc0(0x1c5)][_0x133fc0(0x1c1)])throw Error(_0x133fc0(0x1cf));if(!Number[_0x133fc0(0x1ae)](_0x395ee7[_0x133fc0(0x191)])||_0x395ee7[_0x133fc0(0x191)]<0x1||_0x395ee7['batchSize']>_0x4a8ed7['maxBatchSize'])throw Error('Invalid\x20import\x20batch\x20size.');assertImportPaths(_0x395ee7[_0x133fc0(0x1ca)],_0x395ee7[_0x133fc0(0x18a)]);if(_0x27267d[_0x133fc0(0x1c5)][_0x133fc0(0x1ab)](_0x4d2444=>Object[_0x133fc0(0x1d9)](_0x4d2444[_0x133fc0(0x18c)],'id')))throw Error('Auto-ID\x20import\x20items\x20cannot\x20contain\x20a\x20primary\x20key.');const _0x110919=(_0x405c17,_0x124e1a)=>Buffer['byteLength'](JSON[_0x133fc0(0x1b3)]({'schemaFingerprint':_0x4a8ed7[_0x133fc0(0x1d6)],'taskId':_0x124e1a,'items':_0x405c17[_0x133fc0(0x1d5)](_0x38590e=>_0x27267d['rows'][_0x38590e][_0x133fc0(0x18c)])}),_0x133fc0(0x19e)),_0x5973c4=[];let _0x3060fe=[];for(let _0x5baed7=0x0;_0x5baed7<_0x27267d[_0x133fc0(0x1c5)][_0x133fc0(0x1c1)];_0x5baed7++){if(_0x110919([_0x5baed7],0x2**0x34)>_0x4a8ed7[_0x133fc0(0x193)])throw Error('Excel\x20row\x20'+_0x27267d['rows'][_0x5baed7][_0x133fc0(0x1b7)]+'\x20exceeds\x20the\x20import\x20request\x20size\x20limit.');_0x3060fe[_0x133fc0(0x1c1)]&&(_0x3060fe['length']===_0x395ee7[_0x133fc0(0x191)]||_0x110919([..._0x3060fe,_0x5baed7],0x2**0x34)>_0x4a8ed7[_0x133fc0(0x193)])&&(_0x5973c4[_0x133fc0(0x1cb)](_0x3060fe),_0x3060fe=[]),_0x3060fe[_0x133fc0(0x1cb)](_0x5baed7);}if(_0x3060fe['length'])_0x5973c4[_0x133fc0(0x1cb)](_0x3060fe);const _0x19f858={'appCode':_0x395ee7[_0x133fc0(0x1cd)],'datasetCode':_0x395ee7[_0x133fc0(0x19f)],'runtimeDomain':_0x395ee7[_0x133fc0(0x190)],'actorId':_0x4a8ed7[_0x133fc0(0x1d4)],'fileHash':_0x27267d[_0x133fc0(0x1d7)],'mappingHash':_0x27267d[_0x133fc0(0x1a8)],'schemaHash':_0x27267d[_0x133fc0(0x1a1)],'remoteSchemaHash':_0x4a8ed7[_0x133fc0(0x1d6)],'batchSize':_0x395ee7['batchSize'],'maxBatchBytes':_0x4a8ed7['maxBatchBytes'],'sheet':_0x27267d[_0x133fc0(0x19d)],'strategy':_0x4a8ed7[_0x133fc0(0x1c0)]},_0xf20241=await acquireLock(_0x395ee7[_0x133fc0(0x1ca)]);let _0x3f97e8;const _0x199bc0=Date[_0x133fc0(0x1b6)]();let _0x512a9a=0x0;const _0xa4ecc9=[],_0xf5df27=_0x3f1c68=>_0x3f97e8?.[_0x133fc0(0x1af)]['filter'](_0x41f8a8=>_0x41f8a8[_0x133fc0(0x1b2)]===_0x3f1c68)[_0x133fc0(0x1ba)]((_0x170418,_0x9295e6)=>_0x170418+_0x9295e6[_0x133fc0(0x1be)][_0x133fc0(0x1c1)],0x0)??0x0,_0x54dcd4=()=>({'importId':_0x3f97e8?.['importId'],'sourceRows':_0x27267d['rows']['length'],'emptyRows':_0x27267d[_0x133fc0(0x1c8)][_0x133fc0(0x1c1)],'succeeded':_0xf5df27(_0x133fc0(0x1b8)),'unknown':_0xf5df27('pending'),'conflicts':_0xf5df27(_0x133fc0(0x18e)),'notAttempted':_0xf5df27(_0x133fc0(0x1ce)),'batches':_0x512a9a,'batchResults':_0xa4ecc9,'elapsedMs':Date[_0x133fc0(0x1b6)]()-_0x199bc0,'checkpoint':_0x395ee7[_0x133fc0(0x1ca)],'report':_0x395ee7[_0x133fc0(0x18a)],'warnings':_0x27267d[_0x133fc0(0x1d8)]});try{if(_0x395ee7[_0x133fc0(0x1c9)]){try{_0x3f97e8=JSON[_0x133fc0(0x1aa)](await readFile(_0x395ee7['checkpoint'],_0x133fc0(0x19e)));}catch{throw Error(_0x133fc0(0x1db));}if(!_0x3f97e8||_0x3f97e8['version']!==0x2||typeof _0x3f97e8[_0x133fc0(0x1c6)]!==_0x133fc0(0x1ad)||!_0x3f97e8[_0x133fc0(0x1c6)]||canonical(_0x3f97e8[_0x133fc0(0x1c7)])!==canonical(_0x19f858)||!Array['isArray'](_0x3f97e8[_0x133fc0(0x1af)])||_0x3f97e8[_0x133fc0(0x1af)]['length']!==_0x5973c4['length']||new Set(_0x3f97e8[_0x133fc0(0x1af)][_0x133fc0(0x1d5)](_0x3793cd=>_0x3793cd[_0x133fc0(0x1a2)]))['size']!==_0x5973c4[_0x133fc0(0x1c1)]||_0x3f97e8['batches'][_0x133fc0(0x1ab)]((_0xd68e3b,_0x1129f8)=>!validId(_0xd68e3b['taskId'])||_0xd68e3b[_0x133fc0(0x1a2)]>0x2**0x34||canonical(_0xd68e3b['rowIndexes'])!==canonical(_0x5973c4[_0x1129f8])||![_0x133fc0(0x1ce),_0x133fc0(0x18d),_0x133fc0(0x1b8),_0x133fc0(0x18e)][_0x133fc0(0x199)](_0xd68e3b[_0x133fc0(0x1b2)])||!Array[_0x133fc0(0x1a7)](_0xd68e3b['ids'])||_0xd68e3b[_0x133fc0(0x1c4)][_0x133fc0(0x1ab)](_0x2e2e90=>!validId(_0x2e2e90))||new Set(_0xd68e3b[_0x133fc0(0x1c4)])[_0x133fc0(0x1b1)]!==_0xd68e3b[_0x133fc0(0x1c4)][_0x133fc0(0x1c1)]||_0xd68e3b[_0x133fc0(0x1c4)][_0x133fc0(0x1c1)]!==0x0&&_0xd68e3b[_0x133fc0(0x1c4)]['length']!==_0xd68e3b[_0x133fc0(0x1be)][_0x133fc0(0x1c1)]||_0xd68e3b['status']===_0x133fc0(0x1b8)&&_0xd68e3b['ids'][_0x133fc0(0x1c1)]!==_0xd68e3b[_0x133fc0(0x1be)][_0x133fc0(0x1c1)]||_0xd68e3b[_0x133fc0(0x1b2)]===_0x133fc0(0x1ce)&&_0xd68e3b['ids'][_0x133fc0(0x1c1)]!==0x0))throw Error('Import\x20checkpoint\x20does\x20not\x20match\x20the\x20input,\x20target\x20or\x20identity.');const _0x19c2ca=_0x3f97e8[_0x133fc0(0x1af)][_0x133fc0(0x194)](_0x1a1c21=>_0x1a1c21['ids']);if(new Set(_0x19c2ca)[_0x133fc0(0x1b1)]!==_0x19c2ca[_0x133fc0(0x1c1)])throw Error('Import\x20checkpoint\x20contains\x20duplicate\x20generated\x20IDs.');}else{try{await lstat(_0x395ee7[_0x133fc0(0x1ca)]);throw Error(_0x133fc0(0x1c2));}catch(_0x4744a3){if(_0x4744a3['code']!=='ENOENT')throw _0x4744a3;}const _0x1f502d=new Set();_0x3f97e8={'version':0x2,'importId':randomUUID(),'binding':_0x19f858,'batches':_0x5973c4[_0x133fc0(0x1d5)](_0x143584=>{const _0x36d524=_0x133fc0;let _0x383efc;do{_0x383efc=Number(BigInt('0x'+randomBytes(0x7)['toString'](_0x36d524(0x1d3)))&(0x1n<<0x34n)-0x1n)+0x1;}while(_0x1f502d['has'](_0x383efc));return _0x1f502d['add'](_0x383efc),{'taskId':_0x383efc,'rowIndexes':_0x143584,'ids':[],'status':_0x36d524(0x1ce)};})},await saveImportJson(_0x395ee7['checkpoint'],_0x3f97e8);}await _0x395ee7[_0x133fc0(0x1b9)]?.();const _0x426ca4=_0x3f97e8,_0x2acd3e=async(_0x55d40b,_0x17fe2d)=>{const _0x4feaa0=_0x133fc0;_0x55d40b['status']='conflict',await saveImportJson(_0x395ee7[_0x4feaa0(0x1ca)],_0x426ca4);throw Error(_0x17fe2d);},_0x45402b=async _0x14cdbe=>{const _0x3fa352=_0x133fc0;let _0x590aed=await _0x383ec6[_0x3fa352(0x1da)](_0x14cdbe[_0x3fa352(0x1a2)]);if(!Array[_0x3fa352(0x1a7)](_0x590aed))throw Error(_0x3fa352(0x1ac));if(_0x14cdbe[_0x3fa352(0x1b2)]===_0x3fa352(0x1ce)&&_0x590aed[_0x3fa352(0x1c1)])return _0x2acd3e(_0x14cdbe,_0x3fa352(0x1d2));if(!_0x590aed[_0x3fa352(0x1c1)]){if(_0x14cdbe[_0x3fa352(0x1b2)]===_0x3fa352(0x1b8)||_0x14cdbe['ids'][_0x3fa352(0x1c1)])return _0x2acd3e(_0x14cdbe,_0x3fa352(0x1a6));return![];}if(_0x590aed[_0x3fa352(0x1c1)]!==_0x14cdbe['rowIndexes'][_0x3fa352(0x1c1)])return _0x2acd3e(_0x14cdbe,'Partial\x20import\x20task\x20readback\x20conflict.');const _0x5a6f4a=_0x590aed[_0x3fa352(0x1d5)](_0x99ca68=>_0x99ca68?.['id']);if(_0x5a6f4a['some'](_0x24025f=>!validId(_0x24025f)))return _0x2acd3e(_0x14cdbe,_0x3fa352(0x1bb));if(new Set(_0x5a6f4a)[_0x3fa352(0x1b1)]!==_0x5a6f4a[_0x3fa352(0x1c1)])return _0x2acd3e(_0x14cdbe,_0x3fa352(0x1bb));const _0x3f72ab=new Map(_0x590aed[_0x3fa352(0x1d5)](_0x9dad8a=>[_0x9dad8a['id'],_0x9dad8a])),_0x346d7d=_0x14cdbe[_0x3fa352(0x1c4)][_0x3fa352(0x1c1)]?[..._0x14cdbe['ids']]:[..._0x5a6f4a][_0x3fa352(0x1b4)]((_0x14ba8a,_0x8fdf91)=>_0x14ba8a-_0x8fdf91);if(_0x346d7d[_0x3fa352(0x1ab)](_0x20e528=>!validId(_0x20e528))||_0x346d7d[_0x3fa352(0x1ab)]((_0x9c4561,_0x2d12ee)=>_0x2d12ee>0x0&&_0x9c4561<=_0x346d7d[_0x2d12ee-0x1])||_0x346d7d[_0x3fa352(0x1ab)](_0x1502e5=>!_0x3f72ab[_0x3fa352(0x1a3)](_0x1502e5)))return _0x2acd3e(_0x14cdbe,_0x3fa352(0x1bb));_0x590aed=_0x346d7d['map'](_0x532757=>_0x3f72ab['get'](_0x532757));const _0x52cde6=new Set(_0x426ca4[_0x3fa352(0x1af)]['filter'](_0xe05ab5=>_0xe05ab5!==_0x14cdbe)['flatMap'](_0x13aeff=>_0x13aeff[_0x3fa352(0x1c4)]));if(_0x346d7d['some'](_0x359afd=>_0x52cde6[_0x3fa352(0x1a3)](_0x359afd)))return _0x2acd3e(_0x14cdbe,_0x3fa352(0x1a0));for(let _0x4d949b=0x0;_0x4d949b<_0x590aed[_0x3fa352(0x1c1)];_0x4d949b++){const _0x4be89d=_0x27267d[_0x3fa352(0x1c5)][_0x14cdbe['rowIndexes'][_0x4d949b]][_0x3fa352(0x18c)];if(Object[_0x3fa352(0x18b)](_0x4be89d)[_0x3fa352(0x1ab)](_0x358135=>!sameImportValue(_0x4be89d[_0x358135],_0x590aed[_0x4d949b][_0x358135],_0x27267d['imageFields']?.[_0x3fa352(0x199)](_0x358135)&&!_0x27267d['uploadFields']?.['includes'](_0x358135))))return _0x2acd3e(_0x14cdbe,_0x3fa352(0x198)+_0x27267d[_0x3fa352(0x1c5)][_0x14cdbe['rowIndexes'][_0x4d949b]][_0x3fa352(0x1b7)]+'.');}return _0x14cdbe[_0x3fa352(0x1c4)]=_0x346d7d,_0x14cdbe[_0x3fa352(0x1b2)]=_0x3fa352(0x1b8),await saveImportJson(_0x395ee7[_0x3fa352(0x1ca)],_0x426ca4),!![];};if(_0x426ca4[_0x133fc0(0x1af)][_0x133fc0(0x1ab)](_0x22fc05=>_0x22fc05[_0x133fc0(0x1b2)]===_0x133fc0(0x18e)&&!(_0x395ee7[_0x133fc0(0x1c9)]&&_0x395ee7[_0x133fc0(0x1b0)]&&_0x27267d[_0x133fc0(0x1a4)]?.[_0x133fc0(0x1c1)]&&_0x22fc05[_0x133fc0(0x1c4)][_0x133fc0(0x1c1)]===_0x22fc05[_0x133fc0(0x1be)][_0x133fc0(0x1c1)])))throw Error(_0x133fc0(0x1a9));if(_0x395ee7[_0x133fc0(0x1c9)]){for(const _0x11b4c7 of _0x426ca4[_0x133fc0(0x1af)])await _0x45402b(_0x11b4c7);}for(const _0x1e914c of _0x426ca4[_0x133fc0(0x1af)]){if(_0x1e914c[_0x133fc0(0x1b2)]===_0x133fc0(0x1b8))continue;if(!_0x395ee7[_0x133fc0(0x1c9)])await _0x45402b(_0x1e914c);_0x1e914c[_0x133fc0(0x1b2)]=_0x133fc0(0x18d),await saveImportJson(_0x395ee7[_0x133fc0(0x1ca)],_0x426ca4),_0x512a9a++;const _0x5248e3=_0x1e914c[_0x133fc0(0x1be)]['map'](_0x1c07d5=>_0x27267d[_0x133fc0(0x1c5)][_0x1c07d5][_0x133fc0(0x18c)]),_0x443e5b=Date['now'](),_0x5cc9c6={'batch':_0x512a9a,'rowStart':_0x27267d[_0x133fc0(0x1c5)][_0x1e914c['rowIndexes'][0x0]][_0x133fc0(0x1b7)],'rowEnd':_0x27267d[_0x133fc0(0x1c5)][_0x1e914c[_0x133fc0(0x1be)]['at'](-0x1)][_0x133fc0(0x1b7)],'count':_0x5248e3[_0x133fc0(0x1c1)],'bytes':_0x110919(_0x1e914c[_0x133fc0(0x1be)],_0x1e914c[_0x133fc0(0x1a2)]),'elapsedMs':0x0,'status':_0x133fc0(0x1bc)};_0xa4ecc9['push'](_0x5cc9c6);try{const _0x14cce4=await _0x383ec6[_0x133fc0(0x192)](_0x5248e3,_0x1e914c['taskId']);if(!_0x14cce4||_0x14cce4['count']!==_0x5248e3[_0x133fc0(0x1c1)]||!Array['isArray'](_0x14cce4[_0x133fc0(0x1c4)])||_0x14cce4[_0x133fc0(0x1c4)][_0x133fc0(0x1c1)]!==_0x5248e3[_0x133fc0(0x1c1)]||_0x14cce4[_0x133fc0(0x1c4)]['some'](_0x2e6d44=>!validId(_0x2e6d44))||new Set(_0x14cce4[_0x133fc0(0x1c4)])['size']!==_0x14cce4[_0x133fc0(0x1c4)][_0x133fc0(0x1c1)])throw Error('Invalid\x20write\x20result.');_0x1e914c[_0x133fc0(0x1c4)]=_0x14cce4[_0x133fc0(0x1c4)],await saveImportJson(_0x395ee7['checkpoint'],_0x426ca4);if(!await _0x45402b(_0x1e914c))throw Error(_0x133fc0(0x19b));}catch(_0x148757){if(_0x1e914c[_0x133fc0(0x1b2)]==='conflict')throw _0x148757;try{await _0x45402b(_0x1e914c);}catch(_0x2793ab){if(_0x1e914c[_0x133fc0(0x1b2)]===_0x133fc0(0x18e))throw _0x2793ab;}if(_0x1e914c[_0x133fc0(0x1b2)]!==_0x133fc0(0x1b8))throw Error('The\x20import\x20write\x20outcome\x20is\x20unknown.\x20Resume\x20to\x20reconcile\x20the\x20original\x20task\x20marker\x20before\x20continuing.');}finally{_0x5cc9c6['elapsedMs']=Date[_0x133fc0(0x1b6)]()-_0x443e5b,_0x5cc9c6[_0x133fc0(0x1b2)]=_0x1e914c[_0x133fc0(0x1b2)]===_0x133fc0(0x1b8)?_0x133fc0(0x1b8):_0x1e914c['status']===_0x133fc0(0x18e)?_0x133fc0(0x18e):'unknown';}}const _0xe6b6ae={'status':_0x133fc0(0x19a),..._0x54dcd4()};return await saveImportJson(_0x395ee7[_0x133fc0(0x18a)],_0xe6b6ae),_0xe6b6ae;}catch(_0x17b924){if(_0x3f97e8)await saveImportJson(_0x395ee7[_0x133fc0(0x18a)],{'status':_0x133fc0(0x19c),..._0x54dcd4(),'message':_0x17b924['message']});throw _0x17b924;}finally{await _0xf20241();}}function a143_0x2dfc(){const _0x4ef0f4=['Invalid\x20import\x20task\x20readback\x20response.','string','isInteger','batches','reconcileImageConflicts','size','status','stringify','sort','25365030QbxVnf','now','rowNumber','succeeded','onCheckpointReady','reduce','Import\x20generated\x20ID\x20conflict.','unknown','schemaVersion','rowIndexes','3ZuXnnN','strategy','length','Import\x20checkpoint\x20already\x20exists;\x20use\x20--resume.','10037880EtEOHr','ids','rows','importId','binding','emptyRows','resume','checkpoint','push','2622148GtDcEO','appCode','unsent','Excel\x20contains\x20no\x20valid\x20data\x20rows.','6175032CYfShY','2386650yhSYUw','Import\x20task\x20marker\x20collision;\x20stop\x20without\x20replacing\x20the\x20marker.','hex','actorId','map','schemaFingerprint','fileHash','warnings','hasOwn','readTask','Cannot\x20read\x20the\x20import\x20checkpoint.','1HCIPZg','report','keys','values','pending','conflict','errors','runtimeDomain','batchSize','write','maxBatchBytes','flatMap','789866OOtoJe','The\x20auto-ID\x20runner\x20requires\x20the\x20v2\x20task\x20readback\x20contract.','88ELkGXk','Import\x20content\x20conflict\x20at\x20Excel\x20row\x20','includes','completed','Incomplete\x20readback.','incomplete','sheet','utf8','datasetCode','Import\x20generated\x20ID\x20collision.','schemaHash','taskId','has','imageFields','1891424ZAImYD','Previously\x20imported\x20records\x20are\x20no\x20longer\x20visible;\x20recovery\x20conflict.','isArray','mappingHash','Import\x20checkpoint\x20contains\x20a\x20content\x20conflict.','parse','some'];a143_0x2dfc=function(){return _0x4ef0f4;};return a143_0x2dfc();}
1
+ const a143_0x10fef2=a143_0xf328;(function(_0xaea109,_0x507dfd){const _0x32fed3=a143_0xf328,_0x387286=_0xaea109();while(!![]){try{const _0x73606d=parseInt(_0x32fed3(0xd6))/0x1+-parseInt(_0x32fed3(0x103))/0x2*(parseInt(_0x32fed3(0xe8))/0x3)+parseInt(_0x32fed3(0xd7))/0x4+parseInt(_0x32fed3(0xd1))/0x5+parseInt(_0x32fed3(0xdc))/0x6*(parseInt(_0x32fed3(0xdd))/0x7)+-parseInt(_0x32fed3(0xda))/0x8*(parseInt(_0x32fed3(0xdf))/0x9)+parseInt(_0x32fed3(0xdb))/0xa*(-parseInt(_0x32fed3(0xe0))/0xb);if(_0x73606d===_0x507dfd)break;else _0x387286['push'](_0x387286['shift']());}catch(_0x5a255d){_0x387286['push'](_0x387286['shift']());}}}(a143_0x1f01,0xb769b));import{randomBytes,randomUUID}from'node:crypto';function a143_0xf328(_0x63dc8,_0x1d112e){_0x63dc8=_0x63dc8-0xc3;const _0x1f0164=a143_0x1f01();let _0xf32868=_0x1f0164[_0x63dc8];return _0xf32868;}import{lstat,readFile}from'node:fs/promises';import{acquireLock,assertImportContract,assertImportPaths,canonical,sameImportValue,resolveImportOutputPath,saveImportJson}from'./runner.js';const validId=_0x50fc91=>typeof _0x50fc91==='number'&&Number[a143_0x10fef2(0x112)](_0x50fc91)&&_0x50fc91>0x0;export async function runAutoIdExcelImport(_0x1d63b3){const _0x52c6ad=a143_0x10fef2,_0x13e20c={..._0x1d63b3,'checkpoint':await resolveImportOutputPath(_0x1d63b3[_0x52c6ad(0x110)]),'report':await resolveImportOutputPath(_0x1d63b3[_0x52c6ad(0xcd)])},{manifest:_0x200e31,contract:_0x3c6da5,api:_0x8f14bf}=_0x13e20c;assertImportContract(_0x3c6da5,_0x13e20c[_0x52c6ad(0x10c)],_0x13e20c[_0x52c6ad(0x11e)]);if(_0x3c6da5[_0x52c6ad(0xce)]!==0x2||!_0x8f14bf[_0x52c6ad(0xe2)])throw Error(_0x52c6ad(0xfc));if(_0x200e31[_0x52c6ad(0x118)][_0x52c6ad(0xe5)])throw Error(_0x52c6ad(0xc9));if(!_0x200e31[_0x52c6ad(0xcf)][_0x52c6ad(0xe5)])throw Error(_0x52c6ad(0xd9));if(!Number[_0x52c6ad(0xf1)](_0x13e20c['batchSize'])||_0x13e20c[_0x52c6ad(0xc4)]<0x1||_0x13e20c[_0x52c6ad(0xc4)]>_0x3c6da5[_0x52c6ad(0xf6)])throw Error('Invalid\x20import\x20batch\x20size.');assertImportPaths(_0x13e20c[_0x52c6ad(0x110)],_0x13e20c['report']);if(_0x200e31[_0x52c6ad(0xcf)][_0x52c6ad(0x10e)](_0x5bb4bc=>Object['hasOwn'](_0x5bb4bc[_0x52c6ad(0xf5)],'id')))throw Error(_0x52c6ad(0x108));const _0x14442f=(_0x486278,_0x55b1e0)=>Buffer[_0x52c6ad(0xfe)](JSON[_0x52c6ad(0x100)]({'schemaFingerprint':_0x3c6da5[_0x52c6ad(0xf3)],'taskId':_0x55b1e0,'items':_0x486278[_0x52c6ad(0xd8)](_0x18581f=>_0x200e31[_0x52c6ad(0xcf)][_0x18581f][_0x52c6ad(0xf5)])}),_0x52c6ad(0x106)),_0x2ddda6=[];let _0x338360=[];for(let _0x3b9af7=0x0;_0x3b9af7<_0x200e31['rows'][_0x52c6ad(0xe5)];_0x3b9af7++){if(_0x14442f([_0x3b9af7],0x2**0x34)>_0x3c6da5['maxBatchBytes'])throw Error(_0x52c6ad(0xd4)+_0x200e31[_0x52c6ad(0xcf)][_0x3b9af7]['rowNumber']+_0x52c6ad(0xef));_0x338360['length']&&(_0x338360[_0x52c6ad(0xe5)]===_0x13e20c[_0x52c6ad(0xc4)]||_0x14442f([..._0x338360,_0x3b9af7],0x2**0x34)>_0x3c6da5[_0x52c6ad(0x114)])&&(_0x2ddda6[_0x52c6ad(0xff)](_0x338360),_0x338360=[]),_0x338360[_0x52c6ad(0xff)](_0x3b9af7);}if(_0x338360[_0x52c6ad(0xe5)])_0x2ddda6[_0x52c6ad(0xff)](_0x338360);const _0x589060={'appCode':_0x13e20c['appCode'],'datasetCode':_0x13e20c[_0x52c6ad(0x11e)],'runtimeDomain':_0x13e20c['runtimeDomain'],'actorId':_0x3c6da5['actorId'],'fileHash':_0x200e31[_0x52c6ad(0x116)],'mappingHash':_0x200e31[_0x52c6ad(0xd3)],'schemaHash':_0x200e31[_0x52c6ad(0xee)],'remoteSchemaHash':_0x3c6da5[_0x52c6ad(0xf3)],'batchSize':_0x13e20c[_0x52c6ad(0xc4)],'maxBatchBytes':_0x3c6da5[_0x52c6ad(0x114)],'sheet':_0x200e31['sheet'],'strategy':_0x3c6da5[_0x52c6ad(0xd5)]},_0x178ba4=await acquireLock(_0x13e20c[_0x52c6ad(0x110)]);let _0x10b0db;const _0x253f3e=Date[_0x52c6ad(0xe7)]();let _0x3e7255=0x0;const _0x2175b9=[],_0x167c49=_0xa644a2=>_0x10b0db?.['batches'][_0x52c6ad(0xc3)](_0x569c3e=>_0x569c3e[_0x52c6ad(0xea)]===_0xa644a2)[_0x52c6ad(0xf9)]((_0x3be04b,_0x3ef210)=>_0x3be04b+_0x3ef210['rowIndexes'][_0x52c6ad(0xe5)],0x0)??0x0,_0x3786a4=()=>({'importId':_0x10b0db?.[_0x52c6ad(0xc6)],'sourceRows':_0x200e31[_0x52c6ad(0xcf)][_0x52c6ad(0xe5)],'emptyRows':_0x200e31['emptyRows'][_0x52c6ad(0xe5)],'succeeded':_0x167c49(_0x52c6ad(0xcc)),'unknown':_0x167c49(_0x52c6ad(0xc7)),'conflicts':_0x167c49(_0x52c6ad(0x11d)),'notAttempted':_0x167c49('unsent'),'batches':_0x3e7255,'batchResults':_0x2175b9,'elapsedMs':Date[_0x52c6ad(0xe7)]()-_0x253f3e,'checkpoint':_0x13e20c[_0x52c6ad(0x110)],'report':_0x13e20c[_0x52c6ad(0xcd)],'warnings':_0x200e31[_0x52c6ad(0x111)]});try{if(_0x13e20c[_0x52c6ad(0xfa)]){try{_0x10b0db=JSON[_0x52c6ad(0x11c)](await readFile(_0x13e20c[_0x52c6ad(0x110)],_0x52c6ad(0x106)));}catch{throw Error(_0x52c6ad(0x117));}if(!_0x10b0db||_0x10b0db[_0x52c6ad(0xf2)]!==0x2||typeof _0x10b0db[_0x52c6ad(0xc6)]!==_0x52c6ad(0x113)||!_0x10b0db[_0x52c6ad(0xc6)]||canonical(_0x10b0db[_0x52c6ad(0xde)])!==canonical(_0x589060)||!Array[_0x52c6ad(0x10a)](_0x10b0db[_0x52c6ad(0xf0)])||_0x10b0db[_0x52c6ad(0xf0)][_0x52c6ad(0xe5)]!==_0x2ddda6['length']||new Set(_0x10b0db[_0x52c6ad(0xf0)][_0x52c6ad(0xd8)](_0x381a96=>_0x381a96[_0x52c6ad(0xf7)]))[_0x52c6ad(0x109)]!==_0x2ddda6[_0x52c6ad(0xe5)]||_0x10b0db[_0x52c6ad(0xf0)][_0x52c6ad(0x10e)]((_0x227c8f,_0x5ca1f4)=>!validId(_0x227c8f[_0x52c6ad(0xf7)])||_0x227c8f[_0x52c6ad(0xf7)]>0x2**0x34||canonical(_0x227c8f[_0x52c6ad(0xca)])!==canonical(_0x2ddda6[_0x5ca1f4])||![_0x52c6ad(0xeb),_0x52c6ad(0xc7),_0x52c6ad(0xcc),_0x52c6ad(0x11d)][_0x52c6ad(0x10b)](_0x227c8f[_0x52c6ad(0xea)])||!Array[_0x52c6ad(0x10a)](_0x227c8f[_0x52c6ad(0x115)])||_0x227c8f['ids'][_0x52c6ad(0x10e)](_0x14a8f6=>!validId(_0x14a8f6))||new Set(_0x227c8f['ids'])['size']!==_0x227c8f[_0x52c6ad(0x115)][_0x52c6ad(0xe5)]||_0x227c8f[_0x52c6ad(0x115)][_0x52c6ad(0xe5)]!==0x0&&_0x227c8f[_0x52c6ad(0x115)][_0x52c6ad(0xe5)]!==_0x227c8f['rowIndexes']['length']||_0x227c8f[_0x52c6ad(0xea)]===_0x52c6ad(0xcc)&&_0x227c8f[_0x52c6ad(0x115)][_0x52c6ad(0xe5)]!==_0x227c8f[_0x52c6ad(0xca)][_0x52c6ad(0xe5)]||_0x227c8f['status']===_0x52c6ad(0xeb)&&_0x227c8f['ids'][_0x52c6ad(0xe5)]!==0x0))throw Error(_0x52c6ad(0xcb));const _0x27e717=_0x10b0db[_0x52c6ad(0xf0)][_0x52c6ad(0x105)](_0xef34e3=>_0xef34e3[_0x52c6ad(0x115)]);if(new Set(_0x27e717)['size']!==_0x27e717[_0x52c6ad(0xe5)])throw Error(_0x52c6ad(0xc8));}else{try{await lstat(_0x13e20c['checkpoint']);throw Error(_0x52c6ad(0x102));}catch(_0x536499){if(_0x536499[_0x52c6ad(0xf8)]!==_0x52c6ad(0x11a))throw _0x536499;}const _0x18a419=new Set();_0x10b0db={'version':0x2,'importId':randomUUID(),'binding':_0x589060,'batches':_0x2ddda6[_0x52c6ad(0xd8)](_0x116b61=>{const _0x285393=_0x52c6ad;let _0x4810d0;do{_0x4810d0=Number(BigInt('0x'+randomBytes(0x7)['toString'](_0x285393(0xec)))&(0x1n<<0x34n)-0x1n)+0x1;}while(_0x18a419[_0x285393(0x119)](_0x4810d0));return _0x18a419['add'](_0x4810d0),{'taskId':_0x4810d0,'rowIndexes':_0x116b61,'ids':[],'status':_0x285393(0xeb)};})},await saveImportJson(_0x13e20c[_0x52c6ad(0x110)],_0x10b0db);}await _0x13e20c['onCheckpointReady']?.();const _0x5e342f=_0x10b0db,_0x57e9ec=async(_0x7e560a,_0x10faa6)=>{const _0x432f33=_0x52c6ad;_0x7e560a[_0x432f33(0xea)]=_0x432f33(0x11d),await saveImportJson(_0x13e20c['checkpoint'],_0x5e342f);throw Error(_0x10faa6);},_0xc773d0=async _0x4889dd=>{const _0x144af3=_0x52c6ad;let _0x4ef1c3=await _0x8f14bf[_0x144af3(0xe2)](_0x4889dd['taskId']);if(!Array[_0x144af3(0x10a)](_0x4ef1c3))throw Error(_0x144af3(0x10d));if(_0x4889dd['status']===_0x144af3(0xeb)&&_0x4ef1c3['length'])return _0x57e9ec(_0x4889dd,_0x144af3(0xfb));if(!_0x4ef1c3[_0x144af3(0xe5)]){if(_0x4889dd[_0x144af3(0xea)]===_0x144af3(0xcc)||_0x4889dd['ids'][_0x144af3(0xe5)])return _0x57e9ec(_0x4889dd,_0x144af3(0xe3));return![];}if(_0x4ef1c3[_0x144af3(0xe5)]!==_0x4889dd[_0x144af3(0xca)][_0x144af3(0xe5)])return _0x57e9ec(_0x4889dd,_0x144af3(0x10f));const _0x1b478a=_0x4ef1c3[_0x144af3(0xd8)](_0x3df06a=>_0x3df06a?.['id']);if(_0x1b478a[_0x144af3(0x10e)](_0x31a021=>!validId(_0x31a021)))return _0x57e9ec(_0x4889dd,_0x144af3(0x107));if(new Set(_0x1b478a)[_0x144af3(0x109)]!==_0x1b478a['length'])return _0x57e9ec(_0x4889dd,'Import\x20generated\x20ID\x20conflict.');const _0x5dedd7=new Map(_0x4ef1c3['map'](_0x1ae148=>[_0x1ae148['id'],_0x1ae148])),_0x544606=_0x4889dd[_0x144af3(0x115)]['length']?[..._0x4889dd[_0x144af3(0x115)]]:[..._0x1b478a][_0x144af3(0xf4)]((_0x37c25f,_0x5d13cf)=>_0x37c25f-_0x5d13cf);if(_0x544606[_0x144af3(0x10e)](_0x20671f=>!validId(_0x20671f))||_0x544606[_0x144af3(0x10e)]((_0x16884a,_0x184ed6)=>_0x184ed6>0x0&&_0x16884a<=_0x544606[_0x184ed6-0x1])||_0x544606[_0x144af3(0x10e)](_0x4eddfa=>!_0x5dedd7[_0x144af3(0x119)](_0x4eddfa)))return _0x57e9ec(_0x4889dd,'Import\x20generated\x20ID\x20conflict.');_0x4ef1c3=_0x544606[_0x144af3(0xd8)](_0x4e6ecf=>_0x5dedd7[_0x144af3(0xed)](_0x4e6ecf));const _0x524085=new Set(_0x5e342f[_0x144af3(0xf0)]['filter'](_0x1c34b2=>_0x1c34b2!==_0x4889dd)[_0x144af3(0x105)](_0x3420ce=>_0x3420ce[_0x144af3(0x115)]));if(_0x544606[_0x144af3(0x10e)](_0x3a38bc=>_0x524085[_0x144af3(0x119)](_0x3a38bc)))return _0x57e9ec(_0x4889dd,'Import\x20generated\x20ID\x20collision.');for(let _0x300716=0x0;_0x300716<_0x4ef1c3[_0x144af3(0xe5)];_0x300716++){const _0x274086=_0x200e31[_0x144af3(0xcf)][_0x4889dd[_0x144af3(0xca)][_0x300716]][_0x144af3(0xf5)];if(Object[_0x144af3(0xd0)](_0x274086)['some'](_0x44d64c=>!sameImportValue(_0x274086[_0x44d64c],_0x4ef1c3[_0x300716][_0x44d64c],_0x200e31[_0x144af3(0xe9)]?.[_0x144af3(0x10b)](_0x44d64c)&&!_0x200e31[_0x144af3(0xfd)]?.[_0x144af3(0x10b)](_0x44d64c))))return _0x57e9ec(_0x4889dd,_0x144af3(0xe6)+_0x200e31[_0x144af3(0xcf)][_0x4889dd[_0x144af3(0xca)][_0x300716]][_0x144af3(0x104)]+'.');}return _0x4889dd['ids']=_0x544606,_0x4889dd[_0x144af3(0xea)]=_0x144af3(0xcc),await saveImportJson(_0x13e20c['checkpoint'],_0x5e342f),!![];};if(_0x5e342f[_0x52c6ad(0xf0)][_0x52c6ad(0x10e)](_0x31cdd4=>_0x31cdd4[_0x52c6ad(0xea)]===_0x52c6ad(0x11d)&&!(_0x13e20c[_0x52c6ad(0xfa)]&&_0x13e20c[_0x52c6ad(0xe4)]&&_0x200e31[_0x52c6ad(0xe9)]?.['length']&&_0x31cdd4[_0x52c6ad(0x115)]['length']===_0x31cdd4[_0x52c6ad(0xca)][_0x52c6ad(0xe5)])))throw Error('Import\x20checkpoint\x20contains\x20a\x20content\x20conflict.');if(_0x13e20c['resume']){for(const _0x329deb of _0x5e342f[_0x52c6ad(0xf0)])await _0xc773d0(_0x329deb);}for(const _0x454a63 of _0x5e342f[_0x52c6ad(0xf0)]){if(_0x454a63['status']===_0x52c6ad(0xcc))continue;if(!_0x13e20c[_0x52c6ad(0xfa)])await _0xc773d0(_0x454a63);_0x454a63[_0x52c6ad(0xea)]=_0x52c6ad(0xc7),await saveImportJson(_0x13e20c[_0x52c6ad(0x110)],_0x5e342f),_0x3e7255++;const _0x22e8e2=_0x454a63['rowIndexes'][_0x52c6ad(0xd8)](_0x507441=>_0x200e31[_0x52c6ad(0xcf)][_0x507441][_0x52c6ad(0xf5)]),_0x5a23dd=Date[_0x52c6ad(0xe7)](),_0x27b1eb={'batch':_0x3e7255,'rowStart':_0x200e31['rows'][_0x454a63[_0x52c6ad(0xca)][0x0]][_0x52c6ad(0x104)],'rowEnd':_0x200e31[_0x52c6ad(0xcf)][_0x454a63[_0x52c6ad(0xca)]['at'](-0x1)][_0x52c6ad(0x104)],'count':_0x22e8e2[_0x52c6ad(0xe5)],'bytes':_0x14442f(_0x454a63[_0x52c6ad(0xca)],_0x454a63[_0x52c6ad(0xf7)]),'elapsedMs':0x0,'status':'unknown'};_0x2175b9[_0x52c6ad(0xff)](_0x27b1eb);try{const _0x31a48a=await _0x8f14bf[_0x52c6ad(0xc5)](_0x22e8e2,_0x454a63[_0x52c6ad(0xf7)]);if(!_0x31a48a||_0x31a48a[_0x52c6ad(0x11b)]!==_0x22e8e2[_0x52c6ad(0xe5)]||!Array[_0x52c6ad(0x10a)](_0x31a48a[_0x52c6ad(0x115)])||_0x31a48a[_0x52c6ad(0x115)]['length']!==_0x22e8e2[_0x52c6ad(0xe5)]||_0x31a48a[_0x52c6ad(0x115)][_0x52c6ad(0x10e)](_0x17fc9f=>!validId(_0x17fc9f))||new Set(_0x31a48a[_0x52c6ad(0x115)])[_0x52c6ad(0x109)]!==_0x31a48a[_0x52c6ad(0x115)]['length'])throw Error('Invalid\x20write\x20result.');_0x454a63[_0x52c6ad(0x115)]=_0x31a48a['ids'],await saveImportJson(_0x13e20c[_0x52c6ad(0x110)],_0x5e342f);if(!await _0xc773d0(_0x454a63))throw Error(_0x52c6ad(0xd2));}catch(_0x45f24a){if(_0x454a63['status']===_0x52c6ad(0x11d))throw _0x45f24a;try{await _0xc773d0(_0x454a63);}catch(_0x2d75e1){if(_0x454a63['status']===_0x52c6ad(0x11d))throw _0x2d75e1;}if(_0x454a63[_0x52c6ad(0xea)]!==_0x52c6ad(0xcc))throw Error('The\x20import\x20write\x20outcome\x20is\x20unknown.\x20Resume\x20to\x20reconcile\x20the\x20original\x20task\x20marker\x20before\x20continuing.');}finally{_0x27b1eb['elapsedMs']=Date[_0x52c6ad(0xe7)]()-_0x5a23dd,_0x27b1eb['status']=_0x454a63[_0x52c6ad(0xea)]===_0x52c6ad(0xcc)?'succeeded':_0x454a63['status']==='conflict'?_0x52c6ad(0x11d):_0x52c6ad(0x101);}}const _0x4f4086={'status':_0x52c6ad(0xe1),..._0x3786a4()};return await saveImportJson(_0x13e20c['report'],_0x4f4086),_0x4f4086;}catch(_0x570050){if(_0x10b0db)await saveImportJson(_0x13e20c[_0x52c6ad(0xcd)],{'status':'incomplete',..._0x3786a4(),'message':_0x570050['message']});throw _0x570050;}finally{await _0x178ba4();}}function a143_0x1f01(){const _0x55d4e8=['7CPMNRB','binding','9IDXvwi','5949251gkwgZx','completed','readTask','Previously\x20imported\x20records\x20are\x20no\x20longer\x20visible;\x20recovery\x20conflict.','reconcileImageConflicts','length','Import\x20content\x20conflict\x20at\x20Excel\x20row\x20','now','696216JDPFdV','imageFields','status','unsent','hex','get','schemaHash','\x20exceeds\x20the\x20import\x20request\x20size\x20limit.','batches','isInteger','version','schemaFingerprint','sort','values','maxBatchSize','taskId','code','reduce','resume','Import\x20task\x20marker\x20collision;\x20stop\x20without\x20replacing\x20the\x20marker.','The\x20auto-ID\x20runner\x20requires\x20the\x20v2\x20task\x20readback\x20contract.','uploadFields','byteLength','push','stringify','unknown','Import\x20checkpoint\x20already\x20exists;\x20use\x20--resume.','10niSmMg','rowNumber','flatMap','utf8','Import\x20generated\x20ID\x20conflict.','Auto-ID\x20import\x20items\x20cannot\x20contain\x20a\x20primary\x20key.','size','isArray','includes','appCode','Invalid\x20import\x20task\x20readback\x20response.','some','Partial\x20import\x20task\x20readback\x20conflict.','checkpoint','warnings','isSafeInteger','string','maxBatchBytes','ids','fileHash','Cannot\x20read\x20the\x20import\x20checkpoint.','errors','has','ENOENT','count','parse','conflict','datasetCode','filter','batchSize','write','importId','pending','Import\x20checkpoint\x20contains\x20duplicate\x20generated\x20IDs.','Excel\x20contains\x20invalid\x20rows;\x20no\x20data\x20was\x20written.','rowIndexes','Import\x20checkpoint\x20does\x20not\x20match\x20the\x20input,\x20target\x20or\x20identity.','succeeded','report','schemaVersion','rows','keys','1894215xhzDFI','Incomplete\x20readback.','mappingHash','Excel\x20row\x20','strategy','146102thKJVB','4817560dftuLS','map','Excel\x20contains\x20no\x20valid\x20data\x20rows.','5150096PaVule','10lXcOAo','8201322tmbrYu'];a143_0x1f01=function(){return _0x55d4e8;};return a143_0x1f01();}