mirror of
https://github.com/shufflewzc/faker3.git
synced 2024-11-14 07:29:18 +08:00
19 lines
35 KiB
JavaScript
19 lines
35 KiB
JavaScript
/*
|
||
京东直播
|
||
https://t.me/proenvc
|
||
活动入口:京东APP首页-京东直播
|
||
地址:https://h5.m.jd.com/babelDiy/Zeus/2zwQnu4WHRNfqMSdv69UPgpZMnE2/index.html/
|
||
cron "1 1 1 1 1" jd_live.js
|
||
*/
|
||
|
||
const $ = new Env('京东直播');
|
||
const notify = $.isNode() ? require('./sendNotify') : '';
|
||
const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
||
|
||
|
||
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 __Oxec395=["","\x69\x73\x4E\x6F\x64\x65","\x50\x61\x6E\x64\x61\x54\x6F\x6B\x65\x6E","\x65\x6E\x76","\x67\x65\x74\x64\x61\x74\x61","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x6B\x65\x79\x73","\x4A\x44\x5F\x44\x45\x42\x55\x47","\x66\x61\x6C\x73\x65","\x6C\x6F\x67","\x66\x69\x6C\x74\x65\x72","\x43\x6F\x6F\x6B\x69\x65\x4A\x44","\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\x74\x74\x70\x73\x3A\x2F\x2F\x61\x70\x69\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D\x2F\x61\x70\x69","\x64\x6F\x6E\x65","\x66\x69\x6E\x61\x6C\x6C\x79","\u274C\x20","\x6E\x61\x6D\x65","\x2C\x20\u5931\u8D25\x21\x20\u539F\u56E0\x3A\x20","\x21","\x63\x61\x74\x63\x68","\u3010\u63D0\u793A\u3011\u8BF7\u5148\u83B7\u53D6\u4EAC\u4E1C\u8D26\u53F7\u4E00\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\x62\x65\x61\x6E\x2F\x73\x69\x67\x6E\x49\x6E\x64\x65\x78\x2E\x61\x63\x74\x69\x6F\x6E","\x6D\x73\x67","\x72\x61\x6E\x64\x6F\x6D","\x77\x61\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x55\x73\x65\x72\x4E\x61\x6D\x65","\x6D\x61\x74\x63\x68","\x69\x6E\x64\x65\x78","\x69\x73\x4C\x6F\x67\x69\x6E","\x6E\x69\x63\x6B\x4E\x61\x6D\x65","\x2A\x2A\x2A\x2A\x2A\x2A\u5F00\u59CB\u3010\u4EAC\u4E1C\u8D26\u53F7","\u3011","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A","\x62\x65\x61\x6E","\u9886\u5956\u5B8C\u6210\uFF0C\u5171\u8BA1\u83B7\u5F97\x20","\x20\u4EAC\u8C46","\x67\x65\x74\x54\x69\x6D\x65","\x67\x65\x74\x54\x69\x6D\x65\x7A\x6F\x6E\x65\x4F\x66\x66\x73\x65\x74","\u4EAC\u4E1C\u8D26\u53F7","\x20","\x6C\x69\x76\x65\x43\x68\x61\x6E\x6E\x65\x6C\x54\x61\x73\x6B\x4C\x69\x73\x74\x54\x6F\x4D","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x20\x41\x50\x49\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u8DEF\u91CD\u8BD5","\x70\x61\x72\x73\x65","\x73\x74\x61\x72\x4C\x69\x76\x65\x4C\x69\x73\x74","\x64\x61\x74\x61","\x73\x74\x61\x74\x65","\x61\x75\x74\x68\x6F\x72\x49\x64","\x61\x75\x74\x68\x6F\x72","\x6C\x69\x76\x65\x49\x64","\x65\x78\x74\x72\x61","\x73\x74\x61\x72\x56\x69\x65\x77\x54\x61\x73\x6B","\u53BB\u505A\u5206\u4EAB\u76F4\u64AD\u95F4\u4EFB\u52A1","\u53BB\u505A\u6D4F\u89C8\u76F4\u64AD\u95F4\u4EFB\u52A1","\x63\x6F\x6D\x6D\x6F\x6E\x56\x69\x65\x77\x54\x61\x73\x6B","\x6C\x6F\x67\x45\x72\x72","\x67\x65\x74","\x6C\x69\x76\x65\x44\x65\x74\x61\x69\x6C\x56\x39\x31\x30","\x31\x37","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x61\x70\x69\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D\x2F\x63\x6C\x69\x65\x6E\x74\x2E\x61\x63\x74\x69\x6F\x6E\x3F\x66\x75\x6E\x63\x74\x69\x6F\x6E\x49\x64\x3D","\x26\x62\x75\x69\x6C\x64\x3D\x31\x36\x37\x37\x37\x34\x26\x63\x6C\x69\x65\x6E\x74\x3D\x61\x70\x70\x6C\x65\x26\x63\x6C\x69\x65\x6E\x74\x56\x65\x72\x73\x69\x6F\x6E\x3D\x31\x30\x2E\x31\x2E\x30\x26\x75\x75\x69\x64\x3D","\x26","\x70\x6F\x73\x74","\x6C\x69\x76\x65\x43\x68\x61\x6E\x6E\x65\x6C\x52\x65\x70\x6F\x72\x74\x44\x61\x74\x61\x56\x39\x31\x32","\x76\x69\x65\x77\x54\x61\x73\x6B","\x62\x6F\x64\x79\x3D\x25\x37\x42\x25\x32\x32\x6C\x69\x76\x65\x49\x64\x25\x32\x32\x25\x33\x41\x25\x32\x32\x33\x30\x30\x38\x33\x30\x30\x25\x32\x32\x25\x32\x43\x25\x32\x32\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x25\x32\x32\x76\x69\x65\x77\x54\x61\x73\x6B\x25\x32\x32\x25\x32\x43\x25\x32\x32\x61\x75\x74\x68\x6F\x72\x49\x64\x25\x32\x32\x25\x33\x41\x25\x32\x32\x36\x34\x34\x38\x39\x34\x25\x32\x32\x25\x32\x43\x25\x32\x32\x65\x78\x74\x72\x61\x25\x32\x32\x25\x33\x41\x25\x37\x42\x25\x32\x32\x74\x69\x6D\x65\x25\x32\x32\x25\x33\x41\x31\x32\x30\x25\x37\x44\x25\x37\x44\x26\x62\x75\x69\x6C\x64\x3D\x31\x36\x37\x34\x30\x38\x26\x63\x6C\x69\x65\x6E\x74\x3D\x61\x70\x70\x6C\x65\x26\x63\x6C\x69\x65\x6E\x74\x56\x65\x72\x73\x69\x6F\x6E\x3D\x39\x2E\x32\x2E\x30\x26\x65\x69\x64\x3D\x65\x69\x64\x49\x46\x33\x43\x46\x30\x31\x31\x32\x52\x54\x49\x79\x51\x54\x56\x47\x51\x54\x45\x74\x52\x44\x56\x43\x51\x79\x30\x30\x51\x67\x25\x33\x44\x25\x33\x44\x36\x48\x41\x4A\x61\x39\x25\x32\x42\x2F\x34\x56\x65\x64\x67\x6F\x36\x32\x78\x4B\x51\x52\x6F\x41\x62\x34\x37\x25\x32\x42\x70\x79\x75\x31\x45\x51\x73\x2F\x36\x39\x37\x31\x61\x55\x76\x6B\x30\x42\x51\x41\x73\x5A\x4C\x79\x51\x41\x59\x65\x69\x64\x25\x32\x42\x50\x67\x62\x4A\x39\x42\x51\x6F\x59\x31\x52\x46\x74\x6B\x4C\x43\x4C\x50\x35\x4F\x4D\x71\x55\x26\x69\x73\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x3D\x4E\x26\x6A\x6F\x79\x63\x69\x6F\x75\x73\x3D\x31\x39\x34\x26\x6F\x70\x65\x6E\x75\x64\x69\x64\x3D\x35\x33\x66\x34\x64\x39\x63\x37\x30\x63\x31\x63\x38\x31\x66\x31\x63\x38\x37\x36\x39\x64\x32\x66\x65\x32\x66\x65\x66\x30\x31\x39\x30\x61\x33\x66\x36\x30\x64\x32\x26\x6F\x73\x56\x65\x72\x73\x69\x6F\x6E\x3D\x31\x34\x2E\x32\x26\x70\x61\x72\x74\x6E\x65\x72\x3D\x54\x46\x26\x72\x66\x73\x3D\x30\x30\x30\x30\x26\x73\x63\x6F\x70\x65\x3D\x30\x31\x26\x73\x69\x67\x6E\x3D\x39\x30\x65\x31\x34\x61\x64\x63\x32\x31\x63\x34\x62\x66\x33\x31\x32\x33\x32\x61\x31\x64\x65\x64\x35\x66\x34\x62\x61\x34\x30\x65\x26\x73\x74\x3D\x31\x36\x30\x37\x35\x36\x31\x31\x31\x31\x39\x39\x39\x26\x73\x76\x3D\x31\x31\x31\x26\x75\x74\x73\x3D\x30\x66\x33\x31\x54\x56\x52\x6A\x42\x53\x73\x78\x47\x4C\x4A\x48\x56\x42\x6B\x64\x64\x78\x46\x78\x42\x71\x59\x2F\x38\x71\x46\x6B\x72\x66\x45\x59\x4C\x4C\x30\x67\x6B\x68\x42\x2F\x4A\x56\x47\x79\x45\x59\x49\x6F\x44\x38\x72\x35\x72\x4C\x76\x6F\x6F\x74\x5A\x7A\x69\x51\x59\x41\x55\x79\x76\x49\x50\x6F\x67\x64\x4A\x70\x65\x73\x45\x75\x4F\x4D\x6D\x76\x6C\x69\x73\x44\x78\x36\x41\x52\x32\x53\x45\x73\x66\x70\x33\x38\x31\x78\x50\x6F\x67\x67\x77\x76\x71\x38\x58\x61\x4D\x59\x6C\x4F\x6E\x48\x55\x56\x36\x36\x54\x5A\x69\x53\x66\x43\x25\x32\x42\x53\x67\x63\x4C\x70\x42\x32\x76\x39\x63\x79\x2F\x30\x5A\x34\x31\x74\x54\x25\x32\x42\x75\x4C\x68\x65\x6F\x45\x77\x42\x77\x44\x44\x59\x7A\x41\x4E\x6B\x5A\x6A\x6E\x63\x55\x49\x39\x50\x44\x43\x57\x70\x43\x67\x35\x2F\x69\x30\x41\x31\x34\x58\x66\x6E\x73\x55\x54\x66\x51\x48\x62\x4D\x71\x61\x33\x76\x77\x73\x59\x36\x51\x74\x73\x62\x4E\x73\x67\x41\x25\x33\x44\x25\x33\x44\x26\x75\x75\x69\x64\x3D\x68\x6A\x75\x64\x77\x67\x6F\x68\x78\x7A\x56\x75\x39\x36\x6B\x72\x76\x2F\x54\x36\x48\x67\x25\x33\x44\x25\x33\x44","\x62\x6F\x64\x79\x3D\x25\x37\x42\x25\x32\x32\x6C\x69\x76\x65\x49\x64\x25\x32\x32\x25\x33\x41\x25\x32\x32\x32\x39\x39\x35\x32\x33\x33\x25\x32\x32\x25\x32\x43\x25\x32\x32\x74\x79\x70\x65\x25\x32\x32\x25\x33\x41\x25\x32\x32\x73\x68\x61\x72\x65\x54\x61\x73\x6B\x25\x32\x32\x25\x32\x43\x25\x32\x32\x61\x75\x74\x68\x6F\x72\x49\x64\x25\x32\x32\x25\x33\x41\x25\x32\x32\x36\x38\x32\x37\x38\x30\x25\x32\x32\x25\x32\x43\x25\x32\x32\x65\x78\x74\x72\x61\x25\x32\x32\x25\x33\x41\x25\x37\x42\x25\x32\x32\x6E\x75\x6D\x25\x32\x32\x25\x33\x41\x31\x25\x37\x44\x25\x37\x44\x26\x62\x75\x69\x6C\x64\x3D\x31\x36\x37\x34\x30\x38\x26\x63\x6C\x69\x65\x6E\x74\x3D\x61\x70\x70\x6C\x65\x26\x63\x6C\x69\x65\x6E\x74\x56\x65\x72\x73\x69\x6F\x6E\x3D\x39\x2E\x32\x2E\x30\x26\x65\x69\x64\x3D\x65\x69\x64\x49\x46\x33\x43\x46\x30\x31\x31\x32\x52\x54\x49\x79\x51\x54\x56\x47\x51\x54\x45\x74\x52\x44\x56\x43\x51\x79\x30\x30\x51\x67\x25\x33\x44\x25\x33\x44\x36\x48\x41\x4A\x61\x39\x25\x32\x42\x2F\x34\x56\x65\x64\x67\x6F\x36\x32\x78\x4B\x51\x52\x6F\x41\x62\x34\x37\x25\x32\x42\x70\x79\x75\x31\x45\x51\x73\x2F\x36\x39\x37\x31\x61\x55\x76\x6B\x30\x42\x51\x41\x73\x5A\x4C\x79\x51\x41\x59\x65\x69\x64\x25\x32\x42\x50\x67\x62\x4A\x39\x42\x51\x6F\x59\x31\x52\x46\x74\x6B\x4C\x43\x4C\x50\x35\x4F\x4D\x71\x55\x26\x69\x73\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x3D\x59\x26\x6A\x6F\x79\x63\x69\x6F\x75\x73\x3D\x31\x39\x34\x26\x6C\x61\x6E\x67\x3D\x7A\x68\x5F\x43\x4E\x26\x6E\x65\x74\x77\x6F\x72\x6B\x54\x79\x70\x65\x3D\x77\x69\x66\x69\x26\x6E\x65\x74\x77\x6F\x72\x6B\x6C\x69\x62\x74\x79\x70\x65\x3D\x4A\x44\x4E\x65\x74\x77\x6F\x72\x6B\x42\x61\x73\x65\x41\x46\x26\x6F\x70\x65\x6E\x75\x64\x69\x64\x3D\x35\x33\x66\x34\x64\x39\x63\x37\x30\x63\x31\x63\x38\x31\x66\x31\x63\x38\x37\x36\x39\x64\x32\x66\x65\x32\x66\x65\x66\x30\x31\x39\x30\x61\x33\x66\x36\x30\x64\x32\x26\x6F\x73\x56\x65\x72\x73\x69\x6F\x6E\x3D\x31\x34\x2E\x32\x26\x70\x61\x72\x74\x6E\x65\x72\x3D\x54\x46\x26\x72\x66\x73\x3D\x30\x30\x30\x30\x26\x73\x63\x6F\x70\x65\x3D\x30\x31\x26\x73\x63\x72\x65\x65\x6E\x3D\x31\x32\x34\x32\x25\x32\x41\x32\x32\x30\x38\x26\x73\x69\x67\x6E\x3D\x34\x35\x37\x64\x35\x35\x37\x61\x30\x39\x30\x32\x66\x34\x33\x63\x62\x64\x66\x39\x66\x62\x37\x33\x35\x64\x32\x62\x63\x64\x36\x34\x26\x73\x74\x3D\x31\x36\x30\x37\x35\x35\x39\x38\x31\x39\x39\x36\x39\x26\x73\x76\x3D\x31\x31\x30\x26\x75\x74\x73\x3D\x30\x66\x33\x31\x54\x56\x52\x6A\x42\x53\x73\x78\x47\x4C\x4A\x48\x56\x42\x6B\x64\x64\x78\x46\x78\x42\x71\x59\x2F\x38\x71\x46\x6B\x72\x66\x45\x59\x4C\x4C\x30\x67\x6B\x68\x42\x2F\x4A\x56\x47\x79\x45\x59\x49\x6F\x44\x38\x72\x35\x72\x4C\x76\x6F\x6F\x74\x5A\x7A\x69\x51\x59\x41\x55\x79\x76\x49\x50\x6F\x67\x64\x4A\x70\x65\x73\x45\x75\x4F\x4D\x6D\x76\x6C\x69\x73\x44\x78\x36\x41\x52\x32\x53\x45\x73\x66\x70\x33\x38\x31\x78\x50\x6F\x67\x67\x77\x76\x71\x38\x58\x61\x4D\x59\x6C\x4F\x6E\x48\x55\x56\x36\x36\x54\x5A\x69\x53\x66\x43\x25\x32\x42\x53\x67\x63\x4C\x70\x42\x32\x76\x39\x63\x79\x2F\x30\x5A\x34\x31\x74\x54\x25\x32\x42\x75\x4C\x68\x65\x6F\x45\x77\x42\x77\x44\x44\x59\x7A\x41\x4E\x6B\x5A\x6A\x6E\x63\x55\x49\x39\x50\x44\x43\x57\x70\x43\x67\x35\x2F\x69\x30\x41\x31\x34\x58\x66\x6E\x73\x55\x54\x66\x51\x48\x62\x4D\x71\x61\x33\x76\x77\x73\x59\x36\x51\x74\x73\x62\x4E\x73\x67\x41\x25\x33\x44\x25\x33\x44\x26\x75\x75\x69\x64\x3D\x68\x6A\x75\x64\x77\x67\x6F\x68\x78\x7A\x56\x75\x39\x36\x6B\x72\x76\x2F\x54\x36\x48\x67\x25\x33\x44\x25\x33\x44","\x73\x68\x61\x72\x65\x54\x61\x73\x6B","\x32\x39\x34\x32\x35\x34\x35","\x67\x65\x74\x43\x68\x61\x6E\x6E\x65\x6C\x54\x61\x73\x6B\x52\x65\x77\x61\x72\x64\x54\x6F\x4D","\x73\x75\x62\x43\x6F\x64\x65","\x30","\x73\x75\x6D","\u4EFB\u52A1\u9886\u5956\u6210\u529F\uFF0C\u83B7\u5F97\x20","\u4EFB\u52A1\u9886\u5956\u5931\u8D25\uFF0C","\x73\x69\x67\x6E\x54\x61\x73\x6B","\x31","\u7B7E\u5230\u9886\u5956\u6210\u529F\uFF0C\u83B7\u5F97\x20","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x61\x70\x69\x2E\x6E\x6F\x6C\x61\x6E\x73\x74\x6F\x72\x65\x2E\x74\x6F\x70","\x53\x49\x47\x4E\x5F\x55\x52\x4C","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x61\x70\x69\x2E\x6E\x6F\x6C\x61\x6E\x73\x74\x6F\x72\x65\x2E\x74\x6F\x70\x2F\x73\x69\x67\x6E","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x6A\x73\x6F\x6E","\x20\x67\x65\x74\x53\x69\x67\x6E\x20\x41\x50\x49\u8BF7\u6C42\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u8DEF\u91CD\u8BD5","\x73\x74\x72\x69\x6E\x67","\x62\x6F\x64\x79","\x6F\x62\x6A\x65\x63\x74","\x62\x6F\x64\x79\x3D","\x61\x70\x69\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D","\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","\x2A\x2F\x2A","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x68\x35\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D","\x39\x39\x36","\x6A\x64\x61\x70\x70\x3B\x69\x50\x68\x6F\x6E\x65\x3B\x31\x30\x2E\x34\x2E\x34\x3B\x31\x34\x2E\x33\x3B\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x34\x67\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\x34\x5F\x33\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\x22\x29","\x7A\x68\x2D\x48\x61\x6E\x73\x2D\x43\x4E\x3B\x71\x3D\x31","\x67\x7A\x69\x70\x2C\x20\x64\x65\x66\x6C\x61\x74\x65\x2C\x20\x62\x72","\x3F\x66\x75\x6E\x63\x74\x69\x6F\x6E\x49\x64\x3D","\x26\x61\x70\x70\x69\x64\x3D\x68\x35\x2D\x6C\x69\x76\x65\x26\x62\x6F\x64\x79\x3D","\x26\x76\x3D","\x26\x75\x75\x69\x64\x3D","\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","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x63\x66\x65\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x63\x66\x65\x2E\x6D\x2E\x6A\x64\x2E\x63\x6F\x6D\x2F\x70\x72\x69\x76\x61\x74\x65\x64\x6F\x6D\x61\x69\x6E\x2F\x6C\x69\x76\x65\x2D\x62\x6F\x62\x6F\x72\x6F\x63\x6B\x2F\x32\x30\x32\x31\x30\x38\x30\x39\x2F\x69\x6E\x64\x65\x78\x2E\x68\x74\x6D\x6C","\x7A\x68\x2D\x63\x6E","\x4A\x44\x5F\x55\x53\x45\x52\x5F\x41\x47\x45\x4E\x54","\x55\x53\x45\x52\x5F\x41\x47\x45\x4E\x54","\x2E\x2F\x55\x53\x45\x52\x5F\x41\x47\x45\x4E\x54\x53","\x4A\x44\x55\x41","\x6A\x64\x61\x70\x70\x3B\x69\x50\x68\x6F\x6E\x65\x3B\x31\x30\x2E\x34\x2E\x34\x3B\x31\x34\x2E\x33\x3B\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x34\x67\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\x34\x5F\x33\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","\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x61\x62\x63\x64\x65\x66","\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7A","\x66\x6C\x6F\x6F\x72","\x63\x68\x61\x72\x41\x74","\u4EAC\u4E1C\u670D\u52A1\u5668\u8BBF\u95EE\u6570\u636E\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u81EA\u8EAB\u8BBE\u5907\u7F51\u7EDC\u60C5\u51B5","\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","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\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"];let is_notify=false;let cookiesArr=[],cookie=__Oxec395[0x0],message;let uuid;let live_token=__Oxec395[0x0];live_token= $[__Oxec395[0x1]]()?(process[__Oxec395[0x3]][__Oxec395[0x2]]?process[__Oxec395[0x3]][__Oxec395[0x2]]:`${__Oxec395[0x0]}${live_token}${__Oxec395[0x0]}`):($[__Oxec395[0x4]](__Oxec395[0x2])?$[__Oxec395[0x4]](__Oxec395[0x2]):`${__Oxec395[0x0]}${live_token}${__Oxec395[0x0]}`);if($[__Oxec395[0x1]]()){Object[__Oxec395[0x7]](jdCookieNode)[__Oxec395[0x6]]((_0xd873x7)=>{cookiesArr[__Oxec395[0x5]](jdCookieNode[_0xd873x7])});if(process[__Oxec395[0x3]][__Oxec395[0x8]]&& process[__Oxec395[0x3]][__Oxec395[0x8]]=== __Oxec395[0x9]){console[__Oxec395[0xa]]= ()=>{}}}else {cookiesArr= [$[__Oxec395[0x4]](__Oxec395[0xc]),$[__Oxec395[0x4]](__Oxec395[0xd]),...jsonParse($[__Oxec395[0x4]](__Oxec395[0x10])|| __Oxec395[0x11])[__Oxec395[0xf]]((_0xd873x7)=>{return _0xd873x7[__Oxec395[0xe]]})][__Oxec395[0xb]]((_0xd873x7)=>{return !!_0xd873x7})};const JD_API_HOST=__Oxec395[0x12];!(async ()=>{if(!cookiesArr[0x0]){$[__Oxec395[0x1c]]($[__Oxec395[0x16]],__Oxec395[0x1a],__Oxec395[0x1b],{"\x6F\x70\x65\x6E\x2D\x75\x72\x6C":__Oxec395[0x1b]});return}; await $[__Oxec395[0x1e]](parseInt(Math[__Oxec395[0x1d]]()* 2500+ 500,10));for(let _0xd873xa=0;_0xd873xa< cookiesArr[__Oxec395[0x1f]];_0xd873xa++){if(cookiesArr[_0xd873xa]){cookie= cookiesArr[_0xd873xa];$[__Oxec395[0x20]]= decodeURIComponent(cookie[__Oxec395[0x21]](/pt_pin=([^; ]+)(?=;?)/)&& cookie[__Oxec395[0x21]](/pt_pin=([^; ]+)(?=;?)/)[0x1]);$[__Oxec395[0x22]]= _0xd873xa+ 1;$[__Oxec395[0x23]]= true;$[__Oxec395[0x24]]= __Oxec395[0x0];message= __Oxec395[0x0];uuid= randomString(40);console[__Oxec395[0xa]](`${__Oxec395[0x25]}${$[__Oxec395[0x22]]}${__Oxec395[0x26]}${$[__Oxec395[0x24]]|| $[__Oxec395[0x20]]}${__Oxec395[0x27]}`); await run(); await $[__Oxec395[0x1e]](parseInt(Math[__Oxec395[0x1d]]()* 12500+ 5000,10))}}})()[__Oxec395[0x19]]((_0xd873x9)=>{$[__Oxec395[0xa]](__Oxec395[0x0],`${__Oxec395[0x15]}${$[__Oxec395[0x16]]}${__Oxec395[0x17]}${_0xd873x9}${__Oxec395[0x18]}`,__Oxec395[0x0])})[__Oxec395[0x14]](()=>{$[__Oxec395[0x13]]()});async function run(){$[__Oxec395[0x28]]= 0; await getTaskList(); await sign();message+= `${__Oxec395[0x29]}${$[__Oxec395[0x28]]}${__Oxec395[0x2a]}`; await showMsg()}function getTs(){return new Date()[__Oxec395[0x2b]]()+ new Date()[__Oxec395[0x2c]]()* 60* 1000+ 8* 60* 60* 1000}function showMsg(){return new Promise((_0xd873xe)=>{if(is_notify){$[__Oxec395[0x1c]]($[__Oxec395[0x16]],__Oxec395[0x0],`${__Oxec395[0x0]}${message}${__Oxec395[0x0]}`)}else {$[__Oxec395[0xa]](`${__Oxec395[0x2d]}${$[__Oxec395[0x22]]}${__Oxec395[0x0]}${$[__Oxec395[0x24]]}${__Oxec395[0x2e]}${message}${__Oxec395[0x0]}`)};_0xd873xe()})}function getTaskList(){let _0xd873x10={"\x74\x69\x6D\x65\x73\x74\x61\x6D\x70": new Date()[__Oxec395[0x2b]]()+ new Date()[__Oxec395[0x2c]]()* 60* 1000+ 8* 60* 60* 1000};return new Promise((_0xd873xe)=>{$[__Oxec395[0x3f]](taskUrl(__Oxec395[0x2f],_0xd873x10),async (_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x31]}`)}else {if(safeGet(_0xd873x13)){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13);if(_0xd873x13[__Oxec395[0x34]][__Oxec395[0x33]]){for(let _0xd873x14 of Object[__Oxec395[0x7]](_0xd873x13[__Oxec395[0x34]][__Oxec395[0x33]])){let _0xd873x15=_0xd873x13[__Oxec395[0x34]][__Oxec395[0x33]][_0xd873x14];if(_0xd873x15[__Oxec395[0x35]]!== 3){let _0xd873x16=( await getauthorId(_0xd873x15[__Oxec395[0x39]][__Oxec395[0x38]]))[__Oxec395[0x34]][__Oxec395[0x37]][__Oxec395[0x36]]; await superTask(_0xd873x15[__Oxec395[0x39]][__Oxec395[0x38]],_0xd873x16); await awardTask(__Oxec395[0x3a],_0xd873x15[__Oxec395[0x39]][__Oxec395[0x38]])}}};console[__Oxec395[0xa]](`${__Oxec395[0x3b]}`); await shareTask(); await $[__Oxec395[0x1e]](1500); await awardTask(); await $[__Oxec395[0x1e]](1500);console[__Oxec395[0xa]](`${__Oxec395[0x3c]}`); await viewTask(); await $[__Oxec395[0x1e]](1500); await awardTask(__Oxec395[0x3d]); await $[__Oxec395[0x1e]](1500)}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}async function getauthorId(_0xd873x18){let _0xd873x19=`${__Oxec395[0x40]}`;let _0xd873x10=JSON[__Oxec395[0x30]]({"\x6C\x69\x76\x65\x49\x64":_0xd873x18,"\x66\x72\x6F\x6D\x49\x64":__Oxec395[0x0],"\x6C\x69\x76\x65\x4C\x69\x73\x74":[],"\x73\x6B\x75":__Oxec395[0x0],"\x73\x6F\x75\x72\x63\x65":__Oxec395[0x41],"\x64":__Oxec395[0x0],"\x64\x69\x72\x65\x63\x74\x69\x6F\x6E":__Oxec395[0x0],"\x69\x73\x4E\x65\x65\x64\x56\x69\x64\x65\x6F":1});let uuid=randomString(16);let sign= await getSign(_0xd873x19,_0xd873x10);let _0xd873x1b=`${__Oxec395[0x42]}${_0xd873x19}${__Oxec395[0x43]}${uuid}${__Oxec395[0x44]}${sign}${__Oxec395[0x0]}`;return new Promise((_0xd873xe)=>{$[__Oxec395[0x45]](taskPostUrl(_0xd873x19,_0xd873x10,_0xd873x1b),async (_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x31]}`)}else {if(safeGet(_0xd873x13)){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13)}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}async function superTask(_0xd873x18,_0xd873x16){let _0xd873x19=`${__Oxec395[0x46]}`;let _0xd873x10=JSON[__Oxec395[0x30]]({"\x6C\x69\x76\x65\x49\x64":_0xd873x18,"\x74\x79\x70\x65":__Oxec395[0x47],"\x61\x75\x74\x68\x6F\x72\x49\x64":_0xd873x16,"\x65\x78\x74\x72\x61":{"\x74\x69\x6D\x65":60}});let uuid=randomString(16);let sign= await getSign(_0xd873x19,_0xd873x10);let _0xd873x1b=`${__Oxec395[0x42]}${_0xd873x19}${__Oxec395[0x43]}${uuid}${__Oxec395[0x44]}${sign}${__Oxec395[0x0]}`;return new Promise((_0xd873xe)=>{$[__Oxec395[0x45]](taskPostUrl(_0xd873x19,_0xd873x10,_0xd873x1b),async (_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x31]}`)}else {if(safeGet(_0xd873x13)){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13)}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}function viewTask(){let _0xd873x10=__Oxec395[0x48];return new Promise((_0xd873xe)=>{$[__Oxec395[0x45]](taskPostUrl(__Oxec395[0x46],_0xd873x10),async (_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x31]}`)}else {if(safeGet(_0xd873x13)){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13)}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}function shareTask(){let _0xd873x10=__Oxec395[0x49];return new Promise((_0xd873xe)=>{$[__Oxec395[0x45]](taskPostUrl(__Oxec395[0x46],_0xd873x10),async (_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x31]}`)}else {if(safeGet(_0xd873x13)){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13)}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}function awardTask(_0xd873x20= __Oxec395[0x4a],_0xd873x18= __Oxec395[0x4b]){let _0xd873x10={"\x74\x79\x70\x65":_0xd873x20,"\x6C\x69\x76\x65\x49\x64":_0xd873x18};return new Promise((_0xd873xe)=>{$[__Oxec395[0x45]](taskUrl(__Oxec395[0x4c],_0xd873x10),async (_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x31]}`)}else {if(safeGet(_0xd873x13)){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13);if(_0xd873x13[__Oxec395[0x4d]]=== __Oxec395[0x4e]){$[__Oxec395[0x28]]+= _0xd873x13[__Oxec395[0x4f]];console[__Oxec395[0xa]](`${__Oxec395[0x50]}${_0xd873x13[__Oxec395[0x4f]]}${__Oxec395[0x2a]}`);message+= `${__Oxec395[0x50]}${_0xd873x13[__Oxec395[0x4f]]}${__Oxec395[0x2a]}`}else {console[__Oxec395[0xa]](`${__Oxec395[0x51]}${_0xd873x13[__Oxec395[0x1c]]}${__Oxec395[0x0]}`)}}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}function sign(){return new Promise((_0xd873xe)=>{$[__Oxec395[0x3f]](taskUrl(__Oxec395[0x4c],{"\x74\x79\x70\x65":__Oxec395[0x52],"\x69\x74\x65\x6D\x49\x64":__Oxec395[0x53]}),async (_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x31]}`)}else {if(safeGet(_0xd873x13)){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13);if(_0xd873x13[__Oxec395[0x4d]]=== __Oxec395[0x4e]){$[__Oxec395[0x28]]+= _0xd873x13[__Oxec395[0x4f]];console[__Oxec395[0xa]](`${__Oxec395[0x54]}${_0xd873x13[__Oxec395[0x4f]]}${__Oxec395[0x2a]}`);message+= `${__Oxec395[0x50]}${_0xd873x13[__Oxec395[0x4f]]}${__Oxec395[0x2a]}`}else {console[__Oxec395[0xa]](`${__Oxec395[0x51]}${_0xd873x13[__Oxec395[0x1c]]}${__Oxec395[0x0]}`)}}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}async function getSign(_0xd873x22,_0xd873x10){return new Promise(async (_0xd873xe)=>{let _0xd873x13={"\x66\x6E":_0xd873x22,"\x62\x6F\x64\x79":_0xd873x10};let _0xd873x23=__Oxec395[0x55];if(process[__Oxec395[0x3]][__Oxec395[0x56]]){_0xd873x23= process[__Oxec395[0x3]][__Oxec395[0x56]]};let _0xd873x24={url:`${__Oxec395[0x57]}`,body:JSON[__Oxec395[0x30]](_0xd873x13),headers:{"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":__Oxec395[0x58]},timeout:15000};$[__Oxec395[0x45]](_0xd873x24,(_0xd873x11,_0xd873x12,_0xd873x13)=>{try{if(_0xd873x11){console[__Oxec395[0xa]](`${__Oxec395[0x0]}${JSON[__Oxec395[0x30]](_0xd873x11)}${__Oxec395[0x0]}`);console[__Oxec395[0xa]](`${__Oxec395[0x0]}${$[__Oxec395[0x16]]}${__Oxec395[0x59]}`)}else {if( typeof _0xd873x13== __Oxec395[0x5a]){_0xd873x13= JSON[__Oxec395[0x32]](_0xd873x13);_0xd873x13= _0xd873x13[__Oxec395[0x5b]]}else {if( typeof _0xd873x13== __Oxec395[0x5c]){_0xd873x13= _0xd873x13[__Oxec395[0x5b]]}}}}catch(e){$[__Oxec395[0x3e]](e,_0xd873x12)}finally{_0xd873xe(_0xd873x13)}})})}function taskPostUrl(_0xd873x26,_0xd873x10= {},_0xd873x1b= null){if(_0xd873x1b&& (_0xd873x26=== __Oxec395[0x46]|| _0xd873x26=== __Oxec395[0x40])){_0xd873x10= `${__Oxec395[0x5d]}${_0xd873x10}${__Oxec395[0x0]}`};if(!_0xd873x1b){_0xd873x1b= `${__Oxec395[0x42]}${_0xd873x26}${__Oxec395[0x0]}`};return {url:_0xd873x1b,body:_0xd873x10,headers:{"\x48\x6F\x73\x74":__Oxec395[0x5e],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65":__Oxec395[0x5f],"\x41\x63\x63\x65\x70\x74":__Oxec395[0x60],"\x52\x65\x66\x65\x72\x65\x72":__Oxec395[0x0],"\x43\x6F\x6F\x6B\x69\x65":cookie,"\x4F\x72\x69\x67\x69\x6E":__Oxec395[0x61],'\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65':__Oxec395[0x5f],"\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x4C\x65\x6E\x67\x74\x68":__Oxec395[0x62],"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":__Oxec395[0x63],"\x41\x63\x63\x65\x70\x74\x2D\x4C\x61\x6E\x67\x75\x61\x67\x65":__Oxec395[0x64],"\x41\x63\x63\x65\x70\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":__Oxec395[0x65]}}}function taskUrl(_0xd873x26,_0xd873x10= {}){return {url:`${__Oxec395[0x0]}${JD_API_HOST}${__Oxec395[0x66]}${_0xd873x26}${__Oxec395[0x67]}${encodeURIComponent(JSON[__Oxec395[0x30]](_0xd873x10))}${__Oxec395[0x68]}${ new Date()[__Oxec395[0x2b]]()+ new Date()[__Oxec395[0x2c]]()* 60* 1000+ 8* 60* 60* 1000}${__Oxec395[0x69]}${uuid}${__Oxec395[0x0]}`,headers:{"\x48\x6F\x73\x74":__Oxec395[0x5e],"\x41\x63\x63\x65\x70\x74":__Oxec395[0x6a],'\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65':__Oxec395[0x5f],"\x43\x6F\x6F\x6B\x69\x65":cookie,"\x4F\x72\x69\x67\x69\x6E":__Oxec395[0x6b],"\x41\x63\x63\x65\x70\x74\x2D\x45\x6E\x63\x6F\x64\x69\x6E\x67":__Oxec395[0x65],"\x52\x65\x66\x65\x72\x65\x72":__Oxec395[0x6c],"\x41\x63\x63\x65\x70\x74\x2D\x4C\x61\x6E\x67\x75\x61\x67\x65":__Oxec395[0x6d],"\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74":$[__Oxec395[0x1]]()?(process[__Oxec395[0x3]][__Oxec395[0x6e]]?process[__Oxec395[0x3]][__Oxec395[0x6e]]:(require(__Oxec395[0x70])[__Oxec395[0x6f]])):($[__Oxec395[0x4]](__Oxec395[0x71])?$[__Oxec395[0x4]](__Oxec395[0x71]):__Oxec395[0x72])}}}function randomString(_0xd873x9){let _0xd873x29=__Oxec395[0x73];if(_0xd873x9== 16){_0xd873x29= __Oxec395[0x74]};_0xd873x9= _0xd873x9|| 32;let _0xd873x2a=_0xd873x29[__Oxec395[0x1f]],_0xd873x2b=__Oxec395[0x0];for(let _0xd873xa=0;_0xd873xa< _0xd873x9;_0xd873xa++){_0xd873x2b+= _0xd873x29[__Oxec395[0x76]](Math[__Oxec395[0x75]](Math[__Oxec395[0x1d]]()* _0xd873x2a))};return _0xd873x2b}function safeGet(_0xd873x13){try{if( typeof JSON[__Oxec395[0x32]](_0xd873x13)== __Oxec395[0x5c]){return true}}catch(e){console[__Oxec395[0xa]](e);console[__Oxec395[0xa]](`${__Oxec395[0x77]}`);return false}}function jsonParse(_0xd873x2e){if( typeof _0xd873x2e== __Oxec395[0x5a]){try{return JSON[__Oxec395[0x32]](_0xd873x2e)}catch(e){console[__Oxec395[0xa]](e);$[__Oxec395[0x1c]]($[__Oxec395[0x16]],__Oxec395[0x0],__Oxec395[0x78]);return []}}}(function(_0xd873x2f,_0xd873x30,_0xd873x31,_0xd873x32,_0xd873x33,_0xd873x34){_0xd873x34= __Oxec395[0x79];_0xd873x32= function(_0xd873x35){if( typeof alert!== _0xd873x34){alert(_0xd873x35)};if( typeof console!== _0xd873x34){console[__Oxec395[0xa]](_0xd873x35)}};_0xd873x31= function(_0xd873x2a,_0xd873x2f){return _0xd873x2a+ _0xd873x2f};_0xd873x33= _0xd873x31(__Oxec395[0x7a],_0xd873x31(_0xd873x31(__Oxec395[0x7b],__Oxec395[0x7c]),__Oxec395[0x7d]));try{_0xd873x2f= __encode;if(!( typeof _0xd873x2f!== _0xd873x34&& _0xd873x2f=== _0xd873x31(__Oxec395[0x7e],__Oxec395[0x7f]))){_0xd873x32(_0xd873x33)}}catch(e){_0xd873x32(_0xd873x33)}})({})
|
||
|
||
|
||
// 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)}
|