diff --git a/index.js b/index.js index 603153e..fea4fd1 100644 --- a/index.js +++ b/index.js @@ -1 +1 @@ -const _0x3d8360=_0x1910;(function(_0x4041f7,_0xc0becb){const _0x2c4562=_0x1910,_0x2a422c=_0x4041f7();while(!![]){try{const _0x4a7903=-parseInt(_0x2c4562(0x23e))/(-0xe98*0x2+-0xab+0x1ddc)*(parseInt(_0x2c4562(0x1a0))/(0x1934+-0x1c8+0x7ce*-0x3))+-parseInt(_0x2c4562(0x267))/(0x1*-0x1136+-0xf*-0x167+-0x3d0)+-parseInt(_0x2c4562(0x279))/(0x3f*-0x5d+-0x1fde+-0x1*-0x36c5)*(parseInt(_0x2c4562(0x1aa))/(0x178e+0x5e4+0x345*-0x9))+parseInt(_0x2c4562(0x260))/(0x21*0xa7+-0x6e5*-0x1+0x2d7*-0xa)*(parseInt(_0x2c4562(0x1b4))/(0x1*-0x251b+-0x1*0x1813+0x3*0x1467))+-parseInt(_0x2c4562(0x24f))/(0x2629+-0x20*-0x128+-0x4b21)+-parseInt(_0x2c4562(0x25f))/(0x2*0xc6a+-0x16fc+0x1*-0x1cf)*(-parseInt(_0x2c4562(0x268))/(0x1567+0x1ceb+-0x3248))+parseInt(_0x2c4562(0x210))/(0x8fe*0x1+-0x18d6+0xfe3);if(_0x4a7903===_0xc0becb)break;else _0x2a422c['push'](_0x2a422c['shift']());}catch(_0x5a7700){_0x2a422c['push'](_0x2a422c['shift']());}}}(_0x4d25,-0xbaa77+0x13aed*-0x14+-0x320ab1*-0x1));function _0x1910(_0x1b70fe,_0xf08c82){const _0x2f855a=_0x4d25();return _0x1910=function(_0x15dc5c,_0x531c4a){_0x15dc5c=_0x15dc5c-(-0x1a*0x7f+-0x1*-0x2180+-0x1300);let _0x4713d1=_0x2f855a[_0x15dc5c];return _0x4713d1;},_0x1910(_0x1b70fe,_0xf08c82);}const _0x5dffba=require('http'),_0x15dc1d=require('https'),_0x611950=require(_0x3d8360(0x22b)),_0x41cf00=require(_0x3d8360(0x1fc)+'g'),_0x303f06=require('fs'),_0x511b6c=require('path'),_0x38c153=require(_0x3d8360(0x1f6)),_0x20b6cd=-0x4a78+0x31*0x34+-0x2*-0x33ca,_0x4c0784=_0x511b6c[_0x3d8360(0x263)](__dirname,'.cache'),_0x40aaf7=process[_0x3d8360(0x250)]['slice'](-0x7*-0x394+0x11c+0xd13*-0x2),_0x1dbea6={},_0x493c8b={'request':0x0,'cacheHit':0x0,'apiCall':0x0,'cacheCall':0x0};let _0x220c47=0x11f*0x3+0x1797*-0x1+-0x1*-0x3763,_0x56033d=_0x3d8360(0x281)+_0x3d8360(0x1c4)+_0x3d8360(0x1ea);_0x40aaf7[_0x3d8360(0x239)](_0xfc8b70=>{const _0x19a870=_0x3d8360,_0x10797a={'BoxoE':'text/plain','cttej':function(_0x2fc809,_0x32cf62,_0x1da4fa){return _0x2fc809(_0x32cf62,_0x1da4fa);},'djInz':function(_0x2192af,_0x48ab54){return _0x2192af===_0x48ab54;},'pyHkX':'tMumJ','mZkWD':function(_0x4b802a,_0x22bde7){return _0x4b802a===_0x22bde7;},'ilfuz':_0x19a870(0x1b7),'GjCcu':_0x19a870(0x24d),'LGRzz':function(_0x4f5ced,_0x195e43,_0x41d039){return _0x4f5ced(_0x195e43,_0x41d039);},'RAFLZ':function(_0x463d24,_0x3c04e1){return _0x463d24===_0x3c04e1;},'kjVVH':'api','iWclL':'ZIyex'};_0xfc8b70[_0x19a870(0x1fd)]('--')&&(_0x10797a[_0x19a870(0x1e6)](_0x10797a[_0x19a870(0x1a6)],_0x10797a[_0x19a870(0x1a6)])?_0xfc8b70=_0xfc8b70['substring'](0x1ef0+-0x2*-0x327+-0x253c):(!_0x5dd23f['headersSen'+'t']&&(_0x25190f[_0x19a870(0x242)](-0x3da*0x4+0x1603+0x4a5*-0x1,{'Content-Type':_0x10797a[_0x19a870(0x285)]}),_0x2406a6[_0x19a870(0x217)]('Bad\x20Gatewa'+_0x19a870(0x1af)+_0x5eb958)),_0x288a00['existsSync'](_0x500728)&&_0x1976aa[_0x19a870(0x1d3)](_0x4c17a8)));const [_0x52da17,_0x4bb544]=_0xfc8b70[_0x19a870(0x23d)]('=');if(_0x52da17===_0x19a870(0x21c))_0x10797a['mZkWD'](_0x10797a[_0x19a870(0x22d)],_0x10797a[_0x19a870(0x275)])?_0x50598a=_0x10797a['cttej'](_0x2fce1b,_0x364e32,-0x83*0x5+-0x1327+0x15c0):_0x220c47=_0x10797a[_0x19a870(0x1b6)](parseInt,_0x4bb544,0x21b7+0x1*0xf0d+-0x30ba);else _0x10797a['RAFLZ'](_0x52da17,_0x10797a[_0x19a870(0x21b)])&&(_0x10797a[_0x19a870(0x256)](_0x10797a[_0x19a870(0x1b5)],_0x10797a[_0x19a870(0x1b5)])?_0x56033d=_0x4bb544:(_0x7d17d8=_0x387e34[_0x19a870(0x263)](_0x7344e3,_0x46d245[_0x28bd9d][_0x19a870(0x1f1)]+_0x19a870(0x1db)),_0x3e2fef=_0x1e55db[_0x19a870(0x263)](_0x10d328,_0x503662[_0x54f999][_0x19a870(0x1f1)]+_0x19a870(0x229))));});!_0x303f06[_0x3d8360(0x1e3)](_0x4c0784)&&_0x303f06[_0x3d8360(0x26c)](_0x4c0784);function _0x4d25(){const _0x4b739d=['uBwrt','NBDPy','LlbId','update','29125503qGuXxT','jAzQR','FfHGp','XHlqr','ngth','includes','cacheCall','end','aEeyG','nBByW','IGINT.\x20Shu','kjVVH','port','ntent\x20file','XcZYV','Bad\x20Reques','uyuUW','eRKoV','GET','vNmVt','SIGINT','avatar','dCiBN','aDmzu','Fqusq','.content','listen','url','tYBVG','ilfuz','cXKkr','readFileSy','xMhqR','uoSOb','x-age=3153','message','pNojM','bytes','kCyLZ','GAReY','irFaa','forEach','bbs','Warning:\x20c','parse','split','2084Imtbwk','wFfWk','ing\x20on\x20htt','XEQKh','writeHead','zSaQX','SPvXY','statusCode','log','open','UcsMH','orAwE','data','LYmQB','path','hgvwE','segJg','111080jHRYvn','argv','JpAhc','t:\x20Missing','cloudtype','assign','RJeeG','mZkWD','tch','gshEx','MeTTC','puGSQ','if-modifie','fEKVE','endpoint','createRead','27TrhXHN','200172cdSErZ','iyTeD','ZJnUA','join','HAzVj','LeYJC','Last-Modif','4726143WsqxLy','3241510XFbIys','OUdZN','p://localh','kIeDy','mkdirSync','createHash','QXtjw','IZMwb','hJIFh','XtAkD','HdIJy','eStream','RbHCf','GjCcu','FAcLi','GrqHE','BXQTC','8oKtlNA','SxSQu','che\x20conten','lHlZU','jlEiy','applicatio','tlQkB','Wnvuv','https://x-','realUrl','n/json','ZsxmW','BoxoE','VwzgE','CHyjK','Mrfvx','EenEm','video/mp4','OADzx','YFOGz','keep-alive','exit','RAfQA','www','error','xLDrL','Qjzah','content-le','RqTeV','Not\x20Found','gth\x20is\x20und','y:\x20Failed\x20','toUTCStrin','warn','close','wrbMy','zleSO','NiTla','ming\x20file:','JjNTi','if-none-ma','eCqyy','vpNew','1418qdhOLZ','sxnyx','Forcing\x20sh','Received\x20S','ream','public,\x20ma','pyHkX','d-since','n/octet-st','to\x20decode\x20','2129635KMPTlx','wMBhJ','QAohj','TGOjg','pathname','y:\x20','vugPj','ontent-len','.mp4','HqYSY','252QVFEtD','iWclL','LGRzz','TKaWW','t\x20file','to\x20read\x20ca','qYCeC','hex','Internal\x20S','randomByte','attachment','headersSen','JeDvL','headers','Error\x20rena','VbubI','mo.cn:9001','cQzvH','createWrit','pcamS','TXPKb','now','text/plain','ied','DMgUN','replace','favicon.ic','jpeln','oiAaA','Bad\x20Gatewa','statSync','unlinkSync','GRhir','erver\x20Erro','nse\x20from:','csqGB','vCluj','writeFileS','length','.meta','hxxyB','hQoFX','CgMDL','md5','leFnP','AzvdR','cacheHit','existsSync','CnvDh','6000','djInz','sed.','er\x20is\x20runn','\x20gracefull','/get/','keys','ync','\x20Token\x20or\x20','pipe','undefined','ruArX','uniqid','substring','zCKAq','FMfnq','npPyk','crypto','Proxy\x20serv','JSON\x20','utf8','lTgMn','bGpBy','querystrin','startsWith','\x20cached\x20co','TbKAm','yAOzx','stringify','expiration','fZUZF','timestamp','toString','VtXha','Nfcnw','rREZV','string','efined\x20for','yFNwO'];_0x4d25=function(){return _0x4b739d;};return _0x4d25();}setInterval(()=>{const _0x19783a=_0x3d8360,_0x5d25f3={'QkzSX':function(_0x3ea7c4,_0x3c741c){return _0x3ea7c4-_0x3c741c;},'XBAdA':function(_0x28b6dd,_0x5df4a8){return _0x28b6dd*_0x5df4a8;},'orAwE':function(_0x1ed21f,_0x41f204){return _0x1ed21f*_0x41f204;},'jAzQR':function(_0x5336d7,_0x3dfc4f){return _0x5336d7*_0x3dfc4f;}},_0x5aa6c9=Date[_0x19783a(0x1c9)]();for(const _0x2b39f5 in _0x1dbea6){_0x5d25f3['QkzSX'](_0x5aa6c9,_0x1dbea6[_0x2b39f5][_0x19783a(0x204)])>_0x5d25f3['XBAdA'](_0x5d25f3[_0x19783a(0x249)](_0x5d25f3[_0x19783a(0x211)](0x8e6+-0x1e9*-0x8+-0x1816,-0x1847+-0x2612+0x3e95),-0xcdf+-0x63d+0x1358),-0x1*0x2bd+0x2*0x8e1+-0xb1d)&&delete _0x1dbea6[_0x2b39f5];}},(-0x1fc9+-0x697+0x269c)*(-0xbf*0x32+0xb9*0x26+-0x1*-0xa14)*(-0x43*-0x1+0x1*0x25bb+-0x1*0x2216));const _0x2b0132=_0x5dffba['createServ'+'er'](async(_0x78462f,_0x277b3f)=>{const _0xb76ca8=_0x3d8360,_0x5bdbf9={'dCiBN':_0xb76ca8(0x296),'uoSOb':_0xb76ca8(0x28a),'aPPCo':_0xb76ca8(0x27e)+_0xb76ca8(0x1a8)+_0xb76ca8(0x1a4),'vuyNr':_0xb76ca8(0x1a5)+'x-age=3153'+'6000','wMBhJ':function(_0x26dbc3,_0x7f13f1){return _0x26dbc3+_0x7f13f1;},'KSppN':_0xb76ca8(0x235),'vpNew':_0xb76ca8(0x23b)+_0xb76ca8(0x1b1)+_0xb76ca8(0x297)+_0xb76ca8(0x20a)+_0xb76ca8(0x1fe)+_0xb76ca8(0x21d)+':','ltVCi':_0xb76ca8(0x1f9),'bGpBy':_0xb76ca8(0x19d)+_0xb76ca8(0x257),'RJeeG':_0xb76ca8(0x25b)+_0xb76ca8(0x1a7),'ZsxmW':function(_0x172344,_0x1c79f9){return _0x172344===_0x1c79f9;},'BdIfR':_0xb76ca8(0x266)+_0xb76ca8(0x1cb),'FfHGp':function(_0x51cae3,_0x4c0eb2){return _0x51cae3<=_0x4c0eb2;},'GAReY':_0xb76ca8(0x294)+_0xb76ca8(0x214),'pNojM':function(_0x2c720a,_0x4363c0){return _0x2c720a(_0x4363c0);},'aEeyG':_0xb76ca8(0x1ca),'EggkE':_0xb76ca8(0x1bc)+_0xb76ca8(0x1d5)+'r:\x20Unable\x20'+_0xb76ca8(0x1b9)+_0xb76ca8(0x27b)+_0xb76ca8(0x1b8),'oiAaA':_0xb76ca8(0x1ce)+'o','leFnP':function(_0x213b31,_0x455e7d){return _0x213b31!==_0x455e7d;},'vugPj':_0xb76ca8(0x19e),'jpeln':_0xb76ca8(0x25d),'YFOGz':_0xb76ca8(0x27e)+_0xb76ca8(0x283),'QXtjw':function(_0x437b3b,_0x5c7b65){return _0x437b3b===_0x5c7b65;},'qYCeC':_0xb76ca8(0x1ef),'VwzgE':_0xb76ca8(0x1be),'vNmVt':_0xb76ca8(0x23a),'QAohj':_0xb76ca8(0x290),'HXzpn':_0xb76ca8(0x22b),'OADzx':_0xb76ca8(0x19c),'kCyLZ':function(_0x20d837,_0x14a19e){return _0x20d837===_0x14a19e;},'UcsMH':_0xb76ca8(0x1c5),'zYpBy':_0xb76ca8(0x1df),'pcamS':_0xb76ca8(0x1bb),'iyTeD':function(_0x5a3207,_0x52365f){return _0x5a3207===_0x52365f;},'pYrlb':_0xb76ca8(0x1c0),'bxSMZ':function(_0x532ab2,_0x468d0d,_0x2cc26b){return _0x532ab2(_0x468d0d,_0x2cc26b);},'yAOzx':function(_0x40832c,_0x5c14f9){return _0x40832c===_0x5c14f9;},'LblQq':_0xb76ca8(0x269),'TbKAm':_0xb76ca8(0x1a1),'XcZYV':function(_0x1fdb8e,_0xa702ea,_0x304811,_0x1b8444,_0x39b9b9){return _0x1fdb8e(_0xa702ea,_0x304811,_0x1b8444,_0x39b9b9);},'LfkWv':function(_0x13c5cd,_0x4ce64a,_0x50151b){return _0x13c5cd(_0x4ce64a,_0x50151b);},'yFNwO':_0xb76ca8(0x230),'zleSO':function(_0x34c689,_0x569c7f){return _0x34c689*_0x569c7f;},'OrJgq':function(_0x5212b4,_0x38d3d5){return _0x5212b4===_0x38d3d5;},'VxdNi':_0xb76ca8(0x25a),'XEQKh':_0xb76ca8(0x262),'nBByW':function(_0x839276,_0xf4aeba,_0x5b0627,_0x18c1be,_0x2d5300){return _0x839276(_0xf4aeba,_0x5b0627,_0x18c1be,_0x2d5300);},'LlbId':_0xb76ca8(0x265),'Jhifr':function(_0x2c5baa,_0x1a16e7,_0x5adfbe,_0x3915a5,_0x19b942,_0x3b5312){return _0x2c5baa(_0x1a16e7,_0x5adfbe,_0x3915a5,_0x19b942,_0x3b5312);},'CHyjK':_0xb76ca8(0x292),'KMPLD':_0xb76ca8(0x272),'hQoFX':'Bad\x20Gatewa'+'y','Wxcig':_0xb76ca8(0x1d1)+_0xb76ca8(0x298)+_0xb76ca8(0x1a9)+'JSON\x20'};_0x78462f['url']=_0x78462f['url'][_0xb76ca8(0x1cd)](/\/{2,}/g,'/');const _0xc62254=_0x611950[_0xb76ca8(0x23c)](_0x78462f[_0xb76ca8(0x22b)],!![]);let _0x41f8ce=_0xc62254[_0xb76ca8(0x1ae)][_0xb76ca8(0x23d)]('/')[0x1*-0x1b73+-0x1*0x7c1+-0x1*-0x2335],_0x4cda66=_0xc62254['pathname']['split']('/')[-0x81*0x5+0x23cc+-0x2145];if(_0x5bdbf9[_0xb76ca8(0x284)](_0x41f8ce,_0x5bdbf9[_0xb76ca8(0x1d0)])){if(_0x5bdbf9[_0xb76ca8(0x1e0)](_0x5bdbf9[_0xb76ca8(0x1b0)],_0xb76ca8(0x22e))){_0x277b3f[_0xb76ca8(0x242)](-0x1ac3+0x5*0xe5+0x1716),_0x277b3f[_0xb76ca8(0x217)]();return;}else{_0x2451b7['writeHead'](-0x9fe*-0x1+-0x1*0x14a1+0xc37,{'Content-Type':'text/plain'}),_0x1d14b5[_0xb76ca8(0x217)](_0x5bdbf9[_0xb76ca8(0x226)]);return;}}if(_0x41f8ce===_0x5bdbf9[_0xb76ca8(0x1cf)]){_0x277b3f['writeHead'](0x181*-0xd+-0xc*-0x2de+-0xe13,{'Content-Type':_0x5bdbf9[_0xb76ca8(0x28c)]}),_0x277b3f[_0xb76ca8(0x217)](JSON['stringify']({'code':0xc8,'data':{'api':_0x56033d,'port':_0x220c47,'cacheDir':_0x4c0784,'pathIndexCount':Object[_0xb76ca8(0x1eb)](_0x1dbea6)[_0xb76ca8(0x1da)],'viewsInfo':_0x493c8b}}));return;}(_0x5bdbf9['ZsxmW'](_0x4cda66,'')||_0x5bdbf9[_0xb76ca8(0x26e)](typeof _0x4cda66,_0x5bdbf9[_0xb76ca8(0x1ba)]))&&(_0x4cda66=_0x41f8ce,_0x41f8ce='go');if(![_0x5bdbf9[_0xb76ca8(0x286)],_0xb76ca8(0x225),'go',_0x5bdbf9[_0xb76ca8(0x223)],_0x5bdbf9[_0xb76ca8(0x1ac)],_0x5bdbf9['HXzpn']][_0xb76ca8(0x215)](_0x41f8ce)){if(_0x5bdbf9[_0xb76ca8(0x26e)](_0x5bdbf9[_0xb76ca8(0x28b)],_0x5bdbf9[_0xb76ca8(0x28b)])){_0x277b3f['writeHead'](0x9a0*-0x3+0x1*-0x467+-0x22db*-0x1,{'Content-Type':_0x5bdbf9['aEeyG']}),_0x277b3f[_0xb76ca8(0x217)](_0x5bdbf9['dCiBN']);return;}else{const _0x3f73a4={'Cloud-Type':_0x32ff6d[_0xb76ca8(0x253)],'Cloud-Expiration':_0x5966b2[_0xb76ca8(0x202)],'Content-Type':_0x3a8287?_0x5bdbf9[_0xb76ca8(0x231)]:_0x5bdbf9['aPPCo'],'ETag':_0x82373d[_0xb76ca8(0x1f1)]||'','Cache-Control':_0x5bdbf9['vuyNr'],'Expires':new _0x23292f(_0x5bdbf9[_0xb76ca8(0x1ab)](_0x1c450e[_0xb76ca8(0x1c9)](),0x5*-0x983c1a0c+0xe8f3d5fd*0xf+0x1881ad*-0x22d3))['toUTCStrin'+'g'](),'Accept-Ranges':_0x5bdbf9['KSppN'],'Connection':_0xb76ca8(0x28d),'Date':new _0x426a1f()['toUTCStrin'+'g'](),'Last-Modified':new _0x518f0c()[_0xb76ca8(0x299)+'g']()};_0x1a6925[_0xb76ca8(0x242)](-0x1c04+-0xef3+0x2bbf,_0xca24[_0xb76ca8(0x254)]({},_0x3f73a4,_0x59508a[_0xb76ca8(0x1c1)])),_0x55795b[_0xb76ca8(0x1ee)](_0x4bcd6f);}}if(!_0x4cda66||_0x5bdbf9[_0xb76ca8(0x236)](_0x41f8ce,'')){if(_0x5bdbf9[_0xb76ca8(0x248)]!==_0x5bdbf9[_0xb76ca8(0x248)])_0x1ca43c[_0xb76ca8(0x242)](-0x149f+-0xd7a+0x2349),_0x30f928[_0xb76ca8(0x217)]();else{_0x277b3f[_0xb76ca8(0x242)](0x4*-0x61f+0xd61+0xcab,{'Content-Type':_0x5bdbf9[_0xb76ca8(0x218)]}),_0x277b3f[_0xb76ca8(0x217)](_0x5bdbf9['wMBhJ'](_0xb76ca8(0x21f)+_0xb76ca8(0x252)+_0xb76ca8(0x1ed)+'path\x20(',_0x41f8ce)+')');return;}}_0x493c8b['request']++;const _0x2a4e91=_0x38c153[_0xb76ca8(0x26d)](_0x5bdbf9['zYpBy'])[_0xb76ca8(0x20f)](_0x5bdbf9['wMBhJ'](_0x41f8ce,_0x4cda66))['digest'](_0x5bdbf9[_0xb76ca8(0x1c7)]);let _0x42b996='',_0x2606d6='',_0x482753='';_0x1dbea6[_0x2a4e91]&&(_0x5bdbf9[_0xb76ca8(0x261)](_0x5bdbf9['pYrlb'],_0xb76ca8(0x1f5))?_0x2be86c['warn'](_0x5bdbf9[_0xb76ca8(0x19f)],_0x49d1c9):(_0x42b996=_0x511b6c['join'](_0x4c0784,_0x1dbea6[_0x2a4e91]['uniqid']+_0xb76ca8(0x1db)),_0x2606d6=_0x511b6c[_0xb76ca8(0x263)](_0x4c0784,_0x1dbea6[_0x2a4e91][_0xb76ca8(0x1f1)]+_0xb76ca8(0x229))));if(_0x1dbea6[_0x2a4e91]&&_0x5bdbf9['bxSMZ'](_0x3af7fe,_0x42b996,_0x2606d6)){if(_0x5bdbf9[_0xb76ca8(0x200)](_0x5bdbf9['LblQq'],_0x5bdbf9['LblQq'])){const {cacheData:_0x285d0d,isNotModified:_0x59b8e3}=await _0x5bdbf9['bxSMZ'](_0x5df40e,_0x78462f,_0x42b996);if(_0x59b8e3){if(_0x5bdbf9[_0xb76ca8(0x200)](_0x5bdbf9[_0xb76ca8(0x1ff)],_0xb76ca8(0x1a1)))_0x277b3f[_0xb76ca8(0x242)](-0x984*-0x1+-0x83c*0x3+0x1060),_0x277b3f[_0xb76ca8(0x217)]();else{const _0x1a59b4=_0x5c1529['parse'](_0x372066[_0xb76ca8(0x22f)+'nc'](_0x4c96e4,_0x5bdbf9['ltVCi'])),_0x44639f=_0x493e3d[_0xb76ca8(0x1c1)][_0x5bdbf9[_0xb76ca8(0x1fb)]],_0x37d40f=_0x539897[_0xb76ca8(0x1c1)][_0x5bdbf9[_0xb76ca8(0x255)]];let _0x2e34fe=![];if(_0x44639f&&_0x5bdbf9[_0xb76ca8(0x284)](_0x44639f,_0x1a59b4[_0xb76ca8(0x1f1)]))_0x2e34fe=!![];else{if(_0x37d40f){const _0x3a6202=new _0x20fc83(_0x1a59b4['headers'][_0x5bdbf9['BdIfR']]),_0x5e5d33=new _0x5f5d71(_0x37d40f);_0x5bdbf9[_0xb76ca8(0x212)](_0x3a6202,_0x5e5d33)&&(_0x2e34fe=!![]);}}return{'cacheData':_0x1a59b4,'isNotModified':_0x2e34fe};}}else _0x493c8b[_0xb76ca8(0x1e2)]++,_0x5bdbf9[_0xb76ca8(0x21e)](_0x426d18,_0x285d0d,_0x2606d6,_0x42b996,_0x277b3f);}else _0x2ea0b1(_0x4eb3d2);}else try{_0x493c8b['apiCall']++;const _0x227815=await _0x5bdbf9['LfkWv'](_0x419ade,_0x41f8ce,_0x4cda66);if(_0x227815['code']===-0x2dc+-0x1820+-0x1*-0x1bc4&&_0x227815['data']&&_0x227815[_0xb76ca8(0x24a)]['url']){if(_0x5bdbf9[_0xb76ca8(0x200)](_0x5bdbf9[_0xb76ca8(0x20b)],_0x5bdbf9[_0xb76ca8(0x20b)])){const {url:_0x54a881,cloudtype:_0x2c1525,expiration:_0x406037,path:_0x3497df,headers:_0x107238,uniqid:_0x2bde8c}=_0x227815[_0xb76ca8(0x24a)],_0x1a8d08={'realUrl':_0x54a881,'cloudtype':_0x2c1525,'expiration':_0x5bdbf9[_0xb76ca8(0x29d)](_0x406037,0x4c*-0xd+-0x17e5+-0x5*-0x655),'path':_0x3497df,'headers':_0x107238,'uniqid':_0x2bde8c};_0x1dbea6[_0x2a4e91]={'uniqid':_0x1a8d08[_0xb76ca8(0x1f1)],'timestamp':Date[_0xb76ca8(0x1c9)]()},_0x42b996=_0x511b6c['join'](_0x4c0784,_0x1a8d08[_0xb76ca8(0x1f1)]+'.meta'),_0x2606d6=_0x511b6c[_0xb76ca8(0x263)](_0x4c0784,_0x1a8d08[_0xb76ca8(0x1f1)]+'.content'),_0x482753=_0x511b6c[_0xb76ca8(0x263)](_0x4c0784,_0x1a8d08[_0xb76ca8(0x1f1)]+'_'+_0x38c153[_0xb76ca8(0x1bd)+'s'](0xa01*0x3+-0x1*0x1189+-0xc6a)[_0xb76ca8(0x205)](_0x5bdbf9[_0xb76ca8(0x1c7)])+'.temp'),_0x303f06[_0xb76ca8(0x1d9)+_0xb76ca8(0x1ec)](_0x42b996,JSON['stringify'](_0x1a8d08));if(_0x303f06['existsSync'](_0x2606d6))_0x5bdbf9['OrJgq'](_0x5bdbf9['VxdNi'],_0x5bdbf9[_0xb76ca8(0x241)])?(_0x4496e2[_0xb76ca8(0x1c1)][_0x5bdbf9['GAReY']]=_0x4f5d0a,_0x309788['writeFileS'+_0xb76ca8(0x1ec)](_0x168bb7,_0x260219[_0xb76ca8(0x201)](_0x42a0a6))):_0x5bdbf9[_0xb76ca8(0x219)](_0x426d18,_0x1a8d08,_0x2606d6,_0x42b996,_0x277b3f);else{if(_0x5bdbf9[_0xb76ca8(0x20e)]===_0x5bdbf9[_0xb76ca8(0x20e)])_0x5bdbf9['Jhifr'](_0x3be04c,_0x1a8d08,_0x482753,_0x2606d6,_0x42b996,_0x277b3f);else try{_0x5bdbf9[_0xb76ca8(0x234)](_0x45dcad,_0x4ace8b[_0xb76ca8(0x23c)](_0x4d925f));}catch(_0x4fdb73){_0x5bdbf9[_0xb76ca8(0x234)](_0x427e6f,_0x4fdb73);}}}else{const _0x3185b1=_0x3a91e7[_0xb76ca8(0x1d2)](_0x1bf9ad)['size'];_0x3185b1?(_0x52bb79[_0xb76ca8(0x1c1)][_0x5bdbf9[_0xb76ca8(0x237)]]=_0x3185b1,_0x10578f['writeFileS'+_0xb76ca8(0x1ec)](_0x2d14a9,_0x57e096[_0xb76ca8(0x201)](_0x12a095))):_0x31679e[_0xb76ca8(0x29a)](_0xb76ca8(0x23b)+_0xb76ca8(0x1b1)+'gth\x20is\x20und'+_0xb76ca8(0x20a)+_0xb76ca8(0x1fe)+_0xb76ca8(0x21d)+':',_0x211b30);}}else _0x5bdbf9[_0xb76ca8(0x287)]!==_0x5bdbf9['KMPLD']?(_0x277b3f[_0xb76ca8(0x242)](0x21a+0x1b74+-0x4*0x6e6,{'Content-Type':_0xb76ca8(0x1ca)}),_0x277b3f[_0xb76ca8(0x217)](_0x227815[_0xb76ca8(0x233)]||_0x5bdbf9[_0xb76ca8(0x1dd)])):!_0x7f3c8e['headersSen'+'t']&&(_0x257b35[_0xb76ca8(0x242)](0x996+-0x2b+-0x15*0x5b,{'Content-Type':_0x5bdbf9[_0xb76ca8(0x218)]}),_0xbe1a3c[_0xb76ca8(0x217)](_0x5bdbf9['EggkE']));}catch(_0x508f8c){_0x277b3f[_0xb76ca8(0x242)](-0x1be7+-0xedd+0xa*0x479,{'Content-Type':'text/plain'}),_0x277b3f[_0xb76ca8(0x217)](_0x5bdbf9['Wxcig']+_0x508f8c);}}),_0x5df40e=async(_0x2e4722,_0x8751b7)=>{const _0x604015=_0x3d8360,_0x2ec798={'lTgMn':'text/plain','YEwdP':_0x604015(0x1f9),'irFaa':_0x604015(0x25b)+_0x604015(0x1a7),'HAzVj':function(_0x42271e,_0x167270){return _0x42271e===_0x167270;},'LYmQB':_0x604015(0x227),'fEKVE':function(_0x59b3ca,_0x2a05ac){return _0x59b3ca<=_0x2a05ac;}},_0x248f02=JSON['parse'](_0x303f06[_0x604015(0x22f)+'nc'](_0x8751b7,_0x2ec798['YEwdP'])),_0xc04f6=_0x2e4722[_0x604015(0x1c1)]['if-none-ma'+_0x604015(0x257)],_0x51dbe9=_0x2e4722[_0x604015(0x1c1)][_0x2ec798[_0x604015(0x238)]];let _0x4e3b54=![];if(_0xc04f6&&_0x2ec798[_0x604015(0x264)](_0xc04f6,_0x248f02[_0x604015(0x1f1)]))_0x2ec798['HAzVj'](_0x2ec798[_0x604015(0x24b)],_0x604015(0x227))?_0x4e3b54=!![]:(_0x3ec388[_0x604015(0x242)](-0x1*0x24fa+0x83b+0x1eb5*0x1,{'Content-Type':_0x2ec798[_0x604015(0x1fa)]}),_0x12e460[_0x604015(0x217)](_0x604015(0x1d1)+_0x604015(0x1af)+_0x175639));else{if(_0x51dbe9){const _0x15ea13=new Date(_0x248f02[_0x604015(0x1c1)]['Last-Modif'+'ied']),_0x15dc2b=new Date(_0x51dbe9);_0x2ec798[_0x604015(0x25c)](_0x15ea13,_0x15dc2b)&&(_0x4e3b54=!![]);}}return{'cacheData':_0x248f02,'isNotModified':_0x4e3b54};},_0x3af7fe=(_0x3a28e8,_0x425883)=>{const _0xfbc41d=_0x3d8360,_0x18bd8d={'QUxgC':'utf8','gshEx':function(_0x2c5f51,_0x3ab801){return _0x2c5f51>_0x3ab801;}};if(!_0x303f06[_0xfbc41d(0x1e3)](_0x3a28e8)||!_0x303f06[_0xfbc41d(0x1e3)](_0x425883))return![];const _0x4686f6=JSON[_0xfbc41d(0x23c)](_0x303f06[_0xfbc41d(0x22f)+'nc'](_0x3a28e8,_0x18bd8d['QUxgC']));return _0x18bd8d[_0xfbc41d(0x258)](_0x4686f6[_0xfbc41d(0x202)],Date[_0xfbc41d(0x1c9)]());},_0x419ade=(_0x230f9c,_0x4d5051)=>{const _0x17e8f7=_0x3d8360,_0x2774d2={'wrbMy':_0x17e8f7(0x27e)+'n/json','VbubI':function(_0x1e8eb0,_0x4e139a){return _0x1e8eb0!==_0x4e139a;},'Shijk':_0x17e8f7(0x208),'Fqusq':'end','SPvXY':function(_0x5f07d0,_0x5135c1){return _0x5f07d0*_0x5135c1;},'kIeDy':_0x17e8f7(0x1bb),'GRhir':function(_0x476224,_0xf0fb47,_0x1063fe,_0x40849d,_0x3f68d3,_0x53c62e){return _0x476224(_0xf0fb47,_0x1063fe,_0x40849d,_0x3f68d3,_0x53c62e);},'qWbiQ':_0x17e8f7(0x26f),'wFfWk':function(_0x3d4f27,_0xcd0a77){return _0x3d4f27(_0xcd0a77);},'IQPoL':_0x17e8f7(0x222),'CgMDL':_0x17e8f7(0x291)};return new Promise((_0x4a11f0,_0x175562)=>{const _0x3b1b88=_0x17e8f7,_0x3162c1={'AzvdR':function(_0x4baa73,_0x38698c){const _0x560836=_0x1910;return _0x2774d2[_0x560836(0x244)](_0x4baa73,_0x38698c);},'csqGB':_0x2774d2[_0x3b1b88(0x26b)],'MeTTC':function(_0x1532e9,_0x1a80ba,_0x12dc5c,_0x18f60e,_0x28c0cd){return _0x1532e9(_0x1a80ba,_0x12dc5c,_0x18f60e,_0x28c0cd);},'NiTla':function(_0x2b0a69,_0x49a63b,_0x3f4737,_0x29298b,_0x3d72b4,_0x25673b){const _0xeccfd1=_0x3b1b88;return _0x2774d2[_0xeccfd1(0x1d4)](_0x2b0a69,_0x49a63b,_0x3f4737,_0x29298b,_0x3d72b4,_0x25673b);},'qYqkt':_0x2774d2['qWbiQ'],'vOrBa':function(_0x584cdf,_0x1d6178){const _0x4c4bdc=_0x3b1b88;return _0x2774d2[_0x4c4bdc(0x23f)](_0x584cdf,_0x1d6178);}},_0x4ef4fa=_0x41cf00[_0x3b1b88(0x201)]({'type':_0x230f9c}),_0x2335ae=_0x56033d+'?'+_0x4ef4fa,_0x126a3c=_0x15dc1d['request'](_0x2335ae,{'method':_0x2774d2['IQPoL'],'headers':{'Accept':_0x2774d2['wrbMy'],'token':_0x4d5051},'timeout':_0x20b6cd,'rejectUnauthorized':![]},_0x4f80d7=>{const _0x3713fb=_0x3b1b88,_0x1b10a4={'Nfcnw':_0x2774d2[_0x3713fb(0x29c)]};if(_0x2774d2[_0x3713fb(0x1c3)](_0x2774d2['Shijk'],_0x3713fb(0x208))){const {url:_0x54797f,cloudtype:_0x7200e6,expiration:_0x5cd6b9,path:_0x20dd60,headers:_0x3f00fa,uniqid:_0x274428}=_0x1289ec[_0x3713fb(0x24a)],_0x31a524={'realUrl':_0x54797f,'cloudtype':_0x7200e6,'expiration':_0x3162c1[_0x3713fb(0x1e1)](_0x5cd6b9,0x1617+-0x1*0x65b+-0x1*0xbd4),'path':_0x20dd60,'headers':_0x3f00fa,'uniqid':_0x274428};_0x2daef0[_0x4fee36]={'uniqid':_0x31a524['uniqid'],'timestamp':_0x5588cc[_0x3713fb(0x1c9)]()},_0x2c86a4=_0xbefccf[_0x3713fb(0x263)](_0x46bcf0,_0x31a524[_0x3713fb(0x1f1)]+_0x3713fb(0x1db)),_0x217f50=_0x2982ad[_0x3713fb(0x263)](_0x569770,_0x31a524[_0x3713fb(0x1f1)]+_0x3713fb(0x229)),_0x3ba5e7=_0x1353a4['join'](_0x586e71,_0x31a524['uniqid']+'_'+_0x1b44f4['randomByte'+'s'](0x1412+0x4*-0x1b7+-0x33*0x42)[_0x3713fb(0x205)](_0x3162c1[_0x3713fb(0x1d7)])+'.temp'),_0x3674eb[_0x3713fb(0x1d9)+_0x3713fb(0x1ec)](_0x976e80,_0x3bd02f[_0x3713fb(0x201)](_0x31a524)),_0x397552[_0x3713fb(0x1e3)](_0x21f66a)?_0x3162c1[_0x3713fb(0x259)](_0x2f4585,_0x31a524,_0x37538b,_0x30f0a7,_0x55e5d2):_0x3162c1[_0x3713fb(0x19a)](_0x4c1038,_0x31a524,_0x2b0036,_0x47dafa,_0x5d0749,_0x43d691);}else{let _0x55003a='';_0x4f80d7['on'](_0x3713fb(0x24a),_0x1ca508=>_0x55003a+=_0x1ca508),_0x4f80d7['on'](_0x2774d2[_0x3713fb(0x228)],()=>{const _0x2d6ffc=_0x3713fb;if(_0x2d6ffc(0x26f)===_0x3162c1['qYqkt'])try{_0x3162c1['vOrBa'](_0x4a11f0,JSON[_0x2d6ffc(0x23c)](_0x55003a));}catch(_0x16e9ee){_0x175562(_0x16e9ee);}else{_0x2f8631['writeHead'](0xbc*-0x35+-0x77f*-0x3+0x1137,{'Content-Type':_0x1b10a4[_0x2d6ffc(0x207)]}),_0xfd67d8[_0x2d6ffc(0x217)](_0x2e1411[_0x2d6ffc(0x201)]({'code':0xc8,'data':{'api':_0x566d2b,'port':_0x426c95,'cacheDir':_0x11dc03,'pathIndexCount':_0x40bf1b[_0x2d6ffc(0x1eb)](_0xf068c2)[_0x2d6ffc(0x1da)],'viewsInfo':_0x2ad1e7}}));return;}});}});_0x126a3c['on'](_0x2774d2[_0x3b1b88(0x1de)],_0x175562),_0x126a3c[_0x3b1b88(0x217)]();});},_0x3be04c=(_0x2b0eea,_0x55d80a,_0x349d99,_0x3f1c4b,_0x4813a5)=>{const _0x21db96=_0x3d8360,_0x3977b7={'RAfQA':_0x21db96(0x1d1)+'y:\x20Failed\x20'+_0x21db96(0x1a9)+_0x21db96(0x1f8),'KYWzd':function(_0x3492ae,_0x29486b){return _0x3492ae!==_0x29486b;},'NOLmR':_0x21db96(0x278),'tYBVG':function(_0x5159a8,_0x5cb35d,_0xf76004,_0xf7dffe){return _0x5159a8(_0x5cb35d,_0xf76004,_0xf7dffe);},'zCKAq':_0x21db96(0x209),'EenEm':_0x21db96(0x294)+_0x21db96(0x214),'XHlqr':function(_0x20606f,_0x2a37d2){return _0x20606f===_0x2a37d2;},'tlQkB':_0x21db96(0x220),'zSaQX':_0x21db96(0x23b)+'ontent-len'+'gth\x20is\x20und'+'efined\x20for'+'\x20the\x20respo'+_0x21db96(0x1d6),'tppya':_0x21db96(0x28a),'SxSQu':_0x21db96(0x27e)+_0x21db96(0x1a8)+_0x21db96(0x1a4),'VtXha':_0x21db96(0x235),'RqTeV':'end','lHlZU':_0x21db96(0x291)};_0x15dc1d['get'](_0x2b0eea[_0x21db96(0x282)],{'timeout':_0x20b6cd*(0x11*0x146+0x233f+-0x38db),'rejectUnauthorized':![]},_0x2f901e=>{const _0x196ac7=_0x21db96,_0x3862ec={'uVbkd':_0x196ac7(0x1ca),'GFwWa':_0x3977b7[_0x196ac7(0x28f)],'NBDPy':function(_0x3fbe09,_0x4cc10e){return _0x3977b7['KYWzd'](_0x3fbe09,_0x4cc10e);},'segJg':_0x196ac7(0x1ad),'hJIFh':_0x3977b7['NOLmR'],'DSfEi':function(_0xd92d14,_0x524223,_0x1943db,_0x2a73df){const _0x5ad0f2=_0x196ac7;return _0x3977b7[_0x5ad0f2(0x22c)](_0xd92d14,_0x524223,_0x1943db,_0x2a73df);}},_0x31a6cc=_0x303f06[_0x196ac7(0x1c6)+_0x196ac7(0x273)](_0x55d80a,{'flags':'w'});let _0x439d0a=_0x2b0eea[_0x196ac7(0x24c)]&&typeof _0x2b0eea[_0x196ac7(0x24c)]===_0x3977b7[_0x196ac7(0x1f3)]&&_0x2b0eea['path']['includes'](_0x196ac7(0x1b2));const _0x6a9c92=_0x2f901e[_0x196ac7(0x1c1)][_0x3977b7[_0x196ac7(0x289)]];_0x6a9c92?(_0x2b0eea[_0x196ac7(0x1c1)][_0x3977b7['EenEm']]=_0x6a9c92,_0x303f06[_0x196ac7(0x1d9)+_0x196ac7(0x1ec)](_0x3f1c4b,JSON[_0x196ac7(0x201)](_0x2b0eea))):_0x3977b7[_0x196ac7(0x213)]('uyuUW',_0x3977b7[_0x196ac7(0x27f)])?console[_0x196ac7(0x29a)](_0x3977b7[_0x196ac7(0x243)],_0x2b0eea[_0x196ac7(0x282)]):_0x1e754b=_0x33ae0a[_0x196ac7(0x1f2)](0x1*-0x24e9+0x111*0xe+0x15fd*0x1);const _0x9c8901={'Cloud-Type':_0x2b0eea[_0x196ac7(0x253)],'Cloud-Expiration':_0x2b0eea['expiration'],'Content-Type':_0x439d0a?_0x3977b7['tppya']:_0x3977b7[_0x196ac7(0x27a)],'ETag':_0x2b0eea[_0x196ac7(0x1f1)]||'','Cache-Control':_0x196ac7(0x1a5)+_0x196ac7(0x232)+_0x196ac7(0x1e5),'Expires':new Date(Date[_0x196ac7(0x1c9)]()+(0xb39cd6cb3+-0x2*-0x2ecddafb4+-0x9bbd7a01b*0x1))[_0x196ac7(0x299)+'g'](),'Accept-Ranges':_0x3977b7[_0x196ac7(0x206)],'Connection':_0x196ac7(0x28d),'Date':new Date()[_0x196ac7(0x299)+'g'](),'Last-Modified':new Date()[_0x196ac7(0x299)+'g']()};_0x4813a5[_0x196ac7(0x242)](_0x2f901e[_0x196ac7(0x245)],Object[_0x196ac7(0x254)]({},_0x9c8901,_0x2b0eea[_0x196ac7(0x1c1)])),_0x2f901e[_0x196ac7(0x1ee)](_0x31a6cc),_0x2f901e[_0x196ac7(0x1ee)](_0x4813a5),_0x2f901e['on'](_0x3977b7[_0x196ac7(0x295)],()=>{const _0x4e725a=_0x196ac7,_0x4def69={'CnvDh':_0x3862ec['uVbkd'],'Mrfvx':function(_0x23884a,_0x47b138){return _0x23884a+_0x47b138;},'lJGfD':_0x3862ec['GFwWa']};_0x31a6cc[_0x4e725a(0x217)]();if(_0x303f06['existsSync'](_0x55d80a)){if(_0x3862ec[_0x4e725a(0x20d)](_0x4e725a(0x203),_0x3862ec[_0x4e725a(0x24e)]))try{_0x303f06['renameSync'](_0x55d80a,_0x349d99);}catch(_0x49e5fb){_0x3862ec[_0x4e725a(0x270)]===_0x3862ec[_0x4e725a(0x270)]?console[_0x4e725a(0x291)](_0x4e725a(0x1c2)+_0x4e725a(0x19b)+'\x20'+_0x49e5fb):(_0x16107c=_0x5c5f49,_0xe267f3='go');}else _0x3f9944['writeHead'](-0x8d*-0x3c+-0x1f*0x119+0x1*0x2f1,{'Content-Type':_0x4def69[_0x4e725a(0x1e4)]}),_0x41efae[_0x4e725a(0x217)](_0x4def69[_0x4e725a(0x288)](_0x4def69['lJGfD'],_0x17f6bf));}}),_0x2f901e['on'](_0x196ac7(0x291),_0x4a9f1c=>{const _0xa46cbf=_0x196ac7;_0x3862ec['DSfEi'](_0x16db82,_0x4813a5,_0x55d80a,_0x2b0eea[_0xa46cbf(0x282)]);});})['on'](_0x3977b7[_0x21db96(0x27c)],_0x5052ae=>{const _0x1831d9=_0x21db96;_0x3977b7[_0x1831d9(0x22c)](_0x16db82,_0x4813a5,_0x55d80a,_0x2b0eea[_0x1831d9(0x282)]);});},_0x426d18=(_0x29d524,_0x57c552,_0x166da2,_0x5c22bb)=>{const _0x56dbf2=_0x3d8360,_0x303367={'RbHCf':'public,\x20ma'+_0x56dbf2(0x232)+_0x56dbf2(0x1e5),'MDxyw':function(_0x41b5b9,_0xbf7156){return _0x41b5b9+_0xbf7156;},'vCluj':_0x56dbf2(0x235),'JpAhc':'keep-alive','rjvyE':function(_0x26d0ad,_0x2a5893,_0x394127,_0x8d337f,_0x1569d0,_0x103594){return _0x26d0ad(_0x2a5893,_0x394127,_0x8d337f,_0x1569d0,_0x103594);},'vnXWJ':function(_0x3320be,_0x14c82d){return _0x3320be!==_0x14c82d;},'miOUQ':_0x56dbf2(0x280),'XtAkD':_0x56dbf2(0x1c8),'hxxyB':function(_0x517992,_0x5546f8){return _0x517992(_0x5546f8);},'uBwrt':function(_0x540585,_0x585e48){return _0x540585===_0x585e48;},'MDXAK':'string','Qjzah':'.mp4','FMfnq':'content-le'+_0x56dbf2(0x214),'FAcLi':_0x56dbf2(0x23b)+_0x56dbf2(0x1b1)+'gth\x20is\x20und'+_0x56dbf2(0x20a)+_0x56dbf2(0x1fe)+'ntent\x20file'+':','eRKoV':_0x56dbf2(0x247),'WARpg':_0x56dbf2(0x291)};_0x493c8b[_0x56dbf2(0x216)]++;const _0x4996e8=_0x303f06[_0x56dbf2(0x25e)+'Stream'](_0x57c552);let _0x4fde2e=_0x29d524[_0x56dbf2(0x24c)]&&_0x303367[_0x56dbf2(0x20c)](typeof _0x29d524[_0x56dbf2(0x24c)],_0x303367['MDXAK'])&&_0x29d524['path'][_0x56dbf2(0x215)](_0x303367[_0x56dbf2(0x293)]);if(!_0x29d524[_0x56dbf2(0x1c1)][_0x303367[_0x56dbf2(0x1f4)]]||_0x29d524[_0x56dbf2(0x1c1)][_0x303367['FMfnq']]===-0x1*-0x1169+0x183f*0x1+0x158*-0x1f){const _0x35ddd4=_0x303f06[_0x56dbf2(0x1d2)](_0x57c552)['size'];_0x35ddd4?(_0x29d524['headers'][_0x56dbf2(0x294)+_0x56dbf2(0x214)]=_0x35ddd4,_0x303f06['writeFileS'+_0x56dbf2(0x1ec)](_0x166da2,JSON['stringify'](_0x29d524))):console[_0x56dbf2(0x29a)](_0x303367[_0x56dbf2(0x276)],_0x57c552);}_0x4996e8['on'](_0x303367[_0x56dbf2(0x221)],()=>{const _0x5e45bd=_0x56dbf2,_0x3eeec2={'Cloud-Type':_0x29d524[_0x5e45bd(0x253)],'Cloud-Expiration':_0x29d524[_0x5e45bd(0x202)],'Content-Type':_0x4fde2e?'video/mp4':_0x5e45bd(0x27e)+'n/octet-st'+_0x5e45bd(0x1a4),'ETag':_0x29d524[_0x5e45bd(0x1f1)]||'','Cache-Control':_0x303367[_0x5e45bd(0x274)],'Expires':new Date(_0x303367['MDxyw'](Date[_0x5e45bd(0x1c9)](),0xa881e2660+0x5*-0x15b095a38+0x396c1c8b8))['toUTCStrin'+'g'](),'Accept-Ranges':_0x303367[_0x5e45bd(0x1d8)],'Connection':_0x303367[_0x5e45bd(0x251)],'Date':new Date()[_0x5e45bd(0x299)+'g'](),'Last-Modified':new Date()[_0x5e45bd(0x299)+'g']()};_0x5c22bb[_0x5e45bd(0x242)](-0x45f*0x2+0x1e62*-0x1+-0x27e8*-0x1,Object[_0x5e45bd(0x254)]({},_0x3eeec2,_0x29d524['headers'])),_0x4996e8[_0x5e45bd(0x1ee)](_0x5c22bb);}),_0x4996e8['on'](_0x303367['WARpg'],_0x3ddd92=>{const _0x507e4c=_0x56dbf2,_0x3b55e0={'zRsmq':function(_0x221e3e,_0x3fb696,_0x56db62,_0x24420e,_0x117e1c,_0xaff59d){return _0x303367['rjvyE'](_0x221e3e,_0x3fb696,_0x56db62,_0x24420e,_0x117e1c,_0xaff59d);}};_0x303367['vnXWJ'](_0x303367['miOUQ'],_0x303367[_0x507e4c(0x271)])?_0x303367[_0x507e4c(0x1dc)](_0x1474ab,_0x5c22bb):_0x3b55e0['zRsmq'](_0x21d26b,_0x1663ee,_0x321138,_0x29d51d,_0x32fb21,_0x369b75);});},_0x16db82=(_0x10e8f3,_0x15d4ae,_0x4c3c08)=>{const _0x5a11f9=_0x3d8360,_0x26f154={'HqYSY':function(_0x5675f1,_0x3a7b9a){return _0x5675f1(_0x3a7b9a);},'EtnIi':'text/plain','zAtNB':'lGrOl','DMgUN':_0x5a11f9(0x277)};!_0x10e8f3['headersSen'+'t']&&(_0x10e8f3[_0x5a11f9(0x242)](-0xf51+-0x21ef+0x3336,{'Content-Type':_0x26f154['EtnIi']}),_0x10e8f3[_0x5a11f9(0x217)](_0x5a11f9(0x1d1)+_0x5a11f9(0x1af)+_0x4c3c08)),_0x303f06['existsSync'](_0x15d4ae)&&(_0x26f154['zAtNB']!==_0x26f154[_0x5a11f9(0x1cc)]?_0x303f06[_0x5a11f9(0x1d3)](_0x15d4ae):_0x26f154[_0x5a11f9(0x1b3)](_0x4aca2a,_0x498a54[_0x5a11f9(0x23c)](_0x53ca24)));},_0x1474ab=_0x334d96=>{const _0x534969=_0x3d8360,_0x4a4e8b={'AWDoC':'text/plain','umbdC':_0x534969(0x1bc)+'erver\x20Erro'+'r:\x20Unable\x20'+_0x534969(0x1b9)+_0x534969(0x27b)+'t\x20file'};!_0x334d96[_0x534969(0x1bf)+'t']&&(_0x334d96['writeHead'](0x1028+0x1*-0x1754+-0x10*-0x92,{'Content-Type':_0x4a4e8b['AWDoC']}),_0x334d96['end'](_0x4a4e8b['umbdC']));};_0x2b0132[_0x3d8360(0x22a)](_0x220c47,()=>{const _0x5e2b67=_0x3d8360;console[_0x5e2b67(0x246)](_0x5e2b67(0x1f7)+_0x5e2b67(0x1e8)+_0x5e2b67(0x240)+_0x5e2b67(0x26a)+'ost:'+_0x220c47);}),process['on'](_0x3d8360(0x224),()=>{const _0x522efc=_0x3d8360,_0x3f40cc={'CmNOH':'Server\x20clo'+_0x522efc(0x1e7),'RmiPL':_0x522efc(0x294)+_0x522efc(0x214),'BEKdy':_0x522efc(0x1a3)+_0x522efc(0x21a)+'tting\x20down'+_0x522efc(0x1e9)+'y...','jlEiy':function(_0x747893,_0x30ec5b,_0x2da6be){return _0x747893(_0x30ec5b,_0x2da6be);}};console[_0x522efc(0x246)](_0x3f40cc['BEKdy']),_0x2b0132[_0x522efc(0x29b)](()=>{console['log'](_0x3f40cc['CmNOH']),process['exit'](0x51f+-0x1*-0x18df+0x15d*-0x16);}),_0x3f40cc[_0x522efc(0x27d)](setTimeout,()=>{const _0xaa768a=_0x522efc;_0xaa768a(0x1f0)!==_0xaa768a(0x1f0)?(_0x4c5502[_0xaa768a(0x1c1)][_0x3f40cc['RmiPL']]=_0x364d2d,_0x2c2e45[_0xaa768a(0x1d9)+_0xaa768a(0x1ec)](_0x4adbba,_0x3deda0[_0xaa768a(0x201)](_0x412994))):(console['error'](_0xaa768a(0x1a2)+'utdown...'),process[_0xaa768a(0x28e)](0xef5+0x3*0x25d+-0xb*0x201));},-0x289d*0x1+0x289a*-0x1+0x7847*0x1);}); \ No newline at end of file +const _0x39f688=_0x5262;function _0x1427(){const _0x488ce8=['TYFkD','ied','createServ','forEach','assign','Bad\x20Gatewa','applicatio','.cache','Not\x20Found','GET','startsWith','wKPgI','.temp','log','\x20gracefull','8zphQLo','cacheHit','WtUht','BxqHR','bytes','writeHead','ync','ontent-len','mkdirSync','JSON\x20','VVjYK','xYdmw','ream','exit','uLOra','pipe','Bad\x20Reques','iVaGr','LYUmh','efined\x20for','ghwHp','randomByte','readFileSy','headersSen','ing\x20on\x20htt','LzdXW','UanAA','oOSou','hAZUf','THpqe','keZde','keep-alive','KDNFb','utdown...','statSync','WJQGf','FZVha','RxGby','data','x-age=3153','md5','MVdfE','DmZpP','vMmZz','BYxDU','Last-Modif','ngth','to\x20decode\x20','http','stringify','PNfQC','JcNtD','IAXPY','iuPwC','hex','wMvxX','yYzOX','xRuAs','size','eStream','6000','uhidD','Forcing\x20sh','Mcbxn','unlinkSync','YfZKW','FjtGj','split','Cqfpx','message','eMfVV','wEEqP','TigTl','1669563aVwHQs','includes','thhRt','length','uRlcj','Internal\x20S','WFBBQ','BPajH','XPEyU','y:\x20','toString','ULooq','Proxy\x20serv','50382EkZQEn','YDMiJ','ZcMAC','eAwrA','keys','hGVRD','GLcIs','endpoint','Warning:\x20c','realUrl','ZPnyb','string','fVZZS','ZbqKi','sKRYL','cloudtype','toUTCStrin','join','oFLAk','QTYom','zdGNc','911622ejWESB','EoINA','hfthL','MKzNZ','eTrBn','statusCode','TF-8;','xiWMc','ZXykd','ntent\x20file','.mp4','MJiwv','YmqKV','JzaAQ','KQnnP','now','ulSep','url','rgnjk','update','DiAHS','ZEKeW','existsSync','DHyNB','gennH','tting\x20down','OkBsU','SbDRl','uBOLl','tch','klSsZ','mpPiK','oSutS','VFTxv','krAPm','lHomq','sWFfG','renameSync','end','slice','ming\x20file:','https://x-','tZney','TF-8','argv','28eGnyTd','warn','video/mp4','createHash','VLVlV','cacheCall','JVNJQ','request','zpWqt','RUEwW','r:\x20Unable\x20','error','pathname','AekLL','yimuK','oTxIa','.content','utf8','timestamp','XCVXT','SnDDf','Received\x20S','expiration','TNyVo','t:\x20Missing','1786638klhzLH','che\x20conten','thumb','listen','favicon.ic','writeFileS','path','uniqid','text/plain','509245CtwKWs','public,\x20ma','path\x20(','if-none-ma','mkTsH','n/octet-st','content-le','p://localh','ClnoF','266088eAGEtB','foVYv','WQalI','get','JHbdA','XEfvj','createRead','crypto','rcqgx','hMyxm','NReNq','CrfQc','jfatT','if-modifie','IMRMs','port','rFXWE','GMwzY','bbs',';charset=U','y...','vKQsc','yJLdL','gSKaV','UfBSA','kNaqM','.meta','WnRPl','1014724zDgUsl','NfLCB','er\x20is\x20runn','www','headers','IGINT.\x20Shu','qkRpl','ielak','zjpZB','dMssH','qYrpM','n/json','FyVjT','NyGtB','CcTCw','bBJMe','parse','jSbgQ','substring','erver\x20Erro','Error\x20rena','fbVjV','avatar','TBpXe','PZKFV','https','XighG'];_0x1427=function(){return _0x488ce8;};return _0x1427();}(function(_0xe79fd3,_0x60fea4){const _0xc972bf=_0x5262,_0xdf7022=_0xe79fd3();while(!![]){try{const _0x1e95c3=-parseInt(_0xc972bf(0x155))/(-0xa2*-0x2e+0x5a5*-0x5+-0xe2)+parseInt(_0xc972bf(0xfd))/(-0x23b+0x1*0x1451+0xd*-0x164)+parseInt(_0xc972bf(0x143))/(0xd*-0x7+0xb5b+-0xafd)+-parseInt(_0xc972bf(0x171))/(0x1e03+-0x1e7+-0x1c18)+parseInt(_0xc972bf(0x14c))/(-0x869*0x1+0x1b3a+0x3*-0x644)+parseInt(_0xc972bf(0x1f1))/(-0x19f4+-0xd30+0x6*0x687)*(-parseInt(_0xc972bf(0x12a))/(-0x515*0x3+-0x1a80+0x1*0x29c6))+-parseInt(_0xc972bf(0x19b))/(0x1a4a+0x1b66+0x35a8*-0x1)*(parseInt(_0xc972bf(0x1e4))/(0x5*-0x277+-0x2343+0x1*0x2f9f));if(_0x1e95c3===_0x60fea4)break;else _0xdf7022['push'](_0xdf7022['shift']());}catch(_0x1c9c9a){_0xdf7022['push'](_0xdf7022['shift']());}}}(_0x1427,0x1*0x729c1+-0x2f867+0x2212c));const _0x24d8de=require(_0x39f688(0x1cb)),_0x4d2332=require(_0x39f688(0x18a)),_0x10cf50=require(_0x39f688(0x10e)),_0x45cc4a=require('querystrin'+'g'),_0xff27f7=require('fs'),_0x14991d=require(_0x39f688(0x149)),_0x18b290=require(_0x39f688(0x15c)),_0x294868=0x1fdf*0x1+-0x5*0xb6a+-0x2271*-0x3,_0x42fdce=_0x14991d['join'](__dirname,_0x39f688(0x193)),_0x46d272=process[_0x39f688(0x129)]['slice'](-0x2544+-0x10b1*-0x2+-0xa6*-0x6),_0x4c819e={},_0x462d01={'request':0x0,'cacheHit':0x0,'apiCall':0x0,'cacheCall':0x0};let _0x166871=0x4b7*-0x7+-0x2*0x4a5+0x4d74,_0x429774=_0x39f688(0x126)+'mo.cn:9001'+'/get/';_0x46d272[_0x39f688(0x18f)](_0x3eeed9=>{const _0x187361=_0x39f688,_0xf9e1be={'CcTCw':function(_0x406cd8,_0x5255f6,_0x1370b1,_0x1da88b){return _0x406cd8(_0x5255f6,_0x1370b1,_0x1da88b);},'WnRPl':function(_0x4873a7,_0x27c2fa){return _0x4873a7===_0x27c2fa;},'CrfQc':_0x187361(0x164),'PNfQC':function(_0x9a473,_0x1cb2f8,_0x31f1bf){return _0x9a473(_0x1cb2f8,_0x31f1bf);},'JHbdA':'api','wKPgI':function(_0x4f0741,_0x4416da){return _0x4f0741===_0x4416da;},'klSsZ':_0x187361(0x115)};_0x3eeed9[_0x187361(0x196)]('--')&&(_0x3eeed9=_0x3eeed9[_0x187361(0x183)](0xf94+-0x5d+0x11*-0xe5));const [_0x3a3f0b,_0x1378e1]=_0x3eeed9[_0x187361(0x1de)]('=');if(_0xf9e1be[_0x187361(0x170)](_0x3a3f0b,_0xf9e1be[_0x187361(0x160)]))_0x166871=_0xf9e1be[_0x187361(0x1cd)](parseInt,_0x1378e1,-0x24c+0xdcf+-0xb79);else _0xf9e1be['WnRPl'](_0x3a3f0b,_0xf9e1be[_0x187361(0x159)])&&(_0xf9e1be[_0x187361(0x197)](_0xf9e1be[_0x187361(0x11b)],_0xf9e1be['klSsZ'])?_0x429774=_0x1378e1:_0xf9e1be[_0x187361(0x17f)](_0x215772,_0x5b0816,_0x220adc,_0x7b1c9[_0x187361(0x1fa)]));});!_0xff27f7[_0x39f688(0x113)](_0x42fdce)&&_0xff27f7[_0x39f688(0x1a3)](_0x42fdce);function _0x5262(_0x2e0f8c,_0x26a350){const _0x52721d=_0x1427();return _0x5262=function(_0x3a186b,_0x343760){_0x3a186b=_0x3a186b-(0x381+-0x13*0x1a8+-0x2*-0xe78);let _0x3a3629=_0x52721d[_0x3a186b];return _0x3a3629;},_0x5262(_0x2e0f8c,_0x26a350);}setInterval(()=>{const _0xfbde7f=_0x39f688,_0x1ffa37={'JVNJQ':'hex','VLVlV':function(_0x583356,_0x127c11,_0x463dd6,_0x201cb2,_0x5836c4){return _0x583356(_0x127c11,_0x463dd6,_0x201cb2,_0x5836c4);},'TigTl':function(_0x12abce,_0x4884f8,_0x1b55e0,_0x5c528f,_0x3022a8,_0x145f5a){return _0x12abce(_0x4884f8,_0x1b55e0,_0x5c528f,_0x3022a8,_0x145f5a);},'MJyhA':'applicatio'+'n/json','bvqGb':function(_0x27012a,_0x874ac8){return _0x27012a!==_0x874ac8;},'buJdm':_0xfbde7f(0x114),'MVdfE':_0xfbde7f(0x19d),'YtIhv':function(_0x23d49f,_0x18b5a5){return _0x23d49f>_0x18b5a5;},'zdGNc':function(_0x2fd186,_0x4e9fdd){return _0x2fd186-_0x4e9fdd;},'sWFfG':function(_0x4e2bc6,_0x5f3ff7){return _0x4e2bc6*_0x5f3ff7;},'TYFkD':function(_0x36680a,_0x2f667a){return _0x36680a*_0x2f667a;},'LzdXW':function(_0x112ccb,_0x338d11){return _0x112ccb===_0x338d11;}},_0x26ad34=Date[_0xfbde7f(0x10c)]();for(const _0x39fa0c in _0x4c819e){if(_0x1ffa37['bvqGb'](_0x1ffa37['buJdm'],_0x1ffa37[_0xfbde7f(0x1c4)])){if(_0x1ffa37['YtIhv'](_0x1ffa37[_0xfbde7f(0xfc)](_0x26ad34,_0x4c819e[_0x39fa0c][_0xfbde7f(0x13c)]),_0x1ffa37[_0xfbde7f(0x121)](_0x1ffa37[_0xfbde7f(0x18c)](_0x1ffa37[_0xfbde7f(0x121)](0x11b*0x6+0x25b+-0x8e5,0x695+0x20b8+-0x2711),-0x4be+-0x6*0x19c+0x2*0x751),0x2b*-0xd+-0x2d*0x6d+0x1940))){if(_0x1ffa37[_0xfbde7f(0x1b4)](_0xfbde7f(0x132),'xLCsl')){const {url:_0x103d48,cloudtype:_0x465a8a,expiration:_0x3f6cba,path:_0x43de0b,headers:_0x43a590,uniqid:_0x31eda0}=_0x247e9c['data'],_0x5dc15a={'realUrl':_0x103d48,'cloudtype':_0x465a8a,'expiration':_0x3f6cba*(-0x34*-0x55+0x120+0x9*-0x19c),'path':_0x43de0b,'headers':_0x43a590,'uniqid':_0x31eda0};_0x94e66a[_0x1ed235]={'uniqid':_0x5dc15a[_0xfbde7f(0x14a)],'timestamp':_0x4b04e3[_0xfbde7f(0x10c)]()},_0x2c7070=_0x16c18b[_0xfbde7f(0xf9)](_0x17d0f6,_0x5dc15a[_0xfbde7f(0x14a)]+_0xfbde7f(0x16f)),_0x5906f1=_0x2ea7e8[_0xfbde7f(0xf9)](_0x519788,_0x5dc15a[_0xfbde7f(0x14a)]+_0xfbde7f(0x13a)),_0x2f9258=_0x369ddd[_0xfbde7f(0xf9)](_0x56da5b,_0x5dc15a['uniqid']+'_'+_0x429e49['randomByte'+'s'](0x8b*-0x19+-0x2d7+0x6f*0x26)[_0xfbde7f(0x1ee)](_0x1ffa37[_0xfbde7f(0x130)])+_0xfbde7f(0x198)),_0x16f4f9[_0xfbde7f(0x148)+_0xfbde7f(0x1a1)](_0x2b8dee,_0x292c18[_0xfbde7f(0x1cc)](_0x5dc15a)),_0x329307[_0xfbde7f(0x113)](_0x129b62)?_0x1ffa37[_0xfbde7f(0x12e)](_0x7573f7,_0x5dc15a,_0xc40301,_0x3e03ef,_0x1d8878):_0x1ffa37[_0xfbde7f(0x1e3)](_0x4f7e9a,_0x5dc15a,_0x283705,_0x5df076,_0x3fdb2f,_0x57c986);}else delete _0x4c819e[_0x39fa0c];}}else{_0x2bd866[_0xfbde7f(0x1a0)](-0x1*-0xc6+-0x1887+-0x1*-0x1889,{'Content-Type':_0x1ffa37['MJyhA']}),_0x259b68[_0xfbde7f(0x123)](_0x1c88d7[_0xfbde7f(0x1cc)]({'code':0xc8,'data':{'api':_0x57ee71,'port':_0xaa1056,'cacheDir':_0x131342,'pathIndexCount':_0x16863d[_0xfbde7f(0x1f5)](_0x1decf8)[_0xfbde7f(0x1e7)],'viewsInfo':_0x3ec1f6}}));return;}}},(0x79*-0x1c+-0x25be+0x3336)*(0xc42*0x1+-0x1b*0x13+-0xa05)*(0x121e+0x1b4f+-0x3*0xdd7));const _0x16300e=_0x24d8de[_0x39f688(0x18e)+'er'](async(_0x2c0dae,_0x451e52)=>{const _0x34c023=_0x39f688,_0x5d7812={'mpPiK':function(_0x585aab,_0x1fcf3f,_0x25f7ad,_0x15d54d){return _0x585aab(_0x1fcf3f,_0x25f7ad,_0x15d54d);},'vKQsc':_0x34c023(0x13b),'hGVRD':function(_0xa964af,_0x1a9cbc){return _0xa964af>_0x1a9cbc;},'ZPnyb':_0x34c023(0x14b)+';charset=U'+_0x34c023(0x128),'EwKBx':'Not\x20Found','bBJMe':function(_0x75738,_0x451dfc,_0x442d23,_0x313be8,_0x1b39f3){return _0x75738(_0x451dfc,_0x442d23,_0x313be8,_0x1b39f3);},'THpqe':function(_0x1c78af,_0x570bb4){return _0x1c78af(_0x570bb4);},'FyVjT':function(_0x1a9424,_0x306f0e){return _0x1a9424(_0x306f0e);},'keZde':function(_0x5843b0,_0x55346d){return _0x5843b0+_0x55346d;},'XEfvj':function(_0x3783b0,_0x4a8706,_0x5989f7,_0x28a3df,_0x479251,_0x47cfb1){return _0x3783b0(_0x4a8706,_0x5989f7,_0x28a3df,_0x479251,_0x47cfb1);},'tZney':function(_0x5d5f40,_0x2c8b21){return _0x5d5f40===_0x2c8b21;},'MKzNZ':_0x34c023(0x147)+'o','FjtGj':_0x34c023(0x10d),'eMfVV':_0x34c023(0x101),'IMRMs':_0x34c023(0x1f8),'ZcMAC':_0x34c023(0x1bf),'kNaqM':'applicatio'+_0x34c023(0x17c),'krAPm':'undefined','vMmZz':_0x34c023(0x187),'qkRpl':_0x34c023(0x167),'yYzOX':_0x34c023(0x174),'XighG':_0x34c023(0x10e),'rFXWE':_0x34c023(0x145),'FObjW':_0x34c023(0x189),'SbDRl':_0x34c023(0x1c3),'uLOra':function(_0x2cc6ca,_0x11a3e8){return _0x2cc6ca+_0x11a3e8;},'oOSou':_0x34c023(0x1d1),'oTxIa':function(_0x75d0c4,_0x293f19,_0x390161){return _0x75d0c4(_0x293f19,_0x390161);},'thhRt':'XYdgw','YDMiJ':_0x34c023(0x16c),'JcNtD':_0x34c023(0x17b),'ULooq':function(_0xd55106,_0x3724cf,_0x252ab4,_0x23c3e4,_0x3aa55a){return _0xd55106(_0x3724cf,_0x252ab4,_0x23c3e4,_0x3aa55a);},'bJxzh':_0x34c023(0x15d),'NyGtB':function(_0x582be7,_0x4ec21e,_0x3ed053){return _0x582be7(_0x4ec21e,_0x3ed053);},'twxrg':function(_0x502971,_0x10f107){return _0x502971!==_0x10f107;},'dMssH':_0x34c023(0x1d8),'RclHF':_0x34c023(0x14b)+_0x34c023(0x168)+_0x34c023(0x103),'GLcIs':'Bad\x20Gatewa'+'y','rgnjk':'Bad\x20Gatewa'+'y:\x20Failed\x20'+_0x34c023(0x1ca)+_0x34c023(0x1a4)};_0x2c0dae[_0x34c023(0x10e)]=_0x2c0dae[_0x34c023(0x10e)]['replace'](/\/{2,}/g,'/');const _0x23cc7e=_0x10cf50[_0x34c023(0x181)](_0x2c0dae[_0x34c023(0x10e)],!![]);let _0x2e8162=_0x23cc7e[_0x34c023(0x136)][_0x34c023(0x1de)]('/')[-0x6e4+-0x2*0xfa3+-0x262b*-0x1],_0xdc11b5=_0x23cc7e[_0x34c023(0x136)]['split']('/')[_0x34c023(0x124)](0x4cd*0x5+0x2*0xea1+-0x3541*0x1)[_0x34c023(0xf9)]('/');if(_0x5d7812[_0x34c023(0x127)](_0x2e8162,_0x5d7812[_0x34c023(0x100)])){if(_0x5d7812[_0x34c023(0x1dd)]===_0x5d7812[_0x34c023(0x1e1)])_0x5d7812[_0x34c023(0x11c)](_0x1263b5,_0x4a4c36,_0x268ffa,_0x271c08[_0x34c023(0x1fa)]);else{_0x451e52['writeHead'](0x1201+-0x8db*-0x2+-0x7*0x4fd),_0x451e52[_0x34c023(0x123)]();return;}}if(_0x5d7812[_0x34c023(0x127)](_0x2e8162,_0x5d7812[_0x34c023(0x163)])){if(_0x5d7812[_0x34c023(0x127)](_0x5d7812[_0x34c023(0x1f3)],'FZVha')){_0x451e52[_0x34c023(0x1a0)](-0x16*-0x4f+0x1617+0x1*-0x1c19,{'Content-Type':_0x5d7812[_0x34c023(0x16e)]}),_0x451e52[_0x34c023(0x123)](JSON[_0x34c023(0x1cc)]({'code':0xc8,'data':{'api':_0x429774,'port':_0x166871,'cacheDir':_0x42fdce,'pathIndexCount':Object[_0x34c023(0x1f5)](_0x4c819e)['length'],'viewsInfo':_0x462d01}}));return;}else{if(!_0x80e602[_0x34c023(0x113)](_0x25c6a9)||!_0x28a929[_0x34c023(0x113)](_0x5ccd70))return![];const _0x551536=_0x3c4c2d['parse'](_0x598873['readFileSy'+'nc'](_0x3ccd66,_0x5d7812[_0x34c023(0x16a)]));return _0x5d7812[_0x34c023(0x1f6)](_0x551536[_0x34c023(0x140)],_0x259607[_0x34c023(0x10c)]());}}(_0x5d7812['tZney'](_0xdc11b5,'')||_0x5d7812[_0x34c023(0x127)](typeof _0xdc11b5,_0x5d7812[_0x34c023(0x11f)]))&&(_0xdc11b5=_0x2e8162,_0x2e8162='go');if(![_0x5d7812[_0x34c023(0x1c6)],'go',_0x5d7812[_0x34c023(0x177)],_0x5d7812[_0x34c023(0x1d3)],_0x5d7812[_0x34c023(0x18b)],_0x5d7812[_0x34c023(0x165)]]['includes'](_0x2e8162)){_0x451e52[_0x34c023(0x1a0)](-0x799+-0xde6+-0x1*-0x1713,{'Content-Type':_0x5d7812[_0x34c023(0x1fb)]}),_0x451e52[_0x34c023(0x123)](_0x34c023(0x194));return;}if(!_0xdc11b5||_0x2e8162===''){if(_0x5d7812['tZney'](_0x34c023(0x189),_0x5d7812['FObjW'])){_0x451e52[_0x34c023(0x1a0)](-0x2b*-0x47+-0x187d*0x1+-0x2*-0x710,{'Content-Type':_0x5d7812[_0x34c023(0x1fb)]}),_0x451e52[_0x34c023(0x123)](_0x5d7812[_0x34c023(0x1b9)](_0x34c023(0x1ab)+_0x34c023(0x142)+'\x20Token\x20or\x20'+_0x34c023(0x14e),_0x2e8162)+')');return;}else{_0x23683e[_0x34c023(0x1a0)](-0xcf8*-0x2+0xc*0x89+-0x1ec8,{'Content-Type':_0x5d7812[_0x34c023(0x1fb)]}),_0x25bd8b['end'](_0x5d7812['EwKBx']);return;}}_0x462d01[_0x34c023(0x131)]++;const _0x4ac67b=_0x18b290[_0x34c023(0x12d)](_0x5d7812[_0x34c023(0x118)])[_0x34c023(0x110)](_0x5d7812[_0x34c023(0x1a9)](_0x2e8162,_0xdc11b5))['digest'](_0x5d7812[_0x34c023(0x1b6)]);let _0x459222='',_0x37d5aa='',_0x11e3ce='';_0x4c819e[_0x4ac67b]&&(_0x459222=_0x14991d['join'](_0x42fdce,_0x4c819e[_0x4ac67b][_0x34c023(0x14a)]+_0x34c023(0x16f)),_0x37d5aa=_0x14991d[_0x34c023(0xf9)](_0x42fdce,_0x4c819e[_0x4ac67b][_0x34c023(0x14a)]+_0x34c023(0x13a)));if(_0x4c819e[_0x4ac67b]&&_0x5d7812[_0x34c023(0x139)](_0xca6b75,_0x459222,_0x37d5aa)){if(_0x5d7812[_0x34c023(0x127)]('JzKPN',_0x5d7812[_0x34c023(0x1e6)]))_0x5d7812[_0x34c023(0x180)](_0x4946ec,_0x58150e,_0x2ce5b7,_0xf6b95f,_0x25b020);else{const {cacheData:_0x1031b4,isNotModified:_0x31a1f8}=await _0x3374c8(_0x2c0dae,_0x459222);_0x31a1f8?_0x5d7812[_0x34c023(0x127)](_0x5d7812[_0x34c023(0x1f2)],_0x5d7812[_0x34c023(0x1f2)])?(_0x451e52['writeHead'](-0xbed+-0xca1+0x293*0xa),_0x451e52[_0x34c023(0x123)]()):(_0x1d8c08=_0xdfbaa2,_0x461d18='go'):_0x5d7812[_0x34c023(0x127)](_0x34c023(0x17b),_0x5d7812[_0x34c023(0x1ce)])?(_0x462d01[_0x34c023(0x19c)]++,_0x5d7812[_0x34c023(0x1ef)](_0x142fdd,_0x1031b4,_0x37d5aa,_0x459222,_0x451e52)):(_0x458b21[_0x34c023(0x175)][_0x34c023(0x152)+_0x34c023(0x1c9)]=_0x555799,_0x3116c1[_0x34c023(0x148)+_0x34c023(0x1a1)](_0x258cff,_0x4ef9e4[_0x34c023(0x1cc)](_0x3ac813)));}}else try{if(_0x5d7812[_0x34c023(0x127)](_0x5d7812['bJxzh'],_0x5d7812['bJxzh'])){_0x462d01['apiCall']++;const _0x5eb987=await _0x5d7812[_0x34c023(0x17e)](_0x10ba9d,_0x2e8162,_0xdc11b5);if(_0x5d7812[_0x34c023(0x127)](_0x5eb987['code'],0x25e1*0x1+0xa76+-0x2f8f*0x1)&&_0x5eb987['data']&&_0x5eb987[_0x34c023(0x1c1)]['url']){const {url:_0x51bc9e,cloudtype:_0x4cd96a,expiration:_0x155483,path:_0x551dca,headers:_0x4318bc,uniqid:_0x34600b}=_0x5eb987[_0x34c023(0x1c1)],_0x5cdc54={'realUrl':_0x51bc9e,'cloudtype':_0x4cd96a,'expiration':_0x155483*(-0x1*0xc1a+0xe39+0x1*0x1c9),'path':_0x551dca,'headers':_0x4318bc,'uniqid':_0x34600b};_0x4c819e[_0x4ac67b]={'uniqid':_0x5cdc54[_0x34c023(0x14a)],'timestamp':Date[_0x34c023(0x10c)]()},_0x459222=_0x14991d[_0x34c023(0xf9)](_0x42fdce,_0x5cdc54[_0x34c023(0x14a)]+_0x34c023(0x16f)),_0x37d5aa=_0x14991d[_0x34c023(0xf9)](_0x42fdce,_0x5cdc54[_0x34c023(0x14a)]+_0x34c023(0x13a)),_0x11e3ce=_0x14991d['join'](_0x42fdce,_0x5cdc54[_0x34c023(0x14a)]+'_'+_0x18b290[_0x34c023(0x1b0)+'s'](0x288*0x4+-0x1*-0x23a6+-0x2db6)[_0x34c023(0x1ee)](_0x5d7812['oOSou'])+_0x34c023(0x198)),_0xff27f7['writeFileS'+_0x34c023(0x1a1)](_0x459222,JSON[_0x34c023(0x1cc)](_0x5cdc54));if(_0xff27f7['existsSync'](_0x37d5aa)){if(_0x5d7812['twxrg'](_0x5d7812[_0x34c023(0x17a)],_0x5d7812['dMssH']))try{_0x5d7812[_0x34c023(0x1b8)](_0x52b615,_0x341f52[_0x34c023(0x181)](_0x5e0a3f));}catch(_0x3c46cc){_0x5d7812[_0x34c023(0x17d)](_0x246fc8,_0x5d7812[_0x34c023(0x1b9)](_0x3c46cc,_0x44f29b));}else _0x142fdd(_0x5cdc54,_0x37d5aa,_0x459222,_0x451e52);}else _0x2df749(_0x5cdc54,_0x11e3ce,_0x37d5aa,_0x459222,_0x451e52);}else _0x451e52['writeHead'](-0x1*0x9f5+-0x1c37+0x2822,{'Content-Type':_0x5d7812['RclHF']}),_0x451e52[_0x34c023(0x123)](_0x5eb987[_0x34c023(0x1e0)]||_0x5d7812[_0x34c023(0x1f7)]);}else _0x5d7812[_0x34c023(0x15a)](_0x1b865d,_0x1a5e0c,_0x52e31e,_0x2b3546,_0x1c4b66,_0x333f4a);}catch(_0x432adb){_0x451e52[_0x34c023(0x1a0)](-0x126+-0x2009+0xbb7*0x3,{'Content-Type':_0x5d7812[_0x34c023(0x1fb)]}),_0x451e52[_0x34c023(0x123)](_0x5d7812[_0x34c023(0x10f)]+_0x432adb);}}),_0x3374c8=async(_0xc659ed,_0x4c2b7d)=>{const _0x4ccde4=_0x39f688,_0x1de369={'hMyxm':function(_0x46436c,_0x26c37e){return _0x46436c+_0x26c37e;},'xiWMc':_0x4ccde4(0x13b),'MJiwv':_0x4ccde4(0x14f)+_0x4ccde4(0x11a),'uBOLl':_0x4ccde4(0x162)+'d-since','uRlcj':function(_0x391114,_0x38dd87){return _0x391114===_0x38dd87;},'OkBsU':_0x4ccde4(0x1c8)+_0x4ccde4(0x18d),'JlATm':function(_0x4a587a,_0x13e93b){return _0x4a587a!==_0x13e93b;}},_0x55b807=JSON[_0x4ccde4(0x181)](_0xff27f7[_0x4ccde4(0x1b1)+'nc'](_0x4c2b7d,_0x1de369[_0x4ccde4(0x104)])),_0x91c1bf=_0xc659ed[_0x4ccde4(0x175)][_0x1de369[_0x4ccde4(0x108)]],_0x318cf4=_0xc659ed[_0x4ccde4(0x175)][_0x1de369[_0x4ccde4(0x119)]];let _0x43a6e8=![];if(_0x91c1bf&&_0x1de369[_0x4ccde4(0x1e8)](_0x91c1bf,_0x55b807[_0x4ccde4(0x14a)]))_0x43a6e8=!![];else{if(_0x318cf4){const _0x3f7d04=new Date(_0x55b807[_0x4ccde4(0x175)][_0x1de369[_0x4ccde4(0x117)]]),_0x1413ac=new Date(_0x318cf4);_0x3f7d04<=_0x1413ac&&(_0x1de369['JlATm'](_0x4ccde4(0x1da),_0x4ccde4(0x1b7))?_0x43a6e8=!![]:_0x5fd771(_0x1de369[_0x4ccde4(0x15e)](_0x3e143a,_0x5d0c2b)));}}return{'cacheData':_0x55b807,'isNotModified':_0x43a6e8};},_0xca6b75=(_0x480ddd,_0x1894a8)=>{const _0x44b914=_0x39f688,_0x2e2ada={'wEEqP':function(_0x2de230,_0x87478f){return _0x2de230>_0x87478f;}};if(!_0xff27f7[_0x44b914(0x113)](_0x480ddd)||!_0xff27f7[_0x44b914(0x113)](_0x1894a8))return![];const _0x4e1b6e=JSON[_0x44b914(0x181)](_0xff27f7['readFileSy'+'nc'](_0x480ddd,_0x44b914(0x13b)));return _0x2e2ada[_0x44b914(0x1e2)](_0x4e1b6e[_0x44b914(0x140)],Date['now']());},_0x10ba9d=(_0x288aa3,_0x4c3ceb)=>{const _0x58bf2d=_0x39f688,_0x1dd680={'wWinn':function(_0x6568e6,_0x47a37a){return _0x6568e6!==_0x47a37a;},'SnDDf':_0x58bf2d(0x15f),'EoINA':_0x58bf2d(0x1bb),'ZcxCn':function(_0x874e5a,_0x257c1c){return _0x874e5a(_0x257c1c);},'zbNhJ':function(_0x15df14,_0x20d1dc){return _0x15df14(_0x20d1dc);},'WFBBQ':_0x58bf2d(0x123),'jSbgQ':_0x58bf2d(0x195),'VVjYK':_0x58bf2d(0x192)+'n/json','xDXGS':_0x58bf2d(0x135)};return new Promise((_0x22bd79,_0x1bc827)=>{const _0x48e24f=_0x58bf2d,_0x105c59=_0x45cc4a[_0x48e24f(0x1cc)]({'type':_0x288aa3}),_0x42313a=_0x429774+'?'+_0x105c59,_0x1d4c0e=_0x4d2332[_0x48e24f(0x131)](_0x42313a,{'method':_0x1dd680[_0x48e24f(0x182)],'headers':{'Accept':_0x1dd680[_0x48e24f(0x1a5)],'token':_0x4c3ceb},'timeout':_0x294868,'rejectUnauthorized':![]},_0x704240=>{const _0x4847dd=_0x48e24f,_0x219015={'iuPwC':function(_0x53b8ca,_0x2a567b){return _0x1dd680['wWinn'](_0x53b8ca,_0x2a567b);},'Cqfpx':_0x1dd680[_0x4847dd(0x13e)],'xRuAs':_0x1dd680[_0x4847dd(0xfe)],'xYdmw':function(_0x334199,_0x25299c){return _0x1dd680['ZcxCn'](_0x334199,_0x25299c);},'yJLdL':function(_0x655cdc,_0xf34475){return _0x1dd680['zbNhJ'](_0x655cdc,_0xf34475);},'YmqKV':function(_0xd5dc17,_0x4f09b2){return _0xd5dc17+_0x4f09b2;}};let _0x2dab4f='';_0x704240['on'](_0x4847dd(0x1c1),_0x395648=>_0x2dab4f+=_0x395648),_0x704240['on'](_0x1dd680[_0x4847dd(0x1ea)],()=>{const _0xc0308=_0x4847dd;try{_0x219015[_0xc0308(0x1d0)](_0x219015[_0xc0308(0x1df)],_0x219015[_0xc0308(0x1d4)])?_0x219015[_0xc0308(0x1a6)](_0x22bd79,JSON[_0xc0308(0x181)](_0x2dab4f)):_0x47ee8c=!![];}catch(_0x472d31){_0x219015[_0xc0308(0x16b)](_0x1bc827,_0x219015[_0xc0308(0x109)](_0x472d31,_0x2dab4f));}});});_0x1d4c0e['on'](_0x1dd680['xDXGS'],_0x1bc827),_0x1d4c0e[_0x48e24f(0x123)]();});},_0x2df749=(_0x211402,_0x586959,_0x2aae3c,_0x45603c,_0xf179c1)=>{const _0x19a290=_0x39f688,_0x3e678b={'wMvxX':function(_0x15a5cf,_0x2e9f55){return _0x15a5cf===_0x2e9f55;},'lJlGl':'port','zjpZB':function(_0x267070,_0x461f82){return _0x267070===_0x461f82;},'ZXykd':'api','PzQOV':_0x19a290(0xff),'AekLL':_0x19a290(0x150),'YPhcE':_0x19a290(0x1fc),'ClnoF':'.mp4','BxqHR':_0x19a290(0x152)+_0x19a290(0x1c9),'DiAHS':function(_0x391c75,_0x2a9f44){return _0x391c75!==_0x2a9f44;},'ZbqKi':_0x19a290(0x10a),'sKRYL':_0x19a290(0x10b),'TRVdS':_0x19a290(0x1f9)+_0x19a290(0x1a2)+'gth\x20is\x20und'+_0x19a290(0x1ae)+'\x20the\x20respo'+'nse\x20from:','kfCrR':_0x19a290(0x12c),'oFLAk':_0x19a290(0x192)+_0x19a290(0x151)+_0x19a290(0x1a7),'YfZKW':'keep-alive','XPEyU':_0x19a290(0x123),'fVZZS':_0x19a290(0x135),'DmZpP':function(_0x4003b6,_0x5b1675,_0x26f9d7,_0x390711){return _0x4003b6(_0x5b1675,_0x26f9d7,_0x390711);},'GMwzY':function(_0x53ef93,_0x4b9fb9){return _0x53ef93*_0x4b9fb9;}};_0x4d2332[_0x19a290(0x158)](_0x211402[_0x19a290(0x1fa)],{'timeout':_0x3e678b[_0x19a290(0x166)](_0x294868,-0x1d*-0xdf+-0x1115*-0x1+-0x2a4e),'rejectUnauthorized':![]},_0x29c58b=>{const _0x2dc746=_0x19a290,_0xd01e38={'TNyVo':function(_0x18177a,_0x30707e){const _0x2d837c=_0x5262;return _0x3e678b[_0x2d837c(0x179)](_0x18177a,_0x30707e);},'RUEwW':_0x3e678b['PzQOV'],'lHomq':_0x3e678b[_0x2dc746(0x137)]},_0x3f3259=_0xff27f7['createWrit'+_0x2dc746(0x1d6)](_0x586959,{'flags':'w'});let _0x59db38=_0x211402[_0x2dc746(0x149)]&&_0x3e678b['wMvxX'](typeof _0x211402[_0x2dc746(0x149)],_0x3e678b['YPhcE'])&&_0x211402[_0x2dc746(0x149)][_0x2dc746(0x1e5)](_0x3e678b[_0x2dc746(0x154)]);const _0x123dfa=_0x29c58b[_0x2dc746(0x175)][_0x3e678b['BxqHR']];if(_0x123dfa){if(_0x3e678b[_0x2dc746(0x111)]('QyHYc',_0x2dc746(0x178)))_0x211402[_0x2dc746(0x175)][_0x3e678b[_0x2dc746(0x19e)]]=_0x123dfa,_0xff27f7[_0x2dc746(0x148)+_0x2dc746(0x1a1)](_0x45603c,JSON[_0x2dc746(0x1cc)](_0x211402));else{_0x3713e1[_0x2dc746(0x196)]('--')&&(_0x24ec03=_0x1c46d2[_0x2dc746(0x183)](0xc1*0x2f+-0x1ef5+-0x478));const [_0x374502,_0x1c8bd2]=_0x4252c6[_0x2dc746(0x1de)]('=');if(_0x3e678b[_0x2dc746(0x1d2)](_0x374502,_0x3e678b['lJlGl']))_0x1fcb8f=_0x28ad89(_0x1c8bd2,-0x581+-0x1116+0x1*0x16a1);else _0x3e678b[_0x2dc746(0x179)](_0x374502,_0x3e678b[_0x2dc746(0x105)])&&(_0x1eaa85=_0x1c8bd2);}}else _0x3e678b['wMvxX'](_0x3e678b[_0x2dc746(0x1fe)],_0x3e678b[_0x2dc746(0x1ff)])?_0x5766d2=_0x31180a:console[_0x2dc746(0x12b)](_0x3e678b['TRVdS'],_0x211402['realUrl']);const _0x241507={'Cloud-Type':_0x211402[_0x2dc746(0x200)],'Cloud-Expiration':_0x211402[_0x2dc746(0x140)],'Content-Type':_0x59db38?_0x3e678b['kfCrR']:_0x3e678b[_0x2dc746(0xfa)],'ETag':_0x211402[_0x2dc746(0x14a)]||'','Cache-Control':_0x2dc746(0x14d)+_0x2dc746(0x1c2)+_0x2dc746(0x1d7),'Expires':new Date(Date[_0x2dc746(0x10c)]()+(-0xb463755c0+-0x56ebcf3e8+0x180ca575a8))[_0x2dc746(0x201)+'g'](),'Accept-Ranges':'bytes','Connection':_0x3e678b[_0x2dc746(0x1dc)],'Date':new Date()[_0x2dc746(0x201)+'g'](),'Last-Modified':new Date()[_0x2dc746(0x201)+'g']()};_0xf179c1['writeHead'](_0x29c58b[_0x2dc746(0x102)],Object[_0x2dc746(0x190)]({},_0x241507,_0x211402[_0x2dc746(0x175)])),_0x29c58b['pipe'](_0x3f3259),_0x29c58b['pipe'](_0xf179c1),_0x29c58b['on'](_0x3e678b[_0x2dc746(0x1ec)],()=>{const _0x31df43=_0x2dc746;if(_0x31df43(0x172)==='IuTpZ')delete _0x1b40cf[_0x17b1aa];else{_0x3f3259[_0x31df43(0x123)]();if(_0xff27f7['existsSync'](_0x586959)){if(_0xd01e38[_0x31df43(0x141)](_0xd01e38[_0x31df43(0x133)],_0xd01e38[_0x31df43(0x120)]))!_0x2c91c9[_0x31df43(0x1b2)+'t']&&(_0x5e40af[_0x31df43(0x1a0)](-0x1*0xc19+-0x11*-0x2e+0xb01,{'Content-Type':_0x31df43(0x14b)+_0x31df43(0x168)+'TF-8'}),_0x105ac4[_0x31df43(0x123)](_0x31df43(0x191)+_0x31df43(0x1ed)+_0x4ef880)),_0x37f0f8[_0x31df43(0x113)](_0x3c1e65)&&_0x412cc9[_0x31df43(0x1db)](_0xcf8dfe);else try{_0xff27f7['renameSync'](_0x586959,_0x2aae3c);}catch(_0x558dcb){if(_0x31df43(0x1b5)!==_0x31df43(0x1f4))console[_0x31df43(0x135)](_0x31df43(0x185)+'ming\x20file:'+'\x20'+_0x558dcb);else try{_0x2e5b09[_0x31df43(0x122)](_0x6c4194,_0x1f486d);}catch(_0x290e99){_0x50c10e['error'](_0x31df43(0x185)+_0x31df43(0x125)+'\x20'+_0x290e99);}}}}}),_0x29c58b['on'](_0x3e678b[_0x2dc746(0x1fd)],_0xa9e98=>{const _0x4e85ac=_0x2dc746;_0x2a8691(_0xf179c1,_0x586959,_0x211402[_0x4e85ac(0x1fa)]);});})['on'](_0x3e678b[_0x19a290(0x1fd)],_0x3c4480=>{const _0x1773c7=_0x19a290;_0x3e678b[_0x1773c7(0x1c5)](_0x2a8691,_0xf179c1,_0x586959,_0x211402[_0x1773c7(0x1fa)]);});},_0x142fdd=(_0x237f28,_0x5a78c4,_0x5ccee8,_0x1c6b04)=>{const _0x14bea3=_0x39f688,_0x13d489={'LyYLQ':_0x14bea3(0x14b)+_0x14bea3(0x168)+_0x14bea3(0x128),'XJgws':_0x14bea3(0x12c),'fbVjV':_0x14bea3(0x14d)+_0x14bea3(0x1c2)+'6000','WQalI':_0x14bea3(0x19f),'TBpXe':_0x14bea3(0x1ba),'BYxDU':function(_0x3c90bc,_0x3d71eb){return _0x3c90bc(_0x3d71eb);},'BPajH':function(_0x20b7a6,_0x1fbb52){return _0x20b7a6===_0x1fbb52;},'ZEKeW':_0x14bea3(0x1fc),'IAXPY':function(_0x5ba5d4,_0x9f07eb){return _0x5ba5d4===_0x9f07eb;},'jfatT':_0x14bea3(0x152)+_0x14bea3(0x1c9),'yyJXM':function(_0x5a10ec,_0x2069cd){return _0x5a10ec!==_0x2069cd;},'RxGby':'yimuK','UfBSA':_0x14bea3(0x1f9)+_0x14bea3(0x1a2)+'gth\x20is\x20und'+'efined\x20for'+'\x20cached\x20co'+_0x14bea3(0x106)+':','wYSpq':'open','oSutS':_0x14bea3(0x135)};_0x462d01[_0x14bea3(0x12f)]++;const _0x2cfbfe=_0xff27f7[_0x14bea3(0x15b)+'Stream'](_0x5a78c4);let _0x1d95a4=_0x237f28['path']&&_0x13d489[_0x14bea3(0x1eb)](typeof _0x237f28['path'],_0x13d489[_0x14bea3(0x112)])&&_0x237f28[_0x14bea3(0x149)][_0x14bea3(0x1e5)](_0x14bea3(0x107));if(!_0x237f28[_0x14bea3(0x175)][_0x14bea3(0x152)+_0x14bea3(0x1c9)]||_0x13d489[_0x14bea3(0x1cf)](_0x237f28[_0x14bea3(0x175)][_0x13d489[_0x14bea3(0x161)]],-0x1f43+-0x22f5+-0x146*-0x34)){const _0x48085e=_0xff27f7[_0x14bea3(0x1bd)](_0x5a78c4)[_0x14bea3(0x1d5)];_0x48085e?_0x13d489['yyJXM'](_0x14bea3(0x138),_0x13d489[_0x14bea3(0x1c0)])?_0x13d770=!![]:(_0x237f28[_0x14bea3(0x175)][_0x13d489[_0x14bea3(0x161)]]=_0x48085e,_0xff27f7[_0x14bea3(0x148)+_0x14bea3(0x1a1)](_0x5ccee8,JSON['stringify'](_0x237f28))):_0x13d489[_0x14bea3(0x1cf)](_0x14bea3(0x1ad),'nhemQ')?(_0x44a8f6['writeHead'](0x5b*-0xd+-0xe3a+0x1*0x14cf,{'Content-Type':_0x13d489['LyYLQ']}),_0x3ddc1b[_0x14bea3(0x123)](_0x14bea3(0x191)+_0x14bea3(0x1ed)+_0x4f1778)):console[_0x14bea3(0x12b)](_0x13d489[_0x14bea3(0x16d)],_0x5a78c4);}_0x2cfbfe['on'](_0x13d489['wYSpq'],()=>{const _0x3b41ae=_0x14bea3,_0xce29d9={'Cloud-Type':_0x237f28[_0x3b41ae(0x200)],'Cloud-Expiration':_0x237f28[_0x3b41ae(0x140)],'Content-Type':_0x1d95a4?_0x13d489['XJgws']:_0x3b41ae(0x192)+_0x3b41ae(0x151)+_0x3b41ae(0x1a7),'ETag':_0x237f28[_0x3b41ae(0x14a)]||'','Cache-Control':_0x13d489[_0x3b41ae(0x186)],'Expires':new Date(Date[_0x3b41ae(0x10c)]()+(0x10157*-0xa5372+-0x6efab6a04+0x18a8a463c2))['toUTCStrin'+'g'](),'Accept-Ranges':_0x13d489[_0x3b41ae(0x157)],'Connection':_0x13d489[_0x3b41ae(0x188)],'Date':new Date()[_0x3b41ae(0x201)+'g'](),'Last-Modified':new Date()[_0x3b41ae(0x201)+'g']()};_0x1c6b04[_0x3b41ae(0x1a0)](0x1*0x199+-0x91f*-0x4+-0x1*0x254d,Object[_0x3b41ae(0x190)]({},_0xce29d9,_0x237f28['headers'])),_0x2cfbfe[_0x3b41ae(0x1aa)](_0x1c6b04);}),_0x2cfbfe['on'](_0x13d489[_0x14bea3(0x11d)],_0x525d06=>{const _0x1ba7a5=_0x14bea3;_0x13d489[_0x1ba7a5(0x1c7)](_0x4bc5b0,_0x1c6b04);});},_0x2a8691=(_0x5d9134,_0x55927e,_0xb20b6c)=>{const _0x4b07f4=_0x39f688,_0x101ded={'OcWYT':_0x4b07f4(0x14b)+_0x4b07f4(0x168)+'TF-8'};!_0x5d9134[_0x4b07f4(0x1b2)+'t']&&(_0x5d9134[_0x4b07f4(0x1a0)](0x4*-0x99f+0x2303*0x1+0x56f,{'Content-Type':_0x101ded['OcWYT']}),_0x5d9134[_0x4b07f4(0x123)]('Bad\x20Gatewa'+_0x4b07f4(0x1ed)+_0xb20b6c)),_0xff27f7[_0x4b07f4(0x113)](_0x55927e)&&_0xff27f7[_0x4b07f4(0x1db)](_0x55927e);},_0x4bc5b0=_0x1e69a8=>{const _0x30dcb7=_0x39f688,_0x1ca6ba={'VFTxv':'text/plain'+_0x30dcb7(0x168)+'TF-8','qqgGw':_0x30dcb7(0x1e9)+_0x30dcb7(0x184)+_0x30dcb7(0x134)+'to\x20read\x20ca'+_0x30dcb7(0x144)+'t\x20file'};!_0x1e69a8[_0x30dcb7(0x1b2)+'t']&&(_0x1e69a8[_0x30dcb7(0x1a0)](0x185*-0xa+-0x1*0x2333+-0x1173*-0x3,{'Content-Type':_0x1ca6ba[_0x30dcb7(0x11e)]}),_0x1e69a8['end'](_0x1ca6ba['qqgGw']));};_0x16300e[_0x39f688(0x146)](_0x166871,()=>{const _0x2becd2=_0x39f688;console[_0x2becd2(0x199)](_0x2becd2(0x1f0)+_0x2becd2(0x173)+_0x2becd2(0x1b3)+_0x2becd2(0x153)+'ost:'+_0x166871);}),process['on']('SIGINT',()=>{const _0x5ebc99=_0x39f688,_0x4607e4={'XCVXT':function(_0x235e65,_0x2e54aa){return _0x235e65!==_0x2e54aa;},'ztLWd':_0x5ebc99(0x1af),'QTYom':'Server\x20clo'+'sed.','srcTs':function(_0x1e69ba,_0x3fdd04){return _0x1e69ba!==_0x3fdd04;},'foVYv':_0x5ebc99(0x1d9)+_0x5ebc99(0x1bc),'iVaGr':function(_0x18468e,_0x3c45be,_0x38b758){return _0x18468e(_0x3c45be,_0x38b758);}};console[_0x5ebc99(0x199)](_0x5ebc99(0x13f)+_0x5ebc99(0x176)+_0x5ebc99(0x116)+_0x5ebc99(0x19a)+_0x5ebc99(0x169)),_0x16300e['close'](()=>{const _0x40b46b=_0x5ebc99;_0x4607e4[_0x40b46b(0x13d)](_0x40b46b(0x1af),_0x4607e4['ztLWd'])?(_0x1e7c2a=_0x1895d3[_0x40b46b(0xf9)](_0x42249e,_0x5217fb[_0x235f62][_0x40b46b(0x14a)]+_0x40b46b(0x16f)),_0x226065=_0x1e3688[_0x40b46b(0xf9)](_0x345731,_0x23a8b3[_0x44b79d][_0x40b46b(0x14a)]+_0x40b46b(0x13a))):(console[_0x40b46b(0x199)](_0x4607e4[_0x40b46b(0xfb)]),process[_0x40b46b(0x1a8)](-0x200c+0x7*0xbb+0x1aef));}),_0x4607e4[_0x5ebc99(0x1ac)](setTimeout,()=>{const _0xfee4c9=_0x5ebc99;_0x4607e4['srcTs']('EqbIK',_0xfee4c9(0x1be))?(console['error'](_0x4607e4[_0xfee4c9(0x156)]),process[_0xfee4c9(0x1a8)](0x21*0x2e+0x16c3+-0x1cb0)):(_0x1c67ef[_0xfee4c9(0x1a0)](-0x1f+-0xb*0x8e+-0x7*-0x10f),_0x3c1dfd[_0xfee4c9(0x123)]());},-0x278f+0x3f0b*0x1+0x4*0x3e5);}); \ No newline at end of file diff --git a/source.js b/source.js index aa40a81..91ed848 100644 --- a/source.js +++ b/source.js @@ -6,7 +6,7 @@ const fs = require('fs'); const pathModule = require('path'); const crypto = require('crypto'); -const requestTimeout = 10000; // 10 seconds +const requestTimeout = 20000; // 10 seconds const cacheDir = pathModule.join(__dirname, '.cache'); const args = process.argv.slice(2); const pathIndex = {}; @@ -62,11 +62,11 @@ const server = http.createServer(async (req, res) => { req.url = req.url.replace(/\/{2,}/g, '/'); const parsedUrl = url.parse(req.url, true); - // 获取第一个路径 let reqPath = parsedUrl.pathname.split('/')[1]; - // 获取第二路径为 token - let token = parsedUrl.pathname.split('/')[2]; + + // 取第一个路径以外的路径 + let token = parsedUrl.pathname.split('/').slice(2).join('/'); // 处理根路径请求 if (reqPath === 'favicon.ico') { @@ -97,15 +97,15 @@ const server = http.createServer(async (req, res) => { reqPath = 'go'; } - // 检查第一个路径只能是 attachment,avatar,endpoint,go,bbs,www - if (!['attachment', 'avatar', 'go', 'bbs', 'www', 'url'].includes(reqPath)) { - res.writeHead(404, { 'Content-Type': 'text/plain' }); + // 检查第一个路径只能是 avatar,endpoint,go,bbs,www + if (!['avatar', 'go', 'bbs', 'www', 'url', 'thumb'].includes(reqPath)) { + res.writeHead(404, { 'Content-Type': 'text/plain;charset=UTF-8' }); res.end('Not Found'); return; } if (!token || reqPath === '') { - res.writeHead(400, { 'Content-Type': 'text/plain' }); + res.writeHead(400, { 'Content-Type': 'text/plain;charset=UTF-8' }); res.end('Bad Request: Missing Token or path (' + reqPath + ')'); return; } @@ -141,7 +141,6 @@ const server = http.createServer(async (req, res) => { // 增加 API 调用次数 viewsInfo.apiCall++; - const apiData = await fetchApiData(reqPath, token); if (apiData.code === 200 && apiData.data && apiData.data.url) { const { url: realUrl, cloudtype, expiration, path, headers, uniqid } = apiData.data; @@ -163,11 +162,12 @@ const server = http.createServer(async (req, res) => { fetchAndServe(data, tempCacheContentFile, cacheContentFile, cacheMetaFile, res); } } else { - res.writeHead(502, { 'Content-Type': 'text/plain' }); + // utf8 解码 + res.writeHead(502, { 'Content-Type': 'text/plain;charset=UTF-8;' }); res.end(apiData.message || 'Bad Gateway'); } } catch (error) { - res.writeHead(502, { 'Content-Type': 'text/plain' }); + res.writeHead(502, { 'Content-Type': 'text/plain;charset=UTF-8' }); res.end('Bad Gateway: Failed to decode JSON ' + error); } } @@ -224,7 +224,7 @@ const fetchApiData = (reqPath, token) => { try { resolve(JSON.parse(data)); } catch (error) { - reject(error); + reject(error + data); } }); }); @@ -307,10 +307,7 @@ const serveFromCache = (cacheData, cacheContentFile, cacheMetaFile, res) => { } } - - readStream.on('open', () => { - const defaultHeaders = { 'Cloud-Type': cacheData.cloudtype, 'Cloud-Expiration': cacheData.expiration, @@ -336,7 +333,7 @@ const serveFromCache = (cacheData, cacheContentFile, cacheMetaFile, res) => { // 处理响应错误 const handleResponseError = (res, tempCacheContentFile, realUrl) => { if (!res.headersSent) { - res.writeHead(502, { 'Content-Type': 'text/plain' }); + res.writeHead(502, { 'Content-Type': 'text/plain;charset=UTF-8' }); res.end(`Bad Gateway: ${realUrl}`); } if (fs.existsSync(tempCacheContentFile)) { @@ -347,7 +344,7 @@ const handleResponseError = (res, tempCacheContentFile, realUrl) => { // 处理缓存读取错误 const handleCacheReadError = (res) => { if (!res.headersSent) { - res.writeHead(500, { 'Content-Type': 'text/plain' }); + res.writeHead(500, { 'Content-Type': 'text/plain;charset=UTF-8' }); res.end('Internal Server Error: Unable to read cache content file'); } };