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

/***/ "./src/page/web/WeChat.jsx":
/*!*********************************!*\
  !*** ./src/page/web/WeChat.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 */   PublicQrcode: function() { return /* binding */ PublicQrcode; }\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_from_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __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_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_6__ = __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_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_is_array_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_7__ = __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_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_8__ = __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_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_9__ = __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_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_some_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_includes_js__WEBPACK_IMPORTED_MODULE_24__ = __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_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_25__ = __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_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_26__ = __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_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_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 _CloudHub_less__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./CloudHub.less */ \"./src/page/web/CloudHub.less\");\n/* harmony import */ var _common_LoginWrapper__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./common/LoginWrapper */ \"./src/page/web/common/LoginWrapper.jsx\");\n/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./base */ \"./src/page/web/base/index.js\");\n/* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../api/service */ \"./src/api/service.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n/* harmony import */ var _util_dataUtil__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../util/dataUtil */ \"./src/util/dataUtil.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../store */ \"./src/store.js\");\n/* harmony import */ var _const_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @/const.js */ \"./src/const.js\");\n/* harmony import */ var _util_toolUtils__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @/util/toolUtils */ \"./src/util/toolUtils.js\");\n/* harmony import */ var _base_Notification__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./base/Notification */ \"./src/page/web/base/Notification.jsx\");\n/* harmony import */ var _i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../i18n/intlApi */ \"./src/i18n/intlApi.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 _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\n\n\n\n\nvar WeChat = /*#__PURE__*/function (_Component) {\n  _inherits(WeChat, _Component);\n  function WeChat(props) {\n    var _this;\n    _classCallCheck(this, WeChat);\n    var currentAccountIdKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_36__.getNameWithCurrentEnvrionment)(_const_js__WEBPACK_IMPORTED_MODULE_35__.CURRENT_ACCOUNDID);\n    var currentAccountId = _util_toolUtils__WEBPACK_IMPORTED_MODULE_36__.myLocalStorage.getItem(currentAccountIdKey);\n    var currentLangKey = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_36__.getNameWithCurrentEnvrionment)(_const_js__WEBPACK_IMPORTED_MODULE_35__.CURRENT_LANG);\n    var lang = _util_toolUtils__WEBPACK_IMPORTED_MODULE_36__.myLocalStorage.getItem(currentLangKey);\n    _this = _callSuper(this, WeChat, [props]);\n    _this.state = {\n      accountId: currentAccountId,\n      lang: lang,\n      list: []\n    };\n    _this.handleChangeDataCenter = _this.handleChangeDataCenter.bind(_assertThisInitialized(_this));\n    _this.changeLang = _this.changeLang.bind(_assertThisInitialized(_this));\n    _this.showDropdownList = _this.showDropdownList.bind(_assertThisInitialized(_this));\n    _this.ListenerFilterDataCenter = _this.ListenerFilterDataCenter.bind(_assertThisInitialized(_this));\n    _this.include = true;\n    return _this;\n  }\n  _createClass(WeChat, [{\n    key: \"showDropdownList\",\n    value: function showDropdownList(_ref) {\n      var data = _ref.data;\n      var list = this.state.list;\n      var isLoad = list.some(function (item) {\n        return item.value === data.value;\n      });\n      if (isLoad) return;\n      if (!this.include && list.length !== 0) {\n        this.handleChangeDataCenter(list[0].value);\n        this.include = true;\n      }\n      list.push(data);\n      this.setState({\n        list: list\n      });\n    }\n  }, {\n    key: \"shouldComponentUpdate\",\n    value: function shouldComponentUpdate(nextProps, nextState) {\n      var accountId = nextProps.currentAccountId;\n      if (nextProps.currentAccountId !== this.props.currentAccountId) {\n        this.setState({\n          accountId: accountId\n        });\n      }\n      if (nextProps.dataCenter.length !== 0 && this.props.dataCenter.length === 0) {\n        this.ListenerFilterDataCenter(nextProps.dataCenter, accountId);\n      }\n      return true;\n    }\n  }, {\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      var dataCenter = this.props.dataCenter;\n      if (dataCenter.length !== 0) {\n        this.ListenerFilterDataCenter(this.props.dataCenter, this.props.currentAccountId);\n      }\n    }\n  }, {\n    key: \"ListenerFilterDataCenter\",\n    value: function ListenerFilterDataCenter(dataCenter, accountId) {\n      var _this2 = this;\n      var index;\n      dataCenter.some(function (item, i) {\n        if (item.value === accountId) {\n          index = i;\n          return true;\n        }\n      });\n      (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_33__.queryParameters)(accountId, dataCenter, index, this.props.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.includes(6))) _this2.include = false;\n        var key = 'weChatDataCenterList';\n        var types = [6];\n        var dataPipeModel = _this2.props.dataPipeModel;\n        dataPipeModel && dataPipeModel.registerCallback(key, _this2.showDropdownList);\n        (0,_util_dataUtil__WEBPACK_IMPORTED_MODULE_33__.filterDataCenter)(key, dataCenter, types, dataPipeModel);\n      });\n    }\n  }, {\n    key: \"componentWillMount\",\n    value: function componentWillMount() {\n      var accountId = this.props.currentAccountId;\n      accountId && this.props.handleChangeDataCenter(accountId);\n    }\n  }, {\n    key: \"handleChangeDataCenter\",\n    value: function handleChangeDataCenter(key) {\n      _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].setValue('toggleDataCenter', true);\n      this.props.handleChangeDataCenter(key);\n      this.setState({\n        accountId: key\n      });\n    }\n  }, {\n    key: \"changeLang\",\n    value: function changeLang(lang) {\n      this.setState({\n        lang: lang\n      });\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n        dataCenter = _this$props.dataCenter,\n        QrCodeType = _this$props.QrCodeType,\n        currentAccountId = _this$props.currentAccountId;\n      var loginType = _util_toolUtils__WEBPACK_IMPORTED_MODULE_36__.myLocalStorage.getItem((0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_36__.getNameWithCurrentEnvrionment)(_const_js__WEBPACK_IMPORTED_MODULE_35__.LOGIN_TYPE));\n      var text = loginType === _const_js__WEBPACK_IMPORTED_MODULE_35__.TEL ? \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key218')) : \"<\".concat((0,_i18n_intlApi__WEBPACK_IMPORTED_MODULE_38__.getLangMsg)('login.key217'));\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_common_LoginWrapper__WEBPACK_IMPORTED_MODULE_29__[\"default\"], _extends({\n        selectType: \"WeChat\",\n        changeLang: this.changeLang\n      }, this.props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _CloudHub_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].formContainer\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _CloudHub_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].content\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base_Notification__WEBPACK_IMPORTED_MODULE_37__[\"default\"], {\n        dataPipeModel: this.props.dataPipeModel\n      }), this.state.list && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(_base__WEBPACK_IMPORTED_MODULE_30__.DropdownList, {\n        name: \"accountId\",\n        list: this.state.list,\n        oldDataCenter: dataCenter,\n        selectItem: currentAccountId,\n        style: _CloudHub_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].dropdownList,\n        onItemClick: this.handleChangeDataCenter,\n        dataPipeModel: this.props.dataPipeModel\n      }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(PublicQrcode, {\n        QrCodeType: QrCodeType,\n        accountId: this.state.accountId,\n        dataPipeModel: this.props.dataPipeModel,\n        lang: this.state.lang\n      })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n        className: _CloudHub_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].backLogin\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"a\", {\n        className: _CloudHub_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].hyperlink,\n        href: \"#kingdeeCloud\",\n        title: text.substring(1)\n      }, text, \" \"))));\n    }\n  }]);\n  return WeChat;\n}(react__WEBPACK_IMPORTED_MODULE_27__.Component);\nfunction PublicQrcode(props) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_27__.useState)(''),\n    _useState2 = _slicedToArray(_useState, 2),\n    qrCodeUrl = _useState2[0],\n    setQrCodeUrl = _useState2[1];\n  var lang = props.lang,\n    accountId = props.accountId,\n    QrCodeType = props.QrCodeType;\n  (0,react__WEBPACK_IMPORTED_MODULE_27__.useEffect)(function () {\n    if (accountId || _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId) {\n      loadYzjQrcode();\n    }\n  }, [lang, accountId]);\n  var loadYzjQrcode = function loadYzjQrcode() {\n    var token = (0,_util__WEBPACK_IMPORTED_MODULE_32__.getUid)(false, 15);\n    var redirect = (0,_util_toolUtils__WEBPACK_IMPORTED_MODULE_36__.getRealRedirect)();\n    var data = {\n      accountId: accountId || _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].accountId,\n      token: token,\n      language: lang || _store__WEBPACK_IMPORTED_MODULE_34__[\"default\"].lang,\n      QRcodeRedirect: redirect\n    };\n    if (QrCodeType === 'WeChat') {\n      Object.assign(data, {\n        scantype: 'wxWork'\n      });\n    } else {\n      Object.assign(data, {\n        scantype: 'cloudHub'\n      });\n    }\n    _api_service__WEBPACK_IMPORTED_MODULE_31__.getYzjQrcode(data).then(function (data) {\n      if (data && data.errorcode) {\n        var error = {\n          message: data.description || data.description_cn,\n          level: data.level || 1,\n          time: data.time\n        };\n        props.dataPipeModel && props.dataPipeModel.sendData({\n          type: 'ShowNotification',\n          error: error\n        });\n      }\n      setQrCodeUrl(data.redirectUrl);\n    });\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"div\", {\n    className: _CloudHub_less__WEBPACK_IMPORTED_MODULE_28__[\"default\"].publicQrcode\n  }, qrCodeUrl ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_27__.createElement(\"iframe\", {\n    frameBorder: \"0\",\n    scrolling: \"no\",\n    style: {\n      height: '400px'\n    },\n    src: qrCodeUrl\n  }) : null);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (WeChat);\n\n//# sourceURL=webpack://kd-login/./src/page/web/WeChat.jsx?");

/***/ }),

/***/ "?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)?");

/***/ })

}]);