faker3/jd_dplh0708.js
2024-07-08 23:09:38 +08:00

21 lines
54 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

/*
活动名称:大牌联合(开卡)
环境变量:
jd_dplh_viewShop // 是否true/false做浏览任务默认不做
jd_dplh_addCart // 是否true/false做加购任务默认不做
jd_dplh_draw // 抽奖次数,变量暂时无效
jd_dplh_blacklist // 黑名单 用&隔开 pin值
jd_dplh_Notify // 是否通知true/false默认不通知
jd_dplh_break // IP限制后继续执行true/false
实物奖品需要填写地址变量才行,具体请查看 WIki
cron "1 1 1 1 *" script-path=jd_dplh.js
*/
const $ = new Env('大牌联合0708')
const _0x31db2f=_0x2645;(function(_0x38a19c,_0x30cbf7){const _0x6717c4=_0x2645,_0x1a2c1c=_0x38a19c();while(!![]){try{const _0x1d39c1=-parseInt(_0x6717c4(0x196,'*jVq'))/0x1+parseInt(_0x6717c4(0x312,'UNWz'))/0x2+-parseInt(_0x6717c4(0x327,'7ico'))/0x3*(parseInt(_0x6717c4(0x30e,'D)zQ'))/0x4)+-parseInt(_0x6717c4(0x1e7,'BZ)i'))/0x5*(parseInt(_0x6717c4(0x2db,'J*Ca'))/0x6)+parseInt(_0x6717c4(0x19f,'J*Ca'))/0x7*(-parseInt(_0x6717c4(0x364,']5%u'))/0x8)+parseInt(_0x6717c4(0x2b5,'6k2x'))/0x9+parseInt(_0x6717c4(0x344,'D)zQ'))/0xa;if(_0x1d39c1===_0x30cbf7)break;else _0x1a2c1c['push'](_0x1a2c1c['shift']());}catch(_0x452cd0){_0x1a2c1c['push'](_0x1a2c1c['shift']());}}}(_0x5c66,0x7e9fd));function _0x2645(_0x5f15d8,_0xe4d1fe){const _0x5c6682=_0x5c66();return _0x2645=function(_0x26456f,_0x2c291a){_0x26456f=_0x26456f-0x167;let _0x29f3f0=_0x5c6682[_0x26456f];if(_0x2645['EvnXNc']===undefined){var _0x4ebf03=function(_0x1bca9a){const _0x39bdf7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ced89='',_0x31724b='';for(let _0x79c7c4=0x0,_0x333f2a,_0x1fb6b3,_0x3db1d4=0x0;_0x1fb6b3=_0x1bca9a['charAt'](_0x3db1d4++);~_0x1fb6b3&&(_0x333f2a=_0x79c7c4%0x4?_0x333f2a*0x40+_0x1fb6b3:_0x1fb6b3,_0x79c7c4++%0x4)?_0x4ced89+=String['fromCharCode'](0xff&_0x333f2a>>(-0x2*_0x79c7c4&0x6)):0x0){_0x1fb6b3=_0x39bdf7['indexOf'](_0x1fb6b3);}for(let _0x3ac285=0x0,_0x4b51b9=_0x4ced89['length'];_0x3ac285<_0x4b51b9;_0x3ac285++){_0x31724b+='%'+('00'+_0x4ced89['charCodeAt'](_0x3ac285)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31724b);};const _0x516fc1=function(_0x5ca030,_0xd2ffb7){let _0x30a2c5=[],_0x3c019c=0x0,_0x50e142,_0x480504='';_0x5ca030=_0x4ebf03(_0x5ca030);let _0x3072ca;for(_0x3072ca=0x0;_0x3072ca<0x100;_0x3072ca++){_0x30a2c5[_0x3072ca]=_0x3072ca;}for(_0x3072ca=0x0;_0x3072ca<0x100;_0x3072ca++){_0x3c019c=(_0x3c019c+_0x30a2c5[_0x3072ca]+_0xd2ffb7['charCodeAt'](_0x3072ca%_0xd2ffb7['length']))%0x100,_0x50e142=_0x30a2c5[_0x3072ca],_0x30a2c5[_0x3072ca]=_0x30a2c5[_0x3c019c],_0x30a2c5[_0x3c019c]=_0x50e142;}_0x3072ca=0x0,_0x3c019c=0x0;for(let _0x5f5797=0x0;_0x5f5797<_0x5ca030['length'];_0x5f5797++){_0x3072ca=(_0x3072ca+0x1)%0x100,_0x3c019c=(_0x3c019c+_0x30a2c5[_0x3072ca])%0x100,_0x50e142=_0x30a2c5[_0x3072ca],_0x30a2c5[_0x3072ca]=_0x30a2c5[_0x3c019c],_0x30a2c5[_0x3c019c]=_0x50e142,_0x480504+=String['fromCharCode'](_0x5ca030['charCodeAt'](_0x5f5797)^_0x30a2c5[(_0x30a2c5[_0x3072ca]+_0x30a2c5[_0x3c019c])%0x100]);}return _0x480504;};_0x2645['wndgRr']=_0x516fc1,_0x5f15d8=arguments,_0x2645['EvnXNc']=!![];}const _0x3ae91c=_0x5c6682[0x0],_0x27eb15=_0x26456f+_0x3ae91c,_0x517023=_0x5f15d8[_0x27eb15];return!_0x517023?(_0x2645['QcRuDQ']===undefined&&(_0x2645['QcRuDQ']=!![]),_0x29f3f0=_0x2645['wndgRr'](_0x29f3f0,_0x2c291a),_0x5f15d8[_0x27eb15]=_0x29f3f0):_0x29f3f0=_0x517023,_0x29f3f0;},_0x2645(_0x5f15d8,_0xe4d1fe);}const jdCookie=require(_0x31db2f(0x3a2,'p@Y!')),common=require(_0x31db2f(0x189,'7ico')),notify=require('./utils/Rebels_sendJDNotify'),getToken=require('./utils/Rebels_Token'),CryptoJS=require('crypto-js'),activityUrl=process[_0x31db2f(0x186,'ztdi')]['jd_dplh_url']||_0x31db2f(0x356,'8sBR'),joinMember=process[_0x31db2f(0x1c0,'QH$D')][_0x31db2f(0x216,'#G*J')]===_0x31db2f(0x16c,'QH$D'),dplh_viewShop=process[_0x31db2f(0x2bb,'(^Vd')][_0x31db2f(0x175,'@ZsK')]===_0x31db2f(0x29f,'Nj3s'),dplh_AddCart=process[_0x31db2f(0x16f,'7ico')][_0x31db2f(0x2a7,'17pw')]===_0x31db2f(0x318,'6k2x'),dplh_draw=process[_0x31db2f(0x3a1,'8sBR')][_0x31db2f(0x2eb,'zc2o')]||0x5,dplh_wait=process[_0x31db2f(0x25a,'E6*U')][_0x31db2f(0x352,'vNt)')]||0x1,isNotify=process['env'][_0x31db2f(0x367,']5%u')]===_0x31db2f(0x197,'1oXl'),hotbreak=process[_0x31db2f(0x390,'BZ)i')]['jd_dplh_break']===_0x31db2f(0x209,'wCHe');let waitTimes=parseInt(dplh_wait)*0x3e8;const prize_type={'jdMarket':'[京豆]','coin':'[金币]','point':_0x31db2f(0x167,'sOQd'),'integral':_0x31db2f(0x296,'Sf!J'),'goods':_0x31db2f(0x361,'4CI('),'product':_0x31db2f(0x391,'D)zQ'),'coupon':'[优惠券]','chance':_0x31db2f(0x349,'DfGE'),'card':_0x31db2f(0x25c,'#G*J')};let cookie='',originCookie='',cookiesArr=Object[_0x31db2f(0x358,'Xm$1')](jdCookie)['map'](_0x516fc1=>jdCookie[_0x516fc1])['filter'](_0x1bca9a=>_0x1bca9a);!cookiesArr[0x0]&&($[_0x31db2f(0x27d,'7[Ag')]($[_0x31db2f(0x2d0,'sOQd')],_0x31db2f(0x32c,'*jVq')),process[_0x31db2f(0x1d0,'me0n')](0x1));function _0x5c66(){const _0x24827f=['WRbPbYK4vSkduCoaW53dSmoVCa59tLJdKSkfWPFdRmkKWOJcU3dcHSoIWRSg','WRpcPxnZWP/cRqBdGd9fWQldLdXYg8kkFCowWOm5W7NdSh7cVJeTWOzDW63cIdrorGBcTSoTEYddMmkpWOtcQCoUWQVcMmobW7vwtSoNW5LGW4ZdSsqNW6xcR3mfWQFdQgTVWOazWQVcOmk0cCorACkpW6LrW7u3WR4dWRtcJZ7cMY7cOavbuYzeFmkkmttcQ8kwxY7dP2uqp8kzh8oBDbNcMxPgWOhcISohWPLkW7qDuWOHW7a8WRhdVNZdRSkaW5xdKCoBzCkaW5xcJmkCA0/dImoFnuvWWOSqW5Wqmx3dJCk/W63cK8keWRHkEa','W4/dVtGJW4FdTvBcILODW4BcNge','6lAl5y2+5Rwj5yUn5l6r5Oom772mw+wiKEwkToEHM++8U8kQ','t8o8bmoG','ALDBeSkXW6mIbcNcP8o2bMf/WPFcHwyCDsC6W67cT8oyW41xCW','5Rsy5yQG5zgl56sW772jW6ZOGyRLKAxLVi/LJ6ZdJa','qKdcHa','xmkYD2GmW6O','WQKwfSkEW5XqWPRcUa','5PYx6kYR57+Z5REm6kse5lU75yMG5y+06yAO772u5lIF5OMY6kcn5RE06kwu5lIb5yIuW6W','5OQg5AwA5AEc5As25Q+5776W5Asj5lY/55Iy5Q+05Ps56k645yE85OMD6kg66isj5PYi','q1ZcHa','WRizg8kwW4zz','j1ldUKmCWOxcQ8kXyue','776T5Bs25OUt5yM86iEj5yMV55UA6k+W5PwW6lsk5z6k5z+cWRfq5RAb5yU0jKBVVPa','5Rw15yQu5Bw+57U55PY377+S57I25P6h5PE06zEE776J','W5PBA8of','WPBdNSoN','agScaMHZeYBcNHVcVG','F3ZcSbC','6zEz6zUr5Pwf6zsXWPxcS8o3','W43cQ8kK','FCokWRhcGhVdUWpdRSk7W6e','WPRcKvS','meyergHrm3m1WPG','W5TjBmk7ACo7WOe','W68mEXPCiCo6','gmo8u2JcSsW','cSo/u27cOaXeWPBdVYn3ia','W5lcICoKW58','WQyugSkDW5S','DCozWPapW5VcMSoVAvq','ECoKW5ZcHsRdQYO','W5lcSmkXWOPnWQddIcy/','W6VcN8kYtGO','WQqoja','4P+JWQhPMjRMNB3MI7RLJiNLIiZNM4BMLzBOTQhLNz7LN4dKVkxMGy/KUlBNQPFVVBJORBtMRlVNOAxKVy/NLBCijgqtAEEVJEMdQUEUMUs7QUEuIos4LEwkU+wkIUwLPUs5LEAwHUI3PEwEVowCIU+8LCkf','wLpcL8kdW6GA','WRmtySoQsmkLWR3cMmo1rhZdPq','WRzLbYKRwW','WRakhmkiW4XNWPFcOSoYW4u','wmoIW4m','xSoIW43cPrxdRs/dLYndeJm','tN/cJv7cKCoy','W4ddSCoWkqtcVK4MlCo1cq','AcLFvmopECoRqIJdP8oH','bMWddNHGkJNcMq','mCoHW7RdMtFcRZ/cO8kMW5a','c+ELREwkImoT','xwxcKa','8ykKS++4S3K','W7HbECkq','dgWRW681WR1Xa3VcOSo9smkDaMWqvmoJzmoUF3eUE03cS17dNmoClmoHWQfGC8kUeW','WOmxgSkzW4br','fM0umujJ','WPVcI08T','FCo2W6yaxhm','xvxcG8ks','WOJdLmoTmSkhWO/cTtNdNL7cKq','u8oEWOCuW7VcNmoRAG','W7XpFCkBvSo9WOtdV8omWRvKeG','WP8Fpa','W5BdJwBcO2FcQZrB','5B235y2crUI/UEMCMUw8Sa','W5Scv8o5yCkwr8oavq','W4xdPCokiZFcS1qDaCoIcSodWQvsEa','FsvNCSoC','W40ev8o/FCk8s8ovxXRdKmky','jLpWTA2W77U/','iSosWRZcShhdGqxdHmknW6BdQGFdNIJcQmkDoKa0gf9kemkbku0l','nKHCo8k7W7K/','d8oPrN0','hbBdJbCwv2xdUG','uMlcI0dcRCoyDHu','kvjy','5RwP5yMZ5Bcp5z63WOO','WQ3cH8k9WQXOv8o9Fa','WPGvmgXAkuDSW5tdR0ne','WP/dICoJo8kpWO/cGJpdP1/cLGu','hGtdKNRcICkSW7pcISkyk3r2ya','kY5SC8oAFcTgW6rdbq','W4JcQSk1WOPxWQldRYKLrG','yHldNSko','W6vvD8kwzCoRWPK','jfCyshrxlNaf','W40yuW','WRDPgJ02xmkdDCoFW43dTCkTDbH5','WQelbSkBW45A','BX3dNSkkWPFdItdcKW','sMy1WQuHWRS','vN/cJW','FCoYW7qBx1pcQvNcSa','C+E4GUACH+++LUs5IoASJEAvKoEbOUADV+wtHSkc','x2pcHKK','W5yCie9dkv1wW5NdSKzuWQWtghKLWRbKW5XAWOH9nCkzWP/dMNStW6vXc0S','iLpdQW','FCoMW6eatxtcVe3cUrhdTCo7','WPxdGCoLpCkTWOdcLZldPetcHaxdKSku','8kgyQCkJ','WQ3cISkMWP9luCoLyxm','5B2p5yUi5yI85yUYauy','EmotWOJdQSoSWRRdVa','g8o9qxq','WRPgWQ8qW68ahGVcRe/dVmkWytC','WRzxWRa7W5yjhaRcQKNdPSk8','umo8a8ooWR0ZkW','WPtdKmoTnG','W6uFxCoEzSksrq','mCoHW7RdMtFcRZ/cO8kWW5JcN8ksaq','WRDPgJ02xmkdF8oeW4JdQmk2FdfIe0u','m8oHW7Hgxw/cP1RcOvhdVSo7aGhdN2lcUCoyW6NdTM7cMmk5W7FdJ8o4W7mmWO3cT8owztaVErBcJGLvW4hdPZy','W4ldVayJhmocmq','WP8zBSonv8kVWQi','lHLfu8ockHi','xSo+fSo6WRucjCkG','xfVcJdpdSCoXWRhcMW','WPNdNSo1i8kbWO8','cSk5rSk+W6LGFSkBm0NcI8k/Ca','k07dVKuAWQ3cGmkRCuVdNKi','xmoObCoS','mSkYlmotjW','W68AW6fUWR1rt1pdSGy','WPBcR2H+WPBcSXq','E8oQW7OnsfpcVvNcNbO','8k+FOadMGzdLLiVOJ6/LV6NLR5lNIyzW','WPVcGSkzeCoWW6SXomoMWRjCWQJdNmkfDa','rstdGa/dI8o3W68FWROF','WPFcImkEc8oVW60RaSoAWQu','WR4Zea','WR/cJmkMWRvsv8o6Cv/cQG','tuBcGSkw','puJdRv4DWPm','WO7cRSkNWQLmWQ7dJWmNx8oEW7BdNxxdLZuCCCoJcSk4cmkLD8k1W5fyWPBdMCouAc3dU8oTorFcVW','v8oXW4ldP8k8BmkPCWmQC2i','rSk0zLWPW6/cGW','B8oSW7ih','W5tdPLZcKg3cJGT7W5je','d3ew','h8oNW7FcHKBdOmopWPi0WPjSpmkmWRC','W6pcSCowW7NdJmoCmXZcPaBcU8kHW50','yLRcMW3dLmo7WQK','FSomWQRcK3ddJWldOCkv','5lM455oX5B+D5ywtvwi3','WP/cHCkob8oHW4S5','fa/dJGKhz3NdUvi','xmo2W6NdQSk6ACk1vs48','luLlkmoKWQvJjcFcSCo3xdvLW5pdLdbvDcWRW7VdQmo+W4b7y8oNamkNW7xdUCkmFmka','ECozWPW','W7FcKSkZrXSQ','zsD8umodFdf8W5bddxDoh8k+WO4iiCoLW5aFCgu1nSkyb8oNWQVdJaujCX1EW6JdGa','z8oAWOmuW5hcS8oNyKG','8l+LR++4JmoX','quJcHCkdW7miW4JdHa','W6FcVSouW6pdICoHmq3cGadcPSkY','W4ldPmoMncBcUfK','CZz2vq','W5aeBtb7n8o8','WRing8k3W4Dq','WRvWdcaCuSkFuSo/W4ZdRq','4PYFW7hMNBlOGAFMRkdNOylLPR3NK506','W77cHCkVtX0pcCkcW4LsWRZdTq','nLazsh1E','BZjYt8onBW','mCkZAmoXW4NdMW','W4BdKCkvWQbLWRTfWPOI','mCoHW7RdMtFcRZ/cO8k6W4BcNa','6i2T5y+wmUA1TEwlT+s/KUAcGMVLPPVOTPVVVO3LJk3OG6tMMzlPU5RLJPFMIkFOGQtLP5NLJPZKUiK','DMxcKglcSCoFEa','W41cCZmuDfH8W5ZdIKHO','vSoNaCoHWQu3aSkQiwO','o0ZdQeSCWOxcPmk8zLJdNfqT','5y6D6yEY5BY/5zg354MO5OklCxP1W6JcR086BCozW5a','WQRdHmoRffz7wmk/W4T4WP/dM8kj','WOtcNFgcJzZVUie','W7RLVidLPQlVVylMMixNGORLHAdMNzpLKO3dGa','z8oAWOmuW5hcQCoVyKG','WQKwaCkxW45gWP7cPW','qb7dQryqDw0','w0hcLIy','nSkRzCo3W47dJeZcSG','W7Tjz8kgACo3WOq','W68gD8kJ','WOWfiwf8l1P7W4W','WPdcGSks','rIXg','rL3cHYBdHq','sSoWjcTXW6RcHw/cP3LOaa','iCkVE8o2W4tdMutcO8kQ','W6ldIwlcO03cHdHtW6q','i8oNbSojWRbIW6JdRCoA','nKaEsgXzm28PWO4z','W7jbymku','o1m9c39ZcGlcKH7cSSkOBmkM','sSkZW4/cTvJdMmoHWR4','WR9cWQ8GW6elfW','W4ZdRryxfCoqjq','WQ0rbSkbW4bBWPhcImoqW4n3WO/cUMddVq','W4FdMmoCvSkGWR1RnCoIWOPSWOZdLq','44ga5O2d56wo44kX6kYP5ywn6iY25y2DW6b9W4BcNWNdPG','tmo9fSo8WQqH','WRRcJSkMWR0','WRCiDCoRx8kIWQ7cHmoQxN7dOSo1z8kR','DqpdHSkgWOq','B8odWPqpW4hcMmoizK5T','W6FdN3FcSh3cSYLB','nSk6FCo+','W60iFq','W4ldSSoY','WPVcJvS','8jcfHo+6KSkJ','WRCzhmkg','tCkYWRldOaZcVCkfWRmwWQ5va8kr','rmkOywKSW6hcIG','vNGIWQeNWQPFcwVdV8oYx8kK','W4/dUtGQW4tdT1pdN3SOW6RcHfzy','W4FdLmkaWRO','p8k0nSo9n0q','kW1/wCoNnbyttwjyBSozsIldU3u','W60oACkY','WPFcMmkzc8o+W6O','xJhdKJRdMSoG','8ygSUmkG5Oc+5zwY6i2w5B2Y5A+i54UE77Y85AAZ5zkW5zkQ56sx77Yw','W4HfDtuBDGCLW4NdG1PqWOH/','nKaEsgXzm28JWPaAW7T7','aM4bl2jKgYtcNGdcQCoIDCkHWRJcSCo4W5JcKrddILpcH8oqW4O8WOVcS0yEeW','W47dL3VcN0dcQti','o8k1F8o2W57dM2hcRmkGyW','cEAVUUAvUCoc','EYL8x8oluSoSBaddSa','W4ZdVaynh8orft7dNeO','n8oNW7RdPtpcQHVcU8kDW5xcNCkwexbL','ievCmmk/W6qRiHJcUSoHbG','u8oMea','qSoOW4RcRYBdUGJdLW','w8kKyw8PW7O','WQyzE8oM','WPtcRLz+WOpcRq/cSh0kW7VcGa','8jg+HCoi','DCoyWOefW5dcJSo1','BmoiWQJcN3ddJcJdQmkcW6ddQX3dJa','W7eCrmkqWPeaW4BdVCkuWOa7W5xdOZxcUSo0ymkaW7DckcmJzG','77Y35B2F5yQL56Ed5yUE776M','W4/dMmknWRa','dNCcmgjOfbpcGHZcS8kICSk3WQu','W7ygC8kY','qmkVzhmXW6VcQd/cTw4','B8oTW7OzB3tcVfJcSa','WQbcWQW/W6epfW','W6/cR8oeW7JdGCoGocVcPrZcOCkPW4n6pW','cM02jN9vgZ7cNcJcQmkIE8kH','W53dTmo7aINcUW','B+wSK+ElJCkw','lZ9QvCoCCdfCW5bddq','FCokWRFcNMVdIX8','pJVdSSkcWRFdOYG','CmoQW7i','hEITOUAZN+wMSUI3QsdINz0m','BbFdTCklWOddLZNcObRdKeLjWPdcHW','luNdV2SlWPtcJmkUA17dGa','rmkGzNKT','WPJcO3e','W6/cO8oeW7JdICoOmW','W4OayJbqmmoI','WOWfixDLja','WPRcHmkn','W4/cPCkUWOy','44cD5lIu5lUe6lEC5y+P','W4LBDSoq','tCkGzNS','gCoHW7FcV0ldPSodWPi4WOPIkCkD','v2pcJW','neyUaK9dkbxcPdW','WQWxeG','A8oeWPevW5ZcKSoOtfH1WPuVkH7dMW','jYHRAConCJO','o8k1F8o2W57dM2pcRmkWFa','y8ozWRxcNW','WPVcJvSCWQKB','hSo7v27cJtS','puC+tNfvkq','nCoRW7VcMf3dRmoC','kvHrp8kQW6i','WPVdGCoWnSkaWOxcPJNdMutcGb/dKW','W6aeBSkVW4fjD8ktF8klCGK','W7ddLMZcOx3cOY1sW6q','WPRcI08QWRigWR4','W7tcH8k4tJOWaa','tCoNW7tdUCkPu8kPrtaT','W5ScrmoKESkc','W7ZNUlJMNRxMLPtPLA3VVP4','FsvNuSooDCoTEcxdU8oLzG','jKHmgCk9W74LmshcOCoR','W7msDmkdW5Le','o0Wn','5P+46k6z576Y5yUZ6lAT5lQx5yUt5y626ysa77Y35lQI5OQ/6kgc5yUN6lAS5lIo5yUPWPq','tcBdHYFdMCo6W5GhWPChWRu2WOi','ruJcKq','uCo/W5BcPdhdHstdGdvqpdi','xMlcNG','WQlLUiNLKi5y','imkKo8o5jL/dIG','fCoRW7dcPv3dOmozWR8EWPzO','W4NdQaye','wKdcHJhdTmo8','wdBdLJZdPSo3','mSkMoCoOj2ldMmk2FW','W7PpCW','wM/cNexcRSovzX/dSmk6kcS','swNcHu3cSCosua7dVCk7kIO','W4qmEW','5AwP5zgi5zg656w477+l','oSkIh8o/n37dMmk1CCkMWPpcNmoDW5S','nSo6da','W5erCt1BjCo4W4hcOW','WRqDbSkg','WQuwaW','W7ddGmk4WRHNuCoHy3/cQW','W4ZdQGymbSokiIJdLea7rq','DCogWOSwW6FcImoO','8js+USod','nbPft8oEpa','WR5iWRS','iCk0nCo7kKldQCk0C8kpWOG','WOOcjxDyffP4W50','W6ZcLSk0va','CWhcSrDvW53dMmoLpXC','WRVcGCkK','W6nqCmkuDmo9WQVdV8onWRvibqS','5P2j6i6P5y6N5yMZ5Pw75O2P','WQpcMmkpemoxW6uYhG','dCoXW6BcPh3dQW','WRnqWR0HW6q8gW0','ySomWPyh','c8o2W6lcOKhdVa','wmoKW5FcVW','W4btCCocFSoDCbTbFCof','m8oQW6/dNIlcOW','WQhNPz7LIOyo','W7DdymkCDSoXWP7dOSoGWQm','4PQ1WPBORiZLO7lLHjtMO6hLVPBMR7tNOQlNMQFLJkpPH7i','E8oGW6eQvhlcO13cScJdTCoZpqS','r8oLW4VcUXFdOtxdNYm','h8o6r3K','iuOpvKLykgy','pmoTW6K','hCoSW7u','rYRdMIa','W68seCk4W4zDWPhcImoeW4jNWPtcSsRdRSoLoCkTWQefn3H6lxC','qos6Qos4K+I0VownM+w8LEwmVUEbLoEkT++8VEIUNUIhQEIHPowgG+wTH+ABLowrNEwlTEwhR+M5RowrT+wnL0b+','W7uisCkYW4vjBCkn','umo5eSoM','oCk1b8o+m0ddKCkeBmkiWPNcHmoQW4aAfq','uSoLW7JdRCkzCSkT','uwpcGui','5RwR5yI75BgU5P6k5B+E5AEo776n5B6l5AwO5PEK6zwD77+U','WRzPgJO','W6BcTSoBW6pdVSoQoaZcTr3cNmkI','DrBdHmklWR7dLcxcLJldHG','W4NdMmkhWRbVWRbj','WP0xmgq','rCkUDq','WP/cVwHOWPFcKq7cJa','nvvqnSk7','pSk0BG','dSoMvKJcRtje','E+w0O+wGS+wEQUwCGWxWSz2A','W67dM3dcOKJcRtW','c38caM9JothcHrS','CmoyWO0','pSoLWROlW7lcPCo/','WPuziW','vSkTW7BcOL3dO8oeW4q1WOnVlCkvWRFcTc50oSopzmkejLa','ksjXDa','WPFcNmklemo9W5a2fSo2','5RA45yIw5zco56sH77YZW6NOGi3LKlBLVOhLJBzP','W4KvuCo5ECkywSoFqbtdLSkz','teNcKSkJW7qeW4a','ymoeWPO','nCoWW7ZdNZpcIY7cQCkCW5xcL8kw','zUw6M+MqKUw8RowoUEwMJEI0TKROTA/OVjlMIk7OOimp','W7hdM27cSfVcOq','smoOhSo8','CrldG8kB','DqFdMmkgWP7dNdJcMs0','ySkJtmkuW6PeW6xdJ8opq8o7','W7uvB8kJ','5zou6z2I6yku5yUN5yUecCk2','WOtcJSkha8oRW68','f3CCjLHZgZ3cHW','5RAp6kAW5lQo5yMtWPmuWQq','W47dOSoHlJhcTKG7dmoPd8oK','WPxdHmo0fCkcWOdcGG','d/ctO5u','dSk+qCk+W6fHhSkvkhVcICkN','hCoxqq','WRakgSkeW4bAWPZcRG','WQDuWRKHW4Ki','oSkVFCoVW5NcHaldQSk5FJ/dICozWPpcKfBdUu/cM8o7cgtcJ3jMqSkiicJcNZSCc8otWP3cU8kK','lvXmgCk6W64pjJRcOq','wSkPFwOjW6FcLYi','rY9BAseTxMi','i1NdV1KjWOFcGa','WRyrySoI','jIj/','w8oOa8oP','W5/dRamqfCoqiG','CcL0','me5AkSkxW64','W4RdS8oNkdu','b2Wqna','W68iBq','dmoTrL3cSZ5tWPZdIaPSmWJcQKNcMeO0Ea','j0Wdt24','WPWenKHFj2n8W5y','5BsS5OY/5lM25PEQ6lsd5zYo5z+okokCK8oe55Id6k6T5lQL6zIB5PY+5OQw5y+M5yUB55Ib566I','8js+USod5OcU5zsH6iYV5B2v5A2X54QHiW','xtFdMJtdISoaW4qxWP8E','nWHmsmoYfXG','8yg1Oo+6J3m','WRtcNCk5AGaRaSkYW5TbWR/dPmklfSonWPFdL8kWeW3dUCoPW7C/bmomBK4GW4NcMG/cI3q','WO3dKmoPjW','C8oX8kMmHE+5Ja','WOVcUwXOWRRcPq','sstdHY8','i8oPW6FdGbpcSYu','kKZdOei+WOxcI8k8z1JdSem','dSoMra','WPddLCoupmkfWOtcIW','DqFdI8kBWOxdIa','mCo1W6/dGIxcKJlcQSkk','WRpcHSkHWQ9nuCoG','W6Sdv8kNW4vlzSkE','tM01WRmYWQH7','W6VcQmotW67dKa','yWhdMmkaWOldTJtcJcFdNLPf','wuBcHmkwW7aA','W4/cR8opW4xdGCoSpq','wCo0W6NdOG','W4dcP8k3WOPvWQ7dLtKQqSoBW6y','FCoMW6eatxtcVe3cNbO','WPxcHmkFeSo2W6O','WPJdHmo5nSkCWQ/cJdxdNa','tmk5E24','tCoNW7ldTCkLBSkIsq','W5RORyBMS4lLKP7LUBRdGq','WOJcVJC','yEocMoA0IEwkTmkng+oaSa','WPygiwTZjef0W48','WOVdMCkzW6XOWQvdWOCIgmk8WONdNIvSWPhdHmk7gZHZWRGgW5tcLMVcSvqes1xcJMS9WORcRmkcabRcTCoHWRZdQufqyuS','W5LvDSoqE8oICszwEq','WO/WV4kJ','WPlcISkEaW','uhW0WQK9WQH3c3y','dabyC8o+oXu','5B2U5yUy5BwV6kY9576I6BUr5zom5y257729','t8o0W7pdP8kcDCkS','WP7dKmo0mG','WRDHhs03','j8oJW6FdHa','5yUv6lwv5lMu5yUAwrnB','W4hdPHu','W67cQCoq','WOxcM8kgc8oT','WOODlxv+nv0','W7hcRSoyW7VdPmoMjrW','dMRcRKhcQ8o6FG','W7RdH3RcQatcHXqtW6vZeGPxxHpdHq','W4yeDZu','W6NdMLFcVKlcRZC','6Akr6kw+5zIf54UE776x','W7ZcKSkPyrGJhSkvW6LwWQ/dPmkev8odWRxdISkMfq','DmodWO/dSCoIWQ/dMSo4WQHg','8k6kLH8','W4VcOmkxWOXiWQldJW','DCoRW6mat3JcHL3cTHu','WRlcItxdPXNdUqTOW6TTAbe','WORdHCoFi8khWO8','W6NcKSkWqqySpmkEW5nDWQ8','m0iEqa','pCo6b8otWRDQW68','qLRcKdddLmo3WQZcU8kXluu','FsvNuSooDCoTEaddSa','EcDNwG','qsRdLa','WR4vEmoKsSkK','W48mCcDClCo/','iSkPymoLW4/dRuxcRmkeyG','s37cH0JcRCoFzW','W4yItG','8jwhTU+7UCox','FSoqWRFcILldGrJdSW','bNavf2jQhW','BZnWwmoDB8oQ','W4KvuCo5ECkywSoFzr8','WPpcG0G4','sKVcGcVdNmo2WQxcISkymLnQ','ECo9W7ybwNpcR1hcHrhdP8oR','smkLDMGGW73cLW','jfClvw9d','W5NdUWCa','5yUd5yw7kG','6k6R5AYS5OMg5AEp5Q6S5PAT5lQJWQ0','W4RdPH0baW','W7dcS8ozW47dHSoR','lvpdUuqCWPK','W5hdK8kDWRDRWPziWO0vvSkKWPK','W5/dJow+T+wLGoAvNUMvU++9Ja','zCozWPldT8o5','cSoRrNxcSJzvWOhdKGS','mH1svmo5pXCQvG','5Aw55zoY5zoU56AZ776N','wSo7bCoNWQmFkCkWmwdcTmkr','DSoHW4Ons3hcOgVcUG7dSCoXkW/dHgG','s0BcHCksW4GBW4K','WOOdj2zjm0a','obhdLZukugS','rCocWOWsW5dcK8oYiNL/WPeL','ACozWQZcMW','W4WxuCoX','EsHL','WO3cVMHOWOFcLq7cGM8','WOxcN8klemoTW5a2fSo2','DmobWPRdQ8oPWPpdUmo6WQK','DWXZo8kYW50AeG','WPBcGuGWWQ0aWQqRDSoWW4dcKG','W7BcKSkUuW4Lcq','W7FcTCosW7NdOCoR','dgWRW681WR1Xa3VcOSo9smkDaMWqvmoJzmoUF3eUAvlcVvZcL8oCA8o7WQfiE8kPaNFcHSoWxhBcU8ox','W49wy8osFmoEDZXm','CCoxWO/dUa','DmoKW6yUxMNcILxcPHFdT8owjGJdMq','oCkmW6/dJcBcNaddRSkiW57dPdS','W7hdM27cSedcPbPwW6b5usC','xmo2W6NdQSk6ACk1vqS3C3e','W4pdRSoY','j8kOBmo7W6NdLKZcQ8kWCG','W5CvzZvbj8oqW4pcVGVdGCoIW5G','r0FcLZpdJSkIW63dGa','4P+JWQhOHO/MNAVOVPFOOPpPGBVLIBlKU6BPLP/OROhcIG','Fmk7pmoqlexdL8kyE8ktWPJcH8oFWOCueIGjzW47W7VdQftcTXXViqeOwmkQoNJcUmkNcSo/W7tcVa','4P24WQ3MNO7NNk7ORRtMS4PH','W4JdLmkhWRC','W7vpyCkBDmoH','mWXquCo2oXS','W5JMNkRLIB3NI6xMGOhLVA7LUyRVVAlORlJMO7VMNyRNVONNU5lMMAJLKQFMRPBLUBdcLa','5yYU6ysK54MC5OgJ57Mk5P+ByKBcRSo8fCo6WOZdNtVdOW','iWHtwmockHi','W6dWOzgd','jf5lmCkOW6m4pItcUSoZfG','W77cHCkVBX8NaSksW5TbWR8','4P+JWQhPMjRMNB3MI7RLJiNLIiZNM4BMLzBOTQhLNz7LN4dKVkxMGy/MOldLV6lLRkZLNQVPLyhOR6tVVlJLJP3MLzJKUiVOG6xKUiVNQlpVVAxcSW','W71dWRf8W6yEhqdcUXtdHCk8rcJdQmkBc8o/vM1CWQOWW5RdRmkIWO1xWQn0W5hdMK8lWPddQ1iVh8o2CNddTCoTBue','sstdHY/dU8oQW5WB','sSo0W7tdTW','ASoDWRBcR18','W43dK8kqWQz2','umo9W4JcOXxdRs/dLYndeJm','W7GnW7z5WQPgEa','cSo9rNtcQY1IWPFdVWO','W70uE8kSwmk+WQBcJ8oTbhFdPCoAE8kXWQSMWRRdVCodjZOJl8kYW5qSW4nMWO3cUmolrI0','W7vKbge5qCkcwmoEWPhdQ8kMuXjIdNldGmkbWPNdU8kUW4JcR2pdICoZWRayWQruoWyUkSkhq8kbwIhdT8kqhSkZAxxdHCkadW','W4fvzq','W4XkCSoDFSorFZTrySookmoscgFcHa','W6JcG8kVsqeLbCkxW4m','WORcPx17WP/cKqJcHMqF','WQeBaCk7W40j','iSosWRZcShhdGqxdHmknW6BdQGFdNIJcOmkqoKWWeeHhvSkBiWmkW5mHWR7cLhymsweJWPzn','t8o7hSoYWRqbjmkQfxq','AHZdJq','DmoiWO8hW5ZcK8owyerOWPu','W5enBcr5k8oIW5m','WRjLccO6qCkE','WPayigbu','W7ffymk4zCoRWPNdUSooWQi','xZddNqVdGCo3','WQavDCoMv8k6WQZcKW','W7Dtz8kCz8o2','oCk+mCo0','qCkUyw4RW6/cItm','W5tdLCkBWQ1R','rMyW','W5evBZ1wjW','r+wpPoElKJq','W5SdrSoZASkcxq','ECo3W6CgsvdcRuFcPH/dS8o6','W5tcQSkQWPDgWOtdJIWQsmozW7BdQdldLsW','uCo6W7O','4PQdkoIUSEwgIowVIEs6HUw/M+INRoEAI+EmOUwGLowpToMeMowrO+wgIoI+RUIHM+IgMoACUG','W50fqmoIrSkv','WRXPeq','W6JcR8ozW6ZdJ8oQoa/cUGZcPmoRW4DSo8k3BZCwrSkbtmoKWOVdL8kOySkVW7a'];_0x5c66=function(){return _0x24827f;};return _0x5c66();}$[_0x31db2f(0x30a,'Xm$1')]=process[_0x31db2f(0x3ac,'p@Y!')][_0x31db2f(0x33f,'[6t!')]||'',getBlacklist(),$['errMsgPin']=[],$[_0x31db2f(0x23b,'UNWz')]=[],!(async()=>{const _0x358827=_0x31db2f;console['log'](_0x358827(0x2df,'SsIC')+$[_0x358827(0x299,'izVE')]+_0x358827(0x311,'r]K4')),console[_0x358827(0x247,'REMq')]('开卡类活动不会自动运行,请自行测试是否有水'),console['log'](_0x358827(0x2f4,'UNWz')+common[_0x358827(0x2f0,'7ico')]()+']'),console[_0x358827(0x277,'sOQd')](_0x358827(0x27a,'5bfi')+(waitTimes===0x0?'无':waitTimes/0x3e8+'秒')+']运行间隔时长'),console['log'](_0x358827(0x19b,'8sBR')+(dplh_viewShop?'开启':'关闭')+']'),console['log'](_0x358827(0x1e1,'BptZ')+(dplh_AddCart?'开启':'关闭')+']'),console[_0x358827(0x376,'8sBR')]('IP限制后继续执行:\x20['+(hotbreak?'开启':'关闭')+']'),console['log'](_0x358827(0x3ab,'FCBa')+$[_0x358827(0x31b,'1oXl')]+_0x358827(0x237,'Lw^y'));if(!activityUrl){console[_0x358827(0x365,'#G*J')](_0x358827(0x261,'E6*U'));return;}authorCodeList=await getAuthorCodeList(_0x358827(0x2f8,'r]K4'));authorCodeList?(console[_0x358827(0x2b0,'r]K4')]('\x0a服务状态正常活动获取成功'),$[_0x358827(0x34b,'wCHe')]=authorCodeList[random(0x0,authorCodeList[_0x358827(0x33e,'@ZsK')])]):($[_0x358827(0x1ed,'ztdi')]='',console['log'](_0x358827(0x236,'SsIC')));$[_0x358827(0x30b,'Sf!J')]=activityUrl;$['activityUrl']&&($[_0x358827(0x2b6,'yJJs')][_0x358827(0x2af,'BZ)i')](_0x358827(0x24b,'8sBR'))?$[_0x358827(0x168,'izVE')]=common['getUrlParameter'](activityUrl,_0x358827(0x2de,'@ZsK')):$[_0x358827(0x1f7,'%N1Q')]=$[_0x358827(0x324,'cGsq')]);$[_0x358827(0x258,'me0n')]=_0x358827(0x265,'ssCh'),$['baseUrl']=_0x358827(0x22f,'6k2x')+$[_0x358827(0x2fe,'Nj3s')];if(!$[_0x358827(0x2f7,'zc2o')]){console[_0x358827(0x38e,'Nj3s')](_0x358827(0x169,'ztdi'));return;}notify['config']({'title':$[_0x358827(0x36f,'@pzs')]}),$['userId']='10299171',$[_0x358827(0x273,'FCBa')]=$[_0x358827(0x244,'QH$D')];const _0x39bdf7=process[_0x358827(0x21d,'%N1Q')]['WX_ADDRESS']?process[_0x358827(0x3ac,'p@Y!')][_0x358827(0x375,'p**v')]:'';if(_0x39bdf7&&_0x39bdf7!=''){const _0x4ced89=_0x39bdf7[_0x358827(0x330,']5%u')]('|');$['randNum']=Math['floor'](Math['random']()*_0x4ced89['length']);if(_0x4ced89[$['randNum']]==='')return console[_0x358827(0x247,'REMq')](_0x358827(0x28a,'17pw')),![];const [_0x31724b,_0x79c7c4,_0x333f2a,_0x1fb6b3,_0x3db1d4,_0x3ac285]=_0x4ced89[$[_0x358827(0x302,'jqgy')]][_0x358827(0x1e4,'Lw^y')]('@');for(let _0x4b51b9=0x0;_0x4b51b9<0x6;_0x4b51b9++){if(_0x4ced89[_0x4b51b9]==='')return console['log'](_0x358827(0x23c,'17pw')),![];}$[_0x358827(0x255,'pHZB')]=_0x31724b,$[_0x358827(0x288,'UNWz')]=_0x79c7c4,$[_0x358827(0x1d1,'zc2o')]=_0x333f2a,$['city']=_0x1fb6b3,$[_0x358827(0x20e,'FCBa')]=_0x3db1d4,$[_0x358827(0x207,'me0n')]=_0x3ac285;}for(let _0x5ca030=0x0;_0x5ca030<cookiesArr['length'];_0x5ca030++){$[_0x358827(0x252,'D)zQ')]=_0x5ca030+0x1,cookie=cookiesArr[_0x5ca030],originCookie=cookiesArr[_0x5ca030],common[_0x358827(0x2c9,'p@Y!')](originCookie),$[_0x358827(0x2a4,'%Bos')]=decodeURIComponent(common[_0x358827(0x16a,'#G*J')](cookie,_0x358827(0x1f2,'sOQd'))),$['UA']=common[_0x358827(0x240,'Zgie')]($[_0x358827(0x2a1,'b@Z4')]),$[_0x358827(0x2cb,'ztdi')]=notify['create']($['index'],$[_0x358827(0x3af,'Lw^y')]),$['nickName']='',console[_0x358827(0x188,'D)zQ')]('\x0a******开始【京东账号'+$[_0x358827(0x241,'Xm$1')]+'】'+($['nickName']||$['UserName'])+_0x358827(0x243,'SsIC')),await Main(),common['unsetCookie']();if($[_0x358827(0x2ec,'me0n')]||$['runEnd'])break;}if($['errMsgPin']['length']>0x0){let _0xd2ffb7='\x0a以下账号可能是火爆请加入黑名单\x0aexport\x20jd_dplh_blacklist=\x22'+$[_0x358827(0x1b3,'D)zQ')][_0x358827(0x257,'@ZsK')]('&')+'\x22';console['log'](_0xd2ffb7);}if($[_0x358827(0x362,'yJJs')][_0x358827(0x37f,'r]K4')]>0x0){let _0x30a2c5=_0x358827(0x172,'yJJs')+$['errOpencard'][_0x358827(0x177,'BZ)i')]('&')+'\x22';console[_0x358827(0x271,'6k2x')](_0x30a2c5);}isNotify&&notify[_0x358827(0x253,'izVE')]()&&(notify[_0x358827(0x380,'sOQd')](_0x358827(0x1d4,'QH$D')+$[_0x358827(0x2e7,'p@Y!')]),await notify[_0x358827(0x269,'J*Ca')]());})()['catch'](_0x3c019c=>$[_0x31db2f(0x37b,'7[Ag')](_0x3c019c))['finally'](()=>$[_0x31db2f(0x2c3,'BZ)i')]());async function Main(){const _0x508325=_0x31db2f;try{$[_0x508325(0x1be,'Sf!J')]=![],$['open_draw']=![],$[_0x508325(0x1c1,'sOQd')]='';if($[_0x508325(0x38a,'1oXl')]||$['outFlag'])return;$[_0x508325(0x37d,'cGsq')]=await getToken(originCookie,$[_0x508325(0x217,'Nj3s')]);if(!$[_0x508325(0x1ef,'@pzs')]){console[_0x508325(0x28f,'4CI(')]('获取\x20Token\x20失败'),$[_0x508325(0x184,'%Bos')][_0x508325(0x31d,'Lw^y')]('获取[Token]失败');return;}$[_0x508325(0x388,'%N1Q')]='',await sendRequest(_0x508325(0x345,'cGsq'));if($[_0x508325(0x280,'jqgy')]==''){console['log'](_0x508325(0x30c,'ssCh'));return;}if($[_0x508325(0x303,'8sBR')]||$[_0x508325(0x19d,'sOQd')]||$[_0x508325(0x3a4,'b@Z4')])return;if(!$['hasGetBasicInfo']){$[_0x508325(0x228,'#G*J')]=!![];const _0x50e142=$['time'](_0x508325(0x1e8,'%Bos'),$[_0x508325(0x21f,'Lw^y')]),_0x480504=$[_0x508325(0x351,'pHZB')]('yyyy-MM-dd\x20HH:mm',$[_0x508325(0x182,'QH$D')]);console[_0x508325(0x16e,'Sf!J')](_0x508325(0x18c,'%Bos')+$[_0x508325(0x203,'(^Vd')]+_0x508325(0x210,'J0lT')+_0x50e142+'\x0a结束时间'+_0x480504),notify[_0x508325(0x355,'Zgie')](_0x508325(0x26b,'E6*U')+$[_0x508325(0x1cd,'#G*J')]+']\x0a开始时间'+_0x50e142+_0x508325(0x387,'Lw^y')+_0x480504);const _0x3072ca=Date[_0x508325(0x1b0,'1oXl')]();if($['startTime']&&_0x3072ca<$[_0x508325(0x3a9,'D)zQ')]){console[_0x508325(0x22c,'17pw')](_0x508325(0x2b1,'DfGE')+_0x50e142+_0x508325(0x314,'ssCh')),$['message'][_0x508325(0x36a,'vNt)')](_0x508325(0x178,'*jVq')+_0x50e142),$['runEnd']=!![];return;}if($[_0x508325(0x201,'p**v')]&&_0x3072ca>$['endTime']){console[_0x508325(0x24e,']5%u')]('活动已于\x20'+_0x480504+_0x508325(0x2c2,'@ZsK')),$[_0x508325(0x328,'SsIC')][_0x508325(0x297,'BZ)i')](_0x508325(0x275,'FCBa')+_0x480504),$[_0x508325(0x38a,'1oXl')]=!![];return;}}console[_0x508325(0x2f9,'ztdi')](_0x508325(0x268,'wCHe')+$[_0x508325(0x286,'4CI(')]+']\x0a');$[_0x508325(0x30f,'J*Ca')]&&(await sendRequest('绑定'),await $[_0x508325(0x338,'8sBR')](parseInt(waitTimes*0x1+0x64,0xa)));if($[_0x508325(0x20d,'J0lT')]||$[_0x508325(0x2d5,'wCHe')])return;$['shopList']='',await sendRequest(_0x508325(0x2d9,'6k2x')),await $[_0x508325(0x1ba,'sOQd')](parseInt(waitTimes*0x1+0x64,0xa));if($['shopList']){let _0x5f5797=($[_0x508325(0x2b2,'p@Y!')]||[])['filter'](_0x942360=>_0x942360[_0x508325(0x174,'J*Ca')]==![]);console[_0x508325(0x1a9,'yJJs')]('共有'+$['shopList'][_0x508325(0x2fa,'UNWz')]+_0x508325(0x2a5,'cGsq')+_0x5f5797[_0x508325(0x1fa,'pHZB')]+'张卡');for(let _0x2ea04d of _0x5f5797||[]){if(!_0x2ea04d[_0x508325(0x301,'%N1Q')]){$[_0x508325(0x3b5,'REMq')]='openCard',$[_0x508325(0x384,'UNWz')]=_0x2ea04d[_0x508325(0x304,'ssCh')],$['shopTitle']=_0x2ea04d[_0x508325(0x35c,'#G*J')],$[_0x508325(0x1bf,'FCBa')]=_0x2ea04d[_0x508325(0x36d,'D)zQ')],$['joinVenderId']=common[_0x508325(0x34c,'Sf!J')]($[_0x508325(0x2d7,'[6t!')],_0x508325(0x34f,'4CI('));(!$[_0x508325(0x176,'zc2o')]||!/^\d+$/[_0x508325(0x3a0,'8sBR')]($['joinVenderId']))&&($[_0x508325(0x2a2,'izVE')]=_0x2ea04d[_0x508325(0x29c,'p**v')]);await sendRequest('mission'),await $[_0x508325(0x35a,'1oXl')](parseInt(waitTimes*0x1+0x3e8,0xa));const _0x567346=await common['joinShopMember']($[_0x508325(0x290,'4CI(')]);if(_0x567346)console[_0x508325(0x27b,'@pzs')](_0x508325(0x20a,'p**v')+$[_0x508325(0x16b,'4CI(')]+']店铺会员成功'),await $[_0x508325(0x276,'REMq')](parseInt(waitTimes*0x1+0x64,0xa));else{console['log']('['+$[_0x508325(0x382,'%Bos')]+_0x508325(0x191,'BZ)i'));break;}await sendRequest(_0x508325(0x2d2,'Sf!J')),await $['wait'](parseInt(waitTimes*0x1+0x64,0xa)),$['dplhVenderId']='';}}}$[_0x508325(0x2cd,'SsIC')]==0x0&&($['missionType']=_0x508325(0x25f,'@pzs'),await sendRequest(_0x508325(0x383,'7[Ag')),await $[_0x508325(0x276,'REMq')](parseInt(waitTimes*0x1+0x3e8,0xa)));dplh_AddCart?$[_0x508325(0x185,'p**v')]==0x0&&($[_0x508325(0x1f6,'6k2x')]=_0x508325(0x20f,'Xm$1'),await sendRequest(_0x508325(0x1fb,'jqgy')),await $[_0x508325(0x3aa,'UNWz')](parseInt(waitTimes*0x1+0x3e8,0xa))):console[_0x508325(0x16e,'Sf!J')](_0x508325(0x38c,'SsIC'));if(dplh_viewShop){if($['shopList'])for(let _0x2d1509 of $[_0x508325(0x1e6,'J0lT')]||[]){$[_0x508325(0x393,'7ico')]=_0x508325(0x16d,'cGsq'),$['goodsNumId']=_0x2d1509[_0x508325(0x37c,'QH$D')],await sendRequest('mission'),await $['wait'](parseInt(waitTimes*0x1+0x7d0,0xa));}}else console['log'](_0x508325(0x26f,'zc2o'));await sendRequest(_0x508325(0x179,'ssCh')),await $['wait'](parseInt(waitTimes*0x1+0x64,0xa));if(dplh_draw!=0x0){if($[_0x508325(0x1d5,'D)zQ')]){let _0x38a50f=parseInt($[_0x508325(0x2a0,'sOQd')]/0xc8);if(_0x38a50f>dplh_draw)_0x38a50f=dplh_draw;console[_0x508325(0x334,'1oXl')](_0x508325(0x20b,'ztdi')+_0x38a50f+_0x508325(0x357,'BZ)i')+$[_0x508325(0x1f3,'UNWz')]);for(m=0x1;_0x38a50f--;m++){console[_0x508325(0x2c5,'FCBa')]('第'+m+'次抽奖'),await $[_0x508325(0x23f,'zc2o')](parseInt(waitTimes*0x1+0xbb8,0xa)),await sendRequest('抽奖');if(Number(_0x38a50f)<=0x0)break;if(m>=0xa){console['log'](_0x508325(0x270,'BZ)i'));break;}await $[_0x508325(0x194,']5%u')](parseInt(waitTimes*0x1+0xbb8,0xa));}}}console['log'](_0x508325(0x2ca,'#G*J')+($[_0x508325(0x1f0,'#G*J')]||_0x508325(0x3ae,'p**v'))+']'),$[_0x508325(0x1c7,'J0lT')]==0x1&&($[_0x508325(0x2b7,'@pzs')]=$[_0x508325(0x1ca,'J0lT')],console[_0x508325(0x17e,'me0n')](_0x508325(0x198,'ssCh')+$[_0x508325(0x331,'b@Z4')]+']')),await $['wait'](parseInt(waitTimes*0x1+0x64,0xa));}catch(_0x2e1027){console[_0x508325(0x334,'1oXl')](_0x508325(0x230,'17pw')+_0x2e1027);}}async function handleResponse(_0x45d9e8,_0x32ae9d){const _0x2dc4ec=_0x31db2f;try{switch(_0x45d9e8){case _0x2dc4ec(0x373,'7ico'):if(_0x32ae9d['success']&&_0x32ae9d['data']?.['status']==0xc8){$[_0x2dc4ec(0x23a,'r]K4')]=_0x32ae9d?.['data']?.[_0x2dc4ec(0x32e,'p@Y!')],$[_0x2dc4ec(0x21e,'vNt)')]=$['activityload']?.[_0x2dc4ec(0x368,'FCBa')]?.['startTime'],$['endTime']=$[_0x2dc4ec(0x2b3,'D)zQ')]?.[_0x2dc4ec(0x389,'r]K4')]?.[_0x2dc4ec(0x18e,'Nj3s')],$[_0x2dc4ec(0x315,'b@Z4')]=$[_0x2dc4ec(0x3a3,'wCHe')]?.[_0x2dc4ec(0x278,'p**v')]?.[_0x2dc4ec(0x18b,'Lw^y')],$[_0x2dc4ec(0x2d6,'pHZB')]=$[_0x2dc4ec(0x1cc,'@pzs')]?.[_0x2dc4ec(0x32a,'8sBR')]?.[_0x2dc4ec(0x1cf,'sOQd')],$['totalChance']=$[_0x2dc4ec(0x1cc,'@pzs')]?.[_0x2dc4ec(0x2e3,'Lw^y')]?.['totalChance'],$['usedChance']=$[_0x2dc4ec(0x222,'7[Ag')]?.['missionCustomer']?.[_0x2dc4ec(0x22d,'DfGE')],$[_0x2dc4ec(0x22a,'%Bos')]=$[_0x2dc4ec(0x22b,'zc2o')]?.['missionCustomer']?.[_0x2dc4ec(0x39a,'BZ)i')],$[_0x2dc4ec(0x24a,'vNt)')]=$[_0x2dc4ec(0x2b3,'D)zQ')]?.['missionCustomer']?.[_0x2dc4ec(0x1d7,'REMq')],$[_0x2dc4ec(0x31c,'D)zQ')]=$[_0x2dc4ec(0x19c,'17pw')]?.[_0x2dc4ec(0x2bc,'ssCh')]?.['usedPoint'],$[_0x2dc4ec(0x24f,'b@Z4')]=$[_0x2dc4ec(0x399,'BZ)i')]?.[_0x2dc4ec(0x359,'p**v')]?.[_0x2dc4ec(0x3a8,'@ZsK')],$['hasCollectShop']=$[_0x2dc4ec(0x1cc,'@pzs')]?.[_0x2dc4ec(0x35e,'J0lT')]?.['hasCollectShop'],$[_0x2dc4ec(0x2e4,'5bfi')]=$[_0x2dc4ec(0x2c6,'#G*J')]?.[_0x2dc4ec(0x377,'b@Z4')]?.[_0x2dc4ec(0x1a4,'r]K4')],$[_0x2dc4ec(0x2c7,'sOQd')]=$[_0x2dc4ec(0x18d,'(^Vd')]?.['openCardStatus']||![],$[_0x2dc4ec(0x35f,'p**v')]=$[_0x2dc4ec(0x381,'1oXl')]?.[_0x2dc4ec(0x39d,'@ZsK')]||![];if($['activityload']?.['openCardMsg'])console[_0x2dc4ec(0x27b,'@pzs')]($[_0x2dc4ec(0x28c,'pHZB')]?.[_0x2dc4ec(0x292,'17pw')]);}else _0x32ae9d[_0x2dc4ec(0x1d9,'Lw^y')]?.['status']==0x1f4?(console[_0x2dc4ec(0x3a7,'SsIC')](''+_0x32ae9d[_0x2dc4ec(0x306,'UNWz')]),$[_0x2dc4ec(0x294,'p**v')][_0x2dc4ec(0x2cc,'QH$D')]($['UserName']),$[_0x2dc4ec(0x1a7,'FCBa')][_0x2dc4ec(0x297,'BZ)i')](''+_0x32ae9d[_0x2dc4ec(0x2a9,'(^Vd')]),$[_0x2dc4ec(0x1e5,'D)zQ')]=!![]):console[_0x2dc4ec(0x277,'sOQd')]('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x321,'DfGE')](_0x32ae9d));break;case'绑定':if(_0x32ae9d['success']&&_0x32ae9d['data']?.[_0x2dc4ec(0x208,'cGsq')]==0xc8)console[_0x2dc4ec(0x17e,'me0n')](''+_0x32ae9d[_0x2dc4ec(0x1e9,'jqgy')]?.[_0x2dc4ec(0x26c,'6k2x')]);else _0x32ae9d[_0x2dc4ec(0x1aa,'J*Ca')]?.[_0x2dc4ec(0x32d,'J*Ca')]==0x1f4?(console[_0x2dc4ec(0x1ac,'%N1Q')](''+_0x32ae9d['errorMessage']),['结束','开始']['some'](_0x3bba4d=>_0x32ae9d[_0x2dc4ec(0x215,'J*Ca')][_0x2dc4ec(0x26e,'8sBR')](_0x3bba4d))&&($[_0x2dc4ec(0x254,'5bfi')]=!![])):console[_0x2dc4ec(0x36e,'Lw^y')]('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x323,'*jVq')](_0x32ae9d));break;case _0x2dc4ec(0x1a5,'me0n'):if(_0x32ae9d[_0x2dc4ec(0x2ac,'r]K4')]&&_0x32ae9d['data']?.[_0x2dc4ec(0x1c2,']5%u')]==0xc8)$[_0x2dc4ec(0x200,'Zgie')]=_0x32ae9d?.[_0x2dc4ec(0x1de,'sOQd')]?.[_0x2dc4ec(0x1a8,'pHZB')]||[];else _0x32ae9d[_0x2dc4ec(0x204,'7[Ag')]?.[_0x2dc4ec(0x3b3,'7ico')]==0x1f4?console[_0x2dc4ec(0x2f9,'ztdi')](''+_0x32ae9d[_0x2dc4ec(0x38f,'4CI(')]):console[_0x2dc4ec(0x34e,'J*Ca')]('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x195,']5%u')](_0x32ae9d));break;case _0x2dc4ec(0x1c4,'p@Y!'):if(_0x32ae9d['success']&&_0x32ae9d['data']?.[_0x2dc4ec(0x386,'(^Vd')]==0xc8)$[_0x2dc4ec(0x31a,'izVE')]=_0x32ae9d?.[_0x2dc4ec(0x32e,'p@Y!')]?.['data'],console[_0x2dc4ec(0x34e,'J*Ca')](''+(_0x32ae9d[_0x2dc4ec(0x2c0,'BZ)i')]||$[_0x2dc4ec(0x1f5,'*jVq')]?.[_0x2dc4ec(0x199,'Lw^y')]||'')),$['message'][_0x2dc4ec(0x39b,'jqgy')](''+(_0x32ae9d[_0x2dc4ec(0x335,'17pw')]||$[_0x2dc4ec(0x33a,'me0n')]?.[_0x2dc4ec(0x192,'%Bos')]||''));else _0x32ae9d[_0x2dc4ec(0x1aa,'J*Ca')]?.[_0x2dc4ec(0x32d,'J*Ca')]==0x1f4?console[_0x2dc4ec(0x1e3,'J0lT')](''+_0x32ae9d['errorMessage']):console[_0x2dc4ec(0x1e2,'wCHe')]('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x1da,'E6*U')](_0x32ae9d));break;case _0x2dc4ec(0x1ec,'UNWz'):if(_0x32ae9d['success']&&_0x32ae9d[_0x2dc4ec(0x1f8,'%N1Q')]?.['status']==0xc8)$[_0x2dc4ec(0x1b1,'QH$D')]=_0x32ae9d?.[_0x2dc4ec(0x21c,'(^Vd')]?.['data']?.[_0x2dc4ec(0x2f1,'J0lT')];else _0x32ae9d['data']?.[_0x2dc4ec(0x2e9,'FCBa')]==0x1f4?console[_0x2dc4ec(0x247,'REMq')](''+_0x32ae9d[_0x2dc4ec(0x2dc,'FCBa')]):console['log']('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x39f,'jqgy')](_0x32ae9d));break;case _0x2dc4ec(0x2b4,'sOQd'):if(_0x32ae9d[_0x2dc4ec(0x218,'D)zQ')]&&_0x32ae9d[_0x2dc4ec(0x1cb,'zc2o')]?.[_0x2dc4ec(0x386,'(^Vd')]==0xc8){$[_0x2dc4ec(0x32f,'pHZB')]=!![],$[_0x2dc4ec(0x34d,'r]K4')]=_0x32ae9d?.['data']?.['data'];let _0x429f32=$[_0x2dc4ec(0x2ff,'J0lT')]?.[_0x2dc4ec(0x282,'QH$D')],_0x1a8748=_0x429f32?.[_0x2dc4ec(0x2f6,'BptZ')];switch(_0x1a8748){case'jdMarket':console[_0x2dc4ec(0x2ef,'p**v')]('🎉\x20'+_0x429f32?.['awardName']+_0x2dc4ec(0x19e,'6k2x')),$['message'][_0x2dc4ec(0x2a3,'D)zQ')](_0x2dc4ec(0x353,'BZ)i')+_0x429f32?.[_0x2dc4ec(0x397,'@ZsK')]+_0x2dc4ec(0x239,'8sBR'));break;case _0x2dc4ec(0x1b2,'cGsq'):case _0x2dc4ec(0x2be,']5%u'):console[_0x2dc4ec(0x336,'7[Ag')](_0x2dc4ec(0x1b8,'sOQd')+_0x429f32?.['awardName']+_0x2dc4ec(0x1bb,'@ZsK')),$[_0x2dc4ec(0x1c6,'E6*U')][_0x2dc4ec(0x39e,'*jVq')](_0x2dc4ec(0x2fd,'%Bos')+_0x429f32?.[_0x2dc4ec(0x220,'ztdi')]+_0x2dc4ec(0x2aa,']5%u'));break;case'goods':$['generateId']=_0x429f32?.['id'],$['prizeShiWu']=_0x429f32?.['awardName'],console[_0x2dc4ec(0x1e3,'J0lT')](_0x2dc4ec(0x2e2,'[6t!')),console['log'](_0x2dc4ec(0x214,'6k2x')+$[_0x2dc4ec(0x27c,'Zgie')]);if(_0x429f32?.['awardPic'])console[_0x2dc4ec(0x260,'zc2o')](_0x2dc4ec(0x1eb,'ztdi')+_0x429f32?.[_0x2dc4ec(0x17f,'vNt)')]);$[_0x2dc4ec(0x36b,'J0lT')]['fix'](_0x2dc4ec(0x343,'sOQd')+$[_0x2dc4ec(0x385,'zc2o')]);process[_0x2dc4ec(0x390,'BZ)i')][_0x2dc4ec(0x2ee,'%Bos')]&&(await sendRequest(_0x2dc4ec(0x310,'FCBa')),await $['wait'](0xfa0));break;case'coin':case _0x2dc4ec(0x363,'Zgie'):case _0x2dc4ec(0x2da,'sOQd'):case _0x2dc4ec(0x309,'DfGE'):case _0x2dc4ec(0x2dd,'J*Ca'):console['log'](_0x2dc4ec(0x1ff,'Nj3s')+prize_type[prizeType]);break;default:console[_0x2dc4ec(0x271,'6k2x')](_0x1a8748+'\x20暂时未收录请联系作者添加\x0a'),console[_0x2dc4ec(0x374,'BZ)i')](''+JSON[_0x2dc4ec(0x287,'@pzs')]($['exchangePost']));}}else _0x32ae9d[_0x2dc4ec(0x227,'ztdi')]?.['status']==0x1f4?console[_0x2dc4ec(0x181,'DfGE')](''+_0x32ae9d[_0x2dc4ec(0x215,'J*Ca')]):console[_0x2dc4ec(0x365,'#G*J')]('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x2ba,'cGsq')](_0x32ae9d));break;case _0x2dc4ec(0x35b,'me0n'):if(_0x32ae9d[_0x2dc4ec(0x354,'b@Z4')]&&_0x32ae9d[_0x2dc4ec(0x372,'me0n')]?.['status']==0xc8)$['inviteList']=_0x32ae9d?.[_0x2dc4ec(0x371,'REMq')]?.[_0x2dc4ec(0x333,'DfGE')];else _0x32ae9d[_0x2dc4ec(0x17d,'D)zQ')]?.[_0x2dc4ec(0x281,'QH$D')]==0x1f4?console[_0x2dc4ec(0x16e,'Sf!J')](''+_0x32ae9d[_0x2dc4ec(0x25e,'#G*J')]):console['log']('❓'+_0x45d9e8+'\x20'+JSON['stringify'](_0x32ae9d));break;case _0x2dc4ec(0x340,'1oXl'):if(_0x32ae9d[_0x2dc4ec(0x25d,'(^Vd')]&&_0x32ae9d[_0x2dc4ec(0x2b8,']5%u')]?.['status']==0xc8){let _0xe8b6ef=0x0;for(let _0x3237e4 in _0x32ae9d[_0x2dc4ec(0x2e8,'Nj3s')][_0x2dc4ec(0x21b,'Zgie')][_0x2dc4ec(0x3b4,'4CI(')]||[]){let _0xc3a777=_0x32ae9d[_0x2dc4ec(0x17d,'D)zQ')]['data'][_0x2dc4ec(0x233,'Xm$1')][_0x3237e4];_0xe8b6ef+=Number(_0xc3a777['awardDes']);}if(_0xe8b6ef>0x0)console['log']('查询奖励成功,累计获得'+_0xe8b6ef+'京豆\x0a');}else _0x32ae9d['data']?.['status']==0x1f4?console[_0x2dc4ec(0x1a9,'yJJs')](''+_0x32ae9d[_0x2dc4ec(0x1c8,']5%u')]):console[_0x2dc4ec(0x1e3,'J0lT')]('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x213,'[6t!')](_0x32ae9d));break;case _0x2dc4ec(0x33b,'E6*U'):if(_0x32ae9d[_0x2dc4ec(0x202,'%N1Q')]&&_0x32ae9d[_0x2dc4ec(0x3b2,'b@Z4')]?.[_0x2dc4ec(0x28b,'Nj3s')]==0xc8)_0x32ae9d?.[_0x2dc4ec(0x1de,'sOQd')]?.[_0x2dc4ec(0x1f4,'cGsq')]?.[_0x2dc4ec(0x350,'me0n')]?(console[_0x2dc4ec(0x374,'BZ)i')](_0x2dc4ec(0x1b4,'p@Y!')+($[_0x2dc4ec(0x1dd,'zc2o')]+0x1)+'套收货地址信息\x0a联系信息'+$['receiver']+'\x20('+$[_0x2dc4ec(0x180,'r]K4')]['replace'](/^(\d{3})\d{4}(\d{4})$/,_0x2dc4ec(0x1a6,'p**v'))+'\x0a'),!isNotify&&await notify[_0x2dc4ec(0x17b,']5%u')]($[_0x2dc4ec(0x37a,'Zgie')]+'中奖通知',_0x2dc4ec(0x370,'Zgie')+$[_0x2dc4ec(0x31f,'6k2x')]+'】'+$['nickName']+'\x0a抽中实物\x20'+$[_0x2dc4ec(0x24d,'J*Ca')]+_0x2dc4ec(0x274,'@pzs')+$[_0x2dc4ec(0x295,'Sf!J')]),$['message'][_0x2dc4ec(0x2bf,'E6*U')]($[_0x2dc4ec(0x1b6,'5bfi')]+_0x2dc4ec(0x183,'@ZsK'))):console[_0x2dc4ec(0x277,'sOQd')](_0x32ae9d[_0x2dc4ec(0x17d,'D)zQ')][_0x2dc4ec(0x325,'izVE')]);else _0x32ae9d[_0x2dc4ec(0x2ad,'QH$D')]?.[_0x2dc4ec(0x308,'%N1Q')]==0x1f4?console[_0x2dc4ec(0x24e,']5%u')](''+_0x32ae9d['errorMessage']):console[_0x2dc4ec(0x260,'zc2o')]('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x285,'b@Z4')](_0x32ae9d));break;case'抽奖':console[_0x2dc4ec(0x1e2,'wCHe')]('❓'+_0x45d9e8+'\x20'+JSON['stringify'](_0x32ae9d));if(_0x32ae9d[_0x2dc4ec(0x392,'@ZsK')]&&_0x32ae9d['data']?.[_0x2dc4ec(0x342,'5bfi')]==0xc8){$['dplhdraw']=_0x32ae9d?.[_0x2dc4ec(0x3b2,'b@Z4')]?.[_0x2dc4ec(0x1bd,'5bfi')];let _0x17028d=$[_0x2dc4ec(0x319,'DfGE')]?.['awardSendLog'],_0x6b06a=_0x17028d?.[_0x2dc4ec(0x1c3,'Sf!J')];switch(_0x6b06a){case _0x2dc4ec(0x1c5,'1oXl'):console[_0x2dc4ec(0x2f9,'ztdi')]('🎉\x20'+_0x17028d?.[_0x2dc4ec(0x2c1,'#G*J')]+_0x2dc4ec(0x1d8,'17pw')),$[_0x2dc4ec(0x17c,'Xm$1')][_0x2dc4ec(0x263,'ssCh')](_0x2dc4ec(0x3a5,'6k2x')+_0x17028d?.[_0x2dc4ec(0x2fc,'b@Z4')]+'\x20🐶');break;case _0x2dc4ec(0x211,'ztdi'):case _0x2dc4ec(0x316,'8sBR'):console[_0x2dc4ec(0x336,'7[Ag')]('🗑️\x20'+_0x17028d?.['awardName']+_0x2dc4ec(0x313,'Xm$1')),$['message']['fix'](_0x2dc4ec(0x298,'7[Ag')+_0x17028d?.[_0x2dc4ec(0x322,'%Bos')]+'\x20\x20🎟');break;case _0x2dc4ec(0x20c,'wCHe'):$[_0x2dc4ec(0x27e,'cGsq')]=_0x17028d?.['id'],$[_0x2dc4ec(0x1fc,'DfGE')]=_0x17028d?.[_0x2dc4ec(0x397,'@ZsK')],console[_0x2dc4ec(0x334,'1oXl')](_0x2dc4ec(0x1b5,'6k2x')),console[_0x2dc4ec(0x398,'izVE')](_0x2dc4ec(0x39c,'J*Ca')+$['prizeShiWu']);if(_0x17028d?.[_0x2dc4ec(0x2d8,'J*Ca')])console[_0x2dc4ec(0x38b,'cGsq')]('预览图片:'+_0x17028d?.[_0x2dc4ec(0x3b1,'SsIC')]);$[_0x2dc4ec(0x223,'UNWz')][_0x2dc4ec(0x263,'ssCh')]('🎉\x20恭喜获得实物奖品名称'+$[_0x2dc4ec(0x28e,'8sBR')]);process['env']['WX_ADDRESS']&&(await sendRequest(_0x2dc4ec(0x3ad,'izVE')),await $[_0x2dc4ec(0x1e0,'Sf!J')](0xfa0));break;case _0x2dc4ec(0x18a,'yJJs'):case _0x2dc4ec(0x1fd,'BZ)i'):case _0x2dc4ec(0x1ce,'Lw^y'):case _0x2dc4ec(0x3b6,'Sf!J'):case'card':console[_0x2dc4ec(0x188,'D)zQ')](_0x2dc4ec(0x337,'zc2o')+prize_type[_0x6b06a]);break;default:console[_0x2dc4ec(0x2b0,'r]K4')](_0x6b06a+'\x20暂时未收录请联系作者添加\x0a'),console[_0x2dc4ec(0x38e,'Nj3s')](''+JSON[_0x2dc4ec(0x2f3,'Zgie')]($[_0x2dc4ec(0x206,'#G*J')]));}}else _0x32ae9d[_0x2dc4ec(0x1f8,'%N1Q')]?.[_0x2dc4ec(0x342,'5bfi')]==0x1f4?console[_0x2dc4ec(0x277,'sOQd')](''+_0x32ae9d[_0x2dc4ec(0x190,'Sf!J')]):console['log']('❓'+_0x45d9e8+'\x20'+JSON[_0x2dc4ec(0x2a6,'(^Vd')](_0x32ae9d));break;}}catch(_0x596c5e){console[_0x2dc4ec(0x247,'REMq')](_0x2dc4ec(0x305,'@ZsK')+_0x45d9e8+_0x2dc4ec(0x1d2,'sOQd')+(_0x596c5e['message']||_0x596c5e));}}async function sendRequest(_0x18e752){const _0x2889e3=_0x31db2f;if($[_0x2889e3(0x360,'17pw')]||$['outFlag'])return;let _0x117fb8=$['baseUrl'],_0x2171c8=null,_0x344b02=null,_0x4b313e=_0x2889e3(0x279,'6k2x');switch(_0x18e752){case _0x2889e3(0x38d,'5bfi'):_0x117fb8+='/dm/front/jdJoinCardtf/activity/load',_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x1db,'[6t!')]||'','user_id':$[_0x2889e3(0x1bc,'vNt)')]},_0x2171c8=getSignBody(_0x2889e3(0x2ab,'Zgie'),Object[_0x2889e3(0x256,'izVE')]({'jdToken':$[_0x2889e3(0x1ea,'%Bos')],'source':'01','inviteNick':$[_0x2889e3(0x379,'DfGE')]||''},$[_0x2889e3(0x2ce,'SsIC')]?{'shopId':''+$[_0x2889e3(0x242,'4CI(')]}:{}));break;case _0x2889e3(0x250,'jqgy'):_0x117fb8+=_0x2889e3(0x29a,'E6*U'),_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x2f2,'6k2x')]||'','user_id':$[_0x2889e3(0x26d,'me0n')]},_0x2171c8=getSignBody(_0x2889e3(0x26a,'r]K4'),{});break;case'绑定':_0x117fb8+='/dm/front/jdJoinCardtf/customer/inviteRelation',_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x2d1,'(^Vd')]||'','user_id':$['userId']},_0x2171c8=getSignBody(_0x2889e3(0x2fb,'yJJs'),{'inviterNick':$[_0x2889e3(0x2b7,'@pzs')]||''});break;case'mission':_0x117fb8+=_0x2889e3(0x23d,'SsIC'),_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x37e,'7ico')]||'','user_id':$[_0x2889e3(0x3a6,'[6t!')]},_0x2171c8=getSignBody(_0x2889e3(0x2ea,'@pzs'),Object[_0x2889e3(0x307,'cGsq')]({'missionType':$['missionType']},$[_0x2889e3(0x17a,'J0lT')]?{'shopId':$['dplhVenderId']}:{},$[_0x2889e3(0x2e1,'#G*J')]?{'goodsNumId':$[_0x2889e3(0x34a,'%N1Q')]}:{}));break;case'getAwardSettingList':_0x117fb8+=_0x2889e3(0x246,'ssCh'),_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x2d1,'(^Vd')]||'','user_id':$[_0x2889e3(0x291,'BZ)i')]},_0x2171c8=getSignBody(_0x2889e3(0x231,'@ZsK'),{'dataType':$[_0x2889e3(0x332,'%Bos')]});break;case _0x2889e3(0x205,'6k2x'):_0x117fb8+=_0x2889e3(0x1d6,'Xm$1'),_0x344b02={'open_id':'','mix_nick':$['MixNick']||'','user_id':$[_0x2889e3(0x1a2,'SsIC')]},_0x2171c8=getSignBody(_0x2889e3(0x24c,'Zgie'),{'dataType':$[_0x2889e3(0x23e,'5bfi')],'awardId':$['awardId']});break;case'抽奖':_0x117fb8+='/dm/front/jdJoinCardtf/interactive/drawPost',_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x219,'BptZ')]||'','user_id':$[_0x2889e3(0x262,'(^Vd')]},_0x2171c8=getSignBody(_0x2889e3(0x1b9,'UNWz'),{'dataType':_0x2889e3(0x1af,'p**v'),'usedGameNum':'2'});break;case _0x2889e3(0x22e,'jqgy'):_0x117fb8+=_0x2889e3(0x225,'E6*U'),_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x2d6,'pHZB')]||'','user_id':$[_0x2889e3(0x1ad,'r]K4')]},_0x2171c8=getSignBody('/jdJoinCardtf/awards/updateAddress',{'receiverName':$[_0x2889e3(0x255,'pHZB')],'receiverMobile':$[_0x2889e3(0x259,'Xm$1')],'receiverProvince':$[_0x2889e3(0x1a1,'8sBR')],'receiverCity':$[_0x2889e3(0x33d,'Xm$1')],'receiverDistrict':$[_0x2889e3(0x234,'izVE')],'receiverAddress':$[_0x2889e3(0x329,'wCHe')],'logId':$['generateId']});break;case _0x2889e3(0x348,'DfGE'):_0x117fb8+=_0x2889e3(0x2d4,'#G*J'),_0x344b02={'open_id':'','mix_nick':$['MixNick']||'','bizExtString':'','user_id':$[_0x2889e3(0x395,'6k2x')]},_0x2171c8=getSignBody(_0x2889e3(0x2c4,'D)zQ'),{});break;case _0x2889e3(0x29d,'7[Ag'):_0x117fb8+=_0x2889e3(0x245,'pHZB'),_0x344b02={'open_id':'','mix_nick':$[_0x2889e3(0x30d,'BZ)i')]||'','bizExtString':'','user_id':$[_0x2889e3(0x396,'5bfi')]},_0x2171c8=getSignBody(_0x2889e3(0x171,'8sBR'),{'pageNo':0x1,'pageSize':0x270f});break;default:console[_0x2889e3(0x38b,'cGsq')](_0x2889e3(0x232,'4CI(')+_0x18e752);return;}const _0x134c90={};_0x2171c8&&Object[_0x2889e3(0x2bd,'8sBR')](_0x2171c8,_0x134c90);_0x344b02&&Object[_0x2889e3(0x341,'Lw^y')](_0x344b02,_0x134c90);const _0x4230da={'url':_0x117fb8,'method':_0x4b313e,'headers':{'Accept':_0x2889e3(0x248,'REMq'),'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':'zh-cn','Connection':'keep-alive','Content-Type':'application/x-www-form-urlencoded','Cookie':cookie,'User-Agent':$['UA'],'X-Requested-With':_0x2889e3(0x326,'p**v')},'params':_0x344b02,'data':_0x2171c8,'timeout':0x7530};_0x4b313e===_0x2889e3(0x2e6,'D)zQ')&&(delete _0x4230da[_0x2889e3(0x394,'wCHe')],delete _0x4230da[_0x2889e3(0x2e0,'vNt)')][_0x2889e3(0x21a,'b@Z4')]);$[_0x2889e3(0x238,'[6t!')][_0x2889e3(0x2ae,'BptZ')](_0x2889e3(0x264,'J0lT'))&&(Object[_0x2889e3(0x29e,'#G*J')](_0x4230da[_0x2889e3(0x251,'ssCh')],{'Origin':_0x2889e3(0x1a3,'DfGE'),'Content-Type':_0x2889e3(0x346,'p**v')}),delete _0x4230da[_0x2889e3(0x36c,'jqgy')][_0x2889e3(0x29b,'8sBR')]);const _0x386805=0x5;let _0x42ebe0=0x0,_0x1a9565=null,_0x115788=![];while(_0x42ebe0<_0x386805){_0x42ebe0>0x0&&await $[_0x2889e3(0x193,'J*Ca')](0x3e8);const _0x58eeb0=await common[_0x2889e3(0x1ab,'wCHe')](_0x4230da);if(!_0x58eeb0[_0x2889e3(0x2b9,'izVE')]){_0x1a9565=_0x2889e3(0x2c8,'7ico')+_0x18e752+_0x2889e3(0x366,'zc2o')+_0x58eeb0[_0x2889e3(0x1ae,'17pw')],_0x42ebe0++;continue;}if(!_0x58eeb0['data']){_0x1a9565=_0x2889e3(0x1ee,'r]K4')+_0x18e752+'\x20请求失败\x20➜\x20无响应数据',_0x42ebe0++;continue;}await handleResponse(_0x18e752,_0x58eeb0['data']),_0x115788=![];break;}_0x42ebe0>=_0x386805&&(console['log'](_0x1a9565),_0x115788&&(!hotbreak&&($[_0x2889e3(0x2cf,'J*Ca')]=!![],$[_0x2889e3(0x300,'17pw')]&&$[_0x2889e3(0x378,'yJJs')][_0x2889e3(0x18f,'b@Z4')](_0x1a9565))));}function getSignBody(_0x52c6c1,_0x4eb31e){const _0x2036f8=_0x31db2f,_0x2360d5=mpdzSign({'actId':$[_0x2036f8(0x2e5,'Lw^y')],..._0x4eb31e,'method':_0x52c6c1,'userId':$[_0x2036f8(0x1bc,'vNt)')],'buyerNick':$[_0x2036f8(0x27f,'izVE')]||''}),_0xfa624a={'jsonRpc':_0x2036f8(0x289,'izVE'),'params':{'commonParameter':{'m':_0x2036f8(0x283,'J0lT'),'oba':_0x2360d5[_0x2036f8(0x2ed,'#G*J')],'timestamp':_0x2360d5[_0x2036f8(0x19a,'p**v')],'userId':$[_0x2036f8(0x3b0,'7ico')]},'admJson':{'actId':$[_0x2036f8(0x212,'QH$D')],..._0x4eb31e,'method':_0x52c6c1,'userId':$[_0x2036f8(0x224,'J0lT')],'buyerNick':$[_0x2036f8(0x347,'%Bos')]||''}}};return _0x52c6c1[_0x2036f8(0x2f5,'Lw^y')](_0x2036f8(0x2d3,'ssCh'))>-0x1&&delete _0xfa624a[_0x2036f8(0x1c9,'Nj3s')]['admJson'][_0x2036f8(0x2a8,'%N1Q')],_0xfa624a;}function mpdzSign(_0xe77f67){const _0x3d2fc9=_0x31db2f,_0x5ac5e='6cc5dbd8900e434b94c4bdb0c16348ed',_0x642e3a=_0x3d2fc9(0x320,'me0n'),_0x32e94e=new Date()[_0x3d2fc9(0x1b7,'[6t!')](),_0x3cea49=new RegExp('\x27','g'),_0x5d17fb=new RegExp('~','g'),_0x3405c7=encodeURIComponent(JSON[_0x3d2fc9(0x249,'UNWz')](_0xe77f67))[_0x3d2fc9(0x35d,'SsIC')](_0x3cea49,_0x3d2fc9(0x31e,'p**v'))[_0x3d2fc9(0x235,'[6t!')](_0x5d17fb,_0x3d2fc9(0x1d3,'wCHe')),_0x295ea3='f'+_0x642e3a+'D'+_0x3405c7+'c'+_0x32e94e+_0x5ac5e,_0x11a49f=CryptoJS[_0x3d2fc9(0x1a0,'*jVq')](_0x295ea3[_0x3d2fc9(0x293,'%N1Q')]())[_0x3d2fc9(0x173,'1oXl')]();return{'sign':_0x11a49f,'timeStamp':_0x32e94e};}async function getAuthorCodeList(_0x37e397){const _0x3a995e=_0x31db2f,_0x21e10c=await common['request']({'url':_0x37e397,'method':_0x3a995e(0x1fe,'1oXl'),'headers':{'User-Agent':_0x3a995e(0x266,'vNt)')},'proxy':null,'debug':![],'timeout':0x7530}),_0x33993f=_0x21e10c[_0x3a995e(0x17d,'D)zQ')];return _0x33993f;}function random(_0xe52c3a,_0x36372b){const _0xffc029=_0x31db2f;return Math[_0xffc029(0x284,'8sBR')](Math[_0xffc029(0x272,'8sBR')]()*(_0x36372b-_0xe52c3a))+_0xe52c3a;}function getBlacklist(){const _0x44ca26=_0x31db2f;if($['blacklist']=='')return;console[_0x44ca26(0x336,'7[Ag')](_0x44ca26(0x1dc,'zc2o'));const _0x440358=Array['from'](new Set($[_0x44ca26(0x226,'REMq')]['split']('&')));console[_0x44ca26(0x1f9,'5bfi')](_0x440358[_0x44ca26(0x170,'5bfi')]('&')+'\x0a');let _0x1c5f19=_0x440358,_0x3372a8=[],_0x567760=![];for(let _0x223dd1=0x0;_0x223dd1<cookiesArr[_0x44ca26(0x28d,'ssCh')];_0x223dd1++){let _0x1353e1=decodeURIComponent(cookiesArr[_0x223dd1][_0x44ca26(0x1df,'ssCh')](/pt_pin=([^; ]+)(?=;?)/)&&cookiesArr[_0x223dd1][_0x44ca26(0x369,'me0n')](/pt_pin=([^; ]+)(?=;?)/)[0x1]||'');if(!_0x1353e1)break;let _0x4d67a0=![];for(let _0xda65ec of _0x1c5f19){if(_0xda65ec&&_0xda65ec==_0x1353e1){_0x4d67a0=!![];break;}}!_0x4d67a0&&(_0x567760=!![],_0x3372a8[_0x44ca26(0x25b,'jqgy')](_0x223dd1,-0x1,cookiesArr[_0x223dd1]));}if(_0x567760)cookiesArr=_0x3372a8;}
// 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)}