(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{445:function(t,e,n){var content=n(482);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(31).default)("ac9507b0",content,!0,{sourceMap:!1})},481:function(t,e,n){"use strict";n(445)},482:function(t,e,n){var r=n(30)(!1);r.push([t.i,".install-page{box-shadow:6px 6px 40px rgba(0,131,253,.8);border-radius:1rem;padding:1rem 2rem;flex:1;z-index:2;color:#fff;margin:0 auto;max-width:400px;text-align:center;background:linear-gradient(135deg,#02c6ff,#6943ff)}.w-app--dark .install-page{box-shadow:6px 6px 40px rgba(0,131,253,.45)}.install-page__title{padding-top:.75rem;padding-bottom:.75rem;font-weight:600;font-size:1.5rem;line-height:2rem;text-transform:uppercase;letter-spacing:.1em}.install-page__form{display:flex;flex-direction:column;height:100%}.install-page__input{margin-top:1.25rem;margin-bottom:1.25rem}.install-page .w-button{margin-top:1.25rem}",""]),t.exports=r},524:function(t,e,n){"use strict";n.r(e);n(42),n(8);var r=n(0),l=function(t,e,n,r){return new(n||(n=Promise))((function(l,o){function c(t){try{m(r.next(t))}catch(t){o(t)}}function d(t){try{m(r.throw(t))}catch(t){o(t)}}function m(t){var e;t.done?l(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(c,d)}m((r=r.apply(t,e||[])).next())}))},o=r.a.extend({layout:"landing",middleware:"guest",asyncData:function(t){t.store.state.config.installing||t.redirect("/")},data:function(){return{fullname:"",email:"",password:"",loading:!1}},methods:{registerAdmin:function(){return l(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.fullname&&this.email&&this.password){t.next=3;break}return this.$waveui.notify(this.$t("NOTIFICATION_BLANK_FIELDS"),"error"),t.abrupt("return");case 3:return this.loading=!0,t.next=6,this.$store.dispatch("signUp",{fullname:this.fullname,email:this.email,password:this.password,remember:!0});case 6:t.sent?this.$router.push("/"):this.$waveui.notify(this.$t("NOTIFICATION_INVALID_DETAILS"),"error"),this.loading=!1;case 9:case"end":return t.stop()}}),t,this)})))}}}),c=(n(481),n(11)),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"install-page"},[n("section",{key:"register",staticClass:"install-page__view"},[n("h1",{staticClass:"install-page__title"},[t._v("\n\t\t\t"+t._s(t.$t("INSTALLER_INSTALL"))+"\n\t\t")]),t._v(" "),n("w-form",{staticClass:"install-page__form"},[n("section",[n("w-input",{staticClass:"install-page__input",attrs:{placeholder:t.$t("GENERAL_EMAIL"),autocomplete:"sign-up email",name:"email",round:""},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}}),t._v(" "),n("w-input",{staticClass:"install-page__input",attrs:{placeholder:t.$t("GENERAL_FULL_NAME"),autocomplete:"sign-up name",name:"name",round:""},model:{value:t.fullname,callback:function(e){t.fullname=e},expression:"fullname"}}),t._v(" "),n("w-input",{staticClass:"install-page__input",attrs:{placeholder:t.$t("SIGNIN_PASSWORD"),autocomplete:"sign-up password","password-reveal":"",type:"password",name:"password",round:""},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1),t._v(" "),n("spacer"),t._v(" "),n("w-button",{staticClass:"install-page__button",attrs:{round:"",color:"white","bg-color":"accent-3",type:"submit",width:"100%",height:"32",loading:t.loading},on:{click:t.registerAdmin}},[t._v("\n\t\t\t\t"+t._s(t.$t("INSTALLER_CONTINUE"))+"\n\t\t\t\t"),n("w-icon",[t._v("\n\t\t\t\t\tmdi mdi-chevron-right\n\t\t\t\t")])],1)],1)],1)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Spacer:n(249).default})}}]);