-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_worker.js
More file actions
1 lines (1 loc) · 4.44 KB
/
_worker.js
File metadata and controls
1 lines (1 loc) · 4.44 KB
1
(function(_0x99343,_0x3621ac){const _0x4b9e74=a0_0x49cd,_0x4b07ee=_0x99343();while(!![]){try{const _0x59c01c=parseInt(_0x4b9e74(0x77))/0x1*(parseInt(_0x4b9e74(0x78))/0x2)+-parseInt(_0x4b9e74(0x73))/0x3+-parseInt(_0x4b9e74(0x79))/0x4+parseInt(_0x4b9e74(0x76))/0x5*(-parseInt(_0x4b9e74(0x89))/0x6)+parseInt(_0x4b9e74(0x7e))/0x7*(parseInt(_0x4b9e74(0x83))/0x8)+-parseInt(_0x4b9e74(0x8a))/0x9*(-parseInt(_0x4b9e74(0x7c))/0xa)+parseInt(_0x4b9e74(0x7d))/0xb*(parseInt(_0x4b9e74(0x74))/0xc);if(_0x59c01c===_0x3621ac)break;else _0x4b07ee['push'](_0x4b07ee['shift']());}catch(_0x34b4b6){_0x4b07ee['push'](_0x4b07ee['shift']());}}}(a0_0x4f77,0xe59fe));import{initializeParams}from'./helpers/init';import{VLOverWSHandler}from'./protocols/vless';import{TROverWSHandler}from'./protocols/trojan';import{fallback,serveIcon,renderError,renderSecrets,handlePanel,handleSubscriptions,handleLogin,handleError}from'./helpers/helpers';import{logout}from'./authentication/auth';function a0_0x49cd(_0x14d39d,_0xcdc93){_0x14d39d=_0x14d39d-0x6d;const _0x4f776b=a0_0x4f77();let _0x49cdd7=_0x4f776b[_0x14d39d];if(a0_0x49cd['CtzXMU']===undefined){var _0x93fe1f=function(_0x37b38c){const _0x175238='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51e33b='',_0x42f9d4='';for(let _0x34d009=0x0,_0x330a95,_0x10e89e,_0x3ce09b=0x0;_0x10e89e=_0x37b38c['charAt'](_0x3ce09b++);~_0x10e89e&&(_0x330a95=_0x34d009%0x4?_0x330a95*0x40+_0x10e89e:_0x10e89e,_0x34d009++%0x4)?_0x51e33b+=String['fromCharCode'](0xff&_0x330a95>>(-0x2*_0x34d009&0x6)):0x0){_0x10e89e=_0x175238['indexOf'](_0x10e89e);}for(let _0x510573=0x0,_0x100b20=_0x51e33b['length'];_0x510573<_0x100b20;_0x510573++){_0x42f9d4+='%'+('00'+_0x51e33b['charCodeAt'](_0x510573)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x42f9d4);};a0_0x49cd['gEDVTw']=_0x93fe1f,a0_0x49cd['ygkhdI']={},a0_0x49cd['CtzXMU']=!![];}const _0x2250e9=_0x4f776b[0x0],_0x424186=_0x14d39d+_0x2250e9,_0x252ab6=a0_0x49cd['ygkhdI'][_0x424186];return!_0x252ab6?(_0x49cdd7=a0_0x49cd['gEDVTw'](_0x49cdd7),a0_0x49cd['ygkhdI'][_0x424186]=_0x49cdd7):_0x49cdd7=_0x252ab6,_0x49cdd7;}export default{async 'fetch'(_0x528862,_0x2b7d9c){const _0x3db45b=a0_0x49cd,_0x43e108={'XTfFK':function(_0x5ef2aa,_0x2d0a2f,_0x5685f6){return _0x5ef2aa(_0x2d0a2f,_0x5685f6);},'XuEwU':function(_0x566d6c,_0x2d30ec){return _0x566d6c!==_0x2d30ec;},'lFRLP':_0x3db45b(0x7f),'NbJzA':'/panel','ZqrHI':function(_0x4251e5,_0x57a11e,_0x440e9d){return _0x4251e5(_0x57a11e,_0x440e9d);},'kIkIp':_0x3db45b(0x7a),'HDrYE':'/login','CKwOY':_0x3db45b(0x80),'JodSR':_0x3db45b(0x82),'SHjau':_0x3db45b(0x88),'Dyscb':function(_0x43bee2){return _0x43bee2();},'pFbGl':_0x3db45b(0x84),'IvMJE':function(_0x529189){return _0x529189();},'hohMm':function(_0x2ac980,_0x59973d){return _0x2ac980(_0x59973d);},'RQqNh':_0x3db45b(0x6d)};try{_0x43e108['XTfFK'](initializeParams,_0x528862,_0x2b7d9c);const _0x372046=_0x528862['headers']['get']('Upgrade');if(!_0x372046||_0x43e108[_0x3db45b(0x70)](_0x372046,_0x43e108[_0x3db45b(0x87)])){if(pathName[_0x3db45b(0x86)](_0x43e108['NbJzA']))return await _0x43e108[_0x3db45b(0x71)](handlePanel,_0x528862,_0x2b7d9c);if(pathName[_0x3db45b(0x86)](_0x43e108['kIkIp']))return await handleSubscriptions(_0x528862,_0x2b7d9c);if(pathName[_0x3db45b(0x86)](_0x43e108[_0x3db45b(0x85)]))return await _0x43e108['XTfFK'](handleLogin,_0x528862,_0x2b7d9c);if(pathName['startsWith'](_0x43e108[_0x3db45b(0x6f)]))return await _0x43e108[_0x3db45b(0x71)](logout,_0x528862,_0x2b7d9c);if(pathName[_0x3db45b(0x86)](_0x43e108[_0x3db45b(0x7b)]))return await renderError();if(pathName[_0x3db45b(0x86)](_0x43e108[_0x3db45b(0x6e)]))return await _0x43e108['Dyscb'](renderSecrets);if(pathName['startsWith'](_0x43e108['pFbGl']))return await _0x43e108[_0x3db45b(0x75)](serveIcon);return await _0x43e108[_0x3db45b(0x81)](fallback,_0x528862);}else return pathName['startsWith'](_0x43e108[_0x3db45b(0x72)])?await TROverWSHandler(_0x528862):await VLOverWSHandler(_0x528862);}catch(_0x23acf6){return await _0x43e108[_0x3db45b(0x81)](handleError,_0x23acf6);}}};function a0_0x4f77(){const _0x53468c=['mtq5mde5mNfRBuHJBa','l2zHDMLJB24UAwnV','serYwuu','C3rHCNrZv2L0Aa','Bezstfa','l3nLy3jLDhm','nNPhzfn0Ba','mJeZmtj4AM1HzuC','l3rY','u0HQyxu','q0T3t1K','whvfD1u','wNfYseK','uLfXtMG','mZG5ntmZnwXRBLLtzG','odyXnM9JCxnWuG','sxznsKu','nJi0mJq2nwLWA1HTEa','ndu3odvgtLPyru0','nZHgqwjWtw4','ntm5mtCXnLnrrvjMEa','l3n1yG','sM9Ku1i','mtyZmeztr1fgBW','mJa4mZrAAw9Jq0y','ndL2uujKuNi','D2vIC29JA2v0','l2XVz291Da','Ag9Otw0','l2vYCM9Y'];a0_0x4f77=function(){return _0x53468c;};return a0_0x4f77();}