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

/***/ "./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/components/main/settings/Section.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/components/main/settings/Section.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_Users_oscar_jartoft_Documents_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/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ \"./node_modules/core-js/modules/es.object.keys.js\");\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ \"./node_modules/core-js/modules/es.array.concat.js\");\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ \"./node_modules/core-js/modules/es.string.trim.js\");\n/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ \"./node_modules/core-js/modules/es.array.map.js\");\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _utils_http__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/utils/http */ \"./src/utils/http.js\");\n\n\n\n\n\n\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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    Confirm: function Confirm() {\n      return __webpack_require__.e(/*! import() */ 10).then(__webpack_require__.bind(null, /*! @/components/main/Confirm.vue */ \"./src/components/main/Confirm.vue\"));\n    },\n    BForm: function BForm() {\n      return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(1), __webpack_require__.e(9)]).then(__webpack_require__.bind(null, /*! @/components/singles/BForm/component.vue */ \"./src/components/singles/BForm/component.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  },\n  data: function data() {\n    return {\n      settings: null,\n      main: [],\n      mailLoading: false,\n      mainLoading: false,\n      licenseLoading: false,\n      mailVerified: false,\n      errorMessage: null,\n      form2: {\n        valid: false,\n        areas: [{\n          label: \"Deployify license - text from license.json\",\n          focus: false,\n          name: \"license\",\n          type: \"text\",\n          validation: \"\",\n          value: \"\",\n          disabled: false\n        }]\n      },\n      form: {\n        valid: false,\n        areas: [{\n          label: \"DKIM - private key\",\n          name: \"privateKey\",\n          type: \"text\",\n          validation: \"\",\n          value: \"\",\n          disabled: false\n        }],\n        inputs: [{\n          label: \"Host\",\n          focus: true,\n          name: \"host\",\n          type: \"text\",\n          validation: \"required\",\n          value: \"\",\n          disabled: false\n        }, {\n          label: \"Port\",\n          name: \"port\",\n          type: \"number\",\n          validation: \"required\",\n          value: \"\",\n          disabled: false\n        }, {\n          label: \"From address\",\n          name: \"from\",\n          type: \"text\",\n          validation: \"required\",\n          value: \"\",\n          disabled: false\n        }, {\n          label: \"Username\",\n          name: \"user\",\n          type: \"text\",\n          validation: \"\",\n          value: \"\",\n          disabled: false\n        }, {\n          label: \"Password\",\n          icon: \"mdi-lock\",\n          name: \"pass\",\n          type: \"password\",\n          validation: \"\",\n          value: \"\",\n          disabled: false\n        }, {\n          label: \"To address - for testing\",\n          name: \"Test\",\n          type: \"email\",\n          validation: \"required|email\",\n          value: \"\",\n          disabled: false\n        }, {\n          label: \"DKIM - domain name\",\n          focus: true,\n          name: \"domainName\",\n          type: \"text\",\n          validation: \"\",\n          value: \"\",\n          disabled: false\n        }, {\n          label: \"DKIM - key selector\",\n          focus: true,\n          name: \"keySelector\",\n          type: \"text\",\n          validation: \"\",\n          value: \"\",\n          disabled: false\n        }]\n      }\n    };\n  },\n  created: function created() {\n    var _this = this;\n    return Object(C_Users_oscar_jartoft_Documents_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.get();\n          case 2:\n            _this.firstLoadDone = true;\n          case 3:\n          case \"end\":\n            return _context.stop();\n        }\n      }, _callee);\n    }))();\n  },\n  methods: {\n    setProp: function setProp(prop, val) {\n      this.$set(this.settings.mail, prop, val);\n    },\n    testMail: function testMail() {\n      var _this2 = this;\n      return Object(C_Users_oscar_jartoft_Documents_code_deployify_mdc_site_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {\n        var mail, res;\n        return regeneratorRuntime.wrap(function _callee2$(_context2) {\n          while (1) switch (_context2.prev = _context2.next) {\n            case 0:\n              _context2.prev = 0;\n              _this2.errorMessage = null;\n              _this2.mailLoading = true;\n              _this2.mailSaving = false;\n              mail = _this2.getMailValues();\n              _context2.next = 7;\n              return Object(_utils_http__WEBPACK_IMPORTED_MODULE_9__[\"postApi\"])(\"mail/test\", {\n                mail: mail\n              });\n            case 7:\n              res = _context2.sent;\n              _this2.mailVerified = true;\n              _this2.errorMessage = null;\n              _this2.setDisable(true);\n              _this2.$helpers.notify(\"Success\", \"The test e-mail is sent. Remember to save the settings.\", \"success\", -1);\n              _context2.next = 19;\n              break;\n            case 14:\n              _context2.prev = 14;\n              _context2.t0 = _context2[\"catch\"](0);\n              _this2.mailVerified = false;\n              if (_context2.t0.response) _this2.errorMessage = _context2.t0.response.data;else _this2.errorMessage = \"Unknow error.\";\n              _this2.setDisable(false);\n            case 19:\n              _this2.mailLoading = false;\n            case 20:\n            case \"end\":\n              return _context2.stop();\n          }\n        }, _callee2, null, [[0, 14]]);\n      }))();\n    },\n    get: function get() {\n      var _this3 = this;\n      return Object(C_Users_oscar_jartoft_Documents_code_deployify_mdc_site_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {\n        var res, settings;\n        return regeneratorRuntime.wrap(function _callee3$(_context3) {\n          while (1) switch (_context3.prev = _context3.next) {\n            case 0:\n              _context3.next = 2;\n              return Object(_utils_http__WEBPACK_IMPORTED_MODULE_9__[\"postApi\"])(\"get/settings\");\n            case 2:\n              res = _context3.sent;\n              settings = res;\n              if (res) {\n                delete settings.main.domainName;\n                _this3.settings = settings;\n                _this3.main = Object.keys(settings.main);\n                if (settings.mail) _this3.setMailValues(settings.mail);\n                if (settings.license) _this3.setLicenseValue(settings.license);\n              }\n            case 5:\n            case \"end\":\n              return _context3.stop();\n          }\n        }, _callee3);\n      }))();\n    },\n    save: function save(what, obj) {\n      var _this4 = this;\n      return Object(C_Users_oscar_jartoft_Documents_code_deployify_mdc_site_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {\n        var res;\n        return regeneratorRuntime.wrap(function _callee4$(_context4) {\n          while (1) switch (_context4.prev = _context4.next) {\n            case 0:\n              _context4.prev = 0;\n              if (what === \"mail\") _this4.mailLoading = true;\n              if (what === \"main\") _this4.mainLoading = true;\n              if (!(what === \"license\")) {\n                _context4.next = 16;\n                break;\n              }\n              _this4.licenseLoading = true;\n              _context4.prev = 5;\n              JSON.parse(obj.license);\n              _context4.next = 14;\n              break;\n            case 9:\n              _context4.prev = 9;\n              _context4.t0 = _context4[\"catch\"](5);\n              _this4.$helpers.notify(\"Invalid format\", \"The license is not a valid format.\", \"warning\", 5000);\n              _this4.licenseLoading = false;\n              return _context4.abrupt(\"return\");\n            case 14:\n              _context4.next = 17;\n              break;\n            case 16:\n              _this4.mainLoading = true;\n            case 17:\n              _context4.next = 19;\n              return Object(_utils_http__WEBPACK_IMPORTED_MODULE_9__[\"postApi\"])(\"set/settings/\".concat(what), {\n                settings: obj\n              });\n            case 19:\n              res = _context4.sent;\n              _this4.$helpers.notify(\"Success\", \"\".concat(what, \" settings was saved. \").concat(what === \"mail\" && !_this4.settings.main.emailEnabled ? 'Remember to check the \"mailEnabled\" above (and save) to use the features related to e-mail.' : \"\", \" \"), \"success\", 10000);\n              if (what === \"main\") _this4.$store.dispatch(\"settings/fetchServer\");\n              _context4.next = 28;\n              break;\n            case 24:\n              _context4.prev = 24;\n              _context4.t1 = _context4[\"catch\"](0);\n              console.log(_context4.t1);\n              _this4.$helpers.notify(\"Error\", \"Could not save settings.\", \"danger\", -1);\n            case 28:\n              _this4.mailLoading = false;\n              _this4.mainLoading = false;\n              _this4.licenseLoading = false;\n            case 31:\n            case \"end\":\n              return _context4.stop();\n          }\n        }, _callee4, null, [[0, 24], [5, 9]]);\n      }))();\n    },\n    setMailValues: function setMailValues(mail) {\n      this.form.inputs[0].value = mail.host || \"\";\n      this.form.inputs[1].value = mail.port;\n      this.form.inputs[2].value = mail.from || \"\";\n      this.form.inputs[3].value = mail.user || \"\";\n      this.form.inputs[4].value = mail.pass || \"\";\n      this.form.inputs[5].value = mail.to || \"\";\n      this.form.inputs[6].value = mail.domainName || \"\";\n      this.form.inputs[7].value = mail.keySelector || \"\";\n      this.form.areas[0].value = mail.privateKey || \"\";\n    },\n    getMailValues: function getMailValues() {\n      try {\n        var mail = {\n          auth: {}\n        };\n        mail.host = this.form.inputs[0].value.trim();\n        mail.port = this.form.inputs[1].value;\n        mail.from = this.form.inputs[2].value.trim();\n        mail.user = this.form.inputs[3].value.trim();\n        mail.pass = this.form.inputs[4].value;\n        mail.to = this.form.inputs[5].value.trim();\n        mail.domainName = this.form.inputs[6].value.trim();\n        mail.keySelector = this.form.inputs[7].value.trim();\n        mail.privateKey = this.form.areas[0].value.trim();\n        mail.requireTLS = this.settings.mail.requireTLS;\n        mail.secure = this.settings.mail.secure;\n        return mail;\n      } catch (error) {\n        console.error(error);\n      }\n      return {};\n    },\n    getLicenseValue: function getLicenseValue() {\n      try {\n        return {\n          license: this.form2.areas[0].value.trim()\n        };\n      } catch (error) {\n        console.error(error);\n      }\n      return {};\n    },\n    setLicenseValue: function setLicenseValue(license) {\n      this.form2.areas[0].value = license;\n    },\n    setDisable: function setDisable(disabled) {\n      var _this5 = this;\n      this.form.inputs.map(function (x, index) {\n        return _this5.form.inputs[index].disabled = disabled;\n      });\n      this.form.areas.map(function (x, index) {\n        return _this5.form.areas[index].disabled = disabled;\n      });\n    }\n  }\n});\n\n//# sourceURL=webpack:///./src/components/main/settings/Section.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\":\"60671cf1-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/components/main/settings/Section.vue?vue&type=template&id=947021e2&":
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"60671cf1-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/components/main/settings/Section.vue?vue&type=template&id=947021e2& ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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 _c(\n    \"div\",\n    { staticClass: \"content\" },\n    [\n      _c(\"Title\", [_vm._v(\"Settings\")]),\n      _c(\"div\", { staticClass: \"columns\" }, [\n        _c(\n          \"div\",\n          { staticClass: \"column is-6-desktop\" },\n          [\n            _c(\"h2\", { staticClass: \"h2 is-size-6\" }, [_vm._v(\"Main\")]),\n            _vm._l(_vm.main, function(key) {\n              return [\n                _vm.settings && _vm.settings.main\n                  ? _c(\n                      \"CheckboxText\",\n                      {\n                        key: key,\n                        staticClass: \"margin-bottom-10\",\n                        attrs: { checked: _vm.settings.main[key] },\n                        on: {\n                          click: function($event) {\n                            _vm.settings.main[key] = !_vm.settings.main[key]\n                          }\n                        }\n                      },\n                      [_vm._v(_vm._s(key))]\n                    )\n                  : _vm._e()\n              ]\n            }),\n            _c(\"div\", { staticClass: \"margin-top-2\" }, [\n              _c(\n                \"button\",\n                {\n                  staticClass: \"button is-primary is-small\",\n                  class: { \"is-loading\": _vm.mainLoading },\n                  on: {\n                    click: function($event) {\n                      return _vm.save(\"main\", _vm.settings.main)\n                    }\n                  }\n                },\n                [_vm._v(\" Save \")]\n              )\n            ]),\n            _vm._m(0),\n            _c(\"BForm\", {\n              attrs: { elements: _vm.form },\n              on: {\n                valid: function($event) {\n                  _vm.form.valid = $event\n                }\n              }\n            }),\n            _vm.settings && _vm.settings.mail\n              ? _c(\n                  \"CheckboxText\",\n                  {\n                    staticClass: \"margin-bottom-10 margin-top-10 \",\n                    attrs: { checked: _vm.settings.mail.secure },\n                    on: {\n                      click: function($event) {\n                        return _vm.setProp(\"secure\", !_vm.settings.mail.secure)\n                      }\n                    }\n                  },\n                  [_vm._v(\"Secure\")]\n                )\n              : _vm._e(),\n            _vm.settings && _vm.settings.mail\n              ? _c(\n                  \"CheckboxText\",\n                  {\n                    staticClass: \"margin-bottom-10\",\n                    attrs: { checked: _vm.settings.mail.requireTLS },\n                    on: {\n                      click: function($event) {\n                        return _vm.setProp(\n                          \"requireTLS\",\n                          !_vm.settings.mail.requireTLS\n                        )\n                      }\n                    }\n                  },\n                  [_vm._v(\"Require TLS\")]\n                )\n              : _vm._e(),\n            !_vm.mailVerified\n              ? _c(\"div\", { staticClass: \"margin-top-2\" }, [\n                  _c(\n                    \"button\",\n                    {\n                      staticClass: \"button is-info is-small\",\n                      class: { \"is-loading\": _vm.mailLoading },\n                      attrs: { disabled: _vm.mailLoading || !_vm.form.valid },\n                      on: {\n                        click: function($event) {\n                          return _vm.testMail()\n                        }\n                      }\n                    },\n                    [_vm._v(\" Send test e-mail \")]\n                  )\n                ])\n              : _vm._e(),\n            _vm.errorMessage\n              ? _c(\n                  \"article\",\n                  { staticClass: \"message is-danger margin-top-2\" },\n                  [\n                    _vm._m(1),\n                    _c(\"div\", { staticClass: \"message-body\" }, [\n                      _c(\"p\", [_vm._v(_vm._s(_vm.errorMessage))])\n                    ])\n                  ]\n                )\n              : _vm._e(),\n            _vm.mailVerified\n              ? _c(\"div\", { staticClass: \"margin-top-2\" }, [\n                  _c(\n                    \"button\",\n                    {\n                      staticClass: \"button is-small is-default \",\n                      on: {\n                        click: function($event) {\n                          _vm.setDisable(false)\n                          _vm.mailVerified = false\n                        }\n                      }\n                    },\n                    [_vm._v(\" Unlock form \")]\n                  )\n                ])\n              : _vm._e(),\n            _vm.mailVerified\n              ? _c(\"div\", { staticClass: \"margin-top-2\" }, [\n                  _c(\n                    \"button\",\n                    {\n                      staticClass: \"button is-primary is-small\",\n                      class: { \"is-loading\": _vm.mailLoading },\n                      on: {\n                        click: function($event) {\n                          _vm.save(\"mail\", _vm.getMailValues())\n                        }\n                      }\n                    },\n                    [_vm._v(\" Save \")]\n                  )\n                ])\n              : _vm._e(),\n            _vm._m(2),\n            _c(\"BForm\", {\n              attrs: { elements: _vm.form2 },\n              on: {\n                valid: function($event) {\n                  _vm.form.valid = $event\n                }\n              }\n            }),\n            _c(\"div\", { staticClass: \"margin-top-2\" }, [\n              _c(\n                \"button\",\n                {\n                  staticClass: \"button is-primary is-small\",\n                  class: { \"is-loading\": _vm.licenseLoading },\n                  on: {\n                    click: function($event) {\n                      _vm.save(\"license\", _vm.getLicenseValue())\n                    }\n                  }\n                },\n                [_vm._v(\" Save \")]\n              )\n            ])\n          ],\n          2\n        )\n      ])\n    ],\n    1\n  )\n}\nvar staticRenderFns = [\n  function() {\n    var _vm = this\n    var _h = _vm.$createElement\n    var _c = _vm._self._c || _h\n    return _c(\"div\", { staticClass: \" margin-top-3\" }, [\n      _c(\"h2\", { staticClass: \"h2 is-size-6\" }, [_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(\"div\", { staticClass: \"message-header\" }, [\n      _c(\"span\", [_vm._v(\"Failed to send 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(\"div\", { staticClass: \" margin-top-3\" }, [\n      _c(\"h2\", { staticClass: \"h2 is-size-6\" }, [_vm._v(\"License\")])\n    ])\n  }\n]\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/components/main/settings/Section.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%2260671cf1-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/components/main/settings/Section.vue":
/*!**************************************************!*\
  !*** ./src/components/main/settings/Section.vue ***!
  \**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _Section_vue_vue_type_template_id_947021e2___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Section.vue?vue&type=template&id=947021e2& */ \"./src/components/main/settings/Section.vue?vue&type=template&id=947021e2&\");\n/* harmony import */ var _Section_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Section.vue?vue&type=script&lang=js& */ \"./src/components/main/settings/Section.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  _Section_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _Section_vue_vue_type_template_id_947021e2___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _Section_vue_vue_type_template_id_947021e2___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/components/main/settings/Section.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/main/settings/Section.vue?");

/***/ }),

/***/ "./src/components/main/settings/Section.vue?vue&type=script&lang=js&":
/*!***************************************************************************!*\
  !*** ./src/components/main/settings/Section.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_Section_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!./Section.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/components/main/settings/Section.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_Section_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/main/settings/Section.vue?");

/***/ }),

/***/ "./src/components/main/settings/Section.vue?vue&type=template&id=947021e2&":
/*!*********************************************************************************!*\
  !*** ./src/components/main/settings/Section.vue?vue&type=template&id=947021e2& ***!
  \*********************************************************************************/
/*! 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_60671cf1_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_Section_vue_vue_type_template_id_947021e2___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"60671cf1-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!./Section.vue?vue&type=template&id=947021e2& */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"60671cf1-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/components/main/settings/Section.vue?vue&type=template&id=947021e2&\");\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_60671cf1_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_Section_vue_vue_type_template_id_947021e2___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_60671cf1_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_Section_vue_vue_type_template_id_947021e2___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/main/settings/Section.vue?");

/***/ })

}]);