mirror of https://github.com/6dylan6/jdpro.git
5 lines
47 KiB
JavaScript
5 lines
47 KiB
JavaScript
/*
|
|
2 2 29 2 * jd_delLjq.js
|
|
*/
|
|
const $ = new Env('批量删垃圾券');
|
|
var _0xodD='jsjiami.com.v7';function _0x1162(){const _0x479b5f=(function(){return[...[_0xodD,'KUbjgdsrOjixaVLXmfGixGI.rFcComD.HEyvTL7B==','o0XmW5JcMq','eN8tddK','W4xcLbNdRKtcQKK','WP3cHSo2W5lcOq','AhpdV8o6ea','6zwn6Acm5BUy6k2i77+xjgNdNtb6WQmpW4L0W4FcQJddMxNdRSoFAIOyW5nmWR/cLCk6','m8ovq2G','WP/cRmo7W5m','WQSbWRRcGmob','i8oJWPdcNmk4','l8ktlZ/cKW','W5bXBCoJiq','W4uWW4fbFa','WRKeWRRcQSoT','gCoFxNFdUq','e1jIW7FcIa','D1ZdL8onW6z5gbJcGvHSW5/cTW','W5DwWOhcSSkU','a0KObqy','W7/dGSk5xLmIuq','WOlcMmksbLS','m0JcLmkcra','WRBcVSkZp0y','bszzWOja','CmkZWRvaW40','WO3dTe3cU8kM','WO7cOSoXW5lcHZC','mW3dPXZdQbC','W5/cJCoYW7RdVq','WQXKW4GWW60','W5ddGmkWCee','fmkXW4xcJ8kM','g8orgCk7aa','nXddGfDD','W5pdGYqNta','W7XHt8owiG','WQb9W4eZW4y','W6eAW5fJxW','5lIm5lMK6lE25y6g','jqxdUrVdQa','WOVcOSkK','W6O1W6K3AfmtvSo0EbhdPfTkebvBW5S1WOTTW5JdUSkRWRmyWPZcT8omvmklWRT1W7/dVvvYfCoQqv8NWRff','mSk6osdcMG','W4mxWQubnKqOASoxEW','zCkcWPdcTq','dtpdIJZdQq','w3qYWO1s','WR/cRmkzWPmd','qmkjWQTEW4i','ohpdVSkPEetcOmkTWQFdUhddHXJcRce','fchcICk0WRG','WOddP8ocCCoo','ra1xwKtcH8oeWPpdHbuUbSo2','W7i8W51SFW','m8kMW63cHa','WOZcGxNdKCkc','AqxdGSozWQldUSoUwu/cL8ol','nmohWQ/cLIS','lJRcICkjWQC','WRdcR2ldRCkj','zapdHSkRW5ddPmoOCNq','W5JcHmoTW43dGq','CmkrWQTa','W5hdLYSftdLX','p8opb8kEga','W5DRWPVcHmkE','dNDoW7O','D3BdN8oyia','W6xdOSkGo8kcAYxcIeZdPIa1','W6NdNr8osq','W5Dht8o8ga','5P+o5Q6U5OUj6kgz5Okw6k2e5yQs6zMy','5lM/5z+N5z615yMq','W4FcGIZdSG','zfddRd/dGbeBWQm','W4VdKdudrtD2t3O','WPhdUeZcSSkg','WPBcSCkF','buhcK8kCW5NdO8oexG','WPBcSmoZW7VcVq','e8oSWRpcJby','tComy8kyxa','W7VdQHaRBW','zmo6rmkyDG','W6pdLCkzAx4','W45UWPNcOmkm','bCo7DuZdUa','W6ZdUCkyFvO','aaPnWRC','WO/cS8oZW5/cNa','nr3cKCkr','WQBdJx/cQWNdQq3LVixLPzFJGOBKU6lKUOdOTkFLJy4','pmohWQ7cGa','cJBdKLfn','zmkFWQzr','WObfF0FcSdHmhuxcOJVcTXhcUhtcMG','WRNcPmkXgKO','EvepWPnj','B2VdMSoeka','6k+Q5yUm6zIt5OAI5z2xW4fRWQFdQblOVkxLH73MOOhKV6JML4xLHOZLRleU5BMW6k+36ygd6l6R6iAM5P6v5y+56i2Y5yY5W6pcSmoFWPFdQZC','kxxcOmkNBeRcUCoNWRO','W5VdIYKzxYjQsNCFW74','s8kjWOLzW50','WORdU8oAzCoEW5/cNrpdJ8onvKRcN8k8BbWpW68hWOa','WQNcP8oOW5RcOW','WQ1rW5KUW6VcT8k5WQj0W7W','omkPW7y','W5dcKI0Wba','oXHfWQbFvMyM','h8oCv8kPFq','W5CfW4P2ya','5B2u5yQ954Qk5PYy77YScmocWPezCmomWO8y','BSknWOS','W5jGWOW','CSkAWOqvWRm','W4pdRSonwt/dRWhdLCoZWQ7dQG','prddVXJdVKGfWRNdSWtcP8o9p8kZW7jjra','lCkMW7lcKSkk','WRCqWQ3cN8oz','W6ubWQqLaq','5yI66zQK5lU0','W7XNACoCga','WP8EWRm','y8kvW63dLwdcIW','lGZcPmkDWRC','m8oAzmkgvW','WORdNghcG8ka','hexcK33dRmkEb0TJhLzWW4i','WOmqWQBcGmoQ','W4/dRrxcSoIUTEAXH+wLJUI2PE+9JEITHUAIU+ADMUE+JoI1LEMeKEITLW','gabKWOzu','WPpcJ0JdVmk4','W5ezjvtcNWvRjhu','n2dcPSkTAG','WO9fDG','jbJcKSkvWQG','oMbrW4tcTq','WRrZW4GkW6G','DthdNY7cOf0','rg8RWRHE','iWhcJSknWRq6','W4VcKdOYbSkdk8oXW6tdRCoUW615W7yQWPJdPCkUhH/cImo5rmo2jr00FeJcHf/dUdmUA8krACo+W5GCW7JcT8oHF2NcGh14qSkxuSogW6VcGsqQC8oFwwPUW57dM8oEf8obwSoEWONcOSovW4RcTKjSyCk/W5JcVCkRi8kuBmk5WRlcSmo8WPldVCkYpG7dUSkPkxpdICoiWOnVi8k7W6FcKq','W47cJJVdPq','W5RdJsKo','jf3cUCkmW70','nCo7WRNcVCkE','W49JA8o6fZJdOG','FepdRmobbG','cWPtWOrJ','fmoYWPVcVcG','WRFdLu0','kCoFWRfrwf7cVmomwsNcNCof','WRBdIu0','BmoVxCkXya'],...(function(){return[...['kCoEoCktmG','p8oxW4ZdOSkrgan+W6pdSsBcJ38','WQ9XW7q2W4G','WOzaD3hcGq','gSofqCkAyW','WP4cWRm','j8oNWQFcR8kY','WOJdIte','WR/dNu/cVa','ubhdTZ3cVW','aCoMWQSjW7a','eCoora','aYRdSLTm','mCkIW67cHSkBWPa','44c55O6J56Az44gFWRVdHf5SytZLT6VLPixML5O','WRldLf7cP8khW6qCpW8HzG','WRZdN17cQSk6W6uu','WQVcK8kgWP8P','qsFcT8kxna','W5ddKGBcISo/WPVdQgjSW5BcLG','gmo2vxVdRW','WONcQSkkbMldRatdKCoz','W4JdRmkYWOuIWP/dLSo+W6HoF8oysLpdSmkspa','CCowASkZEG','dLlcUSkPqW','smkdWPX3W5a','WPNcKmonW4pcHa','imo8WPRcPmk2wCoUW5Sr','WRRdV0pcRmkC','WPxcJ8kuk0e','ECkVWRzMW7hdMq','h3LvW4VcGSkfW4y','lxfmW7NcOG','W5bGWPW','WPBcJ0BdKCknWONdIgrqW4BcSmkrva','WQtdK8kzxoISMoAWH+wLVUI3IE+9RUITSUAIJ+AEVEE8NoI3VoMeVEIVUG','WO3cG1ZdNSk4WPC','W64aWPehdq','aKFcH8kVW6C','yMuJWQzx','vSk2bshORidMSR3LP4dOTy7VVBxORlpMOBlMNjJNV6xOTihPHQ/ORQy','jGFcHSkC','W5ddKdmAwgOWbMiaW6xcR8ktW41czmooW7hcU8oTW5tdGCkJWQVcS8kpW5FcMgi3WPhdGJJdISoZiqtcQSoIW48RW7HGcmksrKz1ibLuqCkaBXm+WOW/awFcNrDyW7ZdRW','b8oKemkqfG','kSoVWRGV','W7r/WQJcPSkF','kCoNWPG8W54','zMqN','xHyahrJdKSkiWPpdKJfjcSoTq8oCuSkJ','5P+w5A2k6kgAW57cNc5kW5RcSq1Ezv7dJdRcL8oVW77cGXtKVl/OTB3VVy3MLPFMS4ZLKOVNL5NKU4VNKiK','WOJcR8k7j08','E8kwWO7cUa','W65/W7Wx6k2Z5RkB5AEe6lEU77Yl6k2/5QoB5PYD57+U6lAH6yEf6k28','omkqASkolW','shhdGmo/ha','smkjWOyVWRu','lrZcLSkjWQjYbvpcIb8TW7FdMZFdTraIlY9V','xHJcUSkunbzfWOddSX/dQreDbCk+lHZdQ3tdGNhcQCorDCkJW7FdPSo9wCk2W6fkfsTSW7jnzSkqWRDSsLyTq2zOk3tdNmk5iYaJWRP3','hGhdOLb4','nSo2r8kyyq','kqFcHCk8WQm6','fCoot8kLCICy','gGrZWQzJxMuK','WO3cKhuVwWfkwvq','o3hcU8oGBWpcUSoLW63dVNNdHG','W6ldH2pcQ8kp','oWxdPG0','5y2P6ik35l6s6k+B5yIA77275yQ15Bwk5yUT6zU15yUH5OcI5AEL772a5Q205QYa5OIQ6kky5yIs6zUgomkcfos5Ha','qSk7WRKtWP03ka','iSoCnCkVeCoCWR8JW4ZcSmowwcKikmkpWQddSSofW4KMW48Fc8kZW6jPWRtdRCkIDCoEW5O9WORdNSk2W4xdOmoVte0','WPxdLKVcNCkJ','iSkEsmkj','W492vCochG','uCkpWRaDWPq','WQlcKSk2c34','ymkIWO02WR4','CCoN5AAX6lEeW47dMowoUEwyQHBcVW','pmoFswRdGsi','W4tcI8ozW54','WPbpF0xcLZb7g1BcQW','yNKKWRbO','WRJdVmojFCo+','f+IVHoMfKEAuNEEyHow/LUIoS+wmICobdSozW7pcRMm','WPOcWRJcNmoOWPuc','W4VcMSoeW5FdRICWvbfeWOlcISk7W75Iws5jW78ZiCoBW4/cQeJcPx9/WPiUkSouWRxcOSkznSoAESosWPxcP2CMW70FWRtdQW8','ivdcHmkjW5O','gsFdNNjrufKH','ibFdS196DwuakW','cajoWRn9w3i','m8k2W6tcHCk3','fCooBCkLCsS','W4RdHsKord0','nWNcJmkDWR4L','WRddL8oJCmoB','W5z7WP/cO8kAnfaRltZcOCopW7ddNhFdL2hdIIxcHL0rW7DYvaNdLv0+WOnyWORdHqnXjGtdO8orkd94za','W6VcQJOYoG','WRxdHSoSq8oI','oXFdTuzNkcnjoSkAWQOszSkPnCoddmkSiq','5lQ25lUC5P+u5yQS5zUW6kYd6zsU5Pso5OYj5lMR56IS77+I6k2O5Qcd5PY06iAC6lUz6kYm5Aw957YU57Ug5Oc85ys5','W4/dU0u','aY/cGCkyWPq','W5VdGCoYagddVmkah1O','W6ddPfxcN8kQ','WRLRW4SBW4e','nqNcKmkkWRq','W4JdHtuztG','oHddRvLZE2i','5P2G5AYH6kkeWRCwWPldOh/cKCkSW4Tqob8RWOpdQCo9W4/cK+s/MoI3TU+9VUAxHoAWHEwsQUEuQos5UUEsIq','bSokWPRcKXS','gSo+WOdcV8k7pu87','qCkTWRVcPCob','C1RdV8ogmCoIACk6','CrtdK8kfW6i0gGddKG','ECklWRagWRi','mSoCWOlcGCk+','pf3cKCkRW6xdSa','FcddPHZcH8oQDKjgdq','jmobiSk0lmkhW71P','B8ktWPlcO8ox','WRBcN8kpjMG','xadcTq','aahdJhnA','g8kXW6JcSmkh','ELBdQa','W4BcHCot','WO1dCKRcLZ5IfW','WRv8v27cTa','z3GN','d2frW4tcHG','g1lcU8kVyW','y8kaWQ1hqG','aGrh','abJcMmk8WRu','qKVLPjhOT7CWf+woLowAO8oOmG','W4uLW6DFuXldJ8o8','qergWQD/vh8QWR18WQVdNh7dH0JdQ8oQWOnl','WQDZtNhcIXbxkW','oLfXW4JcMG','W4DGD8o5gtldRwFcHqFdO0lcSSkEWRxdRSoYmr3dJSoSg8ooW4ldOcKIW4GXW7dcVmk1W63cP8k4WPVdJmovW5JcIMTafM7dVGFdOCod','W5hdIImpuW','ymksW7BdKxNcI1DGDCk3W5hcR8oq','n8oFu2/dMI7dVG','FtNdTGtcRa','WP7cUCkDgW','DtVcSCkrcq','gHhdGX/dRG','DSkVWR4','wCkVWRzMW7hdMCkkoLu','W5BdI2OjsJn3ta','nXBcPW/dTWWfW6FdUbNcUmk8p8kGW7i','W47cVmo7W4JdLq','WOVdNcRcIJy','W4VdKdudrtC','xXlcV8kf','W5G/WQGxoa','WPaGWR7cGmkSxcbfcbZcJSo1WO0'],...(function(){return['A8kxWPfKW7a','WPTnW4KSW4RcUmkyWQ4','fhDx','W4ddKfpcTCkJ','W7WnWPGRW4lcG8krWP1c','W6KHW6batGFcQSklW6pcOmoRBSozESkasYNcUvpdJMdcIuuapdjxFttdTbdcS2HIgauYpdpdOvhdV3KOcSkUWPygk8kOW5RdPwvRECkc','aZ3cMmkZWP4','dSoEnmkvdq','gvCcdq4','z8k/W5JdTCoObSoxW7CqW7OrAa','WPVcPSoR','W5C0WOyvga','BSksWQugWRG','WOJcGCkWWPKP','x8kcWP5FW4i','i8o7WRO','D8kZWR4','W5hdKM3cOmku','WPdcJCkzWPeT','WRhcQSkxWP0A','WORcRmkZ','WP/cS8kdag0','i8oBdCkWbCkpW74','WQxcRmosW5xcPW','r8kTWPSBWO42','WORcSCklgW','WPOYWRFcGSoh','k8o1WRlcG8kO','o3hcOSkIA07cSCo1WQRdSNJcHahdTtpcMqBdSuHdkmk1r8kFWP5PW4hdL8olymoqW4De','WPJdIL3cSCkY','yMVdImoziq','44gk5O+r56EO44oF6k+15ywL6i2N5y2x5lMV5lQb6lsW5y2C5lM5WRSRWOeAWRvljUEARUAnVEs8LEExGSkIASogW4ddRg7NMldKUi7KUlZNRiFLI6FOJRBLJ7q','W5JcJsddS1S','WO7dOmoj','WPJdKgxcUrpdU3DpW6tdTYRdUq','pCojqa','W5ddTCkmFN8','FColeCoFDSoib8ommNldNW','BSkTWPapWPy','cSoQWO3cGtW','WRVcK8kQhuG','WP8GmSkJqZxdOhhcVWZdOG','WOSKWRRcNSov','orjVWQv8','pmkqvSky','z37dLmoqld3dKSkuovqYlCknW5NcQq/dUqXg','h8o/WOq','W7FdN8krq1SIw05bbgCpWPe','W5VcUmkAiSkyWP3dTv7dOmoqtW','lSoSdmkzeG','uSkdWQDgEfVcN8og','W6ddVCkNCa','W4JcPCkep8khW4/cMbBcHmk3','WQDnW4aXW6pcSmkB','W658WPJcNmkF','z2VdL8ogla','CvZdUW','5PER6zE/5QAB','F8kRWRpcUSoM','5lQN5lIl6lwM5yYI','nKRcLmk+W6e','WPxcT8kMWPKIWPVdI8oXW74','WPpdMmoMFmof','WR3dRWdcGWO','W6FdVCk8zCkakWpcHrhdSq','W47cKcuOfG','W4/dHYqftq','W6pdS8kKs0i','nKFcUSk8W7e','W6OLW68','W7RdNSks','smkmWPlcU8oks0HDW54','gSkymG','WPyFWQi','A0ldLCo8mq','pmovqa','W5/dGtm','WQVcQSoCW5VcVG','emosra','W43dTu/cGW','W4RdP8krEmkI','WPBcH1VdJq','iCkmqG','WPhcIuhdJq','f8oGWOZcOmk6','WOVdNbBcMHq','oCouq2JdJq','bmkjW7hcM8ko','WPlcG1pdI8kVWPC','WOZdRSodCa','lSoBamk+kW','xKuq','y8ksWQtcSGpdJGTS','q8k8WOemWOLKAre0peGclmk6WONdPdFdSftdQCo6W7BdLupdT8oTb8k8W7WWWOpcQaL+xq3cRmowbSoGWPpcSmoaWPZdKbNcM8kMWRiBW6DEWORdP0ZdTJuck0TOWQy','W7/dGSk7xLaU','iG3dVWddJbmuWQldSb3cVmk8oW','hfyblqtdGW','kGRcImkCWRi8','mCkOW6C','FLZdS8ogfSoM5BE25AEU5PEQqCkBWRG','fspcR8klWPC','WP/dGZBcJq','lSkZW7lcImkbWP9pWQXv','kmk+qSkPkG','wSoWFCkFwflcNa','z8kmWPO','ncVdKWddGq','W4pdSmkNChK','f8kdW5/cPCkQWRPZWO0','W5FdU23cHmkN','i8oBd8kWbSkd','W5pcOCkCo8kD','W5ldV8kfqem','B8keWPJcPa','WR7cMCoDhX9IfdHEa3Wf','W4ZdIXqEwtLXtG','o8oiWQFcGdy','5lIg5lU26lAs5y2m','rSkPWOeFWPi','E8k+W61OWR7dU8oSWQ3dVbqUoCkz','W5tdIYa','5yQd6zUW5lIp','pHhdQI/dUG','h8kziqFcPCkAWOaEhmk3W4y','WPBcObdcO8k9huJdMrC','W41/WOFcUSkkAW','wCkxWOPdW5u','W6vJC8o9oa','yhtdLCkBmJhdV8kCkeSZjmoLW5hcTX7cUqjcWOpcTa','WPdcTmkIWROP','vHBcPG','bGBdHI3dGW','WO/dVmoj','AhGTW7T6WPNcQmkjWPRdK2JcLthcQCodW4rGChJdRMS','WRJcNSkFvxCKuhOCt3LlW5i','uNurWPnE','oKhcO8kKW4i','iSoNWRO','WPhcSSoXW57cMq','j8kZBSkvaG','W4ddN8kLxCkc','pCosWQpcQCki','dEISH+MeJ+AwHoEzJEw9R+InHEwnTsCOWO/dIfNcICkvl8kwWQf5W6pdPLayWPnRW4hcL3GoWQBdPhZdJSo7W67cVmoEWORcTCo6DSoir3ZdQSoOWPnnW4lcUqfF','z3tdMComeq','jGhdQHRdRG0','dSkLtSk6pW','WOPzxu7cVJzH','W6uLW71evrNdICorWR7dPq','mSoYWQxcOSkD','ACklWPhcTmoa','ELBdQmojhSo3zq','nM7cTq','fY7dRx55'];}())];}())];}());_0x1162=function(){return _0x479b5f;};return _0x1162();};const _0x3d56e1=_0x7373;function _0x7373(_0x49d219,_0x3c4144){const _0x481c7b=_0x1162();return _0x7373=function(_0x29c1a1,_0xcbaa43){_0x29c1a1=_0x29c1a1-0x168;let _0x116282=_0x481c7b[_0x29c1a1];if(_0x7373['gwdiWV']===undefined){var _0x7373ca=function(_0x397f75){const _0x1f347c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17de93='',_0x5e61e2='',_0x18dd53=_0x17de93+_0x7373ca;for(let _0x3e711f=0x0,_0x93d2cc,_0x3bb4b1,_0x444b51=0x0;_0x3bb4b1=_0x397f75['charAt'](_0x444b51++);~_0x3bb4b1&&(_0x93d2cc=_0x3e711f%0x4?_0x93d2cc*0x40+_0x3bb4b1:_0x3bb4b1,_0x3e711f++%0x4)?_0x17de93+=_0x18dd53['charCodeAt'](_0x444b51+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x93d2cc>>(-0x2*_0x3e711f&0x6)):_0x3e711f:0x0){_0x3bb4b1=_0x1f347c['indexOf'](_0x3bb4b1);}for(let _0x1bd064=0x0,_0x3bd9a7=_0x17de93['length'];_0x1bd064<_0x3bd9a7;_0x1bd064++){_0x5e61e2+='%'+('00'+_0x17de93['charCodeAt'](_0x1bd064)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e61e2);};const _0x119747=function(_0x2c05d8,_0x1015d6){let _0x499aa8=[],_0x378e69=0x0,_0x22e61e,_0x3bd7b5='';_0x2c05d8=_0x7373ca(_0x2c05d8);let _0x39b961;for(_0x39b961=0x0;_0x39b961<0x100;_0x39b961++){_0x499aa8[_0x39b961]=_0x39b961;}for(_0x39b961=0x0;_0x39b961<0x100;_0x39b961++){_0x378e69=(_0x378e69+_0x499aa8[_0x39b961]+_0x1015d6['charCodeAt'](_0x39b961%_0x1015d6['length']))%0x100,_0x22e61e=_0x499aa8[_0x39b961],_0x499aa8[_0x39b961]=_0x499aa8[_0x378e69],_0x499aa8[_0x378e69]=_0x22e61e;}_0x39b961=0x0,_0x378e69=0x0;for(let _0x1f4b6e=0x0;_0x1f4b6e<_0x2c05d8['length'];_0x1f4b6e++){_0x39b961=(_0x39b961+0x1)%0x100,_0x378e69=(_0x378e69+_0x499aa8[_0x39b961])%0x100,_0x22e61e=_0x499aa8[_0x39b961],_0x499aa8[_0x39b961]=_0x499aa8[_0x378e69],_0x499aa8[_0x378e69]=_0x22e61e,_0x3bd7b5+=String['fromCharCode'](_0x2c05d8['charCodeAt'](_0x1f4b6e)^_0x499aa8[(_0x499aa8[_0x39b961]+_0x499aa8[_0x378e69])%0x100]);}return _0x3bd7b5;};_0x7373['JNDals']=_0x119747,_0x49d219=arguments,_0x7373['gwdiWV']=!![];}const _0x23b67b=_0x481c7b[0x0],_0x359c10=_0x29c1a1+_0x23b67b,_0x180152=_0x49d219[_0x359c10];if(!_0x180152){if(_0x7373['QnFydW']===undefined){const _0x2509fa=function(_0x35a0ee){this['jwpzjU']=_0x35a0ee,this['jYRzdm']=[0x1,0x0,0x0],this['fBEYIl']=function(){return'newState';},this['MyxfAM']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['rQntgH']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2509fa['prototype']['KUUcJw']=function(){const _0x49fc29=new RegExp(this['MyxfAM']+this['rQntgH']),_0x1b3580=_0x49fc29['test'](this['fBEYIl']['toString']())?--this['jYRzdm'][0x1]:--this['jYRzdm'][0x0];return this['fnqTsn'](_0x1b3580);},_0x2509fa['prototype']['fnqTsn']=function(_0x3b49bd){if(!Boolean(~_0x3b49bd))return _0x3b49bd;return this['GVHkmF'](this['jwpzjU']);},_0x2509fa['prototype']['GVHkmF']=function(_0x141543){for(let _0x581153=0x0,_0xcac308=this['jYRzdm']['length'];_0x581153<_0xcac308;_0x581153++){this['jYRzdm']['push'](Math['round'](Math['random']())),_0xcac308=this['jYRzdm']['length'];}return _0x141543(this['jYRzdm'][0x0]);},new _0x2509fa(_0x7373)['KUUcJw'](),_0x7373['QnFydW']=!![];}_0x116282=_0x7373['JNDals'](_0x116282,_0xcbaa43),_0x49d219[_0x359c10]=_0x116282;}else _0x116282=_0x180152;return _0x116282;},_0x7373(_0x49d219,_0x3c4144);}(function(_0x2d667a,_0x25b9e6,_0x2f9587,_0x8525f3,_0x2e90be,_0x37d631,_0x187f5f){return _0x2d667a=_0x2d667a>>0x6,_0x37d631='hs',_0x187f5f='hs',function(_0x5ea075,_0x3ac5fd,_0x54906a,_0x3f9fd1,_0xf7b0cb){const _0x5eb373=_0x7373;_0x3f9fd1='tfi',_0x37d631=_0x3f9fd1+_0x37d631,_0xf7b0cb='up',_0x187f5f+=_0xf7b0cb,_0x37d631=_0x54906a(_0x37d631),_0x187f5f=_0x54906a(_0x187f5f),_0x54906a=0x0;const _0x57a512=_0x5ea075();while(!![]&&--_0x8525f3+_0x3ac5fd){try{_0x3f9fd1=parseInt(_0x5eb373(0x2f0,'%eU7'))/0x1+parseInt(_0x5eb373(0x28a,'vsKu'))/0x2*(parseInt(_0x5eb373(0x25e,'Jr9%'))/0x3)+-parseInt(_0x5eb373(0x230,'%WG^'))/0x4+-parseInt(_0x5eb373(0x317,'))JQ'))/0x5*(-parseInt(_0x5eb373(0x2eb,'glQD'))/0x6)+parseInt(_0x5eb373(0x1fb,'Ev#f'))/0x7*(parseInt(_0x5eb373(0x2d7,'@kqd'))/0x8)+-parseInt(_0x5eb373(0x24c,'(cHU'))/0x9+parseInt(_0x5eb373(0x2b0,'BGBh'))/0xa*(-parseInt(_0x5eb373(0x310,'&(mo'))/0xb);}catch(_0x2bd699){_0x3f9fd1=_0x54906a;}finally{_0xf7b0cb=_0x57a512[_0x37d631]();if(_0x2d667a<=_0x8525f3)_0x54906a?_0x2e90be?_0x3f9fd1=_0xf7b0cb:_0x2e90be=_0xf7b0cb:_0x54906a=_0xf7b0cb;else{if(_0x54906a==_0x2e90be['replace'](/[KbrEUGHFVxgdyDBOLXTfIC=]/g,'')){if(_0x3f9fd1===_0x3ac5fd){_0x57a512['un'+_0x37d631](_0xf7b0cb);break;}_0x57a512[_0x187f5f](_0xf7b0cb);}}}}}(_0x2f9587,_0x25b9e6,function(_0x177022,_0x1ffb25,_0x17916a,_0x44e21b,_0x5ad50b,_0x4aeb92,_0x289e7d){return _0x1ffb25='\x73\x70\x6c\x69\x74',_0x177022=arguments[0x0],_0x177022=_0x177022[_0x1ffb25](''),_0x17916a=`\x72\x65\x76\x65\x72\x73\x65`,_0x177022=_0x177022[_0x17916a]('\x76'),_0x44e21b=`\x6a\x6f\x69\x6e`,(0x17bd07,_0x177022[_0x44e21b](''));});}(0x2f40,0xe095f,_0x1162,0xbf),_0x1162)&&(_0xodD=_0x1162);const _0x505a40=$[_0x3d56e1(0x176,'chBC')]()?require(_0x3d56e1(0x248,'aV0%')):'',_0x41a9e3=$[_0x3d56e1(0x176,'chBC')]()?require(_0x3d56e1(0x19e,'chBC')):'',_0x5ed706=require(_0x3d56e1(0x27b,'4Es*')),_0x309068=require(_0x3d56e1(0x261,'hT*O'));if(process[_0x3d56e1(0x21b,'MXn!')][_0x3d56e1(0x2d3,'J6o6')])try{require(_0x3d56e1(0x225,'Ev#f')),ccc=require(_0x3d56e1(0x2d2,'as9v')),$[_0x3d56e1(0x2da,'p]SQ')]=ccc[_0x3d56e1(0x193,'pl$f')]($[_0x3d56e1(0x252,'Pt%K')][_0x3d56e1(0x23f,'AvE%')]($)),$[_0x3d56e1(0x2e2,'Pt%K')]=ccc[_0x3d56e1(0x25a,'kYEj')]($[_0x3d56e1(0x313,'%r6o')][_0x3d56e1(0x240,'vsKu')]($));}catch{$[_0x3d56e1(0x332,'[5Cr')](_0x3d56e1(0x27c,'U5*#')),$[_0x3d56e1(0x253,'kYEj')]=$[_0x3d56e1(0x333,'vsKu')],$[_0x3d56e1(0x2c1,'(cHU')]=$[_0x3d56e1(0x17d,'Pt%K')];}else $[_0x3d56e1(0x2cd,'aV0%')]=$[_0x3d56e1(0x300,'p]SQ')],$[_0x3d56e1(0x277,'Uhot')]=$[_0x3d56e1(0x19a,'N8RQ')];const _0x25b300=require(_0x3d56e1(0x2e6,'TEc!'));let _0x120a72=!![],_0x19dbff=[],_0x307d99='',_0x5b42d9='';if($[_0x3d56e1(0x186,'Dv3R')]()){Object[_0x3d56e1(0x1fa,'AvE%')](_0x41a9e3)[_0x3d56e1(0x26a,'O2Ux')](_0x2f6ae9=>{const _0x553ff9=_0x3d56e1;_0x19dbff[_0x553ff9(0x27e,'(cHU')](_0x41a9e3[_0x2f6ae9]);});if(process[_0x3d56e1(0x221,'(cHU')][_0x3d56e1(0x2a1,'PoFT')]&&process[_0x3d56e1(0x330,'J7r9')][_0x3d56e1(0x184,'MXn!')]===_0x3d56e1(0x1ea,'@kqd'))console[_0x3d56e1(0x32c,'aC]y')]=()=>{};}else _0x19dbff=[$[_0x3d56e1(0x1ae,'1$Qm')](_0x3d56e1(0x2d1,'aC]y')),$[_0x3d56e1(0x180,'k)rH')](_0x3d56e1(0x2de,']^b#')),..._0x548e24($[_0x3d56e1(0x1ae,'1$Qm')](_0x3d56e1(0x32e,'(cHU'))||'[]')[_0x3d56e1(0x2e9,'O2Ux')](_0xf81a4f=>_0xf81a4f[_0x3d56e1(0x269,']^b#')])][_0x3d56e1(0x1cc,'Ev#f')](_0x3b7ce0=>!!_0x3b7ce0);!(async()=>{const _0x1075ef=_0x3d56e1,_0x5d85f2={'KjxJD':function(_0x27dedc,_0x162010){return _0x27dedc!==_0x162010;},'rFOFY':_0x1075ef(0x286,'Mgx&'),'UdwlK':_0x1075ef(0x306,'P2ST'),'bhldc':_0x1075ef(0x2a9,'TEc!'),'CNWAD':_0x1075ef(0x1b6,'wOVo'),'pTewt':function(_0xd8db85,_0x19b67e){return _0xd8db85<_0x19b67e;},'MLQOt':_0x1075ef(0x2c5,'MXn!'),'PIsmX':_0x1075ef(0x1d5,'glQD'),'qWHih':function(_0x50d4d9,_0x2ad03d){return _0x50d4d9(_0x2ad03d);},'YoMcO':function(_0x16402b,_0x3dd207){return _0x16402b+_0x3dd207;},'jslMU':function(_0xa2b44b,_0x440ac4){return _0xa2b44b===_0x440ac4;},'WiCmV':_0x1075ef(0x208,'chBC'),'eSRul':function(_0x14ba6c,_0xee477e){return _0x14ba6c<_0xee477e;},'ZIrSZ':_0x1075ef(0x196,']^b#'),'PKMrF':_0x1075ef(0x2b2,'glQD'),'SbMEN':function(_0x514d64,_0x1ad2b9){return _0x514d64>_0x1ad2b9;},'lpbqp':function(_0x579bd8,_0x181129){return _0x579bd8===_0x181129;},'kuaGw':_0x1075ef(0x227,'J7r9'),'NxAvT':_0x1075ef(0x32b,'j0pv'),'LCcHC':_0x1075ef(0x2bb,'VAVw'),'RCEzH':function(_0x73e137,_0x3f37fb,_0x4e0331){return _0x73e137(_0x3f37fb,_0x4e0331);},'ASAMB':function(_0x1c075e,_0x457df9){return _0x1c075e*_0x457df9;},'jsUJU':function(_0x4b8e34,_0x39426b){return _0x4b8e34>_0x39426b;},'AJpiX':function(_0x3440f9,_0x543e79){return _0x3440f9*_0x543e79;},'ZqHCR':function(_0xb759dc,_0x527a65){return _0xb759dc+_0x527a65;}};if(!_0x19dbff[0x0]){$[_0x1075ef(0x19c,'))JQ')]($[_0x1075ef(0x20d,'@kqd')],_0x5d85f2[_0x1075ef(0x219,'U5*#')],_0x5d85f2[_0x1075ef(0x1e4,'))JQ')],{'open-url':_0x5d85f2[_0x1075ef(0x1ad,'(cHU')]});return;}console[_0x1075ef(0x315,'OTaP')](_0x1075ef(0x220,'aV0%')),console[_0x1075ef(0x308,'))JQ')](_0x1075ef(0x28e,'aC]y')),console[_0x1075ef(0x332,'[5Cr')](_0x5d85f2[_0x1075ef(0x203,'vsKu')]);for(let _0x10e638=0x0;_0x5d85f2[_0x1075ef(0x25d,'N8RQ')](_0x10e638,_0x19dbff[_0x1075ef(0x2ff,'K^kD')]);_0x10e638++){if(_0x19dbff[_0x10e638]){if(_0x5d85f2[_0x1075ef(0x281,'xr#i')](_0x5d85f2[_0x1075ef(0x276,'Dv3R')],_0x5d85f2[_0x1075ef(0x257,'PoFT')])){_0x307d99=_0x19dbff[_0x10e638],$[_0x1075ef(0x2e8,'glQD')]=_0x5d85f2[_0x1075ef(0x1f7,'&(mo')](decodeURIComponent,_0x307d99[_0x1075ef(0x18e,'K^kD')](/pt_pin=([^; ]+)(?=;?)/)&&_0x307d99[_0x1075ef(0x236,'P2ST')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[_0x1075ef(0x18c,'@kqd')]=_0x5d85f2[_0x1075ef(0x1e0,'hT*O')](_0x10e638,0x1),$[_0x1075ef(0x1b3,'AvE%')]=!![],$[_0x1075ef(0x2c8,'J6o6')]='',$['UA']=_0x25b300[_0x1075ef(0x183,'chBC')]?_0x25b300[_0x1075ef(0x207,'[5Cr')]():_0x25b300[_0x1075ef(0x2bf,'%WG^')],console[_0x1075ef(0x2fb,'hT*O')](_0x1075ef(0x20c,'AvE%')+$[_0x1075ef(0x2d6,'vsKu')]+'】'+($[_0x1075ef(0x2ba,'1$Qm')]||$[_0x1075ef(0x1ff,'j0pv')])+_0x1075ef(0x31b,'))JQ'));if(!$[_0x1075ef(0x1c4,'chBC')]){$[_0x1075ef(0x16a,'%r6o')]($[_0x1075ef(0x2e4,'N8RQ')],_0x1075ef(0x259,'%WG^'),_0x1075ef(0x322,'*Ogt')+$[_0x1075ef(0x2ef,'4Es*')]+'\x20'+($[_0x1075ef(0x2ba,'1$Qm')]||$[_0x1075ef(0x21d,'as9v')])+_0x1075ef(0x1a6,'aV0%'),{'open-url':_0x5d85f2[_0x1075ef(0x1ad,'(cHU')]});$[_0x1075ef(0x2a5,'Mgx&')]()&&(_0x5d85f2[_0x1075ef(0x1c9,']^b#')](_0x5d85f2[_0x1075ef(0x334,'U5*#')],_0x5d85f2[_0x1075ef(0x2fa,'hT*O')])?await _0x505a40[_0x1075ef(0x29a,'J6o6')]($[_0x1075ef(0x336,'wOVo')]+_0x1075ef(0x17b,'1$Qm')+$[_0x1075ef(0x319,'aV0%')],_0x1075ef(0x1d7,'0Z&*')+$[_0x1075ef(0x16e,'[5Cr')]+'\x20'+$[_0x1075ef(0x319,'aV0%')]+_0x1075ef(0x29d,'1$Qm')):_0x33ac78[_0x1075ef(0x2ce,'as9v')]('','❌\x20'+_0x4e3765[_0x1075ef(0x1dd,'(cHU')]+_0x1075ef(0x2d0,'as9v')+_0x3b2d3a+'!',''));continue;}let _0x4600db=0x0;for(let _0x150e2f=0x0;_0x5d85f2[_0x1075ef(0x265,'U5*#')](_0x150e2f,0x1);_0x150e2f++){if(_0x5d85f2[_0x1075ef(0x200,'U5*#')](_0x5d85f2[_0x1075ef(0x1e1,']^b#')],_0x5d85f2[_0x1075ef(0x17c,'VAVw')]))_0x22ef51[_0x1075ef(0x250,'J7r9')](_0x1e8104[_0x1075ef(0x1e7,'MXn!')],'',''+_0x49e3a2);else{$[_0x1075ef(0x327,'l9db')]=[],await _0x5d85f2[_0x1075ef(0x325,'))JQ')](_0x4a7755,_0x5d85f2[_0x1075ef(0x2c2,'BGBh')](_0x150e2f,0x1));let _0x20498b=$[_0x1075ef(0x21a,'glQD')][_0x1075ef(0x23d,'VAVw')](_0xa8cc68=>_0xa8cc68[_0x1075ef(0x26d,'Jr9%')]&&!_0xa8cc68[_0x1075ef(0x177,'Ev#f')][_0x1075ef(0x2b8,'OTaP')](_0x1075ef(0x320,'*Ogt')));if(_0x5d85f2[_0x1075ef(0x2c4,'PoFT')](_0x20498b[_0x1075ef(0x298,'[5Cr')],0x0)){let _0x7c4d45=_0x20498b[_0x1075ef(0x1d9,'hT*O')](_0x3264b2=>{const _0x2f21a5=_0x1075ef;if(_0x5d85f2[_0x2f21a5(0x296,'K^kD')](_0x5d85f2[_0x2f21a5(0x212,'*Ogt')],_0x5d85f2[_0x2f21a5(0x2f8,'wOVo')]))_0x3c8b80[_0x2f21a5(0x247,'kYEj')](''+_0x14ccde[_0x2f21a5(0x324,'hT*O')](_0x43355e)),_0x34a9d5[_0x2f21a5(0x1a1,'Uhot')](_0x2f21a5(0x27f,'glQD'));else return{'couponId':_0x3264b2['id'],'couponStyle':0x0};}),_0x1075b4=[],_0x2dc46a=0x0;do{if(_0x5d85f2[_0x1075ef(0x213,'xr#i')](_0x5d85f2[_0x1075ef(0x192,'Ev#f')],_0x5d85f2[_0x1075ef(0x270,'0Z&*')])){if(_0x484279){const _0x10a5dd=_0x3b8f4e[_0x1075ef(0x244,'1$Qm')](_0x4879c7,arguments);return _0x450566=null,_0x10a5dd;}}else{const _0x36ee6d=_0x5d85f2[_0x1075ef(0x262,'k)rH')][_0x1075ef(0x20a,'U5*#')]('|');let _0x11b319=0x0;while(!![]){switch(_0x36ee6d[_0x11b319++]){case'0':await $[_0x1075ef(0x1ef,'aV0%')](_0x5d85f2[_0x1075ef(0x326,'Pt%K')](parseInt,_0x5d85f2[_0x1075ef(0x2fe,'U5*#')](_0x5d85f2[_0x1075ef(0x28c,'wOVo')](Math[_0x1075ef(0x2a6,'vsKu')](),0x3e8),0x7d0),0xa));continue;case'1':_0x4600db+=_0x1075b4[_0x1075ef(0x26f,'Jr9%')];continue;case'2':_0x2dc46a++;continue;case'3':await _0x5d85f2[_0x1075ef(0x2e7,']^b#')](_0xf429ce,_0x1075b4);continue;case'4':_0x1075b4=_0x7c4d45[_0x1075ef(0x195,'TEc!')](0x0,0x64);continue;}break;}}}while(_0x5d85f2[_0x1075ef(0x19b,'Ev#f')](_0x7c4d45[_0x1075ef(0x258,'MXn!')],0x0)||_0x5d85f2[_0x1075ef(0x1a0,'j0pv')](_0x2dc46a,0x5));}await $[_0x1075ef(0x169,'Jr9%')](_0x5d85f2[_0x1075ef(0x264,']^b#')](parseInt,_0x5d85f2[_0x1075ef(0x204,'k)rH')](_0x5d85f2[_0x1075ef(0x2aa,'NCJ8')](Math[_0x1075ef(0x2a7,'VAVw')](),0x3e8),0x7d0),0xa));}}console[_0x1075ef(0x190,'vsKu')](_0x1075ef(0x1f8,'))JQ')+_0x4600db+_0x1075ef(0x1f9,'Ev#f')),await $[_0x1075ef(0x1f3,'O2Ux')](_0x5d85f2[_0x1075ef(0x2bc,'K^kD')](parseInt,_0x5d85f2[_0x1075ef(0x1d4,'&(mo')](_0x5d85f2[_0x1075ef(0x201,'@kqd')](Math[_0x1075ef(0x1cb,'U5*#')](),0x3e8),0x1388),0xa));}else{const _0x4022ea=_0x1227e0[_0x1075ef(0x238,'VAVw')](_0x1d8750,arguments);return _0x44aeaf=null,_0x4022ea;}}}})()[_0x3d56e1(0x21e,'Mgx&')](_0x22efb5=>{const _0x58b749=_0x3d56e1;$[_0x58b749(0x335,'Mgx&')]('','❌\x20'+$[_0x58b749(0x209,'as9v')]+_0x58b749(0x297,'MXn!')+_0x22efb5+'!','');})[_0x3d56e1(0x2a3,'as9v')](()=>{const _0xd2672=_0x3d56e1;$[_0xd2672(0x31a,'l9db')]();});async function _0x4a7755(_0x40a7b6){const _0x2cd0f6=_0x3d56e1,_0x44d08d={'xUnmZ':function(_0x2bad5a,_0x31bed2){return _0x2bad5a==_0x31bed2;},'Mbcfl':function(_0x41023e,_0xd009a4){return _0x41023e!==_0xd009a4;},'OnvRz':_0x2cd0f6(0x301,'J7r9'),'JunYb':_0x2cd0f6(0x2ab,'))JQ'),'TgkwA':function(_0x1c1015,_0x2b3df3){return _0x1c1015!==_0x2b3df3;},'easVr':_0x2cd0f6(0x2ea,'wOVo'),'wLVdA':function(_0x31b3b7,_0x53a38e){return _0x31b3b7(_0x53a38e);},'FUzJO':_0x2cd0f6(0x1da,'0Z&*'),'vwvJe':_0x2cd0f6(0x173,'as9v'),'kdFdf':_0x2cd0f6(0x187,'))JQ'),'FkZnP':_0x2cd0f6(0x19d,'*Ogt'),'XWATd':_0x2cd0f6(0x210,'J6o6'),'Eeesl':_0x2cd0f6(0x22c,'@kqd'),'PcrXB':_0x2cd0f6(0x284,'N8RQ'),'QfKKU':_0x2cd0f6(0x2e0,'Ev#f'),'NuXmM':_0x2cd0f6(0x2d5,'&(mo')};let _0x4be241={'hdid':_0x44d08d[_0x2cd0f6(0x2ed,'VAVw')],'ts':Date[_0x2cd0f6(0x26c,'TEc!')](),'ridx':-0x1,'cipher':{'body':{'gcLat':'0','gcLng':'0','latitude':_0x44d08d[_0x2cd0f6(0x2cb,'O2Ux')],'longitude':_0x44d08d[_0x2cd0f6(0x199,'hT*O')],'page':'1','pageSize':'10','style':'1'}},'ciphertype':0x5,'version':_0x44d08d[_0x2cd0f6(0x22d,'VAVw')],'appname':_0x44d08d[_0x2cd0f6(0x242,'OTaP')]};_0x4be241=await _0x309068[_0x2cd0f6(0x25b,'kYEj')](_0x44d08d[_0x2cd0f6(0x1de,'Ev#f')],_0x4be241,_0x44d08d[_0x2cd0f6(0x30d,'K^kD')]);if(!_0x4be241)return;let _0x5ebb39={'url':_0x2cd0f6(0x175,'K^kD'),'body':_0x4be241,'headers':{'User-Agent':_0x44d08d[_0x2cd0f6(0x1df,'*Ogt')],'Accept-Encoding':_0x44d08d[_0x2cd0f6(0x22f,'kYEj')],'Content-Type':_0x44d08d[_0x2cd0f6(0x168,'l9db')],'cookie':_0x307d99}};return new Promise(async _0x4badc1=>{const _0x2547f6=_0x2cd0f6,_0x3a2cb4={'mgKhN':function(_0x224ced,_0x2e0e75){const _0x5965bf=_0x7373;return _0x44d08d[_0x5965bf(0x311,'J7r9')](_0x224ced,_0x2e0e75);},'CvvJV':function(_0x21165f,_0x92720b){const _0xacf78d=_0x7373;return _0x44d08d[_0xacf78d(0x285,'PoFT')](_0x21165f,_0x92720b);},'EZPzB':_0x44d08d[_0x2547f6(0x255,'Uhot')],'gPYWe':_0x44d08d[_0x2547f6(0x1be,'J7r9')],'EytTX':function(_0x1943dd,_0x1747ee){const _0xb5e7f9=_0x2547f6;return _0x44d08d[_0xb5e7f9(0x26b,'O2Ux')](_0x1943dd,_0x1747ee);},'fxbPv':_0x44d08d[_0x2547f6(0x245,'as9v')],'tjurx':function(_0x85780b,_0x4f93b4){const _0x262441=_0x2547f6;return _0x44d08d[_0x262441(0x2f2,'0Z&*')](_0x85780b,_0x4f93b4);}};$[_0x2547f6(0x16c,'OTaP')](_0x5ebb39,async(_0x174168,_0x427772,_0x50543c)=>{const _0x5c4efb=_0x2547f6;try{_0x174168?(console[_0x5c4efb(0x190,'vsKu')](''+JSON[_0x5c4efb(0x266,'%eU7')](_0x174168)),console[_0x5c4efb(0x32d,'chBC')](_0x5c4efb(0x273,'pl$f'))):(_0x50543c=$[_0x5c4efb(0x241,'j0pv')](_0x50543c),_0x3a2cb4[_0x5c4efb(0x1e8,'Jr9%')](_0x50543c[_0x5c4efb(0x1b7,'[5Cr')],0x0)?$[_0x5c4efb(0x1dc,'0Z&*')]=_0x50543c[_0x5c4efb(0x1ab,'aC]y')]||[]:console[_0x5c4efb(0x222,'TEc!')](JSON[_0x5c4efb(0x260,'p]SQ')](_0x50543c)));}catch(_0x562de6){_0x3a2cb4[_0x5c4efb(0x239,'O2Ux')](_0x3a2cb4[_0x5c4efb(0x2f3,'K^kD')],_0x3a2cb4[_0x5c4efb(0x1d6,'aC]y')])?$[_0x5c4efb(0x2be,'j0pv')](_0x562de6,_0x427772):_0x1861a9[_0x5c4efb(0x2fd,'Dv3R')]=![];}finally{_0x3a2cb4[_0x5c4efb(0x228,'0Z&*')](_0x3a2cb4[_0x5c4efb(0x323,'j0pv')],_0x3a2cb4[_0x5c4efb(0x24f,'Mgx&')])?_0x5b13ee[_0x5c4efb(0x1af,'P2ST')]('=>',_0x45f8cf[_0x5c4efb(0x2f6,'Uhot')]):_0x3a2cb4[_0x5c4efb(0x307,'AvE%')](_0x4badc1,_0x50543c);}});});}async function _0xf429ce(_0x5d436e){const _0x3ff28=_0x3d56e1,_0x3c2e12={'zrgkf':_0x3ff28(0x2b6,'Dv3R'),'goEgT':function(_0x134a23,_0x2e12ad){return _0x134a23===_0x2e12ad;},'ASiaa':_0x3ff28(0x1bb,'pl$f'),'YRqiI':_0x3ff28(0x2a4,'MXn!'),'IeyzL':function(_0xe3934f,_0xe1a36b){return _0xe3934f!==_0xe1a36b;},'TShgA':_0x3ff28(0x291,'kYEj'),'XeQPf':function(_0x2534ea,_0x16d19c){return _0x2534ea==_0x16d19c;},'hYmIi':_0x3ff28(0x229,']^b#'),'VVFOm':_0x3ff28(0x246,'@kqd'),'OuHwc':function(_0x5f31e7,_0x4906df){return _0x5f31e7(_0x4906df);},'xGxfa':_0x3ff28(0x314,'xr#i'),'kLKyG':_0x3ff28(0x316,'chBC'),'TJUJt':_0x3ff28(0x2ec,'aC]y'),'JpCuv':_0x3ff28(0x198,'xr#i'),'ircsG':_0x3ff28(0x23b,'Ev#f'),'jDEyk':_0x3ff28(0x1e2,'P2ST'),'bFudO':_0x3ff28(0x2df,'vsKu'),'XpnsN':_0x3ff28(0x29f,'wL2K'),'VNgss':_0x3ff28(0x1f5,'l9db')};let _0x216ab7={'couponInfo':_0x5d436e};_0x216ab7=await _0x309068[_0x3ff28(0x2d8,'[5Cr')](_0x3c2e12[_0x3ff28(0x2e5,'0Z&*')],_0x216ab7);if(!_0x216ab7)return;let _0x158265={'url':_0x3ff28(0x275,'vsKu'),'body':_0x216ab7,'headers':{'X-Rp-Client':_0x3c2e12[_0x3ff28(0x1a3,'%r6o')],'User-Agent':_0x3c2e12[_0x3ff28(0x2d9,'%WG^')],'X-Referer-Package':_0x3c2e12[_0x3ff28(0x278,'TEc!')],'Charset':_0x3c2e12[_0x3ff28(0x272,'*Ogt')],'Accept-Encoding':_0x3c2e12[_0x3ff28(0x1c0,'O2Ux')],'Cache-Control':_0x3c2e12[_0x3ff28(0x1b2,'4Es*')],'Content-Type':_0x3c2e12[_0x3ff28(0x1b9,'J7r9')],'Host':_0x3c2e12[_0x3ff28(0x1ca,'kYEj')],'cookie':_0x307d99}};return new Promise(async _0x1297d6=>{const _0x28f70f=_0x3ff28,_0x376417={'pYjce':_0x3c2e12[_0x28f70f(0x21c,'NCJ8')],'QyXdb':function(_0x314f76,_0x142e40){const _0x46bb75=_0x28f70f;return _0x3c2e12[_0x46bb75(0x279,'Uhot')](_0x314f76,_0x142e40);},'nZKdP':_0x3c2e12[_0x28f70f(0x2cc,'P2ST')],'JBfzS':_0x3c2e12[_0x28f70f(0x223,'K^kD')],'ejfPX':function(_0x17197a,_0x14a316){const _0xd6dd67=_0x28f70f;return _0x3c2e12[_0xd6dd67(0x1bf,'[5Cr')](_0x17197a,_0x14a316);},'Cpwyg':_0x3c2e12[_0x28f70f(0x263,'P2ST')],'vajvQ':function(_0x5003c6,_0x49731d){const _0x2f06cf=_0x28f70f;return _0x3c2e12[_0x2f06cf(0x302,'OTaP')](_0x5003c6,_0x49731d);},'kgcMg':_0x3c2e12[_0x28f70f(0x331,'xr#i')],'XLNdr':_0x3c2e12[_0x28f70f(0x2c9,'J6o6')],'JNFub':function(_0x1aaa26,_0x43ab43){const _0x6bea36=_0x28f70f;return _0x3c2e12[_0x6bea36(0x2dc,'Ev#f')](_0x1aaa26,_0x43ab43);}};$[_0x28f70f(0x328,'NCJ8')](_0x158265,async(_0x5330c4,_0x1019ed,_0x33d1f9)=>{const _0xaa8490=_0x28f70f;try{if(_0x376417[_0xaa8490(0x1d1,'Dv3R')](_0x376417[_0xaa8490(0x1a5,'%eU7')],_0x376417[_0xaa8490(0x1fd,'kYEj')]))return{'couponId':_0x4e6a84['id'],'couponStyle':0x0};else _0x5330c4?(console[_0xaa8490(0x32c,'aC]y')](''+JSON[_0xaa8490(0x17e,'MXn!')](_0x5330c4)),console[_0xaa8490(0x22b,'J7r9')](_0xaa8490(0x232,'Pt%K'))):_0x376417[_0xaa8490(0x24e,'J6o6')](_0x376417[_0xaa8490(0x304,'kYEj')],_0x376417[_0xaa8490(0x2b1,'wOVo')])?(_0x43d7a2[_0xaa8490(0x237,'J6o6')](_0x376417[_0xaa8490(0x202,'k)rH')]),_0x3240ff[_0xaa8490(0x189,'(cHU')]=_0x5d9be3[_0xaa8490(0x2f1,'U5*#')],_0x343189[_0xaa8490(0x31e,'xr#i')]=_0xc00423[_0xaa8490(0x16b,'Jr9%')]):(_0x33d1f9=$[_0xaa8490(0x251,'%eU7')](_0x33d1f9),_0x376417[_0xaa8490(0x1bc,'&(mo')](_0x33d1f9[_0xaa8490(0x20f,'aV0%')],0x0)?console[_0xaa8490(0x2c7,'wL2K')]('=>',_0x33d1f9[_0xaa8490(0x256,'Mgx&')]):console[_0xaa8490(0x22b,'J7r9')](_0x376417[_0xaa8490(0x1d3,'vsKu')]));}catch(_0x325ae5){$[_0xaa8490(0x287,'VAVw')](_0x325ae5,_0x1019ed);}finally{_0x376417[_0xaa8490(0x1f6,'vsKu')](_0x376417[_0xaa8490(0x295,'p]SQ')],_0x376417[_0xaa8490(0x30e,'@kqd')])?_0x376417[_0xaa8490(0x2b9,'(cHU')](_0x1297d6,_0x33d1f9):_0x557d9b[_0xaa8490(0x222,'TEc!')](_0x2e69f5[_0xaa8490(0x215,'P2ST')](_0x41d509));}});});}function _0x50d7b0(){const _0xb3be9b=_0x3d56e1,_0x351297={'FDyOK':_0xb3be9b(0x28b,'P2ST'),'FqEAu':_0xb3be9b(0x2ac,'PoFT'),'oQlDM':_0xb3be9b(0x303,'P2ST')};return{'url':_0xb3be9b(0x218,'))JQ'),'body':_0xb3be9b(0x23e,'NCJ8'),'headers':{'Host':_0x351297[_0xb3be9b(0x30b,'chBC')],'Origin':_0x351297[_0xb3be9b(0x1cf,'chBC')],'Content-Type':_0x351297[_0xb3be9b(0x268,'p]SQ')],'User-Agent':$['UA'],'Cookie':_0x307d99}};}function _0x19cb73(){const _0x4d145b=_0x3d56e1,_0x3ef480={'BZkVz':function(_0x2a9ffe,_0x364380){return _0x2a9ffe===_0x364380;},'idpWw':function(_0x3e991a,_0x3076df){return _0x3e991a!==_0x3076df;},'qbrgM':_0x4d145b(0x329,'vsKu'),'QzTJY':_0x4d145b(0x1a2,'U5*#'),'dDMFp':function(_0x56603a){return _0x56603a();},'kRkpv':function(_0x2c492c,_0x3efdf9){return _0x2c492c==_0x3efdf9;},'zMdTl':_0x4d145b(0x290,'Dv3R'),'vkDTE':_0x4d145b(0x283,'VAVw')};return new Promise(_0x1a78f3=>{const _0x2b03cf=_0x4d145b,_0x47d311={'dpScV':function(_0x111414,_0x25dc68){const _0xa0d7f5=_0x7373;return _0x3ef480[_0xa0d7f5(0x1eb,'VAVw')](_0x111414,_0x25dc68);}},_0x56cdfe={'url':_0x3ef480[_0x2b03cf(0x23a,'glQD')],'headers':{'Cookie':_0x307d99,'referer':_0x3ef480[_0x2b03cf(0x233,'as9v')],'User-Agent':$['UA']},'timeout':0x2710};$[_0x2b03cf(0x2c6,'1$Qm')](_0x56cdfe,(_0x42b6d9,_0x54b591,_0x291d23)=>{const _0x43c998=_0x2b03cf;try{if(_0x291d23){_0x291d23=JSON[_0x43c998(0x1d8,'Ev#f')](_0x291d23);if(_0x3ef480[_0x43c998(0x1a9,'%r6o')](_0x291d23[_0x43c998(0x1f0,'vsKu')],'1')){}else _0x3ef480[_0x43c998(0x1b1,'O2Ux')](_0x291d23[_0x43c998(0x288,'Mgx&')],'0')&&(_0x3ef480[_0x43c998(0x1f2,'TEc!')](_0x3ef480[_0x43c998(0x2a0,'j0pv')],_0x3ef480[_0x43c998(0x24a,'k)rH')])?$[_0x43c998(0x1aa,'J6o6')]=![]:(_0x4578ad=_0x216eec[_0x43c998(0x280,'%r6o')](_0x3ba49c),_0x47d311[_0x43c998(0x16d,'Pt%K')](_0x384f96[_0x43c998(0x274,'VAVw')],0x0)?_0x37b0c8[_0x43c998(0x1dc,'0Z&*')]=_0x1b99a9[_0x43c998(0x21a,'glQD')]||[]:_0x2df0ef[_0x43c998(0x2ca,'*Ogt')](_0x1b18cb[_0x43c998(0x1fc,'vsKu')](_0x359e33))));}}catch(_0x4679eb){console[_0x43c998(0x2dd,']^b#')](_0x4679eb);}finally{_0x3ef480[_0x43c998(0x318,'Dv3R')](_0x1a78f3);}});});}function _0x559fe1(){const _0x2ce726=_0x3d56e1,_0x1147d1={'ifRWn':function(_0x3bd621,_0x4edc2a){return _0x3bd621==_0x4edc2a;},'khGOH':_0x2ce726(0x191,'wOVo'),'OgGLB':function(_0x2230c3,_0x56c29a){return _0x2230c3!==_0x56c29a;},'MPRoe':_0x2ce726(0x17f,'%r6o'),'rqCHC':_0x2ce726(0x197,'&(mo'),'DvuJo':function(_0x1eb127,_0x409430){return _0x1eb127===_0x409430;},'aEidI':_0x2ce726(0x234,'Jr9%'),'udlXJ':function(_0x1f8989){return _0x1f8989();}};return new Promise(_0x55cbce=>{const _0x340122=_0x2ce726,_0x148a7d={'DNpqw':function(_0x236db0,_0x472e42){const _0x842eeb=_0x7373;return _0x1147d1[_0x842eeb(0x293,'&(mo')](_0x236db0,_0x472e42);},'DHcqI':_0x1147d1[_0x340122(0x1b5,'xr#i')]};_0x1147d1[_0x340122(0x22e,'Mgx&')](_0x1147d1[_0x340122(0x25c,'hT*O')],_0x1147d1[_0x340122(0x27d,'p]SQ')])?(!_0x120a72?$[_0x340122(0x2c3,'N8RQ')]($[_0x340122(0x299,'wL2K')],'',''+_0x5b42d9):_0x1147d1[_0x340122(0x2ee,'Dv3R')](_0x1147d1[_0x340122(0x267,'kYEj')],_0x1147d1[_0x340122(0x1b4,'U5*#')])?$[_0x340122(0x32f,'pl$f')](_0x340122(0x18d,'wL2K')+$[_0x340122(0x29b,'*Ogt')]+$[_0x340122(0x2c0,'Dv3R')]+'\x0a'+_0x5b42d9):_0x181658[_0x340122(0x178,'4Es*')](_0x2b8c41,_0x4fa2fd),_0x1147d1[_0x340122(0x205,'chBC')](_0x55cbce)):(_0x10f24d=_0x3521c9[_0x340122(0x185,'wOVo')](_0x1e145a),_0x148a7d[_0x340122(0x188,'chBC')](_0x62df0a[_0x340122(0x1b8,'U5*#')],0x0)?_0x3f58f7[_0x340122(0x22b,'J7r9')]('=>',_0x58779a[_0x340122(0x249,'kYEj')]):_0x6bef5b[_0x340122(0x2ae,'wOVo')](_0x148a7d[_0x340122(0x2db,'N8RQ')]));});}function _0x46e239(_0x3cb122){const _0x502f81=_0x3d56e1,_0x5be055={'CGVFy':function(_0x166364,_0x2ffa9a){return _0x166364===_0x2ffa9a;},'RuqAp':function(_0x113749,_0x5232c4){return _0x113749===_0x5232c4;},'YbQFN':function(_0xd8f657,_0x2931bb){return _0xd8f657===_0x2931bb;},'aTjLf':_0x502f81(0x1e6,'aC]y'),'kMyPQ':_0x502f81(0x1c2,'TEc!'),'FGcaE':function(_0xc735ca,_0x57f031){return _0xc735ca==_0x57f031;},'bZdni':_0x502f81(0x179,'VAVw'),'EpzEd':function(_0x471ecc,_0x44e124){return _0x471ecc===_0x44e124;},'azMoE':_0x502f81(0x321,'(cHU'),'iIFLF':_0x502f81(0x24b,'Dv3R')};try{if(_0x5be055[_0x502f81(0x19f,'*Ogt')](_0x5be055[_0x502f81(0x2bd,'%eU7')],_0x5be055[_0x502f81(0x1c8,'as9v')]))return _0x1910cc[_0x502f81(0x2b4,'vsKu')](_0xa60f8b);else{if(_0x5be055[_0x502f81(0x2af,'VAVw')](typeof JSON[_0x502f81(0x2b4,'vsKu')](_0x3cb122),_0x5be055[_0x502f81(0x1ce,'glQD')])){if(_0x5be055[_0x502f81(0x2cf,'VAVw')](_0x5be055[_0x502f81(0x1ac,'%eU7')],_0x5be055[_0x502f81(0x1c6,'P2ST')])){_0x36cfed=_0x456521[_0x502f81(0x2b3,'VAVw')](_0x4168cf);if(_0x5be055[_0x502f81(0x2d4,'O2Ux')](_0x1e40eb[_0x502f81(0x2b5,'PoFT')],'1')){}else _0x5be055[_0x502f81(0x271,'j0pv')](_0x2c1319[_0x502f81(0x29e,'J7r9')],'0')&&(_0x395a69[_0x502f81(0x28f,'K^kD')]=![]);}else return!![];}}}catch(_0x3400d3){return console[_0x502f81(0x1fe,'p]SQ')](_0x3400d3),console[_0x502f81(0x181,'(cHU')](_0x502f81(0x2ad,']^b#')),![];}}function _0x548e24(_0x39a0aa){const _0x295912=_0x3d56e1,_0x15be51={'rnYvF':function(_0x398b95,_0x1988cb){return _0x398b95===_0x1988cb;},'QIkMi':function(_0x451c8d,_0x19052c){return _0x451c8d===_0x19052c;},'vNMaa':_0x295912(0x254,'%WG^'),'ZsghS':_0x295912(0x21f,'aC]y'),'cAsSO':_0x295912(0x2b7,'@kqd'),'OxkmN':function(_0x1da413,_0x5ef5e7){return _0x1da413===_0x5ef5e7;},'aOXhL':_0x295912(0x1c3,'4Es*'),'PssOv':_0x295912(0x18a,'chBC'),'DMlHm':_0x295912(0x214,'1$Qm'),'YUSgY':function(_0x4f6669,_0x59f764,_0x3770a2){return _0x4f6669(_0x59f764,_0x3770a2);},'WyOwm':function(_0x47bb86){return _0x47bb86();},'xFjiW':function(_0x2285f9,_0x27e628){return _0x2285f9==_0x27e628;},'ZwnIh':_0x295912(0x2e3,'vsKu'),'zGEan':function(_0x4fcb64,_0x56fbd6){return _0x4fcb64!==_0x56fbd6;},'CzIuF':_0x295912(0x2e1,'wL2K'),'ugFAz':_0x295912(0x25f,'[5Cr')},_0xa75203=(function(){const _0x53b030=_0x295912,_0x350978={'RXMev':function(_0x410731,_0x50dd6f){const _0xc303f1=_0x7373;return _0x15be51[_0xc303f1(0x1ee,'wL2K')](_0x410731,_0x50dd6f);},'nBdie':function(_0x588bbe,_0x4f9797){const _0x4cd1ea=_0x7373;return _0x15be51[_0x4cd1ea(0x1e3,'VAVw')](_0x588bbe,_0x4f9797);},'IvEnI':_0x15be51[_0x53b030(0x2f9,'hT*O')],'TchXo':_0x15be51[_0x53b030(0x29c,'))JQ')],'tmgmx':_0x15be51[_0x53b030(0x282,'K^kD')]};let _0x354417=!![];return function(_0x5538fc,_0x57bf64){const _0x5c4931=_0x53b030,_0x33c497={'uBQzv':function(_0xc5cc30,_0x53abb0){const _0x425524=_0x7373;return _0x350978[_0x425524(0x2a8,'))JQ')](_0xc5cc30,_0x53abb0);},'dsAaI':function(_0x8c51a1,_0x5d8f60){const _0x3c8c87=_0x7373;return _0x350978[_0x3c8c87(0x2f4,'hT*O')](_0x8c51a1,_0x5d8f60);},'pCAEJ':_0x350978[_0x5c4931(0x1d0,'MXn!')],'EBGRZ':_0x350978[_0x5c4931(0x30f,'BGBh')],'QIPTE':_0x350978[_0x5c4931(0x1f4,'xr#i')]},_0x3c0c1a=_0x354417?function(){const _0x2109a9=_0x5c4931,_0x1febf5={'YNqza':function(_0x26e305,_0x200572){const _0x419a1a=_0x7373;return _0x33c497[_0x419a1a(0x32a,'chBC')](_0x26e305,_0x200572);}};if(_0x33c497[_0x2109a9(0x1d2,'PoFT')](_0x33c497[_0x2109a9(0x2fc,'BGBh')],_0x33c497[_0x2109a9(0x2f5,']^b#')])){if(_0x566b13){_0xfe456b=_0xaf1013[_0x2109a9(0x231,'J7r9')](_0x164981);if(_0x1febf5[_0x2109a9(0x1c7,'BGBh')](_0x4cbf67[_0x2109a9(0x243,'&(mo')],'1')){}else _0x1febf5[_0x2109a9(0x16f,'MXn!')](_0x38e5fc[_0x2109a9(0x31c,'glQD')],'0')&&(_0x32d8f5[_0x2109a9(0x1aa,'J6o6')]=![]);}}else{if(_0x57bf64){if(_0x33c497[_0x2109a9(0x172,'Dv3R')](_0x33c497[_0x2109a9(0x1ec,'Jr9%')],_0x33c497[_0x2109a9(0x217,']^b#')])){const _0x486fef=_0x57bf64[_0x2109a9(0x305,'xr#i')](_0x5538fc,arguments);return _0x57bf64=null,_0x486fef;}else _0x3f70a7[_0x2109a9(0x2fb,'hT*O')](''+_0x533282[_0x2109a9(0x2a2,'PoFT')](_0x4f54b2)),_0x5db698[_0x2109a9(0x31f,'1$Qm')](_0x2109a9(0x26e,'l9db'));}}}:function(){};return _0x354417=![],_0x3c0c1a;};}()),_0x1feefe=_0x15be51[_0x295912(0x20e,'PoFT')](_0xa75203,this,function(){const _0x338b68=_0x295912;if(_0x15be51[_0x338b68(0x23c,'*Ogt')](_0x15be51[_0x338b68(0x24d,'glQD')],_0x15be51[_0x338b68(0x182,'Ev#f')]))return _0x1feefe[_0x338b68(0x289,'as9v')]()[_0x338b68(0x170,'Jr9%')](_0x15be51[_0x338b68(0x31d,'TEc!')])[_0x338b68(0x18b,'vsKu')]()[_0x338b68(0x216,'vsKu')](_0x1feefe)[_0x338b68(0x1a8,'Ev#f')](_0x15be51[_0x338b68(0x1ba,'OTaP')]);else _0xcb0a7d[_0x338b68(0x20b,'VAVw')](_0x261c77[_0x5ba54a]);});_0x15be51[_0x295912(0x312,'as9v')](_0x1feefe);if(_0x15be51[_0x295912(0x1c5,'p]SQ')](typeof _0x39a0aa,_0x15be51[_0x295912(0x22a,'&(mo')]))try{if(_0x15be51[_0x295912(0x294,'K^kD')](_0x15be51[_0x295912(0x211,'p]SQ')],_0x15be51[_0x295912(0x1bd,'aC]y')]))try{return _0x4c8e31[_0x295912(0x226,'MXn!')](_0x4f5fcc);}catch(_0x5dc5ba){return _0x2352d3[_0x295912(0x32d,'chBC')](_0x5dc5ba),_0x29e10a[_0x295912(0x27a,'*Ogt')](_0x5c7268[_0x295912(0x292,'%r6o')],'',_0x15be51[_0x295912(0x1b0,'PoFT')]),[];}else return JSON[_0x295912(0x206,'TEc!')](_0x39a0aa);}catch(_0x4d6269){return _0x15be51[_0x295912(0x1a7,'1$Qm')](_0x15be51[_0x295912(0x1cd,'wL2K')],_0x15be51[_0x295912(0x1f1,'Dv3R')])?(_0x4b22fd[_0x295912(0x17a,'MXn!')](_0x1bdfbb),_0x1c1e00[_0x295912(0x30a,'[5Cr')](_0x4a4b92[_0x295912(0x171,'))JQ')],'',_0x15be51[_0x295912(0x1db,'pl$f')]),[]):(console[_0x295912(0x181,'(cHU')](_0x4d6269),$[_0x295912(0x2f7,']^b#')]($[_0x295912(0x28d,'Ev#f')],'',_0x15be51[_0x295912(0x1a4,'l9db')]),[]);}}var version_ = 'jsjiami.com.v7';function Env(t, e) { "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0); 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((e, i) => { s.call(this, t, (t, s, r) => { t ? i(t) : e(s) }) }) } 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.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.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) } isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } toObj(t, e = null) { try { return JSON.parse(t) } catch { return e } } toStr(t, e = null) { try { return JSON.stringify(t) } catch { return e } } getjson(t, e) { let s = e; const i = this.getdata(t); if (i) 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(e => { this.get({ url: t }, (t, s, i) => e(i)) }) } runScript(t, e) { return new Promise(s => { let i = this.getdata("@chavy_boxjs_userCfgs.httpapi"); i = i ? i.replace(/\n/g, "").trim() : i; let r = this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"); r = r ? 1 * r : 20, r = e && e.timeout ? e.timeout : r; const [o, h] = i.split("@"), n = { url: `http://${h}/v1/scripting/evaluate`, body: { script_text: t, mock_type: "cron", timeout: r }, headers: { "X-Key": o, Accept: "*/*" } }; this.post(n, (t, e, i) => s(i)) }).catch(t => this.logErr(t)) } loaddata() { if (!this.isNode()) return {}; { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e); if (!s && !i) return {}; { const i = s ? t : e; try { return JSON.parse(this.fs.readFileSync(i)) } catch (t) { return {} } } } } writedata() { if (this.isNode()) { this.fs = this.fs ? this.fs : require("fs"), this.path = this.path ? this.path : require("path"); const t = this.path.resolve(this.dataFile), e = this.path.resolve(process.cwd(), this.dataFile), s = this.fs.existsSync(t), i = !s && this.fs.existsSync(e), r = JSON.stringify(this.data); s ? this.fs.writeFileSync(t, r) : i ? this.fs.writeFileSync(e, r) : this.fs.writeFileSync(t, r) } } lodash_get(t, e, s) { const i = e.replace(/\[(\d+)\]/g, ".$1").split("."); let r = t; for (const t of i) if (r = Object(r)[t], void 0 === r) return s; return r } lodash_set(t, e, s) { return Object(t) !== t ? t : (Array.isArray(e) || (e = e.toString().match(/[^.[\]]+/g) || []), e.slice(0, -1).reduce((t, s, i) => Object(t[s]) === t[s] ? t[s] : t[s] = Math.abs(e[i + 1]) >> 0 == +e[i + 1] ? [] : {}, t)[e[e.length - 1]] = s, t) } getdata(t) { let e = this.getval(t); if (/^@/.test(t)) { const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : ""; if (r) try { const t = JSON.parse(r); e = t ? this.lodash_get(t, i, "") : e } catch (t) { e = "" } } return e } setdata(t, e) { let s = !1; if (/^@/.test(e)) { const [, i, r] = /^@(.*?)\.(.*?)$/.exec(e), o = this.getval(i), h = i ? "null" === o ? null : o || "{}" : "{}"; try { const e = JSON.parse(h); this.lodash_set(e, r, t), s = this.setval(JSON.stringify(e), i) } catch (e) { const o = {}; this.lodash_set(o, r, t), s = this.setval(JSON.stringify(o), i) } } else s = this.setval(t, e); return s } getval(t) { return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? (this.data = this.loaddata(), this.data[t]) : this.data && this.data[t] || null } setval(t, e) { return this.isSurge() || this.isLoon() ? $persistentStore.write(t, e) : this.isQuanX() ? $prefs.setValueForKey(t, e) : this.isNode() ? (this.data = this.loaddata(), this.data[e] = t, this.writedata(), !0) : this.data && this.data[e] || null } initGotEnv(t) { this.got = this.got ? this.got : require("got"), this.cktough = this.cktough ? this.cktough : require("tough-cookie"), this.ckjar = this.ckjar ? this.ckjar : new this.cktough.CookieJar, t && (t.headers = t.headers ? t.headers : {}, void 0 === t.headers.Cookie && void 0 === t.cookieJar && (t.cookieJar = this.ckjar)) } get(t, e = (() => { })) { t.headers && (delete t.headers["Content-Type"], delete t.headers["Content-Length"]), this.isSurge() || this.isLoon() ? (this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.get(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) })) : this.isQuanX() ? (this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t))) : this.isNode() && (this.initGotEnv(t), this.got(t).on("redirect", (t, e) => { try { if (t.headers["set-cookie"]) { const s = t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString(); s && this.ckjar.setCookieSync(s, null), e.cookieJar = this.ckjar } } catch (t) { this.logErr(t) } }).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) })) } post(t, e = (() => { })) { if (t.body && t.headers && !t.headers["Content-Type"] && (t.headers["Content-Type"] = "application/x-www-form-urlencoded"), t.headers && delete t.headers["Content-Length"], this.isSurge() || this.isLoon()) this.isSurge() && this.isNeedRewrite && (t.headers = t.headers || {}, Object.assign(t.headers, { "X-Surge-Skip-Scripting": !1 })), $httpClient.post(t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = "POST", this.isNeedRewrite && (t.opts = t.opts || {}, Object.assign(t.opts, { hints: !1 })), $task.fetch(t).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => e(t)); else if (this.isNode()) { this.initGotEnv(t); const { url: s, ...i } = t; this.got.post(s, i).then(t => { const { statusCode: s, statusCode: i, headers: r, body: o } = t; e(null, { status: s, statusCode: i, headers: r, body: o }, o) }, t => { const { message: s, response: i } = t; e(s, i, i && i.body) }) } } time(t, e = null) { const s = e ? new Date(e) : new Date; let i = { "M+": s.getMonth() + 1, "d+": s.getDate(), "H+": s.getHours(), "m+": s.getMinutes(), "s+": s.getSeconds(), "q+": Math.floor((s.getMonth() + 3) / 3), S: s.getMilliseconds() }; /(y+)/.test(t) && (t = t.replace(RegExp.$1, (s.getFullYear() + "").substr(4 - RegExp.$1.length))); for (let e in i) new RegExp("(" + e + ")").test(t) && (t = t.replace(RegExp.$1, 1 == RegExp.$1.length ? i[e] : ("00" + i[e]).substr(("" + i[e]).length))); return t } msg(e = t, s = "", i = "", r) { const o = t => { if (!t) return t; if ("string" == typeof t) return this.isLoon() ? t : this.isQuanX() ? { "open-url": t } : this.isSurge() ? { url: t } : void 0; if ("object" == typeof t) { if (this.isLoon()) { let e = t.openUrl || t.url || t["open-url"], s = t.mediaUrl || t["media-url"]; return { openUrl: e, mediaUrl: s } } if (this.isQuanX()) { let e = t["open-url"] || t.url || t.openUrl, s = t["media-url"] || t.mediaUrl; return { "open-url": e, "media-url": s } } if (this.isSurge()) { let e = t.url || t.openUrl || t["open-url"]; return { url: e } } } }; if (this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(e, s, i, o(r)) : this.isQuanX() && $notify(e, s, i, o(r))), !this.isMuteLog) { let t = ["", "==============📣系统通知📣=============="]; t.push(e), s && t.push(s), i && t.push(i), console.log(t.join("\n")), this.logs = this.logs.concat(t) } } log(...t) { t.length > 0 && (this.logs = [...this.logs, ...t]), console.log(t.join(this.logSeparator)) } logErr(t, e) { const s = !this.isSurge() && !this.isQuanX() && !this.isLoon(); s ? this.log("", `❗️${this.name}, 错误!`, t.stack) : this.log("", `❗️${this.name}, 错误!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `🔔${this.name}, 结束! 🕛 ${s} 秒`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) } |