text: (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"+Pqb":function(e,t,a){"use strict";var i={name:"ProgressBar",props:["progress"]},r=(a("2jb4"),a("KHd+")),o=Object(r.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"progress-bar"},[t("span",{style:{width:this.progress+"%"}})])}),[],!1,null,"9f98bf3e",null);t.a=o.exports},"+fJw":function(e,t,a){var i=a("R+OL");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},"+t0u":function(e,t,a){var i=a("QO4y");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},"13Td":function(e,t,a){"use strict";var i={name:"SetupBox",props:["title","description","theme"]},r=(a("jS71"),a("KHd+")),o=Object(r.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setup-box",class:e.theme},[a("b",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),a("p",{staticClass:"description"},[e._v(e._s(e.description))]),e._v(" "),e._t("default")],2)}),[],!1,null,"664a78dc",null);t.a=o.exports},"2jb4":function(e,t,a){"use strict";var i=a("i5u3");a.n(i).a},"5BDI":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".progress-bar[data-v-9f98bf3e]{width:100%;height:5px;background:#f4f5f6;margin-top:5px;border-radius:10px}.progress-bar span[data-v-9f98bf3e]{background:#00bc7e;display:block;height:100%;border-radius:10px;max-width:100%}@media (prefers-color-scheme:dark){.progress-bar[data-v-9f98bf3e]{background:#1e2024}}@media only screen and (min-width:680px) and (prefers-color-scheme:dark){.progress-bar[data-v-9f98bf3e]{background:#1e2024}}",""])},"5pbA":function(e,t,a){"use strict";var i=a("+t0u");a.n(i).a},"6gqG":function(e,t,a){var i=a("ydEr");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},"7OGm":function(e,t,a){"use strict";var i=a("6gqG");a.n(i).a},"D+dh":function(e,t,a){"use strict";var i=a("kvrn"),r=a.n(i),o={name:"ImageInput",props:["image","error"],components:{ImageIcon:{name:"ImageIcon",props:{size:{type:String,default:"24",validator:function(e){return!isNaN(e)||e.length>=2&&!isNaN(e.slice(0,e.length-1))&&"x"===e.slice(-1)}}},functional:!0,render:function(e,t){var a="x"===t.props.size.slice(-1)?t.props.size.slice(0,t.props.size.length-1)+"em":parseInt(t.props.size)+"px",i=t.data.attrs||{};return i.width=i.width||a,i.height=i.height||a,t.data.attrs=i,e("svg",r()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-image"},t.data]),[e("rect",{attrs:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}}),e("circle",{attrs:{cx:"8.5",cy:"8.5",r:"1.5"}}),e("polyline",{attrs:{points:"21 15 16 10 5 21"}})])}}},data:function(){return{imagePreview:void 0}},computed:{isData:function(){return void 0!==this.imagePreview&&""!==this.imagePreview}},methods:{showImagePreview:function(e){var t=this,a=e.target.files[0].name,i=a.substring(a.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(i)){var r=e.target.files[0],o=new FileReader;o.onload=function(){return t.imagePreview=o.result},o.readAsDataURL(r),this.$emit("input",e.target.files[0])}else alert(this.$t("validation_errors.wrong_image"))}},created:function(){this.image&&(this.imagePreview=this.image)}},s=(a("cO+9"),a("KHd+")),n=Object(s.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dropzone",class:{"is-error":e.error}},[a("input",{ref:"file",staticClass:"dummy",attrs:{type:"file"},on:{change:function(t){return e.showImagePreview(t)}}}),e._v(" "),e.imagePreview?a("img",{ref:"image",staticClass:"image-preview",attrs:{src:e.imagePreview}}):e._e(),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.isData,expression:"! isData"}],staticClass:"dropzone-message"},[a("image-icon",{staticClass:"icon-upload",attrs:{size:"28"}}),e._v(" "),a("span",{staticClass:"dropzone-title"},[e._v("\n            "+e._s(e.$t("input_image.title"))+"\n        ")]),e._v(" "),a("span",{staticClass:"dropzone-description"},[e._v("\n            "+e._s(e.$t("input_image.supported"))+"\n        ")])],1)])}),[],!1,null,"24846626",null);t.a=n.exports},FEcZ:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".setup-box[data-v-664a78dc]{padding:20px;border-radius:8px;margin-bottom:30px}.setup-box .title[data-v-664a78dc]{font-size:1.3125em;margin-bottom:5px;display:block;font-weight:700}.setup-box .description[data-v-664a78dc]{font-size:.9375em;line-height:1.5;margin-bottom:20px}.setup-box.base[data-v-664a78dc],.setup-box.danger[data-v-664a78dc]{background:#f4f5f6}.setup-box.danger .title[data-v-664a78dc]{color:#fd397a}.setup-box[data-v-664a78dc] .input-area,.setup-box[data-v-664a78dc] input .input-area,.setup-box[data-v-664a78dc] input[type=number],.setup-box[data-v-664a78dc] input[type=text]{background:#fff}.setup-box[data-v-664a78dc] .form{margin-top:20px}.setup-box[data-v-664a78dc] .form.block-form{max-width:450px}.setup-box[data-v-664a78dc] .form.block-form .single-line-form{display:flex}.setup-box[data-v-664a78dc] .form.block-form .single-line-form .submit-button{margin-left:20px}@media only screen and (max-width:960px){.setup-box[data-v-664a78dc] .form.block-form{max-width:100%}.setup-box[data-v-664a78dc] .form input{min-width:0}}@media only screen and (max-width:690px){.setup-box[data-v-664a78dc]{padding:15px}.setup-box .title[data-v-664a78dc]{font-size:1.0625em;margin-bottom:10px}.setup-box .description[data-v-664a78dc]{font-size:.875em}.setup-box[data-v-664a78dc] .form.block-form .single-line-form{display:block}.setup-box[data-v-664a78dc] .form.block-form .single-line-form .submit-button{margin-left:0;margin-top:10px}}@media (prefers-color-scheme:dark){.setup-box.base[data-v-664a78dc],.setup-box.danger[data-v-664a78dc]{background:#1e2024}.setup-box[data-v-664a78dc] .input-area,.setup-box[data-v-664a78dc] input .input-area,.setup-box[data-v-664a78dc] input[type=number],.setup-box[data-v-664a78dc] input[type=text]{background:#111314}}",""])},Idvm:function(e,t,a){var i=a("lig4");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},KnjL:function(e,t,a){"use strict";var i={name:"InfoBox",props:["type"]},r=(a("7OGm"),a("KHd+")),o=Object(r.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"info-box",class:this.type},[this._t("default")],2)}),[],!1,null,"bf43be5e",null);t.a=o.exports},LE5O:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".detail-storage-item[data-v-56af1b6e]{margin-bottom:35px}.detail-storage-item.disk .icon circle[data-v-56af1b6e],.detail-storage-item.disk .icon line[data-v-56af1b6e],.detail-storage-item.disk .icon path[data-v-56af1b6e],.detail-storage-item.disk .icon polygon[data-v-56af1b6e],.detail-storage-item.disk .icon polyline[data-v-56af1b6e],.detail-storage-item.disk .icon rect[data-v-56af1b6e]{stroke:#1b2539}.detail-storage-item.disk .storage-progress[data-v-56af1b6e] span{background:#1b2539}.detail-storage-item.images .icon circle[data-v-56af1b6e],.detail-storage-item.images .icon line[data-v-56af1b6e],.detail-storage-item.images .icon path[data-v-56af1b6e],.detail-storage-item.images .icon polygon[data-v-56af1b6e],.detail-storage-item.images .icon polyline[data-v-56af1b6e],.detail-storage-item.images .icon rect[data-v-56af1b6e]{stroke:#9d66fe}.detail-storage-item.images .storage-progress[data-v-56af1b6e] span{background:#9d66fe}.detail-storage-item.videos .icon circle[data-v-56af1b6e],.detail-storage-item.videos .icon line[data-v-56af1b6e],.detail-storage-item.videos .icon path[data-v-56af1b6e],.detail-storage-item.videos .icon polygon[data-v-56af1b6e],.detail-storage-item.videos .icon polyline[data-v-56af1b6e],.detail-storage-item.videos .icon rect[data-v-56af1b6e]{stroke:#ffbd2d}.detail-storage-item.videos .storage-progress[data-v-56af1b6e] span{background:#ffbd2d}.detail-storage-item.audios .icon circle[data-v-56af1b6e],.detail-storage-item.audios .icon line[data-v-56af1b6e],.detail-storage-item.audios .icon path[data-v-56af1b6e],.detail-storage-item.audios .icon polygon[data-v-56af1b6e],.detail-storage-item.audios .icon polyline[data-v-56af1b6e],.detail-storage-item.audios .icon rect[data-v-56af1b6e]{stroke:#fe66a1}.detail-storage-item.audios .storage-progress[data-v-56af1b6e] span{background:#fe66a1}.detail-storage-item.documents .icon circle[data-v-56af1b6e],.detail-storage-item.documents .icon line[data-v-56af1b6e],.detail-storage-item.documents .icon path[data-v-56af1b6e],.detail-storage-item.documents .icon polygon[data-v-56af1b6e],.detail-storage-item.documents .icon polyline[data-v-56af1b6e],.detail-storage-item.documents .icon rect[data-v-56af1b6e]{stroke:#fe6057}.detail-storage-item.documents .storage-progress[data-v-56af1b6e] span{background:#fe6057}.detail-storage-item.others .icon circle[data-v-56af1b6e],.detail-storage-item.others .icon line[data-v-56af1b6e],.detail-storage-item.others .icon path[data-v-56af1b6e],.detail-storage-item.others .icon polygon[data-v-56af1b6e],.detail-storage-item.others .icon polyline[data-v-56af1b6e],.detail-storage-item.others .icon rect[data-v-56af1b6e]{stroke:#1b2539}.detail-storage-item.others .storage-progress[data-v-56af1b6e] span{background:#1b2539}.header-storage-item[data-v-56af1b6e]{display:flex;align-items:flex-start;margin-bottom:10px}.header-storage-item .icon[data-v-56af1b6e]{width:35px}.header-storage-item .type[data-v-56af1b6e]{font-size:.9375em;color:#1b2539}.header-storage-item .total-size[data-v-56af1b6e]{font-size:.625em;display:block;color:rgba(27,37,57,.7)}@media (prefers-color-scheme:dark){.header-storage-item .type[data-v-56af1b6e]{color:#bec6cf}.header-storage-item .total-size[data-v-56af1b6e]{color:#7d858c}.detail-storage-item.disk .icon circle[data-v-56af1b6e],.detail-storage-item.disk .icon line[data-v-56af1b6e],.detail-storage-item.disk .icon path[data-v-56af1b6e],.detail-storage-item.disk .icon polygon[data-v-56af1b6e],.detail-storage-item.disk .icon polyline[data-v-56af1b6e],.detail-storage-item.disk .icon rect[data-v-56af1b6e],.detail-storage-item.others .icon circle[data-v-56af1b6e],.detail-storage-item.others .icon line[data-v-56af1b6e],.detail-storage-item.others .icon path[data-v-56af1b6e],.detail-storage-item.others .icon polygon[data-v-56af1b6e],.detail-storage-item.others .icon polyline[data-v-56af1b6e],.detail-storage-item.others .icon rect[data-v-56af1b6e]{stroke:#41454e}.detail-storage-item.disk .storage-progress[data-v-56af1b6e] span,.detail-storage-item.others .storage-progress[data-v-56af1b6e] span{background:#41454e}}",""])},QO4y:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,"",""])},"R+OL":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".form[data-v-5317e942]{max-width:700px}.form.inline-form[data-v-5317e942]{display:flex;position:relative;justify-content:center;margin:0 auto}.form.inline-form .input-wrapper[data-v-5317e942]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-5317e942]{position:absolute;left:0;bottom:-25px}.form.block-form .wrapper-inline[data-v-5317e942]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-5317e942]{width:100%;padding:0 15px}.form.block-form .block-wrapper[data-v-5317e942]{margin-bottom:32px}.form.block-form .block-wrapper label[data-v-5317e942]{font-size:.875em;color:rgba(27,37,57,.8);font-weight:700;display:block;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-5317e942]:last-child{margin-bottom:0}.form.block-form .button[data-v-5317e942]{margin-top:50px}.form .inline-wrapper[data-v-5317e942]{display:flex;align-items:center;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-5317e942]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-5317e942]{font-weight:700;color:#1b2539;font-size:1em;margin-bottom:5px}.form .input-help[data-v-5317e942]{font-size:.75em;color:rgba(27,37,57,.7);line-height:1.35;padding-top:10px;display:block}.single-line-form[data-v-5317e942]{display:flex}.single-line-form .submit-button[data-v-5317e942]{margin-left:20px}.error-message[data-v-5317e942]{font-size:.875em;color:#fd397a;padding-top:5px;display:block;text-align:left}textarea[data-v-5317e942]{width:100%}input[type=email][data-v-5317e942],input[type=number][data-v-5317e942],input[type=password][data-v-5317e942],input[type=text][data-v-5317e942],textarea[data-v-5317e942]{border:1px solid transparent;transition:all .15s ease;font-size:1em;border-radius:8px;padding:13px 20px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-weight:700;outline:0;width:100%;box-shadow:0 1px 5px rgba(0,0,0,.12)}input[type=email].is-error[data-v-5317e942],input[type=number].is-error[data-v-5317e942],input[type=password].is-error[data-v-5317e942],input[type=text].is-error[data-v-5317e942],textarea.is-error[data-v-5317e942]{border-color:#fd397a;box-shadow:0 1px 5px rgba(253,57,122,.3)}input[type=email][data-v-5317e942]::-moz-placeholder,input[type=number][data-v-5317e942]::-moz-placeholder,input[type=password][data-v-5317e942]::-moz-placeholder,input[type=text][data-v-5317e942]::-moz-placeholder,textarea[data-v-5317e942]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-5317e942]:-ms-input-placeholder,input[type=number][data-v-5317e942]:-ms-input-placeholder,input[type=password][data-v-5317e942]:-ms-input-placeholder,input[type=text][data-v-5317e942]:-ms-input-placeholder,textarea[data-v-5317e942]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-5317e942]::placeholder,input[type=number][data-v-5317e942]::placeholder,input[type=password][data-v-5317e942]::placeholder,input[type=text][data-v-5317e942]::placeholder,textarea[data-v-5317e942]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-5317e942]:focus,input[type=number][data-v-5317e942]:focus,input[type=password][data-v-5317e942]:focus,input[type=text][data-v-5317e942]:focus,textarea[data-v-5317e942]:focus{border-color:#00bc7e;box-shadow:0 1px 5px rgba(0,188,126,.3)}input[type=email][disabled][data-v-5317e942],input[type=number][disabled][data-v-5317e942],input[type=password][disabled][data-v-5317e942],input[type=text][disabled][data-v-5317e942],textarea[disabled][data-v-5317e942]{background:#fff;color:rgba(27,37,57,.8);-webkit-text-fill-color:rgba(27,37,57,.8);opacity:1;cursor:not-allowed}.additional-link[data-v-5317e942]{font-size:1em;margin-top:50px;display:block;color:#1b2539}.additional-link a[data-v-5317e942],.additional-link b[data-v-5317e942]{color:#00bc7e;cursor:pointer}.additional-link a[data-v-5317e942]:hover,.additional-link b[data-v-5317e942]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-5317e942]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-5317e942]{margin-top:20px;width:100%;margin-left:0;margin-right:0}.form input[data-v-5317e942],.form textarea[data-v-5317e942]{width:100%;min-width:100%}.form.block-form .block-wrapper[data-v-5317e942]{display:block}.form.block-form .block-wrapper label[data-v-5317e942]{width:100%;padding-right:0;display:block;margin-bottom:7px;text-align:left!important;font-size:.875em;padding-top:0}.form.block-form .button[data-v-5317e942]{margin-top:25px;margin-left:0;margin-right:0}.form.inline-form[data-v-5317e942]{display:block}.form.inline-form .input-wrapper .error-message[data-v-5317e942]{position:relative;bottom:0}.form .button[data-v-5317e942]{padding:14px 32px}.single-line-form[data-v-5317e942]{display:block}.single-line-form .submit-button[data-v-5317e942]{margin-left:0;margin-top:20px;width:100%}input[type=email][data-v-5317e942],input[type=number][data-v-5317e942],input[type=password][data-v-5317e942],input[type=text][data-v-5317e942],textarea[data-v-5317e942]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-5317e942]{display:block}}@media (prefers-color-scheme:dark){.form .input-help[data-v-5317e942]{color:#7d858c}.form.block-form .block-wrapper label[data-v-5317e942],.form .inline-wrapper .switch-label .input-label[data-v-5317e942]{color:#bec6cf}input[type=email][data-v-5317e942],input[type=number][data-v-5317e942],input[type=password][data-v-5317e942],input[type=text][data-v-5317e942],textarea[data-v-5317e942]{border-color:#1e2024;background:#1e2024;color:#bec6cf}input[type=email][data-v-5317e942]::-moz-placeholder,input[type=number][data-v-5317e942]::-moz-placeholder,input[type=password][data-v-5317e942]::-moz-placeholder,input[type=text][data-v-5317e942]::-moz-placeholder,textarea[data-v-5317e942]::-moz-placeholder{color:#7d858c}input[type=email][data-v-5317e942]:-ms-input-placeholder,input[type=number][data-v-5317e942]:-ms-input-placeholder,input[type=password][data-v-5317e942]:-ms-input-placeholder,input[type=text][data-v-5317e942]:-ms-input-placeholder,textarea[data-v-5317e942]:-ms-input-placeholder{color:#7d858c}input[type=email][data-v-5317e942]::placeholder,input[type=number][data-v-5317e942]::placeholder,input[type=password][data-v-5317e942]::placeholder,input[type=text][data-v-5317e942]::placeholder,textarea[data-v-5317e942]::placeholder{color:#7d858c}input[type=email][disabled][data-v-5317e942],input[type=number][disabled][data-v-5317e942],input[type=password][disabled][data-v-5317e942],input[type=text][disabled][data-v-5317e942],textarea[disabled][data-v-5317e942]{background:#1e2024;color:rgba(125,133,140,.8);-webkit-text-fill-color:rgba(125,133,140,.8)}}.block-form[data-v-5317e942]{max-width:100%}",""])},RNzz:function(e,t,a){"use strict";a.r(t);var i=a("o0o1"),r=a.n(i),o=a("A5+z"),s=a("xnZf"),n=a("gahf"),d=a("4TWA"),p=a("xxrA"),l=a("D+dh"),c=a("eZ9V"),m=a("Nv84"),u=a("13Td"),v=a("qefO"),f=a("KnjL"),b=a("TJPC"),g=a("L2JU"),h=a("xCqy"),x=a("vDqi"),y=a.n(x);function _(e,t,a,i,r,o,s){try{var n=e[o](s),d=n.value}catch(e){return void a(e)}n.done?t(d):Promise.resolve(d).then(i,r)}function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function k(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?w(Object(a),!0).forEach((function(t){z(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function z(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var C={name:"AppPayments",components:{ValidationObserver:o.ValidationObserver,ValidationProvider:o.ValidationProvider,StorageItemDetail:s.a,PageTabGroup:n.a,SwitchInput:p.a,SelectInput:d.a,ImageInput:l.a,ButtonBase:m.a,FormLabel:c.a,SetupBox:u.a,required:b.a,PageTab:v.a,InfoBox:f.a},computed:k(k({},Object(g.b)(["config","currencyList"])),{},{stripeWebhookEndpoint:function(){return this.config.host+"/stripe/webhook"},submitButtonText:function(){return this.isLoading?this.$t("admin_settings.payments.button_testing"):this.$t("admin_settings.payments.button_submit")}}),data:function(){return{isLoading:!0,isError:!1,errorMessage:"",payments:void 0,stripeCredentials:{key:"",secret:"",webhookSecret:"",currency:""}}},methods:{stripeCredentialsSubmit:function(){var e,t=this;return(e=r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.stripeCredentials.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:t.isLoading=!0,y.a.post("/api/settings/stripe",t.stripeCredentials).then((function(){t.$store.commit("SET_STRIPE_PUBLIC_KEY",t.stripeCredentials.key),h.a.$emit("toaster",{type:"success",message:t.$t("toaster.stripe_set")})})).catch((function(e){(e.response.status=401)&&(t.isError=!0,t.errorMessage=e.response.data.message)})).finally((function(){t.isLoading=!1}));case 7:case"end":return e.stop()}}),e)})),function(){var t=this,a=arguments;return new Promise((function(i,r){var o=e.apply(t,a);function s(e){_(o,i,r,s,n,"next",e)}function n(e){_(o,i,r,s,n,"throw",e)}s(void 0)}))})()}},mounted:function(){var e=this;y.a.get("/api/settings",{params:{column:"payments_active|payments_configured"}}).then((function(t){e.isLoading=!1,e.payments={configured:parseInt(t.data.payments_configured),status:parseInt(t.data.payments_active)}}))}},I=(a("jjMQ"),a("KHd+")),P=Object(I.a)(C,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("PageTab",{staticClass:"form-fixed-width",attrs:{"is-loading":e.isLoading}},[e.config.stripe_public_key&&e.payments?a("PageTabGroup",[a("div",{staticClass:"form block-form"},[a("FormLabel",[e._v(e._s(e.$t("admin_settings.payments.section_payments")))]),e._v(" "),a("InfoBox",[a("p",{domProps:{innerHTML:e._s(e.$t("admin_settings.payments.credentials_disclaimer"))}})]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("div",{staticClass:"input-wrapper"},[a("div",{staticClass:"inline-wrapper"},[a("div",{staticClass:"switch-label"},[a("label",{staticClass:"input-label"},[e._v(e._s(e.$t("admin_settings.payments.allow_payments"))+":")])]),e._v(" "),a("SwitchInput",{staticClass:"switch",attrs:{state:e.payments.status},on:{input:function(t){return e.$updateText("/settings","payments_active",e.payments.status)}},model:{value:e.payments.status,callback:function(t){e.$set(e.payments,"status",t)},expression:"payments.status"}})],1)])]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.payments.webhook_url"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Webhook URL",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[a("input",{attrs:{type:"text",disabled:""},domProps:{value:e.stripeWebhookEndpoint}}),e._v(" "),i[0]?a("span",{staticClass:"error-message"},[e._v(e._s(i[0]))]):e._e()]}}],null,!1,2791309690)})],1)],1)]):e._e(),e._v(" "),e.config.stripe_public_key?e._e():a("PageTabGroup",[a("ValidationObserver",{ref:"stripeCredentials",staticClass:"form block-form",attrs:{tag:"form"},on:{submit:function(t){return t.preventDefault(),e.stripeCredentialsSubmit(t)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[a("FormLabel",[e._v(e._s(e.$t("admin_settings.payments.stripe_setup")))]),e._v(" "),a("InfoBox",[a("p",{domProps:{innerHTML:e._s(e.$t("admin_settings.payments.stripe_create_acc"))}})]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.payments.stripe_currency"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Currency",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[a("SelectInput",{attrs:{options:e.currencyList,placeholder:e.$t("admin_settings.payments.stripe_currency_plac"),isError:i[0]},model:{value:e.stripeCredentials.currency,callback:function(t){e.$set(e.stripeCredentials,"currency",t)},expression:"stripeCredentials.currency"}}),e._v(" "),i[0]?a("span",{staticClass:"error-message"},[e._v(e._s(i[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.payments.stripe_pub_key"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Publishable Key",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stripeCredentials.key,expression:"stripeCredentials.key"}],class:{"is-error":i[0]},attrs:{placeholder:e.$t("admin_settings.payments.stripe_pub_key_plac"),type:"text"},domProps:{value:e.stripeCredentials.key},on:{input:function(t){t.target.composing||e.$set(e.stripeCredentials,"key",t.target.value)}}}),e._v(" "),i[0]?a("span",{staticClass:"error-message"},[e._v(e._s(i[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.payments.stripe_sec_key"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Secret Key",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stripeCredentials.secret,expression:"stripeCredentials.secret"}],class:{"is-error":i[0]},attrs:{placeholder:e.$t("admin_settings.payments.stripe_sec_key_plac"),type:"text"},domProps:{value:e.stripeCredentials.secret},on:{input:function(t){t.target.composing||e.$set(e.stripeCredentials,"secret",t.target.value)}}}),e._v(" "),i[0]?a("span",{staticClass:"error-message"},[e._v(e._s(i[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Webhook URL:")]),e._v(" "),a("InfoBox",[a("p",{domProps:{innerHTML:e._s(e.$t("admin_settings.payments.stripe_create_webhook"))}})]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Webhook URL",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[a("input",{attrs:{type:"text",disabled:""},domProps:{value:e.stripeWebhookEndpoint}}),e._v(" "),i[0]?a("span",{staticClass:"error-message"},[e._v(e._s(i[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v("Webhook Secret:")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Webhook Secret",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stripeCredentials.webhookSecret,expression:"stripeCredentials.webhookSecret"}],class:{"is-error":i[0]},attrs:{placeholder:e.$t("admin_settings.payments.stripe_webhook_key_plac"),type:"text"},domProps:{value:e.stripeCredentials.webhookSecret},on:{input:function(t){t.target.composing||e.$set(e.stripeCredentials,"webhookSecret",t.target.value)}}}),e._v(" "),i[0]?a("span",{staticClass:"error-message"},[e._v(e._s(i[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),e.isError?a("InfoBox",{attrs:{type:"error"}},[a("p",[e._v(e._s(e.errorMessage))])]):e._e(),e._v(" "),a("ButtonBase",{staticClass:"submit-button",attrs:{loading:e.isLoading,disabled:e.isLoading,type:"submit","button-style":"theme"}},[e._v("\n                "+e._s(e.submitButtonText)+"\n            ")])]}}],null,!1,2483202031)})],1)],1)}),[],!1,null,"5317e942",null);t.default=P.exports},Xk6H:function(e,t,a){"use strict";var i=a("Idvm");a.n(i).a},b0xl:function(e,t,a){"use strict";var i=a("oyp5");a.n(i).a},"cO+9":function(e,t,a){"use strict";var i=a("gZrO");a.n(i).a},eZ9V:function(e,t,a){"use strict";var i={name:"FormLabel",components:{Edit2Icon:a("CjXH").m}},r=(a("Xk6H"),a("KHd+")),o=Object(r.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label"},[t("edit-2-icon",{staticClass:"icon",attrs:{size:"22"}}),this._v(" "),t("b",{staticClass:"label"},[this._t("default")],2)],1)}),[],!1,null,"c1157a8e",null);t.a=o.exports},gZrO:function(e,t,a){var i=a("yORL");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},gahf:function(e,t,a){"use strict";var i={name:"PageTabGroup"},r=(a("yI2c"),a("KHd+")),o=Object(r.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"1bb470e4",null);t.a=o.exports},i5u3:function(e,t,a){var i=a("5BDI");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},jS71:function(e,t,a){"use strict";var i=a("wsaA");a.n(i).a},jjMQ:function(e,t,a){"use strict";var i=a("+fJw");a.n(i).a},lig4:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".form-label[data-v-c1157a8e]{display:flex;align-items:center;margin-bottom:30px}.form-label .icon[data-v-c1157a8e]{margin-right:10px}.form-label .icon path[data-v-c1157a8e]{stroke:#00bc7e}.form-label .label[data-v-c1157a8e]{font-size:1.125em;font-weight:700}@media (prefers-color-scheme:dark){.form-label .label[data-v-c1157a8e]{color:#bec6cf}}",""])},oDxr:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-tab-group[data-v-1bb470e4]{margin-bottom:65px}",""])},oyp5:function(e,t,a){var i=a("LE5O");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},qefO:function(e,t,a){"use strict";var i={name:"PageTab",props:["isLoading"],components:{Spinner:a("zTYo").a}},r=(a("5pbA"),a("KHd+")),o=Object(r.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-tab"},[t("div",{directives:[{name:"show",rawName:"v-show",value:this.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[t("Spinner")],1),this._v(" "),this._t("default")],2)}),[],!1,null,"4339da66",null);t.a=o.exports},wsaA:function(e,t,a){var i=a("FEcZ");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)},xnZf:function(e,t,a){"use strict";var i=a("+Pqb"),r=a("CjXH"),o={name:"StorageItemDetail",props:["percentage","title","type","used"],components:{HardDriveIcon:r.v,FileTextIcon:r.r,ProgressBar:i.a,MusicIcon:r.H,VideoIcon:r.X,ImageIcon:r.x,FileIcon:r.q}},s=(a("b0xl"),a("KHd+")),n=Object(s.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("article",{staticClass:"detail-storage-item",class:e.type},[a("div",{staticClass:"header-storage-item"},[a("div",{staticClass:"icon"},["images"==e.type?a("image-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"videos"==e.type?a("video-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"audios"==e.type?a("music-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"documents"==e.type?a("file-text-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"others"==e.type?a("file-icon",{attrs:{size:"23"}}):e._e(),e._v(" "),"disk"==e.type?a("hard-drive-icon",{attrs:{size:"23"}}):e._e()],1),e._v(" "),a("div",{staticClass:"title"},[a("b",{staticClass:"type"},[e._v(e._s(e.title))]),e._v(" "),a("span",{staticClass:"total-size"},[e._v(e._s(e.used))])])]),e._v(" "),a("ProgressBar",{staticClass:"storage-progress",attrs:{progress:e.percentage}})],1)}),[],!1,null,"56af1b6e",null);t.a=n.exports},yI2c:function(e,t,a){"use strict";var i=a("zlQ3");a.n(i).a},yORL:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".dropzone[data-v-24846626]{border:1px dashed #a1abc2;border-radius:8px;position:relative;text-align:center;display:flex;align-items:center;min-height:175px}.dropzone.is-error[data-v-24846626]{border:2px dashed rgba(253,57,122,.3)}.dropzone.is-error .dropzone-title[data-v-24846626]{color:#fd397a}.dropzone.is-error .icon-upload circle[data-v-24846626],.dropzone.is-error .icon-upload polyline[data-v-24846626],.dropzone.is-error .icon-upload rect[data-v-24846626]{stroke:#fd397a}.dropzone input[type=file][data-v-24846626]{opacity:0;position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;width:100%;cursor:pointer}.dropzone .image-preview[data-v-24846626]{position:absolute;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;left:0;padding:25px;display:block}.dropzone .image-preview.fit-image[data-v-24846626]{-o-object-fit:cover;object-fit:cover;border-radius:12px;overflow:hidden}.dropzone .dropzone-message[data-v-24846626]{padding:50px 0;width:100%}.dropzone .dropzone-message .icon-upload circle[data-v-24846626],.dropzone .dropzone-message .icon-upload polyline[data-v-24846626],.dropzone .dropzone-message .icon-upload rect[data-v-24846626]{stroke:#00bc7e}.dropzone .dropzone-message .dropzone-title[data-v-24846626]{font-size:1em;font-weight:700;display:block}.dropzone .dropzone-message .dropzone-description[data-v-24846626]{color:rgba(27,37,57,.7);font-size:.75em}@media (prefers-color-scheme:dark){.dropzone[data-v-24846626]{border-color:hsla(0,0%,100%,.2)}.dropzone .dropzone-message .icon-upload line[data-v-24846626],.dropzone .dropzone-message .icon-upload path[data-v-24846626],.dropzone .dropzone-message .icon-upload polyline[data-v-24846626]{stroke:#00bc7e}.dropzone .dropzone-message .dropzone-description[data-v-24846626]{color:#7d858c}}",""])},ydEr:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".info-box[data-v-bf43be5e]{padding:20px;border-radius:8px;margin-bottom:32px;background:#f4f5f6;text-align:left}.info-box.error[data-v-bf43be5e]{background:rgba(253,57,122,.1)}.info-box.error a[data-v-bf43be5e],.info-box.error p[data-v-bf43be5e]{color:#fd397a}.info-box.error a[data-v-bf43be5e]{text-decoration:underline}.info-box p[data-v-bf43be5e]{font-size:.9375em;line-height:1.6;word-break:break-word;font-weight:600}.info-box p[data-v-bf43be5e] a{color:#00bc7e}.info-box a[data-v-bf43be5e],.info-box b[data-v-bf43be5e]{font-weight:700;color:#00bc7e}.info-box a[data-v-bf43be5e]{font-size:.9375em;line-height:1.6}.info-box ul[data-v-bf43be5e]{margin-top:15px}.info-box ul[data-v-bf43be5e],.info-box ul li[data-v-bf43be5e],.info-box ul li a[data-v-bf43be5e]{display:block}@media only screen and (max-width:690px){.info-box[data-v-bf43be5e]{padding:15px}}@media (prefers-color-scheme:dark){.info-box[data-v-bf43be5e]{background:#1e2024}.info-box p[data-v-bf43be5e],.info-box ul li[data-v-bf43be5e]{color:#bec6cf}}",""])},zlQ3:function(e,t,a){var i=a("oDxr");"string"==typeof i&&(i=[[e.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(i,r);i.locals&&(e.exports=i.locals)}}]);