forked from Toulu-debug/enen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd_dreamFactory_help.js
2340 lines (2253 loc) · 96.4 KB
/
jd_dreamFactory_help.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
/*
京东京喜工厂助力
先了解自己环境怎么添加内部助力码
助力顺序:内部 -> HW.ts -> 助力池
更新时间:2021-09-14
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
============Quantumultx===============
[task_local]
#京喜工厂助力
50 * * * * https://raw.githubusercontent.com/JDHelloWorld/jd_scripts/main/jd_dreamFactory_help.js, tag=京喜工厂助力, img-url=https://github.com/58xinian/icon/raw/master/jdgc.png, enabled=true
================Loon==============
[Script]
cron "50 * * * *" script-path=https://raw.githubusercontent.com/JDHelloWorld/jd_scripts/main/jd_dreamFactory_help.js,tag=京喜工厂助力
===============Surge=================
京喜工厂助力 = type=cron,cronexp="50 * * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/JDHelloWorld/jd_scripts/main/jd_dreamFactory_help.js
============小火箭=========
京喜工厂助力 = type=cron,script-path=https://raw.githubusercontent.com/JDHelloWorld/jd_scripts/main/jd_dreamFactory_help.js, cronexpr="50 * * * *", timeout=3600, enable=true
*/
;!function (a, b) {
"object" == typeof exports ? module.exports = exports = b() : "function" == typeof define && define.amd ? define([], b) : a.CryptoJS = b()
}(this, function () {
var B = B || function (p, r) {
var u = Object.create || function () {
function c() {
}
return function (a) {
var b;
return c.prototype = a, b = new c, c.prototype = null, b
}
}(), v = {}, w = v.lib = {}, z = w.Base = function () {
return {
extend: function (a) {
var b = u(this);
return a && b.mixIn(a), b.hasOwnProperty("init") && this.init !== b.init || (b.init = function () {
b.$super.init.apply(this, arguments)
}), b.init.prototype = b, b.$super = this, b
}, create: function () {
var a = this.extend();
return a.init.apply(a, arguments), a
}, init: function () {
}, mixIn: function (a) {
for (var b in a) a.hasOwnProperty(b) && (this[b] = a[b]);
a.hasOwnProperty("toString") && (this.toString = a.toString)
}, clone: function () {
return this.init.prototype.extend(this)
}
}
}(), x = w.WordArray = z.extend({
init: function (a, b) {
a = this.words = a || [], b != r ? this.sigBytes = b : this.sigBytes = 4 * a.length
}, toString: function (a) {
return (a || n).stringify(this)
}, concat: function (a) {
var b = this.words, c = a.words, d = this.sigBytes, e = a.sigBytes;
if (this.clamp(), d % 4) for (var f = 0; f < e; f++) {
var h = c[f >>> 2] >>> 24 - f % 4 * 8 & 255;
b[d + f >>> 2] |= h << 24 - (d + f) % 4 * 8
} else for (var f = 0; f < e; f += 4) b[d + f >>> 2] = c[f >>> 2];
return this.sigBytes += e, this
}, clamp: function () {
var a = this.words, b = this.sigBytes;
a[b >>> 2] &= 4294967295 << 32 - b % 4 * 8, a.length = p.ceil(b / 4)
}, clone: function () {
var a = z.clone.call(this);
return a.words = this.words.slice(0), a
}, random: function (e) {
for (var f, h = [], g = function (b) {
var b = b, c = 987654321, d = 4294967295;
return function () {
c = 36969 * (65535 & c) + (c >> 16) & d, b = 18e3 * (65535 & b) + (b >> 16) & d;
var a = (c << 16) + b & d;
return a /= 4294967296, a += .5, a * (p.random() > .5 ? 1 : -1)
}
}, i = 0; i < e; i += 4) {
var k = g(4294967296 * (f || p.random()));
f = 987654071 * k(), h.push(4294967296 * k() | 0)
}
return new x.init(h, e)
}
}), y = v.enc = {}, n = y.Hex = {
stringify: function (a) {
for (var b = a.words, c = a.sigBytes, d = [], e = 0; e < c; e++) {
var f = b[e >>> 2] >>> 24 - e % 4 * 8 & 255;
d.push((f >>> 4).toString(16)), d.push((15 & f).toString(16))
}
return d.join("")
}, parse: function (a) {
for (var b = a.length, c = [], d = 0; d < b; d += 2) c[d >>> 3] |= parseInt(a.substr(d, 2), 16) << 24 - d % 8 * 4;
return new x.init(c, b / 2)
}
}, F = y.Latin1 = {
stringify: function (a) {
for (var b = a.words, c = a.sigBytes, d = [], e = 0; e < c; e++) {
var f = b[e >>> 2] >>> 24 - e % 4 * 8 & 255;
d.push(String.fromCharCode(f))
}
return d.join("")
}, parse: function (a) {
for (var b = a.length, c = [], d = 0; d < b; d++) c[d >>> 2] |= (255 & a.charCodeAt(d)) << 24 - d % 4 * 8;
return new x.init(c, b)
}
}, G = y.Utf8 = {
stringify: function (a) {
try {
return decodeURIComponent(escape(F.stringify(a)))
} catch (a) {
throw new Error("Malformed UTF-8 data")
}
}, parse: function (a) {
return F.parse(unescape(encodeURIComponent(a)))
}
}, j = w.BufferedBlockAlgorithm = z.extend({
reset: function () {
this._data = new x.init, this._nDataBytes = 0
}, _append: function (a) {
"string" == typeof a && (a = G.parse(a)), this._data.concat(a), this._nDataBytes += a.sigBytes
}, _process: function (a) {
var b = this._data, c = b.words, d = b.sigBytes, e = this.blockSize, f = 4 * e, h = d / f;
h = a ? p.ceil(h) : p.max((0 | h) - this._minBufferSize, 0);
var g = h * e, i = p.min(4 * g, d);
if (g) {
for (var k = 0; k < g; k += e) this._doProcessBlock(c, k);
var m = c.splice(0, g);
b.sigBytes -= i
}
return new x.init(m, i)
}, clone: function () {
var a = z.clone.call(this);
return a._data = this._data.clone(), a
}, _minBufferSize: 0
}), l = (w.Hasher = j.extend({
cfg: z.extend(), init: function (a) {
this.cfg = this.cfg.extend(a), this.reset()
}, reset: function () {
j.reset.call(this), this._doReset()
}, update: function (a) {
return this._append(a), this._process(), this
}, finalize: function (a) {
a && this._append(a);
var b = this._doFinalize();
return b
}, blockSize: 16, _createHelper: function (c) {
return function (a, b) {
return new c.init(b).finalize(a)
}
}, _createHmacHelper: function (c) {
return function (a, b) {
return new l.HMAC.init(c, b).finalize(a)
}
}
}), v.algo = {});
return v
}(Math);
return function () {
function r(a, b, c) {
for (var d = [], e = 0, f = 0; f < b; f++) if (f % 4) {
var h = c[a.charCodeAt(f - 1)] << f % 4 * 2, g = c[a.charCodeAt(f)] >>> 6 - f % 4 * 2;
d[e >>> 2] |= (h | g) << 24 - e % 4 * 8, e++
}
return w.create(d, e)
}
var u = B, v = u.lib, w = v.WordArray, z = u.enc;
z.Base64 = {
stringify: function (a) {
var b = a.words, c = a.sigBytes, d = this._map;
a.clamp();
for (var e = [], f = 0; f < c; f += 3) for (var h = b[f >>> 2] >>> 24 - f % 4 * 8 & 255, g = b[f + 1 >>> 2] >>> 24 - (f + 1) % 4 * 8 & 255, i = b[f + 2 >>> 2] >>> 24 - (f + 2) % 4 * 8 & 255, k = h << 16 | g << 8 | i, m = 0; m < 4 && f + .75 * m < c; m++) e.push(d.charAt(k >>> 6 * (3 - m) & 63));
var p = d.charAt(64);
if (p) for (; e.length % 4;) e.push(p);
return e.join("")
}, parse: function (a) {
var b = a.length, c = this._map, d = this._reverseMap;
if (!d) {
d = this._reverseMap = [];
for (var e = 0; e < c.length; e++) d[c.charCodeAt(e)] = e
}
var f = c.charAt(64);
if (f) {
var h = a.indexOf(f);
h !== -1 && (b = h)
}
return r(a, b, d)
}, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
}
}(), function (H) {
function C(a, b, c, d, e, f, h) {
var g = a + (b & c | ~b & d) + e + h;
return (g << f | g >>> 32 - f) + b
}
function D(a, b, c, d, e, f, h) {
var g = a + (b & d | c & ~d) + e + h;
return (g << f | g >>> 32 - f) + b
}
function E(a, b, c, d, e, f, h) {
var g = a + (b ^ c ^ d) + e + h;
return (g << f | g >>> 32 - f) + b
}
function A(a, b, c, d, e, f, h) {
var g = a + (c ^ (b | ~d)) + e + h;
return (g << f | g >>> 32 - f) + b
}
var I = B, J = I.lib, L = J.WordArray, N = J.Hasher, K = I.algo, s = [];
!function () {
for (var a = 0; a < 64; a++) s[a] = 4294967296 * H.abs(H.sin(a + 1)) | 0
}();
var P = K.MD5 = N.extend({
_doReset: function () {
this._hash = new L.init([1732584193, 4023233417, 2562383102, 271733878])
}, _doProcessBlock: function (a, b) {
for (var c = 0; c < 16; c++) {
var d = b + c, e = a[d];
a[d] = 16711935 & (e << 8 | e >>> 24) | 4278255360 & (e << 24 | e >>> 8)
}
var f = this._hash.words, h = a[b + 0], g = a[b + 1], i = a[b + 2], k = a[b + 3], m = a[b + 4], p = a[b + 5], r = a[b + 6], u = a[b + 7], v = a[b + 8], w = a[b + 9], z = a[b + 10], x = a[b + 11], y = a[b + 12], n = a[b + 13], F = a[b + 14], G = a[b + 15], j = f[0], l = f[1], o = f[2], q = f[3];
j = C(j, l, o, q, h, 7, s[0]), q = C(q, j, l, o, g, 12, s[1]), o = C(o, q, j, l, i, 17, s[2]), l = C(l, o, q, j, k, 22, s[3]), j = C(j, l, o, q, m, 7, s[4]), q = C(q, j, l, o, p, 12, s[5]), o = C(o, q, j, l, r, 17, s[6]), l = C(l, o, q, j, u, 22, s[7]), j = C(j, l, o, q, v, 7, s[8]), q = C(q, j, l, o, w, 12, s[9]), o = C(o, q, j, l, z, 17, s[10]), l = C(l, o, q, j, x, 22, s[11]), j = C(j, l, o, q, y, 7, s[12]), q = C(q, j, l, o, n, 12, s[13]), o = C(o, q, j, l, F, 17, s[14]), l = C(l, o, q, j, G, 22, s[15]), j = D(j, l, o, q, g, 5, s[16]), q = D(q, j, l, o, r, 9, s[17]), o = D(o, q, j, l, x, 14, s[18]), l = D(l, o, q, j, h, 20, s[19]), j = D(j, l, o, q, p, 5, s[20]), q = D(q, j, l, o, z, 9, s[21]), o = D(o, q, j, l, G, 14, s[22]), l = D(l, o, q, j, m, 20, s[23]), j = D(j, l, o, q, w, 5, s[24]), q = D(q, j, l, o, F, 9, s[25]), o = D(o, q, j, l, k, 14, s[26]), l = D(l, o, q, j, v, 20, s[27]), j = D(j, l, o, q, n, 5, s[28]), q = D(q, j, l, o, i, 9, s[29]), o = D(o, q, j, l, u, 14, s[30]), l = D(l, o, q, j, y, 20, s[31]), j = E(j, l, o, q, p, 4, s[32]), q = E(q, j, l, o, v, 11, s[33]), o = E(o, q, j, l, x, 16, s[34]), l = E(l, o, q, j, F, 23, s[35]), j = E(j, l, o, q, g, 4, s[36]), q = E(q, j, l, o, m, 11, s[37]), o = E(o, q, j, l, u, 16, s[38]), l = E(l, o, q, j, z, 23, s[39]), j = E(j, l, o, q, n, 4, s[40]), q = E(q, j, l, o, h, 11, s[41]), o = E(o, q, j, l, k, 16, s[42]), l = E(l, o, q, j, r, 23, s[43]), j = E(j, l, o, q, w, 4, s[44]), q = E(q, j, l, o, y, 11, s[45]), o = E(o, q, j, l, G, 16, s[46]), l = E(l, o, q, j, i, 23, s[47]), j = A(j, l, o, q, h, 6, s[48]), q = A(q, j, l, o, u, 10, s[49]), o = A(o, q, j, l, F, 15, s[50]), l = A(l, o, q, j, p, 21, s[51]), j = A(j, l, o, q, y, 6, s[52]), q = A(q, j, l, o, k, 10, s[53]), o = A(o, q, j, l, z, 15, s[54]), l = A(l, o, q, j, g, 21, s[55]), j = A(j, l, o, q, v, 6, s[56]), q = A(q, j, l, o, G, 10, s[57]), o = A(o, q, j, l, r, 15, s[58]), l = A(l, o, q, j, n, 21, s[59]), j = A(j, l, o, q, m, 6, s[60]), q = A(q, j, l, o, x, 10, s[61]), o = A(o, q, j, l, i, 15, s[62]), l = A(l, o, q, j, w, 21, s[63]), f[0] = f[0] + j | 0, f[1] = f[1] + l | 0, f[2] = f[2] + o | 0, f[3] = f[3] + q | 0
}, _doFinalize: function () {
var a = this._data, b = a.words, c = 8 * this._nDataBytes, d = 8 * a.sigBytes;
b[d >>> 5] |= 128 << 24 - d % 32;
var e = H.floor(c / 4294967296), f = c;
b[(d + 64 >>> 9 << 4) + 15] = 16711935 & (e << 8 | e >>> 24) | 4278255360 & (e << 24 | e >>> 8), b[(d + 64 >>> 9 << 4) + 14] = 16711935 & (f << 8 | f >>> 24) | 4278255360 & (f << 24 | f >>> 8), a.sigBytes = 4 * (b.length + 1), this._process();
for (var h = this._hash, g = h.words, i = 0; i < 4; i++) {
var k = g[i];
g[i] = 16711935 & (k << 8 | k >>> 24) | 4278255360 & (k << 24 | k >>> 8)
}
return h
}, clone: function () {
var a = N.clone.call(this);
return a._hash = this._hash.clone(), a
}
});
I.MD5 = N._createHelper(P), I.HmacMD5 = N._createHmacHelper(P)
}(Math), function () {
var p = B, r = p.lib, u = r.WordArray, v = r.Hasher, w = p.algo, z = [], x = w.SHA1 = v.extend({
_doReset: function () {
this._hash = new u.init([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
}, _doProcessBlock: function (a, b) {
for (var c = this._hash.words, d = c[0], e = c[1], f = c[2], h = c[3], g = c[4], i = 0; i < 80; i++) {
if (i < 16) z[i] = 0 | a[b + i]; else {
var k = z[i - 3] ^ z[i - 8] ^ z[i - 14] ^ z[i - 16];
z[i] = k << 1 | k >>> 31
}
var m = (d << 5 | d >>> 27) + g + z[i];
m += i < 20 ? (e & f | ~e & h) + 1518500249 : i < 40 ? (e ^ f ^ h) + 1859775393 : i < 60 ? (e & f | e & h | f & h) - 1894007588 : (e ^ f ^ h) - 899497514, g = h, h = f, f = e << 30 | e >>> 2, e = d, d = m
}
c[0] = c[0] + d | 0, c[1] = c[1] + e | 0, c[2] = c[2] + f | 0, c[3] = c[3] + h | 0, c[4] = c[4] + g | 0
}, _doFinalize: function () {
var a = this._data, b = a.words, c = 8 * this._nDataBytes, d = 8 * a.sigBytes;
return b[d >>> 5] |= 128 << 24 - d % 32, b[(d + 64 >>> 9 << 4) + 14] = Math.floor(c / 4294967296), b[(d + 64 >>> 9 << 4) + 15] = c, a.sigBytes = 4 * b.length, this._process(), this._hash
}, clone: function () {
var a = v.clone.call(this);
return a._hash = this._hash.clone(), a
}
});
p.SHA1 = v._createHelper(x), p.HmacSHA1 = v._createHmacHelper(x)
}(), function (j) {
var l = B, o = l.lib, q = o.WordArray, H = o.Hasher, C = l.algo, D = [], E = [];
!function () {
function d(a) {
for (var b = j.sqrt(a), c = 2; c <= b; c++) if (!(a % c)) return !1;
return !0
}
function e(a) {
return 4294967296 * (a - (0 | a)) | 0
}
for (var f = 2, h = 0; h < 64;) d(f) && (h < 8 && (D[h] = e(j.pow(f, .5))), E[h] = e(j.pow(f, 1 / 3)), h++), f++
}();
var A = [], I = C.SHA256 = H.extend({
_doReset: function () {
this._hash = new q.init(D.slice(0))
}, _doProcessBlock: function (a, b) {
for (var c = this._hash.words, d = c[0], e = c[1], f = c[2], h = c[3], g = c[4], i = c[5], k = c[6], m = c[7], p = 0; p < 64; p++) {
if (p < 16) A[p] = 0 | a[b + p]; else {
var r = A[p - 15], u = (r << 25 | r >>> 7) ^ (r << 14 | r >>> 18) ^ r >>> 3, v = A[p - 2], w = (v << 15 | v >>> 17) ^ (v << 13 | v >>> 19) ^ v >>> 10;
A[p] = u + A[p - 7] + w + A[p - 16]
}
var z = g & i ^ ~g & k, x = d & e ^ d & f ^ e & f, y = (d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22), n = (g << 26 | g >>> 6) ^ (g << 21 | g >>> 11) ^ (g << 7 | g >>> 25), F = m + n + z + E[p] + A[p], G = y + x;
m = k, k = i, i = g, g = h + F | 0, h = f, f = e, e = d, d = F + G | 0
}
c[0] = c[0] + d | 0, c[1] = c[1] + e | 0, c[2] = c[2] + f | 0, c[3] = c[3] + h | 0, c[4] = c[4] + g | 0, c[5] = c[5] + i | 0, c[6] = c[6] + k | 0, c[7] = c[7] + m | 0
}, _doFinalize: function () {
var a = this._data, b = a.words, c = 8 * this._nDataBytes, d = 8 * a.sigBytes;
return b[d >>> 5] |= 128 << 24 - d % 32, b[(d + 64 >>> 9 << 4) + 14] = j.floor(c / 4294967296), b[(d + 64 >>> 9 << 4) + 15] = c, a.sigBytes = 4 * b.length, this._process(), this._hash
}, clone: function () {
var a = H.clone.call(this);
return a._hash = this._hash.clone(), a
}
});
l.SHA256 = H._createHelper(I), l.HmacSHA256 = H._createHmacHelper(I)
}(Math), function () {
function h(a) {
return a << 8 & 4278255360 | a >>> 8 & 16711935
}
var g = B, i = g.lib, k = i.WordArray, m = g.enc;
m.Utf16 = m.Utf16BE = {
stringify: function (a) {
for (var b = a.words, c = a.sigBytes, d = [], e = 0; e < c; e += 2) {
var f = b[e >>> 2] >>> 16 - e % 4 * 8 & 65535;
d.push(String.fromCharCode(f))
}
return d.join("")
}, parse: function (a) {
for (var b = a.length, c = [], d = 0; d < b; d++) c[d >>> 1] |= a.charCodeAt(d) << 16 - d % 2 * 16;
return k.create(c, 2 * b)
}
};
m.Utf16LE = {
stringify: function (a) {
for (var b = a.words, c = a.sigBytes, d = [], e = 0; e < c; e += 2) {
var f = h(b[e >>> 2] >>> 16 - e % 4 * 8 & 65535);
d.push(String.fromCharCode(f))
}
return d.join("")
}, parse: function (a) {
for (var b = a.length, c = [], d = 0; d < b; d++) c[d >>> 1] |= h(a.charCodeAt(d) << 16 - d % 2 * 16);
return k.create(c, 2 * b)
}
}
}(), function () {
if ("function" == typeof ArrayBuffer) {
var e = B, f = e.lib, h = f.WordArray, g = h.init, i = h.init = function (a) {
if (a instanceof ArrayBuffer && (a = new Uint8Array(a)), (a instanceof Int8Array || "undefined" != typeof Uint8ClampedArray && a instanceof Uint8ClampedArray || a instanceof Int16Array || a instanceof Uint16Array || a instanceof Int32Array || a instanceof Uint32Array || a instanceof Float32Array || a instanceof Float64Array) && (a = new Uint8Array(a.buffer, a.byteOffset, a.byteLength)), a instanceof Uint8Array) {
for (var b = a.byteLength, c = [], d = 0; d < b; d++) c[d >>> 2] |= a[d] << 24 - d % 4 * 8;
g.call(this, c, b)
} else g.apply(this, arguments)
};
i.prototype = h
}
}(), function (l) {
function o(a, b, c) {
return a ^ b ^ c
}
function q(a, b, c) {
return a & b | ~a & c
}
function H(a, b, c) {
return (a | ~b) ^ c
}
function C(a, b, c) {
return a & c | b & ~c
}
function D(a, b, c) {
return a ^ (b | ~c)
}
function E(a, b) {
return a << b | a >>> 32 - b
}
var A = B, I = A.lib, J = I.WordArray, L = I.Hasher, N = A.algo, K = J.create([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]),
s = J.create([5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]), P = J.create([11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]),
S = J.create([8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]), U = J.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), M = J.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), V = N.RIPEMD160 = L.extend({
_doReset: function () {
this._hash = J.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520])
}, _doProcessBlock: function (a, b) {
for (var c = 0; c < 16; c++) {
var d = b + c, e = a[d];
a[d] = 16711935 & (e << 8 | e >>> 24) | 4278255360 & (e << 24 | e >>> 8)
}
var f, h, g, i, k, m, p, r, u, v, w = this._hash.words, z = U.words, x = M.words, y = K.words, n = s.words, F = P.words, G = S.words;
m = f = w[0], p = h = w[1], r = g = w[2], u = i = w[3], v = k = w[4];
for (var j, c = 0; c < 80; c += 1) j = f + a[b + y[c]] | 0, j += c < 16 ? o(h, g, i) + z[0] : c < 32 ? q(h, g, i) + z[1] : c < 48 ? H(h, g, i) + z[2] : c < 64 ? C(h, g, i) + z[3] : D(h, g, i) + z[4], j |= 0, j = E(j, F[c]), j = j + k | 0, f = k, k = i, i = E(g, 10), g = h, h = j, j = m + a[b + n[c]] | 0, j += c < 16 ? D(p, r, u) + x[0] : c < 32 ? C(p, r, u) + x[1] : c < 48 ? H(p, r, u) + x[2] : c < 64 ? q(p, r, u) + x[3] : o(p, r, u) + x[4], j |= 0, j = E(j, G[c]), j = j + v | 0, m = v, v = u, u = E(r, 10), r = p, p = j;
j = w[1] + g + u | 0, w[1] = w[2] + i + v | 0, w[2] = w[3] + k + m | 0, w[3] = w[4] + f + p | 0, w[4] = w[0] + h + r | 0, w[0] = j
}, _doFinalize: function () {
var a = this._data, b = a.words, c = 8 * this._nDataBytes, d = 8 * a.sigBytes;
b[d >>> 5] |= 128 << 24 - d % 32, b[(d + 64 >>> 9 << 4) + 14] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8), a.sigBytes = 4 * (b.length + 1), this._process();
for (var e = this._hash, f = e.words, h = 0; h < 5; h++) {
var g = f[h];
f[h] = 16711935 & (g << 8 | g >>> 24) | 4278255360 & (g << 24 | g >>> 8)
}
return e
}, clone: function () {
var a = L.clone.call(this);
return a._hash = this._hash.clone(), a
}
});
A.RIPEMD160 = L._createHelper(V), A.HmacRIPEMD160 = L._createHmacHelper(V)
}(Math), function () {
var k = B, m = k.lib, p = m.Base, r = k.enc, u = r.Utf8, v = k.algo;
v.HMAC = p.extend({
init: function (a, b) {
a = this._hasher = new a.init, "string" == typeof b && (b = u.parse(b));
var c = a.blockSize, d = 4 * c;
b.sigBytes > d && (b = a.finalize(b)), b.clamp();
for (var e = this._oKey = b.clone(), f = this._iKey = b.clone(), h = e.words, g = f.words, i = 0; i < c; i++) h[i] ^= 1549556828, g[i] ^= 909522486;
e.sigBytes = f.sigBytes = d, this.reset()
}, reset: function () {
var a = this._hasher;
a.reset(), a.update(this._iKey)
}, update: function (a) {
return this._hasher.update(a), this
}, finalize: function (a) {
var b = this._hasher, c = b.finalize(a);
b.reset();
var d = b.finalize(this._oKey.clone().concat(c));
return d
}
})
}(), function () {
var x = B, y = x.lib, n = y.Base, F = y.WordArray, G = x.algo, j = G.SHA1, l = G.HMAC, o = G.PBKDF2 = n.extend({
cfg: n.extend({keySize: 4, hasher: j, iterations: 1}), init: function (a) {
this.cfg = this.cfg.extend(a)
}, compute: function (a, b) {
for (var c = this.cfg, d = l.create(c.hasher, a), e = F.create(), f = F.create([1]), h = e.words, g = f.words, i = c.keySize, k = c.iterations; h.length < i;) {
var m = d.update(b).finalize(f);
d.reset();
for (var p = m.words, r = p.length, u = m, v = 1; v < k; v++) {
u = d.finalize(u), d.reset();
for (var w = u.words, z = 0; z < r; z++) p[z] ^= w[z]
}
e.concat(m), g[0]++
}
return e.sigBytes = 4 * i, e
}
});
x.PBKDF2 = function (a, b, c) {
return o.create(c).compute(a, b)
}
}(), function () {
var m = B, p = m.lib, r = p.Base, u = p.WordArray, v = m.algo, w = v.MD5, z = v.EvpKDF = r.extend({
cfg: r.extend({keySize: 4, hasher: w, iterations: 1}), init: function (a) {
this.cfg = this.cfg.extend(a)
}, compute: function (a, b) {
for (var c = this.cfg, d = c.hasher.create(), e = u.create(), f = e.words, h = c.keySize, g = c.iterations; f.length < h;) {
i && d.update(i);
var i = d.update(a).finalize(b);
d.reset();
for (var k = 1; k < g; k++) i = d.finalize(i), d.reset();
e.concat(i)
}
return e.sigBytes = 4 * h, e
}
});
m.EvpKDF = function (a, b, c) {
return z.create(c).compute(a, b)
}
}(), function () {
var b = B, c = b.lib, d = c.WordArray, e = b.algo, f = e.SHA256, h = e.SHA224 = f.extend({
_doReset: function () {
this._hash = new d.init([3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428])
}, _doFinalize: function () {
var a = f._doFinalize.call(this);
return a.sigBytes -= 4, a
}
});
b.SHA224 = f._createHelper(h), b.HmacSHA224 = f._createHmacHelper(h)
}(), function (f) {
var h = B, g = h.lib, i = g.Base, k = g.WordArray, m = h.x64 = {};
m.Word = i.extend({
init: function (a, b) {
this.high = a, this.low = b
}
}), m.WordArray = i.extend({
init: function (a, b) {
a = this.words = a || [], b != f ? this.sigBytes = b : this.sigBytes = 8 * a.length
}, toX32: function () {
for (var a = this.words, b = a.length, c = [], d = 0; d < b; d++) {
var e = a[d];
c.push(e.high), c.push(e.low)
}
return k.create(c, this.sigBytes)
}, clone: function () {
for (var a = i.clone.call(this), b = a.words = this.words.slice(0), c = b.length, d = 0; d < c; d++) b[d] = b[d].clone();
return a
}
})
}(), function (E) {
var A = B, I = A.lib, J = I.WordArray, L = I.Hasher, N = A.x64, K = N.Word, s = A.algo, P = [], S = [], U = [];
!function () {
for (var a = 1, b = 0, c = 0; c < 24; c++) {
P[a + 5 * b] = (c + 1) * (c + 2) / 2 % 64;
var d = b % 5, e = (2 * a + 3 * b) % 5;
a = d, b = e
}
for (var a = 0; a < 5; a++) for (var b = 0; b < 5; b++) S[a + 5 * b] = b + (2 * a + 3 * b) % 5 * 5;
for (var f = 1, h = 0; h < 24; h++) {
for (var g = 0, i = 0, k = 0; k < 7; k++) {
if (1 & f) {
var m = (1 << k) - 1;
m < 32 ? i ^= 1 << m : g ^= 1 << m - 32
}
128 & f ? f = f << 1 ^ 113 : f <<= 1
}
U[h] = K.create(g, i)
}
}();
var M = [];
!function () {
for (var a = 0; a < 25; a++) M[a] = K.create()
}();
var V = s.SHA3 = L.extend({
cfg: L.cfg.extend({outputLength: 512}), _doReset: function () {
for (var a = this._state = [], b = 0; b < 25; b++) a[b] = new K.init;
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32
}, _doProcessBlock: function (a, b) {
for (var c = this._state, d = this.blockSize / 2, e = 0; e < d; e++) {
var f = a[b + 2 * e], h = a[b + 2 * e + 1];
f = 16711935 & (f << 8 | f >>> 24) | 4278255360 & (f << 24 | f >>> 8), h = 16711935 & (h << 8 | h >>> 24) | 4278255360 & (h << 24 | h >>> 8);
var g = c[e];
g.high ^= h, g.low ^= f
}
for (var i = 0; i < 24; i++) {
for (var k = 0; k < 5; k++) {
for (var m = 0, p = 0, r = 0; r < 5; r++) {
var g = c[k + 5 * r];
m ^= g.high, p ^= g.low
}
var u = M[k];
u.high = m, u.low = p
}
for (var k = 0; k < 5; k++) for (var v = M[(k + 4) % 5], w = M[(k + 1) % 5], z = w.high, x = w.low, m = v.high ^ (z << 1 | x >>> 31), p = v.low ^ (x << 1 | z >>> 31), r = 0; r < 5; r++) {
var g = c[k + 5 * r];
g.high ^= m, g.low ^= p
}
for (var y = 1; y < 25; y++) {
var g = c[y], n = g.high, F = g.low, G = P[y];
if (G < 32) var m = n << G | F >>> 32 - G, p = F << G | n >>> 32 - G; else var m = F << G - 32 | n >>> 64 - G, p = n << G - 32 | F >>> 64 - G;
var j = M[S[y]];
j.high = m, j.low = p
}
var l = M[0], o = c[0];
l.high = o.high, l.low = o.low;
for (var k = 0; k < 5; k++) for (var r = 0; r < 5; r++) {
var y = k + 5 * r, g = c[y], q = M[y], H = M[(k + 1) % 5 + 5 * r], C = M[(k + 2) % 5 + 5 * r];
g.high = q.high ^ ~H.high & C.high, g.low = q.low ^ ~H.low & C.low
}
var g = c[0], D = U[i];
g.high ^= D.high, g.low ^= D.low
}
}, _doFinalize: function () {
var a = this._data, b = a.words, c = (8 * this._nDataBytes, 8 * a.sigBytes), d = 32 * this.blockSize;
b[c >>> 5] |= 1 << 24 - c % 32, b[(E.ceil((c + 1) / d) * d >>> 5) - 1] |= 128, a.sigBytes = 4 * b.length, this._process();
for (var e = this._state, f = this.cfg.outputLength / 8, h = f / 8, g = [], i = 0; i < h; i++) {
var k = e[i], m = k.high, p = k.low;
m = 16711935 & (m << 8 | m >>> 24) | 4278255360 & (m << 24 | m >>> 8), p = 16711935 & (p << 8 | p >>> 24) | 4278255360 & (p << 24 | p >>> 8), g.push(p), g.push(m)
}
return new J.init(g, f)
}, clone: function () {
for (var a = L.clone.call(this), b = a._state = this._state.slice(0), c = 0; c < 25; c++) b[c] = b[c].clone();
return a
}
});
A.SHA3 = L._createHelper(V), A.HmacSHA3 = L._createHmacHelper(V)
}(Math), function () {
function t() {
return T.create.apply(T, arguments)
}
var bb = B, bu = bb.lib, bf = bu.Hasher, bh = bb.x64, T = bh.Word, bv = bh.WordArray, bw = bb.algo,
bx = [t(1116352408, 3609767458), t(1899447441, 602891725), t(3049323471, 3964484399), t(3921009573, 2173295548), t(961987163, 4081628472), t(1508970993, 3053834265), t(2453635748, 2937671579), t(2870763221, 3664609560), t(3624381080, 2734883394), t(310598401, 1164996542), t(607225278, 1323610764), t(1426881987, 3590304994), t(1925078388, 4068182383), t(2162078206, 991336113), t(2614888103, 633803317), t(3248222580, 3479774868), t(3835390401, 2666613458), t(4022224774, 944711139), t(264347078, 2341262773), t(604807628, 2007800933), t(770255983, 1495990901), t(1249150122, 1856431235), t(1555081692, 3175218132), t(1996064986, 2198950837), t(2554220882, 3999719339), t(2821834349, 766784016), t(2952996808, 2566594879), t(3210313671, 3203337956), t(3336571891, 1034457026), t(3584528711, 2466948901), t(113926993, 3758326383), t(338241895, 168717936), t(666307205, 1188179964), t(773529912, 1546045734), t(1294757372, 1522805485), t(1396182291, 2643833823), t(1695183700, 2343527390), t(1986661051, 1014477480), t(2177026350, 1206759142), t(2456956037, 344077627), t(2730485921, 1290863460), t(2820302411, 3158454273), t(3259730800, 3505952657), t(3345764771, 106217008), t(3516065817, 3606008344), t(3600352804, 1432725776), t(4094571909, 1467031594), t(275423344, 851169720), t(430227734, 3100823752), t(506948616, 1363258195), t(659060556, 3750685593), t(883997877, 3785050280), t(958139571, 3318307427), t(1322822218, 3812723403), t(1537002063, 2003034995), t(1747873779, 3602036899), t(1955562222, 1575990012), t(2024104815, 1125592928), t(2227730452, 2716904306), t(2361852424, 442776044), t(2428436474, 593698344), t(2756734187, 3733110249), t(3204031479, 2999351573), t(3329325298, 3815920427), t(3391569614, 3928383900), t(3515267271, 566280711), t(3940187606, 3454069534), t(4118630271, 4000239992), t(116418474, 1914138554), t(174292421, 2731055270), t(289380356, 3203993006), t(460393269, 320620315), t(685471733, 587496836), t(852142971, 1086792851), t(1017036298, 365543100), t(1126000580, 2618297676), t(1288033470, 3409855158), t(1501505948, 4234509866), t(1607167915, 987167468), t(1816402316, 1246189591)],
Y = [];
!function () {
for (var a = 0; a < 80; a++) Y[a] = t()
}();
var bi = bw.SHA512 = bf.extend({
_doReset: function () {
this._hash = new bv.init([new T.init(1779033703, 4089235720), new T.init(3144134277, 2227873595), new T.init(1013904242, 4271175723), new T.init(2773480762, 1595750129), new T.init(1359893119, 2917565137), new T.init(2600822924, 725511199), new T.init(528734635, 4215389547), new T.init(1541459225, 327033209)])
}, _doProcessBlock: function (a, b) {
for (var c = this._hash.words, d = c[0], e = c[1], f = c[2], h = c[3], g = c[4], i = c[5], k = c[6], m = c[7], p = d.high, r = d.low, u = e.high, v = e.low, w = f.high, z = f.low, x = h.high, y = h.low, n = g.high, F = g.low, G = i.high, j = i.low, l = k.high, o = k.low, q = m.high, H = m.low, C = p, D = r, E = u, A = v, I = w, J = z, L = x, N = y, K = n, s = F, P = G, S = j, U = l, M = o, V = q, bc = H, Q = 0; Q < 80; Q++) {
var bg = Y[Q];
if (Q < 16) var X = bg.high = 0 | a[b + 2 * Q], R = bg.low = 0 | a[b + 2 * Q + 1]; else {
var bj = Y[Q - 15], Z = bj.high, bd = bj.low, by = (Z >>> 1 | bd << 31) ^ (Z >>> 8 | bd << 24) ^ Z >>> 7, bk = (bd >>> 1 | Z << 31) ^ (bd >>> 8 | Z << 24) ^ (bd >>> 7 | Z << 25), bl = Y[Q - 2], ba = bl.high, be = bl.low, bz = (ba >>> 19 | be << 13) ^ (ba << 3 | be >>> 29) ^ ba >>> 6, bm = (be >>> 19 | ba << 13) ^ (be << 3 | ba >>> 29) ^ (be >>> 6 | ba << 26), bn = Y[Q - 7], bA = bn.high, bB = bn.low, bo = Y[Q - 16], bC = bo.high, bp = bo.low, R = bk + bB, X = by + bA + (R >>> 0 < bk >>> 0 ? 1 : 0), R = R + bm, X = X + bz + (R >>> 0 < bm >>> 0 ? 1 : 0), R = R + bp,
X = X + bC + (R >>> 0 < bp >>> 0 ? 1 : 0);
bg.high = X, bg.low = R
}
var bD = K & P ^ ~K & U, ut = s & S ^ ~s & M, bE = C & E ^ C & I ^ E & I, bF = D & A ^ D & J ^ A & J, bG = (C >>> 28 | D << 4) ^ (C << 30 | D >>> 2) ^ (C << 25 | D >>> 7), bq = (D >>> 28 | C << 4) ^ (D << 30 | C >>> 2) ^ (D << 25 | C >>> 7), bH = (K >>> 14 | s << 18) ^ (K >>> 18 | s << 14) ^ (K << 23 | s >>> 9), bI = (s >>> 14 | K << 18) ^ (s >>> 18 | K << 14) ^ (s << 23 | K >>> 9), br = bx[Q], bJ = br.high, bs = br.low, O = bc + bI, W = V + bH + (O >>> 0 < bc >>> 0 ? 1 : 0), O = O + ut, W = W + bD + (O >>> 0 < ut >>> 0 ? 1 : 0), O = O + bs, W = W + bJ + (O >>> 0 < bs >>> 0 ? 1 : 0),
O = O + R, W = W + X + (O >>> 0 < R >>> 0 ? 1 : 0), bt = bq + bF, bK = bG + bE + (bt >>> 0 < bq >>> 0 ? 1 : 0);
V = U, bc = M, U = P, M = S, P = K, S = s, s = N + O | 0, K = L + W + (s >>> 0 < N >>> 0 ? 1 : 0) | 0, L = I, N = J, I = E, J = A, E = C, A = D, D = O + bt | 0, C = W + bK + (D >>> 0 < O >>> 0 ? 1 : 0) | 0
}
r = d.low = r + D, d.high = p + C + (r >>> 0 < D >>> 0 ? 1 : 0), v = e.low = v + A, e.high = u + E + (v >>> 0 < A >>> 0 ? 1 : 0), z = f.low = z + J, f.high = w + I + (z >>> 0 < J >>> 0 ? 1 : 0), y = h.low = y + N, h.high = x + L + (y >>> 0 < N >>> 0 ? 1 : 0), F = g.low = F + s, g.high = n + K + (F >>> 0 < s >>> 0 ? 1 : 0), j = i.low = j + S, i.high = G + P + (j >>> 0 < S >>> 0 ? 1 : 0), o = k.low = o + M, k.high = l + U + (o >>> 0 < M >>> 0 ? 1 : 0), H = m.low = H + bc, m.high = q + V + (H >>> 0 < bc >>> 0 ? 1 : 0)
}, _doFinalize: function () {
var a = this._data, b = a.words, c = 8 * this._nDataBytes, d = 8 * a.sigBytes;
b[d >>> 5] |= 128 << 24 - d % 32, b[(d + 128 >>> 10 << 5) + 30] = Math.floor(c / 4294967296), b[(d + 128 >>> 10 << 5) + 31] = c, a.sigBytes = 4 * b.length, this._process();
var e = this._hash.toX32();
return e
}, clone: function () {
var a = bf.clone.call(this);
return a._hash = this._hash.clone(), a
}, blockSize: 32
});
bb.SHA512 = bf._createHelper(bi), bb.HmacSHA512 = bf._createHmacHelper(bi)
}(), function () {
var b = B, c = b.x64, d = c.Word, e = c.WordArray, f = b.algo, h = f.SHA512, g = f.SHA384 = h.extend({
_doReset: function () {
this._hash = new e.init([new d.init(3418070365, 3238371032), new d.init(1654270250, 914150663), new d.init(2438529370, 812702999), new d.init(355462360, 4144912697), new d.init(1731405415, 4290775857), new d.init(2394180231, 1750603025), new d.init(3675008525, 1694076839), new d.init(1203062813, 3204075428)])
}, _doFinalize: function () {
var a = h._doFinalize.call(this);
return a.sigBytes -= 16, a
}
});
b.SHA384 = h._createHelper(g), b.HmacSHA384 = h._createHmacHelper(g)
}(), B.lib.Cipher || function (i) {
var k = B, m = k.lib, p = m.Base, r = m.WordArray, u = m.BufferedBlockAlgorithm, v = k.enc, w = (v.Utf8, v.Base64), z = k.algo, x = z.EvpKDF, y = m.Cipher = u.extend({
cfg: p.extend(), createEncryptor: function (a, b) {
return this.create(this._ENC_XFORM_MODE, a, b)
}, createDecryptor: function (a, b) {
return this.create(this._DEC_XFORM_MODE, a, b)
}, init: function (a, b, c) {
this.cfg = this.cfg.extend(c), this._xformMode = a, this._key = b, this.reset()
}, reset: function () {
u.reset.call(this), this._doReset()
}, process: function (a) {
return this._append(a), this._process()
}, finalize: function (a) {
a && this._append(a);
var b = this._doFinalize();
return b
}, keySize: 4, ivSize: 4, _ENC_XFORM_MODE: 1, _DEC_XFORM_MODE: 2, _createHelper: function () {
function e(a) {
return "string" == typeof a ? A : C
}
return function (d) {
return {
encrypt: function (a, b, c) {
return e(b).encrypt(d, a, b, c)
}, decrypt: function (a, b, c) {
return e(b).decrypt(d, a, b, c)
}
}
}
}()
}), n = (m.StreamCipher = y.extend({
_doFinalize: function () {
var a = this._process(!0);
return a
}, blockSize: 1
}), k.mode = {}), F = m.BlockCipherMode = p.extend({
createEncryptor: function (a, b) {
return this.Encryptor.create(a, b)
}, createDecryptor: function (a, b) {
return this.Decryptor.create(a, b)
}, init: function (a, b) {
this._cipher = a, this._iv = b
}
}), G = n.CBC = function () {
function h(a, b, c) {
var d = this._iv;
if (d) {
var e = d;
this._iv = i
} else var e = this._prevBlock;
for (var f = 0; f < c; f++) a[b + f] ^= e[f]
}
var g = F.extend();
return g.Encryptor = g.extend({
processBlock: function (a, b) {
var c = this._cipher, d = c.blockSize;
h.call(this, a, b, d), c.encryptBlock(a, b), this._prevBlock = a.slice(b, b + d)
}
}), g.Decryptor = g.extend({
processBlock: function (a, b) {
var c = this._cipher, d = c.blockSize, e = a.slice(b, b + d);
c.decryptBlock(a, b), h.call(this, a, b, d), this._prevBlock = e
}
}), g
}(), j = k.pad = {}, l = j.Pkcs7 = {
pad: function (a, b) {
for (var c = 4 * b, d = c - a.sigBytes % c, e = d << 24 | d << 16 | d << 8 | d, f = [], h = 0; h < d; h += 4) f.push(e);
var g = r.create(f, d);
a.concat(g)
}, unpad: function (a) {
var b = 255 & a.words[a.sigBytes - 1 >>> 2];
a.sigBytes -= b
}
}, o = (m.BlockCipher = y.extend({
cfg: y.cfg.extend({mode: G, padding: l}), reset: function () {
y.reset.call(this);
var a = this.cfg, b = a.iv, c = a.mode;
if (this._xformMode == this._ENC_XFORM_MODE) var d = c.createEncryptor; else {
var d = c.createDecryptor;
this._minBufferSize = 1
}
this._mode && this._mode.__creator == d ? this._mode.init(this, b && b.words) : (this._mode = d.call(c, this, b && b.words), this._mode.__creator = d)
}, _doProcessBlock: function (a, b) {
this._mode.processBlock(a, b)
}, _doFinalize: function () {
var a = this.cfg.padding;
if (this._xformMode == this._ENC_XFORM_MODE) {
a.pad(this._data, this.blockSize);
var b = this._process(!0)
} else {
var b = this._process(!0);
a.unpad(b)
}
return b
}, blockSize: 4
}), m.CipherParams = p.extend({
init: function (a) {
this.mixIn(a)
}, toString: function (a) {
return (a || this.formatter).stringify(this)
}
})), q = k.format = {}, H = q.OpenSSL = {
stringify: function (a) {
var b = a.ciphertext, c = a.salt;
if (c) var d = r.create([1398893684, 1701076831]).concat(c).concat(b); else var d = b;
return d.toString(w)
}, parse: function (a) {
var b = w.parse(a), c = b.words;
if (1398893684 == c[0] && 1701076831 == c[1]) {
var d = r.create(c.slice(2, 4));
c.splice(0, 4), b.sigBytes -= 16
}
return o.create({ciphertext: b, salt: d})
}
}, C = m.SerializableCipher = p.extend({
cfg: p.extend({format: H}), encrypt: function (a, b, c, d) {
d = this.cfg.extend(d);
var e = a.createEncryptor(c, d), f = e.finalize(b), h = e.cfg;
return o.create({ciphertext: f, key: c, iv: h.iv, algorithm: a, mode: h.mode, padding: h.padding, blockSize: a.blockSize, formatter: d.format})
}, decrypt: function (a, b, c, d) {
d = this.cfg.extend(d), b = this._parse(b, d.format);
var e = a.createDecryptor(c, d).finalize(b.ciphertext);
return e
}, _parse: function (a, b) {
return "string" == typeof a ? b.parse(a, this) : a
}
}), D = k.kdf = {}, E = D.OpenSSL = {
execute: function (a, b, c, d) {
d || (d = r.random(8));
var e = x.create({keySize: b + c}).compute(a, d), f = r.create(e.words.slice(b), 4 * c);
return e.sigBytes = 4 * b, o.create({key: e, iv: f, salt: d})
}
}, A = m.PasswordBasedCipher = C.extend({
cfg: C.cfg.extend({kdf: E}), encrypt: function (a, b, c, d) {
d = this.cfg.extend(d);
var e = d.kdf.execute(c, a.keySize, a.ivSize);
d.iv = e.iv;
var f = C.encrypt.call(this, a, b, e.key, d);
return f.mixIn(e), f
}, decrypt: function (a, b, c, d) {
d = this.cfg.extend(d), b = this._parse(b, d.format);
var e = d.kdf.execute(c, a.keySize, a.ivSize, b.salt);
d.iv = e.iv;
var f = C.decrypt.call(this, a, b, e.key, d);
return f
}
})
}(), B.mode.CFB = function () {
function g(a, b, c, d) {
var e = this._iv;
if (e) {
var f = e.slice(0);
this._iv = void 0
} else var f = this._prevBlock;
d.encryptBlock(f, 0);
for (var h = 0; h < c; h++) a[b + h] ^= f[h]
}
var i = B.lib.BlockCipherMode.extend();
return i.Encryptor = i.extend({
processBlock: function (a, b) {
var c = this._cipher, d = c.blockSize;
g.call(this, a, b, d, c), this._prevBlock = a.slice(b, b + d)
}
}), i.Decryptor = i.extend({
processBlock: function (a, b) {
var c = this._cipher, d = c.blockSize, e = a.slice(b, b + d);
g.call(this, a, b, d, c), this._prevBlock = e
}
}), i
}(), B.mode.ECB = function () {
var c = B.lib.BlockCipherMode.extend();
return c.Encryptor = c.extend({
processBlock: function (a, b) {
this._cipher.encryptBlock(a, b)
}
}), c.Decryptor = c.extend({
processBlock: function (a, b) {
this._cipher.decryptBlock(a, b)
}
}), c
}(), B.pad.AnsiX923 = {
pad: function (a, b) {
var c = a.sigBytes, d = 4 * b, e = d - c % d, f = c + e - 1;
a.clamp(), a.words[f >>> 2] |= e << 24 - f % 4 * 8, a.sigBytes += e
}, unpad: function (a) {
var b = 255 & a.words[a.sigBytes - 1 >>> 2];
a.sigBytes -= b
}
}, B.pad.Iso10126 = {
pad: function (a, b) {
var c = 4 * b, d = c - a.sigBytes % c;
a.concat(B.lib.WordArray.random(d - 1)).concat(B.lib.WordArray.create([d << 24], 1))
}, unpad: function (a) {
var b = 255 & a.words[a.sigBytes - 1 >>> 2];
a.sigBytes -= b
}
}, B.pad.Iso97971 = {
pad: function (a, b) {
a.concat(B.lib.WordArray.create([2147483648], 1)), B.pad.ZeroPadding.pad(a, b)
}, unpad: function (a) {
B.pad.ZeroPadding.unpad(a), a.sigBytes--
}
}, B.mode.OFB = function () {
var g = B.lib.BlockCipherMode.extend(), i = g.Encryptor = g.extend({
processBlock: function (a, b) {
var c = this._cipher, d = c.blockSize, e = this._iv, f = this._keystream;
e && (f = this._keystream = e.slice(0), this._iv = void 0), c.encryptBlock(f, 0);
for (var h = 0; h < d; h++) a[b + h] ^= f[h]
}
});
return g.Decryptor = i, g
}(), B.pad.NoPadding = {
pad: function () {
}, unpad: function () {
}
}, function (c) {
var d = B, e = d.lib, f = e.CipherParams, h = d.enc, g = h.Hex, i = d.format;
i.Hex = {
stringify: function (a) {
return a.ciphertext.toString(g)
}, parse: function (a) {
var b = g.parse(a);
return f.create({ciphertext: b})
}
}
}(), function () {
var n = B, F = n.lib, G = F.BlockCipher, j = n.algo, l = [], o = [], q = [], H = [], C = [], D = [], E = [], A = [], I = [], J = [];
!function () {
for (var a = [], b = 0; b < 256; b++) b < 128 ? a[b] = b << 1 : a[b] = b << 1 ^ 283;
for (var c = 0, d = 0, b = 0; b < 256; b++) {
var e = d ^ d << 1 ^ d << 2 ^ d << 3 ^ d << 4;
e = e >>> 8 ^ 255 & e ^ 99, l[c] = e, o[e] = c;
var f = a[c], h = a[f], g = a[h], i = 257 * a[e] ^ 16843008 * e;
q[c] = i << 24 | i >>> 8, H[c] = i << 16 | i >>> 16, C[c] = i << 8 | i >>> 24, D[c] = i;
var i = 16843009 * g ^ 65537 * h ^ 257 * f ^ 16843008 * c;
E[e] = i << 24 | i >>> 8, A[e] = i << 16 | i >>> 16, I[e] = i << 8 | i >>> 24, J[e] = i, c ? (c = f ^ a[a[a[g ^ f]]], d ^= a[a[d]]) : c = d = 1
}
}();
var L = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], N = j.AES = G.extend({
_doReset: function () {
if (!this._nRounds || this._keyPriorReset !== this._key) {
for (var a = this._keyPriorReset = this._key, b = a.words, c = a.sigBytes / 4, d = this._nRounds = c + 6, e = 4 * (d + 1), f = this._keySchedule = [], h = 0; h < e; h++) if (h < c) f[h] = b[h]; else {
var g = f[h - 1];
h % c ? c > 6 && h % c == 4 && (g = l[g >>> 24] << 24 | l[g >>> 16 & 255] << 16 | l[g >>> 8 & 255] << 8 | l[255 & g]) : (g = g << 8 | g >>> 24, g = l[g >>> 24] << 24 | l[g >>> 16 & 255] << 16 | l[g >>> 8 & 255] << 8 | l[255 & g], g ^= L[h / c | 0] << 24), f[h] = f[h - c] ^ g
}
for (var i = this._invKeySchedule = [], k = 0; k < e; k++) {
var h = e - k;
if (k % 4) var g = f[h]; else var g = f[h - 4];
k < 4 || h <= 4 ? i[k] = g : i[k] = E[l[g >>> 24]] ^ A[l[g >>> 16 & 255]] ^ I[l[g >>> 8 & 255]] ^ J[l[255 & g]]
}
}
}, encryptBlock: function (a, b) {
this._doCryptBlock(a, b, this._keySchedule, q, H, C, D, l)
}, decryptBlock: function (a, b) {
var c = a[b + 1];
a[b + 1] = a[b + 3], a[b + 3] = c, this._doCryptBlock(a, b, this._invKeySchedule, E, A, I, J, o);
var c = a[b + 1];
a[b + 1] = a[b + 3], a[b + 3] = c
}, _doCryptBlock: function (a, b, c, d, e, f, h, g) {
for (var i = this._nRounds, k = a[b] ^ c[0], m = a[b + 1] ^ c[1], p = a[b + 2] ^ c[2], r = a[b + 3] ^ c[3], u = 4, v = 1; v < i; v++) {
var w = d[k >>> 24] ^ e[m >>> 16 & 255] ^ f[p >>> 8 & 255] ^ h[255 & r] ^ c[u++], z = d[m >>> 24] ^ e[p >>> 16 & 255] ^ f[r >>> 8 & 255] ^ h[255 & k] ^ c[u++], x = d[p >>> 24] ^ e[r >>> 16 & 255] ^ f[k >>> 8 & 255] ^ h[255 & m] ^ c[u++], y = d[r >>> 24] ^ e[k >>> 16 & 255] ^ f[m >>> 8 & 255] ^ h[255 & p] ^ c[u++];
k = w, m = z, p = x, r = y
}
var w = (g[k >>> 24] << 24 | g[m >>> 16 & 255] << 16 | g[p >>> 8 & 255] << 8 | g[255 & r]) ^ c[u++], z = (g[m >>> 24] << 24 | g[p >>> 16 & 255] << 16 | g[r >>> 8 & 255] << 8 | g[255 & k]) ^ c[u++], x = (g[p >>> 24] << 24 | g[r >>> 16 & 255] << 16 | g[k >>> 8 & 255] << 8 | g[255 & m]) ^ c[u++], y = (g[r >>> 24] << 24 | g[k >>> 16 & 255] << 16 | g[m >>> 8 & 255] << 8 | g[255 & p]) ^ c[u++];
a[b] = w, a[b + 1] = z, a[b + 2] = x, a[b + 3] = y
}, keySize: 8
});
n.AES = G._createHelper(N)
}(), function () {
function m(a, b) {
var c = (this._lBlock >>> a ^ this._rBlock) & b;
this._rBlock ^= c, this._lBlock ^= c << a
}
function p(a, b) {
var c = (this._rBlock >>> a ^ this._lBlock) & b;
this._lBlock ^= c, this._rBlock ^= c << a
}
var r = B, u = r.lib, v = u.WordArray, w = u.BlockCipher, z = r.algo, x = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 44, 36, 63, 55, 47, 39, 31, 23, 15, 7, 62, 54, 46, 38, 30, 22, 14, 6, 61, 53, 45, 37, 29, 21, 13, 5, 28, 20, 12, 4], y = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 37, 47, 55, 30, 40, 51, 45, 33, 48, 44, 49, 39, 56, 34, 53, 46, 42, 50, 36, 29, 32], n = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], F = [{
0: 8421888,
268435456: 32768,
536870912: 8421378,
805306368: 2,
1073741824: 512,
1342177280: 8421890,
1610612736: 8389122,
1879048192: 8388608,
2147483648: 514,
2415919104: 8389120,
2684354560: 33280,
2952790016: 8421376,
3221225472: 32770,
3489660928: 8388610,
3758096384: 0,
4026531840: 33282,
134217728: 0,
402653184: 8421890,
671088640: 33282,
939524096: 32768,
1207959552: 8421888,
1476395008: 512,
1744830464: 8421378,
2013265920: 2,
2281701376: 8389120,
2550136832: 33280,
2818572288: 8421376,
3087007744: 8389122,
3355443200: 8388610,
3623878656: 32770,
3892314112: 514,
4160749568: 8388608,
1: 32768,
268435457: 2,
536870913: 8421888,
805306369: 8388608,
1073741825: 8421378,
1342177281: 33280,
1610612737: 512,
1879048193: 8389122,
2147483649: 8421890,
2415919105: 8421376,
2684354561: 8388610,
2952790017: 33282,
3221225473: 514,
3489660929: 8389120,
3758096385: 32770,
4026531841: 0,
134217729: 8421890,
402653185: 8421376,
671088641: 8388608,
939524097: 512,
1207959553: 32768,
1476395009: 8388610,
1744830465: 2,
2013265921: 33282,
2281701377: 32770,
2550136833: 8389122,
2818572289: 514,
3087007745: 8421888,
3355443201: 8389120,
3623878657: 0,
3892314113: 33280,
4160749569: 8421378
}, {
0: 1074282512,
16777216: 16384,
33554432: 524288,
50331648: 1074266128,
67108864: 1073741840,
83886080: 1074282496,
100663296: 1073758208,
117440512: 16,
134217728: 540672,
150994944: 1073758224,
167772160: 1073741824,
184549376: 540688,
201326592: 524304,
218103808: 0,
234881024: 16400,
251658240: 1074266112,
8388608: 1073758208,
25165824: 540688,
41943040: 16,
58720256: 1073758224,
75497472: 1074282512,
92274688: 1073741824,
109051904: 524288,
125829120: 1074266128,
142606336: 524304,
159383552: 0,
176160768: 16384,
192937984: 1074266112,
209715200: 1073741840,
226492416: 540672,
243269632: 1074282496,
260046848: 16400,
268435456: 0,
285212672: 1074266128,
301989888: 1073758224,
318767104: 1074282496,
335544320: 1074266112,
352321536: 16,
369098752: 540688,
385875968: 16384,
402653184: 16400,