mirror of
https://github.com/alantang1977/X.git
synced 2024-11-06 19:23:09 +02:00
1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
|
const _0x475d0a=_0x1960;(function(_0x58bdb9,_0xcc9f09){const _0x54b68f=_0x1960,_0x24ba8c=_0x58bdb9();while(!![]){try{const _0x4f195b=parseInt(_0x54b68f(0xdd))/0x1+-parseInt(_0x54b68f(0x14d))/0x2+-parseInt(_0x54b68f(0x140))/0x3+parseInt(_0x54b68f(0x153))/0x4*(parseInt(_0x54b68f(0x115))/0x5)+-parseInt(_0x54b68f(0xf2))/0x6*(-parseInt(_0x54b68f(0x10d))/0x7)+parseInt(_0x54b68f(0x17f))/0x8+-parseInt(_0x54b68f(0x186))/0x9*(parseInt(_0x54b68f(0x152))/0xa);if(_0x4f195b===_0xcc9f09)break;else _0x24ba8c['push'](_0x24ba8c['shift']());}catch(_0x3fb5b5){_0x24ba8c['push'](_0x24ba8c['shift']());}}}(_0x2ae1,0x95c58));function _0x1960(_0x3b3566,_0x2e9adf){const _0x4fdc09=_0x2ae1();return _0x1960=function(_0x3a65fa,_0x389bb7){_0x3a65fa=_0x3a65fa-0xcb;let _0x369b0a=_0x4fdc09[_0x3a65fa];return _0x369b0a;},_0x1960(_0x3b3566,_0x2e9adf);}const _0x389bb7=(function(){let _0x1a7634=!![];return function(_0x5b6f22,_0x4aa7a8){const _0x30095d=_0x1a7634?function(){const _0x56cf0a=_0x1960;if(_0x4aa7a8){const _0x28af2f=_0x4aa7a8[_0x56cf0a(0xd4)](_0x5b6f22,arguments);return _0x4aa7a8=null,_0x28af2f;}}:function(){};return _0x1a7634=![],_0x30095d;};}()),_0x3a65fa=_0x389bb7(this,function(){const _0x43683a=_0x1960,_0x1b43ef=function(){const _0x112fa4=_0x1960;let _0x285433;try{_0x285433=Function(_0x112fa4(0x16e)+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(_0x5b0321){_0x285433=window;}return _0x285433;},_0x26fa0b=_0x1b43ef(),_0x1de15d=_0x26fa0b[_0x43683a(0xde)]=_0x26fa0b[_0x43683a(0xde)]||{},_0x58df9d=[_0x43683a(0x127),'warn',_0x43683a(0xd3),_0x43683a(0x178),_0x43683a(0x158),'table',_0x43683a(0x14c)];for(let _0x460471=0x0;_0x460471<_0x58df9d[_0x43683a(0x13c)];_0x460471++){const _0x21102a=_0x389bb7[_0x43683a(0x13d)][_0x43683a(0x12b)][_0x43683a(0xf5)](_0x389bb7),_0x3ab8f5=_0x58df9d[_0x460471],_0x1c5cad=_0x1de15d[_0x3ab8f5]||_0x21102a;_0x21102a[_0x43683a(0x160)]=_0x389bb7[_0x43683a(0xf5)](_0x389bb7),_0x21102a[_0x43683a(0x172)]=_0x1c5cad[_0x43683a(0x172)][_0x43683a(0xf5)](_0x1c5cad),_0x1de15d[_0x3ab8f5]=_0x21102a;}});_0x3a65fa();import{_,jinja2}from'./cat.js';import*as _0x5f2ae7 from'./utils.js';class User{constructor(){const _0x10e3ff=_0x1960;this[_0x10e3ff(0x16a)]='',this[_0x10e3ff(0x100)]='',this['tokenType']='',this[_0x10e3ff(0x131)]='',this[_0x10e3ff(0xee)]='';}static['objectFrom'](_0x168463){const _0x59ea84=_0x1960;if(_[_0x59ea84(0x187)](_0x168463))return new User();let _0x69ec9c=JSON['parse'](_0x168463),_0x4764ce=new User();return _0x4764ce[_0x59ea84(0x16a)]=_0x69ec9c['default_drive_id'],_0x4764ce['userId']=_0x69ec9c['user_id'],_0x4764ce['tokenType']=_0x69ec9c['token_type'],_0x4764ce[_0x59ea84(0x131)]=_0x69ec9c[_0x59ea84(0xfd)],_0x4764ce[_0x59ea84(0xee)]=_0x69ec9c['refresh_token'],_0x4764ce;}[_0x475d0a(0x180)](){const _0x3fecce=_0x475d0a;return _[_0x3fecce(0x187)](this[_0x3fecce(0x16a)])?'':this[_0x3fecce(0x16a)];}['getUserId'](){const _0x507a53=_0x475d0a;return _[_0x507a53(0x187)](this[_0x507a53(0x100)])?'':this[_0x507a53(0x100)];}[_0x475d0a(0xf7)](){const _0x363170=_0x475d0a;return _[_0x363170(0x187)](this[_0x363170(0x15b)])?'':this[_0x363170(0x15b)];}[_0x475d0a(0xd0)](){const _0x460056=_0x475d0a;return _[_0x460056(0x187)](this['accessToken'])?'':this[_0x460056(0x131)];}['getRefreshToken'](){const _0x454d4f=_0x475d0a;return _[_0x454d4f(0x187)](this[_0x454d4f(0xee)])?'':this[_0x454d4f(0xee)];}[_0x475d0a(0x170)](_0x47f5b0){this['refreshToken']=_0x47f5b0;}[_0x475d0a(0x102)](){const _0x5b2741=_0x475d0a;return this['getTokenType']()+'\x20'+this[_0x5b2741(0xd0)]();}['isAuthed'](){const _0x47d844=_0x475d0a;return this['getTokenType']()[_0x47d844(0x13c)]>0x0&&this[_0x47d844(0xd0)]()['length']>0x0;}[_0x475d0a(0x13f)](){const _0x3df0d2=_0x475d0a;return this[_0x3df0d2(0xee)]='',this[_0x3df0d2(0x131)]='',this;}async[_0x475d0a(0x117)](){const _0x308ba6=_0x475d0a;return await local[_0x308ba6(0x156)](_0x308ba6(0x162),_0x308ba6(0x12d),this[_0x308ba6(0x172)]()),this;}[_0x475d0a(0x172)](){const _0x409a17=_0x475d0a;var _0x23e797={'default_drive_id':this[_0x409a17(0x180)](),'user_id':this[_0x409a17(0x12c)](),'token_type':this[_0x409a17(0xf7)](),'access_toke
|