mirror of https://github.com/6dylan6/jdpro.git
9 lines
47 KiB
JavaScript
9 lines
47 KiB
JavaScript
/*
|
|
APP首页-领京豆
|
|
38 0,7 * * * jd_signbeanact_.js
|
|
*/
|
|
|
|
|
|
const $ = new Env('领京豆签到');
|
|
var _0xodh='jsjiami.com.v7';const _0x2258ef=_0x59d7;(function(_0x1efec2,_0xddf61,_0x5aa7dd,_0x6341a8,_0x5d219f,_0x6a2e5e,_0x923c2){return _0x1efec2=_0x1efec2>>0x2,_0x6a2e5e='hs',_0x923c2='hs',function(_0x17777a,_0x27553d,_0x28a04b,_0x34cfe3,_0x2bb4ba){const _0x328e0a=_0x59d7;_0x34cfe3='tfi',_0x6a2e5e=_0x34cfe3+_0x6a2e5e,_0x2bb4ba='up',_0x923c2+=_0x2bb4ba,_0x6a2e5e=_0x28a04b(_0x6a2e5e),_0x923c2=_0x28a04b(_0x923c2),_0x28a04b=0x0;const _0x5b887e=_0x17777a();while(!![]&&--_0x6341a8+_0x27553d){try{_0x34cfe3=-parseInt(_0x328e0a(0x10d,'*dx8'))/0x1+parseInt(_0x328e0a(0x2a6,'w@wX'))/0x2+-parseInt(_0x328e0a(0x20a,'Xo)f'))/0x3*(-parseInt(_0x328e0a(0x15d,'zzFR'))/0x4)+-parseInt(_0x328e0a(0x25b,'6R)J'))/0x5*(parseInt(_0x328e0a(0x244,'Mz!@'))/0x6)+parseInt(_0x328e0a(0x1bf,'[U#5'))/0x7*(-parseInt(_0x328e0a(0x22e,'N0vZ'))/0x8)+-parseInt(_0x328e0a(0x1fb,'uSoz'))/0x9+-parseInt(_0x328e0a(0x1d2,'gTt4'))/0xa*(-parseInt(_0x328e0a(0x15c,'*LQw'))/0xb);}catch(_0x41e383){_0x34cfe3=_0x28a04b;}finally{_0x2bb4ba=_0x5b887e[_0x6a2e5e]();if(_0x1efec2<=_0x6341a8)_0x28a04b?_0x5d219f?_0x34cfe3=_0x2bb4ba:_0x5d219f=_0x2bb4ba:_0x28a04b=_0x2bb4ba;else{if(_0x28a04b==_0x5d219f['replace'](/[BTphRbGgHtVdDfFqryw=]/g,'')){if(_0x34cfe3===_0x27553d){_0x5b887e['un'+_0x6a2e5e](_0x2bb4ba);break;}_0x5b887e[_0x923c2](_0x2bb4ba);}}}}}(_0x5aa7dd,_0xddf61,function(_0x3ff03e,_0xb951d8,_0x2e5270,_0xacabc7,_0x16e591,_0x5aa63d,_0x277f21){return _0xb951d8='\x73\x70\x6c\x69\x74',_0x3ff03e=arguments[0x0],_0x3ff03e=_0x3ff03e[_0xb951d8](''),_0x2e5270=`\x72\x65\x76\x65\x72\x73\x65`,_0x3ff03e=_0x3ff03e[_0x2e5270]('\x76'),_0xacabc7=`\x6a\x6f\x69\x6e`,(0x17dcd7,_0x3ff03e[_0xacabc7](''));});}(0x314,0xcb3fb,_0x4ae6,0xc7),_0x4ae6)&&(_0xodh=`\xa3e`);const _0x162b32=$[_0x2258ef(0x268,'ei#y')]()?require(_0x2258ef(0x1cf,'qr4d')):'';function _0x4ae6(){const _0x11682f=(function(){return[...[_0xodh,'rhTjDHsgwbjBfViFwaGdRmBig.pqcHhyorm.Htv7==','tvruhHNcOmkA','lCojaaJdGW','WOe1WPtcOg0','WPa/WPq','W59sWQXkomkl','BH8Qz8od','WRfbCSktWRbIxZddMSkJe0W','lNP2W6NcKq','WQSTWRlcQW','amopEfxcHCkV','WP3dICkCWQxcUb12W4GaWPa','DZuJq8oS','WOvRW67dHSkmcrGOzfxdHHPv','WRmyWRldUNq','WPrsECkuWO4','WO4FWPTmlmk+zmkAW4tcI8oxgGtcG2u','WPrKea','W6dcHGu','dSodWR3cTSok','WPSPbctdSeT1h8ogWPe','W4HfmJm','tI/cIGi','jmoCWQe','WP8/WP3dVMZcP8k6WO7dM8kfl1nni3u','h2ueaCky','hNWzeq','W75wW4y','W6KUC8ks','WOldUw17Fa','W419xh7cUZK2nCo1WPnLW6L+','o093W4RcQCkndq5C','o8oYfWpdVW','WPz4y8kTFG','W4HjptK','oM01aSke','cCkTW7xdRmkh','W50IW4hdGCoz','lvKBiSkt','gmo0WOxcTG','WQW/WPhcOw9r','WOqEWOfxf8k1ymkgW5xcGCoI','mefCW6NcKW','leTQW5dcSW','oSkpW6pdUmkYW7ek','W5XeW4WkFmoMkCkjW4lcH8oBgX0','W5JdT8kYsSk5','5P2z5yQF5PAN55Q45B+P5BUW','WOvrnHVcMa','WPxdUNVdTCoS','rwRcN8o2WPK','W7KHW7hdV8oc','54M85P2l772tdCoIksldOmoUWQlcOG','kCoCFvlcPW','g1NdSa','W67dHddcRmkwkxFcQCkYbCoZW4ekW4jNzaZdJu1QW7FcRqOsWPq','W49uWQrpe8klighcMSodqW','W6/cTJVcOCkH','ymoDycvrtW','WP0TdcBdIh1Jdmoq','W7RKURVKUA/NUj/LJOJPO7hLJyKK','W50CtG','WOyJWRdcPwjrqHy','W5a+WR7cMmomFLCZzeq','WRfuWPVdTSkpWOKHpmkwWOK','WPVdVdFdLti','WPxdH8ks','W5GWWRdcSCohtq','WOtdPNVdGSo1W57cPCkdW6O','jNNcVYtdGmojeWpcSCkfW5/dTXlcSCo5ACoYWO7dJLhcLW','W59sWQ1vomkangBcR8ozDG0YW7ej','W55uWRLSiSkj','WPfEW70fW7a','WP9libFcJSoBWRbeWQG','lLjRW4lcQ8kghq','WP45WP3dRG','WOFcHxxcImoetKhdOmoMW6uJW7BcVeeBa8kOpXKnW7NdVSkfjqaPo8k7WOWHvIJcJJ7cVJFcJWhcTmk9erhdNSolxaqXWOy','W6hcICkfE8oKBudcKCo1rGb0W6zhohBdSSoGWRXxW6uzW5ZdQCk6W5ykWPZdGSoCjCooFgtdImotl8kVjmoiW75Gb8k1h8kghHVdU3aFW7a+WRz1tdxcHSoHW7eJWQfIWOXty1TIidHOkW7cSSoyWP8FWQjzW5ZdM8kgW4uXW4pcSmkJWPFcLZ3cTmoQW6tdHmoCW5xcKSkoW7CXw8k7kW3dI8o8vN0Wdmo7j8kEWQO','h3FcQGZdTa','W5jsWRq','WP3cKg/cNmoygq','ichcLCok','EtNcJH7cKxZdSaW','W5C9uCoyaW','W7NcHr7cQCoi','W4hdH1CLW5W','iCoOW5VcHCov','WOjEpXS','W7dcGZS','dv9hW6RcIG','WOhdGxjNr8oBWP3cLSoK','df/cPIFdMW','hx/dNv7dPYJcQv4RsmkrWR5Bbq','ECkUvL/cQ8oFW5VdJSkoq8oaWQZdNa','W63cHXdcHSkxW5DoW4BcGSodlmkhBW','W7y2Fq','cSoKW6xcM8os','WOGmhJZdUq','W7/dP1K','W4ySwxhdQG','WQ8cWRxdK0O','W6fnW5mNuqfkW4ddJW','WQv1uCkH','W5XtecRcHq','WO8vWPrwbmkNCmkbW5q','W55yWQjpeSkbnghcRW','WOXPemklwIJdNhxdTsuQW69U','BmkWW5tcNW','itK+zxxcUmklW6LzWRzPW5S','WODEW6GU','W6dcHGxcKSkgWPHg','xmk2W4lcMSoPW7pdNGjk','D3/cKCofWRFdPq','WPhdVCk+WOpcRq','WQNcJSkhyCo2zM3cJCkYbdz7W6CjnW','WPrZq8oobx7cNKVdRGPZW6juWPFcVCo8rW','eCoEA1lcQmkNesPi','jGtcVmodW5m','W4XmpdlcUW','WP3dTuTBsa','yWa9','WP5WW70','WPi7cG','WOfAW70H','WOldPh/dMa','W7/cRWJcSmkD','WQ8sWQbEfq','W73cKJlcTCkazbVdRSkXdSo8W4PiWO1ZlcNcK15nW7xdRW1vWOGaphFdV8kdxSkrWR0dWRW9tCk0WR87W7qJAq','WOW8hYhdP21Rgmon','WP13r8kpWOm','Dt7cIatcUW','cSoIW68','ySo6W7jm','W4X4FSknxM1FWOO','k15SW48','WRfbCSktWQv0tsNdSG','WPJcKgJcJa','W6hdQ38HW5K','WOlcPgtcNCou','jIJdISkDW67cSCkCwCkIESkYW4W','u8oxW6zucW','f8oAFL0','WRBdG3y','hNawg8kPW7e8yWq','vGS7rCku','gKarmmkp','WOHEjH8','wXBLPQBOTRbGWP3LJ5/LMzWMW6G','WRyLWRJcOeLrAtZdHqhdGa','B8oAzG','WQv7s8kL','lcxcMCobW5bCWRqKW7y','i8oEWQvcW5i','W6lcKcNcKmoOW61PWQfYl8k0'],...(function(){return[...['WQddMg8IW74efW','WPzxFX3cJG','WOFcHxxcImoetKhdOmoQW7vSW7ldOajFdCoICHupWRVcTSkqBWyIESkTWPCVw07cIIJcTMddIvxdUmkKvW7dGG','o8oPtvBcIq','n8oBWRjpW5uhkCkTfxiV','WPFcKCo1WQJcUq','DMBcNColWOK','W5tdRwS0W7K','zgjX','vLBcM8oVWPW','W5C6WR7cMa','CmoqycvZuW','W5LjndpcI2G1yrfLBq','6k2y5yQt6zI75OA75z6OuSoFASoaW7VOVk3LHl3MORhKVzNMLkdLHy/LROtcNUw6OEIVN+McIEI/PoIgOEAELUwnGEIpI+wpTmoKW7VdKbZcI8kT','WOfEjH3cIa','WQyCcsZdGG','W4WdW5VdN8oPDq','W7dcOc0Naq','W7rAWP/dSmkj','EmkxydrKEmkxCCkHoYddUmoeW59hnmkhd8oXy8ogwmkCWODwvmkeWQPmW4xcTqpcNHbpWPpdSSk+W7dcH8ktF8ksaCk0ee1YnSonELOwgCobaKT0smovw8oqAvrYW7SIW78L','W50pbIJcSmo5WQnA','W4ldT8kmwSkM','W5tcGbBcL8kO','WO7dT27dNmohWPpdQ8oEW74+x8kSsaxdKmkiW4qOW5zYAa','WP12aWu','W4rBWQHubq','W5FdO1mOW4C','WOqpnsJcP24GzJ9OnH8meJ4bW5RcQhy','Emk+W5pcIG','pLfrW4lcOW','nvqUomkV','W5xcHqZcMCog','kMRcRIa','WRzGqSkmWQi','d8odW7NcPCoW','AchcHIRcJG','yh9IjaZdTmorWRuxW6W2','uCo3W6hcH8ofESkb','W4NcIGlcISo+','WQZcL8oOWPJcPq','W5mvDSkyra','cCoqfcNdNq','W4BdU8kNzSkN','WO5btCkRvq','ffNdUmo+kmoy','WQddLaNdJt8','pL50oSkiWPW','ow0Gn2/cOmoCW7fcW6n7WOnhW7hcTqdcNSkMb8o3otxdGg0O','lSkAW7VdS8kP','bCoVW7/cSmom','W5HZWQRdO8kq','W6vThHlcJG','W7BcIqpcJ8kw','WOS5D8kfAgzvWPi4W5SaWPKy','jSoLWQpcImom','tWpcUqJcIW','W7ddHSoiWQ3cNCkKjwK','WR8PWRVcGea','WPeJWPq','WQrdvCkfWRm','FuHCkcy','W5ThWQPrFCoojwRcVComvG42WQ9nyCkt','AqlcSZxcSq','bf7dKmocnG','WP0kWPHTpq','W5ZdS8kgxCkpvWG3l3ToAmkUW4/dRSo8','WRdcMSopWRlcOa','W5zXWRZdQ8kU','W6WWF8kvs2ZcLIyasSoe','W5tcLclcOSkI','W5yZqG','oKpdMCo9fG','BSk6W5BcR8k/m8ozta','FSk2W4NcJW','vSogzcvEwSkvCa','phhdKmohka','WQ4PWQBcVq','6k6r5yMY6zIh5OE95z6ovCkaW5VcHgFOVQBLH63MOihKVlFML5/LHB7LRQWe5BIa6kYl6ycw6l+n6isX5P6F5y296i+Y5y66FSo9chBcT0O','WOZcHhpcTmosaGVcOW','W7zzWOJdT8keWPP1zmoaWOD2uSodW6hcIYy','AN55idFdTa','W6HIebtcIW','C8oLW7fuaG','WRpcRmo3WQ/cMW','W4JcLHC1iW','W441uCoxdG','mNeIi8kM','WQ8rWRTVdq','W6VcJtu7','WRZdJmk3WOdcJa','WP/dJgZdR8ozDow8TowKIUodG+s7H+s6GEI2GUwoKq','mgfZW5FcRW','hNWqm8kO','bmoxWQtcP8o5','W5SdW6FdGmoYECoEDq','jxrRW4FcLa','eeTpW7NcJq','WQhcSaPDWQz8mrlcPI9DBW','WRvDmZSzW5ClWPTfW69HgXFcJoASMEs5KUI2MowpOEw5PUI+MrdPUPRORjK+56A9','ehOq','W5hdUxpdMCoxW4tcQG','W7fCW4GI','dNqzeCkfW7m','bvFdUCoXlSoq','WPZdHSkd','pmoVeqBdTmknWOtdV8kd','WRpdQg/dGmo/','WPRdH8kBWR3cQdj0W4agWO3dTmkYCSouva','rr8rsCov','WOyJWRdcPwjrqHBcTG','EmkVW4JcMmkQ','dmoGWOlcVW','W6b0qSkXWOXkEW','W7TsWOBdUSkv','W6FdKxqnW64','W5fCWRDcoq','tG4OwSoI','WPHqaqRcKSovWRDf','5y6Q56+Z5OQy5yMT7768','6yw+6j+H5y2456+kWRO','WPGTgsZdQh5J','tWtcOmkMCCokbCoerCkspW','Cmk2W4RcGSkQ','WPa1WP3dRxhcOq','W7tdImkgESo9yuBcK8k1x0zIW70tlwdcUmoVWQm','nHBcGCoaW6C','W74wW5xdRmoh','qqaqqCov','WPDEW68KW6qnghq','6lYT5zM25B+35BUX77+B','yJO/BSof','tuLDadW','W4rjW6G7BW','W6ddOvKaW5qOirtcNIHh','wSobyJ90','WOHynWO','ywvIoY3cQ8kpW68tW68RW5eyWQpdQXJcHCk5umoMisRcN3H8eCoRW5ddRf3cN8kihruN','WOtdPNVdGSoGW4JcT8kAW4iLq8o2','WOWXWOhdUwa','5B6M5yUT562i57QRna','qmoeW5HQaG','dCkAW4pdMCkp','WO1EW7eQ','Bh9G','WRrmW5qNw1S','zxr4lcRdUq','yWmRuSo+','WR/cICkw','WQ9Rk8ovmItdLH8ExCoXz8oZ','W7JcJsGU','WP/cG8kIrSoE','BNrI','W7G1A8osaG','W7FcJalcGG','44kc5O+P56AB44gF6k+i5ysU6i6u5y2W5lIA5lUA6lsx5y2j5lM2x8oDD0vMa8og55Mp5OYV5l2N55wKwmk3W4ldIKD955I85lIr5lQn56+/5yMO6iYX5yY0'],...(function(){return['W7RdPKObW4qOmq/cUJHh','W7qUAmolgq','WORcS8khACoP','CCk+W5pcImk2','W5BdPSkrwSk3','nHFcJSo7W5y','qcxcJa','lLxdOCoVaW','W7VdS8kBymk2','jNiag8kM','WPJdGxe','ECoqzrLB','WO5AmXdcOColWRHqWRu','iSovW4pcUCoe','kN3cPcFdHW','WQhdKxlcGCkAbhVcPmkY','W502W5/dOmow','pchcLSolW75g','WQpdKCkTWO3cRq','W7ZcIclcOmkl','gSovFLpcUCkTftfzkM4','W7lcHdG1aq','W7JcJtuJaflcKNPTkW','W4z1WRrRpW','g1RdPSomgq','W4ldUfmGW7u','o8kdW7VdRSk4W6C','W7i3smk7Aa','WPhdNmkbWRNcSMyUWOytWOtdNmoRFSkiwSonW4fDDSoju8oqr8kdxCkwWO7cJJ7dGCoQFCoAt8oh','W65LeqJcJJ9U','W7KZsSoqaNJcMwJdHq','WP9AmWZcG8ou','WRxcRmkrsSoW','aSoIgqVdJa','o8kRW6tdKmkl','i8o0ba','WPLxWReSW4y','WO0iW7utACoBDtJcI8oOuJmFW5q','WQ8jW5ZcOmorWOSalCkRW646','W7BcOHVcHSkj','zmk9W6lcRmkD','WR9lDmk4WPzX','W6idBmkwyG','FSoGW5bDoa','z2FcL8oE','W614WR/dT8kT','W549uCoA','WObOE8ksWQi','fSoSW7RcGCod','W69sqSkLBKTVWR4','WOxdOvpdVmoC','WOqdWRTxiCk1','WQ3cMCo7','WPdcO8k/s8owqgFcVq','WQeJWRhcQW','W7rSW4ClwG','WQddKxxdQ8om','W7BcIsJcSCkAmehcQmkNeSoCW5mhWPi5','WRSvWQC','lCo+aGhdMCkfWPJdT8ko','k3KXgmkS','oLPRW4FcQmkh','zmocW5D7eG','AhJcVJ3dL8oo','W5y6WRBcMG','WOmrWPHD','W6RcHtK4ogpcLvnWiKq','W4FcNIdcG8kd','hmoOWOlcSSoL','kMZcVZu','W6vOeI3cUa','AaOU','W7vdW4G+e0zhW4pdKmkQumokeXdcKNPC','eCosChhcMmkV','WQiPWQVcQMPaAq','WOldOM7dJq','WP3dICkbWQG','W6VcJby','WQyPWRBcOG','W5BdSCkBxq','DSo0W7vz','WRaAWRFdLuhcJmkdWQBdTG','WQCPWR7cOePdAsddOa','W7fwW4uR','WQBcUG9zWQ51CaVcRJfJvCo1','vGiOuCkrDgpcVSkT','WRBcImkh','feBdPmoHmW','Fq40B8ojW4m','scVcNW0','W4SnW4ddLq','WRGtWOTKnq','AN5YlG','bmoUWPe','WOldR3tdHSoF','kCo/W4VcV8oi','WRhcMCoVWO8','dSornbFdLq','ahldPmoHmq','W7X6W6WkEG','lCoiW4FcN8ok','uCo4qJ9I','W4f3ACka','WRJcN8owWP3cRa','cCkIW7RdQ8kT','jfrI','WPePac0','WPOXWP/dUwa','rXaGtW','W4jZAq','kmo3W7lcOSoF','eCkGW5pdHCkzW5a/W5XV','W6tdHKyHW4e','bLj4cCoGkclcM8kyW7xdVmkSja','DwdcJSocWQC','WP4gWR1seq','W7S6W7FdVSoY','W4z5CSkkqMW','WOvnESkqAMWaCq','WORcSg3cRCo0','W5GGDCkREa','W7RdSt/dSEIUKoAWTEwMRUI0U+++LoISIUAJJoAEUUE+N+I3KoMeJoISIa','W5zGvCklFW','W7bLEmktzwHxWPW','WOpcNMy','WPmNcG','WQFcKdFcHSoYW6P4WQTIFq','WOGXWOddOuZcP8kPWOJdNa','W6lcJqC','FCkgW77dSCk4WRu+W7XvW53dRNr1W5iMWRVdGH15W7XiWOtdJCkufuzvW6W6l3uoWOWAWQRdPtLNWQ7dRgpcMJTZWReQaL7dTbFcO8kgW49nW63cRgGXWRLSWORcId8vAKNcISoLW5rgWOhcTCohWR7cTCksqSoBWR8ijCovqmkfWPPs','W6RcIb/cRmkq','WP94bse8W7eV','44kf5OY256w844ou6kYe5ysw6i6d5yYx5lM/5lM36lA75y2t5lMMWOmYksBdLfGO55MS5O2L5lYq55syWQCbCx3dKSkf55Q05lM05lUp56Yz5yUP6i+Y5y61','WODpW7m8W5W','WQFcOIhcV+ISKoAYRUwKLUI2S++/PUITM+AIGUACH+E8HEI3N+MhMUITQa','yCoqydLtvmknE8kW','6i2A5B+NW48','xCkuBeNcHCkRec1tnZvWcCo1W7Gw','W7hdRv8aW5uInrtcQW','W7u8ECktxa','WO5AmXdcTmoDWQPjWP1odHm','AN54pZFdV8ovWQKgW6ydWOGuW7/dPq','bNjHW4lcTa','BxbIkG','D3/cKmoAWRFdRSkywmkVz8kDW5BdHmkEfa','6l2h5zMw5BY85BMw776m','g8oTiqxdJG','W6hdJ1m7W7m','mmkzW7a','WPZdNaddOsS','t8kYW7pcVSko','WOZcNM7cK8oEeq','WO/cJSoWWQ3cNa'];}())];}())];}());_0x4ae6=function(){return _0x11682f;};return _0x4ae6();};function _0x59d7(_0x3edce2,_0x12ae38){const _0x58f9f4=_0x4ae6();return _0x59d7=function(_0x13048a,_0x5abfa5){_0x13048a=_0x13048a-0xe1;let _0x4ae68b=_0x58f9f4[_0x13048a];if(_0x59d7['orqYng']===undefined){var _0x59d7c5=function(_0x2f6c76){const _0x5a76b8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x246877='',_0x2a6ad4='',_0x5163b3=_0x246877+_0x59d7c5;for(let _0x2ced1e=0x0,_0x3666c2,_0x6fed91,_0x27d7cc=0x0;_0x6fed91=_0x2f6c76['charAt'](_0x27d7cc++);~_0x6fed91&&(_0x3666c2=_0x2ced1e%0x4?_0x3666c2*0x40+_0x6fed91:_0x6fed91,_0x2ced1e++%0x4)?_0x246877+=_0x5163b3['charCodeAt'](_0x27d7cc+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3666c2>>(-0x2*_0x2ced1e&0x6)):_0x2ced1e:0x0){_0x6fed91=_0x5a76b8['indexOf'](_0x6fed91);}for(let _0x21404f=0x0,_0x18c1f3=_0x246877['length'];_0x21404f<_0x18c1f3;_0x21404f++){_0x2a6ad4+='%'+('00'+_0x246877['charCodeAt'](_0x21404f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2a6ad4);};const _0x54f9d8=function(_0x37bbdf,_0xa5fb42){let _0x3017ff=[],_0x5f8118=0x0,_0x51a4f9,_0x208f2c='';_0x37bbdf=_0x59d7c5(_0x37bbdf);let _0x3cf494;for(_0x3cf494=0x0;_0x3cf494<0x100;_0x3cf494++){_0x3017ff[_0x3cf494]=_0x3cf494;}for(_0x3cf494=0x0;_0x3cf494<0x100;_0x3cf494++){_0x5f8118=(_0x5f8118+_0x3017ff[_0x3cf494]+_0xa5fb42['charCodeAt'](_0x3cf494%_0xa5fb42['length']))%0x100,_0x51a4f9=_0x3017ff[_0x3cf494],_0x3017ff[_0x3cf494]=_0x3017ff[_0x5f8118],_0x3017ff[_0x5f8118]=_0x51a4f9;}_0x3cf494=0x0,_0x5f8118=0x0;for(let _0x114803=0x0;_0x114803<_0x37bbdf['length'];_0x114803++){_0x3cf494=(_0x3cf494+0x1)%0x100,_0x5f8118=(_0x5f8118+_0x3017ff[_0x3cf494])%0x100,_0x51a4f9=_0x3017ff[_0x3cf494],_0x3017ff[_0x3cf494]=_0x3017ff[_0x5f8118],_0x3017ff[_0x5f8118]=_0x51a4f9,_0x208f2c+=String['fromCharCode'](_0x37bbdf['charCodeAt'](_0x114803)^_0x3017ff[(_0x3017ff[_0x3cf494]+_0x3017ff[_0x5f8118])%0x100]);}return _0x208f2c;};_0x59d7['YJtfHC']=_0x54f9d8,_0x3edce2=arguments,_0x59d7['orqYng']=!![];}const _0x45c149=_0x58f9f4[0x0],_0x16d538=_0x13048a+_0x45c149,_0x84fc4=_0x3edce2[_0x16d538];if(!_0x84fc4){if(_0x59d7['itEvcG']===undefined){const _0x262fa5=function(_0x21d3a8){this['XkVFuK']=_0x21d3a8,this['qtjBYw']=[0x1,0x0,0x0],this['jgdDSK']=function(){return'newState';},this['IoXCtE']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['ZkHKxp']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x262fa5['prototype']['KoBuqO']=function(){const _0x29781e=new RegExp(this['IoXCtE']+this['ZkHKxp']),_0x2012bf=_0x29781e['test'](this['jgdDSK']['toString']())?--this['qtjBYw'][0x1]:--this['qtjBYw'][0x0];return this['LLdYQW'](_0x2012bf);},_0x262fa5['prototype']['LLdYQW']=function(_0x856d67){if(!Boolean(~_0x856d67))return _0x856d67;return this['afbVQO'](this['XkVFuK']);},_0x262fa5['prototype']['afbVQO']=function(_0x1b2846){for(let _0x5e564d=0x0,_0x3c0122=this['qtjBYw']['length'];_0x5e564d<_0x3c0122;_0x5e564d++){this['qtjBYw']['push'](Math['round'](Math['random']())),_0x3c0122=this['qtjBYw']['length'];}return _0x1b2846(this['qtjBYw'][0x0]);},new _0x262fa5(_0x59d7)['KoBuqO'](),_0x59d7['itEvcG']=!![];}_0x4ae68b=_0x59d7['YJtfHC'](_0x4ae68b,_0x5abfa5),_0x3edce2[_0x16d538]=_0x4ae68b;}else _0x4ae68b=_0x84fc4;return _0x4ae68b;},_0x59d7(_0x3edce2,_0x12ae38);}let _0x3ded81=[];if($[_0x2258ef(0x128,'(x2J')]()){Object[_0x2258ef(0x1e6,'(x2J')](_0x162b32)[_0x2258ef(0xeb,'I#p)')](_0x269e45=>{const _0x5c49ac=_0x2258ef;_0x3ded81[_0x5c49ac(0x127,'m0KV')](_0x162b32[_0x269e45]);});if(process[_0x2258ef(0x117,'yu&m')][_0x2258ef(0x26a,'BF)l')]&&process[_0x2258ef(0x202,'&*8F')][_0x2258ef(0x266,'qr4d')]===_0x2258ef(0x2a0,'Q%t4'))console[_0x2258ef(0x162,'uSoz')]=()=>{};}else _0x3ded81=[$[_0x2258ef(0x27f,'(x2J')](_0x2258ef(0x13e,'(x2J')),$[_0x2258ef(0x212,'6Kaa')](_0x2258ef(0x207,'(x2J')),..._0xe6c2e5($[_0x2258ef(0x16e,'sPEr')](_0x2258ef(0x253,'nBRq'))||'[]')[_0x2258ef(0x23f,'HQEg')](_0x5a4dbd=>_0x5a4dbd[_0x2258ef(0x2aa,'qr4d')])][_0x2258ef(0x24f,']xZQ')](_0x4378d8=>!!_0x4378d8);const _0x5d845f=require(_0x2258ef(0xf1,'k#[W')),_0x4f34c8=require(_0x2258ef(0x173,'nBRq')),_0x51b64b=_0x2258ef(0x1c8,'mU1y');let _0x13b679={};const _0x5d3c5f=process[_0x2258ef(0x22d,'BF)l')][_0x2258ef(0x2a4,']xZQ')]?process[_0x2258ef(0xe8,'sPEr')][_0x2258ef(0x286,'Q%t4')]:'2';if(process[_0x2258ef(0x229,'OH4U')][_0x2258ef(0x2ab,'!lZJ')])try{_0x13b679=require(_0x2258ef(0x216,'BF)l')),$[_0x2258ef(0x221,'K[MF')]=_0x13b679[_0x2258ef(0x235,'uSoz')]($[_0x2258ef(0x2a2,'qr4d')][_0x2258ef(0x122,'zUk8')]($)),$[_0x2258ef(0x243,'Dw^E')]=_0x13b679[_0x2258ef(0x1be,'OH4U')]($[_0x2258ef(0x295,'gTt4')][_0x2258ef(0x11a,'VFlF')]($));}catch{$[_0x2258ef(0x1ba,'Dw^E')]=$[_0x2258ef(0x27c,'mU1y')],$[_0x2258ef(0x239,'cqe@')]=$[_0x2258ef(0x184,'zIys')];}else $[_0x2258ef(0xed,'Ux(m')]=$[_0x2258ef(0x16b,'Wc7L')],$[_0x2258ef(0x17c,'Z01o')]=$[_0x2258ef(0x231,'OH4U')];!(async()=>{const _0x1faca6=_0x2258ef,_0x39a3d7={'tmYOd':_0x1faca6(0xec,'Mz!@'),'Ytchd':_0x1faca6(0x17f,'Mz!@'),'DyKnf':function(_0x4d8666,_0x2dc757){return _0x4d8666<_0x2dc757;},'TGbvZ':function(_0x5a006f,_0x58ea81){return _0x5a006f!==_0x58ea81;},'fAsJV':_0x1faca6(0x171,'&*8F'),'vWVCi':_0x1faca6(0x1c9,'OH4U'),'AJWxO':function(_0x15c514,_0x174818){return _0x15c514+_0x174818;},'ZyXDl':function(_0x177c81,_0x57e1ce,_0x33f398){return _0x177c81(_0x57e1ce,_0x33f398);},'wgFxW':function(_0x49b22e,_0x3a0106){return _0x49b22e+_0x3a0106;},'ZgwnL':function(_0x33b22e,_0x16c161){return _0x33b22e*_0x16c161;},'BbUfP':function(_0x39d552,_0x585287){return _0x39d552*_0x585287;},'qjryq':function(_0x3168c9,_0x5de600){return _0x3168c9+_0x5de600;},'EdBIM':function(_0x3beb0d,_0x2c030d){return _0x3beb0d*_0x2c030d;},'NdUVL':function(_0x426a3d){return _0x426a3d();},'hnRYb':function(_0x27ab76,_0x4f9baf){return _0x27ab76+_0x4f9baf;},'xzYJT':function(_0x2bcbb6,_0x474f32){return _0x2bcbb6(_0x474f32);},'Gvjij':function(_0x384023,_0x29673a){return _0x384023(_0x29673a);}};if(!_0x3ded81[0x0]){$[_0x1faca6(0x111,'I#p)')]($[_0x1faca6(0x29f,'6Kaa')],_0x39a3d7[_0x1faca6(0x1c4,'cqe@')],_0x39a3d7[_0x1faca6(0x182,'*LQw')],{'open-url':_0x39a3d7[_0x1faca6(0x220,'adxy')]});return;}console[_0x1faca6(0x15f,'N0vZ')](_0x1faca6(0x134,'w@wX')),console[_0x1faca6(0xe5,'6Kaa')](_0x1faca6(0x1fc,'I#p)'));for(let _0x36494a=0x0;_0x39a3d7[_0x1faca6(0x103,'(x2J')](_0x36494a,_0x3ded81[_0x1faca6(0x215,'Q%t4')]);_0x36494a++){if(_0x3ded81[_0x36494a]){if(_0x39a3d7[_0x1faca6(0x124,']xZQ')](_0x39a3d7[_0x1faca6(0x257,']xZQ')],_0x39a3d7[_0x1faca6(0x108,'kce(')]))_0x507ba9[_0x1faca6(0x269,'gTt4')](_0x418b03);else{const _0x49b6db=_0x39a3d7[_0x1faca6(0x273,'zIys')][_0x1faca6(0x1ca,']xZQ')]('|');let _0xc20789=0x0;while(!![]){switch(_0x49b6db[_0xc20789++]){case'0':$[_0x1faca6(0x105,'91hI')]=_0x39a3d7[_0x1faca6(0x296,'zzFR')](_0x3ded81[_0x36494a],'');continue;case'1':if(_0x13b679[_0x1faca6(0x2a1,'w@wX')]){}else await $[_0x1faca6(0x1f2,'mRAa')](_0x39a3d7[_0x1faca6(0x247,'&*8F')](parseInt,_0x39a3d7[_0x1faca6(0x1d5,'Xo)f')](_0x39a3d7[_0x1faca6(0x23e,'VFlF')](Math[_0x1faca6(0x201,'3F*S')](),0x3e8),_0x39a3d7[_0x1faca6(0x17e,'ei#y')](_0x5d3c5f,0x3e8)),0xa));continue;case'2':iphoneVersion=[Math[_0x1faca6(0x1a4,'*dx8')](_0x39a3d7[_0x1faca6(0x1ce,'sPEr')](_0x39a3d7[_0x1faca6(0x159,'kce(')](Math[_0x1faca6(0x28d,'mU1y')](),0x2),0xc)),Math[_0x1faca6(0x283,'(x2J')](_0x39a3d7[_0x1faca6(0x1f3,'&*8F')](Math[_0x1faca6(0x246,'Oj5S')](),0x4))];continue;case'3':$[_0x1faca6(0x160,'[U#5')]&&_0x13b679[_0x1faca6(0x261,'DA34')]&&(await _0x13b679[_0x1faca6(0x11c,'N0vZ')](),await _0x39a3d7[_0x1faca6(0x1f0,'VFlF')](_0x3cd972));continue;case'4':UA=_0x1faca6(0x15e,'sPEr')+_0x51b64b+';'+Math[_0x1faca6(0x1ff,'Vos*')](_0x39a3d7[_0x1faca6(0x250,'N0vZ')](_0x39a3d7[_0x1faca6(0x230,'BF)l')](Math[_0x1faca6(0x150,'!Kmx')](),0x2),0xc))+'.'+Math[_0x1faca6(0x186,'kce(')](_0x39a3d7[_0x1faca6(0x135,'k#[W')](Math[_0x1faca6(0x200,'VFlF')](),0x4))+';'+_0x39a3d7[_0x1faca6(0x154,'Y6GA')](_0x59e76e,0x28)+_0x1faca6(0x14d,'BF)l')+iphoneVersion[0x0]+'_'+iphoneVersion[0x1]+_0x1faca6(0xe9,']xZQ');continue;case'5':UUID=_0x39a3d7[_0x1faca6(0x12a,'kce(')](_0x59e76e,0x28);continue;case'6':$[_0x1faca6(0xe3,'qr4d')]=_0x39a3d7[_0x1faca6(0x10f,'Xo)f')](decodeURIComponent,$[_0x1faca6(0x170,'DA34')][_0x1faca6(0x1c1,'gTt4')](/pt_pin=([^; ]+)(?=;?)/)&&$[_0x1faca6(0x1c6,'3F*S')][_0x1faca6(0x153,'nBRq')](/pt_pin=([^; ]+)(?=;?)/)[0x1]);continue;case'7':await _0x39a3d7[_0x1faca6(0x1d0,'m0KV')](_0x3cd972);continue;case'8':console[_0x1faca6(0xe4,'!Kmx')](_0x1faca6(0x1f4,'Mz!@')+$[_0x1faca6(0x248,'Mz!@')]+'】'+$[_0x1faca6(0x1e4,'adxy')]+_0x1faca6(0x290,'Vos*'));continue;case'9':$[_0x1faca6(0x20b,'6R)J')]=![];continue;case'10':$[_0x1faca6(0x275,'*dx8')]=0x0;continue;case'11':$[_0x1faca6(0x130,'K[MF')]=_0x39a3d7[_0x1faca6(0x1dd,'6R)J')](_0x36494a,0x1);continue;}break;}}}}})()[_0x2258ef(0x1ac,'6R)J')](_0x3c0ff7=>{const _0x325201=_0x2258ef;$[_0x325201(0x1e0,'nBRq')]('','❌\x20'+$[_0x325201(0x276,'ei#y')]+_0x325201(0x193,'3F*S')+_0x3c0ff7+'!','');})[_0x2258ef(0x14a,'kce(')](()=>{const _0x277f17=_0x2258ef;$[_0x277f17(0x26b,'(x2J')]();});async function _0x3cd972(){const _0x2e3404=_0x2258ef,_0x586cb4={'NoJJs':function(_0x34d195,_0x5e1735){return _0x34d195(_0x5e1735);},'wNxOW':_0x2e3404(0x138,'91hI')};try{await _0x586cb4[_0x2e3404(0x219,'mU1y')](_0x19e38d,_0x586cb4[_0x2e3404(0x2a5,'uSoz')]),await $[_0x2e3404(0x188,'!Kmx')](0x1f4);}catch(_0x4c6fb8){console[_0x2e3404(0x29e,'kce(')](_0x4c6fb8);}}async function _0x19e38d(_0x27b50d){const _0x4bc609=_0x2258ef,_0x500c84={'SmTUP':function(_0x365ff9,_0x5194e5){return _0x365ff9!==_0x5194e5;},'NIdas':_0x4bc609(0x1a3,'DA34'),'shGWw':_0x4bc609(0x20e,'mU1y'),'MyzdV':function(_0x39a6e2,_0x320494,_0x555936){return _0x39a6e2(_0x320494,_0x555936);},'vjTad':function(_0x4099a7){return _0x4099a7();},'JpKBs':_0x4bc609(0x1e7,'[U#5'),'EHXYn':function(_0x19a70e,_0x2cf520){return _0x19a70e===_0x2cf520;},'DXKKb':_0x4bc609(0x133,'h%uP'),'BiNii':_0x4bc609(0x223,'Z01o'),'FKwFG':function(_0x2df4f1,_0x249dd6,_0x21a708){return _0x2df4f1(_0x249dd6,_0x21a708);},'yiJfa':function(_0x30ec12,_0x5bfa6b){return _0x30ec12(_0x5bfa6b);},'hUJWF':_0x4bc609(0x194,'(x2J'),'syaYX':_0x4bc609(0x163,'6Kaa'),'qAjpn':_0x4bc609(0x172,'BF)l'),'xLyFz':_0x4bc609(0x106,'mU1y'),'THmqp':function(_0xf90027,_0x4767c0,_0x5d3379){return _0xf90027(_0x4767c0,_0x5d3379);}};let _0xc1078f='',_0x4ef7bc='';switch(_0x27b50d){case _0x500c84[_0x4bc609(0x232,'nBRq')]:_0xc1078f=_0x4bc609(0x137,'Mz!@'),_0x4ef7bc=await _0x500c84[_0x4bc609(0x1c3,'zzFR')](_0x21d28c,_0x4bc609(0xf4,'K[MF'),_0x500c84[_0x4bc609(0x29c,'gTt4')](escape,_0xc1078f));break;case _0x500c84[_0x4bc609(0x139,'sPEr')]:_0xc1078f={};let _0x1ff4d7={'appId':_0x500c84[_0x4bc609(0x131,'Z01o')],'functionId':_0x500c84[_0x4bc609(0x177,'HQEg')],'body':_0xc1078f,'appid':_0x500c84[_0x4bc609(0x25c,'sPEr')],'clientVersion':_0x51b64b,'client':_0x500c84[_0x4bc609(0x17d,'sPEr')],'user':$[_0x4bc609(0x152,'*LQw')],'t':Date[_0x4bc609(0x14f,'91hI')](),'code':0x1,'xcr':0x1,'ua':UA};_0xc1078f=await _0x4f34c8[_0x4bc609(0x12c,']xZQ')](_0x1ff4d7),_0x4ef7bc=await _0x500c84[_0x4bc609(0x29d,']xZQ')](_0x21d28c,_0x4bc609(0x1a6,'zUk8'),_0xc1078f);break;default:console[_0x4bc609(0x292,'m0KV')]('错误'+_0x27b50d);}if(_0x4ef7bc)return new Promise(async _0x1436b1=>{const _0x568536=_0x4bc609,_0x17df2e={'NrMpr':_0x500c84[_0x568536(0x206,'mU1y')]};if(_0x500c84[_0x568536(0x1d8,'*LQw')](_0x500c84[_0x568536(0x242,'[U#5')],_0x500c84[_0x568536(0x21d,'OH4U')]))$[_0x568536(0x208,'Wc7L')](_0x4ef7bc,(_0x1dcf02,_0x5bf9ba,_0xceb23b)=>{const _0x48986e=_0x568536;try{if(_0x500c84[_0x48986e(0xfe,'Wc7L')](_0x500c84[_0x48986e(0xf6,'kce(')],_0x500c84[_0x48986e(0x1d9,'3F*S')]))_0xceb23b[_0x48986e(0x185,'qr4d')]('拥挤')&&($[_0x48986e(0x214,'Wc7L')]=!![]),_0x500c84[_0x48986e(0x256,'zzFR')](_0x282ea5,_0x27b50d,_0xceb23b);else try{return _0x3f284c[_0x48986e(0x1af,'cqe@')](_0x1923df);}catch(_0x5a580a){return _0x5da279[_0x48986e(0x1fd,'VFlF')](_0x5a580a),_0x428454[_0x48986e(0xfc,']xZQ')](_0x1513e2[_0x48986e(0x109,'(x2J')],'',_0x17df2e[_0x48986e(0x236,'nBRq')]),[];}}catch(_0x29b2a5){$[_0x48986e(0x143,'*dx8')](_0x29b2a5,_0x5bf9ba);}finally{_0x500c84[_0x48986e(0x1b7,'kce(')](_0x1436b1);}});else{_0x323e7a[_0x568536(0x282,'sPEr')](_0x568536(0xf9,'uSoz')+_0x6e62a4);return;}});}async function _0x282ea5(_0x29a173,_0x5f4b06){const _0x1c3e68=_0x2258ef,_0x2725aa={'OHApq':function(_0x66e40c,_0x3e1582){return _0x66e40c+_0x3e1582;},'llqYX':_0x1c3e68(0x101,'OH4U'),'QzaXG':function(_0x4d4d3c,_0x4029ba){return _0x4d4d3c(_0x4029ba);},'IAYME':_0x1c3e68(0x234,'Vos*'),'blrzF':_0x1c3e68(0x19c,'!Kmx'),'RMChr':_0x1c3e68(0x107,'Xo)f'),'DkmFQ':function(_0x325992,_0x1541ee){return _0x325992==_0x1541ee;},'nCMDE':function(_0x436e5e,_0x54ef54){return _0x436e5e===_0x54ef54;},'RxfFp':_0x1c3e68(0x125,'h%uP'),'HRGjb':_0x1c3e68(0x123,'VFlF'),'YcvzB':_0x1c3e68(0x21f,'uSoz'),'ROiKJ':function(_0x20ec12,_0xb42838){return _0x20ec12!==_0xb42838;},'wDstp':_0x1c3e68(0x1cd,'zUk8'),'fUfEe':function(_0x57841f,_0xfdb88c){return _0x57841f===_0xfdb88c;},'GeUZo':_0x1c3e68(0x148,'Ux(m'),'MuNhW':_0x1c3e68(0xfb,'uSoz'),'VpIuP':function(_0x4b4b15,_0xc40a46){return _0x4b4b15+_0xc40a46;},'lLqhx':_0x1c3e68(0x126,'VFlF'),'mknZw':_0x1c3e68(0x1c2,'N0vZ'),'NzzPy':_0x1c3e68(0x252,'zUk8')};try{data=JSON[_0x1c3e68(0x265,'[U#5')](_0x5f4b06);}catch(_0x150bad){console[_0x1c3e68(0x282,'sPEr')](_0x1c3e68(0x21b,'&*8F')+_0x5f4b06);return;}switch(_0x29a173){case _0x2725aa[_0x1c3e68(0x29a,'adxy')]:if(_0x2725aa[_0x1c3e68(0x1b4,'uSoz')](data[_0x1c3e68(0x288,'Vos*')],0x0)&&data[_0x1c3e68(0x22f,'mRAa')])console[_0x1c3e68(0x1e0,'nBRq')](_0x1c3e68(0x225,'HQEg')+(data[_0x1c3e68(0xf7,'OH4U')][_0x1c3e68(0x1e8,'!Kmx')]||0x0)+_0x1c3e68(0x13c,'kEpk')+(data[_0x1c3e68(0x166,'!lZJ')][_0x1c3e68(0x1db,'cqe@')]||0x0)+'京豆'),$[_0x1c3e68(0x21a,'Ux(m')]=data[_0x1c3e68(0x280,'Z01o')][_0x1c3e68(0x15a,'HQEg')]&&data[_0x1c3e68(0x28e,'*LQw')][_0x1c3e68(0xe7,'Q%t4')]||[],$[_0x1c3e68(0x19e,'yu&m')]=data[_0x1c3e68(0x166,'!lZJ')][_0x1c3e68(0x277,'mRAa')]&&data[_0x1c3e68(0x1b6,'Wc7L')][_0x1c3e68(0x1de,'N0vZ')]||{};else{if(data[_0x1c3e68(0x281,'&*8F')]&&data[_0x1c3e68(0x263,'nBRq')][_0x1c3e68(0x147,'91hI')])console[_0x1c3e68(0x15f,'N0vZ')](data[_0x1c3e68(0x22f,'mRAa')][_0x1c3e68(0x27e,'k#[W')]);else{if(_0x2725aa[_0x1c3e68(0x298,'Vos*')](_0x2725aa[_0x1c3e68(0x278,'Mz!@')],_0x2725aa[_0x1c3e68(0x19d,'k#[W')])){const _0x284bcd=_0x5c72a8[_0x1c3e68(0x2a7,'DA34')](_0x52f17b,arguments);return _0x5d2dcd=null,_0x284bcd;}else console[_0x1c3e68(0xe4,'!Kmx')](_0x5f4b06);}}break;case _0x2725aa[_0x1c3e68(0x23c,'3F*S')]:if(_0x2725aa[_0x1c3e68(0x1bd,'*LQw')](data[_0x1c3e68(0x291,'OH4U')],0x0)&&data[_0x1c3e68(0x18d,'k#[W')])data[_0x1c3e68(0x192,'K[MF')]?.[_0x1c3e68(0xf5,'OH4U')]?.[_0x1c3e68(0x13b,'6Kaa')]?.[_0x1c3e68(0x174,'k#[W')]?_0x2725aa[_0x1c3e68(0x155,'uSoz')](_0x2725aa[_0x1c3e68(0x297,'3F*S')],_0x2725aa[_0x1c3e68(0x161,'6Kaa')])?_0x116a54[_0x1c3e68(0x158,'mRAa')](_0x2725aa[_0x1c3e68(0x1cc,'6R)J')](_0x2725aa[_0x1c3e68(0x22c,'mU1y')],_0x1b8fd4[_0x1c3e68(0x165,'Vos*')](_0x24e9fd))):(console[_0x1c3e68(0xe5,'6Kaa')]((data[_0x1c3e68(0x28e,'*LQw')][_0x1c3e68(0xf8,'DA34')][_0x1c3e68(0x120,'zzFR')]||0x0)+':'+(data[_0x1c3e68(0x1b2,'I#p)')][_0x1c3e68(0x26e,'Mz!@')][_0x1c3e68(0x187,'Xo)f')][_0x1c3e68(0x28a,'w@wX')]||0x0)+'京豆'),$[_0x1c3e68(0x116,'*LQw')]+=_0x2725aa[_0x1c3e68(0x132,'DA34')](Number,data[_0x1c3e68(0x16d,'Ux(m')][_0x1c3e68(0x118,'Q%t4')][_0x1c3e68(0x197,'Oj5S')][_0x1c3e68(0xf2,'uSoz')])||0x0):data[_0x1c3e68(0x16d,'Ux(m')]?.[_0x1c3e68(0x13f,'*dx8')]?_0x2725aa[_0x1c3e68(0x191,'VFlF')](_0x2725aa[_0x1c3e68(0x1a1,'uSoz')],_0x2725aa[_0x1c3e68(0x1e1,'3F*S')])?(_0x479a8e[_0x1c3e68(0x258,'zzFR')]((_0x4e5b12[_0x1c3e68(0x192,'K[MF')][_0x1c3e68(0x146,'91hI')][_0x1c3e68(0x279,'m0KV')]||0x0)+':'+(_0x12ea37[_0x1c3e68(0x209,'m0KV')][_0x1c3e68(0x110,'ei#y')][_0x1c3e68(0x168,'ei#y')][_0x1c3e68(0xef,'adxy')]||0x0)+'京豆'),_0x7d36b1[_0x1c3e68(0x115,'zUk8')]+=_0x2725aa[_0x1c3e68(0x218,'h%uP')](_0x33e41f,_0x5ebf1f[_0x1c3e68(0x27a,'Dw^E')][_0x1c3e68(0x205,'&*8F')][_0x1c3e68(0x287,'(x2J')][_0x1c3e68(0x169,'91hI')])||0x0):(console[_0x1c3e68(0x15f,'N0vZ')](_0x2725aa[_0x1c3e68(0x10e,'Q%t4')](data[_0x1c3e68(0x29b,'qr4d')][_0x1c3e68(0x114,'6Kaa')][_0x1c3e68(0x1ef,'nBRq')],_0x1c3e68(0xf0,'ei#y')+(data[_0x1c3e68(0x285,'zIys')][_0x1c3e68(0x10b,'&*8F')][_0x1c3e68(0x241,'K[MF')][_0x1c3e68(0x18f,'VFlF')]||0x0)+'京豆')),$[_0x1c3e68(0x17b,'Ux(m')]+=_0x2725aa[_0x1c3e68(0x14e,'Dw^E')](Number,data[_0x1c3e68(0x28f,'h%uP')][_0x1c3e68(0x24b,'mRAa')][_0x1c3e68(0x144,'Z01o')][_0x1c3e68(0x270,'zzFR')])||0x0):console[_0x1c3e68(0x195,'adxy')](_0x2725aa[_0x1c3e68(0x21e,'Vos*')](_0x2725aa[_0x1c3e68(0x24d,'3F*S')],JSON[_0x1c3e68(0x180,'6Kaa')](data)));else{if(_0x2725aa[_0x1c3e68(0x26c,'Vos*')](_0x2725aa[_0x1c3e68(0x1ab,'mRAa')],_0x2725aa[_0x1c3e68(0xea,'sPEr')])){_0x30fbad[_0x1c3e68(0x17a,'6Kaa')](_0x171a52[_0x1c3e68(0x157,'K[MF')],_0x2725aa[_0x1c3e68(0x1b8,'VFlF')],_0x2725aa[_0x1c3e68(0x198,'yu&m')],{'open-url':_0x2725aa[_0x1c3e68(0x190,'w@wX')]});return;}else console[_0x1c3e68(0x292,'m0KV')](_0x2725aa[_0x1c3e68(0x27b,'zUk8')](_0x2725aa[_0x1c3e68(0x2a3,'[U#5')],JSON[_0x1c3e68(0x203,'zzFR')](_0x5f4b06)));}break;default:console[_0x1c3e68(0x28b,'BF)l')](_0x1c3e68(0x12f,'k#[W')+_0x29a173);}}async function _0x21d28c(_0x2d8f68,_0x22105b){const _0x5bb0ce=_0x2258ef,_0x5427c9={'FloYL':_0x5bb0ce(0x18e,'mRAa'),'OrCMn':_0x5bb0ce(0x1d7,'91hI'),'BaNWH':_0x5bb0ce(0x259,'Ux(m'),'hDDlB':_0x5bb0ce(0x1b1,'Z01o')};let _0x49e09b=_0x5bb0ce(0x222,'OH4U')+_0x22105b+_0x5bb0ce(0x274,'Dw^E')+UUID+_0x5bb0ce(0xe6,'Y6GA')+UUID;const _0x318128=_0x5bb0ce(0x13d,'N0vZ'),_0x40871d={'Accept':_0x5427c9[_0x5bb0ce(0xfd,'kEpk')],'Accept-Encoding':_0x5427c9[_0x5bb0ce(0x294,'[U#5')],'Accept-Language':_0x5427c9[_0x5bb0ce(0x1f1,'ei#y')],'Cookie':$[_0x5bb0ce(0x1aa,'h%uP')],'Referer':_0x5427c9[_0x5bb0ce(0x175,'Oj5S')],'User-Agent':UA};return{'url':_0x49e09b,'method':_0x318128,'headers':_0x40871d,'ciphers':_0x5d845f[_0x5bb0ce(0x119,'VFlF')]};}async function _0x7916ac(){const _0x541017=_0x2258ef,_0x41bca9={'zCTdL':function(_0x4436c2){return _0x4436c2();},'oKqEc':_0x541017(0x179,'*dx8'),'bigFB':_0x541017(0x27d,'Vos*'),'eDQqF':_0x541017(0x19b,'K[MF'),'RQYRy':_0x541017(0x145,'Dw^E'),'ByoIr':function(_0x2a0ccf,_0x1c1554){return _0x2a0ccf===_0x1c1554;},'dlnjk':_0x541017(0x189,'uSoz'),'cbwBj':_0x541017(0x1b0,'sPEr'),'SwSTE':_0x541017(0x12e,'cqe@'),'xfkuT':_0x541017(0x1e5,'3F*S'),'SRFYO':function(_0x1e6d3f,_0x55dac5){return _0x1e6d3f+_0x55dac5;},'zdfuX':_0x541017(0x211,'h%uP'),'NSTrg':function(_0x1bcb83,_0x37ce23){return _0x1bcb83!==_0x37ce23;},'mUeec':_0x541017(0x10c,'mU1y'),'pzmUx':_0x541017(0x14c,'!Kmx'),'fBKhJ':function(_0x36413e,_0x2ea92c){return _0x36413e(_0x2ea92c);},'QpmNc':_0x541017(0x1ad,'adxy')};let _0xf3746c={'url':_0x41bca9[_0x541017(0x1da,'ei#y')],'headers':{'Cookie':$[_0x541017(0x1ea,'OH4U')]},'body':_0x541017(0x1e2,'Wc7L')+_0x41bca9[_0x541017(0x113,'m0KV')](encodeURIComponent,_0x41bca9[_0x541017(0x24e,'uSoz')])};return new Promise(async _0x2cfa98=>{const _0x1b0588=_0x541017,_0xfdc065={'TzKzZ':function(_0xcb15b2){const _0x18d74b=_0x59d7;return _0x41bca9[_0x18d74b(0x262,'6R)J')](_0xcb15b2);},'OUhkm':_0x41bca9[_0x1b0588(0x255,'BF)l')],'iNqWV':_0x41bca9[_0x1b0588(0x1f6,'VFlF')],'qlSIm':_0x41bca9[_0x1b0588(0x1bb,'Xo)f')],'FRoGx':_0x41bca9[_0x1b0588(0x226,'zIys')],'WlFmF':function(_0x2ad109,_0x37ca46){const _0x373126=_0x1b0588;return _0x41bca9[_0x373126(0x2ad,'N0vZ')](_0x2ad109,_0x37ca46);},'cIRdT':_0x41bca9[_0x1b0588(0x293,'Z01o')],'TVCJr':_0x41bca9[_0x1b0588(0x1cb,'[U#5')],'TvBjT':_0x41bca9[_0x1b0588(0x1df,'sPEr')],'mOndS':_0x41bca9[_0x1b0588(0x1b3,'91hI')],'eAlUC':function(_0xe88925,_0x2fdacb){const _0x235cfb=_0x1b0588;return _0x41bca9[_0x235cfb(0x164,'Q%t4')](_0xe88925,_0x2fdacb);},'IeeIu':_0x41bca9[_0x1b0588(0x1c7,'kEpk')]};_0x41bca9[_0x1b0588(0x181,'Xo)f')](_0x41bca9[_0x1b0588(0x18a,'!Kmx')],_0x41bca9[_0x1b0588(0x21c,'mU1y')])?_0xfdc065[_0x1b0588(0x1ee,'mRAa')](_0x248ed3):$[_0x1b0588(0x12b,'kce(')](_0xf3746c,async(_0x261b7a,_0x3eea47,_0x2716fd)=>{const _0x15b0ed=_0x1b0588;try{if(_0xfdc065[_0x15b0ed(0x121,'!lZJ')](_0xfdc065[_0x15b0ed(0x1d1,'*LQw')],_0xfdc065[_0x15b0ed(0x2a9,'h%uP')]))_0x4dce7c[_0x15b0ed(0x196,'!lZJ')]();else{if(_0x261b7a)console[_0x15b0ed(0x104,'Q%t4')](''+JSON[_0x15b0ed(0x149,'K[MF')](_0x261b7a)),console[_0x15b0ed(0x142,'&*8F')](_0x15b0ed(0xee,'sPEr'));else{if(_0xfdc065[_0x15b0ed(0x271,'VFlF')](_0xfdc065[_0x15b0ed(0xfa,'zzFR')],_0xfdc065[_0x15b0ed(0x1f9,'kce(')])){let _0x2e6c8b=_0x15b0ed(0x251,'&*8F')+_0x4c5f5b+_0x15b0ed(0x22a,'Vos*')+_0x4d62c6+_0x15b0ed(0x140,'6R)J')+_0x39bf3f;const _0x109784=_0x15b0ed(0x26f,'Q%t4'),_0x2be7f8={'Accept':_0xfdc065[_0x15b0ed(0x1c5,'!lZJ')],'Accept-Encoding':_0xfdc065[_0x15b0ed(0x1bc,'[U#5')],'Accept-Language':_0xfdc065[_0x15b0ed(0x1dc,'gTt4')],'Cookie':_0x4048a9[_0x15b0ed(0xff,'!Kmx')],'Referer':_0xfdc065[_0x15b0ed(0x26d,'Z01o')],'User-Agent':_0x2961b4};return{'url':_0x2e6c8b,'method':_0x109784,'headers':_0x2be7f8,'ciphers':_0x4d9ed8[_0x15b0ed(0x28c,'3F*S')]};}else{if(_0x2716fd[_0x15b0ed(0x1a8,'K[MF')](/"京豆.*"/)){const _0x1048f2=_0x2716fd[_0x15b0ed(0x20d,'91hI')](/\"count\":\"?(\d.*?)\"?,/)[0x1];console[_0x15b0ed(0x23b,'*LQw')](_0x15b0ed(0x210,'[U#5')+_0x1048f2+'京豆');}else{const _0x10fb93=_0x2716fd[_0x15b0ed(0x238,'Wc7L')](/},\"businessMsg\":\"(\S.*)\",\"c/)[0x1];console[_0x15b0ed(0x183,'[U#5')](_0xfdc065[_0x15b0ed(0x2ac,'!Kmx')](_0xfdc065[_0x15b0ed(0x23d,'cqe@')],_0x10fb93));}}}}}catch(_0xda789d){$[_0x15b0ed(0x25e,'Xo)f')](_0xda789d,_0x3eea47);}finally{_0xfdc065[_0x15b0ed(0x1b9,'Y6GA')](_0x2cfa98);}});});}function _0xe6c2e5(_0x1e9bfc){const _0x4f8732=_0x2258ef,_0x27ffbb={'xZvth':function(_0x55742d,_0x5f242e){return _0x55742d!==_0x5f242e;},'cbIPh':_0x4f8732(0x217,'Oj5S'),'tYJcx':_0x4f8732(0x1a7,'h%uP'),'xbEGC':_0x4f8732(0x1eb,'zUk8'),'PpTCR':_0x4f8732(0x1f7,'m0KV'),'ALXmU':function(_0x2a63f4,_0x493668){return _0x2a63f4(_0x493668);},'VgiSt':_0x4f8732(0x1b5,'zUk8'),'UkulK':_0x4f8732(0x18c,'zIys'),'KEOml':_0x4f8732(0x1fa,'kce('),'svHjT':_0x4f8732(0x16c,'OH4U'),'vsCwL':function(_0x6a111b,_0x5be1de,_0xbb9b20){return _0x6a111b(_0x5be1de,_0xbb9b20);},'PTgfz':function(_0x18e0a0){return _0x18e0a0();},'HuEib':function(_0x1d7c86,_0x59bbca){return _0x1d7c86==_0x59bbca;},'nhdzx':_0x4f8732(0x10a,'k#[W')},_0x5f4d02=(function(){const _0x3e3ae1=_0x4f8732,_0x308d26={'zedNK':function(_0x6a8be7,_0x5b5134){const _0x377694=_0x59d7;return _0x27ffbb[_0x377694(0x25f,'N0vZ')](_0x6a8be7,_0x5b5134);},'luQeC':_0x27ffbb[_0x3e3ae1(0x267,'Z01o')],'SLhoF':_0x27ffbb[_0x3e3ae1(0x1d6,'OH4U')],'zHwJn':_0x27ffbb[_0x3e3ae1(0x25d,'Wc7L')],'bvceW':_0x27ffbb[_0x3e3ae1(0x227,']xZQ')]};let _0xce37a=!![];return function(_0x298cd6,_0x269e3e){const _0x42e29e=_0x3e3ae1,_0x43d6d8={'YTddK':function(_0xdd675c,_0x520467){const _0x13ea16=_0x59d7;return _0x308d26[_0x13ea16(0x240,'adxy')](_0xdd675c,_0x520467);},'rZkTV':_0x308d26[_0x42e29e(0x260,'zIys')],'NxlVQ':_0x308d26[_0x42e29e(0x264,'Xo)f')]};if(_0x308d26[_0x42e29e(0x1d3,'(x2J')](_0x308d26[_0x42e29e(0x24c,'91hI')],_0x308d26[_0x42e29e(0x1a0,'DA34')])){const _0x1c9a96=_0xce37a?function(){const _0x4fbf87=_0x42e29e;if(_0x43d6d8[_0x4fbf87(0x1a9,'6Kaa')](_0x43d6d8[_0x4fbf87(0x1ed,'gTt4')],_0x43d6d8[_0x4fbf87(0x245,'h%uP')]))_0x1606b7[_0x4fbf87(0x178,'mU1y')](''+_0x547078[_0x4fbf87(0x11f,'kce(')](_0x1dae2a)),_0x3a8218[_0x4fbf87(0x11b,'Vos*')](_0x4fbf87(0xe1,'kEpk'));else{if(_0x269e3e){const _0x160bb2=_0x269e3e[_0x4fbf87(0x1ec,'zIys')](_0x298cd6,arguments);return _0x269e3e=null,_0x160bb2;}}}:function(){};return _0xce37a=![],_0x1c9a96;}else return _0x51cf11[_0x42e29e(0x162,'uSoz')](_0x4a4232),_0x5331b6[_0x42e29e(0x1d4,'Q%t4')](_0x2e00b5[_0x42e29e(0x151,'Oj5S')],'',_0x43d6d8[_0x42e29e(0x100,'gTt4')]),[];};}()),_0x3d3ff4=_0x27ffbb[_0x4f8732(0x167,'zUk8')](_0x5f4d02,this,function(){const _0x15d9a5=_0x4f8732,_0x4e5045={'BRmsh':function(_0x1780bb,_0x313799){const _0x5418af=_0x59d7;return _0x27ffbb[_0x5418af(0x141,'kEpk')](_0x1780bb,_0x313799);},'xWvTG':_0x27ffbb[_0x15d9a5(0x19f,'gTt4')]};if(_0x27ffbb[_0x15d9a5(0x1f5,'kce(')](_0x27ffbb[_0x15d9a5(0x204,'Z01o')],_0x27ffbb[_0x15d9a5(0x299,'[U#5')]))return _0x3d3ff4[_0x15d9a5(0x20f,'K[MF')]()[_0x15d9a5(0x1a5,'adxy')](_0x27ffbb[_0x15d9a5(0x2a8,'ei#y')])[_0x15d9a5(0x1f8,'h%uP')]()[_0x15d9a5(0x199,'Y6GA')](_0x3d3ff4)[_0x15d9a5(0x254,'K[MF')](_0x27ffbb[_0x15d9a5(0xe2,'qr4d')]);else _0x1d609e=_0x4e5045[_0x15d9a5(0x15b,'Dw^E')](_0x32acde,_0x4e5045[_0x15d9a5(0x23a,'Oj5S')]),_0x37d482[_0x15d9a5(0x284,'cqe@')]=_0x3dafd9[_0x15d9a5(0x249,'k#[W')](_0x336f67[_0x15d9a5(0x112,'sPEr')][_0x15d9a5(0x14b,'Q%t4')](_0x336978)),_0x20f8d9[_0x15d9a5(0xed,'Ux(m')]=_0x6ad195[_0x15d9a5(0x129,'ei#y')](_0x52b076[_0x15d9a5(0x233,'sPEr')][_0x15d9a5(0x1e3,'Wc7L')](_0x3b53c9));});_0x27ffbb[_0x4f8732(0x237,'BF)l')](_0x3d3ff4);if(_0x27ffbb[_0x4f8732(0x1c0,'Y6GA')](typeof _0x1e9bfc,_0x27ffbb[_0x4f8732(0x24a,'mRAa')]))try{return JSON[_0x4f8732(0x224,'Q%t4')](_0x1e9bfc);}catch(_0x5946a5){return console[_0x4f8732(0x136,'3F*S')](_0x5946a5),$[_0x4f8732(0x1a2,'OH4U')]($[_0x4f8732(0x228,'Ux(m')],'',_0x27ffbb[_0x4f8732(0x20c,'uSoz')]),[];}}function _0x59e76e(_0x3f18b4){const _0x544dae=_0x2258ef,_0x542bc1={'wYlwr':function(_0x8aba5,_0x3a984b){return _0x8aba5||_0x3a984b;},'oecqV':_0x544dae(0x1e9,'6R)J'),'GeSws':function(_0x2c5a50,_0x4dbb54){return _0x2c5a50<_0x4dbb54;},'bRcgY':function(_0x2193cd,_0x4ed7f5){return _0x2193cd*_0x4ed7f5;}};_0x3f18b4=_0x542bc1[_0x544dae(0x11d,'HQEg')](_0x3f18b4,0x20);let _0xf67531=_0x542bc1[_0x544dae(0xf3,'N0vZ')],_0x751bb5=_0xf67531[_0x544dae(0x22b,'OH4U')],_0x2dbaf9='';for(i=0x0;_0x542bc1[_0x544dae(0x156,'[U#5')](i,_0x3f18b4);i++)_0x2dbaf9+=_0xf67531[_0x544dae(0x13a,'adxy')](Math[_0x544dae(0x176,'zUk8')](_0x542bc1[_0x544dae(0x102,'zzFR')](Math[_0x544dae(0x272,'kce(')](),_0x751bb5)));return _0x2dbaf9;}var version_ = 'jsjiami.com.v7';
|
|
function Env(o,t){class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((r,i)=>{s.call(this,t,(t,e,s)=>{t?i(t):r(e)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.logLevels={debug:0,info:1,warn:2,error:3},this.logLevelPrefixs={debug:"[DEBUG] ",info:"[INFO] ",warn:"[WARN] ",error:"[ERROR] "},this.logLevel="info",this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.encoding="utf-8",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}getEnv(){return"undefined"!=typeof $environment&&$environment["surge-version"]?"Surge":"undefined"!=typeof $environment&&$environment["stash-version"]?"Stash":"undefined"!=typeof module&&module.exports?"Node.js":"undefined"!=typeof $task?"Quantumult X":"undefined"!=typeof $loon?"Loon":"undefined"!=typeof $rocket?"Shadowrocket":void 0}isNode(){return"Node.js"===this.getEnv()}isQuanX(){return"Quantumult X"===this.getEnv()}isSurge(){return"Surge"===this.getEnv()}isLoon(){return"Loon"===this.getEnv()}isShadowrocket(){return"Shadowrocket"===this.getEnv()}isStash(){return"Stash"===this.getEnv()}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null,...s){try{return JSON.stringify(t,...s)}catch{return e}}getjson(t,e){let s=e;if(this.getdata(t))try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(r=>{this.get({url:t},(t,e,s)=>r(s))})}runScript(a,o){return new Promise(r=>{let t=this.getdata("@chavy_boxjs_userCfgs.httpapi");t=t&&t.replace(/\n/g,"").trim();var e=(e=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"))?+e:20,[s,i]=(e=o&&o.timeout?o.timeout:e,t.split("@"));this.post({url:`http://${i}/v1/scripting/evaluate`,body:{script_text:a,mock_type:"cron",timeout:e},headers:{"X-Key":s,Accept:"*/*"},timeout:e},(t,e,s)=>r(s))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};this.fs=this.fs||require("fs"),this.path=this.path||require("path");var t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),r=!s&&this.fs.existsSync(e);if(!s&&!r)return{};r=s?t:e;try{return JSON.parse(this.fs.readFileSync(r))}catch(t){return{}}}writedata(){var t,e,s,r,i;this.isNode()&&(this.fs=this.fs||require("fs"),this.path=this.path||require("path"),t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),r=!(s=this.fs.existsSync(t))&&this.fs.existsSync(e),i=JSON.stringify(this.data),!s&&r?this.fs.writeFileSync(e,i):this.fs.writeFileSync(t,i))}lodash_get(t,e,s){let r=t;for(const t of e.replace(/\[(\d+)\]/g,".$1").split("."))if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,r,e){return Object(t)===t&&((r=Array.isArray(r)?r:r.toString().match(/[^.[\]]+/g)||[]).slice(0,-1).reduce((t,e,s)=>Object(t[e])===t[e]?t[e]:t[e]=Math.abs(r[s+1])>>0==+r[s+1]?[]:{},t)[r[r.length-1]]=e),t}getdata(t){let e=this.getval(t);if(/^@/.test(t)){var[,s,r]=/^@(.*?)\.(.*?)$/.exec(t);if(s=s?this.getval(s):"")try{const t=JSON.parse(s);e=t?this.lodash_get(t,r,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){var[,r,i]=/^@(.*?)\.(.*?)$/.exec(e),a=this.getval(r),a=r?"null"===a?null:a||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,i,t),s=this.setval(JSON.stringify(e),r)}catch(e){this.lodash_set(a={},i,t),s=this.setval(JSON.stringify(a),r)}}else s=this.setval(t,e);return s}getval(t){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.read(t);case"Quantumult X":return $prefs.valueForKey(t);case"Node.js":return this.data=this.loaddata(),this.data[t];default:return this.data&&this.data[t]||null}}setval(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.write(t,e);case"Quantumult X":return $prefs.setValueForKey(t,e);case"Node.js":return this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0;default:return this.data&&this.data[e]||null}}initGotEnv(t){this.got=this.got||require("got"),this.cktough=this.cktough||require("tough-cookie"),this.ckjar=this.ckjar||new this.cktough.CookieJar,t&&(t.headers=t.headers||{},t)&&(t.headers=t.headers||{},void 0===t.headers.cookie)&&void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar)}tmout(){return new Promise((t,e)=>{this.tmoutId=setTimeout(()=>{this.prms.cancel(),e({message:"timemout",response:""})},5e4)})}get(t,a=()=>{}){switch(t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"],delete t.headers["content-type"],delete t.headers["content-length"]),t.params&&(t.url+="?"+this.queryStr(t.params)),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQuanX()&&(t.opts?t.opts.redirection=!1:t.opts={redirection:!1})),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,e,s)=>{!t&&e&&(e.body=s,e.statusCode=e.status||e.statusCode,e.status=e.statusCode),a(t,e,s)});break;case"Quantumult X":this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{var{statusCode:t,statusCode:e,headers:s,body:r,bodyBytes:i}=t;a(null,{status:t,statusCode:e,headers:s,body:r,bodyBytes:i},r,i)},t=>a(t&&t.error||"UndefinedError"));break;case"Node.js":this.initGotEnv(t),this.prms=this.got(t).on("redirect",(t,e)=>{try{var s;t.headers["set-cookie"]&&((s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString())&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar)}catch(t){this.logErr(t)}}),Promise.race([this.prms,this.tmout()]).then(t=>{var{statusCode:t,statusCode:e,headers:s,rawBody:r,body:i}=t;a(null,{status:t,statusCode:e,headers:s,rawBody:r,body:i},i),clearTimeout(this.tmoutId)},t=>{var{message:t,response:e}=t;clearTimeout(this.tmoutId),a(t,e,e&&e.body)})}}post(t,a=()=>{}){var e=t.method?t.method.toLocaleLowerCase():"post";switch(t.body&&t.headers&&!t.headers["Content-Type"]&&!t.headers["content-type"]&&(t.headers["content-type"]="application/x-www-form-urlencoded"),t.headers&&(delete t.headers["Content-Length"],delete t.headers["content-length"]),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQuanX()&&(t.opts?t.opts.redirection=!1:t.opts={redirection:!1})),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient[e](t,(t,e,s)=>{!t&&e&&(e.body=s,e.statusCode=e.status||e.statusCode,e.status=e.statusCode),a(t,e,s)});break;case"Quantumult X":t.method=e,this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{var{statusCode:t,statusCode:e,headers:s,body:r,bodyBytes:i}=t;a(null,{status:t,statusCode:e,headers:s,body:r,bodyBytes:i},r,i)},t=>a(t&&t.error||"UndefinedError"));break;case"Node.js":this.initGotEnv(t);var{url:s,...r}=t;this.prms=this.got[e](s,r),Promise.race([this.prms,this.tmout()]).then(t=>{var{statusCode:t,statusCode:e,headers:s,rawBody:r,body:i}=t;a(null,{status:t,statusCode:e,headers:s,rawBody:r,body:i},i),clearTimeout(this.tmoutId)},t=>{var{message:t,response:e}=t;clearTimeout(this.tmoutId),a(t,e,e&&e.body)})}}time(t,e=null){var s,r={"M+":(e=e?new Date(e):new Date).getMonth()+1,"d+":e.getDate(),"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(s in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?r[s]:("00"+r[s]).substr((""+r[s]).length)));return t}queryStr(e){let s="";for(const r in e){let t=e[r];null!=t&&""!==t&&("object"==typeof t&&(t=JSON.stringify(t)),s+=`${r}=${t}&`)}return s=s.substring(0,s.length-1)}msg(t=o,e="",s="",r={}){var i,a=r=>{const{$open:t,$copy:e,$media:i,$mediaMime:a}=r;switch(typeof r){case void 0:return r;case"string":switch(this.getEnv()){case"Surge":case"Stash":default:return{url:r};case"Loon":case"Shadowrocket":return r;case"Quantumult X":return{"open-url":r};case"Node.js":return}case"object":switch(this.getEnv()){case"Surge":case"Stash":case"Shadowrocket":default:var o={},s=r.openUrl||r.url||r["open-url"]||t;if(s&&Object.assign(o,{action:"open-url",url:s}),(s=r["update-pasteboard"]||r.updatePasteboard||e)&&Object.assign(o,{action:"clipboard",text:s}),i){let t,e,s;if(i.startsWith("http"))t=i;else if(i.startsWith("data:")){const[r]=i.split(";"),[,a]=i.split(",");e=a,s=r.replace("data:","")}else e=i,s=(t=>{var e,s={JVBERi0:"application/pdf",R0lGODdh:"image/gif",R0lGODlh:"image/gif",iVBORw0KGgo:"image/png","/9j/":"image/jpg"};for(e in s)if(0===t.indexOf(e))return s[e];return null})(i);Object.assign(o,{"media-url":t,"media-base64":e,"media-base64-mime":a??s})}return Object.assign(o,{"auto-dismiss":r["auto-dismiss"],sound:r.sound}),o;case"Loon":{const e={};(s=r.openUrl||r.url||r["open-url"]||t)&&Object.assign(e,{openUrl:s});var n=r.mediaUrl||r["media-url"];return(n=i?.startsWith("http")?i:n)&&Object.assign(e,{mediaUrl:n}),console.log(JSON.stringify(e)),e}case"Quantumult X":{const a={};(o=r["open-url"]||r.url||r.openUrl||t)&&Object.assign(a,{"open-url":o});n=r["media-url"]||r.mediaUrl;return(n=i?.startsWith("http")?i:n)&&Object.assign(a,{"media-url":n}),(s=r["update-pasteboard"]||r.updatePasteboard||e)&&Object.assign(a,{"update-pasteboard":s}),console.log(JSON.stringify(a)),a}case"Node.js":return}default:return}};if(!this.isMute)switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":default:$notification.post(t,e,s,a(r));break;case"Quantumult X":$notify(t,e,s,a(r));break;case"Node.js":}this.isMuteLog||((i=["","==============📣系统通知📣=============="]).push(t),e&&i.push(e),s&&i.push(s),console.log(i.join("\n")),this.logs=this.logs.concat(i))}debug(...t){this.logLevels[this.logLevel]<=this.logLevels.debug&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.debug+t.map(t=>t??String(t)).join(this.logSeparator)))}info(...t){this.logLevels[this.logLevel]<=this.logLevels.info&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.info+t.map(t=>t??String(t)).join(this.logSeparator)))}warn(...t){this.logLevels[this.logLevel]<=this.logLevels.warn&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.warn+t.map(t=>t??String(t)).join(this.logSeparator)))}error(...t){this.logLevels[this.logLevel]<=this.logLevels.error&&(0<t.length&&(this.logs=[...this.logs,...t]),console.log(""+this.logLevelPrefixs.error+t.map(t=>t??String(t)).join(this.logSeparator)))}log(...t){0<t.length&&(this.logs=[...this.logs,...t]),console.log(t.map(t=>t??String(t)).join(this.logSeparator))}logErr(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":case"Quantumult X":default:this.log("",`❗️${this.name}, 错误!`,t);break;case"Node.js":this.log("",`❗️${this.name}, 错误!`,void 0!==t.message?t.message:t)}}wait(e){return new Promise(t=>setTimeout(t,e))}done(t={}){var e=((new Date).getTime()-this.startTime)/1e3;switch(this.log("",`🔔${this.name}, 结束! 🕛 ${e} 秒`),this.log(),this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":case"Quantumult X":default:$done(t);break;case"Node.js":process.exit(1)}}}(o,t)} |