/*
活动名称：新版玩一玩之奖票竞猜 5.17-8.31结束
活动入口：APP-我的-更多工具-玩一玩
活动建议：赌狗游戏，自行选择运行
变量设置：jd_wyw_bettingnum // 投注奖品数值    10-500之间
          jd_wyw_userInput  // 队伍选择 只能输入1 2 3 其他无效
          jd_wyw_goalInput  // 更多投注进球选择 只能输入1 2 3....等数字 不填写不投注
          jd_wyw_makeInput  // 更多投注让一球选择 只能输入1 2 3 其他无效
          jd_wyw_subInput  // 更多投注队伍选择 只能输入1 2 3 其他无效

cron:1 1 1 1 *

*/

const $ = new Env('新版玩一玩之奖票竞猜')
var iｉl='jsjiami.com.v7';const l1i1I1=iii1II;(function(llIlI1,iI1IiI,IIlI1,i1iIli,i1iIll,i1lliI,liI1l1){return llIlI1=llIlI1>>0x5,i1lliI='hs',liI1l1='hs',function(IllIlI,IiillI,ili11I,li11l,lliiIl){const i1llii=iii1II;li11l='tfi',i1lliI=li11l+i1lliI,lliiIl='up',liI1l1+=lliiIl,i1lliI=ili11I(i1lliI),liI1l1=ili11I(liI1l1),ili11I=0x0;const li11i=IllIlI();while(!![]&&--i1iIli+IiillI){try{li11l=-parseInt(i1llii(0x212,'cHrl'))/0x1*(-parseInt(i1llii(0x150,'^K$%'))/0x2)+parseInt(i1llii(0x209,'Vqon'))/0x3+parseInt(i1llii(0x1c6,'N#Pm'))/0x4+-parseInt(i1llii(0x137,'Sv8f'))/0x5+-parseInt(i1llii(0x14b,'R8%n'))/0x6*(parseInt(i1llii(0x208,'N#Pm'))/0x7)+-parseInt(i1llii(0x23b,'Sx62'))/0x8*(-parseInt(i1llii(0x158,'O42)'))/0x9)+parseInt(i1llii(0x14f,'Sv8f'))/0xa;}catch(lliiIi){li11l=ili11I;}finally{lliiIl=li11i[i1lliI]();if(llIlI1<=i1iIli)ili11I?i1iIll?li11l=lliiIl:i1iIll=lliiIl:ili11I=lliiIl;else{if(ili11I==i1iIll['replace'](/[QgTISkLFnexRwtXBdKyH=]/g,'')){if(li11l===IiillI){li11i['un'+i1lliI](lliiIl);break;}li11i[liI1l1](lliiIl);}}}}}(IIlI1,iI1IiI,function(iiIi1I,IllIl1,ll1Ii,ll1Il,iiIi11,ill1II,i1llil){return IllIl1='\x73\x70\x6c\x69\x74',iiIi1I=arguments[0x0],iiIi1I=iiIi1I[IllIl1](''),ll1Ii=`\x72\x65\x76\x65\x72\x73\x65`,iiIi1I=iiIi1I[ll1Ii]('\x76'),ll1Il=`\x6a\x6f\x69\x6e`,(0x171f58,iiIi1I[ll1Il](''));});}(0x1780,0x661f7,Iii11l,0xbe),Iii11l)&&(iｉl=0x213a);const jdCookie=require(l1i1I1(0x18b,'!qb!')),notify=require(l1i1I1(0x1d3,'C2%@')),common=require(l1i1I1(0x157,'f$hU')),{H5st}=require('./utils/Rebels_H'),isNotify=![];let linkId=l1i1I1(0x25f,'Q)Ql'),turnNum=process[l1i1I1(0x1ac,'5YYz')]['jd_wyw_bettingnum']||'10',userInput=process['env']['jd_wyw_userInput']||'',goalInput=process[l1i1I1(0x109,'6rsf')][l1i1I1(0xfc,'Cdm3')]||'',makeInput=process[l1i1I1(0xfe,'WDvh')]['jd_wyw_makeInput']||'',subInput=process[l1i1I1(0x22a,'Tj8j')][l1i1I1(0x28b,'C2%@')]||'',cookie='';function Iii11l(){const Iiilli=(function(){return[...[iｉl,'tRjxsQjiBdLaTmi.yHIcTonkmTeF.Kvw7gXwQBLS==','W4NdS2myWRy','ie1uW4RcVW','wI8gaG','W57cKt3dK8owea','W6dcOIJdPG','gmoZqmkjWRTzmSkvW5yiW4GUm8og','vhTG','WPiPfG','WRfgBvm9nCkcWP7cOSoP','4P23WOtMNQNOGRVMR6ZNOzBLPyJNKA5+','W6WLWOJdTSozsSo5FCofcmoCymkEuSkMkmov','yIX3W7ab','zCkaWR3dICkNBSkmmw8Aza','W7qbobj6BSkOWPJcSCoCimkW','i8oqA8o8aa','twDIrgVcNdZdPxXtA8kKWQFdQq','WP/dUmkH','W4ldMCor','WPSdkMhdGs0SWOBcPwTiW6qB','WRTsjSoqnYy','WPBdV8oVwW','rd4haSoxW5X2yCk6Aa','ALvi','WPRcONeoW6RdMa','yCopzmoPWQbIW5jOvG','B8k6WPZdNCkf','DUw+MUwNUoAjRoAWVW','WRnCzuu','WO0xiNFdPJaIWPRcMfS','WRNdPCkwWPvQ','WQGjnHKB','AmotcK5UW4pcH2a','omorESo3hmo8fmkyra','B8ofDW','WOFdUmkvWOrnW7xdH8o6','W7VcTJVdMSoi','WQ/dHc/dGG','W4GfWQZdICo5','W74aWQa','b39rfCoKW5XHv8kP','i++8M+w/VUwjT+woL+MfRowdIUs6RmkU','xCoYlu3dPCkmWQCEWOrNlCoaW6FcOvW','yhdcUgDD','ECkfWQVdKCk9zq','nmkkggnwW5tcHvtdG3f4dq','BCoBuCoVWPG','WOBdPmkJWOj8W7tdHSo0WO7cRCoVWRb0eG','sq7cQmkMh8kBWOX9jaaBFCoi','aW3dUGmoefpcRCoFWP7dJmoo','sSorW6y1W7TriWy','mSktWRC2Emoehs4','qY1cW7u0','WORVVlVLVjVLI7RLJPVPHOhLG5BKUP7dNa','B++8S+w+MEwjUowpOEMhREwaV+s7RSou','W5eAW4WUWQNdVf4gWRC','kbCoWOXNgsjcW7C','qL7cRNbxrG','WPRdSc1NWPddLbVcN1xcSYm','W4dcP3G','WPG9eYCD','ghhdIx8j','WOBdOJv9WOpcUMG','qmoGo3JdG8kqWOOwWPrR','CrZcGmkvW7ajWOFdI8osW5H0emkpWOFdJ8ooW4a','WPm1fG','W6BcNMuTW74','W4/dLWChqG','c+AwLoAvSoEyGUwoREMgHowdRo+9OEMyHEs+TUIVQEE9MoMuQ+IUI++/SEAES+wNJ+wmU+MhLEwaO+s6OCoM','DxDuEeW','WOxdGb/dLSkQ','WRimms8','W44UWRO1nW','aCk5WRa','rmoMwq','6l+A55g36ycX5OMVtXa','W6e5lCk8Ea','5y2L6ys354Up5OcB57I75PYlW4lcSbZdRq1YaHVcR3m','lmk+W50uWQm','W4FdL0mHWO/cTLzH','vdGrgmoeW5S','WOSnnwJdTHO4WOtcLKPeW7OnWRCFWPnH','dCkuW4u','WQqVhmkyW50','WReYcmkQW6O','8jklOei','W67LP67NPBH5W53MN5/KVBy','h8oagG','W5qAW5qmWOxdPMWsWRbrW7RcRLBcNCkyWQW','jqioWQzTgq','5AEn56sI5OMV5yE/WODs','suXOW6XU','4P23WOtOHPNMNAROVz/OOBtPGiVLIzJKU5JPLBpOR4je','W68uW4a','wcOjfmoQW5TPESkh','5Awx56sCfEAEHUMQRq','WQ3dL0JdUCokfSkVWRC','WPDrWPNcQG','pCorFCo1hmoXamkfzICkW6FcTchcGSk6hq','W7/cM37cKSo7WRNcK8oDW77cLcq','WO/dIw7cICkFrr3dTSkgCq','W5/dNx4YWONcTW','jHWqW5i1','W545WRe3mq','WPBdPCk0WR1mW7S','W4pdLCoDdvFdMmkyoeaZD8own8ou','jCooE8oWf8oC','WQXCBW','DqFcK8ksW7elWP/dLmoGW4nL','WO8ZfmknW47cMWjWgmoA','WPbmWOtcNXxdOcFdT8kq','BrTF','W4OqW7nFWOO','nK/dOgGJ','W50iW5qIWOFdVa','b3bYW7pcIG','nSkDWOahzmoj','W4BLPjZNPPlcTSkD5PYj5l+c','W5dcKsFdTCopf1xcPCop','W5FdMwq0','W7yRWPhdV8o0z8o8Emo2','ehBdGf8','WR7dNIxdOSkNWRG','b8k1WQxcLCkGpW','WOfZb8ovbq','xUE7HoAFSJdNUPZNRltMLidPLAlVV68','aWhcJHepq0vKa3r1bbLOW5/cNa','W5ZcQxSsW4FdTa','rSk6WOZdRa','WOBcPNSSW7ddLa','W5ZcIWPZWO86','wXlcG8oV','W5pdN8oBiLZdTmkgiwiqC8ojmCo5WPhdQJO','gmkBW4eyWOFdTmoTnCosWP0','W54EW5miWOxdVf0gWRa','Bgyqb8orW5LlzSkwvfFcUdmIWPJdNCknW4feyX3dLW','jHCuWQH2hW','mGOcWRD6dYLpW7ZdPSkOlCoYp2HOWQpcGYddQ8oDxGddRcGWW7mxWOHoW4nGWP0ZW4ldNCkbxv3cMG','6lEM5y+e5PEO5PwO','gNBdMvS','e8kYWRlcQ8kNmxBdPMxcQa','W5BdIMiyWO7cUa','E8kqWQZdI8kZBmkA','hmoiW6lcHCoVnSocEdTinW','WP5mWP7cUqZdPW','bSoClNxcImoFtWi','6zUd5l2G6ygv5OQJrdC','aSosgutcLmos','WPbmWOtcLXBdQt3dJ8klkW','WReLkNBdNq','qrBcMCoOqemN','xH7cUmkDW6e','y8kgWRRdISkry8kqlguqzSotm2O','W64EW5rDWOJdRmol','A19CW5HmW4Kh','h3tdMxmR','W4OvWRWkmCk+WRJdTSkBW68y','zSkbWOddImk7zq','WRnhAvq8lW'],...(function(){return[...['W5/cHZq','5AsK56EBDW','DqBcKmkWW7O6WOFdJW','W4ldJxuMWONcTLDOemo6','WPPiWOpcMr3dUXddUmkxmCoSW4iEWRnrWOq','W4GvWRSimmkYWQtdRmk7W6q','W5ZdIgq8WPlcSq','WRZVVPlLV5xLIAlLJRdPH5ZLGB/KU7G/','W48oW4u6WPxdT10hWQPxW7C','W6G/WPJdK8otECo5Eq','s2b1x0BcKZRdQMy','qbZcJq','d8kyWOiZEa','WP82aCksW5pcKqXQomorWRipe8oUcaVcTmkIWQ5WWOKbnetcHYmPW450lSoEz8kU','DblcNmkDW7SN','tq5RW6Wa','qCo8dx7dSSkrWOSy','oSoYwmkmWO8','W6O/WP/dQCojymoJyW','WPVcOMWAW7/dL8kf','W7eUWQxdRCoeFSotFSo3h8oWFCkDB8k9','pgzqW67cLmo9W6tcG30','WPhdV8oIAGz3','W5ObWQOyla','CGbkW68Blmk5c2m','W7NMLBFMLO7NMBtLJ6FPHzpLGPxVVPhOVlBNK4VML7pORAFNVANPLB/ORytVV5/MN5hLP5ZLJOZPHPtLGPdKUQ7dRW','W7/cPYJdKh7dKq','WPRcQhG','z01oW5LjW4CmW4iNxCkltq','WRxdL3W','wCo8oq','WOhcPNyD','cNJdVK49W4RcMmoX','u+AFGEwGMowgN+IUJUs6OEEtO+wpV+MfUo+8LoI/JoErOoAiU+AXVos5LEAjNEIHJ0y','W77dMCk/yNRdKW','AfTcW44','Fq0sgmoY','d8oVq8kCWQvQpSk+','qIqqhCohW7zSF8k0EqtcUIDsWQ7dGCkI','w8o6pwhdJSkzWOGA','w8o9xZBdNLSOeCopf8o4','W78oWQZcVsL5u8oXca','W40oW4i4WPtdU0eDWOPC','W5FcHIhdM8oq','wLtcI0by','W6SRWP7dN8otBq','iNjlW67cR8obW7hcKKVdUgySWQfUza','6k6f5lMZ55oP6zQe5lYS6ycT5OQRWRXr','W6ioWQpcNq5Z','WRDCEKWTh8kyWOdcRmo4n8k6srVcPCk8hW','5AAA56Ed772h6zQ45l+eW7pOViNNKOBKUQ7MLQJPGztMIRZVV6y','dCkiW4e0WPNdOa','W4pcUgS+W4BdVG','WPJcRNWcW5ddKCkncW','CafDW7ubiSk/a1pdNW','WPania','BLnIW6fB','h8osdq','44gU5O+h56Ax44cR6k645yER6i2b5y2aWRBcUXfnqK0','WQfoz+wpNoMfNwHTW4BdSqWpWQDqW5/PGBNMIjFLR73LUyFLP6/POjO','5PQi5AAa6zIS5l+06yoE5OUrCCkl','hmk0W6CEWRS','DComW5f3omoimHeDymoC','WOpdTSkIWRvrW7G','rWFcOmkQW4e','kSk8W508WQm','WPhcQh4fW6/dHCkfhsRdLqLs','WPxdPSoUqbW','WQ7dJJ/dRSkNWRRcVCotW6VcQW','WOzgWQpcQGRdPJZdVG','WP4GoZOF','W7m4WQpdQSoo','oSowvmkiWRa','W7KVWO7dM8oqzSo5y8o2','W7RdJCkPsvRdGHS','WOtcHCoMgINcIKSkiCornW','rtmWgSoZ','WPumjgJdPZ0OWOC','WPNcT2SaW7hdNG','W5dcNqPPWOKZWPO','W5JdNwKM','W7SaWRq','jH0D','zXTkW4mukmk4','WOpdU8oYBGv8nSkSea','cCkkWQmfsq','W4tdMxKH','8kkBHCoC','WOtORyFMS6VLKOpLUQZcLW','W5pcKJhcP8ksvCoR5B+q5AET44kF5lQ65lM66lEZ5y6p','xvVcRKy','jwHOW7/cR8o6W7RcKq','WQGcdZ4mbCk0cW','o8kob0vcW4/cK1ldHa','W4RcLWT2WOWxWORdVwBcPvu8tg7dVsm4','W4n7tmodWOFdJ1aJBmkd','e3ldNKKUW4tcKW','wXZcMmo3rwC3W7zna35fW63dUxL9W44','W5NdNe8IWOtcQgDHnSo/WR3dR0XOrWO','WR3dRLRdRSoc','b8kPWQe','hmkvW6anWPJdRSohmW','W7CLWP0','W54fWQOZCCkOWR8','6zUt5l6M6ygc6AoEW6NdVmoY5AEt56ES5yov5PsTDCoCEUAiR+AZVos6LoAuNbH5eUAkJUAYMUAVM+s8TY1To+w0HEAlGEwMO+EKSW','y8kgWRRdISkry8kqlguq','wXyp5y2Z6yEIWP9cWPDtb8oibJfx6yc05OM75AYt5BIL5Aw+6Ac7','x8oMtdhdN1KWdSo9dmoPoCkzd8knp8kc','BGFcHSkjW6DWW53cLmoLW59+tCkrW6hdISohWOT2fSkOW73dOL3dPmk5Dc8Ew8k4W6CdW5JdV8kyWOtdO2qFFfWdW4CnWOfHnCozWPj+tmkYW4afttuTWOT4WP/cLCoja8klcCo8iXyehCotCq','xhvZvW','BSopy8oBWQXQW4i','pmkfbq','WO4NfCk7W5tcLG','w+ACREwHKoweKUI8HUEsKoAxPowmRUMhHU++LEI/MUErO+AjNEAZTEs4NEAjOUIIL8k1','W53ML5FMLidNMlpLJPVPHOhLG5BVVQJORk7KUihNKAtORRZNV4xPLkpOR6xVVBNMNyNLPyBLJjZPHl7LGyxKUjiG','WQxdHsJdI8k8WRJcT8o2','WQbeWPtcMYK','sbzCW4eq','cfJdQMig','5As056AV77+B6zUh5l+ED+I/GUEsI+s4HUAwVoMdLUAiM++/La','zmkuWRhdNmk9zG','ztGN5y+U6yENW4vZWR4/bsFdUCo0WQJdLSkev8kB6ykk5OQ95AYA5BU85Awy6Ao5','6k2F5lUh55cC6ygG6AoNWPdLPRBNPiBLGzpML4Xg5OQP5Rc45lQb5PA3WOZMI4tMSjpMR5JKV6bt5Bwg5OI65AsT56EM','mmkff2nF','fmo7qmk+WRjmcCkXW4SfW78ommofdCoK','jXZcJXCa','WRZdTSkLWPvV','AvP1uva','W6ldL8k8','WQddHcW','W7aoWQNcSYLZ','W43cMr1FWOyW','xf7cP1a','wSohW7CpW6S','tbdcRq','nEs7KoEsSfxdIUwnN+MfPMxcHSooW6VcPSk8W5nQWRddPSoOWRVcJ+MaJ+AiP+wUO+w6VowNUUMGUq','eWhcNreIBKbHma','uSo8p2BdICkwWPukWOm','W4aAomkBta','WRaimI0kba','WR/dNYRdJmkSWP3cV8oQW7hcTIK','WPJcKKO7W7O','ffhdVq','W5eAW4WUWPhdP0SaWRDrW7BcIq','6k+J5lMY55g56zUq5lYp6yg+5OQ4dCoF','BHlcGCk+W7e+WRddMSoMW4rYkSksWQNdJW','W4qzWRhcKJe','W6yAWRxcTI5ItG','W68pgSk3ymo9','gai1W4KF','AHZcLq','yCopzmoRWQHJW5rZuq','uc8UamoZ','W5SEW5mdW5xdOvO','5AA356E2WQVMNk/PQRa','WQhdJJJdLmkOWRVcTW','W57cMZq','r1ZdJK9AmqvfhMXQpX0','W4WAW4moWO7dTG','s8ofW6CdW6fC'],...(function(){return['FrNcHmo0uW','o8kiW4atWOe','WRbzbmoqjG','ebegW68tWR0','qCoNFZddIa','W7VcTb5RWO8','pSkeeMPwW5tcHvtdG3f4dq','sCo5tJhdKNKKcSotfSoIzCksASkvjCkqxSoSWOZdOSotWQNdIfWhWQKbrmonWRJcNmkh','qMPGW4zo','qSo8lgBdPmk7WPapWRb7k8o6W7RcJ1ZcS3y','WObCWP7cMXBdQW','BXvvW6m','WRFMN5lLOjlLHOpOVlpNKzFMLO/LJzxPH67VV5ZOV6VNKyZMIQRMS47KUP/MIkNOOje0','WOFdKhy+WRNcIMO','ar3cMq8OAf99j2r8hHLE','W7O2W51fWRS','WP/dSSkOWPDlW7q','WPxcImoqbNhdLCkufG','W70LWOJdN8oCASoK','W6dOR4tMSyRLPjhOTAX84P2XW5dMLiVLKydLU4BMLRNMJzq','nCkefa','rv/dJuPCmaiKbwTQbHbO','WRRdKmk9tfddOIq','WQP+E0Wk','W5pdTCoZkeK','CUAkQ+AXSUMBGowiMo++UoAEV+s9Ma','oqyBWQrNnJXyW7hdSmkK','kSkEeu9jW5hcLvm','WQDwlmoYlsO','fJTYqKhcMcdcO01tzCkOWRJdRSkNW4aDW7JdRdNcJGDG','gSk9dtNdVhm9jSoG','AbP5W6Sg','WQjelCo2mZ7cVSoiW7q','5zYp5Q2Q5l6d5OcE7765','WPbmWOtcNr3dOshdRmkx','WReEoW','p8kch3jcW5m','WQ7cU8oM5yYO6yEWWQ3cICkVW43dU8kJW60Nu8kfW73dV8oB6ygD5OQY5A2v5BIa5AEI6AcJ','qoADNUI8LoAuUEMxTU+9Rq','n2b4W7ZcNa','qbBcHmo8vuW','WP4hm0FdTZC+WOhcOG','fvddQu4L','W70JWOi','5Oco6l2i55gD5Pw66ykj6AkbW4xLPkNNPP/LGipMLl7cQEAiNoAWR+s6IEAwRJpMIiBMSz3MR4tKVO0s5Bso5OIs5Aw/56Ez','e8oQr8kqWRHw','W4NcLYPUWPO9WPhdQG','amkIWQpcM8k2nMRdVv8','W7NdMCkYuW','ESkAWRG','W5KtWOddQCo8','omolyCoCfSow','dCkYWQpcNSk/ox4','6kYQ5lMQ55g3','WQvBa8otmq','aCkOWRpcVq','44kl5O6A56Ea44kl6k2k5ywb6iY75y+BW4esW5z4WOr/','qowKPUEKIUEPToEnOCot5REN5yQI5PAx6zsk776q','WPmNgSkBW4VcHWHTjCoxWRno','5OMc5RoF5OMy5yIO772p5OUB5yAp','uCo8mg8','ECohtdRdGW','5z615Q+N5l6T5Oo677Yk','bmkvW5q','Bb1wW4ealSkJhLtdJJO','WRvspmo+lsJcHCoYW6HY','cf/dVSovqmog','W7q6WO7dS8oszW','WOldOSkJWOnlW7xdHSoZWQtcRa','WPOnnuhdSZOL','WR0Gd1xdKa','W4BcMWddGmoqeu7cRa','W7akWRpcKq5XtmoseYC','EGtcO8oJDG','W5dcKsFdVComhK/cNCoupW','iSoBW6G','WQ3dIwhdPSo+','WRrcCKSp','6zUg5l616ycs5OMKWOiK','W7G0W40jWQ0','rCoYoK/dRSkC','kbvfW49UW4enW44Auq','gahcMW','WQ4EoSknW68','5B2M5yIg5z2y5Q2q7765','xSo8duhdLa','fwzc','W5/cNq1tWOyYWPddM07cOW','W5VdUY82y8kv','W5/dL3C','WR/cPxSUW7S','rd7cLCkjW7u','W4pcGtBdH8oweu/cPq','5y+J6ywR54I15Ogh57MC5P2NCvvJvXbZWO3cLw4n','W5xdHCompuZdNSkCp2Wb','uCoPW7aQW4W','WP9mWOpcRrNdQdC','ufRcVNXxrgZcGSoGWQO','WOFcSNOAW6RdMCkpabFdMa','hCoRw2ZdMq','W5xcMZldMmotduxcUmopjCkIxa','WR/cISoRespcHszotmkRwuC','DmkqWQVdSCk8BCkqe2Kg','toAuNoAwRoEBHUwpKUMfOUwbJ++9HEI+VoEqR+AxLEITUUE8LEMuSUISK++8JUADNUwKS+wnG+MhP+wbVUs7TIe','6l+D55gW6yo75OIqWQ4r','c2tdIeGmW4VcMCo/WPBcSq','xXZcH8o+','WOZdI37dV8o2hSkSWRu','W58jWQy','v8olW6q','WOZORl/MSz3LPABOTOZcSokFVSoq','W7RcRb7dPSoo','cSkIWRBcVmk2kMO','oSoFA8oCfSow','gCo0rq','WOFdSCo0AGLWkW','WOBdSSotzIi','WP7cS2SzW63cISopqs7dJGLyWRvnW6NdGx/cKwHfemoBW4i','rJ4aomonW4vSEW','WQKEotG9bmk1bCk8BSo1hCkezq','WQNdMx/dImowgW','WOBdSCoNqYf9m8k3ea','W5NcOY/dNhq','W7xcJeCYW6S','vSoxW6q','WROeja','WQ/ORlhMSi7LKzJLUOtcLq','W5O8WQZdKmoj','W7JML4NMLRJNMzRLJQdPHydLGA7VVPxORy3KUzJNKOZORlxNVj7PL4ZOR5hVV7VMNlBLPAtLJ5dPH67LGk/KURhcNq','5AEv56sc77245B6d5yMz5y2n6yw65ygP5lQeWPa','jMHjW6FcUCoqW6hcHK7dRgqtWRTvF2JcVG','cSkFW4CWWOtdOCogaSojWO8','gr3cMW','W5VcMJddMmoxhexcUa','W6WoemkJ','W7CuW7rAWPVdOSoakG','WQ1aBW','5z2i5Q6s5l6C5OgU77+G','WQHrxwGl','W6NdNCk1CMhdNHi','taZcQSkIhCkqW7P+jbGdFG','dbumW40jWRe','W5auW4a','W7epbCkLCCoMW4e','DrTRW7ihiSk+cG','WPVcPNqmW5FdNSkqgYO','W6yuW4neWOa','W40pWO0pnSkYWQxdPq','W7Cfj8kKzSo8W5SY','W5hcNrD9WPW8','WRbsBguNoa','WRpMLOdMLPBNM7/LJPZPHjtLG7FVVO7OVkNNKOpMLiBORPJNVjZPLjZORRxVVl7MNkxLPltLJRhPHRdLG5NKUllcJa','WO0YemkkW4/cGq','WRvLWO/dRSouzCo/iSoqgmoBDSkbACkwnSovA8k4gGGOWRieW5BdJsC','WQ7dJJ/dPSkKWRpcP8oRW7a','W5/cVh48W4ZdKq/cN3lcHZ8','5y+J6ywR5B6d5zgP54I55Oc5CvvJvXbZWO3cLw4n','o8kob0DkW47cLuNdGW','g8o/r8k1WRzmlSkJW4WTW6W3cmogemoKWOuUAa'];}())];}())];}());Iii11l=function(){return Iiilli;};return Iii11l();};function iii1II(_0x255f7e,_0x4c7371){const _0x2b6adc=Iii11l();return iii1II=function(_0x334baa,_0x556452){_0x334baa=_0x334baa-0xb5;let _0x2a320c=_0x2b6adc[_0x334baa];if(iii1II['KQtXMX']===undefined){var _0x2255bf=function(_0x2c24e9){const _0x5b56cd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4da5f2='',_0x5992b2='';for(let _0x5ee6b8=0x0,_0x4650bf,_0x149d84,_0x30140a=0x0;_0x149d84=_0x2c24e9['charAt'](_0x30140a++);~_0x149d84&&(_0x4650bf=_0x5ee6b8%0x4?_0x4650bf*0x40+_0x149d84:_0x149d84,_0x5ee6b8++%0x4)?_0x4da5f2+=String['fromCharCode'](0xff&_0x4650bf>>(-0x2*_0x5ee6b8&0x6)):0x0){_0x149d84=_0x5b56cd['indexOf'](_0x149d84);}for(let _0x5c591e=0x0,_0x431eba=_0x4da5f2['length'];_0x5c591e<_0x431eba;_0x5c591e++){_0x5992b2+='%'+('00'+_0x4da5f2['charCodeAt'](_0x5c591e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5992b2);};const _0x3edfaf=function(_0x35ddc6,_0x1b3c03){let _0x26c3e8=[],_0x58930a=0x0,_0x1dfd0d,_0x39ee51='';_0x35ddc6=_0x2255bf(_0x35ddc6);let _0x1348bb;for(_0x1348bb=0x0;_0x1348bb<0x100;_0x1348bb++){_0x26c3e8[_0x1348bb]=_0x1348bb;}for(_0x1348bb=0x0;_0x1348bb<0x100;_0x1348bb++){_0x58930a=(_0x58930a+_0x26c3e8[_0x1348bb]+_0x1b3c03['charCodeAt'](_0x1348bb%_0x1b3c03['length']))%0x100,_0x1dfd0d=_0x26c3e8[_0x1348bb],_0x26c3e8[_0x1348bb]=_0x26c3e8[_0x58930a],_0x26c3e8[_0x58930a]=_0x1dfd0d;}_0x1348bb=0x0,_0x58930a=0x0;for(let _0x129da6=0x0;_0x129da6<_0x35ddc6['length'];_0x129da6++){_0x1348bb=(_0x1348bb+0x1)%0x100,_0x58930a=(_0x58930a+_0x26c3e8[_0x1348bb])%0x100,_0x1dfd0d=_0x26c3e8[_0x1348bb],_0x26c3e8[_0x1348bb]=_0x26c3e8[_0x58930a],_0x26c3e8[_0x58930a]=_0x1dfd0d,_0x39ee51+=String['fromCharCode'](_0x35ddc6['charCodeAt'](_0x129da6)^_0x26c3e8[(_0x26c3e8[_0x1348bb]+_0x26c3e8[_0x58930a])%0x100]);}return _0x39ee51;};iii1II['sfCWVD']=_0x3edfaf,_0x255f7e=arguments,iii1II['KQtXMX']=!![];}const _0x275f77=_0x2b6adc[0x0],_0x34ab06=_0x334baa+_0x275f77,_0x1647d5=_0x255f7e[_0x34ab06];return!_0x1647d5?(iii1II['WXBfwI']===undefined&&(iii1II['WXBfwI']=!![]),_0x2a320c=iii1II['sfCWVD'](_0x2a320c,_0x556452),_0x255f7e[_0x34ab06]=_0x2a320c):_0x2a320c=_0x1647d5,_0x2a320c;},iii1II(_0x255f7e,_0x4c7371);}const cookiesArr=Object[l1i1I1(0xea,'Cdm3')](jdCookie)[l1i1I1(0xd3,'Th2h')](i1i11l=>jdCookie[i1i11l])[l1i1I1(0x15e,'6rsf')](i1i11i=>i1i11i);!cookiesArr[0x0]&&($[l1i1I1(0x1b6,'^%8!')]($[l1i1I1(0xbd,'!qb!')],l1i1I1(0x172,'C2%@')),process[l1i1I1(0x239,'XwE]')](0x1));!(async()=>{const llIIil=l1i1I1,II11l1={'gYoLu':function(Iil1lI,IiiliI){return Iil1lI<IiiliI;},'hrYps':function(iii1iI,llIll){return iii1iI+llIll;},'OtyTP':function(il1iII,iilli){return il1iII(iilli);},'nqAGU':function(IlllIl){return IlllIl();}};notify['config']({'title':$[llIIil(0x145,'15lM')]});for(let II11lI=0x0;II11l1[llIIil(0x23f,'xC(%')](II11lI,cookiesArr[llIIil(0x1c7,'JTrG')]);II11lI++){$[llIIil(0x115,'6rsf')]=II11l1[llIIil(0xe1,'C2%@')](II11lI,0x1),cookie=cookiesArr[II11lI],common['setCookie'](cookie),$['UserName']=II11l1[llIIil(0x22c,'^S*W')](decodeURIComponent,common[llIIil(0x241,'R8%n')](cookie,llIIil(0x275,'piJ)'))),$['UA']=common['genUA']($['UserName']),$['UUID']=common[llIIil(0x1c5,'^K$%')](llIIil(0x261,'D!oP')),$[llIIil(0x19a,'XwE]')]=notify['create']($['index'],$['UserName']),$[llIIil(0xc1,'fETg')]='',console[llIIil(0x14e,'6rsf')](llIIil(0xf3,'i#x(')+$[llIIil(0x1e7,')y&c')]+'】'+($[llIIil(0xcf,'8mAR')]||$[llIIil(0x1a5,'i#x(')])+llIIil(0x216,'cHrl')),await II11l1[llIIil(0x206,']$XV')](Main),common['unsetCookie']();if($[llIIil(0x252,'Sx62')])break;await $['wait'](parseInt(Math['random']()*0x3e8+0x3e8,0xa));}})()[l1i1I1(0x28e,'xC(%')](lI1IIi=>$['logErr'](lI1IIi))['finally'](()=>$[l1i1I1(0x176,'fETg')]());async function Main(){const llIIii=l1i1I1,I1l11I={'BFnEI':function(Ilil1l,iIIiii){return Ilil1l===iIIiii;},'RQnnn':'zvIMe','yOCeW':llIIii(0x1fc,'t#Ea'),'dVAcz':llIIii(0x102,'Sx62'),'BMgpa':llIIii(0x170,'tGUA'),'kwlKt':llIIii(0x248,'YAG)'),'rSjVp':function(iilll,il1iI1){return iilll!==il1iI1;},'JZzfq':'Pdfhg','QNrgx':function(IlllIi,iIIiil){return IlllIi===iIIiil;},'OvGGC':llIIii(0x224,'#8&J'),'vOGXI':llIIii(0x114,'8mAR'),'tqzkF':function(i1l1Ii,I1iIIi){return i1l1Ii<=I1iIIi;},'glUIJ':function(I1iIIl,lI1IIl){return I1iIIl-lI1IIl;},'BSmbM':function(i1ilI,iii1lI){return i1ilI-iii1lI;},'ROrRd':'boolean','DPOmc':llIIii(0x262,'LneM'),'hkAua':'worldCupGuessHome','inAms':'GUvUv','YDXeB':llIIii(0x161,'OVdI'),'qDQmF':function(i1ilI1,Iiilii){return i1ilI1-Iiilii;},'AvVJt':'PdvYU','FlrxH':function(Iil1li,Iiilil){return Iil1li<=Iiilil;},'JrPeU':function(Iil1ll,iillI){return Iil1ll(iillI);},'qJoAb':function(lI1III,IIliIi){return lI1III+IIliIi;},'qiSuW':function(IllIiI,i1il1){return IllIiI(i1il1);},'jMslC':'worldCupGuessBet','wEZfq':function(I1l111,IIii1l,I1iIII){return I1l111(IIii1l,I1iIII);},'FhkuX':function(liiI11,ililI1){return liiI11+ililI1;},'FRErf':llIIii(0xda,'^Cwp'),'McSNd':'jfags','tNTgQ':'yqCqM'};try{const IIii1i=await common['getLoginStatus'](cookie);if(!IIii1i&&typeof IIii1i===I1l11I[llIIii(0x203,'Vqon')]){console[llIIii(0x222,'O42)')](I1l11I[llIIii(0x214,'c8^Y')]),$[llIIii(0x26e,'bo3A')][llIIii(0x1b7,'c8^Y')](I1l11I[llIIii(0x142,'!qb!')]);return;}$[llIIii(0xbf,'5YYz')]=![],$[llIIii(0xdd,'mkGl')]=![],$['worldCupGuessHome']='',await sendRequest(I1l11I[llIIii(0xc6,'Vqon')]);if($[llIIii(0x23a,')y&c')]){if(llIIii(0x10f,'15lM')!==llIIii(0x194,'8mAR'))iiili1[llIIii(0x1fa,']$XV')](ill11i),lllill&&(Ill11[llIIii(0x16e,'WDvh')]=!![],liiIII[llIIii(0x266,'piJ)')]&&il1i1l[llIIii(0xe9,'b#g*')][llIIii(0x165,'C2%@')](IlIlll));else{$['id']=$[llIIii(0xcb,'LneM')]['id'],$[llIIii(0x11c,'CXz(')]=$[llIIii(0xc0,'Q)Ql')]['bankId'],$[llIIii(0x11f,'^%8!')]=$[llIIii(0x218,'^Cwp')]['actId'];const Iiill1=$['worldCupGuessHome'][llIIii(0x1f9,')y&c')],I1iII1=$['worldCupGuessHome'][llIIii(0x17a,'15lM')],lilII1=$[llIIii(0x25c,'R8%n')]['maxGuessNum'],iill1=$['worldCupGuessHome']['displayStartTime'],iii1l1=$['worldCupGuessHome'][llIIii(0x1de,'5YYz')],IIliIl=$[llIIii(0x105,'O42)')][llIIii(0x1eb,'S^2v')],II11ll=$[llIIii(0x218,'^Cwp')][llIIii(0xb6,'!qb!')],liiI1I=$[llIIii(0x1e3,'C2%@')]['betInfoVos']||[],ililII=$[llIIii(0x218,'^Cwp')]['subjectList']||[];!$[llIIii(0x202,'fETg')]&&($[llIIii(0x12b,'^Cwp')]=!![],console[llIIii(0x130,'^Cwp')](llIIii(0x18e,'Q)Ql')+Iiill1+llIIii(0x173,'JTrG')+iill1+llIIii(0x190,'Q)Ql')+iii1l1+llIIii(0x160,'D!oP')+IIliIl+llIIii(0x255,'Fc4r')+II11ll+llIIii(0x153,'N#Pm')+I1iII1+llIIii(0x134,'mkGl')+lilII1+llIIii(0x278,'Th2h')));console[llIIii(0x1c8,']yHu')](llIIii(0x1c3,'Th2h')+$[llIIii(0x25c,'R8%n')][llIIii(0x289,'C2%@')]),console[llIIii(0x16b,'piJ)')](I1l11I[llIIii(0xfd,'i#x(')]);for(let lI1II1=0x0;lI1II1<liiI1I[llIIii(0x268,'XwE]')];lI1II1++){if(I1l11I['rSjVp'](I1l11I[llIIii(0x159,'15lM')],I1l11I[llIIii(0x13e,'O42)')]))I1lIil['wheelsLotteryHot']=!![];else{const iIIii1=liiI1I[lI1II1],IllIi1=iIIii1['option'][llIIii(0x211,'Vqon')](0xa),lilIII=iIIii1[llIIii(0x1dd,'e&NB')]['toString']()['padEnd'](0xa),Ii1ilI=iIIii1[llIIii(0xe3,'C2%@')]['toString']()[llIIii(0x211,'Vqon')](0xa),II11i1=iIIii1[llIIii(0x210,'D!oP')]['toString']()['padEnd'](0xa),iliIil=iIIii1['stakeAmount'][llIIii(0x1fb,'8Ul!')]()[llIIii(0x10a,'^S*W')](0xa);console['log'](''+IllIi1+lilIII+Ii1ilI+II11i1+iliIil);}}ililII[llIIii(0x17f,'S^2v')](iliIii=>{const Ii1I1i=llIIii,lill1i={'LzSju':Ii1I1i(0xd4,'Fc4r')};if(['胜','平','负'][Ii1I1i(0x1a4,'bo3A')](il1li=>iliIii[Ii1I1i(0x20a,'^%8!')]['includes'](il1li))){if(I1l11I['BFnEI'](I1l11I['RQnnn'],I1l11I[Ii1I1i(0x1f2,'piJ)')]))lilIl1[Ii1I1i(0x219,'^S*W')](i1l1ii[Ii1I1i(0x251,'Fc4r')],lill1i[Ii1I1i(0x286,'15lM')]),i1l1['exit'](0x1);else{console[Ii1I1i(0xd1,'S^2v')](Ii1I1i(0x178,'e&NB')+iliIii[Ii1I1i(0x196,'t#Ea')]),console['log'](I1l11I['dVAcz']),iliIii[Ii1I1i(0x26c,'XwE]')][Ii1I1i(0xed,'15lM')](iilii=>{const llIIlI=Ii1I1i,Ill11i=iilii['option']['padEnd'](0xa),iilil=iilii['odds']['toString']()[llIIlI(0xca,'CXz(')](0xa),Ill11l=iilii['betAmount']['toString']()[llIIlI(0x18a,'fETg')](0xa),il1ll=iilii[llIIlI(0x131,']$XV')][llIIlI(0x238,'i#x(')]()[llIIlI(0x26b,'Th2h')](0xa),i1ilIi=iilii['stakeAmount']['toString']()[llIIlI(0x26b,'Th2h')](0xa);console[llIIlI(0x1e9,'8Ul!')](''+Ill11i+iilil+Ill11l+il1ll+i1ilIi);});if(subInput){if(I1l11I[Ii1I1i(0xdb,'Tj8j')](Ii1I1i(0x180,'S^2v'),Ii1I1i(0x12f,'JTrG')))lI1Ill['log'](Ii1I1i(0x146,'b#g*'));else{if(subInput>=0x1&&subInput<=iliIii[Ii1I1i(0x1bd,'Tj8j')][Ii1I1i(0x1ec,'tGUA')]){if(Ii1I1i(0x13c,'tGUA')===Ii1I1i(0x1c4,'LneM')){const i1iiI=IliI11[i1ll],i1ilIl=i1iiI[Ii1I1i(0xe8,'8mAR')][Ii1I1i(0x259,'8mAR')](0xa),llI11I=i1iiI[Ii1I1i(0x1c0,'#8&J')]['toString']()[Ii1I1i(0x138,']yHu')](0xa),Il1i11=i1iiI[Ii1I1i(0x1f1,']$XV')]['toString']()['padEnd'](0xa),iii1li=i1iiI[Ii1I1i(0x25e,']yHu')][Ii1I1i(0xff,'Tj8j')]()['padEnd'](0xa),Iil1i1=i1iiI[Ii1I1i(0x1d5,'cHrl')][Ii1I1i(0x227,'Cdm3')]()[Ii1I1i(0x1ab,')y&c')](0xa);i1l1lI['log'](''+i1ilIl+llI11I+Il1i11+iii1li+Iil1i1);}else $[Ii1I1i(0x155,'6rsf')]=iliIii[Ii1I1i(0x191,'b#g*')][subInput-0x1][Ii1I1i(0x242,')y&c')],$['subquestion']=iliIii[Ii1I1i(0x198,'R8%n')];}else I1l11I[Ii1I1i(0xe0,'c8^Y')]!==I1l11I[Ii1I1i(0x195,'^Cwp')]?iI1llI['log']('❌\x20脚本运行遇到了错误\x0a'+llliii):console['log'](Ii1I1i(0x1d1,'xC(%')+iliIii['betInfoVos'][Ii1I1i(0x260,'D!oP')]+']，当前变量值为['+subInput+']');}}else console[Ii1I1i(0x222,'O42)')]('\x0a未填写进球数变量，进球投注不执行~');}}else{if(['进球']['some'](iliIl1=>iliIii['question'][Ii1I1i(0xe7,'S^2v')](iliIl1)))I1l11I['kwlKt']!==Ii1I1i(0x21e,'Sx62')?(delete i11ill['data'],delete IIIIIi[Ii1I1i(0x1aa,'WDvh')]['Content-Type']):(console['log'](''),console[Ii1I1i(0x1df,'f$hU')](Ii1I1i(0x15b,'Q)Ql')+iliIii['question']),console[Ii1I1i(0x213,'cHrl')](Ii1I1i(0x166,'fETg')),iliIii['betInfoVos'][Ii1I1i(0x1ad,'mkGl')](iii1ll=>{const Ii1I1l=Ii1I1i,IIliI1=iii1ll[Ii1I1l(0x231,'D!oP')][Ii1I1l(0x259,'8mAR')](0xa),il1lI=iii1ll['odds'][Ii1I1l(0x1ce,'#8&J')]()['padEnd'](0xa),IliIIl=iii1ll[Ii1I1l(0xee,'mkGl')][Ii1I1l(0xf5,'OVdI')]()[Ii1I1l(0x28d,'mkGl')](0xa),I1il1l=iii1ll[Ii1I1l(0xf7,'6rsf')][Ii1I1l(0x181,'t#Ea')]()[Ii1I1l(0x24c,'WUDE')](0xa),lI1l1l=iii1ll[Ii1I1l(0x244,'^Cwp')][Ii1I1l(0x1c1,'YAG)')]()['padEnd'](0xa);console['log'](''+IIliI1+il1lI+IliIIl+I1il1l+lI1l1l);}),goalInput?goalInput>=0x1&&goalInput<=iliIii['betInfoVos'][Ii1I1i(0x23d,'Cdm3')]?I1l11I['rSjVp'](I1l11I['JZzfq'],Ii1I1i(0x124,'#8&J'))?($['goalInput']=iliIii['betInfoVos'][goalInput-0x1][Ii1I1i(0xce,'cHrl')],$[Ii1I1i(0x19e,'t#Ea')]=iliIii[Ii1I1i(0x1f5,'S^2v')]):II1lii['log'](Ii1I1i(0x10b,'OVdI')):console[Ii1I1i(0x1fa,']$XV')](Ii1I1i(0x290,'8Ul!')+iliIii[Ii1I1i(0xde,'Sx62')][Ii1I1i(0x1f0,'8mAR')]+']，当前变量值为['+goalInput+']'):I1l11I[Ii1I1i(0x119,'f$hU')](I1l11I[Ii1I1i(0xef,'WUDE')],I1l11I[Ii1I1i(0x233,'!qb!')])?console[Ii1I1i(0x1ff,'CXz(')](Ii1I1i(0x10b,'OVdI')):ilil1l[Ii1I1i(0x25a,'b#g*')](illlIi,I1lIii));else[Ii1I1i(0x16f,'#8&J')][Ii1I1i(0x1f4,'LneM')](Ill11I=>iliIii['question'][Ii1I1i(0x10d,'Sx62')](Ill11I))&&(console['log'](''),console[Ii1I1i(0x130,'^Cwp')]('场次信息：'+iliIii['question']),console[Ii1I1i(0x11b,'Sx62')](I1l11I[Ii1I1i(0x110,'Fc4r')]),iliIii[Ii1I1i(0x184,'t#Ea')][Ii1I1i(0x14c,'C2%@')](I1il1i=>{const IIlIl=Ii1I1i,IliIIi=I1il1i['option'][IIlIl(0x1b2,'i#x(')](0xa),lI1l1i=I1il1i['odds'][IIlIl(0x1cd,'xC(%')]()[IIlIl(0xc7,'C2%@')](0xa),i1iil=I1il1i[IIlIl(0x1d7,'6rsf')][IIlIl(0x1ca,'15lM')]()[IIlIl(0x291,'e&NB')](0xa),llI11l=I1il1i['betCensus'][IIlIl(0xba,'Fc4r')]()[IIlIl(0x139,'^%8!')](0xa),I1llIl=I1il1i['stakeAmount'][IIlIl(0x181,'t#Ea')]()[IIlIl(0x13d,'JTrG')](0xa);console['log'](''+IliIIi+lI1l1i+i1iil+llI11l+I1llIl);}),makeInput?makeInput>=0x1&&I1l11I[Ii1I1i(0x187,'LneM')](makeInput,iliIii['betInfoVos'][Ii1I1i(0x162,'bo3A')])?($[Ii1I1i(0x236,'Q)Ql')]=iliIii['betInfoVos'][I1l11I[Ii1I1i(0x1ae,'mkGl')](makeInput,0x1)]['option'],$['makequestion']=iliIii[Ii1I1i(0x1e1,'LneM')]):console[Ii1I1i(0x1a7,'^%8!')](Ii1I1i(0x10c,'tGUA')+iliIii['betInfoVos'][Ii1I1i(0x125,'c8^Y')]+Ii1I1i(0x20d,'tGUA')+makeInput+']'):console['log'](Ii1I1i(0xbb,'6rsf')));}});if(userInput>=0x1&&userInput<=liiI1I[llIIii(0x12e,'#8&J')])I1l11I[llIIii(0x1b5,'cHrl')]===llIIii(0x215,'Fc4r')?Illl1I>=0x1&&I1l11I[llIIii(0x186,'i#x(')](lliiiI,lilil['betInfoVos']['length'])?(llIlll[llIIii(0x1cb,'8mAR')]=lliii1[llIIii(0x182,'CXz(')][I1l11I['BSmbM'](Iiii1,0x1)]['option'],lIIili['makequestion']=IiiIil['questionId']):IiiIii[llIIii(0x243,'LneM')](llIIii(0x1ba,'XwE]')+IIlll[llIIii(0x17b,'tGUA')][llIIii(0x12e,'#8&J')]+llIIii(0x27e,'mkGl')+liliI+']'):$[llIIii(0x217,'fETg')]=liiI1I[I1l11I['qDQmF'](userInput,0x1)][llIIii(0x17d,'C2%@')];else{if(I1l11I['AvVJt']===I1l11I[llIIii(0x1b9,'C2%@')]){console[llIIii(0xb8,'fETg')](llIIii(0x21c,'15lM')+liiI1I[llIIii(0x1cf,'b#g*')]+llIIii(0x201,'Fc4r')+userInput+']'),$[llIIii(0x144,'XwE]')]=!![];return;}else{const IIii1I=I1lliI['option'][llIIii(0x26b,'Th2h')](0xa),llI11i=llIllI[llIIii(0xf4,'Vqon')][llIIii(0x1ce,'#8&J')]()[llIIii(0x156,'tGUA')](0xa),i1iIi1=I1ilI1[llIIii(0x1d4,'Sx62')]['toString']()[llIIii(0x11d,'b#g*')](0xa),l1l1il=iillll[llIIii(0x15c,'XwE]')][llIIii(0xf6,'c8^Y')]()[llIIii(0x257,'cHrl')](0xa),I11i1I=lIIilI[llIIii(0xc2,'O42)')][llIIii(0x168,'b#g*')]()[llIIii(0x24c,'WUDE')](0xa);II1li1[llIIii(0x18c,'Sv8f')](''+IIii1I+llI11i+i1iIi1+l1l1il+I11i1I);}}if(turnNum>=I1iII1&&I1l11I[llIIii(0x23e,'JTrG')](turnNum,lilII1))$[llIIii(0xe4,'^K$%')]=turnNum;else{console[llIIii(0x1e0,'^S*W')]('\x0a无效的变量值，投注奖票数值错误，最低'+I1iII1+llIIii(0x237,'15lM')+lilII1+llIIii(0x1bb,'#8&J')+turnNum+']'),$[llIIii(0x16d,')y&c')]=!![];return;}if(!$[llIIii(0x230,']yHu')]){$[llIIii(0x116,'5YYz')]=!![],console[llIIii(0x179,'Tj8j')](llIIii(0xe5,'^K$%')+$[llIIii(0x11e,'Vqon')]+'变量开启状态=========='),console[llIIii(0x1c8,']yHu')](llIIii(0x232,'C2%@')+$['turnNum']+llIIii(0x22e,'Cdm3')+I1iII1+'奖票-最高'+lilII1+'奖票'),console[llIIii(0x213,'cHrl')](llIIii(0x26a,'c8^Y')+$[llIIii(0x1a3,'Fc4r')]+'],\x20变量1\x202\x203\x20选择对应奖项');if($[llIIii(0x123,'fETg')])console['log'](llIIii(0x1a2,'^Cwp')+$[llIIii(0x122,'Sv8f')]+llIIii(0x121,'Tj8j'));if($[llIIii(0x28c,'OVdI')])console[llIIii(0x11a,'^K$%')](llIIii(0xc9,'bo3A')+$['makeInput']+llIIii(0x113,'f$hU'));if($['subInput'])console[llIIii(0x1df,'f$hU')]('更多队伍选择:['+$[llIIii(0x279,'^Cwp')]+llIIii(0xd5,'S^2v'));console[llIIii(0xb5,'8mAR')](llIIii(0x23c,'t#Ea')+$['name']+llIIii(0x225,'b#g*'));}console[llIIii(0xec,'D!oP')](llIIii(0x1f3,'5YYz'));$[llIIii(0x229,'S^2v')]&&$[llIIii(0x143,'fETg')][llIIii(0x1ee,'Q)Ql')]&&($[llIIii(0x27c,'xC(%')]=$[llIIii(0xfb,'bo3A')][llIIii(0x27a,'Cdm3')],$[llIIii(0x270,'piJ)')]=$[llIIii(0x217,'fETg')],await I1l11I[llIIii(0x1f6,'8Ul!')](sendRequest,llIIii(0x256,'Sv8f')),await $[llIIii(0xb9,'8mAR')](parseInt(I1l11I[llIIii(0x1da,'OVdI')](Math[llIIii(0x112,'piJ)')]()*0x5dc,0x5dc),0xa)));$[llIIii(0x1b3,'mkGl')]&&$[llIIii(0x140,'6rsf')]&&($[llIIii(0x264,'WDvh')]=$[llIIii(0xdc,'8mAR')],$[llIIii(0x207,'8Ul!')]=$['goalInput'],await I1l11I['qiSuW'](sendRequest,I1l11I[llIIii(0x151,'LneM')]),await $[llIIii(0xf0,'Cdm3')](parseInt(Math['random']()*0x5dc+0x5dc,0xa)));$[llIIii(0x250,'C2%@')]&&$[llIIii(0x205,'6rsf')]&&($[llIIii(0x17e,'8Ul!')]=$[llIIii(0x174,'^S*W')],$[llIIii(0x148,'Sv8f')]=$[llIIii(0xc3,'CXz(')],await sendRequest(I1l11I[llIIii(0x199,'^%8!')]),await $[llIIii(0x16a,'^K$%')](I1l11I[llIIii(0x152,'R8%n')](parseInt,I1l11I['FhkuX'](Math[llIIii(0x285,'^Cwp')]()*0x5dc,0x5dc),0xa)));if($[llIIii(0x1b0,'Q)Ql')]&&$[llIIii(0x27f,']yHu')]){if(I1l11I[llIIii(0x177,'O42)')](I1l11I['FRErf'],I1l11I[llIIii(0x21d,'f$hU')])){const l1l1ii=i1lI['option'][llIIii(0x1d0,'LneM')](0xa),Il1i1I=IlI1l['odds'][llIIii(0x20b,'WUDE')]()[llIIii(0xd9,'8Ul!')](0xa),Ii1iii=lilIil[llIIii(0x24e,'t#Ea')][llIIii(0x269,'Th2h')]()[llIIii(0xc7,'C2%@')](0xa),iIIilI=i1l11[llIIii(0x163,'S^2v')][llIIii(0x287,'fETg')]()['padEnd'](0xa),il1l1=i1l1li[llIIii(0x126,'Sx62')][llIIii(0xdf,'XwE]')]()['padEnd'](0xa);i1ilii['log'](''+l1l1ii+Il1i1I+Ii1iii+iIIilI+il1l1);}else $[llIIii(0xd0,'15lM')]=$[llIIii(0x274,'xC(%')],$[llIIii(0x1e8,'f$hU')]=$['subInput'],await sendRequest(I1l11I['jMslC']),await $[llIIii(0x1ed,'mkGl')](parseInt(I1l11I[llIIii(0x288,'5YYz')](Math[llIIii(0x192,'%daZ')]()*0x5dc,0x5dc),0xa));}}}}catch(Ii1iil){llIIii(0x18f,'fETg')!==I1l11I[llIIii(0xd7,'Tj8j')]?console['log'](llIIii(0x234,'^%8!')+Ii1iil):i1i1II[llIIii(0xd1,'S^2v')](''+(liiIIl[llIIii(0x240,'8Ul!')]||iil1iI[llIIii(0x15d,'c8^Y')]));}}async function handleResponse(iili1,II11ii){const ili11l=l1i1I1,Iil1iI={'VvvJQ':function(II11il,iIIil1){return II11il==iIIil1;},'zKsMK':'DRoQe','Qjnor':function(IlllII,I1il1I){return IlllII===I1il1I;},'xqbEO':function(II111,lI1l1I){return II111!==lI1l1I;},'Idfqr':'EDaWI','hiMJv':ili11l(0x22b,'^S*W'),'BPIvG':ili11l(0x226,'Tj8j')};try{switch(iili1){case ili11l(0xf8,'b#g*'):if(Iil1iI[ili11l(0x12c,'CXz(')](II11ii[ili11l(0x1fd,'Sx62')],0x0)&&II11ii['success'])$[ili11l(0x1bc,'OVdI')]=II11ii['data'];else{if(II11ii[ili11l(0x253,'WDvh')]||II11ii[ili11l(0x1be,'Sv8f')])console['log'](''+(II11ii[ili11l(0xcd,'Tj8j')]||II11ii[ili11l(0x22f,'Th2h')]));else II11ii[ili11l(0x272,'!qb!')]?console['log'](''+II11ii['message']):ili11l(0x1f7,'c8^Y')===Iil1iI[ili11l(0x1d9,'Cdm3')]?lIII1i['userChoice']=l11i11[IilIl1-0x1][ili11l(0x204,'piJ)')]:console['log']('❓'+iili1+'\x20'+JSON[ili11l(0x28f,'15lM')](II11ii));}break;case'worldCupGuessBet':if(II11ii[ili11l(0x171,'WDvh')]==0x0&&II11ii['success'])Iil1iI['Qjnor'](ili11l(0x21a,'cHrl'),ili11l(0x254,'tGUA'))?iIli1i[ili11l(0xec,'D!oP')](ili11l(0x175,'tGUA')+iI1lii+ili11l(0x111,'WDvh')+IilIii['userChoicelist']):console[ili11l(0x100,'C2%@')]('投注成功，投入'+turnNum+ili11l(0xcc,'Sx62')+$[ili11l(0x1b1,'c8^Y')]);else{if(II11ii[ili11l(0x265,'Cdm3')]||II11ii[ili11l(0x277,'t#Ea')])console['log'](''+(II11ii['errMsg']||II11ii['msg']));else{if(II11ii[ili11l(0xfa,'Fc4r')])Iil1iI['xqbEO']('EDaWI',Iil1iI[ili11l(0x283,'WUDE')])?II1llI['worldCupGuessHome']=i11I11[ili11l(0x24f,'Cdm3')]:console[ili11l(0x130,'^Cwp')](''+II11ii[ili11l(0x28a,'8mAR')]);else{if(Iil1iI[ili11l(0x13a,'bo3A')](ili11l(0x13b,'Tj8j'),ili11l(0x117,'Sv8f')))console[ili11l(0xb7,'i#x(')]('❓'+iili1+'\x20'+JSON[ili11l(0x281,'f$hU')](II11ii));else{const Iil1il=lliilI[ili11l(0x167,'5YYz')][ili11l(0x17c,'N#Pm')](0xa),I11i1i=lili1[ili11l(0x1db,'Q)Ql')][ili11l(0xdf,'XwE]')]()[ili11l(0x1b2,'i#x(')](0xa),l1l1iI=ll1l1[ili11l(0x246,'XwE]')][ili11l(0x168,'b#g*')]()['padEnd'](0xa),I1llI1=IllIIi[ili11l(0x169,'WDvh')]['toString']()['padEnd'](0xa),I11i1l=IllIIl[ili11l(0x154,'D!oP')]['toString']()[ili11l(0xbc,'^K$%')](0xa);IiiIi1[ili11l(0x1e0,'^S*W')](''+Iil1il+I11i1i+l1l1iI+I1llI1+I11i1l);}}}}break;}}catch(il1il){Iil1iI[ili11l(0xd2,'!qb!')]!==Iil1iI['BPIvG']?console[ili11l(0xb7,'i#x(')](ili11l(0x1e2,'^%8!')+iili1+ili11l(0xf2,'R8%n')+(il1il[ili11l(0x135,'Sx62')]||il1il)):llI[ili11l(0x193,'Cdm3')](''+(llliI['errMsg']||iI1li1[ili11l(0x1c2,'LneM')]));}}async function sendRequest(iIIili){const Iiilll=l1i1I1,Ii1iiI={'pxRkP':function(IlllI1,I1il11){return IlllI1-I1il11;},'RmdEQ':function(lI1l11,II11l){return lI1l11<=II11l;},'RVabH':'5be1b','PXKsU':'activities_platform','BYzsA':Iiilll(0xeb,'CXz('),'HXMRl':'https://api.m.jd.com/api','OaceP':Iiilll(0x185,'piJ)'),'edLqP':'GzCor','cXOvt':Iiilll(0x127,'8mAR'),'XmJdu':Iiilll(0x1af,'8mAR'),'wWlhY':Iiilll(0x141,'O42)'),'kGDtj':Iiilll(0x284,'^S*W'),'SOVSD':function(II11i,iI1Iii){return II11i===iI1Iii;},'uUFXr':Iiilll(0x21b,'%daZ'),'DOjBM':function(liI1ii,lIIiIl){return liI1ii>lIIiIl;},'wNdNs':function(iI1Iil,il1iI){return iI1Iil===il1iI;},'MGmrO':Iiilll(0x183,'bo3A'),'yMzkR':function(i1iIii,i1iIil,liI1il){return i1iIii(i1iIil,liI1il);},'HFpiQ':function(llIlIi,llIlIl){return llIlIi>=llIlIl;}};if($['runEnd'])return;let Ilil1I='',iliIiI=null,II11iI=null,Il1i1l=Iiilll(0x258,'piJ)'),Iil1ii={},lill1I={};switch(iIIili){case Iiilll(0xc0,'Q)Ql'):lill1I={'appId':Ii1iiI['RVabH'],'functionId':iIIili,'appid':Ii1iiI['PXKsU'],'clientVersion':common[Iiilll(0x1d8,'5YYz')](),'client':Ii1iiI[Iiilll(0x20c,'15lM')],'body':{'linkId':linkId},'version':Iiilll(0x120,'N#Pm'),'ua':$['UA'],'t':!![]},Iil1ii=await H5st[Iiilll(0x133,']yHu')](lill1I),Ilil1I=Ii1iiI[Iiilll(0x1a9,'t#Ea')],iliIiI=Iil1ii[Iiilll(0x25d,'Tj8j')];break;case'worldCupGuessBet':lill1I={'appId':Iiilll(0x19d,'O42)'),'functionId':iIIili,'appid':Ii1iiI[Iiilll(0x18d,'^S*W')],'clientVersion':common['getLatestAppVersion'](),'client':Ii1iiI[Iiilll(0x16c,'C2%@')],'body':{'linkId':linkId,'roundId':$['id'],'actId':$[Iiilll(0x273,'Fc4r')],'bankId':$['bankId'],'questionId':$[Iiilll(0xc4,']yHu')],'userChoice':$[Iiilll(0x207,'8Ul!')],'bettingAmount':$[Iiilll(0x12d,'CXz(')]},'version':Ii1iiI[Iiilll(0x118,'8Ul!')],'ua':$['UA'],'t':!![]},Iil1ii=await H5st[Iiilll(0x101,'xC(%')](lill1I),Ilil1I=Ii1iiI[Iiilll(0x249,'Fc4r')],iliIiI=Iil1ii['paramsData'];break;default:console[Iiilll(0x16b,'piJ)')]('❌\x20未知请求\x20'+iIIili);return;}const Ii1ii1={};iliIiI&&Object[Iiilll(0x24a,']yHu')](iliIiI,Ii1ii1);II11iI&&(Ii1iiI[Iiilll(0x132,'Q)Ql')]===Ii1iiI[Iiilll(0x1e4,'15lM')]?(lIIill[Iiilll(0x20f,']yHu')]=I11iIi[Iiilll(0x17b,'tGUA')][Ii1iiI[Iiilll(0xe6,'Q)Ql')](I1ilII,0x1)]['option'],I11iIl[Iiilll(0x129,']yHu')]=l1l11l[Iiilll(0x245,'^S*W')]):Object[Iiilll(0x228,'Q)Ql')](II11iI,Ii1ii1));const Ilil11={'url':Ilil1I,'method':Il1i1l,'headers':{'origin':Ii1iiI[Iiilll(0x26f,'^Cwp')],'Referer':Iiilll(0x106,'^Cwp'),'User-Agent':$['UA'],'Cookie':cookie,'content-type':Ii1iiI['wWlhY'],'accept':Ii1iiI[Iiilll(0x164,'Fc4r')],'x-rp-client':'h5_1.0.0'},'params':II11iI,'data':iliIiI,'timeout':0x7530,'httpsTlsOptions':[Iiilll(0xc8,'OVdI')][Iiilll(0x1bf,'t#Ea')](iIIili)?common[Iiilll(0x15a,'tGUA')]():null};Il1i1l===Iiilll(0x221,'WUDE')&&(delete Ilil11[Iiilll(0x107,'f$hU')],delete Ilil11['headers']['Content-Type']);const i1ii1=0x1;let il1ii=0x0,llI111=null,i1iIiI=![];while(il1ii<i1ii1){if(Ii1iiI[Iiilll(0x1fe,'C2%@')]('fMFUN',Ii1iiI['uUFXr'])){Ii1iiI[Iiilll(0x189,']yHu')](il1ii,0x0)&&await $[Iiilll(0x25b,'bo3A')](0x3e8);const il1i1=await common[Iiilll(0x1c9,'#8&J')](Ilil11);if(!il1i1['success']){llI111=Iiilll(0x22d,'Q)Ql')+iIIili+Iiilll(0x1a8,'cHrl')+il1i1[Iiilll(0xc5,'t#Ea')],il1ii++;il1i1[Iiilll(0x276,'LneM')]&&il1i1[Iiilll(0x1d2,'^S*W')]===0x193&&['wheelsLottery'][Iiilll(0x1bf,'t#Ea')](iIIili)&&(Ii1iiI[Iiilll(0x220,'xC(%')](Ii1iiI[Iiilll(0x26d,'S^2v')],Iiilll(0x24b,'OVdI'))?$['wheelsLotteryHot']=!![]:ii1iiI[Iiilll(0x108,']$XV')][Iiilll(0x1a6,'xC(%')](lllilI));continue;}if(!il1i1[Iiilll(0x263,'Fc4r')]){if(Iiilll(0x1cc,'YAG)')===Iiilll(0x1b4,'e&NB')){const iI1Il1='5|3|1|2|6|0|7|4'['split']('|');let i1iIl1=0x0;while(!![]){switch(iI1Il1[i1iIl1++]){case'0':if(IlI1Il['makeInput'])l1il1l[Iiilll(0x128,'N#Pm')](Iiilll(0x12a,'D!oP')+liIil[Iiilll(0x1cb,'8mAR')]+Iiilll(0x15f,'8Ul!'));continue;case'1':IillIl[Iiilll(0x247,'15lM')]('奖票投入:['+llliil['turnNum']+Iiilll(0x24d,'C2%@')+liIl1+'奖票-最高'+II1lll+'奖票');continue;case'2':II1lli['log'](Iiilll(0x188,'i#x(')+ii1I1I[Iiilll(0x103,'piJ)')]+'],\x20变量1\x202\x203\x20选择对应奖项');continue;case'3':IllI1l[Iiilll(0x235,'YAG)')](Iiilll(0x267,'piJ)')+i11I1i['name']+Iiilll(0x1d6,'^%8!'));continue;case'4':IlI1Ii[Iiilll(0x1ef,'!qb!')](Iiilll(0xf9,'^S*W')+i11I1I[Iiilll(0x21f,'c8^Y')]+Iiilll(0x197,'^%8!'));continue;case'5':lil[Iiilll(0x27b,'XwE]')]=!![];continue;case'6':if(IiIl['goalInput'])IiIi[Iiilll(0x128,'N#Pm')](Iiilll(0x223,'15lM')+iI1ll1[Iiilll(0x1b3,'mkGl')]+']个球,\x20变量1\x202\x203\x204\x205...\x20选择对应奖项');continue;case'7':if(IllI1I[Iiilll(0x155,'6rsf')])liIii[Iiilll(0x282,'bo3A')](Iiilll(0xd6,'5YYz')+II1ll1[Iiilll(0x280,'C2%@')]+Iiilll(0x104,'!qb!'));continue;}break;}}else{llI111=Iiilll(0xf1,'Sv8f')+iIIili+Iiilll(0x14d,'LneM'),il1ii++;continue;}}await Ii1iiI[Iiilll(0x149,'YAG)')](handleResponse,iIIili,il1i1['data']),i1iIiI=![];break;}else iliIIl>=0x1&&Ii1iiI[Iiilll(0x10e,'XwE]')](Ii1iIl,iliIIi[Iiilll(0x19b,'Vqon')][Iiilll(0x1dc,'t#Ea')])?(i1IIi['subInput']=IIII1I[Iiilll(0x1a0,'piJ)')][Iii111-0x1][Iiilll(0x27d,'Cdm3')],l1l1II[Iiilll(0x1e5,'piJ)')]=Iil1I1[Iiilll(0x19c,'8mAR')]):Ii1iII[Iiilll(0x136,'t#Ea')](Iiilll(0x1a1,'WUDE')+l1i11I['betInfoVos'][Iiilll(0x14a,'8Ul!')]+Iiilll(0x20e,'Vqon')+II11II+']');}Ii1iiI[Iiilll(0xbe,'Q)Ql')](il1ii,i1ii1)&&(Iiilll(0xe2,'5YYz')!==Iiilll(0x13f,'b#g*')?IlIIl['log']('❌\x20未能正确处理\x20'+lI1liI+Iiilll(0x1b8,'e&NB')+(i1i1Ii[Iiilll(0x272,'!qb!')]||lllii)):(console[Iiilll(0x1ef,'!qb!')](llI111),i1iIiI&&($['outFlag']=!![],$[Iiilll(0x135,'Sx62')]&&$[Iiilll(0x271,'YAG)')][Iiilll(0x1ea,'R8%n')](llI111))));}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) }
