Files
vuefilemanager/public/chunks/app-email.js
2021-04-26 17:03:17 +02:00

1 line
36 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{"+Pqb":function(e,t,a){"use strict";var n={name:"ProgressBar",props:["progress"]},i=(a("8L2t"),a("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"progress-bar"},[t("span",{staticClass:"bg-theme",style:{width:this.progress+"%"}})])}),[],!1,null,"6ec2be7a",null);t.a=o.exports},"+v8A":function(e,t,a){var n=a("hw5j");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},"13Td":function(e,t,a){"use strict";var n={name:"SetupBox",props:["title","description","theme"]},i=(a("aged"),a("KHd+")),o=Object(i.a)(n,(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,"bce8bf48",null);t.a=o.exports},"1L+q":function(e,t,a){"use strict";var n=a("4EzG");a.n(n).a},"2Owv":function(e,t,a){var n=a("8Kla");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},"2jUW":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".dropzone[data-v-5d141a68] {\n border: 1px dashed #a1abc2;\n border-radius: 8px;\n position: relative;\n text-align: center;\n display: flex;\n align-items: center;\n min-height: 175px;\n}\n.dropzone.is-error[data-v-5d141a68] {\n border: 2px dashed rgba(253, 57, 122, 0.3);\n}\n.dropzone.is-error .dropzone-title[data-v-5d141a68] {\n color: #fd397a;\n}\n.dropzone.is-error .icon-upload rect[data-v-5d141a68], .dropzone.is-error .icon-upload circle[data-v-5d141a68], .dropzone.is-error .icon-upload polyline[data-v-5d141a68] {\n stroke: #fd397a;\n}\n.dropzone input[type='file'][data-v-5d141a68] {\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1;\n width: 100%;\n cursor: pointer;\n}\n.dropzone .image-preview[data-v-5d141a68] {\n position: absolute;\n width: 100%;\n height: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n left: 0;\n padding: 25px;\n display: block;\n}\n.dropzone .image-preview.fit-image[data-v-5d141a68] {\n -o-object-fit: cover;\n object-fit: cover;\n border-radius: 12px;\n overflow: hidden;\n}\n.dropzone .dropzone-message[data-v-5d141a68] {\n padding: 50px 0;\n width: 100%;\n}\n.dropzone .dropzone-message .icon-upload rect[data-v-5d141a68], .dropzone .dropzone-message .icon-upload circle[data-v-5d141a68], .dropzone .dropzone-message .icon-upload polyline[data-v-5d141a68] {\n color: inherit;\n}\n.dropzone .dropzone-message .dropzone-title[data-v-5d141a68] {\n font-size: 1em;\n font-weight: 700;\n display: block;\n}\n.dropzone .dropzone-message .dropzone-description[data-v-5d141a68] {\n color: rgba(27, 37, 57, 0.7);\n font-size: 0.75em;\n}\n.dropzone .reset-image[data-v-5d141a68] {\n z-index: 2;\n background: white;\n border-radius: 50px;\n display: block;\n position: absolute;\n right: 0;\n top: 0;\n cursor: pointer;\n transform: translateY(-50%) translateX(50%);\n padding: 0px 4px;\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n}\n.dropzone .reset-image .close-icon[data-v-5d141a68] {\n vertical-align: middle;\n}\n.dropzone .reset-image .close-icon line path[data-v-5d141a68] {\n fill: #1B2539;\n}\n@media (prefers-color-scheme: dark) {\n.dropzone[data-v-5d141a68] {\n border-color: rgba(255, 255, 255, 0.2);\n}\n.dropzone .dropzone-message .icon-upload path[data-v-5d141a68], .dropzone .dropzone-message .icon-upload polyline[data-v-5d141a68], .dropzone .dropzone-message .icon-upload line[data-v-5d141a68] {\n color: inherit;\n}\n.dropzone .dropzone-message .dropzone-description[data-v-5d141a68] {\n color: #7d858c;\n}\n}\n",""])},"3sV/":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-tab-group[data-v-445d3e0e] {\n margin-bottom: 65px;\n}\n",""])},"4EzG":function(e,t,a){var n=a("jexE");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},"5hN9":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,"",""])},"6x8I":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".setup-box[data-v-bce8bf48] {\n padding: 20px;\n border-radius: 8px;\n margin-bottom: 30px;\n}\n.setup-box .title[data-v-bce8bf48] {\n font-size: 1.3125em;\n margin-bottom: 5px;\n display: block;\n font-weight: 700;\n}\n.setup-box .description[data-v-bce8bf48] {\n font-size: 0.9375em;\n line-height: 1.5;\n margin-bottom: 20px;\n}\n.setup-box.base[data-v-bce8bf48] {\n background: #f4f5f6;\n}\n.setup-box.danger[data-v-bce8bf48] {\n background: #f4f5f6;\n}\n.setup-box.danger .title[data-v-bce8bf48] {\n color: #fd397a;\n}\n.setup-box[data-v-bce8bf48] input[type='text'], .setup-box[data-v-bce8bf48] input[type='number'],\n.setup-box[data-v-bce8bf48] input .input-area {\n background: white;\n}\n.setup-box[data-v-bce8bf48] .input-area {\n background: white;\n}\n.setup-box[data-v-bce8bf48] .form {\n margin-top: 20px;\n}\n.setup-box[data-v-bce8bf48] .form.block-form {\n max-width: 450px;\n}\n.setup-box[data-v-bce8bf48] .form.block-form .single-line-form {\n display: flex;\n}\n.setup-box[data-v-bce8bf48] .form.block-form .single-line-form .submit-button {\n margin-left: 20px;\n}\n@media only screen and (max-width: 960px) {\n.setup-box[data-v-bce8bf48] .form.block-form {\n max-width: 100%;\n}\n.setup-box[data-v-bce8bf48] .form input {\n min-width: initial;\n}\n}\n@media only screen and (max-width: 690px) {\n.setup-box[data-v-bce8bf48] {\n padding: 15px;\n}\n.setup-box .title[data-v-bce8bf48] {\n font-size: 1.0625em;\n margin-bottom: 10px;\n}\n.setup-box .description[data-v-bce8bf48] {\n font-size: 0.875em;\n}\n.setup-box[data-v-bce8bf48] .form.block-form .single-line-form {\n display: block;\n}\n.setup-box[data-v-bce8bf48] .form.block-form .single-line-form .submit-button {\n margin-left: 0;\n margin-top: 10px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.setup-box.base[data-v-bce8bf48] {\n background: #1e2024;\n}\n.setup-box.danger[data-v-bce8bf48] {\n background: #1e2024;\n}\n.setup-box[data-v-bce8bf48] input[type='text'], .setup-box[data-v-bce8bf48] input[type='number'],\n .setup-box[data-v-bce8bf48] input .input-area {\n background: #141414;\n}\n.setup-box[data-v-bce8bf48] .input-area {\n background: #141414;\n}\n}\n",""])},"8Kla":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,'.form[data-v-123c82f4] {\n max-width: 700px;\n}\n.form.inline-form[data-v-123c82f4] {\n display: flex;\n position: relative;\n justify-content: center;\n margin: 0 auto;\n}\n.form.inline-form .input-wrapper[data-v-123c82f4] {\n position: relative;\n}\n.form.inline-form .input-wrapper .error-message[data-v-123c82f4] {\n position: absolute;\n left: 0;\n bottom: -25px;\n}\n.form.block-form .wrapper-inline[data-v-123c82f4] {\n display: flex;\n margin: 0 -15px;\n}\n.form.block-form .wrapper-inline .block-wrapper[data-v-123c82f4] {\n width: 100%;\n padding: 0 15px;\n}\n.form.block-form .block-wrapper[data-v-123c82f4] {\n margin-bottom: 32px;\n}\n.form.block-form .block-wrapper label[data-v-123c82f4] {\n font-size: 0.875em;\n color: rgba(27, 37, 57, 0.8);\n font-weight: 700;\n display: block;\n margin-bottom: 7px;\n text-align: left;\n}\n.form.block-form .block-wrapper[data-v-123c82f4]:last-child {\n margin-bottom: 0;\n}\n.form.block-form .button[data-v-123c82f4] {\n margin-top: 50px;\n}\n.form .inline-wrapper[data-v-123c82f4] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.form .inline-wrapper .switch-label .input-help[data-v-123c82f4] {\n padding-top: 0;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-123c82f4] {\n font-weight: 700;\n color: #1B2539;\n font-size: 1em;\n margin-bottom: 5px;\n}\n.form .input-help[data-v-123c82f4] {\n font-size: 0.75em;\n color: rgba(27, 37, 57, 0.7);\n line-height: 1.35;\n padding-top: 10px;\n display: block;\n}\n.single-line-form[data-v-123c82f4] {\n display: flex;\n}\n.single-line-form .submit-button[data-v-123c82f4] {\n margin-left: 20px;\n}\n.error-message[data-v-123c82f4] {\n font-size: 0.875em;\n color: #fd397a;\n padding-top: 5px;\n display: block;\n text-align: left;\n}\ntextarea[data-v-123c82f4] {\n width: 100%;\n}\ninput[type="color"][data-v-123c82f4] {\n width: 38px;\n height: 40px;\n border: none;\n outline: none;\n background: none;\n}\ntextarea[data-v-123c82f4],\ninput[type="password"][data-v-123c82f4],\ninput[type="text"][data-v-123c82f4],\ninput[type="number"][data-v-123c82f4],\ninput[type="email"][data-v-123c82f4] {\n border: 1px solid transparent;\n transition: 150ms all ease;\n font-size: 1em;\n border-radius: 8px;\n padding: 13px 20px;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n font-weight: 700;\n outline: 0;\n width: 100%;\n box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);\n}\ntextarea.is-error[data-v-123c82f4],\ninput[type="password"].is-error[data-v-123c82f4],\ninput[type="text"].is-error[data-v-123c82f4],\ninput[type="number"].is-error[data-v-123c82f4],\ninput[type="email"].is-error[data-v-123c82f4] {\n border-color: #fd397a;\n}\ntextarea[data-v-123c82f4]::-webkit-input-placeholder, input[type="password"][data-v-123c82f4]::-webkit-input-placeholder, input[type="text"][data-v-123c82f4]::-webkit-input-placeholder, input[type="number"][data-v-123c82f4]::-webkit-input-placeholder, input[type="email"][data-v-123c82f4]::-webkit-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-123c82f4]::-moz-placeholder, input[type="password"][data-v-123c82f4]::-moz-placeholder, input[type="text"][data-v-123c82f4]::-moz-placeholder, input[type="number"][data-v-123c82f4]::-moz-placeholder, input[type="email"][data-v-123c82f4]::-moz-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-123c82f4]:-ms-input-placeholder, input[type="password"][data-v-123c82f4]:-ms-input-placeholder, input[type="text"][data-v-123c82f4]:-ms-input-placeholder, input[type="number"][data-v-123c82f4]:-ms-input-placeholder, input[type="email"][data-v-123c82f4]:-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-123c82f4]::-ms-input-placeholder, input[type="password"][data-v-123c82f4]::-ms-input-placeholder, input[type="text"][data-v-123c82f4]::-ms-input-placeholder, input[type="number"][data-v-123c82f4]::-ms-input-placeholder, input[type="email"][data-v-123c82f4]::-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-123c82f4]::placeholder,\ninput[type="password"][data-v-123c82f4]::placeholder,\ninput[type="text"][data-v-123c82f4]::placeholder,\ninput[type="number"][data-v-123c82f4]::placeholder,\ninput[type="email"][data-v-123c82f4]::placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[disabled][data-v-123c82f4],\ninput[type="password"][disabled][data-v-123c82f4],\ninput[type="text"][disabled][data-v-123c82f4],\ninput[type="number"][disabled][data-v-123c82f4],\ninput[type="email"][disabled][data-v-123c82f4] {\n background: white;\n color: rgba(27, 37, 57, 0.8);\n -webkit-text-fill-color: rgba(27, 37, 57, 0.8);\n opacity: 1;\n cursor: not-allowed;\n}\n.additional-link[data-v-123c82f4] {\n font-size: 1em;\n margin-top: 50px;\n display: block;\n}\n.additional-link b[data-v-123c82f4], .additional-link a[data-v-123c82f4] {\n cursor: pointer;\n}\n.additional-link b[data-v-123c82f4]:hover, .additional-link a[data-v-123c82f4]:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 1024px) {\n.form[data-v-123c82f4] {\n max-width: 100%;\n}\n}\n@media only screen and (max-width: 960px) {\n.form .button[data-v-123c82f4] {\n margin-top: 20px;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n}\n.form input[data-v-123c82f4], .form textarea[data-v-123c82f4] {\n width: 100%;\n min-width: 100%;\n}\n.form.block-form .block-wrapper[data-v-123c82f4] {\n display: block;\n}\n.form.block-form .block-wrapper label[data-v-123c82f4] {\n width: 100%;\n padding-right: 0;\n display: block;\n margin-bottom: 7px;\n text-align: left !important;\n font-size: 0.875em;\n padding-top: 0;\n}\n.form.block-form .button[data-v-123c82f4] {\n margin-top: 25px;\n margin-left: 0;\n margin-right: 0;\n}\n.form.inline-form[data-v-123c82f4] {\n display: block;\n}\n.form.inline-form .input-wrapper .error-message[data-v-123c82f4] {\n position: relative;\n bottom: 0;\n}\n.form .button[data-v-123c82f4] {\n padding: 14px 32px;\n}\n.single-line-form[data-v-123c82f4] {\n display: block;\n}\n.single-line-form .submit-button[data-v-123c82f4] {\n margin-left: 0;\n margin-top: 20px;\n width: 100%;\n}\ntextarea[data-v-123c82f4],\n input[type="password"][data-v-123c82f4],\n input[type="number"][data-v-123c82f4],\n input[type="text"][data-v-123c82f4],\n input[type="email"][data-v-123c82f4] {\n padding: 14px 20px;\n}\n}\n@media only screen and (max-width: 690px) {\n.form.block-form .wrapper-inline[data-v-123c82f4] {\n display: block;\n}\n}\n@media (prefers-color-scheme: dark) {\n.form .input-help[data-v-123c82f4] {\n color: #7d858c;\n}\n.form.block-form .block-wrapper label[data-v-123c82f4] {\n color: #bec6cf;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-123c82f4] {\n color: #bec6cf;\n}\ntextarea[data-v-123c82f4],\n input[type="password"][data-v-123c82f4],\n input[type="text"][data-v-123c82f4],\n input[type="number"][data-v-123c82f4],\n input[type="email"][data-v-123c82f4] {\n border-color: #1e2024;\n background: #1e2024;\n color: #bec6cf;\n}\ntextarea[data-v-123c82f4]::-webkit-input-placeholder, input[type="password"][data-v-123c82f4]::-webkit-input-placeholder, input[type="text"][data-v-123c82f4]::-webkit-input-placeholder, input[type="number"][data-v-123c82f4]::-webkit-input-placeholder, input[type="email"][data-v-123c82f4]::-webkit-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-123c82f4]::-moz-placeholder, input[type="password"][data-v-123c82f4]::-moz-placeholder, input[type="text"][data-v-123c82f4]::-moz-placeholder, input[type="number"][data-v-123c82f4]::-moz-placeholder, input[type="email"][data-v-123c82f4]::-moz-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-123c82f4]:-ms-input-placeholder, input[type="password"][data-v-123c82f4]:-ms-input-placeholder, input[type="text"][data-v-123c82f4]:-ms-input-placeholder, input[type="number"][data-v-123c82f4]:-ms-input-placeholder, input[type="email"][data-v-123c82f4]:-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-123c82f4]::-ms-input-placeholder, input[type="password"][data-v-123c82f4]::-ms-input-placeholder, input[type="text"][data-v-123c82f4]::-ms-input-placeholder, input[type="number"][data-v-123c82f4]::-ms-input-placeholder, input[type="email"][data-v-123c82f4]::-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-123c82f4]::placeholder,\n input[type="password"][data-v-123c82f4]::placeholder,\n input[type="text"][data-v-123c82f4]::placeholder,\n input[type="number"][data-v-123c82f4]::placeholder,\n input[type="email"][data-v-123c82f4]::placeholder {\n color: #7d858c;\n}\ntextarea[disabled][data-v-123c82f4],\n input[type="password"][disabled][data-v-123c82f4],\n input[type="text"][disabled][data-v-123c82f4],\n input[type="number"][disabled][data-v-123c82f4],\n input[type="email"][disabled][data-v-123c82f4] {\n background: #1e2024;\n color: rgba(125, 133, 140, 0.8);\n -webkit-text-fill-color: rgba(125, 133, 140, 0.8);\n}\n.popup-wrapper textarea[data-v-123c82f4],\n .popup-wrapper input[type="password"][data-v-123c82f4],\n .popup-wrapper input[type="text"][data-v-123c82f4],\n .popup-wrapper input[type="number"][data-v-123c82f4],\n .popup-wrapper input[type="email"][data-v-123c82f4] {\n background: #25272c;\n}\n}\n.block-form[data-v-123c82f4] {\n max-width: 100%;\n}\n',""])},"8L2t":function(e,t,a){"use strict";var n=a("YQqd");a.n(n).a},"8LY3":function(e,t,a){"use strict";var n=a("2Owv");a.n(n).a},"8N1S":function(e,t,a){var n=a("3sV/");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},"9sCX":function(e,t,a){"use strict";var n=a("8N1S");a.n(n).a},BelR:function(e,t,a){var n=a("2jUW");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},BfOa:function(e,t,a){var n=a("5hN9");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},"D+dh":function(e,t,a){"use strict";var n=a("CjXH"),i={name:"ImageInput",props:["image","error"],components:{ImageIcon:n.G,XIcon:n.lb},data:function(){return{imagePreview:void 0}},computed:{isData:function(){return void 0!==this.imagePreview&&""!==this.imagePreview}},methods:{resetImage:function(){this.imagePreview=void 0,this.$emit("input",void 0)},showImagePreview:function(e){var t=this,a=e.target.files[0].name,n=a.substring(a.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(n)){var i=e.target.files[0],o=new FileReader;o.onload=function(){return t.imagePreview=o.result},o.readAsDataURL(i),this.$emit("input",e.target.files[0])}else alert(this.$t("validation_errors.wrong_image"))}},created:function(){this.image&&(this.imagePreview=this.image)}},o=(a("Obrk"),a("KHd+")),r=Object(o.a)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dropzone",class:{"is-error":e.error}},[e.imagePreview?a("div",{staticClass:"reset-image",on:{click:e.resetImage}},[a("x-icon",{staticClass:"close-icon text-theme",attrs:{size:"14"}})],1):e._e(),e._v(" "),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 text-theme",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,"5d141a68",null);t.a=r.exports},GEeg:function(e,t,a){"use strict";a.r(t);var n=a("o0o1"),i=a.n(n),o=a("A5+z"),r=a("xnZf"),s=a("gahf"),d=a("4TWA"),l=a("D+dh"),p=a("eZ9V"),c=a("Nv84"),m=a("13Td"),u=a("qefO"),v=a("KnjL"),f=a("TJPC"),b=a("xCqy"),g=a("vDqi"),h=a.n(g);function x(e,t,a,n,i,o,r){try{var s=e[o](r),d=s.value}catch(e){return void a(e)}s.done?t(d):Promise.resolve(d).then(n,i)}var y={name:"AppAppearance",components:{ValidationObserver:o.ValidationObserver,ValidationProvider:o.ValidationProvider,StorageItemDetail:r.a,PageTabGroup:s.a,SelectInput:d.a,ImageInput:l.a,ButtonBase:c.a,FormLabel:p.a,SetupBox:m.a,required:f.a,PageTab:u.a,InfoBox:v.a},data:function(){return{isLoading:!1,isSendingRequest:!1,encryptionList:[{label:"TLS",value:"tls"},{label:"SSL",value:"ssl"}],mail:{driver:"",host:"",port:"",username:"",password:"",encryption:""}}},methods:{EmailSetupSubmit:function(){var e,t=this;return(e=i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.EmailSetup.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:t.isSendingRequest=!0,h.a.post("/api/admin/settings/email",t.mail).then((function(){b.a.$emit("toaster",{type:"success",message:t.$t("toaster.email_set")})})).catch((function(){b.a.$emit("alert:open",{title:t.$t("popup_error.title"),message:t.$t("popup_error.message")})})).finally((function(){t.isSendingRequest=!1}));case 7:case"end":return e.stop()}}),e)})),function(){var t=this,a=arguments;return new Promise((function(n,i){var o=e.apply(t,a);function r(e){x(o,n,i,r,s,"next",e)}function s(e){x(o,n,i,r,s,"throw",e)}r(void 0)}))})()}}},w=(a("8LY3"),a("KHd+")),_=Object(w.a)(y,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("PageTab",{staticClass:"form-fixed-width",attrs:{"is-loading":e.isLoading}},[a("PageTabGroup",[a("ValidationObserver",{ref:"EmailSetup",staticClass:"form block-form",attrs:{tag:"form"},on:{submit:function(t){return t.preventDefault(),e.EmailSetupSubmit(t)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[a("FormLabel",[e._v(e._s(e.$t("admin_settings.email.section_email")))]),e._v(" "),a("InfoBox",[a("p",{domProps:{innerHTML:e._s(e.$t("admin_settings.email.email_disclaimer"))}})]),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.email.driver"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Driver",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.driver,expression:"mail.driver"}],staticClass:"focus-border-theme",class:{"is-error":n[0]},attrs:{placeholder:e.$t("admin_settings.email.driver_plac"),type:"text"},domProps:{value:e.mail.driver},on:{input:function(t){t.target.composing||e.$set(e.mail,"driver",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.email.host"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Host",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.host,expression:"mail.host"}],staticClass:"focus-border-theme",class:{"is-error":n[0]},attrs:{placeholder:e.$t("admin_settings.email.host_plac"),type:"text"},domProps:{value:e.mail.host},on:{input:function(t){t.target.composing||e.$set(e.mail,"host",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.email.port"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Port",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.port,expression:"mail.port"}],staticClass:"focus-border-theme",class:{"is-error":n[0]},attrs:{placeholder:e.$t("admin_settings.email.port_plac"),type:"text"},domProps:{value:e.mail.port},on:{input:function(t){t.target.composing||e.$set(e.mail,"port",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.email.username"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Username",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.username,expression:"mail.username"}],staticClass:"focus-border-theme",class:{"is-error":n[0]},attrs:{placeholder:e.$t("admin_settings.email.username_plac"),type:"text"},domProps:{value:e.mail.username},on:{input:function(t){t.target.composing||e.$set(e.mail,"username",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.email.password"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Password",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.mail.password,expression:"mail.password"}],staticClass:"focus-border-theme",class:{"is-error":n[0]},attrs:{placeholder:e.$t("admin_settings.email.password_plac"),type:"text"},domProps:{value:e.mail.password},on:{input:function(t){t.target.composing||e.$set(e.mail,"password",t.target.value)}}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("div",{staticClass:"block-wrapper"},[a("label",[e._v(e._s(e.$t("admin_settings.email.encryption"))+":")]),e._v(" "),a("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"Mail Encryption",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[a("SelectInput",{attrs:{options:e.encryptionList,placeholder:e.$t("admin_settings.email.encryption_plac"),isError:n[0]},model:{value:e.mail.encryption,callback:function(t){e.$set(e.mail,"encryption",t)},expression:"mail.encryption"}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[0]))]):e._e()]}}],null,!0)})],1),e._v(" "),a("ButtonBase",{staticClass:"submit-button",attrs:{loading:e.isSendingRequest,disabled:e.isSendingRequest,type:"submit","button-style":"theme"}},[e._v("\n "+e._s(e.$t("admin_settings.email.save_button"))+"\n ")])]}}])})],1)],1)}),[],!1,null,"123c82f4",null);t.default=_.exports},KnjL:function(e,t,a){"use strict";var n={name:"InfoBox",props:["type"]},i=(a("pFam"),a("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"info-box",class:this.type},[this._t("default")],2)}),[],!1,null,"8e7c42f6",null);t.a=o.exports},Obrk:function(e,t,a){"use strict";var n=a("BelR");a.n(n).a},"Qqv+":function(e,t,a){var n=a("biqn");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},YQqd:function(e,t,a){var n=a("gvpH");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},aged:function(e,t,a){"use strict";var n=a("fSMl");a.n(n).a},biqn:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".info-box[data-v-8e7c42f6] {\n padding: 20px;\n border-radius: 8px;\n margin-bottom: 32px;\n background: #f4f5f6;\n text-align: left;\n}\n.info-box.error[data-v-8e7c42f6] {\n background: rgba(253, 57, 122, 0.1);\n}\n.info-box.error p[data-v-8e7c42f6], .info-box.error a[data-v-8e7c42f6] {\n color: #fd397a;\n}\n.info-box.error a[data-v-8e7c42f6] {\n text-decoration: underline;\n}\n.info-box p[data-v-8e7c42f6] {\n font-size: 15px;\n line-height: 1.6;\n word-break: break-word;\n font-weight: 600;\n}\n.info-box p[data-v-8e7c42f6] a {\n font-size: 15px;\n}\n.info-box p[data-v-8e7c42f6] b {\n font-size: 15px;\n font-weight: 700;\n}\n.info-box b[data-v-8e7c42f6] {\n font-weight: 700;\n}\n.info-box a[data-v-8e7c42f6] {\n font-weight: 700;\n font-size: 0.9375em;\n line-height: 1.6;\n}\n.info-box ul[data-v-8e7c42f6] {\n margin-top: 15px;\n display: block;\n}\n.info-box ul li[data-v-8e7c42f6] {\n display: block;\n}\n.info-box ul li a[data-v-8e7c42f6] {\n display: block;\n}\n@media only screen and (max-width: 690px) {\n.info-box[data-v-8e7c42f6] {\n padding: 15px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.info-box[data-v-8e7c42f6] {\n background: #1e2024;\n}\n.info-box p[data-v-8e7c42f6] {\n color: #bec6cf;\n}\n.info-box ul li[data-v-8e7c42f6] {\n color: #bec6cf;\n}\n}\n",""])},eZ9V:function(e,t,a){"use strict";var n=a("CjXH"),i={name:"FormLabel",props:["icon"],components:{Edit2Icon:n.s,SettingsIcon:n.Z}},o=(a("1L+q"),a("KHd+")),r=Object(o.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-label"},[this.icon?this._e():t("edit-2-icon",{staticClass:"icon text-theme",attrs:{size:"22"}}),this._v(" "),"settings"===this.icon?t("settings-icon",{staticClass:"icon text-theme",attrs:{size:"22"}}):this._e(),this._v(" "),t("b",{staticClass:"label"},[this._t("default")],2)],1)}),[],!1,null,"10bcab7e",null);t.a=r.exports},fSMl:function(e,t,a){var n=a("6x8I");"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(n,i);n.locals&&(e.exports=n.locals)},gahf:function(e,t,a){"use strict";var n={name:"PageTabGroup"},i=(a("9sCX"),a("KHd+")),o=Object(i.a)(n,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"445d3e0e",null);t.a=o.exports},gvpH:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".progress-bar[data-v-6ec2be7a] {\n width: 100%;\n height: 5px;\n background: #f4f5f6;\n margin-top: 6px;\n border-radius: 10px;\n}\n.progress-bar span[data-v-6ec2be7a] {\n display: block;\n height: 100%;\n border-radius: 10px;\n max-width: 100%;\n}\n@media (prefers-color-scheme: dark) {\n.progress-bar[data-v-6ec2be7a] {\n background: #1e2024;\n}\n}\n@media only screen and (min-width: 680px) and (prefers-color-scheme: dark) {\n.progress-bar[data-v-6ec2be7a] {\n background: #1e2024;\n}\n}\n",""])},hJ7W:function(e,t,a){"use strict";var n=a("BfOa");a.n(n).a},hw5j:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".detail-storage-item[data-v-d9e0536e] {\n margin-bottom: 35px;\n}\n.detail-storage-item.disk .icon path[data-v-d9e0536e], .detail-storage-item.disk .icon line[data-v-d9e0536e], .detail-storage-item.disk .icon polyline[data-v-d9e0536e], .detail-storage-item.disk .icon rect[data-v-d9e0536e], .detail-storage-item.disk .icon circle[data-v-d9e0536e], .detail-storage-item.disk .icon polygon[data-v-d9e0536e] {\n stroke: #1B2539;\n}\n.detail-storage-item.disk .storage-progress[data-v-d9e0536e] span {\n background: #1B2539;\n}\n.detail-storage-item.images .icon path[data-v-d9e0536e], .detail-storage-item.images .icon line[data-v-d9e0536e], .detail-storage-item.images .icon polyline[data-v-d9e0536e], .detail-storage-item.images .icon rect[data-v-d9e0536e], .detail-storage-item.images .icon circle[data-v-d9e0536e], .detail-storage-item.images .icon polygon[data-v-d9e0536e] {\n stroke: #9D66FE;\n}\n.detail-storage-item.images .storage-progress[data-v-d9e0536e] span {\n background: #9D66FE;\n}\n.detail-storage-item.videos .icon path[data-v-d9e0536e], .detail-storage-item.videos .icon line[data-v-d9e0536e], .detail-storage-item.videos .icon polyline[data-v-d9e0536e], .detail-storage-item.videos .icon rect[data-v-d9e0536e], .detail-storage-item.videos .icon circle[data-v-d9e0536e], .detail-storage-item.videos .icon polygon[data-v-d9e0536e] {\n stroke: #FFBD2D;\n}\n.detail-storage-item.videos .storage-progress[data-v-d9e0536e] span {\n background: #FFBD2D;\n}\n.detail-storage-item.audios .icon path[data-v-d9e0536e], .detail-storage-item.audios .icon line[data-v-d9e0536e], .detail-storage-item.audios .icon polyline[data-v-d9e0536e], .detail-storage-item.audios .icon rect[data-v-d9e0536e], .detail-storage-item.audios .icon circle[data-v-d9e0536e], .detail-storage-item.audios .icon polygon[data-v-d9e0536e] {\n stroke: #FE66A1;\n}\n.detail-storage-item.audios .storage-progress[data-v-d9e0536e] span {\n background: #FE66A1;\n}\n.detail-storage-item.documents .icon path[data-v-d9e0536e], .detail-storage-item.documents .icon line[data-v-d9e0536e], .detail-storage-item.documents .icon polyline[data-v-d9e0536e], .detail-storage-item.documents .icon rect[data-v-d9e0536e], .detail-storage-item.documents .icon circle[data-v-d9e0536e], .detail-storage-item.documents .icon polygon[data-v-d9e0536e] {\n stroke: #FE6057;\n}\n.detail-storage-item.documents .storage-progress[data-v-d9e0536e] span {\n background: #FE6057;\n}\n.detail-storage-item.others .icon path[data-v-d9e0536e], .detail-storage-item.others .icon line[data-v-d9e0536e], .detail-storage-item.others .icon polyline[data-v-d9e0536e], .detail-storage-item.others .icon rect[data-v-d9e0536e], .detail-storage-item.others .icon circle[data-v-d9e0536e], .detail-storage-item.others .icon polygon[data-v-d9e0536e] {\n stroke: #1B2539;\n}\n.detail-storage-item.others .storage-progress[data-v-d9e0536e] span {\n background: #1B2539;\n}\n.header-storage-item[data-v-d9e0536e] {\n display: flex;\n align-items: flex-start;\n margin-bottom: 10px;\n}\n.header-storage-item .icon[data-v-d9e0536e] {\n width: 35px;\n}\n.header-storage-item .type[data-v-d9e0536e] {\n font-size: 0.9375em;\n color: #1B2539;\n}\n.header-storage-item .total-size[data-v-d9e0536e] {\n font-size: 0.625em;\n display: block;\n color: rgba(27, 37, 57, 0.7);\n}\n@media (prefers-color-scheme: dark) {\n.header-storage-item .type[data-v-d9e0536e] {\n color: #bec6cf;\n}\n.header-storage-item .total-size[data-v-d9e0536e] {\n color: #7d858c;\n}\n.detail-storage-item.others .icon path[data-v-d9e0536e], .detail-storage-item.others .icon line[data-v-d9e0536e], .detail-storage-item.others .icon polyline[data-v-d9e0536e], .detail-storage-item.others .icon rect[data-v-d9e0536e], .detail-storage-item.others .icon circle[data-v-d9e0536e], .detail-storage-item.others .icon polygon[data-v-d9e0536e], .detail-storage-item.disk .icon path[data-v-d9e0536e], .detail-storage-item.disk .icon line[data-v-d9e0536e], .detail-storage-item.disk .icon polyline[data-v-d9e0536e], .detail-storage-item.disk .icon rect[data-v-d9e0536e], .detail-storage-item.disk .icon circle[data-v-d9e0536e], .detail-storage-item.disk .icon polygon[data-v-d9e0536e] {\n stroke: #41454e;\n}\n.detail-storage-item.others .storage-progress[data-v-d9e0536e] span, .detail-storage-item.disk .storage-progress[data-v-d9e0536e] span {\n background: #41454e;\n}\n}\n",""])},jCWY:function(e,t,a){"use strict";var n=a("+v8A");a.n(n).a},jexE:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".form-label[data-v-10bcab7e] {\n display: flex;\n align-items: center;\n margin-bottom: 30px;\n}\n.form-label .icon[data-v-10bcab7e] {\n margin-right: 10px;\n}\n.form-label .icon path[data-v-10bcab7e], .form-label .icon circle[data-v-10bcab7e] {\n color: inherit;\n}\n.form-label .label[data-v-10bcab7e] {\n font-size: 1.125em;\n font-weight: 700;\n}\n@media (prefers-color-scheme: dark) {\n.form-label .label[data-v-10bcab7e] {\n color: #bec6cf;\n}\n}\n",""])},pFam:function(e,t,a){"use strict";var n=a("Qqv+");a.n(n).a},qefO:function(e,t,a){"use strict";var n={name:"PageTab",props:["isLoading"],components:{Spinner:a("zTYo").a}},i=(a("hJ7W"),a("KHd+")),o=Object(i.a)(n,(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,"71034d34",null);t.a=o.exports},xnZf:function(e,t,a){"use strict";var n=a("+Pqb"),i=a("CjXH"),o={name:"StorageItemDetail",props:["percentage","title","type","used"],components:{HardDriveIcon:i.E,FileTextIcon:i.y,ProgressBar:n.a,MusicIcon:i.R,VideoIcon:i.kb,ImageIcon:i.G,FileIcon:i.w}},r=(a("jCWY"),a("KHd+")),s=Object(r.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,"d9e0536e",null);t.a=s.exports}}]);