/*
 * 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([[984],{

/***/ "./src/page/web/FindPassword.less":
/*!****************************************!*\
  !*** ./src/page/web/FindPassword.less ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"formContainer\":\"FindPassword_formContainer_2v7d\",\"title\":\"FindPassword_title_lFW3\",\"content\":\"FindPassword_content_1V8G\",\"radio\":\"FindPassword_radio_2wcp\",\"graphicContainer\":\"FindPassword_graphicContainer_1jeI\",\"graphicCode\":\"FindPassword_graphicCode_DTqY\",\"phoneCodeContainer\":\"FindPassword_phoneCodeContainer_27Gb\",\"btn\":\"FindPassword_btn_15N0\",\"disable\":\"FindPassword_disable_1-0d\",\"showPhoneCode\":\"FindPassword_showPhoneCode_dhLd\",\"successPanel\":\"FindPassword_successPanel_2qiy\",\"successImage\":\"FindPassword_successImage_18b0\",\"text\":\"FindPassword_text_23QG\",\"count\":\"FindPassword_count_3Tkq\",\"successSendEmailPanel\":\"FindPassword_successSendEmailPanel_1QwJ\",\"backLogin\":\"FindPassword_backLogin_yT2d\",\"hyperlink\":\"FindPassword_hyperlink_2LSA\",\"switchVirBtn\":\"FindPassword_switchVirBtn_3F9P\"});\n\n//# sourceURL=webpack://kd-login/./src/page/web/FindPassword.less?");

/***/ }),

/***/ "./src/page/web/FindPassword.jsx":
/*!***************************************!*\
  !*** ./src/page/web/FindPassword.jsx ***!
  \***************************************/
/***/ (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 */   CheckPhonePanel: function() { return /* binding */ CheckPhonePanel; },\n/* harmony export */   ModifyPanel: function() { return /* binding */ ModifyPanel; },\n/* harmony export */   SuccessPanel: function() { return /* binding */ SuccessPanel; },\n/* harmony export */   SuccessSendEmailPanel: function() { return /* binding */ SuccessSendEmailPanel; }\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_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_from_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_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_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_date_to_primitive_js__WEBPACK_IMPORTED_MODULE_10__ = __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_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_date_to_primitive_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_function_bind_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.function.bind.js */ \"../../node_modules/core-js/modules/es.function.bind.js\");\n/* harmony import */ var core_js_modules_es_function_bind_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_bind_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_create_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.object.create.js */ \"../../node_modules/core-js/modules/es.object.create.js\");\n/* harmony import */ var core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_create_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_17__ = __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_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.get-prototype-of.js\");\n/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.object.set-prototype-of.js */ \"../../node_modules/core-js/modules/es.object.set-prototype-of.js\");\n/* harmony import */ var core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_set_prototype_of_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_20__ = __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_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.reflect.construct.js */ \"../../node_modules/core-js/modules/es.reflect.construct.js\");\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_22__ = __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_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_23__ = __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_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_24__ = __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_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_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 core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_26__ = __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_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_timers_js__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! react */ \"../../node_modules/react/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\");\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var _util_encrypt_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @/util/encrypt.js */ \"./src/util/encrypt.js\");\n/* harmony import */ var _common_LoginWrapper__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./common/LoginWrapper */ \"./src/page/web/common/LoginWrapper.jsx\");\n/* harmony import */ var _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./FindPassword.less */ \"./src/page/web/FindPassword.less\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./base */ \"./src/page/web/base/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../store */ \"./src/store.js\");\n/* harmony import */ var _KingdeeCloud__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./KingdeeCloud */ \"./src/page/web/KingdeeCloud.jsx\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../i18n/intlApi */ \"./src/i18n/intlApi.js\");\n/* harmony import */ var _util_toolUtils__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @/util/toolUtils.js */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../img/loading.gif */ \"./src/img/loading.gif\");\n/* harmony import */ var _img_loading_gif__WEBPACK_IMPORTED_MODULE_39___default = /*#__PURE__*/__webpack_require__.n(_img_loading_gif__WEBPACK_IMPORTED_MODULE_39__);\n/* harmony import */ var _img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../img/resetSuccess.png */ \"./src/img/resetSuccess.png\");\n/* harmony import */ var _img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_40___default = /*#__PURE__*/__webpack_require__.n(_img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_40__);\n/* harmony import */ var _img_newResetSuccess_png__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../img/newResetSuccess.png */ \"./src/img/newResetSuccess.png\");\n/* harmony import */ var _img_newResetSuccess_png__WEBPACK_IMPORTED_MODULE_41___default = /*#__PURE__*/__webpack_require__.n(_img_newResetSuccess_png__WEBPACK_IMPORTED_MODULE_41__);\n/* harmony import */ var _const_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! @/const.js */ \"./src/const.js\");\n/* harmony import */ var _util_dataUtil_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! @/util/dataUtil.js */ \"./src/util/dataUtil.js\");\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! @kdcloudjs/kdesign */ \"../../node_modules/@kdcloudjs/kdesign/es/radio/index.js\");\n/* harmony import */ var _page_web_base_Telephone_index__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! @/page/web/base/Telephone/index */ \"./src/page/web/base/Telephone/index.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); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure 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 _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 _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\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 _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\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 _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); }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\n\n\n\n\n\n\n// import eventBus from '../../eventBus'\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar virtualAccount = ['administrator', 'cosmic', 'security', 'auditor'];\nvar FindPassword = /*#__PURE__*/function (_Component) {\n  _inherits(FindPassword, _Component);\n  function FindPassword(props) {\n    var _this;\n    _classCallCheck(this, FindPassword);\n    _this = _callSuper(this, FindPassword, [props]);\n    _this.state = {\n      showModifyPanel: false,\n      showSuccessPanel: false,\n      showSuccessSendEmailPanel: false,\n      isVirtualACT: false\n    };\n    _this.showModifyPanel = _this.showModifyPanel.bind(_assertThisInitialized(_this));\n    _this.showSuccessPanel = _this.showSuccessPanel.bind(_assertThisInitialized(_this));\n    _this.showSuccessSendEmailPanel = _this.showSuccessSendEmailPanel.bind(_assertThisInitialized(_this));\n    _this.isShowModifyPanel = _this.isShowModifyPanel.bind(_assertThisInitialized(_this));\n    return _this;\n  }\n  _createClass(FindPassword, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var _this2 = this;\n      setTimeout(function () {\n        // eventBus.pub_focusInput({ name: 'account' })\n        _this2.props.dataPipeModel && _this2.props.dataPipeModel.sendData({\n          type: 'FocusInput',\n          name: 'account'\n        });\n      }, 0);\n      this.isShowModifyPanel();\n    }\n  }, {\n    key: \"isShowModifyPanel\",\n    value: function isShowModifyPanel() {\n      var userKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getQueryString)('userKey');\n      this.setState({\n        showModifyPanel: userKey !== null\n      });\n    }\n  }, {\n    key: \"showModifyPanel\",\n    value: function showModifyPanel() {\n      this.setState({\n        showModifyPanel: true\n      });\n    }\n  }, {\n    key: \"showSuccessPanel\",\n    value: function showSuccessPanel() {\n      this.setState({\n        showModifyPanel: false,\n        showSuccessPanel: true\n      });\n    }\n  }, {\n    key: \"showSuccessSendEmailPanel\",\n    value: function showSuccessSendEmailPanel() {\n      this.setState({\n        showSuccessSendEmailPanel: true\n      });\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_43__.resetStore)(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"]);\n      _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('modifyPanel', '');\n      _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('newResetPws', '');\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$state = this.state,\n        showModifyPanel = _this$state.showModifyPanel,\n        showSuccessPanel = _this$state.showSuccessPanel,\n        showSuccessSendEmailPanel = _this$state.showSuccessSendEmailPanel;\n      var renderPanel;\n      if (_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].modifyPanel) {\n        renderPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(ModifyPanel, {\n          showSuccessPanel: this.showSuccessPanel,\n          dataPipeModel: this.props.dataPipeModel\n        });\n      } else if (showModifyPanel) {\n        renderPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(ModifyPanel, {\n          showSuccessPanel: this.showSuccessPanel,\n          dataPipeModel: this.props.dataPipeModel\n        });\n      } else if (showSuccessPanel) {\n        renderPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(SuccessPanel, {\n          dataPipeModel: this.props.dataPipeModel\n        });\n      } else if (showSuccessSendEmailPanel) {\n        renderPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(SuccessSendEmailPanel, {\n          dataPipeModel: this.props.dataPipeModel\n        });\n      } else {\n        renderPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(CheckPhonePanel, _extends({\n          showSuccessPanel: this.showSuccessPanel,\n          showModifyPanel: this.showModifyPanel,\n          showSuccessSendEmailPanel: this.showSuccessSendEmailPanel,\n          dataPipeModel: this.props.dataPipeModel\n        }, this.props));\n      }\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_common_LoginWrapper__WEBPACK_IMPORTED_MODULE_30__[\"default\"], _extends({\n        selectType: \"findPassword\"\n      }, this.props), renderPanel);\n    }\n  }]);\n  return FindPassword;\n}(react__WEBPACK_IMPORTED_MODULE_27__.Component);\nvar CheckPhonePanel = /*#__PURE__*/function (_Component2) {\n  _inherits(CheckPhonePanel, _Component2);\n  function CheckPhonePanel(props) {\n    var _this3;\n    _classCallCheck(this, CheckPhonePanel);\n    _this3 = _callSuper(this, CheckPhonePanel, [props]);\n    _this3._isMounted = false;\n    _this3.oldAccount = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account;\n    _this3.getVerifyCode = _this3.getVerifyCode.bind(_assertThisInitialized(_this3));\n    _this3.handleNextBtnClick = _this3.handleNextBtnClick.bind(_assertThisInitialized(_this3));\n    _this3.verifyPhone = _this3.verifyPhone.bind(_assertThisInitialized(_this3));\n    _this3.handleReSendPhoneCode = _this3.handleReSendPhoneCode.bind(_assertThisInitialized(_this3));\n    _this3.validateFormData = _this3.validateFormData.bind(_assertThisInitialized(_this3));\n    _this3.resetPhoneCodeState = _this3.resetPhoneCodeState.bind(_assertThisInitialized(_this3));\n    _this3.handleEnterKeyDown = _this3.handleEnterKeyDown.bind(_assertThisInitialized(_this3));\n    _this3.handleAccountInputBlur = _this3.handleAccountInputBlur.bind(_assertThisInitialized(_this3));\n    _this3.verifyPhoneCodeAndResetPwd = _this3.verifyPhoneCodeAndResetPwd.bind(_assertThisInitialized(_this3));\n    _this3.resetPassword = _this3.resetPassword.bind(_assertThisInitialized(_this3));\n    _this3.getPublicKey = _this3.getPublicKey.bind(_assertThisInitialized(_this3));\n    _this3.valueChange = _this3.valueChange.bind(_assertThisInitialized(_this3));\n    _this3.handleRadioChange = _this3.handleRadioChange.bind(_assertThisInitialized(_this3));\n    _this3.handleLoginTypeClick = _this3.handleLoginTypeClick.bind(_assertThisInitialized(_this3));\n    _this3.handleVirtualACTClick = _this3.handleVirtualACTClick.bind(_assertThisInitialized(_this3));\n    _this3.isInitAccount = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.validateEmail)(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account) || (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.isPhoneNumber)(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account) || (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.isAdministrator)(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account);\n    _this3.loadingStyle = {\n      height: '30px',\n      width: '30px',\n      borderLeftColor: '#FFFFFF'\n    };\n    _this3.hidePhoneLogin = props.configuration.isGlobalDeploy === 'true' || props.configuration.isGlobalDeploy === true;\n    _this3.state = {\n      isLoading: false,\n      verifyCodeImg: (_img_loading_gif__WEBPACK_IMPORTED_MODULE_39___default()),\n      showPhoneCode: false,\n      vCodeTime: 0,\n      isVirtualAccount: false,\n      verificationMode: _this3.hidePhoneLogin ? 'email' : 'SMS',\n      // 'email'\n      isPhoneLogin: true,\n      hidePhoneLogin: _this3.hidePhoneLogin,\n      // 星空海外版标识(isGlobalDeploy)\n      isVirtualACT: virtualAccount.includes(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account) // 虚拟管理员账号\n    };\n    return _this3;\n  }\n  _createClass(CheckPhonePanel, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this._isMounted = true;\n      this.getVerifyCode();\n      document.addEventListener('keydown', this.handleEnterKeyDown);\n      if (!this.state.isVirtualACT && !(0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.isPhoneNumber)(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account)) {\n        _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('account', '');\n      }\n      (0,_util_dataUtil_js__WEBPACK_IMPORTED_MODULE_43__.resetStore)(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"]);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this._isMounted = false;\n      clearInterval(this.vCodeTimer);\n      document.removeEventListener('keydown', this.handleEnterKeyDown);\n    }\n  }, {\n    key: \"handleEnterKeyDown\",\n    value: function handleEnterKeyDown(e) {\n      if (e.keyCode === 13) {\n        this.handleNextBtnClick();\n      }\n    }\n  }, {\n    key: \"getVerifyCode\",\n    value: function getVerifyCode() {\n      var _this4 = this;\n      this.setState({\n        verifyCode: (_img_loading_gif__WEBPACK_IMPORTED_MODULE_39___default())\n      });\n      // eventBus.pub_focusInput({ name: 'verifyCode' })\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'verifyCode'\n      });\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getVerifyCodeByPhone({\n        phone: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        language: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang,\n        v: (0,_util__WEBPACK_IMPORTED_MODULE_33__.getUid)(false, 8)\n      }).then(function (data) {\n        if (!_this4._isMounted) return;\n        _this4.setState({\n          verifyCodeImg: data.content || (_img_loading_gif__WEBPACK_IMPORTED_MODULE_39___default())\n        });\n        _this4.verifyCodeToken = data.vCode;\n        _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('randomCode', data.vCode);\n      });\n    }\n  }, {\n    key: \"validateFormData\",\n    value: function validateFormData(isSendPhoneCode) {\n      var account = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        verifyCode = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].verifyCode,\n        phoneCode = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].phoneCode,\n        newPassword = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].newPassword,\n        confirmPassword = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].confirmPassword;\n      if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEmpty(account)) {\n        var title = 'accountError';\n        var data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key051');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: title,\n          data: data\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEmpty(verifyCode)) {\n        var _title = 'verifyCodeError';\n        var _data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key046');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title,\n          data: _data\n        });\n        return false;\n      }\n      if (isSendPhoneCode || !this.state.showPhoneCode) return true;\n      if (this.state.showPhoneCode && _util__WEBPACK_IMPORTED_MODULE_33__.validate.isEmpty(phoneCode)) {\n        var _title2 = 'phoneCodeError';\n        var _data2 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key047');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title2,\n          data: _data2\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEmpty(newPassword)) {\n        // 验证密码不为空。两次密码相同。长度不超过20\n        var _title3 = 'newPasswordError';\n        var _data3 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key048');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title3,\n          data: _data3\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEmpty(confirmPassword)) {\n        var _title4 = 'confirmPasswordError';\n        var _data4 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key056');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title4,\n          data: _data4\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.checkLength(newPassword, 0, 20) === 1) {\n        var _title5 = 'newPasswordError';\n        var _data5 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key049');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title5,\n          data: _data5\n        });\n        return false;\n      } else if (!_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEqual(newPassword, confirmPassword)) {\n        var _title6 = 'confirmPasswordError';\n        var _data6 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key045');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title6,\n          data: _data6\n        });\n        return false;\n      }\n      return true;\n    }\n  }, {\n    key: \"handleNextBtnClick\",\n    value: function handleNextBtnClick() {\n      if (!this.validateFormData()) return false;\n      this.setState({\n        isLoading: true\n      });\n      var showPhoneCode = this.state.showPhoneCode;\n      if (!showPhoneCode) {\n        this.verifyGraphicCode();\n      } else {\n        this.verifyPhoneCodeAndResetPwd();\n      }\n    }\n  }, {\n    key: \"verifyPhoneCodeAndResetPwd\",\n    value: function verifyPhoneCodeAndResetPwd() {\n      this.getPublicKey(this.resetPassword);\n    }\n  }, {\n    key: \"getPublicKey\",\n    value: function getPublicKey(callback) {\n      var _this5 = this;\n      // let userKey = getQueryString('userKey')\n      // let pre = userKey ? userKey.slice(0, 11) : store.account\n      // let accessKey = pre + getUid(false, 16 - pre.length)\n      var accessKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getQueryString)('userKey') || _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account + (0,_util__WEBPACK_IMPORTED_MODULE_33__.getUid)(false, 16 - _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account.length);\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getPublicKey({\n        accessKey: accessKey,\n        language: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId\n      }).then(function (data) {\n        if (data.success !== true) {\n          var error = {\n            message: data.errorMessage,\n            level: data.level || 1\n          };\n          //  eventBus.pub_showNotification(error)\n          _this5.props.dataPipeModel && _this5.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          return false;\n        }\n        callback({\n          publicKey: data.publicKey,\n          accessKey: accessKey\n        });\n      });\n    }\n  }, {\n    key: \"resetPassword\",\n    value: function resetPassword(data) {\n      var _this6 = this;\n      var accountId = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId,\n        account = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        newPassword = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].newPassword,\n        lang = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang;\n      var showSuccessPanel = this.props.showSuccessPanel;\n      var encryptedPassword = (0,_util_encrypt_js__WEBPACK_IMPORTED_MODULE_29__.encrypt)(data.publicKey, newPassword);\n      var formData = {\n        accountId: accountId,\n        accessKey: data.accessKey,\n        password: encryptedPassword,\n        language: lang,\n        randomCode: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].randomCode,\n        phone: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        code: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].phoneCode\n      };\n      _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].modifyPanel && Object.assign(formData, {\n        passwordWarning: true\n      });\n      var userKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getQueryString)('userKey');\n      if (userKey !== null) {\n        // 通过邮箱的方式找回密码，在地址栏会有一个userKey参数\n        formData.type = 'email';\n        formData.userKey = userKey;\n        var currentLangKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getNameWithCurrentEnvrionment)(_const_js__WEBPACK_IMPORTED_MODULE_42__.CURRENT_LANG);\n        var currentLocale = _util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.myLocalStorage.getItem(currentLangKey) || 'zh_CN';\n        formData.language = currentLocale;\n      } else {\n        formData.phone = account;\n      }\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.verifyPhoneCodeAndResetPwd(formData).then(function (data) {\n        if (!data.success) {\n          var error = {\n            message: data.msg || data.error,\n            level: data.level || 1\n          };\n          //  eventBus.pub_showNotification(error)\n          setTimeout(function () {\n            _this6.props.dataPipeModel && _this6.props.dataPipeModel.sendData({\n              type: 'ShowNotification',\n              error: error\n            });\n          }, 0);\n          if (_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].newResetPws) {\n            if (data.overtime) {\n              window.location.hash = 'kingdeeCloud';\n            }\n          } else if (data.overtime) {\n            setTimeout(function () {\n              window.location.reload(); // 两秒之后刷新页面\n            }, 2000);\n          }\n          _this6.setState({\n            isLoading: false\n          });\n        } else {\n          _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('modifyPanel', '');\n          showSuccessPanel();\n          setTimeout(function () {\n            window.location.hash = 'kingdeeCloud';\n          }, 3000);\n        }\n      });\n    }\n  }, {\n    key: \"valueChange\",\n    value: function valueChange(name) {\n      var title = 'confirmPasswordError';\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: title,\n        data: '',\n        name: name\n      });\n    }\n  }, {\n    key: \"verifyGraphicCode\",\n    value: function verifyGraphicCode() {\n      var _this7 = this;\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.verifyGraphicCode({\n        phone: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        vCode: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].verifyCode,\n        token: this.verifyCodeToken,\n        language: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang\n      }).then(function (data) {\n        if (data.success === false) {\n          var error = {\n            message: data.msg,\n            level: data.level || 1\n          };\n          //  eventBus.pub_showNotification(error)\n          _this7.props.dataPipeModel && _this7.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          // eventBus.pub_focusInput({ name: 'verifyCode', emptyValue: true })\n          _this7.props.dataPipeModel && _this7.props.dataPipeModel.sendData({\n            type: 'FocusInput',\n            name: 'verifyCode',\n            emptyValue: true\n          });\n          _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('verifyCode', '');\n          _this7.getVerifyCode();\n          _this7.setState({\n            isLoading: false\n          });\n          return false;\n        }\n        if (_this7.state.isVirtualAccount) {\n          _this7.state.verificationMode === 'SMS' ? _this7.verifyPhone() : _this7.verifyEmail();\n        } else {\n          if (_this7.props.configuration.isGlobalDeploy === 'true' || _this7.props.configuration.isGlobalDeploy === true) {\n            _this7.verifyEmail();\n            return;\n          }\n          if (!_this7.state.isPhoneLogin) {\n            _this7.verifyEmail();\n            return;\n          }\n          _this7.verifyPhone();\n        }\n      });\n    }\n  }, {\n    key: \"verifyEmail\",\n    value: function verifyEmail() {\n      var _this8 = this;\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.verifyEmail({\n        email: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId,\n        vCode: this.verifyCodeToken,\n        language: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang\n      }).then(function (data) {\n        _this8.setState({\n          isLoading: false\n        });\n        if (!data.success) {\n          var error = data.msg ? {\n            message: data.msg,\n            level: data.level || 1\n          } : {\n            message: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key106'),\n            level: 2\n          };\n          // : !data.customMsg && (this.props.configuration.isGlobalDeploy !== 'true' && this.props.configuration.isGlobalDeploy !== true)\n          // ? { message: getLangMsg('login.key106'), level: 2 }\n          // : { message: data.msg, level: data.level || 1 }\n          _this8.props.dataPipeModel && _this8.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n        } else {\n          _this8.props.showSuccessSendEmailPanel();\n        }\n      });\n    }\n  }, {\n    key: \"verifyPhone\",\n    value: function verifyPhone() {\n      var _this9 = this;\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.verifyPhone({\n        phone: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId,\n        vCode: this.verifyCodeToken,\n        language: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang\n      }).then(function (data) {\n        _this9.setState({\n          isLoading: false\n        });\n        if (!data.success) {\n          var error = !data.msg ? {\n            message: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key106'),\n            level: 2\n          } : {\n            message: data.msg,\n            level: data.level || 1\n          };\n          _this9.props.dataPipeModel && _this9.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          _this9.resetPhoneCodeState();\n        } else {\n          if (data.hasSent) {\n            var _error = {\n              message: data.msg,\n              level: 1\n            };\n            //  eventBus.pub_showNotification(error)\n            _this9.props.dataPipeModel && _this9.props.dataPipeModel.sendData({\n              type: 'ShowNotification',\n              error: _error\n            });\n          } else {\n            var vCodeTime = data.vCodeTime / 1000 || 60;\n            _this9.setState({\n              vCodeTime: vCodeTime,\n              showPhoneCode: true\n            });\n            _this9.vCodeTimer = setInterval(function () {\n              if (vCodeTime <= 0) {\n                clearInterval(_this9.vCodeTimer);\n              } else {\n                _this9.setState({\n                  vCodeTime: --vCodeTime\n                });\n              }\n            }, 1000);\n            // eventBus.pub_focusInput({ name: 'phoneCode' })\n            _this9.props.dataPipeModel && _this9.props.dataPipeModel.sendData({\n              type: 'FocusInput',\n              name: 'phoneCode'\n            });\n          }\n        }\n      });\n    }\n  }, {\n    key: \"handleReSendPhoneCode\",\n    value: function handleReSendPhoneCode() {\n      if (!this.validateFormData(true)) return false;\n      var vCodeTime = this.state.vCodeTime;\n      if (vCodeTime !== 0) return false;\n      this.verifyGraphicCode();\n    }\n  }, {\n    key: \"verifyPhoneCode\",\n    value: function verifyPhoneCode() {\n      var _this10 = this;\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.verifyPhoneCode({\n        accountId: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId,\n        phone: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        code: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].phoneCode,\n        language: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang\n      }).then(function (data) {\n        _this10.setState({\n          isLoading: false\n        });\n        if (!data.success) {\n          var error = {\n            message: data.msg,\n            level: data.level || 1\n          };\n          _this10.props.dataPipeModel && _this10.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('phoneCode', '');\n          _this10.props.dataPipeModel && _this10.props.dataPipeModel.sendData({\n            type: 'FocusInput',\n            name: 'phoneCode',\n            emptyValue: true\n          });\n          if (data.refreshCode) {\n            _this10.resetPhoneCodeState();\n          }\n        } else {\n          _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('randomCode', data.randomCode);\n          _this10.props.showModifyPanel();\n        }\n      });\n    }\n  }, {\n    key: \"resetPhoneCodeState\",\n    value: function resetPhoneCodeState() {\n      clearInterval(this.vCodeTimer);\n      this.setState({\n        vCodeTime: 0\n      });\n    }\n  }, {\n    key: \"handleLoginTypeClick\",\n    value: function handleLoginTypeClick() {\n      this.setState({\n        isPhoneLogin: !this.state.isPhoneLogin\n      });\n    }\n  }, {\n    key: \"handleAccountInputBlur\",\n    value: function handleAccountInputBlur() {\n      var account = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account;\n      if (account !== this.oldAccount) {\n        this.oldAccount = account;\n        // eventBus.pub_focusInput({ name: 'verifyCode', emptyValue: true })\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: 'FocusInput',\n          name: 'verifyCode',\n          emptyValue: true\n        });\n        this.getVerifyCode();\n        this.resetPhoneCodeState();\n      }\n      var isVirtualAccount = virtualAccount.includes(account);\n      this.setState({\n        showPhoneCode: false,\n        isVirtualAccount: isVirtualAccount\n      });\n    }\n  }, {\n    key: \"handleRadioChange\",\n    value: function handleRadioChange(e, val) {\n      this.setState({\n        verificationMode: val\n      });\n    }\n  }, {\n    key: \"handleVirtualACTClick\",\n    value: function handleVirtualACTClick() {\n      this.setState({\n        isVirtualACT: !this.state.isVirtualACT\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props$configura,\n        _this11 = this;\n      var _this$state2 = this.state,\n        vCodeTime = _this$state2.vCodeTime,\n        showPhoneCode = _this$state2.showPhoneCode,\n        isPhoneLogin = _this$state2.isPhoneLogin,\n        isVirtualACT = _this$state2.isVirtualACT,\n        verificationMode = _this$state2.verificationMode,\n        hidePhoneLogin = _this$state2.hidePhoneLogin;\n      var hyperLinkStyle = {\n        fontSize: '14px'\n      };\n      var notificationStyle = {\n        margin: '0px'\n      };\n      var phoneCodeClass = classnames__WEBPACK_IMPORTED_MODULE_28___default()(_defineProperty(_defineProperty({}, _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].phoneCodeContainer, true), _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].showPhoneCode, showPhoneCode));\n      var btnClass = classnames__WEBPACK_IMPORTED_MODULE_28___default()(_defineProperty(_defineProperty({}, _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].btn, true), _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].disable, vCodeTime !== 0));\n      var reSendtext = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key036');\n      var btnText = vCodeTime === 0 ? reSendtext : \"\".concat(reSendtext, \"(\").concat(vCodeTime, \"s)\");\n      var loginType = _util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.myLocalStorage.getItem((0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getNameWithCurrentEnvrionment)(_const_js__WEBPACK_IMPORTED_MODULE_42__.LOGIN_TYPE));\n      var text = loginType === _const_js__WEBPACK_IMPORTED_MODULE_42__.TEL ? \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key218')) : \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key217'));\n      var title = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key226');\n      var isEmail = !isPhoneLogin && !isVirtualACT || isVirtualACT && verificationMode === 'email' || hidePhoneLogin;\n      if (isEmail) {\n        title = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key227');\n      }\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].formContainer\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].title\n      }, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Notification, {\n        style: notificationStyle,\n        dataPipeModel: this.props.dataPipeModel\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].content\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_KingdeeCloud__WEBPACK_IMPORTED_MODULE_35__.StoreContext.Provider, {\n        value: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"]\n      }, isPhoneLogin && !isVirtualACT && !hidePhoneLogin ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_page_web_base_Telephone_index__WEBPACK_IMPORTED_MODULE_44__[\"default\"], {\n        telViaList: this.props.countryAreaCodes,\n        defaultAreaCode: (_this$props$configura = this.props.configuration) === null || _this$props$configura === void 0 ? void 0 : _this$props$configura.defaultAreaCode,\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"account\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key211'),\n        defaultValue: (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.isPhoneNumber)(_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account) ? _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account : '',\n        onBlur: this.handleAccountInputBlur\n      }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"account\",\n        type: \"text\",\n        placeholder: isVirtualACT ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key224') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key219'),\n        defaultValue: this.isInitAccount ? _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account : '',\n        onBlur: this.handleAccountInputBlur\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].graphicContainer\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"verifyCode\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key024')\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].graphicCode,\n        onClick: this.getVerifyCode\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"img\", {\n        src: this.state.verifyCodeImg\n      }))), (this.state.isVirtualAccount || isVirtualACT) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].radio\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_45__[\"default\"].Group, {\n        onChange: this.handleRadioChange,\n        defaultValue: hidePhoneLogin ? 'email' : 'SMS'\n      }, !hidePhoneLogin && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_45__[\"default\"], {\n        value: \"SMS\",\n        radioType: \"square\",\n        disabled: showPhoneCode\n      }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key128')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_45__[\"default\"], {\n        value: \"email\",\n        radioType: \"square\",\n        disabled: showPhoneCode\n      }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key129')))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: phoneCodeClass\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"phoneCode\",\n        type: \"text\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key120')\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: btnClass,\n        onClick: this.handleReSendPhoneCode\n      }, btnText)), showPhoneCode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(react__WEBPACK_IMPORTED_MODULE_27__.Fragment, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"newPassword\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key030'),\n        valueChange: function valueChange() {\n          _this11.valueChange('newPassword');\n        }\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"confirmPassword\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key031'),\n        valueChange: function valueChange() {\n          _this11.valueChange('confirmPassword');\n        }\n      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Button, {\n        text: showPhoneCode ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key032') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key125'),\n        dataPipeModel: this.props.dataPipeModel,\n        onClick: (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.debounce)(this.handleNextBtnClick, 200),\n        style: this.loadingStyle,\n        isLoading: this.state.isLoading\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].backLogin\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"a\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].hyperlink,\n        href: \"#kingdeeCloud\",\n        title: text.substring(1)\n      }, text, \" \"), isVirtualACT ? null : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].hyperlink,\n        onClick: this.handleLoginTypeClick,\n        title: hidePhoneLogin ? null : isPhoneLogin ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key220') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key221')\n      }, hidePhoneLogin ? null : isPhoneLogin ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key220') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key221'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].switchVirBtn,\n        onClick: this.handleVirtualACTClick\n      }, \" \", isVirtualACT ? (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key223') : (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key222')))));\n    }\n  }]);\n  return CheckPhonePanel;\n}(react__WEBPACK_IMPORTED_MODULE_27__.Component);\nvar ModifyPanel = /*#__PURE__*/function (_Component3) {\n  _inherits(ModifyPanel, _Component3);\n  function ModifyPanel(props) {\n    var _this12;\n    _classCallCheck(this, ModifyPanel);\n    _this12 = _callSuper(this, ModifyPanel, [props]);\n    _this12.handleClick = _this12.handleClick.bind(_assertThisInitialized(_this12));\n    _this12.validateFormData = _this12.validateFormData.bind(_assertThisInitialized(_this12));\n    _this12.getPublicKey = _this12.getPublicKey.bind(_assertThisInitialized(_this12));\n    _this12.resetPassword = _this12.resetPassword.bind(_assertThisInitialized(_this12));\n    _this12.handleEnterKeyDown = _this12.handleEnterKeyDown.bind(_assertThisInitialized(_this12));\n    _this12.valueChange = _this12.valueChange.bind(_assertThisInitialized(_this12));\n    return _this12;\n  }\n  _createClass(ModifyPanel, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('newPassword', '');\n      _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('confirmPassword', '');\n      // eventBus.pub_focusInput({ name: 'newPassword' })\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: 'FocusInput',\n        name: 'newPassword'\n      });\n      document.addEventListener('keydown', this.handleEnterKeyDown);\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      document.removeEventListener('keydown', this.handleEnterKeyDown);\n    }\n  }, {\n    key: \"handleEnterKeyDown\",\n    value: function handleEnterKeyDown(e) {\n      if (e.keyCode === 13) {\n        this.handleClick();\n      }\n    }\n  }, {\n    key: \"handleClick\",\n    value: function handleClick() {\n      if (!this.validateFormData()) return false;\n      this.getPublicKey(this.resetPassword);\n    }\n  }, {\n    key: \"validateFormData\",\n    value: function validateFormData() {\n      // 验证密码不为空。两次密码相同。长度不超过20\n      var newPassword = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].newPassword,\n        confirmPassword = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].confirmPassword;\n      if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEmpty(newPassword)) {\n        var title = 'newPasswordError';\n        var data = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key048');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: title,\n          data: data\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEmpty(confirmPassword)) {\n        var _title7 = 'confirmPasswordError';\n        var _data7 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key056');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title7,\n          data: _data7\n        });\n        return false;\n      } else if (_util__WEBPACK_IMPORTED_MODULE_33__.validate.checkLength(newPassword, 0, 20) === 1) {\n        var _title8 = 'newPasswordError';\n        var _data8 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key049');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title8,\n          data: _data8\n        });\n        return false;\n      } else if (!_util__WEBPACK_IMPORTED_MODULE_33__.validate.isEqual(newPassword, confirmPassword)) {\n        var _title9 = 'confirmPasswordError';\n        var _data9 = (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key045');\n        // eventBus.pub('login', title, data)\n        this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n          type: _title9,\n          data: _data9\n        });\n        return false;\n      }\n      return true;\n    }\n  }, {\n    key: \"getPublicKey\",\n    value: function getPublicKey(callback) {\n      var _this13 = this;\n      // let userKey = getQueryString('userKey')\n      // let pre = userKey ? userKey.slice(0, 11) : store.account\n      // let accessKey = pre + getUid(false, 16 - pre.length)\n      var accessKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getQueryString)('userKey') || _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account + (0,_util__WEBPACK_IMPORTED_MODULE_33__.getUid)(false, 16 - _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account.length);\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.getPublicKey({\n        accessKey: accessKey,\n        language: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang,\n        accountId: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId\n      }).then(function (data) {\n        if (data.success !== true) {\n          var error = {\n            message: data.errorMessage,\n            level: data.level || 1\n          };\n          //  eventBus.pub_showNotification(error)\n          _this13.props.dataPipeModel && _this13.props.dataPipeModel.sendData({\n            type: 'ShowNotification',\n            error: error\n          });\n          return false;\n        }\n        callback({\n          publicKey: data.publicKey,\n          accessKey: accessKey\n        });\n      });\n    }\n  }, {\n    key: \"resetPassword\",\n    value: function resetPassword(data) {\n      var _this14 = this;\n      var accountId = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId,\n        account = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account,\n        newPassword = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].newPassword,\n        lang = _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang;\n      var showSuccessPanel = this.props.showSuccessPanel;\n      var encryptedPassword = (0,_util_encrypt_js__WEBPACK_IMPORTED_MODULE_29__.encrypt)(data.publicKey, newPassword);\n      var formData = {\n        accountId: accountId,\n        accessKey: data.accessKey,\n        password: encryptedPassword,\n        language: lang,\n        randomCode: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].randomCode\n      };\n      _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].modifyPanel && Object.assign(formData, {\n        passwordWarning: true\n      });\n      var userKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getQueryString)('userKey');\n      if (userKey !== null) {\n        // 通过邮箱的方式找回密码，在地址栏会有一个userKey参数\n        formData.type = 'email';\n        formData.userKey = userKey;\n        var currentLangKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.getNameWithCurrentEnvrionment)(_const_js__WEBPACK_IMPORTED_MODULE_42__.CURRENT_LANG);\n        var currentLocale = _util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.myLocalStorage.getItem(currentLangKey) || 'zh_CN';\n        formData.language = currentLocale;\n      } else {\n        formData.phone = account;\n      }\n      _api_service__WEBPACK_IMPORTED_MODULE_36__.resetPassword(formData).then(function (data) {\n        if (!data.success) {\n          var error = {\n            message: data.msg || data.error,\n            level: data.level || 1\n          };\n          //  eventBus.pub_showNotification(error)\n          setTimeout(function () {\n            _this14.props.dataPipeModel && _this14.props.dataPipeModel.sendData({\n              type: 'ShowNotification',\n              error: error\n            });\n          }, 0);\n          if (_store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].newResetPws) {\n            if (data.overtime) {\n              window.location.hash = 'kingdeeCloud';\n            }\n          } else if (data.overtime) {\n            setTimeout(function () {\n              window.location.reload(); // 两秒之后刷新页面\n            }, 2000);\n          }\n        } else {\n          _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('modifyPanel', '');\n          showSuccessPanel();\n          setTimeout(function () {\n            window.location.hash = 'kingdeeCloud';\n          }, 3000);\n        }\n      });\n    }\n  }, {\n    key: \"valueChange\",\n    value: function valueChange(name) {\n      var title = 'confirmPasswordError';\n      this.props.dataPipeModel && this.props.dataPipeModel.sendData({\n        type: title,\n        data: '',\n        name: name\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this15 = this;\n      var hyperLinkStyle = {\n        fontSize: '14px'\n      };\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].formContainer\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].title\n      }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key029')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Notification, {\n        dataPipeModel: this.props.dataPipeModel\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].content\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_KingdeeCloud__WEBPACK_IMPORTED_MODULE_35__.StoreContext.Provider, {\n        value: _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"]\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"newPassword\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key030'),\n        valueChange: function valueChange() {\n          _this15.valueChange('newPassword');\n        }\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Input, {\n        dataPipeModel: this.props.dataPipeModel,\n        name: \"confirmPassword\",\n        type: \"password\",\n        placeholder: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key031'),\n        valueChange: function valueChange() {\n          _this15.valueChange('confirmPassword');\n        }\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Button, {\n        text: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key032'),\n        onClick: (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_38__.debounce)(this.handleClick, 200)\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.HyperLink, {\n        text: \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key028')),\n        style: hyperLinkStyle,\n        href: \"#\"\n      }))));\n    }\n  }]);\n  return ModifyPanel;\n}(react__WEBPACK_IMPORTED_MODULE_27__.Component);\nfunction SuccessPanel(props) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_27__.useState)(3),\n    _useState2 = _slicedToArray(_useState, 2),\n    second = _useState2[0],\n    setSecond = _useState2[1];\n  var timer = null;\n  timer = setInterval(function () {\n    if (second === 1) {\n      clearInterval(timer);\n    }\n    setSecond(second - 1);\n  }, 1000);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n    className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].successPanel\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"img\", {\n    src: (_img_newResetSuccess_png__WEBPACK_IMPORTED_MODULE_41___default()),\n    className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].successImage\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n    className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].text\n  }, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key033')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n    className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].count\n  }, \" \", second, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key096')));\n}\nfunction SuccessSendEmailPanel(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n    className: _FindPassword_less__WEBPACK_IMPORTED_MODULE_31__[\"default\"].successSendEmailPanel\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"img\", {\n    src: (_img_resetSuccess_png__WEBPACK_IMPORTED_MODULE_40___default())\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", null, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key059')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"span\", null, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key229')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"span\", {\n    style: {\n      color: '#0086f6'\n    }\n  }, _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].account), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"span\", null, (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key230'))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n    style: {\n      width: '100%',\n      height: 123\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_32__.Button, {\n    text: (0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_37__.getLangMsg)('login.key028'),\n    onClick: function onClick() {\n      return window.location.hash = 'kingdeeCloud';\n    }\n  }));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (FindPassword);\n\n//# sourceURL=webpack://kd-login/./src/page/web/FindPassword.jsx?");

/***/ }),

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

eval("module.exports = \"data:image/png;base64,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\"\n\n//# sourceURL=webpack://kd-login/./src/img/newResetSuccess.png?");

/***/ }),

/***/ "?2e65":
/*!************************!*\
  !*** buffer (ignored) ***!
  \************************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/buffer_(ignored)?");

/***/ }),

/***/ "?0749":
/*!************************!*\
  !*** crypto (ignored) ***!
  \************************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/crypto_(ignored)?");

/***/ }),

/***/ "?ff61":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?ec48":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?d5c0":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?4a48":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?3a9c":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ }),

/***/ "?d4df":
/*!**********************!*\
  !*** util (ignored) ***!
  \**********************/
/***/ (function() {

eval("/* (ignored) */\n\n//# sourceURL=webpack://kd-login/util_(ignored)?");

/***/ })

}]);