','正在清空宝库...','编纂任务已开始...','正在采集消息...','未能获取到任何Rerank模型。','.hly-preview-textarea','injection','dataset','active','add','成功加载\x20','string','exclusionRules','error','hly-log-entry\x20','finalText','hly-current-chat-id','input[name=\x22hly-injection-position\x22][value=\x22','info','input','join','length','hly-injection-role','开始对《','\x20楼:\x20[','value','enabled','\x20条忆识。','.hly-nav-item','hly-overlap-size','fa-exclamation-triangle','tab','options','加载书库列表失败:\x20','template','未找到符合条件的消息可供凝识。','正在获取可用书库列表...','
','depth','beforeend','[翰林院-枢纽]\x20加载《','executeCompilation','\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20','根据当前勾选条件,未找到符合的消息可供预览。','hly-batch-size','hly-api-key','hly-rerank-top-n','\x0a\x20\x20\x20\x20\x20\x20\x20\x20
未找到模型','customApiUrl','querySelectorAll','预览内容已更新,可随时开始凝识。','820557rODpJA','notify','\x20进行编纂...','hly-hist-select-library','12lAanSk','input[name=\x22hly-injection-position\x22]:checked','正在处理预览后的文本...','[翰林院-枢纽]\x20更新忆识数量失败:','batchSize','purgeHLYStorage','.hly-tab-pane','72QqQdds','[翰林院-枢纽]\x20获取Rerank模型列表失败:','hly-delete-rule-btn','condensation','[翰林院-枢纽]\x20已成功连接各部,政令畅通。','1962290GqIQQj','正在测试神力连接...','\x22\x20placeholder=\x22开始字符,\x20如\x20\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20','log-success','hly-layer-start','
','scrollHeight','1304596xUHgOx','from','change','hly-condensation-results','[翰林院-枢纽]\x20加载书库列表失败:','previewHLYCondensation','清空宝库失败。','name','find','each','29459067MHQWBD','加载条目失败:\x20','stringify','position','resetHLYSettings','hly-rerank-model','appendChild','\x20个书库。','\x0a所用模型:\x20','
','hly-retrieval-notify','[自动保存]\x20设置项\x20\x27','apiEndpoint','getSettings','翰林院设定已存档封印。','6KVTfms','hly-current-vector-count','翰林院使用教程','integer','
','hly-','warning','文书录入失败:\x20','正在处理您提交的文书...','advanced','data','testApiConnection','ingestTextToHanlinyuan','message','.hly-preview-delete-btn-v2','push','[翰林院-枢纽]\x20编纂过程发生错误:','圣谕不明','scripts/extensions/third-party/ST-Amily2-Chat-Optimisation/HanLin.md','正在为《','[翰林院-枢纽]\x20获取模型列表失败:','\x20个Rerank模型。','fetchRerankModels','准备对《','contains','log-info','overlap','6tmJwTT','hly-layer-end','use\x20strict','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20';showHtmlModal('编辑内容排除规则',_0x44de9b,{'okText':'保存规则','onOk':_0x1aab2f=>{const _0x5a6db6=_0x49680e,_0x183021=[];_0x1aab2f['find']('.hly-exclusion-rule-row')[_0x5a6db6(0x154)](function(){const _0x1968f6=_0x5a6db6,_0x2158e5=$(this)[_0x1968f6(0x153)](_0x1968f6(0xb5))['eq'](0x0)[_0x1968f6(0xf4)]()[_0x1968f6(0x93)](),_0x22ab7e=$(this)[_0x1968f6(0x153)](_0x1968f6(0xb5))['eq'](0x1)['val']()[_0x1968f6(0x93)]();_0x2158e5&&_0x22ab7e&&_0x183021['push']({'start':_0x2158e5,'end':_0x22ab7e});}),updateAndSaveSetting('condensation.exclusionRules',_0x183021),toastr[_0x5a6db6(0x7c)](_0x5a6db6(0x6b),_0x5a6db6(0x12c));}});const _0x4d882a=document['getElementById']('hly-exclusion-rules-container'),_0x446d47=_0x4d882a[_0x49680e(0x71)]('#hly-rules-list');_0x4d882a[_0x49680e(0x71)](_0x49680e(0x127))[_0x49680e(0x104)](_0x49680e(0x126),()=>{const _0x34451c=_0x49680e,_0x2a7d2a=_0x446d47['children'][_0x34451c(0xb7)],_0x37db7b=_0x426364({'start':'','end':''},_0x2a7d2a);_0x446d47['insertAdjacentHTML'](_0x34451c(0xc9),_0x37db7b);}),_0x446d47[_0x49680e(0x104)](_0x49680e(0x126),_0x52ae81=>{const _0x34fd90=_0x49680e;_0x52ae81[_0x34fd90(0xfc)][_0x34fd90(0xf9)][_0x34fd90(0x17c)](_0x34fd90(0xe9))&&_0x52ae81[_0x34fd90(0xfc)][_0x34fd90(0x92)]('.hly-exclusion-rule-row')[_0x34fd90(0xd6)]();});}function previewCondensation(){const _0x114a8a=_0xc2967b,_0x1015c6=document[_0x114a8a(0xd2)](_0x114a8a(0x14e));try{const _0x250537=_0x5a3b7a[_0x114a8a(0x162)](),_0x34ee34=_0x250537[_0x114a8a(0xea)][_0x114a8a(0xae)]||[],_0x1366b5={'user':document['getElementById'](_0x114a8a(0xfa))[_0x114a8a(0x8a)],'ai':document['getElementById'](_0x114a8a(0x187))['checked']},_0x277af6=document[_0x114a8a(0xd2)]('hly-tag-extraction-toggle')[_0x114a8a(0x8a)],_0x3174aa=_0x277af6?document[_0x114a8a(0xd2)]('hly-tag-input')[_0x114a8a(0xbb)][_0x114a8a(0x78)](',')[_0x114a8a(0x122)](_0x4d1caa=>_0x4d1caa[_0x114a8a(0x93)]())[_0x114a8a(0x95)](Boolean):[],_0x293d78=_0x5a3b7a[_0x114a8a(0x116)](_0x1366b5);if(!_0x293d78||_0x293d78[_0x114a8a(0xb7)]===0x0){_0x1015c6[_0x114a8a(0x101)]=_0x114a8a(0xcd),toastr['warning'](_0x114a8a(0x6f),'翰林院启奏');return;}const _0x320d1b=_0x293d78['map']((_0x3514de,_0x1fe9b9)=>{const _0x1fa77f=_0x114a8a;let _0x7cb621;if(_0x277af6&&_0x3174aa[_0x1fa77f(0xb7)]>0x0){const _0x3441b6=extractBlocksByTags(_0x3514de[_0x1fa77f(0x66)],_0x3174aa);_0x7cb621=_0x3441b6['join']('\x0a\x0a');}else _0x7cb621=_0x3514de[_0x1fa77f(0x66)];return _0x7cb621=applyExclusionRules(_0x7cb621,_0x34ee34),{'id':_0x1fa77f(0x77)+_0x1fe9b9,'name':_0x3514de[_0x1fa77f(0x152)],'content':_0x7cb621[_0x1fa77f(0x93)]()};})['filter'](_0x583465=>_0x583465[_0x114a8a(0x12d)]);if(_0x320d1b[_0x114a8a(0xb7)]===0x0){_0x1015c6['textContent']=_0x114a8a(0x117),toastr[_0x114a8a(0x16a)](_0x114a8a(0x117),'翰林院启奏');return;}const _0x24b59e=_0x320d1b[_0x114a8a(0x122)]((_0x58a049,_0xab622a)=>_0x114a8a(0x182)+_0x58a049['id']+_0x114a8a(0x141)+(_0xab622a+0x1)+_0x114a8a(0xba)+_0x58a049[_0x114a8a(0x152)]+_0x114a8a(0x65)+_0x58a049[_0x114a8a(0x12d)]+_0x114a8a(0x145)+_0x58a049['id']+_0x114a8a(0x86))[_0x114a8a(0xb6)]('');showHtmlModal(_0x114a8a(0x13c),_0x114a8a(0xa1)+_0x24b59e+'
',{'okText':_0x114a8a(0x9c),'onOk':_0x5313be=>{const _0x526627=_0x114a8a,_0x4b1827=[];_0x5313be['find']('.hly-preview-item-v2')[_0x526627(0x154)](function(){const _0x4dfb8c=_0x526627,_0x673909=$(this)[_0x4dfb8c(0x153)](_0x4dfb8c(0xa7))[_0x4dfb8c(0xf4)]();_0x673909[_0x4dfb8c(0x93)]()&&_0x4b1827[_0x4dfb8c(0x173)](_0x673909);});const _0x31e5e3=_0x4b1827['join']('\x0a\x0a---\x0a\x0a');_0x1015c6[_0x526627(0x101)]=_0x526627(0x76)+_0x4b1827[_0x526627(0xb7)]+_0x526627(0x118)+_0x31e5e3,_0x1015c6[_0x526627(0xa9)]['finalText']=_0x31e5e3,toastr['success'](_0x526627(0xdb),_0x526627(0x12c));}}),$(_0x114a8a(0x172))['on']('click',function(_0x6b14a8){const _0x100018=_0x114a8a;_0x6b14a8['preventDefault']();const _0x4ae9e7=$(this)[_0x100018(0x16e)](_0x100018(0xfc));$('#'+_0x4ae9e7)[_0x100018(0xd6)]();});}catch(_0x32dbd0){console[_0x114a8a(0xaf)](_0x114a8a(0x110),_0x32dbd0),_0x1015c6['textContent']=_0x114a8a(0x18e)+_0x32dbd0[_0x114a8a(0x171)],toastr[_0x114a8a(0xaf)]('预览失败:\x20'+_0x32dbd0[_0x114a8a(0x171)],_0x114a8a(0x11a));}}function log(_0x92501f,_0x1d61ac=_0xc2967b(0xb4)){const _0x164157=_0xc2967b,_0x1fbbe0=document['getElementById'](_0x164157(0x89));if(!_0x1fbbe0)return;const _0x54487c=document['createElement']('p'),_0x2e86ab=new Date()[_0x164157(0x121)]();let _0x266f97=_0x164157(0x109),_0x2927e5=_0x164157(0x17d);switch(_0x1d61ac){case _0x164157(0x7c):_0x266f97=_0x164157(0x72),_0x2927e5=_0x164157(0x147);break;case _0x164157(0xaf):_0x266f97=_0x164157(0x70),_0x2927e5=_0x164157(0x13d);break;case _0x164157(0x136):_0x266f97=_0x164157(0xc0),_0x2927e5=_0x164157(0x90);break;}_0x54487c[_0x164157(0x18a)]=_0x164157(0xb0)+_0x2927e5,_0x54487c[_0x164157(0x144)]='