-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy path永辉生活.js
2025 lines (2022 loc) · 56.6 KB
/
永辉生活.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
/*
永辉生活 v1.01
登录前开启捉包, 捉登录包响应里面的uid和refreshToken
把捉包或者网页登录获取的uid,refreshToken和备注(非必须)填到文件 yhshCookie.txt 里(第一次运行会自动创建), 多账号换行写
uid#refreshToken#备注
例子:
123456789321654987#12345678-1345-3546-69c3-xxxxxxxxxxxx#doubi
679113468143213246#yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy#huoge
自动签到和组队互助
目前组队互助是积分大头, 一队需要3个号, N个号可以组满N/2队
500积分可以抵扣1元(上限貌似是抵扣20%), 小毛
cron: 16 7,8,20 * * *
const $ = new Env("永辉生活");
*/
const _0x5827a5 = _0x2f9b;
(function (_0xb42f5f, _0x591081) {
const _0x4c7bb8 = _0x2f9b,
_0x528619 = _0xb42f5f();
while (true) {
try {
const _0x5143cf =
(-parseInt(_0x4c7bb8(606)) / 1) * (parseInt(_0x4c7bb8(218)) / 2) +
parseInt(_0x4c7bb8(175)) / 3 +
(-parseInt(_0x4c7bb8(227)) / 4) * (-parseInt(_0x4c7bb8(397)) / 5) +
(-parseInt(_0x4c7bb8(173)) / 6) * (parseInt(_0x4c7bb8(258)) / 7) +
-parseInt(_0x4c7bb8(199)) / 8 +
(parseInt(_0x4c7bb8(539)) / 9) * (-parseInt(_0x4c7bb8(422)) / 10) +
parseInt(_0x4c7bb8(515)) / 11;
if (_0x5143cf === _0x591081) {
break;
} else {
_0x528619.push(_0x528619.shift());
}
} catch (_0x418407) {
_0x528619.push(_0x528619.shift());
}
}
})(_0x5b32, 175931);
const _0x454ec0 = _0x427c74(_0x5827a5(620)),
_0x408278 = require("fs"),
_0xbc0ee4 = require("got"),
{ CookieJar: _0x3e25a4 } = require("tough" + _0x5827a5(552) + "ie"),
_0x43b4a6 = _0x5827a5(496),
_0x4031d7 = _0x43b4a6 + "Cookie.txt",
_0x5a1d0b = 20000,
_0x2ca80d = 3;
function _0x5b32() {
const _0x4aa1c6 = [
"ogram",
"mobil",
"data",
"missi",
"3127)",
"udgoQ",
"9601",
"lBTAd",
"VvTeV",
"16_1_",
"now",
"e604",
"/user",
"JLyMi",
"IiCHH",
"UEdZF",
"PxEQN",
"tbZvo",
"versi",
"9|6|1",
"60UToNfm",
".json",
"DgVde",
"filte",
"Time",
"file",
"DLsvk",
"toUpp",
"CK文件[",
"flag",
"ign",
"hasOw",
"CWHZE",
"ng.ne",
"it_in",
"wait",
"editc",
"e/sha",
"rando",
"sCode",
"acces",
"wkUuw",
"abcde",
"gap_i",
"离目标时间",
"joinT",
"limit",
"etail",
"m/api",
"UhbAm",
"lient",
"nMsg",
"FDyYT",
"amoun",
"mStri",
"updat",
"Code/",
"hTnCs",
"/v2",
"membe",
"t/joi",
"xSTSI",
"valid",
"请求[",
"\n----",
"userL",
"erCas",
"ahead",
"ccess",
"jKngV",
"cf7c9",
",共运行了",
"ATnid",
"getcr",
"yStr",
"ms),重",
"---",
"达上限",
"dxEzF",
"mDeta",
"oQrsy",
"thori",
"nProp",
"userI",
"pop",
"]请求超时",
"|2|1|",
"stErr",
"-----",
" OS X",
"terva",
"afxcy",
"]返回[",
"conds",
"yhsh",
"userC",
"lengt",
"|11|3",
"okplw",
"getFu",
"eward",
"son",
"15E14",
"start",
"erty",
"开启组队失",
"tIXSH",
"error",
"16.1.",
":ss.S",
"获取账户信",
"读取推送依",
"lt_wa",
"8411788WzJVxt",
"need_",
"it_ah",
"resul",
"qFvmh",
"assig",
"refre",
"env",
"str",
"查询组队信",
"llise",
"45678",
"nNoti",
"lize_",
"repla",
"bdcmX",
"pagei",
"WyQLr",
"今天已签到",
"eJar",
"cance",
"floor",
"coupo",
"utErr",
"445707HmcjXJ",
"tcoup",
"DSIDg",
"read_",
"shopI",
"sendN",
"m/web",
"8 Mic",
"15 (K",
"cooki",
"gnrew",
"jiMuB",
" NetT",
"-cook",
"FyRJM",
" 查询积分",
"0 (iP",
"idcod",
"e OS ",
"min",
"oEZsi",
" like",
"norma",
"sSync",
"HTML,",
"ount",
"fUGxZ",
"5499e",
"rejec",
"://le",
"HZpTH",
"s_tok",
"已完成等待",
"_sign",
"TFcTm",
"team",
"新建一个,",
"des",
"senge",
"yyyy-",
"IFI L",
"hpRMJ",
"WIFI",
"hh:mm",
"lob/m",
"GzbdJ",
"team_",
"AWFOV",
"nepgo",
"zZBsN",
"xxxxx",
"未找到变量",
"rojec",
"/code",
"优惠券",
"oin_t",
"json2",
"time",
"Mozil",
"hPara",
"YbXIU",
"getDa",
"exten",
"2 lik",
"://ap",
"e_jso",
"get_c",
"20eUyVhw",
"]失败, ",
"/leaf",
"CNPZl",
"/web/",
"VSrDM",
"aster",
"nse",
"msg",
"rid",
"登录失败[",
"gify",
"reque",
"签到失败[",
"永辉生活",
"MXDnJ",
"encod",
"padSt",
"ip.co",
"grZaj",
"mesta",
"subst",
"WlFrO",
"ist",
"agent",
"url",
"debug",
"0|7|4",
"notif",
"messa",
"Iyazc",
"DHVwP",
"iPhon",
"timeo",
"ead",
"ios",
"FileS",
"ame",
"开启组队成",
"utf-8",
"]队伍失败",
"oupon",
"mIXaY",
"redit",
"]大于",
"statu",
"WTmah",
"test",
"llYea",
"420*9",
"Timeo",
"mPatt",
"41124cnGUhd",
"lates",
"38259aebbaa",
"组队已完成",
"userT",
"wait_",
"./sen",
"keep-",
"nfo_v",
":ss",
"credi",
"onid",
"heade",
"jLRdH",
"pbzVM",
".codi",
"UuoPa",
"r/get",
"inter",
"加入[",
"Sziav",
"xcy/p",
"DihMT",
"eam",
"ype/W",
"event",
"774784AmVcKv",
"push",
"signr",
"m_cou",
"charA",
"JRpHf",
" 默认为你",
"vJxYX",
"defau",
"objec",
"conso",
" CPU ",
" 如有需要",
"sh_to",
"x1800",
"ken",
"User-",
"can_j",
"_code",
"22342jctHTh",
"ask",
") App",
",请检查文",
"组队进度:",
"共找到",
"tQjQe",
"/wxc9",
"split",
"1242392BccARJ",
"查询积分失",
"mp_le",
"ateTe",
"on/cr",
"roMes",
"kBDGu",
"eMsg",
"it_li",
"until",
"la/5.",
"KyZsW",
"10.4.",
"IxNsM",
"xxx-x",
"wORnU",
"ode",
"d_tea",
"cSHOr",
"divid",
"get_p",
"keys",
" 任务 -",
"angua",
"count",
"05.1.",
"get_a",
"Msg",
"teamC",
"]请求错误",
"fy.js",
"301ndnDOG",
"_deta",
"个账号",
"]还有",
"form",
"息失败[",
"y-age",
"follo",
"eywGA",
"nth",
" 推送 =",
"BaouM",
"epot/",
"nutes",
"_in",
"cqAJs",
"队伍人数已",
"getin",
"toStr",
"creat",
"/coup",
"igtzL",
"]: ",
"/pass",
"o) Mo",
"name",
"ern",
"zed",
"aPTbh",
"iVebi",
"r/acc",
"final",
"join",
"help_",
"then",
"kKifI",
"版本:",
"mIMrn",
"_para",
"got",
"refix",
"kwxsf",
"hone;",
"zEPRU",
"ylXrP",
"eTeam",
"val",
",最新脚本",
"exitN",
"onpag",
"auth",
"red-d",
"map",
"er_op",
"readF",
"ommon",
"avail",
"]队伍成功",
" 组队助力",
"parse",
"log",
"WjyKC",
" ----",
"getMo",
"aoZbW",
"ction",
"showm",
"on/si",
"helpe",
"ALeIJ",
"n/get",
"====",
"ePoin",
"post",
"Kit/6",
"vflbn",
"inclu",
"积分: ",
"]开始运行",
"lDuIo",
"YhSto",
"ard/d",
"minam",
"QzKMg",
"searc",
"git/b",
"),重试第",
"ing",
"commo",
"e15,1",
"\n====",
"lt_ti",
"lQwUb",
"alive",
"请检查同目",
"=====",
"录下是否有",
"mit",
"ileSy",
"PHUwy",
"Agent",
"copy",
"wRedi",
"order",
"]运行结束",
"einfo",
"uid",
"nterv",
" Geck",
"urs",
"https",
"get",
"teamD",
"KHPsQ",
"nTheP",
"f0123",
"AWKvC",
"exist",
"vCXvD",
"write",
"t/api",
"fmt",
"请填入ck",
"Token",
"getTi",
"edit/",
"yFlag",
"ndgQS",
"code",
"现在运行的",
"slukq",
"index",
"赖[sen",
"nickn",
"catch",
"retry",
"i.yon",
"ghuiv",
"t/cre",
"5XukEyO",
"metho",
"rect",
"hePar",
"getMi",
];
_0x5b32 = function () {
return _0x4aa1c6;
};
return _0x5b32();
}
const _0x14be7e = 1.01,
_0x3a423f = _0x5827a5(496),
_0x13f210 =
_0x5827a5(368) +
_0x5827a5(568) +
_0x5827a5(493) +
_0x5827a5(188) +
"ng.ne" +
_0x5827a5(378) +
_0x5827a5(414) +
_0x5827a5(608) +
_0x5827a5(194) +
"rojec" +
"t/val" +
_0x5827a5(556) +
_0x5827a5(439) +
_0x5827a5(309) +
_0x5827a5(270) +
"valid" +
_0x5827a5(458) +
_0x5827a5(343) +
_0x5827a5(583) +
_0x5827a5(612) +
_0x5827a5(592) +
_0x5827a5(423),
_0x22a328 =
_0x5827a5(597) +
_0x5827a5(237) +
_0x5827a5(555) +
_0x5827a5(300) +
_0x5827a5(210) +
_0x5827a5(153) +
_0x5827a5(557) +
_0x5827a5(411) +
_0x5827a5(602) +
"e Mac" +
_0x5827a5(491) +
_0x5827a5(220) +
"leWeb" +
_0x5827a5(332) +
_0x5827a5(252) +
_0x5827a5(547) +
_0x5827a5(563) +
_0x5827a5(560) +
_0x5827a5(366) +
_0x5827a5(282) +
"bile/" +
_0x5827a5(504) +
_0x5827a5(546) +
_0x5827a5(232) +
_0x5827a5(577) +
"r/8.0" +
".49(0" +
_0x5827a5(213) +
_0x5827a5(406) +
_0x5827a5(551) +
_0x5827a5(197) +
_0x5827a5(579) +
_0x5827a5(250) +
"ge/zh" +
"_CN m" +
"iniPr" +
_0x5827a5(402) +
_0x5827a5(225) +
_0x5827a5(472) +
_0x5827a5(566) +
_0x5827a5(413),
_0x3814f0 = _0x5827a5(239) + "5.3",
_0x297eb2 = _0x5827a5(408),
_0x5b0990 = _0x297eb2,
_0x3bd5e2 = 2000,
_0x3989bb = 5;
function _0x2f9b(_0x4d9544, _0x5a23c5) {
const _0x4d9f5a = _0x5b32();
_0x2f9b = function (_0x3be884, _0x160821) {
_0x3be884 = _0x3be884 - 144;
let _0x35e660 = _0x4d9f5a[_0x3be884];
return _0x35e660;
};
return _0x2f9b(_0x4d9544, _0x5a23c5);
}
class _0x55ea0b {
constructor() {
const _0x1d6b82 = _0x5827a5;
this[_0x1d6b82(389)] = _0x454ec0.userIdx++;
this.name = "";
this[_0x1d6b82(464)] = false;
const _0x33629c = {};
_0x33629c[_0x1d6b82(448)] = 0;
const _0xb8726f = {};
_0xb8726f["Conne" + _0x1d6b82(323)] = _0x1d6b82(180) + _0x1d6b82(351);
const _0x38bfa1 = {};
_0x38bfa1[_0x1d6b82(393)] = _0x33629c;
_0x38bfa1[_0x1d6b82(154) + "ut"] = _0x5a1d0b;
_0x38bfa1[_0x1d6b82(265) + _0x1d6b82(360) + _0x1d6b82(399)] = false;
_0x38bfa1[_0x1d6b82(185) + "rs"] = _0xb8726f;
this[_0x1d6b82(297)] = _0xbc0ee4[_0x1d6b82(601) + "d"](_0x38bfa1);
}
[_0x5827a5(247) + _0x5827a5(298)](_0x4166ea = {}) {
const _0x2e0714 = _0x5827a5;
var _0x411b32 = "",
_0x5caca2 = _0x454ec0["userC" + _0x2e0714(564)][_0x2e0714(276) + _0x2e0714(345)]()[_0x2e0714(498) + "h"];
if (this[_0x2e0714(389)]) {
_0x411b32 += "账号[" + _0x454ec0[_0x2e0714(623) + "r"](this[_0x2e0714(389)], _0x5caca2) + "]";
}
if (this[_0x2e0714(283)]) {
_0x411b32 += "[" + this[_0x2e0714(283)] + "]";
}
return _0x411b32;
}
[_0x5827a5(318)](_0x322169, _0x1bb66a = {}) {
const _0x104383 = _0x5827a5;
const _0x1acfd4 = {
DSIDg: function (_0x207b5c, _0x3989a3) {
return _0x207b5c + _0x3989a3;
},
};
let _0x232f8a = this[_0x104383(247) + "refix"]();
_0x454ec0[_0x104383(318)](_0x1acfd4[_0x104383(541)](_0x232f8a, _0x322169), _0x1bb66a);
}
async [_0x5827a5(618) + "st"](_0x5adfb9) {
const _0xec2715 = _0x5827a5,
_0x1bcf2b = {
WlFrO: _0xec2715(171) + _0xec2715(538) + "or",
hTnCs: _0xec2715(208) + "t",
IqZzX: function (_0x839ad6, _0x2e623b) {
return _0x839ad6(_0x2e623b);
},
NvqoJ: "https-prox" + _0xec2715(264) + "nt",
Sziav: function (_0x528c9b, _0x531ad6) {
return _0x528c9b < _0x531ad6;
},
ohuJQ: function (_0x546aa8, _0x251df8) {
return _0x546aa8 > _0x251df8;
},
KHPsQ: function (_0x5b570e, _0x5079cc) {
return _0x5b570e * _0x5079cc;
},
vJxYX: _0xec2715(393) + _0xec2715(311) + "t",
TFcTm: function (_0x361472, _0x18af8e, _0x2e2675) {
return _0x361472(_0x18af8e, _0x2e2675);
},
kwxsf: function (_0x596348, _0x3bdfa9) {
return _0x596348(_0x3bdfa9);
},
JLyMi: function (_0x4060f3, _0x54025a) {
return _0x4060f3(_0x54025a);
},
tQjQe: function (_0x174302, _0x522455) {
return _0x174302 - _0x522455;
},
FyRJM: function (_0x33d000, _0x365aa0) {
return _0x33d000 || _0x365aa0;
},
wktOa: function (_0x46764f, _0x333d60) {
return _0x46764f === _0x333d60;
},
Yluuf: "decod" + _0xec2715(604) + "n",
},
_0x847a9a = ["Reque" + _0xec2715(489) + "or"],
_0x576188 = [_0x1bcf2b[_0xec2715(628)]];
let _0x54fbe8 = _0x454ec0[_0xec2715(359)](_0x5adfb9),
_0x5892e3 = {};
try {
let _0x41dc1e = null,
_0x487db1 = 0,
_0x5ae7cb = _0x54fbe8.fn || _0x54fbe8[_0xec2715(146)],
_0x5c1049 = _0x54fbe8[_0xec2715(464) + _0xec2715(217)] || [200];
if (_0x54fbe8[_0xec2715(262)]) {
for (let _0x2699e9 in _0x54fbe8[_0xec2715(262)]) {
typeof _0x54fbe8.form[_0x2699e9] == _0x1bcf2b.hTnCs &&
(_0x54fbe8.form[_0x2699e9] = JSON["strin" + _0xec2715(617)](_0x54fbe8[_0xec2715(262)][_0x2699e9]));
}
}
_0x54fbe8[_0xec2715(398) + "d"] = _0x54fbe8?.[_0xec2715(398) + "d"]?.["toUpperCase"]() || "GET";
if (_0x54fbe8["searc" + _0xec2715(598) + "ms"]) {
for (let _0x5d7789 in _0x54fbe8.searchParams) {
typeof _0x54fbe8["searc" + _0xec2715(598) + "ms"][_0x5d7789] == _0x1bcf2b[_0xec2715(459)] &&
(_0x54fbe8["searc" + _0xec2715(598) + "ms"][_0x5d7789] = JSON["strin" + _0xec2715(617)](
_0x54fbe8[_0xec2715(342) + _0xec2715(598) + "ms"][_0x5d7789]
));
}
}
let _0x1acf6b = _0x54fbe8["got_c" + _0xec2715(452)] || this[_0xec2715(297)];
_0x54fbe8[_0xec2715(147) + _0xec2715(272)] && console[_0xec2715(318)](_0x54fbe8);
while (_0x1bcf2b[_0xec2715(193)](_0x487db1, _0x2ca80d)) {
if (_0x1bcf2b.ohuJQ(_0x487db1, 0)) {
await _0x454ec0.wait(_0x1bcf2b[_0xec2715(371)](_0x3bd5e2, _0x487db1));
let _0x2d61dc = _0x454ec0[_0xec2715(369)](_0x54fbe8, _0xec2715(393) + "er", null);
if (_0x2d61dc) {
let _0x4cacdd = _0x454ec0[_0xec2715(369)](_0x54fbe8, _0x1bcf2b[_0xec2715(206)], {});
await _0x1bcf2b[_0xec2715(573)](_0x2d61dc, _0x54fbe8, _0x4cacdd);
}
}
_0x487db1++;
let _0x1f5fee = null;
try {
let _0x26051d = _0x1bcf2b[_0xec2715(299)](
Number,
_0x54fbe8?.[_0xec2715(154) + "ut"]?.[_0xec2715(618) + "st"] ||
_0x54fbe8?.[_0xec2715(154) + "ut"] ||
_0x5a1d0b
),
_0x4b6e22 = false,
_0x2ba956 = Date[_0xec2715(412)](),
_0x438927 = _0x1bcf2b[_0xec2715(415)](_0x1acf6b, _0x54fbe8),
_0x329f0b = setTimeout(() => {
const _0x37d0f8 = _0xec2715;
_0x4b6e22 = true;
_0x438927[_0x37d0f8(535) + "l"]();
}, _0x26051d);
await _0x438927[_0xec2715(292)](
(_0x32218e) => {
_0x41dc1e = _0x32218e;
},
(_0xb670ca) => {
const _0x372c60 = _0xec2715;
_0x1f5fee = _0xb670ca;
_0x41dc1e = _0xb670ca["respo" + _0x372c60(613)];
}
)[_0xec2715(289) + "ly"](() => clearTimeout(_0x329f0b));
let _0x2e4856 = Date.now(),
_0x151e7e = _0x1bcf2b[_0xec2715(224)](_0x2e4856, _0x2ba956),
_0x2c8400 = _0x41dc1e?.[_0xec2715(166) + _0xec2715(441)] || null;
if (_0x4b6e22 || _0x576188[_0xec2715(334) + _0xec2715(576)](_0x1f5fee?.[_0xec2715(283)])) {
let _0x10f960 = "";
_0x1f5fee?.[_0xec2715(386)] &&
((_0x10f960 += "(" + _0x1f5fee.code),
_0x1f5fee?.[_0xec2715(198)] && (_0x10f960 += ":" + _0x1f5fee.event),
(_0x10f960 += ")"));
this[_0xec2715(318)](
"[" +
_0x5ae7cb +
_0xec2715(487) +
_0x10f960 +
"(" +
_0x151e7e +
(_0xec2715(477) + "试第") +
_0x487db1 +
"次"
);
} else {
if (_0x847a9a["inclu" + _0xec2715(576)](_0x1f5fee?.[_0xec2715(283)])) {
this[_0xec2715(318)](
"[" +
_0x5ae7cb +
(_0xec2715(256) + "(") +
_0x1f5fee[_0xec2715(386)] +
")(" +
_0x151e7e +
(_0xec2715(477) + "试第") +
_0x487db1 +
"次"
);
} else {
if (_0x2c8400) {
_0x1f5fee &&
!_0x5c1049[_0xec2715(334) + _0xec2715(576)](_0x2c8400) &&
this[_0xec2715(318)](_0xec2715(465) + _0x5ae7cb + _0xec2715(494) + _0x2c8400 + "]");
} else {
let { code = "unknown", name = "unknown" } = _0x1bcf2b[_0xec2715(553)](_0x1f5fee, {});
this[_0xec2715(318)](_0xec2715(465) + _0x5ae7cb + "]错误[" + code + "][" + name + "]");
}
break;
}
}
} catch (_0x25b471) {
this.log("[" + _0x5ae7cb + (_0xec2715(256) + "(") + _0x25b471.message + _0xec2715(344) + _0x487db1 + "次");
}
}
if (_0x1bcf2b.wktOa(_0x41dc1e, null) || _0x41dc1e === undefined) {
const _0x5602c3 = {};
_0x5602c3[_0xec2715(166) + _0xec2715(441)] = -1;
_0x5602c3.headers = null;
_0x5602c3[_0xec2715(518) + "t"] = null;
return _0x5602c3;
}
let { statusCode: _0x73cc5d, headers: _0x15aff2, body: _0x58c221 } = _0x41dc1e,
_0x39b9b1 = _0x454ec0[_0xec2715(369)](_0x54fbe8, _0x1bcf2b.Yluuf, true);
if (_0x58c221 && _0x39b9b1) {
try {
_0x58c221 = JSON[_0xec2715(317)](_0x58c221);
} catch {}
}
const _0x47806c = {
statusCode: _0x73cc5d,
headers: _0x15aff2,
result: _0x58c221,
};
_0x5892e3 = _0x47806c;
_0x54fbe8.debug_out && console[_0xec2715(318)](_0x5892e3);
} catch (_0x16826f) {
console[_0xec2715(318)](_0x16826f);
} finally {
return _0x5892e3;
}
}
}
let _0x43afe8 = new _0x55ea0b();
class _0x35e111 extends _0x55ea0b {
constructor(_0x3abc2a) {
const _0xbaf87b = _0x5827a5;
super();
let _0x652d60 = _0x3abc2a[_0xbaf87b(226)]("#");
this[_0xbaf87b(364)] = _0x652d60[0];
this[_0xbaf87b(521) + _0xbaf87b(212) + _0xbaf87b(214)] = _0x652d60[1];
this[_0xbaf87b(283)] = _0x652d60?.[2] || "";
this[_0xbaf87b(442) + _0xbaf87b(570) + "en"] = "";
this[_0xbaf87b(403) + "e"] = "";
this[_0xbaf87b(391) + _0xbaf87b(158)] = "";
this[_0xbaf87b(516) + "help_" + _0xbaf87b(585) + _0xbaf87b(251)] = 0;
this[_0xbaf87b(326) + _0xbaf87b(244) + _0xbaf87b(202) + "nt"] = 0;
this[_0xbaf87b(516) + "help_" + _0xbaf87b(574)] = true;
this[_0xbaf87b(216) + _0xbaf87b(594) + _0xbaf87b(196)] = true;
this[_0xbaf87b(548) + _0xbaf87b(534)] = new _0x3e25a4();
const _0x5d2a9d = {};
_0x5d2a9d[_0xbaf87b(215) + _0xbaf87b(358)] = _0x22a328;
this[_0xbaf87b(297)] = this[_0xbaf87b(297)][_0xbaf87b(601) + "d"]({
cookieJar: this[_0xbaf87b(548) + "eJar"],
headers: _0x5d2a9d,
});
}
["get_s" + _0x5827a5(432)]() {
const _0x3d4451 = _0x5827a5;
return _0x454ec0[_0x3d4451(440) + _0x3d4451(456) + "ng"]();
}
[_0x5827a5(605) + _0x5827a5(313) + _0x5827a5(296) + "m"]() {
const _0x55f848 = _0x5827a5,
_0x1e3327 = {};
_0x1e3327[_0x55f848(350)] = "ios";
_0x1e3327.CNPZl = "iPhone";
_0x1e3327[_0x55f848(295)] = _0x55f848(510) + "0";
_0x1e3327[_0x55f848(385)] = _0x55f848(170) + "10";
const _0x2a9dc8 = _0x1e3327;
let _0x450629 = {
timestamp: Date.now(),
channel: _0x2a9dc8.lQwUb,
platform: _0x2a9dc8[_0x55f848(350)],
v: _0x3814f0,
app_version: _0x3814f0,
sellerid: "",
channelSub: "",
jysessionid: "",
brand: _0x2a9dc8[_0x55f848(609)],
model: "iPhon" + _0x55f848(347),
os: _0x55f848(156),
osVersion: _0x2a9dc8[_0x55f848(295)],
networkType: _0x55f848(581),
screen: _0x2a9dc8.ndgQS,
productLine: _0x55f848(338) + "re",
appType: "h5",
cityid: "",
deviceid: "",
shopid: _0x297eb2,
memberid: this[_0x55f848(364)],
access_token: this.access_token,
sign: "",
};
return _0x450629;
}
async [_0x5827a5(253) + _0x5827a5(470) + _0x5827a5(381)](_0x44f116 = {}) {
const _0x51f7cd = _0x5827a5,
_0xbea44a = {
eywGA: _0x51f7cd(253) + _0x51f7cd(470) + _0x51f7cd(381),
cSHOr: _0x51f7cd(331),
slukq: _0x51f7cd(386),
KyZsW: function (_0x2103e6, _0x6df1e2) {
return _0x2103e6 == _0x6df1e2;
},
wORnU: function (_0x51d32e, _0x344ff6) {
return _0x51d32e != _0x344ff6;
},
grZaj: function (_0x17b1c1) {
return _0x17b1c1();
},
kBDGu: _0x51f7cd(150) + "ge",
};
let _0xce5fc5 = false;
try {
let _0x1dc8a1 = {
fn: _0xbea44a[_0x51f7cd(266)],
method: _0xbea44a[_0x51f7cd(245)],
url:
_0x51f7cd(368) +
_0x51f7cd(603) +
_0x51f7cd(394) +
_0x51f7cd(395) +
_0x51f7cd(624) +
"m/web" +
_0x51f7cd(281) +
"port/" +
"membe" +
_0x51f7cd(288) +
"essTo" +
"ken/7" +
"75",
searchParams: this[_0x51f7cd(605) + _0x51f7cd(313) + "_para" + "m"](),
json: {
uid: this[_0x51f7cd(364)],
refresh_token: this[_0x51f7cd(521) + _0x51f7cd(212) + _0x51f7cd(214)],
},
},
{ result: _0x44fe16, statusCode: _0x4dccc0 } = await this[_0x51f7cd(618) + "st"](_0x1dc8a1),
_0x4afae9 = _0x454ec0[_0x51f7cd(369)](_0x44fe16, _0xbea44a[_0x51f7cd(388)], _0x4dccc0);
if (_0xbea44a[_0x51f7cd(238)](_0x4afae9, 0)) {
let { refresh_token: _0x1c286b, access_token: _0x2aecb6 } = _0x44fe16?.[_0x51f7cd(404)];
this[_0x51f7cd(442) + "s_tok" + "en"] = _0x2aecb6;
_0xbea44a[_0x51f7cd(242)](_0x1c286b, this[_0x51f7cd(521) + "sh_to" + _0x51f7cd(214)]) &&
((this[_0x51f7cd(521) + _0x51f7cd(212) + "ken"] = _0x1c286b), _0xbea44a[_0x51f7cd(625)](_0x462bc1));
_0xce5fc5 = true;
this.valid = true;
} else {
let _0x4af38c = _0x454ec0[_0x51f7cd(369)](_0x44fe16, _0xbea44a[_0x51f7cd(233)], "");
const _0x2beb2d = {};
_0x2beb2d[_0x51f7cd(149) + "y"] = true;
this.log(_0x51f7cd(616) + _0x4afae9 + "]: " + _0x4af38c, _0x2beb2d);
}
} catch (_0x3b7716) {
console.log(_0x3b7716);
} finally {
return _0xce5fc5;
}
}
async [_0x5827a5(275) + "fo"](_0x3c37e6 = {}) {
const _0x3e4d01 = _0x5827a5,
_0x297a13 = {};
_0x297a13[_0x3e4d01(240)] = _0x3e4d01(275) + "fo";
_0x297a13.kKifI = function (_0x27d905, _0x2a3f64) {
return _0x27d905 == _0x2a3f64;
};
_0x297a13[_0x3e4d01(376)] = "message";
const _0x16bd3c = _0x297a13;
try {
let _0x27a276 = {
fn: _0x16bd3c[_0x3e4d01(240)],
method: _0x3e4d01(369),
url:
_0x3e4d01(368) +
_0x3e4d01(603) +
_0x3e4d01(394) +
"ghuiv" +
_0x3e4d01(624) +
_0x3e4d01(450) +
_0x3e4d01(610) +
"user/" +
_0x3e4d01(461) +
_0x3e4d01(190) +
"info/" +
"760",
searchParams: this[_0x3e4d01(605) + "ommon" + "_para" + "m"](),
},
{ result: _0x2f37d0, statusCode: _0x489688 } = await this[_0x3e4d01(618) + "st"](_0x27a276),
_0x3d6a0c = _0x454ec0[_0x3e4d01(369)](_0x2f37d0, "code", _0x489688);
if (_0x16bd3c[_0x3e4d01(293)](_0x3d6a0c, 0)) {
let { mobile: _0x32f9c8, memberid: _0x4338c0, nickname: _0x4eedef } = _0x2f37d0?.[_0x3e4d01(404)];
this.name = this[_0x3e4d01(283)] || _0x32f9c8;
this[_0x3e4d01(461) + _0x3e4d01(615)] = _0x4338c0;
this["nickn" + _0x3e4d01(158)] = _0x4eedef;