1 Star 0 Fork 0

冷心/Thread

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jd_cjdaily.js 38.68 KB
一键复制 编辑 原始数据 按行查看 历史
gys619 提交于 2022-10-18 16:13 . up
/*
CJ每日抢好礼通用活动
变量:
//export jd_cjdaily_activityId="活动ID"
//export jd_cjdaily_blacklist="" // 黑名单 用&隔开 pin值
//export JD_CJ_OPEN="false" //关闭CJ相关活动运行
cron:1 1 1 1 *
============Quantumultx===============
[task_local]
#CJ每日抢好礼通用活动
1 1 1 1 * jd_cjdaily.js, tag=CJ每日抢好礼通用活动, enabled=true
*/
const $ = new Env('CJ每日抢好礼通用活动');
var __encode ='jsjiami.com',_a={}, _0xb483=["\x5F\x64\x65\x63\x6F\x64\x65","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x73\x6F\x6A\x73\x6F\x6E\x2E\x63\x6F\x6D\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x6F\x62\x66\x75\x73\x63\x61\x74\x6F\x72\x2E\x68\x74\x6D\x6C"];(function(_0xd642x1){_0xd642x1[_0xb483[0]]= _0xb483[1]})(_a);var __Oxeda86=["\x69\x73\x4E\x6F\x64\x65","\x2E\x2F\x6A\x64\x43\x6F\x6F\x6B\x69\x65\x2E\x6A\x73","","\x2E\x2F\x73\x65\x6E\x64\x4E\x6F\x74\x69\x66\x79","\x2E\x2F\x66\x75\x6E\x63\x74\x69\x6F\x6E\x2F\x6B\x72\x67\x65\x74\x54\x6F\x6B\x65\x6E","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x63\x6A\x68\x79\x2D\x69\x73\x76\x2E\x69\x73\x76\x6A\x63\x6C\x6F\x75\x64\x2E\x63\x6F\x6D","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6B\x65\x79\x73","\x4A\x44\x5F\x44\x45\x42\x55\x47","\x65\x6E\x76","\x66\x61\x6C\x73\x65","\x6C\x6F\x67","\x66\x69\x6C\x74\x65\x72","\x43\x6F\x6F\x6B\x69\x65\x4A\x44","\x67\x65\x74\x64\x61\x74\x61","\x43\x6F\x6F\x6B\x69\x65\x4A\x44\x32","\x63\x6F\x6F\x6B\x69\x65","\x6D\x61\x70","\x43\x6F\x6F\x6B\x69\x65\x73\x4A\x44","\x5B\x5D","\x68\x6F\x74\x46\x6C\x61\x67","\x6F\x75\x74\x46\x6C\x61\x67","\x61\x63\x74\x69\x76\x69\x74\x79\x45\x6E\x64","\u6765\u665A\u4E86","\u62A2\u5149\u4E86","\u5DF2\u53D1\u5B8C","\u5DF2\u9886\u5B8C","\u975E\u6CD5\u64CD\u4F5C","\u5956\u54C1\u53D1\u9001\u5931\u8D25","\u672A\u5F00\u59CB","\u53D1\u653E\u5B8C","\u5168\u90E8\u88AB\u9886\u53D6","\u4F59\u989D\u4E0D\u8DB3","\u5DF2\u7ED3\u675F","\u4EAC\u8C46\u8BA1\u5212","\x6A\x64\x5F\x63\x6A\x64\x61\x69\x6C\x79\x5F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64","\x4A\x44\x5F\x43\x4A\x5F\x4F\x50\x45\x4E","\x74\x72\x75\x65","\x77\x68\x69\x74\x65\x6C\x69\x73\x74","\x6A\x64\x5F\x63\x6A\x64\x61\x69\x6C\x79\x5F\x77\x68\x69\x74\x65\x6C\x69\x73\x74","\x62\x6C\x61\x63\x6B\x6C\x69\x73\x74","\x6A\x64\x5F\x63\x6A\x64\x61\x69\x6C\x79\x5F\x62\x6C\x61\x63\x6B\x6C\x69\x73\x74","\x64\x6F\x6E\x65","\x66\x69\x6E\x61\x6C\x6C\x79","\x6C\x6F\x67\x45\x72\x72","\x63\x61\x74\x63\x68","\x0A\u274C\x20\x20\u5DF2\u8BBE\u7F6E\u5168\u5C40\u5173\u95ED\x43\x4A\u76F8\u5173\u6D3B\u52A8\x0A","\x0A\u8BF7\u586B\u5199\x43\x4A\u6BCF\u65E5\u62A2\u597D\u793C\u7684\u6D3B\u52A8\x49\x44\x2C\u53D8\u91CF\u662F\x6A\x64\x5F\x63\x6A\x64\x61\x69\x6C\x79\x5F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x0A","\x6E\x61\x6D\x65","\u3010\u63D0\u793A\u3011\u8BF7\u5148\u83B7\u53D6\x63\x6F\x6F\x6B\x69\x65\x0A\u76F4\u63A5\u4F7F\u7528\x4E\x6F\x62\x79\x44\x61\u7684\u4EAC\u4E1C\u7B7E\u5230\u83B7\u53D6","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x62\x65\x61\x6E\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D\x2F","\x6D\x73\x67","\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64","\u6D3B\u52A8\u5165\u53E3\x3A\x20\x68\x74\x74\x70\x73\x3A\x2F\x2F\x63\x6A\x68\x79\x2D\x69\x73\x76\x2E\x69\x73\x76\x6A\x63\x6C\x6F\x75\x64\x2E\x63\x6F\x6D\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x2F\x64\x61\x69\x6C\x79\x2F\x77\x78\x2F\x69\x6E\x64\x65\x78\x50\x61\x67\x65\x3F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x6C\x65\x6E\x67\x74\x68","\x55\x73\x65\x72\x4E\x61\x6D\x65","\x6D\x61\x74\x63\x68","\x69\x6E\x64\x65\x78","\x62\x65\x61\x6E","\x6E\x69\x63\x6B\x4E\x61\x6D\x65","\x0A\x2A\x2A\x2A\x2A\x2A\x2A\u5F00\u59CB\u3010\u4EAC\u4E1C\u8D26\u53F7","\u3011","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x0A","\x65\x6E\x64\x54\x69\x6D\x65","\x74\x6F\x6B\x65\x6E","\x50\x69\x6E","\x65\x72\x72\x73","\u83B7\u53D6\x5B\x74\x6F\x6B\x65\x6E\x5D\u5931\u8D25\uFF01","\u83B7\u53D6\x63\x6F\x6F\x6B\x69\x65\u5931\u8D25","\u6D3B\u52A8\u7ED3\u675F","\u6B64\x69\x70\u5DF2\u88AB\u9650\u5236\uFF0C\u8BF7\u8FC7\x31\x30\u5206\u949F\u540E\u518D\u6267\u884C\u811A\u672C\x0A","\x67\x65\x74\x53\x69\x6D\x70\x6C\x65\x41\x63\x74\x49\x6E\x66\x6F\x56\x6F","\x77\x61\x69\x74","\x67\x65\x74\x4D\x79\x50\x69\x6E\x67","\u83B7\u53D6\x5B\x50\x69\x6E\x5D\u5931\u8D25\uFF01","\x61\x63\x63\x65\x73\x73\x4C\x6F\x67\x57\x69\x74\x68\x41\x44","\x67\x72\x61\x62\x47\x69\x66\x74","\x72\x61\x6E\x64\x6F\x6D","\x50\x4F\x53\x54","\x2F\x63\x75\x73\x74\x6F\x6D\x65\x72\x2F\x67\x65\x74\x4D\x79\x50\x69\x6E\x67","\x74\x6F\x6B\x65\x6E\x3D","\x26\x66\x72\x6F\x6D\x54\x79\x70\x65\x3D\x41\x50\x50\x26\x75\x73\x65\x72\x49\x64\x3D","\x76\x65\x6E\x64\x65\x72\x49\x64","\x2F\x63\x75\x73\x74\x6F\x6D\x65\x72\x2F\x67\x65\x74\x53\x69\x6D\x70\x6C\x65\x41\x63\x74\x49\x6E\x66\x6F\x56\x6F","\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x2F\x6D\x63\x2F\x6E\x65\x77\x2F\x62\x72\x61\x6E\x64\x43\x61\x72\x64\x2F\x63\x6F\x6D\x6D\x6F\x6E\x2F\x73\x68\x6F\x70\x41\x6E\x64\x42\x72\x61\x6E\x64\x2F\x67\x65\x74\x4F\x70\x65\x6E\x43\x61\x72\x64\x49\x6E\x66\x6F","\x76\x65\x6E\x64\x65\x72\x49\x64\x3D","\x26\x61\x63\x74\x69\x76\x69\x74\x79\x54\x79\x70\x65\x3D","\x61\x63\x74\x69\x76\x69\x74\x79\x54\x79\x70\x65","\x26\x62\x75\x79\x65\x72\x50\x69\x6E\x3D","\x67\x65\x74\x4F\x70\x65\x6E\x43\x61\x72\x64\x49\x6E\x66\x6F","\x2F\x63\x6F\x6D\x6D\x6F\x6E\x2F\x61\x63\x63\x65\x73\x73\x4C\x6F\x67","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x63\x6A\x68\x79\x2D\x69\x73\x76\x2E\x69\x73\x76\x6A\x63\x6C\x6F\x75\x64\x2E\x63\x6F\x6D\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x2F\x64\x61\x69\x6C\x79\x2F\x77\x78\x2F\x69\x6E\x64\x65\x78\x50\x61\x67\x65\x3F\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x26\x63\x6F\x64\x65\x3D","\x26\x70\x69\x6E\x3D","\x26\x61\x63\x74\x69\x76\x69\x74\x79\x49\x64\x3D","\x26\x70\x61\x67\x65\x55\x72\x6C\x3D","\x26\x73\x75\x62\x54\x79\x70\x65\x3D\x61\x70\x70\x26\x61\x64\x53\x6F\x75\x72\x63\x65\x3D","\x2F\x64\x61\x69\x6C\x79\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x61\x63\x74\x69\x76\x69\x74\x79\x43\x6F\x6E\x74\x65\x6E\x74","\x2F\x64\x61\x69\x6C\x79\x2F\x66\x6F\x6C\x6C\x6F\x77","\x66\x6F\x6C\x6C\x6F\x77","\x2F\x61\x63\x74\x69\x76\x69\x74\x79\x2F\x64\x61\x69\x6C\x79\x2F\x77\x78\x2F\x67\x72\x61\x62\x47\x69\x66\x74","\x61\x63\x74\x49\x64\x3D","\x2F\x64\x61\x69\x6C\x79\x2F\x73\x68\x6F\x70\x49\x6E\x66\x6F","\x67\x65\x74\x53\x68\x61\x72\x65\x52\x65\x63\x6F\x72\x64","\x2F\x77\x78\x41\x63\x74\x69\x6F\x6E\x43\x6F\x6D\x6D\x6F\x6E\x2F\x67\x65\x74\x55\x73\x65\x72\x49\x6E\x66\x6F","\x70\x69\x6E\x3D","\x67\x65\x74\x55\x73\x65\x72\x49\x6E\x66\x6F","\u9519\u8BEF","\x73\x74\x61\x74\x75\x73\x43\x6F\x64\x65","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x74\x6F\x53\x74\x72","\x20\x41\x50\x49\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u8DEF\u91CD\u8BD5","\x70\x6F\x73\x74","\x64\x72\x61\x77\x43\x6F\x6E\x74\x65\x6E\x74","\x70\x61\x72\x73\x65","\x20\u6267\u884C\u4EFB\u52A1\u5F02\u5E38","\x72\x75\x6E\x46\x61\x6C\x61\x67","\x6F\x62\x6A\x65\x63\x74","\x72\x65\x73\x75\x6C\x74","\x64\x61\x74\x61","\x73\x65\x63\x72\x65\x74\x50\x69\x6E","\x6E\x69\x63\x6B\x6E\x61\x6D\x65","\x65\x72\x72\x6F\x72\x4D\x65\x73\x73\x61\x67\x65","\x20","\x73\x68\x6F\x70\x49\x64","\x63\x6F\x75\x6E\x74","\x6F\x70\x65\x6E\x43\x61\x72\x64","\x6F\x70\x65\x6E\x65\x64\x43\x61\x72\x64","\x79\x75\x6E\x4D\x69\x64\x49\x6D\x61\x67\x65\x55\x72\x6C","\x61\x74\x74\x72\x54\x6F\x75\x58\x69\x61\x6E\x67","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x69\x6D\x67\x31\x30\x2E\x33\x36\x30\x62\x75\x79\x69\x6D\x67\x2E\x63\x6F\x6D\x2F\x69\x6D\x67\x7A\x6F\x6E\x65\x2F\x6A\x66\x73\x2F\x74\x31\x2F\x37\x30\x32\x30\x2F\x32\x37\x2F\x31\x33\x35\x31\x31\x2F\x36\x31\x34\x32\x2F\x35\x63\x35\x31\x33\x38\x64\x38\x45\x34\x64\x66\x32\x65\x37\x36\x34\x2F\x35\x61\x31\x32\x31\x36\x61\x33\x61\x35\x30\x34\x33\x63\x35\x64\x2E\x70\x6E\x67","\x6A\x64\x4E\x69\x63\x6B","\x63\x61\x6E\x4A\x6F\x69\x6E","\x6E\x65\x65\x64\x46\x6F\x6C\x6C\x6F\x77","\x68\x61\x73\x46\x6F\x6C\x6C\x6F\x77","\x73\x74\x61\x72\x74\x54\x69\x6D\x65","\x74\x69\x74\x6C\x65","\x63\x75\x72\x72\x65\x6E\x74\x46\x6C\x6F\x6F\x72\x73","\x74\x6F\x74\x61\x6C\x4A\x6F\x69\x6E\x4D\x61\x6E\x73","\u7ED3\u675F","\x69\x6E\x64\x65\x78\x4F\x66","\x67\x69\x66\x74","\x69\x73\x4F\x6B","\u83B7\u5F97\uFF1A","\x67\x69\x66\x74\x4E\x61\x6D\x65","\x69\x6E\x63\x6C\x75\x64\x65\x73","\u4E0D\u8DB3","\u706B\u7206","\u4E0A\u9650","\u4E00\u6B21","\u64E6\u80A9","\u4E0B\u6B21\u518D\u6765","\u4F1A\u5458","\x2D\x3E\x20","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E","\x67\x7A\x69\x70\x2C\x20\x64\x65\x66\x6C\x61\x74\x65\x2C\x20\x62\x72","\x7A\x68\x2D\x63\x6E","\x6B\x65\x65\x70\x2D\x61\x6C\x69\x76\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x55\x41","\x58\x4D\x4C\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74","\x52\x65\x66\x65\x72\x65\x72","\x43\x6F\x6F\x6B\x69\x65","\x41\x55\x54\x48\x5F\x43\x5F\x55\x53\x45\x52\x3D","\x3B","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E\x2C\x20\x74\x65\x78\x74\x2F\x70\x6C\x61\x69\x6E\x2C\x20\x2A\x2F\x2A","\x20\x63\x6F\x6F\x6B\x69\x65\x20\x41\x50\x49\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u8DEF\u91CD\u8BD5","\u6D3B\u52A8\u5DF2\u7ED3\u675F","\x67\x65\x74","\x73\x65\x74\x2D\x63\x6F\x6F\x6B\x69\x65","\x68\x65\x61\x64\x65\x72\x73","\x3D","\x73\x70\x6C\x69\x74","\x73\x75\x62\x73\x74\x72","\u5F53\u524D\u5DF2\u8BBE\u7F6E\u9ED1\u540D\u5355\uFF1A","\x26","\x66\x72\x6F\x6D","\x6A\x6F\x69\x6E","\x0A","\x73\x70\x6C\x69\x63\x65","\x75\x6E\x73\x68\x69\x66\x74","\x74\x6F\x4F\x62\x6A","\u5F53\u524D\u5DF2\u8BBE\u7F6E\u767D\u540D\u5355\uFF1A","\x6A\x64\x61\x70\x70\x3B\x69\x50\x68\x6F\x6E\x65\x3B\x31\x30\x2E\x31\x2E\x34\x3B\x31\x33\x2E\x31\x2E\x32\x3B","\x3B\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x77\x69\x66\x69\x3B\x6D\x6F\x64\x65\x6C\x2F\x69\x50\x68\x6F\x6E\x65\x38\x2C\x31\x3B\x61\x64\x64\x72\x65\x73\x73\x69\x64\x2F\x32\x33\x30\x38\x34\x36\x30\x36\x31\x31\x3B\x61\x70\x70\x42\x75\x69\x6C\x64\x2F\x31\x36\x37\x38\x31\x34\x3B\x6A\x64\x53\x75\x70\x70\x6F\x72\x74\x44\x61\x72\x6B\x4D\x6F\x64\x65\x2F\x30\x3B\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F\x35\x2E\x30\x20\x28\x69\x50\x68\x6F\x6E\x65\x3B\x20\x43\x50\x55\x20\x69\x50\x68\x6F\x6E\x65\x20\x4F\x53\x20\x31\x33\x5F\x31\x5F\x32\x20\x6C\x69\x6B\x65\x20\x4D\x61\x63\x20\x4F\x53\x20\x58\x29\x20\x41\x70\x70\x6C\x65\x57\x65\x62\x4B\x69\x74\x2F\x36\x30\x35\x2E\x31\x2E\x31\x35\x20\x28\x4B\x48\x54\x4D\x4C\x2C\x20\x6C\x69\x6B\x65\x20\x47\x65\x63\x6B\x6F\x29\x20\x4D\x6F\x62\x69\x6C\x65\x2F\x31\x35\x45\x31\x34\x38\x3B\x73\x75\x70\x70\x6F\x72\x74\x4A\x44\x53\x48\x57\x4B\x2F\x31","\x61\x62\x63\x64\x65\x66\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39","\x66\x6C\x6F\x6F\x72","\x63\x68\x61\x72\x41\x74","\x73\x74\x72\x69\x6E\x67","\u8BF7\u52FF\u968F\u610F\u5728\x42\x6F\x78\x4A\x73\u8F93\u5165\u6846\u4FEE\u6539\u5185\u5BB9\x0A\u5EFA\u8BAE\u901A\u8FC7\u811A\u672C\u53BB\u83B7\u53D6\x63\x6F\x6F\x6B\x69\x65","\u5220\u9664","\u7248\u672C\u53F7\uFF0C\x6A\x73\u4F1A\u5B9A","\u671F\u5F39\u7A97\uFF0C","\u8FD8\u8BF7\u652F\u6301\u6211\u4EEC\u7684\u5DE5\u4F5C","\x6A\x73\x6A\x69\x61","\x6D\x69\x2E\x63\x6F\x6D"];const jdCookieNode=$[__Oxeda86[0x0]]()?require(__Oxeda86[0x1]):__Oxeda86[0x2];const notify=$[__Oxeda86[0x0]]()?require(__Oxeda86[0x3]):__Oxeda86[0x2];const getToken=require(__Oxeda86[0x4]);let domains=__Oxeda86[0x5];let cookiesArr=[],cookie=__Oxeda86[0x2];if($[__Oxeda86[0x0]]()){Object[__Oxeda86[0x8]](jdCookieNode)[__Oxeda86[0x7]]((_0x39c1x7)=>{cookiesArr[__Oxeda86[0x6]](jdCookieNode[_0x39c1x7])});if(process[__Oxeda86[0xa]][__Oxeda86[0x9]]&& process[__Oxeda86[0xa]][__Oxeda86[0x9]]=== __Oxeda86[0xb]){console[__Oxeda86[0xc]]= ()=>{}}}else {cookiesArr= [$[__Oxeda86[0xf]](__Oxeda86[0xe]),$[__Oxeda86[0xf]](__Oxeda86[0x10]),...jsonParse($[__Oxeda86[0xf]](__Oxeda86[0x13])|| __Oxeda86[0x14])[__Oxeda86[0x12]]((_0x39c1x7)=>{return _0x39c1x7[__Oxeda86[0x11]]})][__Oxeda86[0xd]]((_0x39c1x7)=>{return !!_0x39c1x7})};allMessage= __Oxeda86[0x2];message= __Oxeda86[0x2];$[__Oxeda86[0x15]]= false;$[__Oxeda86[0x16]]= false;$[__Oxeda86[0x17]]= false;let lz_jdpin_token_cookie=__Oxeda86[0x2];let activityCookie=__Oxeda86[0x2];let lz_cookie={};let jd_cjdaily_activityId=__Oxeda86[0x2];let stopKeywords=[__Oxeda86[0x18],__Oxeda86[0x19],__Oxeda86[0x1a],__Oxeda86[0x1b],__Oxeda86[0x1c],__Oxeda86[0x1d],__Oxeda86[0x1e],__Oxeda86[0x1f],__Oxeda86[0x20],__Oxeda86[0x21],__Oxeda86[0x22],__Oxeda86[0x23]];jd_cjdaily_activityId= $[__Oxeda86[0x0]]()?(process[__Oxeda86[0xa]][__Oxeda86[0x24]]?process[__Oxeda86[0xa]][__Oxeda86[0x24]]:`${__Oxeda86[0x2]}${jd_cjdaily_activityId}${__Oxeda86[0x2]}`):($[__Oxeda86[0xf]](__Oxeda86[0x24])?$[__Oxeda86[0xf]](__Oxeda86[0x24]):`${__Oxeda86[0x2]}${jd_cjdaily_activityId}${__Oxeda86[0x2]}`);let cjopen=process[__Oxeda86[0xa]][__Oxeda86[0x25]]?process[__Oxeda86[0xa]][__Oxeda86[0x25]]:__Oxeda86[0x26];let whitelist=__Oxeda86[0x2];let blacklist=__Oxeda86[0x2];$[__Oxeda86[0x27]]= process[__Oxeda86[0xa]][__Oxeda86[0x28]]|| whitelist;$[__Oxeda86[0x29]]= process[__Oxeda86[0xa]][__Oxeda86[0x2a]]|| blacklist;getWhitelist();getBlacklist();!(async ()=>{if(cjopen=== __Oxeda86[0xb]){console[__Oxeda86[0xc]](__Oxeda86[0x2f]);return};if(!jd_cjdaily_activityId){console[__Oxeda86[0xc]](__Oxeda86[0x30]);return};if(!cookiesArr[0x0]){$[__Oxeda86[0x34]]($[__Oxeda86[0x31]],__Oxeda86[0x32],__Oxeda86[0x33],{"\x6F\x70\x65\x6E\x2D\x75\x72\x6C":__Oxeda86[0x33]});return};$[__Oxeda86[0x35]]= jd_cjdaily_activityId;console[__Oxeda86[0xc]](__Oxeda86[0x36]+ $[__Oxeda86[0x35]]);for(let _0x39c1x11=0;_0x39c1x11< cookiesArr[__Oxeda86[0x37]];_0x39c1x11++){cookie= cookiesArr[_0x39c1x11];originCookie= cookiesArr[_0x39c1x11];if(cookie){$[__Oxeda86[0x38]]= decodeURIComponent(cookie[__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)&& cookie[__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)[0x1]);$[__Oxeda86[0x3a]]= _0x39c1x11+ 1;message= __Oxeda86[0x2];$[__Oxeda86[0x3b]]= 0;$[__Oxeda86[0x15]]= false;$[__Oxeda86[0x3c]]= __Oxeda86[0x2];console[__Oxeda86[0xc]](__Oxeda86[0x3d]+ $[__Oxeda86[0x3a]]+ __Oxeda86[0x3e]+ ($[__Oxeda86[0x3c]]|| $[__Oxeda86[0x38]])+ __Oxeda86[0x3f]); await getUA(); await run();if($[__Oxeda86[0x16]]|| $[__Oxeda86[0x17]]){break}}};if(allMessage){$[__Oxeda86[0x34]]($[__Oxeda86[0x31]],`${__Oxeda86[0x2]}`,`${__Oxeda86[0x2]}${allMessage}${__Oxeda86[0x2]}`)}})()[__Oxeda86[0x2e]]((_0x39c1x10)=>{return $[__Oxeda86[0x2d]](_0x39c1x10)})[__Oxeda86[0x2c]](()=>{return $[__Oxeda86[0x2b]]()});async function run(){try{$[__Oxeda86[0x40]]= 0;lz_jdpin_token_cookie= __Oxeda86[0x2];$[__Oxeda86[0x41]]= __Oxeda86[0x2];$[__Oxeda86[0x42]]= __Oxeda86[0x2];$[__Oxeda86[0x43]]= false;let _0x39c1x13=false;$[__Oxeda86[0x41]]= await getToken(cookie,domains);if($[__Oxeda86[0x41]]== __Oxeda86[0x2]){console[__Oxeda86[0xc]](__Oxeda86[0x44]);return}; await getCk();if(activityCookie== __Oxeda86[0x2]){console[__Oxeda86[0xc]](`${__Oxeda86[0x45]}`);return};if($[__Oxeda86[0x17]]=== true){console[__Oxeda86[0xc]](__Oxeda86[0x46]);return};if($[__Oxeda86[0x16]]){console[__Oxeda86[0xc]](__Oxeda86[0x47]);return}; await takePostRequest(__Oxeda86[0x48]); await $[__Oxeda86[0x49]](200); await takePostRequest(__Oxeda86[0x4a]);if(!$[__Oxeda86[0x42]]){console[__Oxeda86[0xc]](__Oxeda86[0x4b]);return}; await takePostRequest(__Oxeda86[0x4c]); await $[__Oxeda86[0x49]](200);if($[__Oxeda86[0x15]]){return};for(let _0x39c1x14=0;_0x39c1x14< 5;_0x39c1x14++){if(!$[__Oxeda86[0x43]]){ await takePostRequest(__Oxeda86[0x4d]); await $[__Oxeda86[0x49]](500)}};if($[__Oxeda86[0x16]]){console[__Oxeda86[0xc]](__Oxeda86[0x47]);return}; await $[__Oxeda86[0x49]](1000);if($[__Oxeda86[0x3a]]% 3== 0){ await $[__Oxeda86[0x49]](parseInt(Math[__Oxeda86[0x4e]]()* 3000+ 3000,10))}}catch(e){console[__Oxeda86[0xc]](e)}}async function takePostRequest(_0x39c1x16){if($[__Oxeda86[0x16]]){return};let _0x39c1x17=__Oxeda86[0x5];let _0x39c1x18=`${__Oxeda86[0x2]}`;let _0x39c1x19=__Oxeda86[0x4f];let _0x39c1x1a=__Oxeda86[0x2];switch(_0x39c1x16){case __Oxeda86[0x4a]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x50]}`;_0x39c1x18= `${__Oxeda86[0x51]}${$[__Oxeda86[0x41]]}${__Oxeda86[0x52]}${$[__Oxeda86[0x53]]}${__Oxeda86[0x2]}`;break;case __Oxeda86[0x48]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x54]}`;_0x39c1x18= `${__Oxeda86[0x55]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x2]}`;break;case __Oxeda86[0x5b]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x56]}`;_0x39c1x18= `${__Oxeda86[0x57]}${$[__Oxeda86[0x53]]}${__Oxeda86[0x58]}${$[__Oxeda86[0x59]]}${__Oxeda86[0x5a]}${encodeURIComponent(encodeURIComponent($.Pin))}${__Oxeda86[0x2]}`;break;case __Oxeda86[0x4c]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x5c]}`;let _0x39c1x1b=`${__Oxeda86[0x5d]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x2]}`;_0x39c1x18= `${__Oxeda86[0x57]}${$[__Oxeda86[0x53]]}${__Oxeda86[0x5e]}${$[__Oxeda86[0x59]]}${__Oxeda86[0x5f]}${encodeURIComponent(encodeURIComponent($.Pin))}${__Oxeda86[0x60]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x61]}${encodeURIComponent(_0x39c1x1b)}${__Oxeda86[0x62]}`;break;case __Oxeda86[0x64]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x63]}`;_0x39c1x18= `${__Oxeda86[0x55]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x5f]}${encodeURIComponent(encodeURIComponent($.Pin))}${__Oxeda86[0x2]}`;break;case __Oxeda86[0x66]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x65]}`;_0x39c1x18= `${__Oxeda86[0x55]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x5f]}${encodeURIComponent(encodeURIComponent($.Pin))}${__Oxeda86[0x2]}`;break;case __Oxeda86[0x4d]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x67]}`;_0x39c1x18= `${__Oxeda86[0x68]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x5f]}${encodeURIComponent(encodeURIComponent($.Pin))}${__Oxeda86[0x2]}`;break;case __Oxeda86[0x6a]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x69]}`;_0x39c1x18= `${__Oxeda86[0x55]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x2]}`;break;case __Oxeda86[0x6d]:url= `${__Oxeda86[0x2]}${_0x39c1x17}${__Oxeda86[0x6b]}`;_0x39c1x18= `${__Oxeda86[0x6c]}${encodeURIComponent(encodeURIComponent($.Pin))}${__Oxeda86[0x2]}`;break;default:console[__Oxeda86[0xc]](`${__Oxeda86[0x6e]}${_0x39c1x16}${__Oxeda86[0x2]}`)};let _0x39c1x1c=getPostRequest(url,_0x39c1x18,_0x39c1x19);return new Promise(async (_0x39c1x1d)=>{$[__Oxeda86[0x73]](_0x39c1x1c,(_0x39c1x1e,_0x39c1x1f,_0x39c1x20)=>{try{setActivityCookie(_0x39c1x1f);if(_0x39c1x1e){if(_0x39c1x1f&& typeof _0x39c1x1f[__Oxeda86[0x6f]]!= __Oxeda86[0x70]){if(_0x39c1x1f[__Oxeda86[0x6f]]== 493){console[__Oxeda86[0xc]](__Oxeda86[0x47]);$[__Oxeda86[0x16]]= true}};console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${$[__Oxeda86[0x71]](_0x39c1x1e,_0x39c1x1e)}${__Oxeda86[0x2]}`);console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x72]}`)}else {dealReturn(_0x39c1x16,_0x39c1x20)}}catch(e){console[__Oxeda86[0xc]](e,_0x39c1x1f)}finally{_0x39c1x1d()}})})}async function dealReturn(_0x39c1x16,_0x39c1x20){let _0x39c1x22=__Oxeda86[0x2];try{if(_0x39c1x16!= __Oxeda86[0x4c]|| _0x39c1x16!= __Oxeda86[0x74]){if(_0x39c1x20){_0x39c1x22= JSON[__Oxeda86[0x75]](_0x39c1x20)}}}catch(_0x39c1x10){console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x76]}`);console[__Oxeda86[0xc]](_0x39c1x20);$[__Oxeda86[0x77]]= false};try{switch(_0x39c1x16){case __Oxeda86[0x4a]:if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x79]]&& _0x39c1x22[__Oxeda86[0x79]]=== true){if(_0x39c1x22[__Oxeda86[0x7a]]&& typeof _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x7b]]!= __Oxeda86[0x70]){$[__Oxeda86[0x42]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x7b]]};if(_0x39c1x22[__Oxeda86[0x7a]]&& typeof _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x7c]]!= __Oxeda86[0x70]){$[__Oxeda86[0x7c]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x7c]]}}else {if(_0x39c1x22[__Oxeda86[0x7d]]){console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x22[__Oxeda86[0x7d]]|| __Oxeda86[0x2]}${__Oxeda86[0x2]}`)}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)}}}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)};break;case __Oxeda86[0x48]:if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x79]]&& _0x39c1x22[__Oxeda86[0x79]]=== true){if( typeof _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x7f]]!= __Oxeda86[0x70]){$[__Oxeda86[0x7f]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x7f]]};if( typeof _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x53]]!= __Oxeda86[0x70]){$[__Oxeda86[0x53]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x53]]};$[__Oxeda86[0x59]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x59]]}else {if(_0x39c1x22[__Oxeda86[0x7d]]){console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x22[__Oxeda86[0x7d]]|| __Oxeda86[0x2]}${__Oxeda86[0x2]}`)}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)}}}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)};break;case __Oxeda86[0x66]:if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x79]]&& _0x39c1x22[__Oxeda86[0x79]]=== true&& _0x39c1x22[__Oxeda86[0x80]]=== 0){}else {if(_0x39c1x22[__Oxeda86[0x7d]]){console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x22[__Oxeda86[0x7d]]|| __Oxeda86[0x2]}${__Oxeda86[0x2]}`)}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)}}}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)};break;case __Oxeda86[0x5b]:if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x79]]&& _0x39c1x22[__Oxeda86[0x79]]=== true){$[__Oxeda86[0x81]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x82]]|| false}else {if(_0x39c1x22[__Oxeda86[0x7d]]){console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x22[__Oxeda86[0x7d]]|| __Oxeda86[0x2]}${__Oxeda86[0x2]}`)}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)}}}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)};break;case __Oxeda86[0x6d]:if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x79]]&& _0x39c1x22[__Oxeda86[0x79]]=== true){if(_0x39c1x22[__Oxeda86[0x7a]]&& typeof _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x83]]!= __Oxeda86[0x70]){$[__Oxeda86[0x84]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x83]]|| __Oxeda86[0x85]};$[__Oxeda86[0x86]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x7c]]|| __Oxeda86[0x2]}else {if(_0x39c1x22[__Oxeda86[0x7d]]){console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x22[__Oxeda86[0x7d]]|| __Oxeda86[0x2]}${__Oxeda86[0x2]}`)}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)}}}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)};break;case __Oxeda86[0x64]:if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x79]]&& _0x39c1x22[__Oxeda86[0x79]]=== true){$[__Oxeda86[0x87]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x87]]|| false;$[__Oxeda86[0x88]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x88]]|| false;$[__Oxeda86[0x89]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x89]]|| false;$[__Oxeda86[0x40]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x40]]|| __Oxeda86[0x2];$[__Oxeda86[0x8a]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x8a]]|| __Oxeda86[0x2];$[__Oxeda86[0x8b]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x8b]]|| __Oxeda86[0x2];$[__Oxeda86[0x8c]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x8c]]|| 0;$[__Oxeda86[0x8d]]= _0x39c1x22[__Oxeda86[0x7a]][__Oxeda86[0x8d]]|| 0}else {if(_0x39c1x22[__Oxeda86[0x7d]]){if(_0x39c1x22[__Oxeda86[0x7d]][__Oxeda86[0x8f]](__Oxeda86[0x8e])> -1){$[__Oxeda86[0x17]]= true};console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x22[__Oxeda86[0x7d]]|| __Oxeda86[0x2]}${__Oxeda86[0x2]}`)}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)}}}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x7e]}${_0x39c1x20}${__Oxeda86[0x2]}`)};break;case __Oxeda86[0x4d]:if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x90]]&& _0x39c1x22[__Oxeda86[0x91]]=== true){console[__Oxeda86[0xc]](`${__Oxeda86[0x92]}${_0x39c1x22[__Oxeda86[0x90]][__Oxeda86[0x90]][__Oxeda86[0x93]]}${__Oxeda86[0x2]}`)}else {msg= _0x39c1x22[__Oxeda86[0x34]];if(msg){console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x22[__Oxeda86[0x34]]}${__Oxeda86[0x2]}`);for(let _0x39c1x10 of stopKeywords){if(msg[__Oxeda86[0x94]](_0x39c1x10)){$[__Oxeda86[0x17]]= true;break}};for(let _0x39c1x10 of [__Oxeda86[0x95],__Oxeda86[0x96],__Oxeda86[0x97],__Oxeda86[0x98],__Oxeda86[0x99],__Oxeda86[0x9a],__Oxeda86[0x9b]]){if(msg[__Oxeda86[0x94]](_0x39c1x10)){$[__Oxeda86[0x43]]= true;break}}}else {console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x20}${__Oxeda86[0x2]}`)}}};break;case __Oxeda86[0x4c]:;case __Oxeda86[0x74]:break;default:console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${_0x39c1x16}${__Oxeda86[0x9c]}${_0x39c1x20}${__Oxeda86[0x2]}`)};if( typeof _0x39c1x22== __Oxeda86[0x78]){if(_0x39c1x22[__Oxeda86[0x7d]]){if(_0x39c1x22[__Oxeda86[0x7d]][__Oxeda86[0x8f]](__Oxeda86[0x96])> -1){$[__Oxeda86[0x15]]= true}}}}catch(_0x39c1x10){console[__Oxeda86[0xc]](_0x39c1x10)}}function getPostRequest(_0x39c1x24,_0x39c1x18,_0x39c1x19= __Oxeda86[0x4f]){let _0x39c1x25={"\x41\x63\x63\x65\x70\x74":__Oxeda86[0x9d],"\x41\x63\x63\x65\x70\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":__Oxeda86[0x9e],"\x41\x63\x63\x65\x70\x74\x2D\x4C\x61\x6E\x67\x75\x61\x67\x65":__Oxeda86[0x9f],"\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E":__Oxeda86[0xa0],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":__Oxeda86[0xa1],"\x43\x6F\x6F\x6B\x69\x65":cookie,"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":$[__Oxeda86[0xa2]],"\x58\x2D\x52\x65\x71\x75\x65\x73\x74\x65\x64\x2D\x57\x69\x74\x68":__Oxeda86[0xa3]};if(_0x39c1x24[__Oxeda86[0x8f]](__Oxeda86[0x5])> -1){_0x39c1x25[__Oxeda86[0xa4]]= `${__Oxeda86[0x5d]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x2]}`;_0x39c1x25[__Oxeda86[0xa5]]= `${__Oxeda86[0x2]}${lz_jdpin_token_cookie&& lz_jdpin_token_cookie|| __Oxeda86[0x2]}${__Oxeda86[0x2]}${$[__Oxeda86[0x42]]&& __Oxeda86[0xa6]+ $[__Oxeda86[0x42]]+ __Oxeda86[0xa7]|| __Oxeda86[0x2]}${__Oxeda86[0x2]}${activityCookie}${__Oxeda86[0x2]}`};return {url:_0x39c1x24,method:_0x39c1x19,headers:_0x39c1x25,body:_0x39c1x18,timeout:30000}}function getCk(){return new Promise((_0x39c1x1d)=>{let _0x39c1x27={url:`${__Oxeda86[0x5d]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x2]}`,headers:{"\x41\x63\x63\x65\x70\x74":__Oxeda86[0xa8],"\x41\x63\x63\x65\x70\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":__Oxeda86[0x9e],"\x41\x63\x63\x65\x70\x74\x2D\x4C\x61\x6E\x67\x75\x61\x67\x65":__Oxeda86[0x9f],"\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E":__Oxeda86[0xa0],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":__Oxeda86[0xa1],"\x43\x6F\x6F\x6B\x69\x65":cookie,"\x52\x65\x66\x65\x72\x65\x72":`${__Oxeda86[0x5d]}${$[__Oxeda86[0x35]]}${__Oxeda86[0x2]}`,"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":$[__Oxeda86[0xa2]]},timeout:30000};$[__Oxeda86[0xab]](_0x39c1x27,async (_0x39c1x1e,_0x39c1x1f,_0x39c1x20)=>{try{if(_0x39c1x1e){if(_0x39c1x1f&& typeof _0x39c1x1f[__Oxeda86[0x6f]]!= __Oxeda86[0x70]){if(_0x39c1x1f[__Oxeda86[0x6f]]== 493){console[__Oxeda86[0xc]](__Oxeda86[0x47]);$[__Oxeda86[0x16]]= true}};console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${$[__Oxeda86[0x71]](_0x39c1x1e)}${__Oxeda86[0x2]}`);console[__Oxeda86[0xc]](`${__Oxeda86[0x2]}${$[__Oxeda86[0x31]]}${__Oxeda86[0xa9]}`)}else {let _0x39c1x28=_0x39c1x20[__Oxeda86[0x39]](/(活动已经结束)/)&& _0x39c1x20[__Oxeda86[0x39]](/(活动已经结束)/)[0x1]|| __Oxeda86[0x2];if(_0x39c1x28){$[__Oxeda86[0x17]]= true;console[__Oxeda86[0xc]](__Oxeda86[0xaa])};setActivityCookie(_0x39c1x1f)}}catch(e){$[__Oxeda86[0x2d]](e,_0x39c1x1f)}finally{_0x39c1x1d()}})})}function setActivityCookie(_0x39c1x1f){if(_0x39c1x1f){if(_0x39c1x1f[__Oxeda86[0xad]][__Oxeda86[0xac]]){cookie= `${__Oxeda86[0x2]}${originCookie}${__Oxeda86[0xa7]}`;for(let _0x39c1x2a of _0x39c1x1f[__Oxeda86[0xad]][__Oxeda86[0xac]]){lz_cookie[_0x39c1x2a[__Oxeda86[0xaf]](__Oxeda86[0xa7])[0x0][__Oxeda86[0xb0]](0,_0x39c1x2a[__Oxeda86[0xaf]](__Oxeda86[0xa7])[0x0][__Oxeda86[0x8f]](__Oxeda86[0xae]))]= _0x39c1x2a[__Oxeda86[0xaf]](__Oxeda86[0xa7])[0x0][__Oxeda86[0xb0]](_0x39c1x2a[__Oxeda86[0xaf]](__Oxeda86[0xa7])[0x0][__Oxeda86[0x8f]](__Oxeda86[0xae])+ 1)};for(const _0x39c1x2b of Object[__Oxeda86[0x8]](lz_cookie)){cookie+= _0x39c1x2b+ __Oxeda86[0xae]+ lz_cookie[_0x39c1x2b]+ __Oxeda86[0xa7]};activityCookie= cookie}}}function getBlacklist(){if($[__Oxeda86[0x29]]== __Oxeda86[0x2]){return};console[__Oxeda86[0xc]](__Oxeda86[0xb1]);const _0x39c1x2d=Array[__Oxeda86[0xb3]]( new Set($[__Oxeda86[0x29]][__Oxeda86[0xaf]](__Oxeda86[0xb2])));console[__Oxeda86[0xc]](_0x39c1x2d[__Oxeda86[0xb4]](__Oxeda86[0xb2])+ __Oxeda86[0xb5]);let _0x39c1x2e=_0x39c1x2d;let _0x39c1x2f=[];let _0x39c1x30=false;for(let _0x39c1x11=0;_0x39c1x11< cookiesArr[__Oxeda86[0x37]];_0x39c1x11++){let _0x39c1x31=decodeURIComponent((cookiesArr[_0x39c1x11][__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)&& cookiesArr[_0x39c1x11][__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)[0x1])|| __Oxeda86[0x2]);if(!_0x39c1x31){break};let _0x39c1x32=false;for(let _0x39c1x33 of _0x39c1x2e){if(_0x39c1x33&& _0x39c1x33== _0x39c1x31){_0x39c1x32= true;break}};if(!_0x39c1x32){_0x39c1x30= true;_0x39c1x2f[__Oxeda86[0xb6]](_0x39c1x11,-1,cookiesArr[_0x39c1x11])}};if(_0x39c1x30){cookiesArr= _0x39c1x2f}}function toFirst(_0x39c1x2f,_0x39c1x35){if(_0x39c1x35!= 0){_0x39c1x2f[__Oxeda86[0xb7]](_0x39c1x2f[__Oxeda86[0xb6]](_0x39c1x35,1)[0x0])}}function getWhitelist(){if($[__Oxeda86[0x27]]== __Oxeda86[0x2]){helpCookiesArr= $[__Oxeda86[0xb8]]($[__Oxeda86[0x71]](cookiesArr,cookiesArr));return};console[__Oxeda86[0xc]](__Oxeda86[0xb9]);const _0x39c1x2d=Array[__Oxeda86[0xb3]]( new Set($[__Oxeda86[0x27]][__Oxeda86[0xaf]](__Oxeda86[0xb2])));console[__Oxeda86[0xc]](_0x39c1x2d[__Oxeda86[0xb4]](__Oxeda86[0xb2])+ __Oxeda86[0xb5]);let _0x39c1x2f=[];let _0x39c1x37=_0x39c1x2d;for(let _0x39c1x11 in cookiesArr){let _0x39c1x31=decodeURIComponent((cookiesArr[_0x39c1x11][__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)&& cookiesArr[_0x39c1x11][__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)[0x1])|| __Oxeda86[0x2]);if(_0x39c1x37[__Oxeda86[0x94]](_0x39c1x31)){_0x39c1x2f[__Oxeda86[0x6]](cookiesArr[_0x39c1x11])}};helpCookiesArr= _0x39c1x2f;if(_0x39c1x37[__Oxeda86[0x37]]> 1){for(let _0x39c1x33 in _0x39c1x37){let _0x39c1x38=_0x39c1x37[_0x39c1x37[__Oxeda86[0x37]]- 1- _0x39c1x33];if(!_0x39c1x38){continue};for(let _0x39c1x11 in helpCookiesArr){let _0x39c1x31=decodeURIComponent(helpCookiesArr[_0x39c1x11][__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)&& helpCookiesArr[_0x39c1x11][__Oxeda86[0x39]](/pt_pin=([^; ]+)(?=;?)/)[0x1]);if(_0x39c1x38== _0x39c1x31){toFirst(helpCookiesArr,_0x39c1x11)}}}}}async function getUA(){$[__Oxeda86[0xa2]]= `${__Oxeda86[0xba]}${randomString(40)}${__Oxeda86[0xbb]}`}function randomString(_0x39c1x10){_0x39c1x10= _0x39c1x10|| 32;let _0x39c1x3b=__Oxeda86[0xbc],_0x39c1x3c=_0x39c1x3b[__Oxeda86[0x37]],_0x39c1x33=__Oxeda86[0x2];for(i= 0;i< _0x39c1x10;i++){_0x39c1x33+= _0x39c1x3b[__Oxeda86[0xbe]](Math[__Oxeda86[0xbd]](Math[__Oxeda86[0x4e]]()* _0x39c1x3c))};return _0x39c1x33}function jsonParse(_0x39c1x3e){if( typeof _0x39c1x3e== __Oxeda86[0xbf]){try{return JSON[__Oxeda86[0x75]](_0x39c1x3e)}catch(e){console[__Oxeda86[0xc]](e);$[__Oxeda86[0x34]]($[__Oxeda86[0x31]],__Oxeda86[0x2],__Oxeda86[0xc0]);return []}}}(function(_0x39c1x3f,_0x39c1x40,_0x39c1x41,_0x39c1x42,_0x39c1x32,_0x39c1x43){_0x39c1x43= __Oxeda86[0x70];_0x39c1x42= function(_0x39c1x38){if( typeof alert!== _0x39c1x43){alert(_0x39c1x38)};if( typeof console!== _0x39c1x43){console[__Oxeda86[0xc]](_0x39c1x38)}};_0x39c1x41= function(_0x39c1x3c,_0x39c1x3f){return _0x39c1x3c+ _0x39c1x3f};_0x39c1x32= _0x39c1x41(__Oxeda86[0xc1],_0x39c1x41(_0x39c1x41(__Oxeda86[0xc2],__Oxeda86[0xc3]),__Oxeda86[0xc4]));try{_0x39c1x3f= __encode;if(!( typeof _0x39c1x3f!== _0x39c1x43&& _0x39c1x3f=== _0x39c1x41(__Oxeda86[0xc5],__Oxeda86[0xc6]))){_0x39c1x42(_0x39c1x32)}}catch(e){_0x39c1x42(_0x39c1x32)}})({})
// 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)}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lengxin/Thread.git
git@gitee.com:lengxin/Thread.git
lengxin
Thread
Thread
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385