KR/jd_jdgj_sign.js

13 lines
42 KiB
JavaScript

/*
京东国际签到
cron:31 1 * * *
============Quantumultx===============
[task_local]
#京东国际签到
31 1 * * * jd_jdgj_sign.js, tag=京东国际签到, enabled=true
*/
const $ = new Env('京东国际签到');
var version_='jsjiami.com.v7';function iii1II(_0x3c7429,_0x28fa87){const _0x422ba7=Iii11l();return iii1II=function(_0x24c5e8,_0x4971a0){_0x24c5e8=_0x24c5e8-0xaf;let _0x4ed96e=_0x422ba7[_0x24c5e8];if(iii1II['DthxCo']===undefined){var _0x23fc95=function(_0x3ccf76){const _0x1b5cad='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xb175af='',_0x36f4cd='';for(let _0x390265=0x0,_0xdc89f5,_0x33acce,_0x104dd5=0x0;_0x33acce=_0x3ccf76['charAt'](_0x104dd5++);~_0x33acce&&(_0xdc89f5=_0x390265%0x4?_0xdc89f5*0x40+_0x33acce:_0x33acce,_0x390265++%0x4)?_0xb175af+=String['fromCharCode'](0xff&_0xdc89f5>>(-0x2*_0x390265&0x6)):0x0){_0x33acce=_0x1b5cad['indexOf'](_0x33acce);}for(let _0x18586a=0x0,_0x1cdfd7=_0xb175af['length'];_0x18586a<_0x1cdfd7;_0x18586a++){_0x36f4cd+='%'+('00'+_0xb175af['charCodeAt'](_0x18586a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x36f4cd);};const _0x31b0fa=function(_0x534da7,_0x255cdb){let _0x1b0d44=[],_0xf93146=0x0,_0x6e6121,_0x550112='';_0x534da7=_0x23fc95(_0x534da7);let _0x10e1d2;for(_0x10e1d2=0x0;_0x10e1d2<0x100;_0x10e1d2++){_0x1b0d44[_0x10e1d2]=_0x10e1d2;}for(_0x10e1d2=0x0;_0x10e1d2<0x100;_0x10e1d2++){_0xf93146=(_0xf93146+_0x1b0d44[_0x10e1d2]+_0x255cdb['charCodeAt'](_0x10e1d2%_0x255cdb['length']))%0x100,_0x6e6121=_0x1b0d44[_0x10e1d2],_0x1b0d44[_0x10e1d2]=_0x1b0d44[_0xf93146],_0x1b0d44[_0xf93146]=_0x6e6121;}_0x10e1d2=0x0,_0xf93146=0x0;for(let _0xa4048f=0x0;_0xa4048f<_0x534da7['length'];_0xa4048f++){_0x10e1d2=(_0x10e1d2+0x1)%0x100,_0xf93146=(_0xf93146+_0x1b0d44[_0x10e1d2])%0x100,_0x6e6121=_0x1b0d44[_0x10e1d2],_0x1b0d44[_0x10e1d2]=_0x1b0d44[_0xf93146],_0x1b0d44[_0xf93146]=_0x6e6121,_0x550112+=String['fromCharCode'](_0x534da7['charCodeAt'](_0xa4048f)^_0x1b0d44[(_0x1b0d44[_0x10e1d2]+_0x1b0d44[_0xf93146])%0x100]);}return _0x550112;};iii1II['QgObeQ']=_0x31b0fa,_0x3c7429=arguments,iii1II['DthxCo']=!![];}const _0x39dfb3=_0x422ba7[0x0],_0x178f55=_0x24c5e8+_0x39dfb3,_0xf55d90=_0x3c7429[_0x178f55];return!_0xf55d90?(iii1II['yTlNlW']===undefined&&(iii1II['yTlNlW']=!![]),_0x4ed96e=iii1II['QgObeQ'](_0x4ed96e,_0x4971a0),_0x3c7429[_0x178f55]=_0x4ed96e):_0x4ed96e=_0xf55d90,_0x4ed96e;},iii1II(_0x3c7429,_0x28fa87);}const iIIllI=iii1II;(function(I1iIi,iiiI1I,lilI11,Ili1II,ili1i,IiIi1,l1Ii1){return I1iIi=I1iIi>>0x5,IiIi1='hs',l1Ii1='hs',function(i1IilI,III1I1,ilI111,I1IllI,IIlI11){const i1li1=iii1II;I1IllI='tfi',IiIi1=I1IllI+IiIi1,IIlI11='up',l1Ii1+=IIlI11,IiIi1=ilI111(IiIi1),l1Ii1=ilI111(l1Ii1),ilI111=0x0;const iIIll1=i1IilI();while(!![]&&--Ili1II+III1I1){try{I1IllI=-parseInt(i1li1(0x18c,'hRyh'))/0x1+-parseInt(i1li1(0x140,'rw2M'))/0x2*(-parseInt(i1li1(0x21c,'f[qC'))/0x3)+parseInt(i1li1(0x11f,'gJg8'))/0x4+parseInt(i1li1(0x165,'HVYW'))/0x5+parseInt(i1li1(0x21d,'r%Hk'))/0x6*(parseInt(i1li1(0x157,'rWHp'))/0x7)+-parseInt(i1li1(0x112,'HdId'))/0x8+-parseInt(i1li1(0xcd,'MYWR'))/0x9*(-parseInt(i1li1(0x1bd,'XE]s'))/0xa);}catch(llIIII){I1IllI=ilI111;}finally{IIlI11=iIIll1[IiIi1]();if(I1iIi<=Ili1II)ilI111?ili1i?I1IllI=IIlI11:ili1i=IIlI11:ilI111=IIlI11;else{if(ilI111==ili1i['replace'](/[pewNTAILDMhWgRPfUVu=]/g,'')){if(I1IllI===III1I1){iIIll1['un'+IiIi1](IIlI11);break;}iIIll1[l1Ii1](IIlI11);}}}}}(lilI11,iiiI1I,function(ilI11I,ili1I,iilIIl,i1Iili,i1Iill,l1IiI,l1lill){return ili1I='\x73\x70\x6c\x69\x74',ilI11I=arguments[0x0],ilI11I=ilI11I[ili1I](''),iilIIl='\x72\x65\x76\x65\x72\x73\x65',ilI11I=ilI11I[iilIIl]('\x76'),i1Iili='\x6a\x6f\x69\x6e',(0x1328a6,ilI11I[i1Iili](''));});}(0x17c0,0xab888,Iii11l,0xc0),Iii11l)&&(version_=Iii11l);const III111=$[iIIllI(0x1f2,'dq@%')]()?require(iIIllI(0x196,'r%Hk')):'',liIll1=$[iIIllI(0x15d,'G(K7')]()?require(iIIllI(0x22e,'XMhZ')):'',l1llli=require(iIIllI(0xf6,'FQ@N')),iI1lII=iIIllI(0xec,'f[qC'),ll11iI=require(iIIllI(0x1fc,'XE]s')),l1i1I=require('./function/krgetSign'),l1llll=process['env']['JD_SIGN_KRAPI']||'';let I1I1ll=[],lil1i='';if($[iIIllI(0x1f2,'dq@%')]()){Object[iIIllI(0xe5,'f[qC')](liIll1)[iIIllI(0xf1,'tBuB')](l1ilI1=>{I1I1ll['push'](liIll1[l1ilI1]);});if(process['env']['JD_DEBUG']&&process[iIIllI(0x1a8,'hRyh')][iIIllI(0x1ad,'ZMOH')]===iIIllI(0x144,'l^tH'))console[iIIllI(0x21b,'BEuU')]=()=>{};}else I1I1ll=[$[iIIllI(0x13a,'Rz&V')](iIIllI(0x205,'ar!2')),$['getdata']('CookieJD2'),...Iliil($[iIIllI(0x178,'7*(f')]('CookiesJD')||'[]')[iIIllI(0x1fe,'Vf5W')](l1l1Il=>l1l1Il['cookie'])][iIIllI(0x126,'FQ@N')](lil1I=>!!lil1I);let liiiil='';const IIIIli=iIIllI(0x172,'0mX5');function Iii11l(){const lIIi1i=(function(){return[version_,'hjNesTjWIgiaRATmUi.cowuMmwgh.Lv7PfMLPpVD==','5yAQ5Rkx5AAZ6lE3W7u','uCoSWQlcHG','W5pcRCkXhSkrbhWKWRpcLxXmW5K','qgZdI8kL','5lUu5lMu6lwI5yY8','kxRdPmoCvIldImkRW4iv','nmoTDbK','o8opdLFcUmon','hmocqb3cMq','DuLulLW','WQxdGJC+','WO/dL8o+mKK','EmkuW47cQ2mIWPBdK10luhG','WO57W7/cM8kW','DfLTpCkG','eSovW7fRWRi','CSkhWQW2W5icWR3dH8kPW7rKmW','WOxdQWmddwddJLfkWO1/gSk3WO0IqSkJWOuOvSoNqCoXW6frW7ibWRlcSCkHW7VcPmkzWRJcHCoXWP/dQ8k/rSoFW7OpA8oOcmoFd8oPW77cTSoDqdfEWP0xW6pdQLZcQ3xdSmoU','bG05W7VdIa','W5SntHVdNJNdPW','WOL4frKfWP0','oSo+W75gWOe','WPfJWQ/cGhZcR1W','WPNcM8ovhCoAWRS','W6pdReCgW5e','WOJdTCk+W7uG','WO/cKe7dKSomCSojW7ldTdFcJmkzvCofW67cJ8kWW5ewg8omkq','qSosW5yYWRKZgSkkWPm','56675yQK5AAB6lsRW6JLJQ7OGPtMNyJNMRNLVBC','W7BdR8okWQZcLq','WRddLCoLEry','l8oLCtpcNG','emkQW63dGSkV','y1Xbca','yspdQKrdWOpcRW','W6C0W45Xea','WOFcM8olfSopWRddMW','C0DxbfddIW','omotnG','k8oys3e+','WOL8hq4QWP0','tL8TWPjJ','kSoTAW/cSq','WOe5gmk5dW','W7GOimkGfSkjWP8','W4CVWPOtW5e','WRVdLCk9W60bWOyOeCo4W7S','hHiOWPhdKa','icSBW47dSW','sCkhWRpdP8kA','WRldV8o/BZe','oSoDi0FcKG','tSkGW7hcRG','WOz7gW','bSo2WRy','W6f2wmohW7RdHcVdJdWTdfy','bxpdPmolrW','W6ndWO4KWOm','WQBdVmolFmkhlG0hWOnw','W73cQeldTW7cUriba2H8s8kh','ySk5WQ4','WOL7gbK','FmoYW6BcLw3cTSoX','z8k8W5JcRNy','ys3dThjh','yNKvWOrrvSk6','WRuSdG','W7G0n8k+kSkpWPNdIvWRW4lcKLnGW4u','W7RcLmoQWQz1W5XYpmoFW4pcSmokW68','pSo/W6FcVmoDeq','rwaFWPxcVSoay1viW6xcGmkRmq','W6nMWPKIWQTOcHVdImk8w1W','CSobW58UWQ8','W6uLcmof','56YR5yM45OM65yIGWQdcQq','r8ojW4m2WQGU','BSk6WRNdJ8kgsrnbWPm','zCk3W6xcRSk6','WRDKWQK','WQPyW4tcNSkn','gb0GW4JdOa','mqmVESo+vCkxW7xdSa','ymoOW57cJvVcSa','WPSIoSkhWRC','WRJdTSo+zZDe','jaybW7VdUa','y8k+W4dcRCkc','DLrxWPzv','WRJdKSorvG0','sgtdImkHWPZcJ2q','W5ZcR8oIWOm','WPXnWOVcLKS','BmkIWQJdV8kYva','W6SLcW','W5VcOCo/WO4Y','EJHkWPtcMCkbWPa','W4FcLSkHe8kg','WOjCW41iWQDb','W6O5cW','WRBdSSoWg2n0qtq','WO4sjSkHWR4','ESkfWQy0W5igWOldICkwW6XVdq','W5uGWPr9DJCyWRG4WPubymkKWRtdUbldGSoMr0xcGXymW4hcHqtcVNSZfMW9FmkaWPjUkeCVWRmgdKCs','W7zGWOqMWOzNaG/dSG','WPxdKuRcHfa','WQa3wvaf','W4pcQmk/fCkSbfG','osCn','gWeVW7JdOW','nIalW43dMCoMW4ZcGWvj','WOtdS8oQqSonrrWaWONcQw1PW7u','WPPeW4FcJCkV','q8oYW4ehW5JcRG','W5BcQmkIWQK','WRBcIwZdTmoT','W4ZcQmkMWQu7W7acdhKBCSoMeui','CCkeW4VcO0m+','WQddRSouW7dcRa','WR3dKI8','W67dKmocWRBcSmkHECk+','WQGEaCk7oSkL','AfPiWObA','W7/cKSo2WQ0','WOddSmkIW6ua','xCooWQmLECodWOq','WRuzn8kpkq','WQxdOGazoa','q8oqW64rW50'].concat((function(){return['WQNdU8on','As3dTwq','WQ0iiCkZkSkO','fCo8AueA','44cl5O+L56sz44oK6k+k5ywj6i+P5yYQ5lQP5lMA6lwQ5y+y5lMjmmo/xSkZEmkFmoEBM+AmOos9QoEuUt3dPHRcJqNdG+EzJos7NEs4PoETTEwiGEImREwpMG','b8kTW6xdLSkYWPldPLSoamoeWRhcUHZdRa','W4NdL1a8','tdNdVhfU','WQldIfVcVxK','WPCRf8kMga','WOJcLbvSWRtdPXz0W5XYzmoGxG','W7RdLmolWPpcTq','laeUWQ/dUq','WOWmW6FcOmkxtuNcKG','oSoDpeq','WORcR0e','WQKica','566S5yIK5AA36lEUW5q','WOVdImk1W48d','W5JcOCoMWOG','D8otW4mMWQW','DxpdV8oeuctdLCkrW54WpSonWQddUvVdK8ozW5yGW4xdSCoTkG','W50hWPq','cmkSW7JdGSkKW67cPHGdh8oAW4VcSKRdSSoHB8oNW4ZcHSoSnepdRHqkWQWYW79OoZrVWOm','W4q7fmkBfG','sc5BWOlcTSkuWPXU','WRy3r1af','W6bJWPmJWQm','WOKVp8kmna','W6FdNmovWRNcN8k0Dq','zSkUWOtdHSkv','WPhdG3dcIfZcOG','6kYU5yQa6zIn5OED5z+XBKVcJXbZ6lY85ysu5Qk65l2R5Pwc5yw25A2Uoow5VoITUEMbP+I9U+IgOUADQUwmGEInRownQbqhtmoFw3C','WPpdVCoub3C','5ysX5RkF5AwS6ls2WRW','W53cNN/dSaC','56YR5yM45AwB6lAAWRBLJABOGzxMN4ZNMl/LVAG','BY3dQ05HWRdcPSkzW4Wi','WQOpW67cU8kT','a8oPFrxcHq','B2GqWPrvymkLW6RdOb3cTmoOW4XiW74','WQ8vbSkvpW','x8k+W7NdNmk0WQddOfGmjSoxW5JcRa3dV8oRcmoQW7tcGSk3p3/dTrGEWR06','tmo1W4C','kG8PsCoG','ySkNW5JcNCkH','A8o0W6/cNG','WPPPWQ7cTNZcQ1e','c8oNu3GW','W7udWPldHCooFL8/W6uuiSo3','W7KnWOOmW7e','WOBcL8oCfmo9WQFdJa','fIKPWQ4','WRhcICoZWRhcQCkozSkl','ACk4WRNdL8kQ','WQSAW7hcP8k1wa','a8k5W7JdKCk/','W6e4a8oreSkXqwWAW5K6fW','W5FdTH7cJSkBjq','lHXwcfddImkbomo4wCkCAq','qSk8W4RcVCkunq','WRnOW4CZW5H8xbxcV8kVduvzWQ0k','W7OdW45uiYS','CNDBWO9V','W4e0qrRdOYG','hSoyWP8MFW','WPbHW5ZcQSkV','W7pcT0W','WRuqW6u','WPWJfCkYcG','gCoXW6fZWQy','W5OfrXhdOIa','z8o6W7lcRM7cKSoIW4Pbmq','WR9mcJqV','WRNdTSoJCYjlAa','WQDCW7dcImku','lSoCuhGq','WQLAW50','W7/cTfS','W5xdJuq','x8kHWRO','B8kkW7JcT04','zeNdUCkeWRxcOuJdJq','wmodW5mnW4a','W7SGnCk9ia','uMjUW6hcSSk3y1zkW4K','W5xcOCosWP01','fGizA8of','WOJcLG1L','WO3dTCo/W7a','W6T1WPSQ','WRRdNwZcPM4','cIKQWQ/dT8oW','W6ZcPuxdTG/cOa','q8kZW6dLP7FOTiu','t0jcWP5z','6k+Q5yQI6zQX5OE/5z+qWRFcNNpcThxOV4FLH7tMOQ/KV4NMLOlLHzxLRzW15BUA6k+y6ycO6l2g6iwb5P6y5y+t6i+s5y6wWQ13WONcKcH+','FmoIlxRdU8kaW4VdQa','EYxdMmogzb7dJSkU','W5ahWO0lW6Wct1ZcNmol','nSk4W53cNqz1WQRcIa','WOVdTCoX','W4PYWPGUWPW','AXNdOhbn','nSoAj01PW4dcPCkshdxcT8kfW68MfmoQW7uABfFdSeO1WQdcOSoNWP3cGSowCIddH3G1qW8Kpmk+W7WxWQJdVxC','WPXPWQtcTG','Eh19cv8','u8oZW4CBW4RcRSoz','W4LmWRWzWQ4','aSobWRSuzG','WRldOCoGwHO','WOz1eHTeWPpdLfddO8oc','cCo9E2Oc','WPTYW4dcMCkr','BhWnWPe','WQvnW7FcHmkC','W4tcPCo7WOe7W70u','W6RdISonWR/cSG','BmopW5uRWQeWvSopW5xcImkRCSkN','BJ/dLg5fWONcQq','t33dJ8oUWP3dJxFdRKhdOCoaW6e','t8oEW5y8W7e','WR9BW5NcHq','z8kq5AAK6lsNW4iw5y2t5zMpW5tcMG','kCoLFHlcH8kuWRW','BfXc','WPRdQ8ohpvC','WQbBW4W','WRTNW4RcPmkFxM8','6i645yYCWPi'].concat((function(){return['W6yYuW/dIG','W4tdM8oUWQ/cHa','DfPnWQvf','hSoGWRy0Fq','kmoyW59fWOW','q0DiWRjN','W70bWPJdH8ooEMaXW5OmkCoj','WPhdGSo+W7hcNW','n8oqoetcS8ol','lGi4ASoz','dmo2BhG9','WOddK8oPowS','W6xcPCkMohmFpq1tp8kPkZK','6kYc5yIb6zI05Ow15z6gWPhdKCoxg8k46l6M5yAm5Qgw5l605Pss5ysQ5A6EW7dLUyRORkxPG5tOV6FOHjtMNO/LJPpOJiZLJRhdTCkkEtztWR4','W6JcSexdTHq','W4ejWO0zW6yD','i8oeW6fYWPamW6pcGmkmW592n8krrKRcHmohW708rSk7WP/cLW05WQNdTCkLW6G8p1FcH8oGW4ldJmoLWPvfomkIW4Pn','yCkFWR8','W63cRuZdVdpcUty','W5GfwWBdQa','WRf7W6VdPColatfwD8o1aqOaiYlcLftcOSkO','W4exzXRdQsG','j8oFW7i','W7OuW7Hcdq','dMFdICodzG','WOtcICoEcmoAWQRdI8ogpSk7vmkADdXmW4DnWPhdNmoXWRzdEmobrSow','iCo9WOu0uG','tmkLW5FcRLq','W5SS5AES6lEGpmoS5y6R5zMvW79U','CtTyWR7cIa','WQS/gCkvjG','zdRdRmoFxtpdImkxW58xDCkBWQFdRvVdLColW5yNW4ZdSa','WP7dGLhcINVcRZFcL8oYdWii','W6H1WOy','WRCIbmkv','kxNdO8opxstdQSkBW4ikm8kFWRS','W4KktqFdOItdSq','WQZdTmogaf1WxHlcPSk3WRG','WRtdKSoxWQ8','tmkHW7hcUCkElHG','W7xcR8oKWOyZW7S7zq','mx/cQtiAWPdcSCkTWOTAW4S','dqCVWQRdKW','jCorW7HN','gayouSoa','WRZdJJKAaa','W7ydW4LEpW','drGjWOddUW','W6iSgSoifq','pSoBjwJcIW','W5bNWPm9WQzHbGW','WQVdVSo9fgn6wdJcOCk9','WRX5WRNcTve','hLldQCoNvq','oCoGuKGG','b8o7W6bhWPq','W5tdKuq','WRFdU8oXCGjy','hConAqVcLW','5yA15Rk+5Ase6lsgtowpP+IaNEACOUEAQow/Pq','qSopW4e0WQGUq8k1WPldIG','jNRdRq','nSoJFG','W7/cKIeIn1/dKgO','nGauxGBdNmk5gSoKuSkn','WROxW6pcOmkywa','zxGkWOnrqCkV','xUITI+MgNoAwKEEAPUw/QUImOEwmLXGwq8kSWPhdOCoOW5brWPfEu8oKf8ovW7VcGSommCkvW5KqWQe8AaCXhCkgywdcPfS9W7acb8omW5CXWQVcTmoDma','wmkOW4pcNmkR','ACk7W7hcQmkg','tSoiW7lcKwS','WQVdRSoJaejNwbpcOSk3WQNcGuZdShDn','WP0siCk5WRS','WRqMuM0d','W6HTwCoEW70','WPBdLSoCusK','gICGWRi','o8o8ArdcSq','nIqdW5RdTmo9W77cGZzoEmkRWOC','5yET5RcS5AsA6lA3towmOUIcUEADJUEyIUw9JG','W5NcImk7k8k2','iCoLWQpdQCkWtXboW5vDW6SfW5m','o1JdUSoyxG','nZaWW4ZdSa','fCkqW7RdSCk7','W60TkmkHnW','jCoXWPWvrW','WRFdVmo0zq','rmoyW5ypW6e','mSoqpK7cRW','WOFcLSkQhCkrb30','tqDqWP3cTG','W6ypW5XvcW','W78Ufmk6n8kuWOpdPa','uCobW50XWQG','r1qQWRDe','pmoEW4jbWOS','WOVdV8o4W7NcMSoK','FCkjW4/cQeuPWOpdJMW','WRhdTCo3fvu','W4tcOCoLWOK1W7m','hCo1tt/cNq','WOD1cb8d','W5uaWQuiW5W','W6L7WPe','ACkhW4JcSG','wmotW641WOW','WPtdJCkvW6SH','fCk3W6RdGCkX','W6OVh8opmmk+rq','iJKMW43dLq','Bubc','WQSPW5BcTCks','WOfFW5jpWR8NCNpcISoaWRO','omozp0BcQCox','g8oYAG','W6yfW4fwlq','WPFcON7dRSof','WRBdUCoxAGW','5O+D5y6R6i+Z5yYD5AAP6lA4772f6lAp6l6N','WRxdVSoGa0XYsq','WQixamkZpa','W73cQ0tdUqNcQow2TUwLLEAuUtS4ba','WQddH8k1W7O','WRyWnSkgWQVcGG','uN19j3a','WOSopCkDWQ0'];}()));}()));}());Iii11l=function(){return lIIi1i;};return Iii11l();};!(async()=>{const I1Ill1=iIIllI,l1l1Ii={'hxtZp':I1Ill1(0x1ed,'rw2M'),'XrkGZ':function(IIIIlI,l1i11l){return IIIIlI+l1i11l;},'DStQU':'aRJmd','NVzzG':function(liiil1){return liiil1();}};if(!I1I1ll[0x0]){$[I1Ill1(0x215,'HVYW')]($[I1Ill1(0x169,'@eL8')],I1Ill1(0x15f,'6[Sd'),l1l1Ii['hxtZp'],{'open-url':l1l1Ii[I1Ill1(0x187,'z1(M')]});return;}for(let lllII=0x0;lllII<I1I1ll[I1Ill1(0xbd,'kppK')];lllII++){if(I1I1ll[lllII]){lil1i=I1I1ll[lllII],$['UserName']=decodeURIComponent(lil1i[I1Ill1(0x139,'ar!2')](/pt_pin=([^; ]+)(?=;?)/)&&lil1i[I1Ill1(0x132,'6[Sd')](/pt_pin=([^; ]+)(?=;?)/)[0x1]),$['index']=l1l1Ii[I1Ill1(0x1e2,'6[Sd')](lllII,0x1),$[I1Ill1(0x1db,'CPQ$')]=!![],$[I1Ill1(0x152,'7*(f')]='',message='',console[I1Ill1(0x1d8,'r%Hk')]('\x0a******开始【京东账号'+$[I1Ill1(0x20b,'claT')]+'】'+($[I1Ill1(0x13e,'Ve^h')]||$['UserName'])+I1Ill1(0x1b0,'qubK'));if(!$[I1Ill1(0x1d2,'0O2)')]){if(I1Ill1(0xc8,'0mX5')===l1l1Ii['DStQU'])IlIliI[I1Ill1(0x119,'fU&e')]=l1iII1?.['data']?.[I1Ill1(0x1be,'MYWR')]||'';else{$[I1Ill1(0x117,'XMhZ')]($[I1Ill1(0x18f,'qubK')],'【提示】cookie已失效',I1Ill1(0xdf,'qubK')+$['index']+'\x20'+($['nickName']||$[I1Ill1(0x20f,'Vf5W')])+I1Ill1(0x220,'@eL8'),{'open-url':l1l1Ii['hxtZp']});$[I1Ill1(0x17a,'9]Vn')]()&&await III111[I1Ill1(0x210,'Ve^h')]($[I1Ill1(0x1ff,'HdId')]+I1Ill1(0xd6,'AdB^')+$['UserName'],'京东账号'+$[I1Ill1(0xbf,'Ve^h')]+'\x20'+$[I1Ill1(0x174,'Rz&V')]+'\x0a请重新登录获取cookie');continue;}}l1l1Ii[I1Ill1(0x156,'gJg8')](l1i1l),await l1l1Ii[I1Ill1(0x1dd,'dq@%')](lllIi),await $['wait'](0x5dc);}}if(liiiil){if($['isNode']())await III111['sendNotify'](''+$[I1Ill1(0x15c,'0O2)')],''+liiiil);$[I1Ill1(0xcb,'r%Hk')]($[I1Ill1(0x16e,'ar!2')],'',liiiil);}})()[iIIllI(0x193,'0mX5')](l1i11i=>{const ili11=iIIllI;$[ili11(0x15b,'3VA7')]('','❌\x20'+$[ili11(0xd7,'gJg8')]+ili11(0x1d6,'rw2M')+l1i11i+'!','');})[iIIllI(0x134,'ZMOH')](()=>{$['done']();});async function lllIi(){const IiIiIi=iIIllI,l11iI1={'XXznD':function(IliiI){return IliiI();}};await l11iI1['XXznD'](I1iI1l),await $['wait'](0x1f4),await l11iI1[IiIiIi(0x1a0,'G(K7')](illlil),await $[IiIiIi(0xc5,'Hr&W')](0x5dc);}function lil1l(lI111i,I1lIII=iIIllI(0x1f6,'7@sS')){const llIIIl=iIIllI,liIlll={'iBxzR':function(illll1,IIIIl1){return illll1===IIIIl1;},'kENTz':'Twakd','DiXjw':function(liiilI,lI111l){return liiilI*lI111l;}};let I1iI1I='';for(let liiii1=0x0;liiii1<lI111i;liiii1++){liIlll[llIIIl(0x19a,'6[Sd')](llIIIl(0x1ba,'6[Sd'),liIlll[llIIIl(0x159,'f[qC')])?I1iI1I+=I1lIII[Math['floor'](liIlll['DiXjw'](Math[llIIIl(0x1a2,'dq@%')](),I1lIII['length']))]:li1Il+=li1Ii[Iliiii[llIIIl(0x12a,'hRyh')](i1illI[llIIIl(0xc0,'ar!2')]()*i1IIl[llIIIl(0x12f,'U(8g')])];}return I1iI1I;}function lllIl(l1ilIl,IIiiIi={}){const IIlI1I=iIIllI,l1ilIi={'vtndt':IIlI1I(0x14f,'Hr&W'),'rpgNc':function(lI111I,IlilI){return lI111I(IlilI);},'KuzOv':function(llIi1,IliIII){return llIi1+IliIII;}};let l11iIi=[],ll11li=IIiiIi[IIlI1I(0xbe,'Hr&W')]||'&',iliIlI=Object[IIlI1I(0x1c4,'tBuB')](l1ilIl);if(IIiiIi[IIlI1I(0x1d5,'hRyh')])iliIlI=iliIlI['sort']();for(let II1l of iliIlI){let liiiiI=l1ilIl[II1l];if(liiiiI&&typeof liiiiI===l1ilIi[IIlI1I(0x1eb,'AdB^')])liiiiI=JSON[IIlI1I(0x12c,'z1(M')](liiiiI);if(liiiiI&&IIiiIi[IIlI1I(0x199,'claT')])liiiiI=l1ilIi[IIlI1I(0x226,'l^tH')](encodeURIComponent,liiiiI);l11iIi[IIlI1I(0x161,'HVYW')](l1ilIi['KuzOv'](l1ilIi['KuzOv'](II1l,'='),liiiiI));}return l11iIi[IIlI1I(0x1b4,'kppK')](ll11li);}function Iliii(II1i){const llIIIi=iIIllI,illli1={'prapx':function(I1lII1,Ill111){return I1lII1*Ill111;}};return II1i[Math[llIIIi(0xb1,'a0JI')](illli1[llIIIi(0xfb,'0mX5')](Math[llIIIi(0x1b7,'qubK')](),II1i[llIIIi(0x153,'G(K7')]))];}function illlii(I1iI11='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',II11='0123456789abcdef'){const IiIiIl=iIIllI,l1ilII={'BuZaW':function(iliIll,llliIl){return iliIll==llliIl;},'qNkDb':function(iliIli,illliI){return iliIli===illliI;},'ZNdRU':IiIiIl(0x19c,'rWHp'),'LXJVF':function(ii1III,i11iIl){return ii1III*i11iIl;},'DrlYZ':function(ll11ll,l11iIl){return ll11ll==l11iIl;},'SPxzV':'aEspA'};let ii1II1='';for(let i11iIi of I1iI11){if(l1ilII[IiIiIl(0x19d,'CPQ$')](i11iIi,'x'))l1ilII[IiIiIl(0xf0,'rw2M')](l1ilII[IiIiIl(0xf3,'HVYW')],'BvKqs')?IIIII1[IiIiIl(0x1c6,'EwH]')]=I1lIlI?.['body']||'':ii1II1+=II11['charAt'](Math[IiIiIl(0xd5,'G(K7')](l1ilII[IiIiIl(0x1c7,'Vf5W')](Math[IiIiIl(0x1ec,'MYWR')](),II11['length'])));else l1ilII['DrlYZ'](i11iIi,'X')?l1ilII[IiIiIl(0x130,'yfCr')](l1ilII[IiIiIl(0x164,'G(K7')],'aEspA')?ii1II1+=II11[IiIiIl(0x14b,'EwH]')](Math[IiIiIl(0x10d,'U(8g')](Math[IiIiIl(0x1b8,'AdB^')]()*II11['length']))[IiIiIl(0x202,'Ve^h')]():i1lI[IiIiIl(0x189,'fU&e')]():ii1II1+=i11iIi;}return ii1II1;}function I1lIIi(II1I){const I1Ilil=iIIllI,lI1111={'wpMsh':I1Ilil(0x1bb,'Rz&V'),'fZlZH':function(i1I1I,llIil){return i1I1I*llIil;},'jgtIV':function(llIii,IIiiI1){return llIii<IIiiI1;},'uPMKc':function(IIIIi1,ii1IIl){return IIIIi1!==ii1IIl;},'uHvCl':I1Ilil(0x12e,'HdId'),'uOkaK':function(ii1IIi,I1ll1l){return ii1IIi>I1ll1l;},'RMTmc':function(I1ll1i,i11iII){return I1ll1i<i11iII;},'ikwJB':function(lI1Ii1,i1I11){return lI1Ii1!==i1I11;},'WQOQp':'ehMsJ','WLmBd':I1Ilil(0xe8,'hRyh'),'IfFRi':function(I1I1i1,i1I1l){return I1I1i1|i1I1l;},'byZcE':function(i1I1i,IIiiII){return i1I1i&IIiiII;},'bPaAx':I1Ilil(0x17c,'Ve^h'),'GyTCI':I1Ilil(0x1b2,'z1(M'),'qlYqn':function(llIiI,Ilill){return llIiI|Ilill;},'YediQ':function(Ilili,I1ll1I){return Ilili&I1ll1I;}};II1I=II1I[I1Ilil(0xff,'7@sS')](/rn/g,'n');var Ilil1='';for(var IliII1=0x0;lI1111[I1Ilil(0x20e,'@eL8')](IliII1,II1I['length']);IliII1++){var l1iIi1=II1I['charCodeAt'](IliII1);if(lI1111['jgtIV'](l1iIi1,0x80)){if(lI1111[I1Ilil(0x20c,'qubK')](lI1111[I1Ilil(0x1a6,'CPQ$')],lI1111[I1Ilil(0xb0,'0mX5')]))return I1llI1['log'](I11i1l),il1il[I1Ilil(0x19e,'AdB^')](Il1i1i[I1Ilil(0xde,'ZMOH')],'',lI1111[I1Ilil(0x18b,'JUu*')]),[];else Ilil1+=String['fromCharCode'](l1iIi1);}else lI1111[I1Ilil(0x207,'qubK')](l1iIi1,0x7f)&&lI1111[I1Ilil(0xda,'HdId')](l1iIi1,0x800)?lI1111[I1Ilil(0x15e,'JUu*')](lI1111[I1Ilil(0x13f,'HdId')],lI1111[I1Ilil(0xe6,'Ve^h')])?(Ilil1+=String['fromCharCode'](l1iIi1>>0x6|0xc0),Ilil1+=String[I1Ilil(0xe7,'Hr&W')](lI1111[I1Ilil(0x1cc,'CPQ$')](lI1111['byZcE'](l1iIi1,0x3f),0x80))):IIllI+=lliilI[I1Ilil(0x137,'XMhZ')](lili1[I1Ilil(0xb5,'@eL8')](lI1111[I1Ilil(0x10a,'qubK')](ll1l1['random'](),IllIIi[I1Ilil(0x153,'G(K7')]))):lI1111['bPaAx']!==lI1111[I1Ilil(0xc1,'BEuU')]?(Ilil1+=String[I1Ilil(0x194,'qTB*')](lI1111['IfFRi'](l1iIi1>>0xc,0xe0)),Ilil1+=String[I1Ilil(0x122,'Vf5W')](lI1111[I1Ilil(0x1ac,'Hr&W')](lI1111[I1Ilil(0x182,'BEuU')](l1iIi1>>0x6,0x3f),0x80)),Ilil1+=String['fromCharCode'](lI1111[I1Ilil(0xea,'rw2M')](l1iIi1,0x3f)|0x80)):iIIill[I1Ilil(0xc4,'Vf5W')](I1Ilil(0x17f,'yfCr'));}return Ilil1;}function l1i1i(llIlI,l1iIil){const l1I1I1=iIIllI,l1iIii={'OzSUS':l1I1I1(0x198,'Vf5W'),'lAAVN':function(Iii1Il,i1l1I1){return Iii1Il===i1l1I1;},'FLSWo':l1I1I1(0x1df,'6[Sd'),'lffNp':l1I1I1(0x1e0,'rWHp'),'yZyhV':function(lI1lI1,llIl1){return lI1lI1>>llIl1;},'Dtdcw':function(l1iIiI,illlli){return l1iIiI|illlli;},'DPrpn':function(illlll,IIIIiI){return illlll<<IIIIiI;},'Vslda':function(II1I1,i1i111){return II1I1>>i1i111;},'swHeB':function(ii1l1I,lI1lII){return ii1l1I&lI1lII;},'xNXda':function(lIill1,iiI1i1){return lIill1(iiI1i1);},'EBweA':function(ilIlII,iIiil1){return ilIlII!==iIiil1;},'RAtqE':l1I1I1(0xb8,'claT'),'KdTwE':'tvCYz','oDvIh':function(l1lI1i,l1lI1l){return l1lI1i+l1lI1l;},'bFPxM':function(l1I1Il,l1I1Ii){return l1I1Il+l1I1Ii;},'RKNsH':function(IIlili,IIlill){return IIlili>IIlill;},'EwLCx':function(IllllI,liliil){return IllllI%liliil;},'FwmvX':function(I1iil1,lIillI){return I1iil1||lIillI;}},illllI=l1iIii[l1I1I1(0x173,'a0JI')][l1I1I1(0x181,'74)z')]('|');let II1II=0x0;while(!![]){switch(illllI[II1II++]){case'0':var ii1l11,IIIIii,liiill,IIIIil,lI1lIl,liiili,I1ll11;continue;case'1':var lI1lIi='';continue;case'2':while(Iii1Ii<llIlI[l1I1I1(0xf2,'7@sS')]){if(l1iIii[l1I1I1(0x133,'U(8g')](l1iIii['FLSWo'],l1iIii[l1I1I1(0x1fa,'Rz&V')]))iilil[l1I1I1(0x110,'F^DA')](l1I1I1(0x16c,'CPQ$')+Ill11l?.[l1I1I1(0xd4,'Ve^h')]);else{ii1l11=llIlI['charCodeAt'](Iii1Ii++),IIIIii=llIlI[l1I1I1(0x148,'yfCr')](Iii1Ii++),liiill=llIlI[l1I1I1(0x115,'3VA7')](Iii1Ii++),IIIIil=l1iIii[l1I1I1(0x11a,'Hr&W')](ii1l11,0x2),lI1lIl=l1iIii[l1I1I1(0x222,'Znjd')](l1iIii['DPrpn'](ii1l11&0x3,0x4),l1iIii[l1I1I1(0x16f,'FQ@N')](IIIIii,0x4)),liiili=(IIIIii&0xf)<<0x2|liiill>>0x6,I1ll11=l1iIii['swHeB'](liiill,0x3f);if(isNaN(IIIIii))liiili=I1ll11=0x40;else l1iIii['xNXda'](isNaN,liiill)&&(l1iIii[l1I1I1(0x106,'G(K7')](l1iIii[l1I1I1(0x1a1,'rw2M')],l1iIii[l1I1I1(0x1f7,'rWHp')])?I1ll11=0x40:lI1IIl[l1I1I1(0x1d7,'BEuU')]=i1ilI?.[l1I1I1(0x124,'qTB*')]||'');lI1lIi=l1iIii[l1I1I1(0x1fb,'G(K7')](l1iIii[l1I1I1(0x1d4,'EwH]')](l1iIii['bFPxM'](lI1lIi+l1iIil[l1I1I1(0x21e,'74)z')](IIIIil),l1iIil[l1I1I1(0x103,'F^DA')](lI1lIl)),l1iIil[l1I1I1(0x216,'U(8g')](liiili)),l1iIil['charAt'](I1ll11));}}continue;case'3':return lI1lIi;case'4':llIlI=l1iIii[l1I1I1(0x1c5,'r%Hk')](I1lIIi,llIlI);continue;case'5':while(l1iIii[l1I1I1(0x1a7,'JUu*')](l1iIii[l1I1I1(0x213,'JUu*')](lI1lIi[l1I1I1(0xce,'@eL8')],0x4),0x1))lI1lIi+='=';continue;case'6':l1iIil=l1iIii['FwmvX'](l1iIil,iI1lII);continue;case'7':var Iii1Ii=0x0;continue;}break;}}function I1iI1i(iIiilI={}){const I1Ilii=iIIllI,iIiiil={'RCvht':function(ilIlIi,ilIlIl){return ilIlIi(ilIlIl);},'SNPIk':I1Ilii(0x1c3,'JUu*')};let iIiiii={'ciphertype':0x5,'cipher':{'ud':iIiiil[I1Ilii(0x1f8,'Hr&W')](l1i1i,l1llli[I1Ilii(0x203,'kppK')]($[I1Ilii(0x168,'74)z')])[I1Ilii(0xb9,'a0JI')]()),'sv':l1i1i($[I1Ilii(0xe2,'@eL8')]),'iad':''},'ts':Date['now'](),'hdid':iIiiil['SNPIk'],'version':'1.0.3','appname':I1Ilii(0x1f1,'CPQ$'),'ridx':-0x1};$['ep']=JSON[I1Ilii(0x142,'Vf5W')](iIiiii);}function l1i1l(l1lI1I,ll1llI={}){const l1Iii=iIIllI,i11lIl={'ZkMtf':l1Iii(0x14c,'kppK'),'Saplb':l1Iii(0x120,'XMhZ'),'KNvqD':'14.3','wnWCh':l1Iii(0x1b3,'HVYW'),'FOJdP':function(I1iiii,iiI1iI){return I1iiii(iiI1iI);},'CZTbg':function(I1iiil,Illll1){return I1iiil==Illll1;},'qMprm':l1Iii(0x22a,'BEuU'),'CwUWr':l1Iii(0x19b,'dq@%'),'lUxqo':function(lI1iil){return lI1iil();},'YnTjD':l1Iii(0x1a9,'AdB^'),'HPAFW':'M/5.0','CgXYS':l1Iii(0x1a3,'fU&e'),'dBvzx':l1Iii(0x1ca,'F^DA'),'YWgaI':l1Iii(0x180,'0O2)'),'pSWeZ':'appBuild','nIfri':function(lIilll,iIiiiI){return lIilll(iIiiiI);}},l1lI11={'jd':{'app':'jdapp','appBuild':l1Iii(0x195,'y$3t'),'client':l1Iii(0x201,'dq@%'),'clientVersion':'10.1.0'},'lite':{'app':l1Iii(0x11c,'[BYt'),'appBuild':i11lIl[l1Iii(0xc7,'gJg8')],'client':'ios','clientVersion':l1Iii(0xe9,'z1(M')}},lI1iii=[i11lIl[l1Iii(0x123,'FQ@N')],l1Iii(0x13c,'MYWR'),l1Iii(0xdc,'0mX5'),i11lIl['KNvqD'],l1Iii(0x155,'gJg8'),i11lIl[l1Iii(0xbc,'rw2M')],'14.0.1','13.2'];$[l1Iii(0x12d,'fU&e')]=i11lIl['FOJdP'](Iliii,lI1iii);let i11lIi=l1lI1I||'jd',ll1ll1=ll1llI?.['ep']?ll1llI?.['ep']:!![];if(!l1lI11[i11lIi]){console[l1Iii(0x1f3,'rw2M')](l1Iii(0x1dc,'XMhZ')+i11lIi+l1Iii(0x1b9,'Hr&W'));return;}$[l1Iii(0x1e5,'@eL8')]=ll1llI?.[l1Iii(0xef,'F^DA')]?ll1llI?.['client']:l1lI11[i11lIi]['client'],$[l1Iii(0x200,'XE]s')]=ll1llI?.['clientVersion']?ll1llI?.[l1Iii(0xdd,'oUwy')]:l1lI11[i11lIi][l1Iii(0x116,'AdB^')],$['sua']=l1Iii(0xf5,'y$3t')+$[l1Iii(0x197,'Znjd')][l1Iii(0x1cf,'ar!2')]('.','_')+'\x20like\x20Mac\x20OS\x20X';let lilil1=l1Iii(0x204,'Znjd');i11lIl[l1Iii(0x17e,'AdB^')]($[l1Iii(0x1e5,'@eL8')],i11lIl[l1Iii(0x22f,'XE]s')])&&(lilil1=i11lIl['CwUWr']);i11lIl['lUxqo'](I1iI1i);let lIilli=[l1lI11[i11lIi][i11lIl['YnTjD']],lilil1,$[l1Iii(0x22b,'yfCr')],'',l1Iii(0x1ab,'Znjd')+i11lIl[l1Iii(0x1c2,'0O2)')](illlii),i11lIl[l1Iii(0x14a,'CPQ$')],i11lIl['CgXYS'],'pushNoticeIsOpen/0',i11lIl[l1Iii(0xb4,'EwH]')],i11lIl['YWgaI'],l1Iii(0x127,'XMhZ')+l1lI11[i11lIi][i11lIl['pSWeZ']],l1Iii(0x224,'Ve^h'),'jdSupportDarkMode/0','ef/1',ll1ll1?l1Iii(0x129,'CPQ$')+i11lIl['nIfri'](encodeURIComponent,$['ep']):'',l1Iii(0x1d1,'FQ@N')+$[l1Iii(0x151,'f[qC')]+')\x20AppleWebKit/605.1.15\x20(KHTML,\x20like\x20Gecko)\x20Mobile/15E148',l1Iii(0x11e,'a0JI'),''];$['UA']=lIilli[l1Iii(0x135,'ar!2')](';');}async function I1iI1l(){const l1Iil=iIIllI,ilI11i={'BmRAV':function(IIliil,ll1liI){return IIliil(ll1liI);},'ACrIQ':'com.360buy.jdmobile','KGEoP':function(lI1iiI,i11lII){return lI1iiI>>i11lII;},'VdicT':function(iIIlli,ll1li1){return iIIlli|ll1li1;},'bxZsj':l1Iil(0x11b,'0O2)'),'Ofnat':function(iIIlll,I1iiiI){return iIIlll!==I1iiiI;},'PIJIO':function(iiI1il,iiI1ii){return iiI1il!==iiI1ii;},'LKuEw':'KbTkO','vVkqk':function(I1iii1,lilii1){return I1iii1==lilii1;},'fhFuU':function(iIiii1,ll1lil){return iIiii1===ll1lil;},'lueyI':l1Iil(0x1ae,'EwH]'),'OISGt':l1Iil(0x18d,'MYWR'),'yhlmj':l1Iil(0xf4,'gJg8'),'VUjvf':l1Iil(0x131,'Znjd'),'WOUzf':function(IIlil1){return IIlil1();},'FNYaM':function(I1Illl,ll1lii,li11){return I1Illl(ll1lii,li11);},'TIjda':l1Iil(0x15a,'EwH]'),'SESDR':function(ilIlI1,I1Illi){return ilIlI1!==I1Illi;},'caYpo':l1Iil(0x228,'U(8g'),'EnmPD':'接口获取失败,跳过','PZnmN':l1Iil(0x1ee,'rw2M'),'MTPPz':l1Iil(0x14e,'ar!2'),'vXhoq':function(IIlilI,Illlll){return IIlilI*Illlll;}},ilI11l='{\x22businessId\x22:\x221\x22,\x22type\x22:\x221\x22,\x22themeId\x22:\x22331\x22,\x22uuid\x22:\x22\x22}';sign=await ilI11i[l1Iil(0xe3,'BEuU')](l1i1I,l1Iil(0x109,'gJg8'),JSON[l1Iil(0x1e7,'JUu*')](ilI11l));l1llll?$['signStr']=sign?.['data']?.[l1Iil(0xe0,'XE]s')]||'':ilI11i[l1Iil(0x1c1,'Vf5W')](ilI11i[l1Iil(0x167,'qubK')],ilI11i['TIjda'])?lillIi[l1Iil(0x111,'rWHp')](illIi1):$['signStr']=sign?.['body']||'';!$[l1Iil(0x107,'a0JI')]&&(ilI11i[l1Iil(0xed,'yfCr')](ilI11i[l1Iil(0x1b1,'ar!2')],l1Iil(0x228,'U(8g'))?iilli[l1Iil(0x1aa,'HVYW')](l1Iil(0x17d,'z1(M')+IlllIl):console[l1Iil(0x101,'@eL8')](ilI11i[l1Iil(0x16d,'gJg8')]));let li1I={'url':IIIIli+l1Iil(0x170,'XE]s')+$[l1Iil(0x145,'oUwy')],'headers':{'Host':'api.m.jd.com','Accept':ilI11i[l1Iil(0xb7,'Rz&V')],'Cookie':lil1i,'User-Agent':$['UA'],'Accept-Language':ilI11i[l1Iil(0x177,'G(K7')],'Accept-Encoding':'gzip,\x20deflate,\x20br'},'timeout':ilI11i[l1Iil(0x1e4,'kppK')](0xa,0x3e8)};return new Promise(lI1ii1=>{const III1Il=l1Iil,llli1i={'ZxeZA':function(iiI1l1,i11lI1){const III1Ii=iii1II;return ilI11i[III1Ii(0x1b6,'9]Vn')](iiI1l1,i11lI1);},'TGcMf':ilI11i['ACrIQ'],'pGxKy':function(liliiI,ilIIiI){return ilI11i['KGEoP'](liliiI,ilIIiI);},'GApwC':function(lIl1ii,lIl1il){return ilI11i['VdicT'](lIl1ii,lIl1il);},'zmjNK':function(Ii1l11,IIlii1){return Ii1l11&IIlii1;},'dFuyU':ilI11i[III1Il(0xaf,'yfCr')],'ucqqi':function(iiI1lI,IliIlI){return iiI1lI(IliIlI);},'bjGjO':function(IIliiI,i1111l){const iIIliI=III1Il;return ilI11i[iIIliI(0x113,'XE]s')](IIliiI,i1111l);},'BhAvV':III1Il(0xb2,'rWHp'),'eyUyJ':function(i1111i,iliiI1){const IiIil=III1Il;return ilI11i[IiIil(0x14d,'y$3t')](i1111i,iliiI1);},'wWyhy':ilI11i[III1Il(0x214,'rw2M')],'BpTMz':function(Illli1,ilIIii){return Illli1==ilIIii;},'RIwZT':function(l1111,lIl1l1){const IiIii=III1Il;return ilI11i[IiIii(0xf8,'7*(f')](l1111,lIl1l1);},'DbOrz':function(li1i,ilIIil){const iill1l=III1Il;return ilI11i[iill1l(0xc3,'MYWR')](li1i,ilIIil);},'ugVWZ':ilI11i[III1Il(0x1e6,'z1(M')],'NIEGy':ilI11i[III1Il(0xbb,'[BYt')],'kAVSV':ilI11i[III1Il(0xd0,'claT')],'MVycl':ilI11i['VUjvf'],'FBTbS':function(lIili1,li1l){return lIili1!==li1l;},'xcTch':'kwFgB','jUnKR':function(iliiII){const IiIiII=III1Il;return ilI11i[IiIiII(0x102,'JUu*')](iliiII);}};$[III1Il(0xcf,'JUu*')](li1I,(iiI1li,IIliii,i1111I)=>{const iill11=III1Il,IliIl1={'DrCiU':function(lIl1lI,iiI1ll){return llli1i['pGxKy'](lIl1lI,iiI1ll);},'riwWB':function(lIiliI,iIiill){const iill1i=iii1II;return llli1i[iill1i(0x217,'BEuU')](lIiliI,iIiill);},'hXjWq':function(Ii1IIi,Ii1IIl){const l1Il1=iii1II;return llli1i[l1Il1(0x166,'7*(f')](Ii1IIi,Ii1IIl);},'EWrkg':function(l111I,ll1lli){return l111I===ll1lli;},'WpwNG':llli1i[iill11(0xf9,'U(8g')],'efvtD':function(ll1lll,Illlil){const I1IliI=iill11;return llli1i[I1IliI(0x10b,'yfCr')](ll1lll,Illlil);}};if(llli1i[iill11(0xd2,'U(8g')](llli1i['BhAvV'],iill11(0x188,'Znjd'))){let lililI={'ciphertype':0x5,'cipher':{'ud':i11il1(ii1iiI['SHA1'](lllilI[iill11(0x168,'74)z')])['toString']()),'sv':llli1i[iill11(0x163,'9]Vn')](ilil11,illlI1[iill11(0xd8,'HdId')]),'iad':''},'ts':IIIl11[iill11(0x171,'MYWR')](),'hdid':iill11(0x141,'claT'),'version':iill11(0x227,'HdId'),'appname':llli1i[iill11(0x212,'XE]s')],'ridx':-0x1};I1lIi1['ep']=liiIIi['stringify'](lililI);}else try{if(iiI1li)$[iill11(0x146,'yfCr')](iiI1li);else{if(llli1i[iill11(0x1f4,'claT')](llli1i[iill11(0x13b,'oUwy')],llli1i['wWyhy']))iIli11+=Iiiil[iill11(0xe7,'Hr&W')](IliIl1[iill11(0x1f5,'XE]s')](Iiiii,0x6)|0xc0),l11i1I+=IiII[iill11(0x1fd,'9]Vn')](IliIl1[iill11(0x20a,'f[qC')](IliIl1[iill11(0x1c8,'rWHp')](llIIli,0x3f),0x80));else{i1111I=JSON[iill11(0x1f0,'dq@%')](i1111I);if(llli1i[iill11(0x1d9,'Ve^h')](i1111I['code'],0x0)&&!i1111I?.[iill11(0xc9,'qTB*')])console[iill11(0x16a,'y$3t')](''+i1111I?.[iill11(0x160,'0mX5')]);else{if(llli1i['RIwZT'](i1111I[iill11(0x10f,'Znjd')],0x3)){if(llli1i[iill11(0x1de,'7*(f')](llli1i[iill11(0x221,'Znjd')],llli1i[iill11(0x147,'yfCr')])){IiilI1['keys'](IIII1l)[iill11(0xfd,'0O2)')](lI1ili=>{IlI11['push'](iIIIIl[lI1ili]);});if(IlI1I['env']['JD_DEBUG']&&IliIl1['EWrkg'](II11Ii['env']['JD_DEBUG'],IliIl1['WpwNG']))II11Il[iill11(0x138,'qTB*')]=()=>{};}else console['log'](iill11(0x218,'l^tH'));}else{if(llli1i[iill11(0x136,'tBuB')]===llli1i['MVycl'])return IliIl1[iill11(0x20d,'qTB*')](i1iIiI,IlllI1[0x2]);else console[iill11(0x11d,'HdId')]('关注失败,'+i1111I);}}}}}catch(i1lll){llli1i[iill11(0x104,'[BYt')](llli1i['xcTch'],iill11(0xfa,'BEuU'))?$[iill11(0x101,'@eL8')](i1lll):i1ilIl();}finally{llli1i['jUnKR'](lI1ii1);}});});}async function illlil(){const III1II=iIIllI,I1iill={'fWxkk':function(lIl1li,Il1I1){return lIl1li==Il1I1;},'MUJwz':III1II(0x1bf,'Hr&W'),'UXvHD':function(lIilii,lIilil){return lIilii!=lIilil;},'TPeAq':'rxVfo','rVTgK':function(lIl1ll,Ii111){return lIl1ll!==Ii111;},'dbVKf':III1II(0x1c9,'U(8g'),'narfO':'uhhxX','ewelK':function(Ii1III){return Ii1III();},'ZqSAP':function(ilIIi1,l111i,l111l){return ilIIi1(l111i,l111l);},'tGynX':'signInWithPrize','SkjhP':function(I1iilI,Ii1II1){return I1iilI===Ii1II1;},'wYqOd':III1II(0xfe,'claT'),'YbFWb':III1II(0xd3,'qubK'),'pSwSq':III1II(0x1d3,'ZMOH'),'kniIq':'zh-Hans-CN;q=1','HFfCR':function(lilili,IliIli){return lilili*IliIli;}},i1lli='{\x22floorId\x22:\x20\x2283596202\x22}';sign=await I1iill[III1II(0x209,'z1(M')](l1i1I,I1iill[III1II(0x108,'MYWR')],JSON[III1II(0x1af,'a0JI')](i1lli));if(l1llll){if(I1iill['SkjhP'](I1iill[III1II(0x1ce,'CPQ$')],III1II(0x1d0,'7*(f')))try{return Ilil1i[III1II(0x175,'l^tH')](iili1);}catch(IllliI){return iIIil1[III1II(0x1c0,'kppK')](IllliI),IlllII[III1II(0x13d,'qTB*')](I1il1I[III1II(0xe1,'BEuU')],'',III1II(0x17b,'74)z')),[];}else $[III1II(0x1ef,'AdB^')]=sign?.[III1II(0x1cd,'[BYt')]?.[III1II(0x219,'FQ@N')]||'';}else $[III1II(0xee,'dq@%')]=sign?.[III1II(0x229,'qubK')]||'';!$[III1II(0x18e,'7@sS')]&&console['log'](I1iill['YbFWb']);let i11111={'url':IIIIli+III1II(0x185,'0mX5')+$['signStr'],'headers':{'Host':I1iill['pSwSq'],'Accept':'*/*','Cookie':lil1i,'User-Agent':$['UA'],'Accept-Language':I1iill[III1II(0x184,'G(K7')],'Accept-Encoding':'gzip,\x20deflate,\x20br'},'timeout':I1iill['HFfCR'](0xa,0x3e8)};return new Promise(IliIll=>{const iIIlil=III1II,iIiili={'KudpL':function(lilill,IilI1){const l1I1II=iii1II;return I1iill[l1I1II(0x114,'Vf5W')](lilill,IilI1);},'VvnFC':function(l1lI1,Ili1I1){return l1lI1+Ili1I1;},'iIcPI':I1iill[iIIlil(0x12b,'yfCr')],'fKqCo':function(lI1I1i,liI1II){const IiIiI1=iIIlil;return I1iill[IiIiI1(0x1a4,'F^DA')](lI1I1i,liI1II);},'GHfOu':function(i1Iii1,l1liii){return i1Iii1(l1liii);},'zhtzd':I1iill['TPeAq'],'eyBOE':function(I1Ili1,l1liil){const iIIlii=iIIlil;return I1iill[iIIlii(0xcc,'74)z')](I1Ili1,l1liil);},'Hkeka':I1iill['dbVKf'],'HxpeK':I1iill[iIIlil(0x10e,'@eL8')],'idMKf':function(i1ll1){const llIII1=iIIlil;return I1iill[llIII1(0x176,'Vf5W')](i1ll1);}};$['get'](i11111,(lilI1I,lI1I1l,Il1Il)=>{const iill1I=iIIlil,i1IiiI={'LZqnS':function(lI1I1I,l1lII){const IiIiI=iii1II;return iIiili[IiIiI(0x162,'0O2)')](lI1I1I,l1lII);},'DQHIu':function(lilI1l,l1liiI){return iIiili['VvnFC'](lilI1l,l1liiI);},'chJGo':function(I1iI1,lilI1i){return I1iI1+lilI1i;},'XoZgu':iIiili[iill1I(0x22d,'oUwy')],'wqLrO':function(Il1Ii,Ii11l){return iIiili['fKqCo'](Il1Ii,Ii11l);},'FMzji':function(liI1I1,Ii11i){return iIiili['GHfOu'](liI1I1,Ii11i);}};try{if(lilI1I){if(iill1I(0x1e8,'Ve^h')!==iIiili['zhtzd'])$['log'](lilI1I);else{il1iIi=iii1il['parse'](II11li);if(i1IiiI['LZqnS'](I1l11i[iill1I(0xb3,'U(8g')],0x0)&&!iIIiiI?.[iill1I(0x1a5,'U(8g')])i1ill[iill1I(0x186,'EwH]')](''+I1l11l?.[iill1I(0x183,'[BYt')]);else i1IiiI['LZqnS'](lilIIl[iill1I(0xfc,'r%Hk')],0x3)?lilIIi[iill1I(0x1d8,'r%Hk')](iill1I(0x22c,'AdB^')):i1l1Il[iill1I(0x111,'rWHp')](iill1I(0xdb,'74)z')+llIli);}}else{if(iIiili['eyBOE'](iIiili['Hkeka'],iill1I(0x191,'XMhZ')))IiilIl[iill1I(0x1da,'hRyh')]('','❌\x20'+iii1Ii[iill1I(0x208,'rw2M')]+iill1I(0x1f9,'tBuB')+iii1Il+'!','');else{Il1Il=JSON[iill1I(0xba,'FQ@N')](Il1Il);if(iIiili[iill1I(0x211,'tBuB')](Il1Il['code'],0x0)&&!Il1Il?.[iill1I(0x21f,'[BYt')])console[iill1I(0x15b,'3VA7')](iill1I(0x125,'yfCr')+Il1Il?.[iill1I(0x192,'74)z')]?.['signInText']);else{if(Il1Il[iill1I(0x118,'F^DA')]==0x3)console[iill1I(0x21a,'XE]s')](iill1I(0xf7,'3VA7'));else{if(iIiili[iill1I(0x128,'Znjd')]!==iill1I(0xd9,'r%Hk'))console['log']('签到失败,'+Il1Il?.[iill1I(0x18a,'tBuB')]);else{let l1lIl=new II11iI(i1IiiI[iill1I(0x225,'HdId')](i1IiiI[iill1I(0x1e1,'rw2M')](i1IiiI['XoZgu'],Il1i1l),'=([^&]*)(&|$)')),Ii1l1l=Iil1ii[iill1I(0x143,'9]Vn')](l1lIl);if(i1IiiI[iill1I(0xca,'yfCr')](Ii1l1l,null))return i1IiiI[iill1I(0x10c,'XMhZ')](Ii1ii1,Ii1l1l[0x2]);return'';}}}}}}catch(i1Iiil){$[iill1I(0x1da,'hRyh')](i1Iiil);}finally{iIiili[iill1I(0x179,'XMhZ')](IliIll);}});});}function Iliil(i1Iiii){const Illi1=iIIllI,l1lIi={'ysAwA':'接口获取失败,跳过','uzqCb':function(l1lili,IIlI1l){return l1lili==IIlI1l;},'UwwgP':function(lI1I11,IilIl){return lI1I11!==IilIl;},'GtBnB':Illi1(0xd1,'y$3t'),'QAWZm':Illi1(0x1ea,'7@sS')};if(l1lIi[Illi1(0xe4,'r%Hk')](typeof i1Iiii,Illi1(0x100,'r%Hk')))try{return JSON[Illi1(0x105,'BEuU')](i1Iiii);}catch(IilIi){if(l1lIi['UwwgP'](Illi1(0x158,'G(K7'),l1lIi[Illi1(0x150,'kppK')]))II1iI['log'](l1lIi[Illi1(0xc6,'FQ@N')]);else return console[Illi1(0x19f,'74)z')](IilIi),$[Illi1(0x16b,'G(K7')]($[Illi1(0x1b5,'Vf5W')],'',l1lIi['QAWZm']),[];}}function I1lIIl(i1liI,iilIIi){const l1iiIl=iIIllI,I1iII={'sokug':function(iiiI1l,Ili1Ii){return iiiI1l+Ili1Ii;},'jRUmw':l1iiIl(0x1bc,'@eL8'),'ujeaZ':l1iiIl(0x121,'qubK'),'MdyPm':function(Ii1l1I,iilII1){return Ii1l1I!=iilII1;},'ASsjU':function(iiiI11,l1lilI){return iiiI11(l1lilI);}};let IIlI1i=new RegExp(I1iII[l1iiIl(0x154,'6[Sd')](I1iII['jRUmw']+iilIIi,I1iII[l1iiIl(0x1cb,'JUu*')])),iiiI1i=i1liI[l1iiIl(0xc2,'F^DA')](IIlI1i);if(I1iII['MdyPm'](iiiI1i,null))return I1iII[l1iiIl(0x223,'fU&e')](unescape,iiiI1i[0x2]);return'';}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)}