diff --git a/libs/crack-js/dist/crack.js b/libs/crack-js/dist/crack.js index 276564c3..6bdfee51 100644 --- a/libs/crack-js/dist/crack.js +++ b/libs/crack-js/dist/crack.js @@ -1,180 +1,180 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; -function fe(p) { - return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p; +function ae(h) { + return h && h.__esModule && Object.prototype.hasOwnProperty.call(h, "default") ? h.default : h; } -function ke(p) { - if (p.__esModule) - return p; - var w = p.default; - if (typeof w == "function") { - var n = function e() { - return this instanceof e ? Reflect.construct(w, arguments, this.constructor) : w.apply(this, arguments); +function _e(h) { + if (h.__esModule) + return h; + var D = h.default; + if (typeof D == "function") { + var a = function x() { + return this instanceof x ? Reflect.construct(D, arguments, this.constructor) : D.apply(this, arguments); }; - n.prototype = w.prototype; + a.prototype = D.prototype; } else - n = {}; - return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(p).forEach(function(e) { - var D = Object.getOwnPropertyDescriptor(p, e); - Object.defineProperty(n, e, D.get ? D : { + a = {}; + return Object.defineProperty(a, "__esModule", { value: !0 }), Object.keys(h).forEach(function(x) { + var _ = Object.getOwnPropertyDescriptor(h, x); + Object.defineProperty(a, x, _.get ? _ : { enumerable: !0, get: function() { - return p[e]; + return h[x]; } }); - }), n; + }), a; } -function ne(p) { - throw new Error('Could not dynamically require "' + p + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); +function te(h) { + throw new Error('Could not dynamically require "' + h + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); } -var ce = { exports: {} }; -const we = {}, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +var fe = { exports: {} }; +const ge = {}, ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - default: we -}, Symbol.toStringTag, { value: "Module" })), oe = /* @__PURE__ */ ke(Re); -(function(p) { + default: ge +}, Symbol.toStringTag, { value: "Module" })), ne = /* @__PURE__ */ _e(ye); +(function(h) { /** * @license bcrypt.js (c) 2013 Daniel Wirtz * Released under the Apache License, Version 2.0 * see: https://github.com/dcodeIO/bcrypt.js for details */ - (function(w, n) { - typeof ne == "function" && p && p.exports ? p.exports = n() : (w.dcodeIO = w.dcodeIO || {}).bcrypt = n(); + (function(D, a) { + typeof te == "function" && h && h.exports ? h.exports = a() : (D.dcodeIO = D.dcodeIO || {}).bcrypt = a(); })(X, function() { - var w = {}, n = null; - function e(a) { - if (p && p.exports) + var D = {}, a = null; + function x(t) { + if (h && h.exports) try { - return oe.randomBytes(a); + return ne.randomBytes(t); } catch { } try { var s; - return (self.crypto || self.msCrypto).getRandomValues(s = new Uint32Array(a)), Array.prototype.slice.call(s); + return (self.crypto || self.msCrypto).getRandomValues(s = new Uint32Array(t)), Array.prototype.slice.call(s); } catch { } - if (!n) + if (!a) throw Error("Neither WebCryptoAPI nor a crypto module is available. Use bcrypt.setRandomFallback to set an alternative"); - return n(a); + return a(t); } - var D = !1; + var _ = !1; try { - e(1), D = !0; + x(1), _ = !0; } catch { } - n = null, w.setRandomFallback = function(a) { - n = a; - }, w.genSaltSync = function(a, s) { - if (a = a || C, typeof a != "number") - throw Error("Illegal arguments: " + typeof a + ", " + typeof s); - a < 4 ? a = 4 : a > 31 && (a = 31); - var t = []; - return t.push("$2a$"), a < 10 && t.push("0"), t.push(a.toString()), t.push("$"), t.push(g(e(v), v)), t.join(""); - }, w.genSalt = function(a, s, t) { - if (typeof s == "function" && (t = s, s = void 0), typeof a == "function" && (t = a, a = void 0), typeof a > "u") - a = C; - else if (typeof a != "number") - throw Error("illegal arguments: " + typeof a); - function d(u) { + a = null, D.setRandomFallback = function(t) { + a = t; + }, D.genSaltSync = function(t, s) { + if (t = t || p, typeof t != "number") + throw Error("Illegal arguments: " + typeof t + ", " + typeof s); + t < 4 ? t = 4 : t > 31 && (t = 31); + var f = []; + return f.push("$2a$"), t < 10 && f.push("0"), f.push(t.toString()), f.push("$"), f.push(y(x(v), v)), f.join(""); + }, D.genSalt = function(t, s, f) { + if (typeof s == "function" && (f = s, s = void 0), typeof t == "function" && (f = t, t = void 0), typeof t > "u") + t = p; + else if (typeof t != "number") + throw Error("illegal arguments: " + typeof t); + function d(l) { A(function() { try { - u(null, w.genSaltSync(a)); + l(null, D.genSaltSync(t)); } catch (S) { - u(S); + l(S); } }); } - if (t) { - if (typeof t != "function") - throw Error("Illegal callback: " + typeof t); - d(t); + if (f) { + if (typeof f != "function") + throw Error("Illegal callback: " + typeof f); + d(f); } else - return new Promise(function(u, S) { - d(function(I, U) { - if (I) { - S(I); + return new Promise(function(l, S) { + d(function(L, U) { + if (L) { + S(L); return; } - u(U); + l(U); }); }); - }, w.hashSync = function(a, s) { - if (typeof s > "u" && (s = C), typeof s == "number" && (s = w.genSaltSync(s)), typeof a != "string" || typeof s != "string") - throw Error("Illegal arguments: " + typeof a + ", " + typeof s); - return m(a, s); - }, w.hash = function(a, s, t, d) { - function u(S) { - typeof a == "string" && typeof s == "number" ? w.genSalt(s, function(I, U) { - m(a, U, S, d); - }) : typeof a == "string" && typeof s == "string" ? m(a, s, S, d) : A(S.bind(this, Error("Illegal arguments: " + typeof a + ", " + typeof s))); + }, D.hashSync = function(t, s) { + if (typeof s > "u" && (s = p), typeof s == "number" && (s = D.genSaltSync(s)), typeof t != "string" || typeof s != "string") + throw Error("Illegal arguments: " + typeof t + ", " + typeof s); + return m(t, s); + }, D.hash = function(t, s, f, d) { + function l(S) { + typeof t == "string" && typeof s == "number" ? D.genSalt(s, function(L, U) { + m(t, U, S, d); + }) : typeof t == "string" && typeof s == "string" ? m(t, s, S, d) : A(S.bind(this, Error("Illegal arguments: " + typeof t + ", " + typeof s))); } - if (t) { - if (typeof t != "function") - throw Error("Illegal callback: " + typeof t); - u(t); + if (f) { + if (typeof f != "function") + throw Error("Illegal callback: " + typeof f); + l(f); } else - return new Promise(function(S, I) { - u(function(U, P) { + return new Promise(function(S, L) { + l(function(U, P) { if (U) { - I(U); + L(U); return; } S(P); }); }); }; - function h(a, s) { - for (var t = 0, d = 0, u = 0, S = a.length; u < S; ++u) - a.charCodeAt(u) === s.charCodeAt(u) ? ++t : ++d; - return t < 0 ? !1 : d === 0; + function u(t, s) { + for (var f = 0, d = 0, l = 0, S = t.length; l < S; ++l) + t.charCodeAt(l) === s.charCodeAt(l) ? ++f : ++d; + return f < 0 ? !1 : d === 0; } - w.compareSync = function(a, s) { - if (typeof a != "string" || typeof s != "string") - throw Error("Illegal arguments: " + typeof a + ", " + typeof s); - return s.length !== 60 ? !1 : h(w.hashSync(a, s.substr(0, s.length - 31)), s); - }, w.compare = function(a, s, t, d) { - function u(S) { - if (typeof a != "string" || typeof s != "string") { - A(S.bind(this, Error("Illegal arguments: " + typeof a + ", " + typeof s))); + D.compareSync = function(t, s) { + if (typeof t != "string" || typeof s != "string") + throw Error("Illegal arguments: " + typeof t + ", " + typeof s); + return s.length !== 60 ? !1 : u(D.hashSync(t, s.substr(0, s.length - 31)), s); + }, D.compare = function(t, s, f, d) { + function l(S) { + if (typeof t != "string" || typeof s != "string") { + A(S.bind(this, Error("Illegal arguments: " + typeof t + ", " + typeof s))); return; } if (s.length !== 60) { A(S.bind(this, null, !1)); return; } - w.hash(a, s.substr(0, 29), function(I, U) { - I ? S(I) : S(null, h(U, s)); + D.hash(t, s.substr(0, 29), function(L, U) { + L ? S(L) : S(null, u(U, s)); }, d); } - if (t) { - if (typeof t != "function") - throw Error("Illegal callback: " + typeof t); - u(t); + if (f) { + if (typeof f != "function") + throw Error("Illegal callback: " + typeof f); + l(f); } else - return new Promise(function(S, I) { - u(function(U, P) { + return new Promise(function(S, L) { + l(function(U, P) { if (U) { - I(U); + L(U); return; } S(P); }); }); - }, w.getRounds = function(a) { - if (typeof a != "string") - throw Error("Illegal arguments: " + typeof a); - return parseInt(a.split("$")[2], 10); - }, w.getSalt = function(a) { - if (typeof a != "string") - throw Error("Illegal arguments: " + typeof a); - if (a.length !== 60) - throw Error("Illegal hash length: " + a.length + " != 60"); - return a.substring(0, 29); + }, D.getRounds = function(t) { + if (typeof t != "string") + throw Error("Illegal arguments: " + typeof t); + return parseInt(t.split("$")[2], 10); + }, D.getSalt = function(t) { + if (typeof t != "string") + throw Error("Illegal arguments: " + typeof t); + if (t.length !== 60) + throw Error("Illegal hash length: " + t.length + " != 60"); + return t.substring(0, 29); }; var A = typeof process < "u" && process && typeof process.nextTick == "function" ? typeof setImmediate == "function" ? setImmediate : process.nextTick : setTimeout; - function B(a) { - var s = [], t = 0; - return l.encodeUTF16toUTF8(function() { - return t >= a.length ? null : a.charCodeAt(t++); + function C(t) { + var s = [], f = 0; + return b.encodeUTF16toUTF8(function() { + return f >= t.length ? null : t.charCodeAt(f++); }, function(d) { s.push(d); }), s; @@ -309,98 +309,98 @@ const we = {}, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP -1, -1 ], o = String.fromCharCode; - function g(a, s) { - var t = 0, d = [], u, S; - if (s <= 0 || s > a.length) + function y(t, s) { + var f = 0, d = [], l, S; + if (s <= 0 || s > t.length) throw Error("Illegal len: " + s); - for (; t < s; ) { - if (u = a[t++] & 255, d.push(E[u >> 2 & 63]), u = (u & 3) << 4, t >= s) { - d.push(E[u & 63]); + for (; f < s; ) { + if (l = t[f++] & 255, d.push(E[l >> 2 & 63]), l = (l & 3) << 4, f >= s) { + d.push(E[l & 63]); break; } - if (S = a[t++] & 255, u |= S >> 4 & 15, d.push(E[u & 63]), u = (S & 15) << 2, t >= s) { - d.push(E[u & 63]); + if (S = t[f++] & 255, l |= S >> 4 & 15, d.push(E[l & 63]), l = (S & 15) << 2, f >= s) { + d.push(E[l & 63]); break; } - S = a[t++] & 255, u |= S >> 6 & 3, d.push(E[u & 63]), d.push(E[S & 63]); + S = t[f++] & 255, l |= S >> 6 & 3, d.push(E[l & 63]), d.push(E[S & 63]); } return d.join(""); } - function x(a, s) { - var t = 0, d = a.length, u = 0, S = [], I, U, P, O, T, _; + function e(t, s) { + var f = 0, d = t.length, l = 0, S = [], L, U, P, O, T, g; if (s <= 0) throw Error("Illegal len: " + s); - for (; t < d - 1 && u < s && (_ = a.charCodeAt(t++), I = _ < r.length ? r[_] : -1, _ = a.charCodeAt(t++), U = _ < r.length ? r[_] : -1, !(I == -1 || U == -1 || (T = I << 2 >>> 0, T |= (U & 48) >> 4, S.push(o(T)), ++u >= s || t >= d) || (_ = a.charCodeAt(t++), P = _ < r.length ? r[_] : -1, P == -1) || (T = (U & 15) << 4 >>> 0, T |= (P & 60) >> 2, S.push(o(T)), ++u >= s || t >= d))); ) - _ = a.charCodeAt(t++), O = _ < r.length ? r[_] : -1, T = (P & 3) << 6 >>> 0, T |= O, S.push(o(T)), ++u; - var k = []; - for (t = 0; t < u; t++) - k.push(S[t].charCodeAt(0)); - return k; + for (; f < d - 1 && l < s && (g = t.charCodeAt(f++), L = g < r.length ? r[g] : -1, g = t.charCodeAt(f++), U = g < r.length ? r[g] : -1, !(L == -1 || U == -1 || (T = L << 2 >>> 0, T |= (U & 48) >> 4, S.push(o(T)), ++l >= s || f >= d) || (g = t.charCodeAt(f++), P = g < r.length ? r[g] : -1, P == -1) || (T = (U & 15) << 4 >>> 0, T |= (P & 60) >> 2, S.push(o(T)), ++l >= s || f >= d))); ) + g = t.charCodeAt(f++), O = g < r.length ? r[g] : -1, T = (P & 3) << 6 >>> 0, T |= O, S.push(o(T)), ++l; + var w = []; + for (f = 0; f < l; f++) + w.push(S[f].charCodeAt(0)); + return w; } - var l = function() { - var a = {}; - return a.MAX_CODEPOINT = 1114111, a.encodeUTF8 = function(s, t) { + var b = function() { + var t = {}; + return t.MAX_CODEPOINT = 1114111, t.encodeUTF8 = function(s, f) { var d = null; for (typeof s == "number" && (d = s, s = function() { return null; }); d !== null || (d = s()) !== null; ) - d < 128 ? t(d & 127) : d < 2048 ? (t(d >> 6 & 31 | 192), t(d & 63 | 128)) : d < 65536 ? (t(d >> 12 & 15 | 224), t(d >> 6 & 63 | 128), t(d & 63 | 128)) : (t(d >> 18 & 7 | 240), t(d >> 12 & 63 | 128), t(d >> 6 & 63 | 128), t(d & 63 | 128)), d = null; - }, a.decodeUTF8 = function(s, t) { - for (var d, u, S, I, U = function(P) { + d < 128 ? f(d & 127) : d < 2048 ? (f(d >> 6 & 31 | 192), f(d & 63 | 128)) : d < 65536 ? (f(d >> 12 & 15 | 224), f(d >> 6 & 63 | 128), f(d & 63 | 128)) : (f(d >> 18 & 7 | 240), f(d >> 12 & 63 | 128), f(d >> 6 & 63 | 128), f(d & 63 | 128)), d = null; + }, t.decodeUTF8 = function(s, f) { + for (var d, l, S, L, U = function(P) { P = P.slice(0, P.indexOf(null)); var O = Error(P.toString()); throw O.name = "TruncatedError", O.bytes = P, O; }; (d = s()) !== null; ) if (!(d & 128)) - t(d); + f(d); else if ((d & 224) === 192) - (u = s()) === null && U([d, u]), t((d & 31) << 6 | u & 63); + (l = s()) === null && U([d, l]), f((d & 31) << 6 | l & 63); else if ((d & 240) === 224) - ((u = s()) === null || (S = s()) === null) && U([d, u, S]), t((d & 15) << 12 | (u & 63) << 6 | S & 63); + ((l = s()) === null || (S = s()) === null) && U([d, l, S]), f((d & 15) << 12 | (l & 63) << 6 | S & 63); else if ((d & 248) === 240) - ((u = s()) === null || (S = s()) === null || (I = s()) === null) && U([d, u, S, I]), t((d & 7) << 18 | (u & 63) << 12 | (S & 63) << 6 | I & 63); + ((l = s()) === null || (S = s()) === null || (L = s()) === null) && U([d, l, S, L]), f((d & 7) << 18 | (l & 63) << 12 | (S & 63) << 6 | L & 63); else throw RangeError("Illegal starting byte: " + d); - }, a.UTF16toUTF8 = function(s, t) { - for (var d, u = null; (d = u !== null ? u : s()) !== null; ) { - if (d >= 55296 && d <= 57343 && (u = s()) !== null && u >= 56320 && u <= 57343) { - t((d - 55296) * 1024 + u - 56320 + 65536), u = null; + }, t.UTF16toUTF8 = function(s, f) { + for (var d, l = null; (d = l !== null ? l : s()) !== null; ) { + if (d >= 55296 && d <= 57343 && (l = s()) !== null && l >= 56320 && l <= 57343) { + f((d - 55296) * 1024 + l - 56320 + 65536), l = null; continue; } - t(d); + f(d); } - u !== null && t(u); - }, a.UTF8toUTF16 = function(s, t) { + l !== null && f(l); + }, t.UTF8toUTF16 = function(s, f) { var d = null; for (typeof s == "number" && (d = s, s = function() { return null; }); d !== null || (d = s()) !== null; ) - d <= 65535 ? t(d) : (d -= 65536, t((d >> 10) + 55296), t(d % 1024 + 56320)), d = null; - }, a.encodeUTF16toUTF8 = function(s, t) { - a.UTF16toUTF8(s, function(d) { - a.encodeUTF8(d, t); + d <= 65535 ? f(d) : (d -= 65536, f((d >> 10) + 55296), f(d % 1024 + 56320)), d = null; + }, t.encodeUTF16toUTF8 = function(s, f) { + t.UTF16toUTF8(s, function(d) { + t.encodeUTF8(d, f); }); - }, a.decodeUTF8toUTF16 = function(s, t) { - a.decodeUTF8(s, function(d) { - a.UTF8toUTF16(d, t); + }, t.decodeUTF8toUTF16 = function(s, f) { + t.decodeUTF8(s, function(d) { + t.UTF8toUTF16(d, f); }); - }, a.calculateCodePoint = function(s) { + }, t.calculateCodePoint = function(s) { return s < 128 ? 1 : s < 2048 ? 2 : s < 65536 ? 3 : 4; - }, a.calculateUTF8 = function(s) { - for (var t, d = 0; (t = s()) !== null; ) - d += a.calculateCodePoint(t); + }, t.calculateUTF8 = function(s) { + for (var f, d = 0; (f = s()) !== null; ) + d += t.calculateCodePoint(f); return d; - }, a.calculateUTF16asUTF8 = function(s) { - var t = 0, d = 0; - return a.UTF16toUTF8(s, function(u) { - ++t, d += a.calculateCodePoint(u); - }), [t, d]; - }, a; + }, t.calculateUTF16asUTF8 = function(s) { + var f = 0, d = 0; + return t.UTF16toUTF8(s, function(l) { + ++f, d += t.calculateCodePoint(l); + }), [f, d]; + }, t; }(); Date.now = Date.now || function() { return +/* @__PURE__ */ new Date(); }; - var v = 16, C = 10, c = 16, F = 100, f = [ + var v = 16, p = 10, c = 16, F = 100, n = [ 608135816, 2242054355, 320440878, @@ -1444,7 +1444,7 @@ const we = {}, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP 3463963227, 1469046755, 985887462 - ], b = [ + ], B = [ 1332899944, 1700884034, 1701343084, @@ -1452,35 +1452,35 @@ const we = {}, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP 1668446532, 1869963892 ]; - function y(a, s, t, d) { - var u, S = a[s], I = a[s + 1]; - return S ^= t[0], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[1], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[2], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[3], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[4], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[5], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[6], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[7], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[8], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[9], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[10], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[11], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[12], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[13], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[14], u = d[S >>> 24], u += d[256 | S >> 16 & 255], u ^= d[512 | S >> 8 & 255], u += d[768 | S & 255], I ^= u ^ t[15], u = d[I >>> 24], u += d[256 | I >> 16 & 255], u ^= d[512 | I >> 8 & 255], u += d[768 | I & 255], S ^= u ^ t[16], a[s] = I ^ t[c + 1], a[s + 1] = S, a; + function H(t, s, f, d) { + var l, S = t[s], L = t[s + 1]; + return S ^= f[0], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[1], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[2], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[3], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[4], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[5], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[6], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[7], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[8], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[9], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[10], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[11], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[12], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[13], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[14], l = d[S >>> 24], l += d[256 | S >> 16 & 255], l ^= d[512 | S >> 8 & 255], l += d[768 | S & 255], L ^= l ^ f[15], l = d[L >>> 24], l += d[256 | L >> 16 & 255], l ^= d[512 | L >> 8 & 255], l += d[768 | L & 255], S ^= l ^ f[16], t[s] = L ^ f[c + 1], t[s + 1] = S, t; } - function R(a, s) { - for (var t = 0, d = 0; t < 4; ++t) - d = d << 8 | a[s] & 255, s = (s + 1) % a.length; + function R(t, s) { + for (var f = 0, d = 0; f < 4; ++f) + d = d << 8 | t[s] & 255, s = (s + 1) % t.length; return { key: d, offp: s }; } - function z(a, s, t) { - for (var d = 0, u = [0, 0], S = s.length, I = t.length, U, P = 0; P < S; P++) - U = R(a, d), d = U.offp, s[P] = s[P] ^ U.key; + function z(t, s, f) { + for (var d = 0, l = [0, 0], S = s.length, L = f.length, U, P = 0; P < S; P++) + U = R(t, d), d = U.offp, s[P] = s[P] ^ U.key; for (P = 0; P < S; P += 2) - u = y(u, 0, s, t), s[P] = u[0], s[P + 1] = u[1]; - for (P = 0; P < I; P += 2) - u = y(u, 0, s, t), t[P] = u[0], t[P + 1] = u[1]; + l = H(l, 0, s, f), s[P] = l[0], s[P + 1] = l[1]; + for (P = 0; P < L; P += 2) + l = H(l, 0, s, f), f[P] = l[0], f[P + 1] = l[1]; } - function q(a, s, t, d) { - for (var u = 0, S = [0, 0], I = t.length, U = d.length, P, O = 0; O < I; O++) - P = R(s, u), u = P.offp, t[O] = t[O] ^ P.key; - for (u = 0, O = 0; O < I; O += 2) - P = R(a, u), u = P.offp, S[0] ^= P.key, P = R(a, u), u = P.offp, S[1] ^= P.key, S = y(S, 0, t, d), t[O] = S[0], t[O + 1] = S[1]; + function q(t, s, f, d) { + for (var l = 0, S = [0, 0], L = f.length, U = d.length, P, O = 0; O < L; O++) + P = R(s, l), l = P.offp, f[O] = f[O] ^ P.key; + for (l = 0, O = 0; O < L; O += 2) + P = R(t, l), l = P.offp, S[0] ^= P.key, P = R(t, l), l = P.offp, S[1] ^= P.key, S = H(S, 0, f, d), f[O] = S[0], f[O + 1] = S[1]; for (O = 0; O < U; O += 2) - P = R(a, u), u = P.offp, S[0] ^= P.key, P = R(a, u), u = P.offp, S[1] ^= P.key, S = y(S, 0, t, d), d[O] = S[0], d[O + 1] = S[1]; + P = R(t, l), l = P.offp, S[0] ^= P.key, P = R(t, l), l = P.offp, S[1] ^= P.key, S = H(S, 0, f, d), d[O] = S[0], d[O + 1] = S[1]; } - function W(a, s, t, d, u) { - var S = b.slice(), I = S.length, U; - if (t < 4 || t > 31) - if (U = Error("Illegal number of rounds (4-31): " + t), d) { + function I(t, s, f, d, l) { + var S = B.slice(), L = S.length, U; + if (f < 4 || f > 31) + if (U = Error("Illegal number of rounds (4-31): " + f), d) { A(d.bind(this, U)); return; } else @@ -1491,19 +1491,19 @@ const we = {}, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP return; } else throw U; - t = 1 << t >>> 0; - var P, O, T = 0, _; - Int32Array ? (P = new Int32Array(f), O = new Int32Array(i)) : (P = f.slice(), O = i.slice()), q(s, a, P, O); - function k() { - if (u && u(T / t), T < t) - for (var L = Date.now(); T < t && (T = T + 1, z(a, P, O), z(s, P, O), !(Date.now() - L > F)); ) + f = 1 << f >>> 0; + var P, O, T = 0, g; + Int32Array ? (P = new Int32Array(n), O = new Int32Array(i)) : (P = n.slice(), O = i.slice()), q(s, t, P, O); + function w() { + if (l && l(T / f), T < f) + for (var W = Date.now(); T < f && (T = T + 1, z(t, P, O), z(s, P, O), !(Date.now() - W > F)); ) ; else { for (T = 0; T < 64; T++) - for (_ = 0; _ < I >> 1; _++) - y(S, _ << 1, P, O); + for (g = 0; g < L >> 1; g++) + H(S, g << 1, P, O); var N = []; - for (T = 0; T < I; T++) + for (T = 0; T < L; T++) N.push((S[T] >> 24 & 255) >>> 0), N.push((S[T] >> 16 & 255) >>> 0), N.push((S[T] >> 8 & 255) >>> 0), N.push((S[T] & 255) >>> 0); if (d) { d(null, N); @@ -1511,98 +1511,98 @@ const we = {}, Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP } else return N; } - d && A(k); + d && A(w); } if (typeof d < "u") - k(); + w(); else - for (var H; ; ) - if (typeof (H = k()) < "u") - return H || []; + for (var k; ; ) + if (typeof (k = w()) < "u") + return k || []; } - function m(a, s, t, d) { - var u; - if (typeof a != "string" || typeof s != "string") - if (u = Error("Invalid string / salt: Not a string"), t) { - A(t.bind(this, u)); + function m(t, s, f, d) { + var l; + if (typeof t != "string" || typeof s != "string") + if (l = Error("Invalid string / salt: Not a string"), f) { + A(f.bind(this, l)); return; } else - throw u; - var S, I; + throw l; + var S, L; if (s.charAt(0) !== "$" || s.charAt(1) !== "2") - if (u = Error("Invalid salt version: " + s.substring(0, 2)), t) { - A(t.bind(this, u)); + if (l = Error("Invalid salt version: " + s.substring(0, 2)), f) { + A(f.bind(this, l)); return; } else - throw u; + throw l; if (s.charAt(2) === "$") - S = "\0", I = 3; + S = "\0", L = 3; else { if (S = s.charAt(2), S !== "a" && S !== "b" && S !== "y" || s.charAt(3) !== "$") - if (u = Error("Invalid salt revision: " + s.substring(2, 4)), t) { - A(t.bind(this, u)); + if (l = Error("Invalid salt revision: " + s.substring(2, 4)), f) { + A(f.bind(this, l)); return; } else - throw u; - I = 4; + throw l; + L = 4; } - if (s.charAt(I + 2) > "$") - if (u = Error("Missing salt rounds"), t) { - A(t.bind(this, u)); + if (s.charAt(L + 2) > "$") + if (l = Error("Missing salt rounds"), f) { + A(f.bind(this, l)); return; } else - throw u; - var U = parseInt(s.substring(I, I + 1), 10) * 10, P = parseInt(s.substring(I + 1, I + 2), 10), O = U + P, T = s.substring(I + 3, I + 25); - a += S >= "a" ? "\0" : ""; - var _ = B(a), k = x(T, v); - function H(L) { + throw l; + var U = parseInt(s.substring(L, L + 1), 10) * 10, P = parseInt(s.substring(L + 1, L + 2), 10), O = U + P, T = s.substring(L + 3, L + 25); + t += S >= "a" ? "\0" : ""; + var g = C(t), w = e(T, v); + function k(W) { var N = []; - return N.push("$2"), S >= "a" && N.push(S), N.push("$"), O < 10 && N.push("0"), N.push(O.toString()), N.push("$"), N.push(g(k, k.length)), N.push(g(L, b.length * 4 - 1)), N.join(""); + return N.push("$2"), S >= "a" && N.push(S), N.push("$"), O < 10 && N.push("0"), N.push(O.toString()), N.push("$"), N.push(y(w, w.length)), N.push(y(W, B.length * 4 - 1)), N.join(""); } - if (typeof t > "u") - return H(W(_, k, O)); - W(_, k, O, function(L, N) { - L ? t(L, null) : t(null, H(N)); + if (typeof f > "u") + return k(I(g, w, O)); + I(g, w, O, function(W, N) { + W ? f(W, null) : f(null, k(N)); }, d); } - return w.encodeBase64 = g, w.decodeBase64 = x, w; + return D.encodeBase64 = y, D.decodeBase64 = e, D; }); -})(ce); -var Se = ce.exports; -const nx = /* @__PURE__ */ fe(Se); -var ie = { exports: {} }, _0 = { exports: {} }, _x; +})(fe); +var He = fe.exports; +const me = /* @__PURE__ */ ae(He); +var ce = { exports: {} }, _0 = { exports: {} }, Fx; function K() { - return _x || (_x = 1, function(p, w) { - (function(n, e) { - p.exports = e(); + return Fx || (Fx = 1, function(h, D) { + (function(a, x) { + h.exports = x(); })(X, function() { - var n = n || function(e, D) { - var h; - if (typeof window < "u" && window.crypto && (h = window.crypto), typeof self < "u" && self.crypto && (h = self.crypto), typeof globalThis < "u" && globalThis.crypto && (h = globalThis.crypto), !h && typeof window < "u" && window.msCrypto && (h = window.msCrypto), !h && typeof X < "u" && X.crypto && (h = X.crypto), !h && typeof ne == "function") + var a = a || function(x, _) { + var u; + if (typeof window < "u" && window.crypto && (u = window.crypto), typeof self < "u" && self.crypto && (u = self.crypto), typeof globalThis < "u" && globalThis.crypto && (u = globalThis.crypto), !u && typeof window < "u" && window.msCrypto && (u = window.msCrypto), !u && typeof X < "u" && X.crypto && (u = X.crypto), !u && typeof te == "function") try { - h = oe; + u = ne; } catch { } var A = function() { - if (h) { - if (typeof h.getRandomValues == "function") + if (u) { + if (typeof u.getRandomValues == "function") try { - return h.getRandomValues(new Uint32Array(1))[0]; + return u.getRandomValues(new Uint32Array(1))[0]; } catch { } - if (typeof h.randomBytes == "function") + if (typeof u.randomBytes == "function") try { - return h.randomBytes(4).readInt32LE(); + return u.randomBytes(4).readInt32LE(); } catch { } } throw new Error("Native crypto module could not be used to get secure random number."); - }, B = Object.create || /* @__PURE__ */ function() { - function f() { + }, C = Object.create || /* @__PURE__ */ function() { + function n() { } return function(i) { - var b; - return f.prototype = i, b = new f(), f.prototype = null, b; + var B; + return n.prototype = i, B = new n(), n.prototype = null, B; }; }(), E = {}, r = E.lib = {}, o = r.Base = /* @__PURE__ */ function() { return { @@ -1624,9 +1624,9 @@ function K() { * } * }); */ - extend: function(f) { - var i = B(this); - return f && i.mixIn(f), (!i.hasOwnProperty("init") || this.init === i.init) && (i.init = function() { + extend: function(n) { + var i = C(this); + return n && i.mixIn(n), (!i.hasOwnProperty("init") || this.init === i.init) && (i.init = function() { i.$super.init.apply(this, arguments); }), i.init.prototype = i, i.$super = this, i; }, @@ -1643,8 +1643,8 @@ function K() { * var instance = MyType.create(); */ create: function() { - var f = this.extend(); - return f.init.apply(f, arguments), f; + var n = this.extend(); + return n.init.apply(n, arguments), n; }, /** * Initializes a newly created object. @@ -1671,10 +1671,10 @@ function K() { * field: 'value' * }); */ - mixIn: function(f) { - for (var i in f) - f.hasOwnProperty(i) && (this[i] = f[i]); - f.hasOwnProperty("toString") && (this.toString = f.toString); + mixIn: function(n) { + for (var i in n) + n.hasOwnProperty(i) && (this[i] = n[i]); + n.hasOwnProperty("toString") && (this.toString = n.toString); }, /** * Creates a copy of this object. @@ -1689,7 +1689,7 @@ function K() { return this.init.prototype.extend(this); } }; - }(), g = r.WordArray = o.extend({ + }(), y = r.WordArray = o.extend({ /** * Initializes a newly created word array. * @@ -1702,8 +1702,8 @@ function K() { * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]); * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6); */ - init: function(f, i) { - f = this.words = f || [], i != D ? this.sigBytes = i : this.sigBytes = f.length * 4; + init: function(n, i) { + n = this.words = n || [], i != _ ? this.sigBytes = i : this.sigBytes = n.length * 4; }, /** * Converts this word array to a string. @@ -1718,8 +1718,8 @@ function K() { * var string = wordArray.toString(); * var string = wordArray.toString(CryptoJS.enc.Utf8); */ - toString: function(f) { - return (f || l).stringify(this); + toString: function(n) { + return (n || b).stringify(this); }, /** * Concatenates a word array to this word array. @@ -1732,16 +1732,16 @@ function K() { * * wordArray1.concat(wordArray2); */ - concat: function(f) { - var i = this.words, b = f.words, y = this.sigBytes, R = f.sigBytes; - if (this.clamp(), y % 4) + concat: function(n) { + var i = this.words, B = n.words, H = this.sigBytes, R = n.sigBytes; + if (this.clamp(), H % 4) for (var z = 0; z < R; z++) { - var q = b[z >>> 2] >>> 24 - z % 4 * 8 & 255; - i[y + z >>> 2] |= q << 24 - (y + z) % 4 * 8; + var q = B[z >>> 2] >>> 24 - z % 4 * 8 & 255; + i[H + z >>> 2] |= q << 24 - (H + z) % 4 * 8; } else - for (var W = 0; W < R; W += 4) - i[y + W >>> 2] = b[W >>> 2]; + for (var I = 0; I < R; I += 4) + i[H + I >>> 2] = B[I >>> 2]; return this.sigBytes += R, this; }, /** @@ -1752,8 +1752,8 @@ function K() { * wordArray.clamp(); */ clamp: function() { - var f = this.words, i = this.sigBytes; - f[i >>> 2] &= 4294967295 << 32 - i % 4 * 8, f.length = e.ceil(i / 4); + var n = this.words, i = this.sigBytes; + n[i >>> 2] &= 4294967295 << 32 - i % 4 * 8, n.length = x.ceil(i / 4); }, /** * Creates a copy of this word array. @@ -1765,8 +1765,8 @@ function K() { * var clone = wordArray.clone(); */ clone: function() { - var f = o.clone.call(this); - return f.words = this.words.slice(0), f; + var n = o.clone.call(this); + return n.words = this.words.slice(0), n; }, /** * Creates a word array filled with random bytes. @@ -1781,12 +1781,12 @@ function K() { * * var wordArray = CryptoJS.lib.WordArray.random(16); */ - random: function(f) { - for (var i = [], b = 0; b < f; b += 4) + random: function(n) { + for (var i = [], B = 0; B < n; B += 4) i.push(A()); - return new g.init(i, f); + return new y.init(i, n); } - }), x = E.enc = {}, l = x.Hex = { + }), e = E.enc = {}, b = e.Hex = { /** * Converts a word array to a hex string. * @@ -1800,12 +1800,12 @@ function K() { * * var hexString = CryptoJS.enc.Hex.stringify(wordArray); */ - stringify: function(f) { - for (var i = f.words, b = f.sigBytes, y = [], R = 0; R < b; R++) { + stringify: function(n) { + for (var i = n.words, B = n.sigBytes, H = [], R = 0; R < B; R++) { var z = i[R >>> 2] >>> 24 - R % 4 * 8 & 255; - y.push((z >>> 4).toString(16)), y.push((z & 15).toString(16)); + H.push((z >>> 4).toString(16)), H.push((z & 15).toString(16)); } - return y.join(""); + return H.join(""); }, /** * Converts a hex string to a word array. @@ -1820,12 +1820,12 @@ function K() { * * var wordArray = CryptoJS.enc.Hex.parse(hexString); */ - parse: function(f) { - for (var i = f.length, b = [], y = 0; y < i; y += 2) - b[y >>> 3] |= parseInt(f.substr(y, 2), 16) << 24 - y % 8 * 4; - return new g.init(b, i / 2); + parse: function(n) { + for (var i = n.length, B = [], H = 0; H < i; H += 2) + B[H >>> 3] |= parseInt(n.substr(H, 2), 16) << 24 - H % 8 * 4; + return new y.init(B, i / 2); } - }, v = x.Latin1 = { + }, v = e.Latin1 = { /** * Converts a word array to a Latin1 string. * @@ -1839,12 +1839,12 @@ function K() { * * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray); */ - stringify: function(f) { - for (var i = f.words, b = f.sigBytes, y = [], R = 0; R < b; R++) { + stringify: function(n) { + for (var i = n.words, B = n.sigBytes, H = [], R = 0; R < B; R++) { var z = i[R >>> 2] >>> 24 - R % 4 * 8 & 255; - y.push(String.fromCharCode(z)); + H.push(String.fromCharCode(z)); } - return y.join(""); + return H.join(""); }, /** * Converts a Latin1 string to a word array. @@ -1859,12 +1859,12 @@ function K() { * * var wordArray = CryptoJS.enc.Latin1.parse(latin1String); */ - parse: function(f) { - for (var i = f.length, b = [], y = 0; y < i; y++) - b[y >>> 2] |= (f.charCodeAt(y) & 255) << 24 - y % 4 * 8; - return new g.init(b, i); + parse: function(n) { + for (var i = n.length, B = [], H = 0; H < i; H++) + B[H >>> 2] |= (n.charCodeAt(H) & 255) << 24 - H % 4 * 8; + return new y.init(B, i); } - }, C = x.Utf8 = { + }, p = e.Utf8 = { /** * Converts a word array to a UTF-8 string. * @@ -1878,9 +1878,9 @@ function K() { * * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray); */ - stringify: function(f) { + stringify: function(n) { try { - return decodeURIComponent(escape(v.stringify(f))); + return decodeURIComponent(escape(v.stringify(n))); } catch { throw new Error("Malformed UTF-8 data"); } @@ -1898,8 +1898,8 @@ function K() { * * var wordArray = CryptoJS.enc.Utf8.parse(utf8String); */ - parse: function(f) { - return v.parse(unescape(encodeURIComponent(f))); + parse: function(n) { + return v.parse(unescape(encodeURIComponent(n))); } }, c = r.BufferedBlockAlgorithm = o.extend({ /** @@ -1910,7 +1910,7 @@ function K() { * bufferedBlockAlgorithm.reset(); */ reset: function() { - this._data = new g.init(), this._nDataBytes = 0; + this._data = new y.init(), this._nDataBytes = 0; }, /** * Adds new data to this block algorithm's buffer. @@ -1922,8 +1922,8 @@ function K() { * bufferedBlockAlgorithm._append('data'); * bufferedBlockAlgorithm._append(wordArray); */ - _append: function(f) { - typeof f == "string" && (f = C.parse(f)), this._data.concat(f), this._nDataBytes += f.sigBytes; + _append: function(n) { + typeof n == "string" && (n = p.parse(n)), this._data.concat(n), this._nDataBytes += n.sigBytes; }, /** * Processes available data blocks. @@ -1939,16 +1939,16 @@ function K() { * var processedData = bufferedBlockAlgorithm._process(); * var processedData = bufferedBlockAlgorithm._process(!!'flush'); */ - _process: function(f) { - var i, b = this._data, y = b.words, R = b.sigBytes, z = this.blockSize, q = z * 4, W = R / q; - f ? W = e.ceil(W) : W = e.max((W | 0) - this._minBufferSize, 0); - var m = W * z, a = e.min(m * 4, R); + _process: function(n) { + var i, B = this._data, H = B.words, R = B.sigBytes, z = this.blockSize, q = z * 4, I = R / q; + n ? I = x.ceil(I) : I = x.max((I | 0) - this._minBufferSize, 0); + var m = I * z, t = x.min(m * 4, R); if (m) { for (var s = 0; s < m; s += z) - this._doProcessBlock(y, s); - i = y.splice(0, m), b.sigBytes -= a; + this._doProcessBlock(H, s); + i = H.splice(0, m), B.sigBytes -= t; } - return new g.init(i, a); + return new y.init(i, t); }, /** * Creates a copy of this object. @@ -1960,8 +1960,8 @@ function K() { * var clone = bufferedBlockAlgorithm.clone(); */ clone: function() { - var f = o.clone.call(this); - return f._data = this._data.clone(), f; + var n = o.clone.call(this); + return n._data = this._data.clone(), n; }, _minBufferSize: 0 }); @@ -1979,8 +1979,8 @@ function K() { * * var hasher = CryptoJS.algo.SHA256.create(); */ - init: function(f) { - this.cfg = this.cfg.extend(f), this.reset(); + init: function(n) { + this.cfg = this.cfg.extend(n), this.reset(); }, /** * Resets this hasher to its initial state. @@ -2004,8 +2004,8 @@ function K() { * hasher.update('message'); * hasher.update(wordArray); */ - update: function(f) { - return this._append(f), this._process(), this; + update: function(n) { + return this._append(n), this._process(), this; }, /** * Finalizes the hash computation. @@ -2021,8 +2021,8 @@ function K() { * var hash = hasher.finalize('message'); * var hash = hasher.finalize(wordArray); */ - finalize: function(f) { - f && this._append(f); + finalize: function(n) { + n && this._append(n); var i = this._doFinalize(); return i; }, @@ -2040,9 +2040,9 @@ function K() { * * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256); */ - _createHelper: function(f) { - return function(i, b) { - return new f.init(b).finalize(i); + _createHelper: function(n) { + return function(i, B) { + return new n.init(B).finalize(i); }; }, /** @@ -2058,27 +2058,27 @@ function K() { * * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256); */ - _createHmacHelper: function(f) { - return function(i, b) { - return new F.HMAC.init(f, b).finalize(i); + _createHmacHelper: function(n) { + return function(i, B) { + return new F.HMAC.init(n, B).finalize(i); }; } }); var F = E.algo = {}; return E; }(Math); - return n; + return a; }); }(_0)), _0.exports; } -var g0 = { exports: {} }, gx; -function A0() { - return gx || (gx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { - return function(e) { - var D = n, h = D.lib, A = h.Base, B = h.WordArray, E = D.x64 = {}; +var g0 = { exports: {} }, Dx; +function E0() { + return Dx || (Dx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { + return function(x) { + var _ = a, u = _.lib, A = u.Base, C = u.WordArray, E = _.x64 = {}; E.Word = A.extend({ /** * Initializes a newly created 64-bit word. @@ -2264,7 +2264,7 @@ function A0() { * ], 10); */ init: function(r, o) { - r = this.words = r || [], o != e ? this.sigBytes = o : this.sigBytes = r.length * 8; + r = this.words = r || [], o != x ? this.sigBytes = o : this.sigBytes = r.length * 8; }, /** * Converts this 64-bit word array to a 32-bit word array. @@ -2276,11 +2276,11 @@ function A0() { * var x32WordArray = x64WordArray.toX32(); */ toX32: function() { - for (var r = this.words, o = r.length, g = [], x = 0; x < o; x++) { - var l = r[x]; - g.push(l.high), g.push(l.low); + for (var r = this.words, o = r.length, y = [], e = 0; e < o; e++) { + var b = r[e]; + y.push(b.high), y.push(b.low); } - return B.create(g, this.sigBytes); + return C.create(y, this.sigBytes); }, /** * Creates a copy of this word array. @@ -2292,45 +2292,45 @@ function A0() { * var clone = x64WordArray.clone(); */ clone: function() { - for (var r = A.clone.call(this), o = r.words = this.words.slice(0), g = o.length, x = 0; x < g; x++) - o[x] = o[x].clone(); + for (var r = A.clone.call(this), o = r.words = this.words.slice(0), y = o.length, e = 0; e < y; e++) + o[e] = o[e].clone(); return r; } }); - }(), n; + }(), a; }); }(g0)), g0.exports; } -var y0 = { exports: {} }, yx; -function ze() { - return yx || (yx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { +var y0 = { exports: {} }, _x; +function ke() { + return _x || (_x = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { return function() { if (typeof ArrayBuffer == "function") { - var e = n, D = e.lib, h = D.WordArray, A = h.init, B = h.init = function(E) { + var x = a, _ = x.lib, u = _.WordArray, A = u.init, C = u.init = function(E) { if (E instanceof ArrayBuffer && (E = new Uint8Array(E)), (E instanceof Int8Array || typeof Uint8ClampedArray < "u" && E instanceof Uint8ClampedArray || E instanceof Int16Array || E instanceof Uint16Array || E instanceof Int32Array || E instanceof Uint32Array || E instanceof Float32Array || E instanceof Float64Array) && (E = new Uint8Array(E.buffer, E.byteOffset, E.byteLength)), E instanceof Uint8Array) { - for (var r = E.byteLength, o = [], g = 0; g < r; g++) - o[g >>> 2] |= E[g] << 24 - g % 4 * 8; + for (var r = E.byteLength, o = [], y = 0; y < r; y++) + o[y >>> 2] |= E[y] << 24 - y % 4 * 8; A.call(this, o, r); } else A.apply(this, arguments); }; - B.prototype = h; + C.prototype = u; } - }(), n.lib.WordArray; + }(), a.lib.WordArray; }); }(y0)), y0.exports; } -var m0 = { exports: {} }, mx; -function Te() { - return mx || (mx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { +var H0 = { exports: {} }, gx; +function we() { + return gx || (gx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.WordArray, A = e.enc; + var x = a, _ = x.lib, u = _.WordArray, A = x.enc; A.Utf16 = A.Utf16BE = { /** * Converts a word array to a UTF-16 BE string. @@ -2346,11 +2346,11 @@ function Te() { * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray); */ stringify: function(E) { - for (var r = E.words, o = E.sigBytes, g = [], x = 0; x < o; x += 2) { - var l = r[x >>> 2] >>> 16 - x % 4 * 8 & 65535; - g.push(String.fromCharCode(l)); + for (var r = E.words, o = E.sigBytes, y = [], e = 0; e < o; e += 2) { + var b = r[e >>> 2] >>> 16 - e % 4 * 8 & 65535; + y.push(String.fromCharCode(b)); } - return g.join(""); + return y.join(""); }, /** * Converts a UTF-16 BE string to a word array. @@ -2366,9 +2366,9 @@ function Te() { * var wordArray = CryptoJS.enc.Utf16.parse(utf16String); */ parse: function(E) { - for (var r = E.length, o = [], g = 0; g < r; g++) - o[g >>> 1] |= E.charCodeAt(g) << 16 - g % 2 * 16; - return h.create(o, r * 2); + for (var r = E.length, o = [], y = 0; y < r; y++) + o[y >>> 1] |= E.charCodeAt(y) << 16 - y % 2 * 16; + return u.create(o, r * 2); } }, A.Utf16LE = { /** @@ -2385,11 +2385,11 @@ function Te() { * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray); */ stringify: function(E) { - for (var r = E.words, o = E.sigBytes, g = [], x = 0; x < o; x += 2) { - var l = B(r[x >>> 2] >>> 16 - x % 4 * 8 & 65535); - g.push(String.fromCharCode(l)); + for (var r = E.words, o = E.sigBytes, y = [], e = 0; e < o; e += 2) { + var b = C(r[e >>> 2] >>> 16 - e % 4 * 8 & 65535); + y.push(String.fromCharCode(b)); } - return g.join(""); + return y.join(""); }, /** * Converts a UTF-16 LE string to a word array. @@ -2405,26 +2405,26 @@ function Te() { * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str); */ parse: function(E) { - for (var r = E.length, o = [], g = 0; g < r; g++) - o[g >>> 1] |= B(E.charCodeAt(g) << 16 - g % 2 * 16); - return h.create(o, r * 2); + for (var r = E.length, o = [], y = 0; y < r; y++) + o[y >>> 1] |= C(E.charCodeAt(y) << 16 - y % 2 * 16); + return u.create(o, r * 2); } }; - function B(E) { + function C(E) { return E << 8 & 4278255360 | E >>> 8 & 16711935; } - }(), n.enc.Utf16; + }(), a.enc.Utf16; }); - }(m0)), m0.exports; + }(H0)), H0.exports; } -var H0 = { exports: {} }, Hx; +var m0 = { exports: {} }, yx; function t0() { - return Hx || (Hx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { + return yx || (yx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.WordArray, A = e.enc; + var x = a, _ = x.lib, u = _.WordArray, A = x.enc; A.Base64 = { /** * Converts a word array to a Base64 string. @@ -2440,16 +2440,16 @@ function t0() { * var base64String = CryptoJS.enc.Base64.stringify(wordArray); */ stringify: function(E) { - var r = E.words, o = E.sigBytes, g = this._map; + var r = E.words, o = E.sigBytes, y = this._map; E.clamp(); - for (var x = [], l = 0; l < o; l += 3) - for (var v = r[l >>> 2] >>> 24 - l % 4 * 8 & 255, C = r[l + 1 >>> 2] >>> 24 - (l + 1) % 4 * 8 & 255, c = r[l + 2 >>> 2] >>> 24 - (l + 2) % 4 * 8 & 255, F = v << 16 | C << 8 | c, f = 0; f < 4 && l + f * 0.75 < o; f++) - x.push(g.charAt(F >>> 6 * (3 - f) & 63)); - var i = g.charAt(64); + for (var e = [], b = 0; b < o; b += 3) + for (var v = r[b >>> 2] >>> 24 - b % 4 * 8 & 255, p = r[b + 1 >>> 2] >>> 24 - (b + 1) % 4 * 8 & 255, c = r[b + 2 >>> 2] >>> 24 - (b + 2) % 4 * 8 & 255, F = v << 16 | p << 8 | c, n = 0; n < 4 && b + n * 0.75 < o; n++) + e.push(y.charAt(F >>> 6 * (3 - n) & 63)); + var i = y.charAt(64); if (i) - for (; x.length % 4; ) - x.push(i); - return x.join(""); + for (; e.length % 4; ) + e.push(i); + return e.join(""); }, /** * Converts a Base64 string to a word array. @@ -2465,41 +2465,41 @@ function t0() { * var wordArray = CryptoJS.enc.Base64.parse(base64String); */ parse: function(E) { - var r = E.length, o = this._map, g = this._reverseMap; - if (!g) { - g = this._reverseMap = []; - for (var x = 0; x < o.length; x++) - g[o.charCodeAt(x)] = x; + var r = E.length, o = this._map, y = this._reverseMap; + if (!y) { + y = this._reverseMap = []; + for (var e = 0; e < o.length; e++) + y[o.charCodeAt(e)] = e; } - var l = o.charAt(64); - if (l) { - var v = E.indexOf(l); + var b = o.charAt(64); + if (b) { + var v = E.indexOf(b); v !== -1 && (r = v); } - return B(E, r, g); + return C(E, r, y); }, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" }; - function B(E, r, o) { - for (var g = [], x = 0, l = 0; l < r; l++) - if (l % 4) { - var v = o[E.charCodeAt(l - 1)] << l % 4 * 2, C = o[E.charCodeAt(l)] >>> 6 - l % 4 * 2, c = v | C; - g[x >>> 2] |= c << 24 - x % 4 * 8, x++; + function C(E, r, o) { + for (var y = [], e = 0, b = 0; b < r; b++) + if (b % 4) { + var v = o[E.charCodeAt(b - 1)] << b % 4 * 2, p = o[E.charCodeAt(b)] >>> 6 - b % 4 * 2, c = v | p; + y[e >>> 2] |= c << 24 - e % 4 * 8, e++; } - return h.create(g, x); + return u.create(y, e); } - }(), n.enc.Base64; + }(), a.enc.Base64; }); - }(H0)), H0.exports; + }(m0)), m0.exports; } -var k0 = { exports: {} }, kx; -function qe() { - return kx || (kx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { +var k0 = { exports: {} }, Hx; +function Re() { + return Hx || (Hx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.WordArray, A = e.enc; + var x = a, _ = x.lib, u = _.WordArray, A = x.enc; A.Base64url = { /** * Converts a word array to a Base64url string. @@ -2518,16 +2518,16 @@ function qe() { */ stringify: function(E, r) { r === void 0 && (r = !0); - var o = E.words, g = E.sigBytes, x = r ? this._safe_map : this._map; + var o = E.words, y = E.sigBytes, e = r ? this._safe_map : this._map; E.clamp(); - for (var l = [], v = 0; v < g; v += 3) - for (var C = o[v >>> 2] >>> 24 - v % 4 * 8 & 255, c = o[v + 1 >>> 2] >>> 24 - (v + 1) % 4 * 8 & 255, F = o[v + 2 >>> 2] >>> 24 - (v + 2) % 4 * 8 & 255, f = C << 16 | c << 8 | F, i = 0; i < 4 && v + i * 0.75 < g; i++) - l.push(x.charAt(f >>> 6 * (3 - i) & 63)); - var b = x.charAt(64); - if (b) - for (; l.length % 4; ) - l.push(b); - return l.join(""); + for (var b = [], v = 0; v < y; v += 3) + for (var p = o[v >>> 2] >>> 24 - v % 4 * 8 & 255, c = o[v + 1 >>> 2] >>> 24 - (v + 1) % 4 * 8 & 255, F = o[v + 2 >>> 2] >>> 24 - (v + 2) % 4 * 8 & 255, n = p << 16 | c << 8 | F, i = 0; i < 4 && v + i * 0.75 < y; i++) + b.push(e.charAt(n >>> 6 * (3 - i) & 63)); + var B = e.charAt(64); + if (B) + for (; b.length % 4; ) + b.push(B); + return b.join(""); }, /** * Converts a Base64url string to a word array. @@ -2546,47 +2546,47 @@ function qe() { */ parse: function(E, r) { r === void 0 && (r = !0); - var o = E.length, g = r ? this._safe_map : this._map, x = this._reverseMap; - if (!x) { - x = this._reverseMap = []; - for (var l = 0; l < g.length; l++) - x[g.charCodeAt(l)] = l; + var o = E.length, y = r ? this._safe_map : this._map, e = this._reverseMap; + if (!e) { + e = this._reverseMap = []; + for (var b = 0; b < y.length; b++) + e[y.charCodeAt(b)] = b; } - var v = g.charAt(64); + var v = y.charAt(64); if (v) { - var C = E.indexOf(v); - C !== -1 && (o = C); + var p = E.indexOf(v); + p !== -1 && (o = p); } - return B(E, o, x); + return C(E, o, e); }, _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" }; - function B(E, r, o) { - for (var g = [], x = 0, l = 0; l < r; l++) - if (l % 4) { - var v = o[E.charCodeAt(l - 1)] << l % 4 * 2, C = o[E.charCodeAt(l)] >>> 6 - l % 4 * 2, c = v | C; - g[x >>> 2] |= c << 24 - x % 4 * 8, x++; + function C(E, r, o) { + for (var y = [], e = 0, b = 0; b < r; b++) + if (b % 4) { + var v = o[E.charCodeAt(b - 1)] << b % 4 * 2, p = o[E.charCodeAt(b)] >>> 6 - b % 4 * 2, c = v | p; + y[e >>> 2] |= c << 24 - e % 4 * 8, e++; } - return h.create(g, x); + return u.create(y, e); } - }(), n.enc.Base64url; + }(), a.enc.Base64url; }); }(k0)), k0.exports; } -var w0 = { exports: {} }, wx; +var w0 = { exports: {} }, mx; function f0() { - return wx || (wx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { - return function(e) { - var D = n, h = D.lib, A = h.WordArray, B = h.Hasher, E = D.algo, r = []; + return mx || (mx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { + return function(x) { + var _ = a, u = _.lib, A = u.WordArray, C = u.Hasher, E = _.algo, r = []; (function() { - for (var C = 0; C < 64; C++) - r[C] = e.abs(e.sin(C + 1)) * 4294967296 | 0; + for (var p = 0; p < 64; p++) + r[p] = x.abs(x.sin(p + 1)) * 4294967296 | 0; })(); - var o = E.MD5 = B.extend({ + var o = E.MD5 = C.extend({ _doReset: function() { this._hash = new A.init([ 1732584193, @@ -2595,61 +2595,61 @@ function f0() { 271733878 ]); }, - _doProcessBlock: function(C, c) { + _doProcessBlock: function(p, c) { for (var F = 0; F < 16; F++) { - var f = c + F, i = C[f]; - C[f] = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360; + var n = c + F, i = p[n]; + p[n] = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360; } - var b = this._hash.words, y = C[c + 0], R = C[c + 1], z = C[c + 2], q = C[c + 3], W = C[c + 4], m = C[c + 5], a = C[c + 6], s = C[c + 7], t = C[c + 8], d = C[c + 9], u = C[c + 10], S = C[c + 11], I = C[c + 12], U = C[c + 13], P = C[c + 14], O = C[c + 15], T = b[0], _ = b[1], k = b[2], H = b[3]; - T = g(T, _, k, H, y, 7, r[0]), H = g(H, T, _, k, R, 12, r[1]), k = g(k, H, T, _, z, 17, r[2]), _ = g(_, k, H, T, q, 22, r[3]), T = g(T, _, k, H, W, 7, r[4]), H = g(H, T, _, k, m, 12, r[5]), k = g(k, H, T, _, a, 17, r[6]), _ = g(_, k, H, T, s, 22, r[7]), T = g(T, _, k, H, t, 7, r[8]), H = g(H, T, _, k, d, 12, r[9]), k = g(k, H, T, _, u, 17, r[10]), _ = g(_, k, H, T, S, 22, r[11]), T = g(T, _, k, H, I, 7, r[12]), H = g(H, T, _, k, U, 12, r[13]), k = g(k, H, T, _, P, 17, r[14]), _ = g(_, k, H, T, O, 22, r[15]), T = x(T, _, k, H, R, 5, r[16]), H = x(H, T, _, k, a, 9, r[17]), k = x(k, H, T, _, S, 14, r[18]), _ = x(_, k, H, T, y, 20, r[19]), T = x(T, _, k, H, m, 5, r[20]), H = x(H, T, _, k, u, 9, r[21]), k = x(k, H, T, _, O, 14, r[22]), _ = x(_, k, H, T, W, 20, r[23]), T = x(T, _, k, H, d, 5, r[24]), H = x(H, T, _, k, P, 9, r[25]), k = x(k, H, T, _, q, 14, r[26]), _ = x(_, k, H, T, t, 20, r[27]), T = x(T, _, k, H, U, 5, r[28]), H = x(H, T, _, k, z, 9, r[29]), k = x(k, H, T, _, s, 14, r[30]), _ = x(_, k, H, T, I, 20, r[31]), T = l(T, _, k, H, m, 4, r[32]), H = l(H, T, _, k, t, 11, r[33]), k = l(k, H, T, _, S, 16, r[34]), _ = l(_, k, H, T, P, 23, r[35]), T = l(T, _, k, H, R, 4, r[36]), H = l(H, T, _, k, W, 11, r[37]), k = l(k, H, T, _, s, 16, r[38]), _ = l(_, k, H, T, u, 23, r[39]), T = l(T, _, k, H, U, 4, r[40]), H = l(H, T, _, k, y, 11, r[41]), k = l(k, H, T, _, q, 16, r[42]), _ = l(_, k, H, T, a, 23, r[43]), T = l(T, _, k, H, d, 4, r[44]), H = l(H, T, _, k, I, 11, r[45]), k = l(k, H, T, _, O, 16, r[46]), _ = l(_, k, H, T, z, 23, r[47]), T = v(T, _, k, H, y, 6, r[48]), H = v(H, T, _, k, s, 10, r[49]), k = v(k, H, T, _, P, 15, r[50]), _ = v(_, k, H, T, m, 21, r[51]), T = v(T, _, k, H, I, 6, r[52]), H = v(H, T, _, k, q, 10, r[53]), k = v(k, H, T, _, u, 15, r[54]), _ = v(_, k, H, T, R, 21, r[55]), T = v(T, _, k, H, t, 6, r[56]), H = v(H, T, _, k, O, 10, r[57]), k = v(k, H, T, _, a, 15, r[58]), _ = v(_, k, H, T, U, 21, r[59]), T = v(T, _, k, H, W, 6, r[60]), H = v(H, T, _, k, S, 10, r[61]), k = v(k, H, T, _, z, 15, r[62]), _ = v(_, k, H, T, d, 21, r[63]), b[0] = b[0] + T | 0, b[1] = b[1] + _ | 0, b[2] = b[2] + k | 0, b[3] = b[3] + H | 0; + var B = this._hash.words, H = p[c + 0], R = p[c + 1], z = p[c + 2], q = p[c + 3], I = p[c + 4], m = p[c + 5], t = p[c + 6], s = p[c + 7], f = p[c + 8], d = p[c + 9], l = p[c + 10], S = p[c + 11], L = p[c + 12], U = p[c + 13], P = p[c + 14], O = p[c + 15], T = B[0], g = B[1], w = B[2], k = B[3]; + T = y(T, g, w, k, H, 7, r[0]), k = y(k, T, g, w, R, 12, r[1]), w = y(w, k, T, g, z, 17, r[2]), g = y(g, w, k, T, q, 22, r[3]), T = y(T, g, w, k, I, 7, r[4]), k = y(k, T, g, w, m, 12, r[5]), w = y(w, k, T, g, t, 17, r[6]), g = y(g, w, k, T, s, 22, r[7]), T = y(T, g, w, k, f, 7, r[8]), k = y(k, T, g, w, d, 12, r[9]), w = y(w, k, T, g, l, 17, r[10]), g = y(g, w, k, T, S, 22, r[11]), T = y(T, g, w, k, L, 7, r[12]), k = y(k, T, g, w, U, 12, r[13]), w = y(w, k, T, g, P, 17, r[14]), g = y(g, w, k, T, O, 22, r[15]), T = e(T, g, w, k, R, 5, r[16]), k = e(k, T, g, w, t, 9, r[17]), w = e(w, k, T, g, S, 14, r[18]), g = e(g, w, k, T, H, 20, r[19]), T = e(T, g, w, k, m, 5, r[20]), k = e(k, T, g, w, l, 9, r[21]), w = e(w, k, T, g, O, 14, r[22]), g = e(g, w, k, T, I, 20, r[23]), T = e(T, g, w, k, d, 5, r[24]), k = e(k, T, g, w, P, 9, r[25]), w = e(w, k, T, g, q, 14, r[26]), g = e(g, w, k, T, f, 20, r[27]), T = e(T, g, w, k, U, 5, r[28]), k = e(k, T, g, w, z, 9, r[29]), w = e(w, k, T, g, s, 14, r[30]), g = e(g, w, k, T, L, 20, r[31]), T = b(T, g, w, k, m, 4, r[32]), k = b(k, T, g, w, f, 11, r[33]), w = b(w, k, T, g, S, 16, r[34]), g = b(g, w, k, T, P, 23, r[35]), T = b(T, g, w, k, R, 4, r[36]), k = b(k, T, g, w, I, 11, r[37]), w = b(w, k, T, g, s, 16, r[38]), g = b(g, w, k, T, l, 23, r[39]), T = b(T, g, w, k, U, 4, r[40]), k = b(k, T, g, w, H, 11, r[41]), w = b(w, k, T, g, q, 16, r[42]), g = b(g, w, k, T, t, 23, r[43]), T = b(T, g, w, k, d, 4, r[44]), k = b(k, T, g, w, L, 11, r[45]), w = b(w, k, T, g, O, 16, r[46]), g = b(g, w, k, T, z, 23, r[47]), T = v(T, g, w, k, H, 6, r[48]), k = v(k, T, g, w, s, 10, r[49]), w = v(w, k, T, g, P, 15, r[50]), g = v(g, w, k, T, m, 21, r[51]), T = v(T, g, w, k, L, 6, r[52]), k = v(k, T, g, w, q, 10, r[53]), w = v(w, k, T, g, l, 15, r[54]), g = v(g, w, k, T, R, 21, r[55]), T = v(T, g, w, k, f, 6, r[56]), k = v(k, T, g, w, O, 10, r[57]), w = v(w, k, T, g, t, 15, r[58]), g = v(g, w, k, T, U, 21, r[59]), T = v(T, g, w, k, I, 6, r[60]), k = v(k, T, g, w, S, 10, r[61]), w = v(w, k, T, g, z, 15, r[62]), g = v(g, w, k, T, d, 21, r[63]), B[0] = B[0] + T | 0, B[1] = B[1] + g | 0, B[2] = B[2] + w | 0, B[3] = B[3] + k | 0; }, _doFinalize: function() { - var C = this._data, c = C.words, F = this._nDataBytes * 8, f = C.sigBytes * 8; - c[f >>> 5] |= 128 << 24 - f % 32; - var i = e.floor(F / 4294967296), b = F; - c[(f + 64 >>> 9 << 4) + 15] = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, c[(f + 64 >>> 9 << 4) + 14] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, C.sigBytes = (c.length + 1) * 4, this._process(); - for (var y = this._hash, R = y.words, z = 0; z < 4; z++) { + var p = this._data, c = p.words, F = this._nDataBytes * 8, n = p.sigBytes * 8; + c[n >>> 5] |= 128 << 24 - n % 32; + var i = x.floor(F / 4294967296), B = F; + c[(n + 64 >>> 9 << 4) + 15] = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, c[(n + 64 >>> 9 << 4) + 14] = (B << 8 | B >>> 24) & 16711935 | (B << 24 | B >>> 8) & 4278255360, p.sigBytes = (c.length + 1) * 4, this._process(); + for (var H = this._hash, R = H.words, z = 0; z < 4; z++) { var q = R[z]; R[z] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360; } - return y; + return H; }, clone: function() { - var C = B.clone.call(this); - return C._hash = this._hash.clone(), C; + var p = C.clone.call(this); + return p._hash = this._hash.clone(), p; } }); - function g(C, c, F, f, i, b, y) { - var R = C + (c & F | ~c & f) + i + y; - return (R << b | R >>> 32 - b) + c; + function y(p, c, F, n, i, B, H) { + var R = p + (c & F | ~c & n) + i + H; + return (R << B | R >>> 32 - B) + c; } - function x(C, c, F, f, i, b, y) { - var R = C + (c & f | F & ~f) + i + y; - return (R << b | R >>> 32 - b) + c; + function e(p, c, F, n, i, B, H) { + var R = p + (c & n | F & ~n) + i + H; + return (R << B | R >>> 32 - B) + c; } - function l(C, c, F, f, i, b, y) { - var R = C + (c ^ F ^ f) + i + y; - return (R << b | R >>> 32 - b) + c; + function b(p, c, F, n, i, B, H) { + var R = p + (c ^ F ^ n) + i + H; + return (R << B | R >>> 32 - B) + c; } - function v(C, c, F, f, i, b, y) { - var R = C + (F ^ (c | ~f)) + i + y; - return (R << b | R >>> 32 - b) + c; + function v(p, c, F, n, i, B, H) { + var R = p + (F ^ (c | ~n)) + i + H; + return (R << B | R >>> 32 - B) + c; } - D.MD5 = B._createHelper(o), D.HmacMD5 = B._createHmacHelper(o); - }(Math), n.MD5; + _.MD5 = C._createHelper(o), _.HmacMD5 = C._createHmacHelper(o); + }(Math), a.MD5; }); }(w0)), w0.exports; } -var R0 = { exports: {} }, Rx; -function se() { - return Rx || (Rx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { +var R0 = { exports: {} }, kx; +function oe() { + return kx || (kx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.WordArray, A = D.Hasher, B = e.algo, E = [], r = B.SHA1 = A.extend({ + var x = a, _ = x.lib, u = _.WordArray, A = _.Hasher, C = x.algo, E = [], r = C.SHA1 = A.extend({ _doReset: function() { - this._hash = new h.init([ + this._hash = new u.init([ 1732584193, 4023233417, 2562383102, @@ -2657,44 +2657,44 @@ function se() { 3285377520 ]); }, - _doProcessBlock: function(o, g) { - for (var x = this._hash.words, l = x[0], v = x[1], C = x[2], c = x[3], F = x[4], f = 0; f < 80; f++) { - if (f < 16) - E[f] = o[g + f] | 0; + _doProcessBlock: function(o, y) { + for (var e = this._hash.words, b = e[0], v = e[1], p = e[2], c = e[3], F = e[4], n = 0; n < 80; n++) { + if (n < 16) + E[n] = o[y + n] | 0; else { - var i = E[f - 3] ^ E[f - 8] ^ E[f - 14] ^ E[f - 16]; - E[f] = i << 1 | i >>> 31; + var i = E[n - 3] ^ E[n - 8] ^ E[n - 14] ^ E[n - 16]; + E[n] = i << 1 | i >>> 31; } - var b = (l << 5 | l >>> 27) + F + E[f]; - f < 20 ? b += (v & C | ~v & c) + 1518500249 : f < 40 ? b += (v ^ C ^ c) + 1859775393 : f < 60 ? b += (v & C | v & c | C & c) - 1894007588 : b += (v ^ C ^ c) - 899497514, F = c, c = C, C = v << 30 | v >>> 2, v = l, l = b; + var B = (b << 5 | b >>> 27) + F + E[n]; + n < 20 ? B += (v & p | ~v & c) + 1518500249 : n < 40 ? B += (v ^ p ^ c) + 1859775393 : n < 60 ? B += (v & p | v & c | p & c) - 1894007588 : B += (v ^ p ^ c) - 899497514, F = c, c = p, p = v << 30 | v >>> 2, v = b, b = B; } - x[0] = x[0] + l | 0, x[1] = x[1] + v | 0, x[2] = x[2] + C | 0, x[3] = x[3] + c | 0, x[4] = x[4] + F | 0; + e[0] = e[0] + b | 0, e[1] = e[1] + v | 0, e[2] = e[2] + p | 0, e[3] = e[3] + c | 0, e[4] = e[4] + F | 0; }, _doFinalize: function() { - var o = this._data, g = o.words, x = this._nDataBytes * 8, l = o.sigBytes * 8; - return g[l >>> 5] |= 128 << 24 - l % 32, g[(l + 64 >>> 9 << 4) + 14] = Math.floor(x / 4294967296), g[(l + 64 >>> 9 << 4) + 15] = x, o.sigBytes = g.length * 4, this._process(), this._hash; + var o = this._data, y = o.words, e = this._nDataBytes * 8, b = o.sigBytes * 8; + return y[b >>> 5] |= 128 << 24 - b % 32, y[(b + 64 >>> 9 << 4) + 14] = Math.floor(e / 4294967296), y[(b + 64 >>> 9 << 4) + 15] = e, o.sigBytes = y.length * 4, this._process(), this._hash; }, clone: function() { var o = A.clone.call(this); return o._hash = this._hash.clone(), o; } }); - e.SHA1 = A._createHelper(r), e.HmacSHA1 = A._createHmacHelper(r); - }(), n.SHA1; + x.SHA1 = A._createHelper(r), x.HmacSHA1 = A._createHmacHelper(r); + }(), a.SHA1; }); }(R0)), R0.exports; } -var S0 = { exports: {} }, Sx; -function ix() { - return Sx || (Sx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { - return function(e) { - var D = n, h = D.lib, A = h.WordArray, B = h.Hasher, E = D.algo, r = [], o = []; +var S0 = { exports: {} }, wx; +function cx() { + return wx || (wx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { + return function(x) { + var _ = a, u = _.lib, A = u.WordArray, C = u.Hasher, E = _.algo, r = [], o = []; (function() { - function l(F) { - for (var f = e.sqrt(F), i = 2; i <= f; i++) + function b(F) { + for (var n = x.sqrt(F), i = 2; i <= n; i++) if (!(F % i)) return !1; return !0; @@ -2702,50 +2702,50 @@ function ix() { function v(F) { return (F - (F | 0)) * 4294967296 | 0; } - for (var C = 2, c = 0; c < 64; ) - l(C) && (c < 8 && (r[c] = v(e.pow(C, 1 / 2))), o[c] = v(e.pow(C, 1 / 3)), c++), C++; + for (var p = 2, c = 0; c < 64; ) + b(p) && (c < 8 && (r[c] = v(x.pow(p, 1 / 2))), o[c] = v(x.pow(p, 1 / 3)), c++), p++; })(); - var g = [], x = E.SHA256 = B.extend({ + var y = [], e = E.SHA256 = C.extend({ _doReset: function() { this._hash = new A.init(r.slice(0)); }, - _doProcessBlock: function(l, v) { - for (var C = this._hash.words, c = C[0], F = C[1], f = C[2], i = C[3], b = C[4], y = C[5], R = C[6], z = C[7], q = 0; q < 64; q++) { + _doProcessBlock: function(b, v) { + for (var p = this._hash.words, c = p[0], F = p[1], n = p[2], i = p[3], B = p[4], H = p[5], R = p[6], z = p[7], q = 0; q < 64; q++) { if (q < 16) - g[q] = l[v + q] | 0; + y[q] = b[v + q] | 0; else { - var W = g[q - 15], m = (W << 25 | W >>> 7) ^ (W << 14 | W >>> 18) ^ W >>> 3, a = g[q - 2], s = (a << 15 | a >>> 17) ^ (a << 13 | a >>> 19) ^ a >>> 10; - g[q] = m + g[q - 7] + s + g[q - 16]; + var I = y[q - 15], m = (I << 25 | I >>> 7) ^ (I << 14 | I >>> 18) ^ I >>> 3, t = y[q - 2], s = (t << 15 | t >>> 17) ^ (t << 13 | t >>> 19) ^ t >>> 10; + y[q] = m + y[q - 7] + s + y[q - 16]; } - var t = b & y ^ ~b & R, d = c & F ^ c & f ^ F & f, u = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), S = (b << 26 | b >>> 6) ^ (b << 21 | b >>> 11) ^ (b << 7 | b >>> 25), I = z + S + t + o[q] + g[q], U = u + d; - z = R, R = y, y = b, b = i + I | 0, i = f, f = F, F = c, c = I + U | 0; + var f = B & H ^ ~B & R, d = c & F ^ c & n ^ F & n, l = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), S = (B << 26 | B >>> 6) ^ (B << 21 | B >>> 11) ^ (B << 7 | B >>> 25), L = z + S + f + o[q] + y[q], U = l + d; + z = R, R = H, H = B, B = i + L | 0, i = n, n = F, F = c, c = L + U | 0; } - C[0] = C[0] + c | 0, C[1] = C[1] + F | 0, C[2] = C[2] + f | 0, C[3] = C[3] + i | 0, C[4] = C[4] + b | 0, C[5] = C[5] + y | 0, C[6] = C[6] + R | 0, C[7] = C[7] + z | 0; + p[0] = p[0] + c | 0, p[1] = p[1] + F | 0, p[2] = p[2] + n | 0, p[3] = p[3] + i | 0, p[4] = p[4] + B | 0, p[5] = p[5] + H | 0, p[6] = p[6] + R | 0, p[7] = p[7] + z | 0; }, _doFinalize: function() { - var l = this._data, v = l.words, C = this._nDataBytes * 8, c = l.sigBytes * 8; - return v[c >>> 5] |= 128 << 24 - c % 32, v[(c + 64 >>> 9 << 4) + 14] = e.floor(C / 4294967296), v[(c + 64 >>> 9 << 4) + 15] = C, l.sigBytes = v.length * 4, this._process(), this._hash; + var b = this._data, v = b.words, p = this._nDataBytes * 8, c = b.sigBytes * 8; + return v[c >>> 5] |= 128 << 24 - c % 32, v[(c + 64 >>> 9 << 4) + 14] = x.floor(p / 4294967296), v[(c + 64 >>> 9 << 4) + 15] = p, b.sigBytes = v.length * 4, this._process(), this._hash; }, clone: function() { - var l = B.clone.call(this); - return l._hash = this._hash.clone(), l; + var b = C.clone.call(this); + return b._hash = this._hash.clone(), b; } }); - D.SHA256 = B._createHelper(x), D.HmacSHA256 = B._createHmacHelper(x); - }(Math), n.SHA256; + _.SHA256 = C._createHelper(e), _.HmacSHA256 = C._createHmacHelper(e); + }(Math), a.SHA256; }); }(S0)), S0.exports; } -var z0 = { exports: {} }, zx; -function Ie() { - return zx || (zx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), ix()); - })(X, function(n) { +var z0 = { exports: {} }, Rx; +function Se() { + return Rx || (Rx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), cx()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.WordArray, A = e.algo, B = A.SHA256, E = A.SHA224 = B.extend({ + var x = a, _ = x.lib, u = _.WordArray, A = x.algo, C = A.SHA256, E = A.SHA224 = C.extend({ _doReset: function() { - this._hash = new h.init([ + this._hash = new u.init([ 3238371032, 914150663, 812702999, @@ -2757,27 +2757,27 @@ function Ie() { ]); }, _doFinalize: function() { - var r = B._doFinalize.call(this); + var r = C._doFinalize.call(this); return r.sigBytes -= 4, r; } }); - e.SHA224 = B._createHelper(E), e.HmacSHA224 = B._createHmacHelper(E); - }(), n.SHA224; + x.SHA224 = C._createHelper(E), x.HmacSHA224 = C._createHmacHelper(E); + }(), a.SHA224; }); }(z0)), z0.exports; } -var T0 = { exports: {} }, Tx; -function de() { - return Tx || (Tx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), A0()); - })(X, function(n) { +var T0 = { exports: {} }, Sx; +function ie() { + return Sx || (Sx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), E0()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.Hasher, A = e.x64, B = A.Word, E = A.WordArray, r = e.algo; + var x = a, _ = x.lib, u = _.Hasher, A = x.x64, C = A.Word, E = A.WordArray, r = x.algo; function o() { - return B.create.apply(B, arguments); + return C.create.apply(C, arguments); } - var g = [ + var y = [ o(1116352408, 3609767458), o(1899447441, 602891725), o(3049323471, 3964484399), @@ -2858,73 +2858,73 @@ function de() { o(1501505948, 4234509866), o(1607167915, 987167468), o(1816402316, 1246189591) - ], x = []; + ], e = []; (function() { for (var v = 0; v < 80; v++) - x[v] = o(); + e[v] = o(); })(); - var l = r.SHA512 = h.extend({ + var b = r.SHA512 = u.extend({ _doReset: function() { this._hash = new E.init([ - new B.init(1779033703, 4089235720), - new B.init(3144134277, 2227873595), - new B.init(1013904242, 4271175723), - new B.init(2773480762, 1595750129), - new B.init(1359893119, 2917565137), - new B.init(2600822924, 725511199), - new B.init(528734635, 4215389547), - new B.init(1541459225, 327033209) + new C.init(1779033703, 4089235720), + new C.init(3144134277, 2227873595), + new C.init(1013904242, 4271175723), + new C.init(2773480762, 1595750129), + new C.init(1359893119, 2917565137), + new C.init(2600822924, 725511199), + new C.init(528734635, 4215389547), + new C.init(1541459225, 327033209) ]); }, - _doProcessBlock: function(v, C) { - for (var c = this._hash.words, F = c[0], f = c[1], i = c[2], b = c[3], y = c[4], R = c[5], z = c[6], q = c[7], W = F.high, m = F.low, a = f.high, s = f.low, t = i.high, d = i.low, u = b.high, S = b.low, I = y.high, U = y.low, P = R.high, O = R.low, T = z.high, _ = z.low, k = q.high, H = q.low, L = W, N = m, j = a, G = s, i0 = t, n0 = d, F0 = u, s0 = S, J = I, Z = U, C0 = P, d0 = O, p0 = T, v0 = _, D0 = k, u0 = H, x0 = 0; x0 < 80; x0++) { - var Q, e0, E0 = x[x0]; + _doProcessBlock: function(v, p) { + for (var c = this._hash.words, F = c[0], n = c[1], i = c[2], B = c[3], H = c[4], R = c[5], z = c[6], q = c[7], I = F.high, m = F.low, t = n.high, s = n.low, f = i.high, d = i.low, l = B.high, S = B.low, L = H.high, U = H.low, P = R.high, O = R.low, T = z.high, g = z.low, w = q.high, k = q.low, W = I, N = m, j = t, M = s, i0 = f, n0 = d, F0 = l, s0 = S, J = L, Z = U, C0 = P, d0 = O, p0 = T, v0 = g, D0 = w, u0 = k, x0 = 0; x0 < 80; x0++) { + var Q, e0, A0 = e[x0]; if (x0 < 16) - e0 = E0.high = v[C + x0 * 2] | 0, Q = E0.low = v[C + x0 * 2 + 1] | 0; + e0 = A0.high = v[p + x0 * 2] | 0, Q = A0.low = v[p + x0 * 2 + 1] | 0; else { - var vx = x[x0 - 15], c0 = vx.high, h0 = vx.low, be = (c0 >>> 1 | h0 << 31) ^ (c0 >>> 8 | h0 << 24) ^ c0 >>> 7, ux = (h0 >>> 1 | c0 << 31) ^ (h0 >>> 8 | c0 << 24) ^ (h0 >>> 7 | c0 << 25), hx = x[x0 - 2], o0 = hx.high, l0 = hx.low, Be = (o0 >>> 19 | l0 << 13) ^ (o0 << 3 | l0 >>> 29) ^ o0 >>> 6, lx = (l0 >>> 19 | o0 << 13) ^ (l0 << 3 | o0 >>> 29) ^ (l0 >>> 6 | o0 << 26), bx = x[x0 - 7], Ce = bx.high, pe = bx.low, Bx = x[x0 - 16], Ee = Bx.high, Cx = Bx.low; - Q = ux + pe, e0 = be + Ce + (Q >>> 0 < ux >>> 0 ? 1 : 0), Q = Q + lx, e0 = e0 + Be + (Q >>> 0 < lx >>> 0 ? 1 : 0), Q = Q + Cx, e0 = e0 + Ee + (Q >>> 0 < Cx >>> 0 ? 1 : 0), E0.high = e0, E0.low = Q; + var sx = e[x0 - 15], c0 = sx.high, l0 = sx.low, de = (c0 >>> 1 | l0 << 31) ^ (c0 >>> 8 | l0 << 24) ^ c0 >>> 7, dx = (l0 >>> 1 | c0 << 31) ^ (l0 >>> 8 | c0 << 24) ^ (l0 >>> 7 | c0 << 25), vx = e[x0 - 2], o0 = vx.high, h0 = vx.low, ve = (o0 >>> 19 | h0 << 13) ^ (o0 << 3 | h0 >>> 29) ^ o0 >>> 6, ux = (h0 >>> 19 | o0 << 13) ^ (h0 << 3 | o0 >>> 29) ^ (h0 >>> 6 | o0 << 26), lx = e[x0 - 7], ue = lx.high, le = lx.low, hx = e[x0 - 16], he = hx.high, bx = hx.low; + Q = dx + le, e0 = de + ue + (Q >>> 0 < dx >>> 0 ? 1 : 0), Q = Q + ux, e0 = e0 + ve + (Q >>> 0 < ux >>> 0 ? 1 : 0), Q = Q + bx, e0 = e0 + he + (Q >>> 0 < bx >>> 0 ? 1 : 0), A0.high = e0, A0.low = Q; } - var Ae = J & C0 ^ ~J & p0, px = Z & d0 ^ ~Z & v0, Fe = L & j ^ L & i0 ^ j & i0, De = N & G ^ N & n0 ^ G & n0, _e = (L >>> 28 | N << 4) ^ (L << 30 | N >>> 2) ^ (L << 25 | N >>> 7), Ex = (N >>> 28 | L << 4) ^ (N << 30 | L >>> 2) ^ (N << 25 | L >>> 7), ge = (J >>> 14 | Z << 18) ^ (J >>> 18 | Z << 14) ^ (J << 23 | Z >>> 9), ye = (Z >>> 14 | J << 18) ^ (Z >>> 18 | J << 14) ^ (Z << 23 | J >>> 9), Ax = g[x0], me = Ax.high, Fx = Ax.low, Y = u0 + ye, r0 = D0 + ge + (Y >>> 0 < u0 >>> 0 ? 1 : 0), Y = Y + px, r0 = r0 + Ae + (Y >>> 0 < px >>> 0 ? 1 : 0), Y = Y + Fx, r0 = r0 + me + (Y >>> 0 < Fx >>> 0 ? 1 : 0), Y = Y + Q, r0 = r0 + e0 + (Y >>> 0 < Q >>> 0 ? 1 : 0), Dx = Ex + De, He = _e + Fe + (Dx >>> 0 < Ex >>> 0 ? 1 : 0); - D0 = p0, u0 = v0, p0 = C0, v0 = d0, C0 = J, d0 = Z, Z = s0 + Y | 0, J = F0 + r0 + (Z >>> 0 < s0 >>> 0 ? 1 : 0) | 0, F0 = i0, s0 = n0, i0 = j, n0 = G, j = L, G = N, N = Y + Dx | 0, L = r0 + He + (N >>> 0 < Y >>> 0 ? 1 : 0) | 0; + var be = J & C0 ^ ~J & p0, Bx = Z & d0 ^ ~Z & v0, Be = W & j ^ W & i0 ^ j & i0, Ce = N & M ^ N & n0 ^ M & n0, pe = (W >>> 28 | N << 4) ^ (W << 30 | N >>> 2) ^ (W << 25 | N >>> 7), Cx = (N >>> 28 | W << 4) ^ (N << 30 | W >>> 2) ^ (N << 25 | W >>> 7), Ae = (J >>> 14 | Z << 18) ^ (J >>> 18 | Z << 14) ^ (J << 23 | Z >>> 9), Ee = (Z >>> 14 | J << 18) ^ (Z >>> 18 | J << 14) ^ (Z << 23 | J >>> 9), px = y[x0], Fe = px.high, Ax = px.low, Y = u0 + Ee, r0 = D0 + Ae + (Y >>> 0 < u0 >>> 0 ? 1 : 0), Y = Y + Bx, r0 = r0 + be + (Y >>> 0 < Bx >>> 0 ? 1 : 0), Y = Y + Ax, r0 = r0 + Fe + (Y >>> 0 < Ax >>> 0 ? 1 : 0), Y = Y + Q, r0 = r0 + e0 + (Y >>> 0 < Q >>> 0 ? 1 : 0), Ex = Cx + Ce, De = pe + Be + (Ex >>> 0 < Cx >>> 0 ? 1 : 0); + D0 = p0, u0 = v0, p0 = C0, v0 = d0, C0 = J, d0 = Z, Z = s0 + Y | 0, J = F0 + r0 + (Z >>> 0 < s0 >>> 0 ? 1 : 0) | 0, F0 = i0, s0 = n0, i0 = j, n0 = M, j = W, M = N, N = Y + Ex | 0, W = r0 + De + (N >>> 0 < Y >>> 0 ? 1 : 0) | 0; } - m = F.low = m + N, F.high = W + L + (m >>> 0 < N >>> 0 ? 1 : 0), s = f.low = s + G, f.high = a + j + (s >>> 0 < G >>> 0 ? 1 : 0), d = i.low = d + n0, i.high = t + i0 + (d >>> 0 < n0 >>> 0 ? 1 : 0), S = b.low = S + s0, b.high = u + F0 + (S >>> 0 < s0 >>> 0 ? 1 : 0), U = y.low = U + Z, y.high = I + J + (U >>> 0 < Z >>> 0 ? 1 : 0), O = R.low = O + d0, R.high = P + C0 + (O >>> 0 < d0 >>> 0 ? 1 : 0), _ = z.low = _ + v0, z.high = T + p0 + (_ >>> 0 < v0 >>> 0 ? 1 : 0), H = q.low = H + u0, q.high = k + D0 + (H >>> 0 < u0 >>> 0 ? 1 : 0); + m = F.low = m + N, F.high = I + W + (m >>> 0 < N >>> 0 ? 1 : 0), s = n.low = s + M, n.high = t + j + (s >>> 0 < M >>> 0 ? 1 : 0), d = i.low = d + n0, i.high = f + i0 + (d >>> 0 < n0 >>> 0 ? 1 : 0), S = B.low = S + s0, B.high = l + F0 + (S >>> 0 < s0 >>> 0 ? 1 : 0), U = H.low = U + Z, H.high = L + J + (U >>> 0 < Z >>> 0 ? 1 : 0), O = R.low = O + d0, R.high = P + C0 + (O >>> 0 < d0 >>> 0 ? 1 : 0), g = z.low = g + v0, z.high = T + p0 + (g >>> 0 < v0 >>> 0 ? 1 : 0), k = q.low = k + u0, q.high = w + D0 + (k >>> 0 < u0 >>> 0 ? 1 : 0); }, _doFinalize: function() { - var v = this._data, C = v.words, c = this._nDataBytes * 8, F = v.sigBytes * 8; - C[F >>> 5] |= 128 << 24 - F % 32, C[(F + 128 >>> 10 << 5) + 30] = Math.floor(c / 4294967296), C[(F + 128 >>> 10 << 5) + 31] = c, v.sigBytes = C.length * 4, this._process(); - var f = this._hash.toX32(); - return f; + var v = this._data, p = v.words, c = this._nDataBytes * 8, F = v.sigBytes * 8; + p[F >>> 5] |= 128 << 24 - F % 32, p[(F + 128 >>> 10 << 5) + 30] = Math.floor(c / 4294967296), p[(F + 128 >>> 10 << 5) + 31] = c, v.sigBytes = p.length * 4, this._process(); + var n = this._hash.toX32(); + return n; }, clone: function() { - var v = h.clone.call(this); + var v = u.clone.call(this); return v._hash = this._hash.clone(), v; }, blockSize: 1024 / 32 }); - e.SHA512 = h._createHelper(l), e.HmacSHA512 = h._createHmacHelper(l); - }(), n.SHA512; + x.SHA512 = u._createHelper(b), x.HmacSHA512 = u._createHmacHelper(b); + }(), a.SHA512; }); }(T0)), T0.exports; } -var q0 = { exports: {} }, qx; -function We() { - return qx || (qx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), A0(), de()); - })(X, function(n) { +var q0 = { exports: {} }, zx; +function ze() { + return zx || (zx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), E0(), ie()); + })(X, function(a) { return function() { - var e = n, D = e.x64, h = D.Word, A = D.WordArray, B = e.algo, E = B.SHA512, r = B.SHA384 = E.extend({ + var x = a, _ = x.x64, u = _.Word, A = _.WordArray, C = x.algo, E = C.SHA512, r = C.SHA384 = E.extend({ _doReset: function() { this._hash = new A.init([ - new h.init(3418070365, 3238371032), - new h.init(1654270250, 914150663), - new h.init(2438529370, 812702999), - new h.init(355462360, 4144912697), - new h.init(1731405415, 4290775857), - new h.init(2394180231, 1750603025), - new h.init(3675008525, 1694076839), - new h.init(1203062813, 3204075428) + new u.init(3418070365, 3238371032), + new u.init(1654270250, 914150663), + new u.init(2438529370, 812702999), + new u.init(355462360, 4144912697), + new u.init(1731405415, 4290775857), + new u.init(2394180231, 1750603025), + new u.init(3675008525, 1694076839), + new u.init(1203062813, 3204075428) ]); }, _doFinalize: function() { @@ -2932,37 +2932,37 @@ function We() { return o.sigBytes -= 16, o; } }); - e.SHA384 = E._createHelper(r), e.HmacSHA384 = E._createHmacHelper(r); - }(), n.SHA384; + x.SHA384 = E._createHelper(r), x.HmacSHA384 = E._createHmacHelper(r); + }(), a.SHA384; }); }(q0)), q0.exports; } -var I0 = { exports: {} }, Ix; -function Le() { - return Ix || (Ix = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), A0()); - })(X, function(n) { - return function(e) { - var D = n, h = D.lib, A = h.WordArray, B = h.Hasher, E = D.x64, r = E.Word, o = D.algo, g = [], x = [], l = []; +var L0 = { exports: {} }, Tx; +function Te() { + return Tx || (Tx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), E0()); + })(X, function(a) { + return function(x) { + var _ = a, u = _.lib, A = u.WordArray, C = u.Hasher, E = _.x64, r = E.Word, o = _.algo, y = [], e = [], b = []; (function() { - for (var c = 1, F = 0, f = 0; f < 24; f++) { - g[c + 5 * F] = (f + 1) * (f + 2) / 2 % 64; - var i = F % 5, b = (2 * c + 3 * F) % 5; - c = i, F = b; + for (var c = 1, F = 0, n = 0; n < 24; n++) { + y[c + 5 * F] = (n + 1) * (n + 2) / 2 % 64; + var i = F % 5, B = (2 * c + 3 * F) % 5; + c = i, F = B; } for (var c = 0; c < 5; c++) for (var F = 0; F < 5; F++) - x[c + 5 * F] = F + (2 * c + 3 * F) % 5 * 5; - for (var y = 1, R = 0; R < 24; R++) { - for (var z = 0, q = 0, W = 0; W < 7; W++) { - if (y & 1) { - var m = (1 << W) - 1; + e[c + 5 * F] = F + (2 * c + 3 * F) % 5 * 5; + for (var H = 1, R = 0; R < 24; R++) { + for (var z = 0, q = 0, I = 0; I < 7; I++) { + if (H & 1) { + var m = (1 << I) - 1; m < 32 ? q ^= 1 << m : z ^= 1 << m - 32; } - y & 128 ? y = y << 1 ^ 113 : y <<= 1; + H & 128 ? H = H << 1 ^ 113 : H <<= 1; } - l[R] = r.create(z, q); + b[R] = r.create(z, q); } })(); var v = []; @@ -2970,7 +2970,7 @@ function Le() { for (var c = 0; c < 25; c++) v[c] = r.create(); })(); - var C = o.SHA3 = B.extend({ + var p = o.SHA3 = C.extend({ /** * Configuration options. * @@ -2979,7 +2979,7 @@ function Le() { * Only values permitted are: 224, 256, 384, 512. * Default: 512 */ - cfg: B.cfg.extend({ + cfg: C.cfg.extend({ outputLength: 512 }), _doReset: function() { @@ -2988,71 +2988,71 @@ function Le() { this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32; }, _doProcessBlock: function(c, F) { - for (var f = this._state, i = this.blockSize / 2, b = 0; b < i; b++) { - var y = c[F + 2 * b], R = c[F + 2 * b + 1]; - y = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, R = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360; - var z = f[b]; - z.high ^= R, z.low ^= y; + for (var n = this._state, i = this.blockSize / 2, B = 0; B < i; B++) { + var H = c[F + 2 * B], R = c[F + 2 * B + 1]; + H = (H << 8 | H >>> 24) & 16711935 | (H << 24 | H >>> 8) & 4278255360, R = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360; + var z = n[B]; + z.high ^= R, z.low ^= H; } for (var q = 0; q < 24; q++) { - for (var W = 0; W < 5; W++) { - for (var m = 0, a = 0, s = 0; s < 5; s++) { - var z = f[W + 5 * s]; - m ^= z.high, a ^= z.low; + for (var I = 0; I < 5; I++) { + for (var m = 0, t = 0, s = 0; s < 5; s++) { + var z = n[I + 5 * s]; + m ^= z.high, t ^= z.low; } - var t = v[W]; - t.high = m, t.low = a; + var f = v[I]; + f.high = m, f.low = t; } - for (var W = 0; W < 5; W++) - for (var d = v[(W + 4) % 5], u = v[(W + 1) % 5], S = u.high, I = u.low, m = d.high ^ (S << 1 | I >>> 31), a = d.low ^ (I << 1 | S >>> 31), s = 0; s < 5; s++) { - var z = f[W + 5 * s]; - z.high ^= m, z.low ^= a; + for (var I = 0; I < 5; I++) + for (var d = v[(I + 4) % 5], l = v[(I + 1) % 5], S = l.high, L = l.low, m = d.high ^ (S << 1 | L >>> 31), t = d.low ^ (L << 1 | S >>> 31), s = 0; s < 5; s++) { + var z = n[I + 5 * s]; + z.high ^= m, z.low ^= t; } for (var U = 1; U < 25; U++) { - var m, a, z = f[U], P = z.high, O = z.low, T = g[U]; - T < 32 ? (m = P << T | O >>> 32 - T, a = O << T | P >>> 32 - T) : (m = O << T - 32 | P >>> 64 - T, a = P << T - 32 | O >>> 64 - T); - var _ = v[x[U]]; - _.high = m, _.low = a; + var m, t, z = n[U], P = z.high, O = z.low, T = y[U]; + T < 32 ? (m = P << T | O >>> 32 - T, t = O << T | P >>> 32 - T) : (m = O << T - 32 | P >>> 64 - T, t = P << T - 32 | O >>> 64 - T); + var g = v[e[U]]; + g.high = m, g.low = t; } - var k = v[0], H = f[0]; - k.high = H.high, k.low = H.low; - for (var W = 0; W < 5; W++) + var w = v[0], k = n[0]; + w.high = k.high, w.low = k.low; + for (var I = 0; I < 5; I++) for (var s = 0; s < 5; s++) { - var U = W + 5 * s, z = f[U], L = v[U], N = v[(W + 1) % 5 + 5 * s], j = v[(W + 2) % 5 + 5 * s]; - z.high = L.high ^ ~N.high & j.high, z.low = L.low ^ ~N.low & j.low; + var U = I + 5 * s, z = n[U], W = v[U], N = v[(I + 1) % 5 + 5 * s], j = v[(I + 2) % 5 + 5 * s]; + z.high = W.high ^ ~N.high & j.high, z.low = W.low ^ ~N.low & j.low; } - var z = f[0], G = l[q]; - z.high ^= G.high, z.low ^= G.low; + var z = n[0], M = b[q]; + z.high ^= M.high, z.low ^= M.low; } }, _doFinalize: function() { var c = this._data, F = c.words; this._nDataBytes * 8; - var f = c.sigBytes * 8, i = this.blockSize * 32; - F[f >>> 5] |= 1 << 24 - f % 32, F[(e.ceil((f + 1) / i) * i >>> 5) - 1] |= 128, c.sigBytes = F.length * 4, this._process(); - for (var b = this._state, y = this.cfg.outputLength / 8, R = y / 8, z = [], q = 0; q < R; q++) { - var W = b[q], m = W.high, a = W.low; - m = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360, a = (a << 8 | a >>> 24) & 16711935 | (a << 24 | a >>> 8) & 4278255360, z.push(a), z.push(m); + var n = c.sigBytes * 8, i = this.blockSize * 32; + F[n >>> 5] |= 1 << 24 - n % 32, F[(x.ceil((n + 1) / i) * i >>> 5) - 1] |= 128, c.sigBytes = F.length * 4, this._process(); + for (var B = this._state, H = this.cfg.outputLength / 8, R = H / 8, z = [], q = 0; q < R; q++) { + var I = B[q], m = I.high, t = I.low; + m = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360, t = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360, z.push(t), z.push(m); } - return new A.init(z, y); + return new A.init(z, H); }, clone: function() { - for (var c = B.clone.call(this), F = c._state = this._state.slice(0), f = 0; f < 25; f++) - F[f] = F[f].clone(); + for (var c = C.clone.call(this), F = c._state = this._state.slice(0), n = 0; n < 25; n++) + F[n] = F[n].clone(); return c; } }); - D.SHA3 = B._createHelper(C), D.HmacSHA3 = B._createHmacHelper(C); - }(Math), n.SHA3; + _.SHA3 = C._createHelper(p), _.HmacSHA3 = C._createHmacHelper(p); + }(Math), a.SHA3; }); - }(I0)), I0.exports; + }(L0)), L0.exports; } -var W0 = { exports: {} }, Wx; -function Pe() { - return Wx || (Wx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { +var I0 = { exports: {} }, qx; +function qe() { + return qx || (qx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { /** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. @@ -3063,8 +3063,8 @@ function Pe() { 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. */ - return function(e) { - var D = n, h = D.lib, A = h.WordArray, B = h.Hasher, E = D.algo, r = A.create([ + return function(x) { + var _ = a, u = _.lib, A = u.WordArray, C = u.Hasher, E = _.algo, r = A.create([ 0, 1, 2, @@ -3226,7 +3226,7 @@ function Pe() { 3, 9, 11 - ]), g = A.create([ + ]), y = A.create([ 11, 14, 15, @@ -3307,7 +3307,7 @@ function Pe() { 8, 5, 6 - ]), x = A.create([ + ]), e = A.create([ 8, 9, 9, @@ -3388,32 +3388,32 @@ function Pe() { 13, 11, 11 - ]), l = A.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), v = A.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), C = E.RIPEMD160 = B.extend({ + ]), b = A.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), v = A.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), p = E.RIPEMD160 = C.extend({ _doReset: function() { this._hash = A.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]); }, _doProcessBlock: function(R, z) { for (var q = 0; q < 16; q++) { - var W = z + q, m = R[W]; - R[W] = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360; + var I = z + q, m = R[I]; + R[I] = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360; } - var a = this._hash.words, s = l.words, t = v.words, d = r.words, u = o.words, S = g.words, I = x.words, U, P, O, T, _, k, H, L, N, j; - k = U = a[0], H = P = a[1], L = O = a[2], N = T = a[3], j = _ = a[4]; - for (var G, q = 0; q < 80; q += 1) - G = U + R[z + d[q]] | 0, q < 16 ? G += c(P, O, T) + s[0] : q < 32 ? G += F(P, O, T) + s[1] : q < 48 ? G += f(P, O, T) + s[2] : q < 64 ? G += i(P, O, T) + s[3] : G += b(P, O, T) + s[4], G = G | 0, G = y(G, S[q]), G = G + _ | 0, U = _, _ = T, T = y(O, 10), O = P, P = G, G = k + R[z + u[q]] | 0, q < 16 ? G += b(H, L, N) + t[0] : q < 32 ? G += i(H, L, N) + t[1] : q < 48 ? G += f(H, L, N) + t[2] : q < 64 ? G += F(H, L, N) + t[3] : G += c(H, L, N) + t[4], G = G | 0, G = y(G, I[q]), G = G + j | 0, k = j, j = N, N = y(L, 10), L = H, H = G; - G = a[1] + O + N | 0, a[1] = a[2] + T + j | 0, a[2] = a[3] + _ + k | 0, a[3] = a[4] + U + H | 0, a[4] = a[0] + P + L | 0, a[0] = G; + var t = this._hash.words, s = b.words, f = v.words, d = r.words, l = o.words, S = y.words, L = e.words, U, P, O, T, g, w, k, W, N, j; + w = U = t[0], k = P = t[1], W = O = t[2], N = T = t[3], j = g = t[4]; + for (var M, q = 0; q < 80; q += 1) + M = U + R[z + d[q]] | 0, q < 16 ? M += c(P, O, T) + s[0] : q < 32 ? M += F(P, O, T) + s[1] : q < 48 ? M += n(P, O, T) + s[2] : q < 64 ? M += i(P, O, T) + s[3] : M += B(P, O, T) + s[4], M = M | 0, M = H(M, S[q]), M = M + g | 0, U = g, g = T, T = H(O, 10), O = P, P = M, M = w + R[z + l[q]] | 0, q < 16 ? M += B(k, W, N) + f[0] : q < 32 ? M += i(k, W, N) + f[1] : q < 48 ? M += n(k, W, N) + f[2] : q < 64 ? M += F(k, W, N) + f[3] : M += c(k, W, N) + f[4], M = M | 0, M = H(M, L[q]), M = M + j | 0, w = j, j = N, N = H(W, 10), W = k, k = M; + M = t[1] + O + N | 0, t[1] = t[2] + T + j | 0, t[2] = t[3] + g + w | 0, t[3] = t[4] + U + k | 0, t[4] = t[0] + P + W | 0, t[0] = M; }, _doFinalize: function() { - var R = this._data, z = R.words, q = this._nDataBytes * 8, W = R.sigBytes * 8; - z[W >>> 5] |= 128 << 24 - W % 32, z[(W + 64 >>> 9 << 4) + 14] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, R.sigBytes = (z.length + 1) * 4, this._process(); - for (var m = this._hash, a = m.words, s = 0; s < 5; s++) { - var t = a[s]; - a[s] = (t << 8 | t >>> 24) & 16711935 | (t << 24 | t >>> 8) & 4278255360; + var R = this._data, z = R.words, q = this._nDataBytes * 8, I = R.sigBytes * 8; + z[I >>> 5] |= 128 << 24 - I % 32, z[(I + 64 >>> 9 << 4) + 14] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, R.sigBytes = (z.length + 1) * 4, this._process(); + for (var m = this._hash, t = m.words, s = 0; s < 5; s++) { + var f = t[s]; + t[s] = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360; } return m; }, clone: function() { - var R = B.clone.call(this); + var R = C.clone.call(this); return R._hash = this._hash.clone(), R; } }); @@ -3423,32 +3423,32 @@ function Pe() { function F(R, z, q) { return R & z | ~R & q; } - function f(R, z, q) { + function n(R, z, q) { return (R | ~z) ^ q; } function i(R, z, q) { return R & q | z & ~q; } - function b(R, z, q) { + function B(R, z, q) { return R ^ (z | ~q); } - function y(R, z) { + function H(R, z) { return R << z | R >>> 32 - z; } - D.RIPEMD160 = B._createHelper(C), D.HmacRIPEMD160 = B._createHmacHelper(C); - }(), n.RIPEMD160; + _.RIPEMD160 = C._createHelper(p), _.HmacRIPEMD160 = C._createHmacHelper(p); + }(), a.RIPEMD160; }); - }(W0)), W0.exports; + }(I0)), I0.exports; } -var L0 = { exports: {} }, Lx; -function sx() { - return Lx || (Lx = 1, function(p, w) { - (function(n, e) { - p.exports = e(K()); - })(X, function(n) { +var W0 = { exports: {} }, Lx; +function ox() { + return Lx || (Lx = 1, function(h, D) { + (function(a, x) { + h.exports = x(K()); + })(X, function(a) { (function() { - var e = n, D = e.lib, h = D.Base, A = e.enc, B = A.Utf8, E = e.algo; - E.HMAC = h.extend({ + var x = a, _ = x.lib, u = _.Base, A = x.enc, C = A.Utf8, E = x.algo; + E.HMAC = u.extend({ /** * Initializes a newly created HMAC. * @@ -3460,12 +3460,12 @@ function sx() { * var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key); */ init: function(r, o) { - r = this._hasher = new r.init(), typeof o == "string" && (o = B.parse(o)); - var g = r.blockSize, x = g * 4; - o.sigBytes > x && (o = r.finalize(o)), o.clamp(); - for (var l = this._oKey = o.clone(), v = this._iKey = o.clone(), C = l.words, c = v.words, F = 0; F < g; F++) - C[F] ^= 1549556828, c[F] ^= 909522486; - l.sigBytes = v.sigBytes = x, this.reset(); + r = this._hasher = new r.init(), typeof o == "string" && (o = C.parse(o)); + var y = r.blockSize, e = y * 4; + o.sigBytes > e && (o = r.finalize(o)), o.clamp(); + for (var b = this._oKey = o.clone(), v = this._iKey = o.clone(), p = b.words, c = v.words, F = 0; F < y; F++) + p[F] ^= 1549556828, c[F] ^= 909522486; + b.sigBytes = v.sigBytes = e, this.reset(); }, /** * Resets this HMAC to its initial state. @@ -3508,24 +3508,24 @@ function sx() { * var hmac = hmacHasher.finalize(wordArray); */ finalize: function(r) { - var o = this._hasher, g = o.finalize(r); + var o = this._hasher, y = o.finalize(r); o.reset(); - var x = o.finalize(this._oKey.clone().concat(g)); - return x; + var e = o.finalize(this._oKey.clone().concat(y)); + return e; } }); })(); }); - }(L0)), L0.exports; + }(W0)), W0.exports; } -var P0 = { exports: {} }, Px; -function Ue() { - return Px || (Px = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), ix(), sx()); - })(X, function(n) { +var P0 = { exports: {} }, Ix; +function Le() { + return Ix || (Ix = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), cx(), ox()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.Base, A = D.WordArray, B = e.algo, E = B.SHA256, r = B.HMAC, o = B.PBKDF2 = h.extend({ + var x = a, _ = x.lib, u = _.Base, A = _.WordArray, C = x.algo, E = C.SHA256, r = C.HMAC, o = C.PBKDF2 = u.extend({ /** * Configuration options. * @@ -3533,7 +3533,7 @@ function Ue() { * @property {Hasher} hasher The hasher to use. Default: SHA256 * @property {number} iterations The number of iterations to perform. Default: 250000 */ - cfg: h.extend({ + cfg: u.extend({ keySize: 128 / 32, hasher: E, iterations: 25e4 @@ -3549,8 +3549,8 @@ function Ue() { * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 }); * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 }); */ - init: function(g) { - this.cfg = this.cfg.extend(g); + init: function(y) { + this.cfg = this.cfg.extend(y); }, /** * Computes the Password-Based Key Derivation Function 2. @@ -3564,35 +3564,35 @@ function Ue() { * * var key = kdf.compute(password, salt); */ - compute: function(g, x) { - for (var l = this.cfg, v = r.create(l.hasher, g), C = A.create(), c = A.create([1]), F = C.words, f = c.words, i = l.keySize, b = l.iterations; F.length < i; ) { - var y = v.update(x).finalize(c); + compute: function(y, e) { + for (var b = this.cfg, v = r.create(b.hasher, y), p = A.create(), c = A.create([1]), F = p.words, n = c.words, i = b.keySize, B = b.iterations; F.length < i; ) { + var H = v.update(e).finalize(c); v.reset(); - for (var R = y.words, z = R.length, q = y, W = 1; W < b; W++) { + for (var R = H.words, z = R.length, q = H, I = 1; I < B; I++) { q = v.finalize(q), v.reset(); - for (var m = q.words, a = 0; a < z; a++) - R[a] ^= m[a]; + for (var m = q.words, t = 0; t < z; t++) + R[t] ^= m[t]; } - C.concat(y), f[0]++; + p.concat(H), n[0]++; } - return C.sigBytes = i * 4, C; + return p.sigBytes = i * 4, p; } }); - e.PBKDF2 = function(g, x, l) { - return o.create(l).compute(g, x); + x.PBKDF2 = function(y, e, b) { + return o.create(b).compute(y, e); }; - }(), n.PBKDF2; + }(), a.PBKDF2; }); }(P0)), P0.exports; } -var U0 = { exports: {} }, Ux; +var U0 = { exports: {} }, Wx; function a0() { - return Ux || (Ux = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), se(), sx()); - })(X, function(n) { + return Wx || (Wx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), oe(), ox()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.Base, A = D.WordArray, B = e.algo, E = B.MD5, r = B.EvpKDF = h.extend({ + var x = a, _ = x.lib, u = _.Base, A = _.WordArray, C = x.algo, E = C.MD5, r = C.EvpKDF = u.extend({ /** * Configuration options. * @@ -3600,7 +3600,7 @@ function a0() { * @property {Hasher} hasher The hash algorithm to use. Default: MD5 * @property {number} iterations The number of iterations to perform. Default: 1 */ - cfg: h.extend({ + cfg: u.extend({ keySize: 128 / 32, hasher: E, iterations: 1 @@ -3631,33 +3631,33 @@ function a0() { * * var key = kdf.compute(password, salt); */ - compute: function(o, g) { - for (var x, l = this.cfg, v = l.hasher.create(), C = A.create(), c = C.words, F = l.keySize, f = l.iterations; c.length < F; ) { - x && v.update(x), x = v.update(o).finalize(g), v.reset(); - for (var i = 1; i < f; i++) - x = v.finalize(x), v.reset(); - C.concat(x); + compute: function(o, y) { + for (var e, b = this.cfg, v = b.hasher.create(), p = A.create(), c = p.words, F = b.keySize, n = b.iterations; c.length < F; ) { + e && v.update(e), e = v.update(o).finalize(y), v.reset(); + for (var i = 1; i < n; i++) + e = v.finalize(e), v.reset(); + p.concat(e); } - return C.sigBytes = F * 4, C; + return p.sigBytes = F * 4, p; } }); - e.EvpKDF = function(o, g, x) { - return r.create(x).compute(o, g); + x.EvpKDF = function(o, y, e) { + return r.create(e).compute(o, y); }; - }(), n.EvpKDF; + }(), a.EvpKDF; }); }(U0)), U0.exports; } -var O0 = { exports: {} }, Ox; +var O0 = { exports: {} }, Px; function V() { - return Ox || (Ox = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), a0()); - })(X, function(n) { - n.lib.Cipher || function(e) { - var D = n, h = D.lib, A = h.Base, B = h.WordArray, E = h.BufferedBlockAlgorithm, r = D.enc; + return Px || (Px = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), a0()); + })(X, function(a) { + a.lib.Cipher || function(x) { + var _ = a, u = _.lib, A = u.Base, C = u.WordArray, E = u.BufferedBlockAlgorithm, r = _.enc; r.Utf8; - var o = r.Base64, g = D.algo, x = g.EvpKDF, l = h.Cipher = E.extend({ + var o = r.Base64, y = _.algo, e = y.EvpKDF, b = u.Cipher = E.extend({ /** * Configuration options. * @@ -3678,8 +3678,8 @@ function V() { * * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray }); */ - createEncryptor: function(m, a) { - return this.create(this._ENC_XFORM_MODE, m, a); + createEncryptor: function(m, t) { + return this.create(this._ENC_XFORM_MODE, m, t); }, /** * Creates this cipher in decryption mode. @@ -3695,8 +3695,8 @@ function V() { * * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray }); */ - createDecryptor: function(m, a) { - return this.create(this._DEC_XFORM_MODE, m, a); + createDecryptor: function(m, t) { + return this.create(this._DEC_XFORM_MODE, m, t); }, /** * Initializes a newly created cipher. @@ -3709,8 +3709,8 @@ function V() { * * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray }); */ - init: function(m, a, s) { - this.cfg = this.cfg.extend(s), this._xformMode = m, this._key = a, this.reset(); + init: function(m, t, s) { + this.cfg = this.cfg.extend(s), this._xformMode = m, this._key = t, this.reset(); }, /** * Resets this cipher to its initial state. @@ -3753,8 +3753,8 @@ function V() { */ finalize: function(m) { m && this._append(m); - var a = this._doFinalize(); - return a; + var t = this._doFinalize(); + return t; }, keySize: 128 / 32, ivSize: 128 / 32, @@ -3774,29 +3774,29 @@ function V() { * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES); */ _createHelper: /* @__PURE__ */ function() { - function m(a) { - return typeof a == "string" ? W : R; + function m(t) { + return typeof t == "string" ? I : R; } - return function(a) { + return function(t) { return { - encrypt: function(s, t, d) { - return m(t).encrypt(a, s, t, d); + encrypt: function(s, f, d) { + return m(f).encrypt(t, s, f, d); }, - decrypt: function(s, t, d) { - return m(t).decrypt(a, s, t, d); + decrypt: function(s, f, d) { + return m(f).decrypt(t, s, f, d); } }; }; }() }); - h.StreamCipher = l.extend({ + u.StreamCipher = b.extend({ _doFinalize: function() { var m = this._process(!0); return m; }, blockSize: 1 }); - var v = D.mode = {}, C = h.BlockCipherMode = A.extend({ + var v = _.mode = {}, p = u.BlockCipherMode = A.extend({ /** * Creates this mode for encryption. * @@ -3809,8 +3809,8 @@ function V() { * * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words); */ - createEncryptor: function(m, a) { - return this.Encryptor.create(m, a); + createEncryptor: function(m, t) { + return this.Encryptor.create(m, t); }, /** * Creates this mode for decryption. @@ -3824,8 +3824,8 @@ function V() { * * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words); */ - createDecryptor: function(m, a) { - return this.Decryptor.create(m, a); + createDecryptor: function(m, t) { + return this.Decryptor.create(m, t); }, /** * Initializes a newly created mode. @@ -3837,11 +3837,11 @@ function V() { * * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words); */ - init: function(m, a) { - this._cipher = m, this._iv = a; + init: function(m, t) { + this._cipher = m, this._iv = t; } }), c = v.CBC = function() { - var m = C.extend(); + var m = p.extend(); m.Encryptor = m.extend({ /** * Processes the data block at offset. @@ -3853,9 +3853,9 @@ function V() { * * mode.processBlock(data.words, offset); */ - processBlock: function(s, t) { - var d = this._cipher, u = d.blockSize; - a.call(this, s, t, u), d.encryptBlock(s, t), this._prevBlock = s.slice(t, t + u); + processBlock: function(s, f) { + var d = this._cipher, l = d.blockSize; + t.call(this, s, f, l), d.encryptBlock(s, f), this._prevBlock = s.slice(f, f + l); } }), m.Decryptor = m.extend({ /** @@ -3868,19 +3868,19 @@ function V() { * * mode.processBlock(data.words, offset); */ - processBlock: function(s, t) { - var d = this._cipher, u = d.blockSize, S = s.slice(t, t + u); - d.decryptBlock(s, t), a.call(this, s, t, u), this._prevBlock = S; + processBlock: function(s, f) { + var d = this._cipher, l = d.blockSize, S = s.slice(f, f + l); + d.decryptBlock(s, f), t.call(this, s, f, l), this._prevBlock = S; } }); - function a(s, t, d) { - var u, S = this._iv; - S ? (u = S, this._iv = e) : u = this._prevBlock; - for (var I = 0; I < d; I++) - s[t + I] ^= u[I]; + function t(s, f, d) { + var l, S = this._iv; + S ? (l = S, this._iv = x) : l = this._prevBlock; + for (var L = 0; L < d; L++) + s[f + L] ^= l[L]; } return m; - }(), F = D.pad = {}, f = F.Pkcs7 = { + }(), F = _.pad = {}, n = F.Pkcs7 = { /** * Pads data using the algorithm defined in PKCS #5/7. * @@ -3893,11 +3893,11 @@ function V() { * * CryptoJS.pad.Pkcs7.pad(wordArray, 4); */ - pad: function(m, a) { - for (var s = a * 4, t = s - m.sigBytes % s, d = t << 24 | t << 16 | t << 8 | t, u = [], S = 0; S < t; S += 4) - u.push(d); - var I = B.create(u, t); - m.concat(I); + pad: function(m, t) { + for (var s = t * 4, f = s - m.sigBytes % s, d = f << 24 | f << 16 | f << 8 | f, l = [], S = 0; S < f; S += 4) + l.push(d); + var L = C.create(l, f); + m.concat(L); }, /** * Unpads data that had been padded using the algorithm defined in PKCS #5/7. @@ -3911,37 +3911,37 @@ function V() { * CryptoJS.pad.Pkcs7.unpad(wordArray); */ unpad: function(m) { - var a = m.words[m.sigBytes - 1 >>> 2] & 255; - m.sigBytes -= a; + var t = m.words[m.sigBytes - 1 >>> 2] & 255; + m.sigBytes -= t; } }; - h.BlockCipher = l.extend({ + u.BlockCipher = b.extend({ /** * Configuration options. * * @property {Mode} mode The block mode to use. Default: CBC * @property {Padding} padding The padding strategy to use. Default: Pkcs7 */ - cfg: l.cfg.extend({ + cfg: b.cfg.extend({ mode: c, - padding: f + padding: n }), reset: function() { var m; - l.reset.call(this); - var a = this.cfg, s = a.iv, t = a.mode; - this._xformMode == this._ENC_XFORM_MODE ? m = t.createEncryptor : (m = t.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == m ? this._mode.init(this, s && s.words) : (this._mode = m.call(t, this, s && s.words), this._mode.__creator = m); + b.reset.call(this); + var t = this.cfg, s = t.iv, f = t.mode; + this._xformMode == this._ENC_XFORM_MODE ? m = f.createEncryptor : (m = f.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == m ? this._mode.init(this, s && s.words) : (this._mode = m.call(f, this, s && s.words), this._mode.__creator = m); }, - _doProcessBlock: function(m, a) { - this._mode.processBlock(m, a); + _doProcessBlock: function(m, t) { + this._mode.processBlock(m, t); }, _doFinalize: function() { - var m, a = this.cfg.padding; - return this._xformMode == this._ENC_XFORM_MODE ? (a.pad(this._data, this.blockSize), m = this._process(!0)) : (m = this._process(!0), a.unpad(m)), m; + var m, t = this.cfg.padding; + return this._xformMode == this._ENC_XFORM_MODE ? (t.pad(this._data, this.blockSize), m = this._process(!0)) : (m = this._process(!0), t.unpad(m)), m; }, blockSize: 128 / 32 }); - var i = h.CipherParams = A.extend({ + var i = u.CipherParams = A.extend({ /** * Initializes a newly created cipher params object. * @@ -3982,7 +3982,7 @@ function V() { toString: function(m) { return (m || this.formatter).stringify(this); } - }), b = D.format = {}, y = b.OpenSSL = { + }), B = _.format = {}, H = B.OpenSSL = { /** * Converts a cipher params object to an OpenSSL-compatible string. * @@ -3997,8 +3997,8 @@ function V() { * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams); */ stringify: function(m) { - var a, s = m.ciphertext, t = m.salt; - return t ? a = B.create([1398893684, 1701076831]).concat(t).concat(s) : a = s, a.toString(o); + var t, s = m.ciphertext, f = m.salt; + return f ? t = C.create([1398893684, 1701076831]).concat(f).concat(s) : t = s, t.toString(o); }, /** * Converts an OpenSSL-compatible string to a cipher params object. @@ -4014,17 +4014,17 @@ function V() { * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString); */ parse: function(m) { - var a, s = o.parse(m), t = s.words; - return t[0] == 1398893684 && t[1] == 1701076831 && (a = B.create(t.slice(2, 4)), t.splice(0, 4), s.sigBytes -= 16), i.create({ ciphertext: s, salt: a }); + var t, s = o.parse(m), f = s.words; + return f[0] == 1398893684 && f[1] == 1701076831 && (t = C.create(f.slice(2, 4)), f.splice(0, 4), s.sigBytes -= 16), i.create({ ciphertext: s, salt: t }); } - }, R = h.SerializableCipher = A.extend({ + }, R = u.SerializableCipher = A.extend({ /** * Configuration options. * * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL */ cfg: A.extend({ - format: y + format: H }), /** * Encrypts a message. @@ -4044,18 +4044,18 @@ function V() { * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv }); * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL }); */ - encrypt: function(m, a, s, t) { - t = this.cfg.extend(t); - var d = m.createEncryptor(s, t), u = d.finalize(a), S = d.cfg; + encrypt: function(m, t, s, f) { + f = this.cfg.extend(f); + var d = m.createEncryptor(s, f), l = d.finalize(t), S = d.cfg; return i.create({ - ciphertext: u, + ciphertext: l, key: s, iv: S.iv, algorithm: m, mode: S.mode, padding: S.padding, blockSize: m.blockSize, - formatter: t.format + formatter: f.format }); }, /** @@ -4075,9 +4075,9 @@ function V() { * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL }); * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL }); */ - decrypt: function(m, a, s, t) { - t = this.cfg.extend(t), a = this._parse(a, t.format); - var d = m.createDecryptor(s, t).finalize(a.ciphertext); + decrypt: function(m, t, s, f) { + f = this.cfg.extend(f), t = this._parse(t, f.format); + var d = m.createDecryptor(s, f).finalize(t.ciphertext); return d; }, /** @@ -4095,10 +4095,10 @@ function V() { * * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format); */ - _parse: function(m, a) { - return typeof m == "string" ? a.parse(m, this) : m; + _parse: function(m, t) { + return typeof m == "string" ? t.parse(m, this) : m; } - }), z = D.kdf = {}, q = z.OpenSSL = { + }), z = _.kdf = {}, q = z.OpenSSL = { /** * Derives a key and IV from a password. * @@ -4116,15 +4116,15 @@ function V() { * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32); * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt'); */ - execute: function(m, a, s, t, d) { - if (t || (t = B.random(64 / 8)), d) - var u = x.create({ keySize: a + s, hasher: d }).compute(m, t); + execute: function(m, t, s, f, d) { + if (f || (f = C.random(64 / 8)), d) + var l = e.create({ keySize: t + s, hasher: d }).compute(m, f); else - var u = x.create({ keySize: a + s }).compute(m, t); - var S = B.create(u.words.slice(a), s * 4); - return u.sigBytes = a * 4, i.create({ key: u, iv: S, salt: t }); + var l = e.create({ keySize: t + s }).compute(m, f); + var S = C.create(l.words.slice(t), s * 4); + return l.sigBytes = t * 4, i.create({ key: l, iv: S, salt: f }); } - }, W = h.PasswordBasedCipher = R.extend({ + }, I = u.PasswordBasedCipher = R.extend({ /** * Configuration options. * @@ -4150,12 +4150,12 @@ function V() { * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password'); * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL }); */ - encrypt: function(m, a, s, t) { - t = this.cfg.extend(t); - var d = t.kdf.execute(s, m.keySize, m.ivSize, t.salt, t.hasher); - t.iv = d.iv; - var u = R.encrypt.call(this, m, a, d.key, t); - return u.mixIn(d), u; + encrypt: function(m, t, s, f) { + f = this.cfg.extend(f); + var d = f.kdf.execute(s, m.keySize, m.ivSize, f.salt, f.hasher); + f.iv = d.iv; + var l = R.encrypt.call(this, m, t, d.key, f); + return l.mixIn(d), l; }, /** * Decrypts serialized ciphertext using a password. @@ -4174,250 +4174,250 @@ function V() { * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL }); * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL }); */ - decrypt: function(m, a, s, t) { - t = this.cfg.extend(t), a = this._parse(a, t.format); - var d = t.kdf.execute(s, m.keySize, m.ivSize, a.salt, t.hasher); - t.iv = d.iv; - var u = R.decrypt.call(this, m, a, d.key, t); - return u; + decrypt: function(m, t, s, f) { + f = this.cfg.extend(f), t = this._parse(t, f.format); + var d = f.kdf.execute(s, m.keySize, m.ivSize, t.salt, f.hasher); + f.iv = d.iv; + var l = R.decrypt.call(this, m, t, d.key, f); + return l; } }); }(); }); }(O0)), O0.exports; } -var $0 = { exports: {} }, $x; -function Oe() { - return $x || ($x = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.mode.CFB = function() { - var e = n.lib.BlockCipherMode.extend(); - e.Encryptor = e.extend({ - processBlock: function(h, A) { - var B = this._cipher, E = B.blockSize; - D.call(this, h, A, E, B), this._prevBlock = h.slice(A, A + E); +var $0 = { exports: {} }, Ux; +function Ie() { + return Ux || (Ux = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.mode.CFB = function() { + var x = a.lib.BlockCipherMode.extend(); + x.Encryptor = x.extend({ + processBlock: function(u, A) { + var C = this._cipher, E = C.blockSize; + _.call(this, u, A, E, C), this._prevBlock = u.slice(A, A + E); } - }), e.Decryptor = e.extend({ - processBlock: function(h, A) { - var B = this._cipher, E = B.blockSize, r = h.slice(A, A + E); - D.call(this, h, A, E, B), this._prevBlock = r; + }), x.Decryptor = x.extend({ + processBlock: function(u, A) { + var C = this._cipher, E = C.blockSize, r = u.slice(A, A + E); + _.call(this, u, A, E, C), this._prevBlock = r; } }); - function D(h, A, B, E) { + function _(u, A, C, E) { var r, o = this._iv; o ? (r = o.slice(0), this._iv = void 0) : r = this._prevBlock, E.encryptBlock(r, 0); - for (var g = 0; g < B; g++) - h[A + g] ^= r[g]; + for (var y = 0; y < C; y++) + u[A + y] ^= r[y]; } - return e; - }(), n.mode.CFB; + return x; + }(), a.mode.CFB; }); }($0)), $0.exports; } -var N0 = { exports: {} }, Nx; -function $e() { - return Nx || (Nx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.mode.CTR = function() { - var e = n.lib.BlockCipherMode.extend(), D = e.Encryptor = e.extend({ - processBlock: function(h, A) { - var B = this._cipher, E = B.blockSize, r = this._iv, o = this._counter; +var N0 = { exports: {} }, Ox; +function We() { + return Ox || (Ox = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.mode.CTR = function() { + var x = a.lib.BlockCipherMode.extend(), _ = x.Encryptor = x.extend({ + processBlock: function(u, A) { + var C = this._cipher, E = C.blockSize, r = this._iv, o = this._counter; r && (o = this._counter = r.slice(0), this._iv = void 0); - var g = o.slice(0); - B.encryptBlock(g, 0), o[E - 1] = o[E - 1] + 1 | 0; - for (var x = 0; x < E; x++) - h[A + x] ^= g[x]; + var y = o.slice(0); + C.encryptBlock(y, 0), o[E - 1] = o[E - 1] + 1 | 0; + for (var e = 0; e < E; e++) + u[A + e] ^= y[e]; } }); - return e.Decryptor = D, e; - }(), n.mode.CTR; + return x.Decryptor = _, x; + }(), a.mode.CTR; }); }(N0)), N0.exports; } -var X0 = { exports: {} }, Xx; -function Ne() { - return Xx || (Xx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { +var X0 = { exports: {} }, $x; +function Pe() { + return $x || ($x = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { /** @preserve * Counter block mode compatible with Dr Brian Gladman fileenc.c * derived from CryptoJS.mode.CTR * Jan Hruby jhruby.web@gmail.com */ - return n.mode.CTRGladman = function() { - var e = n.lib.BlockCipherMode.extend(); - function D(B) { - if ((B >> 24 & 255) === 255) { - var E = B >> 16 & 255, r = B >> 8 & 255, o = B & 255; - E === 255 ? (E = 0, r === 255 ? (r = 0, o === 255 ? o = 0 : ++o) : ++r) : ++E, B = 0, B += E << 16, B += r << 8, B += o; + return a.mode.CTRGladman = function() { + var x = a.lib.BlockCipherMode.extend(); + function _(C) { + if ((C >> 24 & 255) === 255) { + var E = C >> 16 & 255, r = C >> 8 & 255, o = C & 255; + E === 255 ? (E = 0, r === 255 ? (r = 0, o === 255 ? o = 0 : ++o) : ++r) : ++E, C = 0, C += E << 16, C += r << 8, C += o; } else - B += 1 << 24; - return B; + C += 1 << 24; + return C; } - function h(B) { - return (B[0] = D(B[0])) === 0 && (B[1] = D(B[1])), B; + function u(C) { + return (C[0] = _(C[0])) === 0 && (C[1] = _(C[1])), C; } - var A = e.Encryptor = e.extend({ - processBlock: function(B, E) { - var r = this._cipher, o = r.blockSize, g = this._iv, x = this._counter; - g && (x = this._counter = g.slice(0), this._iv = void 0), h(x); - var l = x.slice(0); - r.encryptBlock(l, 0); + var A = x.Encryptor = x.extend({ + processBlock: function(C, E) { + var r = this._cipher, o = r.blockSize, y = this._iv, e = this._counter; + y && (e = this._counter = y.slice(0), this._iv = void 0), u(e); + var b = e.slice(0); + r.encryptBlock(b, 0); for (var v = 0; v < o; v++) - B[E + v] ^= l[v]; + C[E + v] ^= b[v]; } }); - return e.Decryptor = A, e; - }(), n.mode.CTRGladman; + return x.Decryptor = A, x; + }(), a.mode.CTRGladman; }); }(X0)), X0.exports; } -var G0 = { exports: {} }, Gx; -function Xe() { - return Gx || (Gx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.mode.OFB = function() { - var e = n.lib.BlockCipherMode.extend(), D = e.Encryptor = e.extend({ - processBlock: function(h, A) { - var B = this._cipher, E = B.blockSize, r = this._iv, o = this._keystream; - r && (o = this._keystream = r.slice(0), this._iv = void 0), B.encryptBlock(o, 0); - for (var g = 0; g < E; g++) - h[A + g] ^= o[g]; +var M0 = { exports: {} }, Nx; +function Ue() { + return Nx || (Nx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.mode.OFB = function() { + var x = a.lib.BlockCipherMode.extend(), _ = x.Encryptor = x.extend({ + processBlock: function(u, A) { + var C = this._cipher, E = C.blockSize, r = this._iv, o = this._keystream; + r && (o = this._keystream = r.slice(0), this._iv = void 0), C.encryptBlock(o, 0); + for (var y = 0; y < E; y++) + u[A + y] ^= o[y]; } }); - return e.Decryptor = D, e; - }(), n.mode.OFB; + return x.Decryptor = _, x; + }(), a.mode.OFB; }); - }(G0)), G0.exports; + }(M0)), M0.exports; } -var M0 = { exports: {} }, Mx; -function Ge() { - return Mx || (Mx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.mode.ECB = function() { - var e = n.lib.BlockCipherMode.extend(); - return e.Encryptor = e.extend({ - processBlock: function(D, h) { - this._cipher.encryptBlock(D, h); +var G0 = { exports: {} }, Xx; +function Oe() { + return Xx || (Xx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.mode.ECB = function() { + var x = a.lib.BlockCipherMode.extend(); + return x.Encryptor = x.extend({ + processBlock: function(_, u) { + this._cipher.encryptBlock(_, u); } - }), e.Decryptor = e.extend({ - processBlock: function(D, h) { - this._cipher.decryptBlock(D, h); + }), x.Decryptor = x.extend({ + processBlock: function(_, u) { + this._cipher.decryptBlock(_, u); } - }), e; - }(), n.mode.ECB; + }), x; + }(), a.mode.ECB; }); - }(M0)), M0.exports; + }(G0)), G0.exports; } -var K0 = { exports: {} }, Kx; -function Me() { - return Kx || (Kx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.pad.AnsiX923 = { - pad: function(e, D) { - var h = e.sigBytes, A = D * 4, B = A - h % A, E = h + B - 1; - e.clamp(), e.words[E >>> 2] |= B << 24 - E % 4 * 8, e.sigBytes += B; +var K0 = { exports: {} }, Mx; +function $e() { + return Mx || (Mx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.pad.AnsiX923 = { + pad: function(x, _) { + var u = x.sigBytes, A = _ * 4, C = A - u % A, E = u + C - 1; + x.clamp(), x.words[E >>> 2] |= C << 24 - E % 4 * 8, x.sigBytes += C; }, - unpad: function(e) { - var D = e.words[e.sigBytes - 1 >>> 2] & 255; - e.sigBytes -= D; + unpad: function(x) { + var _ = x.words[x.sigBytes - 1 >>> 2] & 255; + x.sigBytes -= _; } - }, n.pad.Ansix923; + }, a.pad.Ansix923; }); }(K0)), K0.exports; } -var V0 = { exports: {} }, Vx; -function Ke() { - return Vx || (Vx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.pad.Iso10126 = { - pad: function(e, D) { - var h = D * 4, A = h - e.sigBytes % h; - e.concat(n.lib.WordArray.random(A - 1)).concat(n.lib.WordArray.create([A << 24], 1)); +var V0 = { exports: {} }, Gx; +function Ne() { + return Gx || (Gx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.pad.Iso10126 = { + pad: function(x, _) { + var u = _ * 4, A = u - x.sigBytes % u; + x.concat(a.lib.WordArray.random(A - 1)).concat(a.lib.WordArray.create([A << 24], 1)); }, - unpad: function(e) { - var D = e.words[e.sigBytes - 1 >>> 2] & 255; - e.sigBytes -= D; + unpad: function(x) { + var _ = x.words[x.sigBytes - 1 >>> 2] & 255; + x.sigBytes -= _; } - }, n.pad.Iso10126; + }, a.pad.Iso10126; }); }(V0)), V0.exports; } -var j0 = { exports: {} }, jx; -function Ve() { - return jx || (jx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.pad.Iso97971 = { - pad: function(e, D) { - e.concat(n.lib.WordArray.create([2147483648], 1)), n.pad.ZeroPadding.pad(e, D); +var j0 = { exports: {} }, Kx; +function Xe() { + return Kx || (Kx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.pad.Iso97971 = { + pad: function(x, _) { + x.concat(a.lib.WordArray.create([2147483648], 1)), a.pad.ZeroPadding.pad(x, _); }, - unpad: function(e) { - n.pad.ZeroPadding.unpad(e), e.sigBytes--; + unpad: function(x) { + a.pad.ZeroPadding.unpad(x), x.sigBytes--; } - }, n.pad.Iso97971; + }, a.pad.Iso97971; }); }(j0)), j0.exports; } -var Z0 = { exports: {} }, Zx; -function je() { - return Zx || (Zx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.pad.ZeroPadding = { - pad: function(e, D) { - var h = D * 4; - e.clamp(), e.sigBytes += h - (e.sigBytes % h || h); +var Z0 = { exports: {} }, Vx; +function Me() { + return Vx || (Vx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.pad.ZeroPadding = { + pad: function(x, _) { + var u = _ * 4; + x.clamp(), x.sigBytes += u - (x.sigBytes % u || u); }, - unpad: function(e) { - for (var D = e.words, h = e.sigBytes - 1, h = e.sigBytes - 1; h >= 0; h--) - if (D[h >>> 2] >>> 24 - h % 4 * 8 & 255) { - e.sigBytes = h + 1; + unpad: function(x) { + for (var _ = x.words, u = x.sigBytes - 1, u = x.sigBytes - 1; u >= 0; u--) + if (_[u >>> 2] >>> 24 - u % 4 * 8 & 255) { + x.sigBytes = u + 1; break; } } - }, n.pad.ZeroPadding; + }, a.pad.ZeroPadding; }); }(Z0)), Z0.exports; } -var Y0 = { exports: {} }, Yx; -function Ze() { - return Yx || (Yx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return n.pad.NoPadding = { +var Y0 = { exports: {} }, jx; +function Ge() { + return jx || (jx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return a.pad.NoPadding = { pad: function() { }, unpad: function() { } - }, n.pad.NoPadding; + }, a.pad.NoPadding; }); }(Y0)), Y0.exports; } -var Q0 = { exports: {} }, Qx; -function Ye() { - return Qx || (Qx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), V()); - })(X, function(n) { - return function(e) { - var D = n, h = D.lib, A = h.CipherParams, B = D.enc, E = B.Hex, r = D.format; +var Q0 = { exports: {} }, Zx; +function Ke() { + return Zx || (Zx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), V()); + })(X, function(a) { + return function(x) { + var _ = a, u = _.lib, A = u.CipherParams, C = _.enc, E = C.Hex, r = _.format; r.Hex = { /** * Converts the ciphertext of a cipher params object to a hexadecimally encoded string. @@ -4449,82 +4449,82 @@ function Ye() { * var cipherParams = CryptoJS.format.Hex.parse(hexString); */ parse: function(o) { - var g = E.parse(o); - return A.create({ ciphertext: g }); + var y = E.parse(o); + return A.create({ ciphertext: y }); } }; - }(), n.format.Hex; + }(), a.format.Hex; }); }(Q0)), Q0.exports; } -var J0 = { exports: {} }, Jx; -function Qe() { - return Jx || (Jx = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), t0(), f0(), a0(), V()); - })(X, function(n) { +var J0 = { exports: {} }, Yx; +function Ve() { + return Yx || (Yx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), t0(), f0(), a0(), V()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.BlockCipher, A = e.algo, B = [], E = [], r = [], o = [], g = [], x = [], l = [], v = [], C = [], c = []; + var x = a, _ = x.lib, u = _.BlockCipher, A = x.algo, C = [], E = [], r = [], o = [], y = [], e = [], b = [], v = [], p = [], c = []; (function() { - for (var i = [], b = 0; b < 256; b++) - b < 128 ? i[b] = b << 1 : i[b] = b << 1 ^ 283; - for (var y = 0, R = 0, b = 0; b < 256; b++) { + for (var i = [], B = 0; B < 256; B++) + B < 128 ? i[B] = B << 1 : i[B] = B << 1 ^ 283; + for (var H = 0, R = 0, B = 0; B < 256; B++) { var z = R ^ R << 1 ^ R << 2 ^ R << 3 ^ R << 4; - z = z >>> 8 ^ z & 255 ^ 99, B[y] = z, E[z] = y; - var q = i[y], W = i[q], m = i[W], a = i[z] * 257 ^ z * 16843008; - r[y] = a << 24 | a >>> 8, o[y] = a << 16 | a >>> 16, g[y] = a << 8 | a >>> 24, x[y] = a; - var a = m * 16843009 ^ W * 65537 ^ q * 257 ^ y * 16843008; - l[z] = a << 24 | a >>> 8, v[z] = a << 16 | a >>> 16, C[z] = a << 8 | a >>> 24, c[z] = a, y ? (y = q ^ i[i[i[m ^ q]]], R ^= i[i[R]]) : y = R = 1; + z = z >>> 8 ^ z & 255 ^ 99, C[H] = z, E[z] = H; + var q = i[H], I = i[q], m = i[I], t = i[z] * 257 ^ z * 16843008; + r[H] = t << 24 | t >>> 8, o[H] = t << 16 | t >>> 16, y[H] = t << 8 | t >>> 24, e[H] = t; + var t = m * 16843009 ^ I * 65537 ^ q * 257 ^ H * 16843008; + b[z] = t << 24 | t >>> 8, v[z] = t << 16 | t >>> 16, p[z] = t << 8 | t >>> 24, c[z] = t, H ? (H = q ^ i[i[i[m ^ q]]], R ^= i[i[R]]) : H = R = 1; } })(); - var F = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], f = A.AES = h.extend({ + var F = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], n = A.AES = u.extend({ _doReset: function() { var i; if (!(this._nRounds && this._keyPriorReset === this._key)) { - for (var b = this._keyPriorReset = this._key, y = b.words, R = b.sigBytes / 4, z = this._nRounds = R + 6, q = (z + 1) * 4, W = this._keySchedule = [], m = 0; m < q; m++) - m < R ? W[m] = y[m] : (i = W[m - 1], m % R ? R > 6 && m % R == 4 && (i = B[i >>> 24] << 24 | B[i >>> 16 & 255] << 16 | B[i >>> 8 & 255] << 8 | B[i & 255]) : (i = i << 8 | i >>> 24, i = B[i >>> 24] << 24 | B[i >>> 16 & 255] << 16 | B[i >>> 8 & 255] << 8 | B[i & 255], i ^= F[m / R | 0] << 24), W[m] = W[m - R] ^ i); - for (var a = this._invKeySchedule = [], s = 0; s < q; s++) { + for (var B = this._keyPriorReset = this._key, H = B.words, R = B.sigBytes / 4, z = this._nRounds = R + 6, q = (z + 1) * 4, I = this._keySchedule = [], m = 0; m < q; m++) + m < R ? I[m] = H[m] : (i = I[m - 1], m % R ? R > 6 && m % R == 4 && (i = C[i >>> 24] << 24 | C[i >>> 16 & 255] << 16 | C[i >>> 8 & 255] << 8 | C[i & 255]) : (i = i << 8 | i >>> 24, i = C[i >>> 24] << 24 | C[i >>> 16 & 255] << 16 | C[i >>> 8 & 255] << 8 | C[i & 255], i ^= F[m / R | 0] << 24), I[m] = I[m - R] ^ i); + for (var t = this._invKeySchedule = [], s = 0; s < q; s++) { var m = q - s; if (s % 4) - var i = W[m]; + var i = I[m]; else - var i = W[m - 4]; - s < 4 || m <= 4 ? a[s] = i : a[s] = l[B[i >>> 24]] ^ v[B[i >>> 16 & 255]] ^ C[B[i >>> 8 & 255]] ^ c[B[i & 255]]; + var i = I[m - 4]; + s < 4 || m <= 4 ? t[s] = i : t[s] = b[C[i >>> 24]] ^ v[C[i >>> 16 & 255]] ^ p[C[i >>> 8 & 255]] ^ c[C[i & 255]]; } } }, - encryptBlock: function(i, b) { - this._doCryptBlock(i, b, this._keySchedule, r, o, g, x, B); + encryptBlock: function(i, B) { + this._doCryptBlock(i, B, this._keySchedule, r, o, y, e, C); }, - decryptBlock: function(i, b) { - var y = i[b + 1]; - i[b + 1] = i[b + 3], i[b + 3] = y, this._doCryptBlock(i, b, this._invKeySchedule, l, v, C, c, E); - var y = i[b + 1]; - i[b + 1] = i[b + 3], i[b + 3] = y; + decryptBlock: function(i, B) { + var H = i[B + 1]; + i[B + 1] = i[B + 3], i[B + 3] = H, this._doCryptBlock(i, B, this._invKeySchedule, b, v, p, c, E); + var H = i[B + 1]; + i[B + 1] = i[B + 3], i[B + 3] = H; }, - _doCryptBlock: function(i, b, y, R, z, q, W, m) { - for (var a = this._nRounds, s = i[b] ^ y[0], t = i[b + 1] ^ y[1], d = i[b + 2] ^ y[2], u = i[b + 3] ^ y[3], S = 4, I = 1; I < a; I++) { - var U = R[s >>> 24] ^ z[t >>> 16 & 255] ^ q[d >>> 8 & 255] ^ W[u & 255] ^ y[S++], P = R[t >>> 24] ^ z[d >>> 16 & 255] ^ q[u >>> 8 & 255] ^ W[s & 255] ^ y[S++], O = R[d >>> 24] ^ z[u >>> 16 & 255] ^ q[s >>> 8 & 255] ^ W[t & 255] ^ y[S++], T = R[u >>> 24] ^ z[s >>> 16 & 255] ^ q[t >>> 8 & 255] ^ W[d & 255] ^ y[S++]; - s = U, t = P, d = O, u = T; + _doCryptBlock: function(i, B, H, R, z, q, I, m) { + for (var t = this._nRounds, s = i[B] ^ H[0], f = i[B + 1] ^ H[1], d = i[B + 2] ^ H[2], l = i[B + 3] ^ H[3], S = 4, L = 1; L < t; L++) { + var U = R[s >>> 24] ^ z[f >>> 16 & 255] ^ q[d >>> 8 & 255] ^ I[l & 255] ^ H[S++], P = R[f >>> 24] ^ z[d >>> 16 & 255] ^ q[l >>> 8 & 255] ^ I[s & 255] ^ H[S++], O = R[d >>> 24] ^ z[l >>> 16 & 255] ^ q[s >>> 8 & 255] ^ I[f & 255] ^ H[S++], T = R[l >>> 24] ^ z[s >>> 16 & 255] ^ q[f >>> 8 & 255] ^ I[d & 255] ^ H[S++]; + s = U, f = P, d = O, l = T; } - var U = (m[s >>> 24] << 24 | m[t >>> 16 & 255] << 16 | m[d >>> 8 & 255] << 8 | m[u & 255]) ^ y[S++], P = (m[t >>> 24] << 24 | m[d >>> 16 & 255] << 16 | m[u >>> 8 & 255] << 8 | m[s & 255]) ^ y[S++], O = (m[d >>> 24] << 24 | m[u >>> 16 & 255] << 16 | m[s >>> 8 & 255] << 8 | m[t & 255]) ^ y[S++], T = (m[u >>> 24] << 24 | m[s >>> 16 & 255] << 16 | m[t >>> 8 & 255] << 8 | m[d & 255]) ^ y[S++]; - i[b] = U, i[b + 1] = P, i[b + 2] = O, i[b + 3] = T; + var U = (m[s >>> 24] << 24 | m[f >>> 16 & 255] << 16 | m[d >>> 8 & 255] << 8 | m[l & 255]) ^ H[S++], P = (m[f >>> 24] << 24 | m[d >>> 16 & 255] << 16 | m[l >>> 8 & 255] << 8 | m[s & 255]) ^ H[S++], O = (m[d >>> 24] << 24 | m[l >>> 16 & 255] << 16 | m[s >>> 8 & 255] << 8 | m[f & 255]) ^ H[S++], T = (m[l >>> 24] << 24 | m[s >>> 16 & 255] << 16 | m[f >>> 8 & 255] << 8 | m[d & 255]) ^ H[S++]; + i[B] = U, i[B + 1] = P, i[B + 2] = O, i[B + 3] = T; }, keySize: 256 / 32 }); - e.AES = h._createHelper(f); - }(), n.AES; + x.AES = u._createHelper(n); + }(), a.AES; }); }(J0)), J0.exports; } -var xx = { exports: {} }, xe; -function Je() { - return xe || (xe = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), t0(), f0(), a0(), V()); - })(X, function(n) { +var xx = { exports: {} }, Qx; +function je() { + return Qx || (Qx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), t0(), f0(), a0(), V()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.WordArray, A = D.BlockCipher, B = e.algo, E = [ + var x = a, _ = x.lib, u = _.WordArray, A = _.BlockCipher, C = x.algo, E = [ 57, 49, 41, @@ -4630,7 +4630,7 @@ function Je() { 36, 29, 32 - ], o = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], g = [ + ], o = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], y = [ { 0: 8421888, 268435456: 32768, @@ -5159,7 +5159,7 @@ function Je() { 2147483678: 131104, 2147483679: 134350848 } - ], x = [ + ], e = [ 4160749569, 528482304, 33030144, @@ -5168,268 +5168,268 @@ function Je() { 8064, 504, 2147483679 - ], l = B.DES = A.extend({ + ], b = C.DES = A.extend({ _doReset: function() { - for (var F = this._key, f = F.words, i = [], b = 0; b < 56; b++) { - var y = E[b] - 1; - i[b] = f[y >>> 5] >>> 31 - y % 32 & 1; + for (var F = this._key, n = F.words, i = [], B = 0; B < 56; B++) { + var H = E[B] - 1; + i[B] = n[H >>> 5] >>> 31 - H % 32 & 1; } for (var R = this._subKeys = [], z = 0; z < 16; z++) { - for (var q = R[z] = [], W = o[z], b = 0; b < 24; b++) - q[b / 6 | 0] |= i[(r[b] - 1 + W) % 28] << 31 - b % 6, q[4 + (b / 6 | 0)] |= i[28 + (r[b + 24] - 1 + W) % 28] << 31 - b % 6; + for (var q = R[z] = [], I = o[z], B = 0; B < 24; B++) + q[B / 6 | 0] |= i[(r[B] - 1 + I) % 28] << 31 - B % 6, q[4 + (B / 6 | 0)] |= i[28 + (r[B + 24] - 1 + I) % 28] << 31 - B % 6; q[0] = q[0] << 1 | q[0] >>> 31; - for (var b = 1; b < 7; b++) - q[b] = q[b] >>> (b - 1) * 4 + 3; + for (var B = 1; B < 7; B++) + q[B] = q[B] >>> (B - 1) * 4 + 3; q[7] = q[7] << 5 | q[7] >>> 27; } - for (var m = this._invSubKeys = [], b = 0; b < 16; b++) - m[b] = R[15 - b]; + for (var m = this._invSubKeys = [], B = 0; B < 16; B++) + m[B] = R[15 - B]; }, - encryptBlock: function(F, f) { - this._doCryptBlock(F, f, this._subKeys); + encryptBlock: function(F, n) { + this._doCryptBlock(F, n, this._subKeys); }, - decryptBlock: function(F, f) { - this._doCryptBlock(F, f, this._invSubKeys); + decryptBlock: function(F, n) { + this._doCryptBlock(F, n, this._invSubKeys); }, - _doCryptBlock: function(F, f, i) { - this._lBlock = F[f], this._rBlock = F[f + 1], v.call(this, 4, 252645135), v.call(this, 16, 65535), C.call(this, 2, 858993459), C.call(this, 8, 16711935), v.call(this, 1, 1431655765); - for (var b = 0; b < 16; b++) { - for (var y = i[b], R = this._lBlock, z = this._rBlock, q = 0, W = 0; W < 8; W++) - q |= g[W][((z ^ y[W]) & x[W]) >>> 0]; + _doCryptBlock: function(F, n, i) { + this._lBlock = F[n], this._rBlock = F[n + 1], v.call(this, 4, 252645135), v.call(this, 16, 65535), p.call(this, 2, 858993459), p.call(this, 8, 16711935), v.call(this, 1, 1431655765); + for (var B = 0; B < 16; B++) { + for (var H = i[B], R = this._lBlock, z = this._rBlock, q = 0, I = 0; I < 8; I++) + q |= y[I][((z ^ H[I]) & e[I]) >>> 0]; this._lBlock = z, this._rBlock = R ^ q; } var m = this._lBlock; - this._lBlock = this._rBlock, this._rBlock = m, v.call(this, 1, 1431655765), C.call(this, 8, 16711935), C.call(this, 2, 858993459), v.call(this, 16, 65535), v.call(this, 4, 252645135), F[f] = this._lBlock, F[f + 1] = this._rBlock; + this._lBlock = this._rBlock, this._rBlock = m, v.call(this, 1, 1431655765), p.call(this, 8, 16711935), p.call(this, 2, 858993459), v.call(this, 16, 65535), v.call(this, 4, 252645135), F[n] = this._lBlock, F[n + 1] = this._rBlock; }, keySize: 64 / 32, ivSize: 64 / 32, blockSize: 64 / 32 }); - function v(F, f) { - var i = (this._lBlock >>> F ^ this._rBlock) & f; + function v(F, n) { + var i = (this._lBlock >>> F ^ this._rBlock) & n; this._rBlock ^= i, this._lBlock ^= i << F; } - function C(F, f) { - var i = (this._rBlock >>> F ^ this._lBlock) & f; + function p(F, n) { + var i = (this._rBlock >>> F ^ this._lBlock) & n; this._lBlock ^= i, this._rBlock ^= i << F; } - e.DES = A._createHelper(l); - var c = B.TripleDES = A.extend({ + x.DES = A._createHelper(b); + var c = C.TripleDES = A.extend({ _doReset: function() { - var F = this._key, f = F.words; - if (f.length !== 2 && f.length !== 4 && f.length < 6) + var F = this._key, n = F.words; + if (n.length !== 2 && n.length !== 4 && n.length < 6) throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192."); - var i = f.slice(0, 2), b = f.length < 4 ? f.slice(0, 2) : f.slice(2, 4), y = f.length < 6 ? f.slice(0, 2) : f.slice(4, 6); - this._des1 = l.createEncryptor(h.create(i)), this._des2 = l.createEncryptor(h.create(b)), this._des3 = l.createEncryptor(h.create(y)); + var i = n.slice(0, 2), B = n.length < 4 ? n.slice(0, 2) : n.slice(2, 4), H = n.length < 6 ? n.slice(0, 2) : n.slice(4, 6); + this._des1 = b.createEncryptor(u.create(i)), this._des2 = b.createEncryptor(u.create(B)), this._des3 = b.createEncryptor(u.create(H)); }, - encryptBlock: function(F, f) { - this._des1.encryptBlock(F, f), this._des2.decryptBlock(F, f), this._des3.encryptBlock(F, f); + encryptBlock: function(F, n) { + this._des1.encryptBlock(F, n), this._des2.decryptBlock(F, n), this._des3.encryptBlock(F, n); }, - decryptBlock: function(F, f) { - this._des3.decryptBlock(F, f), this._des2.encryptBlock(F, f), this._des1.decryptBlock(F, f); + decryptBlock: function(F, n) { + this._des3.decryptBlock(F, n), this._des2.encryptBlock(F, n), this._des1.decryptBlock(F, n); }, keySize: 192 / 32, ivSize: 64 / 32, blockSize: 64 / 32 }); - e.TripleDES = A._createHelper(c); - }(), n.TripleDES; + x.TripleDES = A._createHelper(c); + }(), a.TripleDES; }); }(xx)), xx.exports; } -var ex = { exports: {} }, ee; -function xr() { - return ee || (ee = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), t0(), f0(), a0(), V()); - })(X, function(n) { +var ex = { exports: {} }, Jx; +function Ze() { + return Jx || (Jx = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), t0(), f0(), a0(), V()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.StreamCipher, A = e.algo, B = A.RC4 = h.extend({ + var x = a, _ = x.lib, u = _.StreamCipher, A = x.algo, C = A.RC4 = u.extend({ _doReset: function() { - for (var o = this._key, g = o.words, x = o.sigBytes, l = this._S = [], v = 0; v < 256; v++) - l[v] = v; - for (var v = 0, C = 0; v < 256; v++) { - var c = v % x, F = g[c >>> 2] >>> 24 - c % 4 * 8 & 255; - C = (C + l[v] + F) % 256; - var f = l[v]; - l[v] = l[C], l[C] = f; + for (var o = this._key, y = o.words, e = o.sigBytes, b = this._S = [], v = 0; v < 256; v++) + b[v] = v; + for (var v = 0, p = 0; v < 256; v++) { + var c = v % e, F = y[c >>> 2] >>> 24 - c % 4 * 8 & 255; + p = (p + b[v] + F) % 256; + var n = b[v]; + b[v] = b[p], b[p] = n; } this._i = this._j = 0; }, - _doProcessBlock: function(o, g) { - o[g] ^= E.call(this); + _doProcessBlock: function(o, y) { + o[y] ^= E.call(this); }, keySize: 256 / 32, ivSize: 0 }); function E() { - for (var o = this._S, g = this._i, x = this._j, l = 0, v = 0; v < 4; v++) { - g = (g + 1) % 256, x = (x + o[g]) % 256; - var C = o[g]; - o[g] = o[x], o[x] = C, l |= o[(o[g] + o[x]) % 256] << 24 - v * 8; + for (var o = this._S, y = this._i, e = this._j, b = 0, v = 0; v < 4; v++) { + y = (y + 1) % 256, e = (e + o[y]) % 256; + var p = o[y]; + o[y] = o[e], o[e] = p, b |= o[(o[y] + o[e]) % 256] << 24 - v * 8; } - return this._i = g, this._j = x, l; + return this._i = y, this._j = e, b; } - e.RC4 = h._createHelper(B); - var r = A.RC4Drop = B.extend({ + x.RC4 = u._createHelper(C); + var r = A.RC4Drop = C.extend({ /** * Configuration options. * * @property {number} drop The number of keystream words to drop. Default 192 */ - cfg: B.cfg.extend({ + cfg: C.cfg.extend({ drop: 192 }), _doReset: function() { - B._doReset.call(this); + C._doReset.call(this); for (var o = this.cfg.drop; o > 0; o--) E.call(this); } }); - e.RC4Drop = h._createHelper(r); - }(), n.RC4; + x.RC4Drop = u._createHelper(r); + }(), a.RC4; }); }(ex)), ex.exports; } -var rx = { exports: {} }, re; -function er() { - return re || (re = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), t0(), f0(), a0(), V()); - })(X, function(n) { +var rx = { exports: {} }, xe; +function Ye() { + return xe || (xe = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), t0(), f0(), a0(), V()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.StreamCipher, A = e.algo, B = [], E = [], r = [], o = A.Rabbit = h.extend({ + var x = a, _ = x.lib, u = _.StreamCipher, A = x.algo, C = [], E = [], r = [], o = A.Rabbit = u.extend({ _doReset: function() { - for (var x = this._key.words, l = this.cfg.iv, v = 0; v < 4; v++) - x[v] = (x[v] << 8 | x[v] >>> 24) & 16711935 | (x[v] << 24 | x[v] >>> 8) & 4278255360; - var C = this._X = [ - x[0], - x[3] << 16 | x[2] >>> 16, - x[1], - x[0] << 16 | x[3] >>> 16, - x[2], - x[1] << 16 | x[0] >>> 16, - x[3], - x[2] << 16 | x[1] >>> 16 + for (var e = this._key.words, b = this.cfg.iv, v = 0; v < 4; v++) + e[v] = (e[v] << 8 | e[v] >>> 24) & 16711935 | (e[v] << 24 | e[v] >>> 8) & 4278255360; + var p = this._X = [ + e[0], + e[3] << 16 | e[2] >>> 16, + e[1], + e[0] << 16 | e[3] >>> 16, + e[2], + e[1] << 16 | e[0] >>> 16, + e[3], + e[2] << 16 | e[1] >>> 16 ], c = this._C = [ - x[2] << 16 | x[2] >>> 16, - x[0] & 4294901760 | x[1] & 65535, - x[3] << 16 | x[3] >>> 16, - x[1] & 4294901760 | x[2] & 65535, - x[0] << 16 | x[0] >>> 16, - x[2] & 4294901760 | x[3] & 65535, - x[1] << 16 | x[1] >>> 16, - x[3] & 4294901760 | x[0] & 65535 + e[2] << 16 | e[2] >>> 16, + e[0] & 4294901760 | e[1] & 65535, + e[3] << 16 | e[3] >>> 16, + e[1] & 4294901760 | e[2] & 65535, + e[0] << 16 | e[0] >>> 16, + e[2] & 4294901760 | e[3] & 65535, + e[1] << 16 | e[1] >>> 16, + e[3] & 4294901760 | e[0] & 65535 ]; this._b = 0; for (var v = 0; v < 4; v++) - g.call(this); + y.call(this); for (var v = 0; v < 8; v++) - c[v] ^= C[v + 4 & 7]; - if (l) { - var F = l.words, f = F[0], i = F[1], b = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, y = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, R = b >>> 16 | y & 4294901760, z = y << 16 | b & 65535; - c[0] ^= b, c[1] ^= R, c[2] ^= y, c[3] ^= z, c[4] ^= b, c[5] ^= R, c[6] ^= y, c[7] ^= z; + c[v] ^= p[v + 4 & 7]; + if (b) { + var F = b.words, n = F[0], i = F[1], B = (n << 8 | n >>> 24) & 16711935 | (n << 24 | n >>> 8) & 4278255360, H = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, R = B >>> 16 | H & 4294901760, z = H << 16 | B & 65535; + c[0] ^= B, c[1] ^= R, c[2] ^= H, c[3] ^= z, c[4] ^= B, c[5] ^= R, c[6] ^= H, c[7] ^= z; for (var v = 0; v < 4; v++) - g.call(this); + y.call(this); } }, - _doProcessBlock: function(x, l) { + _doProcessBlock: function(e, b) { var v = this._X; - g.call(this), B[0] = v[0] ^ v[5] >>> 16 ^ v[3] << 16, B[1] = v[2] ^ v[7] >>> 16 ^ v[5] << 16, B[2] = v[4] ^ v[1] >>> 16 ^ v[7] << 16, B[3] = v[6] ^ v[3] >>> 16 ^ v[1] << 16; - for (var C = 0; C < 4; C++) - B[C] = (B[C] << 8 | B[C] >>> 24) & 16711935 | (B[C] << 24 | B[C] >>> 8) & 4278255360, x[l + C] ^= B[C]; + y.call(this), C[0] = v[0] ^ v[5] >>> 16 ^ v[3] << 16, C[1] = v[2] ^ v[7] >>> 16 ^ v[5] << 16, C[2] = v[4] ^ v[1] >>> 16 ^ v[7] << 16, C[3] = v[6] ^ v[3] >>> 16 ^ v[1] << 16; + for (var p = 0; p < 4; p++) + C[p] = (C[p] << 8 | C[p] >>> 24) & 16711935 | (C[p] << 24 | C[p] >>> 8) & 4278255360, e[b + p] ^= C[p]; }, blockSize: 128 / 32, ivSize: 64 / 32 }); - function g() { - for (var x = this._X, l = this._C, v = 0; v < 8; v++) - E[v] = l[v]; - l[0] = l[0] + 1295307597 + this._b | 0, l[1] = l[1] + 3545052371 + (l[0] >>> 0 < E[0] >>> 0 ? 1 : 0) | 0, l[2] = l[2] + 886263092 + (l[1] >>> 0 < E[1] >>> 0 ? 1 : 0) | 0, l[3] = l[3] + 1295307597 + (l[2] >>> 0 < E[2] >>> 0 ? 1 : 0) | 0, l[4] = l[4] + 3545052371 + (l[3] >>> 0 < E[3] >>> 0 ? 1 : 0) | 0, l[5] = l[5] + 886263092 + (l[4] >>> 0 < E[4] >>> 0 ? 1 : 0) | 0, l[6] = l[6] + 1295307597 + (l[5] >>> 0 < E[5] >>> 0 ? 1 : 0) | 0, l[7] = l[7] + 3545052371 + (l[6] >>> 0 < E[6] >>> 0 ? 1 : 0) | 0, this._b = l[7] >>> 0 < E[7] >>> 0 ? 1 : 0; + function y() { + for (var e = this._X, b = this._C, v = 0; v < 8; v++) + E[v] = b[v]; + b[0] = b[0] + 1295307597 + this._b | 0, b[1] = b[1] + 3545052371 + (b[0] >>> 0 < E[0] >>> 0 ? 1 : 0) | 0, b[2] = b[2] + 886263092 + (b[1] >>> 0 < E[1] >>> 0 ? 1 : 0) | 0, b[3] = b[3] + 1295307597 + (b[2] >>> 0 < E[2] >>> 0 ? 1 : 0) | 0, b[4] = b[4] + 3545052371 + (b[3] >>> 0 < E[3] >>> 0 ? 1 : 0) | 0, b[5] = b[5] + 886263092 + (b[4] >>> 0 < E[4] >>> 0 ? 1 : 0) | 0, b[6] = b[6] + 1295307597 + (b[5] >>> 0 < E[5] >>> 0 ? 1 : 0) | 0, b[7] = b[7] + 3545052371 + (b[6] >>> 0 < E[6] >>> 0 ? 1 : 0) | 0, this._b = b[7] >>> 0 < E[7] >>> 0 ? 1 : 0; for (var v = 0; v < 8; v++) { - var C = x[v] + l[v], c = C & 65535, F = C >>> 16, f = ((c * c >>> 17) + c * F >>> 15) + F * F, i = ((C & 4294901760) * C | 0) + ((C & 65535) * C | 0); - r[v] = f ^ i; + var p = e[v] + b[v], c = p & 65535, F = p >>> 16, n = ((c * c >>> 17) + c * F >>> 15) + F * F, i = ((p & 4294901760) * p | 0) + ((p & 65535) * p | 0); + r[v] = n ^ i; } - x[0] = r[0] + (r[7] << 16 | r[7] >>> 16) + (r[6] << 16 | r[6] >>> 16) | 0, x[1] = r[1] + (r[0] << 8 | r[0] >>> 24) + r[7] | 0, x[2] = r[2] + (r[1] << 16 | r[1] >>> 16) + (r[0] << 16 | r[0] >>> 16) | 0, x[3] = r[3] + (r[2] << 8 | r[2] >>> 24) + r[1] | 0, x[4] = r[4] + (r[3] << 16 | r[3] >>> 16) + (r[2] << 16 | r[2] >>> 16) | 0, x[5] = r[5] + (r[4] << 8 | r[4] >>> 24) + r[3] | 0, x[6] = r[6] + (r[5] << 16 | r[5] >>> 16) + (r[4] << 16 | r[4] >>> 16) | 0, x[7] = r[7] + (r[6] << 8 | r[6] >>> 24) + r[5] | 0; + e[0] = r[0] + (r[7] << 16 | r[7] >>> 16) + (r[6] << 16 | r[6] >>> 16) | 0, e[1] = r[1] + (r[0] << 8 | r[0] >>> 24) + r[7] | 0, e[2] = r[2] + (r[1] << 16 | r[1] >>> 16) + (r[0] << 16 | r[0] >>> 16) | 0, e[3] = r[3] + (r[2] << 8 | r[2] >>> 24) + r[1] | 0, e[4] = r[4] + (r[3] << 16 | r[3] >>> 16) + (r[2] << 16 | r[2] >>> 16) | 0, e[5] = r[5] + (r[4] << 8 | r[4] >>> 24) + r[3] | 0, e[6] = r[6] + (r[5] << 16 | r[5] >>> 16) + (r[4] << 16 | r[4] >>> 16) | 0, e[7] = r[7] + (r[6] << 8 | r[6] >>> 24) + r[5] | 0; } - e.Rabbit = h._createHelper(o); - }(), n.Rabbit; + x.Rabbit = u._createHelper(o); + }(), a.Rabbit; }); }(rx)), rx.exports; } -var ax = { exports: {} }, ae; -function rr() { - return ae || (ae = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), t0(), f0(), a0(), V()); - })(X, function(n) { +var ax = { exports: {} }, ee; +function Qe() { + return ee || (ee = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), t0(), f0(), a0(), V()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.StreamCipher, A = e.algo, B = [], E = [], r = [], o = A.RabbitLegacy = h.extend({ + var x = a, _ = x.lib, u = _.StreamCipher, A = x.algo, C = [], E = [], r = [], o = A.RabbitLegacy = u.extend({ _doReset: function() { - var x = this._key.words, l = this.cfg.iv, v = this._X = [ - x[0], - x[3] << 16 | x[2] >>> 16, - x[1], - x[0] << 16 | x[3] >>> 16, - x[2], - x[1] << 16 | x[0] >>> 16, - x[3], - x[2] << 16 | x[1] >>> 16 - ], C = this._C = [ - x[2] << 16 | x[2] >>> 16, - x[0] & 4294901760 | x[1] & 65535, - x[3] << 16 | x[3] >>> 16, - x[1] & 4294901760 | x[2] & 65535, - x[0] << 16 | x[0] >>> 16, - x[2] & 4294901760 | x[3] & 65535, - x[1] << 16 | x[1] >>> 16, - x[3] & 4294901760 | x[0] & 65535 + var e = this._key.words, b = this.cfg.iv, v = this._X = [ + e[0], + e[3] << 16 | e[2] >>> 16, + e[1], + e[0] << 16 | e[3] >>> 16, + e[2], + e[1] << 16 | e[0] >>> 16, + e[3], + e[2] << 16 | e[1] >>> 16 + ], p = this._C = [ + e[2] << 16 | e[2] >>> 16, + e[0] & 4294901760 | e[1] & 65535, + e[3] << 16 | e[3] >>> 16, + e[1] & 4294901760 | e[2] & 65535, + e[0] << 16 | e[0] >>> 16, + e[2] & 4294901760 | e[3] & 65535, + e[1] << 16 | e[1] >>> 16, + e[3] & 4294901760 | e[0] & 65535 ]; this._b = 0; for (var c = 0; c < 4; c++) - g.call(this); + y.call(this); for (var c = 0; c < 8; c++) - C[c] ^= v[c + 4 & 7]; - if (l) { - var F = l.words, f = F[0], i = F[1], b = (f << 8 | f >>> 24) & 16711935 | (f << 24 | f >>> 8) & 4278255360, y = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, R = b >>> 16 | y & 4294901760, z = y << 16 | b & 65535; - C[0] ^= b, C[1] ^= R, C[2] ^= y, C[3] ^= z, C[4] ^= b, C[5] ^= R, C[6] ^= y, C[7] ^= z; + p[c] ^= v[c + 4 & 7]; + if (b) { + var F = b.words, n = F[0], i = F[1], B = (n << 8 | n >>> 24) & 16711935 | (n << 24 | n >>> 8) & 4278255360, H = (i << 8 | i >>> 24) & 16711935 | (i << 24 | i >>> 8) & 4278255360, R = B >>> 16 | H & 4294901760, z = H << 16 | B & 65535; + p[0] ^= B, p[1] ^= R, p[2] ^= H, p[3] ^= z, p[4] ^= B, p[5] ^= R, p[6] ^= H, p[7] ^= z; for (var c = 0; c < 4; c++) - g.call(this); + y.call(this); } }, - _doProcessBlock: function(x, l) { + _doProcessBlock: function(e, b) { var v = this._X; - g.call(this), B[0] = v[0] ^ v[5] >>> 16 ^ v[3] << 16, B[1] = v[2] ^ v[7] >>> 16 ^ v[5] << 16, B[2] = v[4] ^ v[1] >>> 16 ^ v[7] << 16, B[3] = v[6] ^ v[3] >>> 16 ^ v[1] << 16; - for (var C = 0; C < 4; C++) - B[C] = (B[C] << 8 | B[C] >>> 24) & 16711935 | (B[C] << 24 | B[C] >>> 8) & 4278255360, x[l + C] ^= B[C]; + y.call(this), C[0] = v[0] ^ v[5] >>> 16 ^ v[3] << 16, C[1] = v[2] ^ v[7] >>> 16 ^ v[5] << 16, C[2] = v[4] ^ v[1] >>> 16 ^ v[7] << 16, C[3] = v[6] ^ v[3] >>> 16 ^ v[1] << 16; + for (var p = 0; p < 4; p++) + C[p] = (C[p] << 8 | C[p] >>> 24) & 16711935 | (C[p] << 24 | C[p] >>> 8) & 4278255360, e[b + p] ^= C[p]; }, blockSize: 128 / 32, ivSize: 64 / 32 }); - function g() { - for (var x = this._X, l = this._C, v = 0; v < 8; v++) - E[v] = l[v]; - l[0] = l[0] + 1295307597 + this._b | 0, l[1] = l[1] + 3545052371 + (l[0] >>> 0 < E[0] >>> 0 ? 1 : 0) | 0, l[2] = l[2] + 886263092 + (l[1] >>> 0 < E[1] >>> 0 ? 1 : 0) | 0, l[3] = l[3] + 1295307597 + (l[2] >>> 0 < E[2] >>> 0 ? 1 : 0) | 0, l[4] = l[4] + 3545052371 + (l[3] >>> 0 < E[3] >>> 0 ? 1 : 0) | 0, l[5] = l[5] + 886263092 + (l[4] >>> 0 < E[4] >>> 0 ? 1 : 0) | 0, l[6] = l[6] + 1295307597 + (l[5] >>> 0 < E[5] >>> 0 ? 1 : 0) | 0, l[7] = l[7] + 3545052371 + (l[6] >>> 0 < E[6] >>> 0 ? 1 : 0) | 0, this._b = l[7] >>> 0 < E[7] >>> 0 ? 1 : 0; + function y() { + for (var e = this._X, b = this._C, v = 0; v < 8; v++) + E[v] = b[v]; + b[0] = b[0] + 1295307597 + this._b | 0, b[1] = b[1] + 3545052371 + (b[0] >>> 0 < E[0] >>> 0 ? 1 : 0) | 0, b[2] = b[2] + 886263092 + (b[1] >>> 0 < E[1] >>> 0 ? 1 : 0) | 0, b[3] = b[3] + 1295307597 + (b[2] >>> 0 < E[2] >>> 0 ? 1 : 0) | 0, b[4] = b[4] + 3545052371 + (b[3] >>> 0 < E[3] >>> 0 ? 1 : 0) | 0, b[5] = b[5] + 886263092 + (b[4] >>> 0 < E[4] >>> 0 ? 1 : 0) | 0, b[6] = b[6] + 1295307597 + (b[5] >>> 0 < E[5] >>> 0 ? 1 : 0) | 0, b[7] = b[7] + 3545052371 + (b[6] >>> 0 < E[6] >>> 0 ? 1 : 0) | 0, this._b = b[7] >>> 0 < E[7] >>> 0 ? 1 : 0; for (var v = 0; v < 8; v++) { - var C = x[v] + l[v], c = C & 65535, F = C >>> 16, f = ((c * c >>> 17) + c * F >>> 15) + F * F, i = ((C & 4294901760) * C | 0) + ((C & 65535) * C | 0); - r[v] = f ^ i; + var p = e[v] + b[v], c = p & 65535, F = p >>> 16, n = ((c * c >>> 17) + c * F >>> 15) + F * F, i = ((p & 4294901760) * p | 0) + ((p & 65535) * p | 0); + r[v] = n ^ i; } - x[0] = r[0] + (r[7] << 16 | r[7] >>> 16) + (r[6] << 16 | r[6] >>> 16) | 0, x[1] = r[1] + (r[0] << 8 | r[0] >>> 24) + r[7] | 0, x[2] = r[2] + (r[1] << 16 | r[1] >>> 16) + (r[0] << 16 | r[0] >>> 16) | 0, x[3] = r[3] + (r[2] << 8 | r[2] >>> 24) + r[1] | 0, x[4] = r[4] + (r[3] << 16 | r[3] >>> 16) + (r[2] << 16 | r[2] >>> 16) | 0, x[5] = r[5] + (r[4] << 8 | r[4] >>> 24) + r[3] | 0, x[6] = r[6] + (r[5] << 16 | r[5] >>> 16) + (r[4] << 16 | r[4] >>> 16) | 0, x[7] = r[7] + (r[6] << 8 | r[6] >>> 24) + r[5] | 0; + e[0] = r[0] + (r[7] << 16 | r[7] >>> 16) + (r[6] << 16 | r[6] >>> 16) | 0, e[1] = r[1] + (r[0] << 8 | r[0] >>> 24) + r[7] | 0, e[2] = r[2] + (r[1] << 16 | r[1] >>> 16) + (r[0] << 16 | r[0] >>> 16) | 0, e[3] = r[3] + (r[2] << 8 | r[2] >>> 24) + r[1] | 0, e[4] = r[4] + (r[3] << 16 | r[3] >>> 16) + (r[2] << 16 | r[2] >>> 16) | 0, e[5] = r[5] + (r[4] << 8 | r[4] >>> 24) + r[3] | 0, e[6] = r[6] + (r[5] << 16 | r[5] >>> 16) + (r[4] << 16 | r[4] >>> 16) | 0, e[7] = r[7] + (r[6] << 8 | r[6] >>> 24) + r[5] | 0; } - e.RabbitLegacy = h._createHelper(o); - }(), n.RabbitLegacy; + x.RabbitLegacy = u._createHelper(o); + }(), a.RabbitLegacy; }); }(ax)), ax.exports; } -var tx = { exports: {} }, te; -function ar() { - return te || (te = 1, function(p, w) { - (function(n, e, D) { - p.exports = e(K(), t0(), f0(), a0(), V()); - })(X, function(n) { +var tx = { exports: {} }, re; +function Je() { + return re || (re = 1, function(h, D) { + (function(a, x, _) { + h.exports = x(K(), t0(), f0(), a0(), V()); + })(X, function(a) { return function() { - var e = n, D = e.lib, h = D.BlockCipher, A = e.algo; - const B = 16, E = [ + var x = a, _ = x.lib, u = _.BlockCipher, A = x.algo; + const C = 16, E = [ 608135816, 2242054355, 320440878, @@ -6486,180 +6486,172 @@ function ar() { pbox: [], sbox: [] }; - function g(c, F) { - let f = F >> 24 & 255, i = F >> 16 & 255, b = F >> 8 & 255, y = F & 255, R = c.sbox[0][f] + c.sbox[1][i]; - return R = R ^ c.sbox[2][b], R = R + c.sbox[3][y], R; + function y(c, F) { + let n = F >> 24 & 255, i = F >> 16 & 255, B = F >> 8 & 255, H = F & 255, R = c.sbox[0][n] + c.sbox[1][i]; + return R = R ^ c.sbox[2][B], R = R + c.sbox[3][H], R; } - function x(c, F, f) { - let i = F, b = f, y; - for (let R = 0; R < B; ++R) - i = i ^ c.pbox[R], b = g(c, i) ^ b, y = i, i = b, b = y; - return y = i, i = b, b = y, b = b ^ c.pbox[B], i = i ^ c.pbox[B + 1], { left: i, right: b }; + function e(c, F, n) { + let i = F, B = n, H; + for (let R = 0; R < C; ++R) + i = i ^ c.pbox[R], B = y(c, i) ^ B, H = i, i = B, B = H; + return H = i, i = B, B = H, B = B ^ c.pbox[C], i = i ^ c.pbox[C + 1], { left: i, right: B }; } - function l(c, F, f) { - let i = F, b = f, y; - for (let R = B + 1; R > 1; --R) - i = i ^ c.pbox[R], b = g(c, i) ^ b, y = i, i = b, b = y; - return y = i, i = b, b = y, b = b ^ c.pbox[1], i = i ^ c.pbox[0], { left: i, right: b }; + function b(c, F, n) { + let i = F, B = n, H; + for (let R = C + 1; R > 1; --R) + i = i ^ c.pbox[R], B = y(c, i) ^ B, H = i, i = B, B = H; + return H = i, i = B, B = H, B = B ^ c.pbox[1], i = i ^ c.pbox[0], { left: i, right: B }; } - function v(c, F, f) { + function v(c, F, n) { for (let z = 0; z < 4; z++) { c.sbox[z] = []; for (let q = 0; q < 256; q++) c.sbox[z][q] = r[z][q]; } let i = 0; - for (let z = 0; z < B + 2; z++) - c.pbox[z] = E[z] ^ F[i], i++, i >= f && (i = 0); - let b = 0, y = 0, R = 0; - for (let z = 0; z < B + 2; z += 2) - R = x(c, b, y), b = R.left, y = R.right, c.pbox[z] = b, c.pbox[z + 1] = y; + for (let z = 0; z < C + 2; z++) + c.pbox[z] = E[z] ^ F[i], i++, i >= n && (i = 0); + let B = 0, H = 0, R = 0; + for (let z = 0; z < C + 2; z += 2) + R = e(c, B, H), B = R.left, H = R.right, c.pbox[z] = B, c.pbox[z + 1] = H; for (let z = 0; z < 4; z++) for (let q = 0; q < 256; q += 2) - R = x(c, b, y), b = R.left, y = R.right, c.sbox[z][q] = b, c.sbox[z][q + 1] = y; + R = e(c, B, H), B = R.left, H = R.right, c.sbox[z][q] = B, c.sbox[z][q + 1] = H; return !0; } - var C = A.Blowfish = h.extend({ + var p = A.Blowfish = u.extend({ _doReset: function() { if (this._keyPriorReset !== this._key) { - var c = this._keyPriorReset = this._key, F = c.words, f = c.sigBytes / 4; - v(o, F, f); + var c = this._keyPriorReset = this._key, F = c.words, n = c.sigBytes / 4; + v(o, F, n); } }, encryptBlock: function(c, F) { - var f = x(o, c[F], c[F + 1]); - c[F] = f.left, c[F + 1] = f.right; + var n = e(o, c[F], c[F + 1]); + c[F] = n.left, c[F + 1] = n.right; }, decryptBlock: function(c, F) { - var f = l(o, c[F], c[F + 1]); - c[F] = f.left, c[F + 1] = f.right; + var n = b(o, c[F], c[F + 1]); + c[F] = n.left, c[F + 1] = n.right; }, blockSize: 64 / 32, keySize: 128 / 32, ivSize: 64 / 32 }); - e.Blowfish = h._createHelper(C); - }(), n.Blowfish; + x.Blowfish = u._createHelper(p); + }(), a.Blowfish; }); }(tx)), tx.exports; } -(function(p, w) { - (function(n, e, D) { - p.exports = e(K(), A0(), ze(), Te(), t0(), qe(), f0(), se(), ix(), Ie(), de(), We(), Le(), Pe(), sx(), Ue(), a0(), V(), Oe(), $e(), Ne(), Xe(), Ge(), Me(), Ke(), Ve(), je(), Ze(), Ye(), Qe(), Je(), xr(), er(), rr(), ar()); - })(X, function(n) { - return n; +(function(h, D) { + (function(a, x, _) { + h.exports = x(K(), E0(), ke(), we(), t0(), Re(), f0(), oe(), cx(), Se(), ie(), ze(), Te(), qe(), ox(), Le(), a0(), V(), Ie(), We(), Pe(), Ue(), Oe(), $e(), Ne(), Xe(), Me(), Ge(), Ke(), Ve(), je(), Ze(), Ye(), Qe(), Je()); + })(X, function(a) { + return a; }); -})(ie); -var tr = ie.exports; -const $ = /* @__PURE__ */ fe(tr); -function fx(p) { - const w = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; - let n = ""; - const e = w.length; - for (let D = 0; D < p; D++) - n += w.charAt(Math.floor(Math.random() * e)); - return n; -} -function b0(p) { - return $.SHA512($.enc.Latin1.parse(p)).toString($.enc.Latin1); +})(ce); +var xr = ce.exports; +const $ = /* @__PURE__ */ ae(xr); +function b0(h) { + return $.SHA512($.enc.Latin1.parse(h)).toString($.enc.Latin1); } -function B0(p) { - return $.SHA256($.enc.Latin1.parse(p)).toString($.enc.Latin1); +function B0(h) { + return $.SHA256($.enc.Latin1.parse(h)).toString($.enc.Latin1); } -function cx(p, w) { - for (var n = "", e = 0; e < Math.floor(w / 32); e++) - n += p; - return n += p.substr(0, w % 32), n; +function fx(h, D) { + for (var a = "", x = 0; x < Math.floor(D / 32); x++) + a += h; + return a += h.substr(0, D % 32), a; } -function ox(p, w) { - for (var n = "", e = 0; e < Math.floor(w / 64); e++) - n += p; - return n += p.substr(0, w % 64), n; +function nx(h, D) { + for (var a = "", x = 0; x < Math.floor(D / 64); x++) + a += h; + return a += h.substr(0, D % 64), a; } -function fr(p, w) { - for (var n = b0(p + w + p), e = p.length, D = ox(n, p.length), h = p + w + D, A = e; A > 0; A >>= 1) - A & 1 ? h += n : h += p; - var B = b0(h); - return B; +function er(h, D) { + for (var a = b0(h + D + h), x = h.length, _ = nx(a, h.length), u = h + D + _, A = x; A > 0; A >>= 1) + A & 1 ? u += a : u += h; + var C = b0(u); + return C; } -function nr(p, w) { - for (var n = B0(p + w + p), e = p.length, D = cx(n, p.length), h = p + w + D, A = e; A > 0; A >>= 1) - A & 1 ? h += n : h += p; - var B = B0(h); - return B; +function rr(h, D) { + for (var a = B0(h + D + h), x = h.length, _ = fx(a, h.length), u = h + D + _, A = x; A > 0; A >>= 1) + A & 1 ? u += a : u += h; + var C = B0(u); + return C; } -function cr(p, w, n) { - for (var e = nr(p, w), D = "", h = 0; h < p.length; h++) - D += p; - for (var A = B0(D), B = cx(A, p.length), E = "", h = 0; h < 16 + e.charCodeAt(0); h++) - E += w; - for (var r = B0(E), o = cx(r, w.length), g = e, x = "", h = 0; h < n; h++) - x = "", h & 1 ? x += B : x += g, h % 3 && (x += o), h % 7 && (x += B), h & 1 ? x += g : x += B, g = B0(x); - return g; +function ar(h, D, a) { + for (var x = rr(h, D), _ = "", u = 0; u < h.length; u++) + _ += h; + for (var A = B0(_), C = fx(A, h.length), E = "", u = 0; u < 16 + x.charCodeAt(0); u++) + E += D; + for (var r = B0(E), o = fx(r, D.length), y = x, e = "", u = 0; u < a; u++) + e = "", u & 1 ? e += C : e += y, u % 3 && (e += o), u % 7 && (e += C), u & 1 ? e += y : e += C, y = B0(e); + return y; } -function or(p, w, n) { - for (var e = fr(p, w), D = "", h = 0; h < p.length; h++) - D += p; - for (var A = b0(D), B = ox(A, p.length), E = "", h = 0; h < 16 + e.charCodeAt(0); h++) - E += w; - for (var r = b0(E), o = ox(r, w.length), g = e, x = "", h = 0; h < n; h++) - x = "", h & 1 ? x += B : x += g, h % 3 && (x += o), h % 7 && (x += B), h & 1 ? x += g : x += B, g = b0(x); - return g; +function tr(h, D, a) { + for (var x = er(h, D), _ = "", u = 0; u < h.length; u++) + _ += h; + for (var A = b0(_), C = nx(A, h.length), E = "", u = 0; u < 16 + x.charCodeAt(0); u++) + E += D; + for (var r = b0(E), o = nx(r, D.length), y = x, e = "", u = 0; u < a; u++) + e = "", u & 1 ? e += C : e += y, u % 3 && (e += o), u % 7 && (e += C), u & 1 ? e += y : e += C, y = b0(e); + return y; } -function ve(p, w) { - var n = "$6$", e, D = w.split("$"); - D.length > 1 && (e = parseInt(D[2].split("=")[1]), e ? (e < 1e3 && (e = 1e3), e > 999999999 && (e = 999999999), w = D[3] || w) : w = D[2] || w), w = w.substr(0, 16); - var h = "", A = ""; - return h = or(p, w, e || 5e3), A = M(h, 0, 21, 42) + M(h, 22, 43, 1) + M(h, 44, 2, 23) + M(h, 3, 24, 45) + M(h, 25, 46, 4) + M(h, 47, 5, 26) + M(h, 6, 27, 48) + M(h, 28, 49, 7) + M(h, 50, 8, 29) + M(h, 9, 30, 51) + M(h, 31, 52, 10) + M(h, 53, 11, 32) + M(h, 12, 33, 54) + M(h, 34, 55, 13) + M(h, 56, 14, 35) + M(h, 15, 36, 57) + M(h, 37, 58, 16) + M(h, 59, 17, 38) + M(h, 18, 39, 60) + M(h, 40, 61, 19) + M(h, 62, 20, 41) + he(h, 63), n + w + "$" + A; +function fr(h, D) { + var a = "$6$", x, _ = D.split("$"); + _.length > 1 && (x = parseInt(_[2].split("=")[1]), x ? (x < 1e3 && (x = 1e3), x > 999999999 && (x = 999999999), D = _[3] || D) : D = _[2] || D), D = D.substr(0, 16); + var u = "", A = ""; + return u = tr(h, D, x || 5e3), A = G(u, 0, 21, 42) + G(u, 22, 43, 1) + G(u, 44, 2, 23) + G(u, 3, 24, 45) + G(u, 25, 46, 4) + G(u, 47, 5, 26) + G(u, 6, 27, 48) + G(u, 28, 49, 7) + G(u, 50, 8, 29) + G(u, 9, 30, 51) + G(u, 31, 52, 10) + G(u, 53, 11, 32) + G(u, 12, 33, 54) + G(u, 34, 55, 13) + G(u, 56, 14, 35) + G(u, 15, 36, 57) + G(u, 37, 58, 16) + G(u, 59, 17, 38) + G(u, 18, 39, 60) + G(u, 40, 61, 19) + G(u, 62, 20, 41) + se(u, 63), a + D + "$" + A; } -function ue(p, w) { - var n = "$5$", e, D = w.split("$"); - D.length > 1 && (e = parseInt(D[2].split("=")[1]), e ? (e < 1e3 && (e = 1e3), e > 999999999 && (e = 999999999), w = D[3] || w) : w = D[2] || w), w = w.substr(0, 16); - var h = "", A = ""; - h = cr(p, w, e || 5e3); - var A = M(h, 0, 10, 20) + M(h, 21, 1, 11) + M(h, 12, 22, 2) + M(h, 3, 13, 23) + M(h, 24, 4, 14) + M(h, 15, 25, 5) + M(h, 6, 16, 26) + M(h, 27, 7, 17) + M(h, 18, 28, 8) + M(h, 9, 19, 29) + ir(h, 31, 30); - return n + w + "$" + A; +function nr(h, D) { + var a = "$5$", x, _ = D.split("$"); + _.length > 1 && (x = parseInt(_[2].split("=")[1]), x ? (x < 1e3 && (x = 1e3), x > 999999999 && (x = 999999999), D = _[3] || D) : D = _[2] || D), D = D.substr(0, 16); + var u = "", A = ""; + u = ar(h, D, x || 5e3); + var A = G(u, 0, 10, 20) + G(u, 21, 1, 11) + G(u, 12, 22, 2) + G(u, 3, 13, 23) + G(u, 24, 4, 14) + G(u, 15, 25, 5) + G(u, 6, 16, 26) + G(u, 27, 7, 17) + G(u, 18, 28, 8) + G(u, 9, 19, 29) + cr(u, 31, 30); + return a + D + "$" + A; } -function dx(p, w) { - const n = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; - for (var e = ""; --w >= 0; ) - e += n.charAt(p & 63), p >>= 6; - return e; +function ix(h, D) { + const a = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; + for (var x = ""; --D >= 0; ) + x += a.charAt(h & 63), h >>= 6; + return x; } -function M(p, w, n, e) { - var D = p.charCodeAt(w) << 16 | p.charCodeAt(n) << 8 | p.charCodeAt(e); - return dx(D, 4); +function G(h, D, a, x) { + var _ = h.charCodeAt(D) << 16 | h.charCodeAt(a) << 8 | h.charCodeAt(x); + return ix(_, 4); } -function ir(p, w, n) { - var e = p.charCodeAt(w) << 8 | p.charCodeAt(n); - return dx(e, 3); +function cr(h, D, a) { + var x = h.charCodeAt(D) << 8 | h.charCodeAt(a); + return ix(x, 3); } -function he(p, w) { - var n = p.charCodeAt(w); - return dx(n, 2); +function se(h, D) { + var a = h.charCodeAt(D); + return ix(a, 2); } -function le(p, w) { - var n = p.length, e = p + "$1$" + w, D = p + w + p, h = $.MD5(D); - for (n; n > 0; n -= 16) - n > 16 ? e = e.concat(h.toString($.enc.Latin1)) : e = e.concat(h.toString($.enc.Latin1).substring(0, n)); - for (var A = p.length; A != 0; A >>= 1) - A % 2 == 1 ? e += "\0" : e += p.charAt(0); - var B = $.MD5($.enc.Latin1.parse(e)); +function or(h, D) { + var a = h.length, x = h + "$1$" + D, _ = h + D + h, u = $.MD5(_); + for (a; a > 0; a -= 16) + a > 16 ? x = x.concat(u.toString($.enc.Latin1)) : x = x.concat(u.toString($.enc.Latin1).substring(0, a)); + for (var A = h.length; A != 0; A >>= 1) + A % 2 == 1 ? x += "\0" : x += h.charAt(0); + var C = $.MD5($.enc.Latin1.parse(x)); for (A = 0; A < 1e3; A++) { var E = ""; - A & 1 ? E += p : E += B.toString($.enc.Latin1), A % 3 && (E += w), A % 7 && (E += p), A & 1 ? E += B.toString($.enc.Latin1) : E += p, B = $.MD5($.enc.Latin1.parse(E)); + A & 1 ? E += h : E += C.toString($.enc.Latin1), A % 3 && (E += D), A % 7 && (E += h), A & 1 ? E += C.toString($.enc.Latin1) : E += h, C = $.MD5($.enc.Latin1.parse(E)); } - var r = "$1$" + w + "$" + M(B.toString($.enc.Latin1), 0, 6, 12) + M(B.toString($.enc.Latin1), 1, 7, 13) + M(B.toString($.enc.Latin1), 2, 8, 14) + M(B.toString($.enc.Latin1), 3, 9, 15) + M(B.toString($.enc.Latin1), 4, 10, 5) + he(B.toString($.enc.Latin1), 11); + var r = "$1$" + D + "$" + G(C.toString($.enc.Latin1), 0, 6, 12) + G(C.toString($.enc.Latin1), 1, 7, 13) + G(C.toString($.enc.Latin1), 2, 8, 14) + G(C.toString($.enc.Latin1), 3, 9, 15) + G(C.toString($.enc.Latin1), 4, 10, 5) + se(C.toString($.enc.Latin1), 11); return r; } -(function(p) { - var w = $, n = w.lib, e = n.WordArray, D = n.Hasher, h = w.algo, A = [ +(function(h) { + var D = $, a = D.lib, x = a.WordArray, _ = a.Hasher, u = D.algo, A = [ [3, 7, 11, 19], [3, 5, 9, 13], [3, 9, 11, 15] - ], B = 0, E = 1518500249, r = 1859775393, o = h.MD4 = D.extend({ + ], C = 0, E = 1518500249, r = 1859775393, o = u.MD4 = _.extend({ _doReset: function() { - this._hash = new e.init([ + this._hash = new x.init([ 1732584193, 4023233417, 2562383102, @@ -6667,162 +6659,181 @@ function le(p, w) { ]); }, _doProcessBlock: function(c, F) { - for (var f = 0; f < 16; f++) { - var i = F + f, b = c[i]; - c[i] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360; + for (var n = 0; n < 16; n++) { + var i = F + n, B = c[i]; + c[i] = (B << 8 | B >>> 24) & 16711935 | (B << 24 | B >>> 8) & 4278255360; } - var y = this._hash.words, R = c[F + 0], z = c[F + 1], q = c[F + 2], W = c[F + 3], m = c[F + 4], a = c[F + 5], s = c[F + 6], t = c[F + 7], d = c[F + 8], u = c[F + 9], S = c[F + 10], I = c[F + 11], U = c[F + 12], P = c[F + 13], O = c[F + 14], T = c[F + 15], _ = y[0], k = y[1], H = y[2], L = y[3]; - _ = x(l, B, _, k, H, L, R, A[0][0]), L = x(l, B, L, _, k, H, z, A[0][1]), H = x(l, B, H, L, _, k, q, A[0][2]), k = x(l, B, k, H, L, _, W, A[0][3]), _ = x(l, B, _, k, H, L, m, A[0][0]), L = x(l, B, L, _, k, H, a, A[0][1]), H = x(l, B, H, L, _, k, s, A[0][2]), k = x(l, B, k, H, L, _, t, A[0][3]), _ = x(l, B, _, k, H, L, d, A[0][0]), L = x(l, B, L, _, k, H, u, A[0][1]), H = x(l, B, H, L, _, k, S, A[0][2]), k = x(l, B, k, H, L, _, I, A[0][3]), _ = x(l, B, _, k, H, L, U, A[0][0]), L = x(l, B, L, _, k, H, P, A[0][1]), H = x(l, B, H, L, _, k, O, A[0][2]), k = x(l, B, k, H, L, _, T, A[0][3]), _ = x(v, E, _, k, H, L, R, A[1][0]), L = x(v, E, L, _, k, H, m, A[1][1]), H = x(v, E, H, L, _, k, d, A[1][2]), k = x(v, E, k, H, L, _, U, A[1][3]), _ = x(v, E, _, k, H, L, z, A[1][0]), L = x(v, E, L, _, k, H, a, A[1][1]), H = x(v, E, H, L, _, k, u, A[1][2]), k = x(v, E, k, H, L, _, P, A[1][3]), _ = x(v, E, _, k, H, L, q, A[1][0]), L = x(v, E, L, _, k, H, s, A[1][1]), H = x(v, E, H, L, _, k, S, A[1][2]), k = x(v, E, k, H, L, _, O, A[1][3]), _ = x(v, E, _, k, H, L, W, A[1][0]), L = x(v, E, L, _, k, H, t, A[1][1]), H = x(v, E, H, L, _, k, I, A[1][2]), k = x(v, E, k, H, L, _, T, A[1][3]), _ = x(C, r, _, k, H, L, R, A[2][0]), L = x(C, r, L, _, k, H, d, A[2][1]), H = x(C, r, H, L, _, k, m, A[2][2]), k = x(C, r, k, H, L, _, U, A[2][3]), _ = x(C, r, _, k, H, L, q, A[2][0]), L = x(C, r, L, _, k, H, S, A[2][1]), H = x(C, r, H, L, _, k, s, A[2][2]), k = x(C, r, k, H, L, _, O, A[2][3]), _ = x(C, r, _, k, H, L, z, A[2][0]), L = x(C, r, L, _, k, H, u, A[2][1]), H = x(C, r, H, L, _, k, a, A[2][2]), k = x(C, r, k, H, L, _, P, A[2][3]), _ = x(C, r, _, k, H, L, W, A[2][0]), L = x(C, r, L, _, k, H, I, A[2][1]), H = x(C, r, H, L, _, k, t, A[2][2]), k = x(C, r, k, H, L, _, T, A[2][3]), y[0] = y[0] + _ | 0, y[1] = y[1] + k | 0, y[2] = y[2] + H | 0, y[3] = y[3] + L | 0; + var H = this._hash.words, R = c[F + 0], z = c[F + 1], q = c[F + 2], I = c[F + 3], m = c[F + 4], t = c[F + 5], s = c[F + 6], f = c[F + 7], d = c[F + 8], l = c[F + 9], S = c[F + 10], L = c[F + 11], U = c[F + 12], P = c[F + 13], O = c[F + 14], T = c[F + 15], g = H[0], w = H[1], k = H[2], W = H[3]; + g = e(b, C, g, w, k, W, R, A[0][0]), W = e(b, C, W, g, w, k, z, A[0][1]), k = e(b, C, k, W, g, w, q, A[0][2]), w = e(b, C, w, k, W, g, I, A[0][3]), g = e(b, C, g, w, k, W, m, A[0][0]), W = e(b, C, W, g, w, k, t, A[0][1]), k = e(b, C, k, W, g, w, s, A[0][2]), w = e(b, C, w, k, W, g, f, A[0][3]), g = e(b, C, g, w, k, W, d, A[0][0]), W = e(b, C, W, g, w, k, l, A[0][1]), k = e(b, C, k, W, g, w, S, A[0][2]), w = e(b, C, w, k, W, g, L, A[0][3]), g = e(b, C, g, w, k, W, U, A[0][0]), W = e(b, C, W, g, w, k, P, A[0][1]), k = e(b, C, k, W, g, w, O, A[0][2]), w = e(b, C, w, k, W, g, T, A[0][3]), g = e(v, E, g, w, k, W, R, A[1][0]), W = e(v, E, W, g, w, k, m, A[1][1]), k = e(v, E, k, W, g, w, d, A[1][2]), w = e(v, E, w, k, W, g, U, A[1][3]), g = e(v, E, g, w, k, W, z, A[1][0]), W = e(v, E, W, g, w, k, t, A[1][1]), k = e(v, E, k, W, g, w, l, A[1][2]), w = e(v, E, w, k, W, g, P, A[1][3]), g = e(v, E, g, w, k, W, q, A[1][0]), W = e(v, E, W, g, w, k, s, A[1][1]), k = e(v, E, k, W, g, w, S, A[1][2]), w = e(v, E, w, k, W, g, O, A[1][3]), g = e(v, E, g, w, k, W, I, A[1][0]), W = e(v, E, W, g, w, k, f, A[1][1]), k = e(v, E, k, W, g, w, L, A[1][2]), w = e(v, E, w, k, W, g, T, A[1][3]), g = e(p, r, g, w, k, W, R, A[2][0]), W = e(p, r, W, g, w, k, d, A[2][1]), k = e(p, r, k, W, g, w, m, A[2][2]), w = e(p, r, w, k, W, g, U, A[2][3]), g = e(p, r, g, w, k, W, q, A[2][0]), W = e(p, r, W, g, w, k, S, A[2][1]), k = e(p, r, k, W, g, w, s, A[2][2]), w = e(p, r, w, k, W, g, O, A[2][3]), g = e(p, r, g, w, k, W, z, A[2][0]), W = e(p, r, W, g, w, k, l, A[2][1]), k = e(p, r, k, W, g, w, t, A[2][2]), w = e(p, r, w, k, W, g, P, A[2][3]), g = e(p, r, g, w, k, W, I, A[2][0]), W = e(p, r, W, g, w, k, L, A[2][1]), k = e(p, r, k, W, g, w, f, A[2][2]), w = e(p, r, w, k, W, g, T, A[2][3]), H[0] = H[0] + g | 0, H[1] = H[1] + w | 0, H[2] = H[2] + k | 0, H[3] = H[3] + W | 0; }, _doFinalize: function() { - var c = this._data, F = c.words, f = this._nDataBytes * 8, i = c.sigBytes * 8; + var c = this._data, F = c.words, n = this._nDataBytes * 8, i = c.sigBytes * 8; F[i >>> 5] |= 128 << 24 - i % 32; - var b = p.floor(f / 4294967296), y = f; - F[(i + 64 >>> 9 << 4) + 15] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, F[(i + 64 >>> 9 << 4) + 14] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, c.sigBytes = (F.length + 1) * 4, this._process(); + var B = h.floor(n / 4294967296), H = n; + F[(i + 64 >>> 9 << 4) + 15] = (B << 8 | B >>> 24) & 16711935 | (B << 24 | B >>> 8) & 4278255360, F[(i + 64 >>> 9 << 4) + 14] = (H << 8 | H >>> 24) & 16711935 | (H << 24 | H >>> 8) & 4278255360, c.sigBytes = (F.length + 1) * 4, this._process(); for (var R = this._hash, z = R.words, q = 0; q < 4; q++) { - var W = z[q]; - z[q] = (W << 8 | W >>> 24) & 16711935 | (W << 24 | W >>> 8) & 4278255360; + var I = z[q]; + z[q] = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360; } return R; }, clone: function() { - var c = D.clone.call(this); + var c = _.clone.call(this); return c._hash = this._hash.clone(), c; } }); - function g(c, F) { + function y(c, F) { return c << F | c >>> 32 - F; } - function x(c, F, f, i, b, y, R, z) { - return g(f + c(i, b, y) + R + F, z); + function e(c, F, n, i, B, H, R, z) { + return y(n + c(i, B, H) + R + F, z); } - function l(c, F, f) { - return c & F | ~c & f; + function b(c, F, n) { + return c & F | ~c & n; } - function v(c, F, f) { - return c & F | c & f | F & f; + function v(c, F, n) { + return c & F | c & n | F & n; } - function C(c, F, f) { - return c ^ F ^ f; + function p(c, F, n) { + return c ^ F ^ n; } - w.MD4 = D._createHelper(o), w.HmacMD4 = D._createHmacHelper(o); + D.MD4 = _._createHelper(o), D.HmacMD4 = _._createHmacHelper(o); })(Math); -function sr(p, w, n, e, D) { - let h = $.enc.Hex.parse(dr(D, "ntlm")); - var A = $.enc.Utf16LE.parse(p.toUpperCase() + w), B = $.HmacMD5(A, h), E = $.HmacMD5($.enc.Hex.parse(n + e), B); +function ir(h) { + let D = 1345345333, a = 305419889, x = 7; + for (let u = 0; u < h.length; u++) { + let A = h.charCodeAt(u); + D ^= ((D & 63) + x) * A + (D << 8), a += a << 8 ^ D, x += A; + } + let _ = (D >>> 0).toString(16) + (a >>> 0).toString(16); + for (; _.length < 16; ) + _ = "0" + _; + return _; +} +function sr(h, D, a, x, _) { + let u = $.enc.Hex.parse($.MD4($.enc.Utf16LE.parse(_)).toString().toUpperCase()); + var A = $.enc.Utf16LE.parse(h.toUpperCase() + D), C = $.HmacMD5(A, u), E = $.HmacMD5($.enc.Hex.parse(a + x), C); return $.enc.Hex.stringify(E); } -function Dr(p, w, n) { - switch (n) { +function mr(h, D, a) { + switch (a) { case "jwt": - return br(p, w); + return hr(h, D); case "netntlmv2": - return vr(p, w); + return dr(h, D); case "ntlm": - return Br(p, w); + return br(h, D); case "md5": - return Cr(p, w); + return Br(h, D); case "sha1": - return pr(p, w); - case "sha256": - return Er(p, w); - case "sha512": - return Ar(p, w); - case "bcrypt": - return Fr(p, w); - case "md5crypt": - return ur(p, w); - case "sha256crypt": - return hr(p, w); - case "sha512crypt": - return lr(p, w); - default: - throw new Error(`Unsupported hash type: ${n}`); - } -} -function dr(p, w) { - switch (w) { + return Cr(h, D); case "sha256": - return $.SHA256(p).toString($.enc.Hex); + return pr(h, D); case "sha512": - return $.SHA512(p).toString($.enc.Hex); - case "ntlm": - return $.MD4($.enc.Utf16LE.parse(p)).toString().toUpperCase(); - case "md5": - return $.MD5(p).toString($.enc.Hex); - case "sha1": - return $.SHA1(p).toString($.enc.Hex); + return Ar(h, D); case "bcrypt": - return nx.setRandomFallback((n) => { - const e = new Uint8Array(n); - for (let D = 0; D < n; D++) - e[D] = Math.floor(Math.random() * 256); - return e; - }), nx.hashSync(p, 8); + return Er(h, D); case "md5crypt": - return le(p, fx(8)); + return vr(h, D); case "sha256crypt": - return ue(p, fx(8)); + return ur(h, D); case "sha512crypt": - return ve(p, fx(8)); + return lr(h, D); + case "hmac-md5": + return Fr(h, D); + case "hmac-sha1": + return Dr(h, D); + case "hmac-sha256": + return _r(h, D); + case "hmac-sha512": + return gr(h, D); + case "mysql323": + return yr(h, D); + case "sap-codvn-b": + return Hr(h, D); default: - throw new Error(`Unsupported hash type: ${w}`); + throw new Error(`Unsupported hash type: ${a}`); } } -function vr(p, w) { - let n = w.split(":"); - if (n.length < 6) +function dr(h, D) { + let a = D.split(":"); + if (a.length < 6) return !1; - var e = n[0], D = n[2], h = n[3], A = n[4], B = n[5], E = sr(e, D, h, B, p); + var x = a[0], _ = a[2], u = a[3], A = a[4], C = a[5], E = sr(x, _, u, C, h); return E === A; } -function ur(p, w) { - return le(p, w.split("$")[2]) === w; +function vr(h, D) { + return or(h, D.split("$")[2]) === D; } -function hr(p, w) { - var n = w.split("$"), e, D, h; - if (n.length > 1) - D = parseInt(n[2].split("=")[1]), D ? (e = n[3], h = n[4]) : (e = n[2], h = n[3]); +function ur(h, D) { + var a = D.split("$"), x, _, u; + if (a.length > 1) + _ = parseInt(a[2].split("=")[1]), _ ? (x = a[3], u = a[4]) : (x = a[2], u = a[3]); else return !1; - var A = "$5$" + e + "$" + h; - return ue(p, w) === A; + var A = "$5$" + x + "$" + u; + return nr(h, D) === A; } -function lr(p, w) { - var n = w.split("$"), e, D, h; - if (n.length > 1) - e = parseInt(n[2].split("=")[1]), e ? (D = n[3], h = n[4]) : (D = n[2], h = n[3]); +function lr(h, D) { + var a = D.split("$"), x, _, u; + if (a.length > 1) + x = parseInt(a[2].split("=")[1]), x ? (_ = a[3], u = a[4]) : (_ = a[2], u = a[3]); else return !1; - var A = "$6$" + D + "$" + h; - return ve(p, w) === A; + var A = "$6$" + _ + "$" + u; + return fr(h, D) === A; +} +function hr(h, D) { + const a = D.split("."); + var x = String(a[0]) + "." + String(a[1]), _ = $.HmacSHA256(String(x), String(h)).toString($.enc.Base64).replaceAll("=", "").replaceAll("+", "-").replaceAll("/", "_"); + return a[2] == _; +} +function br(h, D) { + return $.MD4($.enc.Utf16LE.parse(h)).toString().toUpperCase() === D.toString().toUpperCase(); +} +function Br(h, D) { + return $.MD5(h).toString($.enc.Hex) === D.toLowerCase(); +} +function Cr(h, D) { + return $.SHA1(h).toString($.enc.Hex) === D.toLowerCase(); +} +function pr(h, D) { + return $.SHA256(h).toString($.enc.Hex) === D.toLowerCase(); +} +function Ar(h, D) { + return $.SHA512(h).toString($.enc.Hex) === D.toLowerCase(); } -function br(p, w) { - const n = w.split("."); - var e = String(n[0]) + "." + String(n[1]), D = $.HmacSHA256(String(e), String(p)).toString($.enc.Base64).replaceAll("=", "").replaceAll("+", "-").replaceAll("/", "_"); - return n[2] == D; +function Er(h, D) { + return me.compareSync(h, D); } -function Br(p, w) { - return $.MD4($.enc.Utf16LE.parse(p)).toString().toUpperCase() === w.toString().toUpperCase(); +function Fr(h, D) { + const a = D.split(":"); + let x = null; + return a.length == 2 ? (x = $.HmacMD5(h, a[1]).toString($.enc.Hex), x === a[0].toLowerCase()) : (x = $.HmacMD5(h, h).toString($.enc.Hex), x === D.toLowerCase()); } -function Cr(p, w) { - return $.MD5(p).toString($.enc.Hex) === w; +function Dr(h, D) { + const a = D.split(":"); + let x = null; + return a.length == 2 ? (x = $.HmacSHA1(h, a[1]).toString($.enc.Hex), x === a[0].toLowerCase()) : (x = $.HmacSHA1(h, h).toString($.enc.Hex), x === D.toLowerCase()); } -function pr(p, w) { - return $.SHA1(p).toString($.enc.Hex) === w; +function _r(h, D) { + const a = D.split(":"); + let x = null; + return a.length == 2 ? (x = $.HmacSHA256(h, a[1]).toString($.enc.Hex), x === a[0].toLowerCase()) : (x = $.HmacSHA256(h, h).toString($.enc.Hex), x === D.toLowerCase()); } -function Er(p, w) { - return $.SHA256(p).toString($.enc.Hex) === w; +function gr(h, D) { + const a = D.split(":"); + let x = null; + return a.length == 2 ? (x = $.HmacSHA512(h, a[1]).toString($.enc.Hex), x === a[0].toLowerCase()) : (x = $.HmacSHA512(h, h).toString($.enc.Hex), x === D.toLowerCase()); } -function Ar(p, w) { - return $.SHA512(p).toString($.enc.Hex) === w; +function yr(h, D) { + return ir(h).toLowerCase() === D.toLowerCase(); } -function Fr(p, w) { - return nx.compareSync(p, w); +function Hr(h, D) { + return D.split("$", 1).length != 2 ? !1 : (D[0].toUpperCase() + "" + h.toUpperCase(), $.MD5(h).toString($.enc.Hex) === D.toLowerCase()); } -const _r = ["md5crypt", "sha256crypt", "sha512crypt", "ntlm", "md5", "sha1", "sha256", "sha512", "bcrypt", "netntlmv2"]; +const kr = ["md5crypt", "sha256crypt", "sha512crypt", "ntlm", "md5", "sha1", "sha256", "sha512", "bcrypt", "netntlmv2", "hmac-md5", "hmac-sha1", "hmac-sha256", "hmac-sha512", "mysql323", "sap-codvn-b"]; export { - _r as availableHashTypes, - dr as calculateHash, - Dr as verifyHash + kr as availableHashTypes, + mr as verifyHash }; diff --git a/libs/crack-js/index.js b/libs/crack-js/index.js index 2c86f744..b77c53a8 100644 --- a/libs/crack-js/index.js +++ b/libs/crack-js/index.js @@ -636,13 +636,32 @@ function md5crypt(password, salt) { C.HmacMD4 = Hasher._createHmacHelper(MD4); })(Math); +function mysql323Hash(password) { + let nr = 1345345333; + let nr2 = 305419889; + let add = 7; + + for (let i = 0; i < password.length; i++) { + let ch = password.charCodeAt(i); + nr ^= ((nr & 63) + add) * ch + (nr << 8); + nr2 += (nr2 << 8) ^ nr; + add += ch; + } + + + let hash = (nr >>> 0).toString(16) + (nr2 >>> 0).toString(16); + while (hash.length < 16) { + hash = '0' + hash; + } + return hash; +} function netntlmv2Hash(username,domain,challenge,blob,password) { - let wordsNtlm = CryptoJS.enc.Hex.parse(calculateHash(password, 'ntlm')); + let wordsNtlm = CryptoJS.enc.Hex.parse(CryptoJS.MD4(CryptoJS.enc.Utf16LE.parse(password)).toString().toUpperCase()); var usernameDomain=CryptoJS.enc.Utf16LE.parse(username.toUpperCase()+domain) var ntlmv2hash=CryptoJS.HmacMD5(usernameDomain,wordsNtlm); var resultHash=CryptoJS.HmacMD5(CryptoJS.enc.Hex.parse(challenge+blob),ntlmv2hash); @@ -664,10 +683,10 @@ export function verifyHash(password, hash, hashType) { return verifyMD5(password, hash); case 'sha1': return verifySHA1(password, hash); - case 'sha256': + case 'sha256': return verifySHA256(password, hash); - case 'sha512': - return verifySHA512(password, hash); + case 'sha512': + return verifySHA512(password, hash); case 'bcrypt': return verifyBcrypt(password, hash); case 'md5crypt': @@ -677,7 +696,18 @@ export function verifyHash(password, hash, hashType) { case 'sha512crypt': return verifySHA512CRYPT(password, hash); - + case 'hmac-md5': + return verifyHMAC_MD5(password, hash); + + case 'hmac-sha1': + return verifyHMAC_SHA1(password, hash); + case 'hmac-sha256': + return verifyHMAC_SHA256(password, hash); + case 'hmac-sha512': + return verifyHMAC_SHA512(password, hash); + case 'mysql323': + return verify_mysql323(password, hash); + default: throw new Error(`Unsupported hash type: ${hashType}`); } @@ -687,41 +717,6 @@ export function verifyHash(password, hash, hashType) { -export function calculateHash(password, hashType) { - switch (hashType) { - - case 'sha256': - return CryptoJS.SHA256(password).toString(CryptoJS.enc.Hex); - case 'sha512': - return CryptoJS.SHA512(password).toString(CryptoJS.enc.Hex); - - case 'ntlm': - return CryptoJS.MD4(CryptoJS.enc.Utf16LE.parse(password)).toString().toUpperCase(); - case 'md5': - return CryptoJS.MD5(password).toString(CryptoJS.enc.Hex); - case 'sha1': - return CryptoJS.SHA1(password).toString(CryptoJS.enc.Hex); - case 'bcrypt': - - bcrypt.setRandomFallback((len) => { const buf = new Uint8Array(len); - for (let i = 0; i < len; i++) { - buf[i] = Math.floor(Math.random() * 256); - } - return buf; }); - return bcrypt.hashSync(password, 8); - - case "md5crypt": - return md5crypt(password,generateRandomString(8)); - case "sha256crypt": - return sha256crypt(password,generateRandomString(8)); - case "sha512crypt": - return sha512crypt(password,generateRandomString(8)); - - default: - throw new Error(`Unsupported hash type: ${hashType}`); - } -} - function verifyNetNTLMV2(password,hash) @@ -821,23 +816,23 @@ function verifyNTLM(password, hash) { function verifyMD5(password, hash) { const hashToVerify = CryptoJS.MD5(password).toString(CryptoJS.enc.Hex); - return hashToVerify === hash; + return hashToVerify === hash.toLowerCase(); } function verifySHA1(password, hash) { const hashToVerify = CryptoJS.SHA1(password).toString(CryptoJS.enc.Hex); - return hashToVerify === hash; + return hashToVerify === hash.toLowerCase(); } function verifySHA256(password, hash) { const hashToVerify = CryptoJS.SHA256(password).toString(CryptoJS.enc.Hex); - return hashToVerify === hash; + return hashToVerify === hash.toLowerCase(); } function verifySHA512(password, hash) { const hashToVerify = CryptoJS.SHA512(password).toString(CryptoJS.enc.Hex); - return hashToVerify === hash; + return hashToVerify === hash.toLowerCase(); } @@ -845,4 +840,77 @@ function verifyBcrypt(password, hash) { return bcrypt.compareSync(password, hash); } -export const availableHashTypes = ['md5crypt','sha256crypt','sha512crypt','ntlm', 'md5', 'sha1','sha256','sha512', 'bcrypt','netntlmv2']; \ No newline at end of file + +function verifyHMAC_MD5(password, hash) { + + const parts = hash.split(":"); + let hashToVerify=null; + if (parts.length == 2) + { // fc741db0a2968c39d9c2a5cc75b05370 + hashToVerify = CryptoJS.HmacMD5(password, parts[1]).toString(CryptoJS.enc.Hex); + return hashToVerify === parts[0].toLowerCase(); + } + //bfd280436f45fa38eaacac3b00518f29:1234 + hashToVerify = CryptoJS.HmacMD5(password, password).toString(CryptoJS.enc.Hex); + return hashToVerify === hash.toLowerCase(); + +} + +function verifyHMAC_SHA1(password, hash) { + + // + const parts = hash.split(":"); + let hashToVerify=null; + if (parts.length == 2) + { // fc741db0a2968c39d9c2a5cc75b05370 + hashToVerify = CryptoJS.HmacSHA1(password, parts[1]).toString(CryptoJS.enc.Hex); + return hashToVerify === parts[0].toLowerCase(); + } + //bfd280436f45fa38eaacac3b00518f29:1234 + hashToVerify = CryptoJS.HmacSHA1(password, password).toString(CryptoJS.enc.Hex); + return hashToVerify === hash.toLowerCase(); + + + + +} + + +function verifyHMAC_SHA256(password, hash) { + const parts = hash.split(":"); + let hashToVerify=null; + if (parts.length == 2) + { // fc741db0a2968c39d9c2a5cc75b05370 + hashToVerify = CryptoJS.HmacSHA256(password, parts[1]).toString(CryptoJS.enc.Hex); + return hashToVerify === parts[0].toLowerCase(); + } + //bfd280436f45fa38eaacac3b00518f29:1234 + hashToVerify = CryptoJS.HmacSHA256(password, password).toString(CryptoJS.enc.Hex); + return hashToVerify === hash.toLowerCase(); +} + +function verifyHMAC_SHA512(password, hash) { + const parts = hash.split(":"); + let hashToVerify=null; + if (parts.length == 2) + { // fc741db0a2968c39d9c2a5cc75b05370 + hashToVerify = CryptoJS.HmacSHA512(password, parts[1]).toString(CryptoJS.enc.Hex); + return hashToVerify === parts[0].toLowerCase(); + } + //bfd280436f45fa38eaacac3b00518f29:1234 + hashToVerify = CryptoJS.HmacSHA512(password, password).toString(CryptoJS.enc.Hex); + return hashToVerify === hash.toLowerCase(); +} + + +function verify_mysql323(password,hash) { + let calculatedHash = mysql323Hash(password); + return calculatedHash.toLowerCase() === hash.toLowerCase(); + + +} + + + + +export const availableHashTypes = ['md5crypt','sha256crypt','sha512crypt','ntlm', 'md5', 'sha1','sha256','sha512', 'bcrypt','netntlmv2','hmac-md5','hmac-sha1','hmac-sha256','hmac-sha512','mysql323']; \ No newline at end of file diff --git a/libs/crack-js/test.js b/libs/crack-js/test.js index 126d69f2..543d7e0e 100644 --- a/libs/crack-js/test.js +++ b/libs/crack-js/test.js @@ -1,11 +1,6 @@ -import { calculateHash, verifyHash,availableHashTypes } from './dist/crack.js'; +import {verifyHash,availableHashTypes } from './dist/crack.js'; console.log(availableHashTypes); -console.log(calculateHash("hashcat", 'sha512crypt')); -console.log(calculateHash("hashcat", 'ntlm')); -console.log(calculateHash("hashcat", 'md5')); -console.log(calculateHash("hashcat", 'sha1')); -console.log(calculateHash("hashcat", 'bcrypt')); console.log(verifyHash("hashcat","eyJhbGciOiJIUzI1NiJ9.eyIzNDM2MzQyMCI6NTc2ODc1NDd9.f1nXZ3V_Hrr6ee-AFCTLaHRnrkiKmio2t3JqwL32guY","jwt")) console.log(verifyHash("hashcat","$6$52450745$k5ka2p8bFuSmoVT1tzOyyuaREkkKBcCNqoDKzYiJL9RaE8yMnPgh2XzzF0NDrUhgrcLwg78xs1w5pJiypEdFX/","sha512crypt")); console.log(verifyHash("hashcat","$5$rounds=5000$GX7BopJZJxPc/KEK$le16UF8I2Anb.rOrn22AUPWvzUETDGefUmAV8AZkGcD","sha256crypt")); @@ -15,4 +10,11 @@ console.log(verifyHash("hashcat","b89eaac7e61417341b710b727768294d0e6a277b","sha console.log(verifyHash("hashcat","127e6fbfe24a750e72930c220a8e138275656b8e5d8f48a98c3c92df2caba935","sha256")); console.log(verifyHash("hashcat","82a9dda829eb7f8ffe9fbe49e45d47d2dad9664fbb7adf72492e3c81ebd3e29134d9bc12212bf83c6840f10e8246b9db54a4859b7ccd0123d86e5872c1e5082f","sha512")); console.log(verifyHash("hashcat","$2a$05$LhayLxezLhK1LhWvKxCyLOj0j1u.Kj0jZ0pEmm134uzrQlFvQJLF6","bcrypt")); -console.log(verifyHash("hashcat","admin::N46iSNekpT:08ca45b7d7ea58ee:88dcbe4446168966a153a0064958dac6:5c7830315c7830310000000000000b45c67103d07d7b95acd12ffa11230e0000000052920b85f78d013c31cdb3b92f5d765c783030","netntlmv2")); \ No newline at end of file +console.log(verifyHash("hashcat","admin::N46iSNekpT:08ca45b7d7ea58ee:88dcbe4446168966a153a0064958dac6:5c7830315c7830310000000000000b45c67103d07d7b95acd12ffa11230e0000000052920b85f78d013c31cdb3b92f5d765c783030","netntlmv2")); +console.log(verifyHash("hashcat","bfd280436f45fa38eaacac3b00518f29:1234","hmac-md5")); +console.log(verifyHash("hashcat","d89c92b4400b15c39e462a8caa939ab40c3aeeea:1234","hmac-sha1")); +console.log(verifyHash("hashcat","d89c92b4400b15c39e462a8caa939ab40c3aeeea:1234","hmac-sha1")); +console.log(verifyHash("hashcat","8efbef4cec28f228fa948daaf4893ac3638fbae81358ff9020be1d7a9a509fc6:1234","hmac-sha256")); +console.log(verifyHash("hashcat","7cce966f5503e292a51381f238d071971ad5442488f340f98e379b3aeae2f33778e3e732fcc2f7bdc04f3d460eebf6f8cb77da32df25500c09160dd3bf7d2a6b:1234","hmac-sha512")); +console.log(verifyHash("hashcat","7196759210defdc0","mysql323")); +console.log(verifyHash("hashcat","USER$C8B48F26B87B7EA7","sap-codvn-b")); \ No newline at end of file