mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 12:25:51 +00:00
Create ingestion-manager.js
This commit is contained in:
1
core/ingestion-manager.js
Normal file
1
core/ingestion-manager.js
Normal file
@@ -0,0 +1 @@
|
||||
'use strict';const _0x2ec684=_0x57e8;(function(_0x2cea9b,_0x3e5707){const _0x44be47=_0x57e8,_0x3177a8=_0x2cea9b();while(!![]){try{const _0x1032ba=-parseInt(_0x44be47(0x1a2))/0x1+-parseInt(_0x44be47(0x194))/0x2*(-parseInt(_0x44be47(0x19b))/0x3)+parseInt(_0x44be47(0x1a6))/0x4*(parseInt(_0x44be47(0x199))/0x5)+parseInt(_0x44be47(0x196))/0x6+parseInt(_0x44be47(0x191))/0x7*(-parseInt(_0x44be47(0x19d))/0x8)+-parseInt(_0x44be47(0x195))/0x9+-parseInt(_0x44be47(0x198))/0xa*(-parseInt(_0x44be47(0x1a0))/0xb);if(_0x1032ba===_0x3e5707)break;else _0x3177a8['push'](_0x3177a8['shift']());}catch(_0x3c69a7){_0x3177a8['push'](_0x3177a8['shift']());}}}(_0x27c6,0xf277e));function _0x57e8(_0x5772a1,_0x113d7e){const _0x27c6ec=_0x27c6();return _0x57e8=function(_0x57e868,_0x43a245){_0x57e868=_0x57e868-0x191;let _0x2d9078=_0x27c6ec[_0x57e868];return _0x2d9078;},_0x57e8(_0x5772a1,_0x113d7e);}const STORAGE_PREFIX=_0x2ec684(0x1a9);function generateJobId(_0xaf5afe){const _0x21aa48=_0x2ec684;if(!_0xaf5afe)return null;return _0xaf5afe[_0x21aa48(0x1a5)]+'_'+_0xaf5afe[_0x21aa48(0x1a7)]+'_'+_0xaf5afe[_0x21aa48(0x19a)];}function saveProgress(_0x4ae16b,_0x37e4ff,_0x29907c){const _0x4a65d5=_0x2ec684;if(!_0x4ae16b)return;const _0x2628f2={'processedChunks':_0x37e4ff,'totalChunks':_0x29907c,'timestamp':Date[_0x4a65d5(0x193)]()};try{localStorage['setItem'](STORAGE_PREFIX+_0x4ae16b,JSON['stringify'](_0x2628f2)),console[_0x4a65d5(0x19e)](_0x4a65d5(0x197)+_0x4ae16b+'\x20保存进度:\x20'+_0x37e4ff+'/'+_0x29907c);}catch(_0x39a1b3){console[_0x4a65d5(0x1a4)](_0x4a65d5(0x1a8),_0x39a1b3);}}function loadProgress(_0x3d29fe){const _0x335155=_0x2ec684;if(!_0x3d29fe)return null;try{const _0x2d0acb=localStorage['getItem'](STORAGE_PREFIX+_0x3d29fe);if(_0x2d0acb)return console[_0x335155(0x19e)](_0x335155(0x197)+_0x3d29fe+_0x335155(0x1a3)),JSON['parse'](_0x2d0acb);return null;}catch(_0x3bce2e){return console[_0x335155(0x1a4)](_0x335155(0x19f)+_0x3d29fe+_0x335155(0x192),_0x3bce2e),null;}}function clearJob(_0x432855){const _0x564b31=_0x2ec684;if(!_0x432855)return;localStorage[_0x564b31(0x19c)](STORAGE_PREFIX+_0x432855),console[_0x564b31(0x19e)](_0x564b31(0x1aa)+_0x432855+_0x564b31(0x1a1));}export{generateJobId,saveProgress,loadProgress,clearJob};function _0x27c6(){const _0xb86737=['11740qUXhPw','lastModified','12tQaSNd','removeItem','3154744nUPdmk','log','[任务总管]\x20加载任务\x20','748YYrJXp','\x20的存档。','1179193OsHtxE','\x20找到存档。','error','name','1412ZaeHIW','size','[任务总管]\x20保存进度失败,可能是localStorage已满。','hly_ingestion_job_','[任务总管]\x20已清理任务\x20','21EirkIl','\x20进度失败。','now','302018GjfKtu','14404707QYtmjv','3561042XuSwUU','[任务总管]\x20已为任务\x20','430810LmJySD'];_0x27c6=function(){return _0xb86737;};return _0x27c6();}
|
||||
Reference in New Issue
Block a user