faker3/jd_dwapp.js
2024-06-28 15:38:28 +08:00

13 lines
37 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
活动名称:积分换话费
入口:首页-话费充值
cron: 56 7,19 * * * jd_dwapp.js
*/
const $ = new Env('积分换话费');
var il='jsjiami.com.v7';function iii1II(_0x386200,_0x21d5bb){const _0x6f553=Iii11l();return iii1II=function(_0x4246a2,_0x2596a8){_0x4246a2=_0x4246a2-0x1d1;let _0x22aa24=_0x6f553[_0x4246a2];if(iii1II['vOlbyW']===undefined){var _0x2efd34=function(_0x5026e1){const _0x283388='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4bb49e='',_0x2d3840='';for(let _0xe44d14=0x0,_0x3d8434,_0x5787f8,_0x205b15=0x0;_0x5787f8=_0x5026e1['charAt'](_0x205b15++);~_0x5787f8&&(_0x3d8434=_0xe44d14%0x4?_0x3d8434*0x40+_0x5787f8:_0x5787f8,_0xe44d14++%0x4)?_0x4bb49e+=String['fromCharCode'](0xff&_0x3d8434>>(-0x2*_0xe44d14&0x6)):0x0){_0x5787f8=_0x283388['indexOf'](_0x5787f8);}for(let _0x172eab=0x0,_0x381b23=_0x4bb49e['length'];_0x172eab<_0x381b23;_0x172eab++){_0x2d3840+='%'+('00'+_0x4bb49e['charCodeAt'](_0x172eab)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2d3840);};const _0x1c4571=function(_0x2c4bfa,_0x50ba41){let _0x50c462=[],_0x57aecb=0x0,_0x481e23,_0x36e63c='';_0x2c4bfa=_0x2efd34(_0x2c4bfa);let _0x17a47d;for(_0x17a47d=0x0;_0x17a47d<0x100;_0x17a47d++){_0x50c462[_0x17a47d]=_0x17a47d;}for(_0x17a47d=0x0;_0x17a47d<0x100;_0x17a47d++){_0x57aecb=(_0x57aecb+_0x50c462[_0x17a47d]+_0x50ba41['charCodeAt'](_0x17a47d%_0x50ba41['length']))%0x100,_0x481e23=_0x50c462[_0x17a47d],_0x50c462[_0x17a47d]=_0x50c462[_0x57aecb],_0x50c462[_0x57aecb]=_0x481e23;}_0x17a47d=0x0,_0x57aecb=0x0;for(let _0x1c1a98=0x0;_0x1c1a98<_0x2c4bfa['length'];_0x1c1a98++){_0x17a47d=(_0x17a47d+0x1)%0x100,_0x57aecb=(_0x57aecb+_0x50c462[_0x17a47d])%0x100,_0x481e23=_0x50c462[_0x17a47d],_0x50c462[_0x17a47d]=_0x50c462[_0x57aecb],_0x50c462[_0x57aecb]=_0x481e23,_0x36e63c+=String['fromCharCode'](_0x2c4bfa['charCodeAt'](_0x1c1a98)^_0x50c462[(_0x50c462[_0x17a47d]+_0x50c462[_0x57aecb])%0x100]);}return _0x36e63c;};iii1II['UBnSxw']=_0x1c4571,_0x386200=arguments,iii1II['vOlbyW']=!![];}const _0x598783=_0x6f553[0x0],_0x4632b3=_0x4246a2+_0x598783,_0x47dc95=_0x386200[_0x4632b3];return!_0x47dc95?(iii1II['ntFpXh']===undefined&&(iii1II['ntFpXh']=!![]),_0x22aa24=iii1II['UBnSxw'](_0x22aa24,_0x2596a8),_0x386200[_0x4632b3]=_0x22aa24):_0x22aa24=_0x47dc95,_0x22aa24;},iii1II(_0x386200,_0x21d5bb);}const Ilil1i=iii1II;(function(iiliI,Ill11I,I1il1i,IliIIi,lI1l1i,i1iil,llI11l){return iiliI=iiliI>>0x5,i1iil='hs',llI11l='hs',function(I1llIl,i1iii,I1llIi,IIii1I,llI11i){const Ii1iil=iii1II;IIii1I='tfi',i1iil=IIii1I+i1iil,llI11i='up',llI11l+=llI11i,i1iil=I1llIi(i1iil),llI11l=I1llIi(llI11l),I1llIi=0x0;const i1iIi1=I1llIl();while(!![]&&--IliIIi+i1iii){try{IIii1I=-parseInt(Ii1iil(0x24f,'ID%A'))/0x1+parseInt(Ii1iil(0x2aa,'H^2$'))/0x2+parseInt(Ii1iil(0x28a,'T)X4'))/0x3+-parseInt(Ii1iil(0x244,'dNkW'))/0x4*(-parseInt(Ii1iil(0x205,'ugy!'))/0x5)+-parseInt(Ii1iil(0x216,'JvN#'))/0x6+-parseInt(Ii1iil(0x31c,'uozw'))/0x7*(-parseInt(Ii1iil(0x2c7,'f4Zh'))/0x8)+-parseInt(Ii1iil(0x278,'9mLW'))/0x9*(parseInt(Ii1iil(0x2f5,'S%g^'))/0xa);}catch(l1l1il){IIii1I=I1llIi;}finally{llI11i=i1iIi1[i1iil]();if(iiliI<=IliIIi)I1llIi?lI1l1i?IIii1I=llI11i:lI1l1i=llI11i:I1llIi=llI11i;else{if(I1llIi==lI1l1i['replace'](/[MRKhXbSCQDdyLxBplW=]/g,'')){if(IIii1I===i1iii){i1iIi1['un'+i1iil](llI11i);break;}i1iIi1[llI11l](llI11i);}}}}}(I1il1i,Ill11I,function(I11i1I,iliIi1,l1l1ii,Il1i1I,Ii1iii,iIIilI,il1l1){return iliIi1='\x73\x70\x6c\x69\x74',I11i1I=arguments[0x0],I11i1I=I11i1I[iliIi1](''),l1l1ii=`\x72\x65\x76\x65\x72\x73\x65`,I11i1I=I11i1I[l1l1ii]('\x76'),Il1i1I=`\x6a\x6f\x69\x6e`,(0x173a0b,I11i1I[Il1i1I](''));});}(0x17c0,0x9b88a,Iii11l,0xc0),Iii11l)&&(il=0xc0);const jdCookie=require(Ilil1i(0x298,'3*Gh')),notify=require('./utils/Rebels_sendJDNotify'),common=require(Ilil1i(0x1df,'7#tu')),cryptoJS=require(Ilil1i(0x275,'BUxN')),isNotify=![];let cookie='';const cookiesArr=Object[Ilil1i(0x23a,'3*Gh')](jdCookie)['map'](lI1lll=>jdCookie[lI1lll])[Ilil1i(0x1e9,'f4Zh')](iIiII=>iIiII);!cookiesArr[0x0]&&($[Ilil1i(0x27f,'f4Zh')]($[Ilil1i(0x2f2,'6Pw%')],'【提示】请先获取Cookie'),process[Ilil1i(0x1de,'Ude#')](0x1));function Iii11l(){const II111=(function(){return[...[il,'MKDjxsjWRiKShabdmDByiXpC.xScodm.xlvBQ7LX==','W4eMufLlWPnwnfu','CZFcNL16W5lcO8kiWQC','W4ZdSa5BzCo7jq','6lAP5y+15PA15PER','WRBdTsiEgq','dx7dP0JcNaX5','xmofWPva','W40dWR9xW7vzWQv4d8ogn8o0W7fOW4yAWQaMa8k1','WQ1jDG','ya56W7tcKGeiWQddHt7dOSoh','WPxdHbS9og5P','W6z6prtdR8oHyCozWOaTzCo9','WP9AW7nOuG','W5ZcNaBdRvxcU8oSW5m6WPb+','WQeTD0FcRCkWyCoQWQyltq','W5RcKSkuh1Hmctu','gM3dRvpcUHy6tmoH','W4xdTaLj','DCkuWRpdIG4','W7yFi35AWRtcISkiW5y','W4apwG','rmkIW5tcIW','b8oCWQNcKaW','smkUwSkGW4G','WQO9WO8','lIBcP001','WORdQwG','W6xcRSkZFmoUW44','4P+/W5ZMRPpOTzxLJ5RMTjpLI4tNGk3NIktVVztKU5FNUipNU53MI5lOOyZKUlRLI4a','emojWQy6','gvRcLdpdQa','jL3cQd3dI8kSW4LmW5RcMa','CtqmuG','W4VcVSoKFmkFWQNcVM8','WPpdU3ZdHSoAWQfB','DtdcIxvKW4xcNSkcWQ0','W6pdUSoZAG','ECkMW53dRfO3AI97EGGAaa','W77cJmknWOFdOdW','WOBdMfm','54g/5yAP5AEc5B+8','WPtdQJO8gW','gg/dPe/cPXP2uSo7hSkhdSkUD8k6xW','WQtcNZm8','W5RdKSoSaq','WOJORlhMS7hLPPNOT5FdR+kFRSoh5Pwz5zkB5BI45PEt5O2j','ibb7zmkpW7nSm8ovw0v9WQ0','WPLAW5jxBa','AcBcJvbXW4FcUq','WOpdJLxcUWdcJ8ox','WPxdHHuJi3vHWQK','oepdSMpdR8k8W60JW7ZcVq','WQnRWOSKW5pdRmotqHH2uCkNW5yUWRBdLrfQWOTnW6CYomokW4eOW7CzWOrLDCoR','irlcVrm','5lM25yI65yQj6kgN5AA66lAB772N','WRTyW4zZCW','W6mvW6JcJSkpWQPr','WQ4MWPXNWPNdRSkAcX9JaSkZWPi4W67cHv09WOaqWQLWE8kCW5y0WRSbWPfOpSoRWOG6AeuCWOu0gG','5lIG5yId6Ak25y2e5AsQ6lE/772W','lgZdSvhcGbH6qW','W4WfvuGSWPioWQuwqHC5qmkZx8oyWOtcNNGhWQ7cO058kXpdQmk9WRf+W6tdQ8owDvFcUSoeWPrcWPOmEqVdLSoFWRRdUmoxWPdcN1PjWR/cO8keWPLiWRBdNKi','WPdcQCo7EWW','W67dTmo6AG','A+ITOEAYREwNQUI1Js/IN49l5PEJ5zoc5BUf5Psl5OYd','WRLlqq','ueSHiSoFWQOQr8ohuhLs','4P2VqEACVUIbVEAULoEGGEwLUoEsI8kX','yeSImW','W5/cP8oAW5W','g8kCW44DcGevW7fYW5ZcHHq','j8olWROwW7S','W7CxW7FcM8koWRXqW54DWP7cGMe','t8kbrCkY','W585uuvu','56wI5yQD776s5Oc056wK5yQ4772N','fxNcJW','aWVcGMi','pCogjqCx','gSoUmr08','WRBcQCodrJa','W6fnn8o1eW','xmodWP9lCfKzW40','WOVdTwG','W5RcUSosz8klWQ7cKg/dKrS','WPZPOQdLJ4FKU7lLIPtMI4lLIyu','WOdcRKDI','4PYHsUIhTEACQ+I+SoIJJoMaSEwjM+s7V+MuLoIUICoV','W6iNWO5MWO95WOvDpmo3','W61pWRW','W5VcRCoAW5JcOmk6ha','FfhdIa','WPL2FMz/','aK3cTYxdMW','WQxdHYrUWO3cGbbwW5FcIIFcGSkaW4n5W5aSWOnSl8kFW67dO1hcVrG+iZa9dCkQ','mrlcUHNdP8ofzKW','DEITOUAZKEwqPow4HwC','WQ4NWRHfWR8','WQ9hFgW','W5BcQZJcLmk6WQ5ubbFcR10','uCkGWQhdQcrRoSoK','WRpdSGjOm8o3DG','WRddTGjD','W5GbtSkpW5ZcJCk5W4JdVJ8','WPiQWO1hWOG','W7O3WOH1W4DRWPO','f8oScti','W6JcJmkxWOi','W7JcJmkqWOJdVtr9WOldTtXu','W6m0Dq','WOJdJwpdMvG','wmolWPfr','p8o3WPZcSarMib8','amoMfcmxW6vJ','wtpcR2zY','y1hdGSoH','iahcUX3dUq','W43cOSoSAW','yfa9p8ouWQm3dmoQ'],...(function(){return[...['WRn4W6b+W4lcGSoPxq','WPTuCmkEW7K','W7T4bmoAhG','EhldHCo3WPi','W4q9sfPJ','WRiZWPT8WPJcSCowqrjIbG','4P+CxUAEQ+IaG+AUVUEISEwKU+EsQLG','yYZcIfe','tmkfx8kgW5S','kJJcNu4k','WPpdONxdNG','WR1quSkCW6C7dCoyqb8EaJHis1pcH1z2gttdTWbIW5HWW4xcRmoeW7ORW6H9WO7cJmogWOzZWOJcQe/cVmkrp8k9AK/cV8ojiSomWRmcWOBcQJOFWOzACCo/','WOtcPeDMjvv6','WOZcK8kBWRpdPs8vW7FcNtHG','W6Lrhmoppa','W5RcKSktfLu','WRKJyW','W5FcI8kKgKPgjsHenW','xmodWP9lAKmEW5zOW6m','WRu7WO95WQtcOCoy','DqpdTMhdHCk0','m0/cQd/dNSkN','mCo0W6FcIa','BIlcGve','EZ8OzSoX','W4RcRmoYzCkEWQxcUMtdNGjd','W6pcOeqoASoCw8oxpwux','WOtcOenZ','5B+35yI85OcA56Ex5yMz776Y','WPWuyx3cKq','W6uyvuK+','uCkGWQhdQbP3jW','WPVcOeK','566O5yIA5OQr5yQB77Ye6i6O5B60','WPWbWO18WOu','W70BW7lcJCk8WRHA','v8ovCCkT','WRr+W5rKW7NcHCoHvq','WQdcKmkGWPpdHG','W5VdMSoGaJqxW7PVhX8','5lQc5yQ+6Acs5y+15AE/6lwC77Yn','sXlcJvvM','8lsBIX0','W4aDD0br','W5GUW4RcI8kP','EdNcRLXz','WRi9WPX2WOBcMSoasq','4P2yW43MNQ3NNlROROZMSktdUq','WP1fgaXUWP9tW7O6BqqA','4P2JWORMRPZOTipLJ47MTiZLI5FNG4NNIjVVVPZKU77NUOdNUOtMIzxOOQtKU6BLI6q','WRiQW7tdGd8','WPNcK8kEWOpdSI4o','WR1crCkoW64','EeRdM8o0WO0KWOZdNSoyW7FcHmo7W7SEpZNdLCkvfHjJfN7cHcSvWReMkCkDqv1AWPpdH8kxhHVdG2pcMmonqmo/WRxcGCkzWQ5BW5pcRCkHWPtdPrWEAh9Ec0v+W53cTmknW7NcHxadvSoCACkBW4K','pmo3WOBcRW','5AAX5yIR6Akj5y275AA56lEX77YV','WOxcN8kmWP3dMtWxW6a','ACken8kIW4dcS8oHbCkgW4JdLdldVv7dTYVcH0VcJgRcV0qMBfC','WPC6W4BdNZO','8lc5PSkH','W5yZvLe','D8kAW7BcNsO','WRRPOjZLJ5K','W4/dTbbn','WPhdRYvqdW','WRO0ymkvh8kGWOldTmo7AW','eSobWRW6W499nG','EtOF','WQ7dPtPBoW','sSkGf8k3W77cN8oi','W4ZdMCobacG','W7fa5lUg5yMf5BwC5A2K5OUk','WQ8IWP55W5xcMW','W7/dNSowFSo6','WQjLW4fLW4i','W5ldUHbn','cX7cLN05','p8oictyx','W6CHr0jRWPvsnW','W5BcQmoGASkjWRlcQG','kSobWQ7cSZa','DclcN19gW4dcPa','WRCVW4/dLbW','mCopWRW6W6y','WOdcSCoPzt7cVGWGb8ks','y2ZdMmouWRW','4P+OuEIeU+ACLoI+J+IJPoMbPUwkUUs7VEMuOUIUIfW','rarGW4xcHr0tW7/dNdtdTq','h8oIgG','W506WRq','W5RcRmo1BW','qCkQba','W7XPpmotj8kZWOe','W4ZcJSoeW4/cLG','W5Wqyfu9','cYZcVeK2','omoZWPVcMaDGoajM','WPVdTq9fnq','WQflDCkyW6zOtmkq','frlcNJtdSG','W6aSWOH6W5D8WOXh','WQpdNutcIsG','8ykPPa4','mmoTW7RcNq','EI7dMSkRW5ZdVSojamkYbmohpSopWPO+W7vGDvhcT8kuWQXO','WQvfW6XH','W5NcQmo1s8kEWRlcTNpdUGDb','C8kiW7pcMGKuWRBdMqddLmos','vI85uCok','gWpcINaZW7qxhWX+','zCotAmk5W6G','W4tcQCou','W7VcJmkkWPC','WOFcMCki','WOhdS2pdMCoTWQy','W5mrW6/cISk4WRflWOeSWQNcH2K','zdtcV11ZW5VcG8kaWRJdKq','sCkUWRu','W7e5WOmKWOa','CHVdUxFdNmkmW7yPW6BcS8kashVcK8khsCkL'],...(function(){return['W6Ksruai','i3TihCkk','jCo4cbWa','WOS7WPfaWO8','WRlcMZyOW5hdIWi','yL/dGCoGWPfZ','jL3cQd3dLCkGW5Lx','Ftazv8oFjmo/','W6C9Axik','WRddOcvvpCo0wSoFohG','W54+AhPe','ymo/x8kdW6a','WQpdTH9i','W7FdGCo8zmoF','CqNdRetdG8k8W6KHW7dcJSk+qhNcUG','W7DJW58UW5JcRSouxrDfeW','W5FORlJMSAZLPkFOTzia4P6iqG','WQvFC09d','WOtcJmkcWQpdNW','WQr4W5DV','W7qFW7xcNW','xColWPzbvLO','wvRcUx8OW6GNbG','W6tdTCo9y8o+W5OyaG','W5W7qvTRWPvsnW','WQlcKsGXW5hdMrG','W6FdN8o2dqi','Fsemq8ojBmkJW4qjwSktWO1UxHtcM1NcKmoyWQrFWQ8','FeRdNmo8WP0','W5BdTbrC','W500W4FcTCkF','WOldPWuQdG','6l2l5ysB6Asx6Akl5AES6lE677YL','mSoSdXOK','8jAyKtW','u8oPsmk6W4i','566A5yU25AAl6lsP772d','p3xdLSkrW7y','xaddQ3/dIq','W5JdGSoBW4tcOMPiW5ZcLJLljha','WPWgrMhcSG','dEISSUAWOEwqRUw4G8os','W4NcTCoaW4hcLCkH','qbnXW6hcGWO','WPpcOebZ','gmohWRuEW5fJ','W6T1bSokeSkOWQBdTmo7va','sSktqSk6W707','W4SQWP5XW5e','W5aquLmZW4fsW74','W47dImoYrSoi','WRFdJvC','cGlcILu6','W6ddLSoRymoz','W6ysEmkOW7G','W7CQCvXW','WQbYW4DpW4lcMCoOsmoMWQTG','W7FcU8oRw8kw','if3cTtldLSkK','W6nTmG','WPtdS2JdG8ogWQfy','W77dSmo3F8ozW4St','WOJcQCoD','nGFcUXVdPColFf7dSq','W5Lxn8oVfW','W4ZcP8ohW4K','cG/cM0isW7izgtr+aq','5lUU5yU06Ao+5y+L5AAl6lwZ776w','smovEW','qSkKWQBdHJPWjSoIECkYW5a','zf/dNmoVWOX7W4dcLmobW7pcJG','tmkAwmkJWRz1A8o6jeS0i8kpx8k+ySkY','aSoZW7tcUmoB','W5yJu0vN','WQ/cIfLfdW','FqNdOxq','562r5yQA5AEj6lsa77YJ','WOpdN0dcRXBdH8klWPO4WPjgzmknq8ksoLlcHuVdRfddPCo4W7eWzCoZW73dVxavW5pcJmkWAv5pf3BdSSkBWPq3','zmkxW6RcRtC','s8olWOXe','W4dcSSohW5JcGCo1xCoiW50HW43dK1D9A1RcH8oSWO7dHN0hkYP5CCkMWPzQjCkrg2TomwpdHSkwW6O','WRHlW6XH','W40FqLqQW4XeW7K','W7yYBM43','WQNcKcqXW4hdNbnd','r8kEW6TJWPmLlmo+WRi9WP8+','WPtdSwBdNCoAWQfB','WRjbuSkHW7fYuCkwrGO','D8oZWOjYBq','kXlcPbC','qCkGWQBdOG','W5pcHCoLrmkD','W6VcVSoKFmkIWQhcTgq','W5CAseGnW51p','W7OPWOjMW7bTWOC','WPJdGf3cRZFcImok','W6Wqh8oyWQu2umkhydKuya','tSozWOTmxLK','WQ88WOXYWPi','W7aUWOf9W5/cJCoxu8oH','W7K3WPH+','noISMUAZHEwNRUI1NKBINyxcIW','WOJPO4RLJ5i','WQT4W5q','r8kpvG','4PYhWRBMN4xNNl7ORP/MSy1Z','WQ/cRbC/W5K','W6iFW6/cMSkYWRi','og7dIa','WOBdQxZdHmoVWRO','WRJdM8ovW5VcVgD0WRtdSWzeW5q','q8ofWP8','WPFcSSoiztFcTYWOga','WR5EW7v0BsumW4tcVSooWOWhECkTagBcN8kotqv0jmkE','y0VdJmoNWPTTW5a','WQu9WOXY','vSoBCSkSW6yX','WPBcVf1/ee4'];}())];}())];}());Iii11l=function(){return II111;};return Iii11l();};!(async()=>{const iili1=Ilil1i,iil1lI={'ycCgm':function(iiiliI,li1i1I){return iiiliI!==li1i1I;},'NKXTR':'yexbj','CSlIC':function(illIii,ii1il1){return illIii(ii1il1);},'gheRZ':'pt_pin','foLRE':function(lI1llI){return lI1llI();},'CzAbp':function(illIil,Ill1I){return illIil===Ill1I;},'XPooJ':'vojjF'};notify[iili1(0x2ef,'3*Gh')]({'title':$[iili1(0x248,'v^aY')]});for(let i11iiI=0x0;i11iiI<cookiesArr['length'];i11iiI++){if(iil1lI['ycCgm']('yexbj',iil1lI[iili1(0x2b2,'$Gii')]))lilIl1[iili1(0x28c,'b*%L')](i1l1ii[iili1(0x289,'L7Yu')],'【提示】请先获取Cookie'),i1l1[iili1(0x1de,'Ude#')](0x1);else{$[iili1(0x2ea,'eKYN')]=i11iiI+0x1,cookie=cookiesArr[i11iiI],common[iili1(0x1d7,'T)X4')](cookie),$[iili1(0x24b,'xnek')]=iil1lI[iili1(0x221,'L7Yu')](decodeURIComponent,common[iili1(0x1fd,'3*Gh')](cookie,iil1lI[iili1(0x223,'ugy!')])),$['message']=notify[iili1(0x21a,'vCc5')]($[iili1(0x251,'7ban')],$['UserName']),$[iili1(0x207,'yv9B')]='',console[iili1(0x2b7,'f4Zh')]('\x0a******开始【京东账号'+$['index']+'】'+($[iili1(0x313,'JvN#')]||$[iili1(0x2a0,'BUxN')])+'******\x0a'),$['UA']=common[iili1(0x2e3,'kYnK')]($[iili1(0x329,'yv9B')]),await iil1lI['foLRE'](Main),common['unsetCookie']();if($['runEnd'])break;await $[iili1(0x20c,'Ni]Q')](0x3e8);}}isNotify&&notify[iili1(0x246,'ID%A')]()&&(iil1lI[iili1(0x1e3,'xAk7')](iil1lI[iili1(0x2c0,'9mLW')],iili1(0x2df,'yv9B'))?await notify[iili1(0x253,'UPB8')]():lI11Il[iili1(0x1e6,'yoQI')](iili1(0x29f,'IN4W')+lIII1i));})()['catch'](lillI1=>$[Ilil1i(0x21c,'dNkW')](lillI1))[Ilil1i(0x31d,'dNkW')](()=>$[Ilil1i(0x21b,'cR@[')]());async function Main(){const II11ii=Ilil1i,IlIlii={'CLHJU':function(liil11,iiillI){return liil11===iiillI;},'pOYXU':'sruuq','Pqlsb':II11ii(0x1f9,'yv9B'),'FVUkA':function(l1l111,l1iIII){return l1l111+l1iIII;},'IprlL':function(llI1I1,IlIlil){return llI1I1(IlIlil);},'KfOeQ':function(lIli1I,II1il){return lIli1I*II1il;},'GAruy':function(lllI11,I1lIll,I1lIli){return lllI11(I1lIll,I1lIli);},'mksuq':function(II1ii,IIIIII){return II1ii==IIIIII;},'icLNy':function(lillII,ii1ilI){return lillII*ii1ilI;},'iTHQw':II11ii(0x324,'L7Yu'),'dqquB':II11ii(0x235,'Mu!w'),'ddAii':function(lI1ll1,iIiI1){return lI1ll1==iIiI1;},'EgnaE':function(liil1I,i11ii1,IlIliI){return liil1I(i11ii1,IlIliI);},'xzBhM':function(l1iII1,iiill1){return l1iII1+iiill1;},'pzmrL':function(lIli1i,IIIII1){return lIli1i(IIIII1);},'mMuoR':function(I1lIlI,ii1ill,II1iI){return I1lIlI(ii1ill,II1iI);},'hLjsl':II11ii(0x2a2,'%%J&'),'SchMX':function(llI1II,lIli1l){return llI1II!==lIli1l;},'uJbLv':II11ii(0x1dc,'b*%L')},i1l1i1=await common['getLoginStatus'](cookie);if(!i1l1i1&&IlIlii[II11ii(0x1f7,'h4#W')](typeof i1l1i1,II11ii(0x208,'UQHa'))){if(IlIlii[II11ii(0x27e,'ugy!')]('NYOlW',IlIlii[II11ii(0x32d,'5O)4')]))I1iIli['log'](II11ii(0x213,'%%J&')+lI1Ill),lI1Ili[II11ii(0x2be,'yoQI')]=!![];else{console[II11ii(0x1ec,'VF29')](II11ii(0x268,'uozw'));return;}}try{if(IlIlii[II11ii(0x2c1,'fEqo')]!=='llJJa')l1iIIi[II11ii(0x1e8,'JvN#')]('['+lilIi['i']['name']+II11ii(0x319,'f4Zh')+l1l11I[II11ii(0x276,'Ni]Q')]['giveScoreNum']+'积分奖励成功');else{$[II11ii(0x2d5,'$Gii')]=![],$[II11ii(0x21d,'uozw')]=null,await sendRequest(II11ii(0x32f,'%%J&'));if($[II11ii(0x24e,'b*%L')])return;if($[II11ii(0x2ec,'eKYN')]){let ii1ili=$[II11ii(0x2b8,'xnek')][II11ii(0x2b6,'H^2$')][II11ii(0x2ed,'H^2$')]||0x0;console['log'](II11ii(0x2f7,'h4#W')+$['dwSignInfo'][II11ii(0x309,'7ban')]+',今天'+(ii1ili?'已':'未')+'签到');if(!ii1ili){await $[II11ii(0x2a9,'yoQI')](parseInt(IlIlii['FVUkA'](Math[II11ii(0x1f4,'Mu!w')]()*0x7d0,0x3e8),0xa)),await IlIlii['IprlL'](sendRequest,'usersign');if($[II11ii(0x1d3,'uozw')])return;await $['wait'](parseInt(IlIlii[II11ii(0x301,'JvN#')](Math['random'](),0xfa0)+0x3e8,0xa));}if($['skipRun'])return;$[II11ii(0x220,'h4#W')]=[],await $[II11ii(0x291,'YVt)')](IlIlii['GAruy'](parseInt,Math[II11ii(0x229,'fEqo')]()*0x7d0+0xc80,0xa)),await sendRequest(II11ii(0x2c8,'VF29'));if($[II11ii(0x2c3,'v^aY')])for(let liil1i of $['tasklist']){$[II11ii(0x26a,'BUxN')]=![],$['i']=liil1i;if(IlIlii[II11ii(0x2ae,'yv9B')](liil1i[II11ii(0x302,'YVt)')],0x0))$['id']=liil1i['id'],await tasksendRequest('taskrecord'),await $['wait'](parseInt(IlIlii[II11ii(0x2b3,'$Gii')](Math[II11ii(0x28b,'q&O%')](),0x7d0)+0x898,0xa)),await tasksendRequest(II11ii(0x2d0,'q&O%')),await $[II11ii(0x1e7,'q&O%')](parseInt(Math[II11ii(0x204,'H^2$')]()*0x7d0+0x898,0xa)),$['taskRun']&&(IlIlii['iTHQw']!==II11ii(0x28e,'CyhD')?liIil[II11ii(0x2f0,'fEqo')](IllI1I,liIii):(await IlIlii[II11ii(0x271,'xoV#')](tasksendRequest,IlIlii['dqquB']),await $[II11ii(0x2ba,'cR@[')](parseInt(IlIlii[II11ii(0x283,'fEqo')](Math[II11ii(0x25a,'w0]u')](),0x7d0)+0x898,0xa))));else{if(IlIlii['ddAii'](liil1i[II11ii(0x1e4,'ugy!')],0x2))$['id']=liil1i['id'],await tasksendRequest(II11ii(0x2f4,'xnek')),await $[II11ii(0x2d3,'H^2$')](IlIlii[II11ii(0x32e,'dNkW')](parseInt,IlIlii[II11ii(0x308,'6Pw%')](Math[II11ii(0x263,'vpsO')]()*0x7d0,0x898),0xa)),$[II11ii(0x2fa,'VF29')]&&(await IlIlii[II11ii(0x23d,'D(Vz')](tasksendRequest,IlIlii[II11ii(0x238,'yv9B')]),await $[II11ii(0x1fb,'S%g^')](IlIlii[II11ii(0x224,'L7Yu')](parseInt,Math['random']()*0x7d0+0x898,0xa)));else liil1i['viewStatus']==0x1&&('toAwU'!==IlIlii[II11ii(0x2de,'Mu!w')]?(iliII1[II11ii(0x26d,'9mLW')](II11ii(0x30c,'H^2$')),II11I1['skipRun']=!![]):console[II11ii(0x279,'NBcm')]('['+liil1i[II11ii(0x240,'xoV#')]+II11ii(0x322,'NBcm')));}}await $['wait'](0x3e8);}}}catch(liil1l){IlIlii[II11ii(0x2ab,'dNkW')](IlIlii[II11ii(0x30d,'5O)4')],IlIlii['uJbLv'])?ii1I1I[II11ii(0x264,'cR@[')](IiIl,IiIi):console['log'](II11ii(0x331,'h4#W')+liil1l);}}async function handleResponse(Iiili1,Iil1l1){const Iil1iI=Ilil1i,i1i11I={'LPfOt':function(il1iIl,iii1ii){return il1iIl||iii1ii;},'PUaIF':function(il1iIi,iii1il){return il1iIi!==iii1il;},'zrLga':Iil1iI(0x22f,'uozw'),'dybFv':Iil1iI(0x294,'xoV#'),'RCOVh':'XGwSx','Jlsxe':Iil1iI(0x281,'eKYN'),'IvjUz':Iil1iI(0x286,'xnek'),'lsYeN':Iil1iI(0x315,'5O)4'),'sRwPB':function(II11li,I1l11i){return II11li===I1l11i;},'ZSeko':Iil1iI(0x20e,'CyhD')};try{let iIIiiI='';switch(Iiili1){case'dwSignInfo':if(Iil1l1['code']===0xc8)$[Iil1iI(0x1eb,'6Pw%')]=Iil1l1[Iil1iI(0x290,'UQHa')];else{if(i1i11I[Iil1iI(0x277,'VF29')](i1i11I[Iil1iI(0x31f,'S%g^')],i1i11I[Iil1iI(0x200,'9mLW')])){iIIiiI=common['getErrorMsg'](Iil1l1);if(['火爆'][Iil1iI(0x2ff,'vpsO')](liiI1i=>iIIiiI['includes'](liiI1i))){if(Iil1iI(0x239,'cR@[')===i1i11I[Iil1iI(0x242,'h4#W')])console['log'](i1i11I['Jlsxe']),$[Iil1iI(0x22c,'L7Yu')]=!![];else{llI=new llliI()[Iil1iI(0x320,'Gpk5')]();let lilIIl=i1i11I['LPfOt'](iI1li1,'');const ililIl=lllii1+Iil1iI(0x2c2,'UQHa');return lilIIl=liIli[Iil1iI(0x334,'w0]u')](lilIIl+ililIl)[Iil1iI(0x1d9,'ID%A')](),{'t':liIll,'encStr':lilIIl};}}else console[Iil1iI(0x257,'kYnK')]('进入首页失败:'+iIIiiI),$['skipRun']=!![];}else IlI11[Iil1iI(0x27d,'7ban')](Iil1iI(0x2bb,'ugy!')+iIIIIl);}break;case i1i11I[Iil1iI(0x228,'xnek')]:if(Iil1l1[Iil1iI(0x202,'8KD)')]===0xc8)console[Iil1iI(0x22d,'%%J&')](Iil1iI(0x2fc,'xoV#')+Iil1l1[Iil1iI(0x317,'yv9B')][Iil1iI(0x300,'8KD)')][Iil1iI(0x2ee,'7ban')]+Iil1iI(0x2af,'L7Yu')+Iil1l1[Iil1iI(0x2ca,'S%g^')]['totalNum']);else{if('zTJSO'===Iil1iI(0x20d,'w0]u'))llIllI['tasklist']=I1ilI1[Iil1iI(0x230,'yoQI')];else{iIIiiI=common[Iil1iI(0x332,'vCc5')](Iil1l1);if(['火爆'][Iil1iI(0x2d9,'xnek')](i1ill=>iIIiiI['includes'](i1ill)))console['log'](i1i11I[Iil1iI(0x209,'YVt)')]),$[Iil1iI(0x24d,'UPB8')]=!![];else['实名'][Iil1iI(0x26b,'H^2$')](I1l11l=>iIIiiI[Iil1iI(0x206,'L7Yu')](I1l11l))?(console[Iil1iI(0x256,'8KD)')]('签到失败:'+iIIiiI),$['skipRun']=!![]):i1i11I['lsYeN']===Iil1iI(0x269,'CyhD')?console['log'](Iil1iI(0x23b,'H^2$')+iIIiiI):(llIIli=lIII1I[Iil1iI(0x234,'VF29')](illIlI[Iil1iI(0x282,'dNkW')]),['点击太快'][Iil1iI(0x326,'Ni]Q')](i1l1Il=>li1['includes'](i1l1Il))?illIl1[Iil1iI(0x2fa,'VF29')]=!![]:l1llII[Iil1iI(0x25e,'H^2$')]('奖励领取失败:'+IilIll));}}break;case'tasklist':i1i11I[Iil1iI(0x330,'Mu!w')](Iil1l1[Iil1iI(0x2a3,'L7Yu')],0xc8)?$[Iil1iI(0x1f5,'fEqo')]=Iil1l1['data']:(iIIiiI=common[Iil1iI(0x1e2,'D(Vz')](Iil1l1),['火爆'][Iil1iI(0x2a8,'wF)#')](llIli=>iIIiiI[Iil1iI(0x243,'UQHa')](llIli))?i1i11I[Iil1iI(0x2fd,'7ban')]!==Iil1iI(0x1d4,'yoQI')?IIllI[Iil1iI(0x1e8,'JvN#')](lliilI):(console['log'](i1i11I[Iil1iI(0x215,'3*Gh')]),$[Iil1iI(0x245,'f4Zh')]=!![]):(console[Iil1iI(0x27d,'7ban')](Iil1iI(0x29b,'L7Yu')+iIIiiI),$[Iil1iI(0x24c,'h4#W')]=!![]));break;}}catch(i1i11i){console[Iil1iI(0x2fb,'cR@[')](Iil1iI(0x2a7,'vCc5')+Iiili1+Iil1iI(0x2c4,'Ude#')+(i1i11i[Iil1iI(0x267,'Ni]Q')]||i1i11i));}}async function sendRequest(II11l1){const II11il=Ilil1i,Iil1lI={'McdxW':II11il(0x1f8,'S%g^'),'WfgQJ':II11il(0x2e6,'ID%A'),'mHdJq':II11il(0x1ed,'8KD)'),'GRrIj':'usersign','LJFKd':function(Ilil1l){return Ilil1l();},'AarIa':II11il(0x26c,'UPB8'),'Rxpid':function(iIIiii){return iIIiii();},'WOcEM':II11il(0x23c,'b*%L'),'DCxaC':'txsm-m','XYzWT':II11il(0x20a,'xAk7'),'fSIlI':function(iilll,il1iI1){return iilll===il1iI1;},'xaAmb':'AVLPk','aWAhX':function(IlllIi,iIIiil){return IlllIi>=iIIiil;}};if($['runEnd'])return;let IiiliI='',iii1iI=null,llIll=null,il1iII='POST';switch(II11l1){case Iil1lI[II11il(0x1ef,'h4#W')]:iii1iI=await sign(),IiiliI=Iil1lI[II11il(0x237,'Ude#')],llIll={'appid':II11il(0x280,'L7Yu'),'functionId':II11il(0x314,'Gpk5'),'body':JSON[II11il(0x25f,'%%J&')](iii1iI),'client':'m','clientVersion':Iil1lI[II11il(0x24a,'xnek')]};break;case Iil1lI[II11il(0x2e4,'ugy!')]:iii1iI=await Iil1lI[II11il(0x27b,'T)X4')](sign),IiiliI='http://api.m.jd.com/api?functionId=DATAWALLET_USER_SIGN',llIll={'appid':II11il(0x323,'8KD)'),'functionId':Iil1lI[II11il(0x210,'$Gii')],'body':JSON[II11il(0x22e,'v^aY')](iii1iI),'client':'m','clientVersion':II11il(0x1f0,'xAk7')};break;case II11il(0x2d4,'T)X4'):iii1iI=await Iil1lI['Rxpid'](sign),iii1iI['channelSource']=II11il(0x2e5,'f4Zh'),IiiliI=Iil1lI['WOcEM'],llIll={'appid':Iil1lI['DCxaC'],'functionId':II11il(0x1ee,'3*Gh'),'body':JSON[II11il(0x266,'6Pw%')](iii1iI)};break;default:console[II11il(0x25b,'7#tu')](II11il(0x258,'T)X4')+II11l1);return;}const iilli={};iii1iI&&Object['assign'](iii1iI,iilli);llIll&&Object['assign'](llIll,iilli);const IlllIl={'url':IiiliI,'method':il1iII,'headers':{'Accept':II11il(0x2bd,'5O)4'),'Cookie':cookie,'Referer':II11il(0x2a1,'h4#W'),'Origin':Iil1lI[II11il(0x247,'H^2$')],'User-Agent':$['UA']},'params':llIll,'data':iii1iI,'timeout':0x7530,'httpsTlsOptions':[Iil1lI['GRrIj']][II11il(0x241,'h4#W')](II11l1)?common[II11il(0x288,'6Pw%')]():null};Iil1lI['fSIlI'](il1iII,II11il(0x2d1,'h4#W'))&&(Iil1lI[II11il(0x2e9,'uozw')]('AVLPk',Iil1lI[II11il(0x1d5,'h4#W')])?(delete IlllIl[II11il(0x285,'xAk7')],delete IlllIl[II11il(0x1f6,'xAk7')][II11il(0x26e,'vCc5')]):i1ill1[II11il(0x1d2,'Gpk5')]('签到成功:获得'+iIIl1l[II11il(0x2cf,'q&O%')][II11il(0x297,'CyhD')][II11il(0x22b,'f4Zh')]+'积分,总积分:'+llIli1[II11il(0x1d1,'xnek')]['totalNum']));const II11lI=0x1;let lI1IIi=0x0,I1l11I=null;while(lI1IIi<II11lI){lI1IIi>0x0&&await $[II11il(0x311,'T)X4')](0x3e8);const I1iIIi=await common[II11il(0x1f3,'UQHa')](IlllIl);if(!I1iIIi['success']){I1l11I=II11il(0x305,'NBcm')+II11l1+II11il(0x254,'D(Vz')+I1iIIi[II11il(0x325,'8KD)')],lI1IIi++;continue;}if(!I1iIIi[II11il(0x2f1,'Ude#')]){I1l11I=II11il(0x1dd,'cR@[')+II11l1+II11il(0x2a4,'T)X4'),lI1IIi++;continue;}await handleResponse(II11l1,I1iIIi[II11il(0x2ce,'$Gii')]);break;}Iil1lI[II11il(0x32b,'T)X4')](lI1IIi,II11lI)&&console[II11il(0x222,'IN4W')](I1l11I);}async function taskhandleResponse(I1iIIl,lI1IIl){const iIIil1=Ilil1i,i1ilI={'tUlET':iIIil1(0x26e,'vCc5'),'ltsxc':iIIil1(0x2cb,'NBcm'),'rOUpt':function(iii1lI,i1ilI1){return iii1lI!==i1ilI1;},'SoSKC':iIIil1(0x318,'D(Vz'),'orCkC':iIIil1(0x226,'yv9B'),'ktyNC':iIIil1(0x2b4,'%%J&'),'wSTrK':iIIil1(0x2f8,'6DfQ'),'PaWFy':iIIil1(0x273,'6DfQ'),'mrGwm':'ncYJV','zKpps':function(Iiilii,Iil1li){return Iiilii!==Iil1li;},'mvNgl':'ozmUH','DECKi':function(Iiilil,Iil1ll){return Iiilil===Iil1ll;},'fFSNV':iIIil1(0x2c5,'7ban'),'hfcbz':'bfwVz'};try{switch(I1iIIl){case i1ilI[iIIil1(0x20b,'Mu!w')]:lI1IIl[iIIil1(0x2e2,'6Pw%')]===0xc8?i1ilI[iIIil1(0x306,'yv9B')](iIIil1(0x225,'NBcm'),i1ilI[iIIil1(0x2d2,'IN4W')])?lI1IIl['data']['dwUserTask']?console[iIIil1(0x22d,'%%J&')]('['+$['i'][iIIil1(0x2c6,'9mLW')]+iIIil1(0x2b9,'9mLW')):i1ilI['orCkC']!==iIIil1(0x31b,'S%g^')?IIliI[iIIil1(0x219,'yoQI')](ilI1ll,Iillii):(msg=common[iIIil1(0x227,'8KD)')](lI1IIl[iIIil1(0x2ad,'kYnK')]),console[iIIil1(0x2b7,'f4Zh')](iIIil1(0x303,'BUxN')+msg)):iiilli['taskRun']=!![]:(msg=common[iIIil1(0x1e1,'xnek')](lI1IIl),['点击太快'][iIIil1(0x2f6,'cR@[')](IIliIi=>msg['includes'](IIliIi))?$['taskRun']=!![]:i1ilI[iIIil1(0x214,'7#tu')]!==i1ilI[iIIil1(0x212,'vpsO')]?console[iIIil1(0x2bf,'Mu!w')]('任务领取失败:'+msg):(delete i11I1I['data'],delete l1il1i[iIIil1(0x295,'6Pw%')][i1ilI['tUlET']]));break;case i1ilI[iIIil1(0x1da,'v^aY')]:lI1IIl[iIIil1(0x262,'7ban')]===0xc8?i1ilI['rOUpt'](i1ilI[iIIil1(0x29c,'xoV#')],'bjVOA')?lI1IIl['data'][iIIil1(0x2cd,'UPB8')]?i1ilI['zKpps'](iIIil1(0x201,'JvN#'),i1ilI['mvNgl'])?Illl11[iIIil1(0x233,'vpsO')]('['+ii1lI['i'][iIIil1(0x31a,'Ni]Q')]+']领取任务成功'):console[iIIil1(0x26d,'9mLW')]('['+$['i'][iIIil1(0x2b1,'ugy!')]+iIIil1(0x255,'6DfQ')+lI1IIl['data'][iIIil1(0x2ac,'w0]u')]+'积分奖励成功'):(msg=common['getErrorMsg'](lI1IIl[iIIil1(0x29a,'v^aY')]),[iIIil1(0x28d,'7ban')]['some'](I1l111=>msg[iIIil1(0x1db,'UPB8')](I1l111))?i1ilI[iIIil1(0x1fa,'vpsO')](i1ilI[iIIil1(0x1d6,'ugy!')],i1ilI[iIIil1(0x30f,'ID%A')])?lIIiiI[iIIil1(0x25c,'f4Zh')](II1lil,IIli1l):$[iIIil1(0x32c,'6Pw%')]=!![]:console['log'](iIIil1(0x312,'f4Zh')+msg)):(i1li=li1II[iIIil1(0x1e1,'xnek')](IliI11),['火爆'][iIIil1(0x1e0,'xoV#')](liiI11=>lI1Iil[iIIil1(0x274,'eKYN')](liiI11))?(lilIiI['log']('❌\x20此账号活动火爆不继续执行任务'),i1l1I[iIIil1(0x29d,'w0]u')]=!![]):(IiilIi[iIIil1(0x31e,'xAk7')](iIIil1(0x20f,'w0]u')+IiilIl),iii1Ii[iIIil1(0x2e7,'cR@[')]=!![])):(msg=common[iIIil1(0x231,'ugy!')](lI1IIl),console[iIIil1(0x2eb,'6DfQ')]('奖励领取失败:'+msg));break;}}catch(ililI1){console[iIIil1(0x333,'$Gii')](iIIil1(0x2e1,'w0]u')+I1iIIl+iIIil1(0x218,'Gpk5')+(ililI1[iIIil1(0x2fe,'w0]u')]||ililI1));}}async function tasksendRequest(IIii1i){const IlllII=Ilil1i,i1ili={'KQaar':IlllII(0x2a6,'wF)#'),'njPUK':function(lI1II1,i1ilII){return lI1II1(i1ilII);},'Bhugs':IlllII(0x29e,'7ban'),'ftyzY':IlllII(0x2d6,'6Pw%'),'NpVrm':IlllII(0x2bc,'UPB8'),'BwIqx':'*/*','Obyyo':IlllII(0x236,'kYnK'),'tzQyk':function(iIIii1,IllIi1){return iIIii1!==IllIi1;},'VuuOE':function(lilIII,Ii1ilI){return lilIII<Ii1ilI;},'IJBMm':function(II11i1,iliIil){return II11i1===iliIil;},'zZbkT':IlllII(0x307,'w0]u'),'cNksR':IlllII(0x1e5,'vpsO'),'ajDuO':function(iliIii,lill1i,il1li){return iliIii(lill1i,il1li);},'ENDdj':function(iIIill,iilii){return iIIill>=iilii;},'nObVf':IlllII(0x1f2,'7ban')};if($['runEnd'])return;let Iiill1='',I1iII1=null,lilII1=null,iill1=IlllII(0x27a,'D(Vz');switch(IIii1i){case IlllII(0x284,'fEqo'):enc=await i1ili[IlllII(0x2f3,'xAk7')](sign,$['id']+'1'),I1iII1={'id':$['id'],'agentNum':'m','taskType':0x1,'followChannelStatus':'',...enc},Iiill1=IlllII(0x23f,'yoQI'),lilII1={'body':JSON[IlllII(0x2da,'wF)#')](I1iII1)};break;case IlllII(0x2e0,'7ban'):enc=await sign($['id']),I1iII1={'id':$['id'],...enc},Iiill1=i1ili[IlllII(0x21f,'UPB8')],lilII1={'body':JSON[IlllII(0x265,'yv9B')](I1iII1)};break;default:console[IlllII(0x2fb,'cR@[')](IlllII(0x30a,'D(Vz')+IIii1i);return;}const iii1l1={};I1iII1&&(i1ili[IlllII(0x327,'ugy!')]==='SiBhn'?l11i1i[IlllII(0x287,'f4Zh')]=!![]:Object[IlllII(0x250,'H^2$')](I1iII1,iii1l1));lilII1&&Object[IlllII(0x21e,'kYnK')](lilII1,iii1l1);const IIliIl={'url':Iiill1,'method':iill1,'headers':{'Host':'dwapp.jd.com','Origin':IlllII(0x260,'xoV#'),'Connection':i1ili[IlllII(0x2dc,'ID%A')],'Accept':i1ili['BwIqx'],'User-Agent':$['UA'],'Accept-Language':'zh-cn','Referer':IlllII(0x310,'Mu!w'),'Accept-Encoding':i1ili[IlllII(0x1d8,'S%g^')],'Content-Type':IlllII(0x28f,'BUxN'),'Cookie':cookie},'params':lilII1,'data':I1iII1,'timeout':0x7530};iill1===IlllII(0x2b0,'fEqo')&&(i1ili[IlllII(0x2dd,'uozw')](IlllII(0x2cc,'7ban'),IlllII(0x259,'UQHa'))?(delete IIliIl[IlllII(0x249,'VF29')],delete IIliIl[IlllII(0x296,'b*%L')][IlllII(0x1ea,'w0]u')]):(llIlll=lliii1[IlllII(0x2e8,'JvN#')](Iiii1[IlllII(0x23e,'H^2$')]),lIIili[IlllII(0x22a,'uozw')](IlllII(0x232,'xAk7')+IiiIil)));const II11ll=0x1;let liiI1I=0x0,ililII=null;while(i1ili[IlllII(0x1f1,'$Gii')](liiI1I,II11ll)){if(i1ili[IlllII(0x217,'6DfQ')](i1ili[IlllII(0x1fc,'L7Yu')],'cVVfA'))l1lIl1=IiiIlI['getErrorMsg'](Iilli1),['火爆'][IlllII(0x2d7,'Mu!w')](il1ll=>I11iI1['includes'](il1ll))?(l1lIil[IlllII(0x2a5,'ID%A')]('❌\x20此账号活动火爆不继续执行任务'),IiiIli[IlllII(0x26f,'CyhD')]=!![]):(iillli[IlllII(0x333,'$Gii')]('任务列表失败:'+I1l1Ii),I1i11i['skipRun']=!![]);else{liiI1I>0x0&&await $['wait'](0x3e8);const i1ilIi=await common[IlllII(0x30e,'JvN#')](IIliIl);if(!i1ilIi[IlllII(0x261,'Mu!w')]){ililII=IlllII(0x211,'vpsO')+IIii1i+IlllII(0x1ff,'cR@[')+i1ilIi[IlllII(0x2d8,'v^aY')],liiI1I++;continue;}if(!i1ilIi[IlllII(0x285,'xAk7')]){if(i1ili[IlllII(0x27c,'kYnK')]===IlllII(0x2f9,'h4#W')){ililII=IlllII(0x316,'xnek')+IIii1i+IlllII(0x292,'yoQI'),liiI1I++;continue;}else delete ll1i1[IlllII(0x203,'w0]u')],delete IIli1i[IlllII(0x32a,'xnek')][i1ili[IlllII(0x304,'6Pw%')]];}await i1ili[IlllII(0x321,'YVt)')](taskhandleResponse,IIii1i,i1ilIi['data']);break;}}i1ili['ENDdj'](liiI1I,II11ll)&&(i1ili['tzQyk'](IlllII(0x328,'$Gii'),i1ili[IlllII(0x2b5,'uozw')])?console['log'](ililII):llliii[IlllII(0x2a5,'ID%A')](IllI11));}async function sign(i1iiI){const I1il1I=Ilil1i,i1ilIl={'jpheu':function(iii1li,Iil1i1){return iii1li+Iil1i1;}};time=new Date()[I1il1I(0x2c9,'S%g^')]();let llI11I=i1iiI||'';const Il1i11=time+I1il1I(0x299,'7ban');return llI11I=cryptoJS['MD5'](i1ilIl['jpheu'](llI11I,Il1i11))[I1il1I(0x2db,'8KD)')](),{'t':time,'encStr':llI11I};}var version_ = 'jsjiami.com.v7';
// prettier-ignore
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) }