mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
1 line
42 KiB
JavaScript
Vendored
1 line
42 KiB
JavaScript
Vendored
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{"0Y5R":function(t,e,n){var a=n("3CjU");"string"==typeof a&&(a=[[t.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(t.exports=a.locals)},"1WCK":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".page-tab[data-v-3fdf99dd] {\n position: relative;\n}\n",""])},"2QFf":function(t,e,n){var a=n("p55r");"string"==typeof a&&(a=[[t.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(t.exports=a.locals)},"2Sb1":function(t,e,n){"use strict";var a={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:n("CjXH").h}},i=(n("JOXf"),n("KHd+")),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"page-header"},[t.canBack?n("div",{staticClass:"go-back",on:{click:function(e){return t.$router.back()}}},[n("chevron-left-icon",{attrs:{size:"17"}})],1):t._e(),t._v(" "),n("div",{staticClass:"content"},[n("h1",{staticClass:"title"},[t._v(t._s(t.title))])])])}),[],!1,null,"9fd0a424",null);e.a=r.exports},"3CjU":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".page-tab-group[data-v-2b2b530c] {\n margin-bottom: 45px;\n}\n",""])},"3eeM":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".page-header[data-v-9fd0a424] {\n display: flex;\n align-items: center;\n background: white;\n z-index: 9;\n width: 100%;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n padding-top: 20px;\n padding-bottom: 20px;\n}\n.page-header .title[data-v-9fd0a424] {\n font-size: 1.125em;\n font-weight: 700;\n color: #1B2539;\n}\n.page-header .go-back[data-v-9fd0a424] {\n margin-right: 10px;\n cursor: pointer;\n}\n.page-header .go-back svg[data-v-9fd0a424] {\n vertical-align: middle;\n margin-top: -4px;\n}\n@media only screen and (max-width: 960px) {\n.page-header .title[data-v-9fd0a424] {\n font-size: 1.125em;\n}\n}\n@media only screen and (max-width: 690px) {\n.page-header[data-v-9fd0a424] {\n display: none;\n}\n}\n@media (prefers-color-scheme: dark) {\n.page-header[data-v-9fd0a424] {\n background: #141414;\n}\n.page-header .title[data-v-9fd0a424] {\n color: #bec6cf;\n}\n.page-header .icon path[data-v-9fd0a424] {\n fill: #00BC7E;\n}\n}\n",""])},D62o:function(t,e,n){"use strict";var a=n("xCqy"),i=n("CjXH"),r={name:"MobileHeader",props:["title"],components:{ChevronLeftIcon:i.h,MenuIcon:i.P},methods:{showMobileNavigation:function(){a.a.$emit("mobile-menu:show","user-navigation")},goBack:function(){this.$router.back()}}},o=(n("R6Y3"),n("KHd+")),s=Object(o.a)(r,(function(){var t=this.$createElement,e=this._self._c||t;return e("header",{staticClass:"mobile-header"},[e("div",{staticClass:"go-back",on:{click:this.goBack}},[e("chevron-left-icon",{staticClass:"icon",attrs:{size:"17"}})],1),this._v(" "),e("div",{staticClass:"location-name"},[this._v(this._s(this.title))]),this._v(" "),e("div",{staticClass:"mobile-menu",on:{click:this.showMobileNavigation}},[e("menu-icon",{staticClass:"icon",attrs:{size:"17"}})],1)])}),[],!1,null,"699fe34a",null);e.a=s.exports},JOXf:function(t,e,n){"use strict";var a=n("nr4+");n.n(a).a},KnjL:function(t,e,n){"use strict";var a={name:"InfoBox",props:["type"]},i=(n("pFam"),n("KHd+")),r=Object(i.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"info-box",class:this.type},[this._t("default")],2)}),[],!1,null,"8e7c42f6",null);e.a=r.exports},LedX:function(t,e,n){"use strict";var a=n("WEWl");n.n(a).a},NnuC:function(t,e,n){"use strict";n.r(e);var a=n("o0o1"),i=n.n(a),r=n("A5+z"),o=n("gahf"),s=n("xxrA"),d=n("4TWA"),c=n("D+dh"),l=n("eZ9V"),p=n("D62o"),u=n("Nv84"),v=n("qefO"),m=n("2Sb1"),f=n("KnjL"),b=n("zTYo"),_=n("TJPC"),h=n("CjXH"),g=n("L2JU"),x=n("xCqy"),y=n("vDqi"),w=n.n(y);n("LvDl");function k(t,e,n,a,i,r,o){try{var s=t[r](o),d=s.value}catch(t){return void n(t)}s.done?e(d):Promise.resolve(d).then(a,i)}function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var P={name:"CreateInvoice",components:{ValidationProvider:r.ValidationProvider,ValidationObserver:r.ValidationObserver,PageTabGroup:o.a,MobileHeader:p.a,SelectInput:d.a,SwitchInput:s.a,ImageInput:c.a,PageHeader:m.a,ButtonBase:u.a,FormLabel:l.a,required:_.a,Spinner:b.a,InfoBox:f.a,PageTab:v.a,XIcon:h.ob},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){$(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(g.b)(["countries","config"]),{pageTitle:function(){return{"regular-invoice":this.$t("in_editor.page.edit_regular_invoice"),"advance-invoice":this.$t("in_editor.page.edit_advance_invoice")}[this.invoice.invoice_type]},taxBased:function(){var t=this,e=[];return this.invoice.items.forEach((function(t){t.price&&t.amount&&t.tax_rate&&(e.find((function(e){return e.rate===t.tax_rate}))?e.find((function(e){e.rate===t.tax_rate&&(e.total+=t.price*t.amount)})):e.push({rate:t.tax_rate,total:t.price*t.amount}))})),this.isDiscount&&e.forEach((function(e){if("percent"===t.invoice.discount_type&&(e.total-=e.total*(t.invoice.discount_rate/100)),"value"===t.invoice.discount_type){var n=t.invoice.discount_rate/(t.total+t.invoice.discount_rate);e.total-=e.total*n}})),e},taxSummary:function(){var t=this,e=[];return this.invoice.items.forEach((function(t){t.price&&t.amount&&t.tax_rate&&(e.find((function(e){return e.rate===t.tax_rate}))?e.map((function(e){e.rate===t.tax_rate&&(e.total+=t.price*t.amount*(t.tax_rate/100))})):e.push({rate:t.tax_rate,total:t.price*t.amount*(t.tax_rate/100)}))})),this.isDiscount&&e.forEach((function(e){if("percent"===t.invoice.discount_type&&(e.total-=e.total*(t.invoice.discount_rate/100)),"value"===t.invoice.discount_type){var n=t.invoice.discount_rate/(t.total+t.invoice.discount_rate);e.total-=e.total*n}})),e},total:function(){var t=this,e=0;return this.invoice.items.forEach((function(n){if(n.price&&n.amount){var a=n.price*n.amount;t.isVatPayer&&n.tax_rate&&(a+=a*(n.tax_rate/100)),e+=a}})),this.isDiscount&&("percent"===this.invoice.discount_type&&(e-=e*(this.invoice.discount_rate/100)),"value"===this.invoice.discount_type&&(e-=this.invoice.discount_rate)),e}}),watch:{isDiscount:function(t){t||(this.invoice.discount_rate=null,this.invoice.discount_type=null)}},data:function(){return{fullDetails:void 0,isLoadingPage:!0,isLoading:!1,isError:!1,isDiscount:!1,isVatPayer:!1,clients:[],latestInvoiceNumber:void 0,invoice:{invoice_type:"",invoice_number:"",variable_number:"",delivery_at:"",items:[{id:Math.floor(1e7*Math.random()),description:"",amount:1,tax_rate:21,price:void 0}],discount_type:void 0,discount_rate:void 0,send_invoice:!1},client:"",discountTypeList:[{label:this.$t("in_editor.discount_type_percent"),value:"percent"},{label:this.$t("in_editor.discount_type_amount"),value:"value"}]}},methods:{formatCurrency:function(t){return new Intl.NumberFormat("cs-CS",{style:"currency",currency:"CZK"}).format(t)},formatNumber:function(t){return(Math.round(100*t)/100).toFixed(2)},deleteInvoice:function(){x.a.$emit("confirm:open",{title:this.$t("in.popup.delete_single_invoice.title"),message:this.$t("in.popup.delete_single_invoice.message"),buttonColor:"danger-solid",action:{id:this.$route.params.id,operation:"delete-invoice"}})},updateInvoice:function(){var t,e=this;return(t=i.a.mark((function t(){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.updateInvoice.validate();case 2:if(t.sent){t.next=7;break}return e.isError=!0,e.errorMessage=e.$t("in_editor.error"),t.abrupt("return");case 7:e.isLoading=!0,n=e.invoice,w.a.put("/api/v1/invoicing/invoices/".concat(e.$route.params.id),n).then((function(){x.a.$emit("toaster",{type:"success",message:e.$t("in_toaster.success_invoice_edition")})})).catch((function(t){e.isError=!0,422===t.response.status?Object.keys(t.response.data.errors).forEach((function(n){var a={};a[n]=t.response.data.errors[n],e.$refs.updateInvoice.setErrors(a)})):x.a.$emit("alert:open",{title:e.$t("popup_error.title"),message:e.$t("popup_error.message")})})).finally((function(){e.isLoading=!1}));case 10:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(a,i){var r=t.apply(e,n);function o(t){k(r,a,i,o,s,"next",t)}function s(t){k(r,a,i,o,s,"throw",t)}o(void 0)}))})()},addRow:function(){var t=this,e=this.invoice.items.slice(-1).pop();this.invoice.items.push({id:Math.floor(1e7*Math.random()),description:"",amount:1,tax_rate:(null==e?void 0:e.tax_rate)||21,price:1}),this.$nextTick((function(){return t.$refs.duplicatorItemTitle.slice(-1).pop().focus()}))},removeRow:function(t){this.invoice.items.length>1&&(this.invoice.items=this.invoice.items.filter((function(e){return e.id!==t.id})))}},mounted:function(){var t=this;w.a.get("/api/v1/invoicing/editor").then((function(e){t.isVatPayer=e.data.isVatPayer})),w.a.get("/api/v1/invoicing/invoices/".concat(this.$route.params.id)).then((function(e){t.invoice.invoice_number=e.data.data.attributes.invoice_number,t.invoice.variable_number=e.data.data.attributes.variable_number,t.invoice.invoice_type=e.data.data.attributes.invoice_type,t.invoice.delivery_at=e.data.data.attributes.delivery_at,t.invoice.items=e.data.data.attributes.items,t.invoice.discount_type=e.data.data.attributes.discount_type,t.invoice.discount_rate=e.data.data.attributes.discount_rate,t.client=e.data.data.attributes.client,t.invoice.discount_type&&t.invoice.discount_rate&&(t.isDiscount=!0)})).finally((function(){t.isLoadingPage=!1}))}},z=(n("bVRm"),n("KHd+")),I=Object(z.a)(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"single-page"}},[n("MobileHeader",{attrs:{title:t.pageTitle}}),t._v(" "),n("PageHeader",{attrs:{"can-back":!0,title:t.pageTitle}}),t._v(" "),n("div",{attrs:{id:"page-content"}},[t.isLoadingPage?t._e():n("div",{staticClass:"content-page"},[n("ValidationObserver",{ref:"updateInvoice",staticClass:"form block-form",attrs:{tag:"form"},on:{submit:function(e){return e.preventDefault(),t.updateInvoice(e)}},scopedSlots:t._u([{key:"default",fn:function(e){e.invalid;return[n("PageTab",[n("PageTabGroup",[n("FormLabel",{attrs:{icon:"tool"}},[t._v(t._s(t.$t("in_editor.properties")))]),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_number"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"invoice_number",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.errors;return[n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.invoice.invoice_number,expression:"invoice.invoice_number",modifiers:{number:!0}}],staticClass:"focus-border-theme",class:{"is-error":a[0]},attrs:{placeholder:t.$t("in_editor.plac.invoice_number"),type:"number"},domProps:{value:t.invoice.invoice_number},on:{input:function(e){e.target.composing||t.$set(t.invoice,"invoice_number",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),t.latestInvoiceNumber?n("small",{staticClass:"input-help"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("in_number_desc",{number:t.latestInvoiceNumber}))+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),a[0]?n("span",{staticClass:"error-message"},[t._v(t._s(a[0]))]):t._e()]}}],null,!0)})],1),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_variable"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"variable_number",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.errors;return[n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.invoice.variable_number,expression:"invoice.variable_number",modifiers:{number:!0}}],staticClass:"focus-border-theme",class:{"is-error":a[0]},attrs:{placeholder:t.$t("in_editor.plac.variable_number"),type:"number"},domProps:{value:t.invoice.variable_number},on:{input:function(e){e.target.composing||t.$set(t.invoice,"variable_number",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),t.latestInvoiceNumber?n("small",{staticClass:"input-help"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("in_variable_desc"))+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),a[0]?n("span",{staticClass:"error-message"},[t._v(t._s(a[0]))]):t._e()]}}],null,!0)})],1),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_delivery_at"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"delivery_at",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.errors;return[n("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.delivery_at,expression:"invoice.delivery_at"}],staticClass:"focus-border-theme",class:{"is-error":a[0]},attrs:{type:"date"},domProps:{value:t.invoice.delivery_at},on:{input:function(e){e.target.composing||t.$set(t.invoice,"delivery_at",e.target.value)}}}),t._v(" "),a[0]?n("span",{staticClass:"error-message"},[t._v(t._s(a[0]))]):t._e()]}}],null,!0)})],1)],1),t._v(" "),n("PageTabGroup",[n("FormLabel",{attrs:{icon:"user"}},[t._v(t._s(t.$t("in_editor.client")))]),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_editor.client"))+":")]),t._v(" "),n("div",{staticClass:"input-wrapper"},[n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.client.name,expression:"client['name']",modifiers:{number:!0}}],attrs:{type:"text",disabled:""},domProps:{value:t.client.name},on:{input:function(e){e.target.composing||t.$set(t.client,"name",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})])])],1),t._v(" "),n("PageTabGroup",[n("FormLabel",{attrs:{icon:"edit"}},[t._v(t._s(t.$t("in_editor.items")))]),t._v(" "),n("div",{staticClass:"duplicator"},[t._l(t.invoice.items,(function(e,a){return n("div",{key:a++,staticClass:"plan-item duplicator-item"},[1!==a?n("x-icon",{staticClass:"delete-item hover-text-theme",attrs:{size:"22"},on:{click:function(n){return t.removeRow(e)}}}):t._e(),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_editor.description"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"description",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(a){var i=a.errors;return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"item.description"}],ref:"duplicatorItemTitle",refInFor:!0,staticClass:"focus-border-theme",class:{"is-error":i[0]},attrs:{placeholder:t.$t("in_editor.plac.item_desc"),type:"text"},domProps:{value:e.description},on:{input:function(n){n.target.composing||t.$set(e,"description",n.target.value)}}}),t._v(" "),i[0]?n("span",{staticClass:"error-message"},[t._v(t._s(i[0]))]):t._e()]}}],null,!0)})],1),t._v(" "),n("div",{staticClass:"wrapper-inline"},[n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_editor.amount"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"amount",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(a){var i=a.errors;return[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.amount,expression:"item.amount",modifiers:{number:!0}}],staticClass:"focus-border-theme",class:{"is-error":i[0]},attrs:{placeholder:t.$t("in_editor.plac.item_amount"),type:"number"},domProps:{value:e.amount},on:{input:function(n){n.target.composing||t.$set(e,"amount",t._n(n.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),i[0]?n("span",{staticClass:"error-message"},[t._v(t._s(i[0]))]):t._e()]}}],null,!0)})],1),t._v(" "),t.isVatPayer?n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_editor.tax_rate"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"tax_rate",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(a){var i=a.errors;return[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.tax_rate,expression:"item.tax_rate",modifiers:{number:!0}}],staticClass:"focus-border-theme",class:{"is-error":i[0]},attrs:{placeholder:t.$t("in_editor.plac.item_tax_rate"),type:"number",step:"1",min:"1",max:"100"},domProps:{value:e.tax_rate},on:{input:function(n){n.target.composing||t.$set(e,"tax_rate",t._n(n.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),i[0]?n("span",{staticClass:"error-message"},[t._v(t._s(i[0]))]):t._e()]}}],null,!0)})],1):t._e(),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_editor.price"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"price",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(a){var i=a.errors;return[n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.price,expression:"item.price",modifiers:{number:!0}}],staticClass:"focus-border-theme",class:{"is-error":i[0]},attrs:{placeholder:t.$t("in_editor.plac.item_price"),type:"text",pattern:"[0-9]{1,4}(\\.[0-9]{2})?",step:"0.01"},domProps:{value:e.price},on:{input:function(n){n.target.composing||t.$set(e,"price",t._n(n.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),i[0]?n("span",{staticClass:"error-message"},[t._v(t._s(i[0]))]):t._e()]}}],null,!0)})],1)])],1)})),t._v(" "),n("ButtonBase",{staticClass:"duplicator-add-button",attrs:{"button-style":"theme"},nativeOn:{click:function(e){return t.addRow(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("in_editor.add_item"))+"\n\t\t\t\t\t\t\t")])],2)],1),t._v(" "),n("PageTabGroup",[n("FormLabel",{attrs:{icon:"credit-card"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("in_editor.discount"))+"\n\t\t\t\t\t\t")]),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("div",{staticClass:"input-wrapper"},[n("div",{staticClass:"inline-wrapper"},[n("div",{staticClass:"switch-label"},[n("label",{staticClass:"input-label"},[t._v(t._s(t.$t("in_editor.apply_discount"))+":")]),t._v(" "),n("small",{staticClass:"input-help"},[t._v(t._s(t.$t("in_editor.discount_help")))])]),t._v(" "),n("SwitchInput",{staticClass:"switch",attrs:{state:t.isDiscount},model:{value:t.isDiscount,callback:function(e){t.isDiscount=e},expression:"isDiscount"}})],1)])]),t._v(" "),t.isDiscount?n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_editor.discount_type"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"discount_type",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.errors;return[n("SelectInput",{attrs:{default:t.invoice.discount_type,options:t.discountTypeList,placeholder:t.$t("in_editor.plac.discount_type"),isError:a[0]},model:{value:t.invoice.discount_type,callback:function(e){t.$set(t.invoice,"discount_type",e)},expression:"invoice.discount_type"}}),t._v(" "),a[0]?n("span",{staticClass:"error-message"},[t._v(t._s(a[0]))]):t._e()]}}],null,!0)})],1):t._e(),t._v(" "),t.isDiscount?n("div",{staticClass:"block-wrapper"},[n("label",[t._v(t._s(t.$t("in_editor.discount_rate"))+":")]),t._v(" "),n("ValidationProvider",{staticClass:"input-wrapper",attrs:{tag:"div",mode:"passive",name:"discount_rate",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.errors;return[n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.invoice.discount_rate,expression:"invoice.discount_rate",modifiers:{number:!0}}],staticClass:"focus-border-theme",class:{"is-error":a[0]},attrs:{placeholder:t.$t("in_editor.plac.discount_rate"),max:"100",min:"0",type:"number"},domProps:{value:t.invoice.discount_rate},on:{input:function(e){e.target.composing||t.$set(t.invoice,"discount_rate",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),a[0]?n("span",{staticClass:"error-message"},[t._v(t._s(a[0]))]):t._e()]}}],null,!0)})],1):t._e()],1),t._v(" "),n("PageTabGroup",[n("FormLabel",{attrs:{icon:"settings"}},[t._v(t._s(t.$t("in_editor.others")))]),t._v(" "),t.invoice.client_email?n("div",{staticClass:"block-wrapper"},[n("div",{staticClass:"input-wrapper"},[n("div",{staticClass:"inline-wrapper"},[n("div",{staticClass:"switch-label"},[n("label",{staticClass:"input-label"},[t._v(t._s(t.$t("in_editor.store_client"))+":")]),t._v(" "),n("small",{staticClass:"input-help"},[t._v(t._s(t.$t("in_editor.store_client_notes")))])]),t._v(" "),n("SwitchInput",{staticClass:"switch",attrs:{state:t.invoice.send_invoice},model:{value:t.invoice.send_invoice,callback:function(e){t.$set(t.invoice,"send_invoice",e)},expression:"invoice.send_invoice"}})],1)])]):t._e(),t._v(" "),n("div",{staticClass:"block-wrapper"},[n("div",{staticClass:"input-wrapper"},[n("div",{staticClass:"inline-wrapper"},[n("div",{staticClass:"switch-label"},[n("label",{staticClass:"input-label"},[t._v(t._s(t.$t("in_editor.send"))+":")]),t._v(" "),n("small",{staticClass:"input-help"},[t._v(t._s(t.$t("in_editor.send_notes")))])]),t._v(" "),n("SwitchInput",{staticClass:"switch",attrs:{state:t.invoice.send_invoice},model:{value:t.invoice.send_invoice,callback:function(e){t.$set(t.invoice,"send_invoice",e)},expression:"invoice.send_invoice"}})],1)])])],1)],1)]}}],null,!1,485169955)}),t._v(" "),n("div",{staticClass:"summary"},[n("FormLabel",{attrs:{icon:"credit-card"}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("in_editor.summary"))+"\n\t\t\t\t")]),t._v(" "),n("div",{staticClass:"summary-list",class:{"is-error":t.isError}},[t.isDiscount&&t.invoice.discount_rate>0?n("div",{staticClass:"row small"},[n("div",{staticClass:"cell"},[n("span",[t._v(t._s(t.$t("in_editor.discount")))])]),t._v(" "),n("div",{staticClass:"cell"},[n("span",[t._v("-"+t._s("percent"===t.invoice.discount_type?t.formatNumber(t.invoice.discount_rate)+"%":t.formatCurrency(t.invoice.discount_rate)))])])]):t._e(),t._v(" "),t.isVatPayer?n("div",{class:{"is-offset":t.isDiscount&&t.invoice.discount_rate>0}},t._l(t.taxBased,(function(e,a){return n("div",{key:a,staticClass:"row small"},[n("div",{staticClass:"cell"},[n("span",[t._v(t._s(t.$t("in_editor.summary.vat_base"))+" "+t._s(e.rate)+"%")])]),t._v(" "),n("div",{staticClass:"cell"},[n("span",[t._v(t._s(t.formatCurrency(e.total)))])])])})),0):t._e(),t._v(" "),t.isVatPayer?n("div",{class:{"is-offset":t.taxSummary.length>1}},t._l(t.taxSummary,(function(e,a){return n("div",{key:a,staticClass:"row small"},[n("div",{staticClass:"cell"},[n("span",[t._v(t._s(t.$t("in_editor.summary.vat"))+" "+t._s(e.rate)+"%")])]),t._v(" "),n("div",{staticClass:"cell"},[n("span",[t._v(t._s(t.formatCurrency(e.total)))])])])})),0):t._e(),t._v(" "),n("div",{staticClass:"row",class:{"row-summary":t.total>0}},[n("div",{staticClass:"cell"},[n("b",[t._v(t._s(t.$t("in_editor.summary.total")))])]),t._v(" "),n("div",{staticClass:"cell"},[n("b",[t._v(t._s(t.formatCurrency(t.total)))])])]),t._v(" "),n("ButtonBase",{staticClass:"next-submit delete-dark",attrs:{disabled:t.isLoading,"button-style":"secondary"},nativeOn:{click:function(e){return t.deleteInvoice(e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("in.form.delete_invoice"))+"\n\t\t\t\t\t")]),t._v(" "),n("ButtonBase",{staticClass:"next-submit",staticStyle:{"margin-top":"15px"},attrs:{disabled:t.isLoading,loading:t.isLoading,"button-style":"theme-solid"},nativeOn:{click:function(e){return t.updateInvoice(e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("popup_share_edit.save"))+"\n\t\t\t\t\t")]),t._v(" "),t.isError?n("p",{staticClass:"error-message"},[t._v("\n\t\t\t\t\t\t"+t._s(t.errorMessage)+"\n\t\t\t\t\t")]):t._e()],1)],1)],1),t._v(" "),t.isLoadingPage?n("div",{attrs:{id:"loader"}},[n("Spinner")],1):t._e()])],1)}),[],!1,null,"3f80b7dc",null);e.default=I.exports},Pq4m:function(t,e,n){"use strict";var a=n("XM3O");n.n(a).a},"Qqv+":function(t,e,n){var a=n("biqn");"string"==typeof a&&(a=[[t.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(t.exports=a.locals)},R6Y3:function(t,e,n){"use strict";var a=n("Xm12");n.n(a).a},RG1H:function(t,e,n){"use strict";var a=n("0Y5R");n.n(a).a},WEWl:function(t,e,n){var a=n("sGz8");"string"==typeof a&&(a=[[t.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(t.exports=a.locals)},XM3O:function(t,e,n){var a=n("1WCK");"string"==typeof a&&(a=[[t.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(t.exports=a.locals)},Xm12:function(t,e,n){var a=n("q8nf");"string"==typeof a&&(a=[[t.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(t.exports=a.locals)},bVRm:function(t,e,n){"use strict";var a=n("2QFf");n.n(a).a},biqn:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.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",""])},gahf:function(t,e,n){"use strict";var a={name:"PageTabGroup"},i=(n("RG1H"),n("KHd+")),r=Object(i.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"page-tab-group"},[this._t("default")],2)}),[],!1,null,"2b2b530c",null);e.a=r.exports},"nr4+":function(t,e,n){var a=n("3eeM");"string"==typeof a&&(a=[[t.i,a,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(a,i);a.locals&&(t.exports=a.locals)},p55r:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.form[data-v-3f80b7dc] {\n max-width: 700px;\n}\n.form.inline-form[data-v-3f80b7dc] {\n display: flex;\n position: relative;\n justify-content: center;\n margin: 0 auto;\n}\n.form.inline-form .input-wrapper[data-v-3f80b7dc] {\n position: relative;\n}\n.form.inline-form .input-wrapper .error-message[data-v-3f80b7dc] {\n position: absolute;\n left: 0;\n bottom: -25px;\n}\n.form.block-form .wrapper-inline[data-v-3f80b7dc] {\n display: flex;\n margin: 0 -15px 0;\n}\n.form.block-form .wrapper-inline .block-wrapper[data-v-3f80b7dc] {\n width: 100%;\n padding: 0 15px;\n}\n.form.block-form .block-wrapper[data-v-3f80b7dc] {\n margin-bottom: 22px;\n}\n.form.block-form .block-wrapper label[data-v-3f80b7dc] {\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-3f80b7dc]:last-child {\n margin-bottom: 0;\n}\n.form.block-form .button[data-v-3f80b7dc] {\n margin-top: 50px;\n}\n.form .inline-wrapper[data-v-3f80b7dc] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.form .inline-wrapper .switch-label .input-help[data-v-3f80b7dc] {\n padding-top: 0;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-3f80b7dc] {\n font-weight: 700;\n color: #1B2539;\n font-size: 1em;\n margin-bottom: 5px;\n}\n.form .input-help[data-v-3f80b7dc] {\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-3f80b7dc] {\n display: flex;\n}\n.single-line-form .submit-button[data-v-3f80b7dc] {\n margin-left: 20px;\n}\n.error-message[data-v-3f80b7dc] {\n font-size: 0.875em;\n color: #fd397a;\n padding-top: 5px;\n display: block;\n text-align: left;\n}\ntextarea[data-v-3f80b7dc] {\n width: 100%;\n}\ntextarea[data-v-3f80b7dc],\ninput[type="password"][data-v-3f80b7dc],\ninput[type="text"][data-v-3f80b7dc],\ninput[type="number"][data-v-3f80b7dc],\ninput[type="date"][data-v-3f80b7dc],\ninput[type="email"][data-v-3f80b7dc] {\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-3f80b7dc],\ninput[type="password"].is-error[data-v-3f80b7dc],\ninput[type="text"].is-error[data-v-3f80b7dc],\ninput[type="number"].is-error[data-v-3f80b7dc],\ninput[type="date"].is-error[data-v-3f80b7dc],\ninput[type="email"].is-error[data-v-3f80b7dc] {\n border-color: #fd397a;\n}\ntextarea[data-v-3f80b7dc]::-webkit-input-placeholder, input[type="password"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="text"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="number"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="date"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="email"][data-v-3f80b7dc]::-webkit-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3f80b7dc]::-moz-placeholder, input[type="password"][data-v-3f80b7dc]::-moz-placeholder, input[type="text"][data-v-3f80b7dc]::-moz-placeholder, input[type="number"][data-v-3f80b7dc]::-moz-placeholder, input[type="date"][data-v-3f80b7dc]::-moz-placeholder, input[type="email"][data-v-3f80b7dc]::-moz-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3f80b7dc]:-ms-input-placeholder, input[type="password"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="text"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="number"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="date"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="email"][data-v-3f80b7dc]:-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3f80b7dc]::-ms-input-placeholder, input[type="password"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="text"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="number"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="date"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="email"][data-v-3f80b7dc]::-ms-input-placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[data-v-3f80b7dc]::placeholder,\ninput[type="password"][data-v-3f80b7dc]::placeholder,\ninput[type="text"][data-v-3f80b7dc]::placeholder,\ninput[type="number"][data-v-3f80b7dc]::placeholder,\ninput[type="date"][data-v-3f80b7dc]::placeholder,\ninput[type="email"][data-v-3f80b7dc]::placeholder {\n color: rgba(27, 37, 57, 0.5);\n font-size: 0.9375em;\n}\ntextarea[disabled][data-v-3f80b7dc],\ninput[type="password"][disabled][data-v-3f80b7dc],\ninput[type="text"][disabled][data-v-3f80b7dc],\ninput[type="number"][disabled][data-v-3f80b7dc],\ninput[type="date"][disabled][data-v-3f80b7dc],\ninput[type="email"][disabled][data-v-3f80b7dc] {\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-3f80b7dc] {\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-3f80b7dc] {\n font-size: 1em;\n margin-top: 50px;\n display: block;\n}\n.additional-link b[data-v-3f80b7dc], .additional-link a[data-v-3f80b7dc] {\n cursor: pointer;\n}\n.additional-link b[data-v-3f80b7dc]:hover, .additional-link a[data-v-3f80b7dc]:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 1024px) {\n.form[data-v-3f80b7dc] {\n max-width: 100%;\n}\n}\n@media only screen and (max-width: 960px) {\n.form .button[data-v-3f80b7dc] {\n margin-top: 20px;\n width: 100%;\n margin-left: 0;\n margin-right: 0;\n}\n.form input[data-v-3f80b7dc], .form textarea[data-v-3f80b7dc] {\n width: 100%;\n min-width: 100%;\n}\n.form.block-form .block-wrapper[data-v-3f80b7dc] {\n display: block;\n}\n.form.block-form .block-wrapper label[data-v-3f80b7dc] {\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-3f80b7dc] {\n margin-top: 25px;\n margin-left: 0;\n margin-right: 0;\n}\n.form.inline-form[data-v-3f80b7dc] {\n display: block;\n}\n.form.inline-form .input-wrapper .error-message[data-v-3f80b7dc] {\n position: relative;\n bottom: 0;\n}\n.form .button[data-v-3f80b7dc] {\n padding: 14px 32px;\n}\n.single-line-form[data-v-3f80b7dc] {\n display: block;\n}\n.single-line-form .submit-button[data-v-3f80b7dc] {\n margin-left: 0;\n margin-top: 20px;\n width: 100%;\n}\ntextarea[data-v-3f80b7dc],\n input[type="password"][data-v-3f80b7dc],\n input[type="number"][data-v-3f80b7dc],\n input[type="date"][data-v-3f80b7dc],\n input[type="text"][data-v-3f80b7dc],\n input[type="email"][data-v-3f80b7dc] {\n padding: 14px 20px;\n}\n}\n@media only screen and (max-width: 690px) {\n.form.block-form .wrapper-inline[data-v-3f80b7dc] {\n display: block;\n margin-bottom: 32px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.form .input-help[data-v-3f80b7dc] {\n color: #7d858c;\n}\n.form.block-form .block-wrapper label[data-v-3f80b7dc] {\n color: #bec6cf;\n}\n.form .inline-wrapper .switch-label .input-label[data-v-3f80b7dc] {\n color: #bec6cf;\n}\ntextarea[data-v-3f80b7dc],\n input[type="password"][data-v-3f80b7dc],\n input[type="text"][data-v-3f80b7dc],\n input[type="date"][data-v-3f80b7dc],\n input[type="number"][data-v-3f80b7dc],\n input[type="email"][data-v-3f80b7dc] {\n border-color: #1e2024;\n background: #1e2024;\n color: #bec6cf;\n}\ntextarea[data-v-3f80b7dc]::-webkit-input-placeholder, input[type="password"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="text"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="date"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="number"][data-v-3f80b7dc]::-webkit-input-placeholder, input[type="email"][data-v-3f80b7dc]::-webkit-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3f80b7dc]::-moz-placeholder, input[type="password"][data-v-3f80b7dc]::-moz-placeholder, input[type="text"][data-v-3f80b7dc]::-moz-placeholder, input[type="date"][data-v-3f80b7dc]::-moz-placeholder, input[type="number"][data-v-3f80b7dc]::-moz-placeholder, input[type="email"][data-v-3f80b7dc]::-moz-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3f80b7dc]:-ms-input-placeholder, input[type="password"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="text"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="date"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="number"][data-v-3f80b7dc]:-ms-input-placeholder, input[type="email"][data-v-3f80b7dc]:-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3f80b7dc]::-ms-input-placeholder, input[type="password"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="text"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="date"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="number"][data-v-3f80b7dc]::-ms-input-placeholder, input[type="email"][data-v-3f80b7dc]::-ms-input-placeholder {\n color: #7d858c;\n}\ntextarea[data-v-3f80b7dc]::placeholder,\n input[type="password"][data-v-3f80b7dc]::placeholder,\n input[type="text"][data-v-3f80b7dc]::placeholder,\n input[type="date"][data-v-3f80b7dc]::placeholder,\n input[type="number"][data-v-3f80b7dc]::placeholder,\n input[type="email"][data-v-3f80b7dc]::placeholder {\n color: #7d858c;\n}\ntextarea[disabled][data-v-3f80b7dc],\n input[type="password"][disabled][data-v-3f80b7dc],\n input[type="text"][disabled][data-v-3f80b7dc],\n input[type="date"][disabled][data-v-3f80b7dc],\n input[type="number"][disabled][data-v-3f80b7dc],\n input[type="email"][disabled][data-v-3f80b7dc] {\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-3f80b7dc],\n .popup-wrapper input[type="password"][data-v-3f80b7dc],\n .popup-wrapper input[type="date"][data-v-3f80b7dc],\n .popup-wrapper input[type="text"][data-v-3f80b7dc],\n .popup-wrapper input[type="number"][data-v-3f80b7dc],\n .popup-wrapper input[type="email"][data-v-3f80b7dc] {\n background: #25272c;\n}\n}\n#page-content[data-v-3f80b7dc] {\n max-width: 1100px;\n}\n.content-page[data-v-3f80b7dc] {\n display: grid;\n grid-template-columns: 2fr 1fr;\n margin-bottom: 30px;\n gap: 50px;\n}\n.content-page .form[data-v-3f80b7dc] {\n max-width: 100%;\n}\n.summary-list[data-v-3f80b7dc] {\n box-shadow: 0 7px 20px 5px rgba(26, 36, 55, 0.06);\n border-radius: 8px;\n min-width: 300px;\n position: -webkit-sticky;\n position: sticky;\n padding: 25px;\n top: 85px;\n}\n.summary-list.is-error[data-v-3f80b7dc] {\n border: 2px solid #fd397a;\n box-shadow: 0 7px 20px 5px rgba(253, 57, 122, 0.06);\n}\n.summary-list .error-message[data-v-3f80b7dc] {\n font-weight: 600;\n}\n.summary-list .next-submit[data-v-3f80b7dc] {\n width: 100%;\n margin-top: 20px;\n}\n.summary-list .disclaimer[data-v-3f80b7dc] {\n font-size: 0.75em;\n line-height: 1.6;\n display: block;\n margin-top: 12px;\n}\n.summary-list .is-offset[data-v-3f80b7dc] {\n border-top: 1px solid #F8F8F8;\n display: block;\n padding-top: 10px;\n}\n.summary-list .row[data-v-3f80b7dc] {\n display: flex;\n justify-content: space-between;\n padding: 15px 0;\n}\n.summary-list .row.small[data-v-3f80b7dc] {\n padding: 0 0 10px;\n}\n.summary-list .row[data-v-3f80b7dc]:first-child {\n padding-top: 0;\n}\n.summary-list .row.row-summary[data-v-3f80b7dc] {\n border-top: 1px solid #F8F8F8;\n padding-bottom: 0;\n}\n.summary-list .row.row-summary b[data-v-3f80b7dc] {\n font-weight: 800;\n}\n.summary-list .cell b[data-v-3f80b7dc] {\n display: block;\n font-size: 1.125em;\n}\n.summary-list .cell small[data-v-3f80b7dc] {\n color: rgba(27, 37, 57, 0.7);\n font-size: 0.75em;\n}\n.summary-list .cell span[data-v-3f80b7dc] {\n font-size: 0.875em;\n font-weight: 600;\n}\n.duplicator .wrapper-inline[data-v-3f80b7dc] {\n margin-bottom: 0 !important;\n}\n@media only screen and (max-width: 970px) {\n.content-page[data-v-3f80b7dc] {\n grid-template-columns: 1fr;\n margin-bottom: 30px;\n gap: 0;\n}\n}\n@media (prefers-color-scheme: dark) {\n.summary-list[data-v-3f80b7dc] {\n background: #1e2024;\n}\n.summary-list .delete-dark[data-v-3f80b7dc] {\n background: #2a2c32;\n}\n.summary-list .is-offset[data-v-3f80b7dc] {\n border-top: 1px solid #2a2c32;\n}\n.summary-list .row.row-summary[data-v-3f80b7dc] {\n border-top: 1px solid #2a2c32;\n}\n}\n',""])},pFam:function(t,e,n){"use strict";var a=n("Qqv+");n.n(a).a},q8nf:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".mobile-header[data-v-699fe34a] {\n padding: 10px 0;\n text-align: center;\n background: white;\n position: -webkit-sticky;\n position: sticky;\n display: none;\n z-index: 6;\n top: 0;\n}\n.mobile-header > div[data-v-699fe34a] {\n flex-grow: 1;\n align-self: center;\n white-space: nowrap;\n}\n.mobile-header .go-back[data-v-699fe34a] {\n text-align: left;\n}\n.mobile-header .location-name[data-v-699fe34a] {\n line-height: 1;\n text-align: center;\n width: 100%;\n vertical-align: middle;\n font-size: 0.9375em;\n color: #1B2539;\n font-weight: 700;\n max-width: 220px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: inline-block;\n}\n.mobile-header .mobile-menu[data-v-699fe34a] {\n text-align: right;\n}\n.mobile-header .icon[data-v-699fe34a] {\n vertical-align: middle;\n margin-top: -4px;\n}\n@media only screen and (max-width: 690px) {\n.mobile-header[data-v-699fe34a] {\n display: flex;\n margin-bottom: 15px;\n}\n}\n@media (prefers-color-scheme: dark) {\n.mobile-header[data-v-699fe34a] {\n background: #141414;\n}\n.mobile-header .location-name[data-v-699fe34a] {\n color: #bec6cf;\n}\n}\n",""])},qefO:function(t,e,n){"use strict";var a={name:"PageTab",props:["isLoading"],components:{Spinner:n("zTYo").a}},i=(n("Pq4m"),n("KHd+")),r=Object(i.a)(a,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"page-tab"},[this.isLoading?e("div",{attrs:{id:"loader"}},[e("Spinner")],1):this._e(),this._v(" "),this.isLoading?this._e():this._t("default")],2)}),[],!1,null,"3fdf99dd",null);e.a=r.exports},sGz8:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.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",""])},xxrA:function(t,e,n){"use strict";var a={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=(n("LedX"),n("KHd+")),r=Object(i.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"input-wrapper"},[n("div",{staticClass:"switch-content"},[t.label?n("label",{staticClass:"input-label"},[t._v(t._s(t.label)+":")]):t._e(),t._v(" "),t.info?n("small",{staticClass:"input-info"},[t._v(t._s(t.info))]):t._e()]),t._v(" "),n("div",{staticClass:"switch-content text-right"},[n("div",{staticClass:"switch",class:{active:t.isSwitched},on:{click:t.changeState}},[n("div",{staticClass:"switch-button"})])])])}),[],!1,null,"421ca226",null);e.a=r.exports}}]); |