Spaces:
Paused
Paused
Download utils/message.js from AiBotTeszt/Heino: direct link, hf CLI and curl.
- Browser
- Download file 2.24 kB
-
https://huggingface.co/spaces/AiBotTeszt/Heino/resolve/main/utils/message.js
- Command line
-
hf download hf://spaces/AiBotTeszt/Heino/utils/message.js
-
curl -L -o message.js https://huggingface.co/spaces/AiBotTeszt/Heino/resolve/main/utils/message.js
2.24 kB
| function a47_0x40e1(_0x1bf500,_0x1e910f){_0x1bf500=_0x1bf500-0xf1;const _0x1caea6=a47_0x1cae();let _0x40e188=_0x1caea6[_0x1bf500];return _0x40e188;}const a47_0x4a6f08=a47_0x40e1;function a47_0x1cae(){const _0xeb56ae=['toNumber','4767XgrGtP','382192MvqMCF','caption','string','selectedButtonId','7205085ihanbX','selectedId','now','text','selectedRowId','singleSelectReply','max','358114pWTvHK','26115093hdeUtU','object','1275376cdUZdf','isFinite','3604mRdnXF','function','30Blithf','297878lMmZLc'];a47_0x1cae=function(){return _0xeb56ae;};return a47_0x1cae();}(function(_0x36e8f3,_0x5086e0){const _0x3bfed1=a47_0x40e1,_0x34976f=_0x36e8f3();while(!![]){try{const _0x1f5fbd=parseInt(_0x3bfed1(0x105))/0x1+parseInt(_0x3bfed1(0xf2))/0x2+parseInt(_0x3bfed1(0xf9))/0x3*(-parseInt(_0x3bfed1(0xf4))/0x4)+-parseInt(_0x3bfed1(0xfe))/0x5+-parseInt(_0x3bfed1(0xf6))/0x6*(parseInt(_0x3bfed1(0xf7))/0x7)+parseInt(_0x3bfed1(0xfa))/0x8+parseInt(_0x3bfed1(0x106))/0x9;if(_0x1f5fbd===_0x5086e0)break;else _0x34976f['push'](_0x34976f['shift']());}catch(_0x5abacb){_0x34976f['push'](_0x34976f['shift']());}}}(a47_0x1cae,0xd1e81));import{normalizeMessageContent,getContentType}from'@whiskeysockets/baileys';export function extractText(_0x4bc276){const _0x531b81=a47_0x40e1;try{const _0x528e18=normalizeMessageContent(_0x4bc276);if(!_0x528e18)return'';const _0x15b118=getContentType(_0x528e18);if(!_0x15b118)return'';const _0x54be4e=_0x528e18[_0x15b118];if(typeof _0x54be4e===_0x531b81(0xfc))return _0x54be4e;const _0x297a19=_0x54be4e?.[_0x531b81(0x101)]||_0x54be4e?.[_0x531b81(0xfb)]||_0x54be4e?.[_0x531b81(0xfd)]||_0x54be4e?.[_0x531b81(0x103)]?.[_0x531b81(0x102)]||_0x54be4e?.[_0x531b81(0xff)]||'';return typeof _0x297a19===_0x531b81(0xfc)?_0x297a19:'';}catch{return'';}}export function messageAgeSeconds(_0x36e3bf,_0xa1a875=Date[a47_0x4a6f08(0x100)]()){const _0xc55e47=a47_0x4a6f08,_0x250eb4=_0x36e3bf?.['messageTimestamp'];if(_0x250eb4===undefined||_0x250eb4===null)return 0x0;const _0x2a1b8c=typeof _0x250eb4===_0xc55e47(0xf1)&&typeof _0x250eb4[_0xc55e47(0xf8)]===_0xc55e47(0xf5)?_0x250eb4[_0xc55e47(0xf8)]():Number(_0x250eb4);if(!Number[_0xc55e47(0xf3)](_0x2a1b8c)||_0x2a1b8c<=0x0)return 0x0;return Math[_0xc55e47(0x104)](0x0,_0xa1a875/0x3e8-_0x2a1b8c);} |