(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{"0ezt":function(t,e,a){var i=a("x7z+");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},"16hu":function(t,e,a){"use strict";a("J29Y")},"1q1M":function(t,e,a){"use strict";a("mXqa")},"4TWA":function(t,e,a){"use strict";var i=a("CjXH"),o=a("LvDl"),r={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:i.y,UserIcon:i.wb,ChevronDownIcon:i.i},watch:{query:Object(o.debounce)((function(t){this.searchedResults=Object(o.omitBy)(this.options,(function(e){return!e.label.toLowerCase().includes(t.toLowerCase())}))}),200)},computed:{isSearching:function(){return this.searchedResults&&""!==this.query},optionList:function(){return this.isSearching?this.searchedResults:this.options}},data:function(){return{searchedResults:void 0,selected:void 0,isOpen:!1,query:""}},methods:{selectOption:function(t){this.$emit("input",t.value),this.$emit("change",t.value),this.selected=t,this.isOpen=!1},openMenu:function(){var t=this;this.isOpen=!this.isOpen,this.isOpen&&this.$nextTick((function(){return t.$refs.search.focus()}))}},created:function(){var t=this;this.default&&(this.selected=this.options.find((function(e){return e.value===t.default})))}},n=(a("VBJ4"),a("KHd+")),s=Object(n.a)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"select"},[a("div",{staticClass:"input-area bg-light-background rounded-lg",class:{"is-active":t.isOpen,"is-error":t.isError},on:{click:t.openMenu}},[t.selected?a("div",{staticClass:"selected"},[t.selected.icon?a("div",{staticClass:"option-icon"},["user"===t.selected.icon?a("user-icon",{staticClass:"text-theme dark-text-theme",attrs:{size:"14"}}):t._e(),t._v(" "),"user-edit"===t.selected.icon?a("edit2-icon",{staticClass:"text-theme dark-text-theme",attrs:{size:"14"}}):t._e()],1):t._e(),t._v(" "),a("span",{staticClass:"option-value"},[t._v(t._s(t.selected.label))])]):t._e(),t._v(" "),t.selected?t._e():a("div",{staticClass:"not-selected"},[a("span",{staticClass:"option-value placehoder"},[t._v(t._s(t.placeholder))])]),t._v(" "),a("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),t._v(" "),a("transition",{attrs:{name:"slide-in"}},[t.isOpen?a("div",{staticClass:"input-options rounded-lg"},[t.options.length>5?a("div",{staticClass:"select-search"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"search",staticClass:"search-input focus-border-theme rounded-lg",attrs:{type:"text",placeholder:t.$t("select_search_placeholder")},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}})]):t._e(),t._v(" "),a("ul",{staticClass:"option-list"},t._l(t.optionList,(function(e,i){return a("li",{key:i,staticClass:"option-item",on:{click:function(a){return t.selectOption(e)}}},[e.icon?a("div",{staticClass:"option-icon"},["user"===e.icon?a("user-icon",{attrs:{size:"14"}}):t._e(),t._v(" "),"user-edit"===e.icon?a("edit2-icon",{attrs:{size:"14"}}):t._e()],1):t._e(),t._v(" "),a("span",{staticClass:"option-value"},[t._v(t._s(e.label))])])})),0)]):t._e()])],1)}),[],!1,null,"779355e6",null);e.a=s.exports},"9aPE":function(t,e,a){var i=a("E+jl");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},ASoH:function(t,e,a){"use strict";var i=a("CjXH"),o={name:"AuthContent",props:["loading","icon","text"],components:{ChevronRightIcon:i.k,RefreshCwIcon:i.gb},data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}},r=(a("1q1M"),a("KHd+")),n=Object(r.a)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{staticClass:"group flex items-center border-2 border-black rounded-lg inline-block mx-auto px-7 py-2.5 whitespace-nowrap"},[a("span",{staticClass:"font-extrabold text-lg pr-1"},[t._v("\n\t\t\t"+t._s(t.text)+"\n\t\t")]),t._v(" "),t.loading?a("refresh-cw-icon",{staticClass:"vue-feather text-theme -mr-1 sync-alt",attrs:{size:"20"}}):t._e(),t._v(" "),!t.loading&&t.icon?a("chevron-right-icon",{staticClass:"vue-feather text-theme -mr-1",attrs:{size:"20"}}):t._e()],1)}),[],!1,null,"0be2c737",null);e.a=n.exports},"E+jl":function(t,e,a){(t.exports=a("I1BE")(!1)).push([t.i,".logo{width:120px;margin-bottom:20px}h1{font-size:2.125em;font-weight:800;line-height:1.2;margin-bottom:2px}h1,h2{color:#1b2539}h2{font-size:1.4375em;font-weight:500;margin-bottom:50px}@media only screen and (max-width:690px){h1{font-size:1.875em}h2{font-size:1.3125em}}@media only screen and (max-width:490px){h1{font-size:1.375em}h2{font-size:1.125em}}",""])},J29Y:function(t,e,a){var i=a("jHB2");"string"==typeof i&&(i=[[t.i,i,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,o);i.locals&&(t.exports=i.locals)},KnjL:function(t,e,a){"use strict";var i={name:"InfoBox",props:["type"]},o=(a("LQoL"),a("KHd+")),r=Object(o.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"info-box",class:this.type},[this._t("default")],2)}),[],!1,null,"27ea1904",null);e.a=r.exports},LQoL:function(t,e,a){"use strict";a("0ezt")},SjQP:function(t,e,a){"use strict";a("9aPE")},TJPC:function(t,e,a){"use strict";a.d(e,"a",(function(){return r}));function i(t){return null==t}function o(t){return Array.isArray(t)&&0===t.length}var r={validate:function(t,e){var a=(void 0===e?{allowFalse:!0}:e).allowFalse,r={valid:!1,required:!0};return i(t)||o(t)?r:!1!==t||a?(r.valid=!!String(t).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},VBJ4:function(t,e,a){"use strict";a("xmEC")},"aEI+":function(t,e,a){"use strict";a.r(e);var i=a("A5+z"),o=a("bDRN"),r=a("4TWA"),n=a("eZ9V"),s=a("KnjL"),d=a("j8qy"),c=a("ASoH"),l=a("zTYo"),p=a("CjXH"),u=a("TJPC"),m=a("aSdZ"),v=a("vDqi"),f=a.n(v),h={name:"InstallationDisclaimer",components:{AuthContentWrapper:o.a,ValidationProvider:i.ValidationProvider,ValidationObserver:i.ValidationObserver,SettingsIcon:p.jb,SelectInput:r.a,AuthContent:d.a,AuthButton:c.a,FormLabel:n.a,required:u.a,Spinner:l.a,InfoBox:s.a,Headline:m.a},data:function(){return{isLoading:!0,isError:!1,isExtended:void 0}},created:function(){var t=this;f.a.post("/api/setup/purchase-code",{purchaseCode:localStorage.getItem("purchase_code")}).then((function(e){t.$scrollTop(),t.isLoading=!1,"b6896a44017217c36f4a6fdc56699728"===e.data?(t.isExtended=!0,localStorage.setItem("license","Extended")):(t.isExtended=!1,localStorage.setItem("license","Regular"))})).catch((function(e){t.isLoading=!1,400==e.response.status&&t.$router.push({name:"PurchaseCode"})}))}},b=(a("16hu"),a("KHd+")),x=Object(b.a)(h,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("AuthContentWrapper",{ref:"auth"},[a("AuthContent",{attrs:{name:"database-credentials",visible:!0}},[a("Headline",{staticClass:"container mx-auto max-w-screen-sm",attrs:{title:"Setup Wizard",description:"Database was installed successfully. Let's set up application, Make sure you have these informations before continue:"}},[a("settings-icon",{staticClass:"title-icon text-theme mx-auto",attrs:{size:"40"}})],1),t._v(" "),t.isLoading?a("div",{attrs:{id:"loader"}},[a("Spinner")],1):t._e(),t._v(" "),t.isLoading?t._e():a("div",{staticClass:"form block-form"},[a("InfoBox",[t.isExtended?a("ul",{staticClass:"information-list",staticStyle:{"margin-top":"0"}},[a("li",[t._v("\n 1. Stripe API Credentials\n ")]),t._v(" "),a("li",[t._v("\n 2. Billing details for Stripe Subscription Service\n ")]),t._v(" "),a("li",[t._v("\n 3. You will create your subscription plans\n ")]),t._v(" "),a("li",[t._v("\n 4. Email Account Credentials for sending emails to your users\n ")]),t._v(" "),a("li",[t._v("\n 5. If you use external storage service, then you will need set your API credentials\n ")]),t._v(" "),a("li",[t._v("\n 6. Some general settings for VueFileManager like Google Analytics, logo, favicon and application name\n ")]),t._v(" "),a("li",[t._v("\n 7. You will create admin account\n ")])]):a("ul",{staticClass:"information-list",staticStyle:{"margin-top":"0"}},[a("li",[t._v("\n 1. Email Account Credentials for sending emails to your users\n ")]),t._v(" "),a("li",[t._v("\n 2. If you use external storage service, then you will need set your API credentials\n ")]),t._v(" "),a("li",[t._v("\n 3. Some general settings for VueFileManager like Google Analytics, logo, favicon and application name\n ")]),t._v(" "),a("li",[t._v("\n 4. You will create admin account\n ")])])]),t._v(" "),t.isExtended?a("router-link",{staticClass:"submit-wrapper",attrs:{to:{name:"SubscriptionService"},tag:"div"}},[a("AuthButton",{attrs:{icon:"chevron-right",text:"I Get It! Let's Set Up Application",loading:t.isLoading,disabled:t.isLoading}})],1):t._e(),t._v(" "),t.isExtended?t._e():a("router-link",{staticClass:"submit-wrapper",attrs:{to:{name:"EnvironmentSetup"},tag:"div"}},[a("AuthButton",{attrs:{icon:"chevron-right",text:"I Get It! Let's Set Up Application",loading:t.isLoading,disabled:t.isLoading}})],1)],1)],1)],1)}),[],!1,null,"68ce465a",null);e.default=x.exports},aSdZ:function(t,e,a){"use strict";var i=a("L2JU");function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var n={name:"Headline",props:["description","title"],computed:function(t){for(var e=1;e