/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunkkd_login"] = self["webpackChunkkd_login"] || []).push([[260],{

/***/ "../../node_modules/node-rsa/src/NodeRSA.js":
/*!**************************************************!*\
  !*** ../../node_modules/node-rsa/src/NodeRSA.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\n/*!\n * RSA library for Node.js\n *\n * Author: rzcoder\n * License MIT\n */\n\nvar constants = __webpack_require__(/*! constants */ \"../../node_modules/constants-browserify/constants.json\");\nvar rsa = __webpack_require__(/*! ./libs/rsa.js */ \"../../node_modules/node-rsa/src/libs/rsa.js\");\nvar crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\nvar ber = (__webpack_require__(/*! asn1 */ \"../../node_modules/asn1/lib/index.js\").Ber);\nvar _ = (__webpack_require__(/*! ./utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\nvar utils = __webpack_require__(/*! ./utils */ \"../../node_modules/node-rsa/src/utils.js\");\nvar schemes = __webpack_require__(/*! ./schemes/schemes.js */ \"../../node_modules/node-rsa/src/schemes/schemes.js\");\nvar formats = __webpack_require__(/*! ./formats/formats.js */ \"../../node_modules/node-rsa/src/formats/formats.js\");\n\nif (typeof constants.RSA_NO_PADDING === \"undefined\") {\n    //patch for node v0.10.x, constants do not defined\n    constants.RSA_NO_PADDING = 3;\n}\n\nmodule.exports = (function () {\n    var SUPPORTED_HASH_ALGORITHMS = {\n        node10: ['md4', 'md5', 'ripemd160', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512'],\n        node: ['md4', 'md5', 'ripemd160', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512'],\n        iojs: ['md4', 'md5', 'ripemd160', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512'],\n        browser: ['md5', 'ripemd160', 'sha1', 'sha256', 'sha512']\n    };\n\n    var DEFAULT_ENCRYPTION_SCHEME = 'pkcs1_oaep';\n    var DEFAULT_SIGNING_SCHEME = 'pkcs1';\n\n    var DEFAULT_EXPORT_FORMAT = 'private';\n    var EXPORT_FORMAT_ALIASES = {\n        'private': 'pkcs1-private-pem',\n        'private-der': 'pkcs1-private-der',\n        'public': 'pkcs8-public-pem',\n        'public-der': 'pkcs8-public-der',\n    };\n\n    /**\n     * @param key {string|buffer|object} Key in PEM format, or data for generate key {b: bits, e: exponent}\n     * @constructor\n     */\n    function NodeRSA(key, format, options) {\n        if (!(this instanceof NodeRSA)) {\n            return new NodeRSA(key, format, options);\n        }\n\n        if (_.isObject(format)) {\n            options = format;\n            format = undefined;\n        }\n\n        this.$options = {\n            signingScheme: DEFAULT_SIGNING_SCHEME,\n            signingSchemeOptions: {\n                hash: 'sha256',\n                saltLength: null\n            },\n            encryptionScheme: DEFAULT_ENCRYPTION_SCHEME,\n            encryptionSchemeOptions: {\n                hash: 'sha1',\n                label: null\n            },\n            environment: utils.detectEnvironment(),\n            rsaUtils: this\n        };\n        this.keyPair = new rsa.Key();\n        this.$cache = {};\n\n        if (Buffer.isBuffer(key) || _.isString(key)) {\n            this.importKey(key, format);\n        } else if (_.isObject(key)) {\n            this.generateKeyPair(key.b, key.e);\n        }\n\n        this.setOptions(options);\n    }\n\n    /**\n     * Set and validate options for key instance\n     * @param options\n     */\n    NodeRSA.prototype.setOptions = function (options) {\n        options = options || {};\n        if (options.environment) {\n            this.$options.environment = options.environment;\n        }\n\n        if (options.signingScheme) {\n            if (_.isString(options.signingScheme)) {\n                var signingScheme = options.signingScheme.toLowerCase().split('-');\n                if (signingScheme.length == 1) {\n                    if (SUPPORTED_HASH_ALGORITHMS.node.indexOf(signingScheme[0]) > -1) {\n                        this.$options.signingSchemeOptions = {\n                            hash: signingScheme[0]\n                        };\n                        this.$options.signingScheme = DEFAULT_SIGNING_SCHEME;\n                    } else {\n                        this.$options.signingScheme = signingScheme[0];\n                        this.$options.signingSchemeOptions = {\n                            hash: null\n                        };\n                    }\n                } else {\n                    this.$options.signingSchemeOptions = {\n                        hash: signingScheme[1]\n                    };\n                    this.$options.signingScheme = signingScheme[0];\n                }\n            } else if (_.isObject(options.signingScheme)) {\n                this.$options.signingScheme = options.signingScheme.scheme || DEFAULT_SIGNING_SCHEME;\n                this.$options.signingSchemeOptions = _.omit(options.signingScheme, 'scheme');\n            }\n\n            if (!schemes.isSignature(this.$options.signingScheme)) {\n                throw Error('Unsupported signing scheme');\n            }\n\n            if (this.$options.signingSchemeOptions.hash &&\n                SUPPORTED_HASH_ALGORITHMS[this.$options.environment].indexOf(this.$options.signingSchemeOptions.hash) === -1) {\n                throw Error('Unsupported hashing algorithm for ' + this.$options.environment + ' environment');\n            }\n        }\n\n        if (options.encryptionScheme) {\n            if (_.isString(options.encryptionScheme)) {\n                this.$options.encryptionScheme = options.encryptionScheme.toLowerCase();\n                this.$options.encryptionSchemeOptions = {};\n            } else if (_.isObject(options.encryptionScheme)) {\n                this.$options.encryptionScheme = options.encryptionScheme.scheme || DEFAULT_ENCRYPTION_SCHEME;\n                this.$options.encryptionSchemeOptions = _.omit(options.encryptionScheme, 'scheme');\n            }\n\n            if (!schemes.isEncryption(this.$options.encryptionScheme)) {\n                throw Error('Unsupported encryption scheme');\n            }\n\n            if (this.$options.encryptionSchemeOptions.hash &&\n                SUPPORTED_HASH_ALGORITHMS[this.$options.environment].indexOf(this.$options.encryptionSchemeOptions.hash) === -1) {\n                throw Error('Unsupported hashing algorithm for ' + this.$options.environment + ' environment');\n            }\n        }\n\n        this.keyPair.setOptions(this.$options);\n    };\n\n    /**\n     * Generate private/public keys pair\n     *\n     * @param bits {int} length key in bits. Default 2048.\n     * @param exp {int} public exponent. Default 65537.\n     * @returns {NodeRSA}\n     */\n    NodeRSA.prototype.generateKeyPair = function (bits, exp) {\n        bits = bits || 2048;\n        exp = exp || 65537;\n\n        if (bits % 8 !== 0) {\n            throw Error('Key size must be a multiple of 8.');\n        }\n\n        this.keyPair.generate(bits, exp.toString(16));\n        this.$cache = {};\n        return this;\n    };\n\n    /**\n     * Importing key\n     * @param keyData {string|buffer|Object}\n     * @param format {string}\n     */\n    NodeRSA.prototype.importKey = function (keyData, format) {\n        if (!keyData) {\n            throw Error(\"Empty key given\");\n        }\n\n        if (format) {\n            format = EXPORT_FORMAT_ALIASES[format] || format;\n        }\n\n        if (!formats.detectAndImport(this.keyPair, keyData, format) && format === undefined) {\n            throw Error(\"Key format must be specified\");\n        }\n        \n        this.$cache = {};\n        \n        return this;\n    };\n\n    /**\n     * Exporting key\n     * @param [format] {string}\n     */\n    NodeRSA.prototype.exportKey = function (format) {\n        format = format || DEFAULT_EXPORT_FORMAT;\n        format = EXPORT_FORMAT_ALIASES[format] || format;\n\n        if (!this.$cache[format]) {\n            this.$cache[format] = formats.detectAndExport(this.keyPair, format);\n        }\n\n        return this.$cache[format];\n    };\n\n    /**\n     * Check if key pair contains private key\n     */\n    NodeRSA.prototype.isPrivate = function () {\n        return this.keyPair.isPrivate();\n    };\n\n    /**\n     * Check if key pair contains public key\n     * @param [strict] {boolean} - public key only, return false if have private exponent\n     */\n    NodeRSA.prototype.isPublic = function (strict) {\n        return this.keyPair.isPublic(strict);\n    };\n\n    /**\n     * Check if key pair doesn't contains any data\n     */\n    NodeRSA.prototype.isEmpty = function (strict) {\n        return !(this.keyPair.n || this.keyPair.e || this.keyPair.d);\n    };\n\n    /**\n     * Encrypting data method with public key\n     *\n     * @param buffer {string|number|object|array|Buffer} - data for encrypting. Object and array will convert to JSON string.\n     * @param encoding {string} - optional. Encoding for output result, may be 'buffer', 'binary', 'hex' or 'base64'. Default 'buffer'.\n     * @param source_encoding {string} - optional. Encoding for given string. Default utf8.\n     * @returns {string|Buffer}\n     */\n    NodeRSA.prototype.encrypt = function (buffer, encoding, source_encoding) {\n        return this.$$encryptKey(false, buffer, encoding, source_encoding);\n    };\n\n    /**\n     * Decrypting data method with private key\n     *\n     * @param buffer {Buffer} - buffer for decrypting\n     * @param encoding - encoding for result string, can also take 'json' or 'buffer' for the automatic conversion of this type\n     * @returns {Buffer|object|string}\n     */\n    NodeRSA.prototype.decrypt = function (buffer, encoding) {\n        return this.$$decryptKey(false, buffer, encoding);\n    };\n\n    /**\n     * Encrypting data method with private key\n     *\n     * Parameters same as `encrypt` method\n     */\n    NodeRSA.prototype.encryptPrivate = function (buffer, encoding, source_encoding) {\n        return this.$$encryptKey(true, buffer, encoding, source_encoding);\n    };\n\n    /**\n     * Decrypting data method with public key\n     *\n     * Parameters same as `decrypt` method\n     */\n    NodeRSA.prototype.decryptPublic = function (buffer, encoding) {\n        return this.$$decryptKey(true, buffer, encoding);\n    };\n\n    /**\n     * Encrypting data method with custom key\n     */\n    NodeRSA.prototype.$$encryptKey = function (usePrivate, buffer, encoding, source_encoding) {\n        try {\n            var res = this.keyPair.encrypt(this.$getDataForEncrypt(buffer, source_encoding), usePrivate);\n\n            if (encoding == 'buffer' || !encoding) {\n                return res;\n            } else {\n                return res.toString(encoding);\n            }\n        } catch (e) {\n            throw Error('Error during encryption. Original error: ' + e);\n        }\n    };\n\n    /**\n     * Decrypting data method with custom key\n     */\n    NodeRSA.prototype.$$decryptKey = function (usePublic, buffer, encoding) {\n        try {\n            buffer = _.isString(buffer) ? Buffer.from(buffer, 'base64') : buffer;\n            var res = this.keyPair.decrypt(buffer, usePublic);\n\n            if (res === null) {\n                throw Error('Key decrypt method returns null.');\n            }\n\n            return this.$getDecryptedData(res, encoding);\n        } catch (e) {\n            throw Error('Error during decryption (probably incorrect key). Original error: ' + e);\n        }\n    };\n\n    /**\n     *  Signing data\n     *\n     * @param buffer {string|number|object|array|Buffer} - data for signing. Object and array will convert to JSON string.\n     * @param encoding {string} - optional. Encoding for output result, may be 'buffer', 'binary', 'hex' or 'base64'. Default 'buffer'.\n     * @param source_encoding {string} - optional. Encoding for given string. Default utf8.\n     * @returns {string|Buffer}\n     */\n    NodeRSA.prototype.sign = function (buffer, encoding, source_encoding) {\n        if (!this.isPrivate()) {\n            throw Error(\"This is not private key\");\n        }\n\n        var res = this.keyPair.sign(this.$getDataForEncrypt(buffer, source_encoding));\n\n        if (encoding && encoding != 'buffer') {\n            res = res.toString(encoding);\n        }\n\n        return res;\n    };\n\n    /**\n     *  Verifying signed data\n     *\n     * @param buffer - signed data\n     * @param signature\n     * @param source_encoding {string} - optional. Encoding for given string. Default utf8.\n     * @param signature_encoding - optional. Encoding of given signature. May be 'buffer', 'binary', 'hex' or 'base64'. Default 'buffer'.\n     * @returns {*}\n     */\n    NodeRSA.prototype.verify = function (buffer, signature, source_encoding, signature_encoding) {\n        if (!this.isPublic()) {\n            throw Error(\"This is not public key\");\n        }\n        signature_encoding = (!signature_encoding || signature_encoding == 'buffer' ? null : signature_encoding);\n        return this.keyPair.verify(this.$getDataForEncrypt(buffer, source_encoding), signature, signature_encoding);\n    };\n\n    /**\n     * Returns key size in bits\n     * @returns {int}\n     */\n    NodeRSA.prototype.getKeySize = function () {\n        return this.keyPair.keySize;\n    };\n\n    /**\n     * Returns max message length in bytes (for 1 chunk) depending on current encryption scheme\n     * @returns {int}\n     */\n    NodeRSA.prototype.getMaxMessageSize = function () {\n        return this.keyPair.maxMessageLength;\n    };\n\n    /**\n     * Preparing given data for encrypting/signing. Just make new/return Buffer object.\n     *\n     * @param buffer {string|number|object|array|Buffer} - data for encrypting. Object and array will convert to JSON string.\n     * @param encoding {string} - optional. Encoding for given string. Default utf8.\n     * @returns {Buffer}\n     */\n    NodeRSA.prototype.$getDataForEncrypt = function (buffer, encoding) {\n        if (_.isString(buffer) || _.isNumber(buffer)) {\n            return Buffer.from('' + buffer, encoding || 'utf8');\n        } else if (Buffer.isBuffer(buffer)) {\n            return buffer;\n        } else if (_.isObject(buffer)) {\n            return Buffer.from(JSON.stringify(buffer));\n        } else {\n            throw Error(\"Unexpected data type\");\n        }\n    };\n\n    /**\n     *\n     * @param buffer {Buffer} - decrypted data.\n     * @param encoding - optional. Encoding for result output. May be 'buffer', 'json' or any of Node.js Buffer supported encoding.\n     * @returns {*}\n     */\n    NodeRSA.prototype.$getDecryptedData = function (buffer, encoding) {\n        encoding = encoding || 'buffer';\n\n        if (encoding == 'buffer') {\n            return buffer;\n        } else if (encoding == 'json') {\n            return JSON.parse(buffer.toString());\n        } else {\n            return buffer.toString(encoding);\n        }\n    };\n\n    return NodeRSA;\n})();\n\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/NodeRSA.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/encryptEngines/encryptEngines.js":
/*!************************************************************************!*\
  !*** ../../node_modules/node-rsa/src/encryptEngines/encryptEngines.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\r\n\r\nmodule.exports = {\r\n    getEngine: function (keyPair, options) {\r\n        var engine = __webpack_require__(/*! ./js.js */ \"../../node_modules/node-rsa/src/encryptEngines/js.js\");\r\n        if (options.environment === 'node') {\r\n            if (typeof crypt.publicEncrypt === 'function' && typeof crypt.privateDecrypt === 'function') {\r\n                if (typeof crypt.privateEncrypt === 'function' && typeof crypt.publicDecrypt === 'function') {\r\n                    engine = __webpack_require__(/*! ./io.js */ \"../../node_modules/node-rsa/src/encryptEngines/io.js\");\r\n                } else {\r\n                    engine = __webpack_require__(/*! ./node12.js */ \"../../node_modules/node-rsa/src/encryptEngines/node12.js\");\r\n                }\r\n            }\r\n        }\r\n        return engine(keyPair, options);\r\n    }\r\n};\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/encryptEngines/encryptEngines.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/encryptEngines/io.js":
/*!************************************************************!*\
  !*** ../../node_modules/node-rsa/src/encryptEngines/io.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var crypto = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\nvar constants = __webpack_require__(/*! constants */ \"../../node_modules/constants-browserify/constants.json\");\nvar schemes = __webpack_require__(/*! ../schemes/schemes.js */ \"../../node_modules/node-rsa/src/schemes/schemes.js\");\n\nmodule.exports = function (keyPair, options) {\n    var pkcs1Scheme = schemes.pkcs1.makeScheme(keyPair, options);\n\n    return {\n        encrypt: function (buffer, usePrivate) {\n            var padding;\n            if (usePrivate) {\n                padding = constants.RSA_PKCS1_PADDING;\n                if (options.encryptionSchemeOptions && options.encryptionSchemeOptions.padding) {\n                    padding = options.encryptionSchemeOptions.padding;\n                }\n                return crypto.privateEncrypt({\n                    key: options.rsaUtils.exportKey('private'),\n                    padding: padding\n                }, buffer);\n            } else {\n                padding = constants.RSA_PKCS1_OAEP_PADDING;\n                if (options.encryptionScheme === 'pkcs1') {\n                    padding = constants.RSA_PKCS1_PADDING;\n                }\n                if (options.encryptionSchemeOptions && options.encryptionSchemeOptions.padding) {\n                    padding = options.encryptionSchemeOptions.padding;\n                }\n\n                var data = buffer;\n                if (padding === constants.RSA_NO_PADDING) {\n                    data = pkcs1Scheme.pkcs0pad(buffer);\n                }\n\n                return crypto.publicEncrypt({\n                    key: options.rsaUtils.exportKey('public'),\n                    padding: padding\n                }, data);\n            }\n        },\n\n        decrypt: function (buffer, usePublic) {\n            var padding;\n            if (usePublic) {\n                padding = constants.RSA_PKCS1_PADDING;\n                if (options.encryptionSchemeOptions && options.encryptionSchemeOptions.padding) {\n                    padding = options.encryptionSchemeOptions.padding;\n                }\n                return crypto.publicDecrypt({\n                    key: options.rsaUtils.exportKey('public'),\n                    padding: padding\n                }, buffer);\n            } else {\n                padding = constants.RSA_PKCS1_OAEP_PADDING;\n                if (options.encryptionScheme === 'pkcs1') {\n                    padding = constants.RSA_PKCS1_PADDING;\n                }\n                if (options.encryptionSchemeOptions && options.encryptionSchemeOptions.padding) {\n                    padding = options.encryptionSchemeOptions.padding;\n                }\n                var res = crypto.privateDecrypt({\n                    key: options.rsaUtils.exportKey('private'),\n                    padding: padding\n                }, buffer);\n\n                if (padding === constants.RSA_NO_PADDING) {\n                    return pkcs1Scheme.pkcs0unpad(res);\n                }\n                return res;\n            }\n        }\n    };\n};\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/encryptEngines/io.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/encryptEngines/js.js":
/*!************************************************************!*\
  !*** ../../node_modules/node-rsa/src/encryptEngines/js.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var BigInteger = __webpack_require__(/*! ../libs/jsbn.js */ \"../../node_modules/node-rsa/src/libs/jsbn.js\");\r\nvar schemes = __webpack_require__(/*! ../schemes/schemes.js */ \"../../node_modules/node-rsa/src/schemes/schemes.js\");\r\n\r\nmodule.exports = function (keyPair, options) {\r\n    var pkcs1Scheme = schemes.pkcs1.makeScheme(keyPair, options);\r\n\r\n    return {\r\n        encrypt: function (buffer, usePrivate) {\r\n            var m, c;\r\n            if (usePrivate) {\r\n                /* Type 1: zeros padding for private key encrypt */\r\n                m = new BigInteger(pkcs1Scheme.encPad(buffer, {type: 1}));\r\n                c = keyPair.$doPrivate(m);\r\n            } else {\r\n                m = new BigInteger(keyPair.encryptionScheme.encPad(buffer));\r\n                c = keyPair.$doPublic(m);\r\n            }\r\n            return c.toBuffer(keyPair.encryptedDataLength);\r\n        },\r\n\r\n        decrypt: function (buffer, usePublic) {\r\n            var m, c = new BigInteger(buffer);\r\n\r\n            if (usePublic) {\r\n                m = keyPair.$doPublic(c);\r\n                /* Type 1: zeros padding for private key decrypt */\r\n                return pkcs1Scheme.encUnPad(m.toBuffer(keyPair.encryptedDataLength), {type: 1});\r\n            } else {\r\n                m = keyPair.$doPrivate(c);\r\n                return keyPair.encryptionScheme.encUnPad(m.toBuffer(keyPair.encryptedDataLength));\r\n            }\r\n        }\r\n    };\r\n};\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/encryptEngines/js.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/encryptEngines/node12.js":
/*!****************************************************************!*\
  !*** ../../node_modules/node-rsa/src/encryptEngines/node12.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var crypto = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\nvar constants = __webpack_require__(/*! constants */ \"../../node_modules/constants-browserify/constants.json\");\nvar schemes = __webpack_require__(/*! ../schemes/schemes.js */ \"../../node_modules/node-rsa/src/schemes/schemes.js\");\n\nmodule.exports = function (keyPair, options) {\n    var jsEngine = __webpack_require__(/*! ./js.js */ \"../../node_modules/node-rsa/src/encryptEngines/js.js\")(keyPair, options);\n    var pkcs1Scheme = schemes.pkcs1.makeScheme(keyPair, options);\n\n    return {\n        encrypt: function (buffer, usePrivate) {\n            if (usePrivate) {\n                return jsEngine.encrypt(buffer, usePrivate);\n            }\n            var padding = constants.RSA_PKCS1_OAEP_PADDING;\n            if (options.encryptionScheme === 'pkcs1') {\n                padding = constants.RSA_PKCS1_PADDING;\n            }\n            if (options.encryptionSchemeOptions && options.encryptionSchemeOptions.padding) {\n                padding = options.encryptionSchemeOptions.padding;\n            }\n\n            var data = buffer;\n            if (padding === constants.RSA_NO_PADDING) {\n                data = pkcs1Scheme.pkcs0pad(buffer);\n            }\n\n            return crypto.publicEncrypt({\n                key: options.rsaUtils.exportKey('public'),\n                padding: padding\n            }, data);\n        },\n\n        decrypt: function (buffer, usePublic) {\n            if (usePublic) {\n                return jsEngine.decrypt(buffer, usePublic);\n            }\n            var padding = constants.RSA_PKCS1_OAEP_PADDING;\n            if (options.encryptionScheme === 'pkcs1') {\n                padding = constants.RSA_PKCS1_PADDING;\n            }\n            if (options.encryptionSchemeOptions && options.encryptionSchemeOptions.padding) {\n                padding = options.encryptionSchemeOptions.padding;\n            }\n\n            var res = crypto.privateDecrypt({\n                key: options.rsaUtils.exportKey('private'),\n                padding: padding\n            }, buffer);\n\n            if (padding === constants.RSA_NO_PADDING) {\n                return pkcs1Scheme.pkcs0unpad(res);\n            }\n            return res;\n        }\n    };\n};\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/encryptEngines/node12.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/formats/components.js":
/*!*************************************************************!*\
  !*** ../../node_modules/node-rsa/src/formats/components.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = (__webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\r\nvar utils = __webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\");\r\n\r\nmodule.exports = {\r\n    privateExport: function (key, options) {\r\n        return {\r\n            n: key.n.toBuffer(),\r\n            e: key.e,\r\n            d: key.d.toBuffer(),\r\n            p: key.p.toBuffer(),\r\n            q: key.q.toBuffer(),\r\n            dmp1: key.dmp1.toBuffer(),\r\n            dmq1: key.dmq1.toBuffer(),\r\n            coeff: key.coeff.toBuffer()\r\n        };\r\n    },\r\n\r\n    privateImport: function (key, data, options) {\r\n        if (data.n && data.e && data.d && data.p && data.q && data.dmp1 && data.dmq1 && data.coeff) {\r\n            key.setPrivate(\r\n                data.n,\r\n                data.e,\r\n                data.d,\r\n                data.p,\r\n                data.q,\r\n                data.dmp1,\r\n                data.dmq1,\r\n                data.coeff\r\n            );\r\n        } else {\r\n            throw Error(\"Invalid key data\");\r\n        }\r\n    },\r\n\r\n    publicExport: function (key, options) {\r\n        return {\r\n            n: key.n.toBuffer(),\r\n            e: key.e\r\n        };\r\n    },\r\n\r\n    publicImport: function (key, data, options) {\r\n        if (data.n && data.e) {\r\n            key.setPublic(\r\n                data.n,\r\n                data.e\r\n            );\r\n        } else {\r\n            throw Error(\"Invalid key data\");\r\n        }\r\n    },\r\n\r\n    /**\r\n     * Trying autodetect and import key\r\n     * @param key\r\n     * @param data\r\n     */\r\n    autoImport: function (key, data) {\r\n        if (data.n && data.e) {\r\n            if (data.d && data.p && data.q && data.dmp1 && data.dmq1 && data.coeff) {\r\n                module.exports.privateImport(key, data);\r\n                return true;\r\n            } else {\r\n                module.exports.publicImport(key, data);\r\n                return true;\r\n            }\r\n        }\r\n\r\n        return false;\r\n    }\r\n};\r\n\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/formats/components.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/formats/formats.js":
/*!**********************************************************!*\
  !*** ../../node_modules/node-rsa/src/formats/formats.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = (__webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\n\nfunction formatParse(format) {\n    format = format.split('-');\n    var keyType = 'private';\n    var keyOpt = {type: 'default'};\n\n    for (var i = 1; i < format.length; i++) {\n        if (format[i]) {\n            switch (format[i]) {\n                case 'public':\n                    keyType = format[i];\n                    break;\n                case 'private':\n                    keyType = format[i];\n                    break;\n                case 'pem':\n                    keyOpt.type = format[i];\n                    break;\n                case 'der':\n                    keyOpt.type = format[i];\n                    break;\n            }\n        }\n    }\n\n    return {scheme: format[0], keyType: keyType, keyOpt: keyOpt};\n}\n\nmodule.exports = {\n    pkcs1: __webpack_require__(/*! ./pkcs1 */ \"../../node_modules/node-rsa/src/formats/pkcs1.js\"),\n    pkcs8: __webpack_require__(/*! ./pkcs8 */ \"../../node_modules/node-rsa/src/formats/pkcs8.js\"),\n    components: __webpack_require__(/*! ./components */ \"../../node_modules/node-rsa/src/formats/components.js\"),\n    openssh: __webpack_require__(/*! ./openssh */ \"../../node_modules/node-rsa/src/formats/openssh.js\"),\n\n    isPrivateExport: function (format) {\n        return module.exports[format] && typeof module.exports[format].privateExport === 'function';\n    },\n\n    isPrivateImport: function (format) {\n        return module.exports[format] && typeof module.exports[format].privateImport === 'function';\n    },\n\n    isPublicExport: function (format) {\n        return module.exports[format] && typeof module.exports[format].publicExport === 'function';\n    },\n\n    isPublicImport: function (format) {\n        return module.exports[format] && typeof module.exports[format].publicImport === 'function';\n    },\n\n    detectAndImport: function (key, data, format) {\n        if (format === undefined) {\n            for (var scheme in module.exports) {\n                if (typeof module.exports[scheme].autoImport === 'function' && module.exports[scheme].autoImport(key, data)) {\n                    return true;\n                }\n            }\n        } else if (format) {\n            var fmt = formatParse(format);\n\n            if (module.exports[fmt.scheme]) {\n                if (fmt.keyType === 'private') {\n                    module.exports[fmt.scheme].privateImport(key, data, fmt.keyOpt);\n                } else {\n                    module.exports[fmt.scheme].publicImport(key, data, fmt.keyOpt);\n                }\n            } else {\n                throw Error('Unsupported key format');\n            }\n        }\n\n        return false;\n    },\n\n    detectAndExport: function (key, format) {\n        if (format) {\n            var fmt = formatParse(format);\n\n            if (module.exports[fmt.scheme]) {\n                if (fmt.keyType === 'private') {\n                    if (!key.isPrivate()) {\n                        throw Error(\"This is not private key\");\n                    }\n                    return module.exports[fmt.scheme].privateExport(key, fmt.keyOpt);\n                } else {\n                    if (!key.isPublic()) {\n                        throw Error(\"This is not public key\");\n                    }\n                    return module.exports[fmt.scheme].publicExport(key, fmt.keyOpt);\n                }\n            } else {\n                throw Error('Unsupported key format');\n            }\n        }\n    }\n};\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/formats/formats.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/formats/openssh.js":
/*!**********************************************************!*\
  !*** ../../node_modules/node-rsa/src/formats/openssh.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\nvar _ = (__webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\nvar utils = __webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\");\nvar BigInteger = __webpack_require__(/*! ../libs/jsbn */ \"../../node_modules/node-rsa/src/libs/jsbn.js\");\n\nconst PRIVATE_OPENING_BOUNDARY = \"-----BEGIN OPENSSH PRIVATE KEY-----\";\nconst PRIVATE_CLOSING_BOUNDARY = \"-----END OPENSSH PRIVATE KEY-----\";\n\nmodule.exports = {\n    privateExport: function (key, options) {\n        const nbuf = key.n.toBuffer();\n\n        let ebuf = Buffer.alloc(4)\n        ebuf.writeUInt32BE(key.e, 0);\n        //Slice leading zeroes\n        while (ebuf[0] === 0) ebuf = ebuf.slice(1);\n\n        const dbuf = key.d.toBuffer();\n        const coeffbuf = key.coeff.toBuffer();\n        const pbuf = key.p.toBuffer();\n        const qbuf = key.q.toBuffer();\n        let commentbuf;\n        if (typeof key.sshcomment !== \"undefined\") {\n            commentbuf = Buffer.from(key.sshcomment);\n        } else {\n            commentbuf = Buffer.from([]);\n        }\n\n        const pubkeyLength =\n            11 + // 32bit length, 'ssh-rsa'\n            4 + ebuf.byteLength +\n            4 + nbuf.byteLength;\n\n        const privateKeyLength =\n            8 + //64bit unused checksum\n            11 + // 32bit length, 'ssh-rsa'\n            4 + nbuf.byteLength +\n            4 + ebuf.byteLength +\n            4 + dbuf.byteLength +\n            4 + coeffbuf.byteLength +\n            4 + pbuf.byteLength +\n            4 + qbuf.byteLength +\n            4 + commentbuf.byteLength;\n\n        let length =\n            15 + //openssh-key-v1,0x00,\n            16 + // 2*(32bit length, 'none')\n            4 + // 32bit length, empty string\n            4 + // 32bit number of keys\n            4 + // 32bit pubkey length\n            pubkeyLength +\n            4 + //32bit private+checksum+comment+padding length\n            privateKeyLength;\n\n        const paddingLength = Math.ceil(privateKeyLength / 8) * 8 - privateKeyLength;\n        length += paddingLength;\n\n        const buf = Buffer.alloc(length);\n        const writer = {buf: buf, off: 0};\n        buf.write(\"openssh-key-v1\", \"utf8\");\n        buf.writeUInt8(0, 14);\n        writer.off += 15;\n\n        writeOpenSSHKeyString(writer, Buffer.from(\"none\"));\n        writeOpenSSHKeyString(writer, Buffer.from(\"none\"));\n        writeOpenSSHKeyString(writer, Buffer.from(\"\"));\n\n        writer.off = writer.buf.writeUInt32BE(1, writer.off);\n        writer.off = writer.buf.writeUInt32BE(pubkeyLength, writer.off);\n\n        writeOpenSSHKeyString(writer, Buffer.from(\"ssh-rsa\"));\n        writeOpenSSHKeyString(writer, ebuf);\n        writeOpenSSHKeyString(writer, nbuf);\n\n        writer.off = writer.buf.writeUInt32BE(\n            length - 47 - pubkeyLength,\n            writer.off\n        );\n        writer.off += 8;\n\n        writeOpenSSHKeyString(writer, Buffer.from(\"ssh-rsa\"));\n        writeOpenSSHKeyString(writer, nbuf);\n        writeOpenSSHKeyString(writer, ebuf);\n        writeOpenSSHKeyString(writer, dbuf);\n        writeOpenSSHKeyString(writer, coeffbuf);\n        writeOpenSSHKeyString(writer, pbuf);\n        writeOpenSSHKeyString(writer, qbuf);\n        writeOpenSSHKeyString(writer, commentbuf);\n\n        let pad = 0x01;\n        while (writer.off < length) {\n            writer.off = writer.buf.writeUInt8(pad++, writer.off);\n        }\n\n        if (options.type === \"der\") {\n            return writer.buf\n        } else {\n            return PRIVATE_OPENING_BOUNDARY + \"\\n\" + utils.linebrk(buf.toString(\"base64\"), 70) + \"\\n\" + PRIVATE_CLOSING_BOUNDARY + \"\\n\";\n        }\n    },\n\n    privateImport: function (key, data, options) {\n        options = options || {};\n        var buffer;\n\n        if (options.type !== \"der\") {\n            if (Buffer.isBuffer(data)) {\n                data = data.toString(\"utf8\");\n            }\n\n            if (_.isString(data)) {\n                var pem = utils.trimSurroundingText(data, PRIVATE_OPENING_BOUNDARY, PRIVATE_CLOSING_BOUNDARY)\n                    .replace(/\\s+|\\n\\r|\\n|\\r$/gm, \"\");\n                buffer = Buffer.from(pem, \"base64\");\n            } else {\n                throw Error(\"Unsupported key format\");\n            }\n        } else if (Buffer.isBuffer(data)) {\n            buffer = data;\n        } else {\n            throw Error(\"Unsupported key format\");\n        }\n\n        const reader = {buf: buffer, off: 0};\n\n        if (buffer.slice(0, 14).toString(\"ascii\") !== \"openssh-key-v1\")\n            throw \"Invalid file format.\";\n\n        reader.off += 15;\n\n        //ciphername\n        if (readOpenSSHKeyString(reader).toString(\"ascii\") !== \"none\")\n            throw Error(\"Unsupported key type\");\n        //kdfname\n        if (readOpenSSHKeyString(reader).toString(\"ascii\") !== \"none\")\n            throw Error(\"Unsupported key type\");\n        //kdf\n        if (readOpenSSHKeyString(reader).toString(\"ascii\") !== \"\")\n            throw Error(\"Unsupported key type\");\n        //keynum\n        reader.off += 4;\n\n        //sshpublength\n        reader.off += 4;\n\n        //keytype\n        if (readOpenSSHKeyString(reader).toString(\"ascii\") !== \"ssh-rsa\")\n            throw Error(\"Unsupported key type\");\n        readOpenSSHKeyString(reader);\n        readOpenSSHKeyString(reader);\n\n        reader.off += 12;\n        if (readOpenSSHKeyString(reader).toString(\"ascii\") !== \"ssh-rsa\")\n            throw Error(\"Unsupported key type\");\n\n        const n = readOpenSSHKeyString(reader);\n        const e = readOpenSSHKeyString(reader);\n        const d = readOpenSSHKeyString(reader);\n        const coeff = readOpenSSHKeyString(reader);\n        const p = readOpenSSHKeyString(reader);\n        const q = readOpenSSHKeyString(reader);\n\n        //Calculate missing values\n        const dint = new BigInteger(d);\n        const qint = new BigInteger(q);\n        const pint = new BigInteger(p);\n        const dp = dint.mod(pint.subtract(BigInteger.ONE));\n        const dq = dint.mod(qint.subtract(BigInteger.ONE));\n\n        key.setPrivate(\n            n,  // modulus\n            e,  // publicExponent\n            d,  // privateExponent\n            p,  // prime1\n            q,  // prime2\n            dp.toBuffer(),  // exponent1 -- d mod (p1)\n            dq.toBuffer(),  // exponent2 -- d mod (q-1)\n            coeff  // coefficient -- (inverse of q) mod p\n        );\n\n        key.sshcomment = readOpenSSHKeyString(reader).toString(\"ascii\");\n    },\n\n    publicExport: function (key, options) {\n        let ebuf = Buffer.alloc(4)\n        ebuf.writeUInt32BE(key.e, 0);\n        //Slice leading zeroes\n        while (ebuf[0] === 0) ebuf = ebuf.slice(1);\n        const nbuf = key.n.toBuffer();\n        const buf = Buffer.alloc(\n            ebuf.byteLength + 4 +\n            nbuf.byteLength + 4 +\n            \"ssh-rsa\".length + 4\n        );\n\n        const writer = {buf: buf, off: 0};\n        writeOpenSSHKeyString(writer, Buffer.from(\"ssh-rsa\"));\n        writeOpenSSHKeyString(writer, ebuf);\n        writeOpenSSHKeyString(writer, nbuf);\n\n        let comment = key.sshcomment || \"\";\n\n        if (options.type === \"der\") {\n            return writer.buf\n        } else {\n            return \"ssh-rsa \" + buf.toString(\"base64\") + \" \" + comment + \"\\n\";\n        }\n    },\n\n    publicImport: function (key, data, options) {\n        options = options || {};\n        var buffer;\n\n        if (options.type !== \"der\") {\n            if (Buffer.isBuffer(data)) {\n                data = data.toString(\"utf8\");\n            }\n\n            if (_.isString(data)) {\n                if (data.substring(0, 8) !== \"ssh-rsa \")\n                    throw Error(\"Unsupported key format\");\n                let pemEnd = data.indexOf(\" \", 8);\n\n                //Handle keys with no comment\n                if (pemEnd === -1) {\n                    pemEnd = data.length;\n                } else {\n                    key.sshcomment = data.substring(pemEnd + 1)\n                        .replace(/\\s+|\\n\\r|\\n|\\r$/gm, \"\");\n                }\n\n                const pem = data.substring(8, pemEnd)\n                    .replace(/\\s+|\\n\\r|\\n|\\r$/gm, \"\");\n                buffer = Buffer.from(pem, \"base64\");\n            } else {\n                throw Error(\"Unsupported key format\");\n            }\n        } else if (Buffer.isBuffer(data)) {\n            buffer = data;\n        } else {\n            throw Error(\"Unsupported key format\");\n        }\n\n        const reader = {buf: buffer, off: 0};\n\n        const type = readOpenSSHKeyString(reader).toString(\"ascii\");\n\n        if (type !== \"ssh-rsa\")\n            throw Error(\"Invalid key type: \" + type);\n\n        const e = readOpenSSHKeyString(reader);\n        const n = readOpenSSHKeyString(reader);\n\n        key.setPublic(\n            n,\n            e\n        );\n    },\n\n    /**\n     * Trying autodetect and import key\n     * @param key\n     * @param data\n     */\n    autoImport: function (key, data) {\n        // [\\S\\s]* matches zero or more of any character\n        if (/^[\\S\\s]*-----BEGIN OPENSSH PRIVATE KEY-----\\s*(?=(([A-Za-z0-9+/=]+\\s*)+))\\1-----END OPENSSH PRIVATE KEY-----[\\S\\s]*$/g.test(data)) {\n            module.exports.privateImport(key, data);\n            return true;\n        }\n\n        if (/^[\\S\\s]*ssh-rsa \\s*(?=(([A-Za-z0-9+/=]+\\s*)+))\\1[\\S\\s]*$/g.test(data)) {\n            module.exports.publicImport(key, data);\n            return true;\n        }\n\n        return false;\n    }\n};\n\nfunction readOpenSSHKeyString(reader) {\n    const len = reader.buf.readInt32BE(reader.off);\n    reader.off += 4;\n    const res = reader.buf.slice(reader.off, reader.off + len);\n    reader.off += len;\n    return res;\n}\n\nfunction writeOpenSSHKeyString(writer, data) {\n    writer.buf.writeInt32BE(data.byteLength, writer.off);\n    writer.off += 4;\n    writer.off += data.copy(writer.buf, writer.off);\n}\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/formats/openssh.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/formats/pkcs1.js":
/*!********************************************************!*\
  !*** ../../node_modules/node-rsa/src/formats/pkcs1.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\nvar ber = (__webpack_require__(/*! asn1 */ \"../../node_modules/asn1/lib/index.js\").Ber);\nvar _ = (__webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\nvar utils = __webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\");\n\nconst PRIVATE_OPENING_BOUNDARY = '-----BEGIN RSA PRIVATE KEY-----';\nconst PRIVATE_CLOSING_BOUNDARY = '-----END RSA PRIVATE KEY-----';\n\nconst PUBLIC_OPENING_BOUNDARY = '-----BEGIN RSA PUBLIC KEY-----';\nconst PUBLIC_CLOSING_BOUNDARY = '-----END RSA PUBLIC KEY-----';\n\nmodule.exports = {\n    privateExport: function (key, options) {\n        options = options || {};\n\n        var n = key.n.toBuffer();\n        var d = key.d.toBuffer();\n        var p = key.p.toBuffer();\n        var q = key.q.toBuffer();\n        var dmp1 = key.dmp1.toBuffer();\n        var dmq1 = key.dmq1.toBuffer();\n        var coeff = key.coeff.toBuffer();\n\n        var length = n.length + d.length + p.length + q.length + dmp1.length + dmq1.length + coeff.length + 512; // magic\n        var writer = new ber.Writer({size: length});\n\n        writer.startSequence();\n        writer.writeInt(0);\n        writer.writeBuffer(n, 2);\n        writer.writeInt(key.e);\n        writer.writeBuffer(d, 2);\n        writer.writeBuffer(p, 2);\n        writer.writeBuffer(q, 2);\n        writer.writeBuffer(dmp1, 2);\n        writer.writeBuffer(dmq1, 2);\n        writer.writeBuffer(coeff, 2);\n        writer.endSequence();\n\n        if (options.type === 'der') {\n            return writer.buffer;\n        } else {\n            return PRIVATE_OPENING_BOUNDARY + '\\n' + utils.linebrk(writer.buffer.toString('base64'), 64) + '\\n' + PRIVATE_CLOSING_BOUNDARY;\n        }\n    },\n\n    privateImport: function (key, data, options) {\n        options = options || {};\n        var buffer;\n\n        if (options.type !== 'der') {\n            if (Buffer.isBuffer(data)) {\n                data = data.toString('utf8');\n            }\n\n            if (_.isString(data)) {\n                var pem = utils.trimSurroundingText(data, PRIVATE_OPENING_BOUNDARY, PRIVATE_CLOSING_BOUNDARY)\n                    .replace(/\\s+|\\n\\r|\\n|\\r$/gm, '');\n                buffer = Buffer.from(pem, 'base64');\n            } else {\n                throw Error('Unsupported key format');\n            }\n        } else if (Buffer.isBuffer(data)) {\n            buffer = data;\n        } else {\n            throw Error('Unsupported key format');\n        }\n\n        var reader = new ber.Reader(buffer);\n        reader.readSequence();\n        reader.readString(2, true); // just zero\n        key.setPrivate(\n            reader.readString(2, true),  // modulus\n            reader.readString(2, true),  // publicExponent\n            reader.readString(2, true),  // privateExponent\n            reader.readString(2, true),  // prime1\n            reader.readString(2, true),  // prime2\n            reader.readString(2, true),  // exponent1 -- d mod (p1)\n            reader.readString(2, true),  // exponent2 -- d mod (q-1)\n            reader.readString(2, true)   // coefficient -- (inverse of q) mod p\n        );\n    },\n\n    publicExport: function (key, options) {\n        options = options || {};\n\n        var n = key.n.toBuffer();\n        var length = n.length + 512; // magic\n\n        var bodyWriter = new ber.Writer({size: length});\n        bodyWriter.startSequence();\n        bodyWriter.writeBuffer(n, 2);\n        bodyWriter.writeInt(key.e);\n        bodyWriter.endSequence();\n\n        if (options.type === 'der') {\n            return bodyWriter.buffer;\n        } else {\n            return PUBLIC_OPENING_BOUNDARY + '\\n' + utils.linebrk(bodyWriter.buffer.toString('base64'), 64) + '\\n' + PUBLIC_CLOSING_BOUNDARY;\n        }\n    },\n\n    publicImport: function (key, data, options) {\n        options = options || {};\n        var buffer;\n\n        if (options.type !== 'der') {\n            if (Buffer.isBuffer(data)) {\n                data = data.toString('utf8');\n            }\n\n            if (_.isString(data)) {\n                var pem = utils.trimSurroundingText(data, PUBLIC_OPENING_BOUNDARY, PUBLIC_CLOSING_BOUNDARY)\n                    .replace(/\\s+|\\n\\r|\\n|\\r$/gm, '');\n                buffer = Buffer.from(pem, 'base64');\n            }\n        } else if (Buffer.isBuffer(data)) {\n            buffer = data;\n        } else {\n            throw Error('Unsupported key format');\n        }\n\n        var body = new ber.Reader(buffer);\n        body.readSequence();\n        key.setPublic(\n            body.readString(0x02, true), // modulus\n            body.readString(0x02, true)  // publicExponent\n        );\n    },\n\n    /**\n     * Trying autodetect and import key\n     * @param key\n     * @param data\n     */\n    autoImport: function (key, data) {\n        // [\\S\\s]* matches zero or more of any character\n        if (/^[\\S\\s]*-----BEGIN RSA PRIVATE KEY-----\\s*(?=(([A-Za-z0-9+/=]+\\s*)+))\\1-----END RSA PRIVATE KEY-----[\\S\\s]*$/g.test(data)) {\n            module.exports.privateImport(key, data);\n            return true;\n        }\n\n        if (/^[\\S\\s]*-----BEGIN RSA PUBLIC KEY-----\\s*(?=(([A-Za-z0-9+/=]+\\s*)+))\\1-----END RSA PUBLIC KEY-----[\\S\\s]*$/g.test(data)) {\n            module.exports.publicImport(key, data);\n            return true;\n        }\n\n        return false;\n    }\n};\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/formats/pkcs1.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/formats/pkcs8.js":
/*!********************************************************!*\
  !*** ../../node_modules/node-rsa/src/formats/pkcs8.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\nvar ber = (__webpack_require__(/*! asn1 */ \"../../node_modules/asn1/lib/index.js\").Ber);\nvar _ = (__webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\nvar PUBLIC_RSA_OID = '1.2.840.113549.1.1.1';\nvar utils = __webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\");\n\nconst PRIVATE_OPENING_BOUNDARY = '-----BEGIN PRIVATE KEY-----';\nconst PRIVATE_CLOSING_BOUNDARY = '-----END PRIVATE KEY-----';\n\nconst PUBLIC_OPENING_BOUNDARY = '-----BEGIN PUBLIC KEY-----';\nconst PUBLIC_CLOSING_BOUNDARY = '-----END PUBLIC KEY-----';\n\nmodule.exports = {\n    privateExport: function (key, options) {\n        options = options || {};\n\n        var n = key.n.toBuffer();\n        var d = key.d.toBuffer();\n        var p = key.p.toBuffer();\n        var q = key.q.toBuffer();\n        var dmp1 = key.dmp1.toBuffer();\n        var dmq1 = key.dmq1.toBuffer();\n        var coeff = key.coeff.toBuffer();\n\n        var length = n.length + d.length + p.length + q.length + dmp1.length + dmq1.length + coeff.length + 512; // magic\n        var bodyWriter = new ber.Writer({size: length});\n\n        bodyWriter.startSequence();\n        bodyWriter.writeInt(0);\n        bodyWriter.writeBuffer(n, 2);\n        bodyWriter.writeInt(key.e);\n        bodyWriter.writeBuffer(d, 2);\n        bodyWriter.writeBuffer(p, 2);\n        bodyWriter.writeBuffer(q, 2);\n        bodyWriter.writeBuffer(dmp1, 2);\n        bodyWriter.writeBuffer(dmq1, 2);\n        bodyWriter.writeBuffer(coeff, 2);\n        bodyWriter.endSequence();\n\n        var writer = new ber.Writer({size: length});\n        writer.startSequence();\n        writer.writeInt(0);\n        writer.startSequence();\n        writer.writeOID(PUBLIC_RSA_OID);\n        writer.writeNull();\n        writer.endSequence();\n        writer.writeBuffer(bodyWriter.buffer, 4);\n        writer.endSequence();\n\n        if (options.type === 'der') {\n            return writer.buffer;\n        } else {\n            return PRIVATE_OPENING_BOUNDARY + '\\n' + utils.linebrk(writer.buffer.toString('base64'), 64) + '\\n' + PRIVATE_CLOSING_BOUNDARY;\n        }\n    },\n\n    privateImport: function (key, data, options) {\n        options = options || {};\n        var buffer;\n\n        if (options.type !== 'der') {\n            if (Buffer.isBuffer(data)) {\n                data = data.toString('utf8');\n            }\n\n            if (_.isString(data)) {\n                var pem = utils.trimSurroundingText(data, PRIVATE_OPENING_BOUNDARY, PRIVATE_CLOSING_BOUNDARY)\n                    .replace('-----END PRIVATE KEY-----', '')\n                    .replace(/\\s+|\\n\\r|\\n|\\r$/gm, '');\n                buffer = Buffer.from(pem, 'base64');\n            } else {\n                throw Error('Unsupported key format');\n            }\n        } else if (Buffer.isBuffer(data)) {\n            buffer = data;\n        } else {\n            throw Error('Unsupported key format');\n        }\n\n        var reader = new ber.Reader(buffer);\n        reader.readSequence();\n        reader.readInt(0);\n        var header = new ber.Reader(reader.readString(0x30, true));\n\n        if (header.readOID(0x06, true) !== PUBLIC_RSA_OID) {\n            throw Error('Invalid Public key format');\n        }\n\n        var body = new ber.Reader(reader.readString(0x04, true));\n        body.readSequence();\n        body.readString(2, true); // just zero\n        key.setPrivate(\n            body.readString(2, true),  // modulus\n            body.readString(2, true),  // publicExponent\n            body.readString(2, true),  // privateExponent\n            body.readString(2, true),  // prime1\n            body.readString(2, true),  // prime2\n            body.readString(2, true),  // exponent1 -- d mod (p1)\n            body.readString(2, true),  // exponent2 -- d mod (q-1)\n            body.readString(2, true)   // coefficient -- (inverse of q) mod p\n        );\n    },\n\n    publicExport: function (key, options) {\n        options = options || {};\n\n        var n = key.n.toBuffer();\n        var length = n.length + 512; // magic\n\n        var bodyWriter = new ber.Writer({size: length});\n        bodyWriter.writeByte(0);\n        bodyWriter.startSequence();\n        bodyWriter.writeBuffer(n, 2);\n        bodyWriter.writeInt(key.e);\n        bodyWriter.endSequence();\n\n        var writer = new ber.Writer({size: length});\n        writer.startSequence();\n        writer.startSequence();\n        writer.writeOID(PUBLIC_RSA_OID);\n        writer.writeNull();\n        writer.endSequence();\n        writer.writeBuffer(bodyWriter.buffer, 3);\n        writer.endSequence();\n\n        if (options.type === 'der') {\n            return writer.buffer;\n        } else {\n            return PUBLIC_OPENING_BOUNDARY + '\\n' + utils.linebrk(writer.buffer.toString('base64'), 64) + '\\n' + PUBLIC_CLOSING_BOUNDARY;\n        }\n    },\n\n    publicImport: function (key, data, options) {\n        options = options || {};\n        var buffer;\n\n        if (options.type !== 'der') {\n            if (Buffer.isBuffer(data)) {\n                data = data.toString('utf8');\n            }\n\n            if (_.isString(data)) {\n                var pem = utils.trimSurroundingText(data, PUBLIC_OPENING_BOUNDARY, PUBLIC_CLOSING_BOUNDARY)\n                    .replace(/\\s+|\\n\\r|\\n|\\r$/gm, '');\n                buffer = Buffer.from(pem, 'base64');\n            }\n        } else if (Buffer.isBuffer(data)) {\n            buffer = data;\n        } else {\n            throw Error('Unsupported key format');\n        }\n\n        var reader = new ber.Reader(buffer);\n        reader.readSequence();\n        var header = new ber.Reader(reader.readString(0x30, true));\n\n        if (header.readOID(0x06, true) !== PUBLIC_RSA_OID) {\n            throw Error('Invalid Public key format');\n        }\n\n        var body = new ber.Reader(reader.readString(0x03, true));\n        body.readByte();\n        body.readSequence();\n        key.setPublic(\n            body.readString(0x02, true), // modulus\n            body.readString(0x02, true)  // publicExponent\n        );\n    },\n\n    /**\n     * Trying autodetect and import key\n     * @param key\n     * @param data\n     */\n    autoImport: function (key, data) {\n        if (/^[\\S\\s]*-----BEGIN PRIVATE KEY-----\\s*(?=(([A-Za-z0-9+/=]+\\s*)+))\\1-----END PRIVATE KEY-----[\\S\\s]*$/g.test(data)) {\n            module.exports.privateImport(key, data);\n            return true;\n        }\n\n        if (/^[\\S\\s]*-----BEGIN PUBLIC KEY-----\\s*(?=(([A-Za-z0-9+/=]+\\s*)+))\\1-----END PUBLIC KEY-----[\\S\\s]*$/g.test(data)) {\n            module.exports.publicImport(key, data);\n            return true;\n        }\n\n        return false;\n    }\n};\n\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/formats/pkcs8.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/libs/jsbn.js":
/*!****************************************************!*\
  !*** ../../node_modules/node-rsa/src/libs/jsbn.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\n/*\r\n * Basic JavaScript BN library - subset useful for RSA encryption.\r\n * \r\n * Copyright (c) 2003-2005  Tom Wu\r\n * All Rights Reserved.\r\n *\r\n * Permission is hereby granted, free of charge, to any person obtaining\r\n * a copy of this software and associated documentation files (the\r\n * \"Software\"), to deal in the Software without restriction, including\r\n * without limitation the rights to use, copy, modify, merge, publish,\r\n * distribute, sublicense, and/or sell copies of the Software, and to\r\n * permit persons to whom the Software is furnished to do so, subject to\r\n * the following conditions:\r\n *\r\n * The above copyright notice and this permission notice shall be\r\n * included in all copies or substantial portions of the Software.\r\n *\r\n * THE SOFTWARE IS PROVIDED \"AS-IS\" AND WITHOUT WARRANTY OF ANY KIND, \r\n * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY \r\n * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  \r\n *\r\n * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,\r\n * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER\r\n * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF\r\n * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT\r\n * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\r\n *\r\n * In addition, the following condition applies:\r\n *\r\n * All redistributions must retain an intact copy of this copyright notice\r\n * and disclaimer.\r\n */\r\n\r\n/*\r\n * Added Node.js Buffers support\r\n * 2014 rzcoder\r\n */\r\n\r\nvar crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\r\nvar _ = (__webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\r\n\r\n// Bits per digit\r\nvar dbits;\r\n\r\n// JavaScript engine analysis\r\nvar canary = 0xdeadbeefcafe;\r\nvar j_lm = ((canary & 0xffffff) == 0xefcafe);\r\n\r\n// (public) Constructor\r\nfunction BigInteger(a, b) {\r\n    if (a != null) {\r\n        if (\"number\" == typeof a) {\r\n            this.fromNumber(a, b);\r\n        } else if (Buffer.isBuffer(a)) {\r\n            this.fromBuffer(a);\r\n        } else if (b == null && \"string\" != typeof a) {\r\n            this.fromByteArray(a);\r\n        } else {\r\n            this.fromString(a, b);\r\n        }\r\n    }\r\n}\r\n\r\n// return new, unset BigInteger\r\nfunction nbi() {\r\n    return new BigInteger(null);\r\n}\r\n\r\n// am: Compute w_j += (x*this_i), propagate carries,\r\n// c is initial carry, returns final carry.\r\n// c < 3*dvalue, x < 2*dvalue, this_i < dvalue\r\n// We need to select the fastest one that works in this environment.\r\n\r\n// am1: use a single mult and divide to get the high bits,\r\n// max digit bits should be 26 because\r\n// max internal value = 2*dvalue^2-2*dvalue (< 2^53)\r\nfunction am1(i, x, w, j, c, n) {\r\n    while (--n >= 0) {\r\n        var v = x * this[i++] + w[j] + c;\r\n        c = Math.floor(v / 0x4000000);\r\n        w[j++] = v & 0x3ffffff;\r\n    }\r\n    return c;\r\n}\r\n// am2 avoids a big mult-and-extract completely.\r\n// Max digit bits should be <= 30 because we do bitwise ops\r\n// on values up to 2*hdvalue^2-hdvalue-1 (< 2^31)\r\nfunction am2(i, x, w, j, c, n) {\r\n    var xl = x & 0x7fff, xh = x >> 15;\r\n    while (--n >= 0) {\r\n        var l = this[i] & 0x7fff;\r\n        var h = this[i++] >> 15;\r\n        var m = xh * l + h * xl;\r\n        l = xl * l + ((m & 0x7fff) << 15) + w[j] + (c & 0x3fffffff);\r\n        c = (l >>> 30) + (m >>> 15) + xh * h + (c >>> 30);\r\n        w[j++] = l & 0x3fffffff;\r\n    }\r\n    return c;\r\n}\r\n// Alternately, set max digit bits to 28 since some\r\n// browsers slow down when dealing with 32-bit numbers.\r\nfunction am3(i, x, w, j, c, n) {\r\n    var xl = x & 0x3fff, xh = x >> 14;\r\n    while (--n >= 0) {\r\n        var l = this[i] & 0x3fff;\r\n        var h = this[i++] >> 14;\r\n        var m = xh * l + h * xl;\r\n        l = xl * l + ((m & 0x3fff) << 14) + w[j] + c;\r\n        c = (l >> 28) + (m >> 14) + xh * h;\r\n        w[j++] = l & 0xfffffff;\r\n    }\r\n    return c;\r\n}\r\n\r\n// We need to select the fastest one that works in this environment. \r\n//if (j_lm && (navigator.appName == \"Microsoft Internet Explorer\")) {\r\n//\tBigInteger.prototype.am = am2;\r\n//\tdbits = 30;\r\n//} else if (j_lm && (navigator.appName != \"Netscape\")) {\r\n//\tBigInteger.prototype.am = am1;\r\n//\tdbits = 26;\r\n//} else { // Mozilla/Netscape seems to prefer am3\r\n//\tBigInteger.prototype.am = am3;\r\n//\tdbits = 28;\r\n//}\r\n\r\n// For node.js, we pick am3 with max dbits to 28.\r\nBigInteger.prototype.am = am3;\r\ndbits = 28;\r\n\r\nBigInteger.prototype.DB = dbits;\r\nBigInteger.prototype.DM = ((1 << dbits) - 1);\r\nBigInteger.prototype.DV = (1 << dbits);\r\n\r\nvar BI_FP = 52;\r\nBigInteger.prototype.FV = Math.pow(2, BI_FP);\r\nBigInteger.prototype.F1 = BI_FP - dbits;\r\nBigInteger.prototype.F2 = 2 * dbits - BI_FP;\r\n\r\n// Digit conversions\r\nvar BI_RM = \"0123456789abcdefghijklmnopqrstuvwxyz\";\r\nvar BI_RC = new Array();\r\nvar rr, vv;\r\nrr = \"0\".charCodeAt(0);\r\nfor (vv = 0; vv <= 9; ++vv) BI_RC[rr++] = vv;\r\nrr = \"a\".charCodeAt(0);\r\nfor (vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv;\r\nrr = \"A\".charCodeAt(0);\r\nfor (vv = 10; vv < 36; ++vv) BI_RC[rr++] = vv;\r\n\r\nfunction int2char(n) {\r\n    return BI_RM.charAt(n);\r\n}\r\nfunction intAt(s, i) {\r\n    var c = BI_RC[s.charCodeAt(i)];\r\n    return (c == null) ? -1 : c;\r\n}\r\n\r\n// (protected) copy this to r\r\nfunction bnpCopyTo(r) {\r\n    for (var i = this.t - 1; i >= 0; --i) r[i] = this[i];\r\n    r.t = this.t;\r\n    r.s = this.s;\r\n}\r\n\r\n// (protected) set from integer value x, -DV <= x < DV\r\nfunction bnpFromInt(x) {\r\n    this.t = 1;\r\n    this.s = (x < 0) ? -1 : 0;\r\n    if (x > 0) this[0] = x;\r\n    else if (x < -1) this[0] = x + DV;\r\n    else this.t = 0;\r\n}\r\n\r\n// return bigint initialized to value\r\nfunction nbv(i) {\r\n    var r = nbi();\r\n    r.fromInt(i);\r\n    return r;\r\n}\r\n\r\n// (protected) set from string and radix\r\nfunction bnpFromString(data, radix, unsigned) {\r\n    var k;\r\n    switch (radix) {\r\n        case 2:\r\n            k = 1;\r\n            break;\r\n        case 4:\r\n            k = 2;\r\n            break;\r\n        case 8:\r\n            k = 3;\r\n            break;\r\n        case 16:\r\n            k = 4;\r\n            break;\r\n        case 32:\r\n            k = 5;\r\n            break;\r\n        case 256:\r\n            k = 8;\r\n            break;\r\n        default:\r\n            this.fromRadix(data, radix);\r\n            return;\r\n    }\r\n\r\n    this.t = 0;\r\n    this.s = 0;\r\n\r\n    var i = data.length;\r\n    var mi = false;\r\n    var sh = 0;\r\n\r\n    while (--i >= 0) {\r\n        var x = (k == 8) ? data[i] & 0xff : intAt(data, i);\r\n        if (x < 0) {\r\n            if (data.charAt(i) == \"-\") mi = true;\r\n            continue;\r\n        }\r\n        mi = false;\r\n        if (sh === 0)\r\n            this[this.t++] = x;\r\n        else if (sh + k > this.DB) {\r\n            this[this.t - 1] |= (x & ((1 << (this.DB - sh)) - 1)) << sh;\r\n            this[this.t++] = (x >> (this.DB - sh));\r\n        }\r\n        else\r\n            this[this.t - 1] |= x << sh;\r\n        sh += k;\r\n        if (sh >= this.DB) sh -= this.DB;\r\n    }\r\n    if ((!unsigned) && k == 8 && (data[0] & 0x80) != 0) {\r\n        this.s = -1;\r\n        if (sh > 0) this[this.t - 1] |= ((1 << (this.DB - sh)) - 1) << sh;\r\n    }\r\n    this.clamp();\r\n    if (mi) BigInteger.ZERO.subTo(this, this);\r\n}\r\n\r\nfunction bnpFromByteArray(a, unsigned) {\r\n    this.fromString(a, 256, unsigned)\r\n}\r\n\r\nfunction bnpFromBuffer(a) {\r\n    this.fromString(a, 256, true)\r\n}\r\n\r\n// (protected) clamp off excess high words\r\nfunction bnpClamp() {\r\n    var c = this.s & this.DM;\r\n    while (this.t > 0 && this[this.t - 1] == c) --this.t;\r\n}\r\n\r\n// (public) return string representation in given radix\r\nfunction bnToString(b) {\r\n    if (this.s < 0) return \"-\" + this.negate().toString(b);\r\n    var k;\r\n    if (b == 16) k = 4;\r\n    else if (b == 8) k = 3;\r\n    else if (b == 2) k = 1;\r\n    else if (b == 32) k = 5;\r\n    else if (b == 4) k = 2;\r\n    else return this.toRadix(b);\r\n    var km = (1 << k) - 1, d, m = false, r = \"\", i = this.t;\r\n    var p = this.DB - (i * this.DB) % k;\r\n    if (i-- > 0) {\r\n        if (p < this.DB && (d = this[i] >> p) > 0) {\r\n            m = true;\r\n            r = int2char(d);\r\n        }\r\n        while (i >= 0) {\r\n            if (p < k) {\r\n                d = (this[i] & ((1 << p) - 1)) << (k - p);\r\n                d |= this[--i] >> (p += this.DB - k);\r\n            }\r\n            else {\r\n                d = (this[i] >> (p -= k)) & km;\r\n                if (p <= 0) {\r\n                    p += this.DB;\r\n                    --i;\r\n                }\r\n            }\r\n            if (d > 0) m = true;\r\n            if (m) r += int2char(d);\r\n        }\r\n    }\r\n    return m ? r : \"0\";\r\n}\r\n\r\n// (public) -this\r\nfunction bnNegate() {\r\n    var r = nbi();\r\n    BigInteger.ZERO.subTo(this, r);\r\n    return r;\r\n}\r\n\r\n// (public) |this|\r\nfunction bnAbs() {\r\n    return (this.s < 0) ? this.negate() : this;\r\n}\r\n\r\n// (public) return + if this > a, - if this < a, 0 if equal\r\nfunction bnCompareTo(a) {\r\n    var r = this.s - a.s;\r\n    if (r != 0) return r;\r\n    var i = this.t;\r\n    r = i - a.t;\r\n    if (r != 0) return (this.s < 0) ? -r : r;\r\n    while (--i >= 0) if ((r = this[i] - a[i]) != 0) return r;\r\n    return 0;\r\n}\r\n\r\n// returns bit length of the integer x\r\nfunction nbits(x) {\r\n    var r = 1, t;\r\n    if ((t = x >>> 16) != 0) {\r\n        x = t;\r\n        r += 16;\r\n    }\r\n    if ((t = x >> 8) != 0) {\r\n        x = t;\r\n        r += 8;\r\n    }\r\n    if ((t = x >> 4) != 0) {\r\n        x = t;\r\n        r += 4;\r\n    }\r\n    if ((t = x >> 2) != 0) {\r\n        x = t;\r\n        r += 2;\r\n    }\r\n    if ((t = x >> 1) != 0) {\r\n        x = t;\r\n        r += 1;\r\n    }\r\n    return r;\r\n}\r\n\r\n// (public) return the number of bits in \"this\"\r\nfunction bnBitLength() {\r\n    if (this.t <= 0) return 0;\r\n    return this.DB * (this.t - 1) + nbits(this[this.t - 1] ^ (this.s & this.DM));\r\n}\r\n\r\n// (protected) r = this << n*DB\r\nfunction bnpDLShiftTo(n, r) {\r\n    var i;\r\n    for (i = this.t - 1; i >= 0; --i) r[i + n] = this[i];\r\n    for (i = n - 1; i >= 0; --i) r[i] = 0;\r\n    r.t = this.t + n;\r\n    r.s = this.s;\r\n}\r\n\r\n// (protected) r = this >> n*DB\r\nfunction bnpDRShiftTo(n, r) {\r\n    for (var i = n; i < this.t; ++i) r[i - n] = this[i];\r\n    r.t = Math.max(this.t - n, 0);\r\n    r.s = this.s;\r\n}\r\n\r\n// (protected) r = this << n\r\nfunction bnpLShiftTo(n, r) {\r\n    var bs = n % this.DB;\r\n    var cbs = this.DB - bs;\r\n    var bm = (1 << cbs) - 1;\r\n    var ds = Math.floor(n / this.DB), c = (this.s << bs) & this.DM, i;\r\n    for (i = this.t - 1; i >= 0; --i) {\r\n        r[i + ds + 1] = (this[i] >> cbs) | c;\r\n        c = (this[i] & bm) << bs;\r\n    }\r\n    for (i = ds - 1; i >= 0; --i) r[i] = 0;\r\n    r[ds] = c;\r\n    r.t = this.t + ds + 1;\r\n    r.s = this.s;\r\n    r.clamp();\r\n}\r\n\r\n// (protected) r = this >> n\r\nfunction bnpRShiftTo(n, r) {\r\n    r.s = this.s;\r\n    var ds = Math.floor(n / this.DB);\r\n    if (ds >= this.t) {\r\n        r.t = 0;\r\n        return;\r\n    }\r\n    var bs = n % this.DB;\r\n    var cbs = this.DB - bs;\r\n    var bm = (1 << bs) - 1;\r\n    r[0] = this[ds] >> bs;\r\n    for (var i = ds + 1; i < this.t; ++i) {\r\n        r[i - ds - 1] |= (this[i] & bm) << cbs;\r\n        r[i - ds] = this[i] >> bs;\r\n    }\r\n    if (bs > 0) r[this.t - ds - 1] |= (this.s & bm) << cbs;\r\n    r.t = this.t - ds;\r\n    r.clamp();\r\n}\r\n\r\n// (protected) r = this - a\r\nfunction bnpSubTo(a, r) {\r\n    var i = 0, c = 0, m = Math.min(a.t, this.t);\r\n    while (i < m) {\r\n        c += this[i] - a[i];\r\n        r[i++] = c & this.DM;\r\n        c >>= this.DB;\r\n    }\r\n    if (a.t < this.t) {\r\n        c -= a.s;\r\n        while (i < this.t) {\r\n            c += this[i];\r\n            r[i++] = c & this.DM;\r\n            c >>= this.DB;\r\n        }\r\n        c += this.s;\r\n    }\r\n    else {\r\n        c += this.s;\r\n        while (i < a.t) {\r\n            c -= a[i];\r\n            r[i++] = c & this.DM;\r\n            c >>= this.DB;\r\n        }\r\n        c -= a.s;\r\n    }\r\n    r.s = (c < 0) ? -1 : 0;\r\n    if (c < -1) r[i++] = this.DV + c;\r\n    else if (c > 0) r[i++] = c;\r\n    r.t = i;\r\n    r.clamp();\r\n}\r\n\r\n// (protected) r = this * a, r != this,a (HAC 14.12)\r\n// \"this\" should be the larger one if appropriate.\r\nfunction bnpMultiplyTo(a, r) {\r\n    var x = this.abs(), y = a.abs();\r\n    var i = x.t;\r\n    r.t = i + y.t;\r\n    while (--i >= 0) r[i] = 0;\r\n    for (i = 0; i < y.t; ++i) r[i + x.t] = x.am(0, y[i], r, i, 0, x.t);\r\n    r.s = 0;\r\n    r.clamp();\r\n    if (this.s != a.s) BigInteger.ZERO.subTo(r, r);\r\n}\r\n\r\n// (protected) r = this^2, r != this (HAC 14.16)\r\nfunction bnpSquareTo(r) {\r\n    var x = this.abs();\r\n    var i = r.t = 2 * x.t;\r\n    while (--i >= 0) r[i] = 0;\r\n    for (i = 0; i < x.t - 1; ++i) {\r\n        var c = x.am(i, x[i], r, 2 * i, 0, 1);\r\n        if ((r[i + x.t] += x.am(i + 1, 2 * x[i], r, 2 * i + 1, c, x.t - i - 1)) >= x.DV) {\r\n            r[i + x.t] -= x.DV;\r\n            r[i + x.t + 1] = 1;\r\n        }\r\n    }\r\n    if (r.t > 0) r[r.t - 1] += x.am(i, x[i], r, 2 * i, 0, 1);\r\n    r.s = 0;\r\n    r.clamp();\r\n}\r\n\r\n// (protected) divide this by m, quotient and remainder to q, r (HAC 14.20)\r\n// r != q, this != m.  q or r may be null.\r\nfunction bnpDivRemTo(m, q, r) {\r\n    var pm = m.abs();\r\n    if (pm.t <= 0) return;\r\n    var pt = this.abs();\r\n    if (pt.t < pm.t) {\r\n        if (q != null) q.fromInt(0);\r\n        if (r != null) this.copyTo(r);\r\n        return;\r\n    }\r\n    if (r == null) r = nbi();\r\n    var y = nbi(), ts = this.s, ms = m.s;\r\n    var nsh = this.DB - nbits(pm[pm.t - 1]);\t// normalize modulus\r\n    if (nsh > 0) {\r\n        pm.lShiftTo(nsh, y);\r\n        pt.lShiftTo(nsh, r);\r\n    }\r\n    else {\r\n        pm.copyTo(y);\r\n        pt.copyTo(r);\r\n    }\r\n    var ys = y.t;\r\n    var y0 = y[ys - 1];\r\n    if (y0 === 0) return;\r\n    var yt = y0 * (1 << this.F1) + ((ys > 1) ? y[ys - 2] >> this.F2 : 0);\r\n    var d1 = this.FV / yt, d2 = (1 << this.F1) / yt, e = 1 << this.F2;\r\n    var i = r.t, j = i - ys, t = (q == null) ? nbi() : q;\r\n    y.dlShiftTo(j, t);\r\n    if (r.compareTo(t) >= 0) {\r\n        r[r.t++] = 1;\r\n        r.subTo(t, r);\r\n    }\r\n    BigInteger.ONE.dlShiftTo(ys, t);\r\n    t.subTo(y, y);\t// \"negative\" y so we can replace sub with am later\r\n    while (y.t < ys) y[y.t++] = 0;\r\n    while (--j >= 0) {\r\n        // Estimate quotient digit\r\n        var qd = (r[--i] == y0) ? this.DM : Math.floor(r[i] * d1 + (r[i - 1] + e) * d2);\r\n        if ((r[i] += y.am(0, qd, r, j, 0, ys)) < qd) {\t// Try it out\r\n            y.dlShiftTo(j, t);\r\n            r.subTo(t, r);\r\n            while (r[i] < --qd) r.subTo(t, r);\r\n        }\r\n    }\r\n    if (q != null) {\r\n        r.drShiftTo(ys, q);\r\n        if (ts != ms) BigInteger.ZERO.subTo(q, q);\r\n    }\r\n    r.t = ys;\r\n    r.clamp();\r\n    if (nsh > 0) r.rShiftTo(nsh, r);\t// Denormalize remainder\r\n    if (ts < 0) BigInteger.ZERO.subTo(r, r);\r\n}\r\n\r\n// (public) this mod a\r\nfunction bnMod(a) {\r\n    var r = nbi();\r\n    this.abs().divRemTo(a, null, r);\r\n    if (this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r, r);\r\n    return r;\r\n}\r\n\r\n// Modular reduction using \"classic\" algorithm\r\nfunction Classic(m) {\r\n    this.m = m;\r\n}\r\nfunction cConvert(x) {\r\n    if (x.s < 0 || x.compareTo(this.m) >= 0) return x.mod(this.m);\r\n    else return x;\r\n}\r\nfunction cRevert(x) {\r\n    return x;\r\n}\r\nfunction cReduce(x) {\r\n    x.divRemTo(this.m, null, x);\r\n}\r\nfunction cMulTo(x, y, r) {\r\n    x.multiplyTo(y, r);\r\n    this.reduce(r);\r\n}\r\nfunction cSqrTo(x, r) {\r\n    x.squareTo(r);\r\n    this.reduce(r);\r\n}\r\n\r\nClassic.prototype.convert = cConvert;\r\nClassic.prototype.revert = cRevert;\r\nClassic.prototype.reduce = cReduce;\r\nClassic.prototype.mulTo = cMulTo;\r\nClassic.prototype.sqrTo = cSqrTo;\r\n\r\n// (protected) return \"-1/this % 2^DB\"; useful for Mont. reduction\r\n// justification:\r\n//         xy == 1 (mod m)\r\n//         xy =  1+km\r\n//   xy(2-xy) = (1+km)(1-km)\r\n// x[y(2-xy)] = 1-k^2m^2\r\n// x[y(2-xy)] == 1 (mod m^2)\r\n// if y is 1/x mod m, then y(2-xy) is 1/x mod m^2\r\n// should reduce x and y(2-xy) by m^2 at each step to keep size bounded.\r\n// JS multiply \"overflows\" differently from C/C++, so care is needed here.\r\nfunction bnpInvDigit() {\r\n    if (this.t < 1) return 0;\r\n    var x = this[0];\r\n    if ((x & 1) === 0) return 0;\r\n    var y = x & 3;\t\t// y == 1/x mod 2^2\r\n    y = (y * (2 - (x & 0xf) * y)) & 0xf;\t// y == 1/x mod 2^4\r\n    y = (y * (2 - (x & 0xff) * y)) & 0xff;\t// y == 1/x mod 2^8\r\n    y = (y * (2 - (((x & 0xffff) * y) & 0xffff))) & 0xffff;\t// y == 1/x mod 2^16\r\n    // last step - calculate inverse mod DV directly;\r\n    // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints\r\n    y = (y * (2 - x * y % this.DV)) % this.DV;\t\t// y == 1/x mod 2^dbits\r\n    // we really want the negative inverse, and -DV < y < DV\r\n    return (y > 0) ? this.DV - y : -y;\r\n}\r\n\r\n// Montgomery reduction\r\nfunction Montgomery(m) {\r\n    this.m = m;\r\n    this.mp = m.invDigit();\r\n    this.mpl = this.mp & 0x7fff;\r\n    this.mph = this.mp >> 15;\r\n    this.um = (1 << (m.DB - 15)) - 1;\r\n    this.mt2 = 2 * m.t;\r\n}\r\n\r\n// xR mod m\r\nfunction montConvert(x) {\r\n    var r = nbi();\r\n    x.abs().dlShiftTo(this.m.t, r);\r\n    r.divRemTo(this.m, null, r);\r\n    if (x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r, r);\r\n    return r;\r\n}\r\n\r\n// x/R mod m\r\nfunction montRevert(x) {\r\n    var r = nbi();\r\n    x.copyTo(r);\r\n    this.reduce(r);\r\n    return r;\r\n}\r\n\r\n// x = x/R mod m (HAC 14.32)\r\nfunction montReduce(x) {\r\n    while (x.t <= this.mt2)\t// pad x so am has enough room later\r\n        x[x.t++] = 0;\r\n    for (var i = 0; i < this.m.t; ++i) {\r\n        // faster way of calculating u0 = x[i]*mp mod DV\r\n        var j = x[i] & 0x7fff;\r\n        var u0 = (j * this.mpl + (((j * this.mph + (x[i] >> 15) * this.mpl) & this.um) << 15)) & x.DM;\r\n        // use am to combine the multiply-shift-add into one call\r\n        j = i + this.m.t;\r\n        x[j] += this.m.am(0, u0, x, i, 0, this.m.t);\r\n        // propagate carry\r\n        while (x[j] >= x.DV) {\r\n            x[j] -= x.DV;\r\n            x[++j]++;\r\n        }\r\n    }\r\n    x.clamp();\r\n    x.drShiftTo(this.m.t, x);\r\n    if (x.compareTo(this.m) >= 0) x.subTo(this.m, x);\r\n}\r\n\r\n// r = \"x^2/R mod m\"; x != r\r\nfunction montSqrTo(x, r) {\r\n    x.squareTo(r);\r\n    this.reduce(r);\r\n}\r\n\r\n// r = \"xy/R mod m\"; x,y != r\r\nfunction montMulTo(x, y, r) {\r\n    x.multiplyTo(y, r);\r\n    this.reduce(r);\r\n}\r\n\r\nMontgomery.prototype.convert = montConvert;\r\nMontgomery.prototype.revert = montRevert;\r\nMontgomery.prototype.reduce = montReduce;\r\nMontgomery.prototype.mulTo = montMulTo;\r\nMontgomery.prototype.sqrTo = montSqrTo;\r\n\r\n// (protected) true iff this is even\r\nfunction bnpIsEven() {\r\n    return ((this.t > 0) ? (this[0] & 1) : this.s) === 0;\r\n}\r\n\r\n// (protected) this^e, e < 2^32, doing sqr and mul with \"r\" (HAC 14.79)\r\nfunction bnpExp(e, z) {\r\n    if (e > 0xffffffff || e < 1) return BigInteger.ONE;\r\n    var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e) - 1;\r\n    g.copyTo(r);\r\n    while (--i >= 0) {\r\n        z.sqrTo(r, r2);\r\n        if ((e & (1 << i)) > 0) z.mulTo(r2, g, r);\r\n        else {\r\n            var t = r;\r\n            r = r2;\r\n            r2 = t;\r\n        }\r\n    }\r\n    return z.revert(r);\r\n}\r\n\r\n// (public) this^e % m, 0 <= e < 2^32\r\nfunction bnModPowInt(e, m) {\r\n    var z;\r\n    if (e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m);\r\n    return this.exp(e, z);\r\n}\r\n\r\n// Copyright (c) 2005-2009  Tom Wu\r\n// All Rights Reserved.\r\n// See \"LICENSE\" for details.\r\n\r\n// Extended JavaScript BN functions, required for RSA private ops.\r\n\r\n// Version 1.1: new BigInteger(\"0\", 10) returns \"proper\" zero\r\n// Version 1.2: square() API, isProbablePrime fix\r\n\r\n//(public)\r\nfunction bnClone() {\r\n    var r = nbi();\r\n    this.copyTo(r);\r\n    return r;\r\n}\r\n\r\n//(public) return value as integer\r\nfunction bnIntValue() {\r\n    if (this.s < 0) {\r\n        if (this.t == 1) return this[0] - this.DV;\r\n        else if (this.t === 0) return -1;\r\n    }\r\n    else if (this.t == 1) return this[0];\r\n    else if (this.t === 0) return 0;\r\n// assumes 16 < DB < 32\r\n    return ((this[1] & ((1 << (32 - this.DB)) - 1)) << this.DB) | this[0];\r\n}\r\n\r\n//(public) return value as byte\r\nfunction bnByteValue() {\r\n    return (this.t == 0) ? this.s : (this[0] << 24) >> 24;\r\n}\r\n\r\n//(public) return value as short (assumes DB>=16)\r\nfunction bnShortValue() {\r\n    return (this.t == 0) ? this.s : (this[0] << 16) >> 16;\r\n}\r\n\r\n//(protected) return x s.t. r^x < DV\r\nfunction bnpChunkSize(r) {\r\n    return Math.floor(Math.LN2 * this.DB / Math.log(r));\r\n}\r\n\r\n//(public) 0 if this === 0, 1 if this > 0\r\nfunction bnSigNum() {\r\n    if (this.s < 0) return -1;\r\n    else if (this.t <= 0 || (this.t == 1 && this[0] <= 0)) return 0;\r\n    else return 1;\r\n}\r\n\r\n//(protected) convert to radix string\r\nfunction bnpToRadix(b) {\r\n    if (b == null) b = 10;\r\n    if (this.signum() === 0 || b < 2 || b > 36) return \"0\";\r\n    var cs = this.chunkSize(b);\r\n    var a = Math.pow(b, cs);\r\n    var d = nbv(a), y = nbi(), z = nbi(), r = \"\";\r\n    this.divRemTo(d, y, z);\r\n    while (y.signum() > 0) {\r\n        r = (a + z.intValue()).toString(b).substr(1) + r;\r\n        y.divRemTo(d, y, z);\r\n    }\r\n    return z.intValue().toString(b) + r;\r\n}\r\n\r\n//(protected) convert from radix string\r\nfunction bnpFromRadix(s, b) {\r\n    this.fromInt(0);\r\n    if (b == null) b = 10;\r\n    var cs = this.chunkSize(b);\r\n    var d = Math.pow(b, cs), mi = false, j = 0, w = 0;\r\n    for (var i = 0; i < s.length; ++i) {\r\n        var x = intAt(s, i);\r\n        if (x < 0) {\r\n            if (s.charAt(i) == \"-\" && this.signum() === 0) mi = true;\r\n            continue;\r\n        }\r\n        w = b * w + x;\r\n        if (++j >= cs) {\r\n            this.dMultiply(d);\r\n            this.dAddOffset(w, 0);\r\n            j = 0;\r\n            w = 0;\r\n        }\r\n    }\r\n    if (j > 0) {\r\n        this.dMultiply(Math.pow(b, j));\r\n        this.dAddOffset(w, 0);\r\n    }\r\n    if (mi) BigInteger.ZERO.subTo(this, this);\r\n}\r\n\r\n//(protected) alternate constructor\r\nfunction bnpFromNumber(a, b) {\r\n    if (\"number\" == typeof b) {\r\n        // new BigInteger(int,int,RNG)\r\n        if (a < 2) this.fromInt(1);\r\n        else {\r\n            this.fromNumber(a);\r\n            if (!this.testBit(a - 1))\t// force MSB set\r\n                this.bitwiseTo(BigInteger.ONE.shiftLeft(a - 1), op_or, this);\r\n            if (this.isEven()) this.dAddOffset(1, 0); // force odd\r\n            while (!this.isProbablePrime(b)) {\r\n                this.dAddOffset(2, 0);\r\n                if (this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a - 1), this);\r\n            }\r\n        }\r\n    } else {\r\n        // new BigInteger(int,RNG)\r\n        var x = crypt.randomBytes((a >> 3) + 1)\r\n        var t = a & 7;\r\n\r\n        if (t > 0)\r\n            x[0] &= ((1 << t) - 1);\r\n        else\r\n            x[0] = 0;\r\n\r\n        this.fromByteArray(x);\r\n    }\r\n}\r\n\r\n//(public) convert to bigendian byte array\r\nfunction bnToByteArray() {\r\n    var i = this.t, r = new Array();\r\n    r[0] = this.s;\r\n    var p = this.DB - (i * this.DB) % 8, d, k = 0;\r\n    if (i-- > 0) {\r\n        if (p < this.DB && (d = this[i] >> p) != (this.s & this.DM) >> p)\r\n            r[k++] = d | (this.s << (this.DB - p));\r\n        while (i >= 0) {\r\n            if (p < 8) {\r\n                d = (this[i] & ((1 << p) - 1)) << (8 - p);\r\n                d |= this[--i] >> (p += this.DB - 8);\r\n            }\r\n            else {\r\n                d = (this[i] >> (p -= 8)) & 0xff;\r\n                if (p <= 0) {\r\n                    p += this.DB;\r\n                    --i;\r\n                }\r\n            }\r\n            if ((d & 0x80) != 0) d |= -256;\r\n            if (k === 0 && (this.s & 0x80) != (d & 0x80)) ++k;\r\n            if (k > 0 || d != this.s) r[k++] = d;\r\n        }\r\n    }\r\n    return r;\r\n}\r\n\r\n/**\r\n * return Buffer object\r\n * @param trim {boolean} slice buffer if first element == 0\r\n * @returns {Buffer}\r\n */\r\nfunction bnToBuffer(trimOrSize) {\r\n    var res = Buffer.from(this.toByteArray());\r\n    if (trimOrSize === true && res[0] === 0) {\r\n        res = res.slice(1);\r\n    } else if (_.isNumber(trimOrSize)) {\r\n        if (res.length > trimOrSize) {\r\n            for (var i = 0; i < res.length - trimOrSize; i++) {\r\n                if (res[i] !== 0) {\r\n                    return null;\r\n                }\r\n            }\r\n            return res.slice(res.length - trimOrSize);\r\n        } else if (res.length < trimOrSize) {\r\n            var padded = Buffer.alloc(trimOrSize);\r\n            padded.fill(0, 0, trimOrSize - res.length);\r\n            res.copy(padded, trimOrSize - res.length);\r\n            return padded;\r\n        }\r\n    }\r\n    return res;\r\n}\r\n\r\nfunction bnEquals(a) {\r\n    return (this.compareTo(a) == 0);\r\n}\r\nfunction bnMin(a) {\r\n    return (this.compareTo(a) < 0) ? this : a;\r\n}\r\nfunction bnMax(a) {\r\n    return (this.compareTo(a) > 0) ? this : a;\r\n}\r\n\r\n//(protected) r = this op a (bitwise)\r\nfunction bnpBitwiseTo(a, op, r) {\r\n    var i, f, m = Math.min(a.t, this.t);\r\n    for (i = 0; i < m; ++i) r[i] = op(this[i], a[i]);\r\n    if (a.t < this.t) {\r\n        f = a.s & this.DM;\r\n        for (i = m; i < this.t; ++i) r[i] = op(this[i], f);\r\n        r.t = this.t;\r\n    }\r\n    else {\r\n        f = this.s & this.DM;\r\n        for (i = m; i < a.t; ++i) r[i] = op(f, a[i]);\r\n        r.t = a.t;\r\n    }\r\n    r.s = op(this.s, a.s);\r\n    r.clamp();\r\n}\r\n\r\n//(public) this & a\r\nfunction op_and(x, y) {\r\n    return x & y;\r\n}\r\nfunction bnAnd(a) {\r\n    var r = nbi();\r\n    this.bitwiseTo(a, op_and, r);\r\n    return r;\r\n}\r\n\r\n//(public) this | a\r\nfunction op_or(x, y) {\r\n    return x | y;\r\n}\r\nfunction bnOr(a) {\r\n    var r = nbi();\r\n    this.bitwiseTo(a, op_or, r);\r\n    return r;\r\n}\r\n\r\n//(public) this ^ a\r\nfunction op_xor(x, y) {\r\n    return x ^ y;\r\n}\r\nfunction bnXor(a) {\r\n    var r = nbi();\r\n    this.bitwiseTo(a, op_xor, r);\r\n    return r;\r\n}\r\n\r\n//(public) this & ~a\r\nfunction op_andnot(x, y) {\r\n    return x & ~y;\r\n}\r\nfunction bnAndNot(a) {\r\n    var r = nbi();\r\n    this.bitwiseTo(a, op_andnot, r);\r\n    return r;\r\n}\r\n\r\n//(public) ~this\r\nfunction bnNot() {\r\n    var r = nbi();\r\n    for (var i = 0; i < this.t; ++i) r[i] = this.DM & ~this[i];\r\n    r.t = this.t;\r\n    r.s = ~this.s;\r\n    return r;\r\n}\r\n\r\n//(public) this << n\r\nfunction bnShiftLeft(n) {\r\n    var r = nbi();\r\n    if (n < 0) this.rShiftTo(-n, r); else this.lShiftTo(n, r);\r\n    return r;\r\n}\r\n\r\n//(public) this >> n\r\nfunction bnShiftRight(n) {\r\n    var r = nbi();\r\n    if (n < 0) this.lShiftTo(-n, r); else this.rShiftTo(n, r);\r\n    return r;\r\n}\r\n\r\n//return index of lowest 1-bit in x, x < 2^31\r\nfunction lbit(x) {\r\n    if (x === 0) return -1;\r\n    var r = 0;\r\n    if ((x & 0xffff) === 0) {\r\n        x >>= 16;\r\n        r += 16;\r\n    }\r\n    if ((x & 0xff) === 0) {\r\n        x >>= 8;\r\n        r += 8;\r\n    }\r\n    if ((x & 0xf) === 0) {\r\n        x >>= 4;\r\n        r += 4;\r\n    }\r\n    if ((x & 3) === 0) {\r\n        x >>= 2;\r\n        r += 2;\r\n    }\r\n    if ((x & 1) === 0) ++r;\r\n    return r;\r\n}\r\n\r\n//(public) returns index of lowest 1-bit (or -1 if none)\r\nfunction bnGetLowestSetBit() {\r\n    for (var i = 0; i < this.t; ++i)\r\n        if (this[i] != 0) return i * this.DB + lbit(this[i]);\r\n    if (this.s < 0) return this.t * this.DB;\r\n    return -1;\r\n}\r\n\r\n//return number of 1 bits in x\r\nfunction cbit(x) {\r\n    var r = 0;\r\n    while (x != 0) {\r\n        x &= x - 1;\r\n        ++r;\r\n    }\r\n    return r;\r\n}\r\n\r\n//(public) return number of set bits\r\nfunction bnBitCount() {\r\n    var r = 0, x = this.s & this.DM;\r\n    for (var i = 0; i < this.t; ++i) r += cbit(this[i] ^ x);\r\n    return r;\r\n}\r\n\r\n//(public) true iff nth bit is set\r\nfunction bnTestBit(n) {\r\n    var j = Math.floor(n / this.DB);\r\n    if (j >= this.t) return (this.s != 0);\r\n    return ((this[j] & (1 << (n % this.DB))) != 0);\r\n}\r\n\r\n//(protected) this op (1<<n)\r\nfunction bnpChangeBit(n, op) {\r\n    var r = BigInteger.ONE.shiftLeft(n);\r\n    this.bitwiseTo(r, op, r);\r\n    return r;\r\n}\r\n\r\n//(public) this | (1<<n)\r\nfunction bnSetBit(n) {\r\n    return this.changeBit(n, op_or);\r\n}\r\n\r\n//(public) this & ~(1<<n)\r\nfunction bnClearBit(n) {\r\n    return this.changeBit(n, op_andnot);\r\n}\r\n\r\n//(public) this ^ (1<<n)\r\nfunction bnFlipBit(n) {\r\n    return this.changeBit(n, op_xor);\r\n}\r\n\r\n//(protected) r = this + a\r\nfunction bnpAddTo(a, r) {\r\n    var i = 0, c = 0, m = Math.min(a.t, this.t);\r\n    while (i < m) {\r\n        c += this[i] + a[i];\r\n        r[i++] = c & this.DM;\r\n        c >>= this.DB;\r\n    }\r\n    if (a.t < this.t) {\r\n        c += a.s;\r\n        while (i < this.t) {\r\n            c += this[i];\r\n            r[i++] = c & this.DM;\r\n            c >>= this.DB;\r\n        }\r\n        c += this.s;\r\n    }\r\n    else {\r\n        c += this.s;\r\n        while (i < a.t) {\r\n            c += a[i];\r\n            r[i++] = c & this.DM;\r\n            c >>= this.DB;\r\n        }\r\n        c += a.s;\r\n    }\r\n    r.s = (c < 0) ? -1 : 0;\r\n    if (c > 0) r[i++] = c;\r\n    else if (c < -1) r[i++] = this.DV + c;\r\n    r.t = i;\r\n    r.clamp();\r\n}\r\n\r\n//(public) this + a\r\nfunction bnAdd(a) {\r\n    var r = nbi();\r\n    this.addTo(a, r);\r\n    return r;\r\n}\r\n\r\n//(public) this - a\r\nfunction bnSubtract(a) {\r\n    var r = nbi();\r\n    this.subTo(a, r);\r\n    return r;\r\n}\r\n\r\n//(public) this * a\r\nfunction bnMultiply(a) {\r\n    var r = nbi();\r\n    this.multiplyTo(a, r);\r\n    return r;\r\n}\r\n\r\n// (public) this^2\r\nfunction bnSquare() {\r\n    var r = nbi();\r\n    this.squareTo(r);\r\n    return r;\r\n}\r\n\r\n//(public) this / a\r\nfunction bnDivide(a) {\r\n    var r = nbi();\r\n    this.divRemTo(a, r, null);\r\n    return r;\r\n}\r\n\r\n//(public) this % a\r\nfunction bnRemainder(a) {\r\n    var r = nbi();\r\n    this.divRemTo(a, null, r);\r\n    return r;\r\n}\r\n\r\n//(public) [this/a,this%a]\r\nfunction bnDivideAndRemainder(a) {\r\n    var q = nbi(), r = nbi();\r\n    this.divRemTo(a, q, r);\r\n    return new Array(q, r);\r\n}\r\n\r\n//(protected) this *= n, this >= 0, 1 < n < DV\r\nfunction bnpDMultiply(n) {\r\n    this[this.t] = this.am(0, n - 1, this, 0, 0, this.t);\r\n    ++this.t;\r\n    this.clamp();\r\n}\r\n\r\n//(protected) this += n << w words, this >= 0\r\nfunction bnpDAddOffset(n, w) {\r\n    if (n === 0) return;\r\n    while (this.t <= w) this[this.t++] = 0;\r\n    this[w] += n;\r\n    while (this[w] >= this.DV) {\r\n        this[w] -= this.DV;\r\n        if (++w >= this.t) this[this.t++] = 0;\r\n        ++this[w];\r\n    }\r\n}\r\n\r\n//A \"null\" reducer\r\nfunction NullExp() {\r\n}\r\nfunction nNop(x) {\r\n    return x;\r\n}\r\nfunction nMulTo(x, y, r) {\r\n    x.multiplyTo(y, r);\r\n}\r\nfunction nSqrTo(x, r) {\r\n    x.squareTo(r);\r\n}\r\n\r\nNullExp.prototype.convert = nNop;\r\nNullExp.prototype.revert = nNop;\r\nNullExp.prototype.mulTo = nMulTo;\r\nNullExp.prototype.sqrTo = nSqrTo;\r\n\r\n//(public) this^e\r\nfunction bnPow(e) {\r\n    return this.exp(e, new NullExp());\r\n}\r\n\r\n//(protected) r = lower n words of \"this * a\", a.t <= n\r\n//\"this\" should be the larger one if appropriate.\r\nfunction bnpMultiplyLowerTo(a, n, r) {\r\n    var i = Math.min(this.t + a.t, n);\r\n    r.s = 0; // assumes a,this >= 0\r\n    r.t = i;\r\n    while (i > 0) r[--i] = 0;\r\n    var j;\r\n    for (j = r.t - this.t; i < j; ++i) r[i + this.t] = this.am(0, a[i], r, i, 0, this.t);\r\n    for (j = Math.min(a.t, n); i < j; ++i) this.am(0, a[i], r, i, 0, n - i);\r\n    r.clamp();\r\n}\r\n\r\n//(protected) r = \"this * a\" without lower n words, n > 0\r\n//\"this\" should be the larger one if appropriate.\r\nfunction bnpMultiplyUpperTo(a, n, r) {\r\n    --n;\r\n    var i = r.t = this.t + a.t - n;\r\n    r.s = 0; // assumes a,this >= 0\r\n    while (--i >= 0) r[i] = 0;\r\n    for (i = Math.max(n - this.t, 0); i < a.t; ++i)\r\n        r[this.t + i - n] = this.am(n - i, a[i], r, 0, 0, this.t + i - n);\r\n    r.clamp();\r\n    r.drShiftTo(1, r);\r\n}\r\n\r\n//Barrett modular reduction\r\nfunction Barrett(m) {\r\n// setup Barrett\r\n    this.r2 = nbi();\r\n    this.q3 = nbi();\r\n    BigInteger.ONE.dlShiftTo(2 * m.t, this.r2);\r\n    this.mu = this.r2.divide(m);\r\n    this.m = m;\r\n}\r\n\r\nfunction barrettConvert(x) {\r\n    if (x.s < 0 || x.t > 2 * this.m.t) return x.mod(this.m);\r\n    else if (x.compareTo(this.m) < 0) return x;\r\n    else {\r\n        var r = nbi();\r\n        x.copyTo(r);\r\n        this.reduce(r);\r\n        return r;\r\n    }\r\n}\r\n\r\nfunction barrettRevert(x) {\r\n    return x;\r\n}\r\n\r\n//x = x mod m (HAC 14.42)\r\nfunction barrettReduce(x) {\r\n    x.drShiftTo(this.m.t - 1, this.r2);\r\n    if (x.t > this.m.t + 1) {\r\n        x.t = this.m.t + 1;\r\n        x.clamp();\r\n    }\r\n    this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3);\r\n    this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2);\r\n    while (x.compareTo(this.r2) < 0) x.dAddOffset(1, this.m.t + 1);\r\n    x.subTo(this.r2, x);\r\n    while (x.compareTo(this.m) >= 0) x.subTo(this.m, x);\r\n}\r\n\r\n//r = x^2 mod m; x != r\r\nfunction barrettSqrTo(x, r) {\r\n    x.squareTo(r);\r\n    this.reduce(r);\r\n}\r\n\r\n//r = x*y mod m; x,y != r\r\nfunction barrettMulTo(x, y, r) {\r\n    x.multiplyTo(y, r);\r\n    this.reduce(r);\r\n}\r\n\r\nBarrett.prototype.convert = barrettConvert;\r\nBarrett.prototype.revert = barrettRevert;\r\nBarrett.prototype.reduce = barrettReduce;\r\nBarrett.prototype.mulTo = barrettMulTo;\r\nBarrett.prototype.sqrTo = barrettSqrTo;\r\n\r\n//(public) this^e % m (HAC 14.85)\r\nfunction bnModPow(e, m) {\r\n    var i = e.bitLength(), k, r = nbv(1), z;\r\n    if (i <= 0) return r;\r\n    else if (i < 18) k = 1;\r\n    else if (i < 48) k = 3;\r\n    else if (i < 144) k = 4;\r\n    else if (i < 768) k = 5;\r\n    else k = 6;\r\n    if (i < 8)\r\n        z = new Classic(m);\r\n    else if (m.isEven())\r\n        z = new Barrett(m);\r\n    else\r\n        z = new Montgomery(m);\r\n\r\n// precomputation\r\n    var g = new Array(), n = 3, k1 = k - 1, km = (1 << k) - 1;\r\n    g[1] = z.convert(this);\r\n    if (k > 1) {\r\n        var g2 = nbi();\r\n        z.sqrTo(g[1], g2);\r\n        while (n <= km) {\r\n            g[n] = nbi();\r\n            z.mulTo(g2, g[n - 2], g[n]);\r\n            n += 2;\r\n        }\r\n    }\r\n\r\n    var j = e.t - 1, w, is1 = true, r2 = nbi(), t;\r\n    i = nbits(e[j]) - 1;\r\n    while (j >= 0) {\r\n        if (i >= k1) w = (e[j] >> (i - k1)) & km;\r\n        else {\r\n            w = (e[j] & ((1 << (i + 1)) - 1)) << (k1 - i);\r\n            if (j > 0) w |= e[j - 1] >> (this.DB + i - k1);\r\n        }\r\n\r\n        n = k;\r\n        while ((w & 1) === 0) {\r\n            w >>= 1;\r\n            --n;\r\n        }\r\n        if ((i -= n) < 0) {\r\n            i += this.DB;\r\n            --j;\r\n        }\r\n        if (is1) {\t// ret == 1, don't bother squaring or multiplying it\r\n            g[w].copyTo(r);\r\n            is1 = false;\r\n        }\r\n        else {\r\n            while (n > 1) {\r\n                z.sqrTo(r, r2);\r\n                z.sqrTo(r2, r);\r\n                n -= 2;\r\n            }\r\n            if (n > 0) z.sqrTo(r, r2); else {\r\n                t = r;\r\n                r = r2;\r\n                r2 = t;\r\n            }\r\n            z.mulTo(r2, g[w], r);\r\n        }\r\n\r\n        while (j >= 0 && (e[j] & (1 << i)) === 0) {\r\n            z.sqrTo(r, r2);\r\n            t = r;\r\n            r = r2;\r\n            r2 = t;\r\n            if (--i < 0) {\r\n                i = this.DB - 1;\r\n                --j;\r\n            }\r\n        }\r\n    }\r\n    return z.revert(r);\r\n}\r\n\r\n//(public) gcd(this,a) (HAC 14.54)\r\nfunction bnGCD(a) {\r\n    var x = (this.s < 0) ? this.negate() : this.clone();\r\n    var y = (a.s < 0) ? a.negate() : a.clone();\r\n    if (x.compareTo(y) < 0) {\r\n        var t = x;\r\n        x = y;\r\n        y = t;\r\n    }\r\n    var i = x.getLowestSetBit(), g = y.getLowestSetBit();\r\n    if (g < 0) return x;\r\n    if (i < g) g = i;\r\n    if (g > 0) {\r\n        x.rShiftTo(g, x);\r\n        y.rShiftTo(g, y);\r\n    }\r\n    while (x.signum() > 0) {\r\n        if ((i = x.getLowestSetBit()) > 0) x.rShiftTo(i, x);\r\n        if ((i = y.getLowestSetBit()) > 0) y.rShiftTo(i, y);\r\n        if (x.compareTo(y) >= 0) {\r\n            x.subTo(y, x);\r\n            x.rShiftTo(1, x);\r\n        }\r\n        else {\r\n            y.subTo(x, y);\r\n            y.rShiftTo(1, y);\r\n        }\r\n    }\r\n    if (g > 0) y.lShiftTo(g, y);\r\n    return y;\r\n}\r\n\r\n//(protected) this % n, n < 2^26\r\nfunction bnpModInt(n) {\r\n    if (n <= 0) return 0;\r\n    var d = this.DV % n, r = (this.s < 0) ? n - 1 : 0;\r\n    if (this.t > 0)\r\n        if (d === 0) r = this[0] % n;\r\n        else for (var i = this.t - 1; i >= 0; --i) r = (d * r + this[i]) % n;\r\n    return r;\r\n}\r\n\r\n//(public) 1/this % m (HAC 14.61)\r\nfunction bnModInverse(m) {\r\n    var ac = m.isEven();\r\n    if ((this.isEven() && ac) || m.signum() === 0) return BigInteger.ZERO;\r\n    var u = m.clone(), v = this.clone();\r\n    var a = nbv(1), b = nbv(0), c = nbv(0), d = nbv(1);\r\n    while (u.signum() != 0) {\r\n        while (u.isEven()) {\r\n            u.rShiftTo(1, u);\r\n            if (ac) {\r\n                if (!a.isEven() || !b.isEven()) {\r\n                    a.addTo(this, a);\r\n                    b.subTo(m, b);\r\n                }\r\n                a.rShiftTo(1, a);\r\n            }\r\n            else if (!b.isEven()) b.subTo(m, b);\r\n            b.rShiftTo(1, b);\r\n        }\r\n        while (v.isEven()) {\r\n            v.rShiftTo(1, v);\r\n            if (ac) {\r\n                if (!c.isEven() || !d.isEven()) {\r\n                    c.addTo(this, c);\r\n                    d.subTo(m, d);\r\n                }\r\n                c.rShiftTo(1, c);\r\n            }\r\n            else if (!d.isEven()) d.subTo(m, d);\r\n            d.rShiftTo(1, d);\r\n        }\r\n        if (u.compareTo(v) >= 0) {\r\n            u.subTo(v, u);\r\n            if (ac) a.subTo(c, a);\r\n            b.subTo(d, b);\r\n        }\r\n        else {\r\n            v.subTo(u, v);\r\n            if (ac) c.subTo(a, c);\r\n            d.subTo(b, d);\r\n        }\r\n    }\r\n    if (v.compareTo(BigInteger.ONE) != 0) return BigInteger.ZERO;\r\n    if (d.compareTo(m) >= 0) return d.subtract(m);\r\n    if (d.signum() < 0) d.addTo(m, d); else return d;\r\n    if (d.signum() < 0) return d.add(m); else return d;\r\n}\r\n\r\nvar lowprimes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997];\r\nvar lplim = (1 << 26) / lowprimes[lowprimes.length - 1];\r\n\r\n//(public) test primality with certainty >= 1-.5^t\r\nfunction bnIsProbablePrime(t) {\r\n    var i, x = this.abs();\r\n    if (x.t == 1 && x[0] <= lowprimes[lowprimes.length - 1]) {\r\n        for (i = 0; i < lowprimes.length; ++i)\r\n            if (x[0] == lowprimes[i]) return true;\r\n        return false;\r\n    }\r\n    if (x.isEven()) return false;\r\n    i = 1;\r\n    while (i < lowprimes.length) {\r\n        var m = lowprimes[i], j = i + 1;\r\n        while (j < lowprimes.length && m < lplim) m *= lowprimes[j++];\r\n        m = x.modInt(m);\r\n        while (i < j) if (m % lowprimes[i++] === 0) return false;\r\n    }\r\n    return x.millerRabin(t);\r\n}\r\n\r\n//(protected) true if probably prime (HAC 4.24, Miller-Rabin)\r\nfunction bnpMillerRabin(t) {\r\n    var n1 = this.subtract(BigInteger.ONE);\r\n    var k = n1.getLowestSetBit();\r\n    if (k <= 0) return false;\r\n    var r = n1.shiftRight(k);\r\n    t = (t + 1) >> 1;\r\n    if (t > lowprimes.length) t = lowprimes.length;\r\n    var a = nbi();\r\n    for (var i = 0; i < t; ++i) {\r\n        //Pick bases at random, instead of starting at 2\r\n        a.fromInt(lowprimes[Math.floor(Math.random() * lowprimes.length)]);\r\n        var y = a.modPow(r, this);\r\n        if (y.compareTo(BigInteger.ONE) != 0 && y.compareTo(n1) != 0) {\r\n            var j = 1;\r\n            while (j++ < k && y.compareTo(n1) != 0) {\r\n                y = y.modPowInt(2, this);\r\n                if (y.compareTo(BigInteger.ONE) === 0) return false;\r\n            }\r\n            if (y.compareTo(n1) != 0) return false;\r\n        }\r\n    }\r\n    return true;\r\n}\r\n\r\n// protected\r\nBigInteger.prototype.copyTo = bnpCopyTo;\r\nBigInteger.prototype.fromInt = bnpFromInt;\r\nBigInteger.prototype.fromString = bnpFromString;\r\nBigInteger.prototype.fromByteArray = bnpFromByteArray;\r\nBigInteger.prototype.fromBuffer = bnpFromBuffer;\r\nBigInteger.prototype.clamp = bnpClamp;\r\nBigInteger.prototype.dlShiftTo = bnpDLShiftTo;\r\nBigInteger.prototype.drShiftTo = bnpDRShiftTo;\r\nBigInteger.prototype.lShiftTo = bnpLShiftTo;\r\nBigInteger.prototype.rShiftTo = bnpRShiftTo;\r\nBigInteger.prototype.subTo = bnpSubTo;\r\nBigInteger.prototype.multiplyTo = bnpMultiplyTo;\r\nBigInteger.prototype.squareTo = bnpSquareTo;\r\nBigInteger.prototype.divRemTo = bnpDivRemTo;\r\nBigInteger.prototype.invDigit = bnpInvDigit;\r\nBigInteger.prototype.isEven = bnpIsEven;\r\nBigInteger.prototype.exp = bnpExp;\r\n\r\nBigInteger.prototype.chunkSize = bnpChunkSize;\r\nBigInteger.prototype.toRadix = bnpToRadix;\r\nBigInteger.prototype.fromRadix = bnpFromRadix;\r\nBigInteger.prototype.fromNumber = bnpFromNumber;\r\nBigInteger.prototype.bitwiseTo = bnpBitwiseTo;\r\nBigInteger.prototype.changeBit = bnpChangeBit;\r\nBigInteger.prototype.addTo = bnpAddTo;\r\nBigInteger.prototype.dMultiply = bnpDMultiply;\r\nBigInteger.prototype.dAddOffset = bnpDAddOffset;\r\nBigInteger.prototype.multiplyLowerTo = bnpMultiplyLowerTo;\r\nBigInteger.prototype.multiplyUpperTo = bnpMultiplyUpperTo;\r\nBigInteger.prototype.modInt = bnpModInt;\r\nBigInteger.prototype.millerRabin = bnpMillerRabin;\r\n\r\n\r\n// public\r\nBigInteger.prototype.toString = bnToString;\r\nBigInteger.prototype.negate = bnNegate;\r\nBigInteger.prototype.abs = bnAbs;\r\nBigInteger.prototype.compareTo = bnCompareTo;\r\nBigInteger.prototype.bitLength = bnBitLength;\r\nBigInteger.prototype.mod = bnMod;\r\nBigInteger.prototype.modPowInt = bnModPowInt;\r\n\r\nBigInteger.prototype.clone = bnClone;\r\nBigInteger.prototype.intValue = bnIntValue;\r\nBigInteger.prototype.byteValue = bnByteValue;\r\nBigInteger.prototype.shortValue = bnShortValue;\r\nBigInteger.prototype.signum = bnSigNum;\r\nBigInteger.prototype.toByteArray = bnToByteArray;\r\nBigInteger.prototype.toBuffer = bnToBuffer;\r\nBigInteger.prototype.equals = bnEquals;\r\nBigInteger.prototype.min = bnMin;\r\nBigInteger.prototype.max = bnMax;\r\nBigInteger.prototype.and = bnAnd;\r\nBigInteger.prototype.or = bnOr;\r\nBigInteger.prototype.xor = bnXor;\r\nBigInteger.prototype.andNot = bnAndNot;\r\nBigInteger.prototype.not = bnNot;\r\nBigInteger.prototype.shiftLeft = bnShiftLeft;\r\nBigInteger.prototype.shiftRight = bnShiftRight;\r\nBigInteger.prototype.getLowestSetBit = bnGetLowestSetBit;\r\nBigInteger.prototype.bitCount = bnBitCount;\r\nBigInteger.prototype.testBit = bnTestBit;\r\nBigInteger.prototype.setBit = bnSetBit;\r\nBigInteger.prototype.clearBit = bnClearBit;\r\nBigInteger.prototype.flipBit = bnFlipBit;\r\nBigInteger.prototype.add = bnAdd;\r\nBigInteger.prototype.subtract = bnSubtract;\r\nBigInteger.prototype.multiply = bnMultiply;\r\nBigInteger.prototype.divide = bnDivide;\r\nBigInteger.prototype.remainder = bnRemainder;\r\nBigInteger.prototype.divideAndRemainder = bnDivideAndRemainder;\r\nBigInteger.prototype.modPow = bnModPow;\r\nBigInteger.prototype.modInverse = bnModInverse;\r\nBigInteger.prototype.pow = bnPow;\r\nBigInteger.prototype.gcd = bnGCD;\r\nBigInteger.prototype.isProbablePrime = bnIsProbablePrime;\r\nBigInteger.int2char = int2char;\r\n\r\n// \"constants\"\r\nBigInteger.ZERO = nbv(0);\r\nBigInteger.ONE = nbv(1);\r\n\r\n// JSBN-specific extension\r\nBigInteger.prototype.square = bnSquare;\r\n\r\n//BigInteger interfaces not implemented in jsbn:\r\n\r\n//BigInteger(int signum, byte[] magnitude)\r\n//double doubleValue()\r\n//float floatValue()\r\n//int hashCode()\r\n//long longValue()\r\n//static BigInteger valueOf(long val)\r\n\r\nmodule.exports = BigInteger;\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/libs/jsbn.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/libs/rsa.js":
/*!***************************************************!*\
  !*** ../../node_modules/node-rsa/src/libs/rsa.js ***!
  \***************************************************/
/***/ (function(module, exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\n/*\n * RSA Encryption / Decryption with PKCS1 v2 Padding.\n * \n * Copyright (c) 2003-2005  Tom Wu\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS-IS\" AND WITHOUT WARRANTY OF ANY KIND, \n * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY \n * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  \n *\n * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,\n * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER\n * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF\n * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT\n * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\n * In addition, the following condition applies:\n *\n * All redistributions must retain an intact copy of this copyright notice\n * and disclaimer.\n */\n\n/*\n * Node.js adaptation\n * long message support implementation\n * signing/verifying\n *\n * 2014 rzcoder\n */\n\nvar _ = (__webpack_require__(/*! ../utils */ \"../../node_modules/node-rsa/src/utils.js\")._);\nvar crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\nvar BigInteger = __webpack_require__(/*! ./jsbn.js */ \"../../node_modules/node-rsa/src/libs/jsbn.js\");\nvar utils = __webpack_require__(/*! ../utils.js */ \"../../node_modules/node-rsa/src/utils.js\");\nvar schemes = __webpack_require__(/*! ../schemes/schemes.js */ \"../../node_modules/node-rsa/src/schemes/schemes.js\");\nvar encryptEngines = __webpack_require__(/*! ../encryptEngines/encryptEngines.js */ \"../../node_modules/node-rsa/src/encryptEngines/encryptEngines.js\");\n\nexports.BigInteger = BigInteger;\nmodule.exports.Key = (function () {\n    /**\n     * RSA key constructor\n     *\n     * n - modulus\n     * e - publicExponent\n     * d - privateExponent\n     * p - prime1\n     * q - prime2\n     * dmp1 - exponent1 -- d mod (p1)\n     * dmq1 - exponent2 -- d mod (q-1)\n     * coeff - coefficient -- (inverse of q) mod p\n     */\n    function RSAKey() {\n        this.n = null;\n        this.e = 0;\n        this.d = null;\n        this.p = null;\n        this.q = null;\n        this.dmp1 = null;\n        this.dmq1 = null;\n        this.coeff = null;\n    }\n\n    RSAKey.prototype.setOptions = function (options) {\n        var signingSchemeProvider = schemes[options.signingScheme];\n        var encryptionSchemeProvider = schemes[options.encryptionScheme];\n\n        if (signingSchemeProvider === encryptionSchemeProvider) {\n            this.signingScheme = this.encryptionScheme = encryptionSchemeProvider.makeScheme(this, options);\n        } else {\n            this.encryptionScheme = encryptionSchemeProvider.makeScheme(this, options);\n            this.signingScheme = signingSchemeProvider.makeScheme(this, options);\n        }\n\n        this.encryptEngine = encryptEngines.getEngine(this, options);\n    };\n\n    /**\n     * Generate a new random private key B bits long, using public expt E\n     * @param B\n     * @param E\n     */\n    RSAKey.prototype.generate = function (B, E) {\n        var qs = B >> 1;\n        this.e = parseInt(E, 16);\n        var ee = new BigInteger(E, 16);\n        while (true) {\n            while (true) {\n                this.p = new BigInteger(B - qs, 1);\n                if (this.p.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) === 0 && this.p.isProbablePrime(10))\n                    break;\n            }\n            while (true) {\n                this.q = new BigInteger(qs, 1);\n                if (this.q.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) === 0 && this.q.isProbablePrime(10))\n                    break;\n            }\n            if (this.p.compareTo(this.q) <= 0) {\n                var t = this.p;\n                this.p = this.q;\n                this.q = t;\n            }\n            var p1 = this.p.subtract(BigInteger.ONE);\n            var q1 = this.q.subtract(BigInteger.ONE);\n            var phi = p1.multiply(q1);\n            if (phi.gcd(ee).compareTo(BigInteger.ONE) === 0) {\n                this.n = this.p.multiply(this.q);\n                if (this.n.bitLength() < B) {\n                    continue;\n                }\n                this.d = ee.modInverse(phi);\n                this.dmp1 = this.d.mod(p1);\n                this.dmq1 = this.d.mod(q1);\n                this.coeff = this.q.modInverse(this.p);\n                break;\n            }\n        }\n        this.$$recalculateCache();\n    };\n\n    /**\n     * Set the private key fields N, e, d and CRT params from buffers\n     *\n     * @param N\n     * @param E\n     * @param D\n     * @param P\n     * @param Q\n     * @param DP\n     * @param DQ\n     * @param C\n     */\n    RSAKey.prototype.setPrivate = function (N, E, D, P, Q, DP, DQ, C) {\n        if (N && E && D && N.length > 0 && (_.isNumber(E) || E.length > 0) && D.length > 0) {\n            this.n = new BigInteger(N);\n            this.e = _.isNumber(E) ? E : utils.get32IntFromBuffer(E, 0);\n            this.d = new BigInteger(D);\n\n            if (P && Q && DP && DQ && C) {\n                this.p = new BigInteger(P);\n                this.q = new BigInteger(Q);\n                this.dmp1 = new BigInteger(DP);\n                this.dmq1 = new BigInteger(DQ);\n                this.coeff = new BigInteger(C);\n            } else {\n                // TODO: re-calculate any missing CRT params\n            }\n            this.$$recalculateCache();\n        } else {\n            throw Error(\"Invalid RSA private key\");\n        }\n    };\n\n    /**\n     * Set the public key fields N and e from hex strings\n     * @param N\n     * @param E\n     */\n    RSAKey.prototype.setPublic = function (N, E) {\n        if (N && E && N.length > 0 && (_.isNumber(E) || E.length > 0)) {\n            this.n = new BigInteger(N);\n            this.e = _.isNumber(E) ? E : utils.get32IntFromBuffer(E, 0);\n            this.$$recalculateCache();\n        } else {\n            throw Error(\"Invalid RSA public key\");\n        }\n    };\n\n    /**\n     * private\n     * Perform raw private operation on \"x\": return x^d (mod n)\n     *\n     * @param x\n     * @returns {*}\n     */\n    RSAKey.prototype.$doPrivate = function (x) {\n        if (this.p || this.q) {\n            return x.modPow(this.d, this.n);\n        }\n\n        // TODO: re-calculate any missing CRT params\n        var xp = x.mod(this.p).modPow(this.dmp1, this.p);\n        var xq = x.mod(this.q).modPow(this.dmq1, this.q);\n\n        while (xp.compareTo(xq) < 0) {\n            xp = xp.add(this.p);\n        }\n        return xp.subtract(xq).multiply(this.coeff).mod(this.p).multiply(this.q).add(xq);\n    };\n\n    /**\n     * private\n     * Perform raw public operation on \"x\": return x^e (mod n)\n     *\n     * @param x\n     * @returns {*}\n     */\n    RSAKey.prototype.$doPublic = function (x) {\n        return x.modPowInt(this.e, this.n);\n    };\n\n    /**\n     * Return the PKCS#1 RSA encryption of buffer\n     * @param buffer {Buffer}\n     * @returns {Buffer}\n     */\n    RSAKey.prototype.encrypt = function (buffer, usePrivate) {\n        var buffers = [];\n        var results = [];\n        var bufferSize = buffer.length;\n        var buffersCount = Math.ceil(bufferSize / this.maxMessageLength) || 1; // total buffers count for encrypt\n        var dividedSize = Math.ceil(bufferSize / buffersCount || 1); // each buffer size\n\n        if (buffersCount == 1) {\n            buffers.push(buffer);\n        } else {\n            for (var bufNum = 0; bufNum < buffersCount; bufNum++) {\n                buffers.push(buffer.slice(bufNum * dividedSize, (bufNum + 1) * dividedSize));\n            }\n        }\n\n        for (var i = 0; i < buffers.length; i++) {\n            results.push(this.encryptEngine.encrypt(buffers[i], usePrivate));\n        }\n\n        return Buffer.concat(results);\n    };\n\n    /**\n     * Return the PKCS#1 RSA decryption of buffer\n     * @param buffer {Buffer}\n     * @returns {Buffer}\n     */\n    RSAKey.prototype.decrypt = function (buffer, usePublic) {\n        if (buffer.length % this.encryptedDataLength > 0) {\n            throw Error('Incorrect data or key');\n        }\n\n        var result = [];\n        var offset = 0;\n        var length = 0;\n        var buffersCount = buffer.length / this.encryptedDataLength;\n\n        for (var i = 0; i < buffersCount; i++) {\n            offset = i * this.encryptedDataLength;\n            length = offset + this.encryptedDataLength;\n            result.push(this.encryptEngine.decrypt(buffer.slice(offset, Math.min(length, buffer.length)), usePublic));\n        }\n\n        return Buffer.concat(result);\n    };\n\n    RSAKey.prototype.sign = function (buffer) {\n        return this.signingScheme.sign.apply(this.signingScheme, arguments);\n    };\n\n    RSAKey.prototype.verify = function (buffer, signature, signature_encoding) {\n        return this.signingScheme.verify.apply(this.signingScheme, arguments);\n    };\n\n    /**\n     * Check if key pair contains private key\n     */\n    RSAKey.prototype.isPrivate = function () {\n        return this.n && this.e && this.d && true || false;\n    };\n\n    /**\n     * Check if key pair contains public key\n     * @param strict {boolean} - public key only, return false if have private exponent\n     */\n    RSAKey.prototype.isPublic = function (strict) {\n        return this.n && this.e && !(strict && this.d) || false;\n    };\n\n    Object.defineProperty(RSAKey.prototype, 'keySize', {\n        get: function () {\n            return this.cache.keyBitLength;\n        }\n    });\n\n    Object.defineProperty(RSAKey.prototype, 'encryptedDataLength', {\n        get: function () {\n            return this.cache.keyByteLength;\n        }\n    });\n\n    Object.defineProperty(RSAKey.prototype, 'maxMessageLength', {\n        get: function () {\n            return this.encryptionScheme.maxMessageLength();\n        }\n    });\n\n    /**\n     * Caching key data\n     */\n    RSAKey.prototype.$$recalculateCache = function () {\n        this.cache = this.cache || {};\n        // Bit & byte length\n        this.cache.keyBitLength = this.n.bitLength();\n        this.cache.keyByteLength = (this.cache.keyBitLength + 6) >> 3;\n    };\n\n    return RSAKey;\n})();\n\n\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/libs/rsa.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/schemes/oaep.js":
/*!*******************************************************!*\
  !*** ../../node_modules/node-rsa/src/schemes/oaep.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\n/**\n * PKCS_OAEP signature scheme\n */\n\nvar BigInteger = __webpack_require__(/*! ../libs/jsbn */ \"../../node_modules/node-rsa/src/libs/jsbn.js\");\nvar crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\n\nmodule.exports = {\n    isEncryption: true,\n    isSignature: false\n};\n\nmodule.exports.digestLength = {\n    md4: 16,\n    md5: 16,\n    ripemd160: 20,\n    rmd160: 20,\n    sha1: 20,\n    sha224: 28,\n    sha256: 32,\n    sha384: 48,\n    sha512: 64\n};\n\nvar DEFAULT_HASH_FUNCTION = 'sha1';\n\n/*\n * OAEP Mask Generation Function 1\n * Generates a buffer full of pseudorandom bytes given seed and maskLength.\n * Giving the same seed, maskLength, and hashFunction will result in the same exact byte values in the buffer.\n *\n * https://tools.ietf.org/html/rfc3447#appendix-B.2.1\n *\n * Parameters:\n * seed\t\t\t[Buffer]\tThe pseudo random seed for this function\n * maskLength\t[int]\t\tThe length of the output\n * hashFunction\t[String]\tThe hashing function to use. Will accept any valid crypto hash. Default \"sha1\"\n *\t\tSupports \"sha1\" and \"sha256\".\n *\t\tTo add another algorythm the algorythem must be accepted by crypto.createHash, and then the length of the output of the hash function (the digest) must be added to the digestLength object below.\n *\t\tMost RSA implementations will be expecting sha1\n */\nmodule.exports.eme_oaep_mgf1 = function (seed, maskLength, hashFunction) {\n    hashFunction = hashFunction || DEFAULT_HASH_FUNCTION;\n    var hLen = module.exports.digestLength[hashFunction];\n    var count = Math.ceil(maskLength / hLen);\n    var T = Buffer.alloc(hLen * count);\n    var c = Buffer.alloc(4);\n    for (var i = 0; i < count; ++i) {\n        var hash = crypt.createHash(hashFunction);\n        hash.update(seed);\n        c.writeUInt32BE(i, 0);\n        hash.update(c);\n        hash.digest().copy(T, i * hLen);\n    }\n    return T.slice(0, maskLength);\n};\n\nmodule.exports.makeScheme = function (key, options) {\n    function Scheme(key, options) {\n        this.key = key;\n        this.options = options;\n    }\n\n    Scheme.prototype.maxMessageLength = function () {\n        return this.key.encryptedDataLength - 2 * module.exports.digestLength[this.options.encryptionSchemeOptions.hash || DEFAULT_HASH_FUNCTION] - 2;\n    };\n\n    /**\n     * Pad input\n     * alg: PKCS1_OAEP\n     *\n     * https://tools.ietf.org/html/rfc3447#section-7.1.1\n     */\n    Scheme.prototype.encPad = function (buffer) {\n        var hash = this.options.encryptionSchemeOptions.hash || DEFAULT_HASH_FUNCTION;\n        var mgf = this.options.encryptionSchemeOptions.mgf || module.exports.eme_oaep_mgf1;\n        var label = this.options.encryptionSchemeOptions.label || Buffer.alloc(0);\n        var emLen = this.key.encryptedDataLength;\n\n        var hLen = module.exports.digestLength[hash];\n\n        // Make sure we can put message into an encoded message of emLen bytes\n        if (buffer.length > emLen - 2 * hLen - 2) {\n            throw new Error(\"Message is too long to encode into an encoded message with a length of \" + emLen + \" bytes, increase\" +\n            \"emLen to fix this error (minimum value for given parameters and options: \" + (emLen - 2 * hLen - 2) + \")\");\n        }\n\n        var lHash = crypt.createHash(hash);\n        lHash.update(label);\n        lHash = lHash.digest();\n\n        var PS = Buffer.alloc(emLen - buffer.length - 2 * hLen - 1); // Padding \"String\"\n        PS.fill(0); // Fill the buffer with octets of 0\n        PS[PS.length - 1] = 1;\n\n        var DB = Buffer.concat([lHash, PS, buffer]);\n        var seed = crypt.randomBytes(hLen);\n\n        // mask = dbMask\n        var mask = mgf(seed, DB.length, hash);\n        // XOR DB and dbMask together.\n        for (var i = 0; i < DB.length; i++) {\n            DB[i] ^= mask[i];\n        }\n        // DB = maskedDB\n\n        // mask = seedMask\n        mask = mgf(DB, hLen, hash);\n        // XOR seed and seedMask together.\n        for (i = 0; i < seed.length; i++) {\n            seed[i] ^= mask[i];\n        }\n        // seed = maskedSeed\n\n        var em = Buffer.alloc(1 + seed.length + DB.length);\n        em[0] = 0;\n        seed.copy(em, 1);\n        DB.copy(em, 1 + seed.length);\n\n        return em;\n    };\n\n    /**\n     * Unpad input\n     * alg: PKCS1_OAEP\n     *\n     * Note: This method works within the buffer given and modifies the values. It also returns a slice of the EM as the return Message.\n     * If the implementation requires that the EM parameter be unmodified then the implementation should pass in a clone of the EM buffer.\n     *\n     * https://tools.ietf.org/html/rfc3447#section-7.1.2\n     */\n    Scheme.prototype.encUnPad = function (buffer) {\n        var hash = this.options.encryptionSchemeOptions.hash || DEFAULT_HASH_FUNCTION;\n        var mgf = this.options.encryptionSchemeOptions.mgf || module.exports.eme_oaep_mgf1;\n        var label = this.options.encryptionSchemeOptions.label || Buffer.alloc(0);\n\n        var hLen = module.exports.digestLength[hash];\n\n        // Check to see if buffer is a properly encoded OAEP message\n        if (buffer.length < 2 * hLen + 2) {\n            throw new Error(\"Error decoding message, the supplied message is not long enough to be a valid OAEP encoded message\");\n        }\n\n        var seed = buffer.slice(1, hLen + 1);\t// seed = maskedSeed\n        var DB = buffer.slice(1 + hLen);\t\t// DB = maskedDB\n\n        var mask = mgf(DB, hLen, hash); // seedMask\n        // XOR maskedSeed and seedMask together to get the original seed.\n        for (var i = 0; i < seed.length; i++) {\n            seed[i] ^= mask[i];\n        }\n\n        mask = mgf(seed, DB.length, hash); // dbMask\n        // XOR DB and dbMask together to get the original data block.\n        for (i = 0; i < DB.length; i++) {\n            DB[i] ^= mask[i];\n        }\n\n        var lHash = crypt.createHash(hash);\n        lHash.update(label);\n        lHash = lHash.digest();\n\n        var lHashEM = DB.slice(0, hLen);\n        if (lHashEM.toString(\"hex\") != lHash.toString(\"hex\")) {\n            throw new Error(\"Error decoding message, the lHash calculated from the label provided and the lHash in the encrypted data do not match.\");\n        }\n\n        // Filter out padding\n        i = hLen;\n        while (DB[i++] === 0 && i < DB.length);\n        if (DB[i - 1] != 1) {\n            throw new Error(\"Error decoding message, there is no padding message separator byte\");\n        }\n\n        return DB.slice(i); // Message\n    };\n\n    return new Scheme(key, options);\n};\n\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/schemes/oaep.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/schemes/pkcs1.js":
/*!********************************************************!*\
  !*** ../../node_modules/node-rsa/src/schemes/pkcs1.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\n/**\n * PKCS1 padding and signature scheme\n */\n\nvar BigInteger = __webpack_require__(/*! ../libs/jsbn */ \"../../node_modules/node-rsa/src/libs/jsbn.js\");\nvar crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\nvar constants = __webpack_require__(/*! constants */ \"../../node_modules/constants-browserify/constants.json\");\nvar SIGN_INFO_HEAD = {\n    md2: Buffer.from('3020300c06082a864886f70d020205000410', 'hex'),\n    md5: Buffer.from('3020300c06082a864886f70d020505000410', 'hex'),\n    sha1: Buffer.from('3021300906052b0e03021a05000414', 'hex'),\n    sha224: Buffer.from('302d300d06096086480165030402040500041c', 'hex'),\n    sha256: Buffer.from('3031300d060960864801650304020105000420', 'hex'),\n    sha384: Buffer.from('3041300d060960864801650304020205000430', 'hex'),\n    sha512: Buffer.from('3051300d060960864801650304020305000440', 'hex'),\n    ripemd160: Buffer.from('3021300906052b2403020105000414', 'hex'),\n    rmd160: Buffer.from('3021300906052b2403020105000414', 'hex')\n};\n\nvar SIGN_ALG_TO_HASH_ALIASES = {\n    'ripemd160': 'rmd160'\n};\n\nvar DEFAULT_HASH_FUNCTION = 'sha256';\n\nmodule.exports = {\n    isEncryption: true,\n    isSignature: true\n};\n\nmodule.exports.makeScheme = function (key, options) {\n    function Scheme(key, options) {\n        this.key = key;\n        this.options = options;\n    }\n\n    Scheme.prototype.maxMessageLength = function () {\n        if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == constants.RSA_NO_PADDING) {\n            return this.key.encryptedDataLength;\n        }\n        return this.key.encryptedDataLength - 11;\n    };\n\n    /**\n     * Pad input Buffer to encryptedDataLength bytes, and return Buffer.from\n     * alg: PKCS#1\n     * @param buffer\n     * @returns {Buffer}\n     */\n    Scheme.prototype.encPad = function (buffer, options) {\n        options = options || {};\n        var filled;\n        if (buffer.length > this.key.maxMessageLength) {\n            throw new Error(\"Message too long for RSA (n=\" + this.key.encryptedDataLength + \", l=\" + buffer.length + \")\");\n        }\n        if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == constants.RSA_NO_PADDING) {\n            //RSA_NO_PADDING treated like JAVA left pad with zero character\n            filled = Buffer.alloc(this.key.maxMessageLength - buffer.length);\n            filled.fill(0);\n            return Buffer.concat([filled, buffer]);\n        }\n\n        /* Type 1: zeros padding for private key encrypt */\n        if (options.type === 1) {\n            filled = Buffer.alloc(this.key.encryptedDataLength - buffer.length - 1);\n            filled.fill(0xff, 0, filled.length - 1);\n            filled[0] = 1;\n            filled[filled.length - 1] = 0;\n\n            return Buffer.concat([filled, buffer]);\n        } else {\n            /* random padding for public key encrypt */\n            filled = Buffer.alloc(this.key.encryptedDataLength - buffer.length);\n            filled[0] = 0;\n            filled[1] = 2;\n            var rand = crypt.randomBytes(filled.length - 3);\n            for (var i = 0; i < rand.length; i++) {\n                var r = rand[i];\n                while (r === 0) { // non-zero only\n                    r = crypt.randomBytes(1)[0];\n                }\n                filled[i + 2] = r;\n            }\n            filled[filled.length - 1] = 0;\n            return Buffer.concat([filled, buffer]);\n        }\n    };\n\n    /**\n     * Unpad input Buffer and, if valid, return the Buffer object\n     * alg: PKCS#1 (type 2, random)\n     * @param buffer\n     * @returns {Buffer}\n     */\n    Scheme.prototype.encUnPad = function (buffer, options) {\n        options = options || {};\n        var i = 0;\n\n        if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == constants.RSA_NO_PADDING) {\n            //RSA_NO_PADDING treated like JAVA left pad with zero character\n            var unPad;\n            if (typeof buffer.lastIndexOf == \"function\") { //patch for old node version\n                unPad = buffer.slice(buffer.lastIndexOf('\\0') + 1, buffer.length);\n            } else {\n                unPad = buffer.slice(String.prototype.lastIndexOf.call(buffer, '\\0') + 1, buffer.length);\n            }\n            return unPad;\n        }\n\n        if (buffer.length < 4) {\n            return null;\n        }\n\n        /* Type 1: zeros padding for private key decrypt */\n        if (options.type === 1) {\n            if (buffer[0] !== 0 || buffer[1] !== 1) {\n                return null;\n            }\n            i = 3;\n            while (buffer[i] !== 0) {\n                if (buffer[i] != 0xFF || ++i >= buffer.length) {\n                    return null;\n                }\n            }\n        } else {\n            /* random padding for public key decrypt */\n            if (buffer[0] !== 0 || buffer[1] !== 2) {\n                return null;\n            }\n            i = 3;\n            while (buffer[i] !== 0) {\n                if (++i >= buffer.length) {\n                    return null;\n                }\n            }\n        }\n        return buffer.slice(i + 1, buffer.length);\n    };\n\n    Scheme.prototype.sign = function (buffer) {\n        var hashAlgorithm = this.options.signingSchemeOptions.hash || DEFAULT_HASH_FUNCTION;\n        if (this.options.environment === 'browser') {\n            hashAlgorithm = SIGN_ALG_TO_HASH_ALIASES[hashAlgorithm] || hashAlgorithm;\n\n            var hasher = crypt.createHash(hashAlgorithm);\n            hasher.update(buffer);\n            var hash = this.pkcs1pad(hasher.digest(), hashAlgorithm);\n            var res = this.key.$doPrivate(new BigInteger(hash)).toBuffer(this.key.encryptedDataLength);\n\n            return res;\n        } else {\n            var signer = crypt.createSign('RSA-' + hashAlgorithm.toUpperCase());\n            signer.update(buffer);\n            return signer.sign(this.options.rsaUtils.exportKey('private'));\n        }\n    };\n\n    Scheme.prototype.verify = function (buffer, signature, signature_encoding) {\n        if (this.options.encryptionSchemeOptions && this.options.encryptionSchemeOptions.padding == constants.RSA_NO_PADDING) {\n            //RSA_NO_PADDING has no verify data\n            return false;\n        }\n        var hashAlgorithm = this.options.signingSchemeOptions.hash || DEFAULT_HASH_FUNCTION;\n        if (this.options.environment === 'browser') {\n            hashAlgorithm = SIGN_ALG_TO_HASH_ALIASES[hashAlgorithm] || hashAlgorithm;\n\n            if (signature_encoding) {\n                signature = Buffer.from(signature, signature_encoding);\n            }\n\n            var hasher = crypt.createHash(hashAlgorithm);\n            hasher.update(buffer);\n            var hash = this.pkcs1pad(hasher.digest(), hashAlgorithm);\n            var m = this.key.$doPublic(new BigInteger(signature));\n\n            return m.toBuffer().toString('hex') == hash.toString('hex');\n        } else {\n            var verifier = crypt.createVerify('RSA-' + hashAlgorithm.toUpperCase());\n            verifier.update(buffer);\n            return verifier.verify(this.options.rsaUtils.exportKey('public'), signature, signature_encoding);\n        }\n    };\n\n    /**\n     * PKCS#1 zero pad input buffer to max data length\n     * @param hashBuf\n     * @param hashAlgorithm\n     * @returns {*}\n     */\n    Scheme.prototype.pkcs0pad = function (buffer) {\n        var filled = Buffer.alloc(this.key.maxMessageLength - buffer.length);\n        filled.fill(0);\n        return Buffer.concat([filled, buffer]);\n    };\n\n    Scheme.prototype.pkcs0unpad = function (buffer) {\n        var unPad;\n        if (typeof buffer.lastIndexOf == \"function\") { //patch for old node version\n            unPad = buffer.slice(buffer.lastIndexOf('\\0') + 1, buffer.length);\n        } else {\n            unPad = buffer.slice(String.prototype.lastIndexOf.call(buffer, '\\0') + 1, buffer.length);\n        }\n\n        return unPad;\n    };\n\n    /**\n     * PKCS#1 pad input buffer to max data length\n     * @param hashBuf\n     * @param hashAlgorithm\n     * @returns {*}\n     */\n    Scheme.prototype.pkcs1pad = function (hashBuf, hashAlgorithm) {\n        var digest = SIGN_INFO_HEAD[hashAlgorithm];\n        if (!digest) {\n            throw Error('Unsupported hash algorithm');\n        }\n\n        var data = Buffer.concat([digest, hashBuf]);\n\n        if (data.length + 10 > this.key.encryptedDataLength) {\n            throw Error('Key is too short for signing algorithm (' + hashAlgorithm + ')');\n        }\n\n        var filled = Buffer.alloc(this.key.encryptedDataLength - data.length - 1);\n        filled.fill(0xff, 0, filled.length - 1);\n        filled[0] = 1;\n        filled[filled.length - 1] = 0;\n\n        var res = Buffer.concat([filled, data]);\n\n        return res;\n    };\n\n    return new Scheme(key, options);\n};\n\n\n\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/schemes/pkcs1.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/schemes/pss.js":
/*!******************************************************!*\
  !*** ../../node_modules/node-rsa/src/schemes/pss.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \"../../node_modules/buffer/index.js\")[\"Buffer\"];\n/**\r\n * PSS signature scheme\r\n */\r\n\r\nvar BigInteger = __webpack_require__(/*! ../libs/jsbn */ \"../../node_modules/node-rsa/src/libs/jsbn.js\");\r\nvar crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\r\n\r\nmodule.exports = {\r\n    isEncryption: false,\r\n    isSignature: true\r\n};\r\n\r\nvar DEFAULT_HASH_FUNCTION = 'sha1';\r\nvar DEFAULT_SALT_LENGTH = 20;\r\n\r\nmodule.exports.makeScheme = function (key, options) {\r\n    var OAEP = (__webpack_require__(/*! ./schemes */ \"../../node_modules/node-rsa/src/schemes/schemes.js\").pkcs1_oaep);\r\n\r\n    /**\r\n     * @param key\r\n     * @param options\r\n     * options    [Object]    An object that contains the following keys that specify certain options for encoding.\r\n     *  └>signingSchemeOptions\r\n     *     ├>hash    [String]    Hash function to use when encoding and generating masks. Must be a string accepted by node's crypto.createHash function. (default = \"sha1\")\r\n     *     ├>mgf    [function]    The mask generation function to use when encoding. (default = mgf1SHA1)\r\n     *     └>sLen    [uint]        The length of the salt to generate. (default = 20)\r\n     * @constructor\r\n     */\r\n    function Scheme(key, options) {\r\n        this.key = key;\r\n        this.options = options;\r\n    }\r\n\r\n    Scheme.prototype.sign = function (buffer) {\r\n        var mHash = crypt.createHash(this.options.signingSchemeOptions.hash || DEFAULT_HASH_FUNCTION);\r\n        mHash.update(buffer);\r\n\r\n        var encoded = this.emsa_pss_encode(mHash.digest(), this.key.keySize - 1);\r\n        return this.key.$doPrivate(new BigInteger(encoded)).toBuffer(this.key.encryptedDataLength);\r\n    };\r\n\r\n    Scheme.prototype.verify = function (buffer, signature, signature_encoding) {\r\n        if (signature_encoding) {\r\n            signature = Buffer.from(signature, signature_encoding);\r\n        }\r\n        signature = new BigInteger(signature);\r\n\r\n        var emLen = Math.ceil((this.key.keySize - 1) / 8);\r\n        var m = this.key.$doPublic(signature).toBuffer(emLen);\r\n\r\n        var mHash = crypt.createHash(this.options.signingSchemeOptions.hash || DEFAULT_HASH_FUNCTION);\r\n        mHash.update(buffer);\r\n\r\n        return this.emsa_pss_verify(mHash.digest(), m, this.key.keySize - 1);\r\n    };\r\n\r\n    /*\r\n     * https://tools.ietf.org/html/rfc3447#section-9.1.1\r\n     *\r\n     * mHash\t[Buffer]\tHashed message to encode\r\n     * emBits\t[uint]\t\tMaximum length of output in bits. Must be at least 8hLen + 8sLen + 9 (hLen = Hash digest length in bytes | sLen = length of salt in bytes)\r\n     * @returns {Buffer} The encoded message\r\n     */\r\n    Scheme.prototype.emsa_pss_encode = function (mHash, emBits) {\r\n        var hash = this.options.signingSchemeOptions.hash || DEFAULT_HASH_FUNCTION;\r\n        var mgf = this.options.signingSchemeOptions.mgf || OAEP.eme_oaep_mgf1;\r\n        var sLen = this.options.signingSchemeOptions.saltLength || DEFAULT_SALT_LENGTH;\r\n\r\n        var hLen = OAEP.digestLength[hash];\r\n        var emLen = Math.ceil(emBits / 8);\r\n\r\n        if (emLen < hLen + sLen + 2) {\r\n            throw new Error(\"Output length passed to emBits(\" + emBits + \") is too small for the options \" +\r\n                \"specified(\" + hash + \", \" + sLen + \"). To fix this issue increase the value of emBits. (minimum size: \" +\r\n                (8 * hLen + 8 * sLen + 9) + \")\"\r\n            );\r\n        }\r\n\r\n        var salt = crypt.randomBytes(sLen);\r\n\r\n        var Mapostrophe = Buffer.alloc(8 + hLen + sLen);\r\n        Mapostrophe.fill(0, 0, 8);\r\n        mHash.copy(Mapostrophe, 8);\r\n        salt.copy(Mapostrophe, 8 + mHash.length);\r\n\r\n        var H = crypt.createHash(hash);\r\n        H.update(Mapostrophe);\r\n        H = H.digest();\r\n\r\n        var PS = Buffer.alloc(emLen - salt.length - hLen - 2);\r\n        PS.fill(0);\r\n\r\n        var DB = Buffer.alloc(PS.length + 1 + salt.length);\r\n        PS.copy(DB);\r\n        DB[PS.length] = 0x01;\r\n        salt.copy(DB, PS.length + 1);\r\n\r\n        var dbMask = mgf(H, DB.length, hash);\r\n\r\n        // XOR DB and dbMask together\r\n        var maskedDB = Buffer.alloc(DB.length);\r\n        for (var i = 0; i < dbMask.length; i++) {\r\n            maskedDB[i] = DB[i] ^ dbMask[i];\r\n        }\r\n\r\n        var bits = 8 * emLen - emBits;\r\n        var mask = 255 ^ (255 >> 8 - bits << 8 - bits);\r\n        maskedDB[0] = maskedDB[0] & mask;\r\n\r\n        var EM = Buffer.alloc(maskedDB.length + H.length + 1);\r\n        maskedDB.copy(EM, 0);\r\n        H.copy(EM, maskedDB.length);\r\n        EM[EM.length - 1] = 0xbc;\r\n\r\n        return EM;\r\n    };\r\n\r\n    /*\r\n     * https://tools.ietf.org/html/rfc3447#section-9.1.2\r\n     *\r\n     * mHash\t[Buffer]\tHashed message\r\n     * EM\t\t[Buffer]\tSignature\r\n     * emBits\t[uint]\t\tLength of EM in bits. Must be at least 8hLen + 8sLen + 9 to be a valid signature. (hLen = Hash digest length in bytes | sLen = length of salt in bytes)\r\n     * @returns {Boolean} True if signature(EM) matches message(M)\r\n     */\r\n    Scheme.prototype.emsa_pss_verify = function (mHash, EM, emBits) {\r\n        var hash = this.options.signingSchemeOptions.hash || DEFAULT_HASH_FUNCTION;\r\n        var mgf = this.options.signingSchemeOptions.mgf || OAEP.eme_oaep_mgf1;\r\n        var sLen = this.options.signingSchemeOptions.saltLength || DEFAULT_SALT_LENGTH;\r\n\r\n        var hLen = OAEP.digestLength[hash];\r\n        var emLen = Math.ceil(emBits / 8);\r\n\r\n        if (emLen < hLen + sLen + 2 || EM[EM.length - 1] != 0xbc) {\r\n            return false;\r\n        }\r\n\r\n        var DB = Buffer.alloc(emLen - hLen - 1);\r\n        EM.copy(DB, 0, 0, emLen - hLen - 1);\r\n\r\n        var mask = 0;\r\n        for (var i = 0, bits = 8 * emLen - emBits; i < bits; i++) {\r\n            mask |= 1 << (7 - i);\r\n        }\r\n\r\n        if ((DB[0] & mask) !== 0) {\r\n            return false;\r\n        }\r\n\r\n        var H = EM.slice(emLen - hLen - 1, emLen - 1);\r\n        var dbMask = mgf(H, DB.length, hash);\r\n\r\n        // Unmask DB\r\n        for (i = 0; i < DB.length; i++) {\r\n            DB[i] ^= dbMask[i];\r\n        }\r\n\r\n        bits = 8 * emLen - emBits;\r\n        mask = 255 ^ (255 >> 8 - bits << 8 - bits);\r\n        DB[0] = DB[0] & mask;\r\n\r\n        // Filter out padding\r\n        for (i = 0; DB[i] === 0 && i < DB.length; i++);\r\n        if (DB[i] != 1) {\r\n            return false;\r\n        }\r\n\r\n        var salt = DB.slice(DB.length - sLen);\r\n\r\n        var Mapostrophe = Buffer.alloc(8 + hLen + sLen);\r\n        Mapostrophe.fill(0, 0, 8);\r\n        mHash.copy(Mapostrophe, 8);\r\n        salt.copy(Mapostrophe, 8 + mHash.length);\r\n\r\n        var Hapostrophe = crypt.createHash(hash);\r\n        Hapostrophe.update(Mapostrophe);\r\n        Hapostrophe = Hapostrophe.digest();\r\n\r\n        return H.toString(\"hex\") === Hapostrophe.toString(\"hex\");\r\n    };\r\n\r\n    return new Scheme(key, options);\r\n};\r\n\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/schemes/pss.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/schemes/schemes.js":
/*!**********************************************************!*\
  !*** ../../node_modules/node-rsa/src/schemes/schemes.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = {\r\n    pkcs1: __webpack_require__(/*! ./pkcs1 */ \"../../node_modules/node-rsa/src/schemes/pkcs1.js\"),\r\n    pkcs1_oaep: __webpack_require__(/*! ./oaep */ \"../../node_modules/node-rsa/src/schemes/oaep.js\"),\r\n    pss: __webpack_require__(/*! ./pss */ \"../../node_modules/node-rsa/src/schemes/pss.js\"),\r\n\r\n    /**\r\n     * Check if scheme has padding methods\r\n     * @param scheme {string}\r\n     * @returns {Boolean}\r\n     */\r\n    isEncryption: function (scheme) {\r\n        return module.exports[scheme] && module.exports[scheme].isEncryption;\r\n    },\r\n\r\n    /**\r\n     * Check if scheme has sign/verify methods\r\n     * @param scheme {string}\r\n     * @returns {Boolean}\r\n     */\r\n    isSignature: function (scheme) {\r\n        return module.exports[scheme] && module.exports[scheme].isSignature;\r\n    }\r\n};\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/schemes/schemes.js?");

/***/ }),

/***/ "../../node_modules/node-rsa/src/utils.js":
/*!************************************************!*\
  !*** ../../node_modules/node-rsa/src/utils.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* provided dependency */ var process = __webpack_require__(/*! process/browser */ \"../../node_modules/process/browser.js\");\n/*\n * Utils functions\n *\n */\n\nvar crypt = __webpack_require__(/*! crypto */ \"../../node_modules/crypto-browserify/index.js\");\n\n/**\n * Break string str each maxLen symbols\n * @param str\n * @param maxLen\n * @returns {string}\n */\nmodule.exports.linebrk = function (str, maxLen) {\n    var res = '';\n    var i = 0;\n    while (i + maxLen < str.length) {\n        res += str.substring(i, i + maxLen) + \"\\n\";\n        i += maxLen;\n    }\n    return res + str.substring(i, str.length);\n};\n\nmodule.exports.detectEnvironment = function () {\n    if (typeof(window) !== 'undefined' && window && !(process && process.title === 'node')) {\n        return 'browser';\n    }\n\n    return 'node';\n};\n\n/**\n * Trying get a 32-bit unsigned integer from the partial buffer\n * @param buffer\n * @param offset\n * @returns {Number}\n */\nmodule.exports.get32IntFromBuffer = function (buffer, offset) {\n    offset = offset || 0;\n    var size = 0;\n    if ((size = buffer.length - offset) > 0) {\n        if (size >= 4) {\n            return buffer.readUIntBE(offset, size);\n        } else {\n            var res = 0;\n            for (var i = offset + size, d = 0; i > offset; i--, d += 2) {\n                res += buffer[i - 1] * Math.pow(16, d);\n            }\n            return res;\n        }\n    } else {\n        return NaN;\n    }\n};\n\nmodule.exports._ = {\n    isObject: function (value) {\n        var type = typeof value;\n        return !!value && (type == 'object' || type == 'function');\n    },\n\n    isString: function (value) {\n        return typeof value == 'string' || value instanceof String;\n    },\n\n    isNumber: function (value) {\n        return typeof value == 'number' || !isNaN(parseFloat(value)) && isFinite(value);\n    },\n\n    /**\n     * Returns copy of `obj` without `removeProp` field.\n     * @param obj\n     * @param removeProp\n     * @returns Object\n     */\n    omit: function (obj, removeProp) {\n        var newObj = {};\n        for (var prop in obj) {\n            if (!obj.hasOwnProperty(prop) || prop === removeProp) {\n                continue;\n            }\n            newObj[prop] = obj[prop];\n        }\n\n        return newObj;\n    }\n};\n\n/**\n * Strips everything around the opening and closing lines, including the lines\n * themselves.\n */\nmodule.exports.trimSurroundingText = function (data, opening, closing) {\n    var trimStartIndex = 0;\n    var trimEndIndex = data.length;\n\n    var openingBoundaryIndex = data.indexOf(opening);\n    if (openingBoundaryIndex >= 0) {\n        trimStartIndex = openingBoundaryIndex + opening.length;\n    }\n\n    var closingBoundaryIndex = data.indexOf(closing, openingBoundaryIndex);\n    if (closingBoundaryIndex >= 0) {\n        trimEndIndex = closingBoundaryIndex;\n    }\n\n    return data.substring(trimStartIndex, trimEndIndex);\n}\n\n//# sourceURL=webpack://kd-login/../../node_modules/node-rsa/src/utils.js?");

/***/ }),

/***/ "./src/DataPipeModel.js":
/*!******************************!*\
  !*** ./src/DataPipeModel.js ***!
  \******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.splice.js */ \"../../node_modules/core-js/modules/es.array.splice.js\");\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./store */ \"./src/store.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * 数据管道模型\n */\n\n\nvar DataPipeModel = /*#__PURE__*/function () {\n  function DataPipeModel() {\n    _classCallCheck(this, DataPipeModel);\n    this.holdCallback = {};\n    window.holdCallback = this.holdCallback;\n  }\n\n  /**\n     * 注册回调函数\n     * @param {*} callbackType 回调函数的类型\n     * @param {*} callback 回调函数\n     **/\n  _createClass(DataPipeModel, [{\n    key: \"registerCallback\",\n    value: function registerCallback(callbackType, callback) {\n      var _this = this;\n      if (this.holdCallback[callbackType]) {\n        this.holdCallback[callbackType].push(callback);\n      } else {\n        this.holdCallback[callbackType] = [callback];\n      }\n      return function () {\n        _this.holdCallback[callbackType].splice(_this.holdCallback[callbackType].length - 1, 1);\n      };\n    }\n\n    /**\n       * 主动将数据传输过去\n       * 调用函数和回调函数是一对多的关系\n       * @param {*} data 需要传输的数据\n       */\n  }, {\n    key: \"sendData\",\n    value: function sendData(data) {\n      var _this$holdCallback$ty;\n      var type = data.type;\n      if (!((_this$holdCallback$ty = this.holdCallback[type]) !== null && _this$holdCallback$ty !== void 0 && _this$holdCallback$ty.length)) {\n        // 控件未加载时先暂存回调\n        _store__WEBPACK_IMPORTED_MODULE_15__[\"default\"].notificationList.push(data);\n      }\n      var callbackArr = this.holdCallback[type] || [];\n      callbackArr.forEach(function (callback) {\n        try {\n          setTimeout(function () {\n            callback(data);\n          }, 0);\n        } catch (error) {\n          console.error(error, type);\n        }\n      });\n    }\n\n    /**\n       * 主动从其他对象获取数据\n       * 调用函数和回调函数是多对一的关系\n       * @param {*} type 获取数据的类型\n       **/\n  }, {\n    key: \"getData\",\n    value: function getData(type) {\n      var callback = this.holdCallback[type][0];\n      var result;\n      try {\n        result = callback();\n      } catch (error) {\n        console.error(error, type);\n      }\n      return result;\n    }\n  }]);\n  return DataPipeModel;\n}();\n/* harmony default export */ __webpack_exports__[\"default\"] = (DataPipeModel);\n\n//# sourceURL=webpack://kd-login/./src/DataPipeModel.js?");

/***/ }),

/***/ "./src/api/service.js":
/*!****************************!*\
  !*** ./src/api/service.js ***!
  \****************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   activeUser: function() { return /* binding */ activeUser; },\n/* harmony export */   checkLoginState: function() { return /* binding */ checkLoginState; },\n/* harmony export */   checkVoiceState: function() { return /* binding */ checkVoiceState; },\n/* harmony export */   demoSubmit: function() { return /* binding */ demoSubmit; },\n/* harmony export */   faceDetection: function() { return /* binding */ faceDetection; },\n/* harmony export */   getAllDataCenter: function() { return /* binding */ getAllDataCenter; },\n/* harmony export */   getCloudPhoneCode: function() { return /* binding */ getCloudPhoneCode; },\n/* harmony export */   getCountryAreaCodes: function() { return /* binding */ getCountryAreaCodes; },\n/* harmony export */   getDemoQrcode: function() { return /* binding */ getDemoQrcode; },\n/* harmony export */   getErrorMessage: function() { return /* binding */ getErrorMessage; },\n/* harmony export */   getLangData: function() { return /* binding */ getLangData; },\n/* harmony export */   getPublicKey: function() { return /* binding */ getPublicKey; },\n/* harmony export */   getUserLanguage: function() { return /* binding */ getUserLanguage; },\n/* harmony export */   getVerifyCode: function() { return /* binding */ getVerifyCode; },\n/* harmony export */   getVerifyCodeByPhone: function() { return /* binding */ getVerifyCodeByPhone; },\n/* harmony export */   getVoiceToken: function() { return /* binding */ getVoiceToken; },\n/* harmony export */   getYzjQrcode: function() { return /* binding */ getYzjQrcode; },\n/* harmony export */   getYzjQrcodePrivate: function() { return /* binding */ getYzjQrcodePrivate; },\n/* harmony export */   isNeedMsgValidate: function() { return /* binding */ isNeedMsgValidate; },\n/* harmony export */   isNeedVerifyCode: function() { return /* binding */ isNeedVerifyCode; },\n/* harmony export */   loadConfiguration: function() { return /* binding */ loadConfiguration; },\n/* harmony export */   queryParameters: function() { return /* binding */ queryParameters; },\n/* harmony export */   resetPassword: function() { return /* binding */ resetPassword; },\n/* harmony export */   sendMessage: function() { return /* binding */ sendMessage; },\n/* harmony export */   smsLogin: function() { return /* binding */ smsLogin; },\n/* harmony export */   submit: function() { return /* binding */ submit; },\n/* harmony export */   validateLicense: function() { return /* binding */ validateLicense; },\n/* harmony export */   verifyEmail: function() { return /* binding */ verifyEmail; },\n/* harmony export */   verifyGraphicCode: function() { return /* binding */ verifyGraphicCode; },\n/* harmony export */   verifyPhone: function() { return /* binding */ verifyPhone; },\n/* harmony export */   verifyPhoneCode: function() { return /* binding */ verifyPhoneCode; },\n/* harmony export */   verifyPhoneCodeAndResetPwd: function() { return /* binding */ verifyPhoneCodeAndResetPwd; },\n/* harmony export */   verifyPhoneNumber: function() { return /* binding */ verifyPhoneNumber; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.join.js */ \"../../node_modules/core-js/modules/es.array.join.js\");\n/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.js\");\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _util_trace_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @/util/trace.js */ \"./src/util/trace.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction getAllDataCenter() {\n  return getApi('auth/getAllDatacenters.do');\n}\nfunction isNeedVerifyCode() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/isNeedDisplayVerify.do', data);\n}\nfunction getVerifyCode() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/verifyCode.do', data);\n}\nfunction getVerifyCodeByPhone() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/getVerifyCode.do', data);\n}\nfunction verifyGraphicCode() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/verifyCode4Pwd.do', data);\n}\nfunction verifyPhone() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/verifyPhone.do', data);\n}\nfunction verifyPhoneCode() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/verifyPhoneCode.do', data);\n}\nfunction verifyEmail() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/verifyEmail.do', data);\n}\nfunction getYzjQrcode() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return getApi('auth/getQRURL.do', data);\n}\nfunction getYzjQrcodePrivate() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return getApi('auth/yzjQRlogin.do', data);\n}\nfunction checkLoginState() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return getApi('auth/aiLoginPoll.do', data);\n}\nfunction getVoiceToken() {\n  return getApi('auth/voiceToken.do');\n}\nfunction checkVoiceState() {\n  return getApi('auth/getVoiceSayingFlag.do');\n}\nfunction getLangData() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return getApi(\"./login/lang/\".concat(data.lang, \".json\"));\n}\nfunction isNeedMsgValidate() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/isNeedNewFactor.do', data);\n}\nfunction sendMessage() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/sendMessage.do', data);\n}\nfunction getErrorMessage() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/getLoginErrorMessage.do', data);\n}\nfunction validateLicense() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/validateLicDate.do', data);\n}\nfunction loadConfiguration() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/getCustomData.do', data);\n}\nfunction getCloudPhoneCode() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/getCloudPhoneCode.do', data);\n}\nfunction submit() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/yzjlogin.do', Object.assign({\n    type: 'user'\n  }, data));\n}\nfunction getPublicKey() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/getPublicKey.do', data);\n}\nfunction faceDetection() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/collectFaceImg.do', data);\n}\nfunction resetPassword() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/resetPassword.do', data);\n}\nfunction activeUser() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/activeUser.do', data);\n}\nfunction demoSubmit() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/demoSSO.do', data);\n}\nfunction smsLogin() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/smsLogin.do', data);\n}\nfunction queryParameters() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/queryParameters.do', data);\n}\nfunction getUserLanguage() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('api/login/getUserLanguage.do', data);\n}\nfunction verifyPhoneCodeAndResetPwd() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/verifyPhoneCodeAndResetPwd.do', data);\n}\nfunction verifyPhoneNumber() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  // 检查手机号是否合规\n  return postApi('auth/verifyPhoneNumber.do', data);\n}\nfunction getCountryAreaCodes() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  // 获取国际区号\n  return postApi('auth/getCountryAreaCodes.do', data);\n}\nfunction getDemoQrcode() {\n  var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  return postApi('auth/demoSSO.do', data);\n}\nvar getApi = function getApi(url, data) {\n  if (data) {\n    var params = [];\n    Object.keys(data).forEach(function (key) {\n      return params.push(key + '=' + encodeParam(data[key]));\n    });\n    url += '?' + params.join('&');\n  }\n  return window.fetch(url, {\n    mode: 'cors',\n    headers: {\n      traceId: (0,_util_trace_js__WEBPACK_IMPORTED_MODULE_16__[\"default\"])()\n    },\n    credentials: 'include'\n  }).then(function (response) {\n    if (response.ok) {\n      return response.json();\n    } else {\n      throw new Error(response.statusText);\n    }\n  }).then(function (jsonObj) {\n    if (Array.isArray(jsonObj) && jsonObj[0]) {\n      var _jsonObj$ = jsonObj[0],\n        a = _jsonObj$.a,\n        p = _jsonObj$.p;\n      if (a === 'showErrMsg' && Array.isArray(p)) {\n        var _p$ = p[0],\n          errorInfo = _p$.errorInfo,\n          errorTitle = _p$.errorTitle;\n        throw new Error(\"\\u3010\\u670D\\u52A1\\u7AEF\\u62A5\\u9519\\u3011 \\u6807\\u9898:\".concat(errorTitle, \"\\u5185\\u5BB9:\").concat(errorInfo));\n      }\n    }\n    return jsonObj;\n  })[\"catch\"](function (error) {\n    throw new Error('fetch data error: ' + error.message);\n  });\n};\nvar postApi = function postApi(url) {\n  var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var post = Object.keys(data).map(function (key) {\n    return key + '=' + encodeParam(data[key]);\n  }).join('&');\n  return window.fetch(url, {\n    method: 'POST',\n    headers: {\n      'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8;',\n      ajax: true,\n      traceId: (0,_util_trace_js__WEBPACK_IMPORTED_MODULE_16__[\"default\"])()\n    },\n    mode: 'cors',\n    credentials: 'include',\n    body: post\n  }).then(function (response) {\n    if (response.ok) {\n      return response.json();\n    } else {\n      throw new Error(response.statusText);\n    }\n  }).then(function (jsonObj) {\n    if (Array.isArray(jsonObj) && jsonObj[0]) {\n      var _jsonObj$2 = jsonObj[0],\n        a = _jsonObj$2.a,\n        p = _jsonObj$2.p;\n      if (a === 'showErrMsg' && Array.isArray(p)) {\n        var _p$2 = p[0],\n          errorInfo = _p$2.errorInfo,\n          errorTitle = _p$2.errorTitle;\n        throw new Error(\"\".concat(errorInfo, \":  \") + errorTitle);\n      }\n    }\n    return jsonObj;\n  })[\"catch\"](function (error) {\n    throw new Error('fetch data error: ' + error.message);\n  });\n};\nvar encodeParam = function encodeParam() {\n  var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  if (_typeof(value) === 'object') {\n    return encodeURIComponent(JSON.stringify(value));\n  } else {\n    return encodeURIComponent(value);\n  }\n};\n\n//# sourceURL=webpack://kd-login/./src/api/service.js?");

/***/ }),

/***/ "./src/const.js":
/*!**********************!*\
  !*** ./src/const.js ***!
  \**********************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ACCEPT_COOKIE: function() { return /* binding */ ACCEPT_COOKIE; },\n/* harmony export */   ACCOUNT: function() { return /* binding */ ACCOUNT; },\n/* harmony export */   ACCOUNT_INFO: function() { return /* binding */ ACCOUNT_INFO; },\n/* harmony export */   ACT: function() { return /* binding */ ACT; },\n/* harmony export */   AREA_CODE: function() { return /* binding */ AREA_CODE; },\n/* harmony export */   BEFORE_LOGIN_DIALOG: function() { return /* binding */ BEFORE_LOGIN_DIALOG; },\n/* harmony export */   CONFIG: function() { return /* binding */ CONFIG; },\n/* harmony export */   CURRENT_ACCOUNDID: function() { return /* binding */ CURRENT_ACCOUNDID; },\n/* harmony export */   CURRENT_LANG: function() { return /* binding */ CURRENT_LANG; },\n/* harmony export */   DEFAULT_LANG: function() { return /* binding */ DEFAULT_LANG; },\n/* harmony export */   FAILURE: function() { return /* binding */ FAILURE; },\n/* harmony export */   FREE_LOGIN_FAIL: function() { return /* binding */ FREE_LOGIN_FAIL; },\n/* harmony export */   KEYS: function() { return /* binding */ KEYS; },\n/* harmony export */   LOGINING: function() { return /* binding */ LOGINING; },\n/* harmony export */   LOGIN_TYPE: function() { return /* binding */ LOGIN_TYPE; },\n/* harmony export */   LOGIN_USERINFO: function() { return /* binding */ LOGIN_USERINFO; },\n/* harmony export */   LOGOUT: function() { return /* binding */ LOGOUT; },\n/* harmony export */   MSG: function() { return /* binding */ MSG; },\n/* harmony export */   PRIVACT_STATEMENT: function() { return /* binding */ PRIVACT_STATEMENT; },\n/* harmony export */   PWS_EXPIRED: function() { return /* binding */ PWS_EXPIRED; },\n/* harmony export */   SCk: function() { return /* binding */ SCk; },\n/* harmony export */   SUCCESS: function() { return /* binding */ SUCCESS; },\n/* harmony export */   TEL: function() { return /* binding */ TEL; },\n/* harmony export */   getCodeKey: function() { return /* binding */ getCodeKey; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar SUCCESS = 0;\nvar FAILURE = 1;\nvar LOGINING = 2;\n\n// localStorage中存储当前语言的key\nvar CURRENT_LANG = 'login-lang';\n// localStorage中存储当前数据中心ID的key\nvar CURRENT_ACCOUNDID = 'login-accountId';\n// localStorage中存储上一次记住密码的账号信息\nvar ACCOUNT_INFO = 'login-accountInfo';\n// 配置项信息\nvar CONFIG = '__kd_config__';\nvar ACCOUNT = 'login-account';\n// localStorage中存储登录页面的自定义配置信息\n\nvar LOGIN_TYPE = 'login-type';\n\n// 短信登录\nvar MSG = 'messageLogin';\nvar TEL = 'phoneLogin';\nvar ACT = 'accountLogin';\n\n// 存储登录页用户信息\nvar LOGIN_USERINFO = 'login-userinfo';\n\n//\nvar DEFAULT_LANG = 'login-defaultLang';\n\n// 允许使用cookie\nvar ACCEPT_COOKIE = 'acceptCookieDeclaration';\nvar AREA_CODE = 'login-AreaCode';\nvar PWS_EXPIRED = '305'; // 密码过期\nvar LOGOUT = '310'; // 踢出登陆\nvar PRIVACT_STATEMENT = '306'; // 隐私声明\nvar FREE_LOGIN_FAIL = 'freeLoginFail';\nvar BEFORE_LOGIN_DIALOG = '307'; // 登陆确认\n\nvar SCk = '8a223b4505354166860b127136747c51';\n\n// 键盘键值码 并不全 慢慢补充\nvar KEYS = {\n  0: 48,\n  1: 49,\n  2: 50,\n  3: 51,\n  4: 52,\n  5: 53,\n  6: 54,\n  7: 55,\n  8: 56,\n  9: 57,\n  A: 65,\n  B: 66,\n  C: 67,\n  D: 68,\n  E: 69,\n  F: 70,\n  G: 71,\n  H: 72,\n  I: 73,\n  J: 74,\n  K: 75,\n  L: 76,\n  M: 77,\n  N: 78,\n  O: 79,\n  P: 80,\n  Q: 81,\n  R: 82,\n  S: 83,\n  T: 84,\n  U: 85,\n  V: 86,\n  W: 87,\n  X: 88,\n  Y: 89,\n  Z: 90,\n  F1: 112,\n  F2: 113,\n  F3: 114,\n  F4: 115,\n  F5: 116,\n  F6: 117,\n  F7: 118,\n  F8: 119,\n  F9: 120,\n  F10: 121,\n  F11: 122,\n  F12: 123,\n  TAB: 9,\n  ENTER: 13,\n  SHIFT: 16,\n  CONTROL: 17,\n  ALT: 18,\n  ESCAPE: 27,\n  SPACE: 32,\n  PAGEUP: 33,\n  PAGEDOWN: 34,\n  END: 35,\n  HOME: 36,\n  ARROWLEFT: 37,\n  ARROWUP: 38,\n  ARROWRIGHT: 39,\n  ARROWDOWN: 40,\n  DELETE: 46,\n  BACKSPACE: 8,\n  META: 91,\n  '*': 106,\n  '+': 107,\n  ';': 186,\n  '=': 187,\n  ',': 188,\n  '-': 189,\n  '.': 190,\n  '/': 191,\n  '`': 192,\n  '[': 219,\n  ']': 221\n};\n\n// 补充几种按键的简写status\nKEYS.CTRL = 17;\nKEYS.ESC = 27;\nKEYS.LEFT = 37;\nKEYS.UP = 38;\nKEYS.RIGHT = 39;\nKEYS.DOWN = 40;\n\n// 补充几种中文输入法下的status\nKEYS.SEMICOLON = 186; // Semicolon(; ；)\nKEYS.EQUAL = 187; // Equal(==)\nKEYS.COMMA = 188; // Comma(.，)\nKEYS.MINUS = 189; // Minus(--)\nKEYS.PERIOD = 190; // Period(.。)\nKEYS.SLASH = 191; // Slash(? /)\nKEYS.BACKQUOTE = 192; // Backquote(`·)\nKEYS.BRACKETLEFT = 219; // BracketLeft([【)\nKEYS.BRACKETRIGHT = 221; // BracketRight(]】)\nKEYS.BACKSLASH = 11; // Backslash(\\、)\nKEYS.QUOTE = 229; // Quote(')\n\n// 小键盘相关 小键盘status为 PAD + status\nKEYS.PAD0 = 96; // pad(0)\nKEYS.PAD1 = 97; // pad(1)\nKEYS.PAD2 = 98; // pad(2)\nKEYS.PAD3 = 99; // pad(3)\nKEYS.PAD4 = 100; // pad(4)\nKEYS.PAD5 = 101; // pad(5)\nKEYS.PAD6 = 102; // pad(6)\nKEYS.PAD7 = 103; // pad(7)\nKEYS.PAD8 = 104; // pad(8)\nKEYS.PAD9 = 105; // pad(9)\nKEYS.DIVIDE = 111; // \"/\"\n\nvar getCodeKey = function getCodeKey(key) {\n  if (!key) return null;\n  key = key.toUpperCase().replace(/^\\s+|\\s+$/g, '');\n  return KEYS[key] || null;\n};\n\n\n//# sourceURL=webpack://kd-login/./src/const.js?");

/***/ }),

/***/ "./src/i18n/IntlUniversal.js":
/*!***********************************!*\
  !*** ./src/i18n/IntlUniversal.js ***!
  \***********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.reduce.js */ \"../../node_modules/core-js/modules/es.array.reduce.js\");\n/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ \"../../node_modules/core-js/modules/es.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ \"../../node_modules/core-js/modules/es.string.match.js\");\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var _static_lang_zh_CN_json__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../static/lang/zh_CN.json */ \"./static/lang/zh_CN.json\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../const */ \"./src/const.js\");\n/* harmony import */ var _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _store_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../store */ \"./src/store.js\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/**\n * 前端国际化的管理模型\n * by kechuang\n */\n\n// import _ from 'lodash';\n// import fetchJsonp from 'fetch-jsonp';\n// import console from '../api/console';\n\n\n\n\n\n\nvar IntlUniversal = /*#__PURE__*/function () {\n  function IntlUniversal() {\n    _classCallCheck(this, IntlUniversal);\n    this.options = {\n      currentLocale: null,\n      locales: {\n        zh_CN: _static_lang_zh_CN_json__WEBPACK_IMPORTED_MODULE_27__\n      },\n      extendedLangInfo: {},\n      defaultLocale: 'zh_CN'\n    };\n    this.renderApp = false;\n    this.isMobile = false;\n    // //默认值\n    // String.prototype.defaultMessage = String.prototype.d = function (msg) {\n    //     return this || msg || \"\";\n    // };\n  }\n  _createClass(IntlUniversal, [{\n    key: \"extendedLang\",\n    value: function extendedLang(data) {\n      this.options.extendedLangInfo = data;\n    }\n  }, {\n    key: \"setValue\",\n    value: function setValue(key, value) {\n      this.isMobile ? _store_js__WEBPACK_IMPORTED_MODULE_31__.mStore.setValue(key, value) : _store_js__WEBPACK_IMPORTED_MODULE_31__[\"default\"].setValue(key, value);\n    }\n  }, {\n    key: \"getStore\",\n    value: function getStore(key) {\n      return this.isMobile ? _store_js__WEBPACK_IMPORTED_MODULE_31__.mStore[key] : _store_js__WEBPACK_IMPORTED_MODULE_31__[\"default\"][key];\n    }\n  }, {\n    key: \"setLangusge\",\n    value: function setLangusge(langInfo, isLoad) {\n      var lang = langInfo.lang,\n        exist = langInfo.exist;\n      if (this.isMobile) {\n        _store_js__WEBPACK_IMPORTED_MODULE_31__.mStore.setValue('lang', lang);\n      }\n      this.setValue('currentLangInfo', {\n        lang: lang,\n        exist: exist\n      });\n      this.setValue('isLazyLoadDefaultLang', isLoad);\n    }\n  }, {\n    key: \"init\",\n    value: function init(currentLocale, callback, isMobile) {\n      var _this = this;\n      this.isMobile = isMobile;\n      invariant(currentLocale, 'currentLocale is required');\n      var defaultLanguageKey = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_30__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_29__.DEFAULT_LANG);\n      var oldDefaultLang = _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_30__.myLocalStorage.getItem(defaultLanguageKey);\n      this.options.currentLocale = currentLocale;\n      var locale = this.options.locales[currentLocale];\n      if (locale) {\n        this.setLangusge({\n          lang: currentLocale,\n          exist: true\n        }, true);\n        callback();\n      } else {\n        _api_service__WEBPACK_IMPORTED_MODULE_28__.getLangData({\n          lang: currentLocale\n        }).then(function (data) {\n          _this.setLangusge({\n            lang: currentLocale,\n            exist: true\n          }, true);\n          _this.options.locales[currentLocale] = data;\n          callback();\n        })[\"catch\"](function () {\n          // console.warn('load locale error:', err)\n          if (oldDefaultLang) {\n            _this.setLangusge({\n              lang: oldDefaultLang,\n              exist: false\n            }, true);\n            _this.load(oldDefaultLang, callback);\n          } else {\n            _this.setLangusge({\n              lang: currentLocale,\n              exist: false\n            }, false);\n            var currentAccountIdKey = (0,_util_toolUtils_js__WEBPACK_IMPORTED_MODULE_30__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_29__.CURRENT_ACCOUNDID);\n            var currentAccountId = _util_toolUtils_js__WEBPACK_IMPORTED_MODULE_30__.myLocalStorage.getItem(currentAccountIdKey);\n            var flag = true;\n            if (_this.getStore('accountId') && _this.getStore('defaultLang')) {\n              for (var key in _this.getStore('defaultLang')) {\n                if (_this.getStore('accountId') === key) {\n                  flag = false;\n                  _this.load(_this.getStore('defaultLang')[key], callback);\n                }\n              }\n              flag && _this.loadDefaultLang(currentAccountId, callback);\n            } else {\n              _this.loadDefaultLang(currentAccountId, callback);\n            }\n          }\n        });\n      }\n    }\n\n    // 获取默认语言\n  }, {\n    key: \"loadDefaultLang\",\n    value: function loadDefaultLang(currentAccountId, callback) {\n      var _this2 = this;\n      var promise = currentAccountId ? _api_service__WEBPACK_IMPORTED_MODULE_28__.getUserLanguage({\n        accountId: currentAccountId\n      }) : _api_service__WEBPACK_IMPORTED_MODULE_28__.getUserLanguage();\n      promise.then(function (data) {\n        var defaultLang = data.defaultLang || 'zh_CN';\n        _this2.setValue('defaultLang', Object.assign({}, _this2.getStore('defaultLang'), _defineProperty({}, currentAccountId, defaultLang)));\n        if (!_this2.renderApp && defaultLang === 'zh_CN') {\n          _this2.options.currentLocale = 'zh_CN';\n          callback();\n        } else if (!_this2.renderApp) {\n          _this2.renderApp = true;\n          _this2.load(defaultLang, callback);\n        }\n      })[\"catch\"](function () {\n        _this2.options.currentLocale = 'zh_CN'; // 取不到资源文件就取中文\n        callback();\n      });\n    }\n  }, {\n    key: \"load\",\n    value: function load(lang, callback) {\n      var _this3 = this;\n      if (this.options.locales[lang]) {\n        this.options.currentLocale = lang;\n        callback();\n      }\n      _api_service__WEBPACK_IMPORTED_MODULE_28__.getLangData({\n        lang: lang\n      }).then(function (data) {\n        _this3.options.locales[lang] = data;\n        _this3.options.currentLocale = lang;\n        callback();\n      })[\"catch\"](function (err) {\n        console.warn('load locale error:', err);\n        _this3.options.currentLocale = 'zh_CN'; // 取不到资源文件就取中文\n        callback();\n      });\n    }\n  }, {\n    key: \"getDescendantProp\",\n    value: function getDescendantProp(locale, key) {\n      var extendedLang = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      if (locale && locale[key]) {\n        return extendedLang[key] || locale[key];\n      }\n      var msg = key.split('-').reduce(function (a, b) {\n        return a !== undefined ? a[b] : a;\n      }, locale);\n      return msg;\n    }\n  }, {\n    key: \"get\",\n    value: function get(key, variables, lang) {\n      invariant(key, 'key is required');\n      var _this$options = this.options,\n        locales = _this$options.locales,\n        currentLocale = _this$options.currentLocale,\n        defaultLocale = _this$options.defaultLocale,\n        _this$options$extende = _this$options.extendedLangInfo,\n        extendedLangInfo = _this$options$extende === void 0 ? {} : _this$options$extende;\n      var activeLang = lang || currentLocale; // 允许访问其他类型的语言\n      if ((!locales || !locales[activeLang]) && (!extendedLangInfo || !extendedLangInfo[activeLang])) {\n        console.warn(\"locales data \\\"\".concat(activeLang, \"\\\" not exists.\"));\n        return '';\n      }\n      var msg = this.getDescendantProp(locales[activeLang], key, extendedLangInfo[activeLang]);\n      if (msg == null) {\n        console.warn(\"key \\\"\".concat(key, \"\\\" not defined in \").concat(activeLang, \",try to get from defaultLocale 'zh_CN'\"));\n        msg = this.getDescendantProp(locales[defaultLocale], key, extendedLangInfo[activeLang]);\n        if (msg == null) {\n          console.warn(\"key \\\"\".concat(key, \"\\\" not defined in \").concat(defaultLocale));\n          return '';\n        }\n      }\n      try {\n        return analysVariables(msg, variables);\n      } catch (err) {\n        console.warn(\"format message failed for key='\".concat(key, \"'.\"), err.message);\n        return msg;\n      }\n    }\n  }]);\n  return IntlUniversal;\n}();\n/* harmony default export */ __webpack_exports__[\"default\"] = (new IntlUniversal());\nfunction invariant(condition, errMsg) {\n  if (!condition) {\n    throw new Error(errMsg || 'this variable must be usable!');\n  }\n}\n\n/**\n * 解析模板字符串中的变量\n * @param {*} msg\n * @param {*} variables\n */\nfunction analysVariables(msg, variables) {\n  var reg = /{[\\w\\W]*?}/g;\n  var matchArr = msg.match(reg) || [];\n  var isObject = function isObject(value) {\n    return _typeof(value) === 'object' || typeof value === 'function';\n  };\n  var getVarName = function getVarName(str) {\n    var len = str.length;\n    return str.slice(1, len - 1);\n  };\n  var stringVar = [];\n  var eleVar = [];\n  var _iterator = _createForOfIteratorHelper(matchArr),\n    _step;\n  try {\n    for (_iterator.s(); !(_step = _iterator.n()).done;) {\n      var item = _step.value;\n      var varName = getVarName(item);\n      var value = variables[varName];\n      if (isObject(value)) {\n        eleVar.push({\n          k: varName,\n          v: value\n        });\n      } else {\n        stringVar.push({\n          k: varName,\n          v: value\n        });\n      }\n    }\n  } catch (err) {\n    _iterator.e(err);\n  } finally {\n    _iterator.f();\n  }\n  msg = formatText(msg, stringVar);\n  if (eleVar.length > 0) {\n    msg = formatElement(msg, variables);\n  }\n  return msg;\n}\n\n/**\n * 替换基本类型的变量\n * @param {*} msg\n * @param {*} stringVar\n */\nfunction formatText(msg, stringVar) {\n  stringVar.forEach(function (item) {\n    var k = item.k,\n      v = item.v;\n    var reg = new RegExp('{' + k + '}', 'g');\n    msg = msg.replace(reg, v);\n  });\n  return msg;\n}\n\n/**\n * 替换React元素类型的变量\n * @param {*} msg\n * @param {*} eleVar\n * @param {*} variables\n */\nfunction formatElement(msg, variables) {\n  var splitByElement = function splitByElement(msg) {\n    var array = [];\n    var item = {\n      t: 0,\n      v: ''\n    }; // 0-string 1-react\n    var len = msg.length;\n    msg.split('').forEach(function (c, i) {\n      if (c === '{') {\n        array.push(item);\n        item = {\n          t: 1,\n          v: ''\n        };\n      } else if (c === '}') {\n        array.push(item);\n        item = {\n          t: 0,\n          v: ''\n        };\n      } else {\n        item.v = item.v + c;\n      }\n      if (i === len - 1) {\n        array.push(item);\n      }\n    });\n    return array;\n  };\n  var elements = [];\n  var eleArr = splitByElement(msg);\n  eleArr.forEach(function (item, index) {\n    var t = item.t,\n      v = item.v;\n    if (t === 0 && v !== '') {\n      elements.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.createElement(\"span\", {\n        key: index\n      }, v));\n    } else if (t === 1) {\n      elements.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_26__.cloneElement(variables[v], {\n        key: index\n      }));\n    }\n  });\n  return elements;\n}\n\n//# sourceURL=webpack://kd-login/./src/i18n/IntlUniversal.js?");

/***/ }),

/***/ "./src/i18n/imageMap.js":
/*!******************************!*\
  !*** ./src/i18n/imageMap.js ***!
  \******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   whiteLogo: function() { return /* binding */ whiteLogo; }\n/* harmony export */ });\n/* harmony import */ var _img_logo_white_png__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../img/logo-white.png */ \"./src/img/logo-white.png\");\n/* harmony import */ var _img_logo_white_png__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_img_logo_white_png__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _img_logo_white_en_png__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../img/logo-white-en.png */ \"./src/img/logo-white-en.png\");\n/* harmony import */ var _img_logo_white_en_png__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_img_logo_white_en_png__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar whiteLogo = {\n  zh_CN: (_img_logo_white_png__WEBPACK_IMPORTED_MODULE_0___default()),\n  en_US: (_img_logo_white_en_png__WEBPACK_IMPORTED_MODULE_1___default())\n};\n\n//# sourceURL=webpack://kd-login/./src/i18n/imageMap.js?");

/***/ }),

/***/ "./src/i18n/intlApi.js":
/*!*****************************!*\
  !*** ./src/i18n/intlApi.js ***!
  \*****************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getLangMsg: function() { return /* binding */ getLangMsg; },\n/* harmony export */   getMobileLang: function() { return /* binding */ getMobileLang; },\n/* harmony export */   initI18n: function() { return /* binding */ initI18n; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ \"../../node_modules/core-js/modules/es.string.split.js\");\n/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ \"../../node_modules/core-js/modules/es.string.starts-with.js\");\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _IntlUniversal__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./IntlUniversal */ \"./src/i18n/IntlUniversal.js\");\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../const */ \"./src/const.js\");\n/* harmony import */ var _util_toolUtils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/util/clientEnv.js */ \"./src/util/clientEnv.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * 前端国际化的方法\n * by kechuang\n */\n\n\n\n\n\n\n/**\n * 初始化国际化管理模型\n * 这个地方要做try-catch  不能导致整个环境崩溃\n * @param {*} lang\n * @param {*} callback\n */\nfunction initI18n(callback, isMobile) {\n  try {\n    getCurrentLocale(function (currentLocale) {\n      _IntlUniversal__WEBPACK_IMPORTED_MODULE_17__[\"default\"].init(currentLocale, callback, isMobile);\n    }, isMobile);\n  } catch (e) {\n    console.warn('initI18n', e);\n    callback();\n  }\n}\nfunction getMobileLang() {\n  var lang;\n  var userAgent = window.navigator.userAgent;\n  if (window.customAppLanguage) {\n    lang = window.customAppLanguage;\n  } else if (_util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].isYzj || _util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].isDesktop) {\n    var langMsg = userAgent.split(';').find(function (item) {\n      return item.startsWith('lang:');\n    }) || 'lang:zh-KR';\n    lang = langMsg.indexOf('zh') > -1 ? 'zh_CN' : langMsg;\n  } else if (_util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].isDd) {\n    var _langMsg = userAgent.split(' ').find(function (item) {\n      return item.startsWith('language');\n    }) || 'language/zh-Hans';\n    // 苹果：zh-Hant、安卓：zh-HK\n    lang = /zh-Hant|zh-HK|zh-TW/.test(_langMsg) ? 'zh_TW' : _langMsg.includes('zh') ? 'zh_CN' : _langMsg;\n  } else if (_util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].isWxWork) {\n    var _langMsg2 = userAgent.split(' ').find(function (item) {\n      return item.startsWith('Language');\n    }) || 'Language/zh';\n    // 企业微信设置繁体中文，ua里面是zh_HK\n    lang = _langMsg2.includes('zh_HK') ? 'zh_TW' : _langMsg2.includes('zh') ? 'zh_CN' : _langMsg2;\n  } else if (_util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].isWelink) {\n    // welink不支持设置繁体\n    var _langMsg3 = window.navigator.language || 'zh-CN';\n    lang = _langMsg3.indexOf('zh') > -1 ? 'zh_CN' : 'en_US';\n  } else if (_util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].isFeiShu) {\n    var _langMsg4 = userAgent.split(' ').find(function (item) {\n      return item.startsWith('LarkLocale');\n    }) || 'LarkLocale/zh_CN';\n    // 简体中文：LarkLocale/zh_CN 繁体中文(中国香港)：LarkLocale/zh_HK 繁体中文(中国台湾)：LarkLocale/zh_TW 英文：LarkLocale/en_US\n    lang = _langMsg4.includes('zh_TW') || _langMsg4.includes('zh_HK') ? 'zh_TW' : _langMsg4.includes('zh') ? 'zh_CN' : _langMsg4;\n  } else if (_util_clientEnv_js__WEBPACK_IMPORTED_MODULE_20__[\"default\"].isKdcloudApp) {\n    var _langMsg5 = userAgent.split(';').find(function (item) {\n      return item.startsWith('lang:');\n    }) || 'lang:zh';\n    lang = _langMsg5.includes('zh-TW') ? 'zh_TW' : _langMsg5.includes('zh') ? 'zh_CN' : _langMsg5;\n  } else {\n    lang = window.navigator.language || window.navigator.userLanguage;\n  }\n  lang = getLanguage(lang);\n  return lang;\n}\nfunction getLanguage(language) {\n  var _language$split$;\n  if (language === undefined || language === null) {\n    return 'en_US';\n  }\n  // 云之家\n  var lowerLanguage = language.toLowerCase();\n  var splitChar = lowerLanguage.startsWith('lang:') ? ':' : '/';\n  var result = (_language$split$ = language.split(splitChar)[1]) !== null && _language$split$ !== void 0 ? _language$split$ : language;\n  if (splitChar === ':' && result.startsWith('en-')) {\n    // 云之家app的语言处理与其他app都不同，会出现 en-CN 这样的，统一保证英文能正常加载\n    return 'en_US';\n  }\n  return result.replace('-', '_');\n}\nfunction getCurrentLocale(callback, isMobile) {\n  if (isMobile) {\n    var currentLocale = getMobileLang();\n    callback(currentLocale);\n  } else {\n    var currentLangKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_19__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_18__.CURRENT_LANG);\n    var _currentLocale = _util_toolUtils__WEBPACK_IMPORTED_MODULE_19__.myLocalStorage.getItem(currentLangKey) || 'zh_CN';\n    callback(_currentLocale);\n  }\n}\n\n/**\n * {key,variables,activeLang} = templateInfo  || templateInfo => key\n * @key 模板字符串的唯一标识 必填\n * @variables 模板字符串的变量映射表 非必填\n * @activeLang 当前的语言类型，如果和系统的语言类型不同需要传，其他情况不传\n */\nvar getLangMsg = function getLangMsg(templateInfo) {\n  if (templateInfo && _typeof(templateInfo) === 'object') {\n    var key = templateInfo.key,\n      variables = templateInfo.variables,\n      activeLang = templateInfo.activeLang;\n    return _IntlUniversal__WEBPACK_IMPORTED_MODULE_17__[\"default\"].get(key, variables, activeLang);\n  }\n  return _IntlUniversal__WEBPACK_IMPORTED_MODULE_17__[\"default\"].get(templateInfo);\n};\n/**\n * 从cookie中获取语言信息\n * @param {*} localeKey\n */\nvar getCurrentLocaleFromCookie = function getCurrentLocaleFromCookie(localeKey) {\n  var cookieObj = analysCookie();\n  var locale = cookieObj[localeKey] || 'zh_CN';\n  return locale;\n};\nvar analysCookie = function analysCookie() {\n  var cookie = document.cookie;\n  var obj = {};\n  if (typeof cookie !== 'string') {\n    console.warn('cookie must be a string');\n    return obj;\n  }\n  var reg = /; */;\n  var arr = cookie.split(reg);\n  var len = arr.length;\n  for (var i = 0; i < len; i++) {\n    var item = arr[i];\n    var eq_idx = item.indexOf('=');\n    if (eq_idx < 0) {\n      continue;\n    }\n    var key = item.substr(0, eq_idx).trim();\n    var val = item.substr(++eq_idx, item.length).trim();\n    // quoted values\n    if (val[0] === '\"') {\n      val = val.slice(1, -1);\n    }\n    obj[key] = val;\n  }\n  return obj;\n};\n\n//# sourceURL=webpack://kd-login/./src/i18n/intlApi.js?");

/***/ }),

/***/ "./src/mock/data.js":
/*!**************************!*\
  !*** ./src/mock/data.js ***!
  \**************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   langList: function() { return /* binding */ langList; }\n/* harmony export */ });\nvar langList = [{\n  value: 'zh_CN',\n  text: '中文(简)',\n  select: true\n}\n// { 'value': 'zh_TW', 'text': '中文(繁)' },\n// { 'value': 'en_US', 'text': 'English' }\n];\n\n//# sourceURL=webpack://kd-login/./src/mock/data.js?");

/***/ }),

/***/ "./src/publicPath.js":
/*!***************************!*\
  !*** ./src/publicPath.js ***!
  \***************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

eval("__webpack_require__.p = window.__kd_cdnPath__ === '.' ? 'login/' : window.__kd_cdnPath__ + '/login/';\n\n//# sourceURL=webpack://kd-login/./src/publicPath.js?");

/***/ }),

/***/ "./src/store.js":
/*!**********************!*\
  !*** ./src/store.js ***!
  \**********************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   mStore: function() { return /* binding */ mStore; }\n/* harmony export */ });\nvar store = {\n  accountId: '',\n  lang: 'zh_CN',\n  account: '',\n  password: '',\n  verifyCode: '',\n  phoneCode: '',\n  newPassword: '',\n  confirmPassword: '',\n  configuration: {},\n  yzjAccount: '',\n  yzjPwd: '',\n  role: '',\n  isCompleteLoadConfig: false,\n  // 是否加载完配置信息\n  loadingText: '',\n  token: '',\n  openid: '',\n  scantype: '',\n  randomCode: '',\n  hasLDAP: true,\n  usernamepsw: '',\n  iskdbrand: '',\n  notificationList: [],\n  dataCenter: [],\n  licenseInfo: {\n    oldAccountId: '',\n    oldLanguage: '',\n    data: []\n  },\n  setValue: function setValue(key, value) {\n    this[key] = value;\n  },\n  setValueArr: function setValueArr() {\n    var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    for (var key in obj) {\n      this[key] = obj[key];\n    }\n  }\n};\nif (true) {\n  window.store = store;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\nvar mStore = {\n  lang: 'zh_CN',\n  accountId: '',\n  account: '',\n  password: '',\n  verifyCode: '',\n  phoneCode: '',\n  newPassword: '',\n  confirmPassword: '',\n  closeEncrypt: {\n    flag: false,\n    id: ''\n  },\n  dataCenter: [],\n  setValue: function setValue(key, value) {\n    this[key] = value;\n  }\n};\nif (true) {\n  window.store = mStore;\n}\nwindow.mStore = mStore;\n\n//# sourceURL=webpack://kd-login/./src/store.js?");

/***/ }),

/***/ "./src/util/clientEnv.js":
/*!*******************************!*\
  !*** ./src/util/clientEnv.js ***!
  \*******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getAppType: function() { return /* binding */ getAppType; },\n/* harmony export */   isDesktop: function() { return /* binding */ isDesktop; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ \"../../node_modules/core-js/modules/es.string.match.js\");\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ \"../../node_modules/core-js/modules/es.string.starts-with.js\");\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\nvar UNKNOWN = 'unknown'; // 未知类型\nvar YZJ = 'yzj'; // 云之家移动端\nvar DESKTOP = 'desktop'; // 云之家桌面端\nvar OLDDESKTOP = 'isOldClient'; // 老云之家客户端\nvar WX = 'wx';\nvar DD = 'dd';\nvar WELINK = 'welink'; // welink客户端\nvar WXWORK = 'wxwork'; // 企业微信\nvar KDCLOUDAPP = 'kdcloudApp'; // 金蝶云\nvar FEISHU = 'feishu'; // 飞书\n// 获取客户端app类型（云之家，微信，v+,unknown)\nfunction getAppType() {\n  var agent = navigator.userAgent;\n  if (agent.match(/Qing\\/.*;(iOS|iPhone|Android).*/)) {\n    return YZJ;\n  }\n  if (agent.match(/App\\/cloudhub/)) {\n    return DESKTOP;\n  }\n  if (agent.match(/clientId:10204/)) {\n    return OLDDESKTOP;\n  }\n  if (agent.indexOf('MicroMessenger') > -1) {\n    if (agent.indexOf('wxwork') > -1) {\n      // 企业微信\n      return WXWORK;\n    } else {\n      // 微信\n      return WX;\n    }\n  }\n  // 钉钉 ding-talk-win/1.0.0 nw(0.14.7) DingTalk(4.79-Release.43) -PC端\n  if (agent.indexOf('DingTalk') > -1) {\n    // agent.indexOf('dingtalk') > -1 ||\n    return DD;\n  }\n  if (agent.indexOf('welink') > -1 || agent.indexOf('cloudlink') > -1) {\n    return WELINK;\n  } else if (agent.startsWith('kdcloud/')) {\n    return KDCLOUDAPP;\n  } else if (agent.indexOf('Lark/') > -1) {\n    return FEISHU;\n  }\n\n  // todo：其他支持的app类型\n\n  return UNKNOWN;\n}\nfunction isDesktop() {\n  // return !!navigator.userAgent.match(/App\\/cloudhub/)\n  return {\n    result: !!navigator.userAgent.match(/App\\/cloudhub/),\n    isOldClient: navigator.userAgent.match(/clientId:10204/)\n  };\n}\nvar appType = getAppType();\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  isYzj: appType === YZJ,\n  isDesktop: appType === DESKTOP,\n  isOldClient: appType === OLDDESKTOP,\n  isUnknown: appType === UNKNOWN,\n  isVPlus: window.isVPlus === true,\n  // 维加\n  isWx: appType === WX,\n  // 微信\n  isDd: appType === DD,\n  // 钉钉,\n  isWelink: appType === WELINK,\n  isWxWork: appType === WXWORK,\n  isKdcloudApp: appType === KDCLOUDAPP,\n  isFeiShu: appType === FEISHU,\n  appType: appType\n});\n\n//# sourceURL=webpack://kd-login/./src/util/clientEnv.js?");

/***/ }),

/***/ "./src/util/dataUtil.js":
/*!******************************!*\
  !*** ./src/util/dataUtil.js ***!
  \******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   convertDataCenter: function() { return /* binding */ convertDataCenter; },\n/* harmony export */   convertLangData: function() { return /* binding */ convertLangData; },\n/* harmony export */   filterDataCenter: function() { return /* binding */ filterDataCenter; },\n/* harmony export */   getCurrentAccountId: function() { return /* binding */ getCurrentAccountId; },\n/* harmony export */   getCurrentLang: function() { return /* binding */ getCurrentLang; },\n/* harmony export */   getDefaultLoginType: function() { return /* binding */ getDefaultLoginType; },\n/* harmony export */   getKeyboard: function() { return /* binding */ getKeyboard; },\n/* harmony export */   getLicenseInfo: function() { return /* binding */ getLicenseInfo; },\n/* harmony export */   getMultilinguaText: function() { return /* binding */ getMultilinguaText; },\n/* harmony export */   getParameterByName: function() { return /* binding */ getParameterByName; },\n/* harmony export */   getQueryString: function() { return /* binding */ getQueryString; },\n/* harmony export */   isScript: function() { return /* binding */ isScript; },\n/* harmony export */   queryParameters: function() { return /* binding */ queryParameters; },\n/* harmony export */   resetStore: function() { return /* binding */ resetStore; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.to-primitive.js */ \"../../node_modules/core-js/modules/es.symbol.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_to_primitive_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ \"../../node_modules/core-js/modules/es.symbol.js\");\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ \"../../node_modules/core-js/modules/es.symbol.description.js\");\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ \"../../node_modules/core-js/modules/es.symbol.iterator.js\");\n/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.find-index.js */ \"../../node_modules/core-js/modules/es.array.find-index.js\");\n/* harmony import */ var core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ \"../../node_modules/core-js/modules/es.array.from.js\");\n/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.is-array.js */ \"../../node_modules/core-js/modules/es.array.is-array.js\");\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.array.for-each.js */ \"../../node_modules/core-js/modules/es.array.for-each.js\");\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"../../node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.array.some.js */ \"../../node_modules/core-js/modules/es.array.some.js\");\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.array.sort.js */ \"../../node_modules/core-js/modules/es.array.sort.js\");\n/* harmony import */ var core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_sort_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.date.to-primitive.js */ \"../../node_modules/core-js/modules/es.date.to-primitive.js\");\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ \"../../node_modules/core-js/modules/es.object.assign.js\");\n/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.object.define-properties.js */ \"../../node_modules/core-js/modules/es.object.define-properties.js\");\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js\");\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ \"../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_29__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ \"../../node_modules/core-js/modules/es.object.keys.js\");\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_30__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_31__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.js\");\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_32__);\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ \"../../node_modules/core-js/modules/es.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_33___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_33__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_34___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_34__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_35___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_35__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_36__);\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ \"../../node_modules/core-js/modules/es.string.match.js\");\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_37___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_37__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_38___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_38__);\n/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ \"../../node_modules/core-js/modules/es.string.search.js\");\n/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_39___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_39__);\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../const */ \"./src/const.js\");\n/* harmony import */ var _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _mock_data__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../mock/data */ \"./src/mock/data.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! @/store */ \"./src/store.js\");\n/* harmony import */ var _api_service_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! @/api/service.js */ \"./src/api/service.js\");\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar _excluded = [\"errorMessage\", \"success\", \"hasLDAP\", \"domain\", \"userSourceType\", \"defaultUserSourceType\", \"closeEncrypt\", \"forbidRememberPwd\", \"rsaPadding\", \"enableDataCenterLoginPage\", \"needSignPrivacy\", \"needCustomDynamicCode\", \"isAccountSession\", \"cookieStatement\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction convertDataCenter(data) {\n  return data.map(function (item) {\n    return {\n      text: item.accountName,\n      value: item.accountId,\n      // sourceType: item.userSourceType,\n      select: item[\"default\"]\n    };\n  });\n}\n\n/**\n * @param {Array} data 数据中心数组\n * @param {Array} type 过滤的数据中心类型\n */\nfunction filterDataCenter(key, defaultCenter, types, dataPipeModel, currentAccountId) {\n  try {\n    var newDataCenter;\n    var dataCenter = _store__WEBPACK_IMPORTED_MODULE_43__[\"default\"].dataCenter || [];\n    if (currentAccountId && dataCenter.length > 0) {\n      var i = dataCenter.findIndex(function (_ref) {\n        var value = _ref.value;\n        return value === currentAccountId;\n      });\n      newDataCenter = i === -1 ? dataCenter : [].concat(_toConsumableArray(dataCenter.slice(i, i + 1)), _toConsumableArray(dataCenter.slice(0, i)), _toConsumableArray(dataCenter.slice(i + 1, dataCenter.length)));\n    } else {\n      newDataCenter = dataCenter;\n    }\n    for (var index = 0; index < newDataCenter.length; index++) {\n      var accountId = newDataCenter[index].value;\n      queryParameters(accountId, newDataCenter, index, dataPipeModel).then(function (data) {\n        var _data$userSourceType;\n        if (data !== null && data !== void 0 && (_data$userSourceType = data.userSourceType) !== null && _data$userSourceType !== void 0 && _data$userSourceType.some(function (type) {\n          return types.includes(type);\n        })) {\n          dataPipeModel && dataPipeModel.sendData({\n            type: key,\n            data: data\n          });\n        }\n      })[\"catch\"](function (error) {\n        console.error('filterDataCenter error:', error);\n      });\n    }\n  } catch (error) {\n    console.error('dataCenter error:', error);\n  }\n}\nfunction queryParameters(accountId, dataCenter, index, dataPipeModel, isPC) {\n  return new Promise(function (resolve, reject) {\n    var _dataCenter$index = dataCenter[index],\n      domain = _dataCenter$index.domain,\n      userSourceType = _dataCenter$index.userSourceType,\n      value = _dataCenter$index.value,\n      enableDataCenterLoginPage = _dataCenter$index.enableDataCenterLoginPage;\n    var isHandleClick = _store__WEBPACK_IMPORTED_MODULE_43__[\"default\"].toggleDataCenter;\n    _store__WEBPACK_IMPORTED_MODULE_43__[\"default\"].setValue('toggleDataCenter', false);\n    if (value === accountId && userSourceType && enableDataCenterLoginPage !== true && domain !== undefined) {\n      return resolve(dataCenter[index]);\n    }\n    var currentLangKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_40__.CURRENT_LANG);\n    var language = _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.getItem(currentLangKey) || window.navigator.language.replace('-', '_');\n    _api_service_js__WEBPACK_IMPORTED_MODULE_44__.queryParameters({\n      accountId: accountId,\n      language: language\n    }).then(function (data) {\n      var errorMessage = data.errorMessage,\n        success = data.success,\n        hasLDAP = data.hasLDAP,\n        domain = data.domain,\n        userSourceType = data.userSourceType,\n        defaultUserSourceType = data.defaultUserSourceType,\n        closeEncrypt = data.closeEncrypt,\n        forbidRememberPwd = data.forbidRememberPwd,\n        _data$rsaPadding = data.rsaPadding,\n        rsaPadding = _data$rsaPadding === void 0 ? false : _data$rsaPadding,\n        enableDataCenterLoginPage = data.enableDataCenterLoginPage,\n        needSignPrivacy = data.needSignPrivacy,\n        needCustomDynamicCode = data.needCustomDynamicCode,\n        isAccountSession = data.isAccountSession,\n        cookieStatement = data.cookieStatement,\n        other = _objectWithoutProperties(data, _excluded);\n      if (!success) {\n        var error = {\n          message: errorMessage,\n          level: data.level || 1\n        };\n        dataPipeModel && dataPipeModel.sendData({\n          type: 'ShowNotification',\n          error: error\n        });\n        return resolve(dataCenter[index]);\n      }\n      if (enableDataCenterLoginPage === true && isHandleClick) {\n        var currentAccountIdKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_40__.CURRENT_ACCOUNDID);\n        _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.setItem(currentAccountIdKey, accountId);\n        /**\n         * 不同的数据中心有不同的配置，切换要实时生效，基础李俊建议，经吴晓锋与文桥确认，\n         * 暂时使用该种方式，页面会有闪烁，但用的人不多，影响不大\n        */\n        // window.location.reload()\n      }\n      Object.assign(dataCenter[index], _objectSpread({\n        userSourceType: JSON.parse(userSourceType),\n        defaultUserSourceType: defaultUserSourceType,\n        domain: domain,\n        hasLDAP: hasLDAP,\n        closeEncrypt: closeEncrypt,\n        rsaPadding: rsaPadding,\n        enableDataCenterLoginPage: enableDataCenterLoginPage,\n        needSignPrivacy: needSignPrivacy,\n        needCustomDynamicCode: needCustomDynamicCode,\n        isAccountSession: isAccountSession,\n        forbidRememberPwd: forbidRememberPwd\n      }, other));\n      if (cookieStatement) {\n        var configKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_40__.CONFIG);\n        var config = JSON.parse(_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.getItem(configKey)) || {};\n        config.cookieStatement = cookieStatement;\n        _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.setItem(configKey, JSON.stringify(config));\n        var acceptCookieDeclaration = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_40__.ACCEPT_COOKIE);\n        var allowCookie = _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.getItem(acceptCookieDeclaration);\n        if (!allowCookie) {\n          dataPipeModel === null || dataPipeModel === void 0 || dataPipeModel.sendData({\n            type: 'createCookieStatement'\n          });\n        }\n      }\n      dataPipeModel && dataPipeModel.sendData({\n        type: 'dataCenterChange'\n      });\n      isPC ? _store__WEBPACK_IMPORTED_MODULE_43__[\"default\"].setValue('dataCenter', dataCenter) : _store__WEBPACK_IMPORTED_MODULE_43__.mStore.setValue('dataCenter', dataCenter);\n      return resolve(dataCenter[index]);\n    });\n  })[\"catch\"](function (error) {\n    console.log(error);\n  });\n}\nvar convertLangData = function convertLangData(data) {\n  if (typeof data === 'string') data = JSON.parse(data);\n  if (!data || data.length === 0) return _mock_data__WEBPACK_IMPORTED_MODULE_42__.langList;\n  return data.map(function (item) {\n    return {\n      text: item.name,\n      value: item.number,\n      select: item[\"default\"]\n    };\n  });\n};\n\n/**\n * 获取当前显示的语言\n * 浏览器语言 > 默认语言 > 中文\n * @param {Array} langList 语言列表\n * @param {string} deaultLoginLang 语言取值：'1'是跟随浏览器语言，'2'是系统默认语言\n * @returns\n */\nvar getCurrentLang = function getCurrentLang(langList) {\n  var defaultLoginLang = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '2';\n  var currentLangKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_40__.CURRENT_LANG);\n  var currentLang = _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.getItem(currentLangKey) || window.navigator.language.replace('-', '_');\n  var isValidLang = currentLang && langList.some(function (item) {\n    return item.value === currentLang;\n  });\n  var defaultLang = langList.find(function (item) {\n    return item.select;\n  });\n  if (!currentLang || !isValidLang) {\n    currentLang = defaultLang ? defaultLang.value : langList[0].value;\n  }\n  if (defaultLang) {\n    var defaultLanguageKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_40__.DEFAULT_LANG);\n    _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.setItem(defaultLanguageKey, defaultLang.value);\n  }\n  return currentLang;\n};\nvar getParameterByName = function getParameterByName(name) {\n  var url = decodeURIComponent(window.location.href);\n  var regex = new RegExp(\"[?&]\".concat(name, \"(=([^#&]*)|&|#|$)\"));\n  var result = regex.exec(url);\n  if (!result || !result[2]) return null;\n  return result[2];\n};\nvar getCurrentAccountId = function getCurrentAccountId(dataCenter) {\n  var currentAccountIdKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.getNameWithCurrentEnvrionment)(_const__WEBPACK_IMPORTED_MODULE_40__.CURRENT_ACCOUNDID);\n  var accountId = getParameterByName('accountId');\n  var kdcdc = getParameterByName('kdcdc');\n  var currentAccountId = accountId || kdcdc || _util_toolUtils__WEBPACK_IMPORTED_MODULE_41__.myLocalStorage.getItem(currentAccountIdKey);\n  var isValidAccountId = currentAccountId && dataCenter.some(function (item) {\n    return item.accountId === currentAccountId || item.kdcdc === currentAccountId;\n  });\n  if ((!currentAccountId || !isValidAccountId) && dataCenter && dataCenter.length > 0) {\n    var defaultAccount = dataCenter.find(function (item) {\n      return item[\"default\"] || item.select;\n    });\n    currentAccountId = defaultAccount ? defaultAccount.accountId : dataCenter[0].accountId;\n  }\n  return currentAccountId;\n};\nvar getDefaultLoginType = function getDefaultLoginType(defaultUserSourceType) {\n  try {\n    var userSourceTypes = ['cloudHub', 'cloudHub', 'kingdeeCloud', '', 'face', 'voice', '', 'shortMessage'];\n    return userSourceTypes[defaultUserSourceType];\n  } catch (err) {\n    console.log(err);\n    return 'kingdeeClould';\n  }\n};\nvar getQueryString = function getQueryString(name) {\n  var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)');\n  var r = window.location.search.substr(1).match(reg);\n  if (r != null) return unescape(r[2]);\n  return null;\n};\n\n/**\n * 获取多语言数据的文本\n * @param {*} data 多语言数据 \"{\"zh_CN\": \"中文\", \"en_US\": \"english\", \"zh_TW\": \"繁體\"}\" || '自定义文本' || {zh_CN: \"中文\", en_US: \"english\", zh_TW: \"繁體\"}\n * @param {*} locale 当前语言\n * @param {*} defaultValue 默认值\n */\nvar getMultilinguaText = function getMultilinguaText() {\n  var initData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  var locale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'zh_CN';\n  var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n  try {\n    var data = jsonParse(initData);\n    if (typeof data === 'string') {\n      return data || defaultValue;\n    }\n    return (data === null || data === void 0 ? void 0 : data[locale]) || defaultValue;\n  } catch (err) {\n    console.log(err);\n    return defaultValue;\n  }\n};\nvar jsonParse = function jsonParse(data) {\n  try {\n    return JSON.parse(data);\n  } catch (err) {\n    // console.log(err)\n    return data;\n  }\n};\nvar blacklist = ['javascript', 'vbscript', 'script'];\nvar isScript = function isScript(url) {\n  return blacklist.some(function (value) {\n    value = value.toUpperCase();\n    url = url.toUpperCase();\n    if (url.indexOf(value) !== -1) {\n      return true;\n    }\n  });\n};\nvar getLicenseInfo = function getLicenseInfo(_ref2) {\n  var accountId = _ref2.accountId,\n    language = _ref2.language,\n    dataPipeModel = _ref2.dataPipeModel;\n  return new Promise(function (resolve, reject) {\n    if (!accountId || !language) return resolve([]);\n    var _store$licenseInfo = _store__WEBPACK_IMPORTED_MODULE_43__[\"default\"].licenseInfo,\n      oldAccountId = _store$licenseInfo.oldAccountId,\n      oldLanguage = _store$licenseInfo.oldLanguage,\n      data = _store$licenseInfo.data;\n    if (accountId === oldAccountId && language === oldLanguage) {\n      return resolve(data);\n    }\n    _store__WEBPACK_IMPORTED_MODULE_43__[\"default\"].setValue('licenseInfo', {\n      oldAccountId: accountId,\n      oldLanguage: language,\n      data: data\n    });\n    _api_service_js__WEBPACK_IMPORTED_MODULE_44__.validateLicense({\n      accountId: accountId,\n      language: language\n    }).then(function (data) {\n      if (data.error) {\n        var error = {\n          message: data.error,\n          level: 1\n        };\n        dataPipeModel && dataPipeModel.sendData({\n          type: 'ShowNotification',\n          error: error\n        });\n        return resolve([]);\n      } else {\n        _store__WEBPACK_IMPORTED_MODULE_43__[\"default\"].setValue('licenseInfo', {\n          oldAccountId: accountId,\n          oldLanguage: language,\n          data: data\n        });\n        return resolve(data);\n      }\n    })[\"catch\"](function (error) {\n      throw new Error('fetch data error:' + error);\n    });\n  });\n};\nvar resetStore = function resetStore(store) {\n  var resetArr = ['verifyCode', 'phoneCode', 'password'];\n  resetArr.forEach(function (item) {\n    store.setValue(item, '');\n  });\n};\nvar getKeyboard = function getKeyboard(isMajuscule) {\n  var num = '1234567890';\n  var str = 'qwertyuiopasdfghjklzxcvbnm';\n  str = isMajuscule ? str.toLocaleUpperCase() : str;\n  var numArr = num.split('');\n  numArr.sort(function () {\n    return 0.5 - Math.random();\n  });\n  var strArr = str.split('');\n  strArr.sort(function () {\n    return 0.5 - Math.random();\n  });\n  return [['~', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '-', '+', '=', 'del'], ['`'].concat(_toConsumableArray(numArr), ['_', ':', '{', '}', '|']), [].concat(_toConsumableArray(strArr.slice(0, 10)), ['?', '[', ']', '<', '>', '/']), ['shift'].concat(_toConsumableArray(strArr.slice(10, 21)), ['\\\\', 'enter']), [].concat(_toConsumableArray(strArr.slice(21, 26)), ['space', ';', '.', ',', '\"', \"'\"])];\n};\n\n//# sourceURL=webpack://kd-login/./src/util/dataUtil.js?");

/***/ }),

/***/ "./src/util/encrypt.js":
/*!*****************************!*\
  !*** ./src/util/encrypt.js ***!
  \*****************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   encrypt: function() { return /* binding */ encrypt; }\n/* harmony export */ });\n/* harmony import */ var node_rsa__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! node-rsa */ \"../../node_modules/node-rsa/src/NodeRSA.js\");\n/* harmony import */ var node_rsa__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(node_rsa__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction encrypt(publicKey, value, paddingType) {\n  var nodersa = new (node_rsa__WEBPACK_IMPORTED_MODULE_0___default())(\"-----BEGIN PUBLIC KEY-----\\n\".concat(publicKey, \"\\n-----END PUBLIC KEY-----\"));\n  var option = paddingType === 'oaep' ? {\n    encryptionScheme: 'pkcs1_oaep',\n    signingScheme: 'pss-sha1'\n  } : {\n    encryptionScheme: 'pkcs1'\n  };\n  nodersa.setOptions(option);\n  value = nodersa.encrypt(value, 'base64');\n  return value;\n}\n\n//# sourceURL=webpack://kd-login/./src/util/encrypt.js?");

/***/ }),

/***/ "./src/util/index.js":
/*!***************************!*\
  !*** ./src/util/index.js ***!
  \***************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   dataUtil: function() { return /* reexport safe */ _dataUtil__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; },\n/* harmony export */   getUid: function() { return /* reexport safe */ _uid__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */   validate: function() { return /* reexport safe */ _validate__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _dataUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dataUtil */ \"./src/util/dataUtil.js\");\n/* harmony import */ var _uid__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./uid */ \"./src/util/uid.js\");\n/* harmony import */ var _validate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./validate */ \"./src/util/validate.js\");\n\n\n\n\n//# sourceURL=webpack://kd-login/./src/util/index.js?");

/***/ }),

/***/ "./src/util/long.js":
/*!**************************!*\
  !*** ./src/util/long.js ***!
  \**************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("__webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n__webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.object.define-property.js */ \"../../node_modules/core-js/modules/es.object.define-property.js\");\n__webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n__webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n__webpack_require__(/*! core-js/modules/es.string.sub.js */ \"../../node_modules/core-js/modules/es.string.sub.js\");\nmodule.exports = Long;\n\n/**\n * wasm optimizations, to do native i64 multiplication and divide\n */\nvar wasm = null;\n/*\ntry {\n  wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([\n    0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11\n  ])), {}).exports;\n} catch (e) {\n  // no wasm support :(\n}\n*/\n/**\n * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers.\n *  See the from* functions below for more convenient ways of constructing Longs.\n * @exports Long\n * @class A Long class for representing a 64 bit two's-complement integer value.\n * @param {number} low The low (signed) 32 bits of the long\n * @param {number} high The high (signed) 32 bits of the long\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @constructor\n */\nfunction Long(low, high, unsigned) {\n  /**\n     * The low 32 bits as a signed value.\n     * @type {number}\n     */\n  this.low = low | 0;\n\n  /**\n     * The high 32 bits as a signed value.\n     * @type {number}\n     */\n  this.high = high | 0;\n\n  /**\n     * Whether unsigned or not.\n     * @type {boolean}\n     */\n  this.unsigned = !!unsigned;\n}\n\n// The internal representation of a long is the two given signed, 32-bit values.\n// We use 32-bit pieces because these are the size of integers on which\n// Javascript performs bit-operations.  For operations like addition and\n// multiplication, we split each number into 16 bit pieces, which can easily be\n// multiplied within Javascript's floating-point representation without overflow\n// or change in sign.\n//\n// In the algorithms below, we frequently reduce the negative case to the\n// positive case by negating the input(s) and then post-processing the result.\n// Note that we must ALWAYS check specially whether those values are MIN_VALUE\n// (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as\n// a positive number, it overflows back into a negative).  Not handling this\n// case would often result in infinite recursion.\n//\n// Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the from*\n// methods on which they depend.\n\n/**\n * An indicator used to reliably determine if an object is a Long or not.\n * @type {boolean}\n * @const\n * @private\n */\n// Long.prototype.__isLong__\n\nObject.defineProperty(Long.prototype, '__isLong__', {\n  value: true\n});\n\n/**\n * @function\n * @param {*} obj Object\n * @returns {boolean}\n * @inner\n */\nfunction isLong(obj) {\n  return (obj && obj.__isLong__) === true;\n}\n\n/**\n * Tests if the specified object is a Long.\n * @function\n * @param {*} obj Object\n * @returns {boolean}\n */\nLong.isLong = isLong;\n\n/**\n * A cache of the Long representations of small integer values.\n * @type {!Object}\n * @inner\n */\nvar INT_CACHE = {};\n\n/**\n * A cache of the Long representations of small unsigned integer values.\n * @type {!Object}\n * @inner\n */\nvar UINT_CACHE = {};\n\n/**\n * @param {number} value\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromInt(value, unsigned) {\n  var obj, cachedObj, cache;\n  if (unsigned) {\n    value >>>= 0;\n    if (cache = value >= 0 && value < 256) {\n      cachedObj = UINT_CACHE[value];\n      if (cachedObj) {\n        return cachedObj;\n      }\n    }\n    obj = fromBits(value, (value | 0) < 0 ? -1 : 0, true);\n    if (cache) {\n      UINT_CACHE[value] = obj;\n    }\n    return obj;\n  } else {\n    value |= 0;\n    if (cache = value >= -128 && value < 128) {\n      cachedObj = INT_CACHE[value];\n      if (cachedObj) {\n        return cachedObj;\n      }\n    }\n    obj = fromBits(value, value < 0 ? -1 : 0, false);\n    if (cache) {\n      INT_CACHE[value] = obj;\n    }\n    return obj;\n  }\n}\n\n/**\n * Returns a Long representing the given 32 bit integer value.\n * @function\n * @param {number} value The 32 bit integer in question\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long} The corresponding Long value\n */\nLong.fromInt = fromInt;\n\n/**\n * @param {number} value\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromNumber(value, unsigned) {\n  if (isNaN(value)) {\n    return unsigned ? UZERO : ZERO;\n  }\n  if (unsigned) {\n    if (value < 0) {\n      return UZERO;\n    }\n    if (value >= TWO_PWR_64_DBL) {\n      return MAX_UNSIGNED_VALUE;\n    }\n  } else {\n    if (value <= -TWO_PWR_63_DBL) {\n      return MIN_VALUE;\n    }\n    if (value + 1 >= TWO_PWR_63_DBL) {\n      return MAX_VALUE;\n    }\n  }\n  if (value < 0) {\n    return fromNumber(-value, unsigned).neg();\n  }\n  return fromBits(value % TWO_PWR_32_DBL | 0, value / TWO_PWR_32_DBL | 0, unsigned);\n}\n\n/**\n * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.\n * @function\n * @param {number} value The number in question\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long} The corresponding Long value\n */\nLong.fromNumber = fromNumber;\n\n/**\n * @param {number} lowBits\n * @param {number} highBits\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromBits(lowBits, highBits, unsigned) {\n  return new Long(lowBits, highBits, unsigned);\n}\n\n/**\n * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is\n *  assumed to use 32 bits.\n * @function\n * @param {number} lowBits The low 32 bits\n * @param {number} highBits The high 32 bits\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long} The corresponding Long value\n */\nLong.fromBits = fromBits;\n\n/**\n * @function\n * @param {number} base\n * @param {number} exponent\n * @returns {number}\n * @inner\n */\nvar pow_dbl = Math.pow; // Used 4 times (4*8 to 15+4)\n\n/**\n * @param {string} str\n * @param {(boolean|number)=} unsigned\n * @param {number=} radix\n * @returns {!Long}\n * @inner\n */\nfunction fromString(str, unsigned, radix) {\n  if (str.length === 0) {\n    throw Error('empty string');\n  }\n  if (str === 'NaN' || str === 'Infinity' || str === '+Infinity' || str === '-Infinity') {\n    return ZERO;\n  }\n  if (typeof unsigned === 'number') {\n    // For goog.math.long compatibility\n    radix = unsigned;\n    unsigned = false;\n  } else {\n    unsigned = !!unsigned;\n  }\n  radix = radix || 10;\n  if (radix < 2 || radix > 36) {\n    throw RangeError('radix');\n  }\n  var p;\n  if ((p = str.indexOf('-')) > 0) {\n    throw Error('interior hyphen');\n  } else if (p === 0) {\n    return fromString(str.substring(1), unsigned, radix).neg();\n  }\n\n  // Do several (8) digits each time through the loop, so as to\n  // minimize the calls to the very expensive emulated div.\n  var radixToPower = fromNumber(pow_dbl(radix, 8));\n  var result = ZERO;\n  for (var i = 0; i < str.length; i += 8) {\n    var size = Math.min(8, str.length - i);\n    var value = parseInt(str.substring(i, i + size), radix);\n    if (size < 8) {\n      var power = fromNumber(pow_dbl(radix, size));\n      result = result.mul(power).add(fromNumber(value));\n    } else {\n      result = result.mul(radixToPower);\n      result = result.add(fromNumber(value));\n    }\n  }\n  result.unsigned = unsigned;\n  return result;\n}\n\n/**\n * Returns a Long representation of the given string, written using the specified radix.\n * @function\n * @param {string} str The textual representation of the Long\n * @param {(boolean|number)=} unsigned Whether unsigned or not, defaults to signed\n * @param {number=} radix The radix in which the text is written (2-36), defaults to 10\n * @returns {!Long} The corresponding Long value\n */\nLong.fromString = fromString;\n\n/**\n * @function\n * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val\n * @param {boolean=} unsigned\n * @returns {!Long}\n * @inner\n */\nfunction fromValue(val, unsigned) {\n  if (typeof val === 'number') {\n    return fromNumber(val, unsigned);\n  }\n  if (typeof val === 'string') {\n    return fromString(val, unsigned);\n  }\n  // Throws for non-objects, converts non-instanceof Long:\n  return fromBits(val.low, val.high, typeof unsigned === 'boolean' ? unsigned : val.unsigned);\n}\n\n/**\n * Converts the specified value to a Long using the appropriate from* function for its type.\n * @function\n * @param {!Long|number|string|!{low: number, high: number, unsigned: boolean}} val Value\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {!Long}\n */\nLong.fromValue = fromValue;\n\n// NOTE: the compiler should inline these constant values below and then remove these variables, so there should be\n// no runtime penalty for these.\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_16_DBL = 1 << 16;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_24_DBL = 1 << 24;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_32_DBL = TWO_PWR_16_DBL * TWO_PWR_16_DBL;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_64_DBL = TWO_PWR_32_DBL * TWO_PWR_32_DBL;\n\n/**\n * @type {number}\n * @const\n * @inner\n */\nvar TWO_PWR_63_DBL = TWO_PWR_64_DBL / 2;\n\n/**\n * @type {!Long}\n * @const\n * @inner\n */\nvar TWO_PWR_24 = fromInt(TWO_PWR_24_DBL);\n\n/**\n * @type {!Long}\n * @inner\n */\nvar ZERO = fromInt(0);\n\n/**\n * Signed zero.\n * @type {!Long}\n */\nLong.ZERO = ZERO;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar UZERO = fromInt(0, true);\n\n/**\n * Unsigned zero.\n * @type {!Long}\n */\nLong.UZERO = UZERO;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar ONE = fromInt(1);\n\n/**\n * Signed one.\n * @type {!Long}\n */\nLong.ONE = ONE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar UONE = fromInt(1, true);\n\n/**\n * Unsigned one.\n * @type {!Long}\n */\nLong.UONE = UONE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar NEG_ONE = fromInt(-1);\n\n/**\n * Signed negative one.\n * @type {!Long}\n */\nLong.NEG_ONE = NEG_ONE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar MAX_VALUE = fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0, false);\n\n/**\n * Maximum signed value.\n * @type {!Long}\n */\nLong.MAX_VALUE = MAX_VALUE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar MAX_UNSIGNED_VALUE = fromBits(0xFFFFFFFF | 0, 0xFFFFFFFF | 0, true);\n\n/**\n * Maximum unsigned value.\n * @type {!Long}\n */\nLong.MAX_UNSIGNED_VALUE = MAX_UNSIGNED_VALUE;\n\n/**\n * @type {!Long}\n * @inner\n */\nvar MIN_VALUE = fromBits(0, 0x80000000 | 0, false);\n\n/**\n * Minimum signed value.\n * @type {!Long}\n */\nLong.MIN_VALUE = MIN_VALUE;\n\n/**\n * @alias Long.prototype\n * @inner\n */\nvar LongPrototype = Long.prototype;\n\n/**\n * Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.\n * @this {!Long}\n * @returns {number}\n */\nLongPrototype.toInt = function toInt() {\n  return this.unsigned ? this.low >>> 0 : this.low;\n};\n\n/**\n * Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).\n * @this {!Long}\n * @returns {number}\n */\nLongPrototype.toNumber = function toNumber() {\n  if (this.unsigned) {\n    return (this.high >>> 0) * TWO_PWR_32_DBL + (this.low >>> 0);\n  }\n  return this.high * TWO_PWR_32_DBL + (this.low >>> 0);\n};\n\n/**\n * Converts the Long to a string written in the specified radix.\n * @this {!Long}\n * @param {number=} radix Radix (2-36), defaults to 10\n * @returns {string}\n * @override\n * @throws {RangeError} If `radix` is out of range\n */\nLongPrototype.toString = function toString(radix) {\n  radix = radix || 10;\n  if (radix < 2 || radix > 36) {\n    throw RangeError('radix');\n  }\n  if (this.isZero()) {\n    return '0';\n  }\n  if (this.isNegative()) {\n    // Unsigned Longs are never negative\n    if (this.eq(MIN_VALUE)) {\n      // We need to change the Long value before it can be negated, so we remove\n      // the bottom-most digit in this base and then recurse to do the rest.\n      var radixLong = fromNumber(radix);\n      var div = this.div(radixLong);\n      var rem1 = div.mul(radixLong).sub(this);\n      return div.toString(radix) + rem1.toInt().toString(radix);\n    } else {\n      return '-' + this.neg().toString(radix);\n    }\n  }\n\n  // Do several (6) digits each time through the loop, so as to\n  // minimize the calls to the very expensive emulated div.\n  var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned);\n  var rem = this;\n  var result = '';\n  while (true) {\n    var remDiv = rem.div(radixToPower);\n    var intval = rem.sub(remDiv.mul(radixToPower)).toInt() >>> 0;\n    var digits = intval.toString(radix);\n    rem = remDiv;\n    if (rem.isZero()) {\n      return digits + result;\n    } else {\n      while (digits.length < 6) {\n        digits = '0' + digits;\n      }\n      result = '' + digits + result;\n    }\n  }\n};\n\n/**\n * Gets the high 32 bits as a signed integer.\n * @this {!Long}\n * @returns {number} Signed high bits\n */\nLongPrototype.getHighBits = function getHighBits() {\n  return this.high;\n};\n\n/**\n * Gets the high 32 bits as an unsigned integer.\n * @this {!Long}\n * @returns {number} Unsigned high bits\n */\nLongPrototype.getHighBitsUnsigned = function getHighBitsUnsigned() {\n  return this.high >>> 0;\n};\n\n/**\n * Gets the low 32 bits as a signed integer.\n * @this {!Long}\n * @returns {number} Signed low bits\n */\nLongPrototype.getLowBits = function getLowBits() {\n  return this.low;\n};\n\n/**\n * Gets the low 32 bits as an unsigned integer.\n * @this {!Long}\n * @returns {number} Unsigned low bits\n */\nLongPrototype.getLowBitsUnsigned = function getLowBitsUnsigned() {\n  return this.low >>> 0;\n};\n\n/**\n * Gets the number of bits needed to represent the absolute value of this Long.\n * @this {!Long}\n * @returns {number}\n */\nLongPrototype.getNumBitsAbs = function getNumBitsAbs() {\n  if (this.isNegative())\n    // Unsigned Longs are never negative\n    {\n      return this.eq(MIN_VALUE) ? 64 : this.neg().getNumBitsAbs();\n    }\n  var val = this.high != 0 ? this.high : this.low;\n  for (var bit = 31; bit > 0; bit--) {\n    if ((val & 1 << bit) != 0) {\n      break;\n    }\n  }\n  return this.high != 0 ? bit + 33 : bit + 1;\n};\n\n/**\n * Tests if this Long's value equals zero.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isZero = function isZero() {\n  return this.high === 0 && this.low === 0;\n};\n\n/**\n * Tests if this Long's value equals zero. This is an alias of {@link Long#isZero}.\n * @returns {boolean}\n */\nLongPrototype.eqz = LongPrototype.isZero;\n\n/**\n * Tests if this Long's value is negative.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isNegative = function isNegative() {\n  return !this.unsigned && this.high < 0;\n};\n\n/**\n * Tests if this Long's value is positive.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isPositive = function isPositive() {\n  return this.unsigned || this.high >= 0;\n};\n\n/**\n * Tests if this Long's value is odd.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isOdd = function isOdd() {\n  return (this.low & 1) === 1;\n};\n\n/**\n * Tests if this Long's value is even.\n * @this {!Long}\n * @returns {boolean}\n */\nLongPrototype.isEven = function isEven() {\n  return (this.low & 1) === 0;\n};\n\n/**\n * Tests if this Long's value equals the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.equals = function equals(other) {\n  if (!isLong(other)) {\n    other = fromValue(other);\n  }\n  if (this.unsigned !== other.unsigned && this.high >>> 31 === 1 && other.high >>> 31 === 1) {\n    return false;\n  }\n  return this.high === other.high && this.low === other.low;\n};\n\n/**\n * Tests if this Long's value equals the specified's. This is an alias of {@link Long#equals}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.eq = LongPrototype.equals;\n\n/**\n * Tests if this Long's value differs from the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.notEquals = function notEquals(other) {\n  return !this.eq( /* validates */other);\n};\n\n/**\n * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.neq = LongPrototype.notEquals;\n\n/**\n * Tests if this Long's value differs from the specified's. This is an alias of {@link Long#notEquals}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.ne = LongPrototype.notEquals;\n\n/**\n * Tests if this Long's value is less than the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lessThan = function lessThan(other) {\n  return this.comp( /* validates */other) < 0;\n};\n\n/**\n * Tests if this Long's value is less than the specified's. This is an alias of {@link Long#lessThan}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lt = LongPrototype.lessThan;\n\n/**\n * Tests if this Long's value is less than or equal the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lessThanOrEqual = function lessThanOrEqual(other) {\n  return this.comp( /* validates */other) <= 0;\n};\n\n/**\n * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.lte = LongPrototype.lessThanOrEqual;\n\n/**\n * Tests if this Long's value is less than or equal the specified's. This is an alias of {@link Long#lessThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.le = LongPrototype.lessThanOrEqual;\n\n/**\n * Tests if this Long's value is greater than the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.greaterThan = function greaterThan(other) {\n  return this.comp( /* validates */other) > 0;\n};\n\n/**\n * Tests if this Long's value is greater than the specified's. This is an alias of {@link Long#greaterThan}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.gt = LongPrototype.greaterThan;\n\n/**\n * Tests if this Long's value is greater than or equal the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.greaterThanOrEqual = function greaterThanOrEqual(other) {\n  return this.comp( /* validates */other) >= 0;\n};\n\n/**\n * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.gte = LongPrototype.greaterThanOrEqual;\n\n/**\n * Tests if this Long's value is greater than or equal the specified's. This is an alias of {@link Long#greaterThanOrEqual}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {boolean}\n */\nLongPrototype.ge = LongPrototype.greaterThanOrEqual;\n\n/**\n * Compares this Long's value with the specified's.\n * @this {!Long}\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n *  if the given one is greater\n */\nLongPrototype.compare = function compare(other) {\n  if (!isLong(other)) {\n    other = fromValue(other);\n  }\n  if (this.eq(other)) {\n    return 0;\n  }\n  var thisNeg = this.isNegative();\n  var otherNeg = other.isNegative();\n  if (thisNeg && !otherNeg) {\n    return -1;\n  }\n  if (!thisNeg && otherNeg) {\n    return 1;\n  }\n  // At this point the sign bits are the same\n  if (!this.unsigned) {\n    return this.sub(other).isNegative() ? -1 : 1;\n  }\n  // Both are positive if at least one is unsigned\n  return other.high >>> 0 > this.high >>> 0 || other.high === this.high && other.low >>> 0 > this.low >>> 0 ? -1 : 1;\n};\n\n/**\n * Compares this Long's value with the specified's. This is an alias of {@link Long#compare}.\n * @function\n * @param {!Long|number|string} other Other value\n * @returns {number} 0 if they are the same, 1 if the this is greater and -1\n *  if the given one is greater\n */\nLongPrototype.comp = LongPrototype.compare;\n\n/**\n * Negates this Long's value.\n * @this {!Long}\n * @returns {!Long} Negated Long\n */\nLongPrototype.negate = function negate() {\n  if (!this.unsigned && this.eq(MIN_VALUE)) {\n    return MIN_VALUE;\n  }\n  return this.not().add(ONE);\n};\n\n/**\n * Negates this Long's value. This is an alias of {@link Long#negate}.\n * @function\n * @returns {!Long} Negated Long\n */\nLongPrototype.neg = LongPrototype.negate;\n\n/**\n * Returns the sum of this and the specified Long.\n * @this {!Long}\n * @param {!Long|number|string} addend Addend\n * @returns {!Long} Sum\n */\nLongPrototype.add = function add(addend) {\n  if (!isLong(addend)) {\n    addend = fromValue(addend);\n  }\n\n  // Divide each number into 4 chunks of 16 bits, and then sum the chunks.\n\n  var a48 = this.high >>> 16;\n  var a32 = this.high & 0xFFFF;\n  var a16 = this.low >>> 16;\n  var a00 = this.low & 0xFFFF;\n  var b48 = addend.high >>> 16;\n  var b32 = addend.high & 0xFFFF;\n  var b16 = addend.low >>> 16;\n  var b00 = addend.low & 0xFFFF;\n  var c48 = 0;\n  var c32 = 0;\n  var c16 = 0;\n  var c00 = 0;\n  c00 += a00 + b00;\n  c16 += c00 >>> 16;\n  c00 &= 0xFFFF;\n  c16 += a16 + b16;\n  c32 += c16 >>> 16;\n  c16 &= 0xFFFF;\n  c32 += a32 + b32;\n  c48 += c32 >>> 16;\n  c32 &= 0xFFFF;\n  c48 += a48 + b48;\n  c48 &= 0xFFFF;\n  return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);\n};\n\n/**\n * Returns the difference of this and the specified Long.\n * @this {!Long}\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\nLongPrototype.subtract = function subtract(subtrahend) {\n  if (!isLong(subtrahend)) {\n    subtrahend = fromValue(subtrahend);\n  }\n  return this.add(subtrahend.neg());\n};\n\n/**\n * Returns the difference of this and the specified Long. This is an alias of {@link Long#subtract}.\n * @function\n * @param {!Long|number|string} subtrahend Subtrahend\n * @returns {!Long} Difference\n */\nLongPrototype.sub = LongPrototype.subtract;\n\n/**\n * Returns the product of this and the specified Long.\n * @this {!Long}\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\nLongPrototype.multiply = function multiply(multiplier) {\n  if (this.isZero()) {\n    return ZERO;\n  }\n  if (!isLong(multiplier)) {\n    multiplier = fromValue(multiplier);\n  }\n\n  // use wasm support if present\n  if (wasm) {\n    var low = wasm.mul(this.low, this.high, multiplier.low, multiplier.high);\n    return fromBits(low, wasm.get_high(), this.unsigned);\n  }\n  if (multiplier.isZero()) {\n    return ZERO;\n  }\n  if (this.eq(MIN_VALUE)) {\n    return multiplier.isOdd() ? MIN_VALUE : ZERO;\n  }\n  if (multiplier.eq(MIN_VALUE)) {\n    return this.isOdd() ? MIN_VALUE : ZERO;\n  }\n  if (this.isNegative()) {\n    if (multiplier.isNegative()) {\n      return this.neg().mul(multiplier.neg());\n    } else {\n      return this.neg().mul(multiplier).neg();\n    }\n  } else if (multiplier.isNegative()) {\n    return this.mul(multiplier.neg()).neg();\n  }\n\n  // If both longs are small, use float multiplication\n  if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24)) {\n    return fromNumber(this.toNumber() * multiplier.toNumber(), this.unsigned);\n  }\n\n  // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products.\n  // We can skip products that would overflow.\n\n  var a48 = this.high >>> 16;\n  var a32 = this.high & 0xFFFF;\n  var a16 = this.low >>> 16;\n  var a00 = this.low & 0xFFFF;\n  var b48 = multiplier.high >>> 16;\n  var b32 = multiplier.high & 0xFFFF;\n  var b16 = multiplier.low >>> 16;\n  var b00 = multiplier.low & 0xFFFF;\n  var c48 = 0;\n  var c32 = 0;\n  var c16 = 0;\n  var c00 = 0;\n  c00 += a00 * b00;\n  c16 += c00 >>> 16;\n  c00 &= 0xFFFF;\n  c16 += a16 * b00;\n  c32 += c16 >>> 16;\n  c16 &= 0xFFFF;\n  c16 += a00 * b16;\n  c32 += c16 >>> 16;\n  c16 &= 0xFFFF;\n  c32 += a32 * b00;\n  c48 += c32 >>> 16;\n  c32 &= 0xFFFF;\n  c32 += a16 * b16;\n  c48 += c32 >>> 16;\n  c32 &= 0xFFFF;\n  c32 += a00 * b32;\n  c48 += c32 >>> 16;\n  c32 &= 0xFFFF;\n  c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48;\n  c48 &= 0xFFFF;\n  return fromBits(c16 << 16 | c00, c48 << 16 | c32, this.unsigned);\n};\n\n/**\n * Returns the product of this and the specified Long. This is an alias of {@link Long#multiply}.\n * @function\n * @param {!Long|number|string} multiplier Multiplier\n * @returns {!Long} Product\n */\nLongPrototype.mul = LongPrototype.multiply;\n\n/**\n * Returns this Long divided by the specified. The result is signed if this Long is signed or\n *  unsigned if this Long is unsigned.\n * @this {!Long}\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\nLongPrototype.divide = function divide(divisor) {\n  if (!isLong(divisor)) {\n    divisor = fromValue(divisor);\n  }\n  if (divisor.isZero()) {\n    throw Error('division by zero');\n  }\n\n  // use wasm support if present\n  if (wasm) {\n    // guard against signed division overflow: the largest\n    // negative number / -1 would be 1 larger than the largest\n    // positive number, due to two's complement.\n    if (!this.unsigned && this.high === -0x80000000 && divisor.low === -1 && divisor.high === -1) {\n      // be consistent with non-wasm code path\n      return this;\n    }\n    var low = (this.unsigned ? wasm.div_u : wasm.div_s)(this.low, this.high, divisor.low, divisor.high);\n    return fromBits(low, wasm.get_high(), this.unsigned);\n  }\n  if (this.isZero()) {\n    return this.unsigned ? UZERO : ZERO;\n  }\n  var approx, rem, res;\n  if (!this.unsigned) {\n    // This section is only relevant for signed longs and is derived from the\n    // closure library as a whole.\n    if (this.eq(MIN_VALUE)) {\n      if (divisor.eq(ONE) || divisor.eq(NEG_ONE)) {\n        return MIN_VALUE;\n      } // recall that -MIN_VALUE == MIN_VALUE\n      else if (divisor.eq(MIN_VALUE)) {\n        return ONE;\n      } else {\n        // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|.\n        var halfThis = this.shr(1);\n        approx = halfThis.div(divisor).shl(1);\n        if (approx.eq(ZERO)) {\n          return divisor.isNegative() ? ONE : NEG_ONE;\n        } else {\n          rem = this.sub(divisor.mul(approx));\n          res = approx.add(rem.div(divisor));\n          return res;\n        }\n      }\n    } else if (divisor.eq(MIN_VALUE)) {\n      return this.unsigned ? UZERO : ZERO;\n    }\n    if (this.isNegative()) {\n      if (divisor.isNegative()) {\n        return this.neg().div(divisor.neg());\n      }\n      return this.neg().div(divisor).neg();\n    } else if (divisor.isNegative()) {\n      return this.div(divisor.neg()).neg();\n    }\n    res = ZERO;\n  } else {\n    // The algorithm below has not been made for unsigned longs. It's therefore\n    // required to take special care of the MSB prior to running it.\n    if (!divisor.unsigned) {\n      divisor = divisor.toUnsigned();\n    }\n    if (divisor.gt(this)) {\n      return UZERO;\n    }\n    if (divisor.gt(this.shru(1)))\n      // 15 >>> 1 = 7 ; with divisor = 8 ; true\n      {\n        return UONE;\n      }\n    res = UZERO;\n  }\n\n  // Repeat the following until the remainder is less than other:  find a\n  // floating-point that approximates remainder / other *from below*, add this\n  // into the result, and subtract it from the remainder.  It is critical that\n  // the approximate value is less than or equal to the real value so that the\n  // remainder never becomes negative.\n  rem = this;\n  while (rem.gte(divisor)) {\n    // Approximate the result of division. This may be a little greater or\n    // smaller than the actual value.\n    approx = Math.max(1, Math.floor(rem.toNumber() / divisor.toNumber()));\n\n    // We will tweak the approximate result by changing it in the 48-th digit or\n    // the smallest non-fractional digit, whichever is larger.\n    var log2 = Math.ceil(Math.log(approx) / Math.LN2);\n    var delta = log2 <= 48 ? 1 : pow_dbl(2, log2 - 48);\n\n    // Decrease the approximation until it is smaller than the remainder.  Note\n    // that if it is too large, the product overflows and is negative.\n\n    var approxRes = fromNumber(approx);\n    var approxRem = approxRes.mul(divisor);\n    while (approxRem.isNegative() || approxRem.gt(rem)) {\n      approx -= delta;\n      approxRes = fromNumber(approx, this.unsigned);\n      approxRem = approxRes.mul(divisor);\n    }\n\n    // We know the answer can't be zero... and actually, zero would cause\n    // infinite recursion since we would make no progress.\n    if (approxRes.isZero()) {\n      approxRes = ONE;\n    }\n    res = res.add(approxRes);\n    rem = rem.sub(approxRem);\n  }\n  return res;\n};\n\n/**\n * Returns this Long divided by the specified. This is an alias of {@link Long#divide}.\n * @function\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Quotient\n */\nLongPrototype.div = LongPrototype.divide;\n\n/**\n * Returns this Long modulo the specified.\n * @this {!Long}\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Remainder\n */\nLongPrototype.modulo = function modulo(divisor) {\n  if (!isLong(divisor)) {\n    divisor = fromValue(divisor);\n  }\n\n  // use wasm support if present\n  if (wasm) {\n    var low = (this.unsigned ? wasm.rem_u : wasm.rem_s)(this.low, this.high, divisor.low, divisor.high);\n    return fromBits(low, wasm.get_high(), this.unsigned);\n  }\n  return this.sub(this.div(divisor).mul(divisor));\n};\n\n/**\n * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.\n * @function\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Remainder\n */\nLongPrototype.mod = LongPrototype.modulo;\n\n/**\n * Returns this Long modulo the specified. This is an alias of {@link Long#modulo}.\n * @function\n * @param {!Long|number|string} divisor Divisor\n * @returns {!Long} Remainder\n */\nLongPrototype.rem = LongPrototype.modulo;\n\n/**\n * Returns the bitwise NOT of this Long.\n * @this {!Long}\n * @returns {!Long}\n */\nLongPrototype.not = function not() {\n  return fromBits(~this.low, ~this.high, this.unsigned);\n};\n\n/**\n * Returns the bitwise AND of this Long and the specified.\n * @this {!Long}\n * @param {!Long|number|string} other Other Long\n * @returns {!Long}\n */\nLongPrototype.and = function and(other) {\n  if (!isLong(other)) {\n    other = fromValue(other);\n  }\n  return fromBits(this.low & other.low, this.high & other.high, this.unsigned);\n};\n\n/**\n * Returns the bitwise OR of this Long and the specified.\n * @this {!Long}\n * @param {!Long|number|string} other Other Long\n * @returns {!Long}\n */\nLongPrototype.or = function or(other) {\n  if (!isLong(other)) {\n    other = fromValue(other);\n  }\n  return fromBits(this.low | other.low, this.high | other.high, this.unsigned);\n};\n\n/**\n * Returns the bitwise XOR of this Long and the given one.\n * @this {!Long}\n * @param {!Long|number|string} other Other Long\n * @returns {!Long}\n */\nLongPrototype.xor = function xor(other) {\n  if (!isLong(other)) {\n    other = fromValue(other);\n  }\n  return fromBits(this.low ^ other.low, this.high ^ other.high, this.unsigned);\n};\n\n/**\n * Returns this Long with bits shifted to the left by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shiftLeft = function shiftLeft(numBits) {\n  if (isLong(numBits)) {\n    numBits = numBits.toInt();\n  }\n  if ((numBits &= 63) === 0) {\n    return this;\n  } else if (numBits < 32) {\n    return fromBits(this.low << numBits, this.high << numBits | this.low >>> 32 - numBits, this.unsigned);\n  } else {\n    return fromBits(0, this.low << numBits - 32, this.unsigned);\n  }\n};\n\n/**\n * Returns this Long with bits shifted to the left by the given amount. This is an alias of {@link Long#shiftLeft}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shl = LongPrototype.shiftLeft;\n\n/**\n * Returns this Long with bits arithmetically shifted to the right by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shiftRight = function shiftRight(numBits) {\n  if (isLong(numBits)) {\n    numBits = numBits.toInt();\n  }\n  if ((numBits &= 63) === 0) {\n    return this;\n  } else if (numBits < 32) {\n    return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >> numBits, this.unsigned);\n  } else {\n    return fromBits(this.high >> numBits - 32, this.high >= 0 ? 0 : -1, this.unsigned);\n  }\n};\n\n/**\n * Returns this Long with bits arithmetically shifted to the right by the given amount. This is an alias of {@link Long#shiftRight}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shr = LongPrototype.shiftRight;\n\n/**\n * Returns this Long with bits logically shifted to the right by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shiftRightUnsigned = function shiftRightUnsigned(numBits) {\n  if (isLong(numBits)) numBits = numBits.toInt();\n  if ((numBits &= 63) === 0) return this;\n  if (numBits < 32) return fromBits(this.low >>> numBits | this.high << 32 - numBits, this.high >>> numBits, this.unsigned);\n  if (numBits === 32) return fromBits(this.high, 0, this.unsigned);\n  return fromBits(this.high >>> numBits - 32, 0, this.unsigned);\n};\n\n/**\n * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shru = LongPrototype.shiftRightUnsigned;\n\n/**\n * Returns this Long with bits logically shifted to the right by the given amount. This is an alias of {@link Long#shiftRightUnsigned}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Shifted Long\n */\nLongPrototype.shr_u = LongPrototype.shiftRightUnsigned;\n\n/**\n * Returns this Long with bits rotated to the left by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotateLeft = function rotateLeft(numBits) {\n  var b;\n  if (isLong(numBits)) numBits = numBits.toInt();\n  if ((numBits &= 63) === 0) return this;\n  if (numBits === 32) return fromBits(this.high, this.low, this.unsigned);\n  if (numBits < 32) {\n    b = 32 - numBits;\n    return fromBits(this.low << numBits | this.high >>> b, this.high << numBits | this.low >>> b, this.unsigned);\n  }\n  numBits -= 32;\n  b = 32 - numBits;\n  return fromBits(this.high << numBits | this.low >>> b, this.low << numBits | this.high >>> b, this.unsigned);\n};\n/**\n * Returns this Long with bits rotated to the left by the given amount. This is an alias of {@link Long#rotateLeft}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotl = LongPrototype.rotateLeft;\n\n/**\n * Returns this Long with bits rotated to the right by the given amount.\n * @this {!Long}\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotateRight = function rotateRight(numBits) {\n  var b;\n  if (isLong(numBits)) numBits = numBits.toInt();\n  if ((numBits &= 63) === 0) return this;\n  if (numBits === 32) return fromBits(this.high, this.low, this.unsigned);\n  if (numBits < 32) {\n    b = 32 - numBits;\n    return fromBits(this.high << b | this.low >>> numBits, this.low << b | this.high >>> numBits, this.unsigned);\n  }\n  numBits -= 32;\n  b = 32 - numBits;\n  return fromBits(this.low << b | this.high >>> numBits, this.high << b | this.low >>> numBits, this.unsigned);\n};\n/**\n * Returns this Long with bits rotated to the right by the given amount. This is an alias of {@link Long#rotateRight}.\n * @function\n * @param {number|!Long} numBits Number of bits\n * @returns {!Long} Rotated Long\n */\nLongPrototype.rotr = LongPrototype.rotateRight;\n\n/**\n * Converts this Long to signed.\n * @this {!Long}\n * @returns {!Long} Signed long\n */\nLongPrototype.toSigned = function toSigned() {\n  if (!this.unsigned) {\n    return this;\n  }\n  return fromBits(this.low, this.high, false);\n};\n\n/**\n * Converts this Long to unsigned.\n * @this {!Long}\n * @returns {!Long} Unsigned long\n */\nLongPrototype.toUnsigned = function toUnsigned() {\n  if (this.unsigned) {\n    return this;\n  }\n  return fromBits(this.low, this.high, true);\n};\n\n/**\n * Converts this Long to its byte representation.\n * @param {boolean=} le Whether little or big endian, defaults to big endian\n * @this {!Long}\n * @returns {!Array.<number>} Byte representation\n */\nLongPrototype.toBytes = function toBytes(le) {\n  return le ? this.toBytesLE() : this.toBytesBE();\n};\n\n/**\n * Converts this Long to its little endian byte representation.\n * @this {!Long}\n * @returns {!Array.<number>} Little endian byte representation\n */\nLongPrototype.toBytesLE = function toBytesLE() {\n  var hi = this.high;\n  var lo = this.low;\n  return [lo & 0xff, lo >>> 8 & 0xff, lo >>> 16 & 0xff, lo >>> 24, hi & 0xff, hi >>> 8 & 0xff, hi >>> 16 & 0xff, hi >>> 24];\n};\n\n/**\n * Converts this Long to its big endian byte representation.\n * @this {!Long}\n * @returns {!Array.<number>} Big endian byte representation\n */\nLongPrototype.toBytesBE = function toBytesBE() {\n  var hi = this.high;\n  var lo = this.low;\n  return [hi >>> 24, hi >>> 16 & 0xff, hi >>> 8 & 0xff, hi & 0xff, lo >>> 24, lo >>> 16 & 0xff, lo >>> 8 & 0xff, lo & 0xff];\n};\n\n/**\n * Creates a Long from its byte representation.\n * @param {!Array.<number>} bytes Byte representation\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @param {boolean=} le Whether little or big endian, defaults to big endian\n * @returns {Long} The corresponding Long value\n */\nLong.fromBytes = function fromBytes(bytes, unsigned, le) {\n  return le ? Long.fromBytesLE(bytes, unsigned) : Long.fromBytesBE(bytes, unsigned);\n};\n\n/**\n * Creates a Long from its little endian byte representation.\n * @param {!Array.<number>} bytes Little endian byte representation\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {Long} The corresponding Long value\n */\nLong.fromBytesLE = function fromBytesLE(bytes, unsigned) {\n  return new Long(bytes[0] | bytes[1] << 8 | bytes[2] << 16 | bytes[3] << 24, bytes[4] | bytes[5] << 8 | bytes[6] << 16 | bytes[7] << 24, unsigned);\n};\n\n/**\n * Creates a Long from its big endian byte representation.\n * @param {!Array.<number>} bytes Big endian byte representation\n * @param {boolean=} unsigned Whether unsigned or not, defaults to signed\n * @returns {Long} The corresponding Long value\n */\nLong.fromBytesBE = function fromBytesBE(bytes, unsigned) {\n  return new Long(bytes[4] << 24 | bytes[5] << 16 | bytes[6] << 8 | bytes[7], bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], unsigned);\n};\n\n//# sourceURL=webpack://kd-login/./src/util/long.js?");

/***/ }),

/***/ "./src/util/telephoneUtils.js":
/*!************************************!*\
  !*** ./src/util/telephoneUtils.js ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   filterTelephone: function() { return /* binding */ filterTelephone; },\n/* harmony export */   getCurrentCountry: function() { return /* binding */ getCurrentCountry; },\n/* harmony export */   getEnableData: function() { return /* binding */ getEnableData; },\n/* harmony export */   getKeyCode: function() { return /* binding */ getKeyCode; },\n/* harmony export */   getPanelScreenByTrigger: function() { return /* binding */ getPanelScreenByTrigger; },\n/* harmony export */   getValue: function() { return /* binding */ getValue; },\n/* harmony export */   getViaFromValue: function() { return /* binding */ getViaFromValue; },\n/* harmony export */   isLegal: function() { return /* binding */ isLegal; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ \"../../node_modules/core-js/modules/es.array.filter.js\");\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ \"../../node_modules/core-js/modules/es.function.name.js\");\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ \"../../node_modules/core-js/modules/es.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ \"../../node_modules/core-js/modules/es.string.starts-with.js\");\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_13__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * 手机号码搜索时筛选过滤\n * @param {*} item\n * @param {*} searchWord\n */\nvar isLegal = function isLegal(item, searchWord) {\n  var name = item.name,\n    id = item.id,\n    jp = item.jp,\n    qp = item.qp,\n    code2 = item.code2;\n  var matchStr = \"\".concat(name).concat(id).concat(jp).concat(qp).concat(code2);\n  return matchStr.replace(/undefined|null| /g, '').indexOf(searchWord) > -1;\n};\nfunction getKeyCode(e) {\n  e = e || window.event;\n  return e.keyCode || e.which;\n}\n\n/**\n * 手机号码搜索时获取过滤后的数据\n * @param {*} searchWord\n * @param {*} viaList\n */\nvar getEnableData = function getEnableData(searchWord) {\n  var viaList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  if (searchWord) {\n    return viaList.filter(function (item) {\n      return isLegal(item, searchWord);\n    });\n  }\n  return viaList;\n};\n\n/**\n * 从value（例如：+86-17299999999或者+8617299999999）中获取国家地区的区号（+86）\n * @param {boolean} isIndistinc 带'-'或者不带'-'\n*/\nvar getViaFromValue = function getViaFromValue(value) {\n  var viaList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var isIndistinc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n  var current = viaList.find(function (item) {\n    if (item.id) {\n      var splitStr = !isIndistinc ? '-' : '';\n      return value.startsWith(\"\".concat(item.id).concat(splitStr));\n    } else {\n      return false;\n    }\n  });\n  if (!current) {\n    current = {\n      id: '+86'\n    };\n  }\n  return current;\n};\n\n// 获取面板相对屏幕的位置（）  panel - 面板 trigger - 触发器\nfunction getPanelScreenByTrigger(_ref) {\n  var _panel$style;\n  var panel = _ref.panel,\n    trigger = _ref.trigger,\n    defaultAlign = _ref.defaultAlign,\n    panelAlign = _ref.panelAlign;\n  if (!panel || !trigger) return {};\n  // 触发器相对于浏览器的位置\n  var triggerScreen = trigger.getBoundingClientRect();\n  // 触发器下方剩余高度\n  var bottomHeight = window.innerHeight - triggerScreen.top - trigger.offsetHeight;\n  // 触发器上方剩余高度\n  var topHeight = triggerScreen.top;\n  var topDisplayedAbove = triggerScreen.top - panel.offsetHeight; // 显示在触发器上方时的top\n  var topDisplayedBelow = triggerScreen.top + trigger.offsetHeight; // 显示在触发器下方时的top\n\n  panel === null || panel === void 0 || (_panel$style = panel.style) === null || _panel$style === void 0 || _panel$style.removeProperty('max-height');\n  if (panelAlign === 'bottom') {\n    // 面板固定显示在触发器下方\n    var _top = 0;\n    var _left = triggerScreen.left;\n    var winHeight = window.innerHeight;\n    var panelHeight = panel.offsetHeight;\n    // panel高度<触发器下方剩余高度，panel位于触发器下放\n    // 触发器下方剩余高度<panel高度<浏览器可视区域高度，panel覆盖在触发器上，bottom为0\n    // 浏览器可视区域高度<panel高度，panel覆盖在触发器上，出现滚动条\n    if (panelHeight < bottomHeight) {\n      _top = topDisplayedBelow;\n    } else if (bottomHeight < panelHeight && panelHeight < winHeight) {\n      _top = winHeight - panelHeight - 8; // 减去8是下拉面板panel中margin-top为6，为了漏出下边框\n    } else {\n      panel.style.maxHeight = winHeight - 8 + 'px'; // 减去8是下拉面板panel中margin-top为6，为了漏出下边框\n    }\n    var _realHeight = winHeight;\n    return {\n      top: _top,\n      left: _left,\n      realHeight: _realHeight\n    };\n  } else if (panelAlign === 'topOrBottom') {\n    // 面板显示在触发器上方或下方\n    var _realHeight2 = window.innerHeight;\n    var _left2 = triggerScreen.left;\n    var _top2 = topDisplayedBelow;\n    var needMaxHeight = false;\n    var _panelHeight = panel.offsetHeight;\n    // panel高度<触发器下方剩余高度，panel位于触发器下方\n    // 触发器下方剩余高度<panel高度, 比较上下高度，panel向高度更高一侧展开\n    if (_panelHeight > bottomHeight) {\n      _top2 = bottomHeight >= topHeight ? topDisplayedBelow : Math.max(topDisplayedAbove, 0);\n      needMaxHeight = bottomHeight >= topHeight || topHeight > bottomHeight && _panelHeight > topHeight;\n    }\n    if (needMaxHeight) {\n      panel.style.maxHeight = (bottomHeight >= topHeight ? bottomHeight - 4 : topHeight) + 'px'; // 减去4是下拉面板panel中margin-top为2，为了漏出下边框\n    }\n    // 面板右侧被遮挡\n    if (window.innerWidth - _left2 < panel.offsetWidth) {\n      _left2 = triggerScreen.right - panel.offsetWidth;\n    }\n    return {\n      top: _top2,\n      left: _left2,\n      realHeight: _realHeight2\n    };\n  }\n\n  // 默认优先显示在触发器的下方\n  var top = bottomHeight >= panel.offsetHeight\n  //  || bottomHeight > topHeight (这里还要考虑上方空间不够的场景，上方、下方空间都不够就设置top 为0)\n  ? topDisplayedBelow // 显示在触发器下方\n  : panel.offsetHeight > topHeight ? 0 : topDisplayedAbove; // 显示在触发器上方 （考虑上方不够位的情况）\n  defaultAlign = defaultAlign || {};\n  if (defaultAlign.top) {\n    // 优先显示在触发器的上方\n    top = topHeight >= panel.offsetHeight\n    //  || topHeight > bottomHeight (这里还要考虑下方空间不够的场景，上方、下方空间都不够就设置为刚好到底部)\n    ? topDisplayedAbove // 显示在触发器上方\n    : panel.offsetHeight > bottomHeight ? window.innerHeight - panel.offsetHeight : topDisplayedBelow; // 显示在触发器下方（考虑下方不够位的情况）\n  }\n\n  // 浏览器右侧剩余宽度\n  var rightWidth = window.innerWidth - triggerScreen.left - trigger.offsetWidth;\n  // 浏览器左侧剩余宽度\n  var leftWidth = triggerScreen.left;\n  var isTriggerBeHiddenInVertical = panel.offsetHeight > Math.max(bottomHeight, topHeight); // 触发器垂直方向是否被遮挡\n  var leftValueDisplayedInRight = triggerScreen.left; // 显示在触发器右边时的left值\n  if (isTriggerBeHiddenInVertical) {\n    leftValueDisplayedInRight += trigger.offsetWidth; // 考虑是否触发器已被遮挡，被遮挡需再向右偏移一个offsetWidth\n  }\n  var leftValueDisplayedInLeft = triggerScreen.left + trigger.offsetWidth - panel.offsetWidth; // 显示在触发器左边时的left值\n  if (isTriggerBeHiddenInVertical) {\n    leftValueDisplayedInLeft -= trigger.offsetWidth; // 考虑是否触发器已被遮挡，被遮挡需再向左偏移一个offsetWidth\n  }\n\n  // 默认优先靠左显示 - 这里需要考虑是否垂直方向已被遮挡,上下位置都不够空间\n  var left = rightWidth + (isTriggerBeHiddenInVertical ? 0 : trigger.offsetWidth) >= panel.offsetWidth\n  //  || rightWidth > leftWidth (这里还要考虑左边空间不够的场景，左边、右边空间都不够就设置left为0)\n  ? leftValueDisplayedInRight // 靠右显示\n  : panel.offsetWidth > leftWidth + trigger.offsetWidth ? 0 : leftValueDisplayedInLeft; // 靠左显示（需考虑左边空间不够位的情况）\n  if (defaultAlign.right) {\n    // 优先靠右显示\n    left = leftWidth + (isTriggerBeHiddenInVertical ? 0 : trigger.offsetWidth) > panel.offsetWidth\n    //  || leftWidth > rightWidth (这里还要考虑右边空间不够的场景，左边、右边空间都不够就设置刚好右边顶右边)\n    ? leftValueDisplayedInLeft // 靠左显示\n    : panel.offsetWidth > rightWidth + trigger.offsetWidth ? window.innerWidth - panel.offsetWidth : leftValueDisplayedInRight; // 靠右显示（需考虑右边空间不够位的情况）\n  }\n\n  // 增加左右显示的标识\n  if (rightWidth >= panel.offsetWidth) {\n    panel.classList.add('j-left');\n  } else {\n    panel.classList.add('j-right');\n  }\n  var realHeight = bottomHeight > topHeight ? bottomHeight : topHeight;\n  // // 空间不足且显示在上方，top设0避免溢出 这里上面的逻辑已处理\n  // if (panel.offsetHeight > realHeight && topHeight > bottomHeight) {\n  //   top = 0\n  // }\n  return {\n    top: top,\n    left: left,\n    realHeight: realHeight\n  };\n}\nvar getCurrentCountry = function getCurrentCountry() {\n  var codeList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n  var id = arguments.length > 1 ? arguments[1] : undefined;\n  // 获取手机默认国际区号\n  var defaultCountryCode = {\n    id: '+86'\n  };\n  if (!codeList) return defaultCountryCode;\n  // 找到对应 id\n  var isIncludePlusSign = function isIncludePlusSign(id) {\n    return id && id.includes('+');\n  };\n  var currentCountry = codeList.filter(function (_ref2) {\n    var defaultId = _ref2.id;\n    defaultId = isIncludePlusSign(defaultId) ? defaultId.substring(1) : defaultId;\n    id = isIncludePlusSign(id) ? id.substring(1) : id;\n    return defaultId && id === defaultId;\n  });\n  if (currentCountry.length > 0) {\n    return currentCountry[0];\n  }\n  currentCountry = codeList.find(function (item) {\n    return item.id === '86';\n  });\n  if (!currentCountry) currentCountry = codeList.find(function (item) {\n    return item.id === '+86';\n  });\n  if (currentCountry) return currentCountry;\n\n  // 第一个 id 存在的或者是默认值\n  return defaultCountryCode;\n};\nvar getValue = function getValue(value, currentCountry, codeList) {\n  if (!value) return value;\n  var reg = null;\n  // 先按照+86-的格式去找，不兼容没有用-隔开区号和手机号的数据\n  var viaId = currentCountry === null || currentCountry === void 0 ? void 0 : currentCountry.id;\n  if (!viaId) {\n    var via = getViaFromValue(value, codeList, true);\n    viaId = via.id;\n    reg = new RegExp(viaId.replace('+', '\\\\$&'));\n  } else {\n    if (value.includes('+') && !viaId.includes('+')) {\n      viaId = \"+\".concat(viaId);\n    } else if (!value.includes('+') && viaId.includes('+')) {\n      viaId = viaId.substring(1);\n    }\n    reg = new RegExp(viaId.replace('+', '\\\\$&') + '\\\\-');\n  }\n  return value.replace(reg, '');\n};\nvar filterTelephone = function filterTelephone(value) {\n  var id = value && value.split('-').length === 2 && value.split('-')[0];\n  if (id === '86') {\n    return value.split('-')[1];\n  }\n  if (id && id.includes('+')) {\n    if (id === '+86') {\n      return value.split('-')[1];\n    } else {\n      return value.slice(1);\n    }\n  }\n  return value;\n};\n\n//# sourceURL=webpack://kd-login/./src/util/telephoneUtils.js?");

/***/ }),

/***/ "./src/util/thirdpartyUtil.js":
/*!************************************!*\
  !*** ./src/util/thirdpartyUtil.js ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   initThirdparty: function() { return /* binding */ initThirdparty; },\n/* harmony export */   isFreeLogin: function() { return /* binding */ isFreeLogin; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ \"../../node_modules/core-js/modules/es.string.match.js\");\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _toolUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./toolUtils */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _util_clientEnv__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/util/clientEnv */ \"./src/util/clientEnv.js\");\n\n\n\n\n\n\n\n\n\n\n// 是否免登\nfunction isFreeLogin() {\n  try {\n    var appType = (0,_toolUtils__WEBPACK_IMPORTED_MODULE_7__.getRedirectQueryString)('apptype');\n    // 钉钉 或 welink\n    if (appType === 'dd') return true;\n    if (appType === 'wl' && _util_clientEnv__WEBPACK_IMPORTED_MODULE_8__[\"default\"].isWelink) return true;\n    return false;\n  } catch (error) {\n    console.log(error);\n    return false;\n  }\n}\nfunction initThirdparty() {\n  var appType = (0,_toolUtils__WEBPACK_IMPORTED_MODULE_7__.getRedirectQueryString)('apptype');\n  switch (appType) {\n    case 'dd':\n      initDD();\n      break;\n    case 'wl':\n      initWL();\n      break;\n    default:\n      break;\n  }\n}\nfunction initDD() {\n  var script = document.createElement('script');\n  script.type = 'text/javascript';\n  script.src = '//g.alicdn.com/dingding/dingtalk-jsapi/2.6.41/dingtalk.open.js';\n  var head = document.getElementsByTagName('head')[0];\n  head.appendChild(script);\n  script.onload = function () {\n    window.dd.ready(function () {\n      // 钉钉 corpid\n      var corpId = (0,_toolUtils__WEBPACK_IMPORTED_MODULE_7__.getRedirectQueryString)('corpid');\n      window.dd.runtime.permission.requestAuthCode({\n        corpId: corpId,\n        // 企业id\n        onSuccess: function onSuccess(_ref) {\n          var code = _ref.code;\n          // 通过该免登授权码可以获取用户身份\n          // const hash = window.location.hash\n          // 获取回调url 解码 redirect\n          var redirect = (0,_toolUtils__WEBPACK_IMPORTED_MODULE_7__.getQueryString)('redirect');\n          if (redirect) {\n            redirect = decodeURIComponent(redirect);\n            if (isAuthorizationCodeError(redirect)) return;\n            var hasCode = redirect.indexOf('&code=') > -1;\n            if (hasCode) {\n              redirect = redirect.replace(/&code=/g, '&errorCode=');\n            }\n            // 考虑 hash 的情况\n            var hash = window.location.hash;\n            if (hash) {\n              // const [url, hash] = redirect.split('#')\n              redirect = \"\".concat(redirect).concat(redirect.includes('?') ? '&' : '?', \"code=\").concat(code).concat(hash);\n            } else {\n              redirect = \"\".concat(redirect).concat(redirect.includes('?') ? '&' : '?', \"code=\").concat(code);\n            }\n            // 免登之后的跳转url\n            window.location.href = redirect;\n          }\n        },\n        onFail: function onFail(err) {\n          var redirect = (0,_toolUtils__WEBPACK_IMPORTED_MODULE_7__.getQueryString)('redirect');\n          showError(redirect, JSON.stringify(err));\n        }\n      });\n    });\n  };\n}\nfunction initWL() {\n  var script = document.createElement('script');\n  script.type = 'text/javascript';\n  script.src = 'https://open-doc.welink.huaweicloud.com/docs/jsapi/2.0.2/hwh5-cloudonline.js';\n  var head = document.getElementsByTagName('head')[0];\n  head.appendChild(script);\n  script.onload = function () {\n    window.HWH5.getAuthCode().then(function (data) {\n      var code = data.code; // 用于免登的code\n      console.log('code:', code);\n      var redirect = (0,_toolUtils__WEBPACK_IMPORTED_MODULE_7__.getQueryString)('redirect');\n      if (isAuthorizationCodeError(redirect)) return;\n      if (redirect) {\n        redirect = decodeURIComponent(redirect);\n        var hasCode = redirect.indexOf('&code=') > -1;\n        if (hasCode) {\n          // code有时候会验证失败，需要多次获取，直到浏览器报431\n          redirect = redirect.replace(/&code=/g, '&errorCode=');\n        }\n        // 考虑 hash 的情况\n        var hash = window.location.hash;\n        if (hash) {\n          redirect = \"\".concat(redirect).concat(redirect.includes('?') ? '&' : '?', \"code=\").concat(code).concat(hash);\n        } else {\n          redirect = \"\".concat(redirect).concat(redirect.includes('?') ? '&' : '?', \"code=\").concat(code);\n        }\n        // 免登之后的跳转url\n        window.location.href = redirect;\n      }\n    })[\"catch\"](function (error) {\n      console.log(error);\n    });\n  };\n}\nvar isAuthorizationCodeError = function isAuthorizationCodeError(redirect) {\n  var _redirect$match;\n  var errorCount = (_redirect$match = redirect.match(/errorCode/ig)) === null || _redirect$match === void 0 ? void 0 : _redirect$match.length;\n  if (errorCount >= 3) {\n    var freeLoginError = (0,_toolUtils__WEBPACK_IMPORTED_MODULE_7__.getRedirectQueryString)('errorCode');\n    showError(redirect, freeLoginError);\n    return true;\n  }\n};\nvar showError = function showError(redirect, errorText) {\n  var hash = window.location.hash;\n  if (hash) {\n    redirect = \"\".concat(redirect).concat(redirect.includes('?') ? '&' : '?', \"freeLoginError=\").concat(errorText).concat(hash);\n  } else {\n    redirect = \"\".concat(redirect).concat(redirect.includes('?') ? '&' : '?', \"freeLoginError=\").concat(errorText);\n  }\n  window.location.href = redirect;\n};\n\n//# sourceURL=webpack://kd-login/./src/util/thirdpartyUtil.js?");

/***/ }),

/***/ "./src/util/toolUtils.js":
/*!*******************************!*\
  !*** ./src/util/toolUtils.js ***!
  \*******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   debounce: function() { return /* binding */ debounce; },\n/* harmony export */   filterTelephone: function() { return /* binding */ filterTelephone; },\n/* harmony export */   getCurrentEnvrionment: function() { return /* binding */ getCurrentEnvrionment; },\n/* harmony export */   getFaviconElement: function() { return /* binding */ getFaviconElement; },\n/* harmony export */   getImgFullPath: function() { return /* binding */ getImgFullPath; },\n/* harmony export */   getNameWithCurrentEnvrionment: function() { return /* binding */ getNameWithCurrentEnvrionment; },\n/* harmony export */   getPath: function() { return /* binding */ getPath; },\n/* harmony export */   getQueryString: function() { return /* binding */ getQueryString; },\n/* harmony export */   getRealRedirect: function() { return /* binding */ getRealRedirect; },\n/* harmony export */   getRedirect: function() { return /* binding */ getRedirect; },\n/* harmony export */   getRedirectQueryString: function() { return /* binding */ getRedirectQueryString; },\n/* harmony export */   getUrlParam: function() { return /* binding */ getUrlParam; },\n/* harmony export */   handleAttDownload: function() { return /* binding */ handleAttDownload; },\n/* harmony export */   isAdministrator: function() { return /* binding */ isAdministrator; },\n/* harmony export */   isPhoneNumber: function() { return /* binding */ isPhoneNumber; },\n/* harmony export */   myLocalStorage: function() { return /* binding */ myLocalStorage; },\n/* harmony export */   mySessionStorage: function() { return /* binding */ mySessionStorage; },\n/* harmony export */   redirectByUrl: function() { return /* binding */ redirectByUrl; },\n/* harmony export */   validateEmail: function() { return /* binding */ validateEmail; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"../../node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.find.js */ \"../../node_modules/core-js/modules/es.array.find.js\");\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.array.includes.js */ \"../../node_modules/core-js/modules/es.array.includes.js\");\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.index-of.js */ \"../../node_modules/core-js/modules/es.array.index-of.js\");\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.last-index-of.js */ \"../../node_modules/core-js/modules/es.array.last-index-of.js\");\n/* harmony import */ var core_js_modules_es_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ \"../../node_modules/core-js/modules/es.array.slice.js\");\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.regexp.constructor.js */ \"../../node_modules/core-js/modules/es.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_constructor_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.string.ends-with.js */ \"../../node_modules/core-js/modules/es.string.ends-with.js\");\n/* harmony import */ var core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_ends_with_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.string.includes.js */ \"../../node_modules/core-js/modules/es.string.includes.js\");\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.string.match.js */ \"../../node_modules/core-js/modules/es.string.match.js\");\n/* harmony import */ var core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_match_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.string.search.js */ \"../../node_modules/core-js/modules/es.string.search.js\");\n/* harmony import */ var core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_search_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.string.starts-with.js */ \"../../node_modules/core-js/modules/es.string.starts-with.js\");\n/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/web.timers.js */ \"../../node_modules/core-js/modules/web.timers.js\");\n/* harmony import */ var core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/web.url.js */ \"../../node_modules/core-js/modules/web.url.js\");\n/* harmony import */ var core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/web.url-search-params.js */ \"../../node_modules/core-js/modules/web.url-search-params.js\");\n/* harmony import */ var core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_url_search_params_js__WEBPACK_IMPORTED_MODULE_22__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction validateEmail(email) {\n  var re = /\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*/;\n  return re.test(email);\n}\nfunction isPhoneNumber(tel) {\n  var reg = /^[0-9-]+$/i;\n  return reg.test(tel);\n}\nfunction isAdministrator(account) {\n  return account === 'administrator' || account === 'cosmic' || account === 'security' || account === 'auditor';\n}\n\n/**\n * 采用正则表达式获取地址栏参数\n * @param {*} name\n */\nfunction getQueryString(name) {\n  var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)');\n  var r = window.location.search.substr(1).match(reg);\n  if (r != null) return unescape(r[2]);\n  return null;\n}\nfunction getRedirect() {\n  var search = window.location.search.substr(1);\n  var match = search.match(/[?|&]?redirect=([^&]+)/);\n  if (match !== null && match !== void 0 && match[1]) {\n    return match[1];\n  }\n}\nfunction getRealRedirect() {\n  var search = window.location.search.substr(1);\n  var redirectIndex = search.indexOf('redirect=');\n  if (redirectIndex !== -1) {\n    return search.substr(redirectIndex + 9);\n  }\n}\nfunction getRedirectQueryString(name) {\n  var redirect = getQueryString('redirect');\n  var result = null;\n  if (redirect) {\n    redirect = decodeURIComponent(redirect);\n    var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)');\n    // 截断取后半段字符串\n    var index = redirect.indexOf('?');\n    if (index > 0) {\n      var r = redirect.substr(index + 1).match(reg);\n      if (r !== null) {\n        result = r[2];\n      }\n    }\n  }\n  return result;\n}\nfunction getCurrentEnvrionment() {\n  var pathname = window.location.pathname;\n  var matchArr = pathname.match(/\\/(\\w+)\\//);\n  return matchArr ? matchArr[1] : '';\n}\nfunction getNameWithCurrentEnvrionment(name) {\n  var currentEnvironment = getCurrentEnvrionment();\n  return currentEnvironment !== '' ? currentEnvironment + '-' + name : name;\n}\nfunction getFaviconElement() {\n  var links = document.head.getElementsByTagName('link') || [];\n  var faviconElement = Array.prototype.find.call(links, function (element) {\n    return element.rel === 'icon';\n  });\n  return faviconElement;\n}\n\n// 函数防抖\nfunction debounce(fn, delay) {\n  var timer = null;\n  return function () {\n    clearTimeout(timer);\n    timer = setTimeout(function () {\n      fn();\n    }, delay);\n  };\n}\n\n// 处理url中的参数\nfunction getUrlParam(sUrl, sKey) {\n  var result = {};\n  sUrl.replace(/[?&]([^=&#]+)=([^&#]*)/g, function (a, k, v) {\n    if (result[k] !== undefined) {\n      var t = result[k];\n      result[k] = [].concat(t, v);\n    } else {\n      result[k] = v;\n    }\n  });\n  if (sKey === undefined) {\n    return result;\n  } else {\n    return result[sKey] || '';\n  }\n}\n/*\n * 获取图片全路径\n * addVersion: 添加图片版本信息\n */\nfunction getImgFullPath() {\n  var imgPath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  var addVersion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n  imgPath = imgPath || ''; // 兼容为null下报错\n  // base64或者http完整地址路径直接返回\n  if (/^data:?/.test(imgPath) || /^http(s)?/.test(imgPath)) {\n    return imgPath;\n  }\n  if (!imgPath.trim()) {\n    // imgPath发送的null\n    return '';\n  }\n  if (imgPath.startsWith('/')) {\n    // 静态部署需求,图片地址最前部分不要斜线\n    imgPath = imgPath.substr(1, imgPath.length);\n  }\n  return imgPath;\n}\nvar myLocalStorage = {\n  setItem: function setItem(key, value) {\n    if (navigator.cookieEnabled) {\n      window.localStorage.setItem(key, value);\n    }\n  },\n  getItem: function getItem(key) {\n    if (navigator.cookieEnabled) {\n      return window.localStorage.getItem(key);\n    }\n    return null;\n  },\n  removeItem: function removeItem(key) {\n    if (navigator.cookieEnabled) {\n      return window.localStorage.removeItem(key);\n    }\n  }\n};\nvar mySessionStorage = {\n  setItem: function setItem(key, value) {\n    if (navigator.cookieEnabled) {\n      window.sessionStorage.setItem(key, value);\n    }\n  },\n  getItem: function getItem(key) {\n    if (navigator.cookieEnabled) {\n      return window.sessionStorage.getItem(key);\n    }\n    return null;\n  },\n  removeItem: function removeItem(key) {\n    if (navigator.cookieEnabled) {\n      window.sessionStorage.removeItem(key);\n    }\n  }\n};\n// 替换url中的属性值\nfunction replaceUrlAttribute(url, attribute, replacement) {\n  var regex = new RegExp(attribute + '=([^&]+)', 'g');\n  var replacedUrl = url.replace(regex, attribute + '=' + replacement);\n  return replacedUrl;\n}\nvar redirectByUrl = function redirectByUrl(url, hash, dataCenter, accountId) {\n  var currentItem = dataCenter.find(function (_ref) {\n    var value = _ref.value;\n    return value === accountId;\n  });\n  if (currentItem !== null && currentItem !== void 0 && currentItem.isAccountSession) {\n    var isAccountId = /[?&]kdcdc=/.test(url);\n    var currentPath = \"\".concat(window.location.origin).concat(window.location.pathname);\n    var newPath = '';\n    try {\n      var newURL = new URL(decodeURIComponent(url));\n      newPath = getPath(\"\".concat(newURL.origin).concat(newURL.pathname));\n    } catch (err) {\n      console.log(err);\n    }\n    if (isAccountId && newPath && currentPath.startsWith(newPath)) {\n      url = replaceUrlAttribute(url, 'kdcdc', accountId);\n    } else {\n      url = \"\".concat(url).concat(url.includes('?') ? '&' : '?', \"kdcdc=\").concat(accountId);\n    }\n  }\n  window.location.href = url + hash;\n};\nfunction getPath(url) {\n  if (url.endsWith('.html')) {\n    var index = url.lastIndexOf('/');\n    if (index > -1) {\n      return url.substr(0, index);\n    }\n    return url;\n  }\n  return url;\n}\nvar filterTelephone = function filterTelephone(value) {\n  var id = value && value.split('-').length === 2 && value.split('-')[0];\n  if (id && id.includes('+')) {\n    if (id.includes('+86')) {\n      return value.split('-')[1];\n    } else {\n      return value.slice(1);\n    }\n  }\n  return value;\n};\nvar handleAttDownload = function handleAttDownload() {\n  var currentUrl = new URL(window.location.href);\n  // 登陆时后端会重定向到登陆，此时url会加密一层，所以需要先解密\n  var searchParams = new URLSearchParams(decodeURIComponent(currentUrl.search));\n  var src = searchParams.get('kd_att_download_url');\n  src && (window.location.href = src);\n};\n\n//# sourceURL=webpack://kd-login/./src/util/toolUtils.js?");

/***/ }),

/***/ "./src/util/trace.js":
/*!***************************!*\
  !*** ./src/util/trace.js ***!
  \***************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.date.to-string.js */ \"../../node_modules/core-js/modules/es.date.to-string.js\");\n/* harmony import */ var core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_string_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.parse-int.js */ \"../../node_modules/core-js/modules/es.parse-int.js\");\n/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ \"../../node_modules/core-js/modules/es.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _long__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./long */ \"./src/util/long.js\");\n/* harmony import */ var _long__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_long__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\nfunction Trace() {\n  this.seedUniquifier = 8682522807148012;\n  this.multiplier = 0x5DEECE66D;\n  this.addend = 0xB;\n  // 下面算法得到65535,java里是1L<<48 得到281474976710655\n  // this.mask = (1 << 48) - 1;\n  this.mask = 281474976710655;\n  this.seed = 0;\n  this.step = 1;\n  // this.seed = (this.seedUniquifier ^ this.multiplier) & this.mask;\n\n  this.fseedUniquifier = function () {\n    var next = this.seedUniquifier * 181783497276652981;\n    this.seedUniquifier = next;\n    return next;\n  };\n  this.initialScramble = function (seed) {\n    return (seed ^ this.multiplier) & this.mask;\n  };\n  this.nextLong = function () {\n    var date = new Date();\n    var time1 = date.getTime();\n    this.seed = this.initialScramble(this.fseedUniquifier() ^ time1 + Math.round(Math.random() * 100));\n    // console.log(\"seed:\"+this.seed);\n    // var v1 = (this.next(32) << 32);\n    // var val = v1 + this.next(32);\n    // return val;\n    var longVal = new (_long__WEBPACK_IMPORTED_MODULE_4___default())('0x' + this.next(32, false), '0x' + this.next(32, true), true);\n    // console.log(longVal)\n    var a = longVal.toString(16);\n    return a;\n    // return this.next(32,true)+this.next(32,false);\n  };\n  this.next = function (bits, high) {\n    var oldseed = this.seed;\n    var nextseed = oldseed * this.multiplier + this.addend & this.mask;\n    // nextseed = (nextseed * this.multiplier + this.addend) & this.mask;\n    this.seed = nextseed;\n    // console.log(\"nextseed:\"+nextseed);\n    nextseed = Math.abs(nextseed) + Math.round(Math.random() * 100) + this.step;\n    this.step++;\n    if (this.step >= 999999) {\n      this.step = 1;\n    }\n    // console.log(nextseed.toString(16))\n    // console.log(nextseed.toString(2))\n\n    var b = nextseed.toString(2);\n    // if (high) {\n    //   // while(b.length<31){\n    //   //\tb=\"1\"+b;\n    //   // }\n    //   // b=\"0\"+b;\n    //   while (b.length < 32) {\n    //     b = '0' + b\n    //   }\n    // } else {\n    //   while (b.length < 32) {\n    //     // var p =  Math.round(Math.random())+\"\";\n    //     b = '0' + b\n    //   }\n    //   // console.log(\"v:\"+b)\n    // }\n    while (b.length < 32) {\n      // var p =  Math.round(Math.random())+\"\";\n      b = '0' + b;\n    }\n    // console.log(b)\n    nextseed = parseInt(b, 2);\n\n    // nextseed = nextseed& 4294967295\n    // console.log(nextseed)\n    // console.log(nextseed.toString(16))\n    // return nextseed >>> (48 - bits)\n    return nextseed.toString(16);\n  };\n  this.traceId = function () {\n    return this.nextLong();\n  };\n}\nfunction getTraceId() {\n  return new Trace().traceId();\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (getTraceId);\n\n//# sourceURL=webpack://kd-login/./src/util/trace.js?");

/***/ }),

/***/ "./src/util/uid.js":
/*!*************************!*\
  !*** ./src/util/uid.js ***!
  \*************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/*\n** getUid 产生任意长度随机字母数字组合\n** randomIndicator-是否任意长度 min-任意长度最小位[固定位数] max-任意长度最大位\n*/\nvar getUid = function getUid(randomIndicator, min, max) {\n  var str = '';\n  var range = min;\n  var arr = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];\n  if (randomIndicator) {\n    range = Math.round(Math.random() * (max - min)) + min;\n  }\n  for (var i = 0; i < range; i++) {\n    var pos = Math.round(Math.random() * (arr.length - 1));\n    str += arr[pos];\n  }\n  return str;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (getUid);\n\n//# sourceURL=webpack://kd-login/./src/util/uid.js?");

/***/ }),

/***/ "./src/util/validate.js":
/*!******************************!*\
  !*** ./src/util/validate.js ***!
  \******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ \"../../node_modules/core-js/modules/es.string.trim.js\");\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_0__);\n\nvar validate = {\n  isEmpty: function isEmpty(string) {\n    return string.trim() === '';\n  },\n  isEqual: function isEqual(str1, str2) {\n    return str1 === str2;\n  },\n  checkLength: function checkLength(string) {\n    var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n    var max = arguments.length > 2 ? arguments[2] : undefined;\n    // 0: 正常范围 1：大于最大值 -1：小于最小值\n    var len = string.length;\n    if (max) {\n      if (len < min) return -1;\n      if (len > max) return 1;\n    } else {\n      if (len < min) return -1;\n    }\n    return 0;\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (validate);\n\n//# sourceURL=webpack://kd-login/./src/util/validate.js?");

/***/ }),

/***/ "./src/img/WeChat-logo-gray.png":
/*!**************************************!*\
  !*** ./src/img/WeChat-logo-gray.png ***!
  \**************************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAADRElEQVRIDbVWTUhUURQ+577RTSAziv2MUkGRiyBctNAkUhcS5DhujKg2oZkt+lm4CYu5Q1GLFkUtgoKkhRG5Mn8IBFNqoSBBkQUSapAWOT8aUcrMu6dz3/w4782MBeVdzLv3nO985557zzl3ENYbMlwuFPpJwBEBsDkTqgC+oYJBJagPZMnnTF3mHDMX6blc9ApyBRFoDxE8YZL+LJKEcx8iHCPAaYXxAMjShTRHvokho01CRl4bMtKYD+OUa2zCJtrk1NkiEDJ6noAO846Og/QsOcHrrmXUzRE/RsDnSnruZGH1zlFGhqCFjCzl3wrYVnNorpRJIgJ95mAMKMD6nDtvpwKXd/kggdrKhksmrIyC9P5Mkdi+HIkAGlFgNuo7sRyIQPQBIvWZsnjADqZCQUs3AKgNEMJENIuIW4BgF+OeKqRzfPnfbTa80HdChH4V9JxG4GwwCHvMYPEhG5B3YpAaBsRfpkln4WrJVFovozuR4CafeaUyRQNcc8+mdcmJEYiMmUgnhJXnnIpOgAB1W6H4ZE556mzkGig9cxT0tLDzfsOlujlCW7JoiE5vzS10EVl5rqWp0RUqA8CjBEYH9KKZEju/Kuy+xEQVcCV6IEvHtWMVqFWhjko0CrCaAMZBFoWchrb1XVzllH4lDKixyfWCOTW3K0thCbCQPyu5dXbptt2dPT/C/vmsm07C2En24DN5y4e6HyRpR+sOd1n3w/J9zZ35QDkdgCx+xw6mBUW68hny2QuaKOgoAzzJ2bSpYoTvIscQuivqVHXqTKB2zpILmVWZwtAkbIeJgjlOlR3D9ebQVB35Ft488xXKUG8Kozk1t0u3XO4fPl7cSyv1RJa8h0D4Ee90LzeyhoQOvwKp0tqX45Oj1f4IfMQ+Sx4kXIXQGa70dD1wivpYNyh0P9ctN0Fg/+VT8ALSRVAwz5nNO1alQGJmbLnmA1bFK9VorDbWKq5XxV80K6BTMbk5uRFOcua03gpNqVtFzvZ8ebGCQy2yu11bcX174q24GmsTt9akiVahObUsUYF/anaZ1o55rBVqXAbM4H34YqkczS4N39h2nXSzoQ9OKhQdyYY9mSkn8B8f/aw2m3aiJ4l/Dv/0t+U3Io2WfwyIEqMAAAAASUVORK5CYII=\"\n\n//# sourceURL=webpack://kd-login/./src/img/WeChat-logo-gray.png?");

/***/ }),

/***/ "./src/img/WeChat-logo.png":
/*!*********************************!*\
  !*** ./src/img/WeChat-logo.png ***!
  \*********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAADE0lEQVRIDbVWPWgVQRCe2bv8KEZ8JEIMRpNYROJPYyOYwkoQjSIoNoIosdBCDKKNRS6FiJVYGTEiok2wEA0KWigoaGNhI8RCDEEfQggviYqS927Hb/e595d7EsVss3Mzu998OzM7e0x/GsH0WqV5vyjaw8IbiKStupyLwvKBNT3SSh5Q0PypFgznGoKpNiX+ELEcIyEvd41TMoUkfEtzZZCC1UWndvMCB15Q2ickdwHc5BYtamb6ysRHwqDwMLlepT6C0mkRuf/X4AYEhMxeBYwkZnQCy9yAE6WcJhcvUtbMfMCdpOrAxJy88ZrMmcpg9xIh+CJEq7BpJ5wtr+kQ4dIUbjQ5sWxtQvNjPo9En9UkLRJ6/YrVTdFyXvNsM1gehYO5XCfAspgwMplSJJ4A+2y1zGitdyFijcqja7BvSoBNMMu5kPy3isKnsHUmbFUR1QViHcrUeQ44geGAx7wO4M8z4AagQ4TvKV3pA7njoInIZQYIG2xlLlHGZM71OZz9NirMw3nOo/WKL1WoPI6cvIp0CcFgq+oNTWghgt1rv2nFdogtaUvmS6jBI68X9HMdGGw/vv7xZpx4HpsaY01tSYgPstD6hTEyewTVmT+2huW6NzDN55tjrf6pTqLSrsSatAQHXEyr7Ndmaih3I9MXc2xOpSEMc6O+TZq/I2/vnSGeuahMV4wVsaSErusfclWYxmJtJE1qRmkKTSI8fUjmGBI3itI9FK2AYLB9VMBjyLuTht9yj1qGyyTyDkBPrI6llVhNYWsPhVxgJXtt7NEdNft3fF3pBKFomHbOdGG6XdXxx7xyNIxCqn+hqHwGoazHzkki3YWW0StC2xCWy9DNYe8WZmqHbkeMXr1o1p8aLN0Aq/7I6AQTV6E1+FzpVKmZqaSp0Kpo5hROmkk0j+ihwgmUKTjhsUCzOwyw9Bsg1J0CzH4IFTwuPUOYulIm2+zwAGFEEVuqdh3dA9u/0X/g1JTfvw6N0h5wb4EBiU7gEJf0yTROjHf7WBCPwH3oHNec7RokFA9Mkrlbv+AEzmDn//Db8gt/YUBSGSloIQAAAABJRU5ErkJggg==\"\n\n//# sourceURL=webpack://kd-login/./src/img/WeChat-logo.png?");

/***/ }),

/***/ "./src/img/banner-en.jpg":
/*!*******************************!*\
  !*** ./src/img/banner-en.jpg ***!
  \*******************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__.p + \"img/257c9cf2.banner-en.jpg\";\n\n//# sourceURL=webpack://kd-login/./src/img/banner-en.jpg?");

/***/ }),

/***/ "./src/img/banner-zh.jpg":
/*!*******************************!*\
  !*** ./src/img/banner-zh.jpg ***!
  \*******************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__.p + \"img/59954086.banner-zh.jpg\";\n\n//# sourceURL=webpack://kd-login/./src/img/banner-zh.jpg?");

/***/ }),

/***/ "./src/img/cloudHub-logo-gray.png":
/*!****************************************!*\
  !*** ./src/img/cloudHub-logo-gray.png ***!
  \****************************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAADKElEQVRIDbVWT0hUQRz+5r0tM4wSd1eMhMKi6BBFFF0tyuqQ2NqGhUkQURfDCLoU7Em8RFkYFUFSXrR9ax6SQLxEl4ISLIKwQiKq3dUWxVBp33t9M7tP9+26gqkDb2fm9/vm+83M78+swHzNGN0AYVbDEgch7FUuqC2moNl9sPUeBEq+u3QZE5Exnh32xNfjrxWCEMUUdsLECwT9E7MAjrpiRdBxmKOTsO0EVmghVPt+uDBzToz4MRjRfnSP7J1TP5dQYuUauTaruU8QiTXCxi4Ujl3A0S3TWdj5p71DBZhcew8CAzjuv50LVjuPPcpVLFBikCPjJJpaLu8c1iW18wXy5cDl6SWX4gQPJFs4+gC6/hA13jc5CxyBMbKHC6u4wstr/AJT70ew5KOjdvXSJ6Z5DrWl5wVkKMK8iYD/hAvkTCK//LC0dhIfSYtM9jo/i7InSE5fRLB80oHP9EbsKWFNmopzGYp5m7hKokp+LYz7zXjvWwnYFYS38SRnoBdE0GVLg9mtU3J7GMOHYIrTLq0RrYct6ki6kfohEgV4wt4MzFeOGxGODzMBb0CL1XHekaHnpTB3NNFBJ4sCVxJFYu2UPWaSbedOf3K8n4aek+yyi0BOPnhvUfeJ2GbmQYi+3DGDkYnJ7E9FkSM1YrXcbQMXtcL0ViBQeoA7KaP6JcEtOVcREhbxbdQz48V1GnpLQ/UOnezdBoAgZSMo9l1BUEhnUsKdjP+pIsG+GZlSpH8C/ju8vjXcyFZKBom7i+7EOgeSbWA1Aa9QKZIOQPVnN00h4HvnkmVPgv7P9FczxUWMrN2OWqMzp1ThkpLCsQDGJ6TD/rf51UKh/Vac5PaokitUVQznrT/PRsuRtHbmtSroNVjbePprxAzA8g1Cj9fQb30MU9ZzmWjM57wESfM+KZxEywOTRUG8pqFTyldGjGVcb/KoxyIcTajynK9UWGYDPB6GbUazbTtjxnAxv6GmbFjJUqUigVrnIZKFSdZzWXIX2ySH5EoXu1QUqZdIa1X1fLEG5JsAcqVft1Q1dUiX9cFxjCzrk+kYkfe3RI+++4ocA06/BH9b/gF2r0a/IE2m3AAAAABJRU5ErkJggg==\"\n\n//# sourceURL=webpack://kd-login/./src/img/cloudHub-logo-gray.png?");

/***/ }),

/***/ "./src/img/cloudHub-logo.png":
/*!***********************************!*\
  !*** ./src/img/cloudHub-logo.png ***!
  \***********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAAC4klEQVRIDbVWTUhVQRT+5t5rJSUk+d6jRwshEIkokFbhul/InyetLBAKahO1iKJFEe2ivUFCLVoE9SzFVtXKNhUtsk0FkkEpvWtBaBbqvdN37tzbHfWpPbWB+2bm/HznZ87MeQpLjeK3bVBBC0IchsJ2iuZj8VFoDMPBY2i3D4UtnxeDUWUZfX4es/oqeV383LIyKTHg8jY8dQUtmdGUbFYLDRT9I4C+S3bNfOFl9hOA6kQh02/LOfYGvaUzBH9IWqXgAkMd6kYYKWoagfFcwOcaTWX/dRUykrYkEmPA5PwdEVbieTnDEzyTRjkT46050CXA1QuGfxzK2cHqaYAKWzn3lkOOaTVxkbD4pBQRjJBRvlo0q6NQdw0DY9WY8ZoQqlpU4XVUMfe/7oOjHlG3Oga2J1aXW+9AB62LgI+RPgSlZ1H0uzDtfaTXg9z307sR9PrX0ZF9Aq2P2ajW2pU7JCk6ZBFl+RxuuAuFbJ7fbubyDuPcS3rWkqsi8HkavoSOXJH0VxYvXfKCMkWl96Q0GKp+ifFsM+q+55i20wSmA/oe2nNv8MDvpvenUu1o9QNBhob9dUxwEyO8SJ2DlswHMcALgk2GqJsRqGEKv+W+LhacorftPOB6GrsZ06xJdUepC2ef4uhWn1Gx1LWkXcakbWCS3myGO36WAjcMv6LfnzzURrgztQicoVhzUs4geT/WE/wAwdsqgk2FN0YP43ROUp6MUY/hDTNvcgZVBB9IOCuYpxA6z+CUGnmTjTqxPR4jn9w5BzMfW5NwmTpf5jP+7kM9Q+8H0ZH/xGLgvRAVDmIvf9GA37wre7ChOkmlUbZ/p355cL2dBL5A8v6YFV00E0uxdIvEE7bOGqx7eI9OmrdImgUg5bpWQx47wZSLxBF1IjYLsDmufshz3Zl0N2NAQKUTKZzjajVGwgjD6mppw0k8/68tM4lEmgXQw08a+nJDZHqiBmN5nigtjCDhyLwGf1v+AKe8969y9lUQAAAAAElFTkSuQmCC\"\n\n//# sourceURL=webpack://kd-login/./src/img/cloudHub-logo.png?");

/***/ }),

/***/ "./src/img/error.png":
/*!***************************!*\
  !*** ./src/img/error.png ***!
  \***************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAzFBMVEUAAAD/m4j/k4T/hHv/j4D/gnv/g3r/nof/gHn/moX/oIj/n4n/l4T/fHf/iX//hHv/nYf/f3j/pYn/kID/joD/eXf/gnn/fXn/o4j/eXf/o4n/l4P/hn3/e3f/oIj/pYr/koL/in7/kIH/joD/pIj/lIL/e3f/oor/nor/kYD/hob/koH/gXv/jYD/jH7/iX3/i4D/k4P/iYP/jo7/k4L/fHf/mIP/in3/gnr/nob/m4X/hXz/h33/lYL/jH//f3n/oYf/kID/j4D+jX/4i4ReAAAANHRSTlMAHCE+2lQw7Me2VDHHvoH7+vrz8/Pz7OzZ2djY2NjHvr6+sZqBgYE/PyUS75yEbWpWQicJ9vp+hgAAAS5JREFUKM91zodugzAUBdDLppC9997dbQJuIKa1//+f6iSAIVGOnuR3fSXLSJmrYrfZ7BZXJm4Zw0NqaCBLtQ85tio7rR0dolzb1tKuGt2pxq3aIlFEIkJIUdm9xHvUur5sk4QJfJeTYF/+SQISiCEk2AIoxzsJDACDIKUBO5kGgBleBGEQhAbwFUomSr4f+qEYcb4DWhjv4q6EqS+VgI9MnEKn1Ke+GErpHHijko7GdWGUMT4DXjnnlFMxnDdQF5eMi2GMFYA5k+rQ/yQdmOXiZJ/xuX3OpAmW+4eWcE8PuUDfSz0pypM4Tt5JjNcH4MhSARSZHAiFY+Jcxqt3LOBMtZLy/GyyWyouNpWfO5UNYmvrtrPWSKmj35yRiiynJ6ueg1vuYtyp1TrjhYvEP6ICeWeacgqHAAAAAElFTkSuQmCC\"\n\n//# sourceURL=webpack://kd-login/./src/img/error.png?");

/***/ }),

/***/ "./src/img/face-logo-gray.png":
/*!************************************!*\
  !*** ./src/img/face-logo-gray.png ***!
  \************************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAMAAAApB0NrAAAAV1BMVEUAAADm6vHn6vHm6vDl6fHm6fHm6fDl6vHm6vHo7PHq6vTs7Pbt7f/////m6vHl6fB/k7zH0OHh5u7J0uOVpseercyEl7+So8aMnsPc4ezN1eTByt6isc7mRKRZAAAAD3RSTlMA5oHM+Ovgsm83LxsOBstaBFOyAAAA/ElEQVQ4y5WU3RaCIBCEFzQxTQlF7O/9nzMlSMaste/CA8uwZx1YKKWSKhO5yJSsaJOTLPRCIU+0pikPGjmUDUrqVn/S1qnkKPQW4phIcr1N/hbVkAUz1aHcTH+nfRVe6l+U3pfw08N5IizMwyFYMPskY9zAfhP1koiKqAHJMi+IKowZ66zBPRVJ0JhL3/UXAxpJKg67+WP76dPbOPcoQnNcN686iGWEHo8+z4he03JUWM9CDnmCkwOGxKqeh711N/tY1aPS6X30NY/3NKjQH2uCkeAP+uyufnh16DN/XvvOnb8/O+8hNS1/n/m+4PuL71O+3/l346/3h3/HnnhtOLYKZJXfAAAAAElFTkSuQmCC\"\n\n//# sourceURL=webpack://kd-login/./src/img/face-logo-gray.png?");

/***/ }),

/***/ "./src/img/face-logo.png":
/*!*******************************!*\
  !*** ./src/img/face-logo.png ***!
  \*******************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAMAAAApB0NrAAAAWlBMVEUAAABDj/tEkPtEkPtDkPtDj/pDj/tFkfpGkPpGkf9Ml/9Jkv9Vqv9Dj/r///96sPt2rftLlPr2+f7d6/7Y6P3U5f3I3v3o8f7l7/7C2v291/2FtvtvqftTmPqIxo4KAAAADXRSTlMA6MyB+OCybzcvGw4GbdBp5wAAAP5JREFUOMuVVNkWgiAUZFFMi66itvf/vxkqFEOers0Dh2WAOXMXkaLWRslCKqNrsYq9Lu0Hpd6LHIdKWoSsDkhplP2GalLKTto1yF1CKew6ijepgVcAsglyUQtCLcIr+wvV7Ev46XT0CAfT9BR+m3zScZ/gPkW+9pwycmwErksfI9yjwQ2Ed2qhgUPntmvPBBwtTJx20zC0fmiHZR1gBJrjuunUoUUCPe7nd3r0WmCo6OL1XAiDlr1jr969axazTM9tfHSP8ZbpMeny3i+q7ummQX9GWlSN4A/67J7z9OnQZz5eG+PO5w+fh5vzma8Lvr74OuXrne8bf/Ufvo+9AEhNMVDN4T/vAAAAAElFTkSuQmCC\"\n\n//# sourceURL=webpack://kd-login/./src/img/face-logo.png?");

/***/ }),

/***/ "./src/img/icons/beian1.png":
/*!**********************************!*\
  !*** ./src/img/icons/beian1.png ***!
  \**********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAC9FBMVEUAAAD/8bnsz5Pr0p7t3rbs263hrlv94q/kw3Lvy2HYoF2Xb0/alEfoyGzlumTu257tz3/mwHrlu3j256CZknrsz2z20Gfhr1ncmUjkpUtmTFfv2HDerWblvmXs1ZDewHrx2ZP44JvUtXngrGvetYH47bPxvVOmZDSFW0uKg3aZdlznv2TowFidknfkr1Tmslecdl7pz32ohGjhtW3kvHbmvXDqxof15YnBi2HBimT26Kr798/TkEd8WlbhnUjeo0/qs1ToxV+ld2Hv232qgVrnxGagfmjpo0jz4Xniunqxjnndp1Ly4IbLpH3uzW7In2fBooHIoW/v2pbnw3XPj0rduXzoyJDq0Jn16qz48Mt4d4R7QlKmflBNKz1RM024aTnamlBdPEtfPFDlulZ9YF/4zV/cpV7erFH22W/bp2L1qkXZo0vXnk7144fbok/buYb7v1nnvnTqv1vsw1zouVgODXDiqUvVJRfrt1HmsU/hn0jflEPWMRvryGfmuVznu1csCVfqvFXUh0DbdDbnai7VHxXQDQmllngQEXgdGHDux1z+11rmtVXeolHjrFDrsUrfm0TfiT7JVSjPRSXWQSPTFxF7gIhtcH40NXZBPnXMtWvivGWfhl7al1HSdjfXYi/UVynYUCjoWiXZRiXKRSDWNx3WKxrbGA8fNo8NFIOnooI8O3vJtnm/qHVXVHMoJGxeVWvvxGSxmGSFcmLHpmFxVFpHJlT8yVM5FFP4u07opknjoERLBkTmnEHckT/GbzmKWDnaazTTazHcXSzpZCnAQSbzQx3bOx3DJBXoJxHNGQ3WDg1Ya5AWJYhmZYJMTIJCRYC8rn63qnmyo3lqYnHt1m4XE2v/5mfFnmYiEGIYBGHYt2DbqliJa1dpPlX0wVI3B1L6sktxGD9kDD3agTzldzj4iTLDXzHMNByqCBfQHRS6DxDDDA+GjYsmLHqhkW37yFlYMVfCkVGJaUm8ekfviz3tfjmqLzGHCibfTiSSBCPiRh9lyfZEAAAAcnRSTlMABC4eFgndDv7+/v7+++BtTkM+Of7+/v39+vny59GIgnVeXkg3Iv79/Pv7+Pbx7ubRysXEwrWklW1USyn78+7t7Ono5uPf3dvY1c3KuLGuqaeWk5KQdGhWUzL+/v7+/f3y7u3s5+bW0tHLw7y4rKKckEu3JeHdAAADmklEQVQ4y2WTU3RcYRSFO+hkPJNOnIZNartNbdu2ee/YthHbtm3Wtm3zpXPb6Wranpf/4Xxrn7P2v0+PboUMCVi2YMGygBBkj/8L5oQImjB++cg5c0YuHz8hCIGE/QP0pKxZPAPXr77+PW7TwBmLSRN7/gMglw7f3r/f1seP68TFhQN3DF/6twQM4Tzr5ub6fub4xOaHMVeit/Sf5Yzo3kf6j/bywsUm2hjWhBTbpxuZF7zGBsD+yMNXDp/s1V/c1GZjpCRx5SkNUQPyd430gzs5gOC1vUvK83GP2p7JUrlWru3Fk7uKsNLJ88lIx4DgwCERyqIPzWldXIbMJuPKO6VXXC5FDAlEOBwg+w3JUt6sS0zrSmUwZIxUeedXbCYtfIDfRCcY5ADimI9LFg1X9z2tS8a1JqUw5PI27Dk7MGJcCOQGIvCApyJLOXCSNE1uaXxgNDUwZInY87RwF8I+EgICVs+tPH8mo+jdI26nObaWzjZZkz5iX9MiMsHdK+B2AH50SlX26Yz86IrGluT4BolE8oCtKSyhnc5mThsLAb1GTalBnzqZdytWEmexJMTFJUhMnJK8jFMEg+eoXnagT288hxeaTitvkUoTLMlx8UnNUnMpLX2DW5UHqs9PQCy+qzihvPO8o7XJbG6UPGzteFFNO6EoM+KJzhCwZ1JtRc7Lk8JvzzqsycnxTdLW1Kd3lKE5bzynjoZGBI2ZSndDn01XVX95+ry9vf2JpeXz/auvzqHdqMRfS47eZtQWEELPXBMKhdX37t0vFwqvRYQRMIB+6AhIwXk+Fq9jAmdDw/NUqtJbG99evaRSXVCo++rp7iOgHcho95gYTk0BOju6KMylsDg6Nzc3LAeorDLS+TPJkFEriO46j1pOZUHU9cjrWtaN4sjISB2HY6QLZvsGQ3FZN2an3gMfa6rQaDRltw19NZcvl9WY8Drt9CUUp5/fPdF3+mCWWMwBMACTRQUxbmq2R0wUYbY/xRHt9STiYIGOzRaoAQEVANWggO7O5w0iroHDfiVmPan3IAwIaEWgvTCgiE6n8lx5g1CrKY7I+S/yvngxik+lCrR8AGCx2XoqAPBcvQ+THAoB4+Z5u/L5VJGIRbVv4am3P6Cr97xx62COs4P7+gxmitS3+xqYTIMBAEERyJu5yB8B9R3E8cBVRw7uRc0dOnTaMJSPz5KVfmRKMKz77SInjF91aOFC1LBhqP2jxviuDfrd/QEDKmsdWtYlLwAAAABJRU5ErkJggg==\"\n\n//# sourceURL=webpack://kd-login/./src/img/icons/beian1.png?");

/***/ }),

/***/ "./src/img/icons/beian2.png":
/*!**********************************!*\
  !*** ./src/img/icons/beian2.png ***!
  \**********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAsCAMAAABFXPg2AAAC+lBMVEUAAABGRkZRUUn023g7PT3123nzznffRSvxx2AdHR0/Pz8qKirsulfww1PwyV9SUlKAgIDmY1Lzxz3RSCbstEfss0k0NDRSUlI8PDxQUFAcHBxERETzz2FHR0dXV1f13pbmokPyw1TwwVftt00zMzM9PT3vwFQhISH01ng2Njbz3XvtulPjnUn02XxJSUlcXFx4eHgtLS3x2I/yz2DprEvlaCHhTSbnpUHrrDUkJCRTU1PyzWc0NDQgICBLS0tAQEDqlTFKSkrxx0laWlpmY2P35pPopFbwxWvoa13iUTnfWSzuwV3mpj701GnmblT01WbyzF7zxVXprkU6OjrolSrjkjLrtEXuulfnmjvwx145OTnjfzFSUlLxwVDx03Drl0LwuUH37400NDTxyGDss0LvwmHooT3tulvqsUziWkTmnjngmEHobT/vuDjmaCjiXSMjIyPxyFHprlvz0nPtu1HwznHneSjof1XusS3y03zsnmbllzzxsjXpqEbuvVxPT08VFRWBgYESEhIxMTHjoUzcJCbpqUbqpj7qsEvnnj3RHSTss0rvs0Tvr0PeOivodVTvvFDgXTPgOzDKGyLvpoLsmXTzz2zvv1/yx1fqs0/kV0Tsq0PiWDrhRjbXRjLikifYNCfpqCbZGyXrj2nlbkvwtUfqo0TtsDrgfjreMCnRMCfKOiHvqY3ulHvtqXbpnWrsvGjpgGLvvlXst1LwwUzldkrxuknlY0frr0bxvEPlhUPkkTrwvznkmDnrpDjgbzffYzLikzHcVTDSOyzhTynegSbTVSXHKyXbHyXPPiPSKSPvtIvvroTvnYPpiGXpdGTnq2Dph17pr1XofFXXY1PjfkjZcUbjakDvtzvfdjrhZjfePyfZcibcLCXijCPcfCLFFiLqhXHijmvni1fnm1TmkE/lhE7kXUrlpEnyy0fjkkTUaUHiizTqkizlbizmeyvUXyfWZSbvtyXgXSTvvXzz1XjslW7Ze2rnnlDlfDrmmyzXPyzywSrnnySHi9Y7AAAAhXRSTlMACAQGDB0N/f6VcxP19KZGEf7+/fzqiXVfTkc5MSEX/vjSsrCplZJ0Zk5DQz88MC0fGxb9/fnu6NLSysW/t7GsnJNaWTcoEf78+/n48+3h3dzZ1dLS0MXDwr22saajj4uBfHl3cmVjI/v49vDv7uzs7N/T0MbAvbm3tbKlpaGIh4VdU0MbrfYZzAAABBRJREFUOMtiIAUwO0U4MeOU1FUy7TOtcGLFlGLTTlCu8vMUfPicPT+kJkGGDVVaJtorU/D82ilTpm6cNZfdzEEbRdY1Puf8mjWnT09Zt379xSWzJuU5yDDD7UyJL/fbeHbN6TNTp667ePnxszlz+8zKHNKgClgtzDzWnp1y5szUxee+9Pcv2XVrUmvrKuFoN4i0Ru4Rj7VTzk6Zem7xxsVLts65fquvdVHXyVCI/WzWQp8FH66dum5xf//l7UvmTDqyHyh9SthcDWJ2wEvTWecXf1t3UfA5UHpSa98KdqD0MR8lqDQAUAGv/hLvnRGxzq+Pmpq1tdepyI7ZB4WiqvFMIgAAAAADLSGn7Z2aj4/j5te10NDknI6RkanIisncalccAAAAMjsNi74Hnbe31fjk5dXl1bq67MKFoooTxYkMDgMAABwNtJi8xJJJnJy/2dqR6pGRv8CgioqTxsGGFFEyAABFDZaWEu7bkp2SB8LAqLuowML7ioqTx9ynlkchMgAAMnEfH+ntxN2pqQeRkcC7v8JKnoqT4KvstB8fVgMAAAAjDJuM2O6FyMiFqd2goKCqqoqTk5PGwYeLDHsAAABheUuNmwim26KFhQeOnp6eqsOT4OAT3MGJpxRZYQAATZiWlrOwR/ndoNuew8rDnsMT8KvH38GJhrm5uU0AAHOMuJAICPWX78qg87qvrOKoxsnH8f2nkLK2tpBZAAAoDYizl4y2lgjexZ+o1NTU2d7fxaGnvom4mLIMZQLGCB/v9AlLl27i2DJ/9clrj66tXn3v06feZXuXGfPysYHCXImHo6O9s23Gll/3X39/fXThwhude3e/mM5Rkg4KdKZk0embZpp0zG7fs/DD8Ws7Fs5v73hxacN00TqwZjXFjJkdbd0Tutt27ln46sLe9valE2ZeumQiEhirBZQu9e7oaGvr3tbb03vjT8/efbNnt/dsntkxYYaxP1CaTcOaZyZQemlvb/tsoc3ze9p7O/fN7OgGysaxgiJcKy7cXGHH0l6g84Q2zO9etmx3p4iIqCKfBis0lafWRgSJiiootO3ZML/HRCHbPCgsNlmXGZGHWnTS1PiUQy2KQiyU+dRSdNLZMLOgm46OtpauG648ygQmcUkCSp9yXQdhIOi13NgUduVTdgVCNBwliEMI/iBdlCpf8P7gXT+eRSRF6oy0h3Y0o1nVPpezA5DXQrGz/ZvhBVjMcLDGOXaw4EQRIEmxjvPKOiFsvqnMl/yyHXR7+8priM5c+rmhf5OuSs9iybVWp/sS0DwTw22RxE/9xD1Twd4LeYj/7/11MW1XrsMgidFG5J5Rm3OuMUNtq7rZG9UJU8yO/EaQo02huPIfXh1JgSIIpLSNkqAgVbuqQ8wQb59DB+ekhGJ9jAdoJZ/yAFl99QAAAABJRU5ErkJggg==\"\n\n//# sourceURL=webpack://kd-login/./src/img/icons/beian2.png?");

/***/ }),

/***/ "./src/img/loading.gif":
/*!*****************************!*\
  !*** ./src/img/loading.gif ***!
  \*****************************/
/***/ (function(module) {

eval("module.exports = \"data:image/gif;base64,R0lGODlhEAAQAKIHADZmvyRl1FZ5upOjxHWOv7G5yb2/w////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAAHACwAAAAAEAAQAAADQ3i6B8CQORdXCG0eIeC92cZ11seMZBlxjGFUC0EcrgvLcv1W+GzDB1lrxxgMILqi8bhIFgqHJbP5ej6j04gVClxcIwkAIfkEBQAABwAsAAAAABAAEAAAAz94uifCkDkXFwBtHkLgvdnGddbHjGQZcUwQVMswHK4Ly3L9VvhswwcZcFEoDIlFI8xgOCSVESbTCY1Kj4ppJAEAIfkEBQAABwAsAAAAABAADgAAAzt4ukfEkDkXlxBtnjHgvdnGddbHjGQZcQwAVEtRHK4Ly3L9VvhswwcZIxCIGAwQIpFxPA6VzGayCHEqEgAh+QQFAAAHACwAAAAAEAAQAAADPni6N8OQORcXIW2eUuC92cZ11seMZBlxjCBUi2EcrgvLcv1W+GzDBxkDAAAOiUXjAVkMBIzEg9OplE6r1koCACH5BAUAAAcALAAAAAAOABAAAAM8eLpXxVA5F88YbR5j1r3ZxnXWx4xkGXEKQVSM68KtTNc3IwhRECy7HcPnUwR5AMCB+DMik8piBKq8JSEJACH5BAUAAAcALAAAAAAQABAAAAM+eLpnxpA5F1cpbdZzb95cBzLeeAzDGAQnmlbr6r5RzKIquxBEBAAQHo/x+zGEPYHgUAQek8qlcRNdmg7KSgIAIfkEBQAABwAsAAACABAADgAAAz54aqZ+IbzD2Ivx1eaw1Nz1KUUxTQBwlOWppClrurDauq/qDMMpCBMe7/H7PYQ9AuFQBB6TyqURF13iHkpXAgAh+QQFAAAHACwAAAAAEAAQAAADPni6F8GQORfjfADURXPejKeBy7cYBikIB4pu6+qmVcy+4MoURUQQEB6P8fvthIfB4FAEHpPKpXETXZIUykoCADs=\"\n\n//# sourceURL=webpack://kd-login/./src/img/loading.gif?");

/***/ }),

/***/ "./src/img/logo-white-en.png":
/*!***********************************!*\
  !*** ./src/img/logo-white-en.png ***!
  \***********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAAqCAMAAAAtf4EzAAAArlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8tivQqAAAAOXRSTlMA/bcEgU0rCInxEwvYzr8Y+aFCJSBzM5drMMl4Vjo3xJJiHALt3dKwnOGOSfXpWVHls6unZQ9dfD4tFdE6AAAGJklEQVRYw9WY5brbMAyGvzAnDRQCZUgZT9v5/m9skQPrsNue7Wx9fyS1nWPJsiTLB49k7mxr6xZeCDNnnFWA10FkFdsQr8IbaxjiVZizT/TxGpjsgTZeg5A9IOM1sAT2iTe8CEPWIER4EQYCqxnhZdBZhf1KZ+LYYIR/xSvhtf2z3v+qV1EU3tkpfmzKl/RTsb0pvpziOZIaxD+/u5oGePmWHds/mPvCGLvQRrCCHqQtY62fUjotvp/hKaFPOywMBwD67nPlXRHmjhFdfBe7GE4BRSgTuFq8FvgZzsWXLp7RaxnrTbyRZ0JWNLZ4ynyJJSuJfpjAN+hvq6VF7Xb7w08XBuunOrOkFG3a2wn05+aYttKm5NjgO/Rp1FNnxfP8Aye6DrJx7+226Uh8y5XxG3enG4kJld6tYzVSO/vePtbAUbe5hJIBk3ER8YyI7TFjJYfvm4KxXXSkrSZBmrNaLQB3tXIGeu76B74QZdhk+StM/chqVEhjmxHGnautyaXEXZtmk5KZh5qZiIS7aZbbC1+ldaxiEOpqAEjt4WoxigI2aKroDr4D+Y9j04ML7VDp+njo64Dks4Y5PsxYQ0uy3KZhm4DnNM3EApTHikFRcEwB8yyIcndubIA980AcWITQMfL78jhbF339Urzz3Z13apEeiDF37T5rEK640Hvhj4bkQuGWzHq59xakGE40dOtkNI0PiV5u1tnb5XIvgokHNGEPiLuAQsk1LNy34LQFSbMXIQDPZtS3N8h2341DqcU4s+qLEa+nevy0H7TpNTiQlkF1pqa0dSKpQkov96S5BsAsxGw1yoI52Scqpj0Cq+SLUrOPMQtAqKyHpV0JXUFuhSAyxvu0SWjiu6i1Qfuf6qoBllXuJudVyQGC+sK2F4oFXrnVKK3TmMBhBX37s2aofVHmBGwC54wSuwtRBCd3seuCc2UinnIjM5I2tgbCKKRacKoo2JHbFl0roGwxMu0JBQOupcEeObDP6JiP54OmhOPW1BNuKHF8zKvhIiyZAo709ZEyiSV8zpqcZ2JwFyyISH3uM7Nped1x6JHwP2bFljdK9xgtjxx8LVfcJ9Qn16SaxZZo2LNAniNgKkqOa0rJxNSQb1VIwvzyWqWsCsOtNTzi8lL1jaQN6BOKNZ5CRNpOcltawdarxk4xK1pRlXVsOPURcFVVNeJ7EXPZRXMCHBdoEOfwXXxgce2XG49lVQYfj2ulM+p7YMw4Lh6Z8cBD7SD34n3HW2X4NrktVy8JTJNiVJ46PAl3eG67ICXrK9r1jdQd8zC2P0hmj7xsQyvrNxYTUrg+1OIrjj/TCr2r4A/2dU4WP0/OpvGNy1ZU5fDaQXJuuW7xzGhiHpXRjjUoGBiPF2Qp4elaIPv3AGveNI09gFgYXsGJDVfCXAYSRytjaQ+vdIVAYJHZWtchZuKBJkryLzoFjbahdBASOkFSFSuLcjC2WY0HqMOmFQBWt8qZjsotcxGq/YxAyMymfi1tzU1MW2Ng03I3k2DJ88rQOEz6ujAXJFyEngXzLhwNPNJmnM9ruEwURR2ETr+kkygugTM9C/JqUDp0iwFWZxG1vb6IBSduFO9tmfvpoNm73vLkpzEq7i3m5ElL6F6BCc+c/RVNpPBvaf3z/WgFaDkTVsy4XRZ4ZMMqLvgt1vys/GWi9JS4a+6oVmCBUD+EqPD64RQlH9ppZiGO8ci1LnMy/AZSKvDM8N4ord8y9Nr19dGZV0k+3p/OsMXmPfwiBqsRLfwLpOvv/z9tJk/xF7H/5OwTeZm77mmdafibSB/wP6KM0hCQxl1KJcHI70kID4N1asX6yEOkALGu9/FDDvIB78n63Lkdr5Yjq9mukzl9dSij57Rjt6t3fB9vXWRJEMx/qHWXZ933I7Yl4BDpIwD6eikD5hVrH2gngHKC3pZ2E6D/I6UnjJjg3bjrIOgGi3Q08ZNzBpw2KLQFmfl8CIZPF17ddt+NUUouqc1CAKc9FTSLHuyilZeKO2p2AhD8yI6STae+hHdjPJQwdpDLQLYIdhqmyW26lQC6z54VGFY48xDvPPyAUNyJId4PSU+cswfPF/OuB9nJ3RSTBYCdBCSqOad1JcMBCj4Cc7Ik4Rwvs18AAAAASUVORK5CYII=\"\n\n//# sourceURL=webpack://kd-login/./src/img/logo-white-en.png?");

/***/ }),

/***/ "./src/img/logo-white.png":
/*!********************************!*\
  !*** ./src/img/logo-white.png ***!
  \********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALAAAAA2CAMAAABQgOOpAAAAq1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Nr6iZAAAAOHRSTlMAuvN4PRUFzcj5TjkRjy+hbubjs5NlUu0emokJqEbKD781Md2GGvXo19JzXH4lDYNqKV9BIayvV9A2C6YAAAUGSURBVGje7dnpsppAEAXgIyowboioBJcbFcV93877P1kYBHWu5MZUKhWtyvcHKRGa6aaHKfGJ3i07vdO6iDeRm/Cid8A7mAsm3D5eX1Hwxh7h5U15z8Kry1FVwotbU7XHi+tQtcOLc6ja4MVZVM3x4rJU5fDi+lSIFV5dj/fKeHlbjTeT73h9e5cJf/lF7RxPp9MOn3RJL7rtzaaEKTNAhlP8ZcsML6wvprldkNpE1uQmbuftEtkCNHaeTq44Q2prGzzI+c0vQm6sy4vzCD+l10lqghTNhzZeDDcDn/ZgRy4GBbI+WF5yUnigPtJzbiEN0npTV50S8mVDM8p5PKc4IWkszwzNcFVpNm1y1yzMqToipAd8kATctSSDnWjb41FuPHnKeqJDM/nYAvZjSuM9nlAqM9TSgYZaOBNeTMtUVaOE88EEscWHpGkfETeINjLgITMP3A/kx7wY538d7lqTl+pC2gj5o7kOqc2YpW/Igm7wQ9cd2nr89bcHKyhqFnDYb5FxkMjUIB0q0crtcrztofx03y16Gkm7oSdVMGHIr+ajOedYEexbnKFOjnRBD22XGTxp5e8wF+43mFUkzLpcYU6ikzSEyGxGKPlnGEwY+Ep8YOCVrzxByZEnZPVAHw67MOmiQvZaBrnG89YMOFMe/6oTiF71cEnuzhE0Z+GOxoSGL0RJ7zlUOWWXZhtAnbkmj6gxD40ZzBmplfCsrUkvb3Ko42rqds7f77MwPwVDPD3C+XFribomCZKBJs3DpEVBmSytuSjRxpJsYTSQKm1IpWyq2X0sC+HOwyN7NCq3Kw5qn3TbwNM1rOtIzEjRhkLzcWKhSwdN0uhcydazY6opEt8XLr18dJE1eewjNmoqOpTVoXSJJ1nkBIoljYLN7JRDrB/eUKvGhUsK4yaLiN61NB4HiFUcctKqIEXHhfR8H95emyHpJp/zkJqMFVDIhhbDYVaq6rgqavHcqJpQ8/aNamKT73taMtvppTvf7MxvznQzPtLU5aujJ1G4+GTgpi9hWvN2uxbYsTEbQLuPSCNQr7XH78maFxOSU/Oijsih3w8o+kssT45Eak6kcE2PSzaQrstrReRuH7EKFrk7xRJ+W36H+CGK8hEGePWNnI5m/RlV3aTIbbIKqT8cbqCaBTpiC01HIscV/sxM4+zSV8bRpTXhIVEgrQKzheFwaFFyh6FFO76dGplFpO3L21BYBpB8ecLVxs6ptkjVMDXNTM1eixT9aCGVkQPgykFLLMKdAT2Z4DEjHq5GPjm8DRxr6mJmasneFr5x7kzugUGce4+ftJBi1GOkN8ID3ST9NtzopzNxm3kPxaZJTuUqY+SR3pRiQXbySSVNlSZfJz3ltELmrcqQf5a5+oZI+7tix/OX69AeFHo+VBTylZzk5myQIpsP6cCcCX8YUFR1wSks0r28J60M8pi/OdhqUWyjvdVoNIoK6NhDqhZHafXAK7UqOvyJSlTUgW+evIVN0qygQlrQyySPn87JtOHoKuHnROMnrwYGUpi8MnHPZzqhA9ttCZEMXXm1+WUtUqh9REPWD/igjJsK/UU1lrW0iQ7FoSFlJ6KAFJo6J9wUf2KpZG0dRV4mi1ERrhBZVT47qA2+JhgTNa8E1ZHS2NnjlwG/A6Uk3oHy0L2FHmMZvIfrxPEG/yHdT81vUg///fffv6a3bLul4320GGrhfdgM2Xgfbxfw25XECz50PwD/YjZW7SzRcAAAAABJRU5ErkJggg==\"\n\n//# sourceURL=webpack://kd-login/./src/img/logo-white.png?");

/***/ }),

/***/ "./src/img/logoEnUs.png":
/*!******************************!*\
  !*** ./src/img/logoEnUs.png ***!
  \******************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64, \"\n\n//# sourceURL=webpack://kd-login/./src/img/logoEnUs.png?");

/***/ }),

/***/ "./src/img/logoZhCn.png":
/*!******************************!*\
  !*** ./src/img/logoZhCn.png ***!
  \******************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64, \"\n\n//# sourceURL=webpack://kd-login/./src/img/logoZhCn.png?");

/***/ }),

/***/ "./src/img/resetSuccess.png":
/*!**********************************!*\
  !*** ./src/img/resetSuccess.png ***!
  \**********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64, \"\n\n//# sourceURL=webpack://kd-login/./src/img/resetSuccess.png?");

/***/ }),

/***/ "./src/img/voice-logo-gray.png":
/*!*************************************!*\
  !*** ./src/img/voice-logo-gray.png ***!
  \*************************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAMAAAApB0NrAAAAYFBMVEUAAADm6vHn6vHm6vDl6fHm6fHm6fDl6vHm6vHo7PHs7Pbt7f/////m6vHp6fTq6vTl6fB/k7zQ1+aUpceDlr6drcvh5e7CzN62wtjX3umZqcmLncPJ0uKxvdWpttGIm8Df6D3ZAAAAEHRSTlMA5oHM+Ovgsm83Gw4Gyy8wgNRPjwAAARBJREFUOMuFVFmugzAMdBZKSlnSLKSULve/5dMLVToWqJkfC2uw7Bk7hBhlq4QWqpUjHeIiT/aLk7zsGL1pLEdjek7pBrvH0CHlLOwRxBko2h5DF1KHVThE92lXQfLmg79hT1vjBlL36GYX75AxWZcGqsQcIlRq/nWS8JN3OTgPOUlEqG6Yc5gDKk40WcC1RMBIssqR1FY5LakqR5EABnCAJUjjVIWDk2mss7oyu1uhDvYTU9EwRegH50q+eOETzMWtSB9PEzdjhC/3fuTdeLwd6sz9SuG5zMszJO4XN2N5rWF9LdwK3B/UmO8PmZ8cs+3z8IMz9Lu7uG7Y3UX1vup3Wr/3+rtRf38OMZV3bML0H2tuPO5s+UEdAAAAAElFTkSuQmCC\"\n\n//# sourceURL=webpack://kd-login/./src/img/voice-logo-gray.png?");

/***/ }),

/***/ "./src/img/voice-logo.png":
/*!********************************!*\
  !*** ./src/img/voice-logo.png ***!
  \********************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAMAAAApB0NrAAAAZlBMVEUAAABEj/tEkPtEkPtDj/tDj/pDj/tFkfpGkPpGkf9Ml/9Jkv9Ej/tDkPtDj/r////H3v1ppftJkvrZ6P6Zw/z6/P6Ctfv1+f7q8v7W5v3P4v1cnvru9f6x0PyiyPyJuPt2rfttqPseMqeDAAAADnRSTlMA5syB6+CybzcvGw7592qD5KkAAAELSURBVDjLlVTtDoIwDOw2ZII4N5AB4ge8/0saJ85rIC7enybLUdq7toQoVC5FJWSuCtrEQe3MFzt1WFN0ZjgyTRylNGvIEil7YbYg9kA5mm0cI6nELBzi8zus5dx0zRlrWjqCp4t1tbMXeNFBlwyy2BAsZMpeOin4qHEhuAbeFBGhum0dQt2i4kSFAZxiBBSkkhxFeZKTk0xyJAlgAAdYgirsKnKwswrz9C727nrIg/XYR9TwYaEe7MsP0YvBY1+oz+AXT/2A+jCd5+sUZmO6zqgz98t397Ee753nfnEzxlvf9reRW4Hzgxrz+SH9k6Nxnrc5cr0Xpzf4XqT3K72n6X1P343/7k/6jj0BsAs11Axx7MQAAAAASUVORK5CYII=\"\n\n//# sourceURL=webpack://kd-login/./src/img/voice-logo.png?");

/***/ }),

/***/ "./src/img/warmming.png":
/*!******************************!*\
  !*** ./src/img/warmming.png ***!
  \******************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAt1BMVEUAAAD3rlz8pFL4q1n5qFX/m0n0t2b1sWD9olD1tGL2sF75pVP+oE3+nkv1tmT3rl/7rVv0sWD1tWTzuWf0tWP1sV/5qVf1tmT+n03/n0z8n0/4o1X4q1n8pFP3rVv+nkzyuGj5qFf/mUf4qlj+oE3/nkr/mkj3r17/mkn4q1n8ok//nEjzuGn4rVz7plX/mUf5qVn5qVf/n0z5qFXyt2n/mUj4pVP5pVT7o1H2t2f2t2L6pFL8pVPaOeBsAAAAPXRSTlMA5ubm5ubm5ubm5ubm5uYZHi3VxLSldUxMOS0QxMTi4tzc3NvV1cTDw7q0tKysrKynlJSBdXVuW0g5OTUiw87lZgAAASBJREFUKM910YmugjAQBdDbZxFFhbIICu77vu/6/9/1WoS2mngyCffOJIQESPF5OxkMJttzjG+NmSHNGtCxpfFhySA1xzWjZujGTXnr1t4OSXLIYje7slE14wBOnkcMwqLEVUt8kQBJNc18FuAaJekFvFQT39z+k57AU7U2EP8pN+Cm1Rih1q7AVashNhXlAly0ukGL0gqt8KGUHoEjVdroa20P7LXax7Cg7ICdVodoaW0OzLXawpqQAinwIYR0XLdDlDVC8lMIl/zkAlNLqjtOXbUpgMgyLTNliV/GM1+IXQQuMMvmmziauQAC88oZ8do8ewypR9btsi3wB88PZO6eXbSLKR5E9u6QWFD8EDDoIl+d/Ajf3NPK7/X81clF7h8z5BvFKFM1PAAAAABJRU5ErkJggg==\"\n\n//# sourceURL=webpack://kd-login/./src/img/warmming.png?");

/***/ }),

/***/ "./src/img/xiala.png":
/*!***************************!*\
  !*** ./src/img/xiala.png ***!
  \***************************/
/***/ (function(module) {

eval("module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAKEUlEQVR4Xu2dR6/1VhmFV2bAAIQEM4ZIDJCQECDBAIQoShAhoojeu8QAJgiJUUCKMuEX0HsVkEBCEnrvvST03nvovWjDvkLhu+V4+fU59l7PmX773fb7rP1cf/axfc4THwhA4EQC58EGAhA4mQCCsDogcAoBBGF5QABBWAMQ8AhwBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIIEhI0LTpEUAQjxtVIQQQJCRo2vQIIIjHjaoQAggSEjRtegQQxONGVQgBBAkJmjY9AgjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIIEhI0LTpEUAQjxtVIQQQJCRo2vQIIIjHjaoQAggSEjRtegQQxONGVQgBBAkJmjY9AgjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIIEhI0LTpEUAQjxtVIQQQJCRo2vQIIIjHjaoQAggSEjRtegQQxONGVQgBBAkJmjY9AgjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIIEhI0LTpEUAQjxtVIQQQJCRo2vQIIIjHjaoQAggSEjRtegQQxONGVQgBBAkJmjY9AgjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIjCbI7STdTdLtJd1S0qclfVXSNZKuD8l0jW3eXNIzJN1Z0l0kfUvSRyVdJenKNe7w0T6NJMhDJb1U0o2PAf45Sc+VdPmawxh0354m6emSbnNCf6+S9Oi19j6KIFdLumAHyM/pouwwlCEFBBrvi3eY51mSnrfDuL0PGUGQZ06EiyT7WWa7ynG0Nw+X9Lr97NruW9m6IDeVdK2kW+3e8n9GIslEYBOHT5WjTf8aSY+cuJ3Fh29dkPP7CbgDCkkcamfXOHK0Wb92ynnK2VtdaMTWBblU0rNnsEGSGfCOKXXlaFP9VtLNandn/mxbF+QKSRfOxIAkMwH28jlytCnevuOFlpq93XGWrQsyN5QjTEiy44I5YVhFDqvMYOuCtCsf7eSu4rPKgCoaW3iOCjkuk/TAhffTmn7rgtykn6Tf1er+3CIkmQayQo7rJF0k6ZvTNr2f0VsXpFG6Q5fkFkXIkGQ3kBVyfFnSQyR9abdN7n/UCII0ag+W9IZCfEhyOswqOdrtQV8szK18qlEEaWDaX6LXFxJCkuNhVsjxlZ7XquVo7Y8kSOun/UWqvF0BSW4oSYUc7e7q9sfsC4V/zBabajRBGqiHSXptITEk+S/MCjnat+VNjs8X5rPoVCMK0oBVXv49WhztdvnUT4UcX+9ytEcPNvMZVRAkqVuCFXJ8o8vx2brd2s9MIwvSCD5C0qsLUab9d6tKjnZu+JnCHPY21eiCNJDtFur21FrVJ0WSCjnal3/tnGOTcrQFkyBI6/NRkl5ZZUjA8yQVcrTnzpsc7b0Am/2kCNICas89v6IwqVGPJBVyfLvL8alC3geZKkmQBvgxkl5eSHo0SSrk+E6X45OFnA82VZogDfRjJb2skPgoklTI8d0uxycK+R50qkRBkOTcJVchx/e6HB8/6Iou3niqIA3j4/p7tKqQbvVIUiVHu5T7sSqYa5knWZCWweMlvaQwjK1JUiHH9/uRYzg5ki7znubAEyS9OFCSCjl+0OVorxEd8pN+BDkK9YmSXlSY8NqPJBVy/LDL8ZFCbqubCkH+F8mTJL2wMKG1SlIhx4+6HB8u5LXKqRDkhrE8WdILCpNamyQVcvy4y/GhQk6rnQpBzo1mVEkq5PhJl+ODq13RxTuGIMcDfYqk5xeyPvSRBDnMMBHkZHCjHEkq5PhpP3J8wFxnmy1DkNOj2/qJe4UcP+tyvH+zq3zGjiPI2fC2egm4Qo6fdznedzamMUcgyG65bu0b9wo5ftHleO9uiMYchSC757qVe7cq5Phll+M9u+MZcySCTMt17bfKV8jxq/6myng52tJAkGmCtNFrfeiqSo72mOy7p2MZswJBvFzX9ox7hRy/7v+tepeHZMwqBPFzXcvbUirkuL7L8U4fx5iVCDIv10O/d6tCjt90Od4xD8WY1QgyP9dDvQu4Qo72w5ntnKP9PiCfYwggSM2y2Pdb5Svk+F2/WoUcp6wBBKkRpM2yr98nqZDj912Oa+raH3MmBKnNdelfuqqSo8l8dW3rY86GIPW5PkjSGwunPbpVvkKOP/Qj3VWF+zf0VAiyTLztJ43fVDh1+22Si2fO98cux9tmzhNVjiDLxf0ASW9ebvpJM/+py3HlpCoGc6vJwmvg/pIuW3gbZ03/5y7HFWcN5N/PJcARZPlVcZGktyy/mWO38Jd+tQo5zAAQxAQ3sex+kt46sWbu8L92Ofa93bn7vap6BNlfHBdK2tdf8iZHu5R7qCPX/qguvCUEWRjw/01/X0lLnyj/rctx+X5bG3NrCLL/XO8jaanvIf7e5Tj0hYH9U11oiwiyENgzpr1ggW+y/9HlWMul5cOQLd4qghQDnTDd+ZKq7oX6Z5ej8svJCa2MOxRBDpvtvSXNfQ7jX/1qFXIskCWCLAB14pT3kjTnSb52g2TlvV8Td3/s4QiyjnzvKcl5FvypxW+jXweNFe0FgqwnjHtMfJtI+w3yO61n98fcEwRZV653l7TLmwyv7Sfl161r98fbGwRZX6a37b/jfscTdq39xnt7NqT9JjmfhQkgyMKAZ0zfHrxqR5RbS7pRn+eSif8Nm7F5ShsBBGEdQOAUAgjC8oAAgrAGIOAR4AjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIIEhI0LTpEUAQjxtVIQQQJCRo2vQIIIjHjaoQAggSEjRtegQQxONGVQgBBAkJmjY9AgjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIIEhI0LTpEUAQjxtVIQQQJCRo2vQIIIjHjaoQAggSEjRtegQQxONGVQgBBAkJmjY9AgjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yOAIB43qkIIIEhI0LTpEUAQjxtVIQQQJCRo2vQIIIjHjaoQAggSEjRtegQQxONGVQgBBAkJmjY9AgjicaMqhACChARNmx4BBPG4URVCAEFCgqZNjwCCeNyoCiGAICFB06ZHAEE8blSFEECQkKBp0yPwbwv6G9gX5EuWAAAAAElFTkSuQmCC\"\n\n//# sourceURL=webpack://kd-login/./src/img/xiala.png?");

/***/ })

}]);