(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216432"],{c25b:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pos-page-inner"},[a("h4",{staticClass:"uk-heading-line"},[a("span",{domProps:{textContent:t._s(t.$t("activate.ActivateTitle"))}})]),a("form",{staticClass:"uk-form-horizontal uk-width-xlarge",attrs:{autocomplete:"on"},on:{submit:function(e){return e.preventDefault(),t.saveChange(e)}}},[a("div",{staticClass:"uk-margin"},[a("label",{staticClass:"uk-form-label",domProps:{textContent:t._s(t.$t("activate.uinqueId"))}}),a("div",{staticClass:"uk-form-controls uk-form-controls-text uk-text-right@m"},[a("div",{domProps:{textContent:t._s(t.license.validationKey)}})]),a("label",{staticClass:"uk-form-label",domProps:{textContent:t._s(t.$t("activate.expirationDate"))}}),a("div",{staticClass:"uk-form-controls uk-form-controls-text uk-text-right@m"},[a("div",{domProps:{textContent:t._s(t.license.ExpirationDate)}})]),a("label",{staticClass:"uk-form-label",domProps:{textContent:t._s(t.$t("activate.activationCode"))}}),a("div",{staticClass:"uk-form-controls uk-form-controls-text uk-text-right@m"},[a("div",{domProps:{textContent:t._s(t.license.Key)}})]),a("label",{staticClass:"uk-form-label"},[t._v("Организация")]),a("div",{staticClass:"uk-form-controls uk-form-controls-text uk-text-right@m"},[a("div",[t._v(t._s(t.license.org?t.license.org:"-"))])]),a("label",{staticClass:"uk-form-label"},[t._v("Адрес")]),a("div",{staticClass:"uk-form-controls uk-form-controls-text uk-text-right@m"},[a("div",[t._v(t._s(t.license.address?t.license.address:"-"))])])]),a("div",{staticClass:"uk-margin "},[a("button",{staticClass:"uk-button uk-button-default",attrs:{type:"button"},domProps:{textContent:t._s(t.$t("activate.cancelActivation"))},on:{click:function(e){return e.preventDefault(),t.cancelActivation(e)}}})])])])},s=[],i=(a("96cf"),a("3b8d")),o=a("8323"),r=a.n(o),c=a("01da"),l={name:"License",metaInfo:function(){return{title:this.$route.meta.breadcrumb,titleTemplate:"%s - "+this.$t("app.title"),htmlAttrs:{lang:this.$t("app.lang")}}},data:function(){return{}},computed:{license:function(){return this.$store.state.license}},methods:{cancelActivation:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.a.modal.confirm(this.$t("activate.cancelActivationConfirm"),{labels:{ok:this.$t("actions.ok"),cancel:this.$t("actions.cancel")}});case 3:t.next=8;break;case 5:return t.prev=5,t.t0=t["catch"](0),t.abrupt("return");case 8:return t.next=10,c["a"].deactivate();case 10:return t.next=12,this.$store.dispatch("loadLicense");case 12:case"end":return t.stop()}}),t,this,[[0,5]])})));function e(){return t.apply(this,arguments)}return e}()}},u=l,m=a("2877"),d=Object(m["a"])(u,n,s,!1,null,null,null);e["default"]=d.exports}}]);