halo-pc 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-7pMF1N-k.js → Article-BbJTCOkX.js} +66 -62
- package/dist/{Autocomplete-CEjjKXwo.js → Autocomplete-A0m1RW7z.js} +1 -1
- package/dist/Autocomplete-C3d_yunJ.js +52 -0
- package/dist/Autocomplete-H0_xgWsN.js +53 -0
- package/dist/{CSharp-DatSqpip.js → CSharp-Bwl97exE.js} +1 -1
- package/dist/{Calender-B1HoFiQg.js → Calender-C3vbVYIN.js} +1 -1
- package/dist/Callback-oU2ap8v9.js +24 -0
- package/dist/Cascader-ClSabtOx.js +45 -0
- package/dist/Cascader-DRErYyH6.js +84 -0
- package/dist/{Checkbox-B6IkMrWB.js → Checkbox-BJS0a1NT.js} +1 -1
- package/dist/{Code-SZuIImtp.js → Code-9I77CMRV.js} +1 -1
- package/dist/Code-B2DrYXDa.js +58 -0
- package/dist/Code-BgqGTky1.js +40 -0
- package/dist/Code-Cv1pm18C.js +4 -0
- package/dist/Code.vue_vue_type_style_index_0_lang-IHZepbsi.js +63 -0
- package/dist/Column-Dgs0SdWX.js +71 -0
- package/dist/Comment-Cy6lpmqk.js +102 -0
- package/dist/Compare-5cTiHEdo.js +30 -0
- package/dist/Compare-CWeuLw9n.js +60 -0
- package/dist/Copy-C6WEtRhC.js +47 -0
- package/dist/Custom-QDHQJoxC.js +53 -0
- package/dist/{DataExport-I9iG4oEo.js → DataExport-BHh7NvbT.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js → DataExport.vue_vue_type_script_setup_true_lang-C9t5j7Gi.js} +37 -33
- package/dist/{DataImport-2KtOy-of.js → DataImport-CtBsCyNb.js} +1 -1
- package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js → DataImport.vue_vue_type_script_setup_true_lang-bI0HP38b.js} +59 -55
- package/dist/{Date-PERpDDy_.js → Date-IV1FwqTW.js} +1 -1
- package/dist/{DateRange-BaxHMjcx.js → DateRange-IWmDLSuy.js} +11 -7
- package/dist/{DateTime-B7gHENiu.js → DateTime-Di6sr-tq.js} +1 -1
- package/dist/{DateTimeRange-yI9Y2qgC.js → DateTimeRange-BNUGYgWf.js} +14 -10
- package/dist/{Daterange-DqvBvK-B.js → Daterange-rrlMT4tD.js} +17 -13
- package/dist/{Decimal-AXwMeqBW.js → Decimal-D9TVQqyS.js} +1 -1
- package/dist/Delete-B-k4PTWk.js +59 -0
- package/dist/{Detail-aWACqVnM.js → Detail-HAblGKTY.js} +20 -16
- package/dist/Dictionary-BUmany6B.js +59 -0
- package/dist/{File--NsXL6XX.js → File-MF1QgEQX.js} +45 -41
- package/dist/{Image-CuwfJLKW.js → Image-Dps_vfcZ.js} +1 -1
- package/dist/{Index-BNOFdDjW.js → Index-7cTFT9Xb.js} +19 -15
- package/dist/{Index-CQ9S2R9b.js → Index-C_mfWEwr.js} +1 -1
- package/dist/Index-Cgets8DK.js +4 -0
- package/dist/Index-DGnHsBz4.js +4 -0
- package/dist/{Index-Cewv4-Ik.js → Index-DupYRMRj.js} +45 -41
- package/dist/{Index-DA2wAurY.js → Index-XBFHPLbK.js} +1 -1
- package/dist/{Index-Cj79dCuO.js → Index-hgpg_5ma.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js → Index.vue_vue_type_script_setup_true_lang-C1Bw7evJ.js} +15 -11
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js → Index.vue_vue_type_script_setup_true_lang-yOf2ubuo.js} +16 -12
- package/dist/{Index.vue_vue_type_style_index_0_lang-DApNHvNX.js → Index.vue_vue_type_style_index_0_lang-DBERwM_v.js} +31 -27
- package/dist/{Install-BWdNbtVx.js → Install-A9qs4Vg-.js} +20 -16
- package/dist/{Int-nmVkFRqG.js → Int-B3L54Gcc.js} +16 -12
- package/dist/List-Om6OdbbR.js +76 -0
- package/dist/Maintaince-CrfEX-5B.js +19 -0
- package/dist/{Markdown-DD6ufwhM.js → Markdown-wcGRlabe.js} +1 -1
- package/dist/{Month-BqbTFGgo.js → Month-C1tCQKvO.js} +1 -1
- package/dist/{Normal-f4HN1ciI.js → Normal-HoU_elKy.js} +51 -47
- package/dist/Paging-C_StoYuZ.js +94 -0
- package/dist/QueryApi-BrYyIwqV.js +18 -0
- package/dist/{Racebar-Bou-XNCm.js → Racebar-BXuP1N9F.js} +27 -23
- package/dist/{Radio-BmikzeCv.js → Radio-D6W9guyM.js} +1 -1
- package/dist/{Register-CgbRZH9W.js → Register-DGhIjRDD.js} +79 -75
- package/dist/{RichText-BeK3zZam.js → RichText-B3Br1uzj.js} +22 -18
- package/dist/{SearchFooter-C4PeAkaR.js → SearchFooter-D3-9GTr1.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js → SearchFooter.vue_vue_type_style_index_0_lang-DP32ZjvQ.js} +1 -1
- package/dist/{SearchForm-C7fZiQaW.js → SearchForm-rWozLa4B.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js → SearchForm.vue_vue_type_style_index_0_lang-F2we6KP-.js} +30 -26
- package/dist/{Select-C1-NVZdG.js → Select-64nQiHNA.js} +21 -17
- package/dist/{Select-DR5fQH0d.js → Select-CAmBUDp3.js} +40 -36
- package/dist/{Select-DlbQvxQu.js → Select-qCdhL7vC.js} +1 -1
- package/dist/{Single-BLRyJKB-.js → Single-Bnrt5Hxb.js} +81 -77
- package/dist/{Statistic-BOtmYiRA.js → Statistic-BTbwlH9l.js} +35 -31
- package/dist/{Stock-Dnwof0R1.js → Stock-Br_02hsI.js} +1 -1
- package/dist/{Stock-BqQ6lM5B.js → Stock-DbExd680.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js → Stock.vue_vue_type_style_index_0_lang-MTvhmHlz.js} +26 -22
- package/dist/{Switch-DuMBV0AX.js → Switch-J2GIv4Wa.js} +1 -1
- package/dist/{Table-Be-rPXr_.js → Table-DjBx2UGm.js} +68 -64
- package/dist/{Table-RMVT0hlE.js → Table-X4vTHlpm.js} +52 -48
- package/dist/{Text-DSXRKFPa.js → Text-BFZc81F2.js} +1 -1
- package/dist/Text.vue_vue_type_style_index_0_lang-Cw7QQbFk.js +56 -0
- package/dist/TextLink-C_lFWaZv.js +66 -0
- package/dist/{Textarea-3ypOGE1S.js → Textarea-Dw_qLc3Y.js} +1 -1
- package/dist/{Timeline-CLezCcgQ.js → Timeline-DaaRGmGd.js} +21 -17
- package/dist/Tree-CDD2Nd6q.js +121 -0
- package/dist/{Tree-B6RBRT1y.js → Tree-Cmp10DWw.js} +85 -81
- package/dist/TreeNode-BM8-GyIc.js +38 -0
- package/dist/{Update-Dc3Tdkn0.js → Update-PffbXMXH.js} +17 -13
- package/dist/Upload-F6HXe76H.js +71 -0
- package/dist/Upload-kwwpaDe6.js +147 -0
- package/dist/{UploadApi-Bs507D0w.js → UploadApi-D2W_aGKA.js} +8 -3
- package/dist/{Year-DKxOQNyS.js → Year-Dr5ST0Pk.js} +1 -1
- package/dist/main-B8RC13GR.js +6528 -0
- package/dist/main.js +113 -113
- package/dist/style.css +1 -1
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
- package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
- package/dist/vendor-clone-BPtCWdXG.js +134 -0
- package/dist/vendor-crypto-js-ftX_aBC-.js +4995 -0
- package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
- package/dist/{vendor-intro.js-DwWqhM1v.js → vendor-intro.js-CZkClzQO.js} +1 -1
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-DVTek3G4.js +1070 -0
- package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
- package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
- package/esm/coms/controls/Text.vue.d.ts +1 -1
- package/esm/coms/globals/HaMenu.vue.d.ts +1 -1
- package/esm/coms/globals/HaWindow.vue.d.ts +1 -1
- package/esm/coms/pages/Delete.vue.d.ts +2 -2
- package/esm/coms/pages/Single.vue.d.ts +2 -2
- package/esm/coms/pagings/Article.vue.d.ts +2 -2
- package/esm/coms/pagings/DataExport.vue.d.ts +2 -2
- package/esm/coms/pagings/DataImport.vue.d.ts +2 -2
- package/esm/coms/pagings/Index.vue.d.ts +2 -2
- package/esm/coms/pagings/SearchFooter.vue.d.ts +1 -1
- package/esm/coms/pagings/Table.vue.d.ts +2 -2
- package/esm/main.d.ts +4 -3
- package/esm/services/ServiceFactory.d.ts +3 -0
- package/esm/types/PcOptions.d.ts +18 -0
- package/esm/types/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/Autocomplete-DqKo5NiJ.js +0 -49
- package/dist/Autocomplete-K5ipzchR.js +0 -48
- package/dist/Callback-PyCjejiv.js +0 -20
- package/dist/Cascader-B9lLRKjA.js +0 -80
- package/dist/Cascader-BNvlqc5t.js +0 -41
- package/dist/Code-BdK547kD.js +0 -4
- package/dist/Code-DfFF-84i.js +0 -36
- package/dist/Code-LFQVJotC.js +0 -54
- package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +0 -59
- package/dist/Column-DVjYrrr7.js +0 -67
- package/dist/Comment-Do7Mjpjr.js +0 -98
- package/dist/Compare-C_iDn27Q.js +0 -56
- package/dist/Compare-CrX3yfD4.js +0 -26
- package/dist/Copy-_sbdQvHJ.js +0 -43
- package/dist/Custom-DarpQFG8.js +0 -49
- package/dist/Delete-BY3vAVWa.js +0 -55
- package/dist/Dictionary-DpQuFYQ5.js +0 -55
- package/dist/Index-B_a_HzsB.js +0 -4
- package/dist/Index-Cx2J_P37.js +0 -4
- package/dist/List-BjdY1rMk.js +0 -72
- package/dist/Maintaince-DzYzyrAc.js +0 -15
- package/dist/Paging-BMPtLi8P.js +0 -90
- package/dist/QueryApi-CbP5cCyH.js +0 -13
- package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +0 -52
- package/dist/TextLink-BZW-y_FS.js +0 -62
- package/dist/Tree-CLpCeirT.js +0 -117
- package/dist/TreeNode-C16N8jqm.js +0 -34
- package/dist/Upload-DvWyjK3a.js +0 -143
- package/dist/Upload-SEu1V1yX.js +0 -67
- package/dist/main-QtNG6p7a.js +0 -16673
- package/dist/vendor-pinia-yrN6kSxh.js +0 -861
- package/dist/vendor-vue-demi-CIhrFbpB.js +0 -17
@@ -0,0 +1,4995 @@
|
|
1
|
+
import { a as Br, c as W, g as ur } from "./vendor-clipboard-BqjesuiY.js";
|
2
|
+
var jx = { exports: {} };
|
3
|
+
function dr(R) {
|
4
|
+
throw new Error('Could not dynamically require "' + R + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
5
|
+
}
|
6
|
+
var F0 = { exports: {} };
|
7
|
+
const hr = {}, Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
8
|
+
__proto__: null,
|
9
|
+
default: hr
|
10
|
+
}, Symbol.toStringTag, { value: "Module" })), lr = /* @__PURE__ */ Br(Cr);
|
11
|
+
var hx;
|
12
|
+
function I() {
|
13
|
+
return hx || (hx = 1, function(R, T) {
|
14
|
+
(function(C, n) {
|
15
|
+
R.exports = n();
|
16
|
+
})(W, function() {
|
17
|
+
var C = C || function(n, p) {
|
18
|
+
var D;
|
19
|
+
if (typeof window < "u" && window.crypto && (D = window.crypto), typeof self < "u" && self.crypto && (D = self.crypto), typeof globalThis < "u" && globalThis.crypto && (D = globalThis.crypto), !D && typeof window < "u" && window.msCrypto && (D = window.msCrypto), !D && typeof W < "u" && W.crypto && (D = W.crypto), !D && typeof dr == "function")
|
20
|
+
try {
|
21
|
+
D = lr;
|
22
|
+
} catch {
|
23
|
+
}
|
24
|
+
var w = function() {
|
25
|
+
if (D) {
|
26
|
+
if (typeof D.getRandomValues == "function")
|
27
|
+
try {
|
28
|
+
return D.getRandomValues(new Uint32Array(1))[0];
|
29
|
+
} catch {
|
30
|
+
}
|
31
|
+
if (typeof D.randomBytes == "function")
|
32
|
+
try {
|
33
|
+
return D.randomBytes(4).readInt32LE();
|
34
|
+
} catch {
|
35
|
+
}
|
36
|
+
}
|
37
|
+
throw new Error("Native crypto module could not be used to get secure random number.");
|
38
|
+
}, B = Object.create || /* @__PURE__ */ function() {
|
39
|
+
function t() {
|
40
|
+
}
|
41
|
+
return function(a) {
|
42
|
+
var i;
|
43
|
+
return t.prototype = a, i = new t(), t.prototype = null, i;
|
44
|
+
};
|
45
|
+
}(), d = {}, x = d.lib = {}, e = x.Base = /* @__PURE__ */ function() {
|
46
|
+
return {
|
47
|
+
/**
|
48
|
+
* Creates a new object that inherits from this object.
|
49
|
+
*
|
50
|
+
* @param {Object} overrides Properties to copy into the new object.
|
51
|
+
*
|
52
|
+
* @return {Object} The new object.
|
53
|
+
*
|
54
|
+
* @static
|
55
|
+
*
|
56
|
+
* @example
|
57
|
+
*
|
58
|
+
* var MyType = CryptoJS.lib.Base.extend({
|
59
|
+
* field: 'value',
|
60
|
+
*
|
61
|
+
* method: function () {
|
62
|
+
* }
|
63
|
+
* });
|
64
|
+
*/
|
65
|
+
extend: function(t) {
|
66
|
+
var a = B(this);
|
67
|
+
return t && a.mixIn(t), (!a.hasOwnProperty("init") || this.init === a.init) && (a.init = function() {
|
68
|
+
a.$super.init.apply(this, arguments);
|
69
|
+
}), a.init.prototype = a, a.$super = this, a;
|
70
|
+
},
|
71
|
+
/**
|
72
|
+
* Extends this object and runs the init method.
|
73
|
+
* Arguments to create() will be passed to init().
|
74
|
+
*
|
75
|
+
* @return {Object} The new object.
|
76
|
+
*
|
77
|
+
* @static
|
78
|
+
*
|
79
|
+
* @example
|
80
|
+
*
|
81
|
+
* var instance = MyType.create();
|
82
|
+
*/
|
83
|
+
create: function() {
|
84
|
+
var t = this.extend();
|
85
|
+
return t.init.apply(t, arguments), t;
|
86
|
+
},
|
87
|
+
/**
|
88
|
+
* Initializes a newly created object.
|
89
|
+
* Override this method to add some logic when your objects are created.
|
90
|
+
*
|
91
|
+
* @example
|
92
|
+
*
|
93
|
+
* var MyType = CryptoJS.lib.Base.extend({
|
94
|
+
* init: function () {
|
95
|
+
* // ...
|
96
|
+
* }
|
97
|
+
* });
|
98
|
+
*/
|
99
|
+
init: function() {
|
100
|
+
},
|
101
|
+
/**
|
102
|
+
* Copies properties into this object.
|
103
|
+
*
|
104
|
+
* @param {Object} properties The properties to mix in.
|
105
|
+
*
|
106
|
+
* @example
|
107
|
+
*
|
108
|
+
* MyType.mixIn({
|
109
|
+
* field: 'value'
|
110
|
+
* });
|
111
|
+
*/
|
112
|
+
mixIn: function(t) {
|
113
|
+
for (var a in t)
|
114
|
+
t.hasOwnProperty(a) && (this[a] = t[a]);
|
115
|
+
t.hasOwnProperty("toString") && (this.toString = t.toString);
|
116
|
+
},
|
117
|
+
/**
|
118
|
+
* Creates a copy of this object.
|
119
|
+
*
|
120
|
+
* @return {Object} The clone.
|
121
|
+
*
|
122
|
+
* @example
|
123
|
+
*
|
124
|
+
* var clone = instance.clone();
|
125
|
+
*/
|
126
|
+
clone: function() {
|
127
|
+
return this.init.prototype.extend(this);
|
128
|
+
}
|
129
|
+
};
|
130
|
+
}(), u = x.WordArray = e.extend({
|
131
|
+
/**
|
132
|
+
* Initializes a newly created word array.
|
133
|
+
*
|
134
|
+
* @param {Array} words (Optional) An array of 32-bit words.
|
135
|
+
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
|
136
|
+
*
|
137
|
+
* @example
|
138
|
+
*
|
139
|
+
* var wordArray = CryptoJS.lib.WordArray.create();
|
140
|
+
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
|
141
|
+
* var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
|
142
|
+
*/
|
143
|
+
init: function(t, a) {
|
144
|
+
t = this.words = t || [], a != p ? this.sigBytes = a : this.sigBytes = t.length * 4;
|
145
|
+
},
|
146
|
+
/**
|
147
|
+
* Converts this word array to a string.
|
148
|
+
*
|
149
|
+
* @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
|
150
|
+
*
|
151
|
+
* @return {string} The stringified word array.
|
152
|
+
*
|
153
|
+
* @example
|
154
|
+
*
|
155
|
+
* var string = wordArray + '';
|
156
|
+
* var string = wordArray.toString();
|
157
|
+
* var string = wordArray.toString(CryptoJS.enc.Utf8);
|
158
|
+
*/
|
159
|
+
toString: function(t) {
|
160
|
+
return (t || s).stringify(this);
|
161
|
+
},
|
162
|
+
/**
|
163
|
+
* Concatenates a word array to this word array.
|
164
|
+
*
|
165
|
+
* @param {WordArray} wordArray The word array to append.
|
166
|
+
*
|
167
|
+
* @return {WordArray} This word array.
|
168
|
+
*
|
169
|
+
* @example
|
170
|
+
*
|
171
|
+
* wordArray1.concat(wordArray2);
|
172
|
+
*/
|
173
|
+
concat: function(t) {
|
174
|
+
var a = this.words, i = t.words, E = this.sigBytes, l = t.sigBytes;
|
175
|
+
if (this.clamp(), E % 4)
|
176
|
+
for (var A = 0; A < l; A++) {
|
177
|
+
var _ = i[A >>> 2] >>> 24 - A % 4 * 8 & 255;
|
178
|
+
a[E + A >>> 2] |= _ << 24 - (E + A) % 4 * 8;
|
179
|
+
}
|
180
|
+
else
|
181
|
+
for (var S = 0; S < l; S += 4)
|
182
|
+
a[E + S >>> 2] = i[S >>> 2];
|
183
|
+
return this.sigBytes += l, this;
|
184
|
+
},
|
185
|
+
/**
|
186
|
+
* Removes insignificant bits.
|
187
|
+
*
|
188
|
+
* @example
|
189
|
+
*
|
190
|
+
* wordArray.clamp();
|
191
|
+
*/
|
192
|
+
clamp: function() {
|
193
|
+
var t = this.words, a = this.sigBytes;
|
194
|
+
t[a >>> 2] &= 4294967295 << 32 - a % 4 * 8, t.length = n.ceil(a / 4);
|
195
|
+
},
|
196
|
+
/**
|
197
|
+
* Creates a copy of this word array.
|
198
|
+
*
|
199
|
+
* @return {WordArray} The clone.
|
200
|
+
*
|
201
|
+
* @example
|
202
|
+
*
|
203
|
+
* var clone = wordArray.clone();
|
204
|
+
*/
|
205
|
+
clone: function() {
|
206
|
+
var t = e.clone.call(this);
|
207
|
+
return t.words = this.words.slice(0), t;
|
208
|
+
},
|
209
|
+
/**
|
210
|
+
* Creates a word array filled with random bytes.
|
211
|
+
*
|
212
|
+
* @param {number} nBytes The number of random bytes to generate.
|
213
|
+
*
|
214
|
+
* @return {WordArray} The random word array.
|
215
|
+
*
|
216
|
+
* @static
|
217
|
+
*
|
218
|
+
* @example
|
219
|
+
*
|
220
|
+
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
221
|
+
*/
|
222
|
+
random: function(t) {
|
223
|
+
for (var a = [], i = 0; i < t; i += 4)
|
224
|
+
a.push(w());
|
225
|
+
return new u.init(a, t);
|
226
|
+
}
|
227
|
+
}), r = d.enc = {}, s = r.Hex = {
|
228
|
+
/**
|
229
|
+
* Converts a word array to a hex string.
|
230
|
+
*
|
231
|
+
* @param {WordArray} wordArray The word array.
|
232
|
+
*
|
233
|
+
* @return {string} The hex string.
|
234
|
+
*
|
235
|
+
* @static
|
236
|
+
*
|
237
|
+
* @example
|
238
|
+
*
|
239
|
+
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
240
|
+
*/
|
241
|
+
stringify: function(t) {
|
242
|
+
for (var a = t.words, i = t.sigBytes, E = [], l = 0; l < i; l++) {
|
243
|
+
var A = a[l >>> 2] >>> 24 - l % 4 * 8 & 255;
|
244
|
+
E.push((A >>> 4).toString(16)), E.push((A & 15).toString(16));
|
245
|
+
}
|
246
|
+
return E.join("");
|
247
|
+
},
|
248
|
+
/**
|
249
|
+
* Converts a hex string to a word array.
|
250
|
+
*
|
251
|
+
* @param {string} hexStr The hex string.
|
252
|
+
*
|
253
|
+
* @return {WordArray} The word array.
|
254
|
+
*
|
255
|
+
* @static
|
256
|
+
*
|
257
|
+
* @example
|
258
|
+
*
|
259
|
+
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
260
|
+
*/
|
261
|
+
parse: function(t) {
|
262
|
+
for (var a = t.length, i = [], E = 0; E < a; E += 2)
|
263
|
+
i[E >>> 3] |= parseInt(t.substr(E, 2), 16) << 24 - E % 8 * 4;
|
264
|
+
return new u.init(i, a / 2);
|
265
|
+
}
|
266
|
+
}, o = r.Latin1 = {
|
267
|
+
/**
|
268
|
+
* Converts a word array to a Latin1 string.
|
269
|
+
*
|
270
|
+
* @param {WordArray} wordArray The word array.
|
271
|
+
*
|
272
|
+
* @return {string} The Latin1 string.
|
273
|
+
*
|
274
|
+
* @static
|
275
|
+
*
|
276
|
+
* @example
|
277
|
+
*
|
278
|
+
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
279
|
+
*/
|
280
|
+
stringify: function(t) {
|
281
|
+
for (var a = t.words, i = t.sigBytes, E = [], l = 0; l < i; l++) {
|
282
|
+
var A = a[l >>> 2] >>> 24 - l % 4 * 8 & 255;
|
283
|
+
E.push(String.fromCharCode(A));
|
284
|
+
}
|
285
|
+
return E.join("");
|
286
|
+
},
|
287
|
+
/**
|
288
|
+
* Converts a Latin1 string to a word array.
|
289
|
+
*
|
290
|
+
* @param {string} latin1Str The Latin1 string.
|
291
|
+
*
|
292
|
+
* @return {WordArray} The word array.
|
293
|
+
*
|
294
|
+
* @static
|
295
|
+
*
|
296
|
+
* @example
|
297
|
+
*
|
298
|
+
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
299
|
+
*/
|
300
|
+
parse: function(t) {
|
301
|
+
for (var a = t.length, i = [], E = 0; E < a; E++)
|
302
|
+
i[E >>> 2] |= (t.charCodeAt(E) & 255) << 24 - E % 4 * 8;
|
303
|
+
return new u.init(i, a);
|
304
|
+
}
|
305
|
+
}, c = r.Utf8 = {
|
306
|
+
/**
|
307
|
+
* Converts a word array to a UTF-8 string.
|
308
|
+
*
|
309
|
+
* @param {WordArray} wordArray The word array.
|
310
|
+
*
|
311
|
+
* @return {string} The UTF-8 string.
|
312
|
+
*
|
313
|
+
* @static
|
314
|
+
*
|
315
|
+
* @example
|
316
|
+
*
|
317
|
+
* var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
|
318
|
+
*/
|
319
|
+
stringify: function(t) {
|
320
|
+
try {
|
321
|
+
return decodeURIComponent(escape(o.stringify(t)));
|
322
|
+
} catch {
|
323
|
+
throw new Error("Malformed UTF-8 data");
|
324
|
+
}
|
325
|
+
},
|
326
|
+
/**
|
327
|
+
* Converts a UTF-8 string to a word array.
|
328
|
+
*
|
329
|
+
* @param {string} utf8Str The UTF-8 string.
|
330
|
+
*
|
331
|
+
* @return {WordArray} The word array.
|
332
|
+
*
|
333
|
+
* @static
|
334
|
+
*
|
335
|
+
* @example
|
336
|
+
*
|
337
|
+
* var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
|
338
|
+
*/
|
339
|
+
parse: function(t) {
|
340
|
+
return o.parse(unescape(encodeURIComponent(t)));
|
341
|
+
}
|
342
|
+
}, f = x.BufferedBlockAlgorithm = e.extend({
|
343
|
+
/**
|
344
|
+
* Resets this block algorithm's data buffer to its initial state.
|
345
|
+
*
|
346
|
+
* @example
|
347
|
+
*
|
348
|
+
* bufferedBlockAlgorithm.reset();
|
349
|
+
*/
|
350
|
+
reset: function() {
|
351
|
+
this._data = new u.init(), this._nDataBytes = 0;
|
352
|
+
},
|
353
|
+
/**
|
354
|
+
* Adds new data to this block algorithm's buffer.
|
355
|
+
*
|
356
|
+
* @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
|
357
|
+
*
|
358
|
+
* @example
|
359
|
+
*
|
360
|
+
* bufferedBlockAlgorithm._append('data');
|
361
|
+
* bufferedBlockAlgorithm._append(wordArray);
|
362
|
+
*/
|
363
|
+
_append: function(t) {
|
364
|
+
typeof t == "string" && (t = c.parse(t)), this._data.concat(t), this._nDataBytes += t.sigBytes;
|
365
|
+
},
|
366
|
+
/**
|
367
|
+
* Processes available data blocks.
|
368
|
+
*
|
369
|
+
* This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
|
370
|
+
*
|
371
|
+
* @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
|
372
|
+
*
|
373
|
+
* @return {WordArray} The processed data.
|
374
|
+
*
|
375
|
+
* @example
|
376
|
+
*
|
377
|
+
* var processedData = bufferedBlockAlgorithm._process();
|
378
|
+
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
379
|
+
*/
|
380
|
+
_process: function(t) {
|
381
|
+
var a, i = this._data, E = i.words, l = i.sigBytes, A = this.blockSize, _ = A * 4, S = l / _;
|
382
|
+
t ? S = n.ceil(S) : S = n.max((S | 0) - this._minBufferSize, 0);
|
383
|
+
var v = S * A, F = n.min(v * 4, l);
|
384
|
+
if (v) {
|
385
|
+
for (var g = 0; g < v; g += A)
|
386
|
+
this._doProcessBlock(E, g);
|
387
|
+
a = E.splice(0, v), i.sigBytes -= F;
|
388
|
+
}
|
389
|
+
return new u.init(a, F);
|
390
|
+
},
|
391
|
+
/**
|
392
|
+
* Creates a copy of this object.
|
393
|
+
*
|
394
|
+
* @return {Object} The clone.
|
395
|
+
*
|
396
|
+
* @example
|
397
|
+
*
|
398
|
+
* var clone = bufferedBlockAlgorithm.clone();
|
399
|
+
*/
|
400
|
+
clone: function() {
|
401
|
+
var t = e.clone.call(this);
|
402
|
+
return t._data = this._data.clone(), t;
|
403
|
+
},
|
404
|
+
_minBufferSize: 0
|
405
|
+
});
|
406
|
+
x.Hasher = f.extend({
|
407
|
+
/**
|
408
|
+
* Configuration options.
|
409
|
+
*/
|
410
|
+
cfg: e.extend(),
|
411
|
+
/**
|
412
|
+
* Initializes a newly created hasher.
|
413
|
+
*
|
414
|
+
* @param {Object} cfg (Optional) The configuration options to use for this hash computation.
|
415
|
+
*
|
416
|
+
* @example
|
417
|
+
*
|
418
|
+
* var hasher = CryptoJS.algo.SHA256.create();
|
419
|
+
*/
|
420
|
+
init: function(t) {
|
421
|
+
this.cfg = this.cfg.extend(t), this.reset();
|
422
|
+
},
|
423
|
+
/**
|
424
|
+
* Resets this hasher to its initial state.
|
425
|
+
*
|
426
|
+
* @example
|
427
|
+
*
|
428
|
+
* hasher.reset();
|
429
|
+
*/
|
430
|
+
reset: function() {
|
431
|
+
f.reset.call(this), this._doReset();
|
432
|
+
},
|
433
|
+
/**
|
434
|
+
* Updates this hasher with a message.
|
435
|
+
*
|
436
|
+
* @param {WordArray|string} messageUpdate The message to append.
|
437
|
+
*
|
438
|
+
* @return {Hasher} This hasher.
|
439
|
+
*
|
440
|
+
* @example
|
441
|
+
*
|
442
|
+
* hasher.update('message');
|
443
|
+
* hasher.update(wordArray);
|
444
|
+
*/
|
445
|
+
update: function(t) {
|
446
|
+
return this._append(t), this._process(), this;
|
447
|
+
},
|
448
|
+
/**
|
449
|
+
* Finalizes the hash computation.
|
450
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
451
|
+
*
|
452
|
+
* @param {WordArray|string} messageUpdate (Optional) A final message update.
|
453
|
+
*
|
454
|
+
* @return {WordArray} The hash.
|
455
|
+
*
|
456
|
+
* @example
|
457
|
+
*
|
458
|
+
* var hash = hasher.finalize();
|
459
|
+
* var hash = hasher.finalize('message');
|
460
|
+
* var hash = hasher.finalize(wordArray);
|
461
|
+
*/
|
462
|
+
finalize: function(t) {
|
463
|
+
t && this._append(t);
|
464
|
+
var a = this._doFinalize();
|
465
|
+
return a;
|
466
|
+
},
|
467
|
+
blockSize: 16,
|
468
|
+
/**
|
469
|
+
* Creates a shortcut function to a hasher's object interface.
|
470
|
+
*
|
471
|
+
* @param {Hasher} hasher The hasher to create a helper for.
|
472
|
+
*
|
473
|
+
* @return {Function} The shortcut function.
|
474
|
+
*
|
475
|
+
* @static
|
476
|
+
*
|
477
|
+
* @example
|
478
|
+
*
|
479
|
+
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
480
|
+
*/
|
481
|
+
_createHelper: function(t) {
|
482
|
+
return function(a, i) {
|
483
|
+
return new t.init(i).finalize(a);
|
484
|
+
};
|
485
|
+
},
|
486
|
+
/**
|
487
|
+
* Creates a shortcut function to the HMAC's object interface.
|
488
|
+
*
|
489
|
+
* @param {Hasher} hasher The hasher to use in this HMAC helper.
|
490
|
+
*
|
491
|
+
* @return {Function} The shortcut function.
|
492
|
+
*
|
493
|
+
* @static
|
494
|
+
*
|
495
|
+
* @example
|
496
|
+
*
|
497
|
+
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
498
|
+
*/
|
499
|
+
_createHmacHelper: function(t) {
|
500
|
+
return function(a, i) {
|
501
|
+
return new h.HMAC.init(t, i).finalize(a);
|
502
|
+
};
|
503
|
+
}
|
504
|
+
});
|
505
|
+
var h = d.algo = {};
|
506
|
+
return d;
|
507
|
+
}(Math);
|
508
|
+
return C;
|
509
|
+
});
|
510
|
+
}(F0)), F0.exports;
|
511
|
+
}
|
512
|
+
var D0 = { exports: {} }, Cx;
|
513
|
+
function l0() {
|
514
|
+
return Cx || (Cx = 1, function(R, T) {
|
515
|
+
(function(C, n) {
|
516
|
+
R.exports = n(I());
|
517
|
+
})(W, function(C) {
|
518
|
+
return function(n) {
|
519
|
+
var p = C, D = p.lib, w = D.Base, B = D.WordArray, d = p.x64 = {};
|
520
|
+
d.Word = w.extend({
|
521
|
+
/**
|
522
|
+
* Initializes a newly created 64-bit word.
|
523
|
+
*
|
524
|
+
* @param {number} high The high 32 bits.
|
525
|
+
* @param {number} low The low 32 bits.
|
526
|
+
*
|
527
|
+
* @example
|
528
|
+
*
|
529
|
+
* var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
|
530
|
+
*/
|
531
|
+
init: function(x, e) {
|
532
|
+
this.high = x, this.low = e;
|
533
|
+
}
|
534
|
+
/**
|
535
|
+
* Bitwise NOTs this word.
|
536
|
+
*
|
537
|
+
* @return {X64Word} A new x64-Word object after negating.
|
538
|
+
*
|
539
|
+
* @example
|
540
|
+
*
|
541
|
+
* var negated = x64Word.not();
|
542
|
+
*/
|
543
|
+
// not: function () {
|
544
|
+
// var high = ~this.high;
|
545
|
+
// var low = ~this.low;
|
546
|
+
// return X64Word.create(high, low);
|
547
|
+
// },
|
548
|
+
/**
|
549
|
+
* Bitwise ANDs this word with the passed word.
|
550
|
+
*
|
551
|
+
* @param {X64Word} word The x64-Word to AND with this word.
|
552
|
+
*
|
553
|
+
* @return {X64Word} A new x64-Word object after ANDing.
|
554
|
+
*
|
555
|
+
* @example
|
556
|
+
*
|
557
|
+
* var anded = x64Word.and(anotherX64Word);
|
558
|
+
*/
|
559
|
+
// and: function (word) {
|
560
|
+
// var high = this.high & word.high;
|
561
|
+
// var low = this.low & word.low;
|
562
|
+
// return X64Word.create(high, low);
|
563
|
+
// },
|
564
|
+
/**
|
565
|
+
* Bitwise ORs this word with the passed word.
|
566
|
+
*
|
567
|
+
* @param {X64Word} word The x64-Word to OR with this word.
|
568
|
+
*
|
569
|
+
* @return {X64Word} A new x64-Word object after ORing.
|
570
|
+
*
|
571
|
+
* @example
|
572
|
+
*
|
573
|
+
* var ored = x64Word.or(anotherX64Word);
|
574
|
+
*/
|
575
|
+
// or: function (word) {
|
576
|
+
// var high = this.high | word.high;
|
577
|
+
// var low = this.low | word.low;
|
578
|
+
// return X64Word.create(high, low);
|
579
|
+
// },
|
580
|
+
/**
|
581
|
+
* Bitwise XORs this word with the passed word.
|
582
|
+
*
|
583
|
+
* @param {X64Word} word The x64-Word to XOR with this word.
|
584
|
+
*
|
585
|
+
* @return {X64Word} A new x64-Word object after XORing.
|
586
|
+
*
|
587
|
+
* @example
|
588
|
+
*
|
589
|
+
* var xored = x64Word.xor(anotherX64Word);
|
590
|
+
*/
|
591
|
+
// xor: function (word) {
|
592
|
+
// var high = this.high ^ word.high;
|
593
|
+
// var low = this.low ^ word.low;
|
594
|
+
// return X64Word.create(high, low);
|
595
|
+
// },
|
596
|
+
/**
|
597
|
+
* Shifts this word n bits to the left.
|
598
|
+
*
|
599
|
+
* @param {number} n The number of bits to shift.
|
600
|
+
*
|
601
|
+
* @return {X64Word} A new x64-Word object after shifting.
|
602
|
+
*
|
603
|
+
* @example
|
604
|
+
*
|
605
|
+
* var shifted = x64Word.shiftL(25);
|
606
|
+
*/
|
607
|
+
// shiftL: function (n) {
|
608
|
+
// if (n < 32) {
|
609
|
+
// var high = (this.high << n) | (this.low >>> (32 - n));
|
610
|
+
// var low = this.low << n;
|
611
|
+
// } else {
|
612
|
+
// var high = this.low << (n - 32);
|
613
|
+
// var low = 0;
|
614
|
+
// }
|
615
|
+
// return X64Word.create(high, low);
|
616
|
+
// },
|
617
|
+
/**
|
618
|
+
* Shifts this word n bits to the right.
|
619
|
+
*
|
620
|
+
* @param {number} n The number of bits to shift.
|
621
|
+
*
|
622
|
+
* @return {X64Word} A new x64-Word object after shifting.
|
623
|
+
*
|
624
|
+
* @example
|
625
|
+
*
|
626
|
+
* var shifted = x64Word.shiftR(7);
|
627
|
+
*/
|
628
|
+
// shiftR: function (n) {
|
629
|
+
// if (n < 32) {
|
630
|
+
// var low = (this.low >>> n) | (this.high << (32 - n));
|
631
|
+
// var high = this.high >>> n;
|
632
|
+
// } else {
|
633
|
+
// var low = this.high >>> (n - 32);
|
634
|
+
// var high = 0;
|
635
|
+
// }
|
636
|
+
// return X64Word.create(high, low);
|
637
|
+
// },
|
638
|
+
/**
|
639
|
+
* Rotates this word n bits to the left.
|
640
|
+
*
|
641
|
+
* @param {number} n The number of bits to rotate.
|
642
|
+
*
|
643
|
+
* @return {X64Word} A new x64-Word object after rotating.
|
644
|
+
*
|
645
|
+
* @example
|
646
|
+
*
|
647
|
+
* var rotated = x64Word.rotL(25);
|
648
|
+
*/
|
649
|
+
// rotL: function (n) {
|
650
|
+
// return this.shiftL(n).or(this.shiftR(64 - n));
|
651
|
+
// },
|
652
|
+
/**
|
653
|
+
* Rotates this word n bits to the right.
|
654
|
+
*
|
655
|
+
* @param {number} n The number of bits to rotate.
|
656
|
+
*
|
657
|
+
* @return {X64Word} A new x64-Word object after rotating.
|
658
|
+
*
|
659
|
+
* @example
|
660
|
+
*
|
661
|
+
* var rotated = x64Word.rotR(7);
|
662
|
+
*/
|
663
|
+
// rotR: function (n) {
|
664
|
+
// return this.shiftR(n).or(this.shiftL(64 - n));
|
665
|
+
// },
|
666
|
+
/**
|
667
|
+
* Adds this word with the passed word.
|
668
|
+
*
|
669
|
+
* @param {X64Word} word The x64-Word to add with this word.
|
670
|
+
*
|
671
|
+
* @return {X64Word} A new x64-Word object after adding.
|
672
|
+
*
|
673
|
+
* @example
|
674
|
+
*
|
675
|
+
* var added = x64Word.add(anotherX64Word);
|
676
|
+
*/
|
677
|
+
// add: function (word) {
|
678
|
+
// var low = (this.low + word.low) | 0;
|
679
|
+
// var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
|
680
|
+
// var high = (this.high + word.high + carry) | 0;
|
681
|
+
// return X64Word.create(high, low);
|
682
|
+
// }
|
683
|
+
}), d.WordArray = w.extend({
|
684
|
+
/**
|
685
|
+
* Initializes a newly created word array.
|
686
|
+
*
|
687
|
+
* @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
|
688
|
+
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
|
689
|
+
*
|
690
|
+
* @example
|
691
|
+
*
|
692
|
+
* var wordArray = CryptoJS.x64.WordArray.create();
|
693
|
+
*
|
694
|
+
* var wordArray = CryptoJS.x64.WordArray.create([
|
695
|
+
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
|
696
|
+
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
|
697
|
+
* ]);
|
698
|
+
*
|
699
|
+
* var wordArray = CryptoJS.x64.WordArray.create([
|
700
|
+
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
|
701
|
+
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
|
702
|
+
* ], 10);
|
703
|
+
*/
|
704
|
+
init: function(x, e) {
|
705
|
+
x = this.words = x || [], e != n ? this.sigBytes = e : this.sigBytes = x.length * 8;
|
706
|
+
},
|
707
|
+
/**
|
708
|
+
* Converts this 64-bit word array to a 32-bit word array.
|
709
|
+
*
|
710
|
+
* @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
|
711
|
+
*
|
712
|
+
* @example
|
713
|
+
*
|
714
|
+
* var x32WordArray = x64WordArray.toX32();
|
715
|
+
*/
|
716
|
+
toX32: function() {
|
717
|
+
for (var x = this.words, e = x.length, u = [], r = 0; r < e; r++) {
|
718
|
+
var s = x[r];
|
719
|
+
u.push(s.high), u.push(s.low);
|
720
|
+
}
|
721
|
+
return B.create(u, this.sigBytes);
|
722
|
+
},
|
723
|
+
/**
|
724
|
+
* Creates a copy of this word array.
|
725
|
+
*
|
726
|
+
* @return {X64WordArray} The clone.
|
727
|
+
*
|
728
|
+
* @example
|
729
|
+
*
|
730
|
+
* var clone = x64WordArray.clone();
|
731
|
+
*/
|
732
|
+
clone: function() {
|
733
|
+
for (var x = w.clone.call(this), e = x.words = this.words.slice(0), u = e.length, r = 0; r < u; r++)
|
734
|
+
e[r] = e[r].clone();
|
735
|
+
return x;
|
736
|
+
}
|
737
|
+
});
|
738
|
+
}(), C;
|
739
|
+
});
|
740
|
+
}(D0)), D0.exports;
|
741
|
+
}
|
742
|
+
var p0 = { exports: {} }, lx;
|
743
|
+
function Er() {
|
744
|
+
return lx || (lx = 1, function(R, T) {
|
745
|
+
(function(C, n) {
|
746
|
+
R.exports = n(I());
|
747
|
+
})(W, function(C) {
|
748
|
+
return function() {
|
749
|
+
if (typeof ArrayBuffer == "function") {
|
750
|
+
var n = C, p = n.lib, D = p.WordArray, w = D.init, B = D.init = function(d) {
|
751
|
+
if (d instanceof ArrayBuffer && (d = new Uint8Array(d)), (d instanceof Int8Array || typeof Uint8ClampedArray < "u" && d instanceof Uint8ClampedArray || d instanceof Int16Array || d instanceof Uint16Array || d instanceof Int32Array || d instanceof Uint32Array || d instanceof Float32Array || d instanceof Float64Array) && (d = new Uint8Array(d.buffer, d.byteOffset, d.byteLength)), d instanceof Uint8Array) {
|
752
|
+
for (var x = d.byteLength, e = [], u = 0; u < x; u++)
|
753
|
+
e[u >>> 2] |= d[u] << 24 - u % 4 * 8;
|
754
|
+
w.call(this, e, x);
|
755
|
+
} else
|
756
|
+
w.apply(this, arguments);
|
757
|
+
};
|
758
|
+
B.prototype = D;
|
759
|
+
}
|
760
|
+
}(), C.lib.WordArray;
|
761
|
+
});
|
762
|
+
}(p0)), p0.exports;
|
763
|
+
}
|
764
|
+
var _0 = { exports: {} }, Ex;
|
765
|
+
function Ar() {
|
766
|
+
return Ex || (Ex = 1, function(R, T) {
|
767
|
+
(function(C, n) {
|
768
|
+
R.exports = n(I());
|
769
|
+
})(W, function(C) {
|
770
|
+
return function() {
|
771
|
+
var n = C, p = n.lib, D = p.WordArray, w = n.enc;
|
772
|
+
w.Utf16 = w.Utf16BE = {
|
773
|
+
/**
|
774
|
+
* Converts a word array to a UTF-16 BE string.
|
775
|
+
*
|
776
|
+
* @param {WordArray} wordArray The word array.
|
777
|
+
*
|
778
|
+
* @return {string} The UTF-16 BE string.
|
779
|
+
*
|
780
|
+
* @static
|
781
|
+
*
|
782
|
+
* @example
|
783
|
+
*
|
784
|
+
* var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
|
785
|
+
*/
|
786
|
+
stringify: function(d) {
|
787
|
+
for (var x = d.words, e = d.sigBytes, u = [], r = 0; r < e; r += 2) {
|
788
|
+
var s = x[r >>> 2] >>> 16 - r % 4 * 8 & 65535;
|
789
|
+
u.push(String.fromCharCode(s));
|
790
|
+
}
|
791
|
+
return u.join("");
|
792
|
+
},
|
793
|
+
/**
|
794
|
+
* Converts a UTF-16 BE string to a word array.
|
795
|
+
*
|
796
|
+
* @param {string} utf16Str The UTF-16 BE string.
|
797
|
+
*
|
798
|
+
* @return {WordArray} The word array.
|
799
|
+
*
|
800
|
+
* @static
|
801
|
+
*
|
802
|
+
* @example
|
803
|
+
*
|
804
|
+
* var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
|
805
|
+
*/
|
806
|
+
parse: function(d) {
|
807
|
+
for (var x = d.length, e = [], u = 0; u < x; u++)
|
808
|
+
e[u >>> 1] |= d.charCodeAt(u) << 16 - u % 2 * 16;
|
809
|
+
return D.create(e, x * 2);
|
810
|
+
}
|
811
|
+
}, w.Utf16LE = {
|
812
|
+
/**
|
813
|
+
* Converts a word array to a UTF-16 LE string.
|
814
|
+
*
|
815
|
+
* @param {WordArray} wordArray The word array.
|
816
|
+
*
|
817
|
+
* @return {string} The UTF-16 LE string.
|
818
|
+
*
|
819
|
+
* @static
|
820
|
+
*
|
821
|
+
* @example
|
822
|
+
*
|
823
|
+
* var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
|
824
|
+
*/
|
825
|
+
stringify: function(d) {
|
826
|
+
for (var x = d.words, e = d.sigBytes, u = [], r = 0; r < e; r += 2) {
|
827
|
+
var s = B(x[r >>> 2] >>> 16 - r % 4 * 8 & 65535);
|
828
|
+
u.push(String.fromCharCode(s));
|
829
|
+
}
|
830
|
+
return u.join("");
|
831
|
+
},
|
832
|
+
/**
|
833
|
+
* Converts a UTF-16 LE string to a word array.
|
834
|
+
*
|
835
|
+
* @param {string} utf16Str The UTF-16 LE string.
|
836
|
+
*
|
837
|
+
* @return {WordArray} The word array.
|
838
|
+
*
|
839
|
+
* @static
|
840
|
+
*
|
841
|
+
* @example
|
842
|
+
*
|
843
|
+
* var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
|
844
|
+
*/
|
845
|
+
parse: function(d) {
|
846
|
+
for (var x = d.length, e = [], u = 0; u < x; u++)
|
847
|
+
e[u >>> 1] |= B(d.charCodeAt(u) << 16 - u % 2 * 16);
|
848
|
+
return D.create(e, x * 2);
|
849
|
+
}
|
850
|
+
};
|
851
|
+
function B(d) {
|
852
|
+
return d << 8 & 4278255360 | d >>> 8 & 16711935;
|
853
|
+
}
|
854
|
+
}(), C.enc.Utf16;
|
855
|
+
});
|
856
|
+
}(_0)), _0.exports;
|
857
|
+
}
|
858
|
+
var b0 = { exports: {} }, Ax;
|
859
|
+
function e0() {
|
860
|
+
return Ax || (Ax = 1, function(R, T) {
|
861
|
+
(function(C, n) {
|
862
|
+
R.exports = n(I());
|
863
|
+
})(W, function(C) {
|
864
|
+
return function() {
|
865
|
+
var n = C, p = n.lib, D = p.WordArray, w = n.enc;
|
866
|
+
w.Base64 = {
|
867
|
+
/**
|
868
|
+
* Converts a word array to a Base64 string.
|
869
|
+
*
|
870
|
+
* @param {WordArray} wordArray The word array.
|
871
|
+
*
|
872
|
+
* @return {string} The Base64 string.
|
873
|
+
*
|
874
|
+
* @static
|
875
|
+
*
|
876
|
+
* @example
|
877
|
+
*
|
878
|
+
* var base64String = CryptoJS.enc.Base64.stringify(wordArray);
|
879
|
+
*/
|
880
|
+
stringify: function(d) {
|
881
|
+
var x = d.words, e = d.sigBytes, u = this._map;
|
882
|
+
d.clamp();
|
883
|
+
for (var r = [], s = 0; s < e; s += 3)
|
884
|
+
for (var o = x[s >>> 2] >>> 24 - s % 4 * 8 & 255, c = x[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255, f = x[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, h = o << 16 | c << 8 | f, t = 0; t < 4 && s + t * 0.75 < e; t++)
|
885
|
+
r.push(u.charAt(h >>> 6 * (3 - t) & 63));
|
886
|
+
var a = u.charAt(64);
|
887
|
+
if (a)
|
888
|
+
for (; r.length % 4; )
|
889
|
+
r.push(a);
|
890
|
+
return r.join("");
|
891
|
+
},
|
892
|
+
/**
|
893
|
+
* Converts a Base64 string to a word array.
|
894
|
+
*
|
895
|
+
* @param {string} base64Str The Base64 string.
|
896
|
+
*
|
897
|
+
* @return {WordArray} The word array.
|
898
|
+
*
|
899
|
+
* @static
|
900
|
+
*
|
901
|
+
* @example
|
902
|
+
*
|
903
|
+
* var wordArray = CryptoJS.enc.Base64.parse(base64String);
|
904
|
+
*/
|
905
|
+
parse: function(d) {
|
906
|
+
var x = d.length, e = this._map, u = this._reverseMap;
|
907
|
+
if (!u) {
|
908
|
+
u = this._reverseMap = [];
|
909
|
+
for (var r = 0; r < e.length; r++)
|
910
|
+
u[e.charCodeAt(r)] = r;
|
911
|
+
}
|
912
|
+
var s = e.charAt(64);
|
913
|
+
if (s) {
|
914
|
+
var o = d.indexOf(s);
|
915
|
+
o !== -1 && (x = o);
|
916
|
+
}
|
917
|
+
return B(d, x, u);
|
918
|
+
},
|
919
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
920
|
+
};
|
921
|
+
function B(d, x, e) {
|
922
|
+
for (var u = [], r = 0, s = 0; s < x; s++)
|
923
|
+
if (s % 4) {
|
924
|
+
var o = e[d.charCodeAt(s - 1)] << s % 4 * 2, c = e[d.charCodeAt(s)] >>> 6 - s % 4 * 2, f = o | c;
|
925
|
+
u[r >>> 2] |= f << 24 - r % 4 * 8, r++;
|
926
|
+
}
|
927
|
+
return D.create(u, r);
|
928
|
+
}
|
929
|
+
}(), C.enc.Base64;
|
930
|
+
});
|
931
|
+
}(b0)), b0.exports;
|
932
|
+
}
|
933
|
+
var g0 = { exports: {} }, Fx;
|
934
|
+
function Fr() {
|
935
|
+
return Fx || (Fx = 1, function(R, T) {
|
936
|
+
(function(C, n) {
|
937
|
+
R.exports = n(I());
|
938
|
+
})(W, function(C) {
|
939
|
+
return function() {
|
940
|
+
var n = C, p = n.lib, D = p.WordArray, w = n.enc;
|
941
|
+
w.Base64url = {
|
942
|
+
/**
|
943
|
+
* Converts a word array to a Base64url string.
|
944
|
+
*
|
945
|
+
* @param {WordArray} wordArray The word array.
|
946
|
+
*
|
947
|
+
* @param {boolean} urlSafe Whether to use url safe
|
948
|
+
*
|
949
|
+
* @return {string} The Base64url string.
|
950
|
+
*
|
951
|
+
* @static
|
952
|
+
*
|
953
|
+
* @example
|
954
|
+
*
|
955
|
+
* var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
|
956
|
+
*/
|
957
|
+
stringify: function(d, x) {
|
958
|
+
x === void 0 && (x = !0);
|
959
|
+
var e = d.words, u = d.sigBytes, r = x ? this._safe_map : this._map;
|
960
|
+
d.clamp();
|
961
|
+
for (var s = [], o = 0; o < u; o += 3)
|
962
|
+
for (var c = e[o >>> 2] >>> 24 - o % 4 * 8 & 255, f = e[o + 1 >>> 2] >>> 24 - (o + 1) % 4 * 8 & 255, h = e[o + 2 >>> 2] >>> 24 - (o + 2) % 4 * 8 & 255, t = c << 16 | f << 8 | h, a = 0; a < 4 && o + a * 0.75 < u; a++)
|
963
|
+
s.push(r.charAt(t >>> 6 * (3 - a) & 63));
|
964
|
+
var i = r.charAt(64);
|
965
|
+
if (i)
|
966
|
+
for (; s.length % 4; )
|
967
|
+
s.push(i);
|
968
|
+
return s.join("");
|
969
|
+
},
|
970
|
+
/**
|
971
|
+
* Converts a Base64url string to a word array.
|
972
|
+
*
|
973
|
+
* @param {string} base64Str The Base64url string.
|
974
|
+
*
|
975
|
+
* @param {boolean} urlSafe Whether to use url safe
|
976
|
+
*
|
977
|
+
* @return {WordArray} The word array.
|
978
|
+
*
|
979
|
+
* @static
|
980
|
+
*
|
981
|
+
* @example
|
982
|
+
*
|
983
|
+
* var wordArray = CryptoJS.enc.Base64url.parse(base64String);
|
984
|
+
*/
|
985
|
+
parse: function(d, x) {
|
986
|
+
x === void 0 && (x = !0);
|
987
|
+
var e = d.length, u = x ? this._safe_map : this._map, r = this._reverseMap;
|
988
|
+
if (!r) {
|
989
|
+
r = this._reverseMap = [];
|
990
|
+
for (var s = 0; s < u.length; s++)
|
991
|
+
r[u.charCodeAt(s)] = s;
|
992
|
+
}
|
993
|
+
var o = u.charAt(64);
|
994
|
+
if (o) {
|
995
|
+
var c = d.indexOf(o);
|
996
|
+
c !== -1 && (e = c);
|
997
|
+
}
|
998
|
+
return B(d, e, r);
|
999
|
+
},
|
1000
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
1001
|
+
_safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
|
1002
|
+
};
|
1003
|
+
function B(d, x, e) {
|
1004
|
+
for (var u = [], r = 0, s = 0; s < x; s++)
|
1005
|
+
if (s % 4) {
|
1006
|
+
var o = e[d.charCodeAt(s - 1)] << s % 4 * 2, c = e[d.charCodeAt(s)] >>> 6 - s % 4 * 2, f = o | c;
|
1007
|
+
u[r >>> 2] |= f << 24 - r % 4 * 8, r++;
|
1008
|
+
}
|
1009
|
+
return D.create(u, r);
|
1010
|
+
}
|
1011
|
+
}(), C.enc.Base64url;
|
1012
|
+
});
|
1013
|
+
}(g0)), g0.exports;
|
1014
|
+
}
|
1015
|
+
var y0 = { exports: {} }, Dx;
|
1016
|
+
function t0() {
|
1017
|
+
return Dx || (Dx = 1, function(R, T) {
|
1018
|
+
(function(C, n) {
|
1019
|
+
R.exports = n(I());
|
1020
|
+
})(W, function(C) {
|
1021
|
+
return function(n) {
|
1022
|
+
var p = C, D = p.lib, w = D.WordArray, B = D.Hasher, d = p.algo, x = [];
|
1023
|
+
(function() {
|
1024
|
+
for (var c = 0; c < 64; c++)
|
1025
|
+
x[c] = n.abs(n.sin(c + 1)) * 4294967296 | 0;
|
1026
|
+
})();
|
1027
|
+
var e = d.MD5 = B.extend({
|
1028
|
+
_doReset: function() {
|
1029
|
+
this._hash = new w.init([
|
1030
|
+
1732584193,
|
1031
|
+
4023233417,
|
1032
|
+
2562383102,
|
1033
|
+
271733878
|
1034
|
+
]);
|
1035
|
+
},
|
1036
|
+
_doProcessBlock: function(c, f) {
|
1037
|
+
for (var h = 0; h < 16; h++) {
|
1038
|
+
var t = f + h, a = c[t];
|
1039
|
+
c[t] = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360;
|
1040
|
+
}
|
1041
|
+
var i = this._hash.words, E = c[f + 0], l = c[f + 1], A = c[f + 2], _ = c[f + 3], S = c[f + 4], v = c[f + 5], F = c[f + 6], g = c[f + 7], y = c[f + 8], z = c[f + 9], q = c[f + 10], P = c[f + 11], U = c[f + 12], N = c[f + 13], O = c[f + 14], X = c[f + 15], b = i[0], H = i[1], m = i[2], k = i[3];
|
1042
|
+
b = u(b, H, m, k, E, 7, x[0]), k = u(k, b, H, m, l, 12, x[1]), m = u(m, k, b, H, A, 17, x[2]), H = u(H, m, k, b, _, 22, x[3]), b = u(b, H, m, k, S, 7, x[4]), k = u(k, b, H, m, v, 12, x[5]), m = u(m, k, b, H, F, 17, x[6]), H = u(H, m, k, b, g, 22, x[7]), b = u(b, H, m, k, y, 7, x[8]), k = u(k, b, H, m, z, 12, x[9]), m = u(m, k, b, H, q, 17, x[10]), H = u(H, m, k, b, P, 22, x[11]), b = u(b, H, m, k, U, 7, x[12]), k = u(k, b, H, m, N, 12, x[13]), m = u(m, k, b, H, O, 17, x[14]), H = u(H, m, k, b, X, 22, x[15]), b = r(b, H, m, k, l, 5, x[16]), k = r(k, b, H, m, F, 9, x[17]), m = r(m, k, b, H, P, 14, x[18]), H = r(H, m, k, b, E, 20, x[19]), b = r(b, H, m, k, v, 5, x[20]), k = r(k, b, H, m, q, 9, x[21]), m = r(m, k, b, H, X, 14, x[22]), H = r(H, m, k, b, S, 20, x[23]), b = r(b, H, m, k, z, 5, x[24]), k = r(k, b, H, m, O, 9, x[25]), m = r(m, k, b, H, _, 14, x[26]), H = r(H, m, k, b, y, 20, x[27]), b = r(b, H, m, k, N, 5, x[28]), k = r(k, b, H, m, A, 9, x[29]), m = r(m, k, b, H, g, 14, x[30]), H = r(H, m, k, b, U, 20, x[31]), b = s(b, H, m, k, v, 4, x[32]), k = s(k, b, H, m, y, 11, x[33]), m = s(m, k, b, H, P, 16, x[34]), H = s(H, m, k, b, O, 23, x[35]), b = s(b, H, m, k, l, 4, x[36]), k = s(k, b, H, m, S, 11, x[37]), m = s(m, k, b, H, g, 16, x[38]), H = s(H, m, k, b, q, 23, x[39]), b = s(b, H, m, k, N, 4, x[40]), k = s(k, b, H, m, E, 11, x[41]), m = s(m, k, b, H, _, 16, x[42]), H = s(H, m, k, b, F, 23, x[43]), b = s(b, H, m, k, z, 4, x[44]), k = s(k, b, H, m, U, 11, x[45]), m = s(m, k, b, H, X, 16, x[46]), H = s(H, m, k, b, A, 23, x[47]), b = o(b, H, m, k, E, 6, x[48]), k = o(k, b, H, m, g, 10, x[49]), m = o(m, k, b, H, O, 15, x[50]), H = o(H, m, k, b, v, 21, x[51]), b = o(b, H, m, k, U, 6, x[52]), k = o(k, b, H, m, _, 10, x[53]), m = o(m, k, b, H, q, 15, x[54]), H = o(H, m, k, b, l, 21, x[55]), b = o(b, H, m, k, y, 6, x[56]), k = o(k, b, H, m, X, 10, x[57]), m = o(m, k, b, H, F, 15, x[58]), H = o(H, m, k, b, N, 21, x[59]), b = o(b, H, m, k, S, 6, x[60]), k = o(k, b, H, m, P, 10, x[61]), m = o(m, k, b, H, A, 15, x[62]), H = o(H, m, k, b, z, 21, x[63]), i[0] = i[0] + b | 0, i[1] = i[1] + H | 0, i[2] = i[2] + m | 0, i[3] = i[3] + k | 0;
|
1043
|
+
},
|
1044
|
+
_doFinalize: function() {
|
1045
|
+
var c = this._data, f = c.words, h = this._nDataBytes * 8, t = c.sigBytes * 8;
|
1046
|
+
f[t >>> 5] |= 128 << 24 - t % 32;
|
1047
|
+
var a = n.floor(h / 4294967296), i = h;
|
1048
|
+
f[(t + 64 >>> 9 << 4) + 15] = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360, f[(t + 64 >>> 9 << 4) + 14] = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, c.sigBytes = (f.length + 1) * 4, this._process();
|
1049
|
+
for (var E = this._hash, l = E.words, A = 0; A < 4; A++) {
|
1050
|
+
var _ = l[A];
|
1051
|
+
l[A] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360;
|
1052
|
+
}
|
1053
|
+
return E;
|
1054
|
+
},
|
1055
|
+
clone: function() {
|
1056
|
+
var c = B.clone.call(this);
|
1057
|
+
return c._hash = this._hash.clone(), c;
|
1058
|
+
}
|
1059
|
+
});
|
1060
|
+
function u(c, f, h, t, a, i, E) {
|
1061
|
+
var l = c + (f & h | ~f & t) + a + E;
|
1062
|
+
return (l << i | l >>> 32 - i) + f;
|
1063
|
+
}
|
1064
|
+
function r(c, f, h, t, a, i, E) {
|
1065
|
+
var l = c + (f & t | h & ~t) + a + E;
|
1066
|
+
return (l << i | l >>> 32 - i) + f;
|
1067
|
+
}
|
1068
|
+
function s(c, f, h, t, a, i, E) {
|
1069
|
+
var l = c + (f ^ h ^ t) + a + E;
|
1070
|
+
return (l << i | l >>> 32 - i) + f;
|
1071
|
+
}
|
1072
|
+
function o(c, f, h, t, a, i, E) {
|
1073
|
+
var l = c + (h ^ (f | ~t)) + a + E;
|
1074
|
+
return (l << i | l >>> 32 - i) + f;
|
1075
|
+
}
|
1076
|
+
p.MD5 = B._createHelper(e), p.HmacMD5 = B._createHmacHelper(e);
|
1077
|
+
}(Math), C.MD5;
|
1078
|
+
});
|
1079
|
+
}(y0)), y0.exports;
|
1080
|
+
}
|
1081
|
+
var k0 = { exports: {} }, px;
|
1082
|
+
function Mx() {
|
1083
|
+
return px || (px = 1, function(R, T) {
|
1084
|
+
(function(C, n) {
|
1085
|
+
R.exports = n(I());
|
1086
|
+
})(W, function(C) {
|
1087
|
+
return function() {
|
1088
|
+
var n = C, p = n.lib, D = p.WordArray, w = p.Hasher, B = n.algo, d = [], x = B.SHA1 = w.extend({
|
1089
|
+
_doReset: function() {
|
1090
|
+
this._hash = new D.init([
|
1091
|
+
1732584193,
|
1092
|
+
4023233417,
|
1093
|
+
2562383102,
|
1094
|
+
271733878,
|
1095
|
+
3285377520
|
1096
|
+
]);
|
1097
|
+
},
|
1098
|
+
_doProcessBlock: function(e, u) {
|
1099
|
+
for (var r = this._hash.words, s = r[0], o = r[1], c = r[2], f = r[3], h = r[4], t = 0; t < 80; t++) {
|
1100
|
+
if (t < 16)
|
1101
|
+
d[t] = e[u + t] | 0;
|
1102
|
+
else {
|
1103
|
+
var a = d[t - 3] ^ d[t - 8] ^ d[t - 14] ^ d[t - 16];
|
1104
|
+
d[t] = a << 1 | a >>> 31;
|
1105
|
+
}
|
1106
|
+
var i = (s << 5 | s >>> 27) + h + d[t];
|
1107
|
+
t < 20 ? i += (o & c | ~o & f) + 1518500249 : t < 40 ? i += (o ^ c ^ f) + 1859775393 : t < 60 ? i += (o & c | o & f | c & f) - 1894007588 : i += (o ^ c ^ f) - 899497514, h = f, f = c, c = o << 30 | o >>> 2, o = s, s = i;
|
1108
|
+
}
|
1109
|
+
r[0] = r[0] + s | 0, r[1] = r[1] + o | 0, r[2] = r[2] + c | 0, r[3] = r[3] + f | 0, r[4] = r[4] + h | 0;
|
1110
|
+
},
|
1111
|
+
_doFinalize: function() {
|
1112
|
+
var e = this._data, u = e.words, r = this._nDataBytes * 8, s = e.sigBytes * 8;
|
1113
|
+
return u[s >>> 5] |= 128 << 24 - s % 32, u[(s + 64 >>> 9 << 4) + 14] = Math.floor(r / 4294967296), u[(s + 64 >>> 9 << 4) + 15] = r, e.sigBytes = u.length * 4, this._process(), this._hash;
|
1114
|
+
},
|
1115
|
+
clone: function() {
|
1116
|
+
var e = w.clone.call(this);
|
1117
|
+
return e._hash = this._hash.clone(), e;
|
1118
|
+
}
|
1119
|
+
});
|
1120
|
+
n.SHA1 = w._createHelper(x), n.HmacSHA1 = w._createHmacHelper(x);
|
1121
|
+
}(), C.SHA1;
|
1122
|
+
});
|
1123
|
+
}(k0)), k0.exports;
|
1124
|
+
}
|
1125
|
+
var w0 = { exports: {} }, _x;
|
1126
|
+
function rx() {
|
1127
|
+
return _x || (_x = 1, function(R, T) {
|
1128
|
+
(function(C, n) {
|
1129
|
+
R.exports = n(I());
|
1130
|
+
})(W, function(C) {
|
1131
|
+
return function(n) {
|
1132
|
+
var p = C, D = p.lib, w = D.WordArray, B = D.Hasher, d = p.algo, x = [], e = [];
|
1133
|
+
(function() {
|
1134
|
+
function s(h) {
|
1135
|
+
for (var t = n.sqrt(h), a = 2; a <= t; a++)
|
1136
|
+
if (!(h % a))
|
1137
|
+
return !1;
|
1138
|
+
return !0;
|
1139
|
+
}
|
1140
|
+
function o(h) {
|
1141
|
+
return (h - (h | 0)) * 4294967296 | 0;
|
1142
|
+
}
|
1143
|
+
for (var c = 2, f = 0; f < 64; )
|
1144
|
+
s(c) && (f < 8 && (x[f] = o(n.pow(c, 1 / 2))), e[f] = o(n.pow(c, 1 / 3)), f++), c++;
|
1145
|
+
})();
|
1146
|
+
var u = [], r = d.SHA256 = B.extend({
|
1147
|
+
_doReset: function() {
|
1148
|
+
this._hash = new w.init(x.slice(0));
|
1149
|
+
},
|
1150
|
+
_doProcessBlock: function(s, o) {
|
1151
|
+
for (var c = this._hash.words, f = c[0], h = c[1], t = c[2], a = c[3], i = c[4], E = c[5], l = c[6], A = c[7], _ = 0; _ < 64; _++) {
|
1152
|
+
if (_ < 16)
|
1153
|
+
u[_] = s[o + _] | 0;
|
1154
|
+
else {
|
1155
|
+
var S = u[_ - 15], v = (S << 25 | S >>> 7) ^ (S << 14 | S >>> 18) ^ S >>> 3, F = u[_ - 2], g = (F << 15 | F >>> 17) ^ (F << 13 | F >>> 19) ^ F >>> 10;
|
1156
|
+
u[_] = v + u[_ - 7] + g + u[_ - 16];
|
1157
|
+
}
|
1158
|
+
var y = i & E ^ ~i & l, z = f & h ^ f & t ^ h & t, q = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), P = (i << 26 | i >>> 6) ^ (i << 21 | i >>> 11) ^ (i << 7 | i >>> 25), U = A + P + y + e[_] + u[_], N = q + z;
|
1159
|
+
A = l, l = E, E = i, i = a + U | 0, a = t, t = h, h = f, f = U + N | 0;
|
1160
|
+
}
|
1161
|
+
c[0] = c[0] + f | 0, c[1] = c[1] + h | 0, c[2] = c[2] + t | 0, c[3] = c[3] + a | 0, c[4] = c[4] + i | 0, c[5] = c[5] + E | 0, c[6] = c[6] + l | 0, c[7] = c[7] + A | 0;
|
1162
|
+
},
|
1163
|
+
_doFinalize: function() {
|
1164
|
+
var s = this._data, o = s.words, c = this._nDataBytes * 8, f = s.sigBytes * 8;
|
1165
|
+
return o[f >>> 5] |= 128 << 24 - f % 32, o[(f + 64 >>> 9 << 4) + 14] = n.floor(c / 4294967296), o[(f + 64 >>> 9 << 4) + 15] = c, s.sigBytes = o.length * 4, this._process(), this._hash;
|
1166
|
+
},
|
1167
|
+
clone: function() {
|
1168
|
+
var s = B.clone.call(this);
|
1169
|
+
return s._hash = this._hash.clone(), s;
|
1170
|
+
}
|
1171
|
+
});
|
1172
|
+
p.SHA256 = B._createHelper(r), p.HmacSHA256 = B._createHmacHelper(r);
|
1173
|
+
}(Math), C.SHA256;
|
1174
|
+
});
|
1175
|
+
}(w0)), w0.exports;
|
1176
|
+
}
|
1177
|
+
var H0 = { exports: {} }, bx;
|
1178
|
+
function Dr() {
|
1179
|
+
return bx || (bx = 1, function(R, T) {
|
1180
|
+
(function(C, n, p) {
|
1181
|
+
R.exports = n(I(), rx());
|
1182
|
+
})(W, function(C) {
|
1183
|
+
return function() {
|
1184
|
+
var n = C, p = n.lib, D = p.WordArray, w = n.algo, B = w.SHA256, d = w.SHA224 = B.extend({
|
1185
|
+
_doReset: function() {
|
1186
|
+
this._hash = new D.init([
|
1187
|
+
3238371032,
|
1188
|
+
914150663,
|
1189
|
+
812702999,
|
1190
|
+
4144912697,
|
1191
|
+
4290775857,
|
1192
|
+
1750603025,
|
1193
|
+
1694076839,
|
1194
|
+
3204075428
|
1195
|
+
]);
|
1196
|
+
},
|
1197
|
+
_doFinalize: function() {
|
1198
|
+
var x = B._doFinalize.call(this);
|
1199
|
+
return x.sigBytes -= 4, x;
|
1200
|
+
}
|
1201
|
+
});
|
1202
|
+
n.SHA224 = B._createHelper(d), n.HmacSHA224 = B._createHmacHelper(d);
|
1203
|
+
}(), C.SHA224;
|
1204
|
+
});
|
1205
|
+
}(H0)), H0.exports;
|
1206
|
+
}
|
1207
|
+
var m0 = { exports: {} }, gx;
|
1208
|
+
function Vx() {
|
1209
|
+
return gx || (gx = 1, function(R, T) {
|
1210
|
+
(function(C, n, p) {
|
1211
|
+
R.exports = n(I(), l0());
|
1212
|
+
})(W, function(C) {
|
1213
|
+
return function() {
|
1214
|
+
var n = C, p = n.lib, D = p.Hasher, w = n.x64, B = w.Word, d = w.WordArray, x = n.algo;
|
1215
|
+
function e() {
|
1216
|
+
return B.create.apply(B, arguments);
|
1217
|
+
}
|
1218
|
+
var u = [
|
1219
|
+
e(1116352408, 3609767458),
|
1220
|
+
e(1899447441, 602891725),
|
1221
|
+
e(3049323471, 3964484399),
|
1222
|
+
e(3921009573, 2173295548),
|
1223
|
+
e(961987163, 4081628472),
|
1224
|
+
e(1508970993, 3053834265),
|
1225
|
+
e(2453635748, 2937671579),
|
1226
|
+
e(2870763221, 3664609560),
|
1227
|
+
e(3624381080, 2734883394),
|
1228
|
+
e(310598401, 1164996542),
|
1229
|
+
e(607225278, 1323610764),
|
1230
|
+
e(1426881987, 3590304994),
|
1231
|
+
e(1925078388, 4068182383),
|
1232
|
+
e(2162078206, 991336113),
|
1233
|
+
e(2614888103, 633803317),
|
1234
|
+
e(3248222580, 3479774868),
|
1235
|
+
e(3835390401, 2666613458),
|
1236
|
+
e(4022224774, 944711139),
|
1237
|
+
e(264347078, 2341262773),
|
1238
|
+
e(604807628, 2007800933),
|
1239
|
+
e(770255983, 1495990901),
|
1240
|
+
e(1249150122, 1856431235),
|
1241
|
+
e(1555081692, 3175218132),
|
1242
|
+
e(1996064986, 2198950837),
|
1243
|
+
e(2554220882, 3999719339),
|
1244
|
+
e(2821834349, 766784016),
|
1245
|
+
e(2952996808, 2566594879),
|
1246
|
+
e(3210313671, 3203337956),
|
1247
|
+
e(3336571891, 1034457026),
|
1248
|
+
e(3584528711, 2466948901),
|
1249
|
+
e(113926993, 3758326383),
|
1250
|
+
e(338241895, 168717936),
|
1251
|
+
e(666307205, 1188179964),
|
1252
|
+
e(773529912, 1546045734),
|
1253
|
+
e(1294757372, 1522805485),
|
1254
|
+
e(1396182291, 2643833823),
|
1255
|
+
e(1695183700, 2343527390),
|
1256
|
+
e(1986661051, 1014477480),
|
1257
|
+
e(2177026350, 1206759142),
|
1258
|
+
e(2456956037, 344077627),
|
1259
|
+
e(2730485921, 1290863460),
|
1260
|
+
e(2820302411, 3158454273),
|
1261
|
+
e(3259730800, 3505952657),
|
1262
|
+
e(3345764771, 106217008),
|
1263
|
+
e(3516065817, 3606008344),
|
1264
|
+
e(3600352804, 1432725776),
|
1265
|
+
e(4094571909, 1467031594),
|
1266
|
+
e(275423344, 851169720),
|
1267
|
+
e(430227734, 3100823752),
|
1268
|
+
e(506948616, 1363258195),
|
1269
|
+
e(659060556, 3750685593),
|
1270
|
+
e(883997877, 3785050280),
|
1271
|
+
e(958139571, 3318307427),
|
1272
|
+
e(1322822218, 3812723403),
|
1273
|
+
e(1537002063, 2003034995),
|
1274
|
+
e(1747873779, 3602036899),
|
1275
|
+
e(1955562222, 1575990012),
|
1276
|
+
e(2024104815, 1125592928),
|
1277
|
+
e(2227730452, 2716904306),
|
1278
|
+
e(2361852424, 442776044),
|
1279
|
+
e(2428436474, 593698344),
|
1280
|
+
e(2756734187, 3733110249),
|
1281
|
+
e(3204031479, 2999351573),
|
1282
|
+
e(3329325298, 3815920427),
|
1283
|
+
e(3391569614, 3928383900),
|
1284
|
+
e(3515267271, 566280711),
|
1285
|
+
e(3940187606, 3454069534),
|
1286
|
+
e(4118630271, 4000239992),
|
1287
|
+
e(116418474, 1914138554),
|
1288
|
+
e(174292421, 2731055270),
|
1289
|
+
e(289380356, 3203993006),
|
1290
|
+
e(460393269, 320620315),
|
1291
|
+
e(685471733, 587496836),
|
1292
|
+
e(852142971, 1086792851),
|
1293
|
+
e(1017036298, 365543100),
|
1294
|
+
e(1126000580, 2618297676),
|
1295
|
+
e(1288033470, 3409855158),
|
1296
|
+
e(1501505948, 4234509866),
|
1297
|
+
e(1607167915, 987167468),
|
1298
|
+
e(1816402316, 1246189591)
|
1299
|
+
], r = [];
|
1300
|
+
(function() {
|
1301
|
+
for (var o = 0; o < 80; o++)
|
1302
|
+
r[o] = e();
|
1303
|
+
})();
|
1304
|
+
var s = x.SHA512 = D.extend({
|
1305
|
+
_doReset: function() {
|
1306
|
+
this._hash = new d.init([
|
1307
|
+
new B.init(1779033703, 4089235720),
|
1308
|
+
new B.init(3144134277, 2227873595),
|
1309
|
+
new B.init(1013904242, 4271175723),
|
1310
|
+
new B.init(2773480762, 1595750129),
|
1311
|
+
new B.init(1359893119, 2917565137),
|
1312
|
+
new B.init(2600822924, 725511199),
|
1313
|
+
new B.init(528734635, 4215389547),
|
1314
|
+
new B.init(1541459225, 327033209)
|
1315
|
+
]);
|
1316
|
+
},
|
1317
|
+
_doProcessBlock: function(o, c) {
|
1318
|
+
for (var f = this._hash.words, h = f[0], t = f[1], a = f[2], i = f[3], E = f[4], l = f[5], A = f[6], _ = f[7], S = h.high, v = h.low, F = t.high, g = t.low, y = a.high, z = a.low, q = i.high, P = i.low, U = E.high, N = E.low, O = l.high, X = l.low, b = A.high, H = A.low, m = _.high, k = _.low, G = S, K = v, $ = F, L = g, i0 = y, a0 = z, E0 = q, f0 = P, M = U, Q = N, d0 = O, s0 = X, h0 = b, c0 = H, A0 = m, v0 = k, V = 0; V < 80; V++) {
|
1319
|
+
var j, J, C0 = r[V];
|
1320
|
+
if (V < 16)
|
1321
|
+
J = C0.high = o[c + V * 2] | 0, j = C0.low = o[c + V * 2 + 1] | 0;
|
1322
|
+
else {
|
1323
|
+
var tx = r[V - 15], n0 = tx.high, B0 = tx.low, Jx = (n0 >>> 1 | B0 << 31) ^ (n0 >>> 8 | B0 << 24) ^ n0 >>> 7, ax = (B0 >>> 1 | n0 << 31) ^ (B0 >>> 8 | n0 << 24) ^ (B0 >>> 7 | n0 << 25), nx = r[V - 2], o0 = nx.high, u0 = nx.low, xr = (o0 >>> 19 | u0 << 13) ^ (o0 << 3 | u0 >>> 29) ^ o0 >>> 6, ox = (u0 >>> 19 | o0 << 13) ^ (u0 << 3 | o0 >>> 29) ^ (u0 >>> 6 | o0 << 26), ix = r[V - 7], rr = ix.high, er = ix.low, fx = r[V - 16], tr = fx.high, sx = fx.low;
|
1324
|
+
j = ax + er, J = Jx + rr + (j >>> 0 < ax >>> 0 ? 1 : 0), j = j + ox, J = J + xr + (j >>> 0 < ox >>> 0 ? 1 : 0), j = j + sx, J = J + tr + (j >>> 0 < sx >>> 0 ? 1 : 0), C0.high = J, C0.low = j;
|
1325
|
+
}
|
1326
|
+
var ar = M & d0 ^ ~M & h0, cx = Q & s0 ^ ~Q & c0, nr = G & $ ^ G & i0 ^ $ & i0, or = K & L ^ K & a0 ^ L & a0, ir = (G >>> 28 | K << 4) ^ (G << 30 | K >>> 2) ^ (G << 25 | K >>> 7), vx = (K >>> 28 | G << 4) ^ (K << 30 | G >>> 2) ^ (K << 25 | G >>> 7), fr = (M >>> 14 | Q << 18) ^ (M >>> 18 | Q << 14) ^ (M << 23 | Q >>> 9), sr = (Q >>> 14 | M << 18) ^ (Q >>> 18 | M << 14) ^ (Q << 23 | M >>> 9), Bx = u[V], cr = Bx.high, ux = Bx.low, Y = v0 + sr, x0 = A0 + fr + (Y >>> 0 < v0 >>> 0 ? 1 : 0), Y = Y + cx, x0 = x0 + ar + (Y >>> 0 < cx >>> 0 ? 1 : 0), Y = Y + ux, x0 = x0 + cr + (Y >>> 0 < ux >>> 0 ? 1 : 0), Y = Y + j, x0 = x0 + J + (Y >>> 0 < j >>> 0 ? 1 : 0), dx = vx + or, vr = ir + nr + (dx >>> 0 < vx >>> 0 ? 1 : 0);
|
1327
|
+
A0 = h0, v0 = c0, h0 = d0, c0 = s0, d0 = M, s0 = Q, Q = f0 + Y | 0, M = E0 + x0 + (Q >>> 0 < f0 >>> 0 ? 1 : 0) | 0, E0 = i0, f0 = a0, i0 = $, a0 = L, $ = G, L = K, K = Y + dx | 0, G = x0 + vr + (K >>> 0 < Y >>> 0 ? 1 : 0) | 0;
|
1328
|
+
}
|
1329
|
+
v = h.low = v + K, h.high = S + G + (v >>> 0 < K >>> 0 ? 1 : 0), g = t.low = g + L, t.high = F + $ + (g >>> 0 < L >>> 0 ? 1 : 0), z = a.low = z + a0, a.high = y + i0 + (z >>> 0 < a0 >>> 0 ? 1 : 0), P = i.low = P + f0, i.high = q + E0 + (P >>> 0 < f0 >>> 0 ? 1 : 0), N = E.low = N + Q, E.high = U + M + (N >>> 0 < Q >>> 0 ? 1 : 0), X = l.low = X + s0, l.high = O + d0 + (X >>> 0 < s0 >>> 0 ? 1 : 0), H = A.low = H + c0, A.high = b + h0 + (H >>> 0 < c0 >>> 0 ? 1 : 0), k = _.low = k + v0, _.high = m + A0 + (k >>> 0 < v0 >>> 0 ? 1 : 0);
|
1330
|
+
},
|
1331
|
+
_doFinalize: function() {
|
1332
|
+
var o = this._data, c = o.words, f = this._nDataBytes * 8, h = o.sigBytes * 8;
|
1333
|
+
c[h >>> 5] |= 128 << 24 - h % 32, c[(h + 128 >>> 10 << 5) + 30] = Math.floor(f / 4294967296), c[(h + 128 >>> 10 << 5) + 31] = f, o.sigBytes = c.length * 4, this._process();
|
1334
|
+
var t = this._hash.toX32();
|
1335
|
+
return t;
|
1336
|
+
},
|
1337
|
+
clone: function() {
|
1338
|
+
var o = D.clone.call(this);
|
1339
|
+
return o._hash = this._hash.clone(), o;
|
1340
|
+
},
|
1341
|
+
blockSize: 1024 / 32
|
1342
|
+
});
|
1343
|
+
n.SHA512 = D._createHelper(s), n.HmacSHA512 = D._createHmacHelper(s);
|
1344
|
+
}(), C.SHA512;
|
1345
|
+
});
|
1346
|
+
}(m0)), m0.exports;
|
1347
|
+
}
|
1348
|
+
var S0 = { exports: {} }, yx;
|
1349
|
+
function pr() {
|
1350
|
+
return yx || (yx = 1, function(R, T) {
|
1351
|
+
(function(C, n, p) {
|
1352
|
+
R.exports = n(I(), l0(), Vx());
|
1353
|
+
})(W, function(C) {
|
1354
|
+
return function() {
|
1355
|
+
var n = C, p = n.x64, D = p.Word, w = p.WordArray, B = n.algo, d = B.SHA512, x = B.SHA384 = d.extend({
|
1356
|
+
_doReset: function() {
|
1357
|
+
this._hash = new w.init([
|
1358
|
+
new D.init(3418070365, 3238371032),
|
1359
|
+
new D.init(1654270250, 914150663),
|
1360
|
+
new D.init(2438529370, 812702999),
|
1361
|
+
new D.init(355462360, 4144912697),
|
1362
|
+
new D.init(1731405415, 4290775857),
|
1363
|
+
new D.init(2394180231, 1750603025),
|
1364
|
+
new D.init(3675008525, 1694076839),
|
1365
|
+
new D.init(1203062813, 3204075428)
|
1366
|
+
]);
|
1367
|
+
},
|
1368
|
+
_doFinalize: function() {
|
1369
|
+
var e = d._doFinalize.call(this);
|
1370
|
+
return e.sigBytes -= 16, e;
|
1371
|
+
}
|
1372
|
+
});
|
1373
|
+
n.SHA384 = d._createHelper(x), n.HmacSHA384 = d._createHmacHelper(x);
|
1374
|
+
}(), C.SHA384;
|
1375
|
+
});
|
1376
|
+
}(S0)), S0.exports;
|
1377
|
+
}
|
1378
|
+
var R0 = { exports: {} }, kx;
|
1379
|
+
function _r() {
|
1380
|
+
return kx || (kx = 1, function(R, T) {
|
1381
|
+
(function(C, n, p) {
|
1382
|
+
R.exports = n(I(), l0());
|
1383
|
+
})(W, function(C) {
|
1384
|
+
return function(n) {
|
1385
|
+
var p = C, D = p.lib, w = D.WordArray, B = D.Hasher, d = p.x64, x = d.Word, e = p.algo, u = [], r = [], s = [];
|
1386
|
+
(function() {
|
1387
|
+
for (var f = 1, h = 0, t = 0; t < 24; t++) {
|
1388
|
+
u[f + 5 * h] = (t + 1) * (t + 2) / 2 % 64;
|
1389
|
+
var a = h % 5, i = (2 * f + 3 * h) % 5;
|
1390
|
+
f = a, h = i;
|
1391
|
+
}
|
1392
|
+
for (var f = 0; f < 5; f++)
|
1393
|
+
for (var h = 0; h < 5; h++)
|
1394
|
+
r[f + 5 * h] = h + (2 * f + 3 * h) % 5 * 5;
|
1395
|
+
for (var E = 1, l = 0; l < 24; l++) {
|
1396
|
+
for (var A = 0, _ = 0, S = 0; S < 7; S++) {
|
1397
|
+
if (E & 1) {
|
1398
|
+
var v = (1 << S) - 1;
|
1399
|
+
v < 32 ? _ ^= 1 << v : A ^= 1 << v - 32;
|
1400
|
+
}
|
1401
|
+
E & 128 ? E = E << 1 ^ 113 : E <<= 1;
|
1402
|
+
}
|
1403
|
+
s[l] = x.create(A, _);
|
1404
|
+
}
|
1405
|
+
})();
|
1406
|
+
var o = [];
|
1407
|
+
(function() {
|
1408
|
+
for (var f = 0; f < 25; f++)
|
1409
|
+
o[f] = x.create();
|
1410
|
+
})();
|
1411
|
+
var c = e.SHA3 = B.extend({
|
1412
|
+
/**
|
1413
|
+
* Configuration options.
|
1414
|
+
*
|
1415
|
+
* @property {number} outputLength
|
1416
|
+
* The desired number of bits in the output hash.
|
1417
|
+
* Only values permitted are: 224, 256, 384, 512.
|
1418
|
+
* Default: 512
|
1419
|
+
*/
|
1420
|
+
cfg: B.cfg.extend({
|
1421
|
+
outputLength: 512
|
1422
|
+
}),
|
1423
|
+
_doReset: function() {
|
1424
|
+
for (var f = this._state = [], h = 0; h < 25; h++)
|
1425
|
+
f[h] = new x.init();
|
1426
|
+
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
|
1427
|
+
},
|
1428
|
+
_doProcessBlock: function(f, h) {
|
1429
|
+
for (var t = this._state, a = this.blockSize / 2, i = 0; i < a; i++) {
|
1430
|
+
var E = f[h + 2 * i], l = f[h + 2 * i + 1];
|
1431
|
+
E = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, l = (l << 8 | l >>> 24) & 16711935 | (l << 24 | l >>> 8) & 4278255360;
|
1432
|
+
var A = t[i];
|
1433
|
+
A.high ^= l, A.low ^= E;
|
1434
|
+
}
|
1435
|
+
for (var _ = 0; _ < 24; _++) {
|
1436
|
+
for (var S = 0; S < 5; S++) {
|
1437
|
+
for (var v = 0, F = 0, g = 0; g < 5; g++) {
|
1438
|
+
var A = t[S + 5 * g];
|
1439
|
+
v ^= A.high, F ^= A.low;
|
1440
|
+
}
|
1441
|
+
var y = o[S];
|
1442
|
+
y.high = v, y.low = F;
|
1443
|
+
}
|
1444
|
+
for (var S = 0; S < 5; S++)
|
1445
|
+
for (var z = o[(S + 4) % 5], q = o[(S + 1) % 5], P = q.high, U = q.low, v = z.high ^ (P << 1 | U >>> 31), F = z.low ^ (U << 1 | P >>> 31), g = 0; g < 5; g++) {
|
1446
|
+
var A = t[S + 5 * g];
|
1447
|
+
A.high ^= v, A.low ^= F;
|
1448
|
+
}
|
1449
|
+
for (var N = 1; N < 25; N++) {
|
1450
|
+
var v, F, A = t[N], O = A.high, X = A.low, b = u[N];
|
1451
|
+
b < 32 ? (v = O << b | X >>> 32 - b, F = X << b | O >>> 32 - b) : (v = X << b - 32 | O >>> 64 - b, F = O << b - 32 | X >>> 64 - b);
|
1452
|
+
var H = o[r[N]];
|
1453
|
+
H.high = v, H.low = F;
|
1454
|
+
}
|
1455
|
+
var m = o[0], k = t[0];
|
1456
|
+
m.high = k.high, m.low = k.low;
|
1457
|
+
for (var S = 0; S < 5; S++)
|
1458
|
+
for (var g = 0; g < 5; g++) {
|
1459
|
+
var N = S + 5 * g, A = t[N], G = o[N], K = o[(S + 1) % 5 + 5 * g], $ = o[(S + 2) % 5 + 5 * g];
|
1460
|
+
A.high = G.high ^ ~K.high & $.high, A.low = G.low ^ ~K.low & $.low;
|
1461
|
+
}
|
1462
|
+
var A = t[0], L = s[_];
|
1463
|
+
A.high ^= L.high, A.low ^= L.low;
|
1464
|
+
}
|
1465
|
+
},
|
1466
|
+
_doFinalize: function() {
|
1467
|
+
var f = this._data, h = f.words;
|
1468
|
+
this._nDataBytes * 8;
|
1469
|
+
var t = f.sigBytes * 8, a = this.blockSize * 32;
|
1470
|
+
h[t >>> 5] |= 1 << 24 - t % 32, h[(n.ceil((t + 1) / a) * a >>> 5) - 1] |= 128, f.sigBytes = h.length * 4, this._process();
|
1471
|
+
for (var i = this._state, E = this.cfg.outputLength / 8, l = E / 8, A = [], _ = 0; _ < l; _++) {
|
1472
|
+
var S = i[_], v = S.high, F = S.low;
|
1473
|
+
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, F = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360, A.push(F), A.push(v);
|
1474
|
+
}
|
1475
|
+
return new w.init(A, E);
|
1476
|
+
},
|
1477
|
+
clone: function() {
|
1478
|
+
for (var f = B.clone.call(this), h = f._state = this._state.slice(0), t = 0; t < 25; t++)
|
1479
|
+
h[t] = h[t].clone();
|
1480
|
+
return f;
|
1481
|
+
}
|
1482
|
+
});
|
1483
|
+
p.SHA3 = B._createHelper(c), p.HmacSHA3 = B._createHmacHelper(c);
|
1484
|
+
}(Math), C.SHA3;
|
1485
|
+
});
|
1486
|
+
}(R0)), R0.exports;
|
1487
|
+
}
|
1488
|
+
var z0 = { exports: {} }, wx;
|
1489
|
+
function br() {
|
1490
|
+
return wx || (wx = 1, function(R, T) {
|
1491
|
+
(function(C, n) {
|
1492
|
+
R.exports = n(I());
|
1493
|
+
})(W, function(C) {
|
1494
|
+
/** @preserve
|
1495
|
+
(c) 2012 by Cédric Mesnil. All rights reserved.
|
1496
|
+
|
1497
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
1498
|
+
|
1499
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
1500
|
+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
1501
|
+
|
1502
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1503
|
+
*/
|
1504
|
+
return function(n) {
|
1505
|
+
var p = C, D = p.lib, w = D.WordArray, B = D.Hasher, d = p.algo, x = w.create([
|
1506
|
+
0,
|
1507
|
+
1,
|
1508
|
+
2,
|
1509
|
+
3,
|
1510
|
+
4,
|
1511
|
+
5,
|
1512
|
+
6,
|
1513
|
+
7,
|
1514
|
+
8,
|
1515
|
+
9,
|
1516
|
+
10,
|
1517
|
+
11,
|
1518
|
+
12,
|
1519
|
+
13,
|
1520
|
+
14,
|
1521
|
+
15,
|
1522
|
+
7,
|
1523
|
+
4,
|
1524
|
+
13,
|
1525
|
+
1,
|
1526
|
+
10,
|
1527
|
+
6,
|
1528
|
+
15,
|
1529
|
+
3,
|
1530
|
+
12,
|
1531
|
+
0,
|
1532
|
+
9,
|
1533
|
+
5,
|
1534
|
+
2,
|
1535
|
+
14,
|
1536
|
+
11,
|
1537
|
+
8,
|
1538
|
+
3,
|
1539
|
+
10,
|
1540
|
+
14,
|
1541
|
+
4,
|
1542
|
+
9,
|
1543
|
+
15,
|
1544
|
+
8,
|
1545
|
+
1,
|
1546
|
+
2,
|
1547
|
+
7,
|
1548
|
+
0,
|
1549
|
+
6,
|
1550
|
+
13,
|
1551
|
+
11,
|
1552
|
+
5,
|
1553
|
+
12,
|
1554
|
+
1,
|
1555
|
+
9,
|
1556
|
+
11,
|
1557
|
+
10,
|
1558
|
+
0,
|
1559
|
+
8,
|
1560
|
+
12,
|
1561
|
+
4,
|
1562
|
+
13,
|
1563
|
+
3,
|
1564
|
+
7,
|
1565
|
+
15,
|
1566
|
+
14,
|
1567
|
+
5,
|
1568
|
+
6,
|
1569
|
+
2,
|
1570
|
+
4,
|
1571
|
+
0,
|
1572
|
+
5,
|
1573
|
+
9,
|
1574
|
+
7,
|
1575
|
+
12,
|
1576
|
+
2,
|
1577
|
+
10,
|
1578
|
+
14,
|
1579
|
+
1,
|
1580
|
+
3,
|
1581
|
+
8,
|
1582
|
+
11,
|
1583
|
+
6,
|
1584
|
+
15,
|
1585
|
+
13
|
1586
|
+
]), e = w.create([
|
1587
|
+
5,
|
1588
|
+
14,
|
1589
|
+
7,
|
1590
|
+
0,
|
1591
|
+
9,
|
1592
|
+
2,
|
1593
|
+
11,
|
1594
|
+
4,
|
1595
|
+
13,
|
1596
|
+
6,
|
1597
|
+
15,
|
1598
|
+
8,
|
1599
|
+
1,
|
1600
|
+
10,
|
1601
|
+
3,
|
1602
|
+
12,
|
1603
|
+
6,
|
1604
|
+
11,
|
1605
|
+
3,
|
1606
|
+
7,
|
1607
|
+
0,
|
1608
|
+
13,
|
1609
|
+
5,
|
1610
|
+
10,
|
1611
|
+
14,
|
1612
|
+
15,
|
1613
|
+
8,
|
1614
|
+
12,
|
1615
|
+
4,
|
1616
|
+
9,
|
1617
|
+
1,
|
1618
|
+
2,
|
1619
|
+
15,
|
1620
|
+
5,
|
1621
|
+
1,
|
1622
|
+
3,
|
1623
|
+
7,
|
1624
|
+
14,
|
1625
|
+
6,
|
1626
|
+
9,
|
1627
|
+
11,
|
1628
|
+
8,
|
1629
|
+
12,
|
1630
|
+
2,
|
1631
|
+
10,
|
1632
|
+
0,
|
1633
|
+
4,
|
1634
|
+
13,
|
1635
|
+
8,
|
1636
|
+
6,
|
1637
|
+
4,
|
1638
|
+
1,
|
1639
|
+
3,
|
1640
|
+
11,
|
1641
|
+
15,
|
1642
|
+
0,
|
1643
|
+
5,
|
1644
|
+
12,
|
1645
|
+
2,
|
1646
|
+
13,
|
1647
|
+
9,
|
1648
|
+
7,
|
1649
|
+
10,
|
1650
|
+
14,
|
1651
|
+
12,
|
1652
|
+
15,
|
1653
|
+
10,
|
1654
|
+
4,
|
1655
|
+
1,
|
1656
|
+
5,
|
1657
|
+
8,
|
1658
|
+
7,
|
1659
|
+
6,
|
1660
|
+
2,
|
1661
|
+
13,
|
1662
|
+
14,
|
1663
|
+
0,
|
1664
|
+
3,
|
1665
|
+
9,
|
1666
|
+
11
|
1667
|
+
]), u = w.create([
|
1668
|
+
11,
|
1669
|
+
14,
|
1670
|
+
15,
|
1671
|
+
12,
|
1672
|
+
5,
|
1673
|
+
8,
|
1674
|
+
7,
|
1675
|
+
9,
|
1676
|
+
11,
|
1677
|
+
13,
|
1678
|
+
14,
|
1679
|
+
15,
|
1680
|
+
6,
|
1681
|
+
7,
|
1682
|
+
9,
|
1683
|
+
8,
|
1684
|
+
7,
|
1685
|
+
6,
|
1686
|
+
8,
|
1687
|
+
13,
|
1688
|
+
11,
|
1689
|
+
9,
|
1690
|
+
7,
|
1691
|
+
15,
|
1692
|
+
7,
|
1693
|
+
12,
|
1694
|
+
15,
|
1695
|
+
9,
|
1696
|
+
11,
|
1697
|
+
7,
|
1698
|
+
13,
|
1699
|
+
12,
|
1700
|
+
11,
|
1701
|
+
13,
|
1702
|
+
6,
|
1703
|
+
7,
|
1704
|
+
14,
|
1705
|
+
9,
|
1706
|
+
13,
|
1707
|
+
15,
|
1708
|
+
14,
|
1709
|
+
8,
|
1710
|
+
13,
|
1711
|
+
6,
|
1712
|
+
5,
|
1713
|
+
12,
|
1714
|
+
7,
|
1715
|
+
5,
|
1716
|
+
11,
|
1717
|
+
12,
|
1718
|
+
14,
|
1719
|
+
15,
|
1720
|
+
14,
|
1721
|
+
15,
|
1722
|
+
9,
|
1723
|
+
8,
|
1724
|
+
9,
|
1725
|
+
14,
|
1726
|
+
5,
|
1727
|
+
6,
|
1728
|
+
8,
|
1729
|
+
6,
|
1730
|
+
5,
|
1731
|
+
12,
|
1732
|
+
9,
|
1733
|
+
15,
|
1734
|
+
5,
|
1735
|
+
11,
|
1736
|
+
6,
|
1737
|
+
8,
|
1738
|
+
13,
|
1739
|
+
12,
|
1740
|
+
5,
|
1741
|
+
12,
|
1742
|
+
13,
|
1743
|
+
14,
|
1744
|
+
11,
|
1745
|
+
8,
|
1746
|
+
5,
|
1747
|
+
6
|
1748
|
+
]), r = w.create([
|
1749
|
+
8,
|
1750
|
+
9,
|
1751
|
+
9,
|
1752
|
+
11,
|
1753
|
+
13,
|
1754
|
+
15,
|
1755
|
+
15,
|
1756
|
+
5,
|
1757
|
+
7,
|
1758
|
+
7,
|
1759
|
+
8,
|
1760
|
+
11,
|
1761
|
+
14,
|
1762
|
+
14,
|
1763
|
+
12,
|
1764
|
+
6,
|
1765
|
+
9,
|
1766
|
+
13,
|
1767
|
+
15,
|
1768
|
+
7,
|
1769
|
+
12,
|
1770
|
+
8,
|
1771
|
+
9,
|
1772
|
+
11,
|
1773
|
+
7,
|
1774
|
+
7,
|
1775
|
+
12,
|
1776
|
+
7,
|
1777
|
+
6,
|
1778
|
+
15,
|
1779
|
+
13,
|
1780
|
+
11,
|
1781
|
+
9,
|
1782
|
+
7,
|
1783
|
+
15,
|
1784
|
+
11,
|
1785
|
+
8,
|
1786
|
+
6,
|
1787
|
+
6,
|
1788
|
+
14,
|
1789
|
+
12,
|
1790
|
+
13,
|
1791
|
+
5,
|
1792
|
+
14,
|
1793
|
+
13,
|
1794
|
+
13,
|
1795
|
+
7,
|
1796
|
+
5,
|
1797
|
+
15,
|
1798
|
+
5,
|
1799
|
+
8,
|
1800
|
+
11,
|
1801
|
+
14,
|
1802
|
+
14,
|
1803
|
+
6,
|
1804
|
+
14,
|
1805
|
+
6,
|
1806
|
+
9,
|
1807
|
+
12,
|
1808
|
+
9,
|
1809
|
+
12,
|
1810
|
+
5,
|
1811
|
+
15,
|
1812
|
+
8,
|
1813
|
+
8,
|
1814
|
+
5,
|
1815
|
+
12,
|
1816
|
+
9,
|
1817
|
+
12,
|
1818
|
+
5,
|
1819
|
+
14,
|
1820
|
+
6,
|
1821
|
+
8,
|
1822
|
+
13,
|
1823
|
+
6,
|
1824
|
+
5,
|
1825
|
+
15,
|
1826
|
+
13,
|
1827
|
+
11,
|
1828
|
+
11
|
1829
|
+
]), s = w.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), o = w.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = d.RIPEMD160 = B.extend({
|
1830
|
+
_doReset: function() {
|
1831
|
+
this._hash = w.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
1832
|
+
},
|
1833
|
+
_doProcessBlock: function(l, A) {
|
1834
|
+
for (var _ = 0; _ < 16; _++) {
|
1835
|
+
var S = A + _, v = l[S];
|
1836
|
+
l[S] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
|
1837
|
+
}
|
1838
|
+
var F = this._hash.words, g = s.words, y = o.words, z = x.words, q = e.words, P = u.words, U = r.words, N, O, X, b, H, m, k, G, K, $;
|
1839
|
+
m = N = F[0], k = O = F[1], G = X = F[2], K = b = F[3], $ = H = F[4];
|
1840
|
+
for (var L, _ = 0; _ < 80; _ += 1)
|
1841
|
+
L = N + l[A + z[_]] | 0, _ < 16 ? L += f(O, X, b) + g[0] : _ < 32 ? L += h(O, X, b) + g[1] : _ < 48 ? L += t(O, X, b) + g[2] : _ < 64 ? L += a(O, X, b) + g[3] : L += i(O, X, b) + g[4], L = L | 0, L = E(L, P[_]), L = L + H | 0, N = H, H = b, b = E(X, 10), X = O, O = L, L = m + l[A + q[_]] | 0, _ < 16 ? L += i(k, G, K) + y[0] : _ < 32 ? L += a(k, G, K) + y[1] : _ < 48 ? L += t(k, G, K) + y[2] : _ < 64 ? L += h(k, G, K) + y[3] : L += f(k, G, K) + y[4], L = L | 0, L = E(L, U[_]), L = L + $ | 0, m = $, $ = K, K = E(G, 10), G = k, k = L;
|
1842
|
+
L = F[1] + X + K | 0, F[1] = F[2] + b + $ | 0, F[2] = F[3] + H + m | 0, F[3] = F[4] + N + k | 0, F[4] = F[0] + O + G | 0, F[0] = L;
|
1843
|
+
},
|
1844
|
+
_doFinalize: function() {
|
1845
|
+
var l = this._data, A = l.words, _ = this._nDataBytes * 8, S = l.sigBytes * 8;
|
1846
|
+
A[S >>> 5] |= 128 << 24 - S % 32, A[(S + 64 >>> 9 << 4) + 14] = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, l.sigBytes = (A.length + 1) * 4, this._process();
|
1847
|
+
for (var v = this._hash, F = v.words, g = 0; g < 5; g++) {
|
1848
|
+
var y = F[g];
|
1849
|
+
F[g] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
|
1850
|
+
}
|
1851
|
+
return v;
|
1852
|
+
},
|
1853
|
+
clone: function() {
|
1854
|
+
var l = B.clone.call(this);
|
1855
|
+
return l._hash = this._hash.clone(), l;
|
1856
|
+
}
|
1857
|
+
});
|
1858
|
+
function f(l, A, _) {
|
1859
|
+
return l ^ A ^ _;
|
1860
|
+
}
|
1861
|
+
function h(l, A, _) {
|
1862
|
+
return l & A | ~l & _;
|
1863
|
+
}
|
1864
|
+
function t(l, A, _) {
|
1865
|
+
return (l | ~A) ^ _;
|
1866
|
+
}
|
1867
|
+
function a(l, A, _) {
|
1868
|
+
return l & _ | A & ~_;
|
1869
|
+
}
|
1870
|
+
function i(l, A, _) {
|
1871
|
+
return l ^ (A | ~_);
|
1872
|
+
}
|
1873
|
+
function E(l, A) {
|
1874
|
+
return l << A | l >>> 32 - A;
|
1875
|
+
}
|
1876
|
+
p.RIPEMD160 = B._createHelper(c), p.HmacRIPEMD160 = B._createHmacHelper(c);
|
1877
|
+
}(), C.RIPEMD160;
|
1878
|
+
});
|
1879
|
+
}(z0)), z0.exports;
|
1880
|
+
}
|
1881
|
+
var q0 = { exports: {} }, Hx;
|
1882
|
+
function ex() {
|
1883
|
+
return Hx || (Hx = 1, function(R, T) {
|
1884
|
+
(function(C, n) {
|
1885
|
+
R.exports = n(I());
|
1886
|
+
})(W, function(C) {
|
1887
|
+
(function() {
|
1888
|
+
var n = C, p = n.lib, D = p.Base, w = n.enc, B = w.Utf8, d = n.algo;
|
1889
|
+
d.HMAC = D.extend({
|
1890
|
+
/**
|
1891
|
+
* Initializes a newly created HMAC.
|
1892
|
+
*
|
1893
|
+
* @param {Hasher} hasher The hash algorithm to use.
|
1894
|
+
* @param {WordArray|string} key The secret key.
|
1895
|
+
*
|
1896
|
+
* @example
|
1897
|
+
*
|
1898
|
+
* var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
|
1899
|
+
*/
|
1900
|
+
init: function(x, e) {
|
1901
|
+
x = this._hasher = new x.init(), typeof e == "string" && (e = B.parse(e));
|
1902
|
+
var u = x.blockSize, r = u * 4;
|
1903
|
+
e.sigBytes > r && (e = x.finalize(e)), e.clamp();
|
1904
|
+
for (var s = this._oKey = e.clone(), o = this._iKey = e.clone(), c = s.words, f = o.words, h = 0; h < u; h++)
|
1905
|
+
c[h] ^= 1549556828, f[h] ^= 909522486;
|
1906
|
+
s.sigBytes = o.sigBytes = r, this.reset();
|
1907
|
+
},
|
1908
|
+
/**
|
1909
|
+
* Resets this HMAC to its initial state.
|
1910
|
+
*
|
1911
|
+
* @example
|
1912
|
+
*
|
1913
|
+
* hmacHasher.reset();
|
1914
|
+
*/
|
1915
|
+
reset: function() {
|
1916
|
+
var x = this._hasher;
|
1917
|
+
x.reset(), x.update(this._iKey);
|
1918
|
+
},
|
1919
|
+
/**
|
1920
|
+
* Updates this HMAC with a message.
|
1921
|
+
*
|
1922
|
+
* @param {WordArray|string} messageUpdate The message to append.
|
1923
|
+
*
|
1924
|
+
* @return {HMAC} This HMAC instance.
|
1925
|
+
*
|
1926
|
+
* @example
|
1927
|
+
*
|
1928
|
+
* hmacHasher.update('message');
|
1929
|
+
* hmacHasher.update(wordArray);
|
1930
|
+
*/
|
1931
|
+
update: function(x) {
|
1932
|
+
return this._hasher.update(x), this;
|
1933
|
+
},
|
1934
|
+
/**
|
1935
|
+
* Finalizes the HMAC computation.
|
1936
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
1937
|
+
*
|
1938
|
+
* @param {WordArray|string} messageUpdate (Optional) A final message update.
|
1939
|
+
*
|
1940
|
+
* @return {WordArray} The HMAC.
|
1941
|
+
*
|
1942
|
+
* @example
|
1943
|
+
*
|
1944
|
+
* var hmac = hmacHasher.finalize();
|
1945
|
+
* var hmac = hmacHasher.finalize('message');
|
1946
|
+
* var hmac = hmacHasher.finalize(wordArray);
|
1947
|
+
*/
|
1948
|
+
finalize: function(x) {
|
1949
|
+
var e = this._hasher, u = e.finalize(x);
|
1950
|
+
e.reset();
|
1951
|
+
var r = e.finalize(this._oKey.clone().concat(u));
|
1952
|
+
return r;
|
1953
|
+
}
|
1954
|
+
});
|
1955
|
+
})();
|
1956
|
+
});
|
1957
|
+
}(q0)), q0.exports;
|
1958
|
+
}
|
1959
|
+
var P0 = { exports: {} }, mx;
|
1960
|
+
function gr() {
|
1961
|
+
return mx || (mx = 1, function(R, T) {
|
1962
|
+
(function(C, n, p) {
|
1963
|
+
R.exports = n(I(), rx(), ex());
|
1964
|
+
})(W, function(C) {
|
1965
|
+
return function() {
|
1966
|
+
var n = C, p = n.lib, D = p.Base, w = p.WordArray, B = n.algo, d = B.SHA256, x = B.HMAC, e = B.PBKDF2 = D.extend({
|
1967
|
+
/**
|
1968
|
+
* Configuration options.
|
1969
|
+
*
|
1970
|
+
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
|
1971
|
+
* @property {Hasher} hasher The hasher to use. Default: SHA256
|
1972
|
+
* @property {number} iterations The number of iterations to perform. Default: 250000
|
1973
|
+
*/
|
1974
|
+
cfg: D.extend({
|
1975
|
+
keySize: 128 / 32,
|
1976
|
+
hasher: d,
|
1977
|
+
iterations: 25e4
|
1978
|
+
}),
|
1979
|
+
/**
|
1980
|
+
* Initializes a newly created key derivation function.
|
1981
|
+
*
|
1982
|
+
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
|
1983
|
+
*
|
1984
|
+
* @example
|
1985
|
+
*
|
1986
|
+
* var kdf = CryptoJS.algo.PBKDF2.create();
|
1987
|
+
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
|
1988
|
+
* var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
|
1989
|
+
*/
|
1990
|
+
init: function(u) {
|
1991
|
+
this.cfg = this.cfg.extend(u);
|
1992
|
+
},
|
1993
|
+
/**
|
1994
|
+
* Computes the Password-Based Key Derivation Function 2.
|
1995
|
+
*
|
1996
|
+
* @param {WordArray|string} password The password.
|
1997
|
+
* @param {WordArray|string} salt A salt.
|
1998
|
+
*
|
1999
|
+
* @return {WordArray} The derived key.
|
2000
|
+
*
|
2001
|
+
* @example
|
2002
|
+
*
|
2003
|
+
* var key = kdf.compute(password, salt);
|
2004
|
+
*/
|
2005
|
+
compute: function(u, r) {
|
2006
|
+
for (var s = this.cfg, o = x.create(s.hasher, u), c = w.create(), f = w.create([1]), h = c.words, t = f.words, a = s.keySize, i = s.iterations; h.length < a; ) {
|
2007
|
+
var E = o.update(r).finalize(f);
|
2008
|
+
o.reset();
|
2009
|
+
for (var l = E.words, A = l.length, _ = E, S = 1; S < i; S++) {
|
2010
|
+
_ = o.finalize(_), o.reset();
|
2011
|
+
for (var v = _.words, F = 0; F < A; F++)
|
2012
|
+
l[F] ^= v[F];
|
2013
|
+
}
|
2014
|
+
c.concat(E), t[0]++;
|
2015
|
+
}
|
2016
|
+
return c.sigBytes = a * 4, c;
|
2017
|
+
}
|
2018
|
+
});
|
2019
|
+
n.PBKDF2 = function(u, r, s) {
|
2020
|
+
return e.create(s).compute(u, r);
|
2021
|
+
};
|
2022
|
+
}(), C.PBKDF2;
|
2023
|
+
});
|
2024
|
+
}(P0)), P0.exports;
|
2025
|
+
}
|
2026
|
+
var W0 = { exports: {} }, Sx;
|
2027
|
+
function r0() {
|
2028
|
+
return Sx || (Sx = 1, function(R, T) {
|
2029
|
+
(function(C, n, p) {
|
2030
|
+
R.exports = n(I(), Mx(), ex());
|
2031
|
+
})(W, function(C) {
|
2032
|
+
return function() {
|
2033
|
+
var n = C, p = n.lib, D = p.Base, w = p.WordArray, B = n.algo, d = B.MD5, x = B.EvpKDF = D.extend({
|
2034
|
+
/**
|
2035
|
+
* Configuration options.
|
2036
|
+
*
|
2037
|
+
* @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
|
2038
|
+
* @property {Hasher} hasher The hash algorithm to use. Default: MD5
|
2039
|
+
* @property {number} iterations The number of iterations to perform. Default: 1
|
2040
|
+
*/
|
2041
|
+
cfg: D.extend({
|
2042
|
+
keySize: 128 / 32,
|
2043
|
+
hasher: d,
|
2044
|
+
iterations: 1
|
2045
|
+
}),
|
2046
|
+
/**
|
2047
|
+
* Initializes a newly created key derivation function.
|
2048
|
+
*
|
2049
|
+
* @param {Object} cfg (Optional) The configuration options to use for the derivation.
|
2050
|
+
*
|
2051
|
+
* @example
|
2052
|
+
*
|
2053
|
+
* var kdf = CryptoJS.algo.EvpKDF.create();
|
2054
|
+
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
|
2055
|
+
* var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
|
2056
|
+
*/
|
2057
|
+
init: function(e) {
|
2058
|
+
this.cfg = this.cfg.extend(e);
|
2059
|
+
},
|
2060
|
+
/**
|
2061
|
+
* Derives a key from a password.
|
2062
|
+
*
|
2063
|
+
* @param {WordArray|string} password The password.
|
2064
|
+
* @param {WordArray|string} salt A salt.
|
2065
|
+
*
|
2066
|
+
* @return {WordArray} The derived key.
|
2067
|
+
*
|
2068
|
+
* @example
|
2069
|
+
*
|
2070
|
+
* var key = kdf.compute(password, salt);
|
2071
|
+
*/
|
2072
|
+
compute: function(e, u) {
|
2073
|
+
for (var r, s = this.cfg, o = s.hasher.create(), c = w.create(), f = c.words, h = s.keySize, t = s.iterations; f.length < h; ) {
|
2074
|
+
r && o.update(r), r = o.update(e).finalize(u), o.reset();
|
2075
|
+
for (var a = 1; a < t; a++)
|
2076
|
+
r = o.finalize(r), o.reset();
|
2077
|
+
c.concat(r);
|
2078
|
+
}
|
2079
|
+
return c.sigBytes = h * 4, c;
|
2080
|
+
}
|
2081
|
+
});
|
2082
|
+
n.EvpKDF = function(e, u, r) {
|
2083
|
+
return x.create(r).compute(e, u);
|
2084
|
+
};
|
2085
|
+
}(), C.EvpKDF;
|
2086
|
+
});
|
2087
|
+
}(W0)), W0.exports;
|
2088
|
+
}
|
2089
|
+
var L0 = { exports: {} }, Rx;
|
2090
|
+
function Z() {
|
2091
|
+
return Rx || (Rx = 1, function(R, T) {
|
2092
|
+
(function(C, n, p) {
|
2093
|
+
R.exports = n(I(), r0());
|
2094
|
+
})(W, function(C) {
|
2095
|
+
C.lib.Cipher || function(n) {
|
2096
|
+
var p = C, D = p.lib, w = D.Base, B = D.WordArray, d = D.BufferedBlockAlgorithm, x = p.enc;
|
2097
|
+
x.Utf8;
|
2098
|
+
var e = x.Base64, u = p.algo, r = u.EvpKDF, s = D.Cipher = d.extend({
|
2099
|
+
/**
|
2100
|
+
* Configuration options.
|
2101
|
+
*
|
2102
|
+
* @property {WordArray} iv The IV to use for this operation.
|
2103
|
+
*/
|
2104
|
+
cfg: w.extend(),
|
2105
|
+
/**
|
2106
|
+
* Creates this cipher in encryption mode.
|
2107
|
+
*
|
2108
|
+
* @param {WordArray} key The key.
|
2109
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
2110
|
+
*
|
2111
|
+
* @return {Cipher} A cipher instance.
|
2112
|
+
*
|
2113
|
+
* @static
|
2114
|
+
*
|
2115
|
+
* @example
|
2116
|
+
*
|
2117
|
+
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
|
2118
|
+
*/
|
2119
|
+
createEncryptor: function(v, F) {
|
2120
|
+
return this.create(this._ENC_XFORM_MODE, v, F);
|
2121
|
+
},
|
2122
|
+
/**
|
2123
|
+
* Creates this cipher in decryption mode.
|
2124
|
+
*
|
2125
|
+
* @param {WordArray} key The key.
|
2126
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
2127
|
+
*
|
2128
|
+
* @return {Cipher} A cipher instance.
|
2129
|
+
*
|
2130
|
+
* @static
|
2131
|
+
*
|
2132
|
+
* @example
|
2133
|
+
*
|
2134
|
+
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
|
2135
|
+
*/
|
2136
|
+
createDecryptor: function(v, F) {
|
2137
|
+
return this.create(this._DEC_XFORM_MODE, v, F);
|
2138
|
+
},
|
2139
|
+
/**
|
2140
|
+
* Initializes a newly created cipher.
|
2141
|
+
*
|
2142
|
+
* @param {number} xformMode Either the encryption or decryption transormation mode constant.
|
2143
|
+
* @param {WordArray} key The key.
|
2144
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
2145
|
+
*
|
2146
|
+
* @example
|
2147
|
+
*
|
2148
|
+
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
|
2149
|
+
*/
|
2150
|
+
init: function(v, F, g) {
|
2151
|
+
this.cfg = this.cfg.extend(g), this._xformMode = v, this._key = F, this.reset();
|
2152
|
+
},
|
2153
|
+
/**
|
2154
|
+
* Resets this cipher to its initial state.
|
2155
|
+
*
|
2156
|
+
* @example
|
2157
|
+
*
|
2158
|
+
* cipher.reset();
|
2159
|
+
*/
|
2160
|
+
reset: function() {
|
2161
|
+
d.reset.call(this), this._doReset();
|
2162
|
+
},
|
2163
|
+
/**
|
2164
|
+
* Adds data to be encrypted or decrypted.
|
2165
|
+
*
|
2166
|
+
* @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
|
2167
|
+
*
|
2168
|
+
* @return {WordArray} The data after processing.
|
2169
|
+
*
|
2170
|
+
* @example
|
2171
|
+
*
|
2172
|
+
* var encrypted = cipher.process('data');
|
2173
|
+
* var encrypted = cipher.process(wordArray);
|
2174
|
+
*/
|
2175
|
+
process: function(v) {
|
2176
|
+
return this._append(v), this._process();
|
2177
|
+
},
|
2178
|
+
/**
|
2179
|
+
* Finalizes the encryption or decryption process.
|
2180
|
+
* Note that the finalize operation is effectively a destructive, read-once operation.
|
2181
|
+
*
|
2182
|
+
* @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
|
2183
|
+
*
|
2184
|
+
* @return {WordArray} The data after final processing.
|
2185
|
+
*
|
2186
|
+
* @example
|
2187
|
+
*
|
2188
|
+
* var encrypted = cipher.finalize();
|
2189
|
+
* var encrypted = cipher.finalize('data');
|
2190
|
+
* var encrypted = cipher.finalize(wordArray);
|
2191
|
+
*/
|
2192
|
+
finalize: function(v) {
|
2193
|
+
v && this._append(v);
|
2194
|
+
var F = this._doFinalize();
|
2195
|
+
return F;
|
2196
|
+
},
|
2197
|
+
keySize: 128 / 32,
|
2198
|
+
ivSize: 128 / 32,
|
2199
|
+
_ENC_XFORM_MODE: 1,
|
2200
|
+
_DEC_XFORM_MODE: 2,
|
2201
|
+
/**
|
2202
|
+
* Creates shortcut functions to a cipher's object interface.
|
2203
|
+
*
|
2204
|
+
* @param {Cipher} cipher The cipher to create a helper for.
|
2205
|
+
*
|
2206
|
+
* @return {Object} An object with encrypt and decrypt shortcut functions.
|
2207
|
+
*
|
2208
|
+
* @static
|
2209
|
+
*
|
2210
|
+
* @example
|
2211
|
+
*
|
2212
|
+
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
2213
|
+
*/
|
2214
|
+
_createHelper: /* @__PURE__ */ function() {
|
2215
|
+
function v(F) {
|
2216
|
+
return typeof F == "string" ? S : l;
|
2217
|
+
}
|
2218
|
+
return function(F) {
|
2219
|
+
return {
|
2220
|
+
encrypt: function(g, y, z) {
|
2221
|
+
return v(y).encrypt(F, g, y, z);
|
2222
|
+
},
|
2223
|
+
decrypt: function(g, y, z) {
|
2224
|
+
return v(y).decrypt(F, g, y, z);
|
2225
|
+
}
|
2226
|
+
};
|
2227
|
+
};
|
2228
|
+
}()
|
2229
|
+
});
|
2230
|
+
D.StreamCipher = s.extend({
|
2231
|
+
_doFinalize: function() {
|
2232
|
+
var v = this._process(!0);
|
2233
|
+
return v;
|
2234
|
+
},
|
2235
|
+
blockSize: 1
|
2236
|
+
});
|
2237
|
+
var o = p.mode = {}, c = D.BlockCipherMode = w.extend({
|
2238
|
+
/**
|
2239
|
+
* Creates this mode for encryption.
|
2240
|
+
*
|
2241
|
+
* @param {Cipher} cipher A block cipher instance.
|
2242
|
+
* @param {Array} iv The IV words.
|
2243
|
+
*
|
2244
|
+
* @static
|
2245
|
+
*
|
2246
|
+
* @example
|
2247
|
+
*
|
2248
|
+
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
|
2249
|
+
*/
|
2250
|
+
createEncryptor: function(v, F) {
|
2251
|
+
return this.Encryptor.create(v, F);
|
2252
|
+
},
|
2253
|
+
/**
|
2254
|
+
* Creates this mode for decryption.
|
2255
|
+
*
|
2256
|
+
* @param {Cipher} cipher A block cipher instance.
|
2257
|
+
* @param {Array} iv The IV words.
|
2258
|
+
*
|
2259
|
+
* @static
|
2260
|
+
*
|
2261
|
+
* @example
|
2262
|
+
*
|
2263
|
+
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
|
2264
|
+
*/
|
2265
|
+
createDecryptor: function(v, F) {
|
2266
|
+
return this.Decryptor.create(v, F);
|
2267
|
+
},
|
2268
|
+
/**
|
2269
|
+
* Initializes a newly created mode.
|
2270
|
+
*
|
2271
|
+
* @param {Cipher} cipher A block cipher instance.
|
2272
|
+
* @param {Array} iv The IV words.
|
2273
|
+
*
|
2274
|
+
* @example
|
2275
|
+
*
|
2276
|
+
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
|
2277
|
+
*/
|
2278
|
+
init: function(v, F) {
|
2279
|
+
this._cipher = v, this._iv = F;
|
2280
|
+
}
|
2281
|
+
}), f = o.CBC = function() {
|
2282
|
+
var v = c.extend();
|
2283
|
+
v.Encryptor = v.extend({
|
2284
|
+
/**
|
2285
|
+
* Processes the data block at offset.
|
2286
|
+
*
|
2287
|
+
* @param {Array} words The data words to operate on.
|
2288
|
+
* @param {number} offset The offset where the block starts.
|
2289
|
+
*
|
2290
|
+
* @example
|
2291
|
+
*
|
2292
|
+
* mode.processBlock(data.words, offset);
|
2293
|
+
*/
|
2294
|
+
processBlock: function(g, y) {
|
2295
|
+
var z = this._cipher, q = z.blockSize;
|
2296
|
+
F.call(this, g, y, q), z.encryptBlock(g, y), this._prevBlock = g.slice(y, y + q);
|
2297
|
+
}
|
2298
|
+
}), v.Decryptor = v.extend({
|
2299
|
+
/**
|
2300
|
+
* Processes the data block at offset.
|
2301
|
+
*
|
2302
|
+
* @param {Array} words The data words to operate on.
|
2303
|
+
* @param {number} offset The offset where the block starts.
|
2304
|
+
*
|
2305
|
+
* @example
|
2306
|
+
*
|
2307
|
+
* mode.processBlock(data.words, offset);
|
2308
|
+
*/
|
2309
|
+
processBlock: function(g, y) {
|
2310
|
+
var z = this._cipher, q = z.blockSize, P = g.slice(y, y + q);
|
2311
|
+
z.decryptBlock(g, y), F.call(this, g, y, q), this._prevBlock = P;
|
2312
|
+
}
|
2313
|
+
});
|
2314
|
+
function F(g, y, z) {
|
2315
|
+
var q, P = this._iv;
|
2316
|
+
P ? (q = P, this._iv = n) : q = this._prevBlock;
|
2317
|
+
for (var U = 0; U < z; U++)
|
2318
|
+
g[y + U] ^= q[U];
|
2319
|
+
}
|
2320
|
+
return v;
|
2321
|
+
}(), h = p.pad = {}, t = h.Pkcs7 = {
|
2322
|
+
/**
|
2323
|
+
* Pads data using the algorithm defined in PKCS #5/7.
|
2324
|
+
*
|
2325
|
+
* @param {WordArray} data The data to pad.
|
2326
|
+
* @param {number} blockSize The multiple that the data should be padded to.
|
2327
|
+
*
|
2328
|
+
* @static
|
2329
|
+
*
|
2330
|
+
* @example
|
2331
|
+
*
|
2332
|
+
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
2333
|
+
*/
|
2334
|
+
pad: function(v, F) {
|
2335
|
+
for (var g = F * 4, y = g - v.sigBytes % g, z = y << 24 | y << 16 | y << 8 | y, q = [], P = 0; P < y; P += 4)
|
2336
|
+
q.push(z);
|
2337
|
+
var U = B.create(q, y);
|
2338
|
+
v.concat(U);
|
2339
|
+
},
|
2340
|
+
/**
|
2341
|
+
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
2342
|
+
*
|
2343
|
+
* @param {WordArray} data The data to unpad.
|
2344
|
+
*
|
2345
|
+
* @static
|
2346
|
+
*
|
2347
|
+
* @example
|
2348
|
+
*
|
2349
|
+
* CryptoJS.pad.Pkcs7.unpad(wordArray);
|
2350
|
+
*/
|
2351
|
+
unpad: function(v) {
|
2352
|
+
var F = v.words[v.sigBytes - 1 >>> 2] & 255;
|
2353
|
+
v.sigBytes -= F;
|
2354
|
+
}
|
2355
|
+
};
|
2356
|
+
D.BlockCipher = s.extend({
|
2357
|
+
/**
|
2358
|
+
* Configuration options.
|
2359
|
+
*
|
2360
|
+
* @property {Mode} mode The block mode to use. Default: CBC
|
2361
|
+
* @property {Padding} padding The padding strategy to use. Default: Pkcs7
|
2362
|
+
*/
|
2363
|
+
cfg: s.cfg.extend({
|
2364
|
+
mode: f,
|
2365
|
+
padding: t
|
2366
|
+
}),
|
2367
|
+
reset: function() {
|
2368
|
+
var v;
|
2369
|
+
s.reset.call(this);
|
2370
|
+
var F = this.cfg, g = F.iv, y = F.mode;
|
2371
|
+
this._xformMode == this._ENC_XFORM_MODE ? v = y.createEncryptor : (v = y.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == v ? this._mode.init(this, g && g.words) : (this._mode = v.call(y, this, g && g.words), this._mode.__creator = v);
|
2372
|
+
},
|
2373
|
+
_doProcessBlock: function(v, F) {
|
2374
|
+
this._mode.processBlock(v, F);
|
2375
|
+
},
|
2376
|
+
_doFinalize: function() {
|
2377
|
+
var v, F = this.cfg.padding;
|
2378
|
+
return this._xformMode == this._ENC_XFORM_MODE ? (F.pad(this._data, this.blockSize), v = this._process(!0)) : (v = this._process(!0), F.unpad(v)), v;
|
2379
|
+
},
|
2380
|
+
blockSize: 128 / 32
|
2381
|
+
});
|
2382
|
+
var a = D.CipherParams = w.extend({
|
2383
|
+
/**
|
2384
|
+
* Initializes a newly created cipher params object.
|
2385
|
+
*
|
2386
|
+
* @param {Object} cipherParams An object with any of the possible cipher parameters.
|
2387
|
+
*
|
2388
|
+
* @example
|
2389
|
+
*
|
2390
|
+
* var cipherParams = CryptoJS.lib.CipherParams.create({
|
2391
|
+
* ciphertext: ciphertextWordArray,
|
2392
|
+
* key: keyWordArray,
|
2393
|
+
* iv: ivWordArray,
|
2394
|
+
* salt: saltWordArray,
|
2395
|
+
* algorithm: CryptoJS.algo.AES,
|
2396
|
+
* mode: CryptoJS.mode.CBC,
|
2397
|
+
* padding: CryptoJS.pad.PKCS7,
|
2398
|
+
* blockSize: 4,
|
2399
|
+
* formatter: CryptoJS.format.OpenSSL
|
2400
|
+
* });
|
2401
|
+
*/
|
2402
|
+
init: function(v) {
|
2403
|
+
this.mixIn(v);
|
2404
|
+
},
|
2405
|
+
/**
|
2406
|
+
* Converts this cipher params object to a string.
|
2407
|
+
*
|
2408
|
+
* @param {Format} formatter (Optional) The formatting strategy to use.
|
2409
|
+
*
|
2410
|
+
* @return {string} The stringified cipher params.
|
2411
|
+
*
|
2412
|
+
* @throws Error If neither the formatter nor the default formatter is set.
|
2413
|
+
*
|
2414
|
+
* @example
|
2415
|
+
*
|
2416
|
+
* var string = cipherParams + '';
|
2417
|
+
* var string = cipherParams.toString();
|
2418
|
+
* var string = cipherParams.toString(CryptoJS.format.OpenSSL);
|
2419
|
+
*/
|
2420
|
+
toString: function(v) {
|
2421
|
+
return (v || this.formatter).stringify(this);
|
2422
|
+
}
|
2423
|
+
}), i = p.format = {}, E = i.OpenSSL = {
|
2424
|
+
/**
|
2425
|
+
* Converts a cipher params object to an OpenSSL-compatible string.
|
2426
|
+
*
|
2427
|
+
* @param {CipherParams} cipherParams The cipher params object.
|
2428
|
+
*
|
2429
|
+
* @return {string} The OpenSSL-compatible string.
|
2430
|
+
*
|
2431
|
+
* @static
|
2432
|
+
*
|
2433
|
+
* @example
|
2434
|
+
*
|
2435
|
+
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
2436
|
+
*/
|
2437
|
+
stringify: function(v) {
|
2438
|
+
var F, g = v.ciphertext, y = v.salt;
|
2439
|
+
return y ? F = B.create([1398893684, 1701076831]).concat(y).concat(g) : F = g, F.toString(e);
|
2440
|
+
},
|
2441
|
+
/**
|
2442
|
+
* Converts an OpenSSL-compatible string to a cipher params object.
|
2443
|
+
*
|
2444
|
+
* @param {string} openSSLStr The OpenSSL-compatible string.
|
2445
|
+
*
|
2446
|
+
* @return {CipherParams} The cipher params object.
|
2447
|
+
*
|
2448
|
+
* @static
|
2449
|
+
*
|
2450
|
+
* @example
|
2451
|
+
*
|
2452
|
+
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
2453
|
+
*/
|
2454
|
+
parse: function(v) {
|
2455
|
+
var F, g = e.parse(v), y = g.words;
|
2456
|
+
return y[0] == 1398893684 && y[1] == 1701076831 && (F = B.create(y.slice(2, 4)), y.splice(0, 4), g.sigBytes -= 16), a.create({ ciphertext: g, salt: F });
|
2457
|
+
}
|
2458
|
+
}, l = D.SerializableCipher = w.extend({
|
2459
|
+
/**
|
2460
|
+
* Configuration options.
|
2461
|
+
*
|
2462
|
+
* @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
|
2463
|
+
*/
|
2464
|
+
cfg: w.extend({
|
2465
|
+
format: E
|
2466
|
+
}),
|
2467
|
+
/**
|
2468
|
+
* Encrypts a message.
|
2469
|
+
*
|
2470
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
2471
|
+
* @param {WordArray|string} message The message to encrypt.
|
2472
|
+
* @param {WordArray} key The key.
|
2473
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
2474
|
+
*
|
2475
|
+
* @return {CipherParams} A cipher params object.
|
2476
|
+
*
|
2477
|
+
* @static
|
2478
|
+
*
|
2479
|
+
* @example
|
2480
|
+
*
|
2481
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
|
2482
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
|
2483
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
2484
|
+
*/
|
2485
|
+
encrypt: function(v, F, g, y) {
|
2486
|
+
y = this.cfg.extend(y);
|
2487
|
+
var z = v.createEncryptor(g, y), q = z.finalize(F), P = z.cfg;
|
2488
|
+
return a.create({
|
2489
|
+
ciphertext: q,
|
2490
|
+
key: g,
|
2491
|
+
iv: P.iv,
|
2492
|
+
algorithm: v,
|
2493
|
+
mode: P.mode,
|
2494
|
+
padding: P.padding,
|
2495
|
+
blockSize: v.blockSize,
|
2496
|
+
formatter: y.format
|
2497
|
+
});
|
2498
|
+
},
|
2499
|
+
/**
|
2500
|
+
* Decrypts serialized ciphertext.
|
2501
|
+
*
|
2502
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
2503
|
+
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
|
2504
|
+
* @param {WordArray} key The key.
|
2505
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
2506
|
+
*
|
2507
|
+
* @return {WordArray} The plaintext.
|
2508
|
+
*
|
2509
|
+
* @static
|
2510
|
+
*
|
2511
|
+
* @example
|
2512
|
+
*
|
2513
|
+
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
2514
|
+
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
2515
|
+
*/
|
2516
|
+
decrypt: function(v, F, g, y) {
|
2517
|
+
y = this.cfg.extend(y), F = this._parse(F, y.format);
|
2518
|
+
var z = v.createDecryptor(g, y).finalize(F.ciphertext);
|
2519
|
+
return z;
|
2520
|
+
},
|
2521
|
+
/**
|
2522
|
+
* Converts serialized ciphertext to CipherParams,
|
2523
|
+
* else assumed CipherParams already and returns ciphertext unchanged.
|
2524
|
+
*
|
2525
|
+
* @param {CipherParams|string} ciphertext The ciphertext.
|
2526
|
+
* @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
|
2527
|
+
*
|
2528
|
+
* @return {CipherParams} The unserialized ciphertext.
|
2529
|
+
*
|
2530
|
+
* @static
|
2531
|
+
*
|
2532
|
+
* @example
|
2533
|
+
*
|
2534
|
+
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
|
2535
|
+
*/
|
2536
|
+
_parse: function(v, F) {
|
2537
|
+
return typeof v == "string" ? F.parse(v, this) : v;
|
2538
|
+
}
|
2539
|
+
}), A = p.kdf = {}, _ = A.OpenSSL = {
|
2540
|
+
/**
|
2541
|
+
* Derives a key and IV from a password.
|
2542
|
+
*
|
2543
|
+
* @param {string} password The password to derive from.
|
2544
|
+
* @param {number} keySize The size in words of the key to generate.
|
2545
|
+
* @param {number} ivSize The size in words of the IV to generate.
|
2546
|
+
* @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
|
2547
|
+
*
|
2548
|
+
* @return {CipherParams} A cipher params object with the key, IV, and salt.
|
2549
|
+
*
|
2550
|
+
* @static
|
2551
|
+
*
|
2552
|
+
* @example
|
2553
|
+
*
|
2554
|
+
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
2555
|
+
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
2556
|
+
*/
|
2557
|
+
execute: function(v, F, g, y, z) {
|
2558
|
+
if (y || (y = B.random(64 / 8)), z)
|
2559
|
+
var q = r.create({ keySize: F + g, hasher: z }).compute(v, y);
|
2560
|
+
else
|
2561
|
+
var q = r.create({ keySize: F + g }).compute(v, y);
|
2562
|
+
var P = B.create(q.words.slice(F), g * 4);
|
2563
|
+
return q.sigBytes = F * 4, a.create({ key: q, iv: P, salt: y });
|
2564
|
+
}
|
2565
|
+
}, S = D.PasswordBasedCipher = l.extend({
|
2566
|
+
/**
|
2567
|
+
* Configuration options.
|
2568
|
+
*
|
2569
|
+
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
|
2570
|
+
*/
|
2571
|
+
cfg: l.cfg.extend({
|
2572
|
+
kdf: _
|
2573
|
+
}),
|
2574
|
+
/**
|
2575
|
+
* Encrypts a message using a password.
|
2576
|
+
*
|
2577
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
2578
|
+
* @param {WordArray|string} message The message to encrypt.
|
2579
|
+
* @param {string} password The password.
|
2580
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
2581
|
+
*
|
2582
|
+
* @return {CipherParams} A cipher params object.
|
2583
|
+
*
|
2584
|
+
* @static
|
2585
|
+
*
|
2586
|
+
* @example
|
2587
|
+
*
|
2588
|
+
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
|
2589
|
+
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
|
2590
|
+
*/
|
2591
|
+
encrypt: function(v, F, g, y) {
|
2592
|
+
y = this.cfg.extend(y);
|
2593
|
+
var z = y.kdf.execute(g, v.keySize, v.ivSize, y.salt, y.hasher);
|
2594
|
+
y.iv = z.iv;
|
2595
|
+
var q = l.encrypt.call(this, v, F, z.key, y);
|
2596
|
+
return q.mixIn(z), q;
|
2597
|
+
},
|
2598
|
+
/**
|
2599
|
+
* Decrypts serialized ciphertext using a password.
|
2600
|
+
*
|
2601
|
+
* @param {Cipher} cipher The cipher algorithm to use.
|
2602
|
+
* @param {CipherParams|string} ciphertext The ciphertext to decrypt.
|
2603
|
+
* @param {string} password The password.
|
2604
|
+
* @param {Object} cfg (Optional) The configuration options to use for this operation.
|
2605
|
+
*
|
2606
|
+
* @return {WordArray} The plaintext.
|
2607
|
+
*
|
2608
|
+
* @static
|
2609
|
+
*
|
2610
|
+
* @example
|
2611
|
+
*
|
2612
|
+
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
|
2613
|
+
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
|
2614
|
+
*/
|
2615
|
+
decrypt: function(v, F, g, y) {
|
2616
|
+
y = this.cfg.extend(y), F = this._parse(F, y.format);
|
2617
|
+
var z = y.kdf.execute(g, v.keySize, v.ivSize, F.salt, y.hasher);
|
2618
|
+
y.iv = z.iv;
|
2619
|
+
var q = l.decrypt.call(this, v, F, z.key, y);
|
2620
|
+
return q;
|
2621
|
+
}
|
2622
|
+
});
|
2623
|
+
}();
|
2624
|
+
});
|
2625
|
+
}(L0)), L0.exports;
|
2626
|
+
}
|
2627
|
+
var T0 = { exports: {} }, zx;
|
2628
|
+
function yr() {
|
2629
|
+
return zx || (zx = 1, function(R, T) {
|
2630
|
+
(function(C, n, p) {
|
2631
|
+
R.exports = n(I(), Z());
|
2632
|
+
})(W, function(C) {
|
2633
|
+
return C.mode.CFB = function() {
|
2634
|
+
var n = C.lib.BlockCipherMode.extend();
|
2635
|
+
n.Encryptor = n.extend({
|
2636
|
+
processBlock: function(D, w) {
|
2637
|
+
var B = this._cipher, d = B.blockSize;
|
2638
|
+
p.call(this, D, w, d, B), this._prevBlock = D.slice(w, w + d);
|
2639
|
+
}
|
2640
|
+
}), n.Decryptor = n.extend({
|
2641
|
+
processBlock: function(D, w) {
|
2642
|
+
var B = this._cipher, d = B.blockSize, x = D.slice(w, w + d);
|
2643
|
+
p.call(this, D, w, d, B), this._prevBlock = x;
|
2644
|
+
}
|
2645
|
+
});
|
2646
|
+
function p(D, w, B, d) {
|
2647
|
+
var x, e = this._iv;
|
2648
|
+
e ? (x = e.slice(0), this._iv = void 0) : x = this._prevBlock, d.encryptBlock(x, 0);
|
2649
|
+
for (var u = 0; u < B; u++)
|
2650
|
+
D[w + u] ^= x[u];
|
2651
|
+
}
|
2652
|
+
return n;
|
2653
|
+
}(), C.mode.CFB;
|
2654
|
+
});
|
2655
|
+
}(T0)), T0.exports;
|
2656
|
+
}
|
2657
|
+
var I0 = { exports: {} }, qx;
|
2658
|
+
function kr() {
|
2659
|
+
return qx || (qx = 1, function(R, T) {
|
2660
|
+
(function(C, n, p) {
|
2661
|
+
R.exports = n(I(), Z());
|
2662
|
+
})(W, function(C) {
|
2663
|
+
return C.mode.CTR = function() {
|
2664
|
+
var n = C.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
|
2665
|
+
processBlock: function(D, w) {
|
2666
|
+
var B = this._cipher, d = B.blockSize, x = this._iv, e = this._counter;
|
2667
|
+
x && (e = this._counter = x.slice(0), this._iv = void 0);
|
2668
|
+
var u = e.slice(0);
|
2669
|
+
B.encryptBlock(u, 0), e[d - 1] = e[d - 1] + 1 | 0;
|
2670
|
+
for (var r = 0; r < d; r++)
|
2671
|
+
D[w + r] ^= u[r];
|
2672
|
+
}
|
2673
|
+
});
|
2674
|
+
return n.Decryptor = p, n;
|
2675
|
+
}(), C.mode.CTR;
|
2676
|
+
});
|
2677
|
+
}(I0)), I0.exports;
|
2678
|
+
}
|
2679
|
+
var N0 = { exports: {} }, Px;
|
2680
|
+
function wr() {
|
2681
|
+
return Px || (Px = 1, function(R, T) {
|
2682
|
+
(function(C, n, p) {
|
2683
|
+
R.exports = n(I(), Z());
|
2684
|
+
})(W, function(C) {
|
2685
|
+
/** @preserve
|
2686
|
+
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
2687
|
+
* derived from CryptoJS.mode.CTR
|
2688
|
+
* Jan Hruby jhruby.web@gmail.com
|
2689
|
+
*/
|
2690
|
+
return C.mode.CTRGladman = function() {
|
2691
|
+
var n = C.lib.BlockCipherMode.extend();
|
2692
|
+
function p(B) {
|
2693
|
+
if ((B >> 24 & 255) === 255) {
|
2694
|
+
var d = B >> 16 & 255, x = B >> 8 & 255, e = B & 255;
|
2695
|
+
d === 255 ? (d = 0, x === 255 ? (x = 0, e === 255 ? e = 0 : ++e) : ++x) : ++d, B = 0, B += d << 16, B += x << 8, B += e;
|
2696
|
+
} else
|
2697
|
+
B += 1 << 24;
|
2698
|
+
return B;
|
2699
|
+
}
|
2700
|
+
function D(B) {
|
2701
|
+
return (B[0] = p(B[0])) === 0 && (B[1] = p(B[1])), B;
|
2702
|
+
}
|
2703
|
+
var w = n.Encryptor = n.extend({
|
2704
|
+
processBlock: function(B, d) {
|
2705
|
+
var x = this._cipher, e = x.blockSize, u = this._iv, r = this._counter;
|
2706
|
+
u && (r = this._counter = u.slice(0), this._iv = void 0), D(r);
|
2707
|
+
var s = r.slice(0);
|
2708
|
+
x.encryptBlock(s, 0);
|
2709
|
+
for (var o = 0; o < e; o++)
|
2710
|
+
B[d + o] ^= s[o];
|
2711
|
+
}
|
2712
|
+
});
|
2713
|
+
return n.Decryptor = w, n;
|
2714
|
+
}(), C.mode.CTRGladman;
|
2715
|
+
});
|
2716
|
+
}(N0)), N0.exports;
|
2717
|
+
}
|
2718
|
+
var X0 = { exports: {} }, Wx;
|
2719
|
+
function Hr() {
|
2720
|
+
return Wx || (Wx = 1, function(R, T) {
|
2721
|
+
(function(C, n, p) {
|
2722
|
+
R.exports = n(I(), Z());
|
2723
|
+
})(W, function(C) {
|
2724
|
+
return C.mode.OFB = function() {
|
2725
|
+
var n = C.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
|
2726
|
+
processBlock: function(D, w) {
|
2727
|
+
var B = this._cipher, d = B.blockSize, x = this._iv, e = this._keystream;
|
2728
|
+
x && (e = this._keystream = x.slice(0), this._iv = void 0), B.encryptBlock(e, 0);
|
2729
|
+
for (var u = 0; u < d; u++)
|
2730
|
+
D[w + u] ^= e[u];
|
2731
|
+
}
|
2732
|
+
});
|
2733
|
+
return n.Decryptor = p, n;
|
2734
|
+
}(), C.mode.OFB;
|
2735
|
+
});
|
2736
|
+
}(X0)), X0.exports;
|
2737
|
+
}
|
2738
|
+
var O0 = { exports: {} }, Lx;
|
2739
|
+
function mr() {
|
2740
|
+
return Lx || (Lx = 1, function(R, T) {
|
2741
|
+
(function(C, n, p) {
|
2742
|
+
R.exports = n(I(), Z());
|
2743
|
+
})(W, function(C) {
|
2744
|
+
return C.mode.ECB = function() {
|
2745
|
+
var n = C.lib.BlockCipherMode.extend();
|
2746
|
+
return n.Encryptor = n.extend({
|
2747
|
+
processBlock: function(p, D) {
|
2748
|
+
this._cipher.encryptBlock(p, D);
|
2749
|
+
}
|
2750
|
+
}), n.Decryptor = n.extend({
|
2751
|
+
processBlock: function(p, D) {
|
2752
|
+
this._cipher.decryptBlock(p, D);
|
2753
|
+
}
|
2754
|
+
}), n;
|
2755
|
+
}(), C.mode.ECB;
|
2756
|
+
});
|
2757
|
+
}(O0)), O0.exports;
|
2758
|
+
}
|
2759
|
+
var K0 = { exports: {} }, Tx;
|
2760
|
+
function Sr() {
|
2761
|
+
return Tx || (Tx = 1, function(R, T) {
|
2762
|
+
(function(C, n, p) {
|
2763
|
+
R.exports = n(I(), Z());
|
2764
|
+
})(W, function(C) {
|
2765
|
+
return C.pad.AnsiX923 = {
|
2766
|
+
pad: function(n, p) {
|
2767
|
+
var D = n.sigBytes, w = p * 4, B = w - D % w, d = D + B - 1;
|
2768
|
+
n.clamp(), n.words[d >>> 2] |= B << 24 - d % 4 * 8, n.sigBytes += B;
|
2769
|
+
},
|
2770
|
+
unpad: function(n) {
|
2771
|
+
var p = n.words[n.sigBytes - 1 >>> 2] & 255;
|
2772
|
+
n.sigBytes -= p;
|
2773
|
+
}
|
2774
|
+
}, C.pad.Ansix923;
|
2775
|
+
});
|
2776
|
+
}(K0)), K0.exports;
|
2777
|
+
}
|
2778
|
+
var U0 = { exports: {} }, Ix;
|
2779
|
+
function Rr() {
|
2780
|
+
return Ix || (Ix = 1, function(R, T) {
|
2781
|
+
(function(C, n, p) {
|
2782
|
+
R.exports = n(I(), Z());
|
2783
|
+
})(W, function(C) {
|
2784
|
+
return C.pad.Iso10126 = {
|
2785
|
+
pad: function(n, p) {
|
2786
|
+
var D = p * 4, w = D - n.sigBytes % D;
|
2787
|
+
n.concat(C.lib.WordArray.random(w - 1)).concat(C.lib.WordArray.create([w << 24], 1));
|
2788
|
+
},
|
2789
|
+
unpad: function(n) {
|
2790
|
+
var p = n.words[n.sigBytes - 1 >>> 2] & 255;
|
2791
|
+
n.sigBytes -= p;
|
2792
|
+
}
|
2793
|
+
}, C.pad.Iso10126;
|
2794
|
+
});
|
2795
|
+
}(U0)), U0.exports;
|
2796
|
+
}
|
2797
|
+
var G0 = { exports: {} }, Nx;
|
2798
|
+
function zr() {
|
2799
|
+
return Nx || (Nx = 1, function(R, T) {
|
2800
|
+
(function(C, n, p) {
|
2801
|
+
R.exports = n(I(), Z());
|
2802
|
+
})(W, function(C) {
|
2803
|
+
return C.pad.Iso97971 = {
|
2804
|
+
pad: function(n, p) {
|
2805
|
+
n.concat(C.lib.WordArray.create([2147483648], 1)), C.pad.ZeroPadding.pad(n, p);
|
2806
|
+
},
|
2807
|
+
unpad: function(n) {
|
2808
|
+
C.pad.ZeroPadding.unpad(n), n.sigBytes--;
|
2809
|
+
}
|
2810
|
+
}, C.pad.Iso97971;
|
2811
|
+
});
|
2812
|
+
}(G0)), G0.exports;
|
2813
|
+
}
|
2814
|
+
var Z0 = { exports: {} }, Xx;
|
2815
|
+
function qr() {
|
2816
|
+
return Xx || (Xx = 1, function(R, T) {
|
2817
|
+
(function(C, n, p) {
|
2818
|
+
R.exports = n(I(), Z());
|
2819
|
+
})(W, function(C) {
|
2820
|
+
return C.pad.ZeroPadding = {
|
2821
|
+
pad: function(n, p) {
|
2822
|
+
var D = p * 4;
|
2823
|
+
n.clamp(), n.sigBytes += D - (n.sigBytes % D || D);
|
2824
|
+
},
|
2825
|
+
unpad: function(n) {
|
2826
|
+
for (var p = n.words, D = n.sigBytes - 1, D = n.sigBytes - 1; D >= 0; D--)
|
2827
|
+
if (p[D >>> 2] >>> 24 - D % 4 * 8 & 255) {
|
2828
|
+
n.sigBytes = D + 1;
|
2829
|
+
break;
|
2830
|
+
}
|
2831
|
+
}
|
2832
|
+
}, C.pad.ZeroPadding;
|
2833
|
+
});
|
2834
|
+
}(Z0)), Z0.exports;
|
2835
|
+
}
|
2836
|
+
var $0 = { exports: {} }, Ox;
|
2837
|
+
function Pr() {
|
2838
|
+
return Ox || (Ox = 1, function(R, T) {
|
2839
|
+
(function(C, n, p) {
|
2840
|
+
R.exports = n(I(), Z());
|
2841
|
+
})(W, function(C) {
|
2842
|
+
return C.pad.NoPadding = {
|
2843
|
+
pad: function() {
|
2844
|
+
},
|
2845
|
+
unpad: function() {
|
2846
|
+
}
|
2847
|
+
}, C.pad.NoPadding;
|
2848
|
+
});
|
2849
|
+
}($0)), $0.exports;
|
2850
|
+
}
|
2851
|
+
var Q0 = { exports: {} }, Kx;
|
2852
|
+
function Wr() {
|
2853
|
+
return Kx || (Kx = 1, function(R, T) {
|
2854
|
+
(function(C, n, p) {
|
2855
|
+
R.exports = n(I(), Z());
|
2856
|
+
})(W, function(C) {
|
2857
|
+
return function(n) {
|
2858
|
+
var p = C, D = p.lib, w = D.CipherParams, B = p.enc, d = B.Hex, x = p.format;
|
2859
|
+
x.Hex = {
|
2860
|
+
/**
|
2861
|
+
* Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
|
2862
|
+
*
|
2863
|
+
* @param {CipherParams} cipherParams The cipher params object.
|
2864
|
+
*
|
2865
|
+
* @return {string} The hexadecimally encoded string.
|
2866
|
+
*
|
2867
|
+
* @static
|
2868
|
+
*
|
2869
|
+
* @example
|
2870
|
+
*
|
2871
|
+
* var hexString = CryptoJS.format.Hex.stringify(cipherParams);
|
2872
|
+
*/
|
2873
|
+
stringify: function(e) {
|
2874
|
+
return e.ciphertext.toString(d);
|
2875
|
+
},
|
2876
|
+
/**
|
2877
|
+
* Converts a hexadecimally encoded ciphertext string to a cipher params object.
|
2878
|
+
*
|
2879
|
+
* @param {string} input The hexadecimally encoded string.
|
2880
|
+
*
|
2881
|
+
* @return {CipherParams} The cipher params object.
|
2882
|
+
*
|
2883
|
+
* @static
|
2884
|
+
*
|
2885
|
+
* @example
|
2886
|
+
*
|
2887
|
+
* var cipherParams = CryptoJS.format.Hex.parse(hexString);
|
2888
|
+
*/
|
2889
|
+
parse: function(e) {
|
2890
|
+
var u = d.parse(e);
|
2891
|
+
return w.create({ ciphertext: u });
|
2892
|
+
}
|
2893
|
+
};
|
2894
|
+
}(), C.format.Hex;
|
2895
|
+
});
|
2896
|
+
}(Q0)), Q0.exports;
|
2897
|
+
}
|
2898
|
+
var Y0 = { exports: {} }, Ux;
|
2899
|
+
function Lr() {
|
2900
|
+
return Ux || (Ux = 1, function(R, T) {
|
2901
|
+
(function(C, n, p) {
|
2902
|
+
R.exports = n(I(), e0(), t0(), r0(), Z());
|
2903
|
+
})(W, function(C) {
|
2904
|
+
return function() {
|
2905
|
+
var n = C, p = n.lib, D = p.BlockCipher, w = n.algo, B = [], d = [], x = [], e = [], u = [], r = [], s = [], o = [], c = [], f = [];
|
2906
|
+
(function() {
|
2907
|
+
for (var a = [], i = 0; i < 256; i++)
|
2908
|
+
i < 128 ? a[i] = i << 1 : a[i] = i << 1 ^ 283;
|
2909
|
+
for (var E = 0, l = 0, i = 0; i < 256; i++) {
|
2910
|
+
var A = l ^ l << 1 ^ l << 2 ^ l << 3 ^ l << 4;
|
2911
|
+
A = A >>> 8 ^ A & 255 ^ 99, B[E] = A, d[A] = E;
|
2912
|
+
var _ = a[E], S = a[_], v = a[S], F = a[A] * 257 ^ A * 16843008;
|
2913
|
+
x[E] = F << 24 | F >>> 8, e[E] = F << 16 | F >>> 16, u[E] = F << 8 | F >>> 24, r[E] = F;
|
2914
|
+
var F = v * 16843009 ^ S * 65537 ^ _ * 257 ^ E * 16843008;
|
2915
|
+
s[A] = F << 24 | F >>> 8, o[A] = F << 16 | F >>> 16, c[A] = F << 8 | F >>> 24, f[A] = F, E ? (E = _ ^ a[a[a[v ^ _]]], l ^= a[a[l]]) : E = l = 1;
|
2916
|
+
}
|
2917
|
+
})();
|
2918
|
+
var h = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], t = w.AES = D.extend({
|
2919
|
+
_doReset: function() {
|
2920
|
+
var a;
|
2921
|
+
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
2922
|
+
for (var i = this._keyPriorReset = this._key, E = i.words, l = i.sigBytes / 4, A = this._nRounds = l + 6, _ = (A + 1) * 4, S = this._keySchedule = [], v = 0; v < _; v++)
|
2923
|
+
v < l ? S[v] = E[v] : (a = S[v - 1], v % l ? l > 6 && v % l == 4 && (a = B[a >>> 24] << 24 | B[a >>> 16 & 255] << 16 | B[a >>> 8 & 255] << 8 | B[a & 255]) : (a = a << 8 | a >>> 24, a = B[a >>> 24] << 24 | B[a >>> 16 & 255] << 16 | B[a >>> 8 & 255] << 8 | B[a & 255], a ^= h[v / l | 0] << 24), S[v] = S[v - l] ^ a);
|
2924
|
+
for (var F = this._invKeySchedule = [], g = 0; g < _; g++) {
|
2925
|
+
var v = _ - g;
|
2926
|
+
if (g % 4)
|
2927
|
+
var a = S[v];
|
2928
|
+
else
|
2929
|
+
var a = S[v - 4];
|
2930
|
+
g < 4 || v <= 4 ? F[g] = a : F[g] = s[B[a >>> 24]] ^ o[B[a >>> 16 & 255]] ^ c[B[a >>> 8 & 255]] ^ f[B[a & 255]];
|
2931
|
+
}
|
2932
|
+
}
|
2933
|
+
},
|
2934
|
+
encryptBlock: function(a, i) {
|
2935
|
+
this._doCryptBlock(a, i, this._keySchedule, x, e, u, r, B);
|
2936
|
+
},
|
2937
|
+
decryptBlock: function(a, i) {
|
2938
|
+
var E = a[i + 1];
|
2939
|
+
a[i + 1] = a[i + 3], a[i + 3] = E, this._doCryptBlock(a, i, this._invKeySchedule, s, o, c, f, d);
|
2940
|
+
var E = a[i + 1];
|
2941
|
+
a[i + 1] = a[i + 3], a[i + 3] = E;
|
2942
|
+
},
|
2943
|
+
_doCryptBlock: function(a, i, E, l, A, _, S, v) {
|
2944
|
+
for (var F = this._nRounds, g = a[i] ^ E[0], y = a[i + 1] ^ E[1], z = a[i + 2] ^ E[2], q = a[i + 3] ^ E[3], P = 4, U = 1; U < F; U++) {
|
2945
|
+
var N = l[g >>> 24] ^ A[y >>> 16 & 255] ^ _[z >>> 8 & 255] ^ S[q & 255] ^ E[P++], O = l[y >>> 24] ^ A[z >>> 16 & 255] ^ _[q >>> 8 & 255] ^ S[g & 255] ^ E[P++], X = l[z >>> 24] ^ A[q >>> 16 & 255] ^ _[g >>> 8 & 255] ^ S[y & 255] ^ E[P++], b = l[q >>> 24] ^ A[g >>> 16 & 255] ^ _[y >>> 8 & 255] ^ S[z & 255] ^ E[P++];
|
2946
|
+
g = N, y = O, z = X, q = b;
|
2947
|
+
}
|
2948
|
+
var N = (v[g >>> 24] << 24 | v[y >>> 16 & 255] << 16 | v[z >>> 8 & 255] << 8 | v[q & 255]) ^ E[P++], O = (v[y >>> 24] << 24 | v[z >>> 16 & 255] << 16 | v[q >>> 8 & 255] << 8 | v[g & 255]) ^ E[P++], X = (v[z >>> 24] << 24 | v[q >>> 16 & 255] << 16 | v[g >>> 8 & 255] << 8 | v[y & 255]) ^ E[P++], b = (v[q >>> 24] << 24 | v[g >>> 16 & 255] << 16 | v[y >>> 8 & 255] << 8 | v[z & 255]) ^ E[P++];
|
2949
|
+
a[i] = N, a[i + 1] = O, a[i + 2] = X, a[i + 3] = b;
|
2950
|
+
},
|
2951
|
+
keySize: 256 / 32
|
2952
|
+
});
|
2953
|
+
n.AES = D._createHelper(t);
|
2954
|
+
}(), C.AES;
|
2955
|
+
});
|
2956
|
+
}(Y0)), Y0.exports;
|
2957
|
+
}
|
2958
|
+
var j0 = { exports: {} }, Gx;
|
2959
|
+
function Tr() {
|
2960
|
+
return Gx || (Gx = 1, function(R, T) {
|
2961
|
+
(function(C, n, p) {
|
2962
|
+
R.exports = n(I(), e0(), t0(), r0(), Z());
|
2963
|
+
})(W, function(C) {
|
2964
|
+
return function() {
|
2965
|
+
var n = C, p = n.lib, D = p.WordArray, w = p.BlockCipher, B = n.algo, d = [
|
2966
|
+
57,
|
2967
|
+
49,
|
2968
|
+
41,
|
2969
|
+
33,
|
2970
|
+
25,
|
2971
|
+
17,
|
2972
|
+
9,
|
2973
|
+
1,
|
2974
|
+
58,
|
2975
|
+
50,
|
2976
|
+
42,
|
2977
|
+
34,
|
2978
|
+
26,
|
2979
|
+
18,
|
2980
|
+
10,
|
2981
|
+
2,
|
2982
|
+
59,
|
2983
|
+
51,
|
2984
|
+
43,
|
2985
|
+
35,
|
2986
|
+
27,
|
2987
|
+
19,
|
2988
|
+
11,
|
2989
|
+
3,
|
2990
|
+
60,
|
2991
|
+
52,
|
2992
|
+
44,
|
2993
|
+
36,
|
2994
|
+
63,
|
2995
|
+
55,
|
2996
|
+
47,
|
2997
|
+
39,
|
2998
|
+
31,
|
2999
|
+
23,
|
3000
|
+
15,
|
3001
|
+
7,
|
3002
|
+
62,
|
3003
|
+
54,
|
3004
|
+
46,
|
3005
|
+
38,
|
3006
|
+
30,
|
3007
|
+
22,
|
3008
|
+
14,
|
3009
|
+
6,
|
3010
|
+
61,
|
3011
|
+
53,
|
3012
|
+
45,
|
3013
|
+
37,
|
3014
|
+
29,
|
3015
|
+
21,
|
3016
|
+
13,
|
3017
|
+
5,
|
3018
|
+
28,
|
3019
|
+
20,
|
3020
|
+
12,
|
3021
|
+
4
|
3022
|
+
], x = [
|
3023
|
+
14,
|
3024
|
+
17,
|
3025
|
+
11,
|
3026
|
+
24,
|
3027
|
+
1,
|
3028
|
+
5,
|
3029
|
+
3,
|
3030
|
+
28,
|
3031
|
+
15,
|
3032
|
+
6,
|
3033
|
+
21,
|
3034
|
+
10,
|
3035
|
+
23,
|
3036
|
+
19,
|
3037
|
+
12,
|
3038
|
+
4,
|
3039
|
+
26,
|
3040
|
+
8,
|
3041
|
+
16,
|
3042
|
+
7,
|
3043
|
+
27,
|
3044
|
+
20,
|
3045
|
+
13,
|
3046
|
+
2,
|
3047
|
+
41,
|
3048
|
+
52,
|
3049
|
+
31,
|
3050
|
+
37,
|
3051
|
+
47,
|
3052
|
+
55,
|
3053
|
+
30,
|
3054
|
+
40,
|
3055
|
+
51,
|
3056
|
+
45,
|
3057
|
+
33,
|
3058
|
+
48,
|
3059
|
+
44,
|
3060
|
+
49,
|
3061
|
+
39,
|
3062
|
+
56,
|
3063
|
+
34,
|
3064
|
+
53,
|
3065
|
+
46,
|
3066
|
+
42,
|
3067
|
+
50,
|
3068
|
+
36,
|
3069
|
+
29,
|
3070
|
+
32
|
3071
|
+
], e = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], u = [
|
3072
|
+
{
|
3073
|
+
0: 8421888,
|
3074
|
+
268435456: 32768,
|
3075
|
+
536870912: 8421378,
|
3076
|
+
805306368: 2,
|
3077
|
+
1073741824: 512,
|
3078
|
+
1342177280: 8421890,
|
3079
|
+
1610612736: 8389122,
|
3080
|
+
1879048192: 8388608,
|
3081
|
+
2147483648: 514,
|
3082
|
+
2415919104: 8389120,
|
3083
|
+
2684354560: 33280,
|
3084
|
+
2952790016: 8421376,
|
3085
|
+
3221225472: 32770,
|
3086
|
+
3489660928: 8388610,
|
3087
|
+
3758096384: 0,
|
3088
|
+
4026531840: 33282,
|
3089
|
+
134217728: 0,
|
3090
|
+
402653184: 8421890,
|
3091
|
+
671088640: 33282,
|
3092
|
+
939524096: 32768,
|
3093
|
+
1207959552: 8421888,
|
3094
|
+
1476395008: 512,
|
3095
|
+
1744830464: 8421378,
|
3096
|
+
2013265920: 2,
|
3097
|
+
2281701376: 8389120,
|
3098
|
+
2550136832: 33280,
|
3099
|
+
2818572288: 8421376,
|
3100
|
+
3087007744: 8389122,
|
3101
|
+
3355443200: 8388610,
|
3102
|
+
3623878656: 32770,
|
3103
|
+
3892314112: 514,
|
3104
|
+
4160749568: 8388608,
|
3105
|
+
1: 32768,
|
3106
|
+
268435457: 2,
|
3107
|
+
536870913: 8421888,
|
3108
|
+
805306369: 8388608,
|
3109
|
+
1073741825: 8421378,
|
3110
|
+
1342177281: 33280,
|
3111
|
+
1610612737: 512,
|
3112
|
+
1879048193: 8389122,
|
3113
|
+
2147483649: 8421890,
|
3114
|
+
2415919105: 8421376,
|
3115
|
+
2684354561: 8388610,
|
3116
|
+
2952790017: 33282,
|
3117
|
+
3221225473: 514,
|
3118
|
+
3489660929: 8389120,
|
3119
|
+
3758096385: 32770,
|
3120
|
+
4026531841: 0,
|
3121
|
+
134217729: 8421890,
|
3122
|
+
402653185: 8421376,
|
3123
|
+
671088641: 8388608,
|
3124
|
+
939524097: 512,
|
3125
|
+
1207959553: 32768,
|
3126
|
+
1476395009: 8388610,
|
3127
|
+
1744830465: 2,
|
3128
|
+
2013265921: 33282,
|
3129
|
+
2281701377: 32770,
|
3130
|
+
2550136833: 8389122,
|
3131
|
+
2818572289: 514,
|
3132
|
+
3087007745: 8421888,
|
3133
|
+
3355443201: 8389120,
|
3134
|
+
3623878657: 0,
|
3135
|
+
3892314113: 33280,
|
3136
|
+
4160749569: 8421378
|
3137
|
+
},
|
3138
|
+
{
|
3139
|
+
0: 1074282512,
|
3140
|
+
16777216: 16384,
|
3141
|
+
33554432: 524288,
|
3142
|
+
50331648: 1074266128,
|
3143
|
+
67108864: 1073741840,
|
3144
|
+
83886080: 1074282496,
|
3145
|
+
100663296: 1073758208,
|
3146
|
+
117440512: 16,
|
3147
|
+
134217728: 540672,
|
3148
|
+
150994944: 1073758224,
|
3149
|
+
167772160: 1073741824,
|
3150
|
+
184549376: 540688,
|
3151
|
+
201326592: 524304,
|
3152
|
+
218103808: 0,
|
3153
|
+
234881024: 16400,
|
3154
|
+
251658240: 1074266112,
|
3155
|
+
8388608: 1073758208,
|
3156
|
+
25165824: 540688,
|
3157
|
+
41943040: 16,
|
3158
|
+
58720256: 1073758224,
|
3159
|
+
75497472: 1074282512,
|
3160
|
+
92274688: 1073741824,
|
3161
|
+
109051904: 524288,
|
3162
|
+
125829120: 1074266128,
|
3163
|
+
142606336: 524304,
|
3164
|
+
159383552: 0,
|
3165
|
+
176160768: 16384,
|
3166
|
+
192937984: 1074266112,
|
3167
|
+
209715200: 1073741840,
|
3168
|
+
226492416: 540672,
|
3169
|
+
243269632: 1074282496,
|
3170
|
+
260046848: 16400,
|
3171
|
+
268435456: 0,
|
3172
|
+
285212672: 1074266128,
|
3173
|
+
301989888: 1073758224,
|
3174
|
+
318767104: 1074282496,
|
3175
|
+
335544320: 1074266112,
|
3176
|
+
352321536: 16,
|
3177
|
+
369098752: 540688,
|
3178
|
+
385875968: 16384,
|
3179
|
+
402653184: 16400,
|
3180
|
+
419430400: 524288,
|
3181
|
+
436207616: 524304,
|
3182
|
+
452984832: 1073741840,
|
3183
|
+
469762048: 540672,
|
3184
|
+
486539264: 1073758208,
|
3185
|
+
503316480: 1073741824,
|
3186
|
+
520093696: 1074282512,
|
3187
|
+
276824064: 540688,
|
3188
|
+
293601280: 524288,
|
3189
|
+
310378496: 1074266112,
|
3190
|
+
327155712: 16384,
|
3191
|
+
343932928: 1073758208,
|
3192
|
+
360710144: 1074282512,
|
3193
|
+
377487360: 16,
|
3194
|
+
394264576: 1073741824,
|
3195
|
+
411041792: 1074282496,
|
3196
|
+
427819008: 1073741840,
|
3197
|
+
444596224: 1073758224,
|
3198
|
+
461373440: 524304,
|
3199
|
+
478150656: 0,
|
3200
|
+
494927872: 16400,
|
3201
|
+
511705088: 1074266128,
|
3202
|
+
528482304: 540672
|
3203
|
+
},
|
3204
|
+
{
|
3205
|
+
0: 260,
|
3206
|
+
1048576: 0,
|
3207
|
+
2097152: 67109120,
|
3208
|
+
3145728: 65796,
|
3209
|
+
4194304: 65540,
|
3210
|
+
5242880: 67108868,
|
3211
|
+
6291456: 67174660,
|
3212
|
+
7340032: 67174400,
|
3213
|
+
8388608: 67108864,
|
3214
|
+
9437184: 67174656,
|
3215
|
+
10485760: 65792,
|
3216
|
+
11534336: 67174404,
|
3217
|
+
12582912: 67109124,
|
3218
|
+
13631488: 65536,
|
3219
|
+
14680064: 4,
|
3220
|
+
15728640: 256,
|
3221
|
+
524288: 67174656,
|
3222
|
+
1572864: 67174404,
|
3223
|
+
2621440: 0,
|
3224
|
+
3670016: 67109120,
|
3225
|
+
4718592: 67108868,
|
3226
|
+
5767168: 65536,
|
3227
|
+
6815744: 65540,
|
3228
|
+
7864320: 260,
|
3229
|
+
8912896: 4,
|
3230
|
+
9961472: 256,
|
3231
|
+
11010048: 67174400,
|
3232
|
+
12058624: 65796,
|
3233
|
+
13107200: 65792,
|
3234
|
+
14155776: 67109124,
|
3235
|
+
15204352: 67174660,
|
3236
|
+
16252928: 67108864,
|
3237
|
+
16777216: 67174656,
|
3238
|
+
17825792: 65540,
|
3239
|
+
18874368: 65536,
|
3240
|
+
19922944: 67109120,
|
3241
|
+
20971520: 256,
|
3242
|
+
22020096: 67174660,
|
3243
|
+
23068672: 67108868,
|
3244
|
+
24117248: 0,
|
3245
|
+
25165824: 67109124,
|
3246
|
+
26214400: 67108864,
|
3247
|
+
27262976: 4,
|
3248
|
+
28311552: 65792,
|
3249
|
+
29360128: 67174400,
|
3250
|
+
30408704: 260,
|
3251
|
+
31457280: 65796,
|
3252
|
+
32505856: 67174404,
|
3253
|
+
17301504: 67108864,
|
3254
|
+
18350080: 260,
|
3255
|
+
19398656: 67174656,
|
3256
|
+
20447232: 0,
|
3257
|
+
21495808: 65540,
|
3258
|
+
22544384: 67109120,
|
3259
|
+
23592960: 256,
|
3260
|
+
24641536: 67174404,
|
3261
|
+
25690112: 65536,
|
3262
|
+
26738688: 67174660,
|
3263
|
+
27787264: 65796,
|
3264
|
+
28835840: 67108868,
|
3265
|
+
29884416: 67109124,
|
3266
|
+
30932992: 67174400,
|
3267
|
+
31981568: 4,
|
3268
|
+
33030144: 65792
|
3269
|
+
},
|
3270
|
+
{
|
3271
|
+
0: 2151682048,
|
3272
|
+
65536: 2147487808,
|
3273
|
+
131072: 4198464,
|
3274
|
+
196608: 2151677952,
|
3275
|
+
262144: 0,
|
3276
|
+
327680: 4198400,
|
3277
|
+
393216: 2147483712,
|
3278
|
+
458752: 4194368,
|
3279
|
+
524288: 2147483648,
|
3280
|
+
589824: 4194304,
|
3281
|
+
655360: 64,
|
3282
|
+
720896: 2147487744,
|
3283
|
+
786432: 2151678016,
|
3284
|
+
851968: 4160,
|
3285
|
+
917504: 4096,
|
3286
|
+
983040: 2151682112,
|
3287
|
+
32768: 2147487808,
|
3288
|
+
98304: 64,
|
3289
|
+
163840: 2151678016,
|
3290
|
+
229376: 2147487744,
|
3291
|
+
294912: 4198400,
|
3292
|
+
360448: 2151682112,
|
3293
|
+
425984: 0,
|
3294
|
+
491520: 2151677952,
|
3295
|
+
557056: 4096,
|
3296
|
+
622592: 2151682048,
|
3297
|
+
688128: 4194304,
|
3298
|
+
753664: 4160,
|
3299
|
+
819200: 2147483648,
|
3300
|
+
884736: 4194368,
|
3301
|
+
950272: 4198464,
|
3302
|
+
1015808: 2147483712,
|
3303
|
+
1048576: 4194368,
|
3304
|
+
1114112: 4198400,
|
3305
|
+
1179648: 2147483712,
|
3306
|
+
1245184: 0,
|
3307
|
+
1310720: 4160,
|
3308
|
+
1376256: 2151678016,
|
3309
|
+
1441792: 2151682048,
|
3310
|
+
1507328: 2147487808,
|
3311
|
+
1572864: 2151682112,
|
3312
|
+
1638400: 2147483648,
|
3313
|
+
1703936: 2151677952,
|
3314
|
+
1769472: 4198464,
|
3315
|
+
1835008: 2147487744,
|
3316
|
+
1900544: 4194304,
|
3317
|
+
1966080: 64,
|
3318
|
+
2031616: 4096,
|
3319
|
+
1081344: 2151677952,
|
3320
|
+
1146880: 2151682112,
|
3321
|
+
1212416: 0,
|
3322
|
+
1277952: 4198400,
|
3323
|
+
1343488: 4194368,
|
3324
|
+
1409024: 2147483648,
|
3325
|
+
1474560: 2147487808,
|
3326
|
+
1540096: 64,
|
3327
|
+
1605632: 2147483712,
|
3328
|
+
1671168: 4096,
|
3329
|
+
1736704: 2147487744,
|
3330
|
+
1802240: 2151678016,
|
3331
|
+
1867776: 4160,
|
3332
|
+
1933312: 2151682048,
|
3333
|
+
1998848: 4194304,
|
3334
|
+
2064384: 4198464
|
3335
|
+
},
|
3336
|
+
{
|
3337
|
+
0: 128,
|
3338
|
+
4096: 17039360,
|
3339
|
+
8192: 262144,
|
3340
|
+
12288: 536870912,
|
3341
|
+
16384: 537133184,
|
3342
|
+
20480: 16777344,
|
3343
|
+
24576: 553648256,
|
3344
|
+
28672: 262272,
|
3345
|
+
32768: 16777216,
|
3346
|
+
36864: 537133056,
|
3347
|
+
40960: 536871040,
|
3348
|
+
45056: 553910400,
|
3349
|
+
49152: 553910272,
|
3350
|
+
53248: 0,
|
3351
|
+
57344: 17039488,
|
3352
|
+
61440: 553648128,
|
3353
|
+
2048: 17039488,
|
3354
|
+
6144: 553648256,
|
3355
|
+
10240: 128,
|
3356
|
+
14336: 17039360,
|
3357
|
+
18432: 262144,
|
3358
|
+
22528: 537133184,
|
3359
|
+
26624: 553910272,
|
3360
|
+
30720: 536870912,
|
3361
|
+
34816: 537133056,
|
3362
|
+
38912: 0,
|
3363
|
+
43008: 553910400,
|
3364
|
+
47104: 16777344,
|
3365
|
+
51200: 536871040,
|
3366
|
+
55296: 553648128,
|
3367
|
+
59392: 16777216,
|
3368
|
+
63488: 262272,
|
3369
|
+
65536: 262144,
|
3370
|
+
69632: 128,
|
3371
|
+
73728: 536870912,
|
3372
|
+
77824: 553648256,
|
3373
|
+
81920: 16777344,
|
3374
|
+
86016: 553910272,
|
3375
|
+
90112: 537133184,
|
3376
|
+
94208: 16777216,
|
3377
|
+
98304: 553910400,
|
3378
|
+
102400: 553648128,
|
3379
|
+
106496: 17039360,
|
3380
|
+
110592: 537133056,
|
3381
|
+
114688: 262272,
|
3382
|
+
118784: 536871040,
|
3383
|
+
122880: 0,
|
3384
|
+
126976: 17039488,
|
3385
|
+
67584: 553648256,
|
3386
|
+
71680: 16777216,
|
3387
|
+
75776: 17039360,
|
3388
|
+
79872: 537133184,
|
3389
|
+
83968: 536870912,
|
3390
|
+
88064: 17039488,
|
3391
|
+
92160: 128,
|
3392
|
+
96256: 553910272,
|
3393
|
+
100352: 262272,
|
3394
|
+
104448: 553910400,
|
3395
|
+
108544: 0,
|
3396
|
+
112640: 553648128,
|
3397
|
+
116736: 16777344,
|
3398
|
+
120832: 262144,
|
3399
|
+
124928: 537133056,
|
3400
|
+
129024: 536871040
|
3401
|
+
},
|
3402
|
+
{
|
3403
|
+
0: 268435464,
|
3404
|
+
256: 8192,
|
3405
|
+
512: 270532608,
|
3406
|
+
768: 270540808,
|
3407
|
+
1024: 268443648,
|
3408
|
+
1280: 2097152,
|
3409
|
+
1536: 2097160,
|
3410
|
+
1792: 268435456,
|
3411
|
+
2048: 0,
|
3412
|
+
2304: 268443656,
|
3413
|
+
2560: 2105344,
|
3414
|
+
2816: 8,
|
3415
|
+
3072: 270532616,
|
3416
|
+
3328: 2105352,
|
3417
|
+
3584: 8200,
|
3418
|
+
3840: 270540800,
|
3419
|
+
128: 270532608,
|
3420
|
+
384: 270540808,
|
3421
|
+
640: 8,
|
3422
|
+
896: 2097152,
|
3423
|
+
1152: 2105352,
|
3424
|
+
1408: 268435464,
|
3425
|
+
1664: 268443648,
|
3426
|
+
1920: 8200,
|
3427
|
+
2176: 2097160,
|
3428
|
+
2432: 8192,
|
3429
|
+
2688: 268443656,
|
3430
|
+
2944: 270532616,
|
3431
|
+
3200: 0,
|
3432
|
+
3456: 270540800,
|
3433
|
+
3712: 2105344,
|
3434
|
+
3968: 268435456,
|
3435
|
+
4096: 268443648,
|
3436
|
+
4352: 270532616,
|
3437
|
+
4608: 270540808,
|
3438
|
+
4864: 8200,
|
3439
|
+
5120: 2097152,
|
3440
|
+
5376: 268435456,
|
3441
|
+
5632: 268435464,
|
3442
|
+
5888: 2105344,
|
3443
|
+
6144: 2105352,
|
3444
|
+
6400: 0,
|
3445
|
+
6656: 8,
|
3446
|
+
6912: 270532608,
|
3447
|
+
7168: 8192,
|
3448
|
+
7424: 268443656,
|
3449
|
+
7680: 270540800,
|
3450
|
+
7936: 2097160,
|
3451
|
+
4224: 8,
|
3452
|
+
4480: 2105344,
|
3453
|
+
4736: 2097152,
|
3454
|
+
4992: 268435464,
|
3455
|
+
5248: 268443648,
|
3456
|
+
5504: 8200,
|
3457
|
+
5760: 270540808,
|
3458
|
+
6016: 270532608,
|
3459
|
+
6272: 270540800,
|
3460
|
+
6528: 270532616,
|
3461
|
+
6784: 8192,
|
3462
|
+
7040: 2105352,
|
3463
|
+
7296: 2097160,
|
3464
|
+
7552: 0,
|
3465
|
+
7808: 268435456,
|
3466
|
+
8064: 268443656
|
3467
|
+
},
|
3468
|
+
{
|
3469
|
+
0: 1048576,
|
3470
|
+
16: 33555457,
|
3471
|
+
32: 1024,
|
3472
|
+
48: 1049601,
|
3473
|
+
64: 34604033,
|
3474
|
+
80: 0,
|
3475
|
+
96: 1,
|
3476
|
+
112: 34603009,
|
3477
|
+
128: 33555456,
|
3478
|
+
144: 1048577,
|
3479
|
+
160: 33554433,
|
3480
|
+
176: 34604032,
|
3481
|
+
192: 34603008,
|
3482
|
+
208: 1025,
|
3483
|
+
224: 1049600,
|
3484
|
+
240: 33554432,
|
3485
|
+
8: 34603009,
|
3486
|
+
24: 0,
|
3487
|
+
40: 33555457,
|
3488
|
+
56: 34604032,
|
3489
|
+
72: 1048576,
|
3490
|
+
88: 33554433,
|
3491
|
+
104: 33554432,
|
3492
|
+
120: 1025,
|
3493
|
+
136: 1049601,
|
3494
|
+
152: 33555456,
|
3495
|
+
168: 34603008,
|
3496
|
+
184: 1048577,
|
3497
|
+
200: 1024,
|
3498
|
+
216: 34604033,
|
3499
|
+
232: 1,
|
3500
|
+
248: 1049600,
|
3501
|
+
256: 33554432,
|
3502
|
+
272: 1048576,
|
3503
|
+
288: 33555457,
|
3504
|
+
304: 34603009,
|
3505
|
+
320: 1048577,
|
3506
|
+
336: 33555456,
|
3507
|
+
352: 34604032,
|
3508
|
+
368: 1049601,
|
3509
|
+
384: 1025,
|
3510
|
+
400: 34604033,
|
3511
|
+
416: 1049600,
|
3512
|
+
432: 1,
|
3513
|
+
448: 0,
|
3514
|
+
464: 34603008,
|
3515
|
+
480: 33554433,
|
3516
|
+
496: 1024,
|
3517
|
+
264: 1049600,
|
3518
|
+
280: 33555457,
|
3519
|
+
296: 34603009,
|
3520
|
+
312: 1,
|
3521
|
+
328: 33554432,
|
3522
|
+
344: 1048576,
|
3523
|
+
360: 1025,
|
3524
|
+
376: 34604032,
|
3525
|
+
392: 33554433,
|
3526
|
+
408: 34603008,
|
3527
|
+
424: 0,
|
3528
|
+
440: 34604033,
|
3529
|
+
456: 1049601,
|
3530
|
+
472: 1024,
|
3531
|
+
488: 33555456,
|
3532
|
+
504: 1048577
|
3533
|
+
},
|
3534
|
+
{
|
3535
|
+
0: 134219808,
|
3536
|
+
1: 131072,
|
3537
|
+
2: 134217728,
|
3538
|
+
3: 32,
|
3539
|
+
4: 131104,
|
3540
|
+
5: 134350880,
|
3541
|
+
6: 134350848,
|
3542
|
+
7: 2048,
|
3543
|
+
8: 134348800,
|
3544
|
+
9: 134219776,
|
3545
|
+
10: 133120,
|
3546
|
+
11: 134348832,
|
3547
|
+
12: 2080,
|
3548
|
+
13: 0,
|
3549
|
+
14: 134217760,
|
3550
|
+
15: 133152,
|
3551
|
+
2147483648: 2048,
|
3552
|
+
2147483649: 134350880,
|
3553
|
+
2147483650: 134219808,
|
3554
|
+
2147483651: 134217728,
|
3555
|
+
2147483652: 134348800,
|
3556
|
+
2147483653: 133120,
|
3557
|
+
2147483654: 133152,
|
3558
|
+
2147483655: 32,
|
3559
|
+
2147483656: 134217760,
|
3560
|
+
2147483657: 2080,
|
3561
|
+
2147483658: 131104,
|
3562
|
+
2147483659: 134350848,
|
3563
|
+
2147483660: 0,
|
3564
|
+
2147483661: 134348832,
|
3565
|
+
2147483662: 134219776,
|
3566
|
+
2147483663: 131072,
|
3567
|
+
16: 133152,
|
3568
|
+
17: 134350848,
|
3569
|
+
18: 32,
|
3570
|
+
19: 2048,
|
3571
|
+
20: 134219776,
|
3572
|
+
21: 134217760,
|
3573
|
+
22: 134348832,
|
3574
|
+
23: 131072,
|
3575
|
+
24: 0,
|
3576
|
+
25: 131104,
|
3577
|
+
26: 134348800,
|
3578
|
+
27: 134219808,
|
3579
|
+
28: 134350880,
|
3580
|
+
29: 133120,
|
3581
|
+
30: 2080,
|
3582
|
+
31: 134217728,
|
3583
|
+
2147483664: 131072,
|
3584
|
+
2147483665: 2048,
|
3585
|
+
2147483666: 134348832,
|
3586
|
+
2147483667: 133152,
|
3587
|
+
2147483668: 32,
|
3588
|
+
2147483669: 134348800,
|
3589
|
+
2147483670: 134217728,
|
3590
|
+
2147483671: 134219808,
|
3591
|
+
2147483672: 134350880,
|
3592
|
+
2147483673: 134217760,
|
3593
|
+
2147483674: 134219776,
|
3594
|
+
2147483675: 0,
|
3595
|
+
2147483676: 133120,
|
3596
|
+
2147483677: 2080,
|
3597
|
+
2147483678: 131104,
|
3598
|
+
2147483679: 134350848
|
3599
|
+
}
|
3600
|
+
], r = [
|
3601
|
+
4160749569,
|
3602
|
+
528482304,
|
3603
|
+
33030144,
|
3604
|
+
2064384,
|
3605
|
+
129024,
|
3606
|
+
8064,
|
3607
|
+
504,
|
3608
|
+
2147483679
|
3609
|
+
], s = B.DES = w.extend({
|
3610
|
+
_doReset: function() {
|
3611
|
+
for (var h = this._key, t = h.words, a = [], i = 0; i < 56; i++) {
|
3612
|
+
var E = d[i] - 1;
|
3613
|
+
a[i] = t[E >>> 5] >>> 31 - E % 32 & 1;
|
3614
|
+
}
|
3615
|
+
for (var l = this._subKeys = [], A = 0; A < 16; A++) {
|
3616
|
+
for (var _ = l[A] = [], S = e[A], i = 0; i < 24; i++)
|
3617
|
+
_[i / 6 | 0] |= a[(x[i] - 1 + S) % 28] << 31 - i % 6, _[4 + (i / 6 | 0)] |= a[28 + (x[i + 24] - 1 + S) % 28] << 31 - i % 6;
|
3618
|
+
_[0] = _[0] << 1 | _[0] >>> 31;
|
3619
|
+
for (var i = 1; i < 7; i++)
|
3620
|
+
_[i] = _[i] >>> (i - 1) * 4 + 3;
|
3621
|
+
_[7] = _[7] << 5 | _[7] >>> 27;
|
3622
|
+
}
|
3623
|
+
for (var v = this._invSubKeys = [], i = 0; i < 16; i++)
|
3624
|
+
v[i] = l[15 - i];
|
3625
|
+
},
|
3626
|
+
encryptBlock: function(h, t) {
|
3627
|
+
this._doCryptBlock(h, t, this._subKeys);
|
3628
|
+
},
|
3629
|
+
decryptBlock: function(h, t) {
|
3630
|
+
this._doCryptBlock(h, t, this._invSubKeys);
|
3631
|
+
},
|
3632
|
+
_doCryptBlock: function(h, t, a) {
|
3633
|
+
this._lBlock = h[t], this._rBlock = h[t + 1], o.call(this, 4, 252645135), o.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), o.call(this, 1, 1431655765);
|
3634
|
+
for (var i = 0; i < 16; i++) {
|
3635
|
+
for (var E = a[i], l = this._lBlock, A = this._rBlock, _ = 0, S = 0; S < 8; S++)
|
3636
|
+
_ |= u[S][((A ^ E[S]) & r[S]) >>> 0];
|
3637
|
+
this._lBlock = A, this._rBlock = l ^ _;
|
3638
|
+
}
|
3639
|
+
var v = this._lBlock;
|
3640
|
+
this._lBlock = this._rBlock, this._rBlock = v, o.call(this, 1, 1431655765), c.call(this, 8, 16711935), c.call(this, 2, 858993459), o.call(this, 16, 65535), o.call(this, 4, 252645135), h[t] = this._lBlock, h[t + 1] = this._rBlock;
|
3641
|
+
},
|
3642
|
+
keySize: 64 / 32,
|
3643
|
+
ivSize: 64 / 32,
|
3644
|
+
blockSize: 64 / 32
|
3645
|
+
});
|
3646
|
+
function o(h, t) {
|
3647
|
+
var a = (this._lBlock >>> h ^ this._rBlock) & t;
|
3648
|
+
this._rBlock ^= a, this._lBlock ^= a << h;
|
3649
|
+
}
|
3650
|
+
function c(h, t) {
|
3651
|
+
var a = (this._rBlock >>> h ^ this._lBlock) & t;
|
3652
|
+
this._lBlock ^= a, this._rBlock ^= a << h;
|
3653
|
+
}
|
3654
|
+
n.DES = w._createHelper(s);
|
3655
|
+
var f = B.TripleDES = w.extend({
|
3656
|
+
_doReset: function() {
|
3657
|
+
var h = this._key, t = h.words;
|
3658
|
+
if (t.length !== 2 && t.length !== 4 && t.length < 6)
|
3659
|
+
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
3660
|
+
var a = t.slice(0, 2), i = t.length < 4 ? t.slice(0, 2) : t.slice(2, 4), E = t.length < 6 ? t.slice(0, 2) : t.slice(4, 6);
|
3661
|
+
this._des1 = s.createEncryptor(D.create(a)), this._des2 = s.createEncryptor(D.create(i)), this._des3 = s.createEncryptor(D.create(E));
|
3662
|
+
},
|
3663
|
+
encryptBlock: function(h, t) {
|
3664
|
+
this._des1.encryptBlock(h, t), this._des2.decryptBlock(h, t), this._des3.encryptBlock(h, t);
|
3665
|
+
},
|
3666
|
+
decryptBlock: function(h, t) {
|
3667
|
+
this._des3.decryptBlock(h, t), this._des2.encryptBlock(h, t), this._des1.decryptBlock(h, t);
|
3668
|
+
},
|
3669
|
+
keySize: 192 / 32,
|
3670
|
+
ivSize: 64 / 32,
|
3671
|
+
blockSize: 64 / 32
|
3672
|
+
});
|
3673
|
+
n.TripleDES = w._createHelper(f);
|
3674
|
+
}(), C.TripleDES;
|
3675
|
+
});
|
3676
|
+
}(j0)), j0.exports;
|
3677
|
+
}
|
3678
|
+
var M0 = { exports: {} }, Zx;
|
3679
|
+
function Ir() {
|
3680
|
+
return Zx || (Zx = 1, function(R, T) {
|
3681
|
+
(function(C, n, p) {
|
3682
|
+
R.exports = n(I(), e0(), t0(), r0(), Z());
|
3683
|
+
})(W, function(C) {
|
3684
|
+
return function() {
|
3685
|
+
var n = C, p = n.lib, D = p.StreamCipher, w = n.algo, B = w.RC4 = D.extend({
|
3686
|
+
_doReset: function() {
|
3687
|
+
for (var e = this._key, u = e.words, r = e.sigBytes, s = this._S = [], o = 0; o < 256; o++)
|
3688
|
+
s[o] = o;
|
3689
|
+
for (var o = 0, c = 0; o < 256; o++) {
|
3690
|
+
var f = o % r, h = u[f >>> 2] >>> 24 - f % 4 * 8 & 255;
|
3691
|
+
c = (c + s[o] + h) % 256;
|
3692
|
+
var t = s[o];
|
3693
|
+
s[o] = s[c], s[c] = t;
|
3694
|
+
}
|
3695
|
+
this._i = this._j = 0;
|
3696
|
+
},
|
3697
|
+
_doProcessBlock: function(e, u) {
|
3698
|
+
e[u] ^= d.call(this);
|
3699
|
+
},
|
3700
|
+
keySize: 256 / 32,
|
3701
|
+
ivSize: 0
|
3702
|
+
});
|
3703
|
+
function d() {
|
3704
|
+
for (var e = this._S, u = this._i, r = this._j, s = 0, o = 0; o < 4; o++) {
|
3705
|
+
u = (u + 1) % 256, r = (r + e[u]) % 256;
|
3706
|
+
var c = e[u];
|
3707
|
+
e[u] = e[r], e[r] = c, s |= e[(e[u] + e[r]) % 256] << 24 - o * 8;
|
3708
|
+
}
|
3709
|
+
return this._i = u, this._j = r, s;
|
3710
|
+
}
|
3711
|
+
n.RC4 = D._createHelper(B);
|
3712
|
+
var x = w.RC4Drop = B.extend({
|
3713
|
+
/**
|
3714
|
+
* Configuration options.
|
3715
|
+
*
|
3716
|
+
* @property {number} drop The number of keystream words to drop. Default 192
|
3717
|
+
*/
|
3718
|
+
cfg: B.cfg.extend({
|
3719
|
+
drop: 192
|
3720
|
+
}),
|
3721
|
+
_doReset: function() {
|
3722
|
+
B._doReset.call(this);
|
3723
|
+
for (var e = this.cfg.drop; e > 0; e--)
|
3724
|
+
d.call(this);
|
3725
|
+
}
|
3726
|
+
});
|
3727
|
+
n.RC4Drop = D._createHelper(x);
|
3728
|
+
}(), C.RC4;
|
3729
|
+
});
|
3730
|
+
}(M0)), M0.exports;
|
3731
|
+
}
|
3732
|
+
var V0 = { exports: {} }, $x;
|
3733
|
+
function Nr() {
|
3734
|
+
return $x || ($x = 1, function(R, T) {
|
3735
|
+
(function(C, n, p) {
|
3736
|
+
R.exports = n(I(), e0(), t0(), r0(), Z());
|
3737
|
+
})(W, function(C) {
|
3738
|
+
return function() {
|
3739
|
+
var n = C, p = n.lib, D = p.StreamCipher, w = n.algo, B = [], d = [], x = [], e = w.Rabbit = D.extend({
|
3740
|
+
_doReset: function() {
|
3741
|
+
for (var r = this._key.words, s = this.cfg.iv, o = 0; o < 4; o++)
|
3742
|
+
r[o] = (r[o] << 8 | r[o] >>> 24) & 16711935 | (r[o] << 24 | r[o] >>> 8) & 4278255360;
|
3743
|
+
var c = this._X = [
|
3744
|
+
r[0],
|
3745
|
+
r[3] << 16 | r[2] >>> 16,
|
3746
|
+
r[1],
|
3747
|
+
r[0] << 16 | r[3] >>> 16,
|
3748
|
+
r[2],
|
3749
|
+
r[1] << 16 | r[0] >>> 16,
|
3750
|
+
r[3],
|
3751
|
+
r[2] << 16 | r[1] >>> 16
|
3752
|
+
], f = this._C = [
|
3753
|
+
r[2] << 16 | r[2] >>> 16,
|
3754
|
+
r[0] & 4294901760 | r[1] & 65535,
|
3755
|
+
r[3] << 16 | r[3] >>> 16,
|
3756
|
+
r[1] & 4294901760 | r[2] & 65535,
|
3757
|
+
r[0] << 16 | r[0] >>> 16,
|
3758
|
+
r[2] & 4294901760 | r[3] & 65535,
|
3759
|
+
r[1] << 16 | r[1] >>> 16,
|
3760
|
+
r[3] & 4294901760 | r[0] & 65535
|
3761
|
+
];
|
3762
|
+
this._b = 0;
|
3763
|
+
for (var o = 0; o < 4; o++)
|
3764
|
+
u.call(this);
|
3765
|
+
for (var o = 0; o < 8; o++)
|
3766
|
+
f[o] ^= c[o + 4 & 7];
|
3767
|
+
if (s) {
|
3768
|
+
var h = s.words, t = h[0], a = h[1], i = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360, E = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360, l = i >>> 16 | E & 4294901760, A = E << 16 | i & 65535;
|
3769
|
+
f[0] ^= i, f[1] ^= l, f[2] ^= E, f[3] ^= A, f[4] ^= i, f[5] ^= l, f[6] ^= E, f[7] ^= A;
|
3770
|
+
for (var o = 0; o < 4; o++)
|
3771
|
+
u.call(this);
|
3772
|
+
}
|
3773
|
+
},
|
3774
|
+
_doProcessBlock: function(r, s) {
|
3775
|
+
var o = this._X;
|
3776
|
+
u.call(this), B[0] = o[0] ^ o[5] >>> 16 ^ o[3] << 16, B[1] = o[2] ^ o[7] >>> 16 ^ o[5] << 16, B[2] = o[4] ^ o[1] >>> 16 ^ o[7] << 16, B[3] = o[6] ^ o[3] >>> 16 ^ o[1] << 16;
|
3777
|
+
for (var c = 0; c < 4; c++)
|
3778
|
+
B[c] = (B[c] << 8 | B[c] >>> 24) & 16711935 | (B[c] << 24 | B[c] >>> 8) & 4278255360, r[s + c] ^= B[c];
|
3779
|
+
},
|
3780
|
+
blockSize: 128 / 32,
|
3781
|
+
ivSize: 64 / 32
|
3782
|
+
});
|
3783
|
+
function u() {
|
3784
|
+
for (var r = this._X, s = this._C, o = 0; o < 8; o++)
|
3785
|
+
d[o] = s[o];
|
3786
|
+
s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
|
3787
|
+
for (var o = 0; o < 8; o++) {
|
3788
|
+
var c = r[o] + s[o], f = c & 65535, h = c >>> 16, t = ((f * f >>> 17) + f * h >>> 15) + h * h, a = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
|
3789
|
+
x[o] = t ^ a;
|
3790
|
+
}
|
3791
|
+
r[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, r[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, r[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, r[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, r[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, r[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, r[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, r[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
|
3792
|
+
}
|
3793
|
+
n.Rabbit = D._createHelper(e);
|
3794
|
+
}(), C.Rabbit;
|
3795
|
+
});
|
3796
|
+
}(V0)), V0.exports;
|
3797
|
+
}
|
3798
|
+
var J0 = { exports: {} }, Qx;
|
3799
|
+
function Xr() {
|
3800
|
+
return Qx || (Qx = 1, function(R, T) {
|
3801
|
+
(function(C, n, p) {
|
3802
|
+
R.exports = n(I(), e0(), t0(), r0(), Z());
|
3803
|
+
})(W, function(C) {
|
3804
|
+
return function() {
|
3805
|
+
var n = C, p = n.lib, D = p.StreamCipher, w = n.algo, B = [], d = [], x = [], e = w.RabbitLegacy = D.extend({
|
3806
|
+
_doReset: function() {
|
3807
|
+
var r = this._key.words, s = this.cfg.iv, o = this._X = [
|
3808
|
+
r[0],
|
3809
|
+
r[3] << 16 | r[2] >>> 16,
|
3810
|
+
r[1],
|
3811
|
+
r[0] << 16 | r[3] >>> 16,
|
3812
|
+
r[2],
|
3813
|
+
r[1] << 16 | r[0] >>> 16,
|
3814
|
+
r[3],
|
3815
|
+
r[2] << 16 | r[1] >>> 16
|
3816
|
+
], c = this._C = [
|
3817
|
+
r[2] << 16 | r[2] >>> 16,
|
3818
|
+
r[0] & 4294901760 | r[1] & 65535,
|
3819
|
+
r[3] << 16 | r[3] >>> 16,
|
3820
|
+
r[1] & 4294901760 | r[2] & 65535,
|
3821
|
+
r[0] << 16 | r[0] >>> 16,
|
3822
|
+
r[2] & 4294901760 | r[3] & 65535,
|
3823
|
+
r[1] << 16 | r[1] >>> 16,
|
3824
|
+
r[3] & 4294901760 | r[0] & 65535
|
3825
|
+
];
|
3826
|
+
this._b = 0;
|
3827
|
+
for (var f = 0; f < 4; f++)
|
3828
|
+
u.call(this);
|
3829
|
+
for (var f = 0; f < 8; f++)
|
3830
|
+
c[f] ^= o[f + 4 & 7];
|
3831
|
+
if (s) {
|
3832
|
+
var h = s.words, t = h[0], a = h[1], i = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360, E = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360, l = i >>> 16 | E & 4294901760, A = E << 16 | i & 65535;
|
3833
|
+
c[0] ^= i, c[1] ^= l, c[2] ^= E, c[3] ^= A, c[4] ^= i, c[5] ^= l, c[6] ^= E, c[7] ^= A;
|
3834
|
+
for (var f = 0; f < 4; f++)
|
3835
|
+
u.call(this);
|
3836
|
+
}
|
3837
|
+
},
|
3838
|
+
_doProcessBlock: function(r, s) {
|
3839
|
+
var o = this._X;
|
3840
|
+
u.call(this), B[0] = o[0] ^ o[5] >>> 16 ^ o[3] << 16, B[1] = o[2] ^ o[7] >>> 16 ^ o[5] << 16, B[2] = o[4] ^ o[1] >>> 16 ^ o[7] << 16, B[3] = o[6] ^ o[3] >>> 16 ^ o[1] << 16;
|
3841
|
+
for (var c = 0; c < 4; c++)
|
3842
|
+
B[c] = (B[c] << 8 | B[c] >>> 24) & 16711935 | (B[c] << 24 | B[c] >>> 8) & 4278255360, r[s + c] ^= B[c];
|
3843
|
+
},
|
3844
|
+
blockSize: 128 / 32,
|
3845
|
+
ivSize: 64 / 32
|
3846
|
+
});
|
3847
|
+
function u() {
|
3848
|
+
for (var r = this._X, s = this._C, o = 0; o < 8; o++)
|
3849
|
+
d[o] = s[o];
|
3850
|
+
s[0] = s[0] + 1295307597 + this._b | 0, s[1] = s[1] + 3545052371 + (s[0] >>> 0 < d[0] >>> 0 ? 1 : 0) | 0, s[2] = s[2] + 886263092 + (s[1] >>> 0 < d[1] >>> 0 ? 1 : 0) | 0, s[3] = s[3] + 1295307597 + (s[2] >>> 0 < d[2] >>> 0 ? 1 : 0) | 0, s[4] = s[4] + 3545052371 + (s[3] >>> 0 < d[3] >>> 0 ? 1 : 0) | 0, s[5] = s[5] + 886263092 + (s[4] >>> 0 < d[4] >>> 0 ? 1 : 0) | 0, s[6] = s[6] + 1295307597 + (s[5] >>> 0 < d[5] >>> 0 ? 1 : 0) | 0, s[7] = s[7] + 3545052371 + (s[6] >>> 0 < d[6] >>> 0 ? 1 : 0) | 0, this._b = s[7] >>> 0 < d[7] >>> 0 ? 1 : 0;
|
3851
|
+
for (var o = 0; o < 8; o++) {
|
3852
|
+
var c = r[o] + s[o], f = c & 65535, h = c >>> 16, t = ((f * f >>> 17) + f * h >>> 15) + h * h, a = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
|
3853
|
+
x[o] = t ^ a;
|
3854
|
+
}
|
3855
|
+
r[0] = x[0] + (x[7] << 16 | x[7] >>> 16) + (x[6] << 16 | x[6] >>> 16) | 0, r[1] = x[1] + (x[0] << 8 | x[0] >>> 24) + x[7] | 0, r[2] = x[2] + (x[1] << 16 | x[1] >>> 16) + (x[0] << 16 | x[0] >>> 16) | 0, r[3] = x[3] + (x[2] << 8 | x[2] >>> 24) + x[1] | 0, r[4] = x[4] + (x[3] << 16 | x[3] >>> 16) + (x[2] << 16 | x[2] >>> 16) | 0, r[5] = x[5] + (x[4] << 8 | x[4] >>> 24) + x[3] | 0, r[6] = x[6] + (x[5] << 16 | x[5] >>> 16) + (x[4] << 16 | x[4] >>> 16) | 0, r[7] = x[7] + (x[6] << 8 | x[6] >>> 24) + x[5] | 0;
|
3856
|
+
}
|
3857
|
+
n.RabbitLegacy = D._createHelper(e);
|
3858
|
+
}(), C.RabbitLegacy;
|
3859
|
+
});
|
3860
|
+
}(J0)), J0.exports;
|
3861
|
+
}
|
3862
|
+
var xx = { exports: {} }, Yx;
|
3863
|
+
function Or() {
|
3864
|
+
return Yx || (Yx = 1, function(R, T) {
|
3865
|
+
(function(C, n, p) {
|
3866
|
+
R.exports = n(I(), e0(), t0(), r0(), Z());
|
3867
|
+
})(W, function(C) {
|
3868
|
+
return function() {
|
3869
|
+
var n = C, p = n.lib, D = p.BlockCipher, w = n.algo;
|
3870
|
+
const B = 16, d = [
|
3871
|
+
608135816,
|
3872
|
+
2242054355,
|
3873
|
+
320440878,
|
3874
|
+
57701188,
|
3875
|
+
2752067618,
|
3876
|
+
698298832,
|
3877
|
+
137296536,
|
3878
|
+
3964562569,
|
3879
|
+
1160258022,
|
3880
|
+
953160567,
|
3881
|
+
3193202383,
|
3882
|
+
887688300,
|
3883
|
+
3232508343,
|
3884
|
+
3380367581,
|
3885
|
+
1065670069,
|
3886
|
+
3041331479,
|
3887
|
+
2450970073,
|
3888
|
+
2306472731
|
3889
|
+
], x = [
|
3890
|
+
[
|
3891
|
+
3509652390,
|
3892
|
+
2564797868,
|
3893
|
+
805139163,
|
3894
|
+
3491422135,
|
3895
|
+
3101798381,
|
3896
|
+
1780907670,
|
3897
|
+
3128725573,
|
3898
|
+
4046225305,
|
3899
|
+
614570311,
|
3900
|
+
3012652279,
|
3901
|
+
134345442,
|
3902
|
+
2240740374,
|
3903
|
+
1667834072,
|
3904
|
+
1901547113,
|
3905
|
+
2757295779,
|
3906
|
+
4103290238,
|
3907
|
+
227898511,
|
3908
|
+
1921955416,
|
3909
|
+
1904987480,
|
3910
|
+
2182433518,
|
3911
|
+
2069144605,
|
3912
|
+
3260701109,
|
3913
|
+
2620446009,
|
3914
|
+
720527379,
|
3915
|
+
3318853667,
|
3916
|
+
677414384,
|
3917
|
+
3393288472,
|
3918
|
+
3101374703,
|
3919
|
+
2390351024,
|
3920
|
+
1614419982,
|
3921
|
+
1822297739,
|
3922
|
+
2954791486,
|
3923
|
+
3608508353,
|
3924
|
+
3174124327,
|
3925
|
+
2024746970,
|
3926
|
+
1432378464,
|
3927
|
+
3864339955,
|
3928
|
+
2857741204,
|
3929
|
+
1464375394,
|
3930
|
+
1676153920,
|
3931
|
+
1439316330,
|
3932
|
+
715854006,
|
3933
|
+
3033291828,
|
3934
|
+
289532110,
|
3935
|
+
2706671279,
|
3936
|
+
2087905683,
|
3937
|
+
3018724369,
|
3938
|
+
1668267050,
|
3939
|
+
732546397,
|
3940
|
+
1947742710,
|
3941
|
+
3462151702,
|
3942
|
+
2609353502,
|
3943
|
+
2950085171,
|
3944
|
+
1814351708,
|
3945
|
+
2050118529,
|
3946
|
+
680887927,
|
3947
|
+
999245976,
|
3948
|
+
1800124847,
|
3949
|
+
3300911131,
|
3950
|
+
1713906067,
|
3951
|
+
1641548236,
|
3952
|
+
4213287313,
|
3953
|
+
1216130144,
|
3954
|
+
1575780402,
|
3955
|
+
4018429277,
|
3956
|
+
3917837745,
|
3957
|
+
3693486850,
|
3958
|
+
3949271944,
|
3959
|
+
596196993,
|
3960
|
+
3549867205,
|
3961
|
+
258830323,
|
3962
|
+
2213823033,
|
3963
|
+
772490370,
|
3964
|
+
2760122372,
|
3965
|
+
1774776394,
|
3966
|
+
2652871518,
|
3967
|
+
566650946,
|
3968
|
+
4142492826,
|
3969
|
+
1728879713,
|
3970
|
+
2882767088,
|
3971
|
+
1783734482,
|
3972
|
+
3629395816,
|
3973
|
+
2517608232,
|
3974
|
+
2874225571,
|
3975
|
+
1861159788,
|
3976
|
+
326777828,
|
3977
|
+
3124490320,
|
3978
|
+
2130389656,
|
3979
|
+
2716951837,
|
3980
|
+
967770486,
|
3981
|
+
1724537150,
|
3982
|
+
2185432712,
|
3983
|
+
2364442137,
|
3984
|
+
1164943284,
|
3985
|
+
2105845187,
|
3986
|
+
998989502,
|
3987
|
+
3765401048,
|
3988
|
+
2244026483,
|
3989
|
+
1075463327,
|
3990
|
+
1455516326,
|
3991
|
+
1322494562,
|
3992
|
+
910128902,
|
3993
|
+
469688178,
|
3994
|
+
1117454909,
|
3995
|
+
936433444,
|
3996
|
+
3490320968,
|
3997
|
+
3675253459,
|
3998
|
+
1240580251,
|
3999
|
+
122909385,
|
4000
|
+
2157517691,
|
4001
|
+
634681816,
|
4002
|
+
4142456567,
|
4003
|
+
3825094682,
|
4004
|
+
3061402683,
|
4005
|
+
2540495037,
|
4006
|
+
79693498,
|
4007
|
+
3249098678,
|
4008
|
+
1084186820,
|
4009
|
+
1583128258,
|
4010
|
+
426386531,
|
4011
|
+
1761308591,
|
4012
|
+
1047286709,
|
4013
|
+
322548459,
|
4014
|
+
995290223,
|
4015
|
+
1845252383,
|
4016
|
+
2603652396,
|
4017
|
+
3431023940,
|
4018
|
+
2942221577,
|
4019
|
+
3202600964,
|
4020
|
+
3727903485,
|
4021
|
+
1712269319,
|
4022
|
+
422464435,
|
4023
|
+
3234572375,
|
4024
|
+
1170764815,
|
4025
|
+
3523960633,
|
4026
|
+
3117677531,
|
4027
|
+
1434042557,
|
4028
|
+
442511882,
|
4029
|
+
3600875718,
|
4030
|
+
1076654713,
|
4031
|
+
1738483198,
|
4032
|
+
4213154764,
|
4033
|
+
2393238008,
|
4034
|
+
3677496056,
|
4035
|
+
1014306527,
|
4036
|
+
4251020053,
|
4037
|
+
793779912,
|
4038
|
+
2902807211,
|
4039
|
+
842905082,
|
4040
|
+
4246964064,
|
4041
|
+
1395751752,
|
4042
|
+
1040244610,
|
4043
|
+
2656851899,
|
4044
|
+
3396308128,
|
4045
|
+
445077038,
|
4046
|
+
3742853595,
|
4047
|
+
3577915638,
|
4048
|
+
679411651,
|
4049
|
+
2892444358,
|
4050
|
+
2354009459,
|
4051
|
+
1767581616,
|
4052
|
+
3150600392,
|
4053
|
+
3791627101,
|
4054
|
+
3102740896,
|
4055
|
+
284835224,
|
4056
|
+
4246832056,
|
4057
|
+
1258075500,
|
4058
|
+
768725851,
|
4059
|
+
2589189241,
|
4060
|
+
3069724005,
|
4061
|
+
3532540348,
|
4062
|
+
1274779536,
|
4063
|
+
3789419226,
|
4064
|
+
2764799539,
|
4065
|
+
1660621633,
|
4066
|
+
3471099624,
|
4067
|
+
4011903706,
|
4068
|
+
913787905,
|
4069
|
+
3497959166,
|
4070
|
+
737222580,
|
4071
|
+
2514213453,
|
4072
|
+
2928710040,
|
4073
|
+
3937242737,
|
4074
|
+
1804850592,
|
4075
|
+
3499020752,
|
4076
|
+
2949064160,
|
4077
|
+
2386320175,
|
4078
|
+
2390070455,
|
4079
|
+
2415321851,
|
4080
|
+
4061277028,
|
4081
|
+
2290661394,
|
4082
|
+
2416832540,
|
4083
|
+
1336762016,
|
4084
|
+
1754252060,
|
4085
|
+
3520065937,
|
4086
|
+
3014181293,
|
4087
|
+
791618072,
|
4088
|
+
3188594551,
|
4089
|
+
3933548030,
|
4090
|
+
2332172193,
|
4091
|
+
3852520463,
|
4092
|
+
3043980520,
|
4093
|
+
413987798,
|
4094
|
+
3465142937,
|
4095
|
+
3030929376,
|
4096
|
+
4245938359,
|
4097
|
+
2093235073,
|
4098
|
+
3534596313,
|
4099
|
+
375366246,
|
4100
|
+
2157278981,
|
4101
|
+
2479649556,
|
4102
|
+
555357303,
|
4103
|
+
3870105701,
|
4104
|
+
2008414854,
|
4105
|
+
3344188149,
|
4106
|
+
4221384143,
|
4107
|
+
3956125452,
|
4108
|
+
2067696032,
|
4109
|
+
3594591187,
|
4110
|
+
2921233993,
|
4111
|
+
2428461,
|
4112
|
+
544322398,
|
4113
|
+
577241275,
|
4114
|
+
1471733935,
|
4115
|
+
610547355,
|
4116
|
+
4027169054,
|
4117
|
+
1432588573,
|
4118
|
+
1507829418,
|
4119
|
+
2025931657,
|
4120
|
+
3646575487,
|
4121
|
+
545086370,
|
4122
|
+
48609733,
|
4123
|
+
2200306550,
|
4124
|
+
1653985193,
|
4125
|
+
298326376,
|
4126
|
+
1316178497,
|
4127
|
+
3007786442,
|
4128
|
+
2064951626,
|
4129
|
+
458293330,
|
4130
|
+
2589141269,
|
4131
|
+
3591329599,
|
4132
|
+
3164325604,
|
4133
|
+
727753846,
|
4134
|
+
2179363840,
|
4135
|
+
146436021,
|
4136
|
+
1461446943,
|
4137
|
+
4069977195,
|
4138
|
+
705550613,
|
4139
|
+
3059967265,
|
4140
|
+
3887724982,
|
4141
|
+
4281599278,
|
4142
|
+
3313849956,
|
4143
|
+
1404054877,
|
4144
|
+
2845806497,
|
4145
|
+
146425753,
|
4146
|
+
1854211946
|
4147
|
+
],
|
4148
|
+
[
|
4149
|
+
1266315497,
|
4150
|
+
3048417604,
|
4151
|
+
3681880366,
|
4152
|
+
3289982499,
|
4153
|
+
290971e4,
|
4154
|
+
1235738493,
|
4155
|
+
2632868024,
|
4156
|
+
2414719590,
|
4157
|
+
3970600049,
|
4158
|
+
1771706367,
|
4159
|
+
1449415276,
|
4160
|
+
3266420449,
|
4161
|
+
422970021,
|
4162
|
+
1963543593,
|
4163
|
+
2690192192,
|
4164
|
+
3826793022,
|
4165
|
+
1062508698,
|
4166
|
+
1531092325,
|
4167
|
+
1804592342,
|
4168
|
+
2583117782,
|
4169
|
+
2714934279,
|
4170
|
+
4024971509,
|
4171
|
+
1294809318,
|
4172
|
+
4028980673,
|
4173
|
+
1289560198,
|
4174
|
+
2221992742,
|
4175
|
+
1669523910,
|
4176
|
+
35572830,
|
4177
|
+
157838143,
|
4178
|
+
1052438473,
|
4179
|
+
1016535060,
|
4180
|
+
1802137761,
|
4181
|
+
1753167236,
|
4182
|
+
1386275462,
|
4183
|
+
3080475397,
|
4184
|
+
2857371447,
|
4185
|
+
1040679964,
|
4186
|
+
2145300060,
|
4187
|
+
2390574316,
|
4188
|
+
1461121720,
|
4189
|
+
2956646967,
|
4190
|
+
4031777805,
|
4191
|
+
4028374788,
|
4192
|
+
33600511,
|
4193
|
+
2920084762,
|
4194
|
+
1018524850,
|
4195
|
+
629373528,
|
4196
|
+
3691585981,
|
4197
|
+
3515945977,
|
4198
|
+
2091462646,
|
4199
|
+
2486323059,
|
4200
|
+
586499841,
|
4201
|
+
988145025,
|
4202
|
+
935516892,
|
4203
|
+
3367335476,
|
4204
|
+
2599673255,
|
4205
|
+
2839830854,
|
4206
|
+
265290510,
|
4207
|
+
3972581182,
|
4208
|
+
2759138881,
|
4209
|
+
3795373465,
|
4210
|
+
1005194799,
|
4211
|
+
847297441,
|
4212
|
+
406762289,
|
4213
|
+
1314163512,
|
4214
|
+
1332590856,
|
4215
|
+
1866599683,
|
4216
|
+
4127851711,
|
4217
|
+
750260880,
|
4218
|
+
613907577,
|
4219
|
+
1450815602,
|
4220
|
+
3165620655,
|
4221
|
+
3734664991,
|
4222
|
+
3650291728,
|
4223
|
+
3012275730,
|
4224
|
+
3704569646,
|
4225
|
+
1427272223,
|
4226
|
+
778793252,
|
4227
|
+
1343938022,
|
4228
|
+
2676280711,
|
4229
|
+
2052605720,
|
4230
|
+
1946737175,
|
4231
|
+
3164576444,
|
4232
|
+
3914038668,
|
4233
|
+
3967478842,
|
4234
|
+
3682934266,
|
4235
|
+
1661551462,
|
4236
|
+
3294938066,
|
4237
|
+
4011595847,
|
4238
|
+
840292616,
|
4239
|
+
3712170807,
|
4240
|
+
616741398,
|
4241
|
+
312560963,
|
4242
|
+
711312465,
|
4243
|
+
1351876610,
|
4244
|
+
322626781,
|
4245
|
+
1910503582,
|
4246
|
+
271666773,
|
4247
|
+
2175563734,
|
4248
|
+
1594956187,
|
4249
|
+
70604529,
|
4250
|
+
3617834859,
|
4251
|
+
1007753275,
|
4252
|
+
1495573769,
|
4253
|
+
4069517037,
|
4254
|
+
2549218298,
|
4255
|
+
2663038764,
|
4256
|
+
504708206,
|
4257
|
+
2263041392,
|
4258
|
+
3941167025,
|
4259
|
+
2249088522,
|
4260
|
+
1514023603,
|
4261
|
+
1998579484,
|
4262
|
+
1312622330,
|
4263
|
+
694541497,
|
4264
|
+
2582060303,
|
4265
|
+
2151582166,
|
4266
|
+
1382467621,
|
4267
|
+
776784248,
|
4268
|
+
2618340202,
|
4269
|
+
3323268794,
|
4270
|
+
2497899128,
|
4271
|
+
2784771155,
|
4272
|
+
503983604,
|
4273
|
+
4076293799,
|
4274
|
+
907881277,
|
4275
|
+
423175695,
|
4276
|
+
432175456,
|
4277
|
+
1378068232,
|
4278
|
+
4145222326,
|
4279
|
+
3954048622,
|
4280
|
+
3938656102,
|
4281
|
+
3820766613,
|
4282
|
+
2793130115,
|
4283
|
+
2977904593,
|
4284
|
+
26017576,
|
4285
|
+
3274890735,
|
4286
|
+
3194772133,
|
4287
|
+
1700274565,
|
4288
|
+
1756076034,
|
4289
|
+
4006520079,
|
4290
|
+
3677328699,
|
4291
|
+
720338349,
|
4292
|
+
1533947780,
|
4293
|
+
354530856,
|
4294
|
+
688349552,
|
4295
|
+
3973924725,
|
4296
|
+
1637815568,
|
4297
|
+
332179504,
|
4298
|
+
3949051286,
|
4299
|
+
53804574,
|
4300
|
+
2852348879,
|
4301
|
+
3044236432,
|
4302
|
+
1282449977,
|
4303
|
+
3583942155,
|
4304
|
+
3416972820,
|
4305
|
+
4006381244,
|
4306
|
+
1617046695,
|
4307
|
+
2628476075,
|
4308
|
+
3002303598,
|
4309
|
+
1686838959,
|
4310
|
+
431878346,
|
4311
|
+
2686675385,
|
4312
|
+
1700445008,
|
4313
|
+
1080580658,
|
4314
|
+
1009431731,
|
4315
|
+
832498133,
|
4316
|
+
3223435511,
|
4317
|
+
2605976345,
|
4318
|
+
2271191193,
|
4319
|
+
2516031870,
|
4320
|
+
1648197032,
|
4321
|
+
4164389018,
|
4322
|
+
2548247927,
|
4323
|
+
300782431,
|
4324
|
+
375919233,
|
4325
|
+
238389289,
|
4326
|
+
3353747414,
|
4327
|
+
2531188641,
|
4328
|
+
2019080857,
|
4329
|
+
1475708069,
|
4330
|
+
455242339,
|
4331
|
+
2609103871,
|
4332
|
+
448939670,
|
4333
|
+
3451063019,
|
4334
|
+
1395535956,
|
4335
|
+
2413381860,
|
4336
|
+
1841049896,
|
4337
|
+
1491858159,
|
4338
|
+
885456874,
|
4339
|
+
4264095073,
|
4340
|
+
4001119347,
|
4341
|
+
1565136089,
|
4342
|
+
3898914787,
|
4343
|
+
1108368660,
|
4344
|
+
540939232,
|
4345
|
+
1173283510,
|
4346
|
+
2745871338,
|
4347
|
+
3681308437,
|
4348
|
+
4207628240,
|
4349
|
+
3343053890,
|
4350
|
+
4016749493,
|
4351
|
+
1699691293,
|
4352
|
+
1103962373,
|
4353
|
+
3625875870,
|
4354
|
+
2256883143,
|
4355
|
+
3830138730,
|
4356
|
+
1031889488,
|
4357
|
+
3479347698,
|
4358
|
+
1535977030,
|
4359
|
+
4236805024,
|
4360
|
+
3251091107,
|
4361
|
+
2132092099,
|
4362
|
+
1774941330,
|
4363
|
+
1199868427,
|
4364
|
+
1452454533,
|
4365
|
+
157007616,
|
4366
|
+
2904115357,
|
4367
|
+
342012276,
|
4368
|
+
595725824,
|
4369
|
+
1480756522,
|
4370
|
+
206960106,
|
4371
|
+
497939518,
|
4372
|
+
591360097,
|
4373
|
+
863170706,
|
4374
|
+
2375253569,
|
4375
|
+
3596610801,
|
4376
|
+
1814182875,
|
4377
|
+
2094937945,
|
4378
|
+
3421402208,
|
4379
|
+
1082520231,
|
4380
|
+
3463918190,
|
4381
|
+
2785509508,
|
4382
|
+
435703966,
|
4383
|
+
3908032597,
|
4384
|
+
1641649973,
|
4385
|
+
2842273706,
|
4386
|
+
3305899714,
|
4387
|
+
1510255612,
|
4388
|
+
2148256476,
|
4389
|
+
2655287854,
|
4390
|
+
3276092548,
|
4391
|
+
4258621189,
|
4392
|
+
236887753,
|
4393
|
+
3681803219,
|
4394
|
+
274041037,
|
4395
|
+
1734335097,
|
4396
|
+
3815195456,
|
4397
|
+
3317970021,
|
4398
|
+
1899903192,
|
4399
|
+
1026095262,
|
4400
|
+
4050517792,
|
4401
|
+
356393447,
|
4402
|
+
2410691914,
|
4403
|
+
3873677099,
|
4404
|
+
3682840055
|
4405
|
+
],
|
4406
|
+
[
|
4407
|
+
3913112168,
|
4408
|
+
2491498743,
|
4409
|
+
4132185628,
|
4410
|
+
2489919796,
|
4411
|
+
1091903735,
|
4412
|
+
1979897079,
|
4413
|
+
3170134830,
|
4414
|
+
3567386728,
|
4415
|
+
3557303409,
|
4416
|
+
857797738,
|
4417
|
+
1136121015,
|
4418
|
+
1342202287,
|
4419
|
+
507115054,
|
4420
|
+
2535736646,
|
4421
|
+
337727348,
|
4422
|
+
3213592640,
|
4423
|
+
1301675037,
|
4424
|
+
2528481711,
|
4425
|
+
1895095763,
|
4426
|
+
1721773893,
|
4427
|
+
3216771564,
|
4428
|
+
62756741,
|
4429
|
+
2142006736,
|
4430
|
+
835421444,
|
4431
|
+
2531993523,
|
4432
|
+
1442658625,
|
4433
|
+
3659876326,
|
4434
|
+
2882144922,
|
4435
|
+
676362277,
|
4436
|
+
1392781812,
|
4437
|
+
170690266,
|
4438
|
+
3921047035,
|
4439
|
+
1759253602,
|
4440
|
+
3611846912,
|
4441
|
+
1745797284,
|
4442
|
+
664899054,
|
4443
|
+
1329594018,
|
4444
|
+
3901205900,
|
4445
|
+
3045908486,
|
4446
|
+
2062866102,
|
4447
|
+
2865634940,
|
4448
|
+
3543621612,
|
4449
|
+
3464012697,
|
4450
|
+
1080764994,
|
4451
|
+
553557557,
|
4452
|
+
3656615353,
|
4453
|
+
3996768171,
|
4454
|
+
991055499,
|
4455
|
+
499776247,
|
4456
|
+
1265440854,
|
4457
|
+
648242737,
|
4458
|
+
3940784050,
|
4459
|
+
980351604,
|
4460
|
+
3713745714,
|
4461
|
+
1749149687,
|
4462
|
+
3396870395,
|
4463
|
+
4211799374,
|
4464
|
+
3640570775,
|
4465
|
+
1161844396,
|
4466
|
+
3125318951,
|
4467
|
+
1431517754,
|
4468
|
+
545492359,
|
4469
|
+
4268468663,
|
4470
|
+
3499529547,
|
4471
|
+
1437099964,
|
4472
|
+
2702547544,
|
4473
|
+
3433638243,
|
4474
|
+
2581715763,
|
4475
|
+
2787789398,
|
4476
|
+
1060185593,
|
4477
|
+
1593081372,
|
4478
|
+
2418618748,
|
4479
|
+
4260947970,
|
4480
|
+
69676912,
|
4481
|
+
2159744348,
|
4482
|
+
86519011,
|
4483
|
+
2512459080,
|
4484
|
+
3838209314,
|
4485
|
+
1220612927,
|
4486
|
+
3339683548,
|
4487
|
+
133810670,
|
4488
|
+
1090789135,
|
4489
|
+
1078426020,
|
4490
|
+
1569222167,
|
4491
|
+
845107691,
|
4492
|
+
3583754449,
|
4493
|
+
4072456591,
|
4494
|
+
1091646820,
|
4495
|
+
628848692,
|
4496
|
+
1613405280,
|
4497
|
+
3757631651,
|
4498
|
+
526609435,
|
4499
|
+
236106946,
|
4500
|
+
48312990,
|
4501
|
+
2942717905,
|
4502
|
+
3402727701,
|
4503
|
+
1797494240,
|
4504
|
+
859738849,
|
4505
|
+
992217954,
|
4506
|
+
4005476642,
|
4507
|
+
2243076622,
|
4508
|
+
3870952857,
|
4509
|
+
3732016268,
|
4510
|
+
765654824,
|
4511
|
+
3490871365,
|
4512
|
+
2511836413,
|
4513
|
+
1685915746,
|
4514
|
+
3888969200,
|
4515
|
+
1414112111,
|
4516
|
+
2273134842,
|
4517
|
+
3281911079,
|
4518
|
+
4080962846,
|
4519
|
+
172450625,
|
4520
|
+
2569994100,
|
4521
|
+
980381355,
|
4522
|
+
4109958455,
|
4523
|
+
2819808352,
|
4524
|
+
2716589560,
|
4525
|
+
2568741196,
|
4526
|
+
3681446669,
|
4527
|
+
3329971472,
|
4528
|
+
1835478071,
|
4529
|
+
660984891,
|
4530
|
+
3704678404,
|
4531
|
+
4045999559,
|
4532
|
+
3422617507,
|
4533
|
+
3040415634,
|
4534
|
+
1762651403,
|
4535
|
+
1719377915,
|
4536
|
+
3470491036,
|
4537
|
+
2693910283,
|
4538
|
+
3642056355,
|
4539
|
+
3138596744,
|
4540
|
+
1364962596,
|
4541
|
+
2073328063,
|
4542
|
+
1983633131,
|
4543
|
+
926494387,
|
4544
|
+
3423689081,
|
4545
|
+
2150032023,
|
4546
|
+
4096667949,
|
4547
|
+
1749200295,
|
4548
|
+
3328846651,
|
4549
|
+
309677260,
|
4550
|
+
2016342300,
|
4551
|
+
1779581495,
|
4552
|
+
3079819751,
|
4553
|
+
111262694,
|
4554
|
+
1274766160,
|
4555
|
+
443224088,
|
4556
|
+
298511866,
|
4557
|
+
1025883608,
|
4558
|
+
3806446537,
|
4559
|
+
1145181785,
|
4560
|
+
168956806,
|
4561
|
+
3641502830,
|
4562
|
+
3584813610,
|
4563
|
+
1689216846,
|
4564
|
+
3666258015,
|
4565
|
+
3200248200,
|
4566
|
+
1692713982,
|
4567
|
+
2646376535,
|
4568
|
+
4042768518,
|
4569
|
+
1618508792,
|
4570
|
+
1610833997,
|
4571
|
+
3523052358,
|
4572
|
+
4130873264,
|
4573
|
+
2001055236,
|
4574
|
+
3610705100,
|
4575
|
+
2202168115,
|
4576
|
+
4028541809,
|
4577
|
+
2961195399,
|
4578
|
+
1006657119,
|
4579
|
+
2006996926,
|
4580
|
+
3186142756,
|
4581
|
+
1430667929,
|
4582
|
+
3210227297,
|
4583
|
+
1314452623,
|
4584
|
+
4074634658,
|
4585
|
+
4101304120,
|
4586
|
+
2273951170,
|
4587
|
+
1399257539,
|
4588
|
+
3367210612,
|
4589
|
+
3027628629,
|
4590
|
+
1190975929,
|
4591
|
+
2062231137,
|
4592
|
+
2333990788,
|
4593
|
+
2221543033,
|
4594
|
+
2438960610,
|
4595
|
+
1181637006,
|
4596
|
+
548689776,
|
4597
|
+
2362791313,
|
4598
|
+
3372408396,
|
4599
|
+
3104550113,
|
4600
|
+
3145860560,
|
4601
|
+
296247880,
|
4602
|
+
1970579870,
|
4603
|
+
3078560182,
|
4604
|
+
3769228297,
|
4605
|
+
1714227617,
|
4606
|
+
3291629107,
|
4607
|
+
3898220290,
|
4608
|
+
166772364,
|
4609
|
+
1251581989,
|
4610
|
+
493813264,
|
4611
|
+
448347421,
|
4612
|
+
195405023,
|
4613
|
+
2709975567,
|
4614
|
+
677966185,
|
4615
|
+
3703036547,
|
4616
|
+
1463355134,
|
4617
|
+
2715995803,
|
4618
|
+
1338867538,
|
4619
|
+
1343315457,
|
4620
|
+
2802222074,
|
4621
|
+
2684532164,
|
4622
|
+
233230375,
|
4623
|
+
2599980071,
|
4624
|
+
2000651841,
|
4625
|
+
3277868038,
|
4626
|
+
1638401717,
|
4627
|
+
4028070440,
|
4628
|
+
3237316320,
|
4629
|
+
6314154,
|
4630
|
+
819756386,
|
4631
|
+
300326615,
|
4632
|
+
590932579,
|
4633
|
+
1405279636,
|
4634
|
+
3267499572,
|
4635
|
+
3150704214,
|
4636
|
+
2428286686,
|
4637
|
+
3959192993,
|
4638
|
+
3461946742,
|
4639
|
+
1862657033,
|
4640
|
+
1266418056,
|
4641
|
+
963775037,
|
4642
|
+
2089974820,
|
4643
|
+
2263052895,
|
4644
|
+
1917689273,
|
4645
|
+
448879540,
|
4646
|
+
3550394620,
|
4647
|
+
3981727096,
|
4648
|
+
150775221,
|
4649
|
+
3627908307,
|
4650
|
+
1303187396,
|
4651
|
+
508620638,
|
4652
|
+
2975983352,
|
4653
|
+
2726630617,
|
4654
|
+
1817252668,
|
4655
|
+
1876281319,
|
4656
|
+
1457606340,
|
4657
|
+
908771278,
|
4658
|
+
3720792119,
|
4659
|
+
3617206836,
|
4660
|
+
2455994898,
|
4661
|
+
1729034894,
|
4662
|
+
1080033504
|
4663
|
+
],
|
4664
|
+
[
|
4665
|
+
976866871,
|
4666
|
+
3556439503,
|
4667
|
+
2881648439,
|
4668
|
+
1522871579,
|
4669
|
+
1555064734,
|
4670
|
+
1336096578,
|
4671
|
+
3548522304,
|
4672
|
+
2579274686,
|
4673
|
+
3574697629,
|
4674
|
+
3205460757,
|
4675
|
+
3593280638,
|
4676
|
+
3338716283,
|
4677
|
+
3079412587,
|
4678
|
+
564236357,
|
4679
|
+
2993598910,
|
4680
|
+
1781952180,
|
4681
|
+
1464380207,
|
4682
|
+
3163844217,
|
4683
|
+
3332601554,
|
4684
|
+
1699332808,
|
4685
|
+
1393555694,
|
4686
|
+
1183702653,
|
4687
|
+
3581086237,
|
4688
|
+
1288719814,
|
4689
|
+
691649499,
|
4690
|
+
2847557200,
|
4691
|
+
2895455976,
|
4692
|
+
3193889540,
|
4693
|
+
2717570544,
|
4694
|
+
1781354906,
|
4695
|
+
1676643554,
|
4696
|
+
2592534050,
|
4697
|
+
3230253752,
|
4698
|
+
1126444790,
|
4699
|
+
2770207658,
|
4700
|
+
2633158820,
|
4701
|
+
2210423226,
|
4702
|
+
2615765581,
|
4703
|
+
2414155088,
|
4704
|
+
3127139286,
|
4705
|
+
673620729,
|
4706
|
+
2805611233,
|
4707
|
+
1269405062,
|
4708
|
+
4015350505,
|
4709
|
+
3341807571,
|
4710
|
+
4149409754,
|
4711
|
+
1057255273,
|
4712
|
+
2012875353,
|
4713
|
+
2162469141,
|
4714
|
+
2276492801,
|
4715
|
+
2601117357,
|
4716
|
+
993977747,
|
4717
|
+
3918593370,
|
4718
|
+
2654263191,
|
4719
|
+
753973209,
|
4720
|
+
36408145,
|
4721
|
+
2530585658,
|
4722
|
+
25011837,
|
4723
|
+
3520020182,
|
4724
|
+
2088578344,
|
4725
|
+
530523599,
|
4726
|
+
2918365339,
|
4727
|
+
1524020338,
|
4728
|
+
1518925132,
|
4729
|
+
3760827505,
|
4730
|
+
3759777254,
|
4731
|
+
1202760957,
|
4732
|
+
3985898139,
|
4733
|
+
3906192525,
|
4734
|
+
674977740,
|
4735
|
+
4174734889,
|
4736
|
+
2031300136,
|
4737
|
+
2019492241,
|
4738
|
+
3983892565,
|
4739
|
+
4153806404,
|
4740
|
+
3822280332,
|
4741
|
+
352677332,
|
4742
|
+
2297720250,
|
4743
|
+
60907813,
|
4744
|
+
90501309,
|
4745
|
+
3286998549,
|
4746
|
+
1016092578,
|
4747
|
+
2535922412,
|
4748
|
+
2839152426,
|
4749
|
+
457141659,
|
4750
|
+
509813237,
|
4751
|
+
4120667899,
|
4752
|
+
652014361,
|
4753
|
+
1966332200,
|
4754
|
+
2975202805,
|
4755
|
+
55981186,
|
4756
|
+
2327461051,
|
4757
|
+
676427537,
|
4758
|
+
3255491064,
|
4759
|
+
2882294119,
|
4760
|
+
3433927263,
|
4761
|
+
1307055953,
|
4762
|
+
942726286,
|
4763
|
+
933058658,
|
4764
|
+
2468411793,
|
4765
|
+
3933900994,
|
4766
|
+
4215176142,
|
4767
|
+
1361170020,
|
4768
|
+
2001714738,
|
4769
|
+
2830558078,
|
4770
|
+
3274259782,
|
4771
|
+
1222529897,
|
4772
|
+
1679025792,
|
4773
|
+
2729314320,
|
4774
|
+
3714953764,
|
4775
|
+
1770335741,
|
4776
|
+
151462246,
|
4777
|
+
3013232138,
|
4778
|
+
1682292957,
|
4779
|
+
1483529935,
|
4780
|
+
471910574,
|
4781
|
+
1539241949,
|
4782
|
+
458788160,
|
4783
|
+
3436315007,
|
4784
|
+
1807016891,
|
4785
|
+
3718408830,
|
4786
|
+
978976581,
|
4787
|
+
1043663428,
|
4788
|
+
3165965781,
|
4789
|
+
1927990952,
|
4790
|
+
4200891579,
|
4791
|
+
2372276910,
|
4792
|
+
3208408903,
|
4793
|
+
3533431907,
|
4794
|
+
1412390302,
|
4795
|
+
2931980059,
|
4796
|
+
4132332400,
|
4797
|
+
1947078029,
|
4798
|
+
3881505623,
|
4799
|
+
4168226417,
|
4800
|
+
2941484381,
|
4801
|
+
1077988104,
|
4802
|
+
1320477388,
|
4803
|
+
886195818,
|
4804
|
+
18198404,
|
4805
|
+
3786409e3,
|
4806
|
+
2509781533,
|
4807
|
+
112762804,
|
4808
|
+
3463356488,
|
4809
|
+
1866414978,
|
4810
|
+
891333506,
|
4811
|
+
18488651,
|
4812
|
+
661792760,
|
4813
|
+
1628790961,
|
4814
|
+
3885187036,
|
4815
|
+
3141171499,
|
4816
|
+
876946877,
|
4817
|
+
2693282273,
|
4818
|
+
1372485963,
|
4819
|
+
791857591,
|
4820
|
+
2686433993,
|
4821
|
+
3759982718,
|
4822
|
+
3167212022,
|
4823
|
+
3472953795,
|
4824
|
+
2716379847,
|
4825
|
+
445679433,
|
4826
|
+
3561995674,
|
4827
|
+
3504004811,
|
4828
|
+
3574258232,
|
4829
|
+
54117162,
|
4830
|
+
3331405415,
|
4831
|
+
2381918588,
|
4832
|
+
3769707343,
|
4833
|
+
4154350007,
|
4834
|
+
1140177722,
|
4835
|
+
4074052095,
|
4836
|
+
668550556,
|
4837
|
+
3214352940,
|
4838
|
+
367459370,
|
4839
|
+
261225585,
|
4840
|
+
2610173221,
|
4841
|
+
4209349473,
|
4842
|
+
3468074219,
|
4843
|
+
3265815641,
|
4844
|
+
314222801,
|
4845
|
+
3066103646,
|
4846
|
+
3808782860,
|
4847
|
+
282218597,
|
4848
|
+
3406013506,
|
4849
|
+
3773591054,
|
4850
|
+
379116347,
|
4851
|
+
1285071038,
|
4852
|
+
846784868,
|
4853
|
+
2669647154,
|
4854
|
+
3771962079,
|
4855
|
+
3550491691,
|
4856
|
+
2305946142,
|
4857
|
+
453669953,
|
4858
|
+
1268987020,
|
4859
|
+
3317592352,
|
4860
|
+
3279303384,
|
4861
|
+
3744833421,
|
4862
|
+
2610507566,
|
4863
|
+
3859509063,
|
4864
|
+
266596637,
|
4865
|
+
3847019092,
|
4866
|
+
517658769,
|
4867
|
+
3462560207,
|
4868
|
+
3443424879,
|
4869
|
+
370717030,
|
4870
|
+
4247526661,
|
4871
|
+
2224018117,
|
4872
|
+
4143653529,
|
4873
|
+
4112773975,
|
4874
|
+
2788324899,
|
4875
|
+
2477274417,
|
4876
|
+
1456262402,
|
4877
|
+
2901442914,
|
4878
|
+
1517677493,
|
4879
|
+
1846949527,
|
4880
|
+
2295493580,
|
4881
|
+
3734397586,
|
4882
|
+
2176403920,
|
4883
|
+
1280348187,
|
4884
|
+
1908823572,
|
4885
|
+
3871786941,
|
4886
|
+
846861322,
|
4887
|
+
1172426758,
|
4888
|
+
3287448474,
|
4889
|
+
3383383037,
|
4890
|
+
1655181056,
|
4891
|
+
3139813346,
|
4892
|
+
901632758,
|
4893
|
+
1897031941,
|
4894
|
+
2986607138,
|
4895
|
+
3066810236,
|
4896
|
+
3447102507,
|
4897
|
+
1393639104,
|
4898
|
+
373351379,
|
4899
|
+
950779232,
|
4900
|
+
625454576,
|
4901
|
+
3124240540,
|
4902
|
+
4148612726,
|
4903
|
+
2007998917,
|
4904
|
+
544563296,
|
4905
|
+
2244738638,
|
4906
|
+
2330496472,
|
4907
|
+
2058025392,
|
4908
|
+
1291430526,
|
4909
|
+
424198748,
|
4910
|
+
50039436,
|
4911
|
+
29584100,
|
4912
|
+
3605783033,
|
4913
|
+
2429876329,
|
4914
|
+
2791104160,
|
4915
|
+
1057563949,
|
4916
|
+
3255363231,
|
4917
|
+
3075367218,
|
4918
|
+
3463963227,
|
4919
|
+
1469046755,
|
4920
|
+
985887462
|
4921
|
+
]
|
4922
|
+
];
|
4923
|
+
var e = {
|
4924
|
+
pbox: [],
|
4925
|
+
sbox: []
|
4926
|
+
};
|
4927
|
+
function u(f, h) {
|
4928
|
+
let t = h >> 24 & 255, a = h >> 16 & 255, i = h >> 8 & 255, E = h & 255, l = f.sbox[0][t] + f.sbox[1][a];
|
4929
|
+
return l = l ^ f.sbox[2][i], l = l + f.sbox[3][E], l;
|
4930
|
+
}
|
4931
|
+
function r(f, h, t) {
|
4932
|
+
let a = h, i = t, E;
|
4933
|
+
for (let l = 0; l < B; ++l)
|
4934
|
+
a = a ^ f.pbox[l], i = u(f, a) ^ i, E = a, a = i, i = E;
|
4935
|
+
return E = a, a = i, i = E, i = i ^ f.pbox[B], a = a ^ f.pbox[B + 1], { left: a, right: i };
|
4936
|
+
}
|
4937
|
+
function s(f, h, t) {
|
4938
|
+
let a = h, i = t, E;
|
4939
|
+
for (let l = B + 1; l > 1; --l)
|
4940
|
+
a = a ^ f.pbox[l], i = u(f, a) ^ i, E = a, a = i, i = E;
|
4941
|
+
return E = a, a = i, i = E, i = i ^ f.pbox[1], a = a ^ f.pbox[0], { left: a, right: i };
|
4942
|
+
}
|
4943
|
+
function o(f, h, t) {
|
4944
|
+
for (let A = 0; A < 4; A++) {
|
4945
|
+
f.sbox[A] = [];
|
4946
|
+
for (let _ = 0; _ < 256; _++)
|
4947
|
+
f.sbox[A][_] = x[A][_];
|
4948
|
+
}
|
4949
|
+
let a = 0;
|
4950
|
+
for (let A = 0; A < B + 2; A++)
|
4951
|
+
f.pbox[A] = d[A] ^ h[a], a++, a >= t && (a = 0);
|
4952
|
+
let i = 0, E = 0, l = 0;
|
4953
|
+
for (let A = 0; A < B + 2; A += 2)
|
4954
|
+
l = r(f, i, E), i = l.left, E = l.right, f.pbox[A] = i, f.pbox[A + 1] = E;
|
4955
|
+
for (let A = 0; A < 4; A++)
|
4956
|
+
for (let _ = 0; _ < 256; _ += 2)
|
4957
|
+
l = r(f, i, E), i = l.left, E = l.right, f.sbox[A][_] = i, f.sbox[A][_ + 1] = E;
|
4958
|
+
return !0;
|
4959
|
+
}
|
4960
|
+
var c = w.Blowfish = D.extend({
|
4961
|
+
_doReset: function() {
|
4962
|
+
if (this._keyPriorReset !== this._key) {
|
4963
|
+
var f = this._keyPriorReset = this._key, h = f.words, t = f.sigBytes / 4;
|
4964
|
+
o(e, h, t);
|
4965
|
+
}
|
4966
|
+
},
|
4967
|
+
encryptBlock: function(f, h) {
|
4968
|
+
var t = r(e, f[h], f[h + 1]);
|
4969
|
+
f[h] = t.left, f[h + 1] = t.right;
|
4970
|
+
},
|
4971
|
+
decryptBlock: function(f, h) {
|
4972
|
+
var t = s(e, f[h], f[h + 1]);
|
4973
|
+
f[h] = t.left, f[h + 1] = t.right;
|
4974
|
+
},
|
4975
|
+
blockSize: 64 / 32,
|
4976
|
+
keySize: 128 / 32,
|
4977
|
+
ivSize: 64 / 32
|
4978
|
+
});
|
4979
|
+
n.Blowfish = D._createHelper(c);
|
4980
|
+
}(), C.Blowfish;
|
4981
|
+
});
|
4982
|
+
}(xx)), xx.exports;
|
4983
|
+
}
|
4984
|
+
(function(R, T) {
|
4985
|
+
(function(C, n, p) {
|
4986
|
+
R.exports = n(I(), l0(), Er(), Ar(), e0(), Fr(), t0(), Mx(), rx(), Dr(), Vx(), pr(), _r(), br(), ex(), gr(), r0(), Z(), yr(), kr(), wr(), Hr(), mr(), Sr(), Rr(), zr(), qr(), Pr(), Wr(), Lr(), Tr(), Ir(), Nr(), Xr(), Or());
|
4987
|
+
})(W, function(C) {
|
4988
|
+
return C;
|
4989
|
+
});
|
4990
|
+
})(jx);
|
4991
|
+
var Kr = jx.exports;
|
4992
|
+
const Gr = /* @__PURE__ */ ur(Kr);
|
4993
|
+
export {
|
4994
|
+
Gr as C
|
4995
|
+
};
|