1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/public/js/client_edit.min.js

10 lines
256 KiB
JavaScript
Raw Normal View History

2019-04-26 12:51:02 +02:00
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=1)}({"/3l7":function(t,e,n){var r;r=function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="/dist/",e(0)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(17),o=(r=i)&&r.__esModule?r:{default:r};n(41),o.default.install=function(t,e){var n=(new(t.extend({template:'<vue-toastr :options="options" ref="vueToastr"></vue-toastr>',components:{"vue-toastr":o.default},data:function(){return{options:e||{}}}}))).$mount();document.body.appendChild(n.$el),t.prototype.$toastr=n.$refs.vueToastr},"undefined"!=typeof window&&window.Vue&&window.Vue.use(o.default),e.default=o.default,t.exports=e.default},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(29),i=n(7);t.exports=function(t){return r(i(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){t.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(3),i=n(2),o=n(25),s=function(t,e,n){var a,c,l,u=t&s.F,f=t&s.G,p=t&s.S,d=t&s.P,h=t&s.B,v=t&s.W,m=f?i:i[e]||(i[e]={}),g=f?r:p?r[e]:(r[e]||{}).prototype;for(a in f&&(n=e),n)(c=!u&&g&&a in g)&&a in m||(l=c?g[a]:n[a],m[a]=f&&"function"!=typeof g[a]?n[a]:h&&c?o(l,r):v&&g[a]==l?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((m.prototype||(m.prototype={}))[a]=l))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(3),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(12)("wks"),i=n(13),o=n(3).Symbol;t.exports=function(t){return r[t]||(r[t]=o&&o[t]||(o||i)("Symbol."+t))}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={template:'<div class="toast-progress" v-bind:style="style"></div>',props:["data"],data:function(){return{intervalId:!1,hideEta:!1,progressBarValue:this.data.progressBarValue,style:{width:"100%"}}},mounted:function(){null===this.progressBarValue?(this.hideEta=(new Date).getTime()+this.data.timeout,this.setTimer()):this.updateProgress()},destroyed:function(){clearInterval(this.intervalId)},methods:{setTimer:function(){var t=this;this.intervalId=setInterval(function(){t.updateProgress()},10)},setValue:function(t){this.progressBarValue=t,this.updateProgress()},updateProgress:function(){var t;null===this.progressBarValue?(t=
(t.exports=n("FZ+f")(!1)).push([t.i,'.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-container{position:fixed;z-index:999999;pointer-events:none}.toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px 3px 3px 3px;-webkit-border-radius:3px 3px 3px 3px;border-radius:3px 3px 3px 3px;background-position:15px;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#fff;opacity:.8}.toast-container>:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-container>.toast-info{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=")!important}.toast-container>.toast-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=")!important}.toast-container>.toast-success{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==")!important}.toast-container>.toast-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGIC
staticClass:"col-sm-5 col-form-label text-left",attrs:{for:"name"}},[n("div",[t._v(t._s(t.trans("texts.unpaid_invoice")))]),t._v(" "),n("div",{staticStyle:{"margin-top":"1px","line-height":"1.4",color:"#939393"}},[t._v(t._s(t.trans("help.client_unpaid_invoice")))])]),t._v(" "),n("div",{staticClass:"col-sm-7"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.settings.custom_message_unpaid_invoice,expression:"settings.custom_message_unpaid_invoice"}],staticClass:"form-control",attrs:{id:"textarea-input",label:"unpaid_invoice",rows:"9",placeholder:t.placeHolderMessage("custom_message_unpaid_invoice")},domProps:{value:t.settings.custom_message_unpaid_invoice},on:{input:function(e){e.target.composing||t.$set(t.settings,"custom_message_unpaid_invoice",e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group row client_form"},[n("label",{staticClass:"col-sm-5 col-form-label text-left",attrs:{for:"name"}},[n("div",[t._v(t._s(t.trans("texts.paid_invoice")))]),t._v(" "),n("div",{staticStyle:{"margin-top":"1px","line-height":"1.4",color:"#939393"}},[t._v(t._s(t.trans("help.client_paid_invoice")))])]),t._v(" "),n("div",{staticClass:"col-sm-7"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.settings.custom_message_paid_invoice,expression:"settings.custom_message_paid_invoice"}],staticClass:"form-control",attrs:{id:"textarea-input",label:"paid_invoice",rows:"9",placeholder:t.placeHolderMessage("custom_message_paid_invoice")},domProps:{value:t.settings.custom_message_paid_invoice},on:{input:function(e){e.target.composing||t.$set(t.settings,"custom_message_paid_invoice",e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group row client_form"},[n("label",{staticClass:"col-sm-5 col-form-label text-left",attrs:{for:"unapproved_quote"}},[n("div",[t._v(t._s(t.trans("texts.unapproved_quote")))]),t._v(" "),n("div",{staticStyle:{"margin-top":"1px","line-height":"1.4",color:"#939393"}},[t._v(t._s(t.trans("help.client_unapproved_quote")))])]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.settings.custom_message_unapproved_quote,expression:"settings.custom_message_unapproved_quote"}],staticClass:"form-control",attrs:{id:"textarea-input",label:"unapproved_quote",rows:"9",placeholder:t.placeHolderMessage("custom_message_unapproved_quote")},domProps:{value:t.settings.custom_message_unapproved_quote},on:{input:function(e){e.target.composing||t.$set(t.settings,"custom_message_unapproved_quote",e.target.value)}}})])])])])]),t._v(" "),n("section",{attrs:{id:"scroll-affix"}},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header bg-primary2"},[t._v(t._s(t.trans("texts.classify")))]),t._v(" "),n("div",{staticClass:"card-body"},[n("div",{staticClass:"form-group row client_form"},[n("label",{staticClass:"col-sm-5 col-form-label text-left",attrs:{for:"name"}},[t._v(t._s(t.trans("texts.industry")))]),t._v(" "),n("div",{staticClass:"col-sm-7"},[n("multiselect",{attrs:{options:t.options_industry,placeholder:t.placeHolderIndustry(),label:"name","track-by":"id"},model:{value:t.settings.industry_id,callback:function(e){t.$set(t.settings,"industry_id",e)},expression:"settings.industry_id"}})],1)]),t._v(" "),n("div",{staticClass:"form-group row client_form"},[n("label",{staticClass:"col-sm-5 col-form-label text-left",attrs:{for:"name"}},[t._v(t._s(t.trans("texts.size_id")))]),t._v(" "),n("div",{staticClass:"col-sm-7"},[n("multiselect",{attrs:{options:t.options_size,placeholder:t.placeHolderSize(),label:"name","track-by":"id"},model:{value:t.settings.size_id,callback:function(e){t.$set(t.settings,"size_id",e)},expression:"settings.size_id"}})],1)])])])])])])])},staticRenderFns:[]}},"I3G/":function(t,e,n){"use strict";(function(e,n){function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function a(t){return null!==t&&"object"==typeof t}function c(t){return"[object Object]"===Gn.call(t
if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Fe(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ve(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&_(e,no(t.name||"v")),_(e,t),e}return"string"==typeof t?no(t):void 0}}function Ue(t){uo(function(){uo(t)})}function He(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Be(t,e))}function Ge(t,e){t._transitionClasses&&h(t._transitionClasses,e),Fe(t,e)}function ze(t,e,n){var r=qe(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===io?ao:lo,c=0,l=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++c>=s&&l()};setTimeout(function(){c<s&&l()},o+1),t.addEventListener(a,u)}function qe(t,e){var n,r=window.getComputedStyle(t),i=r[so+"Delay"].split(", "),o=r[so+"Duration"].split(", "),s=Je(i,o),a=r[co+"Delay"].split(", "),c=r[co+"Duration"].split(", "),l=Je(a,c),u=0,f=0;return e===io?s>0&&(n=io,u=s,f=o.length):e===oo?l>0&&(n=oo,u=l,f=c.length):f=(n=(u=Math.max(s,l))>0?s>l?io:oo:null)?n===io?o.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===io&&fo.test(r[so+"Property"])}}function Je(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Ke(e)+Ke(t[n])}))}function Ke(t){return 1e3*Number(t.slice(0,-1))}function We(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Ve(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){for(var s=o.css,c=o.type,l=o.enterClass,u=o.enterToClass,f=o.enterActiveClass,d=o.appearClass,h=o.appearToClass,v=o.appearActiveClass,m=o.beforeEnter,g=o.enter,_=o.afterEnter,y=o.enterCancelled,b=o.beforeAppear,x=o.appear,w=o.afterAppear,A=o.appearCancelled,S=o.duration,O=Kr,k=Kr.$vnode;k&&k.parent;)O=(k=k.parent).context;var $=!O._isMounted||!t.isRootInsert;if(!$||x||""===x){var T=$&&d?d:l,E=$&&v?v:f,P=$&&h?h:u,j=$&&b||m,I=$&&"function"==typeof x?x:g,L=$&&w||_,N=$&&A||y,R=p(a(S)?S.enter:S),D=!1!==s&&!dr,M=Xe(I),B=n._enterCb=C(function(){D&&(Ge(n,P),Ge(n,E)),B.cancelled?(D&&Ge(n,T),N&&N(n)):L&&L(n),n._enterCb=null});t.data.show||nt(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),I&&I(n,B)}),j&&j(n),D&&(He(n,T),He(n,E),Ue(function(){Ge(n,T),B.cancelled||(He(n,P),M||(Qe(R)?setTimeout(B,R):ze(n,c,B)))})),t.data.show&&(e&&e(),I&&I(n,B)),D||M||B()}}}function Ye(t,e){function n(){A.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),h&&h(o),b&&(He(o,u),He(o,d),Ue(function(){Ge(o,u),A.cancelled||(He(o,f),x||(Qe(w)?setTimeout(A,w):ze(o,l,A)))})),v&&v(o,A),b||x||A())}var o=t.elm;i(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var s=Ve(t.data.transition);if(r(s)||1!==o.nodeType)return e();if(!i(o._leaveCb)){var c=s.css,l=s.type,u=s.leaveClass,f=s.leaveToClass,d=s.leaveActiveClass,h=s.beforeLeave,v=s.leave,m=s.afterLeave,g=s.leaveCancelled,_=s.delayLeave,y=s.duration,b=!1!==c&&!dr,x=Xe(v),w=p(a(y)?y.leave:y),A=o._leaveCb=C(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),b&&(Ge(o,f),Ge(o,d)),A.cancelled?(b&&Ge(o,u),g&&g(o)):(e(),m&&m(o)),o._leaveCb=null});_?_(n):n()}}function Qe(t){return"number"==typeof t&&!isNaN(t)}function Xe(t){if(r(t))return!1;var e=t.fns;return i(e)?Xe(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ze(t,e){!0!==e.data.show&&We(e)}function tn(t,e,n){en(t,e,n),(pr||hr)&&setTimeout(function(){en(t,e,n)},0)}function en(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,c=t.options.length
;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||h(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),gt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Gt),function(t){Rt(t.prototype),t.prototype.$nextTick=function(t){return X(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=i.data.scopedSlots||Hn),e.$vnode=i;try{t=r.call(e._renderProxy,e.$createElement)}catch(n){K(n,e,"render"),t=e._vnode}return t instanceof kr||(t=Tr()),t.parent=i,t}}(Gt);var ui=[String,RegExp,Array],fi={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:ui,exclude:ui,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Wt(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Kt(t,function(t){return Jt(e,t)})}),this.$watch("exclude",function(e){Kt(t,function(t){return!Jt(e,t)})})},render:function(){var t=this.$slots.default,e=ct(t),n=e&&e.componentOptions;if(n){var r=qt(n),i=this.include,o=this.exclude;if(i&&(!r||!Jt(i,r))||o&&r&&Jt(o,r))return e;var s=this.cache,a=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;s[c]?(e.componentInstance=s[c].componentInstance,h(a,c),a.push(c)):(s[c]=e,a.push(c),this.max&&a.length>parseInt(this.max)&&Wt(s,a[0],a,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return or}};Object.defineProperty(t,"config",e),t.util={warn:Cr,extend:_,mergeOptions:U,defineReactive:N},t.set=R,t.delete=D,t.nextTick=X,t.options=Object.create(null),rr.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,_(t.options.components,fi),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=g(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=U(this.options,t),this}}(t),zt(t),function(t){rr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Gt),Object.defineProperty(Gt.prototype,"$isServer",{get:br}),Object.defineProperty(Gt.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Gt,"FunctionalRenderContext",{value:Dt}),Gt.version="2.5.17";var pi,di,hi,vi,mi,gi,_i,yi,bi=d("style,class"),xi=d("input,textarea,option,select,progress"),wi=function(t,e,n){return"value"===n&&xi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ci=d("contenteditable,draggable,spellcheck"),Ai=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Si="http://www.w3.org/1999/xlink",Oi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},ki=function(t){return Oi(t)?t.slice(6,t.length):""},$i=function(t){return null==t||!1===t},Ti={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ei=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,i
}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),o(t,e),e}(e),r=function(t,e,n){var r=n.css,i=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&i;(e.convertToAbsoluteUrls||o)&&(r=y(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var s=new Blob([r],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,n,e),i=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),r=function(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),i=function(){s(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}function u(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=x(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}var f,p,d={},h=(f=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===p&&(p=f.apply(this,arguments)),p}),v=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),m=null,g=0,_=[],y=n("mJPh");t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=h()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=i(t,e);return r(n,e),function(t){for(var o=[],s=0;s<n.length;s++){var a=n[s];(c=d[a.id]).refs--,o.push(c)}for(t&&r(i(t,e),e),s=0;s<o.length;s++){var c;if(0===(c=o[s]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete d[c.id]}}}};var b,x=(b=[],function(t,e){return b[t]=e,b.filter(Boolean).join("\n")})},P7Ml:function(t,e,n){var r;window,r=function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(e){return t[e]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=1)}([function(t,e,n){var r=n(3);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n(6).default)("da410cd4",r,!1,{})},function(t,e,n){t.exports=n(5)},function(t,e,n){"use strict";var r=n(0);n.n(r).a},function(t,e,n){(t.exports=n(4)(!1)).push([t.i,"\n.vue-affix {\n position: relative;\n}\n.affix {\n position: fixed;\n}\n.affix-bottom {\n position: relative;\n}\n",""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}(e,t)
o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(31),i=(n.n(r),n(32)),o=n(33);e.a={name:"vue-multiselect",mixins:[i.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return this.singleValue&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"auto"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.prefferedOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var r=n(1)("unscopables"),i=Array.prototype;void 0==i[r]&&n(8)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(18),i=n(19),o=n(85);t.exports=function(t){return function(e,n,s){var a,c=r(e),l=i(c.length),u=o(s,l);if(t&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var r=n(9),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){"use strict";var r=n(2);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(4)&&!n(7)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(9);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(14);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){var r=n(2),i=n(76),o=n(22),s=n(27)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.p
method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},XuK9:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e,n,r){this.amount=t,this.currency=e,this.symbol_decorator=n,this.language=r}return t.prototype.format=function(){return this.amount=new Intl.NumberFormat(this.language.locale.replace("_","-"),{style:"decimal",currency:this.currency.code}).format(this.amount),this.symbol_decorator?this.amount=this.currency.symbol+this.amount:this.amount=this.amount+" "+this.currency.code,this.amount},t}();e.default=r},aqgc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["data","errors"],default:function(){}}},cGG2:function(t,e,n){"use strict";function r(t){return"[object Array]"===l.call(t)}function i(t){return null!==t&&"object"==typeof t}function o(t){return"[object Function]"===l.call(t)}function s(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}var a=n("JP+z"),c=n("Re3r"),l=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:function(t){return"[object ArrayBuffer]"===l.call(t)},isBuffer:c,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:i,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===l.call(t)},isFile:function(t){return"[object File]"===l.call(t)},isBlob:function(t){return"[object Blob]"===l.call(t)},isFunction:o,isStream:function(t){return i(t)&&o(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:s,merge:function t(){function e(e,r){"object"==typeof n[r]&&"object"==typeof e?n[r]=t(n[r],e):n[r]=e}for(var n={},r=0,i=arguments.length;r<i;r++)s(arguments[r],e);return n},extend:function(t,e,n){return s(e,function(e,r){t[r]=n&&"function"==typeof e?a(e,n):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},cWxy:function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}var i=n("dVOP");r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},dIwP:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},dVOP:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},fBcC:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("ul",{staticClass:"nav nav-tabs",attrs:{role:"tablist"}},[n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link active",attrs:{"data-toggle":"tab",href:"#billing",role:"tab","aria-controls":"billing"}},[t._v(t._s(t.trans("texts.bil
}):t._e()])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label text-right",attrs:{for:"name"}},[t._v(t._s(t.trans("texts.email")))]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.contact.email,expression:"contact.email"}],staticClass:"form-control",attrs:{type:"email",placeholder:t.trans("texts.email")},domProps:{value:t.contact.email},on:{input:function(e){e.target.composing||t.$set(t.contact,"email",e.target.value)}}}),t._v(" "),t.form.errors.has("contacts."+t.error_index+".email")?n("div",{staticClass:"text-danger",domProps:{textContent:t._s(t.form.errors.get("contacts."+t.error_index+".email"))}}):t._e()])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label text-right",attrs:{for:"name"}},[t._v(t._s(t.trans("texts.phone")))]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.contact.phone,expression:"contact.phone"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.trans("texts.phone")},domProps:{value:t.contact.phone},on:{input:function(e){e.target.composing||t.$set(t.contact,"phone",e.target.value)}}}),t._v(" "),t.form.errors.has("contacts."+t.error_index+".phone")?n("div",{staticClass:"text-danger",domProps:{textContent:t._s(t.form.errors.get("contacts."+t.error_index+".phone"))}}):t._e()])]),t._v(" "),t.company.settings.custom_client_contact_label1?n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label text-right",attrs:{for:"name"}},[t._v(t._s(t.company.settings.custom_client_contact_label1))]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.contact.custom_value1,expression:"contact.custom_value1"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.trans("texts.custom_value1")},domProps:{value:t.contact.custom_value1},on:{input:function(e){e.target.composing||t.$set(t.contact,"custom_value1",e.target.value)}}}),t._v(" "),t.form.errors.has("contacts."+t.error_index+".custom_value1")?n("div",{staticClass:"text-danger",domProps:{textContent:t._s(t.form.errors.get("contacts."+t.error_index+".custom_value1"))}}):t._e()])]):t._e(),t._v(" "),t.company.settings.custom_client_contact_label2?n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label text-right",attrs:{for:"name"}},[t._v(t._s(t.company.settings.custom_client_contact_label2))]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.contact.custom_value2,expression:"contact.custom_value2"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.trans("texts.custom_value1")},domProps:{value:t.contact.custom_value2},on:{input:function(e){e.target.composing||t.$set(t.contact,"custom_value2",e.target.value)}}}),t._v(" "),t.form.errors.has("contacts."+t.error_index+".custom_value2")?n("div",{staticClass:"text-danger",domProps:{textContent:t._s(t.form.errors.get("contacts."+t.error_index+".custom_value2"))}}):t._e()])]):t._e(),t._v(" "),t.company.settings.custom_client_contact_label3?n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-sm-3 col-form-label text-right",attrs:{for:"name"}},[t._v(t._s(t.company.settings.custom_client_contact_label3))]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.contact.custom_value3,expression:"contact.custom_value3"}],staticClass:"form-control",attrs:{type:"text",placeholder:t.trans("texts.custom_value1")},domProps:{value:t.contact.custom_value3},on:{input:function(e){e.target.composing||t.$set(t.contact,"custom_value3",e.target.value)}}}),t._v(" "),t.form.errors.has("contacts."+t.error_index+".custom_value3")?n("div",{staticClass:"text-danger",domProps:{textContent:t._s(t.form.errors.get("contacts."+t.error_index+".custom_value3"))}}):t._e()])]):t._e(),t._v(" "),t.company.settings.custom_client_contact_label4?n("div",{staticClass:"form-group row"},