@lovrabet/lovrabet-cli 2.3.10 → 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(_0x3e8187,_0xed24ee){const _0x176911=a128_0x588b,_0x3e4b0a=_0x3e8187();while(!![]){try{const _0x54be3c=parseInt(_0x176911(0x201))/0x1*(parseInt(_0x176911(0x207))/0x2)+-parseInt(_0x176911(0x1ce))/0x3+parseInt(_0x176911(0x1f3))/0x4+-parseInt(_0x176911(0x1c8))/0x5*(parseInt(_0x176911(0x1ff))/0x6)+parseInt(_0x176911(0x1f0))/0x7+-parseInt(_0x176911(0x1d6))/0x8*(parseInt(_0x176911(0x1da))/0x9)+parseInt(_0x176911(0x1db))/0xa;if(_0x54be3c===_0xed24ee)break;else _0x3e4b0a['push'](_0x3e4b0a['shift']());}catch(_0x5c4f12){_0x3e4b0a['push'](_0x3e4b0a['shift']());}}}(a128_0x4dc2,0xbdfd2));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';function a128_0x4dc2(){const _0x591f7e=['doctor','apiDomain','../core/sdk-client.js','requiresAuth','production','6puTklA','string','482892LifcAI','nonInteractive','runtimeDomain','update','trim','appcode','2xdERtt','confirmHighRisk','authRequired','cli-skill','risk','../commands/app/remote-source.js','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','../core/api-client.js','execute','\x20\x20To\x20proceed:\x20','schema','validation','6147095fnCxXb','command','app','ClientAk','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','newConfigFileName','2812470VHYizP','mergedCli','nativeToolRequired','env','isNonInteractive','rawFlags','pretty','configMissing','2268424GkShHZ','nativeToolAvailable','ACCESS_KEY','High-risk\x20operation\x20`','18agAbLr','23861340aEwcfw','includes','format','.appcode\x20to\x20','service','cancelled','pageSize','currentApp','accessKeySource','\x20or\x20pass\x20','Run\x20`','appCodeSource','requiresAppCode','_notice','riskLevel','Unknown\x20app:\x20','defaultApp','local-alias','Set\x20accessKey\x20in\x20','items','appCode','2396954tPLSYH','write','resolve','1203044obNLNt','accessKey','filter','error','object','verbose','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a'];a128_0x4dc2=function(){return _0x591f7e;};return a128_0x4dc2();}import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x49e6a8){const _0x563042=a128_0x588b;return void _0x49e6a8,AUTH_MODE[_0x563042(0x1cb)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x25dca1,_0x23ed34){const _0x5900f2=a128_0x588b;return{'rawFlags':_0x23ed34,'appCode':_0x25dca1[_0x5900f2(0x1ef)],'appCodeSource':_0x25dca1[_0x5900f2(0x1e6)],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x23ed34),'defaultFormat':_0x25dca1[_0x5900f2(0x1dd)],'defaultPageSize':_0x25dca1[_0x5900f2(0x1e1)],'defaultVerbose':_0x25dca1[_0x5900f2(0x1f8)],'riskLevel':_0x25dca1[_0x5900f2(0x1e9)],'nativeToolAvailable':_0x25dca1[_0x5900f2(0x1d7)],'accessKey':_0x25dca1['accessKey'],'accessKeySource':_0x25dca1[_0x5900f2(0x1e3)],'env':_0x25dca1[_0x5900f2(0x1d1)],'mergedCli':{'defaultApp':_0x25dca1[_0x5900f2(0x1eb)],'currentApp':_0x25dca1['currentApp'],'appCode':_0x25dca1[_0x5900f2(0x1ef)]}};}export function createLovrabetRunnerAdapter(_0x4d5cd8={}){const _0x454ab1=a128_0x588b,_0x12c3f2={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x454ab1(0x1f5)](_0x4b477c=>PIPELINE_FLAG_NAMES['has'](_0x4b477c['name']))['map'](({name:_0x1abb9d,type:_0x58548a,description:_0x182eb7})=>({'name':_0x1abb9d,'type':_0x58548a,'description':_0x182eb7})),'formatOutput':_0x4d5cd8['formatOutput']??formatOutput,'getCommandLabel'(_0x593aba){const _0x1102e3=_0x454ab1;return CLI_BIN_NAME+'\x20'+_0x593aba[_0x1102e3(0x1df)]+'\x20'+_0x593aba[_0x1102e3(0x1c9)];},'riskPolicy':{'onViolation'(_0x1b260b,{def:_0x1289b2,env:_0x18408e}){const _0x2369fd=_0x454ab1;if(shouldRouteWriteToNativeTool(_0x1289b2,_0x18408e))return;console[_0x2369fd(0x1f6)](_0x1b260b);},'createError'(_0x56c80b,{def:_0x1d20cc,env:_0x3a54fe}){const _0x1551e0=_0x454ab1;if(shouldRouteWriteToNativeTool(_0x1d20cc,_0x3a54fe))return CliErrors[_0x1551e0(0x1d0)](CLI_BIN_NAME+'\x20'+_0x1d20cc[_0x1551e0(0x1df)]+'\x20'+_0x1d20cc[_0x1551e0(0x1c9)]);return CliErrors[_0x1551e0(0x1e0)](_0x56c80b);}},async 'prepare'(_0x20e887,_0x16680b){const _0x4084ac=_0x454ab1,_0x396d16=resolveAuthMode(_0x16680b);if(_0x20e887[_0x4084ac(0x1fd)]!==![]){if(!_0x16680b['accessKey'])throw CliErrors[_0x4084ac(0x209)](_0x4084ac(0x1ed)+PRODUCT_CONFIG[_0x4084ac(0x1cd)]+_0x4084ac(0x1e4)+productEnvName(_0x4084ac(0x1d8))+'.');const {setActiveAK:_0x1ba10c}=await import(_0x4084ac(0x20e));_0x1ba10c(_0x16680b[_0x4084ac(0x1f4)]);}if(_0x20e887['service']==='schedule')requireHarnessDomain();let _0x1e7b4a='';if(_0x20e887[_0x4084ac(0x1e7)]!==![]){_0x1e7b4a=_0x16680b[_0x4084ac(0x1ef)]??'',_0x1e7b4a=await resolveExplicitAppName(_0x20e887,_0x16680b,_0x1e7b4a);if(!_0x1e7b4a){await assertSelectedAppNameIsRuntimeAccessible(_0x20e887,_0x16680b);throw CliErrors[_0x4084ac(0x1d5)](_0x4084ac(0x20d)+PRODUCT_CONFIG['newConfigFileName']+'.');}await assertAppCodeIsRuntimeAccessible(_0x20e887,_0x16680b,_0x1e7b4a);}if(_0x1e7b4a){const {initSdkClient:_0x3cc6bd}=await import(_0x4084ac(0x1fc));_0x3cc6bd({'appCode':_0x1e7b4a,'env':_0x16680b[_0x4084ac(0x1d1)]??_0x4084ac(0x1fe),'runtimeDomain':_0x16680b[_0x4084ac(0x203)],'accessKey':_0x16680b['accessKey'],'authMode':_0x396d16}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x16680b['defaultVerbose']},'numbers':{'pagesize':_0x16680b['defaultPageSize']}},'extras':{'appCode':_0x1e7b4a,'cookie':'','apiDomain':_0x16680b[_0x4084ac(0x1fb)],'apiDir':'','accessKey':_0x16680b['accessKey'],'envName':_0x16680b[_0x4084ac(0x1d1)],'accessKeySource':_0x16680b[_0x4084ac(0x1e3)],'mergedCli':_0x16680b['mergedCli']}};},'confirmHighRisk':_0x4d5cd8[_0x454ab1(0x208)]??(async({def:_0x116a46,env:_0x323d8a,flags:_0x4ee21c,commandLabel:_0x55723a})=>{const _0x2c0e46=_0x454ab1;if(_0x323d8a[_0x2c0e46(0x1d2)]){const _0x2a2c4a=reconstructCommandArgv(_0x116a46,_0x4ee21c);throw CliErrors['validation'](_0x2c0e46(0x1d9)+_0x55723a+_0x2c0e46(0x1f9)+(_0x2c0e46(0x210)+_0x2a2c4a));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x116a46,_0x55723a,_0x4ee21c),'createCancelledError':_0x45e128=>CliErrors[_0x2c0e46(0x1e0)](_0x45e128)});}),'mapDryRunError'(_0x468a1a){return mapUserFacingExecuteError(_0x468a1a);},'mapExecuteError'(_0x1e1018){return mapUserFacingExecuteError(_0x1e1018);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x12c3f2;}function shouldRouteWriteToNativeTool(_0x2e9de6,_0x4254e9){const _0x376cbd=a128_0x588b;return _0x4254e9[_0x376cbd(0x1d7)]===!![]&&(_0x2e9de6['risk']===_0x376cbd(0x1f1)||_0x2e9de6[_0x376cbd(0x20b)]==='high-risk-write');}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x108594=a128_0x588b;try{if(sdkClientInitialized){const {clearSdkClient:_0x54bfb2}=await import(_0x108594(0x1fc));_0x54bfb2();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x52823d}=await import(_0x108594(0x20e));_0x52823d();}}async function resolveExplicitAppName(_0x2ce0a6,_0x48a4c2,_0x2bd2e5){const _0x3fab78=a128_0x588b;if(_0x2ce0a6[_0x3fab78(0x1e7)]===![])return _0x2bd2e5;const _0x285489=typeof _0x48a4c2[_0x3fab78(0x1d3)]['app']===_0x3fab78(0x200)?_0x48a4c2[_0x3fab78(0x1d3)]['app'][_0x3fab78(0x205)]():'';if(!_0x285489)return _0x2bd2e5;const _0x4c6424=typeof _0x48a4c2[_0x3fab78(0x1d3)]['appcode']===_0x3fab78(0x200)&&_0x48a4c2['rawFlags'][_0x3fab78(0x206)][_0x3fab78(0x205)]();if(_0x4c6424||_0x48a4c2['appCodeSource']===_0x3fab78(0x1ec))return _0x2bd2e5;const {getRemoteAppList:_0x3391df}=await import('../commands/app/remote-source.js'),_0x3eb848=await _0x3391df({'env':_0x48a4c2[_0x3fab78(0x1d1)]??_0x3fab78(0x1fe),'accessKey':_0x48a4c2[_0x3fab78(0x1f4)]}),_0x130281=findAppByName(_0x3eb848[_0x3fab78(0x1ee)],_0x285489);if(_0x130281&&!isRuntimeAccessibleApp(_0x130281))throw runtimeInaccessibleAppError(_0x130281,'\x22'+_0x285489+'\x22');const _0x571ef0=_0x130281?.[_0x3fab78(0x1ef)]?.[_0x3fab78(0x205)]();if(_0x571ef0)return _0x571ef0;throw CliErrors[_0x3fab78(0x212)](_0x3fab78(0x1ea)+_0x285489,_0x3fab78(0x1e5)+CLI_BIN_NAME+_0x3fab78(0x1cc)+_0x285489+_0x3fab78(0x1de)+PRODUCT_CONFIG[_0x3fab78(0x1cd)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x168482,_0x1851b6){const _0xdd428d=a128_0x588b;if(_0x168482[_0xdd428d(0x1e7)]===![]||!_0x1851b6[_0xdd428d(0x1f4)])return;const _0x43943a=(typeof _0x1851b6[_0xdd428d(0x1d3)][_0xdd428d(0x1ca)]===_0xdd428d(0x200)&&_0x1851b6[_0xdd428d(0x1d3)][_0xdd428d(0x1ca)]['trim']()?_0x1851b6[_0xdd428d(0x1d3)][_0xdd428d(0x1ca)]:_0x1851b6[_0xdd428d(0x1cf)]?.[_0xdd428d(0x1e2)]??_0x1851b6[_0xdd428d(0x1cf)]?.['defaultApp'])?.[_0xdd428d(0x205)]();if(!_0x43943a)return;const {getRemoteAppList:_0x4b6090}=await import('../commands/app/remote-source.js'),_0x566c0c=await _0x4b6090({'env':_0x1851b6[_0xdd428d(0x1d1)]??'production','accessKey':_0x1851b6[_0xdd428d(0x1f4)]}),_0xbbed3e=findAppByName(_0x566c0c['items'],_0x43943a);if(_0xbbed3e&&!isRuntimeAccessibleApp(_0xbbed3e))throw runtimeInaccessibleAppError(_0xbbed3e,'\x22'+_0x43943a+'\x22');}function a128_0x588b(_0x33ad0e,_0x118b3f){_0x33ad0e=_0x33ad0e-0x1c8;const _0x4dc2e6=a128_0x4dc2();let _0x588bcf=_0x4dc2e6[_0x33ad0e];return _0x588bcf;}async function assertAppCodeIsRuntimeAccessible(_0x749ffb,_0x16be7b,_0x1b72d5){const _0x4208ef=a128_0x588b;if(_0x749ffb['requiresAppCode']===![]||!_0x16be7b[_0x4208ef(0x1f4)])return;const {getRemoteAppList:_0x314de9}=await import(_0x4208ef(0x20c)),_0x1e3a7f=await _0x314de9({'env':_0x16be7b[_0x4208ef(0x1d1)]??_0x4208ef(0x1fe),'accessKey':_0x16be7b['accessKey']}),_0x273a73=findAppByCode(_0x1e3a7f[_0x4208ef(0x1ee)],_0x1b72d5);if(_0x273a73&&!isRuntimeAccessibleApp(_0x273a73))throw runtimeInaccessibleAppError(_0x273a73,'appcode\x20\x22'+_0x1b72d5+'\x22');}export async function runCommand(_0x1a610b,_0x2fb4d9,_0x2cb527=terminalRunnerAdapter){const _0x296374=a128_0x588b;assertKnownCommandFlags(_0x1a610b,_0x2fb4d9[_0x296374(0x1d3)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x1a610b)?withVersionPolicy(_0x1a610b):_0x1a610b,_0x2fb4d9,_0x2cb527);}function shouldApplyVersionPolicy(_0x50bad9){const _0x3854d3=a128_0x588b;if([_0x3854d3(0x204),_0x3854d3(0x211),_0x3854d3(0x1fa)][_0x3854d3(0x1dc)](_0x50bad9[_0x3854d3(0x1df)]))return![];return!(_0x50bad9[_0x3854d3(0x1df)]===_0x3854d3(0x20a)&&_0x50bad9['command']==='install');}function withVersionPolicy(_0x283e30){return{..._0x283e30,async 'execute'(_0x52d55d){const _0x20aee3=a128_0x588b,_0x1c927b=await checkCliVersion();assertCliVersionSupported(_0x1c927b);const _0x58a40f=shouldResolveUpdateNotice(_0x52d55d)?resolveLatestUpdateNotice(_0x1c927b)['catch'](()=>null):Promise[_0x20aee3(0x1f2)](null),_0x30101c=await _0x283e30[_0x20aee3(0x20f)](_0x52d55d);return attachUpdateNotice(_0x30101c,await _0x58a40f);}};}function shouldResolveUpdateNotice(_0x2e6f76){const _0x1c959c=a128_0x588b;return _0x2e6f76[_0x1c959c(0x1dd)]===_0x1c959c(0x1d4)&&!_0x2e6f76[_0x1c959c(0x202)];}function attachUpdateNotice(_0x234ae0,_0x1ac814){const _0x23c42f=a128_0x588b;if(!_0x1ac814||!_0x234ae0||typeof _0x234ae0!==_0x23c42f(0x1f7))return _0x234ae0;const _0x38d7b4=_0x234ae0,_0x52e6e7=typeof _0x38d7b4['_notice']===_0x23c42f(0x1f7)&&_0x38d7b4[_0x23c42f(0x1e8)]!==null?_0x38d7b4[_0x23c42f(0x1e8)]:{};return{..._0x38d7b4,'_notice':{..._0x52e6e7,'update':_0x1ac814}};}
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_0x44b0(_0x3a4c0d,_0x230d20){_0x3a4c0d=_0x3a4c0d-0x1c4;const _0x6eb3ec=a129_0x6eb3();let _0x44b089=_0x6eb3ec[_0x3a4c0d];return _0x44b089;}(function(_0x1cc109,_0x1c21b0){const _0x3b89e6=a129_0x44b0,_0x5e9790=_0x1cc109();while(!![]){try{const _0xd76e3b=-parseInt(_0x3b89e6(0x1d5))/0x1*(parseInt(_0x3b89e6(0x1ce))/0x2)+parseInt(_0x3b89e6(0x1c5))/0x3+-parseInt(_0x3b89e6(0x1cc))/0x4*(parseInt(_0x3b89e6(0x1d1))/0x5)+-parseInt(_0x3b89e6(0x1ca))/0x6+-parseInt(_0x3b89e6(0x1c7))/0x7+parseInt(_0x3b89e6(0x1c6))/0x8+parseInt(_0x3b89e6(0x1d0))/0x9;if(_0xd76e3b===_0x1c21b0)break;else _0x5e9790['push'](_0x5e9790['shift']());}catch(_0x89df39){_0x5e9790['push'](_0x5e9790['shift']());}}}(a129_0x6eb3,0xe29fe));import{buildSchemaPayload as a129_0x37fb66}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';function a129_0x6eb3(){const _0x323a3e=['service','auth','has','3favUEF','commands','filter','2907255WzALIY','2521792AsUYFm','3617383iHAdPv','none','../commands/registry.js','1570692rEnEAG','services','919824TKRlzD','map','911566QJCsfG','requiresAuth','28526229ASgoNl','30WBrVpl'];a129_0x6eb3=function(){return _0x323a3e;};return a129_0x6eb3();}export async function buildSchemaPayload(){const _0x45738b=a129_0x44b0,{serviceRegistry:_0x49c619,findDefinition:_0xf05ad2}=await import(_0x45738b(0x1c9)),_0x4c62a4=new Set(_0x49c619[_0x45738b(0x1cd)](_0x12355d=>_0x12355d[_0x45738b(0x1d2)])),_0x53dc2b=listDynamicServiceEntries()[_0x45738b(0x1c4)](_0x3a0075=>!_0x4c62a4[_0x45738b(0x1d4)](_0x3a0075[_0x45738b(0x1d2)])),_0x12a02f=a129_0x37fb66({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x49c619,_0x53dc2b),'buildAllFlags':buildAllFlags,'findDefinition':(_0x44d1b7,_0x5a8fdf)=>_0xf05ad2(_0x44d1b7,_0x5a8fdf)??findDynamicServiceDefinition(_0x44d1b7,_0x5a8fdf)});return normalizeSchemaPayload(_0x12a02f);}function normalizeSchemaPayload(_0x3813b3){const _0x36d0d9=a129_0x44b0;return{..._0x3813b3,'schemaVersion':0x2,'services':_0x3813b3[_0x36d0d9(0x1cb)][_0x36d0d9(0x1cd)](_0x1777c7=>({..._0x1777c7,'commands':_0x1777c7[_0x36d0d9(0x1d6)][_0x36d0d9(0x1cd)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x52b3ba){const _0x253afe=a129_0x44b0,_0x346b2c=_0x52b3ba;return{..._0x52b3ba,'auth':_0x346b2c[_0x253afe(0x1d3)]??(_0x52b3ba[_0x253afe(0x1cf)]?'required':_0x253afe(0x1c8))};}
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(_0x519f9f,_0xe5604c){const _0x3beb4a=a130_0x19b0,_0x4a2288=_0x519f9f();while(!![]){try{const _0x3cdcdb=-parseInt(_0x3beb4a(0x119))/0x1*(-parseInt(_0x3beb4a(0x120))/0x2)+parseInt(_0x3beb4a(0x11e))/0x3*(parseInt(_0x3beb4a(0x122))/0x4)+parseInt(_0x3beb4a(0x11d))/0x5+-parseInt(_0x3beb4a(0x11c))/0x6*(-parseInt(_0x3beb4a(0x118))/0x7)+parseInt(_0x3beb4a(0x11b))/0x8+parseInt(_0x3beb4a(0x11a))/0x9+-parseInt(_0x3beb4a(0x11f))/0xa;if(_0x3cdcdb===_0xe5604c)break;else _0x4a2288['push'](_0x4a2288['shift']());}catch(_0x1ff63d){_0x4a2288['push'](_0x4a2288['shift']());}}}(a130_0x19ff,0x29696));function a130_0x19ff(){const _0xe5cd20=['8WNMsHE','7LlisXn','24099YpVwqR','2306853AFDBdy','2666056SAToMn','99798ULFjEM','46365CCRUJa','122289pJTaRM','8406710vyDPvP','26bDpKAU','service'];a130_0x19ff=function(){return _0xe5cd20;};return a130_0x19ff();}function a130_0x19b0(_0x2f5306,_0x2f49b8){_0x2f5306=_0x2f5306-0x118;const _0x19ff02=a130_0x19ff();let _0x19b065=_0x19ff02[_0x2f5306];return _0x19b065;}export function insertDynamicServicesAfterServiceTree(_0x43fd22,_0x1229cf){const _0x28c340=a130_0x19b0;if(_0x1229cf['length']===0x0)return[..._0x43fd22];const _0x2e1815=_0x43fd22['findIndex'](_0x1bba06=>_0x1bba06[_0x28c340(0x121)]===_0x28c340(0x121));if(_0x2e1815<0x0)return[..._0x43fd22,..._0x1229cf];return[..._0x43fd22['slice'](0x0,_0x2e1815+0x1),..._0x1229cf,..._0x43fd22['slice'](_0x2e1815+0x1)];}
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 a131_0xb759(_0xa5da3c,_0x375df3){_0xa5da3c=_0xa5da3c-0x1a6;var _0x2ce196=a131_0x2ce1();var _0xb7596a=_0x2ce196[_0xa5da3c];return _0xb7596a;}function a131_0x2ce1(){var _0x4f0820=['41yBAsmm','2850DxCBAw','27104WoRVGb','9TxOXeT','6082040IiNEIl','203mLTuQf','39454cjbraY','17285412MxMjQz','41046bOVGwB','93084dWpkPJ','148QimeYj','1462030fXNajo'];a131_0x2ce1=function(){return _0x4f0820;};return a131_0x2ce1();}(function(_0x66db05,_0x5c1e8a){var _0x33c845=a131_0xb759,_0xf3f2d7=_0x66db05();while(!![]){try{var _0x43bb6c=-parseInt(_0x33c845(0x1a6))/0x1*(parseInt(_0x33c845(0x1ac))/0x2)+-parseInt(_0x33c845(0x1ae))/0x3*(-parseInt(_0x33c845(0x1b0))/0x4)+parseInt(_0x33c845(0x1b1))/0x5+-parseInt(_0x33c845(0x1af))/0x6*(-parseInt(_0x33c845(0x1ab))/0x7)+-parseInt(_0x33c845(0x1aa))/0x8*(-parseInt(_0x33c845(0x1a9))/0x9)+-parseInt(_0x33c845(0x1a7))/0xa*(-parseInt(_0x33c845(0x1a8))/0xb)+-parseInt(_0x33c845(0x1ad))/0xc;if(_0x43bb6c===_0x5c1e8a)break;else _0xf3f2d7['push'](_0xf3f2d7['shift']());}catch(_0x286464){_0xf3f2d7['push'](_0xf3f2d7['shift']());}}}(a131_0x2ce1,0x70bd7));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";
2
- export declare const GIT_TAG = "v2.3.10";
3
- export declare const GIT_COMMIT = "f357e2c";
4
- export declare const BUILD_TIME = "2026-11-05T09:36:03.366Z";
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_0xcda6(_0x2cfc43,_0x2adf0f){_0x2cfc43=_0x2cfc43-0x67;const _0x1419c6=a132_0x1419();let _0xcda6fc=_0x1419c6[_0x2cfc43];return _0xcda6fc;}function a132_0x1419(){const _0x186169=['92248jFFMcM','v2.3.10','5005640obBZgW','18966PfMPAc','2.3.10','f357e2c','3598kPDJBT','15321912lHtgWU','5846068UpJSHS','2026-11-05T09:36:03.366Z','419974wZOPHh','15bvKQcz','45219384VcQcHM'];a132_0x1419=function(){return _0x186169;};return a132_0x1419();}const a132_0x43e3de=a132_0xcda6;(function(_0x2a1660,_0x544b6c){const _0x3ca778=a132_0xcda6,_0x2c2432=_0x2a1660();while(!![]){try{const _0x290338=parseInt(_0x3ca778(0x6a))/0x1+-parseInt(_0x3ca778(0x67))/0x2*(parseInt(_0x3ca778(0x68))/0x3)+parseInt(_0x3ca778(0x72))/0x4+-parseInt(_0x3ca778(0x6c))/0x5+parseInt(_0x3ca778(0x6d))/0x6*(-parseInt(_0x3ca778(0x70))/0x7)+-parseInt(_0x3ca778(0x71))/0x8+parseInt(_0x3ca778(0x69))/0x9;if(_0x290338===_0x544b6c)break;else _0x2c2432['push'](_0x2c2432['shift']());}catch(_0x2b3a8f){_0x2c2432['push'](_0x2c2432['shift']());}}}(a132_0x1419,0xf0fcd));export const VERSION=a132_0x43e3de(0x6e);export const GIT_TAG=a132_0x43e3de(0x6b);export const GIT_COMMIT=a132_0x43e3de(0x6f);export const BUILD_TIME=a132_0x43e3de(0x73);
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_0x189a6f=a133_0x31cb;(function(_0x51845a,_0x1815d1){const _0x441168=a133_0x31cb,_0x172e93=_0x51845a();while(!![]){try{const _0x51afbf=parseInt(_0x441168(0x95))/0x1+parseInt(_0x441168(0xaa))/0x2+parseInt(_0x441168(0xa4))/0x3*(-parseInt(_0x441168(0x9e))/0x4)+-parseInt(_0x441168(0x92))/0x5*(parseInt(_0x441168(0xa0))/0x6)+parseInt(_0x441168(0xa7))/0x7*(parseInt(_0x441168(0x88))/0x8)+-parseInt(_0x441168(0x97))/0x9*(-parseInt(_0x441168(0x9d))/0xa)+-parseInt(_0x441168(0xa3))/0xb;if(_0x51afbf===_0x1815d1)break;else _0x172e93['push'](_0x172e93['shift']());}catch(_0x2e33b5){_0x172e93['push'](_0x172e93['shift']());}}}(a133_0x2581,0x1ca96));export const ROUTING_CATALOG_DIGEST=a133_0x189a6f(0xa5);export const DEFAULT_REGION='cn';function a133_0x2581(){const _0xe382f0=['https://runtime.lovrabet.id','https://kb-service.lovrabet.ai','https://user-daily.lovrabet.com','https://skills-daily.lovrabet.com','https://skills.lovrabet.ai','https://skills-daily.lovrabet.ai','https://user.lovrabet.ai','https://sandbox-api-daily.lovrabet.com','910vTcZSU','https://api.lovrabet.com','https://sandbox-api.lovrabet.id','23436gBYpzF','https://user-daily.lovrabet.ai','9rjLMUH','https://runtime.lovrabet.ai','https://user.lovrabet.id','https://daily-runtime.lovrabet.com','https://sandbox-api.lovrabet.ai','https://skills.lovrabet.id','82020WypXRK','120xRfTjB','https://api.lovrabet.ai','1632AUuJGd','indonesia','Mainland\x20China','960300cmnXcD','4293PkgZPq','19bc6dd7c8de7d4ef260bc553e38e63b268d7cd3f535fd1933132eb7ac3c5b52','https://kb-service.lovrabet.com','1246EjsnXH','https://daily-runtime.lovrabet.ai','https://daily-api.lovrabet.com','338392SkMUEq','https://api.lovrabet.id','https://user.lovrabet.com','Global','4328optXFa','https://daily-api.lovrabet.ai'];a133_0x2581=function(){return _0xe382f0;};return a133_0x2581();}export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id','global'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a133_0x189a6f(0xa2),'aliases':['china'],'serviceDomains':{'production':{'user':a133_0x189a6f(0xac),'api':a133_0x189a6f(0x93),'runtime':'https://runtime.lovrabet.com','skill':'https://skills.lovrabet.com','kbService':a133_0x189a6f(0xa6),'harness':'https://sandbox-api.lovrabet.com'},'daily':{'user':a133_0x189a6f(0x8c),'api':a133_0x189a6f(0xa9),'runtime':a133_0x189a6f(0x9a),'skill':a133_0x189a6f(0x8d),'kbService':'https://kb-service-daily.lovrabet.com','harness':a133_0x189a6f(0x91)}}},'id':{'enabled':!![],'label':'Indonesia','aliases':[a133_0x189a6f(0xa1)],'serviceDomains':{'production':{'user':a133_0x189a6f(0x99),'api':a133_0x189a6f(0xab),'runtime':a133_0x189a6f(0x8a),'skill':a133_0x189a6f(0x9c),'kbService':'https://kb-service.lovrabet.id','harness':a133_0x189a6f(0x94)}}},'global':{'enabled':!![],'label':a133_0x189a6f(0x87),'aliases':[],'serviceDomains':{'production':{'user':a133_0x189a6f(0x90),'api':a133_0x189a6f(0x9f),'runtime':a133_0x189a6f(0x98),'skill':a133_0x189a6f(0x8e),'kbService':a133_0x189a6f(0x8b),'harness':a133_0x189a6f(0x9b)},'daily':{'user':a133_0x189a6f(0x96),'api':a133_0x189a6f(0x89),'runtime':a133_0x189a6f(0xa8),'skill':a133_0x189a6f(0x8f)}}}};function a133_0x31cb(_0x118d68,_0x26f3f4){_0x118d68=_0x118d68-0x87;const _0x25818b=a133_0x2581();let _0x31cb46=_0x25818b[_0x118d68];return _0x31cb46;}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
- function a134_0x5d6a(_0xa74eb3,_0x365c65){_0xa74eb3=_0xa74eb3-0x18d;const _0xb96b53=a134_0xb96b();let _0x5d6a9a=_0xb96b53[_0xa74eb3];return _0x5d6a9a;}const a134_0x40328=a134_0x5d6a;(function(_0x1b71f4,_0x13c5ed){const _0x93ae17=a134_0x5d6a,_0x3d3749=_0x1b71f4();while(!![]){try{const _0x3cfba3=parseInt(_0x93ae17(0x191))/0x1+-parseInt(_0x93ae17(0x19a))/0x2+parseInt(_0x93ae17(0x18e))/0x3*(-parseInt(_0x93ae17(0x197))/0x4)+parseInt(_0x93ae17(0x192))/0x5+-parseInt(_0x93ae17(0x198))/0x6+-parseInt(_0x93ae17(0x18f))/0x7*(-parseInt(_0x93ae17(0x19b))/0x8)+parseInt(_0x93ae17(0x194))/0x9;if(_0x3cfba3===_0x13c5ed)break;else _0x3d3749['push'](_0x3d3749['shift']());}catch(_0x5ad7a7){_0x3d3749['push'](_0x3d3749['shift']());}}}(a134_0xb96b,0x6f7c9));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a134_0x40328(0x18d);export const ENTERPRISE_ROUTING_PROTOCOL='lovrabet-routing/v1';export const ENTERPRISE_ROUTING_KIND=a134_0x40328(0x195);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a134_0x40328(0x199),a134_0x40328(0x190),'runtimeDomain','skillDomain',a134_0x40328(0x193),a134_0x40328(0x196)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[];function a134_0xb96b(){const _0x2dfd9f=['5167434vwteTe','userDomain','1204294ymPflK','72hbqfKu','192eedb6fe65d2091e1e03fb0fe5046da1c2cf5a5aea21cb85511b2c1181a3d9','33WAbfkT','580909cNeZjB','apiDomain','748146JweSJK','1603205ZkiUvs','kbServiceDomain','6412104tqIusD','enterprise','harnessDomain','221124OTyMWX'];a134_0xb96b=function(){return _0x2dfd9f;};return a134_0xb96b();}
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(_0x261e27,_0x18da7d){const _0x58d7f4=a135_0x5af7,_0x105386=_0x261e27();while(!![]){try{const _0x2495d8=-parseInt(_0x58d7f4(0x19b))/0x1*(-parseInt(_0x58d7f4(0x19a))/0x2)+parseInt(_0x58d7f4(0x19c))/0x3*(-parseInt(_0x58d7f4(0x19e))/0x4)+parseInt(_0x58d7f4(0x195))/0x5+-parseInt(_0x58d7f4(0x197))/0x6+parseInt(_0x58d7f4(0x198))/0x7+parseInt(_0x58d7f4(0x199))/0x8+-parseInt(_0x58d7f4(0x193))/0x9;if(_0x2495d8===_0x18da7d)break;else _0x105386['push'](_0x105386['shift']());}catch(_0x2977f0){_0x105386['push'](_0x105386['shift']());}}}(a135_0x3c00,0x9444b));function a135_0x5af7(_0x3b8077,_0x7bba50){_0x3b8077=_0x3b8077-0x193;const _0x3c00b0=a135_0x3c00();let _0x5af780=_0x3c00b0[_0x3b8077];return _0x5af780;}import{jsx as a135_0xa3d467,jsxs as a135_0x48435b}from'react/jsx-runtime';function a135_0x3c00(){const _0x79234c=['793996mMjUhG','5939632dnRdcz','16JKupnD','101089hBxxyR','3042NngpTM','\x20--help','680yhEkPB','12617559ZmQXYL','green','5927360hfOwNF','\x20\x20Use\x20','4010568WfRMwE'];a135_0x3c00=function(){return _0x79234c;};return a135_0x3c00();}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 _0x26b648=a135_0x5af7,{exit:_0x1272c1}=useApp();return useEffect(()=>{_0x1272c1();},[_0x1272c1]),a135_0x48435b(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a135_0xa3d467(Box,{'children':a135_0xa3d467(Text,{'bold':!![],'color':_0x26b648(0x194),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a135_0x48435b(Box,{'marginTop':0x1,'children':[a135_0xa3d467(Text,{'dimColor':!![],'children':_0x26b648(0x196)}),a135_0xa3d467(Text,{'bold':!![],'color':_0x26b648(0x194),'children':CLI_BIN_NAME+_0x26b648(0x19d)}),a135_0xa3d467(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}
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 a136_0x5b1f(){const _0x4c3e79=['\x20at\x20','installedPath','already\x20current','Installation\x20failed','1442UWaASD','changed','11410UYkybi','1146134wRvXXU','Lovrabet\x20Built-in\x20Skill\x20','SOURCE_INVALID','2043136cGrVWI','12990hpPaxJ','code','\x20via\x20skills@latest','log','63516clkqPq','4473fJZXvP','[BUILTIN_SKILL_INSTALL_','95ilsiJr','1kXVjlL','5424419BCmqox','508134FCyLQK','repairCommand','Repair\x20with:\x20'];a136_0x5b1f=function(){return _0x4c3e79;};return a136_0x5b1f();}function a136_0x11c0(_0x4756a0,_0x34cbba){_0x4756a0=_0x4756a0-0x1d2;const _0x5b1fcc=a136_0x5b1f();let _0x11c050=_0x5b1fcc[_0x4756a0];return _0x11c050;}(function(_0x4eaab0,_0x3a4ebe){const _0x1e1c4e=a136_0x11c0,_0x4791aa=_0x4eaab0();while(!![]){try{const _0xe2209f=parseInt(_0x1e1c4e(0x1d8))/0x1*(parseInt(_0x1e1c4e(0x1e4))/0x2)+parseInt(_0x1e1c4e(0x1da))/0x3+parseInt(_0x1e1c4e(0x1d4))/0x4*(-parseInt(_0x1e1c4e(0x1d7))/0x5)+parseInt(_0x1e1c4e(0x1e8))/0x6*(-parseInt(_0x1e1c4e(0x1e1))/0x7)+parseInt(_0x1e1c4e(0x1e7))/0x8+-parseInt(_0x1e1c4e(0x1d5))/0x9*(-parseInt(_0x1e1c4e(0x1e3))/0xa)+-parseInt(_0x1e1c4e(0x1d9))/0xb;if(_0xe2209f===_0x3a4ebe)break;else _0x4791aa['push'](_0x4791aa['shift']());}catch(_0x56aba8){_0x4791aa['push'](_0x4791aa['shift']());}}}(a136_0x5b1f,0x4f1fe));import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x2c04b4={}){const _0xd45928=a136_0x11c0,_0x51ffc2=installBuiltinSkill(_0x2c04b4);if(_0x51ffc2['ok']){const _0x1af60c=_0x51ffc2[_0xd45928(0x1e2)]?'installed':_0xd45928(0x1df),_0x2a204c=_0x51ffc2[_0xd45928(0x1de)]?_0xd45928(0x1dd)+_0x51ffc2[_0xd45928(0x1de)]:_0xd45928(0x1d2);return console[_0xd45928(0x1d3)](_0xd45928(0x1e5)+_0x51ffc2['skillVersion']+'\x20'+_0x1af60c+_0x2a204c),_0x51ffc2;}const _0x20bbc6=_0xd45928(0x1d6)+(_0x51ffc2[_0xd45928(0x1e9)]??'FAILED')+']\x20'+(_0x51ffc2['error']??_0xd45928(0x1e0))+'.\x20'+(_0xd45928(0x1dc)+_0x51ffc2[_0xd45928(0x1db)]);if(_0x51ffc2[_0xd45928(0x1e9)]===_0xd45928(0x1e6))throw new Error(_0x20bbc6);return console['warn'](_0x20bbc6),_0x51ffc2;}
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 a137_0x55b7(){const _0x467027=['604639wpWHer','1146eUKZYU','88nKWDtH','description','34085835PgIcTU','2634644xTEaBB','trim','slice','confirmationDescription','Run\x20this\x20write\x20operation','330796cJfSOr','Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.','string','replace','high-risk-write','22045yQmWFq','1206924iozXgj','risk','3025971QRyqUa'];a137_0x55b7=function(){return _0x467027;};return a137_0x55b7();}function a137_0x3c50(_0x3151f4,_0x14763a){_0x3151f4=_0x3151f4-0x1a9;const _0x55b712=a137_0x55b7();let _0x3c5035=_0x55b712[_0x3151f4];return _0x3c5035;}(function(_0x3224ab,_0x2bca48){const _0x52c1fb=a137_0x3c50,_0x160ee5=_0x3224ab();while(!![]){try{const _0x5b8e12=-parseInt(_0x52c1fb(0x1ac))/0x1+parseInt(_0x52c1fb(0x1b9))/0x2+-parseInt(_0x52c1fb(0x1ae))/0x3+parseInt(_0x52c1fb(0x1b4))/0x4+parseInt(_0x52c1fb(0x1ab))/0x5*(-parseInt(_0x52c1fb(0x1b0))/0x6)+-parseInt(_0x52c1fb(0x1af))/0x7*(parseInt(_0x52c1fb(0x1b1))/0x8)+parseInt(_0x52c1fb(0x1b3))/0x9;if(_0x5b8e12===_0x2bca48)break;else _0x160ee5['push'](_0x160ee5['shift']());}catch(_0x3d109c){_0x160ee5['push'](_0x160ee5['shift']());}}}(a137_0x55b7,0x93587));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildLovrabetConfirmationRequest(_0x182585,_0x5f345f,_0x54523d){const _0x3300da=a137_0x3c50,_0x1ff152=normalizeText(_0x182585[_0x3300da(0x1b7)],DESCRIPTION_MAX_LENGTH),_0x3277a6=normalizeText(_0x182585[_0x3300da(0x1b2)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x5f345f,'risk':requireWriteRisk(_0x182585),'description':_0x1ff152||_0x3277a6||_0x3300da(0x1b8),..._0x54523d?{'signal':_0x54523d}:{}};}function requireWriteRisk(_0x7bf313){const _0x4abbc5=a137_0x3c50;if(_0x7bf313[_0x4abbc5(0x1ad)]==='write'||_0x7bf313[_0x4abbc5(0x1ad)]===_0x4abbc5(0x1aa))return _0x7bf313['risk'];throw new Error(_0x4abbc5(0x1ba));}function normalizeText(_0x176df2,_0x3ee8be){const _0x2a3aec=a137_0x3c50;if(typeof _0x176df2!==_0x2a3aec(0x1bb))return'';return _0x176df2[_0x2a3aec(0x1a9)](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0x2a3aec(0x1b5)]()[_0x2a3aec(0x1b6)](0x0,_0x3ee8be);}
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(_0x138f35,_0x21bd7b){const _0x2ade37=a138_0x442b,_0x26eaa6=_0x138f35();while(!![]){try{const _0x44b0c4=parseInt(_0x2ade37(0xc1))/0x1+-parseInt(_0x2ade37(0xd1))/0x2*(-parseInt(_0x2ade37(0xcd))/0x3)+parseInt(_0x2ade37(0xd0))/0x4+-parseInt(_0x2ade37(0xcb))/0x5+parseInt(_0x2ade37(0xce))/0x6*(parseInt(_0x2ade37(0xc4))/0x7)+parseInt(_0x2ade37(0xca))/0x8*(parseInt(_0x2ade37(0xc0))/0x9)+-parseInt(_0x2ade37(0xbf))/0xa;if(_0x44b0c4===_0x21bd7b)break;else _0x26eaa6['push'](_0x26eaa6['shift']());}catch(_0x5b9444){_0x26eaa6['push'](_0x26eaa6['shift']());}}}(a138_0x48c6,0x59a46));export function canonicalLovrabetOperation(_0x43c335){const _0x56ec69=a138_0x442b;return[_0x43c335[_0x56ec69(0xbd)],..._0x43c335[_0x56ec69(0xc7)][_0x56ec69(0xc6)]()[_0x56ec69(0xbe)](/\s+/)][_0x56ec69(0xcc)](Boolean)[_0x56ec69(0xc3)]('.');}function a138_0x48c6(){const _0x475259=['trim','command','write','risk','8ShLuJG','3072220cvVQzD','filter','417BsbCix','1439562ltGaeU','high-risk-write','2753232pqNYoV','5482ClBMdG','service','split','11998180KzQtsK','1715994yaAzZa','201682GbhvsJ','lovrabet.write.completed','join','21caEfhd','writeEventSubject'];a138_0x48c6=function(){return _0x475259;};return a138_0x48c6();}function a138_0x442b(_0x14636a,_0x56fc71){_0x14636a=_0x14636a-0xbd;const _0x48c6d8=a138_0x48c6();let _0x442b30=_0x48c6d8[_0x14636a];return _0x442b30;}export function createLovrabetWriteMetadata(_0x161b8c,_0x42498e,_0xc92ed1,_0x553cf3){const _0x1fd934=a138_0x442b;if(_0x553cf3||_0xc92ed1['ok']!==!![]||_0x161b8c[_0x1fd934(0xc9)]!==_0x1fd934(0xc8)&&_0x161b8c[_0x1fd934(0xc9)]!==_0x1fd934(0xcf))return undefined;const _0x17aee8=_0x161b8c[_0x1fd934(0xc5)]?.(_0xc92ed1),_0x58c397={'type':_0x1fd934(0xc2),'operation':_0x42498e,'risk':_0x161b8c['risk'],..._0x17aee8?{'subject':_0x17aee8}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x58c397}};}
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(_0x4bbd0e,_0x24f316){const _0x1eb409=a139_0x3d2b,_0x298ad2=_0x4bbd0e();while(!![]){try{const _0x3b3999=parseInt(_0x1eb409(0xc1))/0x1*(parseInt(_0x1eb409(0xbf))/0x2)+parseInt(_0x1eb409(0xa8))/0x3*(parseInt(_0x1eb409(0xc8))/0x4)+parseInt(_0x1eb409(0xab))/0x5*(-parseInt(_0x1eb409(0xc5))/0x6)+parseInt(_0x1eb409(0xaf))/0x7*(-parseInt(_0x1eb409(0xb2))/0x8)+-parseInt(_0x1eb409(0xc3))/0x9+parseInt(_0x1eb409(0xb9))/0xa*(-parseInt(_0x1eb409(0xb0))/0xb)+parseInt(_0x1eb409(0xbd))/0xc*(parseInt(_0x1eb409(0xc4))/0xd);if(_0x3b3999===_0x24f316)break;else _0x298ad2['push'](_0x298ad2['shift']());}catch(_0x2a1dc4){_0x298ad2['push'](_0x298ad2['shift']());}}}(a139_0x3cbc,0x251af));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';function a139_0x3cbc(){const _0x3c3929=['50tYwHIQ','high-risk-write','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','signal','12tYGlAx','risk','2RnhwWH','presentation','241421sVJYub','confirmation','436248ewsIwW','2909530veethp','1296qxNayY','message','riskLevel','188ZQtjXJ','result','dryRun','format','aborted','reason','present','636xWCsMb','execute','confirm','2840IkNWKd','AbortError','definition','isNonInteractive','336539WbqQRh','228745IyXNNH','command','8zXCoZk','rawFlags','args','Lovrabet\x20invocation\x20aborted.','data','dry-run','Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.'];a139_0x3cbc=function(){return _0x3c3929;};return a139_0x3cbc();}import{resolveLovrabetInvocation}from'../runtime/resolve.js';function a139_0x3d2b(_0x11994e,_0x2217ab){_0x11994e=_0x11994e-0xa6;const _0x3cbcfb=a139_0x3cbc();let _0x3d2b41=_0x3cbcfb[_0x11994e];return _0x3d2b41;}import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x3f5fb5,command:_0x3e8a84,risk:_0x35eb61,dryRun:_0x8aa45}){const _0xf5fdf3=a139_0x3d2b;return JSON['stringify']({'ok':_0x3f5fb5['ok'],'command':_0x3e8a84,'risk':_0x35eb61,..._0x8aa45?{'dryRun':!![]}:{},..._0x3f5fb5[_0xf5fdf3(0xb6)]!==undefined?{'data':_0x3f5fb5['data']}:{},..._0x3f5fb5[_0xf5fdf3(0xc6)]?{'message':_0x3f5fb5[_0xf5fdf3(0xc6)]}:{}});}};export async function invokeLovrabet(_0x3f8254,_0x594843){const _0x35cf31=a139_0x3d2b;throwIfAborted(_0x594843[_0x35cf31(0xbc)]);const _0x5ab7ee=await resolveLovrabetInvocation(_0x3f8254),_0x963d52=canonicalLovrabetOperation(_0x5ab7ee[_0x35cf31(0xad)]);return await confirmWriteBeforeQueue(_0x5ab7ee['definition'],_0x5ab7ee[_0x35cf31(0xb3)],_0x963d52,_0x594843),runSerialized(async()=>{const _0x59d314=_0x35cf31;throwIfAborted(_0x594843[_0x59d314(0xbc)]);const _0x21fabe={},_0x55362a=buildConfigFromFlags(_0x5ab7ee['rawFlags']);await initGlobalEnvironment(_0x55362a);const _0x4374cd=createPipelineEnv(_0x55362a,{..._0x5ab7ee[_0x59d314(0xb3)],'yes':_0x5ab7ee[_0x59d314(0xad)][_0x59d314(0xbe)]===_0x59d314(0xba)?!![]:_0x5ab7ee[_0x59d314(0xb3)]['yes'],'nonInteractive':!![]});_0x4374cd['args']=_0x5ab7ee[_0x59d314(0xb4)],_0x4374cd[_0x59d314(0xae)]=!![],_0x4374cd[_0x59d314(0xc7)]='high-risk-write';const _0x4a93a3=withAbortSignal(_0x5ab7ee[_0x59d314(0xad)],_0x594843['signal']),_0x18a99b=createLovrabetRunnerAdapter({'formatOutput'(_0x39468e,_0xc3b833){const _0x7b80ec=_0x59d314;_0x21fabe[_0x7b80ec(0xc9)]=_0x39468e,_0x21fabe[_0x7b80ec(0xb1)]=_0xc3b833[_0x7b80ec(0xb1)],_0x21fabe[_0x7b80ec(0xbe)]=_0xc3b833[_0x7b80ec(0xbe)],_0x21fabe['format']=_0xc3b833['format'],_0x21fabe[_0x7b80ec(0xca)]=_0xc3b833['dryRun']===!![];},async 'confirmHighRisk'(){const _0x1c87bd=_0x59d314;throw new Error(_0x1c87bd(0xbb));}});try{await runCommand(_0x4a93a3,_0x4374cd,_0x18a99b);if(!_0x21fabe['result']||!_0x21fabe[_0x59d314(0xb1)]||!_0x21fabe[_0x59d314(0xbe)]||!_0x21fabe[_0x59d314(0xcb)])throw new Error(_0x59d314(0xb8));const _0x220e65=_0x594843[_0x59d314(0xc0)]??defaultPresentation,_0x23e776=_0x21fabe[_0x59d314(0xca)]===!![],_0x4a4e8f={'result':_0x21fabe[_0x59d314(0xc9)],'command':_0x21fabe[_0x59d314(0xb1)],'operation':_0x963d52,'risk':_0x21fabe[_0x59d314(0xbe)],'format':_0x21fabe[_0x59d314(0xcb)],'dryRun':_0x23e776},_0x4dbcef=createLovrabetWriteMetadata(_0x5ab7ee[_0x59d314(0xad)],_0x963d52,_0x21fabe['result'],_0x23e776);let _0x256b2c;try{_0x256b2c=await _0x220e65[_0x59d314(0xa7)](_0x4a4e8f);}catch(_0x406240){if(!_0x4dbcef||_0x220e65===defaultPresentation)throw _0x406240;_0x256b2c=await defaultPresentation[_0x59d314(0xa7)](_0x4a4e8f);}return{'operation':_0x963d52,'risk':_0x21fabe['risk'],'mode':_0x23e776?_0x59d314(0xb7):_0x59d314(0xa9),'result':_0x21fabe[_0x59d314(0xc9)],'output':_0x256b2c,..._0x4dbcef?{'metadata':_0x4dbcef}:{}};}finally{await finalizeLovrabetRuntimeState();}});}async function confirmWriteBeforeQueue(_0x2d9e7b,_0x4d4e0c,_0x3e4573,_0xb34e87){const _0x4b8b0f=a139_0x3d2b;if(_0x4d4e0c[_0x4b8b0f(0xca)]===!![]||_0x2d9e7b[_0x4b8b0f(0xbe)]!=='write'&&_0x2d9e7b['risk']!==_0x4b8b0f(0xba))return;await _0xb34e87[_0x4b8b0f(0xc2)][_0x4b8b0f(0xaa)](buildLovrabetConfirmationRequest(_0x2d9e7b,_0x3e4573,_0xb34e87[_0x4b8b0f(0xbc)]));}function withAbortSignal(_0x50a405,_0x65746){return{..._0x50a405,async 'execute'(_0x1af318){return throwIfAborted(_0x65746),_0x50a405['execute']({..._0x1af318,'signal':_0x65746});}};}function throwIfAborted(_0x4ef59c){const _0x5151d3=a139_0x3d2b;if(_0x4ef59c?.[_0x5151d3(0xcc)])throw _0x4ef59c[_0x5151d3(0xa6)]instanceof Error?_0x4ef59c[_0x5151d3(0xa6)]:new DOMException(_0x5151d3(0xb5),_0x5151d3(0xac));}
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
- (function(_0x24c3f2,_0x54df8f){const _0x1eaa44=a140_0x3651,_0x4fda39=_0x24c3f2();while(!![]){try{const _0x3c6e9e=-parseInt(_0x1eaa44(0x123))/0x1*(parseInt(_0x1eaa44(0x121))/0x2)+parseInt(_0x1eaa44(0x118))/0x3+-parseInt(_0x1eaa44(0x11f))/0x4*(-parseInt(_0x1eaa44(0x11e))/0x5)+-parseInt(_0x1eaa44(0x11a))/0x6*(parseInt(_0x1eaa44(0x11b))/0x7)+parseInt(_0x1eaa44(0x122))/0x8+parseInt(_0x1eaa44(0x119))/0x9*(parseInt(_0x1eaa44(0x120))/0xa)+parseInt(_0x1eaa44(0x11c))/0xb*(-parseInt(_0x1eaa44(0x117))/0xc);if(_0x3c6e9e===_0x54df8f)break;else _0x4fda39['push'](_0x4fda39['shift']());}catch(_0x389ab7){_0x4fda39['push'](_0x4fda39['shift']());}}}(a140_0x1d1b,0x3fa3d));function a140_0x3651(_0x57a104,_0x598768){_0x57a104=_0x57a104-0x117;const _0x1d1b67=a140_0x1d1b();let _0x365147=_0x1d1b67[_0x57a104];return _0x365147;}function a140_0x1d1b(){const _0x1dbade=['443191lCkbUB','241241RZgRak','catch','465LqbdAE','13844WyQHtt','20Wjtaam','12602WPiUOh','2424112SOznYF','35LnQqKH','216hdgYYD','416931czbbBl','1644075YKKuJx','24fxPiSE'];a140_0x1d1b=function(){return _0x1dbade;};return a140_0x1d1b();}let tail=Promise['resolve']();export async function runSerialized(_0xfacbc4){const _0x35498d=a140_0x3651,_0x1d36a4=tail;let _0x5c8cb5;tail=new Promise(_0x31d110=>{_0x5c8cb5=_0x31d110;}),await _0x1d36a4[_0x35498d(0x11d)](()=>undefined);try{return await _0xfacbc4();}finally{_0x5c8cb5();}}
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(_0x25822d,_0x1e8f1d){const _0x407475=a141_0xdf53,_0x2cedfe=_0x25822d();while(!![]){try{const _0x26079a=-parseInt(_0x407475(0xad))/0x1+-parseInt(_0x407475(0xb3))/0x2*(-parseInt(_0x407475(0xb0))/0x3)+parseInt(_0x407475(0xb8))/0x4*(parseInt(_0x407475(0xbd))/0x5)+-parseInt(_0x407475(0xaf))/0x6+parseInt(_0x407475(0xb6))/0x7+parseInt(_0x407475(0xbf))/0x8+-parseInt(_0x407475(0xb5))/0x9;if(_0x26079a===_0x1e8f1d)break;else _0x2cedfe['push'](_0x2cedfe['shift']());}catch(_0x2c553b){_0x2cedfe['push'](_0x2cedfe['shift']());}}}(a141_0x5aeb,0x5e157));import a141_0x5a93dc from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';function a141_0xdf53(_0x58dd04,_0x5012e2){_0x58dd04=_0x58dd04-0xab;const _0x5aebb9=a141_0x5aeb();let _0xdf53ee=_0x5aebb9[_0x58dd04];return _0xdf53ee;}import{CliErrors}from'../errors.js';export async function resolveLovrabetInvocation(_0x3003a7){const _0x397e47=a141_0xdf53,_0x3af5cf=a141_0x5a93dc('',{'importMeta':import.meta,'argv':_0x3003a7,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x47e4f3=[..._0x3af5cf['input']],_0x35b8d0=_0x3af5cf[_0x397e47(0xc2)];await correctFlags(_0x35b8d0);const _0x26df90=_0x47e4f3[0x0];if(!_0x26df90)throw CliErrors[_0x397e47(0xc0)](_0x397e47(0xab));const _0x28f605=resolveRemovedCommand(_0x26df90,_0x47e4f3[0x1]);if(_0x28f605)throw CliErrors['validation'](_0x28f605[_0x397e47(0xc1)],_0x28f605[_0x397e47(0xb7)]);if(!isKnownService(_0x26df90)){const _0x49b843=resolveDynamicServiceCommand(_0x47e4f3,_0x35b8d0);if(!_0x49b843)throw CliErrors[_0x397e47(0xb4)](_0x47e4f3[_0x397e47(0xb2)]('\x20'));return Object[_0x397e47(0xba)](_0x35b8d0,_0x49b843[_0x397e47(0xc2)]),{'definition':_0x49b843[_0x397e47(0xbc)],'rawFlags':_0x35b8d0,'args':_0x49b843[_0x397e47(0xbe)]};}const _0x367127=getServiceEntry(_0x26df90),_0x3f3e39=_0x47e4f3[0x1]||_0x367127['defaultCommand'];if(!_0x3f3e39)throw CliErrors[_0x397e47(0xc0)](_0x397e47(0xac)+_0x26df90+'\x22.');const _0x5bf564=findDefinition(_0x26df90,_0x3f3e39);if(!_0x5bf564)throw CliErrors[_0x397e47(0xb4)](_0x26df90+'\x20'+_0x3f3e39);return{'definition':_0x5bf564,'rawFlags':_0x35b8d0,'args':_0x47e4f3[_0x397e47(0xbb)](0x2)};}function a141_0x5aeb(){const _0x4838a1=['hint','3016444iwWKQC','flatMap','assign','slice','definition','5QwoTNA','args','5383072xeybsP','validation','message','flags','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','92842lCOmRB','../framework/preparse.js','2800236YAhoMG','603vmviYn','../commands/registry.js','join','7418TKmKNE','unknownCommand','17554878msmtyS','5060671VovKUT'];a141_0x5aeb=function(){return _0x4838a1;};return a141_0x5aeb();}async function correctFlags(_0x4b3f35){const _0x132856=a141_0xdf53;try{const {correctFlags:_0x1ebe8e}=await import(_0x132856(0xae)),{getAllDefinitions:_0x1256a0}=await import(_0x132856(0xb1)),_0xfb8e9e=_0x1256a0()[_0x132856(0xb9)](_0x18fa15=>_0x18fa15[_0x132856(0xc2)]??[]),_0x76c11=_0x1ebe8e(_0x4b3f35,_0xfb8e9e);Object[_0x132856(0xba)](_0x4b3f35,_0x76c11[_0x132856(0xc2)]);}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
- const a143_0x9d5742=a143_0x51b8;(function(_0x19b927,_0x138b48){const _0x1f5a4b=a143_0x51b8,_0x582e9e=_0x19b927();while(!![]){try{const _0x1da015=-parseInt(_0x1f5a4b(0x1d9))/0x1+-parseInt(_0x1f5a4b(0x1a0))/0x2*(parseInt(_0x1f5a4b(0x1ab))/0x3)+-parseInt(_0x1f5a4b(0x196))/0x4*(parseInt(_0x1f5a4b(0x1ca))/0x5)+parseInt(_0x1f5a4b(0x1d5))/0x6*(-parseInt(_0x1f5a4b(0x1e6))/0x7)+-parseInt(_0x1f5a4b(0x1b1))/0x8*(-parseInt(_0x1f5a4b(0x1a5))/0x9)+-parseInt(_0x1f5a4b(0x1da))/0xa*(parseInt(_0x1f5a4b(0x19c))/0xb)+parseInt(_0x1f5a4b(0x1c0))/0xc*(parseInt(_0x1f5a4b(0x1d2))/0xd);if(_0x1da015===_0x138b48)break;else _0x582e9e['push'](_0x582e9e['shift']());}catch(_0x2bcc08){_0x582e9e['push'](_0x582e9e['shift']());}}}(a143_0x44b2,0x2b66c));function a143_0x51b8(_0x547435,_0x29a12b){_0x547435=_0x547435-0x18e;const _0x44b253=a143_0x44b2();let _0x51b8e2=_0x44b253[_0x547435];return _0x51b8e2;}function a143_0x44b2(){const _0x506d63=['utf8','binding','Excel\x20contains\x20no\x20valid\x20data\x20rows.','version','some','schemaVersion','appCode','warnings','21nbAKYg','report','succeeded','incomplete','unknown','Excel\x20contains\x20invalid\x20rows;\x20no\x20data\x20was\x20written.','rows','emptyRows','unsent','importId','maxBatchBytes','filter','push','1014980mDKJZJ','actorId','code','size','values','string','11RvRpIu','datasetCode','Incomplete\x20readback.','strategy','8174ndmGhV','schemaFingerprint','completed','status','message','428445hIrVZu','mappingHash','reconcileImageConflicts','byteLength','The\x20auto-ID\x20runner\x20requires\x20the\x20v2\x20task\x20readback\x20contract.','elapsedMs','6hXCxFM','has','errors','batchSize','ENOENT','Partial\x20import\x20task\x20readback\x20conflict.','48AyqIix','checkpoint','rowIndexes','Invalid\x20import\x20batch\x20size.','conflict','runtimeDomain','hasOwn','onCheckpointReady','Previously\x20imported\x20records\x20are\x20no\x20longer\x20visible;\x20recovery\x20conflict.','Auto-ID\x20import\x20items\x20cannot\x20contain\x20a\x20primary\x20key.','maxBatchSize','Import\x20generated\x20ID\x20conflict.','resume','rowNumber','sort','165180YujdzZ','sheet','length','map','pending','Import\x20checkpoint\x20contains\x20a\x20content\x20conflict.','readTask','add','Import\x20generated\x20ID\x20collision.','ids','5mGJHEq','isSafeInteger','now','Import\x20checkpoint\x20contains\x20duplicate\x20generated\x20IDs.','flatMap','includes','taskId','The\x20import\x20write\x20outcome\x20is\x20unknown.\x20Resume\x20to\x20reconcile\x20the\x20original\x20task\x20marker\x20before\x20continuing.','650UtEWGd','isArray','batches','319596HAHDaZ','toString','Import\x20task\x20marker\x20collision;\x20stop\x20without\x20replacing\x20the\x20marker.','hex','178598pkAojB','1957930ahNMgq','keys','Excel\x20row\x20','Import\x20checkpoint\x20does\x20not\x20match\x20the\x20input,\x20target\x20or\x20identity.'];a143_0x44b2=function(){return _0x506d63;};return a143_0x44b2();}import{randomBytes,randomUUID}from'node:crypto';import{lstat,readFile}from'node:fs/promises';import{acquireLock,assertImportContract,assertImportPaths,canonical,sameImportValue,resolveImportOutputPath,saveImportJson}from'./runner.js';const validId=_0x251054=>typeof _0x251054==='number'&&Number[a143_0x9d5742(0x1cb)](_0x251054)&&_0x251054>0x0;export async function runAutoIdExcelImport(_0x1557fd){const _0x4dde27=a143_0x9d5742,_0x4bbed1={..._0x1557fd,'checkpoint':await resolveImportOutputPath(_0x1557fd[_0x4dde27(0x1b2)]),'report':await resolveImportOutputPath(_0x1557fd['report'])},{manifest:_0x555c25,contract:_0xfff191,api:_0x2241e9}=_0x4bbed1;assertImportContract(_0xfff191,_0x4bbed1[_0x4dde27(0x1e4)],_0x4bbed1[_0x4dde27(0x19d)]);if(_0xfff191[_0x4dde27(0x1e3)]!==0x2||!_0x2241e9['readTask'])throw Error(_0x4dde27(0x1a9));if(_0x555c25[_0x4dde27(0x1ad)]['length'])throw Error(_0x4dde27(0x18e));if(!_0x555c25[_0x4dde27(0x18f)][_0x4dde27(0x1c2)])throw Error(_0x4dde27(0x1e0));if(!Number['isInteger'](_0x4bbed1['batchSize'])||_0x4bbed1[_0x4dde27(0x1ae)]<0x1||_0x4bbed1[_0x4dde27(0x1ae)]>_0xfff191[_0x4dde27(0x1bb)])throw Error(_0x4dde27(0x1b4));assertImportPaths(_0x4bbed1[_0x4dde27(0x1b2)],_0x4bbed1[_0x4dde27(0x1e7)]);if(_0x555c25[_0x4dde27(0x18f)][_0x4dde27(0x1e2)](_0x3b0e4d=>Object[_0x4dde27(0x1b7)](_0x3b0e4d[_0x4dde27(0x19a)],'id')))throw Error(_0x4dde27(0x1ba));const _0x38fd93=(_0x203d64,_0x224b2a)=>Buffer[_0x4dde27(0x1a8)](JSON['stringify']({'schemaFingerprint':_0xfff191[_0x4dde27(0x1a1)],'taskId':_0x224b2a,'items':_0x203d64[_0x4dde27(0x1c3)](_0x1d9da0=>_0x555c25[_0x4dde27(0x18f)][_0x1d9da0][_0x4dde27(0x19a)])}),'utf8'),_0x25cf30=[];let _0x3bd650=[];for(let _0x5dd167=0x0;_0x5dd167<_0x555c25[_0x4dde27(0x18f)][_0x4dde27(0x1c2)];_0x5dd167++){if(_0x38fd93([_0x5dd167],0x2**0x34)>_0xfff191[_0x4dde27(0x193)])throw Error(_0x4dde27(0x1dc)+_0x555c25[_0x4dde27(0x18f)][_0x5dd167]['rowNumber']+'\x20exceeds\x20the\x20import\x20request\x20size\x20limit.');_0x3bd650[_0x4dde27(0x1c2)]&&(_0x3bd650[_0x4dde27(0x1c2)]===_0x4bbed1['batchSize']||_0x38fd93([..._0x3bd650,_0x5dd167],0x2**0x34)>_0xfff191[_0x4dde27(0x193)])&&(_0x25cf30[_0x4dde27(0x195)](_0x3bd650),_0x3bd650=[]),_0x3bd650[_0x4dde27(0x195)](_0x5dd167);}if(_0x3bd650[_0x4dde27(0x1c2)])_0x25cf30[_0x4dde27(0x195)](_0x3bd650);const _0x50bc81={'appCode':_0x4bbed1[_0x4dde27(0x1e4)],'datasetCode':_0x4bbed1[_0x4dde27(0x19d)],'runtimeDomain':_0x4bbed1[_0x4dde27(0x1b6)],'actorId':_0xfff191[_0x4dde27(0x197)],'fileHash':_0x555c25['fileHash'],'mappingHash':_0x555c25[_0x4dde27(0x1a6)],'schemaHash':_0x555c25['schemaHash'],'remoteSchemaHash':_0xfff191[_0x4dde27(0x1a1)],'batchSize':_0x4bbed1['batchSize'],'maxBatchBytes':_0xfff191['maxBatchBytes'],'sheet':_0x555c25[_0x4dde27(0x1c1)],'strategy':_0xfff191[_0x4dde27(0x19f)]},_0x3ada6c=await acquireLock(_0x4bbed1[_0x4dde27(0x1b2)]);let _0x4d841e;const _0x1df43d=Date[_0x4dde27(0x1cc)]();let _0xf92b54=0x0;const _0x323248=[],_0x137b8c=_0x5d4172=>_0x4d841e?.['batches']['filter'](_0x5953c4=>_0x5953c4[_0x4dde27(0x1a3)]===_0x5d4172)['reduce']((_0x599379,_0x1854c8)=>_0x599379+_0x1854c8['rowIndexes'][_0x4dde27(0x1c2)],0x0)??0x0,_0x14065e=()=>({'importId':_0x4d841e?.['importId'],'sourceRows':_0x555c25[_0x4dde27(0x18f)][_0x4dde27(0x1c2)],'emptyRows':_0x555c25[_0x4dde27(0x190)][_0x4dde27(0x1c2)],'succeeded':_0x137b8c(_0x4dde27(0x1e8)),'unknown':_0x137b8c(_0x4dde27(0x1c4)),'conflicts':_0x137b8c('conflict'),'notAttempted':_0x137b8c(_0x4dde27(0x191)),'batches':_0xf92b54,'batchResults':_0x323248,'elapsedMs':Date[_0x4dde27(0x1cc)]()-_0x1df43d,'checkpoint':_0x4bbed1[_0x4dde27(0x1b2)],'report':_0x4bbed1[_0x4dde27(0x1e7)],'warnings':_0x555c25[_0x4dde27(0x1e5)]});try{if(_0x4bbed1[_0x4dde27(0x1bd)]){try{_0x4d841e=JSON['parse'](await readFile(_0x4bbed1[_0x4dde27(0x1b2)],_0x4dde27(0x1de)));}catch{throw Error('Cannot\x20read\x20the\x20import\x20checkpoint.');}if(!_0x4d841e||_0x4d841e[_0x4dde27(0x1e1)]!==0x2||typeof _0x4d841e['importId']!==_0x4dde27(0x19b)||!_0x4d841e[_0x4dde27(0x192)]||canonical(_0x4d841e[_0x4dde27(0x1df)])!==canonical(_0x50bc81)||!Array['isArray'](_0x4d841e['batches'])||_0x4d841e[_0x4dde27(0x1d4)][_0x4dde27(0x1c2)]!==_0x25cf30[_0x4dde27(0x1c2)]||new Set(_0x4d841e['batches']['map'](_0x1524e0=>_0x1524e0[_0x4dde27(0x1d0)]))[_0x4dde27(0x199)]!==_0x25cf30[_0x4dde27(0x1c2)]||_0x4d841e[_0x4dde27(0x1d4)]['some']((_0x3d1bbd,_0x1efec3)=>!validId(_0x3d1bbd[_0x4dde27(0x1d0)])||_0x3d1bbd[_0x4dde27(0x1d0)]>0x2**0x34||canonical(_0x3d1bbd[_0x4dde27(0x1b3)])!==canonical(_0x25cf30[_0x1efec3])||!['unsent',_0x4dde27(0x1c4),_0x4dde27(0x1e8),_0x4dde27(0x1b5)][_0x4dde27(0x1cf)](_0x3d1bbd[_0x4dde27(0x1a3)])||!Array[_0x4dde27(0x1d3)](_0x3d1bbd[_0x4dde27(0x1c9)])||_0x3d1bbd['ids'][_0x4dde27(0x1e2)](_0x4a2083=>!validId(_0x4a2083))||new Set(_0x3d1bbd[_0x4dde27(0x1c9)])[_0x4dde27(0x199)]!==_0x3d1bbd['ids'][_0x4dde27(0x1c2)]||_0x3d1bbd['ids'][_0x4dde27(0x1c2)]!==0x0&&_0x3d1bbd[_0x4dde27(0x1c9)][_0x4dde27(0x1c2)]!==_0x3d1bbd[_0x4dde27(0x1b3)]['length']||_0x3d1bbd[_0x4dde27(0x1a3)]===_0x4dde27(0x1e8)&&_0x3d1bbd['ids'][_0x4dde27(0x1c2)]!==_0x3d1bbd[_0x4dde27(0x1b3)][_0x4dde27(0x1c2)]||_0x3d1bbd['status']===_0x4dde27(0x191)&&_0x3d1bbd[_0x4dde27(0x1c9)][_0x4dde27(0x1c2)]!==0x0))throw Error(_0x4dde27(0x1dd));const _0x4def82=_0x4d841e[_0x4dde27(0x1d4)][_0x4dde27(0x1ce)](_0x1610f1=>_0x1610f1[_0x4dde27(0x1c9)]);if(new Set(_0x4def82)[_0x4dde27(0x199)]!==_0x4def82[_0x4dde27(0x1c2)])throw Error(_0x4dde27(0x1cd));}else{try{await lstat(_0x4bbed1[_0x4dde27(0x1b2)]);throw Error('Import\x20checkpoint\x20already\x20exists;\x20use\x20--resume.');}catch(_0x17c40a){if(_0x17c40a[_0x4dde27(0x198)]!==_0x4dde27(0x1af))throw _0x17c40a;}const _0x279e27=new Set();_0x4d841e={'version':0x2,'importId':randomUUID(),'binding':_0x50bc81,'batches':_0x25cf30[_0x4dde27(0x1c3)](_0x14f8cd=>{const _0xf4628f=_0x4dde27;let _0xd0a8ff;do{_0xd0a8ff=Number(BigInt('0x'+randomBytes(0x7)[_0xf4628f(0x1d6)](_0xf4628f(0x1d8)))&(0x1n<<0x34n)-0x1n)+0x1;}while(_0x279e27[_0xf4628f(0x1ac)](_0xd0a8ff));return _0x279e27[_0xf4628f(0x1c7)](_0xd0a8ff),{'taskId':_0xd0a8ff,'rowIndexes':_0x14f8cd,'ids':[],'status':_0xf4628f(0x191)};})},await saveImportJson(_0x4bbed1[_0x4dde27(0x1b2)],_0x4d841e);}await _0x4bbed1[_0x4dde27(0x1b8)]?.();const _0x3b9fc5=_0x4d841e,_0x24baa9=async(_0x403b9d,_0x37ae08)=>{const _0x5f2f2e=_0x4dde27;_0x403b9d[_0x5f2f2e(0x1a3)]='conflict',await saveImportJson(_0x4bbed1['checkpoint'],_0x3b9fc5);throw Error(_0x37ae08);},_0x3c8480=async _0x3ececd=>{const _0x5c2f47=_0x4dde27;let _0xd047e1=await _0x2241e9[_0x5c2f47(0x1c6)](_0x3ececd[_0x5c2f47(0x1d0)]);if(!Array[_0x5c2f47(0x1d3)](_0xd047e1))throw Error('Invalid\x20import\x20task\x20readback\x20response.');if(_0x3ececd[_0x5c2f47(0x1a3)]===_0x5c2f47(0x191)&&_0xd047e1[_0x5c2f47(0x1c2)])return _0x24baa9(_0x3ececd,_0x5c2f47(0x1d7));if(!_0xd047e1['length']){if(_0x3ececd[_0x5c2f47(0x1a3)]==='succeeded'||_0x3ececd[_0x5c2f47(0x1c9)][_0x5c2f47(0x1c2)])return _0x24baa9(_0x3ececd,_0x5c2f47(0x1b9));return![];}if(_0xd047e1[_0x5c2f47(0x1c2)]!==_0x3ececd[_0x5c2f47(0x1b3)]['length'])return _0x24baa9(_0x3ececd,_0x5c2f47(0x1b0));const _0x57f46f=_0xd047e1[_0x5c2f47(0x1c3)](_0x2aa5d8=>_0x2aa5d8?.['id']);if(_0x57f46f[_0x5c2f47(0x1e2)](_0x205ca0=>!validId(_0x205ca0)))return _0x24baa9(_0x3ececd,'Import\x20generated\x20ID\x20conflict.');if(new Set(_0x57f46f)[_0x5c2f47(0x199)]!==_0x57f46f[_0x5c2f47(0x1c2)])return _0x24baa9(_0x3ececd,'Import\x20generated\x20ID\x20conflict.');const _0x131532=new Map(_0xd047e1[_0x5c2f47(0x1c3)](_0x2f74f9=>[_0x2f74f9['id'],_0x2f74f9])),_0x2f0a4b=_0x3ececd[_0x5c2f47(0x1c9)]['length']?[..._0x3ececd[_0x5c2f47(0x1c9)]]:[..._0x57f46f][_0x5c2f47(0x1bf)]((_0x389d44,_0xbb4da8)=>_0x389d44-_0xbb4da8);if(_0x2f0a4b[_0x5c2f47(0x1e2)](_0x4874d9=>!validId(_0x4874d9))||_0x2f0a4b[_0x5c2f47(0x1e2)]((_0x31dfc6,_0x34a18b)=>_0x34a18b>0x0&&_0x31dfc6<=_0x2f0a4b[_0x34a18b-0x1])||_0x2f0a4b[_0x5c2f47(0x1e2)](_0x3696ba=>!_0x131532[_0x5c2f47(0x1ac)](_0x3696ba)))return _0x24baa9(_0x3ececd,_0x5c2f47(0x1bc));_0xd047e1=_0x2f0a4b[_0x5c2f47(0x1c3)](_0x1102ec=>_0x131532['get'](_0x1102ec));const _0x5def08=new Set(_0x3b9fc5['batches'][_0x5c2f47(0x194)](_0x70b627=>_0x70b627!==_0x3ececd)[_0x5c2f47(0x1ce)](_0x55e45b=>_0x55e45b[_0x5c2f47(0x1c9)]));if(_0x2f0a4b[_0x5c2f47(0x1e2)](_0x108dbc=>_0x5def08[_0x5c2f47(0x1ac)](_0x108dbc)))return _0x24baa9(_0x3ececd,_0x5c2f47(0x1c8));for(let _0x2dda8a=0x0;_0x2dda8a<_0xd047e1['length'];_0x2dda8a++){const _0x599deb=_0x555c25[_0x5c2f47(0x18f)][_0x3ececd[_0x5c2f47(0x1b3)][_0x2dda8a]]['values'];if(Object[_0x5c2f47(0x1db)](_0x599deb)[_0x5c2f47(0x1e2)](_0x1544c2=>!sameImportValue(_0x599deb[_0x1544c2],_0xd047e1[_0x2dda8a][_0x1544c2],_0x555c25['imageFields']?.[_0x5c2f47(0x1cf)](_0x1544c2)&&!_0x555c25['uploadFields']?.['includes'](_0x1544c2))))return _0x24baa9(_0x3ececd,'Import\x20content\x20conflict\x20at\x20Excel\x20row\x20'+_0x555c25['rows'][_0x3ececd[_0x5c2f47(0x1b3)][_0x2dda8a]][_0x5c2f47(0x1be)]+'.');}return _0x3ececd[_0x5c2f47(0x1c9)]=_0x2f0a4b,_0x3ececd[_0x5c2f47(0x1a3)]=_0x5c2f47(0x1e8),await saveImportJson(_0x4bbed1[_0x5c2f47(0x1b2)],_0x3b9fc5),!![];};if(_0x3b9fc5['batches']['some'](_0x1dc52e=>_0x1dc52e[_0x4dde27(0x1a3)]===_0x4dde27(0x1b5)&&!(_0x4bbed1[_0x4dde27(0x1bd)]&&_0x4bbed1[_0x4dde27(0x1a7)]&&_0x555c25['imageFields']?.['length']&&_0x1dc52e[_0x4dde27(0x1c9)][_0x4dde27(0x1c2)]===_0x1dc52e['rowIndexes'][_0x4dde27(0x1c2)])))throw Error(_0x4dde27(0x1c5));if(_0x4bbed1[_0x4dde27(0x1bd)]){for(const _0x2e716f of _0x3b9fc5[_0x4dde27(0x1d4)])await _0x3c8480(_0x2e716f);}for(const _0x2d467b of _0x3b9fc5[_0x4dde27(0x1d4)]){if(_0x2d467b[_0x4dde27(0x1a3)]===_0x4dde27(0x1e8))continue;if(!_0x4bbed1[_0x4dde27(0x1bd)])await _0x3c8480(_0x2d467b);_0x2d467b[_0x4dde27(0x1a3)]=_0x4dde27(0x1c4),await saveImportJson(_0x4bbed1[_0x4dde27(0x1b2)],_0x3b9fc5),_0xf92b54++;const _0x10cb0e=_0x2d467b[_0x4dde27(0x1b3)][_0x4dde27(0x1c3)](_0x3c709c=>_0x555c25[_0x4dde27(0x18f)][_0x3c709c][_0x4dde27(0x19a)]),_0x280a67=Date[_0x4dde27(0x1cc)](),_0x57d89b={'batch':_0xf92b54,'rowStart':_0x555c25[_0x4dde27(0x18f)][_0x2d467b[_0x4dde27(0x1b3)][0x0]][_0x4dde27(0x1be)],'rowEnd':_0x555c25[_0x4dde27(0x18f)][_0x2d467b[_0x4dde27(0x1b3)]['at'](-0x1)][_0x4dde27(0x1be)],'count':_0x10cb0e['length'],'bytes':_0x38fd93(_0x2d467b[_0x4dde27(0x1b3)],_0x2d467b[_0x4dde27(0x1d0)]),'elapsedMs':0x0,'status':_0x4dde27(0x1ea)};_0x323248[_0x4dde27(0x195)](_0x57d89b);try{const _0x366296=await _0x2241e9['write'](_0x10cb0e,_0x2d467b[_0x4dde27(0x1d0)]);if(!_0x366296||_0x366296['count']!==_0x10cb0e[_0x4dde27(0x1c2)]||!Array[_0x4dde27(0x1d3)](_0x366296[_0x4dde27(0x1c9)])||_0x366296[_0x4dde27(0x1c9)]['length']!==_0x10cb0e[_0x4dde27(0x1c2)]||_0x366296[_0x4dde27(0x1c9)][_0x4dde27(0x1e2)](_0xe3dd=>!validId(_0xe3dd))||new Set(_0x366296[_0x4dde27(0x1c9)])[_0x4dde27(0x199)]!==_0x366296[_0x4dde27(0x1c9)][_0x4dde27(0x1c2)])throw Error('Invalid\x20write\x20result.');_0x2d467b[_0x4dde27(0x1c9)]=_0x366296[_0x4dde27(0x1c9)],await saveImportJson(_0x4bbed1[_0x4dde27(0x1b2)],_0x3b9fc5);if(!await _0x3c8480(_0x2d467b))throw Error(_0x4dde27(0x19e));}catch(_0x51c492){if(_0x2d467b[_0x4dde27(0x1a3)]==='conflict')throw _0x51c492;try{await _0x3c8480(_0x2d467b);}catch(_0xb3f39a){if(_0x2d467b[_0x4dde27(0x1a3)]===_0x4dde27(0x1b5))throw _0xb3f39a;}if(_0x2d467b[_0x4dde27(0x1a3)]!==_0x4dde27(0x1e8))throw Error(_0x4dde27(0x1d1));}finally{_0x57d89b[_0x4dde27(0x1aa)]=Date[_0x4dde27(0x1cc)]()-_0x280a67,_0x57d89b[_0x4dde27(0x1a3)]=_0x2d467b[_0x4dde27(0x1a3)]===_0x4dde27(0x1e8)?_0x4dde27(0x1e8):_0x2d467b[_0x4dde27(0x1a3)]===_0x4dde27(0x1b5)?_0x4dde27(0x1b5):_0x4dde27(0x1ea);}}const _0x2a2030={'status':_0x4dde27(0x1a2),..._0x14065e()};return await saveImportJson(_0x4bbed1[_0x4dde27(0x1e7)],_0x2a2030),_0x2a2030;}catch(_0xc2a0b5){if(_0x4d841e)await saveImportJson(_0x4bbed1[_0x4dde27(0x1e7)],{'status':_0x4dde27(0x1e9),..._0x14065e(),'message':_0xc2a0b5[_0x4dde27(0x1a4)]});throw _0xc2a0b5;}finally{await _0x3ada6c();}}
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();}