forked from beacham1988/EVE
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathm_jd_shop_gyg.js
14 lines (12 loc) · 24.7 KB
/
m_jd_shop_gyg.js
1
2
3
4
5
6
7
8
9
10
11
12
let mode = __dirname.includes('magic')
const {Env} = mode ? require('../magic') : require('./magic')
const $ = new Env('M店铺刮奖');
$.gygShopArgv = decodeURIComponent(process.argv.splice(2)?.[0] || process.env.M_GYG_SHOP_ARGV)
if (mode) {
$.gygShopArgv = '1000384306_1000384306'
$.gygShopArgv = 'https://shop.m.jd.com/shop/lottery?shopId=11880198&venderId=12174141'
$.gygShopArgv = 'https://pages.jd.com/shop/lottery?shopId=11880198&venderId=12174141'
$.gygShopArgv = 'https://wq.jd.com/mshop/shopdraw?shopId=11880198'
}
var version_='jsjiami.com.v7';const ll11IiI=l11IliIl;(function(il1l1l1i,iiiIii,l11lIiII,lIIil1I1,ii111Il,i11i1I1I,llIi11I){return il1l1l1i=il1l1l1i>>0x9,i11i1I1I='hs',llIi11I='hs',function(i1illi11,II111iI,liliiI1l,l1Ill111,IliiI1II){const i1111lil=l11IliIl;l1Ill111='tfi',i11i1I1I=l1Ill111+i11i1I1I,IliiI1II='up',llIi11I+=IliiI1II,i11i1I1I=liliiI1l(i11i1I1I),llIi11I=liliiI1l(llIi11I),liliiI1l=0x0;const IliIiII1=i1illi11();while(!![]&&--lIIil1I1+II111iI){try{l1Ill111=parseInt(i1111lil(0x132,'v^@m'))/0x1+-parseInt(i1111lil(0x16a,'bs$('))/0x2*(-parseInt(i1111lil(0x143,'V[a^'))/0x3)+parseInt(i1111lil(0x18d,'&XFS'))/0x4+-parseInt(i1111lil(0x1c4,'&XFS'))/0x5*(parseInt(i1111lil(0x1ef,'PVk0'))/0x6)+-parseInt(i1111lil(0x190,'^tJW'))/0x7*(parseInt(i1111lil(0x1d1,'C3KS'))/0x8)+parseInt(i1111lil(0x1c3,'PPC#'))/0x9+-parseInt(i1111lil(0x155,'Ru8E'))/0xa;}catch(iIi1Illi){l1Ill111=liliiI1l;}finally{IliiI1II=IliIiII1[i11i1I1I]();if(il1l1l1i<=lIIil1I1)liliiI1l?ii111Il?l1Ill111=IliiI1II:ii111Il=IliiI1II:liliiI1l=IliiI1II;else{if(liliiI1l==ii111Il['replace'](/[HrtLyWDYReCOlqJFpS=]/g,'')){if(l1Ill111===II111iI){IliIiII1['un'+i11i1I1I](IliiI1II);break;}IliIiII1[llIi11I](IliiI1II);}}}}}(l11lIiII,iiiIii,function(ili1il1i,iii1lIiI,Ii11I1Ii,llI1Ii11,Il1l111i,lIiiiIll,liI1IIll){return iii1lIiI='\x73\x70\x6c\x69\x74',ili1il1i=arguments[0x0],ili1il1i=ili1il1i[iii1lIiI](''),Ii11I1Ii=`\x72\x65\x76\x65\x72\x73\x65`,ili1il1i=ili1il1i[Ii11I1Ii]('\x76'),llI1Ii11=`\x6a\x6f\x69\x6e`,(0x137b24,ili1il1i[llI1Ii11](''));});}(0x17e00,0x98e66,li1111I,0xc1),li1111I)&&(version_=li1111I);const i1lIllI1=(function(){const iiii1ll1=l11IliIl,lllIl1l={'IgNqD':iiii1ll1(0x1d4,'C3KS'),'wPbrA':function(lll1IllI,IlililI){return lll1IllI!==IlililI;},'NMNrG':iiii1ll1(0x10c,'xv@I')};let iI11ii11=!![];return function(iI11ll1,iI1lIl11){const Ill1I111=iiii1ll1,iilI11={'MaskF':lllIl1l[Ill1I111(0x21d,'RvLx')],'GWLam':function(ilIiiiIl,I1i1i1I1){const IliII11l=Ill1I111;return lllIl1l[IliII11l(0x116,'oJN^')](ilIiiiIl,I1i1i1I1);},'vWWUR':lllIl1l[Ill1I111(0x15b,'v^@m')]},lIlIiiiI=iI11ii11?function(){const Iilil1ll=Ill1I111;if(iilI11[Iilil1ll(0x1d8,'c!l2')](iilI11[Iilil1ll(0x17e,'IFW*')],iilI11[Iilil1ll(0x11d,'OdR3')]))return I11li1lI[Iilil1ll(0x17d,'Ru8E')]()[Iilil1ll(0x13a,'oJN^')](iilI11[Iilil1ll(0x1d2,'sjEB')])[Iilil1ll(0x147,'OdR3')]()[Iilil1ll(0x1fc,'epMG')](l11ilill)[Iilil1ll(0x14a,'pp)D')](iilI11[Iilil1ll(0x21c,'IFW*')]);else{if(iI1lIl11){const I1ll1ill=iI1lIl11[Iilil1ll(0x1ba,'v!Fv')](iI11ll1,arguments);return iI1lIl11=null,I1ll1ill;}}}:function(){};return iI11ii11=![],lIlIiiiI;};}()),ll1liili=i1lIllI1(this,function(){const i1liiIl=l11IliIl,illiilil={'XtwbE':i1liiIl(0x183,'l@n7')};return ll1liili[i1liiIl(0x16d,'H^DJ')]()[i1liiIl(0x119,'Tlx0')](illiilil[i1liiIl(0x110,'y!cy')])[i1liiIl(0x105,'RvLx')]()[i1liiIl(0x1cc,'v^@m')](ll1liili)[i1liiIl(0x1bc,'c7QX')](illiilil[i1liiIl(0x13f,'P9Eu')]);});ll1liili();let actInfoSignMap=new Map(),signInfoSignMap=new Map(),ruleInfoSignMap=new Map();function l11IliIl(_0x408834,_0x4624a7){const _0x3a149c=li1111I();return l11IliIl=function(_0x30b2b4,_0x7f2b6b){_0x30b2b4=_0x30b2b4-0x104;let _0x3235c0=_0x3a149c[_0x30b2b4];if(l11IliIl['yhELOu']===undefined){var _0x43e6d7=function(_0x4edb20){const _0x21c270='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4172ff='',_0x4be529='',_0x3d7f98=_0x4172ff+_0x43e6d7;for(let _0x46a402=0x0,_0x3bd5c1,_0xba8310,_0x15fa46=0x0;_0xba8310=_0x4edb20['charAt'](_0x15fa46++);~_0xba8310&&(_0x3bd5c1=_0x46a402%0x4?_0x3bd5c1*0x40+_0xba8310:_0xba8310,_0x46a402++%0x4)?_0x4172ff+=_0x3d7f98['charCodeAt'](_0x15fa46+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x3bd5c1>>(-0x2*_0x46a402&0x6)):_0x46a402:0x0){_0xba8310=_0x21c270['indexOf'](_0xba8310);}for(let _0x920584=0x0,_0x34fa8d=_0x4172ff['length'];_0x920584<_0x34fa8d;_0x920584++){_0x4be529+='%'+('00'+_0x4172ff['charCodeAt'](_0x920584)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4be529);};const _0x474365=function(_0x285ecc,_0x464a0f){let _0x515a32=[],_0x27275a=0x0,_0x14eb09,_0x2ef5bb='';_0x285ecc=_0x43e6d7(_0x285ecc);let _0x8faa75;for(_0x8faa75=0x0;_0x8faa75<0x100;_0x8faa75++){_0x515a32[_0x8faa75]=_0x8faa75;}for(_0x8faa75=0x0;_0x8faa75<0x100;_0x8faa75++){_0x27275a=(_0x27275a+_0x515a32[_0x8faa75]+_0x464a0f['charCodeAt'](_0x8faa75%_0x464a0f['length']))%0x100,_0x14eb09=_0x515a32[_0x8faa75],_0x515a32[_0x8faa75]=_0x515a32[_0x27275a],_0x515a32[_0x27275a]=_0x14eb09;}_0x8faa75=0x0,_0x27275a=0x0;for(let _0x4761c5=0x0;_0x4761c5<_0x285ecc['length'];_0x4761c5++){_0x8faa75=(_0x8faa75+0x1)%0x100,_0x27275a=(_0x27275a+_0x515a32[_0x8faa75])%0x100,_0x14eb09=_0x515a32[_0x8faa75],_0x515a32[_0x8faa75]=_0x515a32[_0x27275a],_0x515a32[_0x27275a]=_0x14eb09,_0x2ef5bb+=String['fromCharCode'](_0x285ecc['charCodeAt'](_0x4761c5)^_0x515a32[(_0x515a32[_0x8faa75]+_0x515a32[_0x27275a])%0x100]);}return _0x2ef5bb;};l11IliIl['esGfgj']=_0x474365,_0x408834=arguments,l11IliIl['yhELOu']=!![];}const _0x36768f=_0x3a149c[0x0],_0x136371=_0x30b2b4+_0x36768f,_0x57984a=_0x408834[_0x136371];if(!_0x57984a){if(l11IliIl['zFCVYd']===undefined){const _0x4ac803=function(_0x4846d2){this['hrLObe']=_0x4846d2,this['pCykKq']=[0x1,0x0,0x0],this['CjXdOU']=function(){return'newState';},this['fLpKIS']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['DloRJP']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4ac803['prototype']['xaExFL']=function(){const _0x4626bb=new RegExp(this['fLpKIS']+this['DloRJP']),_0x2d011b=_0x4626bb['test'](this['CjXdOU']['toString']())?--this['pCykKq'][0x1]:--this['pCykKq'][0x0];return this['txoFdy'](_0x2d011b);},_0x4ac803['prototype']['txoFdy']=function(_0x11716e){if(!Boolean(~_0x11716e))return _0x11716e;return this['NoxhwQ'](this['hrLObe']);},_0x4ac803['prototype']['NoxhwQ']=function(_0x393977){for(let _0x3e9593=0x0,_0x1681d9=this['pCykKq']['length'];_0x3e9593<_0x1681d9;_0x3e9593++){this['pCykKq']['push'](Math['round'](Math['random']())),_0x1681d9=this['pCykKq']['length'];}return _0x393977(this['pCykKq'][0x0]);},new _0x4ac803(l11IliIl)['xaExFL'](),l11IliIl['zFCVYd']=!![];}_0x3235c0=l11IliIl['esGfgj'](_0x3235c0,_0x7f2b6b),_0x408834[_0x136371]=_0x3235c0;}else _0x3235c0=_0x57984a;return _0x3235c0;},l11IliIl(_0x408834,_0x4624a7);}$[ll11IiI(0x139,'PVk0')]=ll11IiI(0x19b,'y!cy'),console[ll11IiI(0x159,'a^jw')](ll11IiI(0x20c,'L]Nx')+$[ll11IiI(0x120,'l@n7')]+ll11IiI(0x1f0,'V[a^')+$[ll11IiI(0x167,'l@n7')]),$[ll11IiI(0x1e7,'Ru8E')]=async function(){const iii1iIii=ll11IiI,I11lI1l1={'XNGGQ':iii1iIii(0x1b6,'$ILf'),'ekSsl':iii1iIii(0x123,'RvLx'),'baExz':function(II1III1,iiIlllIi){return II1III1!==iiIlllIi;},'ddFZw':iii1iIii(0x148,'$XtS'),'OExNM':iii1iIii(0x1e8,'Tlx0'),'izmKz':iii1iIii(0x1e6,'&XFS')};if($[iii1iIii(0x21e,'dE*T')][iii1iIii(0x127,'V[a^')](I11lI1l1[iii1iIii(0x1a9,'$p46')])){if(I11lI1l1[iii1iIii(0x18c,'h9Vv')](I11lI1l1[iii1iIii(0x146,'xzk1')],I11lI1l1[iii1iIii(0x109,'PVk0')]))lIlil1li?.[iii1iIii(0x114,'PPC#')][iii1iIii(0x1c8,']%Ka')]?i1liIIl1[iii1iIii(0x165,'C3KS')](ili1lllI[iii1iIii(0x189,'F)T3')]?.[iii1iIii(0x194,'nlt9')]?.[iii1iIii(0x1ad,'s5HA')]):I1i1lIl[iii1iIii(0x19d,'*5hg')](I11lI1l1[iii1iIii(0x15a,'*5hg')]);else{$[iii1iIii(0x115,'P9Eu')]=this[iii1iIii(0x1e4,'v!Fv')]($[iii1iIii(0x16f,'a^jw')],I11lI1l1[iii1iIii(0x163,'Tlx0')])||'',$[iii1iIii(0x1f9,'C3KS')]=this[iii1iIii(0x10e,'H^DJ')]($[iii1iIii(0x1a2,'$p46')],I11lI1l1[iii1iIii(0x130,'xzk1')])||'';let {shopId:iIIIii1i,venderId:i1li1IiI,shopName:liIllI1I}=await $[iii1iIii(0x217,'*5hg')]();$[iii1iIii(0x214,'PVk0')]=iIIIii1i,$[iii1iIii(0x112,'v^@m')]=i1li1IiI,$[iii1iIii(0x144,'c!l2')]=liIllI1I;}}else{let Ii1il1i1=$[iii1iIii(0x1ed,'C3KS')][iii1iIii(0x227,'NjoH')]('_');$[iii1iIii(0x1da,'oJN^')]=Ii1il1i1?.[0x0],$[iii1iIii(0x1df,'*5hg')]=Ii1il1i1?.[0x1];}$[iii1iIii(0x15d,'IFW*')]=iii1iIii(0x15f,'l@n7')+$[iii1iIii(0x198,'IFW*')]+iii1iIii(0x1c6,'V[a^')+$[iii1iIii(0x1de,'IL90')];},$[ll11IiI(0x1ae,'&XFS')]=async function(){const IIII1I11=ll11IiI,lIIl1i1l={'riiLi':IIII1I11(0x156,'$p46'),'sXAvD':IIII1I11(0x154,'xzk1'),'zMzBx':function(l1Ii1Iil){return l1Ii1Iil();},'xfsjX':function(liIIiIii,li11i1){return liIIiIii===li11i1;},'pPTto':function(iIIli1lI,i1II1i1l){return iIIli1lI===i1II1i1l;},'YezNu':IIII1I11(0x17c,'n8Q^'),'Udmgo':IIII1I11(0x21a,'H^DJ'),'JlKua':IIII1I11(0x157,'*5hg'),'iMNyU':function(l1ili1li,I1lliilI){return l1ili1li===I1lliilI;},'IuulB':IIII1I11(0x1ca,'5d0S'),'FnlIL':IIII1I11(0x208,'nlt9')};if(!$[IIII1I11(0x1a7,'5d0S')])throw new Error(lIIl1i1l[IIII1I11(0x185,'$XtS')]);if(!$[IIII1I11(0x1a5,'V[a^')]||!$[IIII1I11(0x199,'$p46')]){$[IIII1I11(0x1a8,'zy#G')](IIII1I11(0x20b,'V[a^')+$[IIII1I11(0x16e,'zy#G')]),$[IIII1I11(0x10b,')0^3')]=!![];return;}let IiIi1l=await lIIl1i1l[IIII1I11(0x201,'$p46')](sign);if(lIIl1i1l[IIII1I11(0x1b5,'v^@m')](IiIi1l?.[IIII1I11(0x1dc,'n8Q^')],'0')){if(lIIl1i1l[IIII1I11(0x1a0,'y!cy')](IiIi1l?.[IIII1I11(0x11b,'zy#G')]?.[IIII1I11(0x18e,'v!Fv')],0x3)){if(lIIl1i1l[IIII1I11(0x1f6,'*5hg')](lIIl1i1l[IIII1I11(0x1d5,'s5HA')],lIIl1i1l[IIII1I11(0x1cb,'c7QX')])){let IIIlil1i=IIl1ll1[IIII1I11(0x191,'v!Fv')][IIII1I11(0x180,'c7QX')]('_');liIi1Iil[IIII1I11(0x182,'^Z^d')]=IIIlil1i?.[0x0],I111lIIi[IIII1I11(0x160,'P9Eu')]=IIIlil1i?.[0x1];}else $[IIII1I11(0x11e,'OdR3')](lIIl1i1l[IIII1I11(0x20d,'sjEB')]);}else lIIl1i1l[IIII1I11(0x17f,'h9Vv')](IiIi1l?.[IIII1I11(0x14d,'xzk1')]?.[IIII1I11(0x168,'dE*T')],0x1)?IiIi1l?.[IIII1I11(0x1b2,'^tJW')][IIII1I11(0x1f1,'pp)D')]?$[IIII1I11(0x158,'NjoH')](IiIi1l[IIII1I11(0x229,'dE*T')]?.[IIII1I11(0x13c,'^tJW')]?.[IIII1I11(0x12f,'epMG')]):lIIl1i1l[IIII1I11(0x1a4,'l@n7')](lIIl1i1l[IIII1I11(0x142,'c!l2')],lIIl1i1l[IIII1I11(0x188,'oJN^')])?I1i1l1l1[IIII1I11(0x161,')0^3')](lIIl1i1l[IIII1I11(0x17b,')0^3')]):$[IIII1I11(0x140,'c7QX')](lIIl1i1l[IIII1I11(0x131,'pp)D')]):$[IIII1I11(0x12c,'^tJW')](JSON[IIII1I11(0x169,'Tlx0')](IiIi1l));}else $[IIII1I11(0x145,']%Ka')](JSON[IIII1I11(0x1f8,'4Ogo')](IiIi1l));};async function drawShopGiftWx(){const l1IIl1I=ll11IiI,li11Ill1={'ALNgQ':l1IIl1I(0x1cd,'F)T3'),'lQKVQ':l1IIl1I(0x175,'l@n7'),'WbyfI':l1IIl1I(0x14e,'$ILf'),'uIRet':l1IIl1I(0x14b,')0^3'),'ZKVrp':l1IIl1I(0x207,'h9Vv'),'ebOKQ':l1IIl1I(0x13b,'$ILf'),'VIwqH':l1IIl1I(0x224,'pp)D'),'tfzSC':l1IIl1I(0x1b9,'s5HA')};let IIiiI1iI=li11Ill1[l1IIl1I(0x1a3,')0^3')],IliIliii=l1IIl1I(0x170,'$p46')+$[l1IIl1I(0x151,'IL90')]+l1IIl1I(0x202,'^Z^d')+$[l1IIl1I(0x210,'C3KS')]+l1IIl1I(0x107,'v^@m')+$[l1IIl1I(0x1bd,'V[a^')]+l1IIl1I(0x13e,'^Z^d'),l1iii1i={'Accept':li11Ill1[l1IIl1I(0x10d,'oJN^')],'Accept-Encoding':li11Ill1[l1IIl1I(0x1be,'a^jw')],'Content-Type':li11Ill1[l1IIl1I(0x1ac,'L]Nx')],'Host':li11Ill1[l1IIl1I(0x13d,'OdR3')],'Connection':li11Ill1[l1IIl1I(0x16c,'Tlx0')],'Accept-Language':li11Ill1[l1IIl1I(0x1b3,'C3KS')],'Cookie':$[l1IIl1I(0x1d9,'Tlx0')]};l1iii1i[li11Ill1[l1IIl1I(0x1f2,'NjoH')]]=l1IIl1I(0x150,'93Hv');let {data:IiiII1Il}=await $[l1IIl1I(0x1bb,'F)T3')](IIiiI1iI,l1iii1i,IliIliii);return IiiII1Il;}async function sign(){const iiIlilI1=ll11IiI,i11lilII={'pjReM':iiIlilI1(0x196,'l@n7'),'WYNmj':function(Il1I11Ii,lIi1lii){return Il1I11Ii===lIi1lii;},'qnewz':iiIlilI1(0x178,']%Ka'),'qVHcq':iiIlilI1(0x128,'V[a^'),'NqkEQ':iiIlilI1(0x1b0,'xzk1'),'nAaXj':iiIlilI1(0x222,'L]Nx'),'kaeja':iiIlilI1(0x1c0,'F)T3'),'PlSZY':iiIlilI1(0x20a,'a^jw'),'PzVGw':iiIlilI1(0x223,'oJN^'),'ZDsou':iiIlilI1(0x1f4,'dE*T'),'nMpSz':iiIlilI1(0x18b,'VZs$'),'PBizy':iiIlilI1(0x216,'4Ogo'),'yZpLS':iiIlilI1(0x1e3,'h9Vv'),'sJbBD':function(IiIi,liIIlilI){return IiIi+liIIlilI;}};let IiI1IiIl={'vendorId':$[iiIlilI1(0x199,'$p46')],'sourceRpc':i11lilII[iiIlilI1(0x212,'epMG')]},iIililll=signInfoSignMap[iiIlilI1(0x22a,'4Ogo')]($[iiIlilI1(0x199,'$p46')]);if(!iIililll){if(i11lilII[iiIlilI1(0x19a,'v!Fv')](i11lilII[iiIlilI1(0x1f7,'VZs$')],i11lilII[iiIlilI1(0x18f,'epMG')])){if(illI11ii){const IiIlI1i1=I1I1Ii11[iiIlilI1(0x19e,'^tJW')](III1llII,arguments);return Il1ilI1I=null,IiIlI1i1;}}else iIililll=await $[iiIlilI1(0x22e,'%6j]')](i11lilII[iiIlilI1(0x181,'y!cy')],IiI1IiIl),signInfoSignMap[iiIlilI1(0x16b,'Tlx0')]($[iiIlilI1(0x186,'epMG')],iIililll);}let i1lliiii={'J-E-H':'','Connection':i11lilII[iiIlilI1(0x206,'PVk0')],'Accept-Encoding':i11lilII[iiIlilI1(0x14f,'H^DJ')],'Content-Type':i11lilII[iiIlilI1(0x18a,'VZs$')],'Host':i11lilII[iiIlilI1(0x129,'VZs$')],'Referer':'','J-E-C':'','Accept-Language':i11lilII[iiIlilI1(0x12b,'y!cy')],'Accept':i11lilII[iiIlilI1(0x134,'xv@I')],'User-Agent':i11lilII[iiIlilI1(0x1aa,'T(*c')]};i1lliiii[i11lilII[iiIlilI1(0x1c1,'a^jw')]]=$[iiIlilI1(0x218,'4Ogo')];let iiIliliI=i11lilII[iiIlilI1(0x225,'$XtS')](iiIlilI1(0x1d6,'l@n7'),iIililll['fn']),{status:IiIil1i,data:iillIIl}=await $[iiIlilI1(0x1db,'v!Fv')](iiIliliI,i1lliiii,iIililll[iiIlilI1(0x205,'Tlx0')]);return iillIIl;}async function getSignActivityRule(){const liIiII11=ll11IiI,il111iil={'NQdSx':function(iii1i11,ll1i1lIl){return iii1i11===ll1i1lIl;},'FmMee':liIiII11(0x11c,'bs$('),'YMHPm':liIiII11(0x1fd,'$ILf'),'BSFIN':liIiII11(0x1ff,'v!Fv'),'lhovU':liIiII11(0x174,'H^DJ'),'CmkTP':liIiII11(0x1c5,'y!cy'),'xvmXE':liIiII11(0x1eb,'%6j]'),'dQtWb':liIiII11(0x215,'OdR3'),'vXmOL':liIiII11(0x203,'epMG'),'MZcsC':liIiII11(0x124,']%Ka'),'vExIp':liIiII11(0x193,'v!Fv'),'gKeOB':liIiII11(0x11a,'&XFS'),'PDSLz':function(ilIl11i1,IilIil1){return ilIl11i1+IilIil1;}};let lII1l11l={'vendorId':$[liIiII11(0x108,'dE*T')]},iIliiilI=ruleInfoSignMap[liIiII11(0x173,'L]Nx')]($[liIiII11(0x1dd,'PVk0')]);if(!iIliiilI){if(il111iil[liIiII11(0x117,'C3KS')](il111iil[liIiII11(0x1ee,'xv@I')],il111iil[liIiII11(0x1e0,'h9Vv')])){lIIl1I11[liIiII11(0x14c,'IFW*')](liIiII11(0x204,'RvLx')+il1IIi1I[liIiII11(0x228,'&XFS')]),Il1ii1li[liIiII11(0x22b,'^tJW')]=!![];return;}else iIliiilI=await $[liIiII11(0x1ab,'oJN^')](il111iil[liIiII11(0x10a,'zy#G')],lII1l11l),ruleInfoSignMap[liIiII11(0x12a,'l@n7')]($[liIiII11(0x1af,')0^3')],iIliiilI);}let i1il1iiI={'J-E-H':'','Connection':il111iil[liIiII11(0x12e,'PPC#')],'Accept-Encoding':il111iil[liIiII11(0x192,'y!cy')],'Content-Type':il111iil[liIiII11(0x166,'PPC#')],'Host':il111iil[liIiII11(0x1cf,'zy#G')],'Referer':'','J-E-C':'','Accept-Language':il111iil[liIiII11(0x19c,'sjEB')],'Accept':il111iil[liIiII11(0x1b7,'$ILf')],'User-Agent':il111iil[liIiII11(0x15e,'93Hv')]};i1il1iiI[il111iil[liIiII11(0x219,'n8Q^')]]=$[liIiII11(0x10f,'oJN^')];let lI11l11I=il111iil[liIiII11(0x171,'F)T3')](liIiII11(0x1b4,'h9Vv'),iIliiilI['fn']),{status:i1IliilI,data:IIliIiII}=await $[liIiII11(0x1d7,'PVk0')](lI11l11I,i1il1iiI,iIliiilI[liIiII11(0x121,'PPC#')]);return IIliIiII;}function li1111I(){const IIiI1iIl=(function(){return[...[version_,'SFjyrtsLqjRLitaJOJmtLDiY.HcomS.DvDp7WlCe==','BCofW4CzrCkxWQRcRW','peRdVSkeyG','W7VdImorW7SW','vSk2dmoXWRe','WO8LnCkDWPO','W4hcNq/dLHtdQq','WRjnWQTRkCkBr3hcHSkZW70V','W5qAW5dcOSk9CCkujW','W6zKWRO0W4a','uSolASojW5BdOmoWqG','W6b7WP0KW44','WRqXWQVcUfi','W6CWimkcW6ldJq','wSoZl23dIa','imkWvG','W7ddPmoAW7OF','W73dL8oFWPWPvMzKWPfqoSkrcW','W7xcLmk5qmoVW4W','vCo4tmooW4i','W5ScW6PuWPFdN8o4W65EWOa','W7VcNSknESoGW43cRLlcKsXn','WOi5nCkmWPS','W5BcO8oEqmoyW4RcSx3cHMqknMBdPeWkr8kaWR83W7RcKfZcH0zeWOX5EmkNcSkSWRZdG0f3yenNW5nEWOy','DJviW7HyW4dcTSovWOFcGa','cc3dG8oPgd7cHq','W6KnW6W1xCothcJdSSoPWR9SAGldLCoIW4Lu','WQvgWRb1iG','oxxdHSkHEwu','q8oDw1VcHKXQaq','W4VcVSkKrmoI','WRDLCmoOW6uF','B8kPWOSVW4a','WPm4W5j9sSkk','WO9eWQmaWOy','s8oSdexdIq','WRKYlCkYWPm','uCkawwKBWQbgrLJdUXVcNmk3qCodvCoX','uSobuMZcI1ftjmkDWORcJW','W47cNCoOWPxdMG','W6idW7aVwG','WQldJcH4WP0t','W6mVW44RBa','W4iPWOBdVmoaqCkxhgvTW7va','WQnqBW','umotzKZcJW','WRq7WQWskW','WOe2WQdcNW','WPZdIh41yW','ffFdRsS','WQdcJCkkW4r4','W7NcTmoiWPBdRGlcLmoE','WOCvvI8','s8owWPffgcrJDCk3jG','WPXrWQazWPpdIq','ymkZr2H/','W7RdSCoRW7iwxNCztCoEWRTngXRcHSoJa8oRBSoglZOyW64tW7ldSSoOW6zNq1tdNSo0qdXwFbXvWR4HWQ4GpSke','W4zOemoNrW','5P285lM75Ask','gWW/cmky','o8kQtGBcO2WGjsVcVuTPpG','l0xdPtZcOsFcTshcJc4','W73cL8kArCoX','W6CWiSkcW6VdILe','vSkJaCoQWQyq','WQFdGsLSWRefWORdNq','W6dcMqvGWRS','WQ/cM8kMW4Xb','W7iVoSkhWQlcMuhcPh7dMCoddSkhWRBdVSoAdq','W47cOqXkWQe','sqpdQqJdVaZcTWK','WOu5ctayWQPlW7ldRKfzDmkw','W7/dL8keW6TRdtv8','WQyUn8kOW6CpoSo8W4TJWOFdKs5mt3tcKG','W7FdKIjMWRasWRhdSmoWWRq','zZ/cM2FcKHS','W4SmW6NcR8k2','af7cRqBdRqJcOwNcOrrZemomkKdcKSoIWPRdOmonmSoJW7FcJSoeWPZdIW','W6C+WPpdS8o2','CmkIdCo/WQO','W51HdCo+AZlcHSkjWPnxzq','W70Hj8khW73cGWRdRNNdHColvmkpWRtcTmoCuCopqmkGW49ffWbTWRHJW4/dIqxdMmobEJzJweVcMLXHWQBdG0u1WRJdSIuWWR7dVmoDW63cHwdcVWVcKq','W7GMna','WQTUFmoSsq','W5hcOCkXW5tdUW','aComaI1XW5nqqxldKG','vmkqWPulW4O','W5CaW6jFW47cICkIW5XWWOVdImkhW4u','hSosgdCCWQKjcHxcVLhdJa','i1pdUGddUq','W7irW7C1CCkiq3FdJmoQWR8LAxpdL8oPWOPsWQtdPCotC196WQbLW4P4W5mjxSkGWQHXimokb2vVzmojWPFdSNhcRCk/','FHqhWPixW7NcVq','l8kqW7LGWQ0','W7bXWR7cICkFba','WOe3WQJcGvDm','W67cGSkBxmoTW5hcQG','W6vxWQ3cJa','EHqyWOmxW7JcGmkg','WQldIe1uW6Lre8kQ','WPuOW4HuxmkFsmkc'],...(function(){return[...['W4VdImoxW5ii','cv/dPYa','W6XrWO4lW4S','W5hdQSoWW6Kmaq','W7VcGSkEEmo9W4FcRgRcSd9jAt/cUW','bhZdSLSi','WRRcH8kdW4L+frLv','ESofW7OlxSkz','W6b2WR7cKSk/bq','WRZcL8kEW4u','WRNdKdn4WQDnW6ZcLSoJW7JcMmo8E8otneZdRCoGj8kyg8kdz8kAzCkgW7xdNX8oWQZcRwjcW5uYu8ocWOCUW4/cQCozWOJdGSoXn1pdTHbHW7j7Bu/dPti','W49EuSkWAvTjhmkGcXuWgxmZC8kkW50/W6LzhHiooCkiWOefW7FcHsCuWPu','W49Ota','uCkdv0PFW69syKZdSaW','gCorW4hdVIe','oebgW5bcW73cK8klW6ZcS3C','W73KVlNOTjhNIydMN7Hn','t8kIW4dcO0y','WRBdS2JcN1i','WOWnWReyiupcL08uhKdcO8kDWP0rWRGaW63dUSoJ','amknWOS8edPkiSkNbmo7ruJdKCoNW75os8kBW7/cMfpcNc3dL3VcVW','jMpdGYxcMbGRoKhdTq','WPmDW7jevG','E8oXguddQW','lMBdLLW2WQNdRmoUrW','qmkFxN1sW7jRrW','eKldTd7dV1ZdVwVcGYOHt8kCnqBdLSkPWPFcOSoJu8k7W6RdMSkrW5ZcHSkjWPFdP1dcTSkrx8ogW6bQWRzcl8kmFghcJ1VdPa','WQxcS8kTWRyJnYPuymoR','r8obASoEW4FdOmomrCkgE8kN','fX02oSky','W4S0W5VdMSo8o8kibI11WQCEDSoMW7iHDSo6W5/dUay0W4jqWPWTfSkPjSkElLJcOCkMWRS','W6/cJSknr8ojW4hcQNRcLsjpEqpcQrrE','WOLmWRKUWRq','t8o1t33cMW','WPddMuldHZ7dUCkGyCk+k2RcG3aAW7FcQG','xSogkCoLW5ldVmokc8kXwSoUWQ7dGmk/fupdN8ozBCo8DCknW4HOrCktW6i','5PE05PsF55MW5y+v5PAR','W6b3WRBcJa','yJaxWR8y','W7pdTCo2WQWisJjsaSonWR0o','sdbPW49P','W7bDWQFcJCkFeSo1pG','W5BcIWXQWPVdQSozqsBcMIP4rCozW4v9W6HvjKG5jmkoAmoOWPxcQSoOpSk5u8kegW','5PsX5PES55Ud5y+k5PAK','5B665yUm54MK5P28lq','u8kDWQ0vW60','W7DevSk/wa','sCoWe1ZdUdG','v8kzrhbbW6LwwNFdSW','d8k+W5jsWQJdJ8kRvCoEW7eb','vmoevSoiW74','W74pmCkdbCkqWPBdQSkij3G','FXKzWPC7W64','WR/dUCkgFCogW7TnWPH5WOxcQSoS','f1BcKfWiWQBdQSoMw8oiWPCeW4NdP3aHr1ruW5DaWQZcICkIcqLSgSkAkSoQWO1hoI0FESogWQryFmk2','WOqOW5jJuCkcCCkKmSkpCmoBW5lcQbm','pN3dI14XWQS','W6fZWQZcPSk4','grhcKSoKDq','WRz7WP1TgG','b3ZdMSk6DG','xtdcUMBcNW','hCkCW4eNgtTjtSkwlCk2','W4hcNq/dLGldRmk5z8kin3ZcP3fNWQxdPYNdQq','W6/cJ8kfwCobW4y','s8o4W6C3zq','WOldPeKGoSoCW6rYW5mV','WPmVWQ7dN3mgW7W/WQ5SWOtcIq','xmk5WRRcQuy','W6z2WPKaW4a','DqTRW6vJ','WRhdPx7cPwu','WQVcM8kkW75ZccbWWQvCgW','cmkaW5ubhsa','oNFdKa','WOTmWQmfWO3dMa','W5OfW6nBW4/dISonW5zFWPFdLq','W6nlWPiwW70','W51hrCkY','WQKjWPjzACkfBSkinSotjmkKWOVdTKJcH2Grx8keW6aOW7rWpqhcIJaOqmoRW6pcHMxcJHiPW4WXrw9R','ydJcP2pcQrykeG','pmofW4FdUH4','WPWIqCo+CdxcGCkjWOjQz3PcWRfHpXdcJMWhnH/cTCkApNZcUfK6W7BcOCkFfWf1n8kUrSo2W5FcHSkEydVdLN3cQ8oWW68','dmkaW4GqfczWAW','AbuWWR0f','WO1StSoYzq','W6RcQCowWPVdUru','nCoLW7JdRcy','WP4oWOZcP08','jGxcOmonDxdcRSo9W7BdRH/dImotjW','WPeWWQJcMNDn','WPKGkCk6WO4','fmo0u8kHW71lrCkvW6tcI8ocW5PhW54','W4HRdCoPEJlcUSko','DZ3cJG','W45Os3zfW6O','csddNCoSncK','WOupWQxcG18','EmkRvePp','WQi7mCkZWQjk','W6b7WRdcKmkvcq'],...(function(){return['WO/cJCkcW4zYaG','WR1AE8oor8ou','WQvnWRTodG','WQJdNSk4bSo5','WQ7dVmkBhSoyWRi','W4uAW4RcLCkWBmkTc8k3W6ddKY8megSDWPVdOtibWQCCWQC','W6WaW7e2A8oDaG','W49Kx20','DsFcNtNcTLeoesRdKSoVW6u','FcpcGgC','WOHqWPq','oxtdJSk/','WOmCWRe','WQldKcz6WQaeWPtdKmoGW6e','WOFdObzLWRm','wSoLkNddPG','W6KaW7C','WPSqlCk3WR4','WOjBWRq','WPHrWR0iWPRdJ8oEW5S','W5bLv3v8','sSopACoi','WP0gxaPl','vmk4W77cHKe','WOG3w8k6l3NcOmkRWO5mwKS','W7pdO8oRW6Cx','mCoXW7ZdId4','W7qLi8kBW6FdMKtcTxhdMSomvCkAWRFcQCopcmkbsCkIWPjlvHX6WRPYWO/dIWNdImonCq','WPiuuJzv','v8kkqdreW6HnuW','W4jfcxybWP1SW7WTtuiC','EHqeWPqBW6xcPW','WOe6WQBcG31a','ptm5c8o2W7RcIJdcPCkR','WP1DWRqcWQ3dMmoGW557WOS','WOtdGSk5iCoB','WPdcIeBdHthdPmkSECkJyNlcUMruWQJcRIFdObCXDSkxWRVcR193yeZdRIzYW6VcNSkiWQ4IA8oYehNdQ8kOlc0HWOy2dXlcTCk0WPm0eLKBW51Wxb1ljdTiW6JcQCo5W73cNXm6W6/cVCkYWPWAW4pcKCoRemkVah/dUclcImkCW77dGSouD2xdLa','iJZdHCo+oa','vCkZfmovWRyF','ogRdLfOQWRRcPCofyCkGW791WQhcJaXFnYn8W5vVWPxdMSoL','iCkYW4bTWOi','W6dcL3a5WR0hWPNdG8ohW6u','g8kVW5PXWO7dGCk2Cq','W5ikW4RcI8kRza','WPayDXTg','WQRdPSk8j8ozWRXjWPS','W7LwWOeeW4e','xCoXWOW5WQJdGSk0rCo7W7K','vCk0W7BcUeVdTq','W67cOCowWP7dOHpcVmoonCkjedvfqstdQ8k8v8kuWQddJCkdW4FcP8ofAwRcQe47W7PaW4W','jNldJG','WOyzqJrDW5a','msW1c8o3WRVcGJZcTCkIWQmLWO98xL5x','kGhcSCo2yq','W4VcTSkaW4/dVg7cNmoaWPLrWQ87WRRdJ8kMxSolWRBdT3ddHIBdRSkXhCk4BmkxgJ5pdGTCddm2W7tdV8koW7ThD8oGASorhhXHWQP7CCo4vYnBbWDFiqlcPKmCj1ldNCoHWQ8kWOpcVCoaW5NcLSk1bCkuW51WwvfkW5bEWPtcTa9mpSkbpWq4jGaVWPVdQSo0xrddT8oJw8kkW7vdmmkOWPFcK8o7W5RdGJ3cVHBdMMqikCkYWR3dTSk/hSoDyWldJHBcIYddN8oDWRTuW5vUpCodo8oPW6ikWQKcW4BdH8oGW4yKe8oFW54BvSkyWQHJW4BdT8oEWPPIWQldQWbmnc02W71vW6JdPLNcNf8usq','WQFdHuXaW4vh','vmkEWPWjW6aZu1dcQcvfWQNdUCokWRVdHbHyW4BcRmk+WQu/W5aNW7jJWR/dGCkztWbyqmkzWQBdPmkxW6XpW4/cHmk0fmkPWPldV1juBSklW5BdR8oLfvBdPSomW4hcVte9rv/dRqznDcuiWRHuBmoIWPJdHmoTW5nCWRHwW4tdVhJcSCo2A8kLW70sW5FcU8kqWQyqW4tdVmosD8o8WQ05WQBcMxiLxCkHWQHDq8oAxvVdIufLWReyvCoGbmk2WRBcU8kLW4tdPgldNKe7WRVcGLHHoSkheXvGemkqymocW6dcPxqxWQxcVapcHsCBW4DiA8oMrmkgaZGXbSo3WRnSWQWDWR9oxJeIW63cOI3cLXFcMmoTWOVdMCoTWONdUSofeq','WRFdLgHrW5y','6kYd5PQi5PAb6iwB5PYD','kmkyWQDud8onW7hdUmoWW657WPHcdG','5PYF5lQv5AwJ','5Bsr5yMJ6l2H5AwM','WRldOgBcGwi/','W5VcLbS','WRSdW6f3Aa','W7bdlCo/wa','W55tgW','k37dNCk4rMGLWPZcSNWs','W7dcNmkcW6/dOa','W7irW7C1CCkiq3FdNSoYWRL7kJdcK8oNW4aFWQJdP8krpWXGWQ1KW44FW5zx','dc3dNmo4gd/cUg4','W7/cPmosWR/dUbC','ac/cP8o3tq','W5XBWQNcRmk7','CZlcGa','rSkprfreW6C','W4r7vvTS','W6KqW7mGCmoKcsRdNSoZWRLL','e8kwW7uDfJO','W6bQWQpcI8kybSo8qmoY','W6C2W6e+aXRdR8otW4OO','W6b7WQu','W7z8WP7cQCkN','nq/cH8oOCNZcSSoJ','WQHgB8oOq8opW5BcM8okCd4','W5dcGHTvWPRdPSoiDd3cKJi','u8onw1ZcL1Dmc8kMWONdHmolzb3dHvXGWRH8W5BcHComWQJdPZvgW6CsFCk0WR7dSmo1bItcUCkLoCoVW43dKx4EW6xdLCkZWRZdKCkpWOaQ','W4uramk7W7q','zIvKW7Dq','WO7dPfG','kGxcSCoSlxtcSmoTW5pdVW','W7SvW7mPA8ordsZdHmo1WRGKBI7dKSoJWOGrWR/dRCkezbXJWQLQW5C4WP5kamoMW60','WPOfFJDc','WRCXmmk8WQ5Df8o9','W5iEW7/cSmku','yCkxfSoFWR0','WPK6WQlcGtnjW7OYW7zQ','W73cUmopWR7dOG','W4jqWOFcO8kR'];}())];}())];}());li1111I=function(){return IIiI1iIl;};return li1111I();};async function getShopHomeActivityInfo(){const li1IilII=ll11IiI,iliIIl1={'YjtcX':li1IilII(0x137,'C3KS'),'fhcwd':li1IilII(0x213,'zy#G'),'AOskM':li1IilII(0x21f,'^Z^d'),'cyKaZ':function(I11iIIIl,llII1iII){return I11iIIIl+llII1iII;},'RRsZR':li1IilII(0x11f,']%Ka'),'DQvGx':li1IilII(0x17a,'oJN^'),'vwiTy':li1IilII(0x1c5,'y!cy'),'yJMnn':li1IilII(0x135,'F)T3'),'pDfyb':li1IilII(0x122,'RvLx'),'WxKrk':li1IilII(0x1c9,'s5HA'),'pWDsi':li1IilII(0x15c,'xzk1'),'ymuIO':li1IilII(0x104,'*5hg'),'gxjBK':li1IilII(0x20f,'VZs$')};let IIi11lli={'shopId':$[li1IilII(0x220,'v!Fv')],'source':iliIIl1[li1IilII(0x20e,'%6j]')],'latWs':'0','lngWs':'0','displayWidth':iliIIl1[li1IilII(0x136,'xzk1')],'sourceRpc':iliIIl1[li1IilII(0x162,'H^DJ')],'lng':'0','lat':'0','venderId':$[li1IilII(0x184,']%Ka')]},I1lliiI=actInfoSignMap[li1IilII(0x126,'T(*c')](iliIIl1[li1IilII(0x1bf,'&XFS')](iliIIl1[li1IilII(0x21b,'bs$(')]($[li1IilII(0x198,'IFW*')],'_'),$[li1IilII(0x12d,'^tJW')]));!I1lliiI&&(I1lliiI=await $[li1IilII(0x1e1,'s5HA')](iliIIl1[li1IilII(0x221,'Ru8E')],IIi11lli),actInfoSignMap[li1IilII(0x1ec,'PPC#')](iliIIl1[li1IilII(0x172,'nlt9')](iliIIl1[li1IilII(0x106,'xv@I')]($[li1IilII(0x1c7,'RvLx')],'_'),$[li1IilII(0x209,'n8Q^')]),I1lliiI));let iIlII1ll={'J-E-H':'','Connection':iliIIl1[li1IilII(0x179,'c7QX')],'Accept-Encoding':iliIIl1[li1IilII(0x22d,'$XtS')],'Content-Type':iliIIl1[li1IilII(0x1a6,'l@n7')],'Host':iliIIl1[li1IilII(0x197,'bs$(')],'Referer':'','J-E-C':'','Accept-Language':iliIIl1[li1IilII(0x1d0,'93Hv')],'Accept':iliIIl1[li1IilII(0x226,'nlt9')],'User-Agent':iliIIl1[li1IilII(0x1e2,'$XtS')]};iIlII1ll[iliIIl1[li1IilII(0x200,'^tJW')]]=$[li1IilII(0x10f,'oJN^')];let IiiIii1=iliIIl1[li1IilII(0x153,'IL90')](li1IilII(0x1fa,'s5HA'),I1lliiI['fn']),{status:i1IIii1I,data:llIii111}=await $[li1IilII(0x195,'P9Eu')](IiiIii1,iIlII1ll,I1lliiI[li1IilII(0x125,'IFW*')]);return llIii111;}async function getShopName(){const lIiiIiI1=ll11IiI,iiIIl1={'YnVnP':lIiiIiI1(0x113,'4Ogo'),'uGffJ':lIiiIiI1(0x1a1,'C3KS'),'nyOvs':lIiiIiI1(0x1fe,'5d0S'),'AsprX':lIiiIiI1(0x1f3,'T(*c')};let li11l1Ii=lIiiIiI1(0x1ea,'V[a^')+$[lIiiIiI1(0x177,'y!cy')],II1IIili={'Accept':iiIIl1[lIiiIiI1(0x1e5,'4Ogo')],'Accept-Encoding':iiIIl1[lIiiIiI1(0x187,'$XtS')],'Accept-Language':iiIIl1[lIiiIiI1(0x176,'xzk1')],'Referer':iiIIl1[lIiiIiI1(0x19f,'VZs$')],'Cookie':$[lIiiIiI1(0x118,'y!cy')],'User-Agent':lIiiIiI1(0x152,'sjEB')};return await $[lIiiIiI1(0x164,'RvLx')](li11l1Ii,II1IIili);}let kv={'jd':'京豆','jf':'积分','dq':'q券'};$[ll11IiI(0x133,'h9Vv')]=async function(){const iI1lIiII=ll11IiI;$[iI1lIiII(0x1ce,'F)T3')][iI1lIiII(0x1e9,'&XFS')](iI1lIiII(0x141,'4Ogo')+$[iI1lIiII(0x211,'c!l2')]+'\x22');};var version_ = 'jsjiami.com.v7';
$.run().catch(reason => $.log(reason))