text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[74],{
  
  /***/ "../eFinance_ui/src/views/users/User.vue":
  /*!*************************************!*\
    !*** ._ui/src/views/users/User.vue ***!
    \*************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _User_vue_vue_type_template_id_74ebfcbd___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./User.vue?vue&type=template&id=74ebfcbd& */ "../eFinance_ui/src/views/users/User.vue?vue&type=template&id=74ebfcbd&");
  /* harmony import */ var _User_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./User.vue?vue&type=script&lang=js& */ "../eFinance_ui/src/views/users/User.vue?vue&type=script&lang=js&");
  /* empty/unused harmony star reexport *//* harmony import */ var _eFinance_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../eFinance/node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
  
  
  
  
  
  /* normalize component */
  
  var component = Object(_eFinance_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
    _User_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
    _User_vue_vue_type_template_id_74ebfcbd___WEBPACK_IMPORTED_MODULE_0__["render"],
    _User_vue_vue_type_template_id_74ebfcbd___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
    false,
    null,
    null,
    null
    
  )
  
  /* hot reload */
  if (false) { var api; }
  component.options.__file = "eFinance_ui/src/views/users/User.vue"
  /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  
  /***/ }),
  
  /***/ "../eFinance_ui/src/views/users/User.vue?vue&type=script&lang=js&":
  /*!**************************************************************!*\
    !*** ._ui/src/views/users/User.vue?vue&type=script&lang=js& ***!
    \**************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _eFinance_node_modules_babel_loader_lib_index_js_ref_4_0_eFinance_node_modules_vue_loader_lib_index_js_vue_loader_options_User_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../eFinance/node_modules/babel-loader/lib??ref--4-0!../../../../eFinance/node_modules/vue-loader/lib??vue-loader-options!./User.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!../eFinance_ui/src/views/users/User.vue?vue&type=script&lang=js&");
  /* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_eFinance_node_modules_babel_loader_lib_index_js_ref_4_0_eFinance_node_modules_vue_loader_lib_index_js_vue_loader_options_User_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); 
  
  /***/ }),
  
  /***/ "../eFinance_ui/src/views/users/User.vue?vue&type=template&id=74ebfcbd&":
  /*!********************************************************************!*\
    !*** ._ui/src/views/users/User.vue?vue&type=template&id=74ebfcbd& ***!
    \********************************************************************/
  /*! exports provided: render, staticRenderFns */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _eFinance_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_eFinance_node_modules_vue_loader_lib_index_js_vue_loader_options_User_vue_vue_type_template_id_74ebfcbd___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../eFinance/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../eFinance/node_modules/vue-loader/lib??vue-loader-options!./User.vue?vue&type=template&id=74ebfcbd& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!../eFinance_ui/src/views/users/User.vue?vue&type=template&id=74ebfcbd&");
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _eFinance_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_eFinance_node_modules_vue_loader_lib_index_js_vue_loader_options_User_vue_vue_type_template_id_74ebfcbd___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _eFinance_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_eFinance_node_modules_vue_loader_lib_index_js_vue_loader_options_User_vue_vue_type_template_id_74ebfcbd___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  
  
  
  /***/ }),
  
  /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!../eFinance_ui/src/views/users/User.vue?vue&type=script&lang=js&":
  /*!**********************************************************************************************************************************************************!*\
    !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!._ui/src/views/users/User.vue?vue&type=script&lang=js& ***!
    \**********************************************************************************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../eFinance_ui/node_modules/axios/index.js");
  /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__);
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
  
  function _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."); }
  
  function _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); }
  
  function _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; }
  
  function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
  
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
  
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    name: 'User',
    data: function data() {
      return {
        items: [],
        fields: [{
          key: 'key'
        }, {
          key: 'value'
        }]
      };
    },
    methods: {
      getUserData: function getUserData(id) {
        var user = usersData.find(function (user, index) {
          return index + 1 == id;
        });
        var userDetails = user ? Object.entries(user) : [['id', 'Not found']];
        return userDetails.map(function (_ref) {
          var _ref2 = _slicedToArray(_ref, 2),
              key = _ref2[0],
              value = _ref2[1];
  
          return {
            key: key,
            value: value
          };
        });
      },
      goBack: function goBack() {
        this.$router.go(-1);
      }
    },
    mounted: function mounted() {
      var self = this;
      axios__WEBPACK_IMPORTED_MODULE_0___default.a.get('/api/users/' + self.$route.params.id + '?token=' + localStorage.getItem("api_token")).then(function (response) {
        var items = Object.entries(response.data);
        self.items = items.map(function (_ref3) {
          var _ref4 = _slicedToArray(_ref3, 2),
              key = _ref4[0],
              value = _ref4[1];
  
          return {
            key: key,
            value: value
          };
        });
      })["catch"](function (error) {
        console.log(error);
        self.$router.push({
          path: '/login'
        });
      });
    }
  });
  
  /***/ }),
  
  /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!../eFinance_ui/src/views/users/User.vue?vue&type=template&id=74ebfcbd&":
  /*!**************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!._ui/src/views/users/User.vue?vue&type=template&id=74ebfcbd& ***!
    \**************************************************************************************************************************************************************************************************/
  /*! exports provided: render, staticRenderFns */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  var render = function() {
    var _vm = this
    var _h = _vm.$createElement
    var _c = _vm._self._c || _h
    return _c(
      "CRow",
      [
        _c(
          "CCol",
          { attrs: { col: "12", lg: "6" } },
          [
            _c(
              "CCard",
              [
                _c("CCardHeader", [
                  _vm._v(
                    "\n        User id:  " +
                      _vm._s(_vm.$route.params.id) +
                      "\n      "
                  )
                ]),
                _vm._v(" "),
                _c(
                  "CCardBody",
                  [
                    _c("CDataTable", {
                      attrs: {
                        striped: "",
                        small: "",
                        fixed: "",
                        items: _vm.items,
                        fields: _vm.fields
                      },
                      scopedSlots: _vm._u([
                        {
                          key: "value",
                          fn: function(data) {
                            return [
                              _c("strong", [_vm._v(_vm._s(data.item.value))])
                            ]
                          }
                        }
                      ])
                    })
                  ],
                  1
                ),
                _vm._v(" "),
                _c(
                  "CCardFooter",
                  [
                    _c(
                      "CButton",
                      { attrs: { color: "primary" }, on: { click: _vm.goBack } },
                      [_vm._v("Back")]
                    )
                  ],
                  1
                )
              ],
              1
            )
          ],
          1
        )
      ],
      1
    )
  }
  var staticRenderFns = []
  render._withStripped = true
  
  
  
  /***/ })
  
  }]);