Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
33 kB
1
Indexable
Never
    "./node_modules/crypto-js/cipher-core.js": function (e, t, n) {
        !(function (o, r, s) {
            e.exports = t = r(n("./node_modules/crypto-js/core.js"), n("./node_modules/crypto-js/evpkdf.js"));
        })(0, function (e) {
            e.lib.Cipher ||
                (function (t) {
                    var n = e,
                        o = n.lib,
                        r = o.Base,
                        s = o.WordArray,
                        a = o.BufferedBlockAlgorithm,
                        i = n.enc,
                        u = (i.Utf8, i.Base64),
                        d = n.algo,
                        l = d.EvpKDF,
                        c = (o.Cipher = a.extend({
                            cfg: r.extend(),
                            createEncryptor: function (e, t) {
                                return this.create(this._ENC_XFORM_MODE, e, t);
                            },
                            createDecryptor: function (e, t) {
                                return this.create(this._DEC_XFORM_MODE, e, t);
                            },
                            init: function (e, t, n) {
                                (this.cfg = this.cfg.extend(n)), (this._xformMode = e), (this._key = t), this.reset();
                            },
                            reset: function () {
                                a.reset.call(this), this._doReset();
                            },
                            process: function (e) {
                                return this._append(e), this._process();
                            },
                            finalize: function (e) {
                                return e && this._append(e), this._doFinalize();
                            },
                            keySize: 4,
                            ivSize: 4,
                            _ENC_XFORM_MODE: 1,
                            _DEC_XFORM_MODE: 2,
                            _createHelper: (function () {
                                function e(e) {
                                    return "string" == typeof e ? L : j;
                                }
                                return function (t) {
                                    return {
                                        encrypt: function (n, o, r) {
                                            return e(o).encrypt(t, n, o, r);
                                        },
                                        decrypt: function (n, o, r) {
                                            return e(o).decrypt(t, n, o, r);
                                        },
                                    };
                                };
                            })(),
                        })),
                        m =
                            ((o.StreamCipher = c.extend({
                                _doFinalize: function () {
                                    return this._process(!0);
                                },
                                blockSize: 1,
                            })),
                            (n.mode = {})),
                        _ = (o.BlockCipherMode = r.extend({
                            createEncryptor: function (e, t) {
                                return this.Encryptor.create(e, t);
                            },
                            createDecryptor: function (e, t) {
                                return this.Decryptor.create(e, t);
                            },
                            init: function (e, t) {
                                (this._cipher = e), (this._iv = t);
                            },
                        })),
                        f = (m.CBC = (function () {
                            function e(e, n, o) {
                                var r = this._iv;
                                if (r) {
                                    var s = r;
                                    this._iv = t;
                                } else var s = this._prevBlock;
                                for (var a = 0; a < o; a++) e[n + a] ^= s[a];
                            }
                            var n = _.extend();
                            return (
                                (n.Encryptor = n.extend({
                                    processBlock: function (t, n) {
                                        var o = this._cipher,
                                            r = o.blockSize;
                                        e.call(this, t, n, r), o.encryptBlock(t, n), (this._prevBlock = t.slice(n, n + r));
                                    },
                                })),
                                (n.Decryptor = n.extend({
                                    processBlock: function (t, n) {
                                        var o = this._cipher,
                                            r = o.blockSize,
                                            s = t.slice(n, n + r);
                                        o.decryptBlock(t, n), e.call(this, t, n, r), (this._prevBlock = s);
                                    },
                                })),
                                n
                            );
                        })()),
                        p = (n.pad = {}),
                        h = (p.Pkcs7 = {
                            pad: function (e, t) {
                                for (var n = 4 * t, o = n - (e.sigBytes % n), r = (o << 24) | (o << 16) | (o << 8) | o, a = [], i = 0; i < o; i += 4) a.push(r);
                                var u = s.create(a, o);
                                e.concat(u);
                            },
                            unpad: function (e) {
                                var t = 255 & e.words[(e.sigBytes - 1) >>> 2];
                                e.sigBytes -= t;
                            },
                        }),
                        y =
                            ((o.BlockCipher = c.extend({
                                cfg: c.cfg.extend({ mode: f, padding: h }),
                                reset: function () {
                                    c.reset.call(this);
                                    var e = this.cfg,
                                        t = e.iv,
                                        n = e.mode;
                                    if (this._xformMode == this._ENC_XFORM_MODE) var o = n.createEncryptor;
                                    else {
                                        var o = n.createDecryptor;
                                        this._minBufferSize = 1;
                                    }
                                    this._mode && this._mode.__creator == o ? this._mode.init(this, t && t.words) : ((this._mode = o.call(n, this, t && t.words)), (this._mode.__creator = o));
                                },
                                _doProcessBlock: function (e, t) {
                                    this._mode.processBlock(e, t);
                                },
                                _doFinalize: function () {
                                    var e = this.cfg.padding;
                                    if (this._xformMode == this._ENC_XFORM_MODE) {
                                        e.pad(this._data, this.blockSize);
                                        var t = this._process(!0);
                                    } else {
                                        var t = this._process(!0);
                                        e.unpad(t);
                                    }
                                    return t;
                                },
                                blockSize: 4,
                            })),
                            (o.CipherParams = r.extend({
                                init: function (e) {
                                    this.mixIn(e);
                                },
                                toString: function (e) {
                                    return (e || this.formatter).stringify(this);
                                },
                            }))),
                        v = (n.format = {}),
                        g = (v.OpenSSL = {
                            stringify: function (e) {
                                var t = e.ciphertext,
                                    n = e.salt;
                                if (n) var o = s.create([1398893684, 1701076831]).concat(n).concat(t);
                                else var o = t;
                                return o.toString(u);
                            },
                            parse: function (e) {
                                var t = u.parse(e),
                                    n = t.words;
                                if (1398893684 == n[0] && 1701076831 == n[1]) {
                                    var o = s.create(n.slice(2, 4));
                                    n.splice(0, 4), (t.sigBytes -= 16);
                                }
                                return y.create({ ciphertext: t, salt: o });
                            },
                        }),
                        j = (o.SerializableCipher = r.extend({
                            cfg: r.extend({ format: g }),
                            encrypt: function (e, t, n, o) {
                                o = this.cfg.extend(o);
                                var r = e.createEncryptor(n, o),
                                    s = r.finalize(t),
                                    a = r.cfg;
                                return y.create({ ciphertext: s, key: n, iv: a.iv, algorithm: e, mode: a.mode, padding: a.padding, blockSize: e.blockSize, formatter: o.format });
                            },
                            decrypt: function (e, t, n, o) {
                                return (o = this.cfg.extend(o)), (t = this._parse(t, o.format)), e.createDecryptor(n, o).finalize(t.ciphertext);
                            },
                            _parse: function (e, t) {
                                return "string" == typeof e ? t.parse(e, this) : e;
                            },
                        })),
                        b = (n.kdf = {}),
                        M = (b.OpenSSL = {
                            execute: function (e, t, n, o) {
                                o || (o = s.random(8));
                                var r = l.create({ keySize: t + n }).compute(e, o),
                                    a = s.create(r.words.slice(t), 4 * n);
                                return (r.sigBytes = 4 * t), y.create({ key: r, iv: a, salt: o });
                            },
                        }),
                        L = (o.PasswordBasedCipher = j.extend({
                            cfg: j.cfg.extend({ kdf: M }),
                            encrypt: function (e, t, n, o) {
                                o = this.cfg.extend(o);
                                var r = o.kdf.execute(n, e.keySize, e.ivSize);
                                o.iv = r.iv;
                                var s = j.encrypt.call(this, e, t, r.key, o);
                                return s.mixIn(r), s;
                            },
                            decrypt: function (e, t, n, o) {
                                (o = this.cfg.extend(o)), (t = this._parse(t, o.format));
                                var r = o.kdf.execute(n, e.keySize, e.ivSize, t.salt);
                                return (o.iv = r.iv), j.decrypt.call(this, e, t, r.key, o);
                            },
                        }));
                })();
        });
    },
    "./node_modules/crypto-js/core.js": function (e, t, n) {
        !(function (n, o) {
            e.exports = t = o();
        })(0, function () {
            var e =
                e ||
                (function (e, t) {
                    var n =
                            Object.create ||
                            (function () {
                                function e() {}
                                return function (t) {
                                    var n;
                                    return (e.prototype = t), (n = new e()), (e.prototype = null), n;
                                };
                            })(),
                        o = {},
                        r = (o.lib = {}),
                        s = (r.Base = (function () {
                            return {
                                extend: function (e) {
                                    var t = n(this);
                                    return (
                                        e && t.mixIn(e),
                                        (t.hasOwnProperty("init") && this.init !== t.init) ||
                                            (t.init = function () {
                                                t.$super.init.apply(this, arguments);
                                            }),
                                        (t.init.prototype = t),
                                        (t.$super = this),
                                        t
                                    );
                                },
                                create: function () {
                                    var e = this.extend();
                                    return e.init.apply(e, arguments), e;
                                },
                                init: function () {},
                                mixIn: function (e) {
                                    for (var t in e) e.hasOwnProperty(t) && (this[t] = e[t]);
                                    e.hasOwnProperty("toString") && (this.toString = e.toString);
                                },
                                clone: function () {
                                    return this.init.prototype.extend(this);
                                },
                            };
                        })()),
                        a = (r.WordArray = s.extend({
                            init: function (e, n) {
                                (e = this.words = e || []), (this.sigBytes = n != t ? n : 4 * e.length);
                            },
                            toString: function (e) {
                                return (e || u).stringify(this);
                            },
                            concat: function (e) {
                                var t = this.words,
                                    n = e.words,
                                    o = this.sigBytes,
                                    r = e.sigBytes;
                                if ((this.clamp(), o % 4))
                                    for (var s = 0; s < r; s++) {
                                        var a = (n[s >>> 2] >>> (24 - (s % 4) * 8)) & 255;
                                        t[(o + s) >>> 2] |= a << (24 - ((o + s) % 4) * 8);
                                    }
                                else for (var s = 0; s < r; s += 4) t[(o + s) >>> 2] = n[s >>> 2];
                                return (this.sigBytes += r), this;
                            },
                            clamp: function () {
                                var t = this.words,
                                    n = this.sigBytes;
                                (t[n >>> 2] &= 4294967295 << (32 - (n % 4) * 8)), (t.length = e.ceil(n / 4));
                            },
                            clone: function () {
                                var e = s.clone.call(this);
                                return (e.words = this.words.slice(0)), e;
                            },
                            random: function (t) {
                                for (
                                    var n,
                                        o = [],
                                        r = function (t) {
                                            var t = t,
                                                n = 987654321,
                                                o = 4294967295;
                                            return function () {
                                                (n = (36969 * (65535 & n) + (n >> 16)) & o), (t = (18e3 * (65535 & t) + (t >> 16)) & o);
                                                var r = ((n << 16) + t) & o;
                                                return (r /= 4294967296), (r += 0.5) * (e.random() > 0.5 ? 1 : -1);
                                            };
                                        },
                                        s = 0;
                                    s < t;
                                    s += 4
                                ) {
                                    var i = r(4294967296 * (n || e.random()));
                                    (n = 987654071 * i()), o.push((4294967296 * i()) | 0);
                                }
                                return new a.init(o, t);
                            },
                        })),
                        i = (o.enc = {}),
                        u = (i.Hex = {
                            stringify: function (e) {
                                for (var t = e.words, n = e.sigBytes, o = [], r = 0; r < n; r++) {
                                    var s = (t[r >>> 2] >>> (24 - (r % 4) * 8)) & 255;
                                    o.push((s >>> 4).toString(16)), o.push((15 & s).toString(16));
                                }
                                return o.join("");
                            },
                            parse: function (e) {
                                for (var t = e.length, n = [], o = 0; o < t; o += 2) n[o >>> 3] |= parseInt(e.substr(o, 2), 16) << (24 - (o % 8) * 4);
                                return new a.init(n, t / 2);
                            },
                        }),
                        d = (i.Latin1 = {
                            stringify: function (e) {
                                for (var t = e.words, n = e.sigBytes, o = [], r = 0; r < n; r++) {
                                    var s = (t[r >>> 2] >>> (24 - (r % 4) * 8)) & 255;
                                    o.push(String.fromCharCode(s));
                                }
                                return o.join("");
                            },
                            parse: function (e) {
                                for (var t = e.length, n = [], o = 0; o < t; o++) n[o >>> 2] |= (255 & e.charCodeAt(o)) << (24 - (o % 4) * 8);
                                return new a.init(n, t);
                            },
                        }),
                        l = (i.Utf8 = {
                            stringify: function (e) {
                                try {
                                    return decodeURIComponent(escape(d.stringify(e)));
                                } catch (e) {
                                    throw new Error("Malformed UTF-8 data");
                                }
                            },
                            parse: function (e) {
                                return d.parse(unescape(encodeURIComponent(e)));
                            },
                        }),
                        c = (r.BufferedBlockAlgorithm = s.extend({
                            reset: function () {
                                (this._data = new a.init()), (this._nDataBytes = 0);
                            },
                            _append: function (e) {
                                "string" == typeof e && (e = l.parse(e)), this._data.concat(e), (this._nDataBytes += e.sigBytes);
                            },
                            _process: function (t) {
                                var n = this._data,
                                    o = n.words,
                                    r = n.sigBytes,
                                    s = this.blockSize,
                                    i = 4 * s,
                                    u = r / i;
                                u = t ? e.ceil(u) : e.max((0 | u) - this._minBufferSize, 0);
                                var d = u * s,
                                    l = e.min(4 * d, r);
                                if (d) {
                                    for (var c = 0; c < d; c += s) this._doProcessBlock(o, c);
                                    var m = o.splice(0, d);
                                    n.sigBytes -= l;
                                }
                                return new a.init(m, l);
                            },
                            clone: function () {
                                var e = s.clone.call(this);
                                return (e._data = this._data.clone()), e;
                            },
                            _minBufferSize: 0,
                        })),
                        m =
                            ((r.Hasher = c.extend({
                                cfg: s.extend(),
                                init: function (e) {
                                    (this.cfg = this.cfg.extend(e)), this.reset();
                                },
                                reset: function () {
                                    c.reset.call(this), this._doReset();
                                },
                                update: function (e) {
                                    return this._append(e), this._process(), this;
                                },
                                finalize: function (e) {
                                    return e && this._append(e), this._doFinalize();
                                },
                                blockSize: 16,
                                _createHelper: function (e) {
                                    return function (t, n) {
                                        return new e.init(n).finalize(t);
                                    };
                                },
                                _createHmacHelper: function (e) {
                                    return function (t, n) {
                                        return new m.HMAC.init(e, n).finalize(t);
                                    };
                                },
                            })),
                            (o.algo = {}));
                    return o;
                })(Math);
            return e;
        });
    },
    "./node_modules/crypto-js/enc-base64.js": function (e, t, n) {
        !(function (o, r) {
            e.exports = t = r(n("./node_modules/crypto-js/core.js"));
        })(0, function (e) {
            return (
                (function () {
                    function t(e, t, n) {
                        for (var o = [], s = 0, a = 0; a < t; a++)
                            if (a % 4) {
                                var i = n[e.charCodeAt(a - 1)] << ((a % 4) * 2),
                                    u = n[e.charCodeAt(a)] >>> (6 - (a % 4) * 2);
                                (o[s >>> 2] |= (i | u) << (24 - (s % 4) * 8)), s++;
                            }
                        return r.create(o, s);
                    }
                    var n = e,
                        o = n.lib,
                        r = o.WordArray,
                        s = n.enc;
                    s.Base64 = {
                        stringify: function (e) {
                            var t = e.words,
                                n = e.sigBytes,
                                o = this._map;
                            e.clamp();
                            for (var r = [], s = 0; s < n; s += 3)
                                for (
                                    var a = (t[s >>> 2] >>> (24 - (s % 4) * 8)) & 255,
                                        i = (t[(s + 1) >>> 2] >>> (24 - ((s + 1) % 4) * 8)) & 255,
                                        u = (t[(s + 2) >>> 2] >>> (24 - ((s + 2) % 4) * 8)) & 255,
                                        d = (a << 16) | (i << 8) | u,
                                        l = 0;
                                    l < 4 && s + 0.75 * l < n;
                                    l++
                                )
                                    r.push(o.charAt((d >>> (6 * (3 - l))) & 63));
                            var c = o.charAt(64);
                            if (c) for (; r.length % 4; ) r.push(c);
                            return r.join("");
                        },
                        parse: function (e) {
                            var n = e.length,
                                o = this._map,
                                r = this._reverseMap;
                            if (!r) {
                                r = this._reverseMap = [];
                                for (var s = 0; s < o.length; s++) r[o.charCodeAt(s)] = s;
                            }
                            var a = o.charAt(64);
                            if (a) {
                                var i = e.indexOf(a);
                                -1 !== i && (n = i);
                            }
                            return t(e, n, r);
                        },
                        _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
                    };
                })(),
                e.enc.Base64
            );
        });
    },
    "./node_modules/crypto-js/enc-utf16.js": function (e, t, n) {
        !(function (o, r) {
            e.exports = t = r(n("./node_modules/crypto-js/core.js"));
        })(0, function (e) {
            return (
                (function () {
                    function t(e) {
                        return ((e << 8) & 4278255360) | ((e >>> 8) & 16711935);
                    }
                    var n = e,
                        o = n.lib,
                        r = o.WordArray,
                        s = n.enc;
                    s.Utf16 = s.Utf16BE = {
                        stringify: function (e) {
                            for (var t = e.words, n = e.sigBytes, o = [], r = 0; r < n; r += 2) {
                                var s = (t[r >>> 2] >>> (16 - (r % 4) * 8)) & 65535;
                                o.push(String.fromCharCode(s));
                            }
                            return o.join("");
                        },
                        parse: function (e) {
                            for (var t = e.length, n = [], o = 0; o < t; o++) n[o >>> 1] |= e.charCodeAt(o) << (16 - (o % 2) * 16);
                            return r.create(n, 2 * t);
                        },
                    };
                    s.Utf16LE = {
                        stringify: function (e) {
                            for (var n = e.words, o = e.sigBytes, r = [], s = 0; s < o; s += 2) {
                                var a = t((n[s >>> 2] >>> (16 - (s % 4) * 8)) & 65535);
                                r.push(String.fromCharCode(a));
                            }
                            return r.join("");
                        },
                        parse: function (e) {
                            for (var n = e.length, o = [], s = 0; s < n; s++) o[s >>> 1] |= t(e.charCodeAt(s) << (16 - (s % 2) * 16));
                            return r.create(o, 2 * n);
                        },
                    };
                })(),
                e.enc.Utf16
            );
        });
    },
    "./node_modules/crypto-js/evpkdf.js": function (e, t, n) {
        !(function (o, r, s) {
            e.exports = t = r(n("./node_modules/crypto-js/core.js"), n("./node_modules/crypto-js/sha1.js"), n("./node_modules/crypto-js/hmac.js"));
        })(0, function (e) {
            return (
                (function () {
                    var t = e,
                        n = t.lib,
                        o = n.Base,
                        r = n.WordArray,
                        s = t.algo,
                        a = s.MD5,
                        i = (s.EvpKDF = o.extend({
                            cfg: o.extend({ keySize: 4, hasher: a, iterations: 1 }),
                            init: function (e) {
                                this.cfg = this.cfg.extend(e);
                            },
                            compute: function (e, t) {
                                for (var n = this.cfg, o = n.hasher.create(), s = r.create(), a = s.words, i = n.keySize, u = n.iterations; a.length < i; ) {
                                    d && o.update(d);
                                    var d = o.update(e).finalize(t);
                                    o.reset();
                                    for (var l = 1; l < u; l++) (d = o.finalize(d)), o.reset();
                                    s.concat(d);
                                }
                                return (s.sigBytes = 4 * i), s;
                            },
                        }));
                    t.EvpKDF = function (e, t, n) {
                        return i.create(n).compute(e, t);
                    };
                })(),
                e.EvpKDF
            );
        });
    },
    "./node_modules/crypto-js/format-hex.js": function (e, t, n) {
        !(function (o, r, s) {
            e.exports = t = r(n("./node_modules/crypto-js/core.js"), n("./node_modules/crypto-js/cipher-core.js"));
        })(0, function (e) {
            return (
                (function (t) {
                    var n = e,
                        o = n.lib,
                        r = o.CipherParams,
                        s = n.enc,
                        a = s.Hex,
                        i = n.format;
                    i.Hex = {
                        stringify: function (e) {
                            return e.ciphertext.toString(a);
                        },
                        parse: function (e) {
                            var t = a.parse(e);
                            return r.create({ ciphertext: t });
                        },
                    };
                })(),
                e.format.Hex
            );
        });
    },
    "./node_modules/crypto-js/hmac.js": function (e, t, n) {
        !(function (o, r) {
            e.exports = t = r(n("./node_modules/crypto-js/core.js"));
        })(0, function (e) {
            !(function () {
                var t = e,
                    n = t.lib,
                    o = n.Base,
                    r = t.enc,
                    s = r.Utf8,
                    a = t.algo;
                a.HMAC = o.extend({
                    init: function (e, t) {
                        (e = this._hasher = new e.init()), "string" == typeof t && (t = s.parse(t));
                        var n = e.blockSize,
                            o = 4 * n;
                        t.sigBytes > o && (t = e.finalize(t)), t.clamp();
                        for (var r = (this._oKey = t.clone()), a = (this._iKey = t.clone()), i = r.words, u = a.words, d = 0; d < n; d++) (i[d] ^= 1549556828), (u[d] ^= 909522486);
                        (r.sigBytes = a.sigBytes = o), this.reset();
                    },
                    reset: function () {
                        var e = this._hasher;
                        e.reset(), e.update(this._iKey);
                    },
                    update: function (e) {
                        return this._hasher.update(e), this;
                    },
                    finalize: function (e) {
                        var t = this._hasher,
                            n = t.finalize(e);
                        return t.reset(), t.finalize(this._oKey.clone().concat(n));
                    },
                });
            })();
        });
    },