UNPKG

@compendiumfi/pendax

Version:

connector for centralized cryptocurrency exchanges

1 lines 2.2 kB
(function(_0x3655dd,_0x2979d9){var _0x25e33c=a0_0x28a2,_0x454a22=_0x3655dd();while(!![]){try{var _0x48d7c1=parseInt(_0x25e33c(0x11a))/0x1*(-parseInt(_0x25e33c(0x10d))/0x2)+parseInt(_0x25e33c(0x11b))/0x3+parseInt(_0x25e33c(0x115))/0x4*(parseInt(_0x25e33c(0x111))/0x5)+-parseInt(_0x25e33c(0x11e))/0x6*(-parseInt(_0x25e33c(0x113))/0x7)+parseInt(_0x25e33c(0x116))/0x8+parseInt(_0x25e33c(0x117))/0x9*(-parseInt(_0x25e33c(0x10f))/0xa)+-parseInt(_0x25e33c(0x110))/0xb*(parseInt(_0x25e33c(0x118))/0xc);if(_0x48d7c1===_0x2979d9)break;else _0x454a22['push'](_0x454a22['shift']());}catch(_0x1e794b){_0x454a22['push'](_0x454a22['shift']());}}}(a0_0x5b8b,0x3c214));function a0_0x28a2(_0x188f8e,_0x27e0a5){var _0x5b8bcc=a0_0x5b8b();return a0_0x28a2=function(_0x28a2b5,_0x348878){_0x28a2b5=_0x28a2b5-0x10d;var _0x31d7b5=_0x5b8bcc[_0x28a2b5];return _0x31d7b5;},a0_0x28a2(_0x188f8e,_0x27e0a5);}export const midnight=_0x4cd624=>{var _0x3fe8c6=a0_0x28a2;if(_0x4cd624){if(_0x3fe8c6(0x10e)!==_0x3fe8c6(0x10e)){if(_0x1f1c45)_0x1f1c45['setHours'](0x0,0x0,0x0,0x0);else var _0x1f1c45=new _0x2f200f(this);return _0x1f1c45;}else _0x4cd624[_0x3fe8c6(0x11c)](0x0,0x0,0x0,0x0);}else var _0x4cd624=new Date(this);return _0x4cd624;};export const dateDifferenceInMonths=(_0x5ac7e5,_0x28361b)=>{var _0x415ff0=a0_0x28a2;let _0x484e4a=new Date(_0x5ac7e5),_0x421773=new Date(_0x28361b);var _0x20ffd4=_0x421773[_0x415ff0(0x11d)]()-_0x484e4a[_0x415ff0(0x11d)](),_0xfceab4=_0x421773[_0x415ff0(0x114)]()-_0x484e4a[_0x415ff0(0x114)](),_0x416bb8=_0x421773['getDate']()-_0x484e4a[_0x415ff0(0x112)](),_0x2c1a3f=_0x20ffd4*0xc+_0xfceab4;if(_0x416bb8>0x0)_0x2c1a3f+='.'+_0x416bb8;else{if(_0x416bb8<0x0){if(_0x415ff0(0x119)!==_0x415ff0(0x119))var _0x50539c=new _0x236a86(this);else _0x2c1a3f--,_0x2c1a3f+='.'+(new Date(_0x28361b[_0x415ff0(0x11d)](),_0x28361b[_0x415ff0(0x114)](),0x0)['getDate']()+_0x416bb8);}}return _0x2c1a3f;};function a0_0x5b8b(){var _0x3ac030=['319QQfREW','5UachIN','getDate','7cZhgMK','getMonth','1181756TZMWUO','3793592tQyudU','23877oNllbT','146100cWejpY','vfTBe','38XhMLDC','213264eGBhmo','setHours','getFullYear','1701114GhAZlE','18968NWfkHM','pZKwy','620bdHELX'];a0_0x5b8b=function(){return _0x3ac030;};return a0_0x5b8b();}