Files
vuefilemanager/public/chunks/app-payments.js
T
Peter Papp e8ca132a8b - Invoice sorting refactored
- Frontend build
2021-05-11 10:57:30 +02:00

1 line
35 KiB
JavaScript
Vendored

(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"+Pqb":function(e,t,a){"use strict";var n={name:"ProgressBar",props:["progress"]},i=(a("8L2t"),a("KHd+")),r=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=r.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)},"0Y5R":function(e,t,a){var n=a("3CjU");"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+")),r=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=r.exports},"1WCK":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-tab[data-v-3fdf99dd] {\n position: relative;\n}\n",""])},"3CjU":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".page-tab-group[data-v-2b2b530c] {\n margin-bottom: 45px;\n}\n",""])},"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",""])},"8L2t":function(e,t,a){"use strict";var n=a("YQqd");a.n(n).a},KnjL:function(e,t,a){"use strict";var n={name:"InfoBox",props:["type"]},i=(a("pFam"),a("KHd+")),r=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=r.exports},LedX:function(e,t,a){"use strict";var n=a("WEWl");a.n(n).a},NaIL:function(e,t,a){"use strict";var n=a("QN33");a.n(n).a},Pq4m:function(e,t,a){"use strict";var n=a("XM3O");a.n(n).a},QN33:function(e,t,a){var n=a("f+Y6");"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)},"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)},RG1H:function(e,t,a){"use strict";var n=a("0Y5R");a.n(n).a},RNzz:function(e,t,a){"use strict";a.r(t);var n=a("o0o1"),i=a.n(n),r=a("A5+z"),o=a("xnZf"),s=a("gahf"),d=a("4TWA"),p=a("xxrA"),c=a("D+dh"),l=a("eZ9V"),u=a("Nv84"),b=a("13Td"),m=a("qefO"),v=a("KnjL"),f=a("TJPC"),g=a("L2JU"),h=a("xCqy"),y=a("vDqi"),x=a.n(y);function _(e,t,a,n,i,r,o){try{var s=e[r](o),d=s.value}catch(e){return void a(e)}s.done?t(d):Promise.resolve(d).then(n,i)}function w(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function k(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:r.ValidationObserver,ValidationProvider:r.ValidationProvider,StorageItemDetail:o.a,PageTabGroup:s.a,SwitchInput:p.a,SelectInput:d.a,ImageInput:c.a,ButtonBase:u.a,FormLabel:l.a,SetupBox:b.a,required:f.a,PageTab:m.a,InfoBox:v.a},computed:function(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){k(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}({},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=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.stripeCredentials.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:t.isLoading=!0,x.a.post("/api/admin/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(n,i){var r=e.apply(t,a);function o(e){_(r,n,i,o,s,"next",e)}function s(e){_(r,n,i,o,s,"throw",e)}o(void 0)}))})()}},mounted:function(){var e=this;x.a.get("/api/admin/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)}}))}},z=(a("NaIL"),a("KHd+")),I=Object(z.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("/admin/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 n=t.errors;return[a("input",{attrs:{type:"text",disabled:""},domProps:{value:e.stripeWebhookEndpoint}}),e._v(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[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 n=t.errors;return[a("SelectInput",{attrs:{options:e.currencyList,placeholder:e.$t("admin_settings.payments.stripe_currency_plac"),isError:n[0]},model:{value:e.stripeCredentials.currency,callback:function(t){e.$set(e.stripeCredentials,"currency",t)},expression:"stripeCredentials.currency"}}),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.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 n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stripeCredentials.key,expression:"stripeCredentials.key"}],staticClass:"focus-border-theme",class:{"is-error":n[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(" "),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.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 n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stripeCredentials.secret,expression:"stripeCredentials.secret"}],staticClass:"focus-border-theme",class:{"is-error":n[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(" "),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("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 n=t.errors;return[a("input",{attrs:{type:"text",disabled:""},domProps:{value:e.stripeWebhookEndpoint}}),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("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 n=t.errors;return[a("input",{directives:[{name:"model",rawName:"v-model",value:e.stripeCredentials.webhookSecret,expression:"stripeCredentials.webhookSecret"}],staticClass:"focus-border-theme",class:{"is-error":n[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(" "),n[0]?a("span",{staticClass:"error-message"},[e._v(e._s(n[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,1549237182)})],1)],1)}),[],!1,null,"13e16b4c",null);t.default=I.exports},WEWl:function(e,t,a){var n=a("sGz8");"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)},XM3O:function(e,t,a){var n=a("1WCK");"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",""])},"f+Y6":function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,'.form[data-v-13e16b4c] {\n max-width: 700px;\n}\n.form.inline-form[data-v-13e16b4c] {\n display: flex;\n position: relative;\n justify-content: center;\n margin: 0 auto;\n}\n.form.inline-form .input-wrapper[data-v-13e16b4c] {\n position: relative;\n}\n.form.inline-form .input-wrapper .error-message[data-v-13e16b4c] {\n position: absolute;\n left: 0;\n bottom: -25px;\n}\n.form.block-form .wrapper-inline[data-v-13e16b4c] {\n display: flex;\n margin: 0 -15px 0;\n}\n.form.block-form .wrapper-inline .block-wrapper[data-v-13e16b4c] {\n width: 100%;\n padding: 0 15px;\n}\n.form.block-form .block-wrapper[data-v-13e16b4c] {\n margin-bottom: 22px;\n}\n.form.block-form .block-wrapper label[data-v-13e16b4c] {\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-13e16b4c]:last-child {\n margin-bottom: 0;\n}\n.form.block-form .button[data-v-13e16b4c] {\n margin-top: 50px;\n}\n.form .inline-wrapper[data-v-13e16b4c] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.form .inline-wrapper .switch-label .input-help[data-v-13e16b4c] {\n padding-top: 0;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-13e16b4c] {\n font-weight: 700;\n color: #1B2539;\n font-size: 1em;\n margin-bottom: 5px;\n}\n.form .input-help[data-v-13e16b4c] {\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-13e16b4c] {\n display: flex;\n}\n.single-line-form .submit-button[data-v-13e16b4c] {\n margin-left: 20px;\n}\n.error-message[data-v-13e16b4c] {\n font-size: 0.875em;\n color: #fd397a;\n padding-top: 5px;\n display: block;\n text-align: left;\n}\ntextarea[data-v-13e16b4c] {\n width: 100%;\n}\ntextarea[data-v-13e16b4c],\ninput[type="password"][data-v-13e16b4c],\ninput[type="text"][data-v-13e16b4c],\ninput[type="number"][data-v-13e16b4c],\ninput[type="date"][data-v-13e16b4c],\ninput[type="email"][data-v-13e16b4c] {\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 background: white;\n}\ntextarea.is-error[data-v-13e16b4c],\ninput[type="password"].is-error[data-v-13e16b4c],\ninput[type="text"].is-error[data-v-13e16b4c],\ninput[type="number"].is-error[data-v-13e16b4c],\ninput[type="date"].is-error[data-v-13e16b4c],\ninput[type="email"].is-error[data-v-13e16b4c] {\n border-color: #fd397a;\n}\ntextarea[data-v-13e16b4c]::-webkit-input-placeholder, input[type="password"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="text"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="number"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="date"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="email"][data-v-13e16b4c]::-webkit-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-13e16b4c]::-moz-placeholder, input[type="password"][data-v-13e16b4c]::-moz-placeholder, input[type="text"][data-v-13e16b4c]::-moz-placeholder, input[type="number"][data-v-13e16b4c]::-moz-placeholder, input[type="date"][data-v-13e16b4c]::-moz-placeholder, input[type="email"][data-v-13e16b4c]::-moz-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-13e16b4c]:-ms-input-placeholder, input[type="password"][data-v-13e16b4c]:-ms-input-placeholder, input[type="text"][data-v-13e16b4c]:-ms-input-placeholder, input[type="number"][data-v-13e16b4c]:-ms-input-placeholder, input[type="date"][data-v-13e16b4c]:-ms-input-placeholder, input[type="email"][data-v-13e16b4c]:-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-13e16b4c]::-ms-input-placeholder, input[type="password"][data-v-13e16b4c]::-ms-input-placeholder, input[type="text"][data-v-13e16b4c]::-ms-input-placeholder, input[type="number"][data-v-13e16b4c]::-ms-input-placeholder, input[type="date"][data-v-13e16b4c]::-ms-input-placeholder, input[type="email"][data-v-13e16b4c]::-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-13e16b4c]::placeholder,\ninput[type="password"][data-v-13e16b4c]::placeholder,\ninput[type="text"][data-v-13e16b4c]::placeholder,\ninput[type="number"][data-v-13e16b4c]::placeholder,\ninput[type="date"][data-v-13e16b4c]::placeholder,\ninput[type="email"][data-v-13e16b4c]::placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[disabled][data-v-13e16b4c],\ninput[type="password"][disabled][data-v-13e16b4c],\ninput[type="text"][disabled][data-v-13e16b4c],\ninput[type="number"][disabled][data-v-13e16b4c],\ninput[type="date"][disabled][data-v-13e16b4c],\ninput[type="email"][disabled][data-v-13e16b4c] {\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}\ninput[type="color"][data-v-13e16b4c] {\n width: 38px !important;\n height: 40px;\n border: none;\n outline: none;\n background: none;\n min-width: initial !important;\n}\n.additional-link[data-v-13e16b4c] {\n font-size: 1em;\n margin-top: 50px;\n display: block;\n}\n.additional-link b[data-v-13e16b4c], .additional-link a[data-v-13e16b4c] {\n cursor: pointer;\n}\n.additional-link b[data-v-13e16b4c]:hover, .additional-link a[data-v-13e16b4c]:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 1024px) {\n.form[data-v-13e16b4c] {\n max-width: 100%;\n}\n}\n@media only screen and (max-width: 960px) {\n.form .button[data-v-13e16b4c] {\n margin-top: 20px;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n}\n.form input[data-v-13e16b4c], .form textarea[data-v-13e16b4c] {\n width: 100%;\n min-width: 100%;\n}\n.form.block-form .block-wrapper[data-v-13e16b4c] {\n display: block;\n}\n.form.block-form .block-wrapper label[data-v-13e16b4c] {\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-13e16b4c] {\n margin-top: 25px;\n margin-left: 0;\n margin-right: 0;\n}\n.form.inline-form[data-v-13e16b4c] {\n display: block;\n}\n.form.inline-form .input-wrapper .error-message[data-v-13e16b4c] {\n position: relative;\n bottom: 0;\n}\n.form .button[data-v-13e16b4c] {\n padding: 14px 32px;\n}\n.single-line-form[data-v-13e16b4c] {\n display: block;\n}\n.single-line-form .submit-button[data-v-13e16b4c] {\n margin-left: 0;\n margin-top: 20px;\n width: 100%;\n}\ntextarea[data-v-13e16b4c],\n input[type="password"][data-v-13e16b4c],\n input[type="number"][data-v-13e16b4c],\n input[type="date"][data-v-13e16b4c],\n input[type="text"][data-v-13e16b4c],\n input[type="email"][data-v-13e16b4c] {\n padding: 14px 20px;\n}\n}\n@media only screen and (max-width: 690px) {\n.form.block-form .wrapper-inline[data-v-13e16b4c] {\n display: block;\n margin-bottom: 32px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.form .input-help[data-v-13e16b4c] {\n color: #7d858c;\n}\n.form.block-form .block-wrapper label[data-v-13e16b4c] {\n color: #bec6cf;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-13e16b4c] {\n color: #bec6cf;\n}\ntextarea[data-v-13e16b4c],\n input[type="password"][data-v-13e16b4c],\n input[type="text"][data-v-13e16b4c],\n input[type="date"][data-v-13e16b4c],\n input[type="number"][data-v-13e16b4c],\n input[type="email"][data-v-13e16b4c] {\n border-color: #1e2024;\n background: #1e2024;\n color: #bec6cf;\n}\ntextarea[data-v-13e16b4c]::-webkit-input-placeholder, input[type="password"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="text"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="date"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="number"][data-v-13e16b4c]::-webkit-input-placeholder, input[type="email"][data-v-13e16b4c]::-webkit-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-13e16b4c]::-moz-placeholder, input[type="password"][data-v-13e16b4c]::-moz-placeholder, input[type="text"][data-v-13e16b4c]::-moz-placeholder, input[type="date"][data-v-13e16b4c]::-moz-placeholder, input[type="number"][data-v-13e16b4c]::-moz-placeholder, input[type="email"][data-v-13e16b4c]::-moz-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-13e16b4c]:-ms-input-placeholder, input[type="password"][data-v-13e16b4c]:-ms-input-placeholder, input[type="text"][data-v-13e16b4c]:-ms-input-placeholder, input[type="date"][data-v-13e16b4c]:-ms-input-placeholder, input[type="number"][data-v-13e16b4c]:-ms-input-placeholder, input[type="email"][data-v-13e16b4c]:-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-13e16b4c]::-ms-input-placeholder, input[type="password"][data-v-13e16b4c]::-ms-input-placeholder, input[type="text"][data-v-13e16b4c]::-ms-input-placeholder, input[type="date"][data-v-13e16b4c]::-ms-input-placeholder, input[type="number"][data-v-13e16b4c]::-ms-input-placeholder, input[type="email"][data-v-13e16b4c]::-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-13e16b4c]::placeholder,\n input[type="password"][data-v-13e16b4c]::placeholder,\n input[type="text"][data-v-13e16b4c]::placeholder,\n input[type="date"][data-v-13e16b4c]::placeholder,\n input[type="number"][data-v-13e16b4c]::placeholder,\n input[type="email"][data-v-13e16b4c]::placeholder {\n color: #7d858c;\n}\ntextarea[disabled][data-v-13e16b4c],\n input[type="password"][disabled][data-v-13e16b4c],\n input[type="text"][disabled][data-v-13e16b4c],\n input[type="date"][disabled][data-v-13e16b4c],\n input[type="number"][disabled][data-v-13e16b4c],\n input[type="email"][disabled][data-v-13e16b4c] {\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-13e16b4c],\n .popup-wrapper input[type="password"][data-v-13e16b4c],\n .popup-wrapper input[type="date"][data-v-13e16b4c],\n .popup-wrapper input[type="text"][data-v-13e16b4c],\n .popup-wrapper input[type="number"][data-v-13e16b4c],\n .popup-wrapper input[type="email"][data-v-13e16b4c] {\n background: #25272c;\n}\n}\n.block-form[data-v-13e16b4c] {\n max-width: 100%;\n}\n',""])},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("RG1H"),a("KHd+")),r=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,"2b2b530c",null);t.a=r.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",""])},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},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("Pq4m"),a("KHd+")),r=Object(i.a)(n,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"page-tab"},[this.isLoading?t("div",{attrs:{id:"loader"}},[t("Spinner")],1):this._e(),this._v(" "),this.isLoading?this._e():this._t("default")],2)}),[],!1,null,"3fdf99dd",null);t.a=r.exports},sGz8:function(e,t,a){(e.exports=a("I1BE")(!1)).push([e.i,".input-wrapper[data-v-421ca226] {\n display: flex;\n width: 100%;\n}\n.input-wrapper .input-label[data-v-421ca226] {\n color: #1B2539;\n}\n.input-wrapper .switch-content[data-v-421ca226] {\n width: 100%;\n}\n.input-wrapper .switch-content[data-v-421ca226]:last-child {\n width: 80px;\n}\n.switch[data-v-421ca226] {\n width: 50px;\n height: 28px;\n border-radius: 50px;\n display: block;\n background: #f1f1f5;\n position: relative;\n transition: 0.3s all ease;\n}\n.switch .switch-button[data-v-421ca226] {\n transition: 0.3s all ease;\n width: 22px;\n height: 22px;\n border-radius: 50px;\n display: block;\n background: white;\n position: absolute;\n top: 3px;\n left: 3px;\n box-shadow: 0 2px 4px rgba(37, 38, 94, 0.1);\n cursor: pointer;\n}\n.switch.active .switch-button[data-v-421ca226] {\n left: 25px;\n}\n@media (prefers-color-scheme: dark) {\n.switch[data-v-421ca226] {\n background: #1e2024;\n}\n.popup-wrapper .switch[data-v-421ca226] {\n background: #25272c;\n}\n}\n",""])},xnZf:function(e,t,a){"use strict";var n=a("+Pqb"),i=a("CjXH"),r={name:"StorageItemDetail",props:["percentage","title","type","used"],components:{HardDriveIcon:i.G,FileTextIcon:i.A,ProgressBar:n.a,MusicIcon:i.T,VideoIcon:i.nb,ImageIcon:i.I,FileIcon:i.y}},o=(a("jCWY"),a("KHd+")),s=Object(o.a)(r,(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},xxrA:function(e,t,a){"use strict";var n={name:"SwitchInput",props:["label","name","state","info"],data:function(){return{isSwitched:void 0}},methods:{changeState:function(){this.isSwitched=!this.isSwitched,this.$emit("input",this.isSwitched)}},mounted:function(){this.isSwitched=this.state}},i=(a("LedX"),a("KHd+")),r=Object(i.a)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"input-wrapper"},[a("div",{staticClass:"switch-content"},[e.label?a("label",{staticClass:"input-label"},[e._v(e._s(e.label)+":")]):e._e(),e._v(" "),e.info?a("small",{staticClass:"input-info"},[e._v(e._s(e.info))]):e._e()]),e._v(" "),a("div",{staticClass:"switch-content text-right"},[a("div",{staticClass:"switch",class:{active:e.isSwitched},on:{click:e.changeState}},[a("div",{staticClass:"switch-button"})])])])}),[],!1,null,"421ca226",null);t.a=r.exports}}]);