faker3/jd_wyw_draw.js
2024-06-28 15:38:28 +08:00

15 lines
48 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.

/*
活动名称:新版玩一玩之摇一摇抽奖 5.17-8.31结束
活动入口APP-我的-更多工具-玩一玩
活动建议定时自行修改奖票有效期2个月
提现变量jd_wyw_autotx //是否自动提现
cron:1 1 1 1 *
*/
const $ = new Env('新版玩一玩之摇一摇抽奖')
var il='jsjiami.com.v7';function Iii11l(){const Ilil1i=(function(){return[...[il,'PHfjKestHjPABiVaGVmixn.BFcWAolREmkQG.Kv7==','WR/dSSoVWQBdPG','bSoQkG','nfuGWPJcRXK','l2KF','WQxdTmkGD1b1','fuLooSkFW7fRW6JdMqLPWRpdNuGShsJdVmoTsG','4PYZsoAmJ+EoVowNIoI2LU+/ToADLoE7JUwTIUw/Kos8LUAjNUAlK+AFM+wnVa','zcddLrZcIq','W5BcIKdcRCoiWRq/kmkzWR3cQexcHwpdOmkH','W5xcJvNcSSoFWQu1iSk6WRRcUw7cIghdTq','8y+YKt1u','W5tdQ8oZveBcLSknW4NcMCkLBSoCWRmDDq','W70PWQi','W7PRibldPa','WOXZW7K','whiIaMy','mhZcPW','4P6iWQFPHj7OR4VMJ6FNJQVLP6ZOTQ7VVilKUQpKUlhNRRdMJRpNJPtOVyRMNB7LRzRMIQa','WQqHWOJdPmklWQnZp8k0','yCkPWQlcNG','xCoYBSkBjfVdSa','vSoDlG','W6NcMftdLI7dRrSJ','aKvmW63dTJaNW4a3W7SwzMJcSW','WOhdQmkuDMm','gglcT0zY','WQDFWRRdIXbnwmkBAmkwfq','5OQt5lQQ77Yx','W7WCW6xcOq','WQz2sryj','W5pcG1G','o11+a8kK','eM9ajCkq','e8knESodWRXeWQflaCkzWQKLDSkmWPpdHrj4W7hcJmkHWOuYF8oxlmk2W6CQq8ou','WPBdQCket1a','qow+P+wNMoAnMoEnK+s5H+AxVEEnLUMfJHJLH6C','W6HsBfi','W4ZcKem','WOhcG8oe','vN/cGKKfWQjjW7ZcTSkyWOjzgW','WQTpFMpdRdqSWOC','W4LZeIBdGSkhW6BcQ3pdKmoJWRddVdW','WO15W63dLJ3cOaq','vYFdJWW','WRTBDG','aZNdPMuDzq','p8oqbmoO','4P22WPlPHOtORjpMJy7NJ7NLPjBOT63VVjlKU43KU7VNR6JMJ6hNJz7OV5FMN7BLRPdMIQe','cmkghSkTW7WXvmkD','WQldGCozWRa','nhDtaSoBW4u','W63cK0tdItRdRHS','4P+GC+AnPUEnHEwLV+I1HE+8LUw9MEACKEApT+EmV+MIL+w4GUw1QoA7VG','W6jTW4NcTCotW7CSpmk8W4XZySok','54IA5Ogs5P6C55Yq772u','uSk1WQRdRb7cGgPwW6/cVfz4WO7dN04','naldQG','WPBdQSodWRJdJa','4P6BFEAnQUEnLoAjLUwjLG','WQn3W7DNzNlcKcvQ','W6ZdI8oivMe','D1CYk8oa','W7xcP8k0uGhcMa','Ev/cM8oQW6upW4xdNGJcMCkYW53dTmkRh8ksWPNdKhBcOH3cNSokWRu8gbjil8kqWPe','WRHtWRG','WQqGWORdQmkxWPzVnW','W43dJ8oKC2W','m3LmW4RdIW','ivjpjCoE','WP7cMCotc8kybhRdLwFcLGtcNrmIW74','laxdG8kI','W6KuW47cTaK','nfVcQx9r','W63cHva','W7pcGKxdKZxdRHC2W5O','g1rUW73dSq','W64YW5xcIatcQbVdGbVdNa','BSoWyCodW5q','W4ZcJLBcSCoj','5Rwk5yUK5Bw657UZ5PYSFW','E1xcHW','h3TTeCkJ','WPZdMCohWQtdHq','cCoQkCoj','5BsF5A605z6l54Uy5OoR','W7a0W5NcJWJcQaxdGa','W5/dL8oasva','W5JcNuddSZy','avDEW5JdVa','kbdcJIbhjvxdHmobirPPWQj/','u003cNXNWOOQWR5tW5uZvKm3','wCkgWRxdVrO','ymk6WQtcSSkkW4O','W4pcUKRcVSod','w2JdV8kQrG','WP3cUJ02WOxcPCoA','iCkZACokWQu','C8kUWQddHYu','kbdcNYrxiM/dNCoqjY1+WOD6WRDTagFdJXpcJG','fK9+W7ZdGG','WP7cSa0SWQ8','prFdKSkpW43dShvR','4P2DtEAnNEEnPEAkTowlRW','p18ZWPxdQbGc','44kt5OYe56AJ44gD6k6z5yEa6i2W5y2Msmk5WOBdGgfe','WQ5oEG','nujZo8kJ','xIpdIb7cGKRcQa','5Po45lUS5Pg45B+f5zkf776D','ue00bW','W57cNg3cOmojW77dGCk/BaSPW7NdOSkcumkXWQddNseDjW','c8o1pCoaFSkeq2evrSkGW74rc8okW43cGJNcICkGF2BdUGXeWOJcSLfjW5Lsiwe','jXJcUhNcJG','W6unjKX/D8kdWOuJWOjCWR7cGW','nI/dQZbk','B8kjWOlcRSkQ','AqH2WP7cNYaHh8oG','W7XsF1zadeK','pSovzSoT','W6ZcNN7cVmoB','jrFdKa','smohj8kdW7aT','5BEN5A2D5z6h54M25Oc/','WOD5W7ddScNcRGu','WOpcHCoabCkKn3ldLa','fvZcSM3dNmoUoqDuimoNz8oZ','pYhdMeOl','gevD','v8ovt8kpka','W5pdPSoRxKa','ygFcGSo1W7e','W4C+WPD5Aa','CwtdM8kH','BNG4jmoH','zmosw8oQW78','orlcPdTrcxddJmochZe','WPDvWOBdRIC','W4BcLCoGhHK','pwpcG2HivZpdQqCMBgWxWRO','5ywf5A+fW4SeWO3NMQNORA/LJOy','WPnfuxBdJa','W7tcJL/dLs8','DMyodCovo0dcVCk+W7LgWPWgW7dcVLmCW5tdTrtcNSoHEG','W4qSE8k4W4y','4P6BfoApGEEpIEwLV+I1OE++QEs7Jos5IoEVU+ApMEEnHUI8V+AFVEwTNEAlMG','5OU35lQk77Yj','WR/cGSo0p8kn','W7JcSSkzvaBcMmk3pCkxWQZdPmoYW7Oc','W6/cU8o+','DCkPWQtcNSkuW57cS0dcJmo+','W7xcRCk9','fshcTNJcNa','W79jtMbG','W6tcSCoTbfVdU8kZ','5P6c57Us5A+l5B+P5l2q','WPxcTISYWPG','FKFdQSkVDa','WP/dHCoHWRddHa','jSoiDa','s8keWQVdVbK','Fu7dUG','WONcJCoxdW','p3ZcPgW','4P+GC+AnPUEnHEwLV+I1HE+8LG','WOhdSCk+AKq','W6fwA0bVhKe','W6ZdVCoHDLm'],...(function(){return[...['WOddNCkbrfi','EfldVaj2bLxdI8oz','WPnOW6ZdJdlcOaGojG','zNddPmkoDG','W7tdMmoTCfy','mhTIW6hdVa','dCoGoCoKiSkuvG','WRrBDrW','W4a8W5e','sSoaimk8W7SnvCkPF8krWPq','smoyCG','eG3cRh/cMmouWOS','pwPg','pgbspmojW4vt','WQhdTCkHu0r8','lghcQxnEFqxdSXyhta','zNhdJSk0s08','EuZcVCoMW7ajW5ZdHWJcHmkEW4JdNmk4cSkdWQBdKhi','WOZcNmoXc8kjoxldGudcMrdcTd4JW6S+mdzSW7GB','WO7cRW8IWPpcVSo5W5hcN8oDD8kpWPul','WRK0WPFdQa','rCohvSoWW7T8aq3cN8kgW5SrWPjX','t0NcP8o+W6W','5OM75lQn7763','edZdI0eaACkVWQNdUmk9zaqkvfxcOCodW4qbDCorW5/cIGS','D8oDpCkCW4C','DSocuCoFW4y','zNddN8kLtg7cPMuagmkMdCozFX0','BNmihmolCIVdS8k6W6O','WOVdL8oPWRBdVa','c8oQomoHua','W7pcPSoWnGVdJ8k1W59+WQBcOmop','edRdKK8X','BwCkgmouuWRdTSkmW6PoWRamW6VdTq','DEw9QowKLoApNoEnICktWRu','WRyLWQJdQmkgWQT3kCkOW5D2tCoJAayIWPXQu2ad','W4zsyfjx','kcjp','eWFcUa','lH7dG8kfW5C','F2dcMmodW4K','kM4mWQhcJSo8W7ddI8kJgSkEW73cG8kgyCoFW7ZdUhTiWOrcWOZcSa','ACkNWRe','qmowyCoW','W4vWnG','iqRdLmkVW5hdUxLS','dIldGGjsW7yA','oCo3iSo/wW','W6ulW6JcKuqUwmkwt8ktcCoZ','W4KHW4tcUd0h','k1ZcLurQ','WPFdI2FcO8oyWP4Pgq','WPH9WOe','WQNdOSkGBvz8WRG','i2O7WRdcJSkUWOJcJCk2aSkZWQhcJ8oF','ohlcTgG','qCo7C8odW5a','WPj5W7RdPZ3cOc0noCkQ','yCoZA8onW4lcUX8ydSkgAXpcNSk6','WQroWRBdNXbAxSkBA8k1cq','t8o3tSkzmKddLeBcIwOwWPVdMSkY','d0RcHgddGmoDfaDwaSoN','W7GOWQzduvVcGc8','d1PO','ymkWWR/cIW','oXldOmkeW5e','vcpdJYhcGLNcQmkGWR4aEr7cVmkSW6tdIchdJce','xSo1zmkcjgZdSu7cILq9','DedcRG','W7PTbHBdLG','WPBdIaxcUCoCWQSdgCkQ','qZtdKHFcHMNcV8kYWR0xzG','W7dcOmo4obVdUW','W5pcIvhcOSoEW7K','yxddNCk2xW','mgHooSogW5y','W7tcTCoWoa','W7W1WQi','CJZcTx1suXFcRYeRsNSAWR5SWOC','W7iYW50','W6WZW5hcQWq','WPdcRSk7caxdTCkYW4BcGCk3tCoA','W7tcSCk9','W49MjqVdKmkBW5tcSxpdUCoxWRldIY7dUx3dTf7dKa','WQDjWQ/dGaDmsCkExSkcaCoCh8otWOW','a0zzg8k5','t8o3D8k0kW','BIxdStOcdWhdQGyAz2q','W6faFW','bIFcOq1t','pLm/','W4/cNLBcV8opW4xdLCk/Ba','beTDnSkNW61Y','WRJcRqquWOK','keGUWQFcUcKxcSoPWPrY','zNddN8kLtg7cPMuagmkMaCoeCW8','y8oIxmopW5K','W6bCFW','WOhcVfG','w8kYESkyjSoxvNKVwCkHWRi','D2BcJSoBW7a','Amk2D8kDWP/dO2zb','kb/dPmkVW4e0W6LAyapdIG','WOr9W6RdHa','W7XbCuLRpvBcMhPlW5a','eKVcIG','8k2BJ8kx','BMatb8odrr3dS8k5W51g','WRxdLmomWQxdUIy','W6hcHNtdMYJdOsK5W5FcI3hdJclcHa','dbZcRwxcL8ouWOCyzG','d8o3p8oHzmka','CmoXqCowW5tcKcCFhmkhsc/cNSkGea','WQvhrehdVW','aGtdMmkxW5y','gqtcSgpcIW','WRvrWRddKbTQ','4P6BfoApGEEpIEwLV+I1OE++QEw+LEADGoAmV+EoUEMHQ+w5GEw0PEA4Sa','yx3dH8kVsG','gvhcLq','ih4tWOpcIa','W7aykJRcQgn5WRDob8k5rSkZ','WO/dLrRdOSkqW4Xq','W6RcTSkOxbVcL8kjmSkA','WRDtWRVdGa','mmoVfCoIwG','W4RdU8oWqLxcO8kn','DSk8WRFcI8kmW54','WOpcScS','vmoarSodW7e','WQ7dLmozWQhdVg/cH2ddQJ4iBetdQmoFWPRdL8oNsmkCW78rlGe','tCotimkY','w8occSkNW60HCmkHFmkVWR/cJLdcMq','WRzeuHG9lmoKWQ88WODnWOtcHSkG','W5VcJuVcPa','rmkYWQJdHb/cTq','lefngSke','igFdISoXxa','W5T2isldG8k9W5tcPKxdMCoaWORdSIBdRG','W7NcOSo/cqC','W57dRNr1W5tcVSoKW6RcRmozrW','vCk4WRldPHG','WQ9M5RIu5z246AQO6k++W4NORQVLSidORRBMIzVLIBNPQB3OR7VKUlNMRPNMIPpOGiJMM4lMJ7FcUvm','CMddM8kmuvVcQM8rdCkGmCodyq','WQxdT8kqF0rZWORdOMZdGxxdLGjt','W78WW5xcKsJcVq','WQpdKSoFWPZdVdi','duKIWQ/cKWOBha','e09oh8kiW6X6W6ldSJH1WQldV0SXhcZdJmoW','W64DFSkLW6iSWP3cPqFcKcPWW7NdNX0ZWR3dHmk3W5WBWOhcSSozWOhcSwv2WOjHW6zKW4dcK8ogrIC0hSkAWReszJ4klvuoW6HHjmkADmknW4GYWPdcRCkhESkSWOdcL8kEtSk/W5JdUK7cHYtdSq','iCoGkCouiZO','WOVcHCoB','4P+PW5/MJ6dNJBJLPOVOT4pVVydLHlRLRz/cO8k3tUEzREIURUwpHq','B8oDpmkLW60','A0FcQmoKW6mSW43dIbNcO8kOW5xdLq','e8o2W6VcULxdOMPyW5JcIx5o','nuDIoSoy','j2LWgSoE','oXhdH8kMW5BdJ3L7WQLKWPxdPCkXWQRcMq','WPHRWRddGbm','F2ikeCopyG7dPSkNW6rhW5CjW7xdV1aEWP7dPv/cHCo6odeVW6KTqSoXamkmW77dVW','W7yEwCkhW6G','4PYMWQxOHzFMNOdOV4FOOQVPGAxLIkxKU7RPLldORkhdMW','W6asW6G','W7lcOSoDcqi','hmkoyCojWRO','smosE8o2W7X8','lghcQxnEEWhdSXa','hspdRW'],...(function(){return['WO9dFsmT','W6SABq','lWhdG8klWPhdRMG','WPjlWRFdTXy','zNatmmov','pSkJ5Asz6lAj776R','W4fTmIVdHmklW5tcSq','z1xdH8kKwq','qmkZWQNdOaVcVa','AtXckCon','5OQo5lMR776H56Ix5Ro3','WO/cSw5lga','W7mFW7lcIaC','WP5YWQxdVtC','uSk1WRNdQGNcOxW','W43cMLhcRmoFWPqP','e+IUSEAZUEwLNoI3HG3INzhdSW','DSk8WQtcLSkxW4RcNKFcGq','k083WRJcRZKthCooWRXXa8oVW6VcJG','Axm1hmoT','cINdKH1gW7uAW6O','WO3dTCoMWRBdMG','yx3cOSoxW6q','C3CjdSohzGO','W6ZcMva','W6RcQSk7xHdcVmkfmSkxWPddICoTW74','W4BcLSoslXG','BYxLPjdOTARVVRi','5OUp5lUq77YY','W6NcRCk1wtFcKCktmCkQWQa','i3CxWQtcK8kY','or3dN8kWW4CFW7zlCJVdLSkIW7hdVmohW5a9y8k5ACoT','WPJcVIu3','as3dRhmhymkkWRq','wmksWPJdVGu','WPNcPmoRpSkq','eXVdO2Sl','qCokhCoxWRLMWPvUeG','huftcSos','puGJWRlcVa','l38lWQlcNmkHWRO','v1aIcMjgWQmHWOHgW5Cjqgy9fa','4P+Ki+AoGEEpT+wMGoI3IU++Q+s7Ios4H+EURoAnT+EnSUI9HEADOEwSH+AiNG','CN0D','4P6iWQFOH4NMNllOV6FOOzFPGPRLIRVKUP7PLRdOR57cRG','W70PW6pcVHG','W6iiFSk0','imoJlSoelW','BCkH5Aw26lAv772w','j8oQhSokCG','4PY+W53MJ7JNJjBLP67OTi7VV5y','u2ldUCk0tq','dYJdLG','b1r7W60','w1y5W63dOa','u04qkhS','W5VdSxS','WRfuBwRdQWiSWPbNc8klsSkLWRdcKG','WPuzWQldH8k/','F8oEi8k1W5y','WOZcVLbQdZ4','WRnKx33dUG','WOpcJCoocW','CSoOg8krW4K','c8kcdSkbW40mx8kd','WQFdG8ozWRJdUtZdNdBdLd4ni13cOmoAWOZcLmoBvmku','WP7cLSo1pCke','W7dcL0xdMZBdUJOXW5FcGG','caNcTNG','kttdU8kPW6S','m8kYga','fd7dUM0azG','EwRdIa','W6/cGw7cICoC','db3cR2NcI8oHWOSAxCkXgCk7iCoRWPu','4PYqm+AmKoEoUEwKIUI0MU+9VUwhTUwVSd5bCoEBSUITR+wnPG','cahcLgRcOa','WP3cNSokfmkpeM3dKflcOqW','lW7dG8kcW7y','5BAQ5A2I5z2V54MR5OoC','4P6GW5/MJ6dNJBJMIQRLIBK','emoZW6lcUYRcNMvMW7tcJW','WRbDWQVdHa','5Q2q5O6C54Y4cq','prJcPs5a','WRzotNVdQZKNWPm','WQVdHCoEWQldRJldJq','W67cO8kZqq','BmkMWRxcK8kmW4NcKLi','oHxcVsrgh3FdGW','nx3cPgXd','5Ast6z2g5OYv546F77YO6k+i5B+L5zgZ5lU+55gL','lua2WQ3cMG','keGUWQFcUc8egmo7WOT5','qZldPb3cIKm','e1FcIG','dSoJcSoNvG','eSkhia','WOVdO8oHWONdTG','WRtdPSk3tun6WQ/dVW','s0BdQa','amopbSoCnG','e8okbCohFW','WQ/dOSkQBq','nLSQWRG','r8oPBSkuneZdPLW','mmkXCmoSWOu','W7SVW4JcQtxcRG','ENmoha','DuRcUSo8W6ChW40','k8oNWRZcM8k6W4lcMeRcKCo6','WR5/yZGC','WQBcKZ0KWQO','saJdLspcLmkOpa17j8omxq','W5NdNL3dTmoo','trP6W7JdRdqdWOyrW7yWCwxcTWi5W49kWQWUs2hdK04WWPldPa','bKD9W4hdTJ8','tCoyzG','chFcUfFdTa','hw3cG3JdQG','WORcRt4oWPpcSq','4P+PW5/PH73ORj3MJARNJzBLPAVOTANVV4BKU5NKU57NRltMJlNNJRZOVyJMN67LRktMI4a','AmoFsSkzdG','5PcB5lIt5Pkh6zMz5PEn5PEj6zAq5BwY5yMd5OMy5Aw+5zoF5BAe6Agl5A6/','W7tcO8kQ','W5xcJvNcSSoFWQiOlCkRWOxcSq','W6emFSkDWQrLW4y','j8kotCouWPfkWQfE','WQ7dJmkGELO','g1NcMxS','Dmo9b8kd','4PYugUAoL+EnREwNRoI1JU+9RoADK+E5NEwTH+w+Uos+RUAkKoAlK+AFGowpRq','khZcK31jvGRdPW','8jAqHZxdIG','pGhcPdu','FhBdL8kUva','hd/dRW','BmoStW','WPXMWO3dSIi','W5RcNK3cQSoy','ufCOa0XuWPWRWRvw','W7uCACk2W7rLW4e','e13cG33dKCoX','tL0/g0jqWOK6WQHBW58E','WQCqWPxdImkG','44oe5O+S56EL44k06k6c5yww6i6B5yYSx8kmcCo7h8of','BwyBcCod','W77cTNtcR8oA','cvjLW6hdRW','W6CezCkGW79I','oCosy8oTWPeFmCki','ittcM8o4ca','vNmnl8oi','W6xcPh3dSXi','5yEO5A+EW4RcJsJNMy3OR4RLJ7a','emkN5As86lED772B','iWtcKJznoL3dImonkJz6WQ1VWRm','j8o5l8oFoa','kHjTrsqFW4xLVy7LPlFJGklKUj7KUAFOTj/LJ5K','kSkLxCoOWPG','hSkstW','W4rSnG','WQrkEhJdLW','W4CbW4hcUH0','WOlcUJ8WWOhcSCol','nfuG','oSoVjmoCotpdUSkd','4P+sDEAmQUEmVEAlTEwjMW'];}())];}())];}());Iii11l=function(){return Ilil1i;};return Iii11l();};const iliIi1=iii1II;(function(iii1ll,IIliI1,il1lI,IliIIl,I1il1l,lI1l1l,IIliII){return iii1ll=iii1ll>>0x9,lI1l1l='hs',IIliII='hs',function(iiliI,Ill11I,I1il1i,IliIIi,lI1l1i){const I11i1I=iii1II;IliIIi='tfi',lI1l1l=IliIIi+lI1l1l,lI1l1i='up',IIliII+=lI1l1i,lI1l1l=I1il1i(lI1l1l),IIliII=I1il1i(IIliII),I1il1i=0x0;const i1iil=iiliI();while(!![]&&--IliIIl+Ill11I){try{IliIIi=parseInt(I11i1I(0x19a,'#ahJ'))/0x1*(-parseInt(I11i1I(0x22c,'^ty8'))/0x2)+-parseInt(I11i1I(0xe6,'AF#$'))/0x3*(parseInt(I11i1I(0x12c,'rAT^'))/0x4)+parseInt(I11i1I(0x189,'mi0z'))/0x5*(parseInt(I11i1I(0x13b,'#ahJ'))/0x6)+-parseInt(I11i1I(0xf1,'FL#B'))/0x7*(-parseInt(I11i1I(0x221,'mi0z'))/0x8)+-parseInt(I11i1I(0x119,'(9nE'))/0x9+-parseInt(I11i1I(0xd0,'k(zC'))/0xa*(-parseInt(I11i1I(0x299,'eIko'))/0xb)+parseInt(I11i1I(0x218,'^Qf8'))/0xc;}catch(llI11l){IliIIi=I1il1i;}finally{lI1l1i=i1iil[lI1l1l]();if(iii1ll<=IliIIl)I1il1i?I1il1l?IliIIi=lI1l1i:I1il1l=lI1l1i:I1il1i=lI1l1i;else{if(I1il1i==I1il1l['replace'](/[QRlFxPnkHVBtWfeKGEA=]/g,'')){if(IliIIi===Ill11I){i1iil['un'+lI1l1l](lI1l1i);break;}i1iil[IIliII](lI1l1i);}}}}}(il1lI,IIliI1,function(I1llIl,i1iii,I1llIi,IIii1I,llI11i,i1iIi1,l1l1il){return i1iii='\x73\x70\x6c\x69\x74',I1llIl=arguments[0x0],I1llIl=I1llIl[i1iii](''),I1llIi=`\x72\x65\x76\x65\x72\x73\x65`,I1llIl=I1llIl[I1llIi]('\x76'),IIii1I=`\x6a\x6f\x69\x6e`,(0x173793,I1llIl[IIii1I](''));});}(0x19a00,0x36e49,Iii11l,0xcf),Iii11l)&&(il=0x49ff);const jdCookie=require(iliIi1(0x1b7,'(nM[')),notify=require(iliIi1(0x1bc,'*DXr')),common=require('./utils/Rebels_jdCommon'),{H5st}=require(iliIi1(0xee,'p4xM')),isNotify=![];let superlinkId='aE-1vg6_no2csxgXFuv3Kg';function iii1II(_0x2ba001,_0x21fc55){const _0x1ec7aa=Iii11l();return iii1II=function(_0x4c6b8d,_0x5d0ac3){_0x4c6b8d=_0x4c6b8d-0xc3;let _0x1e78dd=_0x1ec7aa[_0x4c6b8d];if(iii1II['kYtwzT']===undefined){var _0x182326=function(_0x48cb83){const _0xe1447c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x198853='',_0x2f9fdb='';for(let _0x52ff53=0x0,_0x2aed82,_0x3fae59,_0x54f9fc=0x0;_0x3fae59=_0x48cb83['charAt'](_0x54f9fc++);~_0x3fae59&&(_0x2aed82=_0x52ff53%0x4?_0x2aed82*0x40+_0x3fae59:_0x3fae59,_0x52ff53++%0x4)?_0x198853+=String['fromCharCode'](0xff&_0x2aed82>>(-0x2*_0x52ff53&0x6)):0x0){_0x3fae59=_0xe1447c['indexOf'](_0x3fae59);}for(let _0x4ef4f0=0x0,_0x5b1eed=_0x198853['length'];_0x4ef4f0<_0x5b1eed;_0x4ef4f0++){_0x2f9fdb+='%'+('00'+_0x198853['charCodeAt'](_0x4ef4f0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2f9fdb);};const _0x5ee0c4=function(_0x17af25,_0x31e512){let _0x45b4fc=[],_0x4d43f5=0x0,_0x1c73a8,_0x320364='';_0x17af25=_0x182326(_0x17af25);let _0x57ffe6;for(_0x57ffe6=0x0;_0x57ffe6<0x100;_0x57ffe6++){_0x45b4fc[_0x57ffe6]=_0x57ffe6;}for(_0x57ffe6=0x0;_0x57ffe6<0x100;_0x57ffe6++){_0x4d43f5=(_0x4d43f5+_0x45b4fc[_0x57ffe6]+_0x31e512['charCodeAt'](_0x57ffe6%_0x31e512['length']))%0x100,_0x1c73a8=_0x45b4fc[_0x57ffe6],_0x45b4fc[_0x57ffe6]=_0x45b4fc[_0x4d43f5],_0x45b4fc[_0x4d43f5]=_0x1c73a8;}_0x57ffe6=0x0,_0x4d43f5=0x0;for(let _0x5cfc9f=0x0;_0x5cfc9f<_0x17af25['length'];_0x5cfc9f++){_0x57ffe6=(_0x57ffe6+0x1)%0x100,_0x4d43f5=(_0x4d43f5+_0x45b4fc[_0x57ffe6])%0x100,_0x1c73a8=_0x45b4fc[_0x57ffe6],_0x45b4fc[_0x57ffe6]=_0x45b4fc[_0x4d43f5],_0x45b4fc[_0x4d43f5]=_0x1c73a8,_0x320364+=String['fromCharCode'](_0x17af25['charCodeAt'](_0x5cfc9f)^_0x45b4fc[(_0x45b4fc[_0x57ffe6]+_0x45b4fc[_0x4d43f5])%0x100]);}return _0x320364;};iii1II['ltSFhb']=_0x5ee0c4,_0x2ba001=arguments,iii1II['kYtwzT']=!![];}const _0x498e96=_0x1ec7aa[0x0],_0x18785e=_0x4c6b8d+_0x498e96,_0x265fcc=_0x2ba001[_0x18785e];return!_0x265fcc?(iii1II['EEoehY']===undefined&&(iii1II['EEoehY']=!![]),_0x1e78dd=iii1II['ltSFhb'](_0x1e78dd,_0x5d0ac3),_0x2ba001[_0x18785e]=_0x1e78dd):_0x1e78dd=_0x265fcc,_0x1e78dd;},iii1II(_0x2ba001,_0x21fc55);}const autotx=process['env'][iliIi1(0x26e,'xyt6')]==='true',exchange=process['env'][iliIi1(0x1e5,'eIko')]==='true',Swish=iliIi1(0x267,')Wg!');let waitTimes=0x3e8,apCashWithDrawList=[],business=iliIi1(0x1f9,'AF#$'),cookie='';const cookiesArr=Object[iliIi1(0x1b0,'D63E')](jdCookie)[iliIi1(0x1c5,'H(nm')](lllil1=>jdCookie[lllil1])['filter'](iil1il=>iil1il);!cookiesArr[0x0]&&($['msg']($[iliIi1(0x187,'QW0k')],iliIi1(0x1da,'k(zC')),process['exit'](0x1));!(async()=>{const l1l1ii=iliIi1,ilil1I={'gOQLO':'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx','YAInu':function(i11il1){return i11il1();},'mSOwr':function(ii1iiI,lllilI){return ii1iiI+lllilI;},'BEqmW':function(ilil11,illlI1){return ilil11*illlI1;}};console[l1l1ii(0x229,'i(Aw')](l1l1ii(0x1a4,'^ty8')),notify['config']({'title':$[l1l1ii(0x1b1,'pxs&')]});for(let IIIl11=0x0;IIIl11<cookiesArr[l1l1ii(0x22f,'H(nm')];IIIl11++){$['index']=IIIl11+0x1,cookie=cookiesArr[IIIl11],common['setCookie'](cookie),$[l1l1ii(0x133,'pxs&')]=decodeURIComponent(common['getCookieValue'](cookie,l1l1ii(0x1a7,'wu8j'))),$['UA']=common['genUA']($['UserName']),$[l1l1ii(0x21f,'oC%X')]=common[l1l1ii(0x26c,'W@PP')](ilil1I[l1l1ii(0xc8,'1KGY')]),$[l1l1ii(0x160,'ojfH')]=notify['create']($[l1l1ii(0x1a3,'p4xM')],$[l1l1ii(0x1c8,'@b8x')]),$[l1l1ii(0x26d,'QW0k')]='',console['log'](l1l1ii(0x1e7,'^L*m')+$['index']+'】'+($[l1l1ii(0x246,'Cs3f')]||$['UserName'])+l1l1ii(0x11a,'AF#$')),await ilil1I['YAInu'](Main),common['unsetCookie']();if($['runEnd'])break;await $[l1l1ii(0x18d,'uYXn')](parseInt(ilil1I['mSOwr'](ilil1I[l1l1ii(0x280,'0eJx')](Math[l1l1ii(0x136,'[v1D')](),0x3e8),0x3e8),0xa));}})()[iliIi1(0x100,'g^ol')](I1lIi1=>$[iliIi1(0x1f3,'pxs&')](I1lIi1))['finally'](()=>$['done']());async function Main(){const Il1i1I=iliIi1,liiIIi={'zIGkc':function(lil11I,Iliii1){return lil11I!==Iliii1;},'MotZY':Il1i1I(0x186,'(9nE'),'UhZAy':'账号无效','ILqgJ':function(iIiIi,iil1ll){return iIiIi(iil1ll);},'EljsH':'superRedBagHome','Evmts':Il1i1I(0x28c,'rAT^'),'jQgBX':function(iiilil,iil1li){return iiilil/ iil1li;},'OGlLg':function(lillIl,iIiIl){return lillIl%iIiIl;},'jDquu':function(iiilii,li1i1i){return iiilii>li1i1i;},'jVkZf':function(IlIli1,illIiI){return IlIli1===illIiI;},'CfCcu':'SCOfU','QdLyU':Il1i1I(0x2b5,'rSMw'),'vAysw':Il1i1I(0x182,'(9nE'),'XXuNG':function(lI1lli,Ill1l){return lI1lli*Ill1l;},'fztFs':function(llI1Il,ii1iii){return llI1Il+ii1iii;},'IikXG':function(i11iil){return i11iil();},'bdkRu':function(Ill1i,ii1iil,lllI1l){return Ill1i(ii1iil,lllI1l);},'PLCFN':function(i11iii,llI1Ii){return i11iii*llI1Ii;}};try{const lllI1i=await common[Il1i1I(0x12f,'mD^^')](cookie);if(!lllI1i&&typeof lllI1i==='boolean'){if(liiIIi['zIGkc']('qEBrc',liiIIi[Il1i1I(0x2b1,'mi0z')]))IilliI['log'](Il1i1I(0x179,'[v1D')+IlI1ii[Il1i1I(0x10f,'oC%X')]);else{console['log'](liiIIi[Il1i1I(0x263,'^Qf8')]),$['message'][Il1i1I(0x117,'xyt6')]('账号无效');return;}}apCashWithDrawList=[],$[Il1i1I(0x1a2,'eIko')]=![],$[Il1i1I(0x27e,'lzfI')]=![],$[Il1i1I(0x1fc,'FL#B')]='',await liiIIi[Il1i1I(0x1b9,'rAT^')](sendRequest,liiIIi[Il1i1I(0x184,'mi0z')]);if($[Il1i1I(0x24b,'^L*m')]){if(liiIIi[Il1i1I(0x295,'D63E')]!==Il1i1I(0x27a,'wjJ^')){const II1i1=$[Il1i1I(0x2b3,'mD^^')][Il1i1I(0x1d8,'^L*m')],lI1lll=$['superRedBagHome'][Il1i1I(0x162,'H(nm')],iIiII=$[Il1i1I(0x12a,'z)rV')][Il1i1I(0x20b,'k(zC')],iil1lI=$[Il1i1I(0x2b9,'ojfH')][Il1i1I(0xd9,'W@PP')],iiiliI=Math[Il1i1I(0x113,'uYXn')](liiIIi[Il1i1I(0x233,'FL#B')](II1i1,0xe10)),li1i1I=Math[Il1i1I(0x113,'uYXn')](liiIIi[Il1i1I(0xf9,'eIko')](II1i1,0xe10)/0x3c),illIii=II1i1%0x3c,ii1il1=iiiliI[Il1i1I(0x19e,'(9nE')]()[Il1i1I(0x16a,'7X8f')](0x2,'0')+':'+li1i1I[Il1i1I(0x1cd,'p4xM')]()[Il1i1I(0x1ac,'D63E')](0x2,'0')+':'+illIii['toString']()['padStart'](0x2,'0');switch(iIiII){case 0x0:console['log'](Il1i1I(0x240,'7X8f')),$[Il1i1I(0x26a,'mi0z')]=!![];break;case 0x1:console[Il1i1I(0x1ee,'pxs&')](ii1il1+'后可参与摇一摇玩法');break;case 0x2:console['log'](Il1i1I(0x25d,'h9EU')+lI1lll+'秒后结束,奖品剩余'+iil1lI+'个');if(liiIIi[Il1i1I(0x290,'#ahJ')](lI1lll,0x0)&&liiIIi['jDquu'](iil1lI,0x0)){if(liiIIi['jVkZf'](liiIIi['CfCcu'],liiIIi[Il1i1I(0x27d,'(9nE')]))lliiiI['assign'](lilil,ll1ll);else for(let illIil=0x0;illIil<0xa;illIil++){await sendRequest(liiIIi[Il1i1I(0x2b2,'g^ol')]),await $[Il1i1I(0x123,'mi0z')](parseInt(liiIIi[Il1i1I(0x1e8,'@b8x')](waitTimes,0x1)+0x4b0,0xa));if($[Il1i1I(0x232,'UvmG')])break;}}else console[Il1i1I(0x2a4,'beYH')]('摇一摇限时时间已到或奖品已领完');break;default:console[Il1i1I(0x2a0,'Y)IB')](Il1i1I(0x227,'Y)IB')+iIiII);break;}if(autotx)for(let Ill1I=0x0;Ill1I<0x1;Ill1I++){$['pageNum']=liiIIi[Il1i1I(0xc7,'C1$C')](Ill1I,0x1),console[Il1i1I(0xe4,'1KGY')](Il1i1I(0x2ba,'uYXn')+$[Il1i1I(0x266,'3[ab')]+']\x20页'),await liiIIi['IikXG'](goWithdrawal);if($[Il1i1I(0x19d,'eIko')])break;await $['wait'](liiIIi[Il1i1I(0x118,'@wV3')](parseInt,liiIIi[Il1i1I(0x234,'*DXr')](waitTimes,0x1)+0x1388,0xa));}}else lilIlI[Il1i1I(0x25a,'(9nE')](Il1i1I(0x199,'AF#$'));}}catch(lIli11){console[Il1i1I(0x20f,'h9EU')](Il1i1I(0x142,'oC%X')+lIli11);}}async function goWithdrawals(){const Ii1iii=iliIi1,lllI1I={'waOaK':function(lillI1,IlIlii){return lillI1>IlIlii;},'YeLaK':function(i1l1i1,liil11){return i1l1i1<liil11;},'BLXJZ':function(iiillI,l1l111){return iiillI===l1l111;},'KUKgU':Ii1iii(0x2b7,'wjJ^'),'rnkOB':function(l1iIII,llI1I1){return l1iIII(llI1I1);},'kRwOS':Ii1iii(0xda,'g^ol'),'EBKcv':Ii1iii(0x1e1,'ojfH'),'DhyEI':Ii1iii(0x16c,'QW0k'),'Wfnqj':Ii1iii(0x18f,'g^ol'),'RnWQg':function(IlIlil,lIli1I){return IlIlil!==lIli1I;},'SNmmy':Ii1iii(0x20a,'p4xM'),'isxnj':Ii1iii(0x115,'NSiy'),'avZoB':Ii1iii(0x2aa,'QW0k'),'xaaqt':Ii1iii(0x281,'NSiy'),'xbiMs':Ii1iii(0x27c,'wu8j'),'fkewN':Ii1iii(0x138,'AF#$'),'bUnbO':Ii1iii(0x28b,'z)rV'),'KcbGg':function(II1il,lllI11){return II1il<lllI11;},'SroSL':Ii1iii(0x188,'mi0z'),'apzLj':function(I1lIll,I1lIli){return I1lIll(I1lIli);},'OXDoB':function(II1ii,IIIIII){return II1ii!==IIIIII;},'VxRVL':Ii1iii(0x16d,'7X8f'),'RwayT':Ii1iii(0x1c3,'wp%r'),'oIGTv':Ii1iii(0x220,'mi0z'),'WrHWi':function(lillII,ii1ilI){return lillII*ii1ilI;}};if(lllI1I[Ii1iii(0x15c,'ojfH')](apCashWithDrawList['length'],0x0))console[Ii1iii(0x1d2,'g^ol')](Ii1iii(0x214,')Wg!')+apCashWithDrawList[Ii1iii(0xe9,'h9EU')]+Ii1iii(0x19c,'7X8f'));for(i=0x0;lllI1I[Ii1iii(0x28e,'rSMw')](i,apCashWithDrawList['length']);i++){if(lllI1I[Ii1iii(0x1b3,'@b8x')]('qehuh',Ii1iii(0x195,'uYXn')))llIliI[Ii1iii(0x2a0,'Y)IB')]('❓'+I1l1I1+'\x20'+I1i111['stringify'](ilI1li));else{const iIiI1=apCashWithDrawList[i];console['log']('去提现'+iIiI1?.[Ii1iii(0x167,'@wV3')]+Ii1iii(0x1ce,'R4iB')+iIiI1['id']+']'),$['apCashWithDrawBaseParams']={'prizeType':0x4,'business':business,'id':iIiI1['id'],'poolBaseId':Ii1iii(0x1e0,'mD^^'),'prizeGroupId':iIiI1[lllI1I[Ii1iii(0x15e,'rSMw')]],'prizeBaseId':iIiI1[Ii1iii(0x2a7,'p4xM')]},$[Ii1iii(0x130,'D63E')]='',await lllI1I[Ii1iii(0xf0,'Cs3f')](sendRequest,lllI1I[Ii1iii(0x1ec,'Y)IB')]);if($['apCashWithDraw']){if(lllI1I[Ii1iii(0x183,'UvmG')](lllI1I[Ii1iii(0x163,'wjJ^')],lllI1I['DhyEI']))I1l1Il[Ii1iii(0xdf,'*DXr')]('>\x20'+llIll1[Ii1iii(0xf8,'3[ab')]);else{const i11ii1=$[Ii1iii(0x284,'H(nm')][Ii1iii(0x2a8,'mD^^')],IlIliI=$[Ii1iii(0x27b,'p4xM')][Ii1iii(0x1b6,'1KGY')];if(i11ii1===lllI1I[Ii1iii(0x2ae,'1KGY')])lllI1I[Ii1iii(0x283,'QW0k')](lllI1I[Ii1iii(0x29d,'*DXr')],Ii1iii(0xc4,'3[ab'))?console['log']('✅\x20提现成功'):i1illl[Ii1iii(0x1df,')Wg!')]=!![];else{let iiill1=![],lIli1i=0x0,IIIII1=0x3;if(IlIliI[Ii1iii(0x1ef,'[v1D')]('上限'))console['log'](lllI1I[Ii1iii(0x1d0,'mD^^')]),exchange?($[Ii1iii(0x230,'1KGY')]={'linkId':linkId,'business':business,'drawRecordId':iIiI1['id'],'poolId':iIiI1[Ii1iii(0x23d,'Cs3f')],'prizeGroupId':iIiI1[lllI1I[Ii1iii(0x22d,'FL#B')]],'prizeId':iIiI1['prizeBaseId']},await sendRequest(lllI1I[Ii1iii(0x2b8,'7X8f')])):!Swish&&($[Ii1iii(0x27e,'lzfI')]=!![]);else{if(IlIliI[Ii1iii(0xcd,'C1$C')](Ii1iii(0x245,'QW0k')))lllI1I[Ii1iii(0x213,'D63E')]('yRkXb',Ii1iii(0x15f,'1KGY'))?I11iI1[Ii1iii(0x25a,'(9nE')]('❓'+l1lIil+'\x20'+IiiIli[Ii1iii(0x10e,'uYXn')](iillli)):(console[Ii1iii(0x191,'mD^^')](lllI1I[Ii1iii(0x23c,'*DXr')]),iiill1=!![]);else{if(IlIliI[Ii1iii(0x1a1,'(nM[')](lllI1I[Ii1iii(0x14d,'ojfH')])){if(Ii1iii(0x1af,'oC%X')!=='yOHkh')I1i11l[Ii1iii(0x21a,'z)rV')]=llIlii[Ii1iii(0xcb,'R4iB')];else{console[Ii1iii(0x148,'7X8f')](lllI1I[Ii1iii(0x1eb,'(9nE')]);if(!Swish)break;}}else{if(IlIliI[Ii1iii(0x207,'lzfI')](lllI1I[Ii1iii(0x1c0,'xyt6')])||IlIliI['includes']('绑定手机号')){console['log'](Ii1iii(0x1cc,'pxs&'));if(!Swish)break;}else console[Ii1iii(0x102,'CW&c')](Ii1iii(0x294,'Y)IB')+IlIliI),iiill1=!![];}}}while(iiill1&&lllI1I[Ii1iii(0x297,'FL#B')](lIli1i,IIIII1)){if(lllI1I[Ii1iii(0xe5,'z)rV')](Ii1iii(0x1d3,'k(zC'),lllI1I[Ii1iii(0xcf,'oC%X')]))IlI1i1['log'](Ii1iii(0x164,'beYH')+l1lIl1[Ii1iii(0x127,'#ahJ')]);else{await $[Ii1iii(0xec,'wjJ^')](0xea60),await lllI1I[Ii1iii(0xf6,'wp%r')](sendRequest,Ii1iii(0x24a,'eIko'));const llI1II=$[Ii1iii(0x2ab,'rAT^')][Ii1iii(0xe8,'wjJ^')],lIli1l=$[Ii1iii(0x124,'mi0z')][Ii1iii(0x224,'lzfI')];if(llI1II===lllI1I[Ii1iii(0x1f8,'wu8j')])lllI1I['OXDoB'](lllI1I[Ii1iii(0x274,'^ty8')],lllI1I['RwayT'])?(console[Ii1iii(0x161,'lzfI')](Ii1iii(0x22b,'Cs3f')),iiill1=![]):(IliI1I['log'](Ii1iii(0x173,'z)rV')),lI1Iii=!![]);else lIli1l['includes'](Ii1iii(0x26b,'mD^^'))?lIli1i++:(console[Ii1iii(0x285,'wjJ^')](lllI1I[Ii1iii(0x104,'1KGY')]),iiill1=![]);}}}i!==apCashWithDrawList[Ii1iii(0x146,'R4iB')]-0x1&&await $[Ii1iii(0x1a0,'H(nm')](parseInt(lllI1I[Ii1iii(0xfd,'rAT^')](Math['random'](),0x7d0)+0x1388,0xa));}}}}}async function goWithdrawal(){const iIIilI=iliIi1,illIi1={'SNAlz':'账号无效','DActb':function(ii1ili,liil1i){return ii1ili===liil1i;},'pEoEE':iIIilI(0x210,'I[]O'),'MCLXy':function(lI1lil,i1l1iI){return lI1lil>i1l1iI;},'XwlZc':function(liil1l,lI1lii){return liil1l===lI1lii;},'FgVts':iIIilI(0x166,'H(nm'),'PmQLv':'prizeGroupId','eRJII':iIIilI(0xfe,'pxs&'),'sbitc':function(Iiili1,Iil1l1){return Iiili1!==Iil1l1;},'FwhRc':'Jqfxs','ZyjuJ':iIIilI(0x22b,'Cs3f'),'svWGu':function(i1i11I,il1iIl){return i1i11I===il1iIl;},'NmPjx':iIIilI(0x198,'pxs&'),'wlcHP':function(iii1ii,il1iIi){return iii1ii===il1iIi;},'xJemh':iIIilI(0x13d,'beYH'),'hzkUC':iIIilI(0x1e3,'Cs3f'),'LWoef':'未绑定微信','IQmGO':'绑定手机号','LfwuA':iIIilI(0x242,'I[]O'),'suKNH':iIIilI(0x1f7,'uYXn'),'HNwxf':iIIilI(0x238,'Cs3f'),'IaNta':function(iii1il,II11li){return iii1il(II11li);},'xHKzw':'apCashWithDraw','EoGhT':function(I1l11i,iIIiiI){return I1l11i!==iIIiiI;},'Uoucs':iIIilI(0x1c2,'AF#$'),'uzqpG':'LnTGc','qvDEl':function(liiI1i,ililIi,lilIIl){return liiI1i(ililIi,lilIIl);}};$[iIIilI(0x15b,'pxs&')]='',await sendRequest(iIIilI(0x13e,'C1$C'));if($[iIIilI(0x193,'uYXn')]){if(illIi1['DActb']('OwDPM',illIi1[iIIilI(0x1d9,'UvmG')])){const ililIl=($[iIIilI(0x228,'#ahJ')]['items']||[])['filter'](liiI1l=>liiI1l[iIIilI(0xfb,'h9EU')]===0x4&&liiI1l['state']===0x0||liiI1l[iIIilI(0x1db,'ojfH')]===0x2);if(illIi1[iIIilI(0x1ab,'rSMw')](ililIl['length'],0x0))console[iIIilI(0xca,'(nM[')]('');for(i=0x0;i<ililIl[iIIilI(0x1d7,'xyt6')];i++){if(illIi1[iIIilI(0x149,'NSiy')](iIIilI(0x235,'beYH'),'JnKjU'))iIIl11[iIIilI(0x1d2,'g^ol')]('❓'+l1l1I1+'\x20'+I1iIll[iIIilI(0x11b,'H(nm')](I1lliI));else{const i1ill=ililIl[i];console['log']('去提现'+i1ill?.[iIIilI(0x131,'Cs3f')]+iIIilI(0x1fb,'(9nE')+i1ill['id']+']'),$[iIIilI(0x2b0,'7X8f')]={'prizeType':0x4,'business':business,'id':i1ill['id'],'poolBaseId':i1ill[illIi1['FgVts']],'prizeGroupId':i1ill[illIi1[iIIilI(0x192,'h9EU')]],'prizeBaseId':i1ill[illIi1['eRJII']]},$['apCashWithDraw']='',await sendRequest(iIIilI(0xdc,'wp%r'));if($['apCashWithDraw']){const I1l11l=$[iIIilI(0xd6,'@wV3')]['status'],lilIIi=$[iIIilI(0xd6,'@wV3')][iIIilI(0x11e,'FL#B')];if(I1l11l===iIIilI(0x241,'C1$C'))illIi1[iIIilI(0x178,'[v1D')](illIi1[iIIilI(0x14c,'k(zC')],'Jqfxs')?ll1il[iIIilI(0x1f5,'D63E')](IiiIiI,lilii):console[iIIilI(0x231,'k(zC')](illIi1['ZyjuJ']);else{let llIli=![],i1i11l=0x0;const i1i11i=0x3;if(lilIIi[iIIilI(0xde,'^ty8')]('上限'))illIi1[iIIilI(0xe1,'C1$C')](iIIilI(0x20e,'NSiy'),'nOfZD')?(iii1Ii['log']('❌\x20重试提现失败上一笔提现还未完成'),iii1Il=![]):(console['log'](iIIilI(0x225,'Y)IB')),exchange?($[iIIilI(0x230,'1KGY')]={'linkId':linkId,'business':business,'drawRecordId':i1ill['id'],'poolId':i1ill[illIi1[iIIilI(0x17c,'mD^^')]],'prizeGroupId':i1ill['prizeGroupId'],'prizeId':i1ill[illIi1[iIIilI(0x1e2,'lzfI')]]},await sendRequest(iIIilI(0x25f,'h9EU'))):illIi1[iIIilI(0x23f,'h9EU')](iIIilI(0x277,'g^ol'),'dQsFN')?IlI1I[iIIilI(0x1fd,'^ty8')](iIIilI(0x1c4,'p4xM')):!Swish&&($[iIIilI(0x1e6,'[v1D')]=!![]));else{if(lilIIi[iIIilI(0x219,'(9nE')](illIi1[iIIilI(0x26f,'7X8f')])){if(illIi1[iIIilI(0xf5,'I[]O')](illIi1['xJemh'],illIi1[iIIilI(0x200,'^L*m')]))console[iIIilI(0xc6,'uYXn')]('❌\x20提现失败上一笔提现还未完成'),llIli=!![];else{IIII1l[iIIilI(0x206,'mi0z')](illIi1[iIIilI(0x1ae,'[v1D')]),i1ili1[iIIilI(0x2a3,'uYXn')]['fix'](illIi1[iIIilI(0x251,'@b8x')]);return;}}else{if(lilIIi['includes'](illIi1['hzkUC'])){console[iIIilI(0xef,'Cs3f')](iIIilI(0x194,'p4xM'));if(!Swish)break;}else{if(lilIIi[iIIilI(0x14f,'z)rV')](illIi1[iIIilI(0x13f,'k(zC')])||lilIIi[iIIilI(0x15d,'^Qf8')](illIi1['IQmGO'])){if(illIi1['LfwuA']!=='poccB'){console[iIIilI(0x17d,'^Qf8')](illIi1[iIIilI(0x29b,'mD^^')]);if(!Swish)break;}else llIli1['log'](iIIilI(0x257,'i(Aw')),iliIII=![];}else{if(iIIilI(0x1b8,'NSiy')===illIi1['HNwxf'])II11II[iIIilI(0x28f,')Wg!')]('❓'+Ii1iI1+'\x20'+lilIli[iIIilI(0x29a,'W@PP')](Iliili));else{console[iIIilI(0x270,'I[]O')](iIIilI(0x17b,'@b8x')+lilIIi);if(!Swish)break;}}}}}while(llIli&&i1i11l<i1i11i){await $[iIIilI(0x169,'rAT^')](0xc350),await illIi1[iIIilI(0x268,'AF#$')](sendRequest,illIi1[iIIilI(0x273,'1KGY')]);const il1iII=$[iIIilI(0x208,'*DXr')][iIIilI(0x10c,'rSMw')],iilli=$[iIIilI(0x10d,'lzfI')][iIIilI(0x25c,'wu8j')];if(illIi1[iIIilI(0x180,'^L*m')](il1iII,'310'))console['log'](illIi1[iIIilI(0x243,'rSMw')]),llIli=![];else iilli[iIIilI(0x1b2,'wp%r')](illIi1[iIIilI(0x24f,'mD^^')])?illIi1[iIIilI(0x209,'D63E')](iIIilI(0x248,'lzfI'),iIIilI(0x128,'I[]O'))?i1l1ll[iIIilI(0x12d,'#ahJ')]=!![]:i1i11l++:(console['log'](illIi1[iIIilI(0x139,'mi0z')]),llIli=![]);}}i!==ililIl['length']-0x1&&(illIi1[iIIilI(0x254,'*DXr')]!==illIi1[iIIilI(0x1a5,'pxs&')]?(i1III['log'](iIIilI(0x202,'D63E')),Ii1iIi=![]):await $['wait'](illIi1[iIIilI(0x144,'wjJ^')](parseInt,Math['random']()*0x7d0+0x1388,0xa)));}}}}else lilIl1[iIIilI(0x14a,'0eJx')](i1l1ii[iIIilI(0x2ac,'UvmG')],iIIilI(0x259,'wjJ^')),i1l1[iIIilI(0xe0,'(nM[')](0x1);}}async function handleResponse(I1l11I,Ilil1l){const il1l1=iliIi1,iIIiii={'aPLjO':il1l1(0x197,'i(Aw'),'eLfRX':function(iilll,il1iI1){return iilll==il1iI1;},'AhIhJ':function(IlllIi,iIIiil){return IlllIi>iIIiil;},'USuNY':function(i1l1Ii,I1iIIi){return i1l1Ii!==I1iIIi;},'pAMmZ':il1l1(0x23e,'g^ol'),'zuMqM':'superRedBagList','yRBwi':function(I1iIIl,lI1IIl){return I1iIIl===lI1IIl;},'jATQS':'NwXYx','AZKjp':'EMmID','RnzNI':function(i1ilI,iii1lI){return i1ilI===iii1lI;},'xFotv':il1l1(0x155,'Cs3f'),'ZiUBr':il1l1(0x253,'eIko'),'jgjmj':function(i1ilI1,Iiilii){return i1ilI1===Iiilii;},'zvfEi':function(Iil1li,Iiilil){return Iil1li===Iiilil;},'LDrEz':il1l1(0xc5,'ojfH'),'aouMG':'EEtTT','JNzXB':il1l1(0x111,'(9nE')};try{switch(I1l11I){case'superRedBagHome':if(Ilil1l[il1l1(0x244,'oC%X')]==0x0&&Ilil1l['success'])$['superRedBagHome']=Ilil1l[il1l1(0x17e,'*DXr')];else{if(Ilil1l[il1l1(0x223,'beYH')]||Ilil1l[il1l1(0xed,'^ty8')])iIIiii['aPLjO']!==iIIiii[il1l1(0x18e,'C1$C')]?iIIl1I['log'](''+I1iIli[il1l1(0x19f,'rSMw')]):console[il1l1(0x21d,'NSiy')](''+(Ilil1l['errMsg']||Ilil1l[il1l1(0xf2,'H(nm')]));else Ilil1l[il1l1(0xce,'^Qf8')]?console[il1l1(0x174,'ojfH')](''+Ilil1l['message']):console[il1l1(0x120,'rAT^')]('❓'+I1l11I+'\x20'+JSON[il1l1(0x15a,'(nM[')](Ilil1l));}break;case'superRedBagDraw':if(iIIiii[il1l1(0xd8,'R4iB')](Ilil1l[il1l1(0x29f,'NSiy')],0x0)&&Ilil1l[il1l1(0x157,'#ahJ')]){if(Ilil1l['data']&&iIIiii[il1l1(0x25b,'I[]O')](Ilil1l[il1l1(0x222,'rSMw')][il1l1(0x13a,'1KGY')],0x0)){if(iIIiii['USuNY'](il1l1(0x145,'@b8x'),iIIiii['pAMmZ']))IlI11[il1l1(0x2a2,'R4iB')](il1l1(0x175,'D63E')+iIIIIl);else{if(Ilil1l[il1l1(0x21c,'wu8j')]&&Ilil1l[il1l1(0x215,'3[ab')]['prizeDrawVo']){const lI1III=Ilil1l[il1l1(0x1b5,'ojfH')][il1l1(0xdb,'k(zC')]['prizeType'];switch(lI1III){case 0x0:console[il1l1(0x1f2,'oC%X')]('抽中:空气');break;case 0x1:console[il1l1(0x1a8,'xyt6')]('获得'+Ilil1l[il1l1(0x126,'h9EU')][il1l1(0xdd,'xyt6')][il1l1(0x110,'g^ol')]+'(满'+Ilil1l['data']['prizeDrawVo'][il1l1(0x256,'C1$C')]+'减'+Ilil1l['data'][il1l1(0xe7,'wu8j')]['amount']+')');break;case 0x2:console[il1l1(0x1ea,'z)rV')](il1l1(0x2af,'rSMw')+Ilil1l['data']['prizeDrawVo'][il1l1(0x1de,'0eJx')]+'红包');break;case 0x3:console[il1l1(0x1ea,'z)rV')](il1l1(0x20c,'wp%r')+Ilil1l['data'][il1l1(0x2a1,'mi0z')][il1l1(0x185,'CW&c')]+'京豆');break;case 0x4:console[il1l1(0x1f2,'oC%X')](il1l1(0x165,'@b8x')+Ilil1l[il1l1(0x204,'(nM[')][il1l1(0x278,'eIko')]['amount']+'现金'),apCashWithDrawList[il1l1(0x25e,'^L*m')]({'id':Ilil1l['data']['prizeDrawVo']['id'],'prizeDesc':Ilil1l[il1l1(0x237,'C1$C')][il1l1(0x10b,'ojfH')][il1l1(0x147,'p4xM')],'amount':Ilil1l[il1l1(0x177,'0eJx')]['prizeDrawVo'][il1l1(0x114,'k(zC')],'prizeBaseId':Ilil1l[il1l1(0x275,'mD^^')][il1l1(0x1c6,'AF#$')]['prizeBaseId'],'poolBaseId':Ilil1l[il1l1(0x107,'W@PP')][il1l1(0x1a6,'pxs&')][il1l1(0x1d5,'^L*m')],'prizeGroupId':Ilil1l['data'][il1l1(0xe3,'wp%r')]['prizeGroupId'],'prizeType':Ilil1l[il1l1(0x292,'QW0k')][il1l1(0x196,'QW0k')]['prizeType']});break;case 0x18:console['log'](il1l1(0x282,')Wg!')+Ilil1l[il1l1(0x1b5,'ojfH')][il1l1(0x106,'i(Aw')][il1l1(0xeb,'beYH')]+Ilil1l[il1l1(0x222,'rSMw')][il1l1(0x108,'3[ab')]['prizeConfigName']);break;default:console['log']('未知奖品:'+Ilil1l[il1l1(0x19b,'k(zC')][il1l1(0x106,'i(Aw')][il1l1(0x1fa,'AF#$')]+'('+lI1III+')');break;}}else console[il1l1(0x1ff,'W@PP')](il1l1(0x153,'wu8j'));}}else $['superRun']=!![];}else{if(Ilil1l[il1l1(0x1b4,'Cs3f')]||Ilil1l[il1l1(0x269,'C1$C')])console[il1l1(0xe4,'1KGY')](''+(Ilil1l['errMsg']||Ilil1l[il1l1(0xcc,'z)rV')]));else Ilil1l[il1l1(0x171,'@wV3')]?console[il1l1(0x287,'H(nm')](''+Ilil1l['message']):console[il1l1(0x2a2,'R4iB')]('❓'+I1l11I+'\x20'+JSON[il1l1(0x29a,'W@PP')](Ilil1l));}break;case iIIiii['zuMqM']:if(iIIiii[il1l1(0x1f1,'rSMw')](Ilil1l?.[il1l1(0x293,'p4xM')],0x0)&&Ilil1l?.['success']===!![])iIIiii[il1l1(0x264,'(nM[')]!==iIIiii[il1l1(0x1dc,'h9EU')]?$['superRedBagList']=Ilil1l[il1l1(0x204,'(nM[')]:Iliiii[il1l1(0x229,'i(Aw')](''+(i1illI[il1l1(0x1bd,'*DXr')]||i1IIl[il1l1(0x269,'C1$C')]));else{if(iIIiii[il1l1(0x16b,'#ahJ')](Ilil1l?.[il1l1(0x11c,'k(zC')],il1l1(0x1aa,'R4iB')))console['log']('>\x20滑块验证,请尝试手动验证一次或者更换IP'),$['txhot']=!![];else{if(Ilil1l[il1l1(0x127,'#ahJ')])console['log'](il1l1(0x1e4,'wp%r')+Ilil1l[il1l1(0x1c1,'rAT^')]);else Ilil1l[il1l1(0x23a,'lzfI')]?il1l1(0x154,'CW&c')!==il1l1(0x249,'*DXr')?IIli1i['log']('>\x20'+I1iIi1['msg']):console[il1l1(0x17d,'^Qf8')]('>\x20'+Ilil1l[il1l1(0x1f4,'@wV3')]):console[il1l1(0x1ee,'pxs&')]('❓'+I1l11I+'\x20'+JSON[il1l1(0x23b,'lzfI')](Ilil1l));}}break;case il1l1(0x2ad,'R4iB'):if(Ilil1l?.['code']===0x0&&iIIiii[il1l1(0x271,'wp%r')](Ilil1l?.['success'],!![]))$['apCashWithDraw']=Ilil1l[il1l1(0x1ca,'xyt6')];else{if(iIIiii[il1l1(0x252,'#ahJ')](Ilil1l?.['code'],'605'))console[il1l1(0x1f2,'oC%X')](il1l1(0x12e,'^ty8')),$[il1l1(0x116,'mD^^')]=!![];else{if(Ilil1l[il1l1(0x24d,'(nM[')])'PgHLz'===iIIiii[il1l1(0x24c,'#ahJ')]?iillll[il1l1(0xf4,'k(zC')]=lIIilI['data']:console['log']('>\x20失败'+Ilil1l[il1l1(0x2a6,'D63E')]);else Ilil1l['msg']?console[il1l1(0x270,'I[]O')]('>\x20'+Ilil1l[il1l1(0x109,'xyt6')]):console['log']('❓'+I1l11I+'\x20'+JSON[il1l1(0x203,'UvmG')](Ilil1l));}}break;case iIIiii[il1l1(0x112,'i(Aw')]:if(Ilil1l?.[il1l1(0x293,'p4xM')]===0x0&&iIIiii[il1l1(0x1dd,'*DXr')](Ilil1l?.[il1l1(0x1d6,'0eJx')],!![]))il1l1(0x170,'pxs&')!==il1l1(0x247,'FL#B')?console[il1l1(0x120,'rAT^')]('✅\x20兑换红包成功'):IiiiI[il1l1(0x172,'^L*m')]=!![];else{if(iIIiii[il1l1(0x12b,'wjJ^')](Ilil1l?.['code'],iIIiii[il1l1(0x16f,'beYH')]))'EEtTT'!==iIIiii[il1l1(0x2b6,'oC%X')]?(IIlll[il1l1(0x217,'QW0k')](liliI),ll1lI&&(lIIill['outFlag']=!![],I11iIi[il1l1(0x21b,'W@PP')]&&l1l11l[il1l1(0x1ed,'rAT^')][il1l1(0xfa,'pxs&')](IilIil))):(console[il1l1(0x1e9,'@b8x')]('>\x20滑块验证,请尝试手动验证一次或者更换IP'),$[il1l1(0x272,'FL#B')]=!![]);else{if(Ilil1l[il1l1(0x132,'rSMw')])console['log'](il1l1(0x14e,'g^ol')+Ilil1l[il1l1(0xd1,'Y)IB')]);else Ilil1l[il1l1(0x1d1,'7X8f')]?console[il1l1(0x231,'k(zC')]('>\x20'+Ilil1l['msg']):iIIiii['zvfEi'](iIIiii[il1l1(0x156,'k(zC')],il1l1(0x288,'uYXn'))?lI1Il1['txhot']=!![]:console[il1l1(0x101,'3[ab')]('❓'+I1l11I+'\x20'+JSON['stringify'](Ilil1l));}}break;}}catch(liiI11){console[il1l1(0x1f2,'oC%X')]('❌\x20未能正确处理\x20'+I1l11I+'\x20请求响应\x20'+(liiI11[il1l1(0x2a5,'beYH')]||liiI11));}}async function sendRequest(ililI1){const Ii1iil=iliIi1,IIii1i={'CiYKR':'❌\x20提现失败上一笔提现还未完成','turva':'superRedBagHome','RhqUU':Ii1iil(0x152,'beYH'),'hHivj':'https://api.m.jd.com/api','Xpguw':Ii1iil(0x1bb,'h9EU'),'pwSRy':'activities_platform','fEzvy':Ii1iil(0x1be,'R4iB'),'dfGKA':Ii1iil(0x125,'NSiy'),'ZjXNM':Ii1iil(0x1cb,'mi0z'),'PJniC':Ii1iil(0x17f,'*DXr'),'iEHVf':Ii1iil(0x143,'k(zC'),'dBCup':Ii1iil(0x27f,'ojfH'),'OkQOh':Ii1iil(0x135,'0eJx'),'MoSfe':Ii1iil(0x260,'oC%X'),'DZRZe':Ii1iil(0x105,'g^ol'),'jKsdm':function(iIIii1,IllIi1){return iIIii1<IllIi1;},'kBEoJ':function(lilIII,Ii1ilI){return lilIII>Ii1ilI;},'szVSn':function(II11i1,iliIil){return II11i1===iliIil;},'SFnAb':'wheelsLottery','rPhdg':function(iliIii,lill1i){return iliIii!==lill1i;},'Neket':function(il1li,iIIill,iilii){return il1li(iIIill,iilii);},'mSjqd':Ii1iil(0xd2,'p4xM')};if($[Ii1iil(0x21e,'7X8f')])return;let i1ili='',Iiill1=null,I1iII1=null,lilII1=Ii1iil(0x20d,'Y)IB'),iill1={},iii1l1={};switch(ililI1){case IIii1i[Ii1iil(0xea,'mD^^')]:iii1l1={'appId':Ii1iil(0x129,'mD^^'),'functionId':ililI1,'appid':Ii1iil(0x1f6,'I[]O'),'clientVersion':common['getLatestAppVersion'](),'client':Ii1iil(0x216,'AF#$'),'body':{'linkId':superlinkId},'version':Ii1iil(0x291,'eIko'),'ua':$['UA'],'t':!![]},iill1=await H5st[Ii1iil(0x1c7,'0eJx')](iii1l1),i1ili='https://api.m.jd.com/api',Iiill1=iill1[Ii1iil(0x18c,'lzfI')];break;case Ii1iil(0xff,'mD^^'):iii1l1={'appId':IIii1i[Ii1iil(0x1fe,'z)rV')],'functionId':ililI1,'appid':Ii1iil(0x18a,'rSMw'),'clientVersion':common[Ii1iil(0xf3,'z)rV')](),'client':'ios','body':{'linkId':superlinkId},'version':Ii1iil(0x181,'rAT^'),'ua':$['UA'],'t':!![]},iill1=await H5st[Ii1iil(0x29e,'oC%X')](iii1l1),i1ili=IIii1i[Ii1iil(0x239,'p4xM')],Iiill1=iill1[Ii1iil(0x2b4,'ojfH')];break;case'superRedBagList':iii1l1={'appId':IIii1i[Ii1iil(0x261,'uYXn')],'functionId':Ii1iil(0x236,'QW0k'),'appid':IIii1i[Ii1iil(0x141,'0eJx')],'clientVersion':common[Ii1iil(0xe2,'wu8j')](),'client':IIii1i[Ii1iil(0x24e,'AF#$')],'body':{'pageNum':$[Ii1iil(0xfc,'I[]O')],'pageSize':0x190,'linkId':superlinkId,'business':business},'version':Ii1iil(0x1ad,'uYXn'),'ua':$['UA'],'t':!![]},iill1=await H5st[Ii1iil(0x28a,'wjJ^')](iii1l1),i1ili=Ii1iil(0xc9,'@wV3'),Iiill1=iill1['paramsData'];break;case Ii1iil(0xdc,'wp%r'):iii1l1={'appId':'73bca','functionId':IIii1i[Ii1iil(0x1a9,'oC%X')],'appid':IIii1i[Ii1iil(0x121,'R4iB')],'clientVersion':common[Ii1iil(0x134,'I[]O')](),'client':IIii1i['fEzvy'],'body':{'linkId':superlinkId,'businessSource':IIii1i[Ii1iil(0x11d,'oC%X')],'base':$['apCashWithDrawBaseParams']},'version':Ii1iil(0xd4,'Y)IB'),'ua':$['UA'],'t':!![]},iill1=await H5st[Ii1iil(0x14b,'C1$C')](iii1l1),i1ili=Ii1iil(0x122,'rSMw'),Iiill1=iill1['paramsData'];break;case Ii1iil(0xc3,'UvmG'):iii1l1={'appId':IIii1i[Ii1iil(0x22a,'rSMw')],'functionId':Ii1iil(0x168,'i(Aw'),'appid':Ii1iil(0x2a9,'1KGY'),'clientVersion':common['getLatestAppVersion'](),'client':IIii1i[Ii1iil(0x211,'I[]O')],'body':$[Ii1iil(0x212,'@b8x')],'version':IIii1i[Ii1iil(0x22e,'ojfH')],'ua':$['UA'],'t':!![]},iill1=await H5st[Ii1iil(0x258,'pxs&')](iii1l1),i1ili='https://api.m.jd.com/api',Iiill1=iill1[Ii1iil(0x286,'(nM[')];break;default:console[Ii1iil(0x201,'p4xM')]('❌\x20未知请求\x20'+ililI1);return;}const IIliIl={};Iiill1&&Object[Ii1iil(0x151,'#ahJ')](Iiill1,IIliIl);I1iII1&&Object['assign'](I1iII1,IIliIl);const II11ll={'url':i1ili,'method':lilII1,'headers':{'origin':IIii1i[Ii1iil(0x13c,'beYH')],'Referer':IIii1i['OkQOh'],'User-Agent':$['UA'],'Cookie':cookie,'content-type':IIii1i[Ii1iil(0x17a,'oC%X')],'accept':Ii1iil(0x140,'ojfH'),'x-rp-client':IIii1i[Ii1iil(0x298,'D63E')]},'params':I1iII1,'data':Iiill1,'timeout':0x7530};lilII1==='GET'&&(delete II11ll[Ii1iil(0xd7,'p4xM')],delete II11ll[Ii1iil(0x158,'AF#$')]['Content-Type']);const liiI1I=0x1;let ililII=0x0,lI1II1=null,i1ilII=![];while(IIii1i[Ii1iil(0x1c9,'D63E')](ililII,liiI1I)){IIii1i[Ii1iil(0x28d,'mD^^')](ililII,0x0)&&await $[Ii1iil(0x1cf,'eIko')](0x3e8);const Ill11i=await common[Ii1iil(0x250,'rAT^')](II11ll);if(!Ill11i[Ii1iil(0x205,'wp%r')]){if(IIii1i[Ii1iil(0x289,'3[ab')](Ii1iil(0x276,'ojfH'),Ii1iil(0x255,'rAT^')))IIli1l['log']('>\x20失败'+II1lii[Ii1iil(0x190,'7X8f')]);else{lI1II1=Ii1iil(0x10a,'C1$C')+ililI1+Ii1iil(0x159,'wu8j')+Ill11i[Ii1iil(0x1d4,'h9EU')],ililII++;Ill11i[Ii1iil(0x11f,'(nM[')]&&IIii1i[Ii1iil(0x18b,'QW0k')](Ill11i['status'],0x193)&&[IIii1i[Ii1iil(0x29c,'FL#B')]]['includes'](ililI1)&&($['wheelsLotteryHot']=!![]);continue;}}if(!Ill11i['data']){if(IIii1i[Ii1iil(0x150,'mD^^')]('QzUKV',Ii1iil(0x176,'Y)IB')))I1iIil[Ii1iil(0x2a4,'beYH')](Ii1iil(0x1f0,'UvmG')),lI1Iil=![];else{lI1II1='🚫\x20'+ililI1+'\x20请求失败\x20➜\x20无响应数据',ililII++;continue;}}await IIii1i['Neket'](handleResponse,ililI1,Ill11i[Ii1iil(0x19b,'k(zC')]),i1ilII=![];break;}ililII>=liiI1I&&(Ii1iil(0x1bf,'xyt6')!==IIii1i['mSjqd']?(i1ilil[Ii1iil(0x174,'ojfH')](IIii1i[Ii1iil(0x279,'k(zC')]),lilIii=!![]):(console[Ii1iil(0x285,'wjJ^')](lI1II1),i1ilII&&($['outFlag']=!![],$[Ii1iil(0x296,'3[ab')]&&$[Ii1iil(0xd5,'D63E')][Ii1iil(0x137,'QW0k')](lI1II1))));}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) }