mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 06:35:49 +00:00
Update tagProcessor.js
This commit is contained in:
@@ -1 +1 @@
|
||||
function _0x1dcd(){const _0x257c0d=['10568IKrFzQ','10raWmYe','40oVWpEs','3837510XPwlyb','19698294yxzjsl','928210ehDZlJ','3195lOUbIC','test','[^>]*>([\x5cs\x5cS]*?)<\x5c/','1803284cffxyt','replace','19297cMRACv','4829070apNikW','[^>]*>[\x5cs\x5cS]*?<\x5c/','match','18nDvPyz','[^>]*>)[\x5cs\x5cS]*?(<\x5c/'];_0x1dcd=function(){return _0x257c0d;};return _0x1dcd();}(function(_0x1a12c4,_0x29cd05){const _0x74812=_0x599e,_0x5d660f=_0x1a12c4();while(!![]){try{const _0x4218fd=-parseInt(_0x74812(0x18d))/0x1*(-parseInt(_0x74812(0x194))/0x2)+parseInt(_0x74812(0x18e))/0x3+parseInt(_0x74812(0x195))/0x4*(-parseInt(_0x74812(0x198))/0x5)+-parseInt(_0x74812(0x191))/0x6*(parseInt(_0x74812(0x19c))/0x7)+-parseInt(_0x74812(0x193))/0x8*(-parseInt(_0x74812(0x199))/0x9)+-parseInt(_0x74812(0x196))/0xa+parseInt(_0x74812(0x197))/0xb;if(_0x4218fd===_0x29cd05)break;else _0x5d660f['push'](_0x5d660f['shift']());}catch(_0x52e0cd){_0x5d660f['push'](_0x5d660f['shift']());}}}(_0x1dcd,0xe8a2d));function extractContentByTag(_0x2dff05,_0x2eb32d){const _0x53ccfc=_0x599e,_0x110006=new RegExp('<'+_0x2eb32d+_0x53ccfc(0x19b)+_0x2eb32d+'>'),_0x3d6c4b=_0x2dff05[_0x53ccfc(0x190)](_0x110006);return _0x3d6c4b?_0x3d6c4b[0x1]:null;}function _0x599e(_0x273595,_0x820835){const _0x1dcdc3=_0x1dcd();return _0x599e=function(_0x599ecc,_0x7222df){_0x599ecc=_0x599ecc-0x18d;let _0x53a3c8=_0x1dcdc3[_0x599ecc];return _0x53a3c8;},_0x599e(_0x273595,_0x820835);}function extractFullTagBlock(_0x1e5928,_0x3bf36a){const _0x40de1f=_0x599e,_0x6ed70d=new RegExp('(<'+_0x3bf36a+_0x40de1f(0x18f)+_0x3bf36a+'>)'),_0x3c15da=_0x1e5928[_0x40de1f(0x190)](_0x6ed70d);return _0x3c15da?_0x3c15da[0x0]:null;}function replaceContentByTag(_0x50f940,_0x3a36a5,_0x5dc1f6){const _0x373930=_0x599e,_0x4497b0=new RegExp('(<'+_0x3a36a5+_0x373930(0x192)+_0x3a36a5+'>)');if(_0x4497b0[_0x373930(0x19a)](_0x50f940))return _0x50f940[_0x373930(0x19d)](_0x4497b0,'$1'+_0x5dc1f6+'$2');return _0x50f940;}export{extractContentByTag,replaceContentByTag,extractFullTagBlock};
|
||||
(function(_0x422e0a,_0x3fabbd){const _0x2d5d90=_0x4741,_0x23afee=_0x422e0a();while(!![]){try{const _0x524359=parseInt(_0x2d5d90(0x1c8))/0x1*(-parseInt(_0x2d5d90(0x1c4))/0x2)+-parseInt(_0x2d5d90(0x1c3))/0x3+-parseInt(_0x2d5d90(0x1ca))/0x4*(-parseInt(_0x2d5d90(0x1c2))/0x5)+-parseInt(_0x2d5d90(0x1c7))/0x6+parseInt(_0x2d5d90(0x1c5))/0x7*(-parseInt(_0x2d5d90(0x1be))/0x8)+-parseInt(_0x2d5d90(0x1c6))/0x9*(-parseInt(_0x2d5d90(0x1bf))/0xa)+parseInt(_0x2d5d90(0x1c9))/0xb;if(_0x524359===_0x3fabbd)break;else _0x23afee['push'](_0x23afee['shift']());}catch(_0x53bf82){_0x23afee['push'](_0x23afee['shift']());}}}(_0x574a,0x81e0c));function extractContentByTag(_0x3e4dbd,_0x387b0e){const _0x379c0d=_0x4741,_0x40a687=new RegExp('<'+_0x387b0e+'[^>]*>([\x5cs\x5cS]*?)<\x5c/'+_0x387b0e+'>'),_0x19d3e1=_0x3e4dbd[_0x379c0d(0x1c1)](_0x40a687);return _0x19d3e1?_0x19d3e1[0x1]:null;}function _0x4741(_0x160eaf,_0x223d84){const _0x574a8e=_0x574a();return _0x4741=function(_0x4741c8,_0x168897){_0x4741c8=_0x4741c8-0x1bd;let _0x431c3a=_0x574a8e[_0x4741c8];return _0x431c3a;},_0x4741(_0x160eaf,_0x223d84);}function extractFullTagBlock(_0x40277f,_0x38900f){const _0x240389=_0x4741,_0x212931=new RegExp('(<'+_0x38900f+'[^>]*>[\x5cs\x5cS]*?<\x5c/'+_0x38900f+'>)'),_0x2a4a67=_0x40277f[_0x240389(0x1c1)](_0x212931);return _0x2a4a67?_0x2a4a67[0x0]:null;}function replaceContentByTag(_0xd5ed6c,_0x3cbd88,_0x289306){const _0x56c37f=_0x4741,_0x22357d=new RegExp('(<'+_0x3cbd88+_0x56c37f(0x1cb)+_0x3cbd88+'>)'),_0xca7d85=_0xd5ed6c['match'](_0x22357d);if(_0xca7d85){const _0x4df9e1=_0xd5ed6c[_0x56c37f(0x1c0)](0x0,_0xca7d85['index']),_0x1c73f1=_0xd5ed6c[_0x56c37f(0x1c0)](_0xca7d85['index']+_0xca7d85[0x0][_0x56c37f(0x1bd)]);return _0x4df9e1+_0xca7d85[0x1]+_0x289306+_0xca7d85[0x3]+_0x1c73f1;}return _0xd5ed6c;}function _0x574a(){const _0x56ae36=['match','590355KzLtRH','535983ZNapyX','2doeGJM','469Jqbdvc','15813NXAxpH','2133750klwmNR','1010564oNanUZ','23121241bDTIQx','12snbror','[^>]*>)([\x5cs\x5cS]*?)(<\x5c/','length','64592JtlTsS','920tSbgLd','substring'];_0x574a=function(){return _0x56ae36;};return _0x574a();}export{extractContentByTag,replaceContentByTag,extractFullTagBlock};
|
||||
|
||||
Reference in New Issue
Block a user