forked from cafebox/auto_jd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_cfd.js
3331 lines (3288 loc) · 164 KB
/
jd_cfd.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
京喜财富岛
根据github@MoPoQAQ 财富岛脚本修改而来。无需京喜token,只需京东cookie即可.
cron 5 0,8,13,19 * * * jd_cfd.js
更新时间:2021-2-15
活动入口:京喜APP-我的-京喜财富岛
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
*/
const $ = new Env("京喜财富岛");
const JD_API_HOST = "https://m.jingxi.com/";
const notify = $.isNode() ? require('./sendNotify') : '';
const jdCookieNode = $.isNode() ? require("./jdCookie.js") : "";
$.showLog = $.getdata("cfd_showLog") ? $.getdata("cfd_showLog") === "true" : false;
$.notifyTime = $.getdata("cfd_notifyTime");
$.result = [];$.shareCodes = [];
let cookiesArr = [], cookie = '', token;
const randomCount = 0; //$['isNode']() ? 0x14 : 0x5;
if ($['isNode']()) {
Object['keys'](jdCookieNode)['forEach'](_0x263b06 => {
cookiesArr['push'](jdCookieNode[_0x263b06]);
});
if (process['env']['JD_DEBUG'] && process['env']['JD_DEBUG'] === 'false') console['log'] = () => {};
// if (JSON['stringify'](process['env'])['indexOf']('GITHUB') > -0x1) process['exit'](0x0);
} else {
cookiesArr = [$['getdata']('CookieJD'), $['getdata']('CookieJD2'), ...jsonParse($['getdata']('CookiesJD') || '[]')['map'](_0x2e3ef5 => _0x2e3ef5['cookie'])]['filter'](_0x261c48 => !!_0x261c48);
}!(async () => {
var _0x5557a9 = {
'qFTGv': function(_0x6aae82, _0x2c6dc0) {
return _0x6aae82(_0x2c6dc0);
},
'MQHQQ': function(_0x9d0439, _0x4913ab) {
return _0x9d0439(_0x4913ab);
},
'UDmWB': function(_0x38d559, _0x42eab2) {
return _0x38d559(_0x42eab2);
},
'vnUpT': function(_0x390175) {
return _0x390175();
},
'kDunq': 'UUXpt',
'pXMAk': '【提示】请先获取京东账号一cookie\n直接使用NobyDa的京东签到获取',
'cxASV': 'https://bean.m.jd.com/bean/signIndex.action',
'dnDIo': 'https://raw.githubusercontent.com/1277002811/JDbot/master/shareCodes/cfd.json',
'Fpxcy': function(_0x1a4075, _0x6202aa) {
return _0x1a4075 <= _0x6202aa;
},
'LiXuS': function(_0x2fe291, _0x25e58b) {
return _0x2fe291(_0x25e58b);
},
'uOgiE': 'https://raw.githubusercontent.com/1277002811/JDbot/master/shareCodes/cfd.json',
'JOdZO': function(_0x5a1a09, _0x214ec3) {
return _0x5a1a09(_0x214ec3);
},
'iNaBx': function(_0x3dced7, _0x5e15d9) {
return _0x3dced7 !== _0x5e15d9;
},
'DKvvn': 'mmbil',
'bnsnF': function(_0x482731) {
return _0x482731();
},
'xswXW': function(_0x149b63, _0x28f518) {
return _0x149b63 < _0x28f518;
},
'ottNj': function(_0x4f9931, _0x509f13) {
return _0x4f9931(_0x509f13);
},
'wFmXb': function(_0x469219) {
return _0x469219();
}
};
await _0x5557a9['vnUpT'](requireConfig);
if (!cookiesArr[0x0]) {
if (_0x5557a9['kDunq'] !== 'UUXpt') {
let _0x53475f = _0x5557a9['qFTGv'](uuid, 0x28);
let _0x3ae259 = (+new Date())['toString']();
if (!cookie['match'](/pt_pin=([^; ]+)(?=;?)/)) {
console['log']('此账号cookie填写不规范,你的pt_pin=xxx后面没分号(;)\x0a');
_0x5557a9['MQHQQ'](resolve, null);
}
let _0x44f1e9 = cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1];
let _0x3c7c4e = $['md5']('' + _0x5557a9['UDmWB'](decodeURIComponent, _0x44f1e9) + _0x3ae259 + _0x53475f + 'tPOamqCuk9NLgVPAljUyIHcPRmKlVxDy')['toString']();
resolve({
'timestamp': _0x3ae259,
'phoneid': _0x53475f,
'farm_jstoken': _0x3c7c4e
});
} else {
$['msg']($['name'], _0x5557a9['pXMAk'], _0x5557a9['cxASV'], {
'open-url': _0x5557a9['cxASV']
});
return;
}
}
let _0x3b6899 = {},
_0x14c33c = await _0x5557a9['UDmWB'](getAuthorShareCode, _0x5557a9['dnDIo']);
if (_0x5557a9['Fpxcy'](new Date()['getHours'](), 0x3)) await _0x5557a9['UDmWB'](getAuthorShareCode, 'https://raw.githubusercontent.com/1277002811/JDbot/master/shareCodes/cfd.json');
if (!_0x14c33c) _0x14c33c = await _0x5557a9['LiXuS'](getAuthorShareCode, _0x5557a9['uOgiE']);
$['strMyShareIds'] = [..._0x3b6899 && _0x3b6899['shareId'] || [], ..._0x14c33c && _0x14c33c['shareId'] || []];
$['strGroupIds'] = [..._0x3b6899 && _0x3b6899['strGroupIds'] || [], ..._0x14c33c && _0x14c33c['strGroupIds'] || []];
for (let _0x57fa7b = 0x0; _0x57fa7b < cookiesArr['length']; _0x57fa7b++) {
if (cookiesArr[_0x57fa7b]) {
cookie = cookiesArr[_0x57fa7b];
$['UserName'] = _0x5557a9['JOdZO'](decodeURIComponent, cookie['match'](/pt_pin=([^; ]+)(?=;?)/) && cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]);
$['index'] = _0x57fa7b + 0x1;
$['nickName'] = '';
$['isLogin'] = !![];
$['nickName'] = '';
await TotalBean();
console['log']('\n开始【京东账号' + $['index'] + '】' + ($['nickName'] || $['UserName']) + '\x0a');
if (!$['isLogin']) {
if (_0x5557a9['iNaBx'](_0x5557a9['DKvvn'], 'mmbil')) {
const {
ret,
data: {
userTaskStatusList = []
} = {},
msg
} = JSON['parse'](data);
$['allTask'] = userTaskStatusList['filter'](_0xe69db3 => _0xe69db3['awardStatus'] !== 0x1);
$['log']('\n获取【📆日常任务】列表 ' + msg + ',总共' + $['allTask']['length'] + '个任务!\n' + ($['showLog'] ? data : ''));
} else {
$['msg']($['name'], '【提示】cookie已失效', '京东账号' + $['index'] + ' ' + ($['nickName'] || $['UserName']) + '\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action', {
'open-url': _0x5557a9['cxASV']
});
if ($['isNode']()) {
await notify['sendNotify']($['name'] + 'cookie已失效 - ' + $['UserName'], '京东账号' + $['index'] + ' ' + $['UserName'] + '\x0a请重新登录获取cookie');
}
continue;
}
}
token = await _0x5557a9['vnUpT'](getJxToken);
$['allTask'] = [];
$['info'] = {};
await _0x5557a9['vnUpT'](shareCodesFormat);
await _0x5557a9['bnsnF'](cfd);
}
}
for (let _0x173849 = 0x0; _0x5557a9['xswXW'](_0x173849, cookiesArr['length']); _0x173849++) {
cookie = cookiesArr[_0x173849];
$['UserName'] = _0x5557a9['JOdZO'](decodeURIComponent, cookie['match'](/pt_pin=([^; ]+)(?=;?)/) && cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1]);
token = await _0x5557a9['bnsnF'](getJxToken);
$['canHelp'] = !![];
if ($['shareCodes'] && $['shareCodes']['length']) console['log']('\x0a\x0a寻宝大作战,自己账号内部循环互助\x0a\x0a');
for (let _0x3b1965 of $['shareCodes']) {
console['log']('账号' + $['UserName'] + ' 去参加 ' + _0x3b1965 + ' 寻宝大作战');
await _0x5557a9['ottNj'](joinGroup, _0x3b1965);
await $['wait'](0x1f40);
if (!$['canHelp']) break;
}
}
await $['wait'](0x1f4);
await _0x5557a9['wFmXb'](showMsg);
})()['catch'](_0x100df1 => $['logErr'](_0x100df1))['finally'](() => $['done']());
function helpFriend() {
var _0x305178 = {
'zsxiZ': function(_0x2f7d2b, _0x3acccd) {
return _0x2f7d2b === _0x3acccd;
},
'XJieG': function(_0x3ea70c, _0x25e35e) {
return _0x3ea70c === _0x25e35e;
},
'NVXml': 'lbfda',
'KOjuG': function(_0x34e5fc, _0x38f149) {
return _0x34e5fc(_0x38f149);
},
'mUBsZ': function(_0xdac1e4, _0x1897d0) {
return _0xdac1e4(_0x1897d0);
},
'DULXw': function(_0x381b10, _0x1698a1) {
return _0x381b10(_0x1698a1);
}
};
return new Promise(async _0x56cd7b => {
if (_0x305178['XJieG'](_0x305178['NVXml'], _0x305178['NVXml'])) {
$['canHelp'] = !![];
for (let _0x527224 of $['newShareCodes']['filter'](_0x1df5a1 => !!_0x1df5a1 && !_0x1df5a1['includes']('GroupId'))) {
console['log']('去助力好友 【' + _0x527224 + '】');
if (token) await _0x305178['KOjuG'](createSuperAssistUser, _0x527224);
await $['wait'](0x2710);
await _0x305178['mUBsZ'](createAssistUser, _0x527224);
if (!$['canHelp']) break;
await $['wait'](0x2ee0);
}
if (token) {
$['canHelp'] = !![];
for (let _0x4dcea1 of $['strGroupIds']) {
console['log']('去参加寻宝大作战 ' + _0x4dcea1 + ' 等待10秒');
await _0x305178['DULXw'](joinGroup, _0x4dcea1);
if (!$['canHelp']) break;
await $['wait'](0x2710);
}
}
_0x56cd7b();
} else {
console['log']('普通助力(招工)结果:' + data);
const {
iRet
} = JSON['parse'](data);
if (_0x305178['zsxiZ'](iRet, 0x7d5) || _0x305178['zsxiZ'](iRet, 0x270f)) $['canHelp'] = ![];
}
});
}
async function cfd() {
var _0x36ce54 = {
'TUmPN': 'gzXHA',
'TphYb': function(_0x2a824d) {
return _0x2a824d();
},
'dyrFs': function(_0x20a168, _0x260733) {
return _0x20a168(_0x260733);
},
'YsBIW': function(_0x417832, _0x473c03) {
return _0x417832(_0x473c03);
},
'QPuhC': function(_0x108e30) {
return _0x108e30();
},
'djCUT': function(_0xbaf3af) {
return _0xbaf3af();
},
'dsQNV': function(_0x5c0372, _0x1681a2) {
return _0x5c0372 - _0x1681a2;
},
'IjkbQ': function(_0x79d14a) {
return _0x79d14a();
}
};
try {
if (_0x36ce54['TUmPN'] === 'MxKyL') {
if (err) {
console['log']('' + JSON['stringify'](err));
console['log']($['name'] + ' GetUserTaskStatusList API请求失败,请检查网路重试');
} else {
const {
ret,
data: {
userTaskStatusList = []
} = {},
msg
} = JSON['parse'](data);
$['allTask'] = userTaskStatusList['filter'](_0x46f8a2 => _0x46f8a2['awardStatus'] !== 0x1);
$['log']('\n获取【📆日常任务】列表 ' + msg + ',总共' + $['allTask']['length'] + '个任务!\x0a' + ($['showLog'] ? data : ''));
}
} else {
const _0x2145b0 = await _0x36ce54['TphYb'](getUserInfo);
await $['wait'](0x1f4);
await querySignList();
await $['wait'](0x1f4);
await getMoney();
await $['wait'](0x1f4);
await getTaskList(0x0);
await $['wait'](0x1f4);
await _0x36ce54['dyrFs'](browserTask, 0x0);
await $['wait'](0x1f4);
await _0x36ce54['TphYb'](treasureHunt);
await $['wait'](0x1f4);
await friendCircle();
await $['wait'](0x1f4);
await _0x36ce54['YsBIW'](getTaskList, 0x1);
await $['wait'](0x1f4);
await _0x36ce54['YsBIW'](browserTask, 0x1);
await $['wait'](0x1f4);
await _0x36ce54['QPuhC'](funCenterState);
await $['wait'](0x1f4);
await _0x36ce54['QPuhC'](openPeriodBox);
await $['wait'](0x1f4);
await _0x36ce54['djCUT'](submitGroupId);
await $['wait'](0x1f4);
const _0x51d8cd = await _0x36ce54['YsBIW'](getUserInfo, ![]);
await _0x36ce54['djCUT'](helpFriend);
$['result']['push']('【京东账号' + $['index'] + '】' + ($['nickName'] || $['UserName']), '【💵财富值】任务前: ' + _0x2145b0['ddwMoney'] + '\n【💵财富值】任务后: ' + _0x51d8cd['ddwMoney'], '【💵财富值】净增值: ' + _0x36ce54['dsQNV'](_0x51d8cd['ddwMoney'], _0x2145b0['ddwMoney']) + '\x0a');
await _0x36ce54['IjkbQ'](helpAuthor3);
}
} catch (_0x4e3541) {
$['logErr'](_0x4e3541);
}
}
function getAuthorShareCode(_0x304709) {
var _0x3b10e0 = {
'olPmP': function(_0x59b143, _0x5b8a9f) {
return _0x59b143 === _0x5b8a9f;
},
'ttziJ': 'iwrcY',
'TYKPx': function(_0x5d1617, _0x15c7e7) {
return _0x5d1617 !== _0x15c7e7;
},
'EqCTU': function(_0x17d701) {
return _0x17d701();
},
'PTQCA': function(_0xe3048a, _0x4b0f7d) {
return _0xe3048a || _0x4b0f7d;
},
'EPhrL': 'xfnKi',
'cCOzk': 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 Edg/87.0.4280.88',
'aJaIK': function(_0x3a5f04, _0x58c42a) {
return _0x3a5f04(_0x58c42a);
},
'MSFYy': 'tunnel',
'UXgXq': function(_0x3a0be3, _0x3abd39) {
return _0x3a0be3 * _0x3abd39;
}
};
return new Promise(async _0x5105a2 => {
var _0x878d4e = {
'UKJSt': function(_0xefc052, _0x4c20ab) {
return _0xefc052 == _0x4c20ab;
},
'cHMCu': 'success',
'AopBi': function(_0x547ce6, _0x5254b9) {
return _0x3b10e0['PTQCA'](_0x547ce6, _0x5254b9);
}
};
if (_0x3b10e0['olPmP'](_0x3b10e0['EPhrL'], _0x3b10e0['EPhrL'])) {
const _0x1c012c = {
'url': _0x304709 + '?' + new Date(),
'timeout': 0x2710,
'headers': {
'User-Agent': _0x3b10e0['cCOzk']
}
};
if ($['isNode']() && process['env']['TG_PROXY_HOST'] && process['env']['TG_PROXY_PORT']) {
const _0x230aa4 = _0x3b10e0['aJaIK'](require, _0x3b10e0['MSFYy']);
const _0x8c7f25 = {
'https': _0x230aa4['httpsOverHttp']({
'proxy': {
'host': process['env']['TG_PROXY_HOST'],
'port': _0x3b10e0['UXgXq'](process['env']['TG_PROXY_PORT'], 0x1)
}
})
};
Object['assign'](_0x1c012c, {
'agent': _0x8c7f25
});
}
$['get'](_0x1c012c, async (_0x455385, _0x404fbb, _0x2c5c83) => {
if (_0x3b10e0['olPmP'](_0x3b10e0['ttziJ'], _0x3b10e0['ttziJ'])) {
try {
if (_0x3b10e0['TYKPx']('INbKs', 'INbKs')) {
$['logErr'](e, _0x404fbb);
} else {
_0x5105a2(JSON['parse'](_0x2c5c83));
}
} catch (_0x38a777) {} finally {
_0x3b10e0['EqCTU'](_0x5105a2);
}
} else {
if (_0x455385) {
console['log']('' + JSON['stringify'](_0x455385));
console['log']($['name'] + ' API请求失败,请检查网路重试');
} else {
if (_0x2c5c83) {
console['log']('随机取' + randomCount + '个码放到您固定的互助码后面(不影响已有固定互助)');
_0x2c5c83 = JSON['parse'](_0x2c5c83);
}
}
}
});
await $['wait'](0x2710);
_0x3b10e0['EqCTU'](_0x5105a2);
} else {
if (err) {
console['log']('' + JSON['stringify'](err));
console['log']($['name'] + ' getMoney_dwSource_3 API请求失败,请检查网路重试');
} else {
const {
iRet,
dwMoney,
sErrMsg,
strPin
} = JSON['parse'](data);
$['log']('\x0a【' + sceneList[_key]['strSceneName'] + '】👬好友: ' + (_0x878d4e['UKJSt'](sErrMsg, _0x878d4e['cHMCu']) ? '获取超级助力财富值:¥ ' + _0x878d4e['AopBi'](dwMoney, 0x0) : sErrMsg) + ' \x0a' + ($['showLog'] ? data : ''));
}
}
});
}
function getRandomArrayElements(_0x22b256, _0x5f10ef) {
var _0x230473 = {
'PUAzK': function(_0x267598, _0x49b4a8) {
return _0x267598 - _0x49b4a8;
},
'BYiIt': function(_0x1f77eb, _0x1ceaa5) {
return _0x1f77eb > _0x1ceaa5;
},
'SzRVs': function(_0x3b3978, _0x1deab6) {
return _0x3b3978 === _0x1deab6;
},
'qpACg': 'zyLLU',
'VkXkx': function(_0x1408b0, _0xd08960) {
return _0x1408b0 * _0xd08960;
},
'SlFVb': function(_0x5de0e4, _0x1227c9) {
return _0x5de0e4 + _0x1227c9;
}
};
let _0x521e0e = _0x22b256['slice'](0x0),
_0x1bb0b5 = _0x22b256['length'],
_0x5ac183 = _0x230473['PUAzK'](_0x1bb0b5, _0x5f10ef),
_0x193805, _0x42c243;
while (_0x230473['BYiIt'](_0x1bb0b5--, _0x5ac183)) {
if (_0x230473['SzRVs'](_0x230473['qpACg'], _0x230473['qpACg'])) {
_0x42c243 = Math['floor'](_0x230473['VkXkx'](_0x230473['SlFVb'](_0x1bb0b5, 0x1), Math['random']()));
_0x193805 = _0x521e0e[_0x42c243];
_0x521e0e[_0x42c243] = _0x521e0e[_0x1bb0b5];
_0x521e0e[_0x1bb0b5] = _0x193805;
} else {
resolve();
}
}
return _0x521e0e['slice'](_0x5ac183);
}
async function helpAuthor3() {
var _0x1cc2e4 = {
'KFyPc': function(_0x2d935a) {
return _0x2d935a();
},
'rmHhC': 'https://raw.githubusercontent.com/1277002811/JDbot/master/shareCodes/cfd.json',
'HEaIw': function(_0x6746f0, _0x13959e, _0x4c3961) {
return _0x6746f0(_0x13959e, _0x4c3961);
},
'salfQ': function(_0x37c1ab, _0x50a5fa) {
return _0x37c1ab > _0x50a5fa;
},
'wiNin': 'KhXTA',
'OtKKv': 'https://h5.m.jd.com',
'itfSv': 'zh-cn',
'hYoXt': 'https://h5.m.jd.com/babelDiy/Zeus/25C6dc6HY6if6DT7e58A1pi2Vxe4/index.html?activityId=73cf1fe89d33433d9cc8688d1892d432&assistId=R2u2OCB9eEbcCVB_CiVKhg'
};
let _0x4760cc = await _0x1cc2e4['KFyPc'](getAuthorShareCode2),
_0x5e63f2 = await getAuthorShareCode2(_0x1cc2e4['rmHhC']);
$['MyShareIds'] = [..._0x4760cc || [], ..._0x5e63f2 || []];
$['MyShareIds'] = _0x1cc2e4['HEaIw'](getRandomArrayElements, $['MyShareIds'], _0x1cc2e4['salfQ']($['MyShareIds']['length'], 0x3) ? 0x6 : $['MyShareIds']['length']);
for (let _0x409d51 of $['MyShareIds'] || []) {
if (_0x1cc2e4['wiNin'] === 'SBkqX') {
console['log']('' + JSON['stringify'](err));
console['log']($['name'] + ' activeScene API请求失败,请检查网路重试');
} else {
const _0x1d0345 = {
'url': 'https://api.m.jd.com/client.action?clientVersion=9.3.5&client=wh5&functionId=smtfission_assist&appid=smtFission&body=' + escape(JSON['stringify'](_0x409d51)),
'headers': {
'Host': 'api.m.jd.com',
'accept': 'application/json, text/plain, */*',
'origin': _0x1cc2e4['OtKKv'],
'user-agent': 'jdapp;iPhone;9.3.5;14.2;53f4d9c70c1c81f1c8769d2fe2fef0190a3f60d2;network/wifi;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone10,2;addressid/137923973;supportBestPay/0;appBuild/167515;jdSupportDarkMode/0;pv/2217.74;apprpd/MyJD_PersonalSpace;ref/MySpace;psq/8;ads/;psn/53f4d9c70c1c81f1c8769d2fe2fef0190a3f60d2|8703;jdv/0|kong|t_1000170135|tuiguang|notset|1610674234917|1610674234;adk/;app_device/IOS;pap/JA2015_311210|9.3.5|IOS 14.2;Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1',
'accept-language': _0x1cc2e4['itfSv'],
'referer': _0x1cc2e4['hYoXt'],
'Cookie': cookie
},
'timeout': 0x2710
};
$['get'](_0x1d0345);
}
}
}
function getAuthorShareCode2(_0x4f0d87 = 'https://raw.githubusercontent.com/1277002811/JDbot/master/shareCodes/cfd.json') {
var _0x23c948 = {
'Hmxig': function(_0x495465, _0xecdc72) {
return _0x495465(_0xecdc72);
},
'niJWa': 'aVkUf',
'VjdyR': function(_0x1742fd, _0x460503) {
return _0x1742fd === _0x460503;
},
'xiXDZ': 'cqTKA',
'nETDn': 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 Edg/87.0.4280.88'
};
return new Promise(_0x20a3f6 => {
var _0x2a9498 = {
'hwRLP': function(_0xa9f054, _0x498968) {
return _0xa9f054 || _0x498968;
},
'PcnFl': function(_0x23508a, _0x525856) {
return _0x23c948['Hmxig'](_0x23508a, _0x525856);
},
'bpInn': _0x23c948['niJWa'],
'OMhBk': function(_0x24e72e, _0x21d537) {
return _0x24e72e(_0x21d537);
}
};
if (_0x23c948['VjdyR']('cqTKA', _0x23c948['xiXDZ'])) {
$['get']({
'url': _0x4f0d87,
'headers': {
'User-Agent': _0x23c948['nETDn']
},
'timeout': 0x2710
}, async (_0x3d6ac0, _0x53f7ea, _0x3c5332) => {
var _0x4d9b0e = {
'bdLfm': function(_0x1cfada, _0x4dc3f3) {
return _0x2a9498['hwRLP'](_0x1cfada, _0x4dc3f3);
},
'eaJty': function(_0x4b2b20, _0x5855cb) {
return _0x2a9498['PcnFl'](_0x4b2b20, _0x5855cb);
}
};
try {
if (_0x2a9498['bpInn'] !== 'vHros') {
if (_0x3d6ac0) {} else {
if (_0x3c5332) _0x3c5332 = JSON['parse'](_0x3c5332);
}
} else {
if (_0x3d6ac0) {
console['log']('' + JSON['stringify'](_0x3d6ac0));
console['log']($['name'] + ' TreasureHunt API请求失败,请检查网路重试');
} else {
const {
iRet,
dwExpericnce,
sErrMsg
} = JSON['parse'](_0x3c5332);
$['log']('\x0a【' + place + '】🎁寻宝:' + sErrMsg + ' ,获取随机奖励:¥ ' + _0x4d9b0e['bdLfm'](dwExpericnce, 0x0) + ' \x0a' + ($['showLog'] ? _0x3c5332 : ''));
_0x4d9b0e['eaJty'](_0x20a3f6, iRet);
}
}
} catch (_0x513f9e) {} finally {
_0x2a9498['OMhBk'](_0x20a3f6, _0x3c5332 || []);
}
});
} else {
$['logErr'](e);
}
});
}
function getJxToken() {
var _0x1e2686 = {
'kElFH': 'abcdefghijklmnopqrstuvwxyz1234567890',
'MNRFu': function(_0x433b6d, _0x308057) {
return _0x433b6d < _0x308057;
},
'gkPpb': function(_0x531855, _0xce2a99) {
return _0x531855(_0xce2a99);
},
'KPODZ': function(_0x3394ff, _0x3181f7) {
return _0x3394ff * _0x3181f7;
},
'TjSvK': function(_0x2bc1b7, _0x130f17) {
return _0x2bc1b7(_0x130f17);
}
};
function _0xe18f69(_0x5487a9) {
let _0x3f25a6 = _0x1e2686['kElFH'];
let _0x2b8bca = '';
for (let _0x497a6a = 0x0; _0x1e2686['MNRFu'](_0x497a6a, _0x5487a9); _0x497a6a++) {
_0x2b8bca += _0x3f25a6[_0x1e2686['gkPpb'](parseInt, _0x1e2686['KPODZ'](Math['random'](), _0x3f25a6['length']))];
}
return _0x2b8bca;
}
return new Promise(_0x1b19fc => {
let _0x901291 = _0x1e2686['TjSvK'](_0xe18f69, 0x28);
let _0x5b2fde = (+new Date())['toString']();
if (!cookie['match'](/pt_pin=([^; ]+)(?=;?)/)) {
console['log']('此账号cookie填写不规范,你的pt_pin=xxx后面没分号(;)\n');
_0x1e2686['TjSvK'](_0x1b19fc, null);
}
let _0x1bb53f = cookie['match'](/pt_pin=([^; ]+)(?=;?)/)[0x1];
let _0x367e43 = $['md5']('' + decodeURIComponent(_0x1bb53f) + _0x5b2fde + _0x901291 + 'tPOamqCuk9NLgVPAljUyIHcPRmKlVxDy')['toString']();
_0x1e2686['TjSvK'](_0x1b19fc, {
'timestamp': _0x5b2fde,
'phoneid': _0x901291,
'farm_jstoken': _0x367e43
});
});
}
function getUserInfo(_0x53b8b4 = !![]) {
var _0x573524 = {
'DeYhd': 'ddwMoney',
'fCYwv': 'KySUo',
'XMjuf': function(_0x33b6f5, _0x4717ce) {
return _0x33b6f5(_0x4717ce);
},
'SADKi': 'auPWA'
};
return new Promise(async _0x44e9ab => {
var _0x143878 = {
'pIXff': _0x573524['DeYhd'],
'HcJHc': function(_0x41b8a8, _0x156feb) {
return _0x41b8a8 === _0x156feb;
},
'oDaQN': _0x573524['fCYwv'],
'fINiM': 'DwaIQ',
'xIdOC': 'zCLgS',
'kRuAF': function(_0x55a887, _0x437741) {
return _0x573524['XMjuf'](_0x55a887, _0x437741);
},
'gkmde': _0x573524['SADKi']
};
$['get'](taskUrl('user/QueryUserInfo'), (_0x2b62cb, _0x576bb6, _0x338bef) => {
try {
if (_0x2b62cb) {
if (_0x143878['HcJHc'](_0x143878['oDaQN'], 'bMyxV')) {
console['log']('由于您第' + $['index'] + '个京东账号未提供shareCode,将采纳本脚本自带的助力码\n');
$['newShareCodes'] = $['strMyShareIds'];
} else {
console['log']('' + JSON['stringify'](_0x2b62cb));
console['log']($['name'] + ' QueryUserInfo API请求失败,请检查网路重试');
}
} else {
if (_0x143878['fINiM'] !== _0x143878['xIdOC']) {
_0x338bef = JSON['parse'](_0x338bef);
const {
iret,
SceneList = {},
XbStatus: {
XBDetail = [],
dwXBRemainCnt
} = {},
ddwMoney,
dwIsNewUser,
sErrMsg,
strMyShareId,
strPin,
dwLevel
} = _0x338bef;
$['log']('\x0a获取用户信息:' + sErrMsg + '\x0a' + ($['showLog'] ? _0x338bef : ''));
$['log']('\n当前等级:' + dwLevel + ',财富值:' + _0x338bef[_0x143878['pIXff']] + '\x0a');
if (_0x53b8b4) {
console['log']('财富岛好友互助码每次运行都变化,旧的可继续使用');
$['log']('\n【京东账号' + $['index'] + '(' + $['UserName'] + ')的' + $['name'] + '好友互助码】' + strMyShareId + '\x0a\x0a');
}
$['info'] = {
...$['info'],
'SceneList': SceneList,
'XBDetail': XBDetail,
'dwXBRemainCnt': dwXBRemainCnt,
'ddwMoney': ddwMoney,
'dwIsNewUser': dwIsNewUser,
'strMyShareId': strMyShareId,
'strPin': strPin,
'dwLevel': dwLevel
};
_0x143878['kRuAF'](_0x44e9ab, {
'SceneList': SceneList,
'XBDetail': XBDetail,
'dwXBRemainCnt': dwXBRemainCnt,
'ddwMoney': ddwMoney,
'dwIsNewUser': dwIsNewUser,
'strMyShareId': strMyShareId,
'strPin': strPin
});
} else {
$['log']('\x0a' + taskinfo['strTaskDescr'] + '【领成就奖励】:该成就任务未达到门槛}');
}
}
} catch (_0x9c56e5) {
if ('auPWA' !== _0x143878['gkmde']) {
_0x338bef = JSON['parse'](_0x338bef);
const {
iret,
SceneList = {},
XbStatus: {
XBDetail = [],
dwXBRemainCnt
} = {},
ddwMoney,
dwIsNewUser,
sErrMsg,
strMyShareId,
strPin,
dwLevel
} = _0x338bef;
$['log']('\n获取用户信息:' + sErrMsg + '\x0a' + ($['showLog'] ? _0x338bef : ''));
$['log']('\n当前等级:' + dwLevel + ',财富值:' + _0x338bef[_0x143878['pIXff']] + '\x0a');
if (_0x53b8b4) {
console['log']('财富岛好友互助码每次运行都变化,旧的可继续使用');
$['log']('\x0a【京东账号' + $['index'] + '(' + $['UserName'] + ')的' + $['name'] + '好友互助码】' + strMyShareId + '\x0a\x0a');
}
$['info'] = {
...$['info'],
'SceneList': SceneList,
'XBDetail': XBDetail,
'dwXBRemainCnt': dwXBRemainCnt,
'ddwMoney': ddwMoney,
'dwIsNewUser': dwIsNewUser,
'strMyShareId': strMyShareId,
'strPin': strPin,
'dwLevel': dwLevel
};
_0x44e9ab({
'SceneList': SceneList,
'XBDetail': XBDetail,
'dwXBRemainCnt': dwXBRemainCnt,
'ddwMoney': ddwMoney,
'dwIsNewUser': dwIsNewUser,
'strMyShareId': strMyShareId,
'strPin': strPin
});
} else {
$['logErr'](_0x9c56e5, _0x576bb6);
}
} finally {
_0x44e9ab();
}
});
});
}
function querySignList() {
var _0x3e9a39 = {
'GsNBe': 'WQEoM',
'igLok': 'qDgeD',
'WksBQ': function(_0x37c2e7, _0x3043c6) {
return _0x37c2e7 !== _0x3043c6;
},
'VvavS': 'rGsmf',
'HXhYF': function(_0x56adae, _0x388157) {
return _0x56adae(_0x388157);
}
};
return new Promise(async _0x48899d => {
$['get'](_0x3e9a39['HXhYF'](taskUrl, 'task/QuerySignListV2'), async (_0x36558d, _0x307477, _0xaddcf4) => {
var _0x49d678 = {
'XptpH': function(_0xd9b5de, _0x4e13f7) {
return _0xd9b5de || _0x4e13f7;
}
};
if (_0x3e9a39['GsNBe'] === _0x3e9a39['igLok']) {
console['log']('' + JSON['stringify'](_0x36558d));
console['log']($['name'] + ' createSuperAssistUser JoinScene API请求失败,请检查网路重试');
} else {
try {
if (_0x36558d) {
if ('DbUkU' !== 'DbUkU') {
console['log']('' + JSON['stringify'](_0x36558d));
console['log']($['name'] + ' TreasureHunt API请求失败,请检查网路重试');
} else {
console['log']('' + JSON['stringify'](_0x36558d));
console['log']($['name'] + ' QuerySignListV2 API请求失败,请检查网路重试');
}
} else {
const {
iRet,
sData: {
Sign = [{}],
dwUserFlag
},
sErrMsg
} = JSON['parse'](_0xaddcf4);
$['log']('\n签到列表:' + sErrMsg + '\x0a' + ($['showLog'] ? _0xaddcf4 : ''));
const [{
dwStatus,
ddwMoney
}] = Sign['filter'](_0x245fcc => _0x245fcc['dwShowFlag'] === 0x1);
if (dwStatus === 0x0) {
await userSignReward(dwUserFlag, ddwMoney);
} else {
if (_0x3e9a39['WksBQ']('DSgnn', 'DSgnn')) {
if (_0x36558d) {
console['log']('' + JSON['stringify'](_0x36558d));
console['log']($['name'] + ' UserSignRewardV2 API请求失败,请检查网路重试');
} else {
const {
iRet,
sData: {
ddwMoney
},
sErrMsg
} = JSON['parse'](_0xaddcf4);
$['log']('\n📌签到:' + sErrMsg + ',获得财富 ¥ ' + _0x49d678['XptpH'](ddwMoney, 0x0) + '\x0a' + ($['showLog'] ? _0xaddcf4 : ''));
}
} else {
$['log']('\n📌签到:你今日已签到过啦,请明天再来');
}
}
}
} catch (_0x4e11c4) {
if ('YLyzm' !== _0x3e9a39['VvavS']) {
$['logErr'](_0x4e11c4, _0x307477);
} else {
$['logErr'](_0x4e11c4, _0x307477);
}
} finally {
_0x48899d();
}
}
});
});
}
async function userSignReward(_0x436087, _0x23f09c) {
var _0x33d8d4 = {
'kSfuy': function(_0x4122e6, _0x3a1340) {
return _0x4122e6(_0x3a1340);
},
'yEqZo': 'https://h5.m.jd.com',
'vCmkW': 'zh-cn',
'cfSnF': function(_0x5b36e4, _0x2e9fdb) {
return _0x5b36e4 > _0x2e9fdb;
},
'vHnJy': function(_0x480eaf, _0x5abdbc) {
return _0x480eaf + _0x5abdbc;
},
'UWorn': 'yOkNV',
'TqNtC': function(_0x30031d, _0x52507d) {
return _0x30031d || _0x52507d;
},
'pwDYx': 'BoaCQ',
'febCQ': function(_0x17fe9d, _0x265c65) {
return _0x17fe9d === _0x265c65;
}
};
return new Promise(async _0x5e038a => {
var _0x19ae11 = {
'YXDpb': function(_0x527c6d, _0x1c393d) {
return _0x33d8d4['kSfuy'](_0x527c6d, _0x1c393d);
},
'GPFEE': _0x33d8d4['yEqZo'],
'qrlcu': _0x33d8d4['vCmkW'],
'VtFCs': function(_0x5a4733, _0x5a98a5) {
return _0x33d8d4['cfSnF'](_0x5a4733, _0x5a98a5);
},
'KziGY': function(_0x449af3, _0x2e94a2) {
return _0x33d8d4['vHnJy'](_0x449af3, _0x2e94a2);
},
'Rsqji': function(_0x271b43, _0x3f2dac) {
return _0x271b43 === _0x3f2dac;
},
'AXREJ': 'RAqyB',
'tPCmL': _0x33d8d4['UWorn'],
'DxgUr': function(_0x27976a, _0x3e0be1) {
return _0x33d8d4['TqNtC'](_0x27976a, _0x3e0be1);
},
'eRotr': _0x33d8d4['pwDYx'],
'SdjjN': function(_0x4f03cd) {
return _0x4f03cd();
}
};
if (_0x33d8d4['febCQ']('rpVvQ', 'iRwXc')) {
console['log']('' + JSON['stringify'](err));
console['log']($['name'] + ' employeeAward API请求失败,请检查网路重试');
} else {
$['get'](taskUrl('task/UserSignRewardV2', 'dwReqUserFlag=' + _0x436087 + '&ddwMoney=' + _0x23f09c), async (_0x4f7127, _0x323b46, _0x4f2ed6) => {
var _0x3c2e6d = {
'mkMYa': function(_0x195bac, _0x5af1e5) {
return _0x19ae11['YXDpb'](_0x195bac, _0x5af1e5);
},
'GFXFd': 'api.m.jd.com',
'LCplk': 'application/json, text/plain, */*',
'HHFjv': _0x19ae11['GPFEE'],
'gOEtk': 'jdapp;iPhone;9.3.5;14.2;53f4d9c70c1c81f1c8769d2fe2fef0190a3f60d2;network/wifi;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone10,2;addressid/137923973;supportBestPay/0;appBuild/167515;jdSupportDarkMode/0;pv/2217.74;apprpd/MyJD_PersonalSpace;ref/MySpace;psq/8;ads/;psn/53f4d9c70c1c81f1c8769d2fe2fef0190a3f60d2|8703;jdv/0|kong|t_1000170135|tuiguang|notset|1610674234917|1610674234;adk/;app_device/IOS;pap/JA2015_311210|9.3.5|IOS 14.2;Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1',
'dvwgM': _0x19ae11['qrlcu'],
'pxmhG': function(_0x4ceebc, _0x113718) {
return _0x19ae11['VtFCs'](_0x4ceebc, _0x113718);
},
'fykWm': function(_0x3ddf61, _0x2b2498) {
return _0x3ddf61 * _0x2b2498;
},
'wrNyn': function(_0x145f66, _0x596aba) {
return _0x19ae11['KziGY'](_0x145f66, _0x596aba);
}
};
try {
if (_0x4f7127) {
if (_0x19ae11['Rsqji'](_0x19ae11['AXREJ'], _0x19ae11['AXREJ'])) {
console['log']('' + JSON['stringify'](_0x4f7127));
console['log']($['name'] + ' UserSignRewardV2 API请求失败,请检查网路重试');
} else {
if (_0x4f2ed6) {
console['log']('随机取' + randomCount + '个码放到您固定的互助码后面(不影响已有固定互助)');
_0x4f2ed6 = JSON['parse'](_0x4f2ed6);
}
}
} else {
if (_0x19ae11['tPCmL'] !== _0x19ae11['tPCmL']) {
const _0x285ab4 = {
'url': 'https://api.m.jd.com/client.action?clientVersion=9.3.5&client=wh5&functionId=smtfission_assist&appid=smtFission&body=' + _0x3c2e6d['mkMYa'](escape, JSON['stringify'](vo)),
'headers': {
'Host': _0x3c2e6d['GFXFd'],
'accept': _0x3c2e6d['LCplk'],
'origin': _0x3c2e6d['HHFjv'],
'user-agent': _0x3c2e6d['gOEtk'],
'accept-language': _0x3c2e6d['dvwgM'],
'referer': 'https://h5.m.jd.com/babelDiy/Zeus/25C6dc6HY6if6DT7e58A1pi2Vxe4/index.html?activityId=73cf1fe89d33433d9cc8688d1892d432&assistId=R2u2OCB9eEbcCVB_CiVKhg',
'Cookie': cookie
},
'timeout': 0x2710
};
$['get'](_0x285ab4);
} else {
const {
iRet,
sData: {
ddwMoney
},
sErrMsg
} = JSON['parse'](_0x4f2ed6);
$['log']('\x0a📌签到:' + sErrMsg + ',获得财富 ¥ ' + _0x19ae11['DxgUr'](ddwMoney, 0x0) + '\x0a' + ($['showLog'] ? _0x4f2ed6 : ''));
}
}
} catch (_0x458798) {
if (_0x19ae11['eRotr'] !== _0x19ae11['eRotr']) {
let _0x4eb3b3 = arr['slice'](0x0),
_0x3ee546 = arr['length'],
_0x29cc07 = _0x3ee546 - count,
_0x40ca87, _0x404363;
while (_0x3c2e6d['pxmhG'](_0x3ee546--, _0x29cc07)) {
_0x404363 = Math['floor'](_0x3c2e6d['fykWm'](_0x3c2e6d['wrNyn'](_0x3ee546, 0x1), Math['random']()));
_0x40ca87 = _0x4eb3b3[_0x404363];
_0x4eb3b3[_0x404363] = _0x4eb3b3[_0x3ee546];
_0x4eb3b3[_0x3ee546] = _0x40ca87;
}
return _0x4eb3b3['slice'](_0x29cc07);
} else {
$['logErr'](_0x458798, _0x323b46);
}
} finally {
_0x19ae11['SdjjN'](_0x5e038a);
}
});
}
});
}
async function getMoney() {
var _0xc66de1 = {
'hZhNe': '1002',
'dMnew': '1003',
'pWZmq': function(_0xd507ec, _0x5b94e4) {
return _0xd507ec >= _0x5b94e4;
},
'sHcDg': function(_0x423b11, _0x3d6375) {
return _0x423b11 === _0x3d6375;
},
'bOrit': function(_0x4b4166, _0x2f55f2) {
return _0x4b4166 + _0x2f55f2;
},
'tCVHv': 'LDTws',
'OqvGY': 'imkGg',
'weWLs': function(_0x2b254c, _0x3dd86f, _0x5854f4, _0x19fae0) {
return _0x2b254c(_0x3dd86f, _0x5854f4, _0x19fae0);
},
'FeIoW': function(_0x756a3c, _0x40f68a) {
return _0x756a3c(_0x40f68a);
}
};
let _0x469a9a = $['info']['SceneList'];
let _0x1ded5d = [],
_0x422f17 = ['1001', _0xc66de1['hZhNe'], _0xc66de1['dMnew']];
_0x1ded5d = Object['keys'](_0x469a9a);
_0x1ded5d = _0x422f17['filter'](_0x319c7c => _0x1ded5d['every'](_0x1158b5 => _0x319c7c !== _0x1158b5));
console['log']('待开通场景ID列表sceneList;' + JSON['stringify'](_0x1ded5d));
for (let _0x38b3c2 of _0x1ded5d) {
if (_0x38b3c2 === _0xc66de1['hZhNe'] && _0xc66de1['pWZmq']($['info']['dwLevel'], 0xb)) await activeScene(_0x38b3c2);
if (_0xc66de1['sHcDg'](_0x38b3c2, _0xc66de1['dMnew']) && _0xc66de1['pWZmq']($['info']['dwLevel'], 0x1a)) await activeScene(_0x38b3c2);
}
for (const _0x2e3345 of Object['keys']($['info']['SceneList'])) {
await $['wait'](0x7d0);
await getMoney_dwSource_1(_0x2e3345, _0x469a9a);
const _0x2b0b72 = eval(_0xc66de1['bOrit']('(' + JSON['stringify'](_0x469a9a[_0x2e3345]['EmployeeList']), ')'));
if (_0x2b0b72 !== '') {
if (_0xc66de1['tCVHv'] !== _0xc66de1['OqvGY']) {
for (var _0x5488c0 of Object['keys'](_0x2b0b72)) {
await $['wait'](0x7d0);
await _0xc66de1['weWLs'](getMoney_dwSource_2, _0x2e3345, _0x469a9a, _0x5488c0);
}
} else {
$['newShareCodes'] = [...new Set([...$['newShareCodes'], ...$['strMyShareIds'], 'AE9A1A36CE90E035A19DC751D9557899D5ED1C1C67FD467D91E4D0DE3930D809', ...readShareCodeRes['data'] || []])];
}
}
await $['wait'](0x7d0);
if (token) await getMoney_dwSource_3(_0x2e3345, _0x469a9a);
await _0xc66de1['FeIoW'](employeeAward, _0x2e3345);
}
}
function getMoney_dwSource_1(_0x3fc1cf, _0x1776fb) {
var _0x37e5f6 = {
'swXUv': 'TVCbQ',
'LAyiG': function(_0x2487a2, _0x35da99) {
return _0x2487a2 == _0x35da99;
},
'Zvauc': function(_0x5751ba, _0x4472bb) {
return _0x5751ba || _0x4472bb;
},
'vlehB': function(_0x563b8e, _0x266282) {
return _0x563b8e !== _0x266282;
},
'vpqMw': 'LogxW',
'uWDFN': 'alDQY',
'EOusT': function(_0x28f208, _0x6fddf1, _0x227b41) {
return _0x28f208(_0x6fddf1, _0x227b41);
}
};
return new Promise(async _0x172885 => {
$['get'](_0x37e5f6['EOusT'](taskUrl, 'user/GetMoney', 'dwSceneId=' + _0x3fc1cf + '&strEmployeeId=undefined&dwSource=1'), async (_0x15ea01, _0x15eae2, _0x200761) => {
if (_0x37e5f6['swXUv'] !== _0x37e5f6['swXUv']) {
console['log']('' + JSON['stringify'](_0x15ea01));
console['log']($['name'] + ' OpenGroup API请求失败,请检查网路重试');
} else {
try {
if (_0x15ea01) {
console['log']('' + JSON['stringify'](_0x15ea01));
console['log']($['name'] + ' getMoney_dwSource_1 API请求失败,请检查网路重试');