1 Star 0 Fork 0

xiong.leo/faker2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_fruit_draw.js 45.51 KB
一键复制 编辑 原始数据 按行查看 历史
Faker 提交于 2023-10-29 18:37 . update
/*
东东农场幸运转盘
cron "55 5 * * *" script-path=jd_fruit_draw.js, tag=东东农场幸运转盘
*/
const $ = new Env('东东农场幸运转盘')
var version_='jsjiami.com.v7';function I1ilIiIi(){const ili1IIii=(function(){return[...[version_,'LjlusCjgiuaudmqRiDME.nEXcQJoWmBl.CSQvGr7==','WP8fWPtdO8kMkeldQW','b8k2na','FSoQW5lcR8kHW7zq','xCkpWR1I','qCkusq','WR13ctvtk8kvW6y5WQudi8obWO8MW4izW4VdTuS','hmo/WPRcNZRcJrPsWPaWW4qWgca','pdZdPWay','W7jiW4WEWRO','WQSMWQ4','A1VdTgfTW5q7W6a','rCo2iexdTG9muSk/W5dcRaO','EtldG8k0zG','W5TGgdpdUW','WOhcGCkvWOhcNmkQWRtcSIjvWR5ZW6W','WRNcSbn5nvWRFmoPoSk6xgFdNCkPxCo7WPBcQ1PJhCk5WOPFWO5CbCoLvCkIWQNdHa','c8kqWQbFdqnYWR8/WOroWOW','Emkoq8kV','nSoHkHGSo3vlfCkHlgDLW4KjWOKDvIlcQG','vSk9hNxcGq','WQ8JkuyA','WORcG8okumkdDvxdGLe2','xehdG3S','W5ZdNCoa','W7tdMSol','W5RdKXldGG','cIZcQtas','oslcIIKoW73dJmkPW58','5lM55lIF6lwB5y6Y','W5PcjJtdTW','W6RdScbkW4pcVK7dQc3dJ8kpvgqLW7XvxYFdQZ19d3TlhmkBW63dKbDc','i8kmWPH/W6xcOq','5lUJ5lQX5P215yMH5zMI6kYC6zwu5PAa5O6n5lMQ56Q+77YO6kY75QcF5P+N6iA56lQL6k2I5AwH57+b57Qm5OcE5yAo','WPNdHa7dQSkTW5PqpmofW5TKvta','WObWgdDUCmoxWQW','d8k4j0e','W6NdS1eNAGL9z8otnSkNpvu','nSk7WQH5W6a','lCoHlaeXzJmcdq','W6tdPCoMW6hdHa','rmkZtWCR','DmkfWQ5/WRm','W7FdVrddGe4','WRFcMContG','WRTIeca','xd7dOfa','A1ON','v8kgxmoG','s8kMW6GNWR4','W5ddG8oZqmkYC1tdJG','W43cHutcKCoVWO8','fwJcQXfFWQngCSohW74UzrC','W7pdHSocW4hdIq','kc3dGZPmEmkB','v8o6WR59eq','laJdQMTy','W51XW68QWR3cS0VdNmoIkf/cLL3cKJTyW5PEaWxdUSkphSkKW6r/AGSVaCovBGO9g0JdVZ1SWR3cRrFcGSotWPpdLSoXbvdcSJv2t0JcGbCHDCoYD8ovcrxdRLuHhCkBc8keWQZdQLRdVe9WWR7dPSkgDSoavCoGcq','FCo3W5lcP8kZW7i','hJhdJtGB','lCkSWRLdW48','5B2V5yU85OMp5Awe5Q2s5PA077+z','W4FdNCoZW4ldRW','W7BcQSkJxmkB','WR0xWPJdPq','W6RcLmkGFmkJ','5OUw5lU0772j','W5VdQ8ospNddHG','W47cGCkOw8kT','WQjGW5j4WOddQSo8xrJdQ1lcMH7cIeHGWQpcUuagjKe','AwC4rSou','5A6Y5OUW5lII5yQM5AE16lECiG','wCoiW70k','h8k4ieVdJaj2uCkU','isNdMHC','yKG0Cq','v8owW74KtG','W7a7WRpdOmkcW6ZcRq','5A2S5OQ65lU35yI+5AsA6lEviW','AMNdT8ohW5W','W5ldMq/dLa','kSoFcSknECoe','d8krm0tcRa','W4RdNmoqW5FdMG','WQDvWPxdNSko','gtZdIf1O','F8otWPLcmG','DSo/W7tcSmkL','wSkTfvtcNmk1','DmkyW485WQtdRa','sSkbWQPSWOlcKgdcO8onWQC9dq','umoDW5SLAa','W5BdJCooumkVDW','W5JcLKtcVCoXWPS','W43dP8ocxCkb','WPfMpI5P','W4JdHmocamkIrvxdMv09','W4FdPCoh','xSoJW4FcNmkk','W7jMds3dGW','W7VdP3ldQmo+','W4NcH0BcSmo5','fmk7n1BcHq','mSkoWP5qW5i','g8ogWQtcKHa','DSkpW4KqWRBdV2C','yCklW48hWRi','WRCgWPVdKSkE','DhZdJcNcHq','W7bJW6inWOO','rILXWRpdQ8oNW7GKCSo/WQKGCq','hSoXWOpcJG','rmkWWQTwWPe','W5FdOmoGW5pdN8opW4/dGIe','WQ/cH8oaxbRdP8k3WQe','D2JdILFcHG','WRpdQwpdJgu','ocBdI3Te','xKpdHq','WPldSbldMa','E8oLWRzloW','rhSpr8oKbaW','W4rlW5aGWRK','W5tdTCoGW4NdLa','W5JdNWldJNPaA8kksConWRORW7n9amoSWOdcUNO','BwBdQq','wmkFrHek','W7POda','WR7cKCorFmkF','W6FdU8o9W5hdMmonW6ZdOa','xCkgrCoK','W6zw5AEa6lA0W4LP5y6W5zMUWQyz','tCkxxHixW4bmW6/cMSkHzCoJyZNcL8kkiCkvWO8iWQrWW48rf8olhqlcOSoSW43dGSkr','bCkJb3RdVq','W5hcV0dcUCoE','WQ9Thaj5','A3eIq8o2','EYddN2iu','vSooW7qgtwj/WQm','EIhdNCkkCmow'],...(function(){return[...['x8kXl0/cNCkIc8kRcLRcKSowv8kb','uCk6BvJdGa','F8kdW54FWPNdQMTT','WQicWOxdOCkBCWdcOCoWvSouwLZcRSkXAJ3dULhcRGbtWQZdNLJcNKxcLCo8ya','W43dUSo2W5/dIq','wSkMW6GHWOi','x8kixmo1j0/dOsFdJSktdCkDWRGo','W5xdGmovW77dMCo7','kCk3WO7dMSoUWQq','W6VcKmkSwSkqFa','WQa6WOhdOSk6','W5zQW7qXWQFdRow2LUwNGUAxHMCgW4i','o8oKmtSM','b8kXymkwpq','oSo0kGK','FSkFvSoWjmks','W6pdVuZdQSoi','yg7dG8oJW5i','W4FcPmkKW5JcHG','WO/dOuJdIK8','y8oNzGldK1u7WPWGsSkpWOy','uMyjw8o6','x8ovW6SIsLy','y8kyEmkxeq','W6JcP8kixmkx','rmktwG4nWPKcWRtcKCkRASkIjYFdLSkoACkBWPGcWReRWOiegSoewX/dP8kRWONcPmovx3hdO8oltSkdWRfSWPxcGW','WPqkWRddOmkj','oYNdHbK/ySkbWQVdTvy/W5y','uSk9l1lcJSk5bSkbb0JcO8ofxSktDCk4WQPmWRC','fmoXWPRcIG','W4NcH0xcMmoZWRWbb8oA','zHNdOKKo','nqFdVh1f','WOiBWPddLCkn','W5BdU8oQzHS','WR0/WQ/dPmkI','5A2K5OMR5lQe5yQG5Awa6lwDW4u','y1SYxCoejG','dSk3jq','W6NdSSoOrbi','W5HKW6S','W53dNqldHG','W67cJmkwqCkrA0L0WPFcTNyJa8op','W77dNmocrcBdVmkn','5OUR5AAc5AwV6lsuW4S','ahhLPQlOTifhWRRLJ6hLM73cSSk1','vCoFWPf+bSkGWQy7','qd7dP1adW6GhxSoGW7qUFJxdUG','FCkfW5O','WQpcMColxmkG','W4JdHMNdKSooW690fdjjiHtcL8obaGtcSSo0WQ4','WOdcOCo8DSkc','t0/dHgO','u8knW444WOm','WQasWPa','zmk1nCkzuHW','WPBcM8ktbCo2q0ddMeehfq','psBdKvDt','W73dG8odW5RdVW','zSkzW7WYWOC','lSk0petdRq','5Q295P2t5l6c','ACkZm8kKuKfKWQXywu4nWOyXWQVcKYlcV8k7pG','DCoKW5tcICkO','gJVdKGa3ASkcWQC','sazLWQ3dGa','dbFcNIRdGLToWOtdOhnihmol','W7RdUCoTyWe','Bv0SASoa','qmkisq','fCk9WPnLW5C','W5JdPSogW4RdVW','x8kit8oeme8','W4hdGSow','W4tdLNO','ACklzmkMamkegMf/pa','5A+O5OUy5lUQ5yMG5AwH6lA6xG','WRdcTbDLlWvLj8oSoSkGb3RcGSkNtSo+W5RcUHH/fCoJW5fhWOyxcmoPv8oPW7pdIqyGW5ZcVI0VimooWQFdPefYl8otWQRdOGmNsIidn2ldVCooA8kCWQhcSfqojhddHCoHW4aBBCo8DKtcTmomW67cUSkzWQBdQ0Ppra','umoEWPu','WR45WRddLCk8','WO0zWQhdO8kG','WQbMW453WPe','W4/dNSokwmkW','WPugWPRdM8kE','BCkOia','W4JdG8ouqmkLAepdQLaYfCo0hCoK','W5LQW68UWQVdUX3cSmoMjKxcGv3cKW','zSkur8kKhmkbiMfIpvm','WPRdRSorg1FdVSow','6l205Rk45lQT5AsE5AA977Yw5lU65lUH6yof5RoY5P2Y5OIQ5yMiWRNdQLG','WQJcRN4qWPRcRKVdRwVcQG','W43dQ8omlhG','WOVdNtVdV8oF','s0ldLmoaW40','aSkQh0/dVWjS','kCohc8k5CW','W67cJmkf','ooIVM+MfR+AuM+EBJ+w/R+IoT+wnGspcO8k7WQ3dUKpdJKhcHCk+WRn6oCoOW6XLpmk2lfBcOSoVWPy3W7ZdJ0r0m8kdjuyymLrngCk7kJKPWRrmzG','u8oFW4xcHCk1','WP5GW4TiWQpdKSoEottdOvhcGYddPq','W5LQW7W','xKNdQSoGW5C','m8kTlfpcIq','WOFdJ3JdLX7cG3S','dmkWkLJdLa','hbhdSIS+','W6rzWPFdPmkgkLVdP8oZv8kpruVcU8kTEGFcRLxdTW','Cmkir8oQk1JdQY7dOG','WROeWPJdQ8knb07dO8o5','vehdIG','W5nQW6KFWQ/dQGW','FwRdIf3cNW','vwJdR2VcNW','WQDMdsLbCSoF','WOhcGCkFWOxcM8kUWRpcLqv8WQ5KW6i','tshdO0Gd','xSkTpa','W63cOhJcPCoS','W4JdU8oMW47dLmoAW5/dPZdcKMLzW4/dOa','wdddOe81W7ulB8oRW7avBZW','ECkUBSohfq','xYfsWORdMW','rSkyWQf/WRZcGxBcSSogWRCGexldRCk/W6hcKCo3zLm','W7xdPt1o','c8o4psKL','FhtdGhjUWQBdGCkRW63dMuZcIG','5Q+05PY55l2N','6l+L5yAf6Awp6AgY5AE16lECiG','nmoCWQRcNJa','z8kSzL1Mogilo8k6kZfp','CwhdTxZcJq','FdZdI8kI','tCkoFCkWkW','W4xdPmoIW5BdLa','WRiLWQpdU8ks','x8kXpa','W6pdTcrwW5NdPWdcSYJdJ8kvd2SKW6PFawBdQhvRhImvgSkEWQRdNvqpBmoTW4O','5Q6f5P6U5l6i','W6pcMKS6W7JdLSoNW4mvW7xdSmopySkbW7ZdS8owWO/cQfxcTmkQWRLkaK3cMSojWOVdIG','6l6f5yEW6AEi6AcD5AwU6lsKDG','W7hdScztW57dOWJcOtG'],...(function(){return['W5JdHSotW4pdMCkMWQZdSH1zWRLjW4nhr3xdTCk+mtekW7fys8oGwW0uW7NdI8kOWOXJE3NcLCoHW6ugW7CPWOzPkSoilfu0BCkTDSkrzaFcMJ4vWOucw27cQ0X2pmk1W7TZW5JdUaFdMtBcLmo5jgnWWPGUatWglq','m8kMlhZcLai','wCkSnSkAuW','fmk6Emk7nCore37cVa','WQLnWQFdVmkY','z2ddOG/cJ8k9','6l2d5yEq6As66Agq5Aw76lA1W5G','WQfGW4rtWOZdNSoACG','WOnYW4Hv','mSo6oq','WQqznw8O','WP1QW7TsWRm','5y2t5ycHxW','W63dS1SMAa8JrCoWbCkqfG','xmkvrWqBW61mW7BcLG','W6ZdPtLF','W5xdKXhdON5B','sKRdSCoMW7O','6l+e5ys26As56AkY5AsY6lAulq','W4hdJ8oLESk5','ySkMm8k3sq','FSo8W5hcKmk0','DMxdRXtcSa','wCkTmvlcMCk9g8ogavtcKCkBrmof','WR9JWPRdSmknkSkBWPurwHq','wmo5WRDDhq','yL7dVJNcQa','WPmWWPNdGSkN','BSo7WPXEaq','WPH8W4y','b8k8n23dJq','brddLsCd','W5BdJ8o/qIm','DSkREY0x','C8kJWPDEWO0','WQ7dKf/dUei','nmkBWP1tW6tcOK9Yqxm','EIxdISkHAG','W7ldR8o3cLG','zSkIm8kCfaG/','WOpdK33dIey','5OI/5AA15AEt6lsqW5G','isZcNGCOW6y','E8kqWPfgWRu','W5HllYddKa','W7ZdK8oidM4','cmkNzCk1nCoTc1dcSCo5mmkbW7rR','W4ldUCoSmhRdNmoa','CmkAW40yWR7dQgD8WRpdV3dcPJ5oECkgps0YW7/cG8o0mCkdW4euWPu0W7qEW6OXCG','wSkuzSoUjLG','f8o1WPRcO2RcJbC','W7hdLSoEW73dSa','wSkbWQ1M','FrjLWRZdJa','WPP6W4jkWOZdNSoACG','WOaYWQ7dLCkTc3RdIq','5PY26kYA5lMc5yQo5AE06lEjma','m8oMoq','W63dV8oAg1m','m8o/WOhcGdBcMILvW4O','zCknW64wWOy','W57dNCoqW5ddHCoYW7FcTb9dWQG','p8krWOf8W7G','W5JdHSotW4pdMCkMWQZdSH1zWRLjW4nhr3xdTCk+mtekW7fys8oGwW0uW7NdIW','p8o2kGePAc4neCkIgJLKWOyxWOTCrYa','hMBcObvqW4meBmoXW4eU','W6jMgcZdVSk1WPSxkMG3','5A605OI+5lMw5yQ/W5VMI5FLPkRMR5xML5hVVkC','WP9hiGfLu8oVWO4','5OQ75lIe772A','W4JdG8oh','W4ZdI2S','WRyNWQBdGmke','W4pcUu84W54','WQWXWQBdJCkA','W4BdHmo6cxq','BCkjqSkkamki','W7JcR1pcMmoW','W4ZdSCoHtZO','nG3dH2XjW48qW7OrkSo3WQe','5lI05lQP5P6H5yQe5zII6kYV6zsA5PAP5O6s5lID56MC77+b6k+55QoY5P2j6iw66lQm6k2g5AwK57Ye57Iz5OcT5yAx','i8ozWOGtWRJdN0vUWRi','cmkiW4eMrSo1W7e4F8ojWPSawq','WQyzWOxdPCkno1BdJCo0wmootvZcRW','tCkxxHixW4bmW6/cMSkHzCoJCwFcJ8ktESkyWP0cWQ5PW40ucCogeqldRCkJWOpcImoF','qtXWWRhdLSoV','W7tdVXVdG2m','44k55O2156sN44kQW5VdQw8wpL/LTO/LPzxMLRm','pslcIYm3W6C','wIldG8kVuG','BmoKW5pcGCktW71xmt9YcrtdMq','W6/dVSohzmkO','5OQ75Aw/5AwX6ls1WPS','W6RcNMSRW7JcH8keWOukW67dRCoF','W43dGSoeuCk4','W4RdGSofW57dOW','qmkFm1RcOG','oSk7oq','WO0oWOJdP8kg','5A+q5OM55lMJ5yQ5eEAiNUwKRUAUUEAuVU+9NG','W5ZdNCotW4FdJ8oUW7RcNHLxWQnEW4ng','WQyzWPy','xCkor8kKiq','jSoVfmkNuG','iYFdGWyCECkwWOhdRL80W5hdUCk2','xbBdVCkssG','WP3dSbe','5B6u5yIe5OM05AEH5Q+P5PEt77+0','fW3dOH4r','sdddP0u','sSobW54UBW','umkitmoK','WQi7WRVdUSk7W4q','WPDTmZry','W73dH8oEAdNdTW','6l6u5ysT6AsH6Ach5Awi6lsUW4m','WOTRWRNdICkS','WQxdKgFdUMG','WOxdHhO','W4FdPCohgM/dHW','smkgwH8','ASkJWOnqWP0','gSo0WRhcNYVcKWTZWQC/W58+','WQZcOrb+cey6Bq','W5JcLKtcR8o5','aSounSkHzW','W6pcMKS6W7JdLSoNW4mvW7xdSmopySkbW7ZdS8owWO/cQfxcTmkQWRLkaK3cMSojWOVdIGqkqxSWWOFcTahdSCojWOTGtCoTfmowwmowW4BcQmoXWOq7W4ZcIhVdICoAWQ/dNJJcP8oLWPddOCk5W7ZdOutdRdGYWQVcSSoAemo/WQWRaCkaWQddHmks','uSkpWR4','W6JdKCoFW4NdVa','W6JdJtddJ2G','vK3dLSok','lJJdHX4qAmkoWRBdR1e0WP3dPmoOpr/cKmoEcJ4uCGZdM8ocr1xcOMz6w0/cPG','44cy5OYR56sk44ow6k6e5yAN6i+H5y+E5lQG5lMu6lsq5y+r5lQHW4K9ifXFlwNNMyBMJjZKVj7NL4NcQar5C00N55U45lQD5lMr56205yQ36i+u5yYw','Ax3dUGVcMCo1W77dH8oXW4e/aCo2WPfMxCkFWRddGd3cSSoVW4/dRd96WRi1s8ocW7D4W4eDCColubzcBNxcTCoP','W4FcLvZcUCo/WPW','eSkmsCkWka','W4ldUCoUmhNdKa','xuddMW','bqZdQdy8sCk6WOu','mSk1ofVcNG'];}())];}())];}());I1ilIiIi=function(){return ili1IIii;};return I1ilIiIi();};const l1I1111I=l1111il;(function(il1IilI1,IIl1iIIl,l1I1IiI,lI1Il11i,lIiIIiII,liiiIi,IIli1II1){return il1IilI1=il1IilI1>>0x4,liiiIi='hs',IIli1II1='hs',function(iili1I1I,ll11ilI1,IIlillll,iilII1II,IiIlIi){const lIll1il=l1111il;iilII1II='tfi',liiiIi=iilII1II+liiiIi,IiIlIi='up',IIli1II1+=IiIlIi,liiiIi=IIlillll(liiiIi),IIli1II1=IIlillll(IIli1II1),IIlillll=0x0;const ilI1ll11=iili1I1I();while(!![]&&--lI1Il11i+ll11ilI1){try{iilII1II=-parseInt(lIll1il(0x2a8,'Ue3g'))/0x1*(-parseInt(lIll1il(0x1d5,'n2%J'))/0x2)+parseInt(lIll1il(0x1e9,'89c1'))/0x3+parseInt(lIll1il(0x288,'S$*$'))/0x4*(parseInt(lIll1il(0x32e,'Yst$'))/0x5)+parseInt(lIll1il(0x1e6,'9IKQ'))/0x6*(parseInt(lIll1il(0x211,'c4bs'))/0x7)+parseInt(lIll1il(0x292,'Vjsb'))/0x8+parseInt(lIll1il(0x236,'VX8V'))/0x9*(-parseInt(lIll1il(0x264,'sJWS'))/0xa)+-parseInt(lIll1il(0x2d1,'F]Or'))/0xb;}catch(iiIl1l){iilII1II=IIlillll;}finally{IiIlIi=ilI1ll11[liiiIi]();if(il1IilI1<=lI1Il11i)IIlillll?lIiIIiII?iilII1II=IiIlIi:lIiIIiII=IiIlIi:IIlillll=IiIlIi;else{if(IIlillll==lIiIIiII['replace'](/[LduBClWrQgDqEMRSnGJX=]/g,'')){if(iilII1II===ll11ilI1){ilI1ll11['un'+liiiIi](IiIlIi);break;}ilI1ll11[IIli1II1](IiIlIi);}}}}}(l1I1IiI,IIl1iIIl,function(Ilii1iIi,liI1II1i,iiill1iI,li1lIi,lIIll1l1,II1III1,I1l1li1l){return liI1II1i='\x73\x70\x6c\x69\x74',Ilii1iIi=arguments[0x0],Ilii1iIi=Ilii1iIi[liI1II1i](''),iiill1iI=`\x72\x65\x76\x65\x72\x73\x65`,Ilii1iIi=Ilii1iIi[iiill1iI]('\x76'),li1lIi=`\x6a\x6f\x69\x6e`,(0x144f47,Ilii1iIi[li1lIi](''));});}(0xcd0,0x5810d,I1ilIiIi,0xcf),I1ilIiIi)&&(version_=l1I1111I(0x2b3,'RBQJ'));const llliiII1=$[l1I1111I(0x1c1,'Ue3g')]()?require(l1I1111I(0x1d0,'MpAm')):'',iIiIllI1=$[l1I1111I(0x30e,'XG6o')]()?require(l1I1111I(0x1da,'S$*$')):'',li1iiil1=require(l1I1111I(0x2ba,'RkjX')),lil1ill=require('./function/jdCommon');let iIIliI1l=!![],lIII1lii=l1I1111I(0x209,'RBQJ'),lll1lII=process[l1I1111I(0x276,'MpAm')][l1I1111I(0x32c,'$K0p')]?process[l1I1111I(0x1af,'@*Jy')][l1I1111I(0x1b3,'CH4n')]:'1',Ilil1i1I=[],il11ii11='',Iiii1li1;if($[l1I1111I(0x259,'4pu6')]()){Object[l1I1111I(0x214,'!)tN')](iIiIllI1)[l1I1111I(0x2be,'hHQ9')](Iilil1il=>{const l11lii=l1I1111I;Ilil1i1I[l11lii(0x1d6,'Kt1u')](iIiIllI1[Iilil1il]);});if(process[l1I1111I(0x324,'sQ%&')][l1I1111I(0x321,'6yNL')]&&process[l1I1111I(0x1c2,'Vjsb')]['JD_DEBUG']===l1I1111I(0x2ab,'Ue3g'))console[l1I1111I(0x1a3,'#q)2')]=()=>{};}else Ilil1i1I=[$['getdata'](l1I1111I(0x245,'8dv)')),$['getdata'](l1I1111I(0x318,'CH4n')),...iil1IllI($[l1I1111I(0x22d,'Yst$')](l1I1111I(0x2bb,'XG6o'))||'[]')[l1I1111I(0x278,'hHQ9')](Ii1i1li=>Ii1i1li['cookie'])][l1I1111I(0x2e2,'JkuB')](i1Ili1li=>!!i1Ili1li);function l1111il(_0x4630c2,_0xd7114c){const _0x597d2d=I1ilIiIi();return l1111il=function(_0x3588ce,_0x545ade){_0x3588ce=_0x3588ce-0x194;let _0x1ca7b6=_0x597d2d[_0x3588ce];if(l1111il['avbJoj']===undefined){var _0x589d3c=function(_0x2f281f){const _0x528273='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4208e7='',_0x30bb5b='';for(let _0x1ec1b0=0x0,_0xa6055f,_0x5725bd,_0x545dc7=0x0;_0x5725bd=_0x2f281f['charAt'](_0x545dc7++);~_0x5725bd&&(_0xa6055f=_0x1ec1b0%0x4?_0xa6055f*0x40+_0x5725bd:_0x5725bd,_0x1ec1b0++%0x4)?_0x4208e7+=String['fromCharCode'](0xff&_0xa6055f>>(-0x2*_0x1ec1b0&0x6)):0x0){_0x5725bd=_0x528273['indexOf'](_0x5725bd);}for(let _0x316085=0x0,_0x5b1936=_0x4208e7['length'];_0x316085<_0x5b1936;_0x316085++){_0x30bb5b+='%'+('00'+_0x4208e7['charCodeAt'](_0x316085)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x30bb5b);};const _0x4da9d5=function(_0x168632,_0x6f9b94){let _0xfccf2a=[],_0x53c988=0x0,_0x400467,_0x1f541a='';_0x168632=_0x589d3c(_0x168632);let _0x41cfb2;for(_0x41cfb2=0x0;_0x41cfb2<0x100;_0x41cfb2++){_0xfccf2a[_0x41cfb2]=_0x41cfb2;}for(_0x41cfb2=0x0;_0x41cfb2<0x100;_0x41cfb2++){_0x53c988=(_0x53c988+_0xfccf2a[_0x41cfb2]+_0x6f9b94['charCodeAt'](_0x41cfb2%_0x6f9b94['length']))%0x100,_0x400467=_0xfccf2a[_0x41cfb2],_0xfccf2a[_0x41cfb2]=_0xfccf2a[_0x53c988],_0xfccf2a[_0x53c988]=_0x400467;}_0x41cfb2=0x0,_0x53c988=0x0;for(let _0x47a3bd=0x0;_0x47a3bd<_0x168632['length'];_0x47a3bd++){_0x41cfb2=(_0x41cfb2+0x1)%0x100,_0x53c988=(_0x53c988+_0xfccf2a[_0x41cfb2])%0x100,_0x400467=_0xfccf2a[_0x41cfb2],_0xfccf2a[_0x41cfb2]=_0xfccf2a[_0x53c988],_0xfccf2a[_0x53c988]=_0x400467,_0x1f541a+=String['fromCharCode'](_0x168632['charCodeAt'](_0x47a3bd)^_0xfccf2a[(_0xfccf2a[_0x41cfb2]+_0xfccf2a[_0x53c988])%0x100]);}return _0x1f541a;};l1111il['ckaiRG']=_0x4da9d5,_0x4630c2=arguments,l1111il['avbJoj']=!![];}const _0x34f5fc=_0x597d2d[0x0],_0x3c5ef1=_0x3588ce+_0x34f5fc,_0x3dcd14=_0x4630c2[_0x3c5ef1];return!_0x3dcd14?(l1111il['QxKgxG']===undefined&&(l1111il['QxKgxG']=!![]),_0x1ca7b6=l1111il['ckaiRG'](_0x1ca7b6,_0x545ade),_0x4630c2[_0x3c5ef1]=_0x1ca7b6):_0x1ca7b6=_0x3dcd14,_0x1ca7b6;},l1111il(_0x4630c2,_0xd7114c);}!(async()=>{const i1iIiili=l1I1111I,iliIl1I={'zENmF':function(I1iIiI1I,Ili1I1II){return I1iIiI1I==Ili1I1II;},'AzFrE':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','SCyWA':i1iIiili(0x269,'NbgC'),'ZJrVp':i1iIiili(0x2f0,'S$*$'),'ZgTZN':function(IiiIilI,liliiIli){return IiiIilI(liliiIli);},'MqdiU':function(IiliiiIi,lll1iI11){return IiliiiIi+lll1iI11;},'GTDYH':function(II1111iI,I1Il1I1){return II1111iI+I1Il1I1;},'xAJoP':'__jda=','Emodu':'1xxxxxxxx.164xxxxxxxxxxxxxxxxxxx.164xxxxxxx.165xxxxxx.165xxxxxx.1xx','jzBJQ':function(lI1i1111){return lI1i1111();},'kKLob':function(I1lIilI1,llI1iI11){return I1lIilI1+llI1iI11;}};if(!Ilil1i1I[0x0]){$['msg']($[i1iIiili(0x2ec,'TWtl')],iliIl1I['AzFrE'],iliIl1I[i1iIiili(0x26a,'c4bs')],{'open-url':iliIl1I['SCyWA']});return;}for(let I1i1IIIl=0x0;I1i1IIIl<Ilil1i1I['length'];I1i1IIIl++){if(Ilil1i1I[I1i1IIIl]){if(i1iIiili(0x1d8,'q@ue')===iliIl1I['ZJrVp']){il11ii11=Ilil1i1I[I1i1IIIl],$[i1iIiili(0x1e7,'6yNL')]=iliIl1I[i1iIiili(0x1ad,'FV9h')](decodeURIComponent,il11ii11[i1iIiili(0x28f,'GhYw')](/pt_pin=([^; ]+)(?=;?)/)&&il11ii11['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$[i1iIiili(0x270,'$K0p')]=iliIl1I[i1iIiili(0x28a,'$M*v')](I1i1IIIl,0x1),$[i1iIiili(0x30c,'Ue3g')]=!![],$['nickName']='',Iiii1li1='',console['log']('\x0a******开始【京东账号'+$['index']+''+($[i1iIiili(0x252,'Yst$')]||$[i1iIiili(0x290,'qo3v')])+i1iIiili(0x2aa,'TWtl'));if(!$[i1iIiili(0x2ae,'MpAm')]){$[i1iIiili(0x1c9,'NbgC')]($['name'],i1iIiili(0x334,'sQ%&'),i1iIiili(0x1e1,'6yNL')+$[i1iIiili(0x254,'8dv)')]+'\x20'+($[i1iIiili(0x313,'RBQJ')]||$['UserName'])+i1iIiili(0x2b1,'t!#w'),{'open-url':iliIl1I[i1iIiili(0x296,'N8Lb')]});$[i1iIiili(0x21c,'q@ue')]()&&await llliiII1['sendNotify']($['name']+i1iIiili(0x25b,'hHQ9')+$['UserName'],'京东账号'+$[i1iIiili(0x197,'S$*$')]+'\x20'+$[i1iIiili(0x1c5,'RkjX')]+'\x0a请重新登录获取cookie');continue;}$[i1iIiili(0x286,'RkjX')]=iliIl1I[i1iIiili(0x23c,'!SLp')](iliIl1I[i1iIiili(0x2e1,'FV9h')],llIIllll(iliIl1I[i1iIiili(0x28c,'MpAm')])),$['UA']=await lil1ill['genUA']($[i1iIiili(0x2e4,'RBQJ')]),await iliIl1I[i1iIiili(0x21f,'n2%J')](lli111II),await $[i1iIiili(0x204,'RkjX')](parseInt(iliIl1I[i1iIiili(0x1fb,'!SLp')](Math['random']()*0x3e8,0x7d0),0xa));}else{l1l1i1lI=iIiIi1II['parse'](IIiiliII);if(iliIl1I['zENmF'](ii1ii1II['code'],0x0))illiil1I[i1iIiili(0x256,'XG6o')]++,i1lIil1i[i1iIiili(0x323,'S$*$')]('完成任务,抽奖次数:'+I1lIlI1l['lotteryChances']);else lliIllII[i1iIiili(0x1a8,'XG6o')]==0x192?iIllI1il[i1iIiili(0x2e6,'F]Or')](i1iIiili(0x20b,'3&%J')+(IiiIIlI1?.[i1iIiili(0x1e4,'N8Lb')]||'')):llili111[i1iIiili(0x1ce,'c4bs')](i1iIiili(0x212,'@*Jy')+(liIiI1l?.[i1iIiili(0x1a9,'c4bs')]||''));}}}})()[l1I1111I(0x2f1,'UG!f')](I1ili1iI=>{const IIi1ii1l=l1I1111I;$['log']('','\x20'+$[IIi1ii1l(0x20e,'qo3v')]+IIi1ii1l(0x27d,'ssth')+I1ili1iI+'!','');})[l1I1111I(0x27b,'VX8V')](()=>{$['done']();});async function lli111II(){const ilii1Ii=l1I1111I,lii1iI={'wsAFP':function(IiII1ll){return IiII1ll();},'xSRjz':function(i11iiIlI,l1I1,lili111){return i11iiIlI(l1I1,lili111);},'LEMsM':function(IIl1IiIi,l1llIiI){return IIl1IiIi*l1llIiI;},'JXQQp':function(IIiIl11l,liIi1li){return IIiIl11l===liIi1li;},'GXVGk':ilii1Ii(0x25d,'lhCG'),'MCmdo':function(ili1li11,Iii1IlIl){return ili1li11+Iii1IlIl;},'BnNqx':function(II1Il1iI,iIIIi1i){return II1Il1iI===iIIIi1i;},'NLDgj':function(llIillI,illil1,iiiIIII1){return llIillI(illil1,iiiIIII1);}};$[ilii1Ii(0x242,'NbgC')]=![],$[ilii1Ii(0x2a7,'Kt1u')]=![],await lI1I111I(),await $[ilii1Ii(0x2cb,'TWtl')](lii1iI[ilii1Ii(0x2d6,'RkjX')](parseInt,lii1iI[ilii1Ii(0x1b9,'8dv)')](Math[ilii1Ii(0x220,'S$*$')](),0x3e8)+0x3e8,0xa));if($['nowcontinue']){if(lii1iI[ilii1Ii(0x260,'sQ%&')](lii1iI[ilii1Ii(0x1d9,'*E]Z')],ilii1Ii(0x305,'@*Jy'))){await IIIliiII(),await $[ilii1Ii(0x284,'Vjsb')](parseInt(lii1iI[ilii1Ii(0x333,'!)tN')](lii1iI[ilii1Ii(0x1e2,'bGGq')](Math['random'](),0x3e8),0x3e8),0xa));for(let iiIiII=0x0;iiIiII<$[ilii1Ii(0x2a6,'hHQ9')];iiIiII++){if(lii1iI[ilii1Ii(0x1aa,'6yNL')]('YALgk',ilii1Ii(0x2a3,'c4bs')))return IiiiiilI['log'](IilIillI),l1I1iiIi[ilii1Ii(0x1c6,'MpAm')](ilii1Ii(0x1e5,'y[as')),![];else await ilIil1I(),await $['wait'](lii1iI[ilii1Ii(0x309,'bGGq')](parseInt,Math['random']()*0x3e8+0x3e8,0xa));}}else lii1iI[ilii1Ii(0x28b,'Yst$')](il1IIi1);}}function Iilllll1(li1liiI){const ill1iiIi=l1I1111I,iIi1IlI1={'JXbUz':function(l1Ii11l,l11lIil){return l1Ii11l==l11lIil;},'ekrdh':'object','QgVvj':function(ii1l1ii1,iIi1IiIl){return ii1l1ii1===iIi1IiIl;},'HWprU':ill1iiIi(0x2b6,'sJWS'),'vYxMl':ill1iiIi(0x310,'$M*v')};try{if(iIi1IlI1[ill1iiIi(0x2fc,'qo3v')](typeof JSON['parse'](li1liiI),iIi1IlI1['ekrdh'])){if(iIi1IlI1['QgVvj'](iIi1IlI1[ill1iiIi(0x326,'hY@h')],iIi1IlI1[ill1iiIi(0x218,'FV9h')]))lliIli11[ill1iiIi(0x1db,'Vjsb')]();else return!![];}}catch(ii1iiI){return console[ill1iiIi(0x2fa,'RBQJ')](ii1iiI),console['log'](ill1iiIi(0x32d,'VX8V')),![];}}function iil1IllI(i1i11i){const l1IlIIil=l1I1111I,iIil1l1={'RBoSF':l1IlIIil(0x1d1,'Rvfx'),'dHEOn':function(l11ill1i,iiiI1liI){return l11ill1i!==iiiI1liI;},'TyPuo':l1IlIIil(0x24c,'IiO3'),'DeCkI':function(lIlii1I1,ii11iil){return lIlii1I1===ii11iil;},'UmcAz':l1IlIIil(0x328,'Ue3g'),'woTqE':'请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'};if(typeof i1i11i==l1IlIIil(0x332,'FeQr')){if(iIil1l1[l1IlIIil(0x2f6,'!SLp')]('mXbSA',iIil1l1[l1IlIIil(0x2f8,'c4bs')])){i1lliil['keys'](IiIili11)[l1IlIIil(0x1c7,'GhYw')](i1lill1I=>{iII1i1iI['push'](IIi1IIll[i1lill1I]);});if(liiilllI[l1IlIIil(0x299,'S$*$')][l1IlIIil(0x1c3,'qo3v')]&&lii1I1II['env'][l1IlIIil(0x314,'RkjX')]===iIil1l1[l1IlIIil(0x228,'sQ%&')])I1ilIlI1[l1IlIIil(0x2b0,'4pu6')]=()=>{};}else try{return JSON[l1IlIIil(0x1fc,'$K0p')](i1i11i);}catch(ilIilIil){if(iIil1l1[l1IlIIil(0x223,'6yNL')](iIil1l1[l1IlIIil(0x2cc,'F]Or')],iIil1l1[l1IlIIil(0x2cc,'F]Or')]))return console[l1IlIIil(0x29e,'!SLp')](ilIilIil),$[l1IlIIil(0x29a,'sQ%&')]($[l1IlIIil(0x1f1,'6yNL')],'',iIil1l1[l1IlIIil(0x202,'$M*v')]),[];else i1ll1iI['log'](l1IlIIil(0x2db,'F]Or')+(l1I1ii1l?.[l1IlIIil(0x329,'Kt1u')]||''));}}}async function lI1I111I(){const li11IlI1=l1I1111I,i111liii={'XkqNr':li11IlI1(0x1bf,'9IKQ'),'bYftQ':function(l1ilil1,IiIiIi1){return l1ilil1===IiIiIi1;},'UuwcR':li11IlI1(0x210,'n2%J'),'ynvky':function(I1illi1I,IiI1II){return I1illi1I!==IiI1II;},'JJoOz':function(Ili1l1l,ll1IIIIi){return Ili1l1l==ll1IIIIi;},'ledMU':li11IlI1(0x25f,'y[as'),'JIFFW':li11IlI1(0x229,'9IKQ'),'Cterc':li11IlI1(0x1ca,'6yNL'),'RJnLr':li11IlI1(0x2da,'hY@h'),'zvfSj':li11IlI1(0x1d4,'89c1'),'DLDuo':li11IlI1(0x30d,'Yst$')};return new Promise(async lI1lii1i=>{const Iii1iil=li11IlI1,iii1IiII={'xErFs':function(i1I1Iil1,Ill1111i){return i1I1Iil1==Ill1111i;},'fjsyy':i111liii[Iii1iil(0x2df,'UG!f')],'EuMwX':function(il1lii1l,i1iIiIII){return i111liii['bYftQ'](il1lii1l,i1iIiIII);},'PjYIy':'RmBov','NAfgB':i111liii[Iii1iil(0x19f,'Kt1u')],'EUPEU':function(iil1lil1,IliIII11){return iil1lil1==IliIII11;},'DiCqH':function(li1iliI,illiIlIl){const l1Iii1iI=Iii1iil;return i111liii[l1Iii1iI(0x2ad,'t!#w')](li1iliI,illiIlIl);},'jLlum':Iii1iil(0x1b2,'3&%J'),'miPRc':function(I1l11lli,l1i1111l){return i111liii['JJoOz'](I1l11lli,l1i1111l);},'vDXqx':function(liliIi11){return liliIi11();}},I1iiI1l1={'appId':Iii1iil(0x262,'8dv)'),'functionId':'wheelsHome','appid':Iii1iil(0x31d,'F]Or'),'clientVersion':i111liii[Iii1iil(0x2fb,'MpAm')],'client':i111liii[Iii1iil(0x2c8,'XG6o')],'body':{'linkId':lIII1lii},'ua':$['UA'],'t':!![]},ii1lI11l=await li1iiil1[Iii1iil(0x30f,'CH4n')](I1iiI1l1);let liiI1111={'url':i111liii[Iii1iil(0x1f9,'$M*v')],'body':ii1lI11l['params'],'headers':{'origin':i111liii[Iii1iil(0x2f9,'!SLp')],'Referer':Iii1iil(0x1b7,'hY@h'),'User-Agent':$['UA'],'Cookie':il11ii11,'content-type':i111liii[Iii1iil(0x273,'c4bs')],'accept':i111liii[Iii1iil(0x2d0,'CH4n')]},'timeout':0x14*0x3e8};$['post'](liiI1111,async(I1IllIII,ii1IlilI,liiiilIi)=>{const IiIiIll=Iii1iil;try{if(iii1IiII[IiIiIll(0x2d4,'Kt1u')](iii1IiII['PjYIy'],iii1IiII[IiIiIll(0x1ef,'!)tN')]))iilliiIl['nowcontinue']=!![],Ill1li1[IiIiIll(0x250,'q@ue')]=lI1lII1?.['data']?.[IiIiIll(0x19d,'$M*v')],lli11iii['log'](IiIiIll(0x201,'!SLp')+i1II1Il1['lotteryChances']);else{if(I1IllIII)console[IiIiIll(0x295,'NbgC')](''+JSON['stringify'](I1IllIII));else{liiiilIi=JSON['parse'](liiiilIi);if(iii1IiII[IiIiIll(0x219,'$K0p')](liiiilIi['code'],0x0)){if(iii1IiII['DiCqH'](iii1IiII['jLlum'],iii1IiII['jLlum'])){if(iii1IiII['xErFs'](typeof ili1I1i['parse'](l11li11l),iii1IiII[IiIiIll(0x2af,'y[as')]))return!![];}else $[IiIiIll(0x31a,'$M*v')]=!![],$[IiIiIll(0x250,'q@ue')]=liiiilIi?.[IiIiIll(0x1f0,'y3Z4')]?.[IiIiIll(0x1cb,'CH4n')],console['log'](IiIiIll(0x1a4,'c4bs')+$['lotteryChances']);}else iii1IiII[IiIiIll(0x2c9,'FeQr')](liiiilIi['code'],0x192)?console[IiIiIll(0x323,'S$*$')]('进入首页失败,'+(liiiilIi?.[IiIiIll(0x215,'y[as')]||'')):console['log'](IiIiIll(0x1ac,'qo3v')+(liiiilIi?.[IiIiIll(0x1f7,'9IKQ')]||''));}}}catch(l1lllii){$[IiIiIll(0x307,'9uTk')](l1lllii,ii1IlilI);}finally{iii1IiII[IiIiIll(0x1c0,'lhCG')](lI1lii1i);}});});}async function ilIil1I(){const iIII1Il1=l1I1111I,illili1i={'Vlcsx':function(Il111lli,IIliil1l){return Il111lli==IIliil1l;},'EqlhQ':iIII1Il1(0x249,'MpAm'),'MgstA':iIII1Il1(0x277,'VX8V'),'wlaoZ':'KhdCt','KRgPh':iIII1Il1(0x2fd,'VX8V'),'mihSZ':function(illl1li,IiIlIl){return illl1li==IiIlIl;},'QqFhd':function(ilIi1II,iiIIili){return ilIi1II!==iiIIili;},'TOIKM':iIII1Il1(0x20a,'IiO3'),'krjlp':'AtJKw','tIAio':function(i1llIlil,IlI11lll){return i1llIlil!==IlI11lll;},'TTlJU':iIII1Il1(0x2fe,'NbgC'),'RuabQ':function(l1lllII){return l1lllII();},'leHKc':iIII1Il1(0x1ae,'@*Jy'),'TDMjp':iIII1Il1(0x251,'q@ue'),'jDjic':iIII1Il1(0x282,'sQ%&'),'QyzJb':iIII1Il1(0x31c,'$M*v'),'cPmDI':iIII1Il1(0x2dd,'$M*v'),'aOIOn':'application/x-www-form-urlencoded','MCNYI':'application/json,\x20text/plain,\x20*/*','MTvOj':function(IlI1i1I,i1I1I1il){return IlI1i1I*i1I1I1il;}};return new Promise(async i1I1iii1=>{const Ililiii=iIII1Il1;if(illili1i[Ililiii(0x2b5,'t!#w')]!=='yymzV'){const IiI11ll={'appId':illili1i[Ililiii(0x32b,'VX8V')],'functionId':'wheelsLottery','appid':illili1i[Ililiii(0x268,'4pu6')],'clientVersion':'12.0.1','client':Ililiii(0x2d5,'8dv)'),'body':{'linkId':lIII1lii},'ua':$['UA'],'t':!![]},Iiilll11=await li1iiil1[Ililiii(0x1fa,'qo3v')](IiI11ll);let i111III={'url':Ililiii(0x1d7,'F]Or'),'body':Iiilll11[Ililiii(0x207,'Ue3g')],'headers':{'origin':illili1i[Ililiii(0x1ff,'qo3v')],'Referer':illili1i['cPmDI'],'User-Agent':$['UA'],'Cookie':il11ii11,'content-type':illili1i[Ililiii(0x289,'$K0p')],'accept':illili1i[Ililiii(0x2ff,'3&%J')]},'timeout':illili1i['MTvOj'](0x14,0x3e8)};$['post'](i111III,async(I1lll11i,lIi1l1ii,i1l11Ii1)=>{const i1li1iIi=Ililiii,I1illIiI={'bLAFK':function(llIIlli,li1llI1){return illili1i['Vlcsx'](llIIlli,li1llI1);}};if(illili1i[i1li1iIi(0x336,'Rvfx')]===i1li1iIi(0x21b,'GhYw'))try{if(illili1i[i1li1iIi(0x1d2,'bGGq')]===illili1i[i1li1iIi(0x2f3,'JkuB')])llIillII[i1li1iIi(0x1b0,'Ue3g')](I11llIiI,l1Iil1ll);else{if(I1lll11i)console[i1li1iIi(0x23a,'t!#w')](''+JSON[i1li1iIi(0x1eb,'F]Or')](I1lll11i));else{if(illili1i[i1li1iIi(0x194,'S$*$')]===i1li1iIi(0x300,'@*Jy')){i1l11Ii1=JSON[i1li1iIi(0x22e,'Yst$')](i1l11Ii1);if(illili1i[i1li1iIi(0x244,'y3Z4')](i1l11Ii1[i1li1iIi(0x2d3,'Rvfx')],0x0))switch(i1l11Ii1?.[i1li1iIi(0x26d,'CH4n')]?.[i1li1iIi(0x301,'N8Lb')]){case 0x0:console['log']('抽中:空气-'+i1l11Ii1?.[i1li1iIi(0x1bb,'t!#w')]?.['lotteryChances']+i1li1iIi(0x2d9,'8dv)'));break;case 0x1:console[i1li1iIi(0x2d7,'q@ue')](i1li1iIi(0x322,'IiO3')+i1l11Ii1?.[i1li1iIi(0x279,'!)tN')]?.[i1li1iIi(0x2bc,'RkjX')]+'-'+i1l11Ii1?.['data']?.[i1li1iIi(0x24e,'n2%J')]+'-'+i1l11Ii1?.[i1li1iIi(0x20f,'IiO3')]?.[i1li1iIi(0x27a,'4pu6')]+i1li1iIi(0x2ce,'6yNL'));break;case 0x12:console[i1li1iIi(0x1c6,'MpAm')](i1li1iIi(0x206,'MpAm')+i1l11Ii1?.[i1li1iIi(0x1f4,'XG6o')]?.[i1li1iIi(0x2e0,'lhCG')]+'-'+i1l11Ii1?.[i1li1iIi(0x25e,'F]Or')]?.[i1li1iIi(0x30b,'lhCG')]+'次机会');break;case null:console['log'](i1li1iIi(0x2a9,'S$*$'));break;default:console[i1li1iIi(0x2bd,'Vjsb')](i1l11Ii1?.[i1li1iIi(0x1e8,'MpAm')]?.['rewardType']+'-'+i1l11Ii1?.[i1li1iIi(0x1a6,'ssth')]?.[i1li1iIi(0x2eb,'NbgC')]+'-'+i1l11Ii1?.[i1li1iIi(0x311,'3&%J')]?.[i1li1iIi(0x27f,'ssth')]+i1li1iIi(0x28d,'$K0p'));return;}else illili1i['Vlcsx'](i1l11Ii1[i1li1iIi(0x23b,'#q)2')],0x192)?illili1i[i1li1iIi(0x1ba,'!)tN')](illili1i[i1li1iIi(0x265,'IiO3')],illili1i[i1li1iIi(0x2a2,'S$*$')])?console[i1li1iIi(0x2a4,'UG!f')](i1li1iIi(0x306,'4pu6')+(i1l11Ii1?.[i1li1iIi(0x287,'UG!f')]||'')):(lIliiiii['lotteryChances']++,l1IiiIIi[i1li1iIi(0x2bd,'Vjsb')](i1li1iIi(0x19c,'$K0p')+Iiili1lI[i1li1iIi(0x2a5,'S$*$')])):(console['log']('抽奖失败,'+(i1l11Ii1?.[i1li1iIi(0x2de,'sJWS')]||'')),$[i1li1iIi(0x224,'S$*$')]=![]);}else{ll1l11II=Il1liI1[i1li1iIi(0x23f,'8dv)')](ill1iII1);if(I1illIiI[i1li1iIi(0x293,'VX8V')](ii11i11['code'],0x0))iIIliIi1[i1li1iIi(0x2f5,'FV9h')]=!![],il1IliI1[i1li1iIi(0x2a6,'hHQ9')]=i11li1?.[i1li1iIi(0x1b1,'NbgC')]?.['lotteryChances'],Iil1lIl[i1li1iIi(0x225,'Ue3g')]('当前抽奖次数:'+IIII11i1[i1li1iIi(0x2c6,'8dv)')]);else I11llliI[i1li1iIi(0x1c8,'3&%J')]==0x192?lIIil1Ii[i1li1iIi(0x2e6,'F]Or')](i1li1iIi(0x2cf,'3&%J')+(I1lil1Ii?.[i1li1iIi(0x275,'IiO3')]||'')):Ilil1lIi[i1li1iIi(0x1dd,'VX8V')](i1li1iIi(0x2ef,'Rvfx')+(ii1i1li?.[i1li1iIi(0x266,'n2%J')]||''));}}}}catch(l1l1lII){$['logErr'](l1l1lII,lIi1l1ii);}finally{illili1i[i1li1iIi(0x203,'4pu6')](i1li1iIi(0x1f5,'Yst$'),illili1i['TTlJU'])?Il11i11I():illili1i['RuabQ'](i1I1iii1);}else ilIIIlii[i1li1iIi(0x1b8,'3&%J')](i1li1iIi(0x195,'IiO3')+(iliilil1?.[i1li1iIi(0x1fe,'GhYw')]||''));});}else ilili111[Ililiii(0x19e,'RkjX')](Ililiii(0x2e3,'VX8V')+(llI11i?.[Ililiii(0x1ab,'VX8V')]||''));});}async function IIIliiII(){const l1Il111l=l1I1111I,i1il1lIl={'ShBBO':function(Iiil1l11,l1il1l1){return Iiil1l11+l1il1l1;},'pEBKv':function(I1l1iill,l1lllill){return I1l1iill===l1lllill;},'CERUI':l1Il111l(0x297,'$M*v'),'ONUBG':l1Il111l(0x263,'@*Jy'),'tptbD':function(ii1ll1li,i111iiI){return ii1ll1li<i111iiI;},'Boigb':'taskTitle','eqoSy':'taskDoTimes','Wytll':l1Il111l(0x337,'GhYw'),'cWpBB':'rwMnf','tlQyb':'CYpmS','LbJnY':function(il1llIl1,iil1iI1I){return il1llIl1*iil1iI1I;},'nHBmk':l1Il111l(0x325,'c4bs'),'CADvq':l1Il111l(0x272,'VX8V'),'yHveB':function(ll1IIii){return ll1IIii();},'HmaDe':'c06b7','zpbmI':l1Il111l(0x29b,'Kt1u'),'ZNlUb':l1Il111l(0x26c,'q@ue'),'YEmuK':'12.0.1','OFgIq':l1Il111l(0x2c3,'ssth'),'iyZsq':l1Il111l(0x28e,'UG!f'),'iBlgX':l1Il111l(0x1e3,'TWtl'),'EpHAq':l1Il111l(0x1fd,'hHQ9'),'Gxyvn':l1Il111l(0x2d8,'TWtl')},liII1i={'appId':i1il1lIl[l1Il111l(0x271,'RkjX')],'functionId':i1il1lIl[l1Il111l(0x198,'$M*v')],'appid':i1il1lIl['ZNlUb'],'clientVersion':i1il1lIl[l1Il111l(0x216,'sJWS')],'client':i1il1lIl[l1Il111l(0x237,'Vjsb')],'body':{'linkId':lIII1lii},'ua':$['UA'],'t':!![]},llil1iil=await li1iiil1[l1Il111l(0x304,'UG!f')](liII1i);let il1l1lii={'url':i1il1lIl[l1Il111l(0x2e8,'RBQJ')],'body':llil1iil[l1Il111l(0x335,'9uTk')],'headers':{'origin':i1il1lIl[l1Il111l(0x1a0,'y[as')],'Referer':i1il1lIl[l1Il111l(0x308,'3&%J')],'User-Agent':$['UA'],'Cookie':il11ii11,'content-type':l1Il111l(0x331,'NbgC'),'accept':i1il1lIl[l1Il111l(0x19b,'RkjX')]},'timeout':i1il1lIl[l1Il111l(0x2e7,'*E]Z')](0x14,0x3e8)};return new Promise(I1i1lliI=>{const iililiII=l1Il111l,Iii1il1l={'fNpTT':function(iI1IIi1i,iiIiiil1){return i1il1lIl['ShBBO'](iI1IIi1i,iiIiiil1);},'WYhQs':function(IliIilll,ll11li11){const l1liili1=l1111il;return i1il1lIl[l1liili1(0x1ea,'N8Lb')](IliIilll,ll11li11);},'tgSbQ':i1il1lIl[iililiII(0x1a2,'Rvfx')],'fyqzt':function(ll11IIIl,llII1lii){return ll11IIIl!==llII1lii;},'syJOH':i1il1lIl['ONUBG'],'iKbiA':iililiII(0x238,'@*Jy'),'RBaHf':function(il11il1I,l1llI1){const I1IlIIi1=iililiII;return i1il1lIl[I1IlIIi1(0x22b,'N8Lb')](il11il1I,l1llI1);},'kxozR':i1il1lIl[iililiII(0x22a,'sJWS')],'PXeDl':iililiII(0x1b4,'89c1'),'stPra':i1il1lIl[iililiII(0x25c,'F]Or')],'qNKzw':i1il1lIl['Wytll'],'CbkPA':i1il1lIl[iililiII(0x2f7,'JkuB')],'TWARn':i1il1lIl['tlQyb'],'pOReV':function(l1llilii,iiI1i1iI){const l1i1iIIl=iililiII;return i1il1lIl[l1i1iIIl(0x208,'4pu6')](l1llilii,iiI1i1iI);},'XfOFB':i1il1lIl[iililiII(0x217,'8dv)')],'KLUUU':iililiII(0x2a1,'RBQJ'),'IOXbz':i1il1lIl['CADvq'],'JHqmh':iililiII(0x303,'Ue3g'),'zFGuz':function(IiiI1ii){const ll1I1I1=iililiII;return i1il1lIl[ll1I1I1(0x24a,'9IKQ')](IiiI1ii);}};$['post'](il1l1lii,async(lIIiiI1I,ilI1I1i1,IlIIllil)=>{const lilll111=iililiII,lIIlI1iI={'XEUlh':function(lIllilI1,iiIllll1){return Iii1il1l['fNpTT'](lIllilI1,iiIllll1);}};if(Iii1il1l['WYhQs'](Iii1il1l[lilll111(0x319,'Yst$')],lilll111(0x1ed,'NbgC')))try{if(Iii1il1l[lilll111(0x2f2,'GhYw')](lilll111(0x230,'JkuB'),Iii1il1l['syJOH'])){if(lIIiiI1I)Iii1il1l[lilll111(0x30a,'Ue3g')](lilll111(0x302,'Rvfx'),lilll111(0x31b,'N8Lb'))?IliIIIII['log'](lIIlI1iI[lilll111(0x213,'t!#w')]('',iI1llI1i['stringify'](II1ii11l))):$['log'](lIIiiI1I);else{if(Iii1il1l['iKbiA']!==Iii1il1l[lilll111(0x222,'S$*$')])li1IIill[lilll111(0x1b8,'3&%J')](lilll111(0x27c,'sJWS')+(iiilIil1?.[lilll111(0x24f,'Rvfx')]||'')),l1lllil['lhb4b_open']=![];else{IlIIllil=JSON[lilll111(0x281,'y3Z4')](IlIIllil);if(IlIIllil?.[lilll111(0x1de,'!)tN')]==0x0){let l11I1IIi=IlIIllil?.['data']||[];for(let lIi11lll=0x0;Iii1il1l[lilll111(0x261,'t!#w')](lIi11lll,l11I1IIi['length']);lIi11lll++){$[lilll111(0x20d,'MpAm')]=l11I1IIi[lIi11lll][Iii1il1l[lilll111(0x327,'c4bs')]],$[lilll111(0x196,'hY@h')]=l11I1IIi[lIi11lll]['id'],$['taskType']=l11I1IIi[lIi11lll][Iii1il1l[lilll111(0x32a,'9IKQ')]],$[lilll111(0x232,'FeQr')]=l11I1IIi[lIi11lll][lilll111(0x2c7,'ssth')],$[lilll111(0x31f,'bGGq')]=l11I1IIi[lIi11lll][Iii1il1l[lilll111(0x1cc,'qo3v')]],$['taskFinished']=l11I1IIi[lIi11lll][lilll111(0x26b,'qo3v')],$['taskShowTitle']=l11I1IIi[lIi11lll][Iii1il1l[lilll111(0x23e,'hHQ9')]];if(!$[lilll111(0x21e,'3&%J')]&&$['taskType'][lilll111(0x27e,'!SLp')](lilll111(0x23d,'IiO3')))for(let Ii1Iiili=0x0;Ii1Iiili<0x1;Ii1Iiili++){Iii1il1l[lilll111(0x21a,'!SLp')]===Iii1il1l[lilll111(0x1ec,'$M*v')]?il1l1ili[lilll111(0x2ed,'!)tN')](IllI1lii,iiIlIliI):(console[lilll111(0x1dd,'VX8V')](lilll111(0x2e9,'*E]Z')+$[lilll111(0x1e0,'9uTk')]),await IIlIi11i($['taskType'],$['apTaskListid'],$['taskSourceUrl']),await $[lilll111(0x2e5,'RBQJ')](parseInt(Iii1il1l['fNpTT'](Iii1il1l[lilll111(0x22f,'c4bs')](Math['random'](),0x5dc),0x5dc),0xa)));}}}else Iii1il1l['fyqzt'](Iii1il1l['XfOFB'],Iii1il1l[lilll111(0x255,'Yst$')])?console['log'](lilll111(0x315,'y3Z4')+(IlIIllil?.[lilll111(0x21d,'Yst$')]||IlIIllil?.[lilll111(0x316,'F]Or')]||'')):i11li1Il[lilll111(0x2d7,'q@ue')](lIIlI1iI[lilll111(0x1a5,'qo3v')]('',i1Iil1iI[lilll111(0x2dc,'TWtl')](I1l1I1i)));}}}else IliI1ilI[lilll111(0x280,'Yst$')](lIIlI1iI['XEUlh']('',I1liIiiI['stringify'](i1IiI11I)));}catch(I1lIli){if(Iii1il1l['WYhQs'](Iii1il1l[lilll111(0x2d2,'Vjsb')],Iii1il1l[lilll111(0x26f,'ssth')]))return I1IlI1Ii['parse'](i1I1ll1);else $['log'](I1lIli);}finally{Iii1il1l['zFGuz'](I1i1lliI);}else return!![];});});}async function IIlIi11i(lllil1Il,IiiIl11,I1il1i1i){const Ili1Il11=l1I1111I,I1iilil1={'OZgdt':Ili1Il11(0x1be,'JkuB'),'hwBIW':Ili1Il11(0x24b,'6yNL'),'ktlzw':Ili1Il11(0x2b2,'GhYw'),'ApTnh':function(iIiIi1i1,I1I1Ii1i){return iIiIi1i1!==I1I1Ii1i;},'Jewxw':Ili1Il11(0x25a,'c4bs'),'AmlQZ':function(l1iIi1l,l1Ii1II){return l1iIi1l==l1Ii1II;},'EfyWD':function(l1lIii1i,Il1iIlIl){return l1lIii1i===Il1iIlIl;},'giyxL':function(l1liIIl){return l1liIIl();},'sAhaZ':Ili1Il11(0x26e,'9IKQ'),'fHapY':Ili1Il11(0x240,'!)tN'),'MprBl':Ili1Il11(0x258,'GhYw'),'zBMBW':'apple','kRSqY':'https://api.m.jd.com','GMWDt':Ili1Il11(0x29d,'89c1'),'EWNyp':Ili1Il11(0x248,'NbgC')};return new Promise(async iiIll1i1=>{const iil111Ii=Ili1Il11,illiII1I={'dafjy':I1iilil1[iil111Ii(0x312,'FeQr')],'kcHPb':function(iIlllil1,lIIIilli){return iIlllil1!==lIIIilli;},'mFBuh':I1iilil1[iil111Ii(0x205,'4pu6')],'pAjGm':I1iilil1[iil111Ii(0x294,'IiO3')],'nWNcW':'xMPvh','ypybt':function(i1lillli,IIIlIllI){return I1iilil1['ApTnh'](i1lillli,IIIlIllI);},'WqLFr':I1iilil1[iil111Ii(0x1ee,'3&%J')],'FuzDN':function(i1i1lil,IlIIIii){return I1iilil1['AmlQZ'](i1i1lil,IlIIIii);},'pfGAV':function(lli1iIi,IIlIl1ii){const lIiI111=iil111Ii;return I1iilil1[lIiI111(0x231,'hHQ9')](lli1iIi,IIlIl1ii);},'MyNam':'zqVyh','SYEYG':iil111Ii(0x2bf,'Vjsb'),'kVJyO':function(liI1l11){const ll1iIIl=iil111Ii;return I1iilil1[ll1iIIl(0x2b8,'MpAm')](liI1l11);}},IiIlIlI={'appId':'54ed7','functionId':I1iilil1[iil111Ii(0x199,'q@ue')],'appid':I1iilil1['fHapY'],'clientVersion':I1iilil1['MprBl'],'client':I1iilil1[iil111Ii(0x2ac,'#q)2')],'body':{'taskType':lllil1Il,'taskId':IiiIl11,'channel':0x4,'checkVersion':!![],'linkId':lIII1lii,'itemId':I1il1i1i},'ua':$['UA'],'t':!![]},lIlIii1=await li1iiil1[iil111Ii(0x2b7,'@*Jy')](IiIlIlI);let i1Ill11l={'url':I1iilil1[iil111Ii(0x200,'N8Lb')],'body':lIlIii1[iil111Ii(0x221,'9IKQ')],'headers':{'origin':iil111Ii(0x253,'RkjX'),'Referer':I1iilil1[iil111Ii(0x1cd,'hHQ9')],'User-Agent':$['UA'],'Cookie':il11ii11,'content-type':iil111Ii(0x1bc,'qo3v'),'accept':I1iilil1[iil111Ii(0x2c5,'9IKQ')]},'timeout':0x14*0x3e8};$[iil111Ii(0x1f2,'ssth')](i1Ill11l,async(il1iI1i1,lllili,Iilliii1)=>{const ill1ii1l=iil111Ii;try{if(illiII1I[ill1ii1l(0x267,'Kt1u')](illiII1I[ill1ii1l(0x2c0,'Vjsb')],illiII1I[ill1ii1l(0x2c0,'Vjsb')]))lil11IlI[ill1ii1l(0x241,'JkuB')](Iii11lIl);else{if(il1iI1i1)illiII1I['pAjGm']!==illiII1I['nWNcW']?console['log'](''+JSON[ill1ii1l(0x235,'8dv)')](il1iI1i1)):llilliIl[ill1ii1l(0x243,'bGGq')](ill1ii1l(0x29c,'lhCG')+(illlIlil?.[ill1ii1l(0x257,'$M*v')]||''));else{if(illiII1I[ill1ii1l(0x29f,'c4bs')](illiII1I[ill1ii1l(0x24d,'ssth')],ill1ii1l(0x226,'GhYw'))){Iilliii1=JSON['parse'](Iilliii1);if(illiII1I[ill1ii1l(0x317,'Ue3g')](Iilliii1[ill1ii1l(0x20c,'n2%J')],0x0))$[ill1ii1l(0x330,'RkjX')]++,console[ill1ii1l(0x225,'Ue3g')](ill1ii1l(0x320,'Vjsb')+$[ill1ii1l(0x1a1,'qo3v')]);else Iilliii1['code']==0x192?console[ill1ii1l(0x1dc,'$M*v')]('完成任务失败,'+(Iilliii1?.['errMsg']||'')):console[ill1ii1l(0x280,'Yst$')](ill1ii1l(0x274,'*E]Z')+(Iilliii1?.['errMsg']||''));}else{l1i1liI[ill1ii1l(0x2c4,'q@ue')](i1ii1li1['name'],ill1ii1l(0x1bd,'Kt1u'),illiII1I[ill1ii1l(0x227,'bGGq')],{'open-url':illiII1I[ill1ii1l(0x1c4,'sJWS')]});return;}}}}catch(llIiiII1){illiII1I[ill1ii1l(0x1a7,'n2%J')](illiII1I[ill1ii1l(0x1b6,'y[as')],ill1ii1l(0x2ee,'t!#w'))?I1IilI1i[ill1ii1l(0x243,'bGGq')]('','\x20'+lI11i11[ill1ii1l(0x233,'CH4n')]+ill1ii1l(0x247,'RkjX')+il1iIIll+'!',''):$[ill1ii1l(0x298,'XG6o')](llIiiII1,lllili);}finally{if(illiII1I['kcHPb'](illiII1I[ill1ii1l(0x2b9,'qo3v')],illiII1I[ill1ii1l(0x283,'y3Z4')]))try{return Iilii1lI[ill1ii1l(0x1b5,'9IKQ')](I11Iil11);}catch(l11i1lIl){return Iii1lii1[ill1ii1l(0x19a,'sJWS')](l11i1lIl),ll11Illl[ill1ii1l(0x1f3,'IiO3')](llIIliI1[ill1ii1l(0x246,'XG6o')],'','请勿随意在BoxJs输入框修改内容\x0a建议通过脚本去获取cookie'),[];}else illiII1I[ill1ii1l(0x22c,'CH4n')](iiIll1i1);}});});}function llIIllll(il111ll1=l1I1111I(0x2ca,'3&%J')){const Il1ll11I=l1I1111I,l1ii1iI={'zPrQU':function(lIlIIIII,iiIll11l){return lIlIIIII===iiIll11l;},'GoPrH':Il1ll11I(0x285,'Yst$'),'dOScy':function(iIilI11I,IIlIiIi){return iIilI11I|IIlIiIi;},'zNgux':function(llIl1IIl,I1iI1iII){return llIl1IIl&I1iI1iII;}};return il111ll1[Il1ll11I(0x2c1,'6yNL')](/[xy]/g,function(II1iIIII){const iIIll1Il=Il1ll11I;if(l1ii1iI[iIIll1Il(0x234,'3&%J')](l1ii1iI[iIIll1Il(0x2a0,'RkjX')],l1ii1iI[iIIll1Il(0x1df,'9uTk')])){var iIilIllI=l1ii1iI[iIIll1Il(0x239,'$K0p')](Math['random']()*0xa,0x0),lllIl11=II1iIIII=='x'?iIilIllI:l1ii1iI['dOScy'](l1ii1iI[iIIll1Il(0x291,'FeQr')](iIilIllI,0x3),0x8);return jdaid=lllIl11[iIIll1Il(0x1f6,'S$*$')](),jdaid;}else i1lIi1il[iIIll1Il(0x2b4,'hHQ9')](Il11iii1);});}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) }
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiongleo/faker2.git
git@gitee.com:xiongleo/faker2.git
xiongleo
faker2
faker2
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385