(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[114],{

/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Profile.vue?vue&type=script&lang=js&":
/*!***********************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Profile.vue?vue&type=script&lang=js& ***!
  \***********************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var C_code_deployify_mdc_site_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ \"./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\");\n/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! regenerator-runtime/runtime.js */ \"./node_modules/regenerator-runtime/runtime.js\");\n/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __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_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __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_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  components: {\n    Title: function Title() {\n      return __webpack_require__.e(/*! import() */ 4).then(__webpack_require__.bind(null, /*! @/components/singles/Title.vue */ \"./src/components/singles/Title.vue\"));\n    },\n    CheckboxText: function CheckboxText() {\n      return __webpack_require__.e(/*! import() */ 5).then(__webpack_require__.bind(null, /*! @/components/singles/CheckboxText.vue */ \"./src/components/singles/CheckboxText.vue\"));\n    },\n    BInput: function BInput() {\n      return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(1)]).then(__webpack_require__.bind(null, /*! @/components/singles/BInput/component.vue */ \"./src/components/singles/BInput/component.vue\"));\n    },\n    Password: function Password() {\n      return __webpack_require__.e(/*! import() */ 108).then(__webpack_require__.bind(null, /*! @/components/main/user/Password.vue */ \"./src/components/main/user/Password.vue\"));\n    },\n    Username: function Username() {\n      return __webpack_require__.e(/*! import() */ 110).then(__webpack_require__.bind(null, /*! @/components/main/user/Username.vue */ \"./src/components/main/user/Username.vue\"));\n    },\n    Sessions: function Sessions() {\n      return Promise.all(/*! import() */[__webpack_require__.e(3), __webpack_require__.e(70)]).then(__webpack_require__.bind(null, /*! @/components/main/user/Sessions.vue */ \"./src/components/main/user/Sessions.vue\"));\n    },\n    ApiKeys: function ApiKeys() {\n      return Promise.all(/*! import() */[__webpack_require__.e(3), __webpack_require__.e(28)]).then(__webpack_require__.bind(null, /*! @/components/main/user/ApiKeys.vue */ \"./src/components/main/user/ApiKeys.vue\"));\n    }\n  },\n  data: function data() {\n    return {\n      apiKeys: null,\n      timeoutValid: false,\n      timeout: 15,\n      showPassword: false,\n      showUsername: false,\n      sessions: []\n    };\n  },\n  created: function created() {\n    var _this = this;\n    return Object(C_code_deployify_mdc_site_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {\n      return regeneratorRuntime.wrap(function _callee$(_context) {\n        while (1) switch (_context.prev = _context.next) {\n          case 0:\n            _context.next = 2;\n            return _this.$store.dispatch(\"settings/getUserSetting\", {\n              path: \"profile\",\n              key: \"auth\"\n            });\n          case 2:\n            _context.next = 4;\n            return _this.$store.dispatch(\"settings/getUserSetting\", {\n              path: \"profile\",\n              key: \"notifications\"\n            });\n          case 4:\n            _context.next = 6;\n            return _this.$store.dispatch(\"settings/getUserSetting\", {\n              path: \"profile\",\n              key: \"infobar\"\n            });\n          case 6:\n            _context.next = 8;\n            return _this.$store.dispatch(\"settings/getUserSetting\", {\n              path: \"profile\",\n              key: \"session\"\n            });\n          case 8:\n            _context.next = 10;\n            return _this.$store.dispatch(\"settings/getUserSetting\", {\n              path: \"profile\",\n              key: \"guides\"\n            });\n          case 10:\n            if (_this.$store.state.settings.user.profile.session.timeout) _this.timeout = _this.$store.state.settings.user.profile.session.timeout;\n          case 11:\n          case \"end\":\n            return _context.stop();\n        }\n      }, _callee);\n    }))();\n  },\n  methods: {\n    save: function save(path, key, value) {\n      var _this2 = this;\n      return Object(C_code_deployify_mdc_site_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {\n        return regeneratorRuntime.wrap(function _callee2$(_context2) {\n          while (1) switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.next = 2;\n              return _this2.$store.dispatch(\"settings/setUser\", {\n                path: path,\n                key: key,\n                value: value\n              });\n            case 2:\n            case \"end\":\n              return _context2.stop();\n          }\n        }, _callee2);\n      }))();\n    },\n    saveTimeout: function saveTimeout() {\n      if (this.timeoutValid) {\n        this.save(\"profile\", \"session\", {\n          timeout: this.timeout\n        });\n        this.$helpers.notify(\"Saved\", \"Session timeout was saved.\", \"success\");\n      }\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/views/Profile.vue?./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"7d40fa80-vue-loader-template\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Profile.vue?vue&type=template&id=ced23842&":
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7d40fa80-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Profile.vue?vue&type=template&id=ced23842& ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _vm.$store.state.settings.user &&\n    _vm.$store.state.settings.user.profile\n    ? _c(\n        \"div\",\n        [\n          _c(\"section\", { staticClass: \"section\" }, [\n            _c(\n              \"div\",\n              { staticClass: \"container\" },\n              [\n                _c(\"Title\", [_vm._v(\" Visibility\")]),\n                _c(\"div\", { staticClass: \"columns is-multiline\" }, [\n                  _c(\"div\", { staticClass: \"column is-3\" }, [\n                    _vm.$store.state.settings.user.profile.notifications\n                      ? _c(\"div\", { staticClass: \"card\" }, [\n                          _vm._m(0),\n                          _c(\"div\", { staticClass: \"card-content\" }, [\n                            _c(\"p\", {}, [\n                              _vm._v(\n                                \" Show notifications on package changes in the computer package view. \"\n                              )\n                            ]),\n                            _c(\n                              \"a\",\n                              {\n                                staticClass: \"button\",\n                                class: {\n                                  \"is-primary\":\n                                    _vm.$store.state.settings.user.profile\n                                      .notifications.packageChange\n                                },\n                                on: {\n                                  click: function($event) {\n                                    return _vm.save(\n                                      \"profile\",\n                                      \"notifications\",\n                                      {\n                                        packageChange: !_vm.$store.state\n                                          .settings.user.profile.notifications\n                                          .packageChange\n                                      }\n                                    )\n                                  }\n                                }\n                              },\n                              [\n                                _vm._m(1),\n                                _c(\"span\", [\n                                  _vm._v(\n                                    \" \" +\n                                      _vm._s(\n                                        _vm.$store.state.settings.user.profile\n                                          .notifications.packageChange\n                                          ? \"On\"\n                                          : \"Off\"\n                                      ) +\n                                      \" \"\n                                  )\n                                ])\n                              ]\n                            )\n                          ])\n                        ])\n                      : _vm._e()\n                  ]),\n                  _c(\"div\", { staticClass: \"column is-3\" }, [\n                    _vm.$store.state.settings.user.profile.notifications\n                      ? _c(\"div\", { staticClass: \"card\" }, [\n                          _vm._m(2),\n                          _c(\"div\", { staticClass: \"card-content\" }, [\n                            _c(\"p\", {}, [\n                              _vm._v(\n                                \" Show notification when a new computer is added in the domain/computers view. \"\n                              )\n                            ]),\n                            _c(\n                              \"a\",\n                              {\n                                staticClass: \"button\",\n                                class: {\n                                  \"is-primary\":\n                                    _vm.$store.state.settings.user.profile\n                                      .notifications.computerAdd\n                                },\n                                on: {\n                                  click: function($event) {\n                                    return _vm.save(\n                                      \"profile\",\n                                      \"notifications\",\n                                      {\n                                        computerAdd: !_vm.$store.state.settings\n                                          .user.profile.notifications\n                                          .computerAdd\n                                      }\n                                    )\n                                  }\n                                }\n                              },\n                              [\n                                _vm._m(3),\n                                _c(\"span\", [\n                                  _vm._v(\n                                    \" \" +\n                                      _vm._s(\n                                        _vm.$store.state.settings.user.profile\n                                          .notifications.computerAdd\n                                          ? \"On\"\n                                          : \"Off\"\n                                      ) +\n                                      \" \"\n                                  )\n                                ])\n                              ]\n                            )\n                          ])\n                        ])\n                      : _vm._e()\n                  ]),\n                  _c(\"div\", { staticClass: \"column is-3\" }, [\n                    _vm.$store.state.settings.user.profile.infobar\n                      ? _c(\"div\", { staticClass: \"card\" }, [\n                          _vm._m(4),\n                          _c(\"div\", { staticClass: \"card-content\" }, [\n                            _c(\"p\", {}, [\n                              _vm._v(\n                                \"Show a status bar for the current working package.\"\n                              )\n                            ]),\n                            _c(\n                              \"a\",\n                              {\n                                staticClass: \"button\",\n                                class: {\n                                  \"is-primary\":\n                                    _vm.$store.state.settings.user.profile\n                                      .infobar.workingStatus\n                                },\n                                on: {\n                                  click: function($event) {\n                                    return _vm.save(\"profile\", \"infobar\", {\n                                      workingStatus: !_vm.$store.state.settings\n                                        .user.profile.infobar.workingStatus\n                                    })\n                                  }\n                                }\n                              },\n                              [\n                                _vm._m(5),\n                                _c(\"span\", [\n                                  _vm._v(\n                                    \" \" +\n                                      _vm._s(\n                                        _vm.$store.state.settings.user.profile\n                                          .infobar &&\n                                          _vm.$store.state.settings.user.profile\n                                            .infobar.workingStatus\n                                          ? \"On\"\n                                          : \"Off\"\n                                      ) +\n                                      \" \"\n                                  )\n                                ])\n                              ]\n                            )\n                          ])\n                        ])\n                      : _vm._e()\n                  ]),\n                  _c(\"div\", { staticClass: \"column is-3\" }, [\n                    _vm.$store.state.settings.user.profile.guides\n                      ? _c(\"div\", { staticClass: \"card\" }, [\n                          _vm._m(6),\n                          _c(\"div\", { staticClass: \"card-content\" }, [\n                            _c(\"p\", {}, [\n                              _vm._v(\n                                ' Show the \"Get started\"-guide when a domain is incomplete. '\n                              )\n                            ]),\n                            _c(\n                              \"a\",\n                              {\n                                staticClass: \"button\",\n                                class: {\n                                  \"is-primary\":\n                                    _vm.$store.state.settings.user.profile\n                                      .guides.getStarted ||\n                                    _vm.$store.state.settings.user.profile\n                                      .guides.getStarted === undefined\n                                },\n                                on: {\n                                  click: function($event) {\n                                    return _vm.save(\"profile\", \"guides\", {\n                                      getStarted:\n                                        _vm.$store.state.settings.user.profile\n                                          .guides.getStarted === undefined ||\n                                        _vm.$store.state.settings.user.profile\n                                          .guides.getStarted\n                                          ? false\n                                          : true\n                                    })\n                                  }\n                                }\n                              },\n                              [\n                                _vm._m(7),\n                                _c(\"span\", [\n                                  _vm._v(\n                                    \" \" +\n                                      _vm._s(\n                                        _vm.$store.state.settings.user.profile\n                                          .guides.getStarted ||\n                                          _vm.$store.state.settings.user.profile\n                                            .guides.getStarted === undefined\n                                          ? \"On\"\n                                          : \"Off\"\n                                      ) +\n                                      \" \"\n                                  )\n                                ])\n                              ]\n                            )\n                          ])\n                        ])\n                      : _vm._e()\n                  ])\n                ])\n              ],\n              1\n            )\n          ]),\n          _c(\"section\", { staticClass: \"section \" }, [\n            _c(\n              \"div\",\n              { staticClass: \"container\" },\n              [\n                _c(\"Title\", [_vm._v(\"Account\")]),\n                _vm.$store.state.settings.user.profile.session\n                  ? _c(\"div\", { staticClass: \"columns is-multiline\" }, [\n                      _c(\"div\", { staticClass: \"column is-3\" }, [\n                        _c(\"div\", { staticClass: \"card\" }, [\n                          _vm._m(8),\n                          _c(\n                            \"div\",\n                            { staticClass: \"card-content\" },\n                            [\n                              _c(\"p\", [\n                                _vm._v(\n                                  \" Configure how long until the session expires. Default is 15 minutes, and minimum 5. \"\n                                )\n                              ]),\n                              _c(\"BInput\", {\n                                attrs: {\n                                  validation: \"required|numeric|min_value:5\",\n                                  name: \"timeout\",\n                                  type: \"number\",\n                                  placeholder: \"Timeout in minutes\",\n                                  icon: \"mdi mdi-timer-outline\"\n                                },\n                                on: {\n                                  valid: function($event) {\n                                    _vm.timeoutValid = $event\n                                  }\n                                },\n                                model: {\n                                  value: _vm.timeout,\n                                  callback: function($$v) {\n                                    _vm.timeout = $$v\n                                  },\n                                  expression: \"timeout\"\n                                }\n                              })\n                            ],\n                            1\n                          ),\n                          _c(\"footer\", { staticClass: \"card-footer\" }, [\n                            _c(\n                              \"a\",\n                              {\n                                staticClass: \"card-footer-item\",\n                                attrs: { disabled: !_vm.timeoutValid },\n                                on: {\n                                  click: function($event) {\n                                    return _vm.saveTimeout()\n                                  }\n                                }\n                              },\n                              [_vm._v(\"Save\")]\n                            )\n                          ])\n                        ])\n                      ]),\n                      _vm.$store.state.settings.user.profile.auth &&\n                      _vm.$store.state.settings.server &&\n                      _vm.$store.state.settings.server.emailEnabled &&\n                      _vm.$store.state.settings.server.twoFactorAuthEnabled\n                        ? _c(\"div\", { staticClass: \"column is-3\" }, [\n                            _c(\"div\", { staticClass: \"card\" }, [\n                              _vm._m(9),\n                              _c(\"div\", { staticClass: \"card-content\" }, [\n                                _c(\"p\", {}, [\n                                  _vm._v(\n                                    \"Enable two factor authentication via email.\"\n                                  )\n                                ]),\n                                _c(\n                                  \"a\",\n                                  {\n                                    staticClass: \"button\",\n                                    class: {\n                                      \"is-primary\":\n                                        _vm.$store.state.settings.user.profile\n                                          .auth.twoFactor &&\n                                        _vm.$store.state.settings.user.profile\n                                          .auth.twoFactor.enabled\n                                    },\n                                    on: {\n                                      click: function($event) {\n                                        _vm.save(\"profile\", \"auth\", {\n                                          twoFactor: {\n                                            when: \"always\",\n                                            enabled: !(\n                                              _vm.$store.state.settings.user\n                                                .profile.auth.twoFactor &&\n                                              _vm.$store.state.settings.user\n                                                .profile.auth.twoFactor.enabled\n                                            ),\n                                            method: \"mail\"\n                                          }\n                                        })\n                                      }\n                                    }\n                                  },\n                                  [\n                                    _vm._m(10),\n                                    _c(\"span\", [\n                                      _vm._v(\n                                        \" \" +\n                                          _vm._s(\n                                            _vm.$store.state.settings.user\n                                              .profile.auth.twoFactor &&\n                                              _vm.$store.state.settings.user\n                                                .profile.auth.twoFactor.enabled\n                                              ? \"On\"\n                                              : \"Off\"\n                                          ) +\n                                          \" \"\n                                      )\n                                    ])\n                                  ]\n                                ),\n                                _vm.$store.state.settings.user.profile.auth\n                                  .twoFactor &&\n                                _vm.$store.state.settings.user.profile.auth\n                                  .twoFactor.enabled\n                                  ? _c(\"div\", [\n                                      _c(\n                                        \"div\",\n                                        { staticClass: \"columns is-multiline\" },\n                                        [\n                                          _c(\n                                            \"div\",\n                                            { staticClass: \"column is-12\" },\n                                            [\n                                              _c(\n                                                \"p\",\n                                                {\n                                                  staticClass:\n                                                    \"margin-top-2 margin-bottom-5\"\n                                                },\n                                                [_vm._v(\"When?\")]\n                                              ),\n                                              _c(\n                                                \"CheckboxText\",\n                                                {\n                                                  attrs: {\n                                                    checked:\n                                                      _vm.$store.state.settings\n                                                        .user.profile.auth\n                                                        .twoFactor &&\n                                                      _vm.$store.state.settings\n                                                        .user.profile.auth\n                                                        .twoFactor.when ===\n                                                        \"always\"\n                                                  },\n                                                  on: {\n                                                    click: function($event) {\n                                                      return _vm.save(\n                                                        \"profile\",\n                                                        \"auth\",\n                                                        {\n                                                          twoFactor: Object.assign(\n                                                            {},\n                                                            _vm.$store.state\n                                                              .settings.user\n                                                              .profile.auth\n                                                              .twoFactor,\n                                                            { when: \"always\" }\n                                                          )\n                                                        }\n                                                      )\n                                                    }\n                                                  }\n                                                },\n                                                [_vm._v(\"Always\")]\n                                              ),\n                                              _c(\n                                                \"CheckboxText\",\n                                                {\n                                                  attrs: {\n                                                    checked:\n                                                      _vm.$store.state.settings\n                                                        .user.profile.auth\n                                                        .twoFactor &&\n                                                      _vm.$store.state.settings\n                                                        .user.profile.auth\n                                                        .twoFactor.when ===\n                                                        \"newFpIp\"\n                                                  },\n                                                  on: {\n                                                    click: function($event) {\n                                                      return _vm.save(\n                                                        \"profile\",\n                                                        \"auth\",\n                                                        {\n                                                          twoFactor: Object.assign(\n                                                            {},\n                                                            _vm.$store.state\n                                                              .settings.user\n                                                              .profile.auth\n                                                              .twoFactor,\n                                                            { when: \"newFpIp\" }\n                                                          )\n                                                        }\n                                                      )\n                                                    }\n                                                  }\n                                                },\n                                                [\n                                                  _vm._v(\n                                                    \"Unknown browser and IP\"\n                                                  )\n                                                ]\n                                              ),\n                                              _c(\n                                                \"CheckboxText\",\n                                                {\n                                                  attrs: {\n                                                    checked:\n                                                      _vm.$store.state.settings\n                                                        .user.profile.auth\n                                                        .twoFactor &&\n                                                      _vm.$store.state.settings\n                                                        .user.profile.auth\n                                                        .twoFactor.when ===\n                                                        \"newFp\"\n                                                  },\n                                                  on: {\n                                                    click: function($event) {\n                                                      return _vm.save(\n                                                        \"profile\",\n                                                        \"auth\",\n                                                        {\n                                                          twoFactor: Object.assign(\n                                                            {},\n                                                            _vm.$store.state\n                                                              .settings.user\n                                                              .profile.auth\n                                                              .twoFactor,\n                                                            { when: \"newFp\" }\n                                                          )\n                                                        }\n                                                      )\n                                                    }\n                                                  }\n                                                },\n                                                [_vm._v(\"Unknown browser\")]\n                                              )\n                                            ],\n                                            1\n                                          )\n                                        ]\n                                      )\n                                    ])\n                                  : _vm._e()\n                              ])\n                            ])\n                          ])\n                        : _vm._e(),\n                      _c(\"div\", { staticClass: \"column is-3\" }, [\n                        _c(\"div\", { staticClass: \"card\" }, [\n                          _vm._m(11),\n                          _c(\"div\", { staticClass: \"card-content\" }, [\n                            _c(\"p\", {}, [_vm._v(\"Change account password.\")]),\n                            _c(\n                              \"a\",\n                              {\n                                staticClass: \"button\",\n                                on: {\n                                  click: function($event) {\n                                    _vm.showPassword = true\n                                  }\n                                }\n                              },\n                              [_vm._m(12), _c(\"span\", [_vm._v(\"Change\")])]\n                            )\n                          ])\n                        ])\n                      ]),\n                      _c(\"div\", { staticClass: \"column is-3\" }, [\n                        _c(\"div\", { staticClass: \"card\" }, [\n                          _vm._m(13),\n                          _c(\"div\", { staticClass: \"card-content\" }, [\n                            _c(\"p\", {}, [\n                              _vm._v(\"Change account e-mail (username).\")\n                            ]),\n                            _c(\n                              \"a\",\n                              {\n                                staticClass: \"button\",\n                                on: {\n                                  click: function($event) {\n                                    _vm.showUsername = true\n                                  }\n                                }\n                              },\n                              [_vm._m(14), _c(\"span\", [_vm._v(\"Change\")])]\n                            )\n                          ])\n                        ])\n                      ])\n                    ])\n                  : _vm._e()\n              ],\n              1\n            )\n          ]),\n          _c(\"section\", { staticClass: \"section\" }, [\n            _c(\n              \"div\",\n              { staticClass: \"container\" },\n              [_c(\"Title\", [_vm._v(\"API Keys\")]), _c(\"ApiKeys\")],\n              1\n            )\n          ]),\n          _c(\"section\", { staticClass: \"section\" }, [\n            _c(\n              \"div\",\n              { staticClass: \"container\" },\n              [_c(\"Title\", [_vm._v(\"Active Sessions\")]), _c(\"Sessions\")],\n              1\n            )\n          ]),\n          _vm.showPassword\n            ? _c(\"Password\", {\n                model: {\n                  value: _vm.showPassword,\n                  callback: function($$v) {\n                    _vm.showPassword = $$v\n                  },\n                  expression: \"showPassword\"\n                }\n              })\n            : _vm._e(),\n          _vm.showUsername\n            ? _c(\"Username\", {\n                model: {\n                  value: _vm.showUsername,\n                  callback: function($$v) {\n                    _vm.showUsername = $$v\n                  },\n                  expression: \"showUsername\"\n                }\n              })\n            : _vm._e()\n        ],\n        1\n      )\n    : _vm._e()\n}\nvar staticRenderFns = [\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [\n        _vm._v(\" Notifications - Package change \")\n      ])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"span\", { staticClass: \"icon\" }, [\n      _c(\"i\", { staticClass: \"mdi mdi-check-circle\" })\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [\n        _vm._v(\" Notifications - Computer added \")\n      ])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"span\", { staticClass: \"icon\" }, [\n      _c(\"i\", { staticClass: \"mdi mdi-check-circle\" })\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [\n        _vm._v(\"Status bar - Working status\")\n      ])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"span\", { staticClass: \"icon\" }, [\n      _c(\"i\", { staticClass: \"mdi mdi-check-circle\" })\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [\n        _vm._v(\"Guide - Get started\")\n      ])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"span\", { staticClass: \"icon\" }, [\n      _c(\"i\", { staticClass: \"mdi mdi-check-circle\" })\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [\n        _vm._v(\"Session timeout\")\n      ])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [\n        _vm._v(\"Two factor authentication\")\n      ])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"span\", { staticClass: \"icon\" }, [\n      _c(\"i\", { staticClass: \"mdi mdi-check-circle\" })\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [_vm._v(\"Password\")])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"span\", { staticClass: \"icon\" }, [\n      _c(\"i\", { staticClass: \"mdi mdi-lock\" })\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"header\", { staticClass: \"card-header\" }, [\n      _c(\"div\", { staticClass: \"card-header-title\" }, [_vm._v(\"E-mail\")])\n    ])\n  },\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"span\", { staticClass: \"icon\" }, [\n      _c(\"i\", { staticClass: \"mdi mdi-lock\" })\n    ])\n  }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/Profile.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%227d40fa80-vue-loader-template%22%7D!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./src/views/Profile.vue":
/*!*******************************!*\
  !*** ./src/views/Profile.vue ***!
  \*******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Profile_vue_vue_type_template_id_ced23842___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Profile.vue?vue&type=template&id=ced23842& */ \"./src/views/Profile.vue?vue&type=template&id=ced23842&\");\n/* harmony import */ var _Profile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Profile.vue?vue&type=script&lang=js& */ \"./src/views/Profile.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n  _Profile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _Profile_vue_vue_type_template_id_ced23842___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _Profile_vue_vue_type_template_id_ced23842___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/views/Profile.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/views/Profile.vue?");

/***/ }),

/***/ "./src/views/Profile.vue?vue&type=script&lang=js&":
/*!********************************************************!*\
  !*** ./src/views/Profile.vue?vue&type=script&lang=js& ***!
  \********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Profile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/babel-loader/lib!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib??vue-loader-options!./Profile.vue?vue&type=script&lang=js& */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Profile.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_12_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Profile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/views/Profile.vue?");

/***/ }),

/***/ "./src/views/Profile.vue?vue&type=template&id=ced23842&":
/*!**************************************************************!*\
  !*** ./src/views/Profile.vue?vue&type=template&id=ced23842& ***!
  \**************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Profile_vue_vue_type_template_id_ced23842___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"7d40fa80-vue-loader-template\"}!../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib??vue-loader-options!./Profile.vue?vue&type=template&id=ced23842& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"7d40fa80-vue-loader-template\\\"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/views/Profile.vue?vue&type=template&id=ced23842&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Profile_vue_vue_type_template_id_ced23842___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_7d40fa80_vue_loader_template_node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Profile_vue_vue_type_template_id_ced23842___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/views/Profile.vue?");

/***/ })

}]);