mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 12:25:51 +00:00
Update rag-tag-extractor.js
This commit is contained in:
@@ -1 +1 @@
|
||||
function _0x51ed(_0x464029,_0xcaff40){const _0x1bd74e=_0x1bd7();return _0x51ed=function(_0x51ed0e,_0x53bfd9){_0x51ed0e=_0x51ed0e-0x1d1;let _0xb95101=_0x1bd74e[_0x51ed0e];return _0xb95101;},_0x51ed(_0x464029,_0xcaff40);}(function(_0x3e08d8,_0x18d5f6){const _0x3e1d75=_0x51ed,_0x34b2a4=_0x3e08d8();while(!![]){try{const _0x4abc24=-parseInt(_0x3e1d75(0x1d8))/0x1*(parseInt(_0x3e1d75(0x1d7))/0x2)+parseInt(_0x3e1d75(0x1d5))/0x3*(parseInt(_0x3e1d75(0x1db))/0x4)+parseInt(_0x3e1d75(0x1dd))/0x5+-parseInt(_0x3e1d75(0x1d6))/0x6+-parseInt(_0x3e1d75(0x1dc))/0x7*(parseInt(_0x3e1d75(0x1d4))/0x8)+parseInt(_0x3e1d75(0x1d3))/0x9+parseInt(_0x3e1d75(0x1de))/0xa;if(_0x4abc24===_0x18d5f6)break;else _0x34b2a4['push'](_0x34b2a4['shift']());}catch(_0x36d562){_0x34b2a4['push'](_0x34b2a4['shift']());}}}(_0x1bd7,0xf3541));export function extractBlocksByTags(_0x40eb87,_0x3ba388){const _0x44083c=_0x51ed;if(!_0x40eb87||!_0x3ba388||!Array['isArray'](_0x3ba388)||_0x3ba388[_0x44083c(0x1df)]===0x0)return[];const _0x16e0b0=[];return _0x3ba388[_0x44083c(0x1d9)](_0x485b00=>{const _0x3fa065=_0x44083c,_0x39d0f7=_0x485b00[_0x3fa065(0x1d1)]();if(_0x39d0f7){const _0x41cba7=new RegExp('<'+_0x39d0f7+_0x3fa065(0x1d2)+_0x39d0f7+'>','g'),_0x9b411d=_0x40eb87[_0x3fa065(0x1da)](_0x41cba7);_0x9b411d&&_0x16e0b0['push'](..._0x9b411d);}}),_0x16e0b0;}function _0x1bd7(){const _0x31cc19=['length','trim','[^>]*>[\x5cs\x5cS]*?<\x5c/','8164269aKiggB','128mTMjYA','9BOuifV','11512614ZXRvZF','390514cohxFd','3tBQyiQ','forEach','match','2360884QQENLc','516950wRMXdx','1733450udyBxW','16583190QIvsQq'];_0x1bd7=function(){return _0x31cc19;};return _0x1bd7();}
|
||||
function _0x47c0(_0x2a05e7,_0x592d28){const _0x54581d=_0x5458();return _0x47c0=function(_0x47c01c,_0xfaf2c0){_0x47c01c=_0x47c01c-0x1f2;let _0x2abad0=_0x54581d[_0x47c01c];return _0x2abad0;},_0x47c0(_0x2a05e7,_0x592d28);}(function(_0xd96022,_0x48eed5){const _0x3dfb91=_0x47c0,_0x4672d3=_0xd96022();while(!![]){try{const _0x407722=parseInt(_0x3dfb91(0x201))/0x1+parseInt(_0x3dfb91(0x1f9))/0x2*(-parseInt(_0x3dfb91(0x1f3))/0x3)+-parseInt(_0x3dfb91(0x1f8))/0x4*(parseInt(_0x3dfb91(0x1fb))/0x5)+parseInt(_0x3dfb91(0x1fc))/0x6*(-parseInt(_0x3dfb91(0x206))/0x7)+-parseInt(_0x3dfb91(0x1f2))/0x8*(-parseInt(_0x3dfb91(0x203))/0x9)+-parseInt(_0x3dfb91(0x1fe))/0xa+parseInt(_0x3dfb91(0x1fa))/0xb;if(_0x407722===_0x48eed5)break;else _0x4672d3['push'](_0x4672d3['shift']());}catch(_0x4365ca){_0x4672d3['push'](_0x4672d3['shift']());}}}(_0x5458,0x52bca));function _0x5458(){const _0xf8544f=['start','2124ditCBU','472vjjmqw','9204712iODIRJ','1885yKIQbS','318882UKwCkM','trim','5542650aCoMPe','[^>]*>[\x5cs\x5cS]*?<\x5c/','length','220448pXdwck','forEach','1899540myLTGY','push','\x5c$&','70juhjiD','24TiSVWy','834BgYjPD','isArray','end','replace'];_0x5458=function(){return _0xf8544f;};return _0x5458();}export function extractBlocksByTags(_0x2a5609,_0xa1f8d6){const _0x408626=_0x47c0;if(!_0x2a5609||!_0xa1f8d6||!Array[_0x408626(0x1f4)](_0xa1f8d6)||_0xa1f8d6['length']===0x0)return[];const _0x2f5f5f=[];return _0xa1f8d6[_0x408626(0x202)](_0x49a6b1=>{const _0xbbd56d=_0x408626,_0x40c61a=_0x49a6b1[_0xbbd56d(0x1fd)]();if(_0x40c61a){const _0x33771e=new RegExp('<'+_0x40c61a+_0xbbd56d(0x1ff)+_0x40c61a+'>','g'),_0x32cff6=_0x2a5609['match'](_0x33771e);_0x32cff6&&_0x2f5f5f[_0xbbd56d(0x204)](..._0x32cff6);}}),_0x2f5f5f;}export function applyExclusionRules(_0xa51d64,_0x5920e9){const _0x368226=_0x47c0;if(!_0xa51d64||!_0x5920e9||!Array[_0x368226(0x1f4)](_0x5920e9)||_0x5920e9[_0x368226(0x200)]===0x0)return _0xa51d64;let _0x735c59=_0xa51d64;return _0x5920e9[_0x368226(0x202)](_0x23a918=>{const _0x3b715a=_0x368226;if(_0x23a918[_0x3b715a(0x1f7)]&&_0x23a918[_0x3b715a(0x1f5)]){const _0x5930df=_0x23a918[_0x3b715a(0x1f7)]['replace'](/[.*+?^${}()|[\]\\]/g,_0x3b715a(0x205)),_0x400170=_0x23a918['end'][_0x3b715a(0x1f6)](/[.*+?^${}()|[\]\\]/g,_0x3b715a(0x205)),_0x34e526=new RegExp(_0x5930df+'[\x5cs\x5cS]*?'+_0x400170,'g');_0x735c59=_0x735c59[_0x3b715a(0x1f6)](_0x34e526,'');}}),_0x735c59;}
|
||||
|
||||
Reference in New Issue
Block a user