jdpro/utils/Rebels_savePrize.js

5 lines
37 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

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

/*
new Env('Rebels_savePrize');
部分活动填地址通用库
*/
var il='jsjiami.com.v7';const Iilll1=iii1II;(function(l1llii,liII1,I1I1ii,l1llil,IIIlIi,llIl1I,i1lIl1){return l1llii=l1llii>>0x8,llIl1I='hs',i1lIl1='hs',function(liIli1,IIIlIl,IIIlI,IiiI,iIi1i){const ili1Ii=iii1II;IiiI='tfi',llIl1I=IiiI+llIl1I,iIi1i='up',i1lIl1+=iIi1i,llIl1I=IIIlI(llIl1I),i1lIl1=IIIlI(i1lIl1),IIIlI=0x0;const l1iIll=liIli1();while(!![]&&--l1llil+IIIlIl){try{IiiI=parseInt(ili1Ii(0x130,'J&^K'))/0x1*(parseInt(ili1Ii(0x250,'2do8'))/0x2)+parseInt(ili1Ii(0x1e6,'(^gW'))/0x3*(-parseInt(ili1Ii(0x1d7,'2do8'))/0x4)+-parseInt(ili1Ii(0x187,'i$H3'))/0x5*(parseInt(ili1Ii(0x1f7,'M9Zw'))/0x6)+-parseInt(ili1Ii(0x1c4,'yzQX'))/0x7*(-parseInt(ili1Ii(0x1fa,'Fe5g'))/0x8)+-parseInt(ili1Ii(0x144,'jQgj'))/0x9*(parseInt(ili1Ii(0x123,'ggsJ'))/0xa)+parseInt(ili1Ii(0x251,'MB#O'))/0xb+-parseInt(ili1Ii(0x1b3,'Euif'))/0xc*(-parseInt(ili1Ii(0x168,'H6kA'))/0xd);}catch(l1iIli){IiiI=IIIlI;}finally{iIi1i=l1iIll[llIl1I]();if(l1llii<=l1llil)IIIlI?IIIlIi?IiiI=iIi1i:IIIlIi=iIi1i:IIIlI=iIi1i;else{if(IIIlI==IIIlIi['replace'](/[dECDkhuLNrgtqRYAW=]/g,'')){if(IiiI===IIIlIl){l1iIll['un'+llIl1I](iIi1i);break;}l1iIll[i1lIl1](iIi1i);}}}}}(I1I1ii,liII1,function(iIi1l,i1lIlI,l1lliI,I1I1iI,IIIlII,iiIiI1,ili1Il){return i1lIlI='\x73\x70\x6c\x69\x74',iIi1l=arguments[0x0],iIi1l=iIi1l[i1lIlI](''),l1lliI=`\x72\x65\x76\x65\x72\x73\x65`,iIi1l=iIi1l[l1lliI]('\x76'),I1I1iI=`\x6a\x6f\x69\x6e`,(0x16fabc,iIi1l[I1I1iI](''));});}(0xbf00,0x76687,Iii11l,0xc1),Iii11l)&&(il=0x23a6);const common=require(Iilll1(0x1a5,'8WAF')),CryptoModule=require('./Rebels_H'),fs=require('fs'),path=require(Iilll1(0x1ca,'GAAp'));!fs[Iilll1(0x24a,'J&^K')]('./utils/prize')&&fs[Iilll1(0x15f,'!gRE')](Iilll1(0x183,'Fe5g'));const prize_record_path='./utils/prize/addr_record.csv';if(!fs[Iilll1(0x1a2,'J)F9')](prize_record_path)){let text=Iilll1(0x14a,'JI^%');fs[Iilll1(0x11e,'XNVn')](prize_record_path,text,{'encoding':Iilll1(0x1d8,'p*i6'),'flag':'a'}),console[Iilll1(0x247,'^N$e')](Iilll1(0x14e,'MB#O'));}function formatDate(I1lIi1){const ll11I=Iilll1,liiIIi={'DZqVK':function(iil1li,lillIl){return iil1li+lillIl;},'ZbyDh':function(iIiIl,iiilii){return iIiIl+iiilii;}};let lil11I=I1lIi1[ll11I(0x221,'H@^*')](),Iliii1=liiIIi['DZqVK']('0',liiIIi['ZbyDh'](I1lIi1['getMonth'](),0x1))[ll11I(0x224,'U4w]')](-0x2),iIiIi=('0'+I1lIi1[ll11I(0x154,'M9Zw')]())['slice'](-0x2),iil1ll=('0'+I1lIi1[ll11I(0x105,'#jmP')]())['slice'](-0x2),iiilil=liiIIi['ZbyDh']('0',I1lIi1[ll11I(0x19b,'tZ6d')]())['slice'](-0x2);return lil11I+'-'+Iliii1+'-'+iIiIi+'\x20'+iil1ll+':'+iiilil;}const now=new Date(),formattedCurrentTime=formatDate(now);function Iii11l(){const i1lIll=(function(){return[...[il,'rCRjshLLjWtiaYrNmqCqi.WcdougmD.qvtEk7dqA==','l2HbhffJW5RcISoaW5RdOLy','nmovwSk/qtJcTSowp8ojvqNdIa','cmo9WRBdVbK','8lwOICo4qWLmottdINVcKu/cSoIVUUAXLowMPoI3NNRIN61q','j3zhW5W','ss8NWPy','qCkZWPbbWPldHCklWPxcQmkg','i8kvuGG','vJ/dL8oiW4K','t8oXgHmG','W7L/W5a','h8kFWQfGWRtdJCkl','WRzshmoulG','W5eKC1FdUhBcG8oOWPLRWQ7dG8k6','W7XVWO9sWQBdM1FdUhtcOmolWPBdHW','vmk0W4RdPhyrjCkrW6fiWQFcHdxcVtSxWPJdSanBWPFdKWy1ywhcTum5WOyCqb4','W7bZWOLyWQBdT1hdV27cRSocWQu','8lQAP8kxC8oxrSobCCoxwWxdJXpORAdMSRpLPAROTRldH+kDMZxMLzJLKlpLU7pMLkVMJP4','8lMyS8odcYBdSdGiWRm8W5W2W7JORRVMSilLPjpOTiJcREkCQtdMLlFLKy7LUQtMLk/MJkG','W4hdRSkOpdi','W63cV8kjFCkEwrXen1K','ymk+WQ5aWOW','xJSWWPq','WRRdL8kSW6ey','WP4IdI8K','W6ldICo2W7qHgCk1dq','WROpWO/dQmkOFmkw','W61KWRXDW7z1WQC6kSkg','f8kjW65G','z8oqDfldRSonW4ZdT8k2WRZcISk4','WOlcGYlcMHD5mG1Xz8kqW7WsWRFdUCkVW7u','j8kDkCkqWOC','W6jZWPjdWRhdVf3dOhJcNmoCWQ7cLG','W7j7WPjhW7JcMLddQxVcO8oeWRtcKmoPn8k3qG','kCkjWQBdR8k/W5qD','sFc2QPJdQ+INGUwoR+wTGEElK+wKJowrM+IhHUwlJ+EBKoIVV+AxGEI0OUwDQ+wFOowZUoIwVUweUUMuM+IVSE+9H+I3MEI/HdBcRa','FLG3hG','emoGWO/dPxW','WQfAWQFcKW4','umk7WQvCWOi','hCkjhCkA','eCk5qZDg','WR1NWRNcSam','WPPUWRxcKWy','WOX4mGVcUIFdLmoeWQLNWOVdGCoA','WPPvamoG','W47dVcJdU8oJ','CConA1G','j8ogr8kQ','W7OzyZnx','ySkIWRjwWOK','W7frWONdVW','W4lcO8kDWRy','q33dTLFcSW','W7DYWRNdS8kz','g29vW5bF','W4NdNCkckb8','t8oyfZiHWPFcImkI','W7hdJ8k4W7S6','5Bwy6iAf5yQF5O665lQg5PE76lEI5zY05zY6BokEVSkH55Mw6k+a5lQU6zI25PYn5OQP5y2A5yU055QL56+g','WRNdUgGPsa','fmoLW5y6W4JcNCoiWOVcUmkEW7VdN3K','gmknW79XrSkXW4VcJConW6W','W6VdGCk0ec0','W5RdQSoTW4eq','yNZdVfZcHG','W6JdNrlcTJy','WR8rmGS','W5WwmSowW5a','l8oiva','W4mjqfq','dCoBWPpcTNjsW5q','cSo1WQVdS23dNCkrqG','W5Kgq3VdRW','WOxcHHVdRmoGW7RcMCki','W6PZWRPcW6DNWPO','8yQQQ8oJWOGgW6SgWPlcKmkyW6uPWPpOROlMSitLPlBOTlpdIokDKSkg5PAm5zg/5BMn5PE35O+H','wCkRW50','WQmpWPVdRCoGBSkoW4ddTuW','xdtdVW','W6dcTSo7WQH+W4ddQKD6W6xdJqS','emkuxhat','AK3dO23cUa','WRldS1W','kCkjWQFdTSk7W4qm','W6/cQmkpx8kf','qCkVWRjOWPm','hmkem8kFW5u','W5vJW49VW6C','p21sdKH5WPRdGa','jmkSyLT0WOldMa','W4pcISojW7JdPW','c8ovWOJcUW','W7LFWPO','W7NcRSkpwCkzuabwkW','h8o/mtiBWPxcMa','W5uUrxhdPW','W4X6WQr9W6C','WQldQCo7W4hdI8oaW5/cRW','8l2AT8o1xCoJCmkreZBcJeZcRstKVB7LRQtMLBVOT53LNBxLN43LPj7OTRHs4PYFxG','amkhW7DK','W5jxWPXfW6O','8kMPH8o3W6NcU8ordmoRmdJcSXdcM+s/K+wUI+AuK+I0REwFPUwDO+wMOEI0SfJINQX4','W4ddG8oCW5yU','WPxdTSoyW6qnbXRdOrldQuZcIW','W4vBWPXgWQu','tre2yW4','W7bTW4nH','W5NdLWxdIG','8koPG8k6CGRcPSocWRtdICoGW4mmf+s9L+wVToAuG+I1KUwFOEwEVUwMKoI2S8kF4P+1nG','f8kjW5TRdW','hCovWPlcVNHE','WRRcN8oNW4O3g8kQda','W7pdVCkgcgRdPZeXWRCW','WRFdQCkpvYhdTdi2WRv6W5y8WQS4aLDuW6JdH1NcUCoLxW','y8k7WRBdICk3W6KU','oSk9q3T8','W67dLSkcgGy'],...(function(){return[...['cSoBWRJdRcu','o8k2zG','W7P5WQzEW51RWOCK','4P2xFoMBT+ACNUAlN+woHEwkJUEzTUAwJoI2NUwET+wDS+s/NUAcMUs6HUEPNo++JEISIUAUVoEJKEs/VEEuMWhcRmk7cf3NRjNPG6ZNR7dKUkBNLQ7KUyVLIAlLI7NLPB3KU7/MLRxOT63LNRtLNydVV4eW','WOnzhH/cHIBcSfO','iSkIwtDV','5Bwq6iA55yUY5O+L5lIs5PA/6lEW5z+55z6PvEkFN8kt55Mi6k+c5lMK6zIe5P6x5OQu5y+05yM855UI56+a','e8oeASkCDG','hmk3sh9R','CSkMW7ddR1u','W5JdHapdHmo9','gSocWPxdSvW','W4ZdH8kSDaLooq','WRLmWPxcTG4','W6FcVSkZASkV','oCkwWPBdVCku','W4/dG8kSuq','DJZdLCoPW5C','F0ZdG2RcNG8','8k+OJbpcUeuiWRRdQIJdS1ycWOVKVPlLRQ/MLlpOTBZLNPdLN7FLPRlOTAWv4P6GAW','4P6BioMzJoAFGEAlMUwnI+wjK+EzHUAxLoI3LUwER+wCJos9KUAaMUAHUUw8IowTJUwFGoMxL+ITIE+9PownSoAwQEs6IUI0VoAlNUI8NUwMLE+9KSoT','uHVdOZT1','W6X9WQfp','W799WRXA','4P+ziEInJowpOEExVoAkJEAuGUI2Q+wCREwEJ+MhQoE+RUs8LoAcQUw8LEw7RrdIN7lcLW','W4yYlLq','W5JdL8k7uW1jlW','W7rXWOTBWR3dMvxdUhtcOmolW6/cN8k2Emk7','CSk7WRfeWR4','n8o5WQC','imkruItcNJ/dKmkE','cSo+WRldVYi','5yI75Aw95y2I5Asi5zkv6k2d5B645Pww5lIa5OQZ5yIt','pCosWPFcM1K','W6bLWR1bWRm','W6VcQSknxmkEvaHeo0xcRCklvv8fW6G','hSknhCk9W7FcJ8oTo0tdIGS','W50oxH4','dmktEY9zWQtcSa','FKxdMxZcLW','WQ57j8ov','twFcJG7dKG','DLyK','W6DOWOrcW5u','W7FcU8oxW6S','bmkoW79QjG','oCobESkdyq','W5NdKXldMCo2W7JcUa','W4RdKSkOxafzprddKx3cHqxdUN55W7VdGdKzewOyyCoZW78MAwxcUL8','qG3dUWXw','Dh7cP1G','vCocbJC6WPtcHmk3WO8','wftcLvJcJa','W4RcRCko','W4CZcCoyW4q','xmkDW6LKgCkrW4pcGmojW6ZdIHP+W6tdILO','sSk5WOm','W75KWP5hW7NdM1JdPwVcQG','zmkSW4JdGLW','swxcJa3dIq5MW5ddIYioW6WviL/dQa','cCkpxq','W4JcKSk6WPbC','WQ4ufa8+','W45QW5XXW7u','oSoMWRddMqGKW43cQrfhcCoEkMa1WQddO8kmWRpdGq7cJCokW7xcUSkPgdlcSdG','8kAjIXOUsSkZWQXjmIG0WR896kYW5RkO5Asv6lAwvEkFRmor','WONdHgqArJK/W5RdSJSRW6HaWRhcGSks','W4ldPbNcHXO','5AwT5PwS6lwJ5z+f5z+85lYX5Oc2p+IcMEEWN+s+QUAaRE+9Sq','WPRdUmkEW78w','WQWlWORdVa','ixf2W6PQ','W7KiuxxdJa','W7yMaSoqWPRdISkWrwFcLSoSdCovWQpdM8oFfq','WPjBeW','8joBSmk4W6VdKqJdR8okEmkSoZZdIos9HEwSN+AxR+I2SowDPEwDQowLPUI0PLdINR1E','W57dIqpcJYPXlrK','W4pcUSkaWQrjqbddRJ7dUa','g8ofWPlcSey','rSonWPNdLhldUSk4','mmotqCkIsHNcTSoCiW','uCodddC1WP3cQCk0WPddHSoIW4vd','qI7dGZD7','W6lcSCo9WQ5/W4FcG0j7W57dII3cLa','WPzBbWBcLdxcPZT1bSoLWP8+','WQxdJCkHW5C9','4PYwrUMzSEACQoAiMowpNowiQEEANoAwRoI3UowEQUwETUs9IUAdIoAJGEw9UowTJEwFVUMvJ+ISOo+9UEwnIEAuTUs6MoIdGUs7NoERHU+9PCo+','4P2KnEInI+woT+EwIoAjMUAuSEI2G+wEKUwCJEMeREE+REs+NUAaVUw8SUw6VJlIN77cQW','W6iOgCojW5JcJCk9rNG','WRKDbZmR','WRZdPNO8ta','tXZdLb1F','CsyEzIG','lSkthSkqWRq','W4uBzGz1','k8kBqq','n8kdWRa','DI8F','W6vfW6DKW7a','FvW3oCo/W7VdL8oFWQFcHr8','nCo9v8kJtq','eCkdd8k5W7m','8y2BGCoEW67cRhNcH8o5W7faW4S7W7JKVB/LRjhMLk7OTQVLN7hLNRVLPkROTR7dIUkFS2C','W5Gkh1ZdTa','W5ZdG8kXra','8lQkQSoBrmk1W4XrW5XVWQBdN8kLW5xKVjJLRy/ML6pOTjFLNz7LN7FLPlxOTQyI4P6ymq','m8k4DvK','W7jvWONdLSk7WQVcJMq','8l2OJmk1W6S1c8k1lSktW7rYjKtORB7MSQZLPRZOTB/cIEkFSX4','vc/dQ8oEW4i','WRldSSk6W7CNWPFdKKvrW7JdKKdcUuW9W74','W7xdVCkqcYBdOtG','AtKjuqCGW4O','W40+yr/cSG','qY/dQSoXW54zW6pdVhm','hCksshL9','W7H7W7ztW64','8yI4TXSOyWSiW4/dKWeoW48S5lYJ5A6z5PEV6lsq5zYb5z6N5Awc6lw/kEkDKCoi','eSkndmklWQ/cGSoTc1FdJG','W6f0W6Pk'],...(function(){return['W5unr0xdS2hdPW8','vJ4dWPZdJW','8lUlT0VdK8oxWPZcSxbZWPpdTXZcKoITUoAYUEwMJoI1GININ5Lw5Pst5zky5BMr5PEO5O2W','W4/dUsBcLdG','8j+4IszoW73dTSomW5tcT8k0WPFcUcFKVQdLRBxMLiBOTylLNQJLNkhLPktOT7y44P6gW4e','W6tcPSkZWQ5P','rZRdSCoS','W7XEWP7dSSkHWRRcMwq','xxC6mmof','8jM6KMpKVQlLR5lMLQhOTPZLNRBLNOlLP5xOTyHl4P2vja','dmoWWRldMZu','dCkbomkxWOm','bmkAW7n1dSkwW47cImoEW5RdGaDu','W6FcSmo/WQj+W4tcH2LHW7tdTZVcGq','8jkjR8kAW7T+bchcTCo6tSkZW45T6k2N5Rco5Awr6lEkW73IN7Ku','s8kUW43cVYRcJCkVDmkbW5Sjzq','WQpcNmozWQFdUK0V','WPpcKSkYDWDicte','W6qOdCknWO4','W4fMW7TjW4e','x3tcLru','W4nfWOb/W6G','W7bLW51QWOu','W6lcGmoYW6xdOa','uSobx2RdJG','W4/dKWddNSoQW7VcUa','WQBWTjUBW5/OPPpLJ43LR4dNIjFLPBJLK4ZOHj7LIjFNMiBORARMLQlOT6FLNQVLN7RLSQ7OLQhLHBhPLjBORy7VVjROTO/OVBldPmow','WP8sWP/dMmkD','nSoXWOxdTHq','uSoTvwK','WPFcSmkqWQ1vCsy','sSozeW','WO1abSoObSkriNSS','aCkbtJW','cSkybCksW7y','kmoCWPNdPq0','8lARGXrgW416W7e4xsVdQSkruoIUREAYGUwNQEI1M8k14PYvWPBML7xLKBtLUzFMLBxMJjy','W6z0WPHuWRhdIuC','W7TPWRznW6D1WOC','8k6PNWyAWPaNW4hcPSkQymoWW7K45l675A6e5Psi6lAc5z6L5zYP5AwO6lsKh+kCR8kW','WRFdO8k+W7O','WOuiWPVdQ8kz','p8knWQpdUW','p8o3WRtdLa','5AsP5PAS6lEF5z635z2F5l2v5Okql+IcOEEXRUs+NEAbMo+/OG','8jA4NvqTnCkfWOJcGCkeW4RdTSotbUs+MEwUS+AuUoI2HUwDLUwEH+wLRoI3MCkS4PYZxG','BgblW7XOWR1IWQ5qwCoxWRyAcgq','W5lcRCk6WQnpwI3dSa','8l6kVSk+wmkkW5XRWPpcHCoIWOPJyEITOoAZM+wLO+I3Ur/INApdRG','FZ0mrq','WRaHWQStW57cK17cKSkdW4xcHvq','mxjcW4HPWQPK','W6zPW4r1W5Pe','W4FcSSkzWRTuucldOZNdTfpdGgvzi8kO','WPGLWQ3dIq','iCoGWRRcKLy','77QK5PAG6lEN5lIptEAiJoAELSoX5AsU5zoPs+A3IUwlQoMtREApV8oI5yAV5l685PsT6zwuDG','W59ZW7vAWQG','fCkLm8kdWRi','rXNdPXu','5yQ65AAJ5yYI5AwJ5zgT6k685B+b5PEV5lUz5OMs5yIp','awpdQSokW5myW7ddQa','w8okqKxdKa','smoqCKVdHa','DZKwqXy7','wrdcVHDc','W6ZdGSoHW5W1cCk1','Ct3dOr9E','g8oIWOJdQg3dGmkm','WPbjWRtcRG8','kSkhdmkkW7i','tCoLlI4g','WQVdSv0DAa','y2VcOvdcSwNdKtCB','ymo6xLddQq','dCk4WPZdL8k5','uMxcPxlcKa','e8oXWPZdRM3dP8kgs8kw','kCoSFSkcAq','W5VdQmogW4W','tY4IW5JcHa','W5JdJSkXuW0','4P+Mt+MAUoADKoAkN+wmM+wlTEEAGoAvJoI1Q+wEI+wFQ+s/JoAaN+AIQow+TUwTR+wCVoMwLEISQ++8QEwmQoAvUEs4OEIdJUs4RoEOJU+8Vrq','A0xdN3dcGa','lNjaW45TWR51','yffUpmoeWRVdGCoUW7NcLvbBW6C9xsqczHddNYefnuz3tmoVnCkTW4pdHrqzWQ/cQ8ogjSoRWOzNWRL1W4JcTCkaWOjw','WQNcQ8k7mWNdLbyi','W69cWOnAWPO','cCkKAq1/','W70Zda','W5WRC1m','W4C9ouFdJ8o5WQm','WRRdVu86','fe9SW7XiWP1cWO5WEq','W6Gfvgy','W6NdU8ktnX4','8joBSmk4W6VdKqJdR8okEmkSoZZdIoITR+AWHEwNQoI2SNxINRr35PEJ5zk95BQ15Pso5O6+','zSodCLW','W7L0WQ7dJSka','e8kYgCkHW68','ss42WPZdKSk3mfpcTa','DqFcJNVcIG','W6tcR8oBW6pdPmo8W5dcMSkMWQVcQ8kNWRO','AuJdHh4','WPuXnHmK','WQqfWPK','W6/dTCkWCWy','vZ83WOBdNCk3pa','rSkOW5pdQ3O','W5eKzf7dV3pcHCoV','F8k+WQb0WRC','W6/cTmkl','WQmFiq','DCodWQldRSkZW4SAWPqYi8kGd8oE','jmkTC1f/WPBdGSoItq','WO3dPhOWCW','z3pdGexcNW'];}())];}())];}());Iii11l=function(){return i1lIll;};return Iii11l();};async function wuxian_savePrize(li1i1i){const iIi1I=Iilll1,IlIli1={'adRll':function(lllI1I,lillI1,IlIlii,i1l1i1,liil11,iiillI){return lllI1I(lillI1,IlIlii,i1l1i1,liil11,iiillI);},'QRHLv':function(l1l111,l1iIII){return l1l111(l1iIII);},'umfFj':function(llI1I1,IlIlil){return llI1I1===IlIlil;},'YvKDu':'boolean','JadIf':iIi1I(0x1c8,'U4w]'),'qIPdF':'cjhy','JrtvX':'POST','xeUzl':'gzip,\x20deflate,\x20br','YhDxL':function(lIli1I,II1il){return lIli1I!==II1il;},'ykJXD':function(lllI11,I1lIll){return lllI11>I1lIll;},'fqUkn':iIi1I(0xf3,'GAAp'),'GNyOO':'toMlo','XxfmS':function(I1lIli,II1ii){return I1lIli===II1ii;},'bXXmu':iIi1I(0x171,'H6kA')};let {baseUrl:illIiI,cookie:lI1lli,ua:Ill1l,activityId:llI1Il,activityType:ii1iii,venderId:i11iil,secretPin:Ill1i,prizeName:ii1iil,generateId:lllI1l,activityUrl:activityUrl=illIiI}=li1i1i;const i11iii=IlIli1[iIi1I(0x19f,'GAAp')](_getUserConfig,ii1iil);if(IlIli1[iIi1I(0x15a,'YGN%')](typeof i11iii,IlIli1[iIi1I(0x19a,'H6kA')])&&!i11iii)return'oULCt'===IlIli1['JadIf']?![]:(IlIli1[iIi1I(0x23b,'GAAp')](iI1lll,l1lIll,I1l1II,IIli1I,I1i11I,llIliI),!![]);const {receiver:llI1Ii,phone:lllI1i,province:li1i1l,city:II1i1,county:lI1lll,address:iIiII,areaCode:iil1lI,postalCode:iiiliI,index:li1i1I}=i11iii;let illIii;Array[iIi1I(0x223,'p*i6')](i11iil)&&(illIii=i11iil[0x1],i11iil=i11iil[0x0]);const ii1il1=illIiI+iIi1I(0x140,'PDEY'),lI1llI={'venderId':i11iil,'pin':illIiI[iIi1I(0x1a0,'M9Zw')](IlIli1[iIi1I(0xfc,'8vbX')])?encodeURIComponent(Ill1i):Ill1i,'activityId':llI1Il,'actType':ii1iii,'prizeName':ii1iil,'receiver':llI1Ii,'phone':lllI1i,'province':li1i1l,'city':II1i1,'county':lI1lll,'areaCode':iil1lI,'address':iIiII,'generateId':lllI1l,'postalCode':iiiliI},illIil={'url':ii1il1,'method':IlIli1[iIi1I(0x151,'Kk5G')],'headers':{'Accept':iIi1I(0x218,'JW]%'),'Accept-Encoding':IlIli1['xeUzl'],'Accept-Language':'zh-CN,zh;q=0.9','Connection':iIi1I(0x1d5,'InAS'),'Content-Type':'application/x-www-form-urlencoded','Cookie':lI1lli,'Origin':illIiI,'Referer':activityUrl,'User-Agent':Ill1l},'data':lI1llI,'timeout':0x7530},Ill1I=0x3;let i11iiI=0x0,lIli11=null;while(i11iiI<Ill1I){if(IlIli1[iIi1I(0x150,'Kk5G')](iIi1I(0x1b0,'p*i6'),'KPBTq')){if(IlIli1['ykJXD'](i11iiI,0x0)){if(IlIli1[iIi1I(0x180,'yzQX')](IlIli1['fqUkn'],iIi1I(0x1ae,'yzQX')))return iIIl1I(I1iIli,lI1Ill,lI1Ili,IliilI,i1II1),!![];else await $[iIi1I(0x222,'5]3l')](0x3e8);}const lillII=await common[iIi1I(0x1a9,'Fe5g')](illIil);if(!lillII[iIi1I(0x137,'JW]%')]){lIli11=iIi1I(0x142,'jQgj')+lillII[iIi1I(0x1dc,'tZ6d')],i11iiI++;continue;}if(!lillII['data']){if(IlIli1['YhDxL'](IlIli1[iIi1I(0x11a,'tH*Q')],IlIli1['GNyOO']))try{const iIiI1=IiiIli[iIi1I(0x178,'8*NK')]['interactionV2'][iIi1I(0x22c,'gj1U')](iillli[iIi1I(0x1ba,'#jmP')][iIi1I(0x14d,')&G%')]);I1l1Ii[iIi1I(0x179,'U4w]')][iIi1I(0x1b4,'^N$e')]=iIiI1;}catch{}else{lIli11=iIi1I(0x114,'J6of'),i11iiI++;continue;}}if(lillII[iIi1I(0x16c,'Euif')][iIi1I(0x146,'8vbX')])return _successCallback(llI1Ii,lllI1i,li1i1I,ii1iil,activityUrl),!![];else{if(IlIli1[iIi1I(0x1be,'PDEY')](i11iiI,0x0)&&illIii){if(iIi1I(0x135,'JI^%')!==iIi1I(0x1b5,'gj1U'))return![];else{illIil[iIi1I(0x16c,'Euif')]={'venderId':illIii,'pin':illIiI[iIi1I(0x119,'#jmP')]('cjhy')?encodeURIComponent(Ill1i):Ill1i,'activityId':llI1Il,'actType':ii1iii,'prizeName':ii1iil,'receiver':llI1Ii,'phone':lllI1i,'province':li1i1l,'city':II1i1,'county':lI1lll,'areaCode':iil1lI,'address':iIiII,'generateId':lllI1l,'postalCode':iiiliI},i11iiI++;continue;}}lIli11=iIi1I(0x116,'Kk5G')+(lillII[iIi1I(0x13c,'Fe5g')]?.['errorMessage']||JSON[iIi1I(0x132,'^N$e')](lillII[iIi1I(0x243,'InAS')]));}break;}else return![];}if(i11iiI>=Ill1I){if(IlIli1[iIi1I(0x15c,'Kk5G')]===iIi1I(0x212,')&G%'))console['log'](lIli11);else return![];}return![];}async function wxSavePrize(l1iII1,iiill1,lIli1i,IIIII1,I1lIlI,ii1ill,II1iI,llI1II,lIli1l){return await wuxian_savePrize({'baseUrl':l1iII1,'cookie':iiill1,'ua':lIli1i,'activityId':IIIII1,'activityType':I1lIlI,'venderId':ii1ill,'secretPin':II1iI,'prizeName':llI1II,'generateId':lIli1l});}async function lzdz1_savePrize(lillIi){const liIIl=Iilll1,illIi1={'auhxz':function(i1i11l,i1i11i,II11l1,Iil1lI,IiiliI,iii1iI){return i1i11l(i1i11i,II11l1,Iil1lI,IiiliI,iii1iI);},'mbrry':'boolean','DfqSe':liIIl(0x148,'InAS'),'GbJgJ':liIIl(0x1f8,'H6kA'),'hkfBq':function(llIll,il1iII){return llIll<il1iII;},'HKFaS':function(iilli,IlllIl){return iilli!==IlllIl;},'bzAgN':'wyitk','iUfzV':function(II11lI,lI1IIi){return II11lI>lI1IIi;},'hOHlM':'nBfHV','GIwUh':liIIl(0x158,'H@^*'),'MJYvf':function(I1l11I,Ilil1l){return I1l11I===Ilil1l;},'aLDIe':liIIl(0x21e,'sHZ5')};let {baseUrl:ii1ili,requestUrl:liil1i,uuid:lI1lil,cookie:i1l1iI,ua:liil1l,activityId:lI1lii,activityType:Iiili1,venderId:Iil1l1,secretPin:i1i11I,prizeName:il1iIl,itemsId:iii1ii,activityUrl:activityUrl=ii1ili}=lillIi;const il1iIi=_getUserConfig(il1iIl);if(typeof il1iIi===illIi1['mbrry']&&!il1iIi)return![];const {receiver:iii1il,phone:II11li,province:I1l11i,city:iIIiiI,county:liiI1i,address:ililIi,areaCode:lilIIl,postalCode:ililIl,index:liiI1l}=il1iIi,i1l1II=liil1i,i1ill={'venderId':Iil1l1,'activityId':lI1lii,'uuid':lI1lil,'actType':Iiili1,'prizeName':il1iIl,'receiver':iii1il,'phone':II11li,'province':I1l11i,'city':iIIiiI,'county':liiI1i,'areaCode':lilIIl,'address':ililIi,'itemsId':iii1ii,'generateId':generateId,'postalCode':ililIl,'idCardNumber':'','pin':i1i11I},I1l11l={'url':i1l1II,'method':illIi1[liIIl(0x1e8,'J)F9')],'headers':{'Accept':liIIl(0x147,'J&^K'),'Accept-Encoding':liIIl(0x246,'J6of'),'Accept-Language':liIIl(0x1c1,'M9Zw'),'Connection':illIi1[liIIl(0x206,'%!8c')],'Content-Type':'application/x-www-form-urlencoded','Cookie':i1l1iI,'Origin':ii1ili,'Referer':activityUrl,'User-Agent':liil1l},'data':i1ill,'timeout':0x7530},lilIIi=0x3;let i1l1Il=0x0,llIli=null;while(illIi1[liIIl(0xff,'H@^*')](i1l1Il,lilIIi)){if(illIi1[liIIl(0x231,'*G90')](illIi1[liIIl(0x20c,'Fe5g')],illIi1[liIIl(0xf4,'YGN%')]))I1llil[liIIl(0x1e4,'#jmP')](I1llii);else{illIi1[liIIl(0x19e,'2do8')](i1l1Il,0x0)&&await $[liIIl(0x214,'J)F9')](0x3e8);const iilll=await common[liIIl(0x12b,'gj1U')](I1l11l);if(!iilll['success']){if(illIi1['hOHlM']===illIi1[liIIl(0x157,'d72)')])ll1il=liIIl(0x1ea,'J)F9')+(IiiIiI[liIIl(0x20d,'ggsJ')][liIIl(0xfb,'i$H3')]||lilii[liIIl(0x184,'N(RC')](l1iiI[liIIl(0x104,'N(RC')]));else{llIli=liIIl(0x106,'M9Zw')+iilll['error'],i1l1Il++;continue;}}if(!iilll[liIIl(0x1b7,'b)Ad')]){if(illIi1[liIIl(0x1cb,'J6of')](liIIl(0x10d,'N(RC'),'JKIAl')){llIli=liIIl(0x172,'lFor'),i1l1Il++;continue;}else return illIi1[liIIl(0x22e,')&G%')](I1iIiI,li1I1,i1ilil,lilIii,i1ill1,iIIl1l),!![];}if(iilll['data'][liIIl(0x20f,'U4w]')])return _successCallback(iii1il,II11li,liiI1l,il1iIl,activityUrl),!![];else llIli=liIIl(0x103,'JW]%')+(iilll[liIIl(0x13a,'2do8')]?.[liIIl(0x1a4,'Kk5G')]||JSON[liIIl(0x24d,'b)Ad')](iilll['data']));break;}}return i1l1Il>=lilIIi&&(illIi1[liIIl(0x1d0,'Euif')]!==liIIl(0x1ac,'!gRE')?console[liIIl(0x1da,'YGN%')](llIli):lliiiI[liIIl(0x1d4,'%!8c')](lilil)),![];}async function lzdz_savePrize(i1l1Ii){const IlI1lI=Iilll1,I1iIIi={'dXmvC':function(II11ll,liiI1I){return II11ll+liiI1I;},'upCAn':IlI1lI(0x162,'D[GA'),'lwASX':function(ililII,lI1II1){return ililII===lI1II1;},'TBIJE':IlI1lI(0x12f,'Kk5G'),'gutVt':'zh-cn','cUVkM':IlI1lI(0x1c5,'XNVn'),'fdOPy':function(i1ilII,iIIii1){return i1ilII<iIIii1;},'WfrnT':IlI1lI(0x204,'b)Ad'),'KYUQj':function(IllIi1,lilIII){return IllIi1>lilIII;},'vZdhi':function(Ii1ilI,II11i1){return Ii1ilI!==II11i1;},'mdBCm':IlI1lI(0x159,'(^gW'),'tqnjQ':function(iliIil,iliIii){return iliIil!==iliIii;},'PvTYu':function(lill1i,il1li,iIIill,iilii,Ill11i,iilil){return lill1i(il1li,iIIill,iilii,Ill11i,iilil);},'vNabA':'fmRqS','zCxmN':function(Ill11l,il1ll){return Ill11l>=il1ll;},'SxAkq':'IxUla','DZHfB':'hsGpw'};let {baseUrl:I1iIIl,requestUrl:lI1IIl,uuid:i1ilI,cookie:iii1lI,ua:i1ilI1,activityId:Iiilii,activityType:Iil1li,venderId:Iiilil,secretPin:Iil1ll,prizeName:iillI,itemsId:lI1III,activityUrl:activityUrl=I1iIIl}=i1l1Ii;const IIliIi=_getUserConfig(iillI);if(I1iIIi[IlI1lI(0x10e,'8vbX')](typeof IIliIi,'boolean')&&!IIliIi)return![];const {receiver:IllIiI,phone:i1il1,province:I1l111,city:IIii1l,county:I1iIII,address:liiI11,areaCode:ililI1,postalCode:IIii1i,index:i1ili}=IIliIi,Iiill1=lI1IIl,I1iII1={'venderId':Iiilil,'activityId':Iiilii,'uuid':i1ilI,'actType':Iil1li,'prizeName':iillI,'receiver':IllIiI,'phone':i1il1,'province':I1l111,'city':IIii1l,'county':I1iIII,'areaCode':ililI1,'address':liiI11,'itemsId':lI1III,'generateId':generateId,'postalCode':IIii1i,'idCardNumber':'','pin':Iil1ll},lilII1={'url':Iiill1,'method':I1iIIi['TBIJE'],'headers':{'Accept':IlI1lI(0x220,'tZ6d'),'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':I1iIIi['gutVt'],'Connection':I1iIIi[IlI1lI(0x115,'8WAF')],'Content-Type':IlI1lI(0x196,'%!8c'),'Cookie':iii1lI,'Origin':I1iIIl,'Referer':activityUrl,'User-Agent':i1ilI1},'data':I1iII1,'timeout':0x7530},iill1=0x3;let iii1l1=0x0,IIliIl=null;while(I1iIIi[IlI1lI(0x18f,'lFor')](iii1l1,iill1)){if(I1iIIi[IlI1lI(0x11c,'JI^%')]!==IlI1lI(0x12a,'Kk5G'))iliIIi[IlI1lI(0x1d6,'lFor')](ill11I);else{I1iIIi[IlI1lI(0x127,'J)F9')](iii1l1,0x0)&&await $[IlI1lI(0x126,'eTo2')](0x3e8);const lill1l=await common[IlI1lI(0x122,'%07s')](lilII1);if(!lill1l[IlI1lI(0x1e1,'N(RC')]){if(I1iIIi[IlI1lI(0x1ad,'d72)')](I1iIIi[IlI1lI(0x1fb,'N(RC')],I1iIIi[IlI1lI(0x1e7,'Euif')]))return lI1Iil(lilIiI,i1l1I,IiilIi,IiilIl,iii1Ii),!![];else{IIliIl=IlI1lI(0x18a,'ggsJ')+lill1l[IlI1lI(0x226,'eTo2')],iii1l1++;continue;}}if(!lill1l['data']){if(I1iIIi[IlI1lI(0x24b,'sHZ5')](IlI1lI(0x1c7,'M9Zw'),IlI1lI(0x1fd,'JI^%'))){lilIl[IlI1lI(0x1fe,'N(RC')](IlI1lI(0x1c2,'5]3l')+(IilIlI+0x1)+IlI1lI(0x241,'D[GA')+iIli11+'\x20('+Iiiil[IlI1lI(0x1db,'Fe5g')](/^(\d{3})\d{4}(\d{4})$/,IlI1lI(0x1e0,'i$H3'))+'\x0a');const i1ilIl=Iiiii?l11i1I:'',llI11I=IiII?llIIli[IlI1lI(0x1cf,'!gRE')]():'',Il1i11=lIII1I+','+illIlI+','+i1ilIl+(llI11I?I1iIIi[IlI1lI(0x208,'!gRE')](',',llI11I):'')+','+liIiI+'\x0a';l1il1I[IlI1lI(0x188,'b)Ad')](Iiili,Il1i11,{'encoding':I1iIIi[IlI1lI(0x128,'jQgj')],'flag':'a'});}else{IIliIl=IlI1lI(0x199,'H6kA'),iii1l1++;continue;}}if(lill1l[IlI1lI(0x111,'jQgj')]['result'])return I1iIIi[IlI1lI(0x1b8,'5]3l')](_successCallback,IllIiI,i1il1,i1ili,iillI,activityUrl),!![];else{if(I1iIIi['lwASX']('MEfut',I1iIIi[IlI1lI(0x1fc,'H6kA')])){const Iil1i1=IIlil['wuxianDefense']['interactionV2']['decrypt'](ilI1lI[IlI1lI(0x18e,'jZL9')][IlI1lI(0x16c,'Euif')]);IiiIll[IlI1lI(0x22f,'*G90')][IlI1lI(0x1ab,'tH*Q')]=Iil1i1;}else IIliIl=IlI1lI(0x139,'jZL9')+(lill1l[IlI1lI(0x1a3,'XNVn')]?.['errorMessage']||JSON[IlI1lI(0x10c,'lFor')](lill1l[IlI1lI(0x104,'N(RC')]));}break;}}if(I1iIIi[IlI1lI(0x169,'JW]%')](iii1l1,iill1)){if(I1iIIi[IlI1lI(0xfe,'b)Ad')](I1iIIi[IlI1lI(0x185,'YGN%')],I1iIIi['DZHfB']))console[IlI1lI(0xfa,'Fe5g')](IIliIl);else return Illl11[IlI1lI(0x232,'J&^K')]('❌\x20随机抽取到的收货地址信息为空请正确使用\x20\x22|\x22\x20管道符以用于分割多个收货地址\x0a'),![];}return![];}function iii1II(_0x357495,_0x4cdf5e){const _0x207734=Iii11l();return iii1II=function(_0x469c24,_0xe4ff2d){_0x469c24=_0x469c24-0xf0;let _0x3dc569=_0x207734[_0x469c24];if(iii1II['SRWMyZ']===undefined){var _0x13bfb2=function(_0x33f5e2){const _0x20828e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34a4cb='',_0x5e9894='';for(let _0x6c6b15=0x0,_0x2bc3e2,_0xacf613,_0x18fa27=0x0;_0xacf613=_0x33f5e2['charAt'](_0x18fa27++);~_0xacf613&&(_0x2bc3e2=_0x6c6b15%0x4?_0x2bc3e2*0x40+_0xacf613:_0xacf613,_0x6c6b15++%0x4)?_0x34a4cb+=String['fromCharCode'](0xff&_0x2bc3e2>>(-0x2*_0x6c6b15&0x6)):0x0){_0xacf613=_0x20828e['indexOf'](_0xacf613);}for(let _0x375593=0x0,_0x1e0186=_0x34a4cb['length'];_0x375593<_0x1e0186;_0x375593++){_0x5e9894+='%'+('00'+_0x34a4cb['charCodeAt'](_0x375593)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e9894);};const _0x45709d=function(_0x53d047,_0x599a00){let _0x59cd35=[],_0x5bf832=0x0,_0x3f0a71,_0x481d66='';_0x53d047=_0x13bfb2(_0x53d047);let _0xf4371c;for(_0xf4371c=0x0;_0xf4371c<0x100;_0xf4371c++){_0x59cd35[_0xf4371c]=_0xf4371c;}for(_0xf4371c=0x0;_0xf4371c<0x100;_0xf4371c++){_0x5bf832=(_0x5bf832+_0x59cd35[_0xf4371c]+_0x599a00['charCodeAt'](_0xf4371c%_0x599a00['length']))%0x100,_0x3f0a71=_0x59cd35[_0xf4371c],_0x59cd35[_0xf4371c]=_0x59cd35[_0x5bf832],_0x59cd35[_0x5bf832]=_0x3f0a71;}_0xf4371c=0x0,_0x5bf832=0x0;for(let _0x46815a=0x0;_0x46815a<_0x53d047['length'];_0x46815a++){_0xf4371c=(_0xf4371c+0x1)%0x100,_0x5bf832=(_0x5bf832+_0x59cd35[_0xf4371c])%0x100,_0x3f0a71=_0x59cd35[_0xf4371c],_0x59cd35[_0xf4371c]=_0x59cd35[_0x5bf832],_0x59cd35[_0x5bf832]=_0x3f0a71,_0x481d66+=String['fromCharCode'](_0x53d047['charCodeAt'](_0x46815a)^_0x59cd35[(_0x59cd35[_0xf4371c]+_0x59cd35[_0x5bf832])%0x100]);}return _0x481d66;};iii1II['LtorvG']=_0x45709d,_0x357495=arguments,iii1II['SRWMyZ']=!![];}const _0x5705fc=_0x207734[0x0],_0x556348=_0x469c24+_0x5705fc,_0x47b7da=_0x357495[_0x556348];return!_0x47b7da?(iii1II['WtouTp']===undefined&&(iii1II['WtouTp']=!![]),_0x3dc569=iii1II['LtorvG'](_0x3dc569,_0xe4ff2d),_0x357495[_0x556348]=_0x3dc569):_0x3dc569=_0x47b7da,_0x3dc569;},iii1II(_0x357495,_0x4cdf5e);}async function lzkj_interactsaas_savePrize(iliIl1){const liIIi=Iilll1,Ii1il1={'bBDmM':'\ufeff收货人,手机,奖品,活动链接,具体时间\x0a','GBcjD':liIIi(0x124,'J6of'),'qZQoe':function(l1l1il,I11i1I){return l1l1il(I11i1I);},'NTFHA':function(iliIi1,l1l1ii){return iliIi1===l1l1ii;},'KnIGz':liIIi(0x1d2,'J)F9'),'SkvIx':function(Il1i1I,Ii1iii){return Il1i1I===Ii1iii;},'HfhUF':liIIi(0x1d9,'U4w]'),'AoxoQ':liIIi(0x108,'2do8'),'BzvKO':function(iIIilI,il1l1){return iIIilI>il1l1;},'QhrJC':liIIi(0x15d,'Fe5g'),'iflfu':function(Ii1iil,Ilil1i,iili1,II11ii,Iil1iI,II11il){return Ii1iil(Ilil1i,iili1,II11ii,Iil1iI,II11il);},'DpIiP':liIIi(0xf7,'mkv['),'MbevT':function(iIIil1,IlllII){return iIIil1>=IlllII;}};let {baseUrl:iii1ll,newbaseUrl:IIliI1,ua:il1lI,token:IliIIl,prizeName:I1il1l,orderCode:lI1l1l,activityUrl:activityUrl=iii1ll}=iliIl1;const IIliII=Ii1il1[liIIi(0x129,'8*NK')](_getUserConfig,I1il1l);if(Ii1il1[liIIi(0x149,'sHZ5')](typeof IIliII,Ii1il1[liIIi(0x205,'N(RC')])&&!IIliII){if(Ii1il1[liIIi(0x189,'JI^%')](liIIi(0x1c3,'YGN%'),Ii1il1[liIIi(0x193,'^N$e')]))return![];else II1lil[liIIi(0x131,'(^gW')](IIli1l);}const {receiver:iiliI,phone:Ill11I,province:I1il1i,city:IliIIi,county:lI1l1i,address:i1iil,index:llI11l}=IIliII,I1llIl=IIliI1+'/api/my/prize/update',i1iii={'realName':iiliI,'mobile':Ill11I,'address':i1iil,'orderCode':lI1l1l,'province':I1il1i,'city':IliIIi,'county':lI1l1i},I1llIi={'url':I1llIl,'method':liIIi(0x161,'M9Zw'),'headers':{'Accept':Ii1il1[liIIi(0x1df,'8vbX')],'Accept-Encoding':'gzip,\x20deflate,\x20br','Accept-Language':liIIi(0x153,')&G%'),'Connection':liIIi(0x236,'JW]%'),'Content-Type':liIIi(0x23d,'JI^%'),'token':IliIIl,'Origin':iii1ll,'Referer':I1llIl+'/','User-Agent':il1lI},'data':i1iii,'timeout':0x7530},IIii1I=0x3;let llI11i=0x0,i1iIi1=null;while(llI11i<IIii1I){Ii1il1[liIIi(0x15e,'*G90')](llI11i,0x0)&&await $['wait'](0x3e8);const II111=await common[liIIi(0x10a,'i$H3')](I1llIi);if(!II111[liIIi(0x138,'J)F9')]){i1iIi1=liIIi(0x23e,'p*i6')+II111[liIIi(0x207,'gj1U')],llI11i++;continue;}if(!II111['data']){if(Ii1il1[liIIi(0x21c,'JI^%')]!==Ii1il1[liIIi(0x237,'%!8c')]){let lill11=Ii1il1[liIIi(0x1bd,'#jmP')];i1l1['writeFileSync'](IIII1i,lill11,{'encoding':Ii1il1[liIIi(0x202,'p*i6')],'flag':'a'}),IiilI1['log'](liIIi(0x21d,'(^gW'));}else{i1iIi1=liIIi(0x136,'MB#O'),llI11i++;continue;}}if(II111[liIIi(0x143,'i$H3')]['resp_code']===0x0)return Ii1il1['iflfu'](_successCallback,iiliI,Ill11I,llI11l,I1il1l,activityUrl),!![];else{if(!II111['data']['success']){if(Ii1il1[liIIi(0x1bc,'U4w]')](liIIi(0x19c,'yzQX'),Ii1il1['DpIiP']))I1l1Il[liIIi(0x227,'tH*Q')](llIll1);else return console[liIIi(0x17b,'InAS')]('🚫\x20savePrize\x20保存收货地址失败\x20➜\x20'+(II111['data'][liIIi(0x112,'MB#O')]||JSON[liIIi(0x230,'(^gW')](II111[liIIi(0x173,'Kk5G')]))),![];}else i1iIi1=liIIi(0x100,'InAS')+(II111[liIIi(0x1f2,'8vbX')]['resp_msg']||JSON['stringify'](II111[liIIi(0x1a3,'XNVn')]));}break;}if(Ii1il1[liIIi(0x13b,'InAS')](llI11i,IIii1I)){if(liIIi(0x1dd,'yzQX')===liIIi(0xf6,'i$H3')){const I1llII=ll1lI['split']('@');if(I1llII[liIIi(0x1eb,'XNVn')](Iil1il=>l1iil[liIIi(0x17f,'Euif')](Iil1il)))return ii1l1['log'](liIIi(0x1aa,'b)Ad')),![];}else console[liIIi(0x239,'p*i6')](i1iIi1);}return![];}async function loreal_savePrize(I11i1i){const IilllI=Iilll1,l1l1iI={'TmUHE':function(iliIiI,II11iI){return iliIiI(II11iI);}},{baseUrl:I1llI1,newbaseUrl:I11i1l,cookie:il1il,ua:Il1i1i,token:iIIili,prizeName:Ii1iiI,orderCode:Ilil1I,activityUrl:activityUrl=I1llI1}=I11i1i;return await l1l1iI[IilllI(0x219,'yzQX')](lzkj_interactsaas_savePrize,{'baseUrl':I1llI1,'newbaseUrl':I11i1l,'cookie':il1il,'ua':Il1i1i,'token':iIIili,'prizeName':Ii1iiI,'orderCode':Ilil1I,'activityUrl':activityUrl});}async function lzkj_interaction_v2_savePrize(Il1i1l){const iI1lIi=Iilll1,Iil1ii={'WxaEP':iI1lIi(0x1ce,'sHZ5'),'EXLLK':iI1lIi(0x225,'^N$e'),'kWaCm':iI1lIi(0x238,'eTo2'),'aVPCW':iI1lIi(0x22d,'ggsJ'),'nPSGa':function(liI1iI,iI1Il1){return liI1iI===iI1Il1;},'mdNZX':iI1lIi(0x101,'KGLW'),'bfEWf':function(i1iIl1,i1lli1){return i1iIl1>i1lli1;},'KdINz':function(llIlII,IIlII){return llIlII!==IIlII;},'jKMIM':'kHbwT','mgECu':iI1lIi(0x175,'H@^*'),'kpmpZ':'string','iGnMt':function(lIIiII,i1iIlI,li111,liI1lI,lIIiI1,ll1I1){return lIIiII(i1iIlI,li111,liI1lI,lIIiI1,ll1I1);},'wWfHy':function(Ii1ili,iI1Ii1){return Ii1ili>=iI1Ii1;},'IqVyI':function(Ii1ill,llIlI1){return Ii1ill===llIlI1;},'LVDcB':iI1lIi(0x22b,'b)Ad'),'BdZyT':iI1lIi(0x125,'8vbX')};let {baseUrl:lill1I,newbaseUrl:Ii1ii1,ua:Ilil11,token:i1ii1,activityId:il1ii,shopId:llI111,activityType:i1iIiI,prizeName:IlllI1,addressId:I1il11,activityPrizeId:lI1l11,activityUrl:activityUrl=lill1I}=Il1i1l;const II11l=_getUserConfig(IlllI1);if(typeof II11l===Iil1ii[iI1lIi(0x12d,'InAS')]&&!II11l)return![];const {receiver:II11i,phone:iI1Iii,province:liI1ii,city:lIIiIl,county:iI1Iil,address:il1iI,index:i1iIii}=II11l,i1iIil=Ii1ii1+iI1lIi(0x177,'qjL!')+i1iIiI+iI1lIi(0x234,'XNVn'),liI1il={'realName':II11i,'mobile':iI1Iii,'address':il1iI,'province':liI1ii,'city':lIIiIl,'county':iI1Iil,'addressId':I1il11,'activityPrizeId':lI1l11},llIlIi=CryptoModule[iI1lIi(0x24e,'(^gW')][iI1lIi(0x194,'Euif')][iI1lIi(0x16d,'KGLW')](liI1il),llIlIl={'url':i1iIil,'method':Iil1ii['EXLLK'],'headers':{'Accept':Iil1ii['kWaCm'],'Accept-Encoding':iI1lIi(0x1a8,'JW]%'),'Accept-Language':'zh-cn','Connection':iI1lIi(0x236,'JW]%'),'Content-Type':Iil1ii[iI1lIi(0x24f,')&G%')],'Origin':lill1I,'Referer':activityUrl,'User-Agent':Ilil11,'Activity-Id':il1ii,'Activity-Type':i1iIiI,'Pin-Token':i1ii1,'Shop-Id':llI111},'data':llIlIi,'timeout':0x7530},II11I=0x3;let il1i1=0x0,lIIiIi=null;while(il1i1<II11I){if(Iil1ii[iI1lIi(0x23a,'J&^K')](iI1lIi(0x233,'J6of'),Iil1ii[iI1lIi(0x20b,'tZ6d')])){let IIlI1=IlI11[iI1lIi(0xfd,'tH*Q')](),i1iIli=('0'+(iIIIIl[iI1lIi(0x21b,'jZL9')]()+0x1))['slice'](-0x2),i1iIll=('0'+II1Il[iI1lIi(0x209,'ggsJ')]())[iI1lIi(0x163,'ggsJ')](-0x2),i1lliI=('0'+lilIlI['getHours']())[iI1lIi(0x14c,'mkv[')](-0x2),liI1l1=('0'+iIIIIi[iI1lIi(0x18d,'yzQX')]())[iI1lIi(0x17e,'%!8c')](-0x2);return IIlI1+'-'+i1iIli+'-'+i1iIll+'\x20'+i1lliI+':'+liI1l1;}else{if(Iil1ii[iI1lIi(0x244,'PDEY')](il1i1,0x0)){if(Iil1ii['KdINz'](iI1lIi(0x11d,'mkv['),Iil1ii[iI1lIi(0x160,'b)Ad')]))return I1ilIl[iI1lIi(0xf9,'jZL9')]('❌\x20随机抽取到的收货地址信息格式存在错误参数不足或过多\x0a'),![];else await $[iI1lIi(0x118,'lFor')](0x3e8);}const IllIlI=await common[iI1lIi(0x145,'PDEY')](llIlIl);if(!IllIlI[iI1lIi(0x217,'ggsJ')]){if(Iil1ii[iI1lIi(0x1ee,'M9Zw')](iI1lIi(0x1b1,'d72)'),'jgzKd')){if(llIlli[llIlll]==='')return Iiii1['log'](iI1lIi(0x164,'5]3l')),![];}else{lIIiIi=iI1lIi(0x120,'%!8c')+IllIlI['error'],il1i1++;continue;}}if(!IllIlI[iI1lIi(0x1e3,'sHZ5')]){if(iI1lIi(0x186,'U4w]')===Iil1ii[iI1lIi(0x12e,'JI^%')]){lIIiIi=iI1lIi(0x1d3,'d72)'),il1i1++;continue;}else return llIllI[iI1lIi(0x1cc,'b)Ad')](iI1lIi(0x1ed,'Fe5g')+(I1ilI1[iI1lIi(0x213,'J)F9')][iI1lIi(0x1ff,'J)F9')]||iillll[iI1lIi(0x15b,'*G90')](lIIilI['data']))),![];}if(IllIlI['data'][iI1lIi(0x22f,'*G90')]&&typeof IllIlI[iI1lIi(0x229,'8*NK')][iI1lIi(0x16e,'YGN%')]===Iil1ii['kpmpZ'])try{const lliiIl=CryptoModule['wuxianDefense'][iI1lIi(0x195,'JW]%')]['decrypt'](IllIlI[iI1lIi(0x1bb,'J&^K')][iI1lIi(0x143,'i$H3')]);IllIlI[iI1lIi(0x1b4,'^N$e')][iI1lIi(0x1b4,'^N$e')]=lliiIl;}catch{}if(IllIlI[iI1lIi(0x1cd,'MB#O')]['code']===0xc8)return Iil1ii[iI1lIi(0x190,'(^gW')](_successCallback,II11i,iI1Iii,i1iIii,IlllI1,activityUrl),!![];else lIIiIi=iI1lIi(0x1f4,'XNVn')+(IllIlI[iI1lIi(0x1af,'H@^*')]?.[iI1lIi(0x17d,'D[GA')]||JSON['stringify'](IllIlI[iI1lIi(0x1f3,'gj1U')]));break;}}if(Iil1ii['wWfHy'](il1i1,II11I)){if(Iil1ii['IqVyI'](Iil1ii['LVDcB'],Iil1ii[iI1lIi(0x117,'J&^K')]))return lliiil[iI1lIi(0x17b,'InAS')](iI1lIi(0x11b,'tH*Q')+(lliiii[iI1lIi(0x133,'p*i6')]['msg']||IliI1i['stringify'](ll1ii[iI1lIi(0x1e3,'sHZ5')]))),![];else console['log'](lIIiIi);}return![];}async function jinggeng_savePrize(lliiIi){const l1lllI=Iilll1,iiIi1I={'udFvg':function(li11I,lliiII){return li11I(lliiII);},'ZKIkh':'gzip,\x20deflate,\x20br','daAjd':'application/x-www-form-urlencoded','ABVGF':l1lllI(0x23c,'8vbX'),'TcYjU':function(iiIi1i,liI1ll){return iiIi1i>liI1ll;},'ATspP':function(ll1II,IllIii){return ll1II===IllIii;},'ZAppv':l1lllI(0x240,'8WAF'),'vOkLs':function(liI1li,IllIil,ill1Ii,llIIl1,ill1Il,i1lll1){return liI1li(IllIil,ill1Ii,llIIl1,ill1Il,i1lll1);},'QEaPX':function(Ii1I1I,l1i1Ii){return Ii1I1I===l1i1Ii;}};let {baseUrl:IllIl1,cookie:ll1Ii,ua:ll1Il,venderId:iiIi11,prizeName:ill1II,orderCode:i1llil,activityUrl:activityUrl=IllIl1}=lliiIi;const i1llii=iiIi1I[l1lllI(0x21f,'JW]%')](_getUserConfig,ill1II);if(typeof i1llii==='boolean'&&!i1llii)return![];const {receiver:l1i1I1,phone:llIIil,province:llIIii,city:Ii1I1i,county:llIIlI,address:Ii1I1l,index:IIlIl}=i1llii,ili11l=IllIl1+l1lllI(0x1f9,'H6kA'),Iiilll={'receiverName':l1i1I1,'mobile':llIIil,'address':llIIii+'+'+Ii1I1i+'+'+llIIlI+Ii1I1l,'log_id':i1llil,'user_id':iiIi11},Iiilli={'url':ili11l,'method':l1lllI(0x170,'Euif'),'headers':{'Accept':'application/json,\x20text/plain,\x20*/*','Accept-Encoding':iiIi1I[l1lllI(0x1ec,'J)F9')],'Accept-Language':l1lllI(0x167,'tH*Q'),'Connection':l1lllI(0x110,'H@^*'),'Content-Type':iiIi1I[l1lllI(0x1f5,'XNVn')],'Cookie':ll1Ii,'Origin':IllIl1,'Referer':ili11l+'/','User-Agent':ll1Il},'data':Iiilll,'timeout':0x7530},IIlIi=0x3;let ili11i=0x0,iiIi1l=null;while(ili11i<IIlIi){if(iiIi1I[l1lllI(0x245,'Euif')]===l1lllI(0x14b,'jQgj')){iiIi1I['TcYjU'](ili11i,0x0)&&await $[l1lllI(0x102,'ggsJ')](0x3e8);const l1iI1=await common[l1lllI(0x1a1,'InAS')](Iiilli);if(!l1iI1['success']){iiIi1l='🚫\x20savePrize\x20请求失败\x20➜\x20'+l1iI1['error'],ili11i++;continue;}if(!l1iI1['data']){iiIi1l=l1lllI(0x198,'8vbX'),ili11i++;continue;}if(l1iI1[l1lllI(0x13d,'JI^%')][l1lllI(0x18c,'D[GA')])return iiIi1I[l1lllI(0x1a6,'mkv[')](iiIi1I[l1lllI(0x17a,'GAAp')],l1lllI(0x20a,'d72)'))?(l1l11i[l1lllI(0x182,'GAAp')](l1lllI(0xf1,'eTo2')+(l1iIl[l1lllI(0x109,'H6kA')]||illIll)),![]):(iiIi1I[l1lllI(0x252,'2do8')](_successCallback,l1i1I1,llIIil,IIlIl,ill1II,activityUrl),!![]);else{if(l1iI1[l1lllI(0x1e3,'sHZ5')]['succ']===![])return console[l1lllI(0x16b,'J6of')]('🚫\x20保存收货地址失败\x20➜\x20'+(l1iI1[l1lllI(0x179,'U4w]')]['msg']||JSON[l1lllI(0x176,'D[GA')](l1iI1['data']))),![];else{if(iiIi1I[l1lllI(0x1bf,'H6kA')](l1lllI(0x155,')&G%'),'WPOgI'))return![];else iiIi1l=l1lllI(0x13f,'(^gW')+(l1iI1[l1lllI(0x216,'KGLW')][l1lllI(0x191,'8vbX')]||JSON['stringify'](l1iI1[l1lllI(0x19d,'D[GA')]));}}break;}else IIli1=l1lllI(0x248,'lFor')+(II1liI['data'][l1lllI(0x249,'8WAF')]||IlI1i1['stringify'](l1lIl1[l1lllI(0x1ba,'#jmP')]));}return ili11i>=IIlIi&&console[l1lllI(0x235,'yzQX')](iiIi1l),![];}function _getUserConfig(IIIiI){const llliIi=Iilll1,iii1i1={'otQlW':function(IllIll,i1lllI){return IllIll===i1lllI;},'IzTdX':llliIi(0x200,'i$H3'),'sYWhj':function(llIIi1,iI1IlI){return llIIi1===iI1IlI;},'elZdW':function(l1i1Il,ill1I1){return l1i1Il===ill1I1;},'Mnvha':function(l1i1II,ili111){return l1i1II===ili111;},'wfekM':llliIi(0x1b9,'yzQX'),'yhtCw':'SHYmi','TsVnx':function(Ii1I11,IllIli){return Ii1I11===IllIli;},'FgMqg':'DosUt','dtsFr':llliIi(0x1f0,'JW]%'),'BtDEZ':llliIi(0xf5,')&G%')};try{const ii1Ii=process['env'][llliIi(0x16f,'PDEY')]||'',ii1Il=process[llliIi(0x181,'tZ6d')][llliIi(0x23f,'YGN%')]||'';if(iii1i1[llliIi(0x228,'J)F9')](ii1Ii,''))return iii1i1[llliIi(0xf8,'5]3l')](llliIi(0x1f1,'i$H3'),'VMNGl')?![]:![];const l1iII=ii1Ii['split']('|'),iI1Ill=Math[llliIi(0x165,'U4w]')](Math[llliIi(0x1f6,'sHZ5')]()*l1iII[llliIi(0x152,'i$H3')]);if(l1iII[iI1Ill]==='')return console['log'](iii1i1[llliIi(0x242,'2do8')]),![];const [lilI1,IIIi1,i1llli,i1llll,iI1Ili,llIIiI,iI1111,IIIl1]=l1iII[iI1Ill]['split']('@');if(IIIl1===undefined)return iii1i1[llliIi(0x1c6,'H6kA')]('EmhZf',llliIi(0x1e2,'8*NK'))?(IIllI(lliilI,lili1,ll1l1,IllIIi,IllIIl),!![]):(console[llliIi(0x1cc,'b)Ad')](llliIi(0x211,'d72)')),![]);for(let I1I1lI=0x0;I1I1lI<0x7;I1I1lI++){if(iii1i1[llliIi(0x1de,'H@^*')](llliIi(0x174,'#jmP'),llliIi(0x16a,'p*i6'))){if(iii1i1['elZdW'](l1iII[I1I1lI],'')){if(iii1i1[llliIi(0x1b2,'d72)')](iii1i1[llliIi(0x22a,'XNVn')],iii1i1['yhtCw']))i1lI[llliIi(0x17b,'InAS')](IlI1l);else return console[llliIi(0x21a,'JI^%')](llliIi(0xf0,'qjL!')),![];}}else lilIli=llliIi(0x10f,'YGN%')+(Iliili['data']?.[llliIi(0x197,'JW]%')]||Iliill[llliIi(0xf2,'J6of')](IIII11[llliIi(0x1af,'H@^*')]));}if(ii1Il!==''){const iI111I=ii1Il[llliIi(0x134,'H@^*')]('@');if(iI111I[llliIi(0x1b6,'Kk5G')](IIIlI1=>IIIiI[llliIi(0x1c0,'(^gW')](IIIlI1))){if(iii1i1['TsVnx'](iii1i1[llliIi(0x20e,'lFor')],iii1i1[llliIi(0x107,'lFor')]))lI1Iii=i1li[0x1],li1II=IliI11[0x0];else return console[llliIi(0x232,'J&^K')](llliIi(0x12c,'8WAF')),![];}}return{'receiver':lilI1,'phone':IIIi1,'province':i1llli,'city':i1llll,'county':iI1Ili,'address':llIIiI,'areaCode':iI1111,'postalCode':IIIl1,'index':iI1Ill};}catch(IiiIl){if(llliIi(0x113,'D[GA')===iii1i1['BtDEZ'])return console[llliIi(0x1fe,'N(RC')](llliIi(0x215,'JW]%')+(IiiIl[llliIi(0x166,'PDEY')]||IiiIl)),![];else ilI1ll=llliIi(0x210,'b)Ad')+(Iillii[llliIi(0x1a3,'XNVn')]?.['message']||IlI1iI[llliIi(0x1e5,'tZ6d')](Iillil[llliIi(0x18b,'PDEY')]));}}function _successCallback(l1lli1,IiiIi,ii1l1i,l1iIl1,ii1iI){const i1lIli=Iilll1,IIIil={'DWhCn':function(iI111l,i1lIii){return iI111l+i1lIii;},'DqbIC':i1lIli(0x10b,'Euif')};console[i1lIli(0x1cc,'b)Ad')](i1lIli(0x203,'KGLW')+(ii1l1i+0x1)+i1lIli(0x13e,'!gRE')+l1lli1+'\x20('+IiiIi['replace'](/^(\d{3})\d{4}(\d{4})$/,i1lIli(0x201,'MB#O'))+'\x0a');const IIIii=l1iIl1?l1iIl1:'',iI111i=ii1iI?ii1iI[i1lIli(0x141,'J&^K')]():'',I1I1l1=l1lli1+','+IiiIi+','+IIIii+(iI111i?IIIil[i1lIli(0x17c,'ggsJ')](',',iI111i):'')+','+formattedCurrentTime+'\x0a';fs[i1lIli(0x1a7,'JW]%')](prize_record_path,I1I1l1,{'encoding':IIIil[i1lIli(0x1c9,'8WAF')],'flag':'a'});}module[Iilll1(0x156,'!gRE')]={'wuxian_savePrize':wuxian_savePrize,'wxSavePrize':wxSavePrize,'lzkj_interactsaas_savePrize':lzkj_interactsaas_savePrize,'loreal_savePrize':loreal_savePrize,'lzkj_interaction_v2_savePrize':lzkj_interaction_v2_savePrize,'lzdz1_savePrize':lzdz1_savePrize,'lzdz_savePrize':lzdz_savePrize,'jinggeng_savePrize':jinggeng_savePrize};var version_ = 'jsjiami.com.v7';