PluginProbe
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce / 1.6.7
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce v1.6.7
1.17.9 1.17.8 1.17.7 1.17.6 1.17.5 1.17.4 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.3.0 1.3.1 1.3.11 1.3.12 1.3.13 1.3.14 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 All 143 releases
erp / modules / accounting / assets / js / admin.js

admin.js in ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce 1.6.7, at modules/accounting/assets/js/admin.js

1 lines 996.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 pluginWebpack([0],[,function(t,e,a){"use strict";var i=a(100),n=a.n(i);e.a=n.a.create({baseURL:erp_acct_var.rest.root+erp_acct_var.rest.version+"/accounting/v1",headers:{"X-WP-Nonce":erp_acct_var.rest.nonce}})},function(t,e,a){"use strict";var i=a(30),n=a(63),r=!1;var s=function(t){r||a(61)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/select/MultiSelect.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(25),n=a(56),r=!1;var s=function(t){r||a(50)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/list-table/ListTable.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(33),n=a(70),r=!1;var s=function(t){r||a(69)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/base/Datepicker.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(37),n=a(76),r=!1;var s=function(t){r||a(75)},o=a(0)(i.a,n.a,!1,s,"data-v-39f0e5a0",null);o.options.__file="modules/accounting/assets/src/admin/components/base/ShowErrors.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(27),n=a(55),r=!1;var s=function(t){r||a(54)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/base/Dropdown.vue",e.a=o.exports},,,,function(t,e,a){"use strict";var i=a(35),n=a(72),r=!1;var s=function(t){r||a(71)},o=a(0)(i.a,n.a,!1,s,"data-v-a00ede16",null);o.options.__file="modules/accounting/assets/src/admin/components/base/FileUpload.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(40),n=a(84),r=!1;var s=function(t){r||a(80)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/email/SendMail.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(42),n=a(86),r=!1;var s=function(t){r||a(85)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/base/SubmitButton.vue",e.a=o.exports},,,,function(t,e,a){"use strict";var i=a(36),n=a(74),r=!1;var s=function(t){r||a(73)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/select/ComboButton.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(146),n=a(354),r=!1;var s=function(t){r||a(353)},o=a(0)(i.a,n.a,!1,s,"data-v-2728d44a",null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/TransParticulars.vue",e.a=o.exports},,,function(t,e,a){"use strict";var i=a(28),n=a(64),r=!1;var s=function(t){r||a(57)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/people/PeopleModal.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(31),n=a(68),r=!1;var s=function(t){r||a(65)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/chart/PieChart.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(38),n=a(77),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/select/SelectAccounts.vue",e.a=r.exports},,function(t,e,a){"use strict";var i=a(39),n=a(79),r=!1;var s=function(t){r||a(78)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/people/SelectPeople.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(51),n=a(6);e.a={name:"ListTable",components:{BulkActionsTpl:i.a,Dropdown:n.a},props:{columns:{type:Object,required:!0,default:function(){}},rows:{type:Array,required:!0,default:function(){return[]}},index:{type:String,default:"id"},showCb:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},actionColumn:{type:String,default:""},actions:{type:Array,required:!1,default:function(){return[]}},bulkActions:{type:Array,required:!1,default:function(){return[]}},tableClass:{type:String,default:"wp-list-table widefat fixed striped"},notFound:{type:String,default:__("No items found.","erp")},totalItems:{type:Number,default:0},totalPages:{type:Number,default:1},perPage:{type:Number,default:20},currentPage:{type:Number,default:1},sortBy:{type:String,default:null},sortOrder:{type:String,default:"asc"},showItemNumbers:{type:Boolean,default:!0}},data:function(){return{bulkLocal:"-1",checkedItems:[],isRowExpanded:[]}},computed:{hasActions:function(){return this.actions.length>0},itemsTotal:function(){return this.totalItems||this.rows.length},hasPagination:function(){return this.itemsTotal>this.perPage},disableFirst:function(){return 1===this.currentPage||2===this.currentPage},disablePrev:function(){return 1===this.currentPage},disableNext:function(){return this.currentPage===this.totalPages},disableLast:function(){return this.currentPage===this.totalPages||this.currentPage===this.totalPages-1},columnsCount:function(){return Object.keys(this.columns).length},colspan:function(){var t=Object.keys(this.columns).length;return this.showCb&&(t+=1),t},selectAll:{get:function(){return!!this.rows.length&&(!!this.rows&&this.checkedItems.length===this.rows.length)},set:function(t){var e=[],a=this;t&&this.rows.forEach(function(t){void 0!==t[a.index]?e.push(t[a.index]):e.push(t.id)}),this.checkedItems=e}}},created:function(){var t=this;this.$on("bulk-checkbox",function(e){e||(t.checkedItems=[])}),this.$on("bulk-action-click",function(e){t.bulkLocal=e,t.handleBulkAction()})},methods:{collapsRow:function(t){return-1===this.isRowExpanded.findIndex(function(e){return e===t.id})?"":"is-row-expanded"},toggleRow:function(t){var e=this.isRowExpanded.findIndex(function(e){return e===t.id});-1===e?this.isRowExpanded.push(t.id):this.isRowExpanded.splice(e,1)},ucFirst:function(t){return t.replace(/^./,t[0].toUpperCase())},hideActionSeparator:function(t){return t===this.actions[this.actions.length-1].key},actionClicked:function(t,e,a){this.$emit("action:click",t,e,a)},goToPage:function(t){this.$emit("pagination",t)},goToCustomPage:function(t){var e=parseInt(t.target.value,10);!isNaN(e)&&e>0&&e<=this.totalPages&&this.$emit("pagination",e)},handleBulkAction:function(){"-1"!==this.bulkLocal&&this.$emit("bulk:click",this.bulkLocal,this.checkedItems)},isSortable:function(t){return!(!Object.prototype.hasOwnProperty.call(t,"sortable")||!0!==t.sortable)},isSorted:function(t){return t===this.sortBy},handleSortBy:function(t){var e="asc"===this.sortOrder?"desc":"asc";this.$emit("sort",t,e)}}}},function(t,e,a){"use strict";e.a={name:"BulkActionsTpl",props:{bulkActions:{type:Array,required:!1,default:function(){return[]}},showCb:{type:Boolean,default:!0},columnsCount:{type:Number,default:0},selectAll:{type:Boolean,default:!1}},data:function(){return{bulkSelectAll:this.selectAll}},computed:{hasBulkActions:function(){return this.bulkActions.length>0}},methods:{removeBulkActions:function(){this.$refs.removeBulkAction.click()},changeBulkCheckbox:function(){this.$parent.$emit("bulk-checkbox",this.bulkSelectAll)},bulkActionSelect:function(t){this.$parent.$emit("bulk-action-click",t)}}}},function(t,e,a){"use strict";var i=a(110);e.a={name:"Dropdown",props:{dropdownClasses:{type:String,default:""},disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom"}},data:function(){return{visible:!1}},watch:{visible:function(t,e){t!==e&&(t?this.showMenu():this.hideMenu())}},created:function(){var t=this;this._popper=null,this.$parent.$on("action:click",function(){t.visible=!1})},mounted:function(){window.addEventListener("click",this.closeDropdown)},beforeDestroy:function(){this.visible=!1,this.removePopper()},destroyed:function(){window.removeEventListener("click",this.closeDropdown)},methods:{toggleDropdown:function(){this.visible=!this.visible},showMenu:function(){if(!this.disabled){var t=this.$el;this.createPopper(t)}},hideMenu:function(){this.$root.$emit("hidden"),this.removePopper()},createPopper:function(t){this.removePopper(),this._popper=new i.a(t,this.$refs.menu,{placement:this.placement})},removePopper:function(){this._popper&&this._popper.destroy(),this._popper=null},closeDropdown:function(t){this.$el&&!this.elementContains(this.$el,t.target)&&this._popper&&!this.elementContains(this._popper,t.target)&&(this.visible=!1)},elementContains:function(t,e){return"function"==typeof t.contains&&t.contains(e)}}}},function(t,e,a){"use strict";var i=a(1),n=a(58),r=a(2);e.a={name:"CustomerModal",components:{UploadImage:n.a,MultiSelect:r.a},props:{people:{type:Object},title:{required:!0},type:[String]},data:function(){return{peopleFields:{id:null,first_name:"",last_name:"",email:"",mobile:"",company:"",phone:"",website:"",notes:"",fax:"",street_1:"",street_2:"",city:"",country:"",state:"",postal_code:"",photo_id:null,photo:erp_acct_var.erp_assets+"/images/mystery-person.png"},states:[],emailExists:!1,showMore:!1,customers:[],url:"",error_message:[],countries:[],get_states:[],extraFieldsTop:window.acct.hooks.applyFilters("acctPeopleExtraFieldsTop",[]),extraFieldsMiddle:window.acct.hooks.applyFilters("acctPeopleExtraFieldsMiddle",[]),extraFieldsBottom:window.acct.hooks.applyFilters("acctPeopleExtraFieldsBottom",[])}},created:function(){var t=this;this.url=this.generateUrl(),this.getCustomers(),this.getCountries(function(){return t.setInputField()})},mounted:function(){window.acct.hooks.doAction("acctPeopleID",this.peopleFields.id)},methods:{saveCustomer:function(){var t=this,e=window.acct.hooks.applyFilters("acctPeopleFieldsData",this.peopleFields);if(!this.checkForm())return!1;this.$store.dispatch("spinner/setSpinner",!0);var a="",n="";this.people?(n=this.url+"/"+e.id,a="put"):(n=this.url,a="post");var r="post"===a?"Created":"Updated";i.a[a](n,e).then(function(e){t.$root.$emit("peopleUpdate"),t.resetForm(),t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success",r)})},checkForm:function(){return this.error_message=window.acct.hooks.applyFilters("acctPeopleFieldsError",[]),!this.error_message.length&&(this.emailExists?(this.error_message.push("Email already exists as customer/vendor"),this.emailExists=!1,!1):!!(this.peopleFields.first_name&&this.peopleFields.last_name&&this.peopleFields.email)||(this.peopleFields.first_name||this.error_message.push("First name is required"),this.peopleFields.last_name||this.error_message.push("Last name is required"),this.peopleFields.email||this.error_message.push("Email is required"),!1))},showDetails:function(){this.showMore=!this.showMore},getCountries:function(t){var e=this;i.a.get("customers/country").then(function(a){var i=a.data.country,n=a.data.state;for(var r in i)void 0===n[r]&&(n[r]=[]),e.countries.push({id:r,name:e.decodeHtml(i[r]),state:n[r]});for(var s in n)for(var o in n[s])e.get_states.push({id:o,name:n[s][o]});void 0!==t&&t()})},uploadPhoto:function(t){this.peopleFields.photo_id=t.id},getState:function(t){for(var e in this.states=[],this.peopleFields.state="",t.state)this.states.push({id:e,name:t.state[e]})},checkEmailExistence:function(){var t=this;this.peopleFields.email&&(this.people||i.a.get("/people/check-email",{params:{email:this.peopleFields.email}}).then(function(e){t.emailExists=e.data}))},getCustomers:function(){var t=this;i.a.get("/customers").then(function(e){t.customers=e.data})},setInputField:function(){if(this.people){var t=this.people;this.peopleFields.id=t.id,this.peopleFields.first_name=t.first_name,this.peopleFields.last_name=t.last_name,this.peopleFields.email=t.email,this.peopleFields.mobile=t.mobile,this.peopleFields.company=t.company,this.peopleFields.phone=t.phone,this.peopleFields.website=t.website,this.peopleFields.notes=t.notes,this.peopleFields.fax=t.fax,this.peopleFields.street_1=t.billing.street_1,this.peopleFields.street_2=t.billing.street_2,this.peopleFields.city=t.billing.city,this.peopleFields.country=this.selectedCountry(t.billing.country),this.peopleFields.postal_code=t.billing.postal_code,t.photo&&(this.peopleFields.photo_id=t.photo_id,this.peopleFields.photo=t.photo),Object.prototype.hasOwnProperty.call(this.peopleFields.country,"id")&&(this.getState(this.peopleFields.country),this.peopleFields.state=this.selectedState(t.billing.state))}},selectedCountry:function(t){return this.countries.find(function(e){return e.id===t})},selectedState:function(t){return this.get_states.find(function(e){return e.id===t})},generateUrl:function(){return this.type?"customer"===this.type?"customers":"vendors":"customerdetails"===this.$route.name.toLowerCase()?"customers":"vendordetails"===this.$route.name.toLowerCase()?"vendors":this.$route.name.toLowerCase()},resetForm:function(){this.peopleFields.first_name="",this.peopleFields.last_name="",this.peopleFields.email="",this.peopleFields.mobile="",this.peopleFields.company="",this.peopleFields.phone="",this.peopleFields.website="",this.peopleFields.note="",this.peopleFields.fax="",this.peopleFields.street1="",this.peopleFields.street2="",this.peopleFields.city="",this.peopleFields.country="",this.peopleFields.state="",this.peopleFields.post_code=""}}}},function(t,e,a){"use strict";e.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:null},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(t){this.image.src=t.url,this.image.id=t.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(t){var e=this;if(e.fileFrame)e.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","erp"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},i={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(erp_acct_var.banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(erp_acct_var.banner_dimension.height,10),flex_width:!!parseInt(erp_acct_var.banner_dimension["flex-width"],10),flex_height:!!parseInt(erp_acct_var.banner_dimension["flex-height"],10)},mustBeCropped:function(t,e,a,i,n,r){return(!0!==t||!0!==e)&&((!0!==t||i!==r)&&((!0!==e||a!==n)&&((a!==n||i!==r)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:e.calculateImageSelectOptions,control:i})],r={title:this.__("Select Image","erp"),button:{text:this.__("Select Image","erp"),close:!1},multiple:!1};r.states=n,e.fileFrame=wp.media(r),e.fileFrame.on("select",function(){e.fileFrame.setState("cropper")}),e.fileFrame.on("cropped",function(a){t(a),e.fileFrame=null}),e.fileFrame.on("skippedcrop",function(){var a=e.fileFrame.state().get("selection").map(function(t){return t.toJSON()}).pop();t(a),e.fileFrame=null}),e.fileFrame.on("close",function(){e.fileFrame=null}),e.fileFrame.on("ready",function(){e.fileFrame.uploader.options.uploader.params={type:"erp-option-media"}}),e.fileFrame.open()}},calculateImageSelectOptions:function(t,e){var a=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(erp_acct_var.banner_dimension.width,10),i=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(erp_acct_var.banner_dimension.height,10),n=!!parseInt(erp_acct_var.banner_dimension["flex-width"],10),r=!!parseInt(erp_acct_var.banner_dimension["flex-height"],10),s=t.get("width"),o=t.get("height"),l=e.get("control");e.set("canSkipCrop",!l.mustBeCropped(n,r,a,i,s,o));var c=a/i;s/o>c?a=(i=o)*c:i=(a=s)/c;var d={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:s,imageHeight:o,x1:0,y1:0,x2:a,y2:i};return!1===r&&!1===n&&(d.aspectRatio=a+":"+i),!1===r&&(d.maxHeight=i),!1===n&&(d.maxWidth=a),d}}}},function(t,e,a){"use strict";var i=a(111),n=a.n(i),r=a(62),s=a(112);a.n(s);e.a={name:"MultiSelect",components:{Multiselect:n.a},props:{value:{type:null,required:!0},options:{type:Array,default:function(){return[]}},multiple:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Please search"}},data:function(){return{noResult:!1,isLoading:!1,results:[]}},watch:{options:function(){this.results=[],this.isLoading=!1}},methods:{onSelect:function(t){this.multiple?(this.results.push(t),this.$emit("input",this.results)):this.$emit("input",t)},onRemove:function(t){this.results=this.results.filter(function(e){return e.id!==t.id}),this.$emit("input",this.results)},onDropdownOpen:function(t){this.$root.$emit("dropdown-open")},asyncFind:Object(r.a)(function(t){this.$root.$emit("options-query",t)},1)}}},function(t,e,a){"use strict";a(32);e.a={name:"PieChart",props:["id","title","labels","colors","data"],data:function(){return{}},methods:{makeChart:function(){var t=this,e=this.colors,a={type:"doughnut",data:{labels:this.labels,datasets:[{data:this.data,backgroundColor:e}]},options:{maintainAspectRatio:!0,cutoutPercentage:45,legend:{display:!1},legendCallback:function(e){var a=[];if(a.push('<ul class="chart-labels-list">'),e.data.datasets.length)for(var i=0;i<e.data.datasets[0].data.length;++i)a.push('<li><div class="label-icon-wrapper"><span class="chart-label-icon" style="background-color:'+e.data.datasets[0].backgroundColor[i]+'"></span> </div><div class="chart-label-values">'),e.data.datasets[0].data[i]&&("payment"===t.id?a.push('<span class="chart-value">'+t.moneyFormat(e.data.datasets[0].data[i])+"</span><br>"):a.push('<span class="chart-value">'+e.data.datasets[0].data[i])),e.data.labels[i]&&a.push('<span class="chart-label"> '+e.data.labels[i]+"</span>"),a.push("</div></li>");return a.push("</ul>"),a.join("")},tooltips:{yPadding:10,callbacks:{label:function(t,e){var a=0;e.datasets[t.datasetIndex].data.forEach(function(t){0!==t&&(a+=t)});var i=e.datasets[t.datasetIndex].data[t.index],n=Math.round(i/a*100);return e.labels[t.index]+": "+e.datasets[t.datasetIndex].data[t.index]+" ("+n+"%)"}}}}};setTimeout(function(){var e=document.getElementById(t.id+"_chart");if(null!==e){e=e.getContext("2d");var i=new Chart(e,a).generateLegend();document.getElementById(t.id+"_legend").innerHTML=i}},1e3)}},created:function(){this.makeChart()}}},function(t,e,a){"use strict";(function(t,e){var i,n=a(9),s=a.n(n);!function(i){"object"==("undefined"==typeof exports?"undefined":s()(exports))&&void 0!==t?t.exports=i():"function"==typeof define&&a(67)?define([],i):("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).Chart=i()}(function(){return function t(e,a,n){function r(o,l){if(!a[o]){if(!e[o]){if(!l&&("function"==typeof i&&i))return i(o,!0);if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var d=a[o]={exports:{}};e[o][0].call(d.exports,function(t){return r(e[o][1][t]||t)},d,d.exports,t,e,a,n)}return a[o].exports}for(var s="function"==typeof i&&i,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,a){},{}],2:[function(t,e,a){var i=t(6);function n(t){if(t){var e=[0,0,0],a=1,n=t.match(/^#([a-fA-F0-9]{3})$/i);if(n){n=n[1];for(var r=0;r<e.length;r++)e[r]=parseInt(n[r]+n[r],16)}else if(n=t.match(/^#([a-fA-F0-9]{6})$/i))for(n=n[1],r=0;r<e.length;r++)e[r]=parseInt(n.slice(2*r,2*r+2),16);else if(n=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(n[r+1]);a=parseFloat(n[4])}else if(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(n[r+1]));a=parseFloat(n[4])}else if(n=t.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(e=i[n[1]]))return}for(r=0;r<e.length;r++)e[r]=d(e[r],0,255);return a=a||0==a?d(a,0,1):1,e[3]=a,e}}function r(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var a=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(a)?1:a,0,1)]}}}function s(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var a=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(a)?1:a,0,1)]}}}function o(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function c(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function d(t,e,a){return Math.min(Math.max(e,t),a)}function u(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}e.exports={getRgba:n,getHsla:r,getRgb:function(t){var e=n(t);return e&&e.slice(0,3)},getHsl:function(t){var e=r(t);return e&&e.slice(0,3)},getHwb:s,getAlpha:function(t){var e=n(t);return e?e[3]:(e=r(t))?e[3]:(e=s(t))?e[3]:void 0},hexString:function(t){return"#"+u(t[0])+u(t[1])+u(t[2])},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?o(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:o,percentString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:l,hslString:function(t,e){return e<1||t[3]&&t[3]<1?c(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:c,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return p[t.slice(0,3)]}};var p={};for(var h in i)p[i[h]]=h},{6:6}],3:[function(t,e,a){var i=t(5),n=t(2),r=function t(e){return e instanceof t?e:this instanceof t?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(a=n.getRgba(e))?this.setValues("rgb",a):(a=n.getHsla(e))?this.setValues("hsl",a):(a=n.getHwb(e))&&this.setValues("hwb",a):"object"==s()(e)&&(void 0!==(a=e).r||void 0!==a.red?this.setValues("rgb",a):void 0!==a.l||void 0!==a.lightness?this.setValues("hsl",a):void 0!==a.v||void 0!==a.value?this.setValues("hsv",a):void 0!==a.w||void 0!==a.whiteness?this.setValues("hwb",a):void 0===a.c&&void 0===a.cyan||this.setValues("cmyk",a)))):new t(e);var a};(r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],a=0;a<t.length;a++){var i=t[a]/255;e[a]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),a=t.luminosity();return a<e?(e+.05)/(a+.05):(a+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return 7.1<=e?"AAA":4.5<=e?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,a=(e[0]+t)%360;return e[0]=a<0?360+a:a,this.setValues("hsl",e),this},mix:function(t,e){var a=this,i=t,n=void 0===e?.5:e,r=2*n-1,s=a.alpha()-i.alpha(),o=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,l=1-o;return this.rgb(o*a.red()+l*i.red(),o*a.green()+l*i.green(),o*a.blue()+l*i.blue()).alpha(a.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,a=new r,i=this.values,n=a.values;for(var s in i)i.hasOwnProperty(s)&&(t=i[s],"[object Array]"===(e={}.toString.call(t))?n[s]=t.slice(0):"[object Number]"===e?n[s]=t:console.error("unexpected color value:",t));return a}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,a={},i=0;i<t.length;i++)a[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(a.a=e.alpha),a},r.prototype.setValues=function(t,e){var a,n,r=this.values,s=this.spaces,o=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)r[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(a=0;a<t.length;a++)r[t][a]=e[t.charAt(a)];l=e.a}else if(void 0!==e[s[t][0]]){var c=s[t];for(a=0;a<t.length;a++)r[t][a]=e[c[a]];l=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===t)return!1;for(a=0;a<t.length;a++)n=Math.max(0,Math.min(o[t][a],r[t][a])),r[t][a]=Math.round(n);for(var d in s)d!==t&&(r[d]=i[t][d](r[t]));return!0},r.prototype.setSpace=function(t,e){var a=e[0];return void 0===a?this.getValues(t):("number"==typeof a&&(a=Array.prototype.slice.call(e)),this.setValues(t,a),this)},r.prototype.setChannel=function(t,e,a){var i=this.values[t];return void 0===a?i[e]:(a===i[e]||(i[e]=a,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{2:2,5:5}],4:[function(t,e,a){function i(t){var e,a,i=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(i,n,r),o=Math.max(i,n,r),l=o-s;return o==s?e=0:i==o?e=(n-r)/l:n==o?e=2+(r-i)/l:r==o&&(e=4+(i-n)/l),(e=Math.min(60*e,360))<0&&(e+=360),a=(s+o)/2,[e,100*(o==s?0:a<=.5?l/(o+s):l/(2-o-s)),100*a]}function n(t){var e,a,i=t[0],n=t[1],r=t[2],s=Math.min(i,n,r),o=Math.max(i,n,r),l=o-s;return a=0==o?0:l/o*1e3/10,o==s?e=0:i==o?e=(n-r)/l:n==o?e=2+(r-i)/l:r==o&&(e=4+(i-n)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,a,o/255*1e3/10]}function s(t){var e=t[0],a=t[1],n=t[2];return[i(t)[0],1/255*Math.min(e,Math.min(a,n))*100,100*(n=1-1/255*Math.max(e,Math.max(a,n)))]}function o(t){var e,a=t[0]/255,i=t[1]/255,n=t[2]/255;return[100*((1-a-(e=Math.min(1-a,1-i,1-n)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-n-e)/(1-e)||0),100*e]}function l(t){return C[JSON.stringify(t)]}function c(t){var e=t[0]/255,a=t[1]/255,i=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(a=.04045<a?Math.pow((a+.055)/1.055,2.4):a/12.92)+.1805*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*a+.0722*i),100*(.0193*e+.1192*a+.9505*i)]}function d(t){var e=c(t),a=e[0],i=e[1],n=e[2];return i/=100,n/=108.883,a=.008856<(a/=95.047)?Math.pow(a,1/3):7.787*a+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(a-i),200*(i-(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116))]}function u(t){var e,a,i,n,r,s=t[0]/360,o=t[1]/100,l=t[2]/100;if(0==o)return[r=255*l,r,r];e=2*l-(a=l<.5?l*(1+o):l+o-l*o),n=[0,0,0];for(var c=0;c<3;c++)(i=s+1/3*-(c-1))<0&&i++,1<i&&i--,r=6*i<1?e+6*(a-e)*i:2*i<1?a:3*i<2?e+(a-e)*(2/3-i)*6:e,n[c]=255*r;return n}function p(t){var e=t[0]/60,a=t[1]/100,i=t[2]/100,n=Math.floor(e)%6,r=e-Math.floor(e),s=255*i*(1-a),o=255*i*(1-a*r),l=255*i*(1-a*(1-r));switch(i*=255,n){case 0:return[i,l,s];case 1:return[o,i,s];case 2:return[s,i,l];case 3:return[s,o,i];case 4:return[l,s,i];case 5:return[i,s,o]}}function h(t){var e,a,i,n,s=t[0]/360,o=t[1]/100,l=t[2]/100,c=o+l;switch(1<c&&(o/=c,l/=c),i=6*s-(e=Math.floor(6*s)),0!=(1&e)&&(i=1-i),n=o+i*((a=1-l)-o),e){default:case 6:case 0:r=a,g=n,b=o;break;case 1:r=n,g=a,b=o;break;case 2:r=o,g=a,b=n;break;case 3:r=o,g=n,b=a;break;case 4:r=n,g=o,b=a;break;case 5:r=a,g=o,b=n}return[255*r,255*g,255*b]}function f(t){var e=t[0]/100,a=t[1]/100,i=t[2]/100,n=t[3]/100;return[255*(1-Math.min(1,e*(1-n)+n)),255*(1-Math.min(1,a*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n))]}function m(t){var e,a,i,n=t[0]/100,r=t[1]/100,s=t[2]/100;return a=-.9689*n+1.8758*r+.0415*s,i=.0557*n+-.204*r+1.057*s,e=.0031308<(e=3.2406*n+-1.5372*r+-.4986*s)?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,a=.0031308<a?1.055*Math.pow(a,1/2.4)-.055:a*=12.92,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(a=Math.min(Math.max(0,a),1)),255*(i=Math.min(Math.max(0,i),1))]}function _(t){var e=t[0],a=t[1],i=t[2];return a/=100,i/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(a=.008856<a?Math.pow(a,1/3):7.787*a+16/116)-16,500*(e-a),200*(a-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]}function A(t){var e,a,i,n,r=t[0],s=t[1],o=t[2];return n=r<=8?(a=100*r/903.3)/100*7.787+16/116:(a=100*Math.pow((r+16)/116,3),Math.pow(a/100,1/3)),[e=e/95.047<=.008856?e=95.047*(s/500+n-16/116)/7.787:95.047*Math.pow(s/500+n,3),a,i=i/108.883<=.008859?i=108.883*(n-o/200-16/116)/7.787:108.883*Math.pow(n-o/200,3)]}function v(t){var e,a=t[0],i=t[1],n=t[2];return(e=360*Math.atan2(n,i)/2/Math.PI)<0&&(e+=360),[a,Math.sqrt(i*i+n*n),e]}function M(t){return m(A(t))}function y(t){var e,a=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[a,i*Math.cos(e),i*Math.sin(e)]}function w(t){return x[t]}e.exports={rgb2hsl:i,rgb2hsv:n,rgb2hwb:s,rgb2cmyk:o,rgb2keyword:l,rgb2xyz:c,rgb2lab:d,rgb2lch:function(t){return v(d(t))},hsl2rgb:u,hsl2hsv:function(t){var e=t[0],a=t[1]/100,i=t[2]/100;return 0!==i?[e,2*(a*=(i*=2)<=1?i:2-i)/(i+a)*100,(i+a)/2*100]:[0,0,0]},hsl2hwb:function(t){return s(u(t))},hsl2cmyk:function(t){return o(u(t))},hsl2keyword:function(t){return l(u(t))},hsv2rgb:p,hsv2hsl:function(t){var e,a,i=t[0],n=t[1]/100,r=t[2]/100;return e=n*r,[i,100*(e=(e/=(a=(2-n)*r)<=1?a:2-a)||0),100*(a/=2)]},hsv2hwb:function(t){return s(p(t))},hsv2cmyk:function(t){return o(p(t))},hsv2keyword:function(t){return l(p(t))},hwb2rgb:h,hwb2hsl:function(t){return i(h(t))},hwb2hsv:function(t){return n(h(t))},hwb2cmyk:function(t){return o(h(t))},hwb2keyword:function(t){return l(h(t))},cmyk2rgb:f,cmyk2hsl:function(t){return i(f(t))},cmyk2hsv:function(t){return n(f(t))},cmyk2hwb:function(t){return s(f(t))},cmyk2keyword:function(t){return l(f(t))},keyword2rgb:w,keyword2hsl:function(t){return i(w(t))},keyword2hsv:function(t){return n(w(t))},keyword2hwb:function(t){return s(w(t))},keyword2cmyk:function(t){return o(w(t))},keyword2lab:function(t){return d(w(t))},keyword2xyz:function(t){return c(w(t))},xyz2rgb:m,xyz2lab:_,xyz2lch:function(t){return v(_(t))},lab2xyz:A,lab2rgb:M,lab2lch:v,lch2lab:y,lch2xyz:function(t){return A(y(t))},lch2rgb:function(t){return M(y(t))}};var x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},C={};for(var N in x)C[JSON.stringify(x[N])]=N},{}],5:[function(t,e,a){var i=t(4),n=function(){return new c};for(var r in i){n[r+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(r);var s=/(\w+)2(\w+)/.exec(r),o=s[1],l=s[2];(n[o]=n[o]||{})[l]=n[r]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var a=i[t](e);if("string"==typeof a||void 0===a)return a;for(var n=0;n<a.length;n++)a[n]=Math.round(a[n]);return a}}(r)}var c=function(){this.convs={}};c.prototype.routeSpace=function(t,e){var a=e[0];return void 0===a?this.getValues(t):("number"==typeof a&&(a=Array.prototype.slice.call(e)),this.setValues(t,a))},c.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},c.prototype.getValues=function(t){var e=this.convs[t];if(!e){var a=this.space,i=this.convs[a];e=n[a][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){c.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=n},{4:4}],6:[function(t,e,a){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(t,e,a){var i=t(30)();i.helpers=t(46),t(28)(i),i.Animation=t(22),i.animationService=t(23),i.defaults=t(26),i.Element=t(27),i.elements=t(41),i.Interaction=t(29),i.layouts=t(31),i.platform=t(49),i.plugins=t(32),i.Scale=t(33),i.scaleService=t(34),i.Ticks=t(35),i.Tooltip=t(36),t(24)(i),t(25)(i),t(56)(i),t(54)(i),t(55)(i),t(57)(i),t(58)(i),t(59)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var n=t(50);for(var r in n)n.hasOwnProperty(r)&&i.plugins.register(n[r]);i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.Chart=i),i.Legend=n.legend._element,i.Title=n.title._element,i.pluginService=i.plugins,i.PluginBase=i.Element.extend({}),i.canvasHelpers=i.helpers.canvas,i.layoutService=i.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,41:41,46:46,49:49,50:50,54:54,55:55,56:56,57:57,58:58,59:59,8:8,9:9}],8:[function(t,e,a){e.exports=function(t){t.Bar=function(e,a){return a.type="bar",new t(e,a)}}},{}],9:[function(t,e,a){e.exports=function(t){t.Bubble=function(e,a){return a.type="bubble",new t(e,a)}}},{}],10:[function(t,e,a){e.exports=function(t){t.Doughnut=function(e,a){return a.type="doughnut",new t(e,a)}}},{}],11:[function(t,e,a){e.exports=function(t){t.Line=function(e,a){return a.type="line",new t(e,a)}}},{}],12:[function(t,e,a){e.exports=function(t){t.PolarArea=function(e,a){return a.type="polarArea",new t(e,a)}}},{}],13:[function(t,e,a){e.exports=function(t){t.Radar=function(e,a){return a.type="radar",new t(e,a)}}},{}],14:[function(t,e,a){e.exports=function(t){t.Scatter=function(e,a){return a.type="scatter",new t(e,a)}}},{}],15:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var a="";return 0<t.length&&(t[0].yLabel?a=t[0].yLabel:0<e.labels.length&&t[0].index<e.labels.length&&(a=e.labels[t[0].index])),a},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:n.Rectangle,initialize:function(){var e;t.DatasetController.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0},update:function(t){var e,a,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,a=i.length;e<a;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,a){var i=this,n=i.chart,s=i.getMeta(),o=i.getDataset(),l=t.custom||{},c=n.options.elements.rectangle;t._xScale=i.getScaleForId(s.xAxisID),t._yScale=i.getScaleForId(s.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:o.label,label:n.data.labels[e],borderSkipped:l.borderSkipped?l.borderSkipped:c.borderSkipped,backgroundColor:l.backgroundColor?l.backgroundColor:r.valueAtIndexOrDefault(o.backgroundColor,e,c.backgroundColor),borderColor:l.borderColor?l.borderColor:r.valueAtIndexOrDefault(o.borderColor,e,c.borderColor),borderWidth:l.borderWidth?l.borderWidth:r.valueAtIndexOrDefault(o.borderWidth,e,c.borderWidth)},i.updateElementGeometry(t,e,a),t.pivot()},updateElementGeometry:function(t,e,a){var i=this,n=t._model,r=i.getValueScale(),s=r.getBasePixel(),o=r.isHorizontal(),l=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,e),d=i.calculateBarIndexPixels(i.index,e,l);n.horizontal=o,n.base=a?s:c.base,n.x=o?a?s:c.head:d.center,n.y=o?d.center:a?s:c.head,n.height=o?d.size:void 0,n.width=o?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(t){var e,a,i=this.chart,n=this.getIndexScale().options.stacked,r=void 0===t?i.data.datasets.length:t+1,s=[];for(e=0;e<r;++e)(a=i.getDatasetMeta(e)).bar&&i.isDatasetVisible(e)&&(!1===n||!0===n&&-1===s.indexOf(a.stack)||void 0===n&&(void 0===a.stack||-1===s.indexOf(a.stack)))&&s.push(a.stack);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var a=this._getStacks(t),i=void 0!==e?a.indexOf(e):-1;return-1===i?a.length-1:i},getRuler:function(){var t,e,a=this.getIndexScale(),i=this.getStackCount(),n=this.index,s=a.isHorizontal(),o=s?a.left:a.top,l=o+(s?a.width:a.height),c=[];for(t=0,e=this.getMeta().data.length;t<e;++t)c.push(a.getPixelForValue(null,t,n));return{min:r.isNullOrUndef(a.options.barThickness)?function(t,e){var a,i,n,r,s=t.isHorizontal()?t.width:t.height,o=t.getTicks();for(n=1,r=e.length;n<r;++n)s=Math.min(s,e[n]-e[n-1]);for(n=0,r=o.length;n<r;++n)i=t.getPixelForTick(n),s=0<n?Math.min(s,i-a):s,a=i;return s}(a,c):-1,pixels:c,start:o,end:l,stackCount:i,scale:a}},calculateBarValuePixels:function(t,e){var a,i,n,r,s,o,l=this.chart,c=this.getMeta(),d=this.getValueScale(),u=l.data.datasets,p=d.getRightValue(u[t].data[e]),h=d.options.stacked,g=c.stack,f=0;if(h||void 0===h&&void 0!==g)for(a=0;a<t;++a)(i=l.getDatasetMeta(a)).bar&&i.stack===g&&i.controller.getValueScaleId()===d.id&&l.isDatasetVisible(a)&&(n=d.getRightValue(u[a].data[e]),(p<0&&n<0||0<=p&&0<n)&&(f+=n));return r=d.getPixelForValue(f),{size:o=((s=d.getPixelForValue(f+p))-r)/2,base:r,head:s,center:s+o/2}},calculateBarIndexPixels:function(t,e,a){var i,n,s,o,l,c,d,u,p,h,g,f,m,_,A,v,M,y=a.scale.options,b="flex"===y.barThickness?(p=e,g=y,_=(m=(h=a).pixels)[p],A=0<p?m[p-1]:null,v=p<m.length-1?m[p+1]:null,M=g.categoryPercentage,null===A&&(A=_-(null===v?h.end-_:v-_)),null===v&&(v=_+_-A),f=_-(_-A)/2*M,{chunk:(v-A)/2*M/h.stackCount,ratio:g.barPercentage,start:f}):(i=e,n=a,c=(s=y).barThickness,d=n.stackCount,u=n.pixels[i],l=r.isNullOrUndef(c)?(o=n.min*s.categoryPercentage,s.barPercentage):(o=c*d,1),{chunk:o/d,ratio:l,start:u-o/2}),w=this.getStackIndex(t,this.getMeta().stack),x=b.start+b.chunk*w+b.chunk/2,C=Math.min(r.valueOrDefault(y.maxBarThickness,1/0),b.chunk*b.ratio);return{base:x-C/2,head:x+C/2,center:x,size:C}},draw:function(){var t=this.chart,e=this.getValueScale(),a=this.getMeta().data,i=this.getDataset(),n=a.length,s=0;for(r.canvas.clipArea(t.ctx,t.chartArea);s<n;++s)isNaN(e.getRightValue(i.data[s]))||a[s].draw();r.canvas.unclipArea(t.ctx)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{26:26,41:41,46:46}],16:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var a=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return a+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:n.Point,update:function(t){var e=this,a=e.getMeta().data;r.each(a,function(a,i){e.updateElement(a,i,t)})},updateElement:function(t,e,a){var i=this,n=i.getMeta(),r=t.custom||{},o=i.getScaleForId(n.xAxisID),l=i.getScaleForId(n.yAxisID),c=i._resolveElementOptions(t,e),d=i.getDataset().data[e],u=i.index,p=a?o.getPixelForDecimal(.5):o.getPixelForValue("object"==s()(d)?d:NaN,e,u),h=a?l.getBasePixel():l.getPixelForValue(d,e,u);t._xScale=o,t._yScale=l,t._options=c,t._datasetIndex=u,t._index=e,t._model={backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,hitRadius:c.hitRadius,pointStyle:c.pointStyle,rotation:c.rotation,radius:a?0:c.radius,skip:r.skip||isNaN(p)||isNaN(h),x:p,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,a=t._options;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=r.valueOrDefault(a.hoverBackgroundColor,r.getHoverColor(a.backgroundColor)),e.borderColor=r.valueOrDefault(a.hoverBorderColor,r.getHoverColor(a.borderColor)),e.borderWidth=r.valueOrDefault(a.hoverBorderWidth,a.borderWidth),e.radius=a.radius+a.hoverRadius},_resolveElementOptions:function(t,e){var a,i,n,s=this.chart,o=s.data.datasets[this.index],l=t.custom||{},c=s.options.elements.point,d=r.options.resolve,u=o.data[e],p={},h={chart:s,dataIndex:e,dataset:o,datasetIndex:this.index},g=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(a=0,i=g.length;a<i;++a)p[n=g[a]]=d([l[n],o[n],c[n]],h,e);return p.radius=d([l.radius,u?u.r:void 0,o.radius,c.radius],h,e),p}})}},{26:26,41:41,46:46}],17:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var a=t.data,i=a.datasets,n=a.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),n[r]&&e.push(n[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(a,i){var n=t.getDatasetMeta(0),s=e.datasets[0],o=n.data[i],l=o&&o.custom||{},c=r.valueAtIndexOrDefault,d=t.options.elements.arc;return{text:a,fillStyle:l.backgroundColor?l.backgroundColor:c(s.backgroundColor,i,d.backgroundColor),strokeStyle:l.borderColor?l.borderColor:c(s.borderColor,i,d.borderColor),lineWidth:l.borderWidth?l.borderWidth:c(s.borderWidth,i,d.borderWidth),hidden:isNaN(s.data[i])||n.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var a,i,n,r=e.index,s=this.chart;for(a=0,i=(s.data.datasets||[]).length;a<i;++a)(n=s.getDatasetMeta(a)).data[r]&&(n.data[r].hidden=!n.data[r].hidden);s.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var a=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return r.isArray(a)?(a=a.slice())[0]+=i:a+=i,a}}}}),i._set("pie",r.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:n.Arc,linkScales:r.noop,getRingIndex:function(t){for(var e=0,a=0;a<t;++a)this.chart.isDatasetVisible(a)&&++e;return e},update:function(t){var e=this,a=e.chart,i=a.chartArea,n=a.options,s=n.elements.arc,o=i.right-i.left-s.borderWidth,l=i.bottom-i.top-s.borderWidth,c=Math.min(o,l),d={x:0,y:0},u=e.getMeta(),p=n.cutoutPercentage,h=n.circumference;if(h<2*Math.PI){var g=n.rotation%(2*Math.PI),f=(g+=2*Math.PI*(g>=Math.PI?-1:g<-Math.PI?1:0))+h,m=Math.cos(g),_=Math.sin(g),A=Math.cos(f),v=Math.sin(f),M=g<=0&&0<=f||g<=2*Math.PI&&2*Math.PI<=f,y=g<=.5*Math.PI&&.5*Math.PI<=f||g<=2.5*Math.PI&&2.5*Math.PI<=f,b=g<=-Math.PI&&-Math.PI<=f||g<=Math.PI&&Math.PI<=f,w=g<=.5*-Math.PI&&.5*-Math.PI<=f||g<=1.5*Math.PI&&1.5*Math.PI<=f,x=p/100,C=b?-1:Math.min(m*(m<0?1:x),A*(A<0?1:x)),N=w?-1:Math.min(_*(_<0?1:x),v*(v<0?1:x)),T=M?1:Math.max(m*(0<m?1:x),A*(0<A?1:x)),D=y?1:Math.max(_*(0<_?1:x),v*(0<v?1:x)),I=.5*(T-C),j=.5*(D-N);c=Math.min(o/I,l/j),d={x:-.5*(T+C),y:-.5*(D+N)}}a.borderWidth=e.getMaxBorderWidth(u.data),a.outerRadius=Math.max((c-a.borderWidth)/2,0),a.innerRadius=Math.max(p?a.outerRadius/100*p:0,0),a.radiusLength=(a.outerRadius-a.innerRadius)/a.getVisibleDatasetCount(),a.offsetX=d.x*a.outerRadius,a.offsetY=d.y*a.outerRadius,u.total=e.calculateTotal(),e.outerRadius=a.outerRadius-a.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-a.radiusLength,0),r.each(u.data,function(a,i){e.updateElement(a,i,t)})},updateElement:function(t,e,a){var i=this,n=i.chart,s=n.chartArea,o=n.options,l=o.animation,c=(s.left+s.right)/2,d=(s.top+s.bottom)/2,u=o.rotation,p=o.rotation,h=i.getDataset(),g=a&&l.animateRotate?0:t.hidden?0:i.calculateCircumference(h.data[e])*(o.circumference/(2*Math.PI)),f=a&&l.animateScale?0:i.innerRadius,m=a&&l.animateScale?0:i.outerRadius,_=r.valueAtIndexOrDefault;r.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:c+n.offsetX,y:d+n.offsetY,startAngle:u,endAngle:p,circumference:g,outerRadius:m,innerRadius:f,label:_(h.label,e,n.data.labels[e])}});var A=t._model,v=t.custom||{},M=r.valueAtIndexOrDefault,y=this.chart.options.elements.arc;A.backgroundColor=v.backgroundColor?v.backgroundColor:M(h.backgroundColor,e,y.backgroundColor),A.borderColor=v.borderColor?v.borderColor:M(h.borderColor,e,y.borderColor),A.borderWidth=v.borderWidth?v.borderWidth:M(h.borderWidth,e,y.borderWidth),a&&l.animateRotate||(A.startAngle=0===e?o.rotation:i.getMeta().data[e-1]._model.endAngle,A.endAngle=A.startAngle+A.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),a=this.getMeta(),i=0;return r.each(a.data,function(a,n){t=e.data[n],isNaN(t)||a.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,a,i=0,n=this.index,r=t.length,s=0;s<r;s++)i=(i=i<(e=t[s]._model?t[s]._model.borderWidth:0)?e:i)<(a=t[s]._chart?t[s]._chart.config.data.datasets[n].hoverBorderWidth:0)?a:i;return i}})}},{26:26,41:41,46:46}],18:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function e(t,e){return r.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:n.Line,dataElementType:n.Point,update:function(t){var a,i,n,s=this,o=s.getMeta(),l=o.dataset,c=o.data||[],d=s.chart.options,u=d.elements.line,p=s.getScaleForId(o.yAxisID),h=s.getDataset(),g=e(h,d);for(g&&(n=l.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),l._scale=p,l._datasetIndex=s.index,l._children=c,l._model={spanGaps:h.spanGaps?h.spanGaps:d.spanGaps,tension:n.tension?n.tension:r.valueOrDefault(h.lineTension,u.tension),backgroundColor:n.backgroundColor?n.backgroundColor:h.backgroundColor||u.backgroundColor,borderWidth:n.borderWidth?n.borderWidth:h.borderWidth||u.borderWidth,borderColor:n.borderColor?n.borderColor:h.borderColor||u.borderColor,borderCapStyle:n.borderCapStyle?n.borderCapStyle:h.borderCapStyle||u.borderCapStyle,borderDash:n.borderDash?n.borderDash:h.borderDash||u.borderDash,borderDashOffset:n.borderDashOffset?n.borderDashOffset:h.borderDashOffset||u.borderDashOffset,borderJoinStyle:n.borderJoinStyle?n.borderJoinStyle:h.borderJoinStyle||u.borderJoinStyle,fill:n.fill?n.fill:void 0!==h.fill?h.fill:u.fill,steppedLine:n.steppedLine?n.steppedLine:r.valueOrDefault(h.steppedLine,u.stepped),cubicInterpolationMode:n.cubicInterpolationMode?n.cubicInterpolationMode:r.valueOrDefault(h.cubicInterpolationMode,u.cubicInterpolationMode)},l.pivot()),a=0,i=c.length;a<i;++a)s.updateElement(c[a],a,t);for(g&&0!==l._model.tension&&s.updateBezierControlPoints(),a=0,i=c.length;a<i;++a)c[a].pivot()},getPointBackgroundColor:function(t,e){var a=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),n=t.custom||{};return n.backgroundColor?a=n.backgroundColor:i.pointBackgroundColor?a=r.valueAtIndexOrDefault(i.pointBackgroundColor,e,a):i.backgroundColor&&(a=i.backgroundColor),a},getPointBorderColor:function(t,e){var a=this.chart.options.elements.point.borderColor,i=this.getDataset(),n=t.custom||{};return n.borderColor?a=n.borderColor:i.pointBorderColor?a=r.valueAtIndexOrDefault(i.pointBorderColor,e,a):i.borderColor&&(a=i.borderColor),a},getPointBorderWidth:function(t,e){var a=this.chart.options.elements.point.borderWidth,i=this.getDataset(),n=t.custom||{};return isNaN(n.borderWidth)?!isNaN(i.pointBorderWidth)||r.isArray(i.pointBorderWidth)?a=r.valueAtIndexOrDefault(i.pointBorderWidth,e,a):isNaN(i.borderWidth)||(a=i.borderWidth):a=n.borderWidth,a},getPointRotation:function(t,e){var a=this.chart.options.elements.point.rotation,i=this.getDataset(),n=t.custom||{};return isNaN(n.rotation)?isNaN(i.pointRotation)&&!r.isArray(i.pointRotation)||(a=r.valueAtIndexOrDefault(i.pointRotation,e,a)):a=n.rotation,a},updateElement:function(t,e,a){var i,n,o=this,l=o.getMeta(),c=t.custom||{},d=o.getDataset(),u=o.index,p=d.data[e],h=o.getScaleForId(l.yAxisID),g=o.getScaleForId(l.xAxisID),f=o.chart.options.elements.point;void 0!==d.radius&&void 0===d.pointRadius&&(d.pointRadius=d.radius),void 0!==d.hitRadius&&void 0===d.pointHitRadius&&(d.pointHitRadius=d.hitRadius),i=g.getPixelForValue("object"==s()(p)?p:NaN,e,u),n=a?h.getBasePixel():o.calculatePointY(p,e,u),t._xScale=g,t._yScale=h,t._datasetIndex=u,t._index=e,t._model={x:i,y:n,skip:c.skip||isNaN(i)||isNaN(n),radius:c.radius||r.valueAtIndexOrDefault(d.pointRadius,e,f.radius),pointStyle:c.pointStyle||r.valueAtIndexOrDefault(d.pointStyle,e,f.pointStyle),rotation:o.getPointRotation(t,e),backgroundColor:o.getPointBackgroundColor(t,e),borderColor:o.getPointBorderColor(t,e),borderWidth:o.getPointBorderWidth(t,e),tension:l.dataset._model?l.dataset._model.tension:0,steppedLine:!!l.dataset._model&&l.dataset._model.steppedLine,hitRadius:c.hitRadius||r.valueAtIndexOrDefault(d.pointHitRadius,e,f.hitRadius)}},calculatePointY:function(t,e,a){var i,n,r,s=this.chart,o=this.getMeta(),l=this.getScaleForId(o.yAxisID),c=0,d=0;if(l.options.stacked){for(i=0;i<a;i++)if(n=s.data.datasets[i],"line"===(r=s.getDatasetMeta(i)).type&&r.yAxisID===l.id&&s.isDatasetVisible(i)){var u=Number(l.getRightValue(n.data[e]));u<0?d+=u||0:c+=u||0}var p=Number(l.getRightValue(t));return p<0?l.getPixelForValue(d+p):l.getPixelForValue(c+p)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,a,i,n=this.getMeta(),s=this.chart.chartArea,o=n.data||[];function l(t,e,a){return Math.max(Math.min(t,a),e)}if(n.dataset._model.spanGaps&&(o=o.filter(function(t){return!t._model.skip})),"monotone"===n.dataset._model.cubicInterpolationMode)r.splineCurveMonotone(o);else for(t=0,e=o.length;t<e;++t)a=o[t]._model,i=r.splineCurve(r.previousItem(o,t)._model,a,r.nextItem(o,t)._model,n.dataset._model.tension),a.controlPointPreviousX=i.previous.x,a.controlPointPreviousY=i.previous.y,a.controlPointNextX=i.next.x,a.controlPointNextY=i.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,e=o.length;t<e;++t)(a=o[t]._model).controlPointPreviousX=l(a.controlPointPreviousX,s.left,s.right),a.controlPointPreviousY=l(a.controlPointPreviousY,s.top,s.bottom),a.controlPointNextX=l(a.controlPointNextX,s.left,s.right),a.controlPointNextY=l(a.controlPointNextY,s.top,s.bottom)},draw:function(){var t,a=this.chart,i=this.getMeta(),n=i.data||[],s=a.chartArea,o=n.length,l=0;for(e(this.getDataset(),a.options)&&(t=(i.dataset._model.borderWidth||0)/2,r.canvas.clipArea(a.ctx,{left:s.left,right:s.right,top:s.top-t,bottom:s.bottom+t}),i.dataset.draw(),r.canvas.unclipArea(a.ctx));l<o;++l)n[l].draw(s)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],a=t._index,i=t.custom||{},n=t._model;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth,radius:n.radius},n.backgroundColor=i.hoverBackgroundColor||r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,a,r.getHoverColor(n.backgroundColor)),n.borderColor=i.hoverBorderColor||r.valueAtIndexOrDefault(e.pointHoverBorderColor,a,r.getHoverColor(n.borderColor)),n.borderWidth=i.hoverBorderWidth||r.valueAtIndexOrDefault(e.pointHoverBorderWidth,a,n.borderWidth),n.radius=i.hoverRadius||r.valueAtIndexOrDefault(e.pointHoverRadius,a,this.chart.options.elements.point.hoverRadius)}})}},{26:26,41:41,46:46}],19:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var a=t.data,i=a.datasets,n=a.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),n[r]&&e.push(n[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(a,i){var n=t.getDatasetMeta(0),s=e.datasets[0],o=n.data[i].custom||{},l=r.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:a,fillStyle:o.backgroundColor?o.backgroundColor:l(s.backgroundColor,i,c.backgroundColor),strokeStyle:o.borderColor?o.borderColor:l(s.borderColor,i,c.borderColor),lineWidth:o.borderWidth?o.borderWidth:l(s.borderWidth,i,c.borderWidth),hidden:isNaN(s.data[i])||n.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var a,i,n,r=e.index,s=this.chart;for(a=0,i=(s.data.datasets||[]).length;a<i;++a)(n=s.getDatasetMeta(a)).data[r].hidden=!n.data[r].hidden;s.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:n.Arc,linkScales:r.noop,update:function(t){var e,a,i,n=this,s=n.getDataset(),o=n.getMeta(),l=n.chart.options.startAngle||0,c=n._starts=[],d=n._angles=[];for(n._updateRadius(),o.count=n.countVisibleElements(),e=0,a=s.data.length;e<a;e++)c[e]=l,i=n._computeAngle(e),l+=d[e]=i;r.each(o.data,function(e,a){n.updateElement(e,a,t)})},_updateRadius:function(){var t=this,e=t.chart,a=e.chartArea,i=e.options,n=i.elements.arc,r=Math.min(a.right-a.left,a.bottom-a.top);e.outerRadius=Math.max((r-n.borderWidth/2)/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,a){var i=this,n=i.chart,s=i.getDataset(),o=n.options,l=o.animation,c=n.scale,d=n.data.labels,u=c.xCenter,p=c.yCenter,h=o.startAngle,g=t.hidden?0:c.getDistanceFromCenterForValue(s.data[e]),f=i._starts[e],m=f+(t.hidden?0:i._angles[e]),_=l.animateScale?0:c.getDistanceFromCenterForValue(s.data[e]);r.extend(t,{_datasetIndex:i.index,_index:e,_scale:c,_model:{x:u,y:p,innerRadius:0,outerRadius:a?_:g,startAngle:a&&l.animateRotate?h:f,endAngle:a&&l.animateRotate?h:m,label:r.valueAtIndexOrDefault(d,e,d[e])}});var A=this.chart.options.elements.arc,v=t.custom||{},M=r.valueAtIndexOrDefault,y=t._model;y.backgroundColor=v.backgroundColor?v.backgroundColor:M(s.backgroundColor,e,A.backgroundColor),y.borderColor=v.borderColor?v.borderColor:M(s.borderColor,e,A.borderColor),y.borderWidth=v.borderWidth?v.borderWidth:M(s.borderWidth,e,A.borderWidth),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),a=0;return r.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||a++}),a},_computeAngle:function(t){var e=this,a=this.getMeta().count,i=e.getDataset(),n=e.getMeta();if(isNaN(i.data[t])||n.data[t].hidden)return 0;var s={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return r.options.resolve([e.chart.options.elements.arc.angle,2*Math.PI/a],s,t)}})}},{26:26,41:41,46:46}],20:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:n.Line,dataElementType:n.Point,linkScales:r.noop,update:function(t){var e=this,a=e.getMeta(),i=a.dataset,n=a.data,s=i.custom||{},o=e.getDataset(),l=e.chart.options.elements.line,c=e.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),r.extend(a.dataset,{_datasetIndex:e.index,_scale:c,_children:n,_loop:!0,_model:{tension:s.tension?s.tension:r.valueOrDefault(o.lineTension,l.tension),backgroundColor:s.backgroundColor?s.backgroundColor:o.backgroundColor||l.backgroundColor,borderWidth:s.borderWidth?s.borderWidth:o.borderWidth||l.borderWidth,borderColor:s.borderColor?s.borderColor:o.borderColor||l.borderColor,fill:s.fill?s.fill:void 0!==o.fill?o.fill:l.fill,borderCapStyle:s.borderCapStyle?s.borderCapStyle:o.borderCapStyle||l.borderCapStyle,borderDash:s.borderDash?s.borderDash:o.borderDash||l.borderDash,borderDashOffset:s.borderDashOffset?s.borderDashOffset:o.borderDashOffset||l.borderDashOffset,borderJoinStyle:s.borderJoinStyle?s.borderJoinStyle:o.borderJoinStyle||l.borderJoinStyle}}),a.dataset.pivot(),r.each(n,function(a,i){e.updateElement(a,i,t)},e),e.updateBezierControlPoints()},updateElement:function(t,e,a){var i=this,n=t.custom||{},s=i.getDataset(),o=i.chart.scale,l=i.chart.options.elements.point,c=o.getPointPositionForValue(e,s.data[e]);void 0!==s.radius&&void 0===s.pointRadius&&(s.pointRadius=s.radius),void 0!==s.hitRadius&&void 0===s.pointHitRadius&&(s.pointHitRadius=s.hitRadius),r.extend(t,{_datasetIndex:i.index,_index:e,_scale:o,_model:{x:a?o.xCenter:c.x,y:a?o.yCenter:c.y,tension:n.tension?n.tension:r.valueOrDefault(s.lineTension,i.chart.options.elements.line.tension),radius:n.radius?n.radius:r.valueAtIndexOrDefault(s.pointRadius,e,l.radius),backgroundColor:n.backgroundColor?n.backgroundColor:r.valueAtIndexOrDefault(s.pointBackgroundColor,e,l.backgroundColor),borderColor:n.borderColor?n.borderColor:r.valueAtIndexOrDefault(s.pointBorderColor,e,l.borderColor),borderWidth:n.borderWidth?n.borderWidth:r.valueAtIndexOrDefault(s.pointBorderWidth,e,l.borderWidth),pointStyle:n.pointStyle?n.pointStyle:r.valueAtIndexOrDefault(s.pointStyle,e,l.pointStyle),rotation:n.rotation?n.rotation:r.valueAtIndexOrDefault(s.pointRotation,e,l.rotation),hitRadius:n.hitRadius?n.hitRadius:r.valueAtIndexOrDefault(s.pointHitRadius,e,l.hitRadius)}}),t._model.skip=n.skip?n.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();r.each(e.data,function(a,i){var n=a._model,s=r.splineCurve(r.previousItem(e.data,i,!0)._model,n,r.nextItem(e.data,i,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(s.previous.x,t.right),t.left),n.controlPointPreviousY=Math.max(Math.min(s.previous.y,t.bottom),t.top),n.controlPointNextX=Math.max(Math.min(s.next.x,t.right),t.left),n.controlPointNextY=Math.max(Math.min(s.next.y,t.bottom),t.top),a.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],a=t.custom||{},i=t._index,n=t._model;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth,radius:n.radius},n.radius=a.hoverRadius?a.hoverRadius:r.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),n.backgroundColor=a.hoverBackgroundColor?a.hoverBackgroundColor:r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,r.getHoverColor(n.backgroundColor)),n.borderColor=a.hoverBorderColor?a.hoverBorderColor:r.valueAtIndexOrDefault(e.pointHoverBorderColor,i,r.getHoverColor(n.borderColor)),n.borderWidth=a.hoverBorderWidth?a.hoverBorderWidth:r.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,n.borderWidth)}})}},{26:26,41:41,46:46}],21:[function(t,e,a){t(26)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{26:26}],22:[function(t,e,a){var i=t(27);a=e.exports=i.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Object.defineProperty(a.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(a.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})},{27:27}],23:[function(t,e,a){var i=t(26),n=t(46);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:n.noop,onComplete:n.noop}}),e.exports={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,a,i){var n,r,s=this.animations;for(e.chart=t,i||(t.animating=!0),n=0,r=s.length;n<r;++n)if(s[n].chart===t)return void(s[n]=e);s.push(e),1===s.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=n.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=n.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),a=0;1<t.dropFrames&&(a=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+a);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,0<t.animations.length&&t.requestAnimationFrame()},advance:function(t){for(var e,a,i=this.animations,r=0;r<i.length;)a=(e=i[r]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),n.callback(e.render,[a,e],a),n.callback(e.onAnimationProgress,[e],a),e.currentStep>=e.numSteps?(n.callback(e.onAnimationComplete,[e],a),a.animating=!1,i.splice(r,1)):++r}}},{26:26,46:46}],24:[function(t,e,a){var i=t(22),n=t(23),r=t(26),o=t(46),l=t(29),c=t(31),d=t(49),u=t(32),p=t(34),h=t(36);e.exports=function(t){function e(t){return"top"===t||"bottom"===t}t.types={},t.instances={},t.controllers={},o.extend(t.prototype,{construct:function(e,a){var i,n,s=this;(n=(i=(i=a)||{}).data=i.data||{}).datasets=n.datasets||[],n.labels=n.labels||[],i.options=o.configMerge(r.global,r[i.type],i.options||{}),a=i;var l=d.acquireContext(e,a),c=l&&l.canvas,u=c&&c.height,p=c&&c.width;s.id=o.uid(),s.ctx=l,s.canvas=c,s.config=a,s.width=p,s.height=u,s.aspectRatio=u?p/u:null,s.options=a.options,s._bufferedRender=!1,(s.chart=s).controller=s,t.instances[s.id]=s,Object.defineProperty(s,"data",{get:function(){return s.config.data},set:function(t){s.config.data=t}}),l&&c?(s.initialize(),s.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return u.notify(t,"beforeInit"),o.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),u.notify(t,"afterInit"),t},clear:function(){return o.canvas.clear(this),this},stop:function(){return n.cancelAnimation(this),this},resize:function(t){var e=this,a=e.options,i=e.canvas,n=a.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(o.getMaximumWidth(i))),s=Math.max(0,Math.floor(n?r/n:o.getMaximumHeight(i)));if((e.width!==r||e.height!==s)&&(i.width=e.width=r,i.height=e.height=s,i.style.width=r+"px",i.style.height=s+"px",o.retinaScale(e,a.devicePixelRatio),!t)){var l={width:r,height:s};u.notify(e,"resize",[l]),e.options.onResize&&e.options.onResize(e,l),e.stop(),e.update({duration:e.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},a=t.scale;o.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),o.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),a&&(a.id=a.id||"scale")},buildOrUpdateScales:function(){var t=this,a=t.options,i=t.scales||{},n=[],r=Object.keys(i).reduce(function(t,e){return t[e]=!1,t},{});a.scales&&(n=n.concat((a.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(a.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),a.scale&&n.push({options:a.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),o.each(n,function(a){var n=a.options,s=n.id,l=o.valueOrDefault(n.type,a.dtype);e(n.position)!==e(a.dposition)&&(n.position=a.dposition),r[s]=!0;var c=null;if(s in i&&i[s].type===l)(c=i[s]).options=n,c.ctx=t.ctx,c.chart=t;else{var d=p.getScaleConstructor(l);if(!d)return;c=new d({id:s,type:l,options:n,ctx:t.ctx,chart:t}),i[c.id]=c}c.mergeTicksOptions(),a.isDefault&&(t.scale=c)}),o.each(r,function(t,e){t||delete i[e]}),t.scales=i,p.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,a=[],i=[];return o.each(e.data.datasets,function(n,r){var s=e.getDatasetMeta(r),o=n.type||e.config.type;if(s.type&&s.type!==o&&(e.destroyDatasetMeta(r),s=e.getDatasetMeta(r)),s.type=o,a.push(s.type),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{var l=t.controllers[s.type];if(void 0===l)throw new Error('"'+s.type+'" is not a chart type.');s.controller=new l(e,r),i.push(s.controller)}},e),i},resetElements:function(){var t=this;o.each(t.data.datasets,function(e,a){t.getDatasetMeta(a).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var a,i,n=this;if(e&&"object"==s()(e)||(e={duration:e,lazy:arguments[1]}),i=(a=n).options,o.each(a.scales,function(t){c.removeBox(a,t)}),i=o.configMerge(t.defaults.global,t.defaults[a.config.type],i),a.options=a.config.options=i,a.ensureScalesHaveIDs(),a.buildOrUpdateScales(),a.tooltip._options=i.tooltips,a.tooltip.initialize(),u._invalidate(n),!1!==u.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var r=n.buildOrUpdateControllers();o.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()},n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&o.each(r,function(t){t.reset()}),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],u.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:n.render(e)}},updateLayout:function(){!1!==u.notify(this,"beforeLayout")&&(c.update(this,this.width,this.height),u.notify(this,"afterScaleUpdate"),u.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==u.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);u.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),a={meta:e,index:t};!1!==u.notify(this,"beforeDatasetUpdate",[a])&&(e.controller.update(),u.notify(this,"afterDatasetUpdate",[a]))},render:function(t){var e=this;t&&"object"==s()(t)||(t={duration:t,lazy:arguments[1]});var a=t.duration,r=t.lazy;if(!1!==u.notify(e,"beforeRender")){var l=e.options.animation,c=function(t){u.notify(e,"afterRender"),o.callback(l&&l.onComplete,[t],e)};if(l&&(void 0!==a&&0!==a||void 0===a&&0!==l.duration)){var d=new i({numSteps:(a||l.duration)/16.66,easing:t.easing||l.easing,render:function(t,e){var a=o.easing.effects[e.easing],i=e.currentStep,n=i/e.numSteps;t.draw(a(n),n,i)},onAnimationProgress:l.onProgress,onAnimationComplete:c});n.addAnimation(e,d,a,r)}else e.draw(),c(new i({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),o.isNullOrUndef(t)&&(t=1),e.transition(t),e.width<=0||e.height<=0||!1!==u.notify(e,"beforeDraw",[t])&&(o.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),u.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,a=(this.data.datasets||[]).length;e<a;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==u.notify(e,"beforeDatasetsDraw",[t])){for(var a=(e.data.datasets||[]).length-1;0<=a;--a)e.isDatasetVisible(a)&&e.drawDataset(a,t);u.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var a=this.getDatasetMeta(t),i={meta:a,index:t,easingValue:e};!1!==u.notify(this,"beforeDatasetDraw",[i])&&(a.controller.draw(e),u.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,a={tooltip:e,easingValue:t};!1!==u.notify(this,"beforeTooltipDraw",[a])&&(e.draw(),u.notify(this,"afterTooltipDraw",[a]))},getElementAtEvent:function(t){return l.modes.single(this,t)},getElementsAtEvent:function(t){return l.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return l.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,a){var i=l.modes[e];return"function"==typeof i?i(this,t,a):[]},getDatasetAtEvent:function(t){return l.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var a=e._meta[this.id];return a||(a=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),a},getVisibleDatasetCount:function(){for(var t=0,e=0,a=this.data.datasets.length;e<a;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,a=this.data.datasets[t],i=a._meta&&a._meta[e];i&&(i.controller.destroy(),delete a._meta[e])},destroy:function(){var e,a,i=this,n=i.canvas;for(i.stop(),e=0,a=i.data.datasets.length;e<a;++e)i.destroyDatasetMeta(e);n&&(i.unbindEvents(),o.canvas.clear(i),d.releaseContext(i.ctx),i.canvas=null,i.ctx=null),u.notify(i,"destroy"),delete t.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new h({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},a=function(){t.eventHandler.apply(t,arguments)};o.each(t.options.events,function(i){d.addEventListener(t,i,a),e[i]=a}),t.options.responsive&&(a=function(){t.resize()},d.addEventListener(t,"resize",a),e.resize=a)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,o.each(e,function(e,a){d.removeEventListener(t,a,e)}))},updateHoverStyle:function(t,e,a){var i,n,r,s=a?"setHoverStyle":"removeHoverStyle";for(n=0,r=t.length;n<r;++n)(i=t[n])&&this.getDatasetMeta(i._datasetIndex).controller[s](i)},eventHandler:function(t){var e=this,a=e.tooltip;if(!1!==u.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);a&&(i=a._start?a.handleEvent(t):i|a.handleEvent(t)),u.notify(e,"afterEvent",[t]);var n=e._bufferedRequest;return n?e.render(n):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,a=this,i=a.options||{},n=i.hover;return a.lastActive=a.lastActive||[],"mouseout"===t.type?a.active=[]:a.active=a.getElementsAtEventForMode(t,n.mode,n),o.callback(i.onHover||i.hover.onHover,[t.native,a.active],a),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(a,t.native,a.active),a.lastActive.length&&a.updateHoverStyle(a.lastActive,n.mode,!1),a.active.length&&n.mode&&a.updateHoverStyle(a.active,n.mode,!0),e=!o.arrayEquals(a.active,a.lastActive),a.lastActive=a.active,e}}),t.Controller=t}},{22:22,23:23,26:26,29:29,31:31,32:32,34:34,36:36,46:46,49:49}],25:[function(t,e,a){var i=t(46);e.exports=function(t){var e=["push","pop","shift","splice","unshift"];function a(t,a){var i=t._chartjs;if(i){var n=i.listeners,r=n.indexOf(a);-1!==r&&n.splice(r,1),0<n.length||(e.forEach(function(e){delete t[e]}),delete t._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),a=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=a.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=a.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&a(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,a=this.getMeta(),i=this.getDataset().data||[],n=a.data;for(t=0,e=i.length;t<e;++t)n[t]=n[t]||this.createMetaData(t);a.dataset=a.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,n,r=this,s=r.getDataset(),o=s.data||(s.data=[]);r._data!==o&&(r._data&&a(r._data,r),n=r,(t=o)._chartjs?t._chartjs.listeners.push(n):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),e.forEach(function(e){var a="onData"+e.charAt(0).toUpperCase()+e.slice(1),n=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=n.apply(this,e);return i.each(t._chartjs.listeners,function(t){"function"==typeof t[a]&&t[a].apply(t,e)}),r}})})),r._data=o),r.resyncElements()},update:i.noop,transition:function(t){for(var e=this.getMeta(),a=e.data||[],i=a.length,n=0;n<i;++n)a[n].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],a=e.length,i=0;for(t.dataset&&t.dataset.draw();i<a;++i)e[i].draw()},removeHoverStyle:function(t){i.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],a=t._index,n=t.custom||{},r=i.valueAtIndexOrDefault,s=i.getHoverColor,o=t._model;t.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth},o.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:r(e.hoverBackgroundColor,a,s(o.backgroundColor)),o.borderColor=n.hoverBorderColor?n.hoverBorderColor:r(e.hoverBorderColor,a,s(o.borderColor)),o.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:r(e.hoverBorderWidth,a,o.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,a=t.data.length,i=e.length;i<a?t.data.splice(i,a-i):a<i&&this.insertElements(a,i-a)},insertElements:function(t,e){for(var a=0;a<e;++a)this.addElementAndReset(t+a)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=i.inherits}},{46:46}],26:[function(t,e,a){var i=t(46);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{46:46}],27:[function(t,e,a){var i=t(3),n=t(46),r=function(t){n.extend(this,t),this.initialize.apply(this,arguments)};n.extend(r.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=n.clone(t._model)),t._start={},t},transition:function(t){var e=this,a=e._model,n=e._start,r=e._view;return a&&1!==t?(r||(r=e._view={}),n||(n=e._start={}),function(t,e,a,n){var r,o,l,c,d,u,p,h,g,f=Object.keys(a);for(r=0,o=f.length;r<o;++r)if(u=a[l=f[r]],e.hasOwnProperty(l)||(e[l]=u),(c=e[l])!==u&&"_"!==l[0]){if(t.hasOwnProperty(l)||(t[l]=c),(p=s()(u))==s()(d=t[l]))if("string"===p){if((h=i(d)).valid&&(g=i(u)).valid){e[l]=g.mix(h,n).rgbString();continue}}else if("number"===p&&isFinite(d)&&isFinite(u)){e[l]=d+(u-d)*n;continue}e[l]=u}}(n,r,a,t)):(e._view=a,e._start=null),e},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return n.isNumber(this._model.x)&&n.isNumber(this._model.y)}}),r.extend=n.inherits,e.exports=r},{3:3,46:46}],28:[function(t,e,a){var i=t(3),n=t(26),r=t(46),s=t(34);e.exports=function(){function t(t,e,a){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[a])):i=t,i}function e(t){return null!=t&&"none"!==t}function a(a,i,n){var s=document.defaultView,o=r._getParentNode(a),l=s.getComputedStyle(a)[i],c=s.getComputedStyle(o)[i],d=e(l),u=e(c),p=Number.POSITIVE_INFINITY;return d||u?Math.min(d?t(l,a,n):p,u?t(c,o,n):p):"none"}r.configMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,a,i){var n=e[t]||{},o=a[t];"scales"===t?e[t]=r.scaleMerge(n,o):"scale"===t?e[t]=r.merge(n,[s.getScaleDefaults(o.type),o]):r._merger(t,e,a,i)}})},r.scaleMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,a,i){if("xAxes"===t||"yAxes"===t){var n,o,l,c=a[t].length;for(e[t]||(e[t]=[]),n=0;n<c;++n)l=a[t][n],o=r.valueOrDefault(l.type,"xAxes"===t?"category":"linear"),n>=e[t].length&&e[t].push({}),!e[t][n].type||l.type&&l.type!==e[t][n].type?r.merge(e[t][n],[s.getScaleDefaults(o),l]):r.merge(e[t][n],l)}else r._merger(t,e,a,i)}})},r.where=function(t,e){if(r.isArray(t)&&Array.prototype.filter)return t.filter(e);var a=[];return r.each(t,function(t){e(t)&&a.push(t)}),a},r.findIndex=Array.prototype.findIndex?function(t,e,a){return t.findIndex(e,a)}:function(t,e,a){a=void 0===a?t:a;for(var i=0,n=t.length;i<n;++i)if(e.call(a,t[i],i,t))return i;return-1},r.findNextWhere=function(t,e,a){r.isNullOrUndef(a)&&(a=-1);for(var i=a+1;i<t.length;i++){var n=t[i];if(e(n))return n}},r.findPreviousWhere=function(t,e,a){r.isNullOrUndef(a)&&(a=t.length);for(var i=a-1;0<=i;i--){var n=t[i];if(e(n))return n}},r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.almostEquals=function(t,e,a){return Math.abs(t-e)<a},r.almostWhole=function(t,e){var a=Math.round(t);return a-e<t&&t<a+e},r.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},r.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},r.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:0<t?1:-1},r.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,a=Math.round(e);return t===Math.pow(10,a)?a:e},r.toRadians=function(t){return t*(Math.PI/180)},r.toDegrees=function(t){return t*(180/Math.PI)},r.getAngleFromPoint=function(t,e){var a=e.x-t.x,i=e.y-t.y,n=Math.sqrt(a*a+i*i),r=Math.atan2(i,a);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:n}},r.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},r.aliasPixel=function(t){return t%2==0?0:.5},r.splineCurve=function(t,e,a,i){var n=t.skip?e:t,r=e,s=a.skip?e:a,o=Math.sqrt(Math.pow(r.x-n.x,2)+Math.pow(r.y-n.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),c=o/(o+l),d=l/(o+l),u=i*(c=isNaN(c)?0:c),p=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-u*(s.x-n.x),y:r.y-u*(s.y-n.y)},next:{x:r.x+p*(s.x-n.x),y:r.y+p*(s.y-n.y)}}},r.EPSILON=Number.EPSILON||1e-14,r.splineCurveMonotone=function(t){var e,a,i,n,s,o,l,c,d,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),p=u.length;for(e=0;e<p;++e)if(!(i=u[e]).model.skip){if(a=0<e?u[e-1]:null,(n=e<p-1?u[e+1]:null)&&!n.model.skip){var h=n.model.x-i.model.x;i.deltaK=0!==h?(n.model.y-i.model.y)/h:0}!a||a.model.skip?i.mK=i.deltaK:!n||n.model.skip?i.mK=a.deltaK:this.sign(a.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(a.deltaK+i.deltaK)/2}for(e=0;e<p-1;++e)i=u[e],n=u[e+1],i.model.skip||n.model.skip||(r.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=n.mK=0:(s=i.mK/i.deltaK,o=n.mK/i.deltaK,(c=Math.pow(s,2)+Math.pow(o,2))<=9||(l=3/Math.sqrt(c),i.mK=s*l*i.deltaK,n.mK=o*l*i.deltaK)));for(e=0;e<p;++e)(i=u[e]).model.skip||(a=0<e?u[e-1]:null,n=e<p-1?u[e+1]:null,a&&!a.model.skip&&(d=(i.model.x-a.model.x)/3,i.model.controlPointPreviousX=i.model.x-d,i.model.controlPointPreviousY=i.model.y-d*i.mK),n&&!n.model.skip&&(d=(n.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+d,i.model.controlPointNextY=i.model.y+d*i.mK))},r.nextItem=function(t,e,a){return a?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},r.previousItem=function(t,e,a){return a?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},r.niceNum=function(t,e){var a=Math.floor(r.log10(t)),i=t/Math.pow(10,a);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,a)},r.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},r.getRelativePosition=function(t,e){var a,i,n=t.originalEvent||t,s=t.target||t.srcElement,o=s.getBoundingClientRect(),l=n.touches;i=l&&0<l.length?(a=l[0].clientX,l[0].clientY):(a=n.clientX,n.clientY);var c=parseFloat(r.getStyle(s,"padding-left")),d=parseFloat(r.getStyle(s,"padding-top")),u=parseFloat(r.getStyle(s,"padding-right")),p=parseFloat(r.getStyle(s,"padding-bottom")),h=o.right-o.left-c-u,g=o.bottom-o.top-d-p;return{x:a=Math.round((a-o.left-c)/h*s.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-d)/g*s.height/e.currentDevicePixelRatio)}},r.getConstraintWidth=function(t){return a(t,"max-width","clientWidth")},r.getConstraintHeight=function(t){return a(t,"max-height","clientHeight")},r._calculatePadding=function(t,e,a){return-1<(e=r.getStyle(t,e)).indexOf("%")?a/parseInt(e,10):parseInt(e,10)},r._getParentNode=function(t){var e=t.parentNode;return e&&e.host&&(e=e.host),e},r.getMaximumWidth=function(t){var e=r._getParentNode(t);if(!e)return t.clientWidth;var a=e.clientWidth,i=a-r._calculatePadding(e,"padding-left",a)-r._calculatePadding(e,"padding-right",a),n=r.getConstraintWidth(t);return isNaN(n)?i:Math.min(i,n)},r.getMaximumHeight=function(t){var e=r._getParentNode(t);if(!e)return t.clientHeight;var a=e.clientHeight,i=a-r._calculatePadding(e,"padding-top",a)-r._calculatePadding(e,"padding-bottom",a),n=r.getConstraintHeight(t);return isNaN(n)?i:Math.min(i,n)},r.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},r.retinaScale=function(t,e){var a=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==a){var i=t.canvas,n=t.height,r=t.width;i.height=n*a,i.width=r*a,t.ctx.scale(a,a),i.style.height||i.style.width||(i.style.height=n+"px",i.style.width=r+"px")}},r.fontString=function(t,e,a){return e+" "+t+"px "+a},r.longestText=function(t,e,a,i){var n=(i=i||{}).data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(n=i.data={},s=i.garbageCollect=[],i.font=e),t.font=e;var o=0;r.each(a,function(e){null!=e&&!0!==r.isArray(e)?o=r.measureText(t,n,s,o,e):r.isArray(e)&&r.each(e,function(e){null==e||r.isArray(e)||(o=r.measureText(t,n,s,o,e))})});var l=s.length/2;if(l>a.length){for(var c=0;c<l;c++)delete n[s[c]];s.splice(0,l)}return o},r.measureText=function(t,e,a,i,n){var r=e[n];return r||(r=e[n]=t.measureText(n).width,a.push(n)),i<r&&(i=r),i},r.numberOfLabelLines=function(t){var e=1;return r.each(t,function(t){r.isArray(t)&&t.length>e&&(e=t.length)}),e},r.color=i?function(t){return t instanceof CanvasGradient&&(t=n.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},r.getHoverColor=function(t){return t instanceof CanvasPattern?t:r.color(t).saturate(.5).darken(.1).rgbString()}}},{26:26,3:3,34:34,46:46}],29:[function(t,e,a){var i=t(46);function n(t,e){return t.native?{x:t.x,y:t.y}:i.getRelativePosition(t,e)}function r(t,e){var a,i,n,r,s;for(i=0,r=t.data.datasets.length;i<r;++i)if(t.isDatasetVisible(i))for(n=0,s=(a=t.getDatasetMeta(i)).data.length;n<s;++n){var o=a.data[n];o._view.skip||e(o)}}function s(t,e){var a=[];return r(t,function(t){t.inRange(e.x,e.y)&&a.push(t)}),a}function o(t,e,a,i){var n=Number.POSITIVE_INFINITY,s=[];return r(t,function(t){if(!a||t.inRange(e.x,e.y)){var r=t.getCenterPoint(),o=i(e,r);o<n?(s=[t],n=o):o===n&&s.push(t)}}),s}function l(t){var e=-1!==t.indexOf("x"),a=-1!==t.indexOf("y");return function(t,i){var n=e?Math.abs(t.x-i.x):0,r=a?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2))}}function c(t,e,a){var i=n(e,t);a.axis=a.axis||"x";var r=l(a.axis),c=a.intersect?s(t,i):o(t,i,!1,r),d=[];return c.length?(t.data.datasets.forEach(function(e,a){if(t.isDatasetVisible(a)){var i=t.getDatasetMeta(a).data[c[0]._index];i&&!i._view.skip&&d.push(i)}}),d):[]}e.exports={modes:{single:function(t,e){var a=n(e,t),i=[];return r(t,function(t){if(t.inRange(a.x,a.y))return i.push(t),i}),i.slice(0,1)},label:c,index:c,dataset:function(t,e,a){var i=n(e,t);a.axis=a.axis||"xy";var r=l(a.axis),c=a.intersect?s(t,i):o(t,i,!1,r);return 0<c.length&&(c=t.getDatasetMeta(c[0]._datasetIndex).data),c},"x-axis":function(t,e){return c(t,e,{intersect:!1})},point:function(t,e){return s(t,n(e,t))},nearest:function(t,e,a){var i=n(e,t);a.axis=a.axis||"xy";var r=l(a.axis),s=o(t,i,a.intersect,r);return 1<s.length&&s.sort(function(t,e){var a=t.getArea()-e.getArea();return 0===a&&(a=t._datasetIndex-e._datasetIndex),a}),s.slice(0,1)},x:function(t,e,a){var i=n(e,t),s=[],o=!1;return r(t,function(t){t.inXRange(i.x)&&s.push(t),t.inRange(i.x,i.y)&&(o=!0)}),a.intersect&&!o&&(s=[]),s},y:function(t,e,a){var i=n(e,t),s=[],o=!1;return r(t,function(t){t.inYRange(i.y)&&s.push(t),t.inRange(i.x,i.y)&&(o=!0)}),a.intersect&&!o&&(s=[]),s}}}},{46:46}],30:[function(t,e,a){t(26)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t}},{26:26}],31:[function(t,e,a){var i=t(46);function n(t,e){return i.where(t,function(t){return t.position===e})}function r(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,a){var i=e?a:t,n=e?t:a;return i.weight===n.weight?i._tmpIndex_-n._tmpIndex_:i.weight-n.weight}),t.forEach(function(t){delete t._tmpIndex_})}e.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var a=t.boxes?t.boxes.indexOf(e):-1;-1!==a&&t.boxes.splice(a,1)},configure:function(t,e,a){for(var i,n=["fullWidth","position","weight"],r=n.length,s=0;s<r;++s)i=n[s],a.hasOwnProperty(i)&&(e[i]=a[i])},update:function(t,e,a){if(t){var s=t.options.layout||{},o=i.options.toPadding(s.padding),l=o.left,c=o.right,d=o.top,u=o.bottom,p=n(t.boxes,"left"),h=n(t.boxes,"right"),g=n(t.boxes,"top"),f=n(t.boxes,"bottom"),m=n(t.boxes,"chartArea");r(p,!0),r(h,!1),r(g,!0),r(f,!1);var _=e-l-c,A=a-d-u,v=A/2,M=(e-_/2)/(p.length+h.length),y=(a-v)/(g.length+f.length),b=_,w=A,x=[];i.each(p.concat(h,g,f),function(t){var e,a=t.isHorizontal();a?(e=t.update(t.fullWidth?_:b,y),w-=e.height):(e=t.update(M,w),b-=e.width),x.push({horizontal:a,minSize:e,box:t})});var C=0,N=0,T=0,D=0;i.each(g.concat(f),function(t){if(t.getPadding){var e=t.getPadding();C=Math.max(C,e.left),N=Math.max(N,e.right)}}),i.each(p.concat(h),function(t){if(t.getPadding){var e=t.getPadding();T=Math.max(T,e.top),D=Math.max(D,e.bottom)}});var I=l,j=c,k=d,L=u;i.each(p.concat(h),B),i.each(p,function(t){I+=t.width}),i.each(h,function(t){j+=t.width}),i.each(g.concat(f),B),i.each(g,function(t){k+=t.height}),i.each(f,function(t){L+=t.height}),i.each(p.concat(h),function(t){var e=i.findNextWhere(x,function(e){return e.box===t}),a={left:0,right:0,top:k,bottom:L};e&&t.update(e.minSize.width,w,a)}),I=l,j=c,k=d,L=u,i.each(p,function(t){I+=t.width}),i.each(h,function(t){j+=t.width}),i.each(g,function(t){k+=t.height}),i.each(f,function(t){L+=t.height});var z=Math.max(C-I,0);I+=z,j+=Math.max(N-j,0);var E=Math.max(T-k,0);k+=E,L+=Math.max(D-L,0);var O=a-k-L,S=e-I-j;S===b&&O===w||(i.each(p,function(t){t.height=O}),i.each(h,function(t){t.height=O}),i.each(g,function(t){t.fullWidth||(t.width=S)}),i.each(f,function(t){t.fullWidth||(t.width=S)}),w=O,b=S);var Y=l+z,Q=d+E;i.each(p.concat(g),F),Y+=b,Q+=w,i.each(h,F),i.each(f,F),t.chartArea={left:I,top:k,right:I+b,bottom:k+w},i.each(m,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(b,w)})}function B(t){var e=i.findNextWhere(x,function(e){return e.box===t});if(e)if(t.isHorizontal()){var a={left:Math.max(I,C),right:Math.max(j,N),top:0,bottom:0};t.update(t.fullWidth?_:b,A/2,a)}else t.update(e.minSize.width,w)}function F(t){t.isHorizontal()?(t.left=t.fullWidth?l:I,t.right=t.fullWidth?e-c:I+b,t.top=Q,t.bottom=Q+t.height,Q=t.bottom):(t.left=Y,t.right=Y+t.width,t.top=k,t.bottom=k+w,Y=t.right)}}}},{46:46}],32:[function(t,e,a){var i=t(26),n=t(46);i._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var a=e.indexOf(t);-1!==a&&e.splice(a,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,a){var i,n,r,s,o,l=this.descriptors(t),c=l.length;for(i=0;i<c;++i)if("function"==typeof(o=(r=(n=l[i]).plugin)[e])&&((s=[t].concat(a||[])).push(n.options),!1===o.apply(r,s)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var a=[],r=[],s=t&&t.config||{},o=s.options&&s.options.plugins||{};return this._plugins.concat(s.plugins||[]).forEach(function(t){if(-1===a.indexOf(t)){var e=t.id,s=o[e];!1!==s&&(!0===s&&(s=n.clone(i.global.plugins[e])),a.push(t),r.push({plugin:t,options:s||{}}))}}),e.descriptors=r,e.id=this._cacheId,r},_invalidate:function(t){delete t.$plugins}}},{26:26,46:46}],33:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=t(35);function o(t){var e,a,i=[];for(e=0,a=t.length;e<a;++e)i.push(t[e].label);return i}function l(t,e,a){var i=t.getPixelForTick(e);return a&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}function c(t,e,a){return r.isArray(e)?r.longestText(t,a,e):t.measureText(e).width}function d(t){var e=r.valueOrDefault,a=i.global,n=e(t.fontSize,a.defaultFontSize),s=e(t.fontStyle,a.defaultFontStyle),o=e(t.fontFamily,a.defaultFontFamily);return{size:n,style:s,family:o,font:r.fontString(n,s,o)}}function u(t){return r.options.toLineHeight(r.valueOrDefault(t.lineHeight,1.2),r.valueOrDefault(t.fontSize,i.global.defaultFontSize))}i._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:s.formatters.values,minor:{},major:{}}}),e.exports=n.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){r.callback(this.options.beforeUpdate,[this])},update:function(t,e,a){var i,n,s,o,l,c,d=this;for(d.beforeUpdate(),d.maxWidth=t,d.maxHeight=e,d.margins=r.extend({left:0,right:0,top:0,bottom:0},a),d.longestTextCache=d.longestTextCache||{},d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d.beforeBuildTicks(),l=d.buildTicks()||[],d.afterBuildTicks(),d.beforeTickToLabelConversion(),s=d.convertTicksToLabels(l)||d.ticks,d.afterTickToLabelConversion(),i=0,n=(d.ticks=s).length;i<n;++i)o=s[i],(c=l[i])?c.label=o:l.push(c={label:o,major:!1});return d._ticks=l,d.beforeCalculateTickRotation(),d.calculateTickRotation(),d.afterCalculateTickRotation(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:function(){r.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){r.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){r.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){r.callback(this.options.beforeDataLimits,[this])},determineDataLimits:r.noop,afterDataLimits:function(){r.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){r.callback(this.options.beforeBuildTicks,[this])},buildTicks:r.noop,afterBuildTicks:function(){r.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){r.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){r.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){r.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,a=t.options.ticks,i=o(t._ticks),n=d(a);e.font=n.font;var s=a.minRotation||0;if(i.length&&t.options.display&&t.isHorizontal())for(var l,c=r.longestText(e,n.font,i,t.longestTextCache),u=c,p=t.getPixelForTick(1)-t.getPixelForTick(0)-6;p<u&&s<a.maxRotation;){var h=r.toRadians(s);if(l=Math.cos(h),Math.sin(h)*c>t.maxHeight){s--;break}s++,u=l*c}t.labelRotation=s},afterCalculateTickRotation:function(){r.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){r.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},a=o(t._ticks),i=t.options,n=i.ticks,s=i.scaleLabel,l=i.gridLines,p=i.display,h=t.isHorizontal(),g=d(n),f=i.gridLines.tickMarkLength;if(e.width=h?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:p&&l.drawTicks?f:0,e.height=h?p&&l.drawTicks?f:0:t.maxHeight,s.display&&p){var m=u(s)+r.options.toPadding(s.padding).height;h?e.height+=m:e.width+=m}if(n.display&&p){var _=r.longestText(t.ctx,g.font,a,t.longestTextCache),A=r.numberOfLabelLines(a),v=.5*g.size,M=t.options.ticks.padding;if(h){t.longestLabelWidth=_;var y=r.toRadians(t.labelRotation),b=Math.cos(y),w=Math.sin(y)*_+g.size*A+v*(A-1)+v;e.height=Math.min(t.maxHeight,e.height+w+M),t.ctx.font=g.font;var x=c(t.ctx,a[0],g.font),C=c(t.ctx,a[a.length-1],g.font);0!==t.labelRotation?(t.paddingLeft="bottom"===i.position?b*x+3:b*v+3,t.paddingRight="bottom"===i.position?b*v+3:b*C+3):(t.paddingLeft=x/2+3,t.paddingRight=C/2+3)}else n.mirror?_=0:_+=M+v,e.width=Math.min(t.maxWidth,e.width+_),t.paddingTop=g.size/2,t.paddingBottom=g.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){r.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(r.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:r.noop,getPixelForValue:r.noop,getValueForPixel:r.noop,getPixelForTick:function(t){var e=this,a=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(a?0:1),1),n=i*t+e.paddingLeft;return a&&(n+=i/2),e.left+Math.round(n)+(e.isFullWidth()?e.margins.left:0)}var r=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(r/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var a=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft;return e.left+Math.round(a)+(e.isFullWidth()?e.margins.left:0)}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,a,i,n,s=this,o=s.isHorizontal(),l=s.options.ticks.minor,c=t.length,d=r.toRadians(s.labelRotation),u=Math.cos(d),p=s.longestLabelWidth*u,h=[];for(l.maxTicksLimit&&(n=l.maxTicksLimit),o&&(e=!1,(p+l.autoSkipPadding)*c>s.width-(s.paddingLeft+s.paddingRight)&&(e=1+Math.floor((p+l.autoSkipPadding)*c/(s.width-(s.paddingLeft+s.paddingRight)))),n&&n<c&&(e=Math.max(e,Math.floor(c/n)))),a=0;a<c;a++)i=t[a],(1<e&&0<a%e||a%e==0&&c<=a+e)&&a!==c-1&&delete i.label,h.push(i);return h},draw:function(t){var e=this,a=e.options;if(a.display){var n=e.ctx,s=i.global,o=a.ticks.minor,c=a.ticks.major||o,p=a.gridLines,h=a.scaleLabel,g=0!==e.labelRotation,f=e.isHorizontal(),m=o.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),_=r.valueOrDefault(o.fontColor,s.defaultFontColor),A=d(o),v=r.valueOrDefault(c.fontColor,s.defaultFontColor),M=d(c),y=p.drawTicks?p.tickMarkLength:0,b=r.valueOrDefault(h.fontColor,s.defaultFontColor),w=d(h),x=r.options.toPadding(h.padding),C=r.toRadians(e.labelRotation),N=[],T=e.options.gridLines.lineWidth,D="right"===a.position?e.left:e.right-T-y,I="right"===a.position?e.left+y:e.right,j="bottom"===a.position?e.top+T:e.bottom-y-T,k="bottom"===a.position?e.top+T+y:e.bottom+T;if(r.each(m,function(i,n){if(!r.isNullOrUndef(i.label)){var c,d,u,h,_,A,v,M,b,w,x,L,z,E,O=i.label;h=n===e.zeroLineIndex&&a.offset===p.offsetGridLines?(c=p.zeroLineWidth,d=p.zeroLineColor,u=p.zeroLineBorderDash,p.zeroLineBorderDashOffset):(c=r.valueAtIndexOrDefault(p.lineWidth,n),d=r.valueAtIndexOrDefault(p.color,n),u=r.valueOrDefault(p.borderDash,s.borderDash),r.valueOrDefault(p.borderDashOffset,s.borderDashOffset));var S="middle",Y="middle",Q=o.padding;if(f){var B=y+Q;E="bottom"===a.position?(Y=g?"middle":"top",S=g?"right":"center",e.top+B):(Y=g?"middle":"bottom",S=g?"left":"center",e.bottom-B);var F=l(e,n,p.offsetGridLines&&1<m.length);F<e.left&&(d="rgba(0,0,0,0)"),F+=r.aliasPixel(c),z=e.getPixelForTick(n)+o.labelOffset,_=v=b=x=F,A=j,M=k,w=t.top,L=t.bottom+T}else{var P,U="left"===a.position;P=o.mirror?(S=U?"left":"right",Q):(S=U?"right":"left",y+Q),z=U?e.right-P:e.left+P;var R=l(e,n,p.offsetGridLines&&1<m.length);R<e.top&&(d="rgba(0,0,0,0)"),R+=r.aliasPixel(c),E=e.getPixelForTick(n)+o.labelOffset,_=D,v=I,b=t.left,x=t.right+T,A=M=w=L=R}N.push({tx1:_,ty1:A,tx2:v,ty2:M,x1:b,y1:w,x2:x,y2:L,labelX:z,labelY:E,glWidth:c,glColor:d,glBorderDash:u,glBorderDashOffset:h,rotation:-1*C,label:O,major:i.major,textBaseline:Y,textAlign:S})}}),r.each(N,function(t){if(p.display&&(n.save(),n.lineWidth=t.glWidth,n.strokeStyle=t.glColor,n.setLineDash&&(n.setLineDash(t.glBorderDash),n.lineDashOffset=t.glBorderDashOffset),n.beginPath(),p.drawTicks&&(n.moveTo(t.tx1,t.ty1),n.lineTo(t.tx2,t.ty2)),p.drawOnChartArea&&(n.moveTo(t.x1,t.y1),n.lineTo(t.x2,t.y2)),n.stroke(),n.restore()),o.display){n.save(),n.translate(t.labelX,t.labelY),n.rotate(t.rotation),n.font=t.major?M.font:A.font,n.fillStyle=t.major?v:_,n.textBaseline=t.textBaseline,n.textAlign=t.textAlign;var a=t.label;if(r.isArray(a))for(var i=a.length,s=1.5*A.size,l=e.isHorizontal()?0:-s*(i-1)/2,c=0;c<i;++c)n.fillText(""+a[c],0,l),l+=s;else n.fillText(a,0,0);n.restore()}}),h.display){var L,z,E=0,O=u(h)/2;if(f)L=e.left+(e.right-e.left)/2,z="bottom"===a.position?e.bottom-O-x.bottom:e.top+O+x.top;else{var S="left"===a.position;L=S?e.left+O+x.top:e.right-O-x.top,z=e.top+(e.bottom-e.top)/2,E=S?-.5*Math.PI:.5*Math.PI}n.save(),n.translate(L,z),n.rotate(E),n.textAlign="center",n.textBaseline="middle",n.fillStyle=b,n.font=w.font,n.fillText(h.labelString,0,0),n.restore()}if(p.drawBorder){n.lineWidth=r.valueAtIndexOrDefault(p.lineWidth,0),n.strokeStyle=r.valueAtIndexOrDefault(p.color,0);var Y=e.left,Q=e.right+T,B=e.top,F=e.bottom+T,P=r.aliasPixel(n.lineWidth);f?(B=F="top"===a.position?e.bottom:e.top,B+=P,F+=P):(Y=Q="left"===a.position?e.right:e.left,Y+=P,Q+=P),n.beginPath(),n.moveTo(Y,B),n.lineTo(Q,F),n.stroke()}}}})},{26:26,27:27,35:35,46:46}],34:[function(t,e,a){var i=t(26),n=t(46),r=t(31);e.exports={constructors:{},defaults:{},registerScaleType:function(t,e,a){this.constructors[t]=e,this.defaults[t]=n.clone(a)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?n.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=n.extend(this.defaults[t],e))},addScalesToLayout:function(t){n.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,r.addBox(t,e)})}}},{26:26,31:31,46:46}],35:[function(t,e,a){var i=t(46);e.exports={formatters:{values:function(t){return i.isArray(t)?t:""+t},linear:function(t,e,a){var n=3<a.length?a[2]-a[1]:a[1]-a[0];1<Math.abs(n)&&t!==Math.floor(t)&&(n=t-Math.floor(t));var r=i.log10(Math.abs(n)),s="";if(0!==t)if(Math.max(Math.abs(a[0]),Math.abs(a[a.length-1]))<1e-4){var o=i.log10(Math.abs(t));s=t.toExponential(Math.floor(o)-Math.floor(r))}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),s=t.toFixed(l)}else s="0";return s},logarithmic:function(t,e,a){var n=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===n||2===n||5===n||0===e||e===a.length-1?t.toExponential():""}}}},{46:46}],36:[function(t,e,a){var i=t(26),n=t(27),r=t(46);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:r.noop,title:function(t,e){var a="",i=e.labels,n=i?i.length:0;if(0<t.length){var r=t[0];r.xLabel?a=r.xLabel:0<n&&r.index<n&&(a=i[r.index])}return a},afterTitle:r.noop,beforeBody:r.noop,beforeLabel:r.noop,label:function(t,e){var a=e.datasets[t.datasetIndex].label||"";return a&&(a+=": "),a+t.yLabel},labelColor:function(t,e){var a=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:a.borderColor,backgroundColor:a.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:r.noop,afterBody:r.noop,beforeFooter:r.noop,footer:r.noop,afterFooter:r.noop}}});var s={average:function(t){if(!t.length)return!1;var e,a,i=0,n=0,r=0;for(e=0,a=t.length;e<a;++e){var s=t[e];if(s&&s.hasValue()){var o=s.tooltipPosition();i+=o.x,n+=o.y,++r}}return{x:Math.round(i/r),y:Math.round(n/r)}},nearest:function(t,e){var a,i,n,s=e.x,o=e.y,l=Number.POSITIVE_INFINITY;for(a=0,i=t.length;a<i;++a){var c=t[a];if(c&&c.hasValue()){var d=c.getCenterPoint(),u=r.distanceBetweenPoints(e,d);u<l&&(l=u,n=c)}}if(n){var p=n.tooltipPosition();s=p.x,o=p.y}return{x:s,y:o}}};function o(t,e){var a=r.color(t);return a.alpha(e*a.alpha()).rgbaString()}function l(t,e){return e&&(r.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function c(t){return("string"==typeof t||t instanceof String)&&-1<t.indexOf("\n")?t.split("\n"):t}function d(t){var e=i.global,a=r.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:a(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:a(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:a(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:a(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:a(t.titleFontStyle,e.defaultFontStyle),titleFontSize:a(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:a(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:a(t.footerFontStyle,e.defaultFontStyle),footerFontSize:a(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function u(t){return l([],c(t))}(e.exports=n.extend({initialize:function(){this._model=d(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),a=t.title.apply(this,arguments),i=t.afterTitle.apply(this,arguments),n=[];return l(n=l(n=l(n,c(e)),c(a)),c(i))},getBeforeBody:function(){return u(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var a=this,i=a._options.callbacks,n=[];return r.each(t,function(t){var r={before:[],lines:[],after:[]};l(r.before,c(i.beforeLabel.call(a,t,e))),l(r.lines,i.label.call(a,t,e)),l(r.after,c(i.afterLabel.call(a,t,e))),n.push(r)}),n},getAfterBody:function(){return u(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),a=t.footer.apply(this,arguments),i=t.afterFooter.apply(this,arguments),n=[];return l(n=l(n=l(n,c(e)),c(a)),c(i))},update:function(t){var e,a,i,n,o,l,c,u,p,h,g,f,m,_,A,v,M,y,b,w,x=this,C=x._options,N=x._model,T=x._model=d(C),D=x._active,I=x._data,j={xAlign:N.xAlign,yAlign:N.yAlign},k={x:N.x,y:N.y},L={width:N.width,height:N.height},z={x:N.caretX,y:N.caretY};if(D.length){T.opacity=1;var E=[],O=[];z=s[C.position].call(x,D,x._eventPosition);var S=[];for(e=0,a=D.length;e<a;++e)S.push((y=M=void 0,M=(v=D[e])._xScale,y=v._yScale||v._scale,b=v._index,w=v._datasetIndex,{xLabel:M?M.getLabelForIndex(b,w):"",yLabel:y?y.getLabelForIndex(b,w):"",index:b,datasetIndex:w,x:v._model.x,y:v._model.y}));C.filter&&(S=S.filter(function(t){return C.filter(t,I)})),C.itemSort&&(S=S.sort(function(t,e){return C.itemSort(t,e,I)})),r.each(S,function(t){E.push(C.callbacks.labelColor.call(x,t,x._chart)),O.push(C.callbacks.labelTextColor.call(x,t,x._chart))}),T.title=x.getTitle(S,I),T.beforeBody=x.getBeforeBody(S,I),T.body=x.getBody(S,I),T.afterBody=x.getAfterBody(S,I),T.footer=x.getFooter(S,I),T.x=Math.round(z.x),T.y=Math.round(z.y),T.caretPadding=C.caretPadding,T.labelColors=E,T.labelTextColors=O,T.dataPoints=S,j=function(t,e){var a,i,n,r,s,o=t._model,l=t._chart,c=t._chart.chartArea,d="center",u="center";o.y<e.height?u="top":o.y>l.height-e.height&&(u="bottom");var p=(c.left+c.right)/2,h=(c.top+c.bottom)/2;i="center"===u?(a=function(t){return t<=p},function(t){return p<t}):(a=function(t){return t<=e.width/2},function(t){return t>=l.width-e.width/2}),n=function(t){return t+e.width+o.caretSize+o.caretPadding>l.width},r=function(t){return t-e.width-o.caretSize-o.caretPadding<0},s=function(t){return t<=h?"top":"bottom"},a(o.x)?(d="left",n(o.x)&&(d="center",u=s(o.y))):i(o.x)&&(d="right",r(o.x)&&(d="center",u=s(o.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:u}}(this,L=function(t,e){var a=t._chart.ctx,i=2*e.yPadding,n=0,s=e.body,o=s.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);o+=e.beforeBody.length+e.afterBody.length;var l=e.title.length,c=e.footer.length,d=e.titleFontSize,u=e.bodyFontSize,p=e.footerFontSize;i+=l*d,i+=l?(l-1)*e.titleSpacing:0,i+=l?e.titleMarginBottom:0,i+=o*u,i+=o?(o-1)*e.bodySpacing:0,i+=c?e.footerMarginTop:0,i+=c*p,i+=c?(c-1)*e.footerSpacing:0;var h=0,g=function(t){n=Math.max(n,a.measureText(t).width+h)};return a.font=r.fontString(d,e._titleFontStyle,e._titleFontFamily),r.each(e.title,g),a.font=r.fontString(u,e._bodyFontStyle,e._bodyFontFamily),r.each(e.beforeBody.concat(e.afterBody),g),h=e.displayColors?u+2:0,r.each(s,function(t){r.each(t.before,g),r.each(t.lines,g),r.each(t.after,g)}),h=0,a.font=r.fontString(p,e._footerFontStyle,e._footerFontFamily),r.each(e.footer,g),{width:n+=2*e.xPadding,height:i}}(this,T)),i=T,n=L,o=j,l=x._chart,c=i.x,u=i.y,p=i.caretSize,h=i.caretPadding,g=i.cornerRadius,f=o.xAlign,m=o.yAlign,_=p+h,A=g+h,"right"===f?c-=n.width:"center"===f&&((c-=n.width/2)+n.width>l.width&&(c=l.width-n.width),c<0&&(c=0)),"top"===m?u+=_:u-="bottom"===m?n.height+_:n.height/2,"center"===m?"left"===f?c+=_:"right"===f&&(c-=_):"left"===f?c-=A:"right"===f&&(c+=A),k={x:c,y:u}}else T.opacity=0;return T.xAlign=j.xAlign,T.yAlign=j.yAlign,T.x=k.x,T.y=k.y,T.width=L.width,T.height=L.height,T.caretX=z.x,T.caretY=z.y,x._model=T,t&&C.custom&&C.custom.call(x,T),x},drawCaret:function(t,e){var a=this._chart.ctx,i=this._view,n=this.getCaretPosition(t,e,i);a.lineTo(n.x1,n.y1),a.lineTo(n.x2,n.y2),a.lineTo(n.x3,n.y3)},getCaretPosition:function(t,e,a){var i,n,r,s,o,l,c=a.caretSize,d=a.cornerRadius,u=a.xAlign,p=a.yAlign,h=t.x,g=t.y,f=e.width,m=e.height;if("center"===p)o=g+m/2,l="left"===u?(n=(i=h)-c,r=i,s=o+c,o-c):(n=(i=h+f)+c,r=i,s=o-c,o+c);else if(i="left"===u?(n=h+d+c)-c:"right"===u?(n=h+f-d-c)-c:(n=a.caretX)-c,r=n+c,"top"===p)o=(s=g)-c,l=s;else{o=(s=g+m)+c,l=s;var _=r;r=i,i=_}return{x1:i,x2:n,x3:r,y1:s,y2:o,y3:l}},drawTitle:function(t,e,a,i){var n=e.title;if(n.length){a.textAlign=e._titleAlign,a.textBaseline="top";var s,l,c=e.titleFontSize,d=e.titleSpacing;for(a.fillStyle=o(e.titleFontColor,i),a.font=r.fontString(c,e._titleFontStyle,e._titleFontFamily),s=0,l=n.length;s<l;++s)a.fillText(n[s],t.x,t.y),t.y+=c+d,s+1===n.length&&(t.y+=e.titleMarginBottom-d)}},drawBody:function(t,e,a,i){var n=e.bodyFontSize,s=e.bodySpacing,l=e.body;a.textAlign=e._bodyAlign,a.textBaseline="top",a.font=r.fontString(n,e._bodyFontStyle,e._bodyFontFamily);var c=0,d=function(e){a.fillText(e,t.x+c,t.y),t.y+=n+s};a.fillStyle=o(e.bodyFontColor,i),r.each(e.beforeBody,d);var u=e.displayColors;c=u?n+2:0,r.each(l,function(s,l){var c=o(e.labelTextColors[l],i);a.fillStyle=c,r.each(s.before,d),r.each(s.lines,function(r){u&&(a.fillStyle=o(e.legendColorBackground,i),a.fillRect(t.x,t.y,n,n),a.lineWidth=1,a.strokeStyle=o(e.labelColors[l].borderColor,i),a.strokeRect(t.x,t.y,n,n),a.fillStyle=o(e.labelColors[l].backgroundColor,i),a.fillRect(t.x+1,t.y+1,n-2,n-2),a.fillStyle=c),d(r)}),r.each(s.after,d)}),c=0,r.each(e.afterBody,d),t.y-=s},drawFooter:function(t,e,a,i){var n=e.footer;n.length&&(t.y+=e.footerMarginTop,a.textAlign=e._footerAlign,a.textBaseline="top",a.fillStyle=o(e.footerFontColor,i),a.font=r.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),r.each(n,function(i){a.fillText(i,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing}))},drawBackground:function(t,e,a,i,n){a.fillStyle=o(e.backgroundColor,n),a.strokeStyle=o(e.borderColor,n),a.lineWidth=e.borderWidth;var r=e.xAlign,s=e.yAlign,l=t.x,c=t.y,d=i.width,u=i.height,p=e.cornerRadius;a.beginPath(),a.moveTo(l+p,c),"top"===s&&this.drawCaret(t,i),a.lineTo(l+d-p,c),a.quadraticCurveTo(l+d,c,l+d,c+p),"center"===s&&"right"===r&&this.drawCaret(t,i),a.lineTo(l+d,c+u-p),a.quadraticCurveTo(l+d,c+u,l+d-p,c+u),"bottom"===s&&this.drawCaret(t,i),a.lineTo(l+p,c+u),a.quadraticCurveTo(l,c+u,l,c+u-p),"center"===s&&"left"===r&&this.drawCaret(t,i),a.lineTo(l,c+p),a.quadraticCurveTo(l,c,l+p,c),a.closePath(),a.fill(),0<e.borderWidth&&a.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var a={width:e.width,height:e.height},i={x:e.x,y:e.y},n=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(this.drawBackground(i,e,t,a,n),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,n),this.drawBody(i,e,t,n),this.drawFooter(i,e,t,n))}},handleEvent:function(t){var e,a=this,i=a._options;return a._lastActive=a._lastActive||[],"mouseout"===t.type?a._active=[]:a._active=a._chart.getElementsAtEventForMode(t,i.mode,i),(e=!r.arrayEquals(a._active,a._lastActive))&&(a._lastActive=a._active,(i.enabled||i.custom)&&(a._eventPosition={x:t.x,y:t.y},a.update(!0),a.pivot())),e}})).positioners=s},{26:26,27:27,46:46}],37:[function(t,e,a){var i=t(26),n=t(27),r=t(46);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=n.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var a=this._view;if(a){for(var i=r.getAngleFromPoint(a,{x:t,y:e}),n=i.angle,s=i.distance,o=a.startAngle,l=a.endAngle;l<o;)l+=2*Math.PI;for(;l<n;)n-=2*Math.PI;for(;n<o;)n+=2*Math.PI;var c=o<=n&&n<=l,d=s>=a.innerRadius&&s<=a.outerRadius;return c&&d}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,a=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*a,y:t.y+Math.sin(e)*a}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,a=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*a,y:t.y+Math.sin(e)*a}},draw:function(){var t=this._chart.ctx,e=this._view,a=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,a,i),t.arc(e.x,e.y,e.innerRadius,i,a,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{26:26,27:27,46:46}],38:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:s.defaultColor,borderWidth:3,borderColor:s.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=n.extend({draw:function(){var t,e,a,i,n=this._view,o=this._chart.ctx,l=n.spanGaps,c=this._children.slice(),d=s.elements.line,u=-1;for(this._loop&&c.length&&c.push(c[0]),o.save(),o.lineCap=n.borderCapStyle||d.borderCapStyle,o.setLineDash&&o.setLineDash(n.borderDash||d.borderDash),o.lineDashOffset=n.borderDashOffset||d.borderDashOffset,o.lineJoin=n.borderJoinStyle||d.borderJoinStyle,o.lineWidth=n.borderWidth||d.borderWidth,o.strokeStyle=n.borderColor||s.defaultColor,o.beginPath(),u=-1,t=0;t<c.length;++t)e=c[t],a=r.previousItem(c,t),i=e._view,0===t?i.skip||(o.moveTo(i.x,i.y),u=t):(a=-1===u?a:c[u],i.skip||(u!==t-1&&!l||-1===u?o.moveTo(i.x,i.y):r.canvas.lineTo(o,a._view,e._view),u=t));o.stroke(),o.restore()}})},{26:26,27:27,46:46}],39:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=i.global.defaultColor;function o(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}i._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:s,borderColor:s,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=n.extend({inRange:function(t,e){var a=this._view;return!!a&&Math.pow(t-a.x,2)+Math.pow(e-a.y,2)<Math.pow(a.hitRadius+a.radius,2)},inLabelRange:o,inXRange:o,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,a=this._model,n=this._chart.ctx,o=e.pointStyle,l=e.rotation,c=e.radius,d=e.x,u=e.y;e.skip||(void 0===t||a.x>=t.left&&1.01*t.right>=a.x&&a.y>=t.top&&1.01*t.bottom>=a.y)&&(n.strokeStyle=e.borderColor||s,n.lineWidth=r.valueOrDefault(e.borderWidth,i.global.elements.point.borderWidth),n.fillStyle=e.backgroundColor||s,r.canvas.drawPoint(n,o,c,d,u,l))}})},{26:26,27:27,46:46}],40:[function(t,e,a){var i=t(26),n=t(27);function r(t){return void 0!==t._view.width}function s(t){var e,a,i,n,s=t._view;if(r(t)){var o=s.width/2;e=s.x-o,a=s.x+o,i=Math.min(s.y,s.base),n=Math.max(s.y,s.base)}else{var l=s.height/2;e=Math.min(s.x,s.base),a=Math.max(s.x,s.base),i=s.y-l,n=s.y+l}return{left:e,top:i,right:a,bottom:n}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=n.extend({draw:function(){var t,e,a,i,n,r,s,o=this._chart.ctx,l=this._view,c=l.borderWidth;if(s=l.horizontal?(t=l.base,e=l.x,a=l.y-l.height/2,i=l.y+l.height/2,n=t<e?1:-1,r=1,l.borderSkipped||"left"):(t=l.x-l.width/2,e=l.x+l.width/2,n=1,r=(a=l.y)<(i=l.base)?1:-1,l.borderSkipped||"bottom"),c){var d=Math.min(Math.abs(t-e),Math.abs(a-i)),u=(c=d<c?d:c)/2,p=t+("left"!==s?u*n:0),h=e+("right"!==s?-u*n:0),g=a+("top"!==s?u*r:0),f=i+("bottom"!==s?-u*r:0);p!==h&&(a=g,i=f),g!==f&&(t=p,e=h)}o.beginPath(),o.fillStyle=l.backgroundColor,o.strokeStyle=l.borderColor,o.lineWidth=c;var m=[[t,i],[t,a],[e,a],[e,i]],_=["bottom","left","top","right"].indexOf(s,0);function A(t){return m[(_+t)%4]}-1===_&&(_=0);var v=A(0);o.moveTo(v[0],v[1]);for(var M=1;M<4;M++)v=A(M),o.lineTo(v[0],v[1]);o.fill(),c&&o.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var a=!1;if(this._view){var i=s(this);a=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return a},inLabelRange:function(t,e){if(!this._view)return!1;var a=s(this);return r(this)?t>=a.left&&t<=a.right:e>=a.top&&e<=a.bottom},inXRange:function(t){var e=s(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=s(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,a=this._view;return e=r(this)?(t=a.x,(a.y+a.base)/2):(t=(a.x+a.base)/2,a.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{26:26,27:27}],41:[function(t,e,a){e.exports={},e.exports.Arc=t(37),e.exports.Line=t(38),e.exports.Point=t(39),e.exports.Rectangle=t(40)},{37:37,38:38,39:39,40:40}],42:[function(t,e,a){var i=t(43);a=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,a,i,n,r){if(r){var s=Math.min(r,n/2-1e-7,i/2-1e-7);t.moveTo(e+s,a),t.lineTo(e+i-s,a),t.arcTo(e+i,a,e+i,a+s,s),t.lineTo(e+i,a+n-s),t.arcTo(e+i,a+n,e+i-s,a+n,s),t.lineTo(e+s,a+n),t.arcTo(e,a+n,e,a+n-s,s),t.lineTo(e,a+s),t.arcTo(e,a,e+s,a,s),t.closePath(),t.moveTo(e,a)}else t.rect(e,a,i,n)},drawPoint:function(t,e,a,i,n,r){var o,l,c,d,u,p;if(r=r||0,!e||"object"!=s()(e)||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(a)||a<=0)){switch(t.save(),t.translate(i,n),t.rotate(r*Math.PI/180),t.beginPath(),e){default:t.arc(0,0,a,0,2*Math.PI),t.closePath();break;case"triangle":u=(l=3*a/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(-l/2,u/3),t.lineTo(l/2,u/3),t.lineTo(0,-2*u/3),t.closePath();break;case"rect":p=1/Math.SQRT2*a,t.rect(-p,-p,2*p,2*p);break;case"rectRounded":var h=a/Math.SQRT2,g=-h,f=-h,m=Math.SQRT2*a;this.roundedRect(t,g,f,m,m,.425*a);break;case"rectRot":p=1/Math.SQRT2*a,t.moveTo(-p,0),t.lineTo(0,p),t.lineTo(p,0),t.lineTo(0,-p),t.closePath();break;case"cross":t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0);break;case"crossRot":c=Math.cos(Math.PI/4)*a,d=Math.sin(Math.PI/4)*a,t.moveTo(-c,-d),t.lineTo(c,d),t.moveTo(-c,d),t.lineTo(c,-d);break;case"star":t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0),c=Math.cos(Math.PI/4)*a,d=Math.sin(Math.PI/4)*a,t.moveTo(-c,-d),t.lineTo(c,d),t.moveTo(-c,d),t.lineTo(c,-d);break;case"line":t.moveTo(-a,0),t.lineTo(a,0);break;case"dash":t.moveTo(0,0),t.lineTo(a,0)}t.fill(),t.stroke(),t.restore()}}else t.drawImage(e,i-e.width/2,n-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,a,i){if(a.steppedLine)return"after"===a.steppedLine&&!i||"after"!==a.steppedLine&&i?t.lineTo(e.x,a.y):t.lineTo(a.x,e.y),void t.lineTo(a.x,a.y);a.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?a.controlPointNextX:a.controlPointPreviousX,i?a.controlPointNextY:a.controlPointPreviousY,a.x,a.y):t.lineTo(a.x,a.y)}},i.clear=a.clear,i.drawRoundedRectangle=function(t){t.beginPath(),a.roundedRect.apply(a,arguments)}},{43:43}],43:[function(t,e,a){var i,n={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,a){return n.valueOrDefault(n.isArray(t)?t[e]:t,a)},callback:function(t,e,a){if(t&&"function"==typeof t.call)return t.apply(a,e)},each:function(t,e,a,i){var r,s,o;if(n.isArray(t))if(s=t.length,i)for(r=s-1;0<=r;r--)e.call(a,t[r],r);else for(r=0;r<s;r++)e.call(a,t[r],r);else if(n.isObject(t))for(s=(o=Object.keys(t)).length,r=0;r<s;r++)e.call(a,t[o[r]],o[r])},arrayEquals:function(t,e){var a,i,r,s;if(!t||!e||t.length!==e.length)return!1;for(a=0,i=t.length;a<i;++a)if(r=t[a],s=e[a],r instanceof Array&&s instanceof Array){if(!n.arrayEquals(r,s))return!1}else if(r!==s)return!1;return!0},clone:function(t){if(n.isArray(t))return t.map(n.clone);if(n.isObject(t)){for(var e={},a=Object.keys(t),i=a.length,r=0;r<i;++r)e[a[r]]=n.clone(t[a[r]]);return e}return t},_merger:function(t,e,a,i){var r=e[t],s=a[t];n.isObject(r)&&n.isObject(s)?n.merge(r,s,i):e[t]=n.clone(s)},_mergerIf:function(t,e,a){var i=e[t],r=a[t];n.isObject(i)&&n.isObject(r)?n.mergeIf(i,r):e.hasOwnProperty(t)||(e[t]=n.clone(r))},merge:function(t,e,a){var i,r,s,o,l,c=n.isArray(e)?e:[e],d=c.length;if(!n.isObject(t))return t;for(i=(a=a||{}).merger||n._merger,r=0;r<d;++r)if(e=c[r],n.isObject(e))for(l=0,o=(s=Object.keys(e)).length;l<o;++l)i(s[l],t,e,a);return t},mergeIf:function(t,e){return n.merge(t,e,{merger:n._mergerIf})},extend:function(t){for(var e=function(e,a){t[a]=e},a=1,i=arguments.length;a<i;++a)n.each(arguments[a],e);return t},inherits:function(t){var e=this,a=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=a};return i.prototype=e.prototype,a.prototype=new i,a.extend=n.inherits,t&&n.extend(a.prototype,t),a.__super__=e.prototype,a}};(e.exports=n).callCallback=n.callback,n.indexOf=function(t,e,a){return Array.prototype.indexOf.call(t,e,a)},n.getValueOrDefault=n.valueOrDefault,n.getValueAtIndexOrDefault=n.valueAtIndexOrDefault},{}],44:[function(t,e,a){var i=t(43),n={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,a=0,i=1;return 0===t?0:1===t?1:(a||(a=.3),e=i<1?(i=1,a/4):a/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a))},easeOutElastic:function(t){var e=1.70158,a=0,i=1;return 0===t?0:1===t?1:(a||(a=.3),e=i<1?(i=1,a/4):a/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/a)+1)},easeInOutElastic:function(t){var e=1.70158,a=0,i=1;return 0===t?0:2==(t/=.5)?1:(a||(a=.45),e=i<1?(i=1,a/4):a/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-n.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*n.easeInBounce(2*t):.5*n.easeOutBounce(2*t-1)+.5}};e.exports={effects:n},i.easingEffects=n},{43:43}],45:[function(t,e,a){var i=t(43);e.exports={toLineHeight:function(t,e){var a=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!a||"normal"===a[1])return 1.2*e;switch(t=+a[2],a[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,a,n,r;return i.isObject(t)?(e=+t.top||0,a=+t.right||0,n=+t.bottom||0,r=+t.left||0):e=a=n=r=+t||0,{top:e,right:a,bottom:n,left:r,height:e+n,width:r+a}},resolve:function(t,e,a){var n,r,s;for(n=0,r=t.length;n<r;++n)if(void 0!==(s=t[n])&&(void 0!==e&&"function"==typeof s&&(s=s(e)),void 0!==a&&i.isArray(s)&&(s=s[a]),void 0!==s))return s}}},{43:43}],46:[function(t,e,a){e.exports=t(43),e.exports.easing=t(44),e.exports.canvas=t(42),e.exports.options=t(45)},{42:42,43:43,44:44,45:45}],47:[function(t,e,a){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],48:[function(t,e,a){var i=t(46),n="$chartjs",r="chartjs-",s=r+"render-monitor",o=r+"render-animation",l=["animationstart","webkitAnimationStart"],c={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function d(t,e){var a=i.getStyle(t,e),n=a&&a.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var u=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function p(t,e,a){t.addEventListener(e,a,u)}function h(t,e,a){t.removeEventListener(e,a,u)}function g(t,e,a,i,n){return{type:t,chart:e,native:n||null,x:void 0!==a?a:null,y:void 0!==i?i:null}}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t,e,a,i="from{opacity:0.99}to{opacity:1}";e="@-webkit-keyframes "+o+"{"+i+"}@keyframes "+o+"{"+i+"}."+s+"{-webkit-animation:"+o+" 0.001s;animation:"+o+" 0.001s;}",a=(t=this)._style||document.createElement("style"),t._style||(e="/* Chart.js */\n"+e,(t._style=a).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(a)),a.appendChild(document.createTextNode(e))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var a=t&&t.getContext&&t.getContext("2d");return a&&a.canvas===t?(function(t,e){var a=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[n]={initial:{height:i,width:r,style:{display:a.display,height:a.height,width:a.width}}},a.display=a.display||"block",null===r||""===r){var s=d(t,"width");void 0!==s&&(t.width=s)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=d(t,"height");void 0!==s&&(t.height=o)}}(t,e),a):null},releaseContext:function(t){var e=t.canvas;if(e[n]){var a=e[n].initial;["height","width"].forEach(function(t){var n=a[t];i.isNullOrUndef(n)?e.removeAttribute(t):e.setAttribute(t,n)}),i.each(a.style||{},function(t,a){e.style[a]=t}),e.width=e.width,delete e[n]}},addEventListener:function(t,e,a){var d=t.canvas;if("resize"!==e){var u=a[n]||(a[n]={});p(d,e,(u.proxies||(u.proxies={}))[t.id+"_"+e]=function(e){var n,r,s;a((r=t,g(c[(n=e).type]||n.type,r,(s=i.getRelativePosition(n,r)).x,s.y,n)))})}else!function(t,e,a){var c,d,u,h,f,m,_,A,v=t[n]||(t[n]={}),M=v.resizer=function(t){var e=document.createElement("div"),a=r+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=a,e.innerHTML='<div class="'+a+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+a+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var n=e.childNodes[0],s=e.childNodes[1];e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,s.scrollLeft=1e6,s.scrollTop=1e6};var o=function(){e._reset(),t()};return p(n,"scroll",o.bind(n,"expand")),p(s,"scroll",o.bind(s,"shrink")),e}((u=!(c=function(){if(v.resizer)return e(g("resize",a))}),h=[],function(){h=Array.prototype.slice.call(arguments),d=d||this,u||(u=!0,i.requestAnimFrame.call(window,function(){u=!1,c.apply(d,h)}))}));m=function(){if(v.resizer){var e=t.parentNode;e&&e!==M.parentNode&&e.insertBefore(M,e.firstChild),M._reset()}},_=(f=t)[n]||(f[n]={}),A=_.renderProxy=function(t){t.animationName===o&&m()},i.each(l,function(t){p(f,t,A)}),_.reflow=!!f.offsetParent,f.classList.add(s)}(d,a,t)},removeEventListener:function(t,e,a){var r=t.canvas;if("resize"!==e){var o=((a[n]||{}).proxies||{})[t.id+"_"+e];o&&h(r,e,o)}else!function(t){var e,a,r,o=t[n]||{},c=o.resizer;delete o.resizer,a=(e=t)[n]||{},(r=a.renderProxy)&&(i.each(l,function(t){h(e,t,r)}),delete a.renderProxy),e.classList.remove(s),c&&c.parentNode&&c.parentNode.removeChild(c)}(r)}},i.addEvent=p,i.removeEvent=h},{46:46}],49:[function(t,e,a){var i=t(46),n=t(47),r=t(48),s=r._enabled?r:n;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},s)},{46:46,47:47,48:48}],50:[function(t,e,a){e.exports={},e.exports.filler=t(51),e.exports.legend=t(52),e.exports.title=t(53)},{51:51,52:52,53:53}],51:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("global",{plugins:{filler:{propagate:!0}}});var s={dataset:function(t){var e=t.fill,a=t.chart,i=a.getDatasetMeta(e),n=i&&a.isDatasetVisible(e)&&i.dataset._children||[],r=n.length||0;return r?function(t,e){return e<r&&n[e]._view||null}:null},boundary:function(t){var e=t.boundary,a=e?e.x:null,i=e?e.y:null;return function(t){return{x:null===a?t.x:a,y:null===i?t.y:i}}}};function o(t,e,a){var i,n=t._model||{},r=n.fill;if(void 0===r&&(r=!!n.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||a<=i)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function l(t){var e,a=t.el._model||{},i=t.el._scale||{},n=t.fill,r=null;if(isFinite(n))return null;if("start"===n?r=void 0===a.scaleBottom?i.bottom:a.scaleBottom:"end"===n?r=void 0===a.scaleTop?i.top:a.scaleTop:void 0!==a.scaleZero?r=a.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(e=i.isHorizontal())?r:null,y:e?null:r}}return null}function c(t,e,a){var i,n=t[e].fill,r=[e];if(!a)return n;for(;!1!==n&&-1===r.indexOf(n);){if(!isFinite(n))return n;if(!(i=t[n]))return!1;if(i.visible)return n;r.push(n),n=i.fill}return!1}function d(t){return t&&!t.skip}function u(t,e,a,i,n){var s;if(i&&n){for(t.moveTo(e[0].x,e[0].y),s=1;s<i;++s)r.canvas.lineTo(t,e[s-1],e[s]);for(t.lineTo(a[n-1].x,a[n-1].y),s=n-1;0<s;--s)r.canvas.lineTo(t,a[s],a[s-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(t,e){var a,i,r,d,u,p,h,g=(t.data.datasets||[]).length,f=e.propagate,m=[];for(i=0;i<g;++i)d=null,(r=(a=t.getDatasetMeta(i)).dataset)&&r._model&&r instanceof n.Line&&(d={visible:t.isDatasetVisible(i),fill:o(r,i,g),chart:t,el:r}),a.$filler=d,m.push(d);for(i=0;i<g;++i)(d=m[i])&&(d.fill=c(m,i,f),d.boundary=l(d),d.mapper=(h=void 0,!(h="dataset")===(p=(u=d).fill)?null:(isFinite(p)||(h="boundary"),s[h](u))))},beforeDatasetDraw:function(t,e){var a=e.meta.$filler;if(a){var n=t.ctx,s=a.el,o=s._view,l=s._children||[],c=a.mapper,p=o.backgroundColor||i.global.defaultColor;c&&p&&l.length&&(r.canvas.clipArea(n,t.chartArea),function(t,e,a,i,n,r){var s,o,l,c,p,h,g,f=e.length,m=i.spanGaps,_=[],A=[],v=0,M=0;for(t.beginPath(),s=0,o=f+!!r;s<o;++s)p=a(c=e[l=s%f]._view,l,i),h=d(c),g=d(p),h&&g?(v=_.push(c),M=A.push(p)):v&&M&&(m?(h&&_.push(c),g&&A.push(p)):(u(t,_,A,v,M),v=M=0,_=[],A=[]));u(t,_,A,v,M),t.closePath(),t.fillStyle=n,t.fill()}(n,l,c,o,p,s._loop),r.canvas.unclipArea(n))}}}},{26:26,41:41,46:46}],52:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=t(31),o=r.noop;function l(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}i._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var a=e.datasetIndex,i=this.chart,n=i.getDatasetMeta(a);n.hidden=null===n.hidden?!i.data.datasets[a].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return r.isArray(e.datasets)?e.datasets.map(function(e,a){return{text:e.label,fillStyle:r.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(a),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:a}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var a=0;a<t.data.datasets.length;a++)e.push('<li><span style="background-color:'+t.data.datasets[a].backgroundColor+'"></span>'),t.data.datasets[a].label&&e.push(t.data.datasets[a].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var c=n.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:o,update:function(t,e,a){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=a,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:function(){var t=this,e=t.options.labels||{},a=r.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(a=a.filter(function(a){return e.filter(a,t.chart.data)})),t.options.reverse&&a.reverse(),t.legendItems=a},afterBuildLabels:o,beforeFit:o,fit:function(){var t=this,e=t.options,a=e.labels,n=e.display,s=t.ctx,o=i.global,c=r.valueOrDefault,d=c(a.fontSize,o.defaultFontSize),u=c(a.fontStyle,o.defaultFontStyle),p=c(a.fontFamily,o.defaultFontFamily),h=r.fontString(d,u,p),g=t.legendHitBoxes=[],f=t.minSize,m=t.isHorizontal();if(f.height=m?(f.width=t.maxWidth,n?10:0):(f.width=n?10:0,t.maxHeight),n)if(s.font=h,m){var _=t.lineWidths=[0],A=t.legendItems.length?d+a.padding:0;s.textAlign="left",s.textBaseline="top",r.each(t.legendItems,function(e,i){var n=l(a,d)+d/2+s.measureText(e.text).width;_[_.length-1]+n+a.padding>=t.width&&(A+=d+a.padding,_[_.length]=t.left),g[i]={left:0,top:0,width:n,height:d},_[_.length-1]+=n+a.padding}),f.height+=A}else{var v=a.padding,M=t.columnWidths=[],y=a.padding,b=0,w=0,x=d+v;r.each(t.legendItems,function(t,e){var i=l(a,d)+d/2+s.measureText(t.text).width;w+x>f.height&&(y+=b+a.padding,M.push(b),w=b=0),b=Math.max(b,i),w+=x,g[e]={left:0,top:0,width:i,height:d}}),y+=b,M.push(b),f.width+=y}t.width=f.width,t.height=f.height},afterFit:o,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,a=e.labels,n=i.global,s=n.elements.line,o=t.width,c=t.lineWidths;if(e.display){var d,u=t.ctx,p=r.valueOrDefault,h=p(a.fontColor,n.defaultFontColor),g=p(a.fontSize,n.defaultFontSize),f=p(a.fontStyle,n.defaultFontStyle),m=p(a.fontFamily,n.defaultFontFamily),_=r.fontString(g,f,m);u.textAlign="left",u.textBaseline="middle",u.lineWidth=.5,u.strokeStyle=h,u.fillStyle=h,u.font=_;var A=l(a,g),v=t.legendHitBoxes,M=t.isHorizontal();d=M?{x:t.left+(o-c[0])/2,y:t.top+a.padding,line:0}:{x:t.left+a.padding,y:t.top+a.padding,line:0};var y=g+a.padding;r.each(t.legendItems,function(i,l){var h,f,m,_,b,w=u.measureText(i.text).width,x=A+g/2+w,C=d.x,N=d.y;M?o<=C+x&&(N=d.y+=y,d.line++,C=d.x=t.left+(o-c[d.line])/2):N+y>t.bottom&&(C=d.x=C+t.columnWidths[d.line]+a.padding,N=d.y=t.top+a.padding,d.line++),function(t,a,i){if(!(isNaN(A)||A<=0)){u.save(),u.fillStyle=p(i.fillStyle,n.defaultColor),u.lineCap=p(i.lineCap,s.borderCapStyle),u.lineDashOffset=p(i.lineDashOffset,s.borderDashOffset),u.lineJoin=p(i.lineJoin,s.borderJoinStyle),u.lineWidth=p(i.lineWidth,s.borderWidth),u.strokeStyle=p(i.strokeStyle,n.defaultColor);var o=0===p(i.lineWidth,s.borderWidth);if(u.setLineDash&&u.setLineDash(p(i.lineDash,s.borderDash)),e.labels&&e.labels.usePointStyle){var l=g*Math.SQRT2/2,c=l/Math.SQRT2,d=t+c,h=a+c;r.canvas.drawPoint(u,i.pointStyle,l,d,h)}else o||u.strokeRect(t,a,A,g),u.fillRect(t,a,A,g);u.restore()}}(C,N,i),v[l].left=C,v[l].top=N,h=i,f=w,_=A+(m=g/2)+C,b=N+m,u.fillText(h.text,_,b),h.hidden&&(u.beginPath(),u.lineWidth=2,u.moveTo(_,b),u.lineTo(_+f,b),u.stroke()),M?d.x+=x+a.padding:d.y+=y})}},handleEvent:function(t){var e=this,a=e.options,i="mouseup"===t.type?"click":t.type,n=!1;if("mousemove"===i){if(!a.onHover)return}else{if("click"!==i)return;if(!a.onClick)return}var r=t.x,s=t.y;if(r>=e.left&&r<=e.right&&s>=e.top&&s<=e.bottom)for(var o=e.legendHitBoxes,l=0;l<o.length;++l){var c=o[l];if(r>=c.left&&r<=c.left+c.width&&s>=c.top&&s<=c.top+c.height){if("click"===i){a.onClick.call(e,t.native,e.legendItems[l]),n=!0;break}if("mousemove"===i){a.onHover.call(e,t.native,e.legendItems[l]),n=!0;break}}}return n}});function d(t,e){var a=new c({ctx:t.ctx,options:e,chart:t});s.configure(t,a,e),s.addBox(t,a),t.legend=a}e.exports={id:"legend",_element:c,beforeInit:function(t){var e=t.options.legend;e&&d(t,e)},beforeUpdate:function(t){var e=t.options.legend,a=t.legend;e?(r.mergeIf(e,i.global.legend),a?(s.configure(t,a,e),a.options=e):d(t,e)):a&&(s.removeBox(t,a),delete t.legend)},afterEvent:function(t,e){var a=t.legend;a&&a.handleEvent(e)}}},{26:26,27:27,31:31,46:46}],53:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=t(31),o=r.noop;i._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var l=n.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:o,update:function(t,e,a){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=a,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:o,afterBuildLabels:o,beforeFit:o,fit:function(){var t=this,e=r.valueOrDefault,a=t.options,n=a.display,s=e(a.fontSize,i.global.defaultFontSize),o=t.minSize,l=r.isArray(a.text)?a.text.length:1,c=r.options.toLineHeight(a.lineHeight,s),d=n?l*c+2*a.padding:0;t.isHorizontal()?(o.width=t.maxWidth,o.height=d):(o.width=d,o.height=t.maxHeight),t.width=o.width,t.height=o.height},afterFit:o,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,a=r.valueOrDefault,n=t.options,s=i.global;if(n.display){var o,l,c,d=a(n.fontSize,s.defaultFontSize),u=a(n.fontStyle,s.defaultFontStyle),p=a(n.fontFamily,s.defaultFontFamily),h=r.fontString(d,u,p),g=r.options.toLineHeight(n.lineHeight,d),f=g/2+n.padding,m=0,_=t.top,A=t.left,v=t.bottom,M=t.right;e.fillStyle=a(n.fontColor,s.defaultFontColor),e.font=h,t.isHorizontal()?(l=A+(M-A)/2,c=_+f,o=M-A):(l="left"===n.position?A+f:M-f,c=_+(v-_)/2,o=v-_,m=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(l,c),e.rotate(m),e.textAlign="center",e.textBaseline="middle";var y=n.text;if(r.isArray(y))for(var b=0,w=0;w<y.length;++w)e.fillText(y[w],0,b,o),b+=g;else e.fillText(y,0,0,o);e.restore()}}});function c(t,e){var a=new l({ctx:t.ctx,options:e,chart:t});s.configure(t,a,e),s.addBox(t,a),t.titleBlock=a}e.exports={id:"title",_element:l,beforeInit:function(t){var e=t.options.title;e&&c(t,e)},beforeUpdate:function(t){var e=t.options.title,a=t.titleBlock;e?(r.mergeIf(e,i.global.title),a?(s.configure(t,a,e),a.options=e):c(t,e)):a&&(s.removeBox(t,a),delete t.titleBlock)}}},{26:26,27:27,31:31,46:46}],54:[function(t,e,a){var i=t(33),n=t(34);e.exports=function(){var t=i.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,a=e.getLabels();e.minIndex=0,e.maxIndex=a.length-1,void 0!==e.options.ticks.min&&(t=a.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=a.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=a[e.minIndex],e.max=a[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var a=this,i=a.chart.data,n=a.isHorizontal();return i.yLabels&&!n?a.getRightValue(i.datasets[e].data[t]):a.ticks[t-a.minIndex]},getPixelForValue:function(t,e){var a,i=this,n=i.options.offset,r=Math.max(i.maxIndex+1-i.minIndex-(n?0:1),1);if(null!=t&&(a=i.isHorizontal()?t.x:t.y),void 0!==a||void 0!==t&&isNaN(e)){t=a||t;var s=i.getLabels().indexOf(t);e=-1!==s?s:e}if(i.isHorizontal()){var o=i.width/r,l=o*(e-i.minIndex);return n&&(l+=o/2),i.left+Math.round(l)}var c=i.height/r,d=c*(e-i.minIndex);return n&&(d+=c/2),i.top+Math.round(d)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,a=e.options.offset,i=Math.max(e._ticks.length-(a?0:1),1),n=e.isHorizontal(),r=(n?e.width:e.height)/i;return t-=n?e.left:e.top,a&&(t-=r/2),(t<=0?0:Math.round(t/r))+e.minIndex},getBasePixel:function(){return this.bottom}});n.registerScaleType("category",t,{position:"bottom"})}},{33:33,34:34}],55:[function(t,e,a){var i=t(26),n=t(46),r=t(34),s=t(35);e.exports=function(t){var e={position:"left",ticks:{callback:s.formatters.linear}},a=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,e=t.options,a=t.chart,i=a.data.datasets,r=t.isHorizontal();function s(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var o=e.stacked;if(void 0===o&&n.each(i,function(t,e){if(!o){var i=a.getDatasetMeta(e);a.isDatasetVisible(e)&&s(i)&&void 0!==i.stack&&(o=!0)}}),e.stacked||o){var l={};n.each(i,function(i,r){var o=a.getDatasetMeta(r),c=[o.type,void 0===e.stacked&&void 0===o.stack?r:"",o.stack].join(".");void 0===l[c]&&(l[c]={positiveValues:[],negativeValues:[]});var d=l[c].positiveValues,u=l[c].negativeValues;a.isDatasetVisible(r)&&s(o)&&n.each(i.data,function(a,i){var n=+t.getRightValue(a);isNaN(n)||o.data[i].hidden||(d[i]=d[i]||0,u[i]=u[i]||0,e.relativePoints?d[i]=100:n<0?u[i]+=n:d[i]+=n)})}),n.each(l,function(e){var a=e.positiveValues.concat(e.negativeValues),i=n.min(a),r=n.max(a);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?r:Math.max(t.max,r)})}else n.each(i,function(e,i){var r=a.getDatasetMeta(i);a.isDatasetVisible(i)&&s(r)&&n.each(e.data,function(e,a){var i=+t.getRightValue(e);isNaN(i)||r.data[a].hidden||(null===t.min?t.min=i:i<t.min&&(t.min=i),null===t.max?t.max=i:i>t.max&&(t.max=i))})});t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var a=n.valueOrDefault(e.fontSize,i.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*a)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,a=e.start,i=+e.getRightValue(t),n=e.end-a;return e.isHorizontal()?e.left+e.width/n*(i-a):e.bottom-e.height/n*(i-a)},getValueForPixel:function(t){var e=this,a=e.isHorizontal(),i=a?e.width:e.height,n=(a?t-e.left:e.bottom-t)/i;return e.start+(e.end-e.start)*n},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});r.registerScaleType("linear",a,e)}},{26:26,34:34,35:35,46:46}],56:[function(t,e,a){var i=t(46),n=t(33);e.exports=function(t){var e=i.noop;t.LinearScaleBase=n.extend({getRightValue:function(t){return"string"==typeof t?+t:n.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var a=i.sign(t.min),n=i.sign(t.max);a<0&&n<0?t.max=0:0<a&&0<n&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,s=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==s&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,a=t.getTickLimit(),n={maxTicks:a=Math.max(2,a),min:e.min,max:e.max,precision:e.precision,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var a,n,r,s=[];if(t.stepSize&&0<t.stepSize)r=t.stepSize;else{var o=i.niceNum(e.max-e.min,!1);r=i.niceNum(o/(t.maxTicks-1),!0),void 0!==(n=t.precision)&&(a=Math.pow(10,n),r=Math.ceil(r*a)/a)}var l=Math.floor(e.min/r)*r,c=Math.ceil(e.max/r)*r;i.isNullOrUndef(t.min)||i.isNullOrUndef(t.max)||!t.stepSize||i.almostWhole((t.max-t.min)/t.stepSize,r/1e3)&&(l=t.min,c=t.max);var d=(c-l)/r;d=i.almostEquals(d,Math.round(d),r/1e3)?Math.round(d):Math.ceil(d),r<(n=1)&&(n=Math.pow(10,1-Math.floor(i.log10(r))),l=Math.round(l*n)/n,c=Math.round(c*n)/n),s.push(void 0!==t.min?t.min:l);for(var u=1;u<d;++u)s.push(Math.round((l+u*r)*n)/n);return s.push(void 0!==t.max?t.max:c),s}(n,t);t.handleDirectionalChanges(),t.max=i.max(r),t.min=i.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),n.prototype.convertTicksToLabels.call(t)}})}},{33:33,46:46}],57:[function(t,e,a){var i=t(46),n=t(33),r=t(34),s=t(35);e.exports=function(t){var e={position:"left",ticks:{callback:s.formatters.logarithmic}},a=n.extend({determineDataLimits:function(){var t=this,e=t.options,a=t.chart,n=a.data.datasets,r=t.isHorizontal();function s(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var o=e.stacked;if(void 0===o&&i.each(n,function(t,e){if(!o){var i=a.getDatasetMeta(e);a.isDatasetVisible(e)&&s(i)&&void 0!==i.stack&&(o=!0)}}),e.stacked||o){var l={};i.each(n,function(n,r){var o=a.getDatasetMeta(r),c=[o.type,void 0===e.stacked&&void 0===o.stack?r:"",o.stack].join(".");a.isDatasetVisible(r)&&s(o)&&(void 0===l[c]&&(l[c]=[]),i.each(n.data,function(e,a){var i=l[c],n=+t.getRightValue(e);isNaN(n)||o.data[a].hidden||n<0||(i[a]=i[a]||0,i[a]+=n)}))}),i.each(l,function(e){if(0<e.length){var a=i.min(e),n=i.max(e);t.min=null===t.min?a:Math.min(t.min,a),t.max=null===t.max?n:Math.max(t.max,n)}})}else i.each(n,function(e,n){var r=a.getDatasetMeta(n);a.isDatasetVisible(n)&&s(r)&&i.each(e.data,function(e,a){var i=+t.getRightValue(e);isNaN(i)||r.data[a].hidden||i<0||(null===t.min?t.min=i:i<t.min&&(t.min=i),null===t.max?t.max=i:i>t.max&&(t.max=i),0!==i&&(null===t.minNotZero||i<t.minNotZero)&&(t.minNotZero=i))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,a=i.valueOrDefault;t.min=a(e.min,t.min),t.max=a(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(i.log10(t.min))-1),t.max=Math.pow(10,Math.floor(i.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(i.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(i.log10(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(i.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,a=!t.isHorizontal(),n={min:e.min,max:e.max},r=t.ticks=function(t,e){var a,n,r=[],s=i.valueOrDefault,o=s(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),l=Math.floor(i.log10(e.max)),c=Math.ceil(e.max/Math.pow(10,l));0===o?(a=Math.floor(i.log10(e.minNotZero)),n=Math.floor(e.minNotZero/Math.pow(10,a)),r.push(o),o=n*Math.pow(10,a)):(a=Math.floor(i.log10(o)),n=Math.floor(o/Math.pow(10,a)));for(var d=a<0?Math.pow(10,Math.abs(a)):1;r.push(o),10==++n&&(n=1,d=0<=++a?1:d),o=Math.round(n*Math.pow(10,a)*d)/d,a<l||a===l&&n<c;);var u=s(t.max,o);return r.push(u),r}(n,t);t.max=i.max(r),t.min=i.min(r),e.reverse?(a=!a,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),a&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),n.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(i.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(e){var a,n,r,s,o,l=this,c=l.options.ticks.reverse,d=i.log10,u=l._getFirstTickValue(l.minNotZero),p=0;return e=+l.getRightValue(e),o=c?(r=l.end,s=l.start,-1):(r=l.start,s=l.end,1),n=l.isHorizontal()?(a=l.width,c?l.right:l.left):(a=l.height,o*=-1,c?l.top:l.bottom),e!==r&&(0===r&&(a-=p=i.getValueOrDefault(l.options.ticks.fontSize,t.defaults.global.defaultFontSize),r=u),0!==e&&(p+=a/(d(s)-d(r))*(d(e)-d(r))),n+=o*p),n},getValueForPixel:function(e){var a,n,r,s,o=this,l=o.options.ticks.reverse,c=i.log10,d=o._getFirstTickValue(o.minNotZero);if(r=l?(n=o.end,o.start):(n=o.start,o.end),(s=o.isHorizontal()?(a=o.width,l?o.right-e:e-o.left):(a=o.height,l?e-o.top:o.bottom-e))!==n){if(0===n){var u=i.getValueOrDefault(o.options.ticks.fontSize,t.defaults.global.defaultFontSize);s-=u,a-=u,n=d}s*=c(r)-c(n),s/=a,s=Math.pow(10,c(n)+s)}return s}});r.registerScaleType("logarithmic",a,e)}},{33:33,34:34,35:35,46:46}],58:[function(t,e,a){var i=t(26),n=t(46),r=t(34),s=t(35);e.exports=function(t){var e=i.global,a={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:s.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function o(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function l(t){var a=t.options.pointLabels,i=n.valueOrDefault(a.fontSize,e.defaultFontSize),r=n.valueOrDefault(a.fontStyle,e.defaultFontStyle),s=n.valueOrDefault(a.fontFamily,e.defaultFontFamily);return{size:i,style:r,family:s,font:n.fontString(i,r,s)}}function c(t,e,a,i,n){return t===i||t===n?{start:e-a/2,end:e+a/2}:t<i||n<t?{start:e-a-5,end:e}:{start:e,end:e+a+5}}function d(t,e,a,i){if(n.isArray(e))for(var r=a.y,s=1.5*i,o=0;o<e.length;++o)t.fillText(e[o],a.x,r),r+=s;else t.fillText(e,a.x,a.y)}function u(t){return n.isNumber(t)?t:0}var p=t.LinearScaleBase.extend({setDimensions:function(){var t=this,a=t.options,i=a.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var r=n.min([t.height,t.width]),s=n.valueOrDefault(i.fontSize,e.defaultFontSize);t.drawingArea=a.display?r/2-(s/2+i.backdropPaddingY):r/2},determineDataLimits:function(){var t=this,e=t.chart,a=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;n.each(e.data.datasets,function(r,s){if(e.isDatasetVisible(s)){var o=e.getDatasetMeta(s);n.each(r.data,function(e,n){var r=+t.getRightValue(e);isNaN(r)||o.data[n].hidden||(a=Math.min(r,a),i=Math.max(r,i))})}}),t.min=a===Number.POSITIVE_INFINITY?0:a,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,a=n.valueOrDefault(t.fontSize,e.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*a)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,e;this.options.pointLabels.display?function(t){var e,a,i,r=l(t),s=Math.min(t.height/2,t.width/2),d={r:t.width,l:0,t:t.height,b:0},u={};t.ctx.font=r.font,t._pointLabelSizes=[];var p,h,g,f=o(t);for(e=0;e<f;e++){i=t.getPointPosition(e,s),p=t.ctx,h=r.size,g=t.pointLabels[e]||"",a=n.isArray(g)?{w:n.longestText(p,p.font,g),h:g.length*h+1.5*(g.length-1)*h}:{w:p.measureText(g).width,h:h},t._pointLabelSizes[e]=a;var m=t.getIndexAngle(e),_=n.toDegrees(m)%360,A=c(_,i.x,a.w,0,180),v=c(_,i.y,a.h,90,270);A.start<d.l&&(d.l=A.start,u.l=m),A.end>d.r&&(d.r=A.end,u.r=m),v.start<d.t&&(d.t=v.start,u.t=m),v.end>d.b&&(d.b=v.end,u.b=m)}t.setReductions(s,d,u)}(this):(t=this,e=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,a){var i=e.l/Math.sin(a.l),n=Math.max(e.r-this.width,0)/Math.sin(a.r),r=-e.t/Math.cos(a.t),s=-Math.max(e.b-this.height,0)/Math.cos(a.b);i=u(i),n=u(n),r=u(r),s=u(s),this.drawingArea=Math.min(Math.round(t-(i+n)/2),Math.round(t-(r+s)/2)),this.setCenterPoint(i,n,r,s)},setCenterPoint:function(t,e,a,i){var n=this,r=n.width-e-n.drawingArea,s=t+n.drawingArea,o=a+n.drawingArea,l=n.height-i-n.drawingArea;n.xCenter=Math.round((s+r)/2+n.left),n.yCenter=Math.round((o+l)/2+n.top)},getIndexAngle:function(t){return t*(2*Math.PI/o(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var a=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*a:(t-e.min)*a},getPointPosition:function(t,e){var a=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(a)*e)+this.xCenter,y:Math.round(Math.sin(a)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0)},draw:function(){var t=this,a=t.options,i=a.gridLines,r=a.ticks,s=n.valueOrDefault;if(a.display){var c=t.ctx,u=this.getIndexAngle(0),p=s(r.fontSize,e.defaultFontSize),h=s(r.fontStyle,e.defaultFontStyle),g=s(r.fontFamily,e.defaultFontFamily),f=n.fontString(p,h,g);n.each(t.ticks,function(a,l){if(0<l||r.reverse){var d=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]);if(i.display&&0!==l&&function(t,e,a,i){var r=t.ctx;if(r.strokeStyle=n.valueAtIndexOrDefault(e.color,i-1),r.lineWidth=n.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)r.beginPath(),r.arc(t.xCenter,t.yCenter,a,0,2*Math.PI),r.closePath(),r.stroke();else{var s=o(t);if(0===s)return;r.beginPath();var l=t.getPointPosition(0,a);r.moveTo(l.x,l.y);for(var c=1;c<s;c++)l=t.getPointPosition(c,a),r.lineTo(l.x,l.y);r.closePath(),r.stroke()}}(t,i,d,l),r.display){var h=s(r.fontColor,e.defaultFontColor);if(c.font=f,c.save(),c.translate(t.xCenter,t.yCenter),c.rotate(u),r.showLabelBackdrop){var g=c.measureText(a).width;c.fillStyle=r.backdropColor,c.fillRect(-g/2-r.backdropPaddingX,-d-p/2-r.backdropPaddingY,g+2*r.backdropPaddingX,p+2*r.backdropPaddingY)}c.textAlign="center",c.textBaseline="middle",c.fillStyle=h,c.fillText(a,0,-d),c.restore()}}}),(a.angleLines.display||a.pointLabels.display)&&function(t){var a=t.ctx,i=t.options,r=i.angleLines,s=i.pointLabels;a.lineWidth=r.lineWidth,a.strokeStyle=r.color;var c,u,p,h,g=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),f=l(t);a.textBaseline="top";for(var m=o(t)-1;0<=m;m--){if(r.display){var _=t.getPointPosition(m,g);a.beginPath(),a.moveTo(t.xCenter,t.yCenter),a.lineTo(_.x,_.y),a.stroke(),a.closePath()}if(s.display){var A=t.getPointPosition(m,g+5),v=n.valueAtIndexOrDefault(s.fontColor,m,e.defaultFontColor);a.font=f.font,a.fillStyle=v;var M=t.getIndexAngle(m),y=n.toDegrees(M);a.textAlign=0===(h=y)||180===h?"center":h<180?"left":"right",c=y,u=t._pointLabelSizes[m],p=A,90===c||270===c?p.y-=u.h/2:(270<c||c<90)&&(p.y-=u.h),d(a,t.pointLabels[m]||"",A,f.size)}}}(t)}}});r.registerScaleType("radialLinear",p,a)}},{26:26,34:34,35:35,46:46}],59:[function(t,e,a){var i=t(1);i="function"==typeof i?i:window.moment;var n=t(26),r=t(46),s=t(33),o=t(34),l=Number.MIN_SAFE_INTEGER||-9007199254740991,c=Number.MAX_SAFE_INTEGER||9007199254740991,d={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},u=Object.keys(d);function p(t,e){return t-e}function h(t){var e,a,i,n={},r=[];for(e=0,a=t.length;e<a;++e)n[i=t[e]]||(n[i]=!0,r.push(i));return r}function g(t,e,a,i){var n=function(t,e,a){for(var i,n,r,s=0,o=t.length-1;0<=s&&s<=o;){if(n=t[(i=s+o>>1)-1]||null,r=t[i],!n)return{lo:null,hi:r};if(r[e]<a)s=i+1;else{if(!(n[e]>a))return{lo:n,hi:r};o=i-1}}return{lo:r,hi:null}}(t,e,a),r=n.lo?n.hi?n.lo:t[t.length-2]:t[0],s=n.lo?n.hi?n.hi:t[t.length-1]:t[1],o=s[e]-r[e],l=o?(a-r[e])/o:0,c=(s[i]-r[i])*l;return r[i]+c}function f(t,e){var a=e.parser,n=e.parser||e.format;return"function"==typeof a?a(t):"string"==typeof t&&"string"==typeof n?i(t,n):(t instanceof i||(t=i(t)),t.isValid()?t:"function"==typeof n?n(t):t)}function m(t,e){if(r.isNullOrUndef(t))return null;var a=e.options.time,i=f(e.getRightValue(t),a);return i.isValid()?(a.round&&i.startOf(a.round),i.valueOf()):null}function _(t){for(var e=u.indexOf(t)+1,a=u.length;e<a;++e)if(d[u[e]].common)return u[e]}function A(t,e,a,n){var s,o=n.time,l=o.unit||function(t,e,a,i){var n,r,s,o=u.length;for(n=u.indexOf(t);n<o-1;++n)if(s=(r=d[u[n]]).steps?r.steps[r.steps.length-1]:c,r.common&&Math.ceil((a-e)/(s*r.size))<=i)return u[n];return u[o-1]}(o.minUnit,t,e,a),p=_(l),h=r.valueOrDefault(o.stepSize,o.unitStepSize),g="week"===l&&o.isoWeekday,f=n.ticks.major.enabled,m=d[l],A=i(t),v=i(e),M=[];for(h||(h=function(t,e,a,i){var n,r,s,o=e-t,l=d[a],c=l.size,u=l.steps;if(!u)return Math.ceil(o/(i*c));for(n=0,r=u.length;n<r&&(s=u[n],!(Math.ceil(o/(c*s))<=i));++n);return s}(t,e,l,a)),g&&(A=A.isoWeekday(g),v=v.isoWeekday(g)),A=A.startOf(g?"day":l),(v=v.startOf(g?"day":l))<e&&v.add(1,l),s=i(A),f&&p&&!g&&!o.round&&(s.startOf(p),s.add(~~((A-s)/(m.size*h))*h,l));s<v;s.add(h,l))M.push(+s);return M.push(+s),M}e.exports=function(){var t=s.extend({initialize:function(){if(!i)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),s.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),s.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),s.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,a,n,s,o,d=this,u=d.chart,g=d.options.time,f=g.unit||"day",_=c,A=l,v=[],M=[],y=[];for(t=0,a=u.data.labels.length;t<a;++t)y.push(m(u.data.labels[t],d));for(t=0,a=(u.data.datasets||[]).length;t<a;++t)if(u.isDatasetVisible(t))if(s=u.data.datasets[t].data,r.isObject(s[0]))for(M[t]=[],e=0,n=s.length;e<n;++e)o=m(s[e],d),v.push(o),M[t][e]=o;else v.push.apply(v,y),M[t]=y.slice(0);else M[t]=[];y.length&&(y=h(y).sort(p),_=Math.min(_,y[0]),A=Math.max(A,y[y.length-1])),v.length&&(v=h(v).sort(p),_=Math.min(_,v[0]),A=Math.max(A,v[v.length-1])),_=m(g.min,d)||_,A=m(g.max,d)||A,_=_===c?+i().startOf(f):_,A=A===l?+i().endOf(f)+1:A,d.min=Math.min(_,A),d.max=Math.max(_+1,A),d._horizontal=d.isHorizontal(),d._table=[],d._timestamps={data:v,datasets:M,labels:y}},buildTicks:function(){var t,e,a,n,r,s,o,l,c,p,h,v,M=this,y=M.min,b=M.max,w=M.options,x=w.time,C=[],N=[];switch(w.ticks.source){case"data":C=M._timestamps.data;break;case"labels":C=M._timestamps.labels;break;case"auto":default:C=A(y,b,M.getLabelCapacity(y),w)}for("ticks"===w.bounds&&C.length&&(y=C[0],b=C[C.length-1]),y=m(x.min,M)||y,b=m(x.max,M)||b,t=0,e=C.length;t<e;++t)y<=(a=C[t])&&a<=b&&N.push(a);return M.min=y,M.max=b,M._unit=x.unit||function(t,e,a,n){var r,s,o=i.duration(i(n).diff(i(a)));for(r=u.length-1;r>=u.indexOf(e);r--)if(s=u[r],d[s].common&&o.as(s)>=t.length)return s;return u[e?u.indexOf(e):0]}(N,x.minUnit,M.min,M.max),M._majorUnit=_(M._unit),M._table=function(t,e,a,i){if("linear"===w.distribution||!t.length)return[{time:e,pos:0},{time:a,pos:1}];var n,r,s,o,l,c=[],d=[e];for(n=0,r=t.length;n<r;++n)e<(o=t[n])&&o<a&&d.push(o);for(d.push(a),n=0,r=d.length;n<r;++n)l=d[n+1],s=d[n-1],o=d[n],void 0!==s&&void 0!==l&&Math.round((l+s)/2)===o||c.push({time:o,pos:n/(r-1)});return c}(M._timestamps.data,y,b),M._offsets=(n=M._table,r=N,s=y,o=b,v=h=0,(l=w).offset&&r.length&&(l.time.min||(c=1<r.length?r[1]:o,p=r[0],h=(g(n,"time",c,"pos")-g(n,"time",p,"pos"))/2),l.time.max||(c=r[r.length-1],p=1<r.length?r[r.length-2]:s,v=(g(n,"time",c,"pos")-g(n,"time",p,"pos"))/2)),{left:h,right:v}),M._labelFormat=function(t,e){var a,i,n,r=t.length;for(a=0;a<r;a++){if(0!==(i=f(t[a],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===i.second()&&0===i.minute()&&0===i.hour()||(n=!0)}return n?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(M._timestamps.data,x),function(t,e){var a,n,r,s,o=[];for(a=0,n=t.length;a<n;++a)r=t[a],s=!!e&&r===+i(r).startOf(e),o.push({value:r,major:s});return o}(N,M._majorUnit)},getLabelForIndex:function(t,e){var a=this.chart.data,i=this.options.time,n=a.labels&&t<a.labels.length?a.labels[t]:"",s=a.datasets[e].data[t];return r.isObject(s)&&(n=this.getRightValue(s)),i.tooltipFormat?f(n,i).format(i.tooltipFormat):"string"==typeof n?n:f(n,i).format(this._labelFormat)},tickFormatFunction:function(t,e,a,i){var n=this.options,s=t.valueOf(),o=n.time.displayFormats,l=o[this._unit],c=this._majorUnit,d=o[c],u=t.clone().startOf(c).valueOf(),p=n.ticks.major,h=p.enabled&&c&&d&&s===u,g=t.format(i||(h?d:l)),f=h?p:n.ticks.minor,m=r.valueOrDefault(f.callback,f.userCallback);return m?m(g,e,a):g},convertTicksToLabels:function(t){var e,a,n=[];for(e=0,a=t.length;e<a;++e)n.push(this.tickFormatFunction(i(t[e].value),e,t));return n},getPixelForOffset:function(t){var e=this,a=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,n=g(e._table,"time",t,"pos");return i+a*(e._offsets.left+n)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,a){var i=null;if(void 0!==e&&void 0!==a&&(i=this._timestamps.datasets[a][e]),null===i&&(i=m(t,this)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,a=e._horizontal?e.width:e.height,n=e._horizontal?e.left:e.top,r=(a?(t-n)/a:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,s=g(e._table,"pos",r,"time");return i(s)},getLabelWidth:function(t){var e=this.options.ticks,a=this.ctx.measureText(t).width,i=r.toRadians(e.maxRotation),s=Math.cos(i),o=Math.sin(i);return a*s+r.valueOrDefault(e.fontSize,n.global.defaultFontSize)*o},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,a=this.tickFormatFunction(i(t),0,[],e),n=this.getLabelWidth(a),r=this.isHorizontal()?this.width:this.height,s=Math.floor(r/n);return 0<s?s:1}});o.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,26:26,33:33,34:34,46:46}]},{},[7])(7)})}).call(e,a(66)(t),a(13))},function(t,e,a){"use strict";var i=a(6),n=a(119),r=(a.n(n),a(120));a.n(r);Object(n.setupCalendar)({firstDayOfWeek:2}),e.a={name:"Datepicker",components:{Dropdown:i.a,Calendar:n.Calendar},props:{value:{type:String}},data:function(){return{pickerAttrs:[{key:"today",highlight:{backgroundColor:"#1A9ED4"},contentStyle:{color:"#fff"},dates:{start:new Date(erp_acct_var.fy_lower_range),end:new Date(erp_acct_var.fy_upper_range)}}],selectedDate:""}},watch:{value:function(t){this.selectedDate=t||this.getCurrentDate(),this.$emit("input",this.selectedDate)}},created:function(){this.$emit("input",this.selectedDate)},methods:{pickerSelect:function(t){var e=t.day<10?"0".concat(t.day):t.day,a=t.month<10?"0".concat(t.month):t.month,i=t.year+"-"+a+"-"+e;this.selectedDate=i,this.$refs.datePicker.click(),this.$emit("input",this.selectedDate)},getCurrentDate:function(){var t=new Date,e=t.getDate(),a=t.getMonth()+1,i=t.getFullYear();return e<10&&(e="0"+e),a<10&&(a="0"+a),t=i+"-"+a+"-"+e}}}},,function(t,e,a){"use strict";var i=a(1);e.a={name:"FileUpload",data:function(){return{fileCount:0,isUploaded:!1,uploadedFiles:[],uploadError:null,currentStatus:null,uploadFieldName:"attachments[]"}},props:{value:{type:Array},url:{type:String,required:!0}},watch:{value:function(t){this.uploadedFiles=this.value,t.length||(this.fileCount=0,this.isUploaded=!1)}},computed:{isInitial:function(){return 0===this.currentStatus},isSaving:function(){return 1===this.currentStatus},isSuccess:function(){return 2===this.currentStatus},isFailed:function(){return 3===this.currentStatus}},methods:{reset:function(){this.currentStatus=0,this.uploadedFiles=[],this.uploadError=null},filesChange:function(t){var e=new FormData,a=t.target.name,i=t.target.files;i.length&&(this.currentStatus=1,this.fileCount=i.length,Array.from(Array(i.length).keys()).map(function(t){e.append(a,i[t],i[t].name)}),this.upload(e))},upload:function(t){var e=this,a=erp_acct_var.site_url,n="".concat(a,"/wp-json/erp/v1/accounting/v1").concat(this.url);return i.a.post(n,t).then(function(t){t.data.map(function(t){e.uploadedFiles.push(t.url)}),e.$emit("input",e.uploadedFiles),e.currentStatus=2,e.isUploaded=!0})}},mounted:function(){this.reset()}}},function(t,e,a){"use strict";e.a={name:"ComboButton",data:function(){return{showMenu:!1}},props:{options:{type:Array}},methods:{outside:function(){this.showMenu=!1,this.$root.$emit("combo-btn-close")},optionSelected:function(t){this.showMenu=!1,this.$store.dispatch("combo/setBtnID",t.id)},toggleButtons:function(){this.showMenu=!this.showMenu}}}},function(t,e,a){"use strict";e.a={name:"ShowErrors",props:{error_msgs:Array}}},function(t,e,a){"use strict";var i=a(1),n=a(2);e.a={name:"SelectAccounts",components:{MultiSelect:n.a},props:{value:{type:[String,Object,Array],default:""},override_accts:{type:[Object,Array]},reset:{type:Boolean,default:!1}},data:function(){return{selectedAccount:null,balance:0,accounts:[]}},watch:{value:function(t){var e=this.accounts.find(function(e){return t.id===e.id});if(void 0===t||void 0===e)return t;this.selectedAccount=e,this.balance=e.balance},selectedAccount:function(){this.balance=0,this.$emit("input",this.selectedAccount)},override_accts:function(){this.accounts=[];var t=!0,e=!1,a=void 0;try{for(var i,n=this.override_accts[Symbol.iterator]();!(t=(i=n.next()).done);t=!0){var r=i.value;Object.prototype.hasOwnProperty.call(r,"name")&&this.accounts.push(r)}}catch(t){e=!0,a=t}finally{try{t||null==n.return||n.return()}finally{if(e)throw a}}},reset:function(){this.selectedAccount=[],this.balance=0}},created:function(){var t=this;this.$root.$on("account-changed",function(){t.selectedAccount=[]}),this.override_accts&&this.override_accts.length?this.accounts=this.override_accts:this.fetchAccounts()},methods:{fetchAccounts:function(){var t=this;i.a.get("/accounts").then(function(e){t.accounts=e.data})},transformBalance:function(t){return t<0?"Cr. ".concat(this.moneyFormat(Math.abs(t))," (Loan)"):"Dr. ".concat(this.moneyFormat(t)," ")+(t>0?" (Cash)":"")}}}},function(t,e,a){"use strict";var i=a(7),n=a(1),r=a(20),s=a(2);e.a={name:"SelectPeople",components:{PeopleModal:r.a,MultiSelect:s.a},props:{value:{type:[String,Object,Array],default:""},reset:{type:Boolean,default:!1},label:{type:String,default:"Pay to"},isDisabled:{type:Boolean,default:!1}},data:function(){return{selected:null,showModal:!1}},watch:{value:function(t){this.selected=t},selected:function(){this.$emit("input",this.selected)},reset:function(){this.selected=[]}},computed:Object(i.b)({options:function(t){return t.expense.people}}),created:function(){var t=this;this.$store.dispatch("expense/fetchPeople"),this.$root.$on("options-query",function(e){e&&t.getPeople(e)}),this.$on("modal-close",function(){t.showModal=!1,t.people=null}),this.$root.$on("peopleUpdate",function(){t.showModal=!1})},methods:{getPeople:function(t){var e=this;n.a.get("/people",{params:{type:[],search:t}}).then(function(t){e.$store.dispatch("expense/fillPeople",t.data)})}}}},function(t,e,a){"use strict";var i=a(1),n=a(81),r=a(145),s=a.n(r);e.a={name:"SendMail",components:{Modal:n.a,InputTag:s.a},props:{data:Object,type:String,userid:[Number,String]},data:function(){return{options:[],emails:[],subject:"",message:"",attachment:""}},created:function(){var t=this;i.a.get("people/".concat(this.userid)).then(function(e){t.emails.push(e.data.email)})},methods:{closeModal:function(){this.$root.$emit("close")},addEmail:function(t){var e={name:t,code:t.substring(0,2)+Math.floor(1e7*Math.random())};this.emails.push(e)},sendAsMail:function(){var t=this;i.a.post("/transactions/send-pdf/".concat(this.$route.params.id),{trn_data:this.data,type:this.type,receiver:this.emails,subject:this.subject,message:this.message,attachment:this.attachment}).then(function(){t.showAlert("success","Mail Sent!"),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})}}}},function(t,e,a){"use strict";e.a={name:"Modal",props:{header:{type:Boolean,required:!1,default:!1},footer:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:""},hasForm:{type:Boolean,required:!1,default:!1}}}},function(t,e,a){"use strict";e.a={name:"SubmitButton",props:{text:{type:String,default:"Submit"},working:{type:Boolean,default:!1}}}},function(t,e,a){"use strict";var i=a(1);e.a={name:"DynamicTrnLoader",data:function(){return{voucher_no:null,voucher_type:null}},mounted:function(){var t=this;this.voucher_no=this.$route.params.id,i.a.get("/transactions/voucher-type/".concat(this.voucher_no)).then(function(e){t.voucher_type=e.data,"invoice"!==t.voucher_type&&"estimate"!==t.voucher_type&&"payment"!==t.voucher_type||t.$router.push({name:"SalesSingle",params:{id:t.voucher_no}}),"bill"===t.voucher_type&&t.$router.push({name:"BillSingle",params:{id:t.voucher_no}}),"pay_bill"===t.voucher_type&&t.$router.push({name:"PayBillSingle",params:{id:t.voucher_no}}),"purchase"!==t.voucher_type&&"purchase_order"!==t.voucher_type||t.$router.push({name:"PurchaseSingle",params:{id:t.voucher_no}}),"pay_purchase"===t.voucher_type&&t.$router.push({name:"PayPurchaseSingle",params:{id:t.voucher_no}}),"expense"===t.voucher_type&&t.$router.push({name:"ExpenseSingle",params:{id:t.voucher_no}}),"check"===t.voucher_type&&t.$router.push({name:"CheckSingle",params:{id:t.voucher_no}}),"journal"===t.voucher_type&&t.$router.push({name:"JournalSingle",params:{id:t.voucher_no}}),"transfer_voucher"===t.voucher_type&&t.$router.push({name:"SingleTransfer",params:{id:t.voucher_no}}),"tax_payment"===t.voucher_type&&t.$router.push({name:"PayTaxSingle",params:{id:t.voucher_no}}),"people_trn"===t.voucher_type&&t.$router.push({name:"PeopleTrnSingle",params:{id:t.voucher_no}})})}}},function(t,e,a){"use strict";var i=a(142),n=a(346),r=!1;var s=function(t){r||a(345)},o=a(0)(i.a,n.a,!1,s,"data-v-5ca53374",null);o.options.__file="modules/accounting/assets/src/admin/components/check/CheckFields.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(167),n=a(410),r=!1;var s=function(t){r||a(409)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/select/ComboBox.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(180),n=a(441),r=!1;var s=function(t){r||a(440)},o=a(0)(i.a,n.a,!1,s,"data-v-872040ec",null);o.options.__file="modules/accounting/assets/src/admin/components/tax/NewTaxAgency.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(181),n=a(443),r=!1;var s=function(t){r||a(442)},o=a(0)(i.a,n.a,!1,s,"data-v-0e7d34c3",null);o.options.__file="modules/accounting/assets/src/admin/components/tax/NewTaxCategory.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(183),n=a(447),r=!1;var s=function(t){r||a(446)},o=a(0)(i.a,n.a,!1,s,"data-v-1937b2f1",null);o.options.__file="modules/accounting/assets/src/admin/components/tax/NewTaxZone.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(186),n=a(455),r=!1;var s=function(t){r||a(454)},o=a(0)(i.a,n.a,!1,s,"data-v-d74e6388",null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxShortcuts.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(26),n=a(53),r=!1;var s=function(t){r||a(52)},o=a(0)(i.a,n.a,!1,s,"data-v-55f8d8ef",null);o.options.__file="modules/accounting/assets/src/admin/components/list-table/BulkActionsTpl.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[t.showCb?a("td",{staticClass:"manage-column column-cb check-column"},[a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.bulkSelectAll,expression:"bulkSelectAll"}],ref:"removeBulkAction",staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.bulkSelectAll)?t._i(t.bulkSelectAll,null)>-1:t.bulkSelectAll},on:{change:[function(e){var a=t.bulkSelectAll,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&(t.bulkSelectAll=a.concat([null])):r>-1&&(t.bulkSelectAll=a.slice(0,r).concat(a.slice(r+1)))}else t.bulkSelectAll=n},t.changeBulkCheckbox]}}),t._v(" "),t._m(0)])])]):t._e(),t._v(" "),t.hasBulkActions?a("th",{attrs:{colspan:t.columnsCount}},[a("ul",{staticClass:"wp-erp-bulk-actions"},[t._l(t.bulkActions,function(e){return a("li",{key:e.key,on:{click:function(a){return t.bulkActionSelect(e.key)}}},[a("a",{attrs:{href:"#"}},[a("i",{class:e.iconClass}),t._v(" "),a("span",[t._v(t._s(e.label))])])])}),t._v(" "),a("li",[a("a",{staticClass:"close-div",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeBulkActions(e)}}},[a("i",{staticClass:"flaticon-close"})])])],2)]):t._e()])};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"form-check-sign"},[e("span",{staticClass:"check"})])}]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dropdown wperp-has-dropdown",on:{click:function(e){return e.preventDefault(),t.toggleDropdown(e)}}},[t._t("button",[a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t._v("\n Dropdown\n ")])]),t._v(" "),a("div",{ref:"menu",class:["dropdown-popper dropdown-menu",t.dropdownClasses,{show:t.visible}],on:{click:function(t){t.stopPropagation()}}},[a("div",{staticClass:"popper__arrow",attrs:{"x-arrow":""}}),t._v(" "),t._t("dropdown")],2)],2)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:{"table-loading":t.loading}},[t.loading?a("div",{staticClass:"table-loader-wrap"},[a("div",{staticClass:"table-loader-center"},[a("div",{staticClass:"table-loader"},[t._v(t._s(t.__("Loading","erp")))])])]):t._e(),t._v(" "),a("div",{staticClass:"tablenav top"},[a("div",{staticClass:"alignleft actions"},[t._t("filters")],2),t._v(" "),a("div",{staticClass:"tablenav-pages"},[t.showItemNumbers?a("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.__("items","erp")))]):t._e(),t._v(" "),t.hasPagination?a("span",{staticClass:"pagination-links"},[t.disableFirst?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("«")]):a("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(1)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("«")])]),t._v(" "),t.disablePrev?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("‹")]):a("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage-1)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("‹")])]),t._v(" "),a("span",{staticClass:"paging-input"},[a("span",{staticClass:"tablenav-paging-text"},[a("input",{staticClass:"current-page",attrs:{type:"text",name:"paged","aria-describedby":"table-paging",size:"1"},domProps:{value:t.currentPage},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.goToCustomPage(e)}}}),t._v(" of\n "),a("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t._v(" "),t.disableNext?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("›")]):a("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage+1)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("›")])]),t._v(" "),t.disableLast?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("»")]):a("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.totalPages)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])]),t._v(" "),a("table",{class:t.tableClass},[a("thead",[t.checkedItems.length?a("bulk-actions-tpl",{attrs:{"select-all":t.selectAll,"bulk-actions":t.bulkActions,"show-cb":t.showCb,"columns-count":t.columnsCount}}):a("tr",[t.showCb?a("td",{staticClass:"manage-column column-cb check-column col--check"},[a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(e){var a=t.selectAll,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&(t.selectAll=a.concat([null])):r>-1&&(t.selectAll=a.slice(0,r).concat(a.slice(r+1)))}else t.selectAll=n}}}),t._v(" "),a("span",{staticClass:"form-check-sign"},[a("span",{staticClass:"check"})])])])]):t._e(),t._v(" "),t._l(t.columns,function(e,i){return a("th",{key:i,class:["column",i,e.isColPrimary?"column-primary":"",{sortable:t.isSortable(e)},{sorted:t.isSorted(i)},{asc:t.isSorted(i)&&"asc"===t.sortOrder},{desc:t.isSorted(i)&&"desc"===t.sortOrder}]},[t.isSortable(e)?a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleSortBy(i)}}},[a("span",[t._v(t._s(e.label))]),t._v(" "),a("span",{staticClass:"sorting-indicator"})]):[t._v("\n "+t._s(e.label)+"\n ")]],2)})],2)],1),t._v(" "),a("tfoot",[t._t("tfoot",[t.checkedItems.length?a("bulk-actions-tpl",{attrs:{"select-all":t.selectAll,"bulk-actions":t.bulkActions,"show-cb":t.showCb,"columns-count":t.columnsCount}}):a("tr",[t.showCb?a("td",{staticClass:"manage-column column-cb check-column"},[a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(e){var a=t.selectAll,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&(t.selectAll=a.concat([null])):r>-1&&(t.selectAll=a.slice(0,r).concat(a.slice(r+1)))}else t.selectAll=n}}}),t._v(" "),a("span",{staticClass:"form-check-sign"},[a("span",{staticClass:"check"})])])])]):t._e(),t._v(" "),t._l(t.columns,function(e,i){return a("th",{key:i,class:["column",i,e.isColPrimary?"column-primary":""]},[t._v(t._s(e.label)+"\n ")])})],2)])],2),t._v(" "),a("tbody",[t.rows.length?t._l(t.rows,function(e,i){return a("tr",{key:e[t.index],class:t.collapsRow(e)},[t.showCb?a("th",{staticClass:"col--check check-column",attrs:{scope:"row"}},[a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.checkedItems,expression:"checkedItems"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"item[]"},domProps:{value:e[t.index],checked:Array.isArray(t.checkedItems)?t._i(t.checkedItems,e[t.index])>-1:t.checkedItems},on:{change:function(a){var i=t.checkedItems,n=a.target,r=!!n.checked;if(Array.isArray(i)){var s=e[t.index],o=t._i(i,s);n.checked?o<0&&(t.checkedItems=i.concat([s])):o>-1&&(t.checkedItems=i.slice(0,o).concat(i.slice(o+1)))}else t.checkedItems=r}}}),t._v(" "),t._m(0,!0)])])]):t._e(),t._v(" "),t._l(t.columns,function(n,r){return a("td",{key:r,class:["column",r,n.isColPrimary?"column-primary":"",t.actionColumn===r&&t.hasActions?"col--actions":"",{selected:t.checkedItems.includes(e[t.index])}],attrs:{"data-colname":t.ucFirst(r)}},[t._t(r,["actions"!==r?[t._v("\n "+t._s(e[r])+"\n ")]:t._e()],{row:e}),t._v(" "),n.isColPrimary?a("button",{staticClass:"wperp-toggle-row",attrs:{type:"button"},on:{click:function(a){return a.preventDefault(),t.toggleRow(e)}}},[a("span",{staticClass:"screen-reader-text"},[t._v("Show more details")])]):t._e(),t._v(" "),t.actionColumn===r?a("div",{staticClass:"row-actions"},[t._t("row-actions",[a("dropdown",{attrs:{placement:"left-start"}},[a("template",{slot:"button"},[a("a",{staticClass:"dropdown-trigger"},[a("i",{staticClass:"flaticon-menu"})])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{slot:"action-items",role:"menu"},slot:"action-items"},[t._t("action-list",t._l(t.actions,function(n){return a("li",{key:n.key,class:n.key},[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.actionClicked(n.key,e,i)}}},[a("i",{class:n.iconClass}),t._v(t._s(n.label))])])}),{row:e})],2)])],2)],{row:e})],2):t._e()],2)})],2)}):a("tr",[a("td",{staticClass:"not-found",attrs:{colspan:t.colspan}},[t._v(t._s(t.notFound))])])],2)]),t._v(" "),a("div",{staticClass:"tablenav bottom"},[a("div",{staticClass:"tablenav-pages"},[t.showItemNumbers?a("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.__("items","erp")))]):t._e(),t._v(" "),t.hasPagination?a("span",{staticClass:"pagination-links"},[t.disableFirst?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("«")]):a("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(1)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("«")])]),t._v(" "),t.disablePrev?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("‹")]):a("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage-1)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("‹")])]),t._v(" "),a("span",{staticClass:"paging-input"},[a("span",{staticClass:"tablenav-paging-text"},[t._v("\n "+t._s(t.currentPage)+" of\n "),a("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t._v(" "),t.disableNext?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("›")]):a("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage+1)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("›")])]),t._v(" "),t.disableLast?a("span",{staticClass:"tablenav-pages-navspan",attrs:{"aria-hidden":"true"}},[t._v("»")]):a("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.totalPages)}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"form-check-sign"},[e("span",{staticClass:"check"})])}]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=a(29),n=a(60),r=!1;var s=function(t){r||a(59)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/base/Media.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"erp-upload-image",on:{click:t.uploadImage}},[a("img",{attrs:{src:t.image.src?t.image.src:t.src}}),t._v(" "),t.showButton?a("button",{staticClass:"wperp-btn btn--primary",on:{click:function(e){return e.preventDefault(),t.uploadImage(e)}}},[t._v("\n "+t._s(t.buttonLabel)+"\n ")]):t._e()])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";e.a=function(t,e){var a=null;return function(){clearTimeout(a);var i=arguments,n=this;a=setTimeout(function(){t.apply(n,i)},e)}}},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("multiselect",{attrs:{value:t.value,options:t.options,multiple:t.multiple,"close-on-select":!t.multiple,loading:t.isLoading,placeholder:t.placeholder,disabled:t.disabled,label:"name","track-by":"id"},on:{open:t.onDropdownOpen,remove:t.onRemove,select:t.onSelect,"search-change":t.asyncFind}},[a("span",{attrs:{slot:"noResult"},slot:"noResult"},[t._v("Oops! No elements found.")])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"people-modal"}},[a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"wperp-modal has-form wperp-modal-open",attrs:{id:"wperp-add-customer-modal",role:"dialog"}},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[t.people?a("h3",[t._v(t._s(t.__("Update","erp"))+" "+t._s(t.title))]):a("h3",[t._v(t._s(t.title))]),t._v(" "),a("span",{staticClass:"modal-close"},[a("i",{staticClass:"flaticon-close",on:{click:function(e){return t.$parent.$emit("modal-close")}}})])]),t._v(" "),t.error_message.length?a("ul",{staticClass:"errors"},t._l(t.error_message,function(e,i){return a("li",{key:i},[t._v("* "+t._s(e))])}),0):t._e(),t._v(" "),a("form",{staticClass:"modal-form edit-customer-modal",attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.saveCustomer(e)}}},[a("div",{staticClass:"wperp-modal-body"},[a("upload-image",{attrs:{showButton:!0,src:t.peopleFields.photo},on:{uploadedImage:t.uploadPhoto}}),t._v(" "),t._l(t.extraFieldsTop,function(t,e){return a(t,{key:"top-"+e,tag:"component"})}),t._v(" "),a("div",{staticClass:"wperp-row wperp-gutter-20"},[a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"first_name"}},[t._v(t._s(t.__("First Name","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.first_name,expression:"peopleFields.first_name"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"first_name",placeholder:t.__("First Name","erp"),required:""},domProps:{value:t.peopleFields.first_name},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"first_name",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"last_name"}},[t._v(t._s(t.__("Last Name","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.last_name,expression:"peopleFields.last_name"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"last_name",placeholder:t.__("Last Name","erp"),required:""},domProps:{value:t.peopleFields.last_name},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"last_name",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"email"}},[t._v(t._s(t.__("Email","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.email,expression:"peopleFields.email"}],staticClass:"wperp-form-field",attrs:{type:"email",id:"email",placeholder:"you@domain.com",required:""},domProps:{value:t.peopleFields.email},on:{blur:t.checkEmailExistence,input:function(e){e.target.composing||t.$set(t.peopleFields,"email",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"phone"}},[t._v(t._s(t.__("Phone","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.phone,expression:"peopleFields.phone"}],staticClass:"wperp-form-field",attrs:{type:"tel",id:"phone",placeholder:"(123) 456-789"},domProps:{value:t.peopleFields.phone},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"phone",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"company"}},[t._v(t._s(t.__("Company","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.company,expression:"peopleFields.company"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"company",placeholder:t.__("ABC Corporation","erp")},domProps:{value:t.peopleFields.company},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"company",e.target.value)}}})])]),t._v(" "),t._l(t.extraFieldsMiddle,function(t,e){return a(t,{key:"middle-"+e,tag:"component"})}),t._v(" "),t.showMore?a("div",{staticClass:"wperp-more-fields"},[a("div",{staticClass:"wperp-row wperp-gutter-20"},[a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"mobile"}},[t._v(t._s(t.__("Mobile","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.mobile,expression:"peopleFields.mobile"}],staticClass:"wperp-form-field",attrs:{type:"tel",id:"mobile"},domProps:{value:t.peopleFields.mobile},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"mobile",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"website"}},[t._v(t._s(t.__("Website","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.website,expression:"peopleFields.website"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"website",placeholder:"www.domain.com"},domProps:{value:t.peopleFields.website},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"website",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"note"}},[t._v(t._s(t.__("Note","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.notes,expression:"peopleFields.notes"}],staticClass:"wperp-form-field",attrs:{id:"note",cols:"30",rows:"4",placeholder:t.__("Type here","erp")},domProps:{value:t.peopleFields.notes},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"notes",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"fax"}},[t._v(t._s(t.__("Fax","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.fax,expression:"peopleFields.fax"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"fax",placeholder:t.__("Type here","erp")},domProps:{value:t.peopleFields.fax},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"fax",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"street1"}},[t._v(t._s(t.__("Street 1","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.street_1,expression:"peopleFields.street_1"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"street1",placeholder:t.__("Street 1","erp")},domProps:{value:t.peopleFields.street_1},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"street_1",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"street2"}},[t._v(t._s(t.__("Street 2","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.street_2,expression:"peopleFields.street_2"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"street2",placeholder:t.__("Street 2","erp")},domProps:{value:t.peopleFields.street_2},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"street_2",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"city"}},[t._v(t._s(t.__("City","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.city,expression:"peopleFields.city"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"city",placeholder:t.__("City/Town","erp")},domProps:{value:t.peopleFields.city},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"city",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",[t._v(t._s(t.__("Country","erp")))]),t._v(" "),a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.countries,multiple:!1},on:{input:function(e){return t.getState(t.peopleFields.country)}},model:{value:t.peopleFields.country,callback:function(e){t.$set(t.peopleFields,"country",e)},expression:"peopleFields.country"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",[t._v(t._s(t.__("Province/State","erp")))]),t._v(" "),a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.states,multiple:!1},model:{value:t.peopleFields.state,callback:function(e){t.$set(t.peopleFields,"state",e)},expression:"peopleFields.state"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"post_code"}},[t._v(t._s(t.__("Post Code","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.peopleFields.postal_code,expression:"peopleFields.postal_code"}],staticClass:"wperp-form-field",attrs:{type:"text",id:"post_code",placeholder:t.__("Post Code","erp")},domProps:{value:t.peopleFields.postal_code},on:{input:function(e){e.target.composing||t.$set(t.peopleFields,"postal_code",e.target.value)}}})])])]):t._e(),t._v(" "),t._l(t.extraFieldsBottom,function(t,e){return a(t,{key:"bottom-"+e,tag:"component"})}),t._v(" "),a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label mb-0",attrs:{for:"show_more"}},[a("input",{staticClass:"form-check-input",attrs:{name:"show_more",id:"show_more",type:"checkbox"},on:{click:t.showDetails}}),t._v(" "),a("span",{staticClass:"form-check-sign"}),t._v(" "),a("span",{staticClass:"field-label"},[t._v(t._s(t.__("Show More","erp")))])])])],2),t._v(" "),a("div",{staticClass:"wperp-modal-footer pt-0"},[a("div",{staticClass:"buttons-wrapper text-right"},[a("button",{staticClass:"wperp-btn btn--default modal-close",attrs:{type:"reset"},on:{click:function(e){return t.$parent.$emit("modal-close")}}},[t._v(t._s(t.__("Cancel","erp")))]),t._v(" "),t.people?a("button",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit"}},[t._v(t._s(t.__("Update","erp")))]):a("button",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit"}},[t._v(t._s(t.__("Add New","erp")))])])])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},,,function(t,e,a){"use strict";var i=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"wperp-chart-block has-separator"},[e("h3",[this._v(this._s(this.title))]),this._v(" "),e("div",{staticClass:"payment-chart"},[e("div",{staticClass:"chart-container"},[e("canvas",{attrs:{id:this.id+"_chart",hieght:"84"}})]),this._v(" "),e("div",{staticClass:"chart-legend",attrs:{id:this.id+"_legend"}})])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("dropdown",[a("template",{slot:"button"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedDate,expression:"selectedDate"}],ref:"datePicker",staticClass:"wperp-form-field",domProps:{value:t.selectedDate},on:{input:function(e){e.target.composing||(t.selectedDate=e.target.value)}}})]),t._v(" "),a("template",{slot:"dropdown"},[a("calendar",{attrs:{backgroundColor:"#fff",attributes:t.pickerAttrs},on:{dayclick:t.pickerSelect}})],1)],2)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("form",{attrs:{enctype:"multipart/form-data",novalidate:""}},[a("div",{staticClass:"attachment-placeholder"},[t._v(" "+t._s(t.__("To attach","erp"))+"\n "),a("input",{staticClass:"display-none",attrs:{type:"file",id:"attachment",multiple:"",accept:"image/*,.jpg,.png,.doc,.pdf",name:t.uploadFieldName,disabled:t.isSaving},on:{change:function(e){return t.filesChange(e)}}}),t._v(" "),a("label",{attrs:{for:"attachment"}},[t._v(t._s(t.__("Select files","erp")))]),t._v(" "+t._s(t.__("from your computer","erp"))+"\n "),t.isSaving?a("span",{staticClass:"upload-count"},[t._v(" ("+t._s(t.__("uploading","erp"))+" "+t._s(t.fileCount)+" "+t._s(t.__("file(s)","erp"))+" ...)")]):t._e(),t._v(" "),t.isUploaded?a("span",{staticClass:"upload-count"},[t._v(" ("+t._s(t.__("uploaded","erp"))+" "+t._s(t.fileCount)+" "+t._s(t.__("file(s)","erp"))+" ...)")]):t._e()])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.outside,expression:"outside"}],staticClass:"wperp-select-container select-primary combo-btns"},[a("div",{staticClass:"wperp-selected-option"},[a("div",{staticClass:"left-part",on:{click:function(e){return t.optionSelected(t.options[0])}}},[a("button",{staticClass:"btn-fake",attrs:{type:"submit"}},[t._v(t._s(t.options[0].text))])]),t._v(" "),a("div",{staticClass:"right-part",on:{click:t.toggleButtons}},[a("span",{staticClass:"btn-caret"})])]),t._v(" "),a("ul",{directives:[{name:"show",rawName:"v-show",value:t.showMenu,expression:"showMenu"}],staticClass:"wperp-options"},t._l(t.options.slice(1),function(e,i){return a("li",{key:i,on:{click:function(a){return t.optionSelected(e)}}},[a("button",{staticClass:"btn-fake",attrs:{type:"submit"}},[t._v(t._s(e.text))])])}),0)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.error_msgs.length?a("div",{staticClass:"notify bg-red bigger"},[a("div",{staticClass:"message"},[a("p",[a("strong",[t._v(t._s(t.__("Please complete these fields","erp"))+":")])]),t._v(" "),t._l(t.error_msgs,function(e,i){return a("ul",{key:i},[a("li",[t._v("* "+t._s(e))])])})],2)]):t._e()};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{placeholder:t.__("Select Account","erp"),options:t.accounts},model:{value:t.selectedAccount,callback:function(e){t.selectedAccount=e},expression:"selectedAccount"}}),t._v(" "),a("span",{staticClass:"balance mt-10 display-inline-block"},[t._v("Balance: "+t._s(t.transformBalance(t.balance)))])],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-form-group expense-people with-multiselect"},[t.showModal?a("people-modal",{attrs:{title:"Add new people",type:"all"}}):t._e(),t._v(" "),a("label",[t._v(t._s(t.label)),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("multi-select",{attrs:{disabled:t.isDisabled,options:t.options},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=a(41),n=a(83),r=!1;var s=function(t){r||a(82)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/modal/Modal.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:["wperp-modal","wperp-modal-open",t.hasForm?"wperp-has-form":""]},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[t.header?t._t("header",[a("h3",[t._v(t._s(t.title))])]):t._e(),t._v(" "),a("span",{staticClass:"modal-close",on:{click:function(e){return t.$emit("close")}}},[a("i",{staticClass:"flaticon-close"})])],2),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[t._t("body")],2),t._v(" "),t.footer?a("div",{staticClass:"wperp-modal-footer"},[t._t("footer")],2):t._e()])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("modal",{attrs:{title:"Send Mail",footer:!0,hasForm:!0,header:!0},on:{close:t.closeModal}},[a("template",{slot:"body"},[a("div",{staticClass:"wperp-form-group wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12 send-mail-to"},[a("label",[t._v(t._s(t.__("To","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])])]),t._v(" "),a("input-tag",{attrs:{placeholder:t.__("Add Emails","erp"),validate:"email"},model:{value:t.emails,callback:function(e){t.emails=e},expression:"emails"}})],1),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Subject","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.subject,expression:"subject"}],staticClass:"wperp-form-field",attrs:{type:"text",placeholder:t.__("Enter Subject Here","erp")},domProps:{value:t.subject},on:{input:function(e){e.target.composing||(t.subject=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Message","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.message,expression:"message"}],staticClass:"wperp-form-field",attrs:{placeholder:t.__("Enter Your Message Here","erp"),rows:"4"},domProps:{value:t.message},on:{input:function(e){e.target.composing||(t.message=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Attachment","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label mb-0"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.attachment,expression:"attachment"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.attachment)?t._i(t.attachment,null)>-1:t.attachment},on:{change:function(e){var a=t.attachment,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&(t.attachment=a.concat([null])):r>-1&&(t.attachment=a.slice(0,r).concat(a.slice(r+1)))}else t.attachment=n}}}),t._v(" "),a("span",{staticClass:"form-check-sign"}),t._v(" "),a("span",{staticClass:"field-label"},[t._v(t._s(t.__("Attach as PDF","erp")))])])])])])]),t._v(" "),a("template",{slot:"footer"},[a("div",{staticClass:"buttons-wrapper text-right"},[a("button",{staticClass:"wperp-btn btn--default",on:{click:t.closeModal}},[t._v(t._s(t.__("Cancel","erp")))]),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit"},on:{click:function(e){return e.preventDefault(),t.sendAsMail(e)}}},[t._v(t._s(t.__("Send","erp")))])])])],2)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this.$createElement;return(this._self._c||t)("button",{staticClass:"wperp-btn btn--primary acct-button",class:{working:this.working},attrs:{type:"submit"}},[this._v(this._s(this.text))])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(170),n=a(419),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/transactions/TransactionsFilter.vue",e.a=r.exports},function(t,e,a){"use strict";var i=a(43),n=a(0)(i.a,null,!1,null,null,null);n.options.__file="modules/accounting/assets/src/admin/components/transactions/DynamicTrnLoader.vue",e.a=n.exports},,,,,,function(t,e,a){"use strict";var i=a(7),n=a(216),r=a(96),s=a.n(r),o=a(219),l=(a.n(o),a(222)),c=(a.n(l),a(227));a.n(c);e.a={name:"Accounting",components:{AccountingMenu:n.a,Loading:s.a},computed:Object(i.b)({loader:function(t){return t.spinner.loader}})}},function(t,e,a){"use strict";e.a={name:"AccountingMenu",props:{},data:function(){return{menuItems:erp_acct_var.erp_acct_menus,dropDownClass:"erp-nav-dropdown",primaryNav:"erp-nav -primary",dropdownNav:"dropdown-nav",module_name:__("Accounting","erp"),svgData:"M221.9,0H17.1C6.8,0,0,6.8,0,17.1V324.3c0,10.2,6.8,17.1,17.1,17.1H221.9c10.2,0,17.1-6.8,17.1-17.1V17.1C238.9,6.8,232.1,0,221.9,0ZM68.3,307.2H34.1V273.1H68.2v34.1Zm0-68.3H34.1V204.8H68.2v34.1Zm0-68.2H34.1V136.6H68.2v34.1Zm68.2,136.5H102.4V273.1h34.1Zm0-68.3H102.4V204.8h34.1Zm0-68.2H102.4V136.6h34.1Zm68.3,136.5H170.7V273.1h34.1v34.1Zm0-68.3H170.7V204.8h34.1v34.1Zm0-68.2H170.7V136.6h34.1v34.1Zm0-68.3H34.1V34.1H204.8v68.3Zm0,0",current_url:erp_acct_var.erp_acct_url,activeClass:[]}},created:function(){this.init()},methods:{init:function(){var t=document.querySelector(".erp-nav-container");if(null!=t){var e=t.querySelector(".-primary"),a=t.querySelectorAll(".-primary > li:not(.-more)");t.classList.add("--jsfied"),e.insertAdjacentHTML("beforeend",'<li class="-more"><button type="button" aria-haspopup="true" aria-expanded="false">More <span class="dashicons dashicons-arrow-down-alt2"></span></button><ul class="-secondary">'+e.innerHTML+"</ul></li>");var i=t.querySelector(".-secondary"),n=[].slice.call(i.children),r=t.querySelectorAll("li"),s=e.querySelector(".-more"),o=s.querySelector("button");o.addEventListener("click",function(e){e.preventDefault(),t.classList.toggle("--show-secondary"),o.setAttribute("aria-expanded",t.classList.contains("--show-secondary"))});var l=function(){r.forEach(function(t){t.classList.remove("--hidden")});var i=o.offsetWidth,l=[],c=e.offsetWidth;a.forEach(function(t,e){c>=i+t.offsetWidth?i+=t.offsetWidth:(t.classList.add("--hidden"),l.push(e))}),l.length?n.forEach(function(t,e){l.includes(e)||t.classList.add("--hidden")}):(s.classList.add("--hidden"),t.classList.remove("--show-secondary"),o.setAttribute("aria-expanded",!1))};l(),window.addEventListener("resize",l),document.addEventListener("click",function(e){for(var a=e.target;a;){if(a===i||a===o)return;a=a.parentNode}t.classList.remove("--show-secondary"),o.setAttribute("aria-expanded",!1)})}}}}},,function(t,e){t.exports="data:application/vnd.ms-fontobject;base64,TCgAAJwnAAABAAIAAAAAAAIABgMAAAAAAAABAPQBAAAAAExQAQAAAAAAABAAAAAAAAAAAAEAAAAAAAAAAJCDxAAAAAAAAAAAAAAAAAAAAAAAABAARgBsAGEAdABpAGMAbwBuAAAADABNAGUAZABpAHUAbQAAACAAVgBlAHIAcwBpAG8AbgAgADAAMAAxAC4AMAAwADAAIAAAABAARgBsAGEAdABpAGMAbwBuAAAAAAAAAQAAAA0AgAADAFBGRlRNfPIioAAAJ4AAAAAcT1MvMlBbXocAAAFYAAAAYGNtYXDiIRX/AAACKAAAAUpjdnQgABEBRAAAA3QAAAAEZ2FzcP//AAMAACd4AAAACGdseWaRMsTzAAAD4AAAHzBoZWFkEdPATQAAANwAAAA2aGhlYQPxAcUAAAEUAAAAJGhtdHgE0wE6AAABuAAAAG5sb2NhqJSghAAAA3gAAABmbWF4cACGASIAAAE4AAAAIG5hbWWdF7hxAAAjEAAAAnBwb3N0xn4NFwAAJYAAAAH2AAEAAAABAADEg5AAXw889QALAgAAAAA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(1),n=a(249),r=a(3),s=a(20);e.a={name:"People",components:{PeopleSearch:n.a,ListTable:r.a,PeopleModal:s.a},data:function(){return{people:null,bulkActions:[{key:"trash",label:"Move to Trash",iconClass:"flaticon-trash"}],columns:{customer:{label:__("Name","erp"),isColPrimary:!0},company:{label:__("Company","erp")},email:{label:__("Email","erp")},phone:{label:__("Phone","erp")},actions:{label:__("Actions","erp")}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[{key:"edit",label:"Edit",iconClass:"flaticon-edit"},{key:"trash",label:"Delete",iconClass:"flaticon-trash"}],search:"",showModal:!1,buttonTitle:"",pageTitle:"",url:"",singleUrl:"",isActiveOptionDropdown:!1}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.$on("modal-close",function(){t.showModal=!1,t.people=null}),this.$root.$on("peopleUpdate",function(){t.showModal=!1,t.fetchItems()}),this.buttonTitle="customers"===this.$route.name.toLowerCase()?__("Customer","erp"):__("Vendor","erp"),this.pageTitle="customers"===this.$route.name.toLowerCase()?__("Customers","erp"):__("Vendors","erp"),this.url=this.$route.name.toLowerCase(),this.singleUrl="customers"===this.url?"CustomerDetails":"VendorDetails",this.fetchItems()},computed:{row_data:function(){var t=this.rows;return t.map(function(t){t.customer=t.first_name+" "+t.last_name}),t}},watch:{search:function(t,e){this.$store.dispatch("spinner/setSpinner",!0),this.fetchItems()}},methods:{fetchItems:function(){var t=this;this.rows=[],i.a.get(this.url,{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page,search:this.search}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete(this.url+"/"+e.id).then(function(t){t.data.success&&(n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted !")),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("error",t.data.data[0].message)}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}));break;case"edit":this.showModal=!0,this.people=e}},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete(this.url+"/delete/"+e.join(",")).then(function(t){if(!t.data.success)return a.$store.dispatch("spinner/setSpinner",!1),void a.showAlert("error",t.data.data[0].message);var e=document.getElementsByClassName("column-cb")[0].childNodes[0];e.checked&&e.click(),a.fetchItems(),a.$store.dispatch("spinner/setSpinner",!1),a.showAlert("success","Deleted !")}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t}))},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"customers"===this.url?"PaginateCustomers":"PaginateVendors",params:{page:t},query:e}),this.fetchItems()}}}},,,,,,,,,,function(t,e,a){"use strict";e.a={name:"PeopleSearch",data:function(){return{search:""}},methods:{searchPeople:function(){this.$emit("input",this.search)},clearSearch:function(){this.search="",this.searchPeople()}}}},,,,function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(256);e.a={name:"Products",components:{ListTable:n.a,ProductModal:r.a},data:function(){return{products:[],product:null,showModal:!1,columns:{name:{label:"Product Name"},sale_price:{label:"Sale Price"},cost_price:{label:"Cost Price"},cat_name:{label:"Product Category"},tax_cat_name:{label:"Tax Category"},product_type_name:{label:"Product Type"},vendor_name:{label:"Vendor"},actions:{label:"Actions"}},bulkActions:[{key:"trash",label:"Move to Trash",img:erp_acct_var.erp_assets+"/images/trash.png"}],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)}}},methods:{getProducts:function(){var t=this;this.products=[],i.a.get("/products",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.products=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},onActionClick:function(t,e,a){var n=this;"edit"===t?(this.showModal=!0,this.product=e):"trash"===t&&confirm("Are sure want to Delete ?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("products/"+e.id).then(function(t){n.$delete(n.products,a),n.getProducts(),n.$store.dispatch("spinner/setSpinner",!1)}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}))},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure want to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("products/delete/"+e).then(function(t){var e=document.getElementsByClassName("column-cb")[0].childNodes[0];e.checked&&e.click(),a.getProducts(),a.$store.dispatch("spinner/setSpinner",!1)}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t}))},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateProducts",params:{page:t},query:e}),this.getProducts()}},created:function(){this.$store.dispatch("spinner/setSpinner",!0),this.getProducts(),this.$on("close",function(){this.showModal=!1,this.product=null})}}},function(t,e,a){"use strict";var i=a(1),n=a(2);e.a={name:"ProductModal",components:{MultiSelect:n.a},props:{product:{type:Object,default:function(){return[]}}},data:function(){return{error_msg:[],ProductFields:{id:null,name:"",type:0,categories:0,costPrice:0,salePrice:0,vendor:0,tax_cat_id:0},vendors:[],categories:[],tax_cats:[],productType:[],title:__("Product","erp"),isDisabled:!1,selfOwner:!1}},created:function(){var t=this;if(this.product){var e=this.product;this.ProductFields.name=e.name,this.ProductFields.id=e.id,this.ProductFields.type={id:e.product_type_id,name:e.type_name},this.ProductFields.categories={id:e.category_id,name:e.cat_name},this.ProductFields.tax_cat_id={id:e.tax_cat_id,name:e.tax_cat_name},this.ProductFields.salePrice=e.sale_price,this.ProductFields.costPrice=e.cost_price,this.isDisabled=!0,e.vendor?this.ProductFields.vendor={id:e.vendor,name:e.vendor_name}:(this.selfOwner=!0,this.ProductFields.vendor=null)}this.loaded(),this.$root.$on("options-query",function(e){e&&i.a.get("vendors",{params:{search:e}}).then(function(e){if(e.data)for(var a in t.vendors=[],e.data){var i=e.data[a],n={id:i.id,name:i.first_name+" "+i.last_name};t.vendors.push(n)}})})},methods:{saveProduct:function(){var t,e,a=this;if(!this.checkForm())return!1;this.$store.dispatch("spinner/setSpinner",!0),this.product?(t="put",e="products/"+this.ProductFields.id):(t="post",e="products");var n={name:this.ProductFields.name,product_type_id:this.ProductFields.type,category_id:this.ProductFields.categories,tax_cat_id:this.ProductFields.tax_cat_id,vendor:null,cost_price:this.ProductFields.costPrice,sale_price:this.ProductFields.salePrice};this.selfOwner||(n.vendor=this.ProductFields.vendor),i.a[t](e,n).then(function(e){a.$parent.$emit("close"),a.$parent.getProducts(),a.resetForm(),a.$store.dispatch("spinner/setSpinner",!1),a.showAlert("success","put"===t?"Product Updated!":"Product Created!")}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t})},loaded:function(){this.getVendors(),this.getCategories(),this.getTaxCategories(),this.getProductTypes()},getVendors:function(){var t=this;i.a.get("vendors").then(function(e){if(e.data)for(var a in e.data){var i=e.data[a],n={id:i.id,name:i.first_name+" "+i.last_name};t.vendors.push(n)}})},getCategories:function(){var t=this;i.a.get("product-cats").then(function(e){t.categories=e.data})},getTaxCategories:function(){var t=this;i.a.get("tax-cats").then(function(e){t.tax_cats=e.data})},getProductTypes:function(){var t=this;i.a.get("products/types").then(function(e){t.productType=e.data,t.ProductFields.type={id:parseInt(e.data[0].id),name:e.data[0].name}})},resetForm:function(){this.ProductFields.id=null,this.ProductFields.name="",this.ProductFields.type=[],this.ProductFields.categories=[],this.ProductFields.vendor=[],this.ProductFields.costPrice="",this.ProductFields.salePrice=""},checkOwner:function(){return!!this.selfOwner||!!this.ProductFields.vendor},checkForm:function(){return this.error_msg=[],!!(this.ProductFields.name&&this.ProductFields.type&&this.checkOwner()&&this.ProductFields.salePrice)||(this.ProductFields.name||this.error_msg.push("Product name is required"),this.ProductFields.type||this.error_msg.push("Product type is required"),this.ProductFields.salePrice<=0&&this.error_msg.push("Product sale price should be greater than 0"),this.selfOwner||this.ProductFields.vendor||this.error_msg.push("Vendor is required"),!1)}}}},function(t,e,a){"use strict";var i=a(1),n=a(3);e.a={name:"Employees",components:{ListTable:n.a},data:function(){return{bulkActions:[{key:"trash",label:"Move to Trash",img:erp_acct_var.erp_assets+"/images/trash.png"}],columns:{employee:{label:"Name"},designation:{label:"Designation"},department:{label:"Department"},email:{label:"Email"},phone:{label:"Phone"}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)}}},created:function(){this.$store.dispatch("spinner/setSpinner",!0),this.$on("modal-close",function(){this.showModal=!1}),this.fetchItems()},computed:{row_data:function(){var t=this.rows;return t.map(function(t){t.employee=t.full_name,t.designation=t.designation}),t}},methods:{fetchItems:function(){var t=this;this.rows=[],i.a.get("/employees",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page,include:"designation"}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateEmployees",params:{page:t},query:e}),this.fetchItems()}}}},function(t,e,a){"use strict";var i=a(1),n=a(21),r=a(117);e.a={name:"EmployeeDetails",components:{PieChart:n.a,PeopleTransaction:r.a},data:function(){return{userId:"",user:{},userData:{id:"",name:"-",email:"-",meta:{company:"-",website:"-",phone:"-",mobile:"-",address:"-"}},url:"",paymentChart:{title:"Payment",labels:["Recieved","Outstanding"],colors:["#55D8FE","#FF8373"]},statusChart:{title:"Status",colors:["#208DF8","#E9485E"]},transactions:[],paymentData:[],statusLabel:[],statusData:[],outstanding:0,temp:null}},created:function(){var t=this;this.url=this.$route.params.route,this.userId=this.$route.params.id,void 0===this.url&&(this.url=this.$route.path.split("/")[1]),this.fetchItem(this.userId),this.getTransactions(),this.getChartData(),this.$root.$on("people-transaction-filter",function(e){t.filterTransaction(e)})},computed:{},methods:{fetchItem:function(t){var e=this;i.a.get("/employees/"+this.userId,{params:{include:"department,designation,reporting_to,avatar"}}).then(function(t){e.user=t.data})},getTransactions:function(){var t=this;i.a.get("/employees/"+this.userId+"/transactions").then(function(e){t.transactions=e.data})},filterTransaction:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i.a.get("/employees/"+this.userId+"/transactions/filter",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.transactions=e.data})},getChartData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i.a.get("/transactions/people-chart/trn-amount/".concat(this.userId),{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.outstanding=e.data.payable,t.paymentData.push(e.data.paid,e.data.payable)}),i.a.get("/transactions/people-chart/trn-status/".concat(this.userId),{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.temp=e.data,e.data.forEach(function(e){t.statusLabel.push(e.type_name),t.statusData.push(e.sub_total)})})}}}},function(t,e,a){"use strict";var i=a(118),n=a(266),r=!1;var s=function(t){r||a(264)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/people/PeopleTransaction.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(3),n=a(4);e.a={name:"PeopleTransaction",components:{ListTable:i.a,Datepicker:n.a},props:["rows"],data:function(){return{bulkActions:[{key:"trash",label:"Move to Trash",img:erp_acct_var.erp_assets+"/images/trash.png"}],columns:{trn_date:{label:"Transaction Date"},created_at:{label:"Created At"},voucher_no:{label:"Voucher No"},particulars:{label:"Particulars"},debit:{label:"Debit"},credit:{label:"Credit"},balance:{label:"Balance"}},actions:[{key:"edit",label:"Edit"},{key:"trash",label:"Delete"}],showFilters:!1,filters:{start_date:"",end_date:""}}},methods:{toggleFilter:function(){this.showFilters=!this.showFilters},filterList:function(){this.toggleFilter(),this.$root.$emit("people-transaction-filter",this.filters)},onActionClick:function(t,e,a){switch(t){case"trash":confirm("Are you sure to delete?")&&this.$root.$emit("delete-transaction",e.id);break;case"edit":this.showModal=!0,this.people=e}}}}},,,function(t,e,a){"use strict";var i=a(1),n=a(269),r=a(272);e.a={name:"Dashboard",components:{Chart:r.a,Accounts:n.a},data:function(){return{title1:"Income & Expenses",title2:"Bank Accounts",title3:"Invoices owed to you",title4:"Bills to pay",closable:!0,msg:"Accounting",to_receive:[],to_pay:[]}},computed:{total_receivable:function(){var t=Object.values(this.to_receive.amount).reduce(function(t,e){return t+parseFloat(e)},0);return this.formatAmount(t)},total_payable:function(){var t=Object.values(this.to_pay.amount).reduce(function(t,e){return t+parseFloat(e)},0);return this.$store.dispatch("spinner/setSpinner",!1),this.formatAmount(t)}},created:function(){this.$store.dispatch("spinner/setSpinner",!0),this.fetchReceivables(),this.fetchPayables()},methods:{fetchReceivables:function(){var t=this;this.to_receive=[],i.a.get("invoices/overview-receivable").then(function(e){t.to_receive=e.data})},fetchPayables:function(){var t=this;this.to_pay=[],i.a.get("bills/overview-payable").then(function(e){t.to_pay=e.data})}}}},function(t,e,a){"use strict";var i=a(9),n=a.n(i),r=a(1);e.a={name:"Accounts",data:function(){return{isEditSettingsEnabled:!1,accounts:[],edit_accounts:[]}},computed:{totalAmount:function(){if("object"!==n()(this.accounts)||null!==this.accounts){var t=0;return this.accounts&&this.accounts.forEach(function(e){null===e.balance&&(e.balance=0),t+=parseFloat(e.balance)}),isNaN(parseFloat(t))&&(t=0),this.formatAmount(t)}}},created:function(){this.fetchAccounts()},methods:{fetchAccounts:function(){var t=this;r.a.get("/accounts/cash-at-bank").then(function(e){t.accounts=e.data})}}}},function(t,e,a){"use strict";var i=a(1);a(274);e.a={name:"Chart",data:function(){return{items:[],chart:"",chartRange:"this_year",respData:"",showDropdown:!1}},created:function(){this.fetchData()},computed:{thisMonth:function(){return{labels:this.respData.thisMonth.labels,datasets:[{label:"Income",data:this.respData.thisMonth.income,backgroundColor:"#208DF8"},{label:"Expense",data:this.respData.thisMonth.expense,backgroundColor:"#f86e2d"}]}},lastMonth:function(){return{labels:this.respData.lastMonth.labels,datasets:[{label:"Income",data:this.respData.lastMonth.income,backgroundColor:"#208DF8"},{label:"Expense",data:this.respData.lastYear.expense,backgroundColor:"#f86e2d"}]}},thisYear:function(){return{labels:this.respData.thisYear.labels,datasets:[{label:"Income",data:this.respData.thisYear.income,backgroundColor:"#208DF8"},{label:"Expense",data:this.respData.thisYear.expense,backgroundColor:"#f86e2d"}]}},lastYear:function(){return{labels:this.respData.lastYear.labels,datasets:[{label:"Income",data:this.respData.lastYear.income,backgroundColor:"#208DF8"},{label:"Expense",data:this.respData.lastYear.expense,backgroundColor:"#f86e2d"}]}},thisQuarter:function(){var t=this.getQuarterRange();return{labels:this.thisYear.labels.slice(t.start,t.end+1),datasets:[{label:"Income",data:this.thisYear.datasets[0].data.slice(t.start,t.end+1),backgroundColor:"#208DF8"},{label:"Expense",data:this.thisYear.datasets[1].data.slice(t.start,t.end+1),backgroundColor:"#f86e2d"}]}},lastQuarter:function(){var t=this.getQuarterRange("previous"),e=this.thisYear;return t.start<0&&(e=this.lastYear,t.start=t.start+12,t.end=t.end+12),{labels:e.labels.slice(t.start,t.end+1),datasets:[{label:"Income",data:e.datasets[0].data.slice(t.start,t.end+1),backgroundColor:"#208DF8"},{label:"Expense",data:e.datasets[1].data.slice(t.start,t.end+1),backgroundColor:"#f86e2d"}]}}},methods:{createChart:function(){var t={type:"bar",data:{labels:this.thisYear.labels,datasets:this.thisYear.datasets},options:{maintainAspectRatio:!0,responsive:!0,legend:{display:!1},scales:{yAxes:[{ticks:{beginAtZero:!0,callback:function(t,e,a){return erp_acct_var.symbol+t}}}]},tooltips:{callbacks:{label:function(t,e){return erp_acct_var.symbol+t.yLabel.toString()}}}}},e=this.$refs.bar_chart.getContext("2d");this.chart=new Chart(e,t)},fetchData:function(){var t=this;i.a.get("/transactions/income-expense-overview").then(function(e){t.respData=e.data,t.createChart(),t.showDropdown=!0})},updateRange:function(){var t,e;switch(this.chartRange){case"this_month":t=this.thisMonth.labels,e=this.thisMonth.datasets;break;case"last_month":t=this.lastMonth.labels,e=this.lastMonth.datasets;break;case"last_year":t=this.lastYear.labels,e=this.lastYear.datasets;break;case"this_quarter":t=this.thisQuarter.labels,e=this.thisQuarter.datasets;break;case"last_quarter":t=this.lastQuarter.labels,e=this.lastQuarter.datasets;break;default:t=this.thisYear.labels,e=this.thisYear.datasets}this.chart.data.labels=t,this.chart.data.datasets=e,this.chart.update()},getQuarterRange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"current",e=new Date,a=Math.floor(e.getMonth()/3),i=new Date(e.getFullYear(),3*a,1),n=new Date(i.getFullYear(),i.getMonth()+3,0);return"current"===t?{start:i.getMonth(),end:n.getMonth()}:{start:i.getMonth()-3,end:n.getMonth()-3}}},watch:{chartRange:function(){this.updateRange()}}}},function(t,e,a){"use strict";var i=a(1),n=a(2),r=a(4);e.a={name:"TrialBalance",components:{Datepicker:r.a,MultiSelect:n.a},data:function(){return{bulkActions:[{key:"trash",label:"Move to Trash",img:erp_acct_var.erp_assets+"/images/trash.png"}],columns:{name:{label:"Account Name"},debit:{label:"Debit Total"},credit:{label:"Credit Total"}},rows:[],fyears:[],totalDebit:0,totalCredit:0,chrtAcct:null,start_date:null,end_date:null,selectedYear:null}},computed:{debugMode:function(){return"1"===erp_acct_var.erp_debug_mode}},created:function(){this.fetchFnYears(),this.$nextTick(function(){this.$route.query.start?(this.start_date=this.$route.query.start,this.end_date=this.$route.query.end):this.closestFnYear()}),this.getChartOfAccts()},methods:{closestFnYear:function(){var t=this;i.a.get("/reports/closest-fn-year").then(function(e){t.start_date=e.data.start_date,t.end_date=e.data.end_date,t.getTrialBalance(),t.setFnYear(e.data)})},setFnYear:function(t){var e=this.fyears.filter(function(e){return e.id===t.id});this.selectedYear=e.length?e[0]:null},onYearSelected:function(){this.start_date=this.selectedYear.start_date,this.end_date=this.selectedYear.end_date,this.selectedYear={id:parseInt(this.selectedYear.id),name:this.selectedYear.name},this.getTrialBalance()},updateDate:function(){},getChartOfAccts:function(){var t=this;i.a.get("/ledgers/accounts").then(function(e){t.chrtAcct=e.data,t.setDateAndGetTb()})},setDateAndGetTb:function(){this.getTrialBalance()},fetchFnYears:function(){var t=this;i.a.get("/opening-balances/names").then(function(e){t.fyears=e.data.reverse().slice(0).slice(-5)})},getTrialBalance:function(){var t=this;this.updateDate(),this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/reports/trial-balance",{params:{start_date:this.start_date,end_date:this.end_date}}).then(function(e){t.rows=e.data.rows,t.totalDebit=e.data.total_debit,t.totalCredit=e.data.total_credit,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){t.$store.dispatch("spinner/setSpinner",!1)})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(4),s=a(2);e.a={name:"LedgerReport",components:{ListTable:n.a,Datepicker:r.a,MultiSelect:s.a},data:function(){return{start_date:null,end_date:null,selectedLedger:null,ledgers:[],openingBalance:0,columns:{trn_date:{label:"Trns Date"},created_at:{label:"Created At"},trn_no:{label:"Trns No"},particulars:{label:"Particulars"},debit:{label:"Debit"},credit:{label:"Credit"},balance:{label:"Balance"}},rows:[],totalDebit:0,totalCredit:0,symbol:erp_acct_var.symbol}},watch:{selectedLedger:function(t){isNaN(t.id)||(this.rows=[],this.totalDebit=0,this.totalCredit=0)}},created:function(){this.getLedgers(),this.$nextTick(function(){var t=new Date,e=("0"+(t.getMonth()+1)).slice(-2);this.start_date="".concat(t.getFullYear(),"-").concat(e,"-01"),this.end_date=erp_acct_var.current_date,this.$route.params.ledgerName&&(this.selectedLedger={id:parseInt(this.$route.params.ledgerID),name:this.$route.params.ledgerName,code:this.$route.params.ledgerCode},this.getLedgerReport())})},methods:{getLedgers:function(){var t=this;i.a.get("/ledgers").then(function(e){t.ledgers=e.data,t.setDefault()})},setDefault:function(){var t=this;if(this.$route.params.id&&!this.$route.params.ledgerName){var e=this.ledgers.filter(function(e,a){return parseInt(e.id)===parseInt(t.$route.params.id)})[0];this.selectedLedger={id:parseInt(e.id),name:e.name,code:e.code},this.getLedgerReport()}},getLedgerReport:function(){var t=this;null!==this.selectedLedger&&(this.$store.dispatch("spinner/setSpinner",!0),this.rows=[],i.a.get("/reports/ledger-report",{params:{ledger_id:this.selectedLedger.id,start_date:this.start_date,end_date:this.end_date}}).then(function(e){t.rows=e.data.details,t.totalDebit=e.data.extra.total_debit,t.totalCredit=e.data.extra.total_credit,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){t.$store.dispatch("spinner/setSpinner",!1)}))},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(4),s=a(2);e.a={name:"SalesTax",components:{ListTable:n.a,Datepicker:r.a,MultiSelect:s.a},data:function(){return{start_date:null,end_date:null,selectedAgency:null,taxAgencies:[],openingBalance:0,rows:[],totalDebit:0,totalCredit:0,columns:{trn_date:{label:"Trns Date"},created_at:{label:"Created At"},trn_no:{label:"Trns No"},particulars:{label:"Particulars"},debit:{label:"Debit"},credit:{label:"Credit"},balance:{label:"Balance"}},symbol:erp_acct_var.symbol}},watch:{selectedAgency:function(){this.rows=[]}},created:function(){this.$nextTick(function(){var t=new Date,e=("0"+(t.getMonth()+1)).slice(-2);this.start_date="".concat(t.getFullYear(),"-").concat(e,"-01"),this.end_date=erp_acct_var.current_date}),this.getAgencies()},methods:{getAgencies:function(){var t=this;i.a.get("/tax-agencies").then(function(e){t.taxAgencies=e.data})},getSalesTaxReport:function(){var t=this;null!==this.selectedAgency&&(this.$store.dispatch("spinner/setSpinner",!0),this.rows=[],i.a.get("/reports/sales-tax-report",{params:{agency_id:this.selectedAgency.id,start_date:this.start_date,end_date:this.end_date}}).then(function(e){t.rows=e.data.details,t.totalDebit=e.data.extra.total_debit,t.totalCredit=e.data.extra.total_credit,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){t.$store.dispatch("spinner/setSpinner",!1)}))},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(9),n=a.n(i),r=a(1),s=a(288),o=a(21),l=a(117);e.a={name:"PeopleDetails",components:{UserBasicInfo:s.a,PieChart:o.a,PeopleTransaction:l.a},data:function(){return{userId:"",resData:{},userData:{id:"",name:"-",email:"-",meta:{company:"-",website:"-",phone:"-",mobile:"-",address:"-"}},url:"",paymentChart:{title:"Payment",labels:["Recieved","Outstanding"],colors:["#55D8FE","#FF8373"]},statusChart:{title:"Status",colors:["#208DF8","#E9485E"]},paymentData:[],statusLabel:[],statusData:[],transactions:[],opening_balance:0,people_balance:0,outstanding:0,temp:null,req_url:""}},created:function(){var t=this;this.url=this.$route.params.route,this.userId=this.$route.params.id,void 0===this.url&&(this.url=this.$route.path.split("/")[1]),this.fetchItem(this.userId),this.getTransactions(),this.getChartData(),this.$root.$on("people-transaction-filter",function(e){t.filterTransaction(e)})},watch:{transactions:function(t){this.transactions=t}},methods:{fetchItem:function(t){var e=this;"VendorDetails"===this.$route.name?this.req_url="vendors":"CustomerDetails"===this.$route.name&&(this.req_url="customers"),r.a.get(this.req_url+"/"+t,{params:{}}).then(function(t){console.log(t.data),e.resData=t.data})},getTransactions:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),r.a.get(this.req_url+"/"+this.userId+"/transactions").then(function(e){t.transactions=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},filterTransaction:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$store.dispatch("spinner/setSpinner",!0),r.a.get(this.url+"/"+this.userId+"/transactions/filter",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.transactions=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},formatLineItems:function(){var t=this;this.transactions.forEach(function(e){null===e.balance&&"object"===n()(e.balance)&&(e.balance=0),e.type=t.formatTrnStatus(e.type)})},getChartData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.a.get("/transactions/people-chart/trn-amount/".concat(this.userId),{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.outstanding=e.data.payable,t.paymentData.push(e.data.paid,e.data.payable)}),r.a.get("/transactions/people-chart/trn-status/".concat(this.userId),{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.temp=e.data,e.data.forEach(function(e){t.statusLabel.push(e.type_name),t.statusData.push(e.sub_total)})})}}}},function(t,e,a){"use strict";var i=a(20);e.a={name:"UserBasicInfo",components:{PeopleModal:i.a},props:{userData:{type:Object,required:!0,default:function(){return{id:"",name:"Full Name",email:"email@mail.com",photo:erp_acct_var.acct_assets+"/images/dummy-user.png",meta:{phone:"+ 88101230123",mobile:"+ 999999999",website:"www.website.com",fax:"+99898989898",address:"House#1005, Block#B, Avenue#9, Mirpur DOHS"}}}}},data:function(){return{showModal:!1,title:"",userMeta:window.acct.hooks.applyFilters("acctPeopleMeta",[])}},computed:{user:function(){return this.userData}},methods:{camelCase:function(t){return t.toLowerCase().replace(/(?:(^.)|(\s+.))/g,function(t){return t.charAt(t.length-1).toUpperCase()})}},created:function(){this.title="customerdetails"===this.$route.name.toLowerCase()?"customer":"vendor",this.$on("modal-close",function(){this.showModal=!1});var t=this;this.$root.$on("peopleUpdate",function(){t.showModal=!1,t.$parent.fetchItem(t.$route.params.id)})}}},function(t,e,a){"use strict";var i=a(34),n=a.n(i),r=a(14),s=a.n(r),o=a(15),l=a.n(o),c=a(7),d=a(1),u=a(4),p=a(10),h=a(16),g=a(297),f=a(131),m=a(2),_=a(5);function A(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"InvoiceCreate",components:{MultiSelect:m.a,Datepicker:u.a,FileUpload:p.a,ComboButton:h.a,InvoiceTrnRow:g.a,SelectCustomers:f.a,ShowErrors:_.a},data:function(){return{basic_fields:{customer:"",trn_date:"",due_date:"",billing_address:""},createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],updateButtons:[{id:"update",text:"Update"},{id:"new_update",text:"Update and New"},{id:"draft",text:"Save as Draft"}],extraFields:window.acct.hooks.applyFilters("acctInvoiceExtraFields",[]),editMode:!1,voucherNo:0,discountType:"discount-percent",discount:0,status:null,taxRate:null,taxSummary:null,products:[],particulars:"",attachments:[],transactionLines:[],taxRates:[],taxTotalAmount:0,finalTotalAmount:0,inv_title:"",inv_type:{},erp_acct_assets:erp_acct_var.acct_assets,form_errors:[]}},watch:{"basic_fields.customer":function(){this.editMode||this.getCustomerAddress()},taxRate:function(t){this.$store.dispatch("sales/setTaxRateID",t.id)},discount:function(){this.discountChanged()},discountType:function(){this.discountChanged()},invoiceTotalAmount:function(){this.discountChanged()}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?A(Object(a),!0).forEach(function(e){l()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):A(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(c.b)({invoiceTotalAmount:function(t){return t.sales.invoiceTotalAmount}}),{},Object(c.b)({actionType:function(t){return t.combo.btnID}})),created:function(){var t=this;"EstimateCreate"===this.$route.name?(this.inv_title="Estimate",this.inv_type={id:1,name:"Estimate"}):(this.inv_title="Invoice",this.inv_type={id:0,name:"Invoice"}),this.prepareDataLoad(),this.$root.$on("remove-row",function(e){t.$delete(t.transactionLines,e),t.updateFinalAmount()}),this.$root.$on("total-updated",function(e){t.updateFinalAmount()})},methods:{prepareDataLoad:function(){var t=this;return s()(regeneratorRuntime.mark(function e(){var a,i,r,s,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.params.id){e.next=26;break}return t.editMode=!0,t.voucherNo=t.$route.params.id,e.next=5,Promise.all([d.a.get("/products",{params:{number:-1}}),d.a.get("/taxes/summary")]);case 5:return a=e.sent,i=n()(a,2),r=i[0],s=i[1],e.next=11,d.a.get("/invoices/".concat(t.$route.params.id));case 11:if((o=e.sent).data.line_items.length){e.next=15;break}return t.showAlert("error","Invoice does not exists!"),e.abrupt("return");case 15:if(Boolean(Number(o.data.editable))){e.next=19;break}return t.showAlert("error","Can't edit"),e.abrupt("return");case 19:t.products=r.data,t.taxSummary=s.data,t.taxRates=t.getUniqueTaxRates(s.data),t.setDataForEdit(o.data),t.$store.dispatch("combo/setBtnID","update"),e.next=32;break;case 26:t.getProducts(),t.getTaxRates(),t.basic_fields.trn_date=erp_acct_var.current_date,t.basic_fields.due_date=erp_acct_var.current_date,t.transactionLines.push({},{},{}),t.$store.dispatch("combo/setBtnID","save");case 32:case"end":return e.stop()}},e)}))()},setDataForEdit:function(t){this.basic_fields.customer={id:parseInt(t.customer_id),name:t.customer_name},this.basic_fields.billing_address=t.billing_address,this.basic_fields.trn_date=t.trn_date,this.basic_fields.due_date=t.due_date,this.status=t.status,this.transactionLines=t.line_items,this.taxTotalAmount=t.tax,this.finalTotalAmount=t.debit,this.particulars=t.particulars,this.attachments=t.attachments,this.discountType=t.discount_type,"discount-percent"===t.discount_type?this.discount=100*parseFloat(t.discount)/parseFloat(t.amount):this.discount=t.discount,this.taxRate={id:parseInt(t.tax_rate_id),name:this.getTaxRateNameByID(t.tax_rate_id)},"1"===t.estimate&&(this.inv_title="Estimate",this.inv_type={id:1,name:"Estimate"},this.finalTotalAmount=parseFloat(t.amount)+parseFloat(t.tax)-parseFloat(this.discount))},estimateToInvoice:function(){return 1===this.inv_type.id&&this.$route.query.convert},getProducts:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),d.a.get("/products",{params:{number:-1}}).then(function(e){t.products=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},getCustomerAddress:function(){var t=this,e=this.basic_fields.customer.id;e?d.a.get("/people/".concat(e)).then(function(e){var a=e.data,i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c}):this.basic_fields.billing_address=""},discountChanged:function(){var t=this.discount;"discount-percent"===this.discountType&&(t=this.invoiceTotalAmount*t/100),this.$store.dispatch("sales/setDiscount",t)},getTaxRates:function(){var t=this;d.a.get("/taxes/summary").then(function(e){t.taxSummary=e.data,t.taxRates=t.getUniqueTaxRates(t.taxSummary)})},getTaxRateNameByID:function(t){var e=this.taxRates.find(function(e){return e.id===parseInt(t)});return e?e.name:null},getUniqueTaxRates:function(t){var e=this;return Array.from(new Set(t.map(function(t){return t.tax_rate_id}))).map(function(a){var i=t.find(function(t){return t.tax_rate_id===a});return i.default&&(e.taxRate={id:a,name:i.tax_rate_name},e.$store.dispatch("sales/setTaxRateID",a)),{id:a,name:i.tax_rate_name}})},addLine:function(){this.transactionLines.push({})},updateFinalAmount:function(){var t=0,e=0,a=0;this.transactionLines.forEach(function(i){i.qty&&(t+=parseFloat(i.taxAmount),e+=isNaN(i.discount)?0:parseFloat(i.discount),a+=parseFloat(i.amount))}),this.$store.dispatch("sales/setInvoiceTotalAmount",a);var i=a-e+t;this.taxTotalAmount=t.toFixed(2),this.finalTotalAmount=i.toFixed(2)},formatLineItems:function(){var t=[];return this.transactionLines.forEach(function(e){e.qty&&t.push({product_id:e.selectedProduct.id,product_type_name:e.selectedProduct.product_type_name,tax_cat_id:e.taxCatID,qty:e.qty,unit_price:e.unitPrice,tax:e.taxAmount,tax_rate:e.taxRate,discount:e.discount,item_total:e.amount})}),t},updateInvoice:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),d.a.put("/invoices/".concat(this.voucherNo),t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1);var a="Invoice Updated!";e.estimateToInvoice()&&(a="Conversion Successful!"),e.showAlert("success",a)}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){"update"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Sales"}):"new_update"===e.actionType&&e.resetFields()})},createInvoice:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),d.a.post("/invoices",t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success",e.inv_title+" Created!")}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){"save"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Sales"}):"new_create"===e.actionType&&e.resetFields()})},submitInvoiceForm:function(){if(this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{this.isWorking=!0,"draft"===this.actionType?this.status=1:this.status=2;var t=window.acct.hooks.applyFilters("requestData",{customer_id:this.basic_fields.customer.id,date:this.basic_fields.trn_date,due_date:this.basic_fields.due_date,billing_address:this.basic_fields.billing_address,discount_type:this.discountType,tax_rate_id:null!==this.taxRate?this.taxRate.id:null,line_items:this.formatLineItems(),attachments:this.attachments,particulars:this.particulars,type:"invoice",status:parseInt(this.status),estimate:this.inv_type.id,convert:this.$route.query.convert});this.editMode?this.updateInvoice(t):this.createInvoice(t)}},removeFile:function(t){this.$delete(this.attachments,t)},resetFields:function(){this.basic_fields.customer={id:null,name:null},this.basic_fields.trn_date=erp_acct_var.current_date,this.basic_fields.due_date=erp_acct_var.current_date,this.basic_fields.billing_address="",this.particulars="",this.attachments=[],this.transactionLines=[],this.discountType="discount-percent",this.discount=0,this.taxTotalAmount=0,this.finalTotalAmount=0,this.isWorking=!1,this.transactionLines.push({},{},{}),this.$store.dispatch("combo/setBtnID","save")},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.customer,"id")||this.form_errors.push("Customer Name is required."),this.basic_fields.trn_date||this.form_errors.push("Transaction Date is required."),this.basic_fields.due_date||this.form_errors.push("Due Date is required."),parseFloat(this.finalTotalAmount)||this.form_errors.push("Total amount can't be zero."),this.noFulfillLines(this.transactionLines,"selectedProduct")&&this.form_errors.push("Please select a product.")}}}},function(t,e,a){"use strict";var i=a(7),n=a(2);e.a={name:"InvoiceTrnRow",props:{products:{type:Array,default:function(){return[]}},line:{type:Object,default:function(){}},taxSummary:{type:Array,default:function(){return[]}}},components:{MultiSelect:n.a},data:function(){return{taxRate:0,taxAmount:0,taxCatID:0,debugMode:erp_acct_var.erp_debug_mode}},watch:{taxRateID:function(){this.getTaxRate(),this.respondAtChange()},discount:function(){this.respondAtChange()},invoiceTotalAmount:function(){this.calculateDiscount()}},computed:Object(i.b)({taxRateID:function(t){return t.sales.taxRateID},discount:function(t){return t.sales.discount},invoiceTotalAmount:function(t){return t.sales.invoiceTotalAmount}}),created:function(){this.$route.params.id&&(this.prepareRowEdit(this.line),this.getTaxRate())},methods:{prepareRowEdit:function(t){t.selectedProduct={id:parseInt(t.product_id),name:t.name},t.taxCatID=t.tax_cat_id,t.unitPrice=parseFloat(t.unit_price),t.applyTax=!0,t.taxAmount=t.tax,t.amount=parseInt(t.qty)*parseFloat(t.unit_price)},respondAtChange:function(){this.calculateDiscount(),this.calculateTax(),this.calculateAmount()},getAmount:function(){return this.line.qty||(this.line.qty=0),this.line.qty&&this.line.unitPrice?parseInt(this.line.qty)*parseFloat(this.line.unitPrice):(this.line.discount=0,this.line.taxAmount=0,this.line.amount=0,!1)},getTaxRate:function(){var t=this,e=this.taxSummary.find(function(e){if(e.sales_tax_category_id===t.line.taxCatID&&e.tax_rate_id===t.taxRateID)return e});this.taxRate=0,e&&(this.taxRate=parseFloat(e.tax_rate)),this.line.taxRate=this.taxRate},calculateDiscount:function(){var t=this.getAmount();if(t){var e=this.discount*t,a=0;e&&(a=e/this.invoiceTotalAmount),this.line.discount=a}},calculateTax:function(){var t=this.getAmount();if(t){var e=(t-this.line.discount)*this.taxRate/100;this.line.taxAmount=0,this.line.applyTax&&(this.line.taxAmount=e.toFixed(2))}},calculateAmount:function(){var t=this.getAmount();t&&(this.line.amount=t,this.$root.$emit("total-updated",t),this.$forceUpdate())},setProductInfo:function(){if(this.line.selectedProduct){var t=this.line.selectedProduct.id;if(t){var e=this.products.find(function(e){return e.id===t});this.line.qty=1,this.line.taxCatID=e.tax_cat_id,this.line.unitPrice=parseFloat(e.sale_price),this.line.product_type_name=e.product_type_name,e.tax_cat_id&&(this.line.applyTax=!0),this.getTaxRate(),this.respondAtChange()}}},removeRow:function(){this.$root.$emit("remove-row",this.$vnode.key)}}}},function(t,e,a){"use strict";var i=a(132),n=a(301),r=!1;var s=function(t){r||a(300)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/people/SelectCustomers.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(7),n=a(1),r=a(2),s=a(20);e.a={name:"SelectCustomers",components:{MultiSelect:r.a,PeopleModal:s.a},props:{value:{type:[String,Object,Array],default:""},reset:{type:Boolean,default:!1}},data:function(){return{selected:null,showModal:!1}},watch:{value:function(t){this.selected=t},selected:function(){this.$emit("input",this.selected)},reset:function(){this.selected=[]}},computed:Object(i.b)({options:function(t){return t.sales.customers}}),created:function(){var t=this;this.$store.dispatch("sales/fetchCustomers"),this.$root.$on("options-query",function(e){e&&t.getCustomers(e)}),this.$on("modal-close",function(){t.showModal=!1,t.people=null}),this.$root.$on("peopleUpdate",function(){t.showModal=!1})},methods:{getCustomers:function(t){var e=this;n.a.get("/people",{params:{type:"customer",search:t}}).then(function(t){e.$store.dispatch("sales/fillCustomers",t.data)})}}}},function(t,e,a){"use strict";var i=a(9),n=a.n(i),r=a(1),s=a(3);e.a={name:"ChartAccounts",data:function(){return{columns:{code:{label:"Code"},ledger_name:{label:"Name"},balance:{label:"Balance"},trn_count:{label:"Count"},actions:{label:"Actions"}},actions:[{key:"edit",label:"Edit"}],chartAccounts:[],ledgers:[],temp_ledgers:erp_acct_var.ledgers,search:"",curSymbol:erp_acct_var.symbol||"$"}},computed:{filteredLedgers:function(){var t=this;return this.temp_ledgers.filter(function(e){return e.name.toLowerCase().indexOf(t.search.toLowerCase())>=0})}},components:{ListTable:s.a},created:function(){this.fetchChartAccounts(),this.fetchLedgers()},methods:{groupBy:function(t,e){return t.map("function"==typeof e?e:function(t){return t[e]}).reduce(function(e,a,i){return e[a]=(e[a]||[]).concat(t[i]),e},{})},fetchChartAccounts:function(){var t=this;this.chartAccounts=[],this.$store.dispatch("spinner/setSpinner",!0),r.a.get("/ledgers/accounts").then(function(e){t.chartAccounts=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},fetchLedgers:function(){var t=this;this.temp_ledgers.forEach(function(e){e.balance=t.transformBalance(e.balance)}),this.ledgers=this.groupBy(this.temp_ledgers,"chart_id")},transformBalance:function(t){return null===t&&"object"===n()(t)&&(t=0),"string"==typeof t&&(t=t.split(this.curSymbol)[1]),t<0?"Cr. ".concat(this.moneyFormat(Math.abs(t))):"Dr. ".concat(this.moneyFormat(t))},onActionClick:function(t,e,a){var i=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),r.a.delete("/ledgers/".concat(e.id)).then(function(t){i.fetchChartAccounts(),i.$store.dispatch("spinner/setSpinner",!1)}).catch(function(t){throw i.$store.dispatch("spinner/setSpinner",!1),t}));break;case"edit":this.$router.push({name:"ChartAccountsEdit",params:{id:e.id}})}}}}},function(t,e,a){"use strict";var i=a(34),n=a.n(i),r=a(14),s=a.n(r),o=a(1),l=a(308),c=a.n(l),d=a(334);a.n(d);e.a={name:"AddChartAccounts",data:function(){return{chartAccounts:[],categories:[],catAddModal:!1,ledgFields:{chart_id:null,category_id:null,name:"",code:""},catData:{title:"Add New",node:null},ledgerID:0,editMode:!1,error:!1,isChartAdding:!1}},components:{Treeselect:c.a},watch:{"ledgFields.chart_id":function(){}},created:function(){this.prepareDataLoad()},methods:{prepareDataLoad:function(){var t=this;return s()(regeneratorRuntime.mark(function e(){var a,i,r,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.params.id){e.next=13;break}return t.editMode=!0,t.ledgerID=t.$route.params.id,e.next=5,Promise.all([o.a.get("/ledgers/accounts"),o.a.get("/ledgers/".concat(t.$route.params.id))]);case 5:a=e.sent,i=n()(a,2),r=i[0],s=i[1],t.chartAccounts=r.data,t.setDataForEdit(s.data),e.next=15;break;case 13:t.fetchChartAccounts(),t.fetchLedgerCategories();case 15:case"end":return e.stop()}},e)}))()},setDataForEdit:function(t){this.ledgFields.chart_id=t.chart_id,this.ledgFields.name=t.name,this.ledgFields.category_id=t.category_id,this.ledgFields.code=t.code},categoryAddModal:function(){this.catAddModal=!0},buildTree:function(t){var e=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=[];return t.forEach(function(n){if(n.parent_id===a){var r=e.buildTree(t,n.id);r.length&&(n.children=r),i.push(n)}}),i},fetchChartAccounts:function(){var t=this;this.chartAccounts=[],o.a.get("/ledgers/accounts").then(function(e){t.chartAccounts=e.data})},fetchLedgerCategories:function(){var t=this;this.ledgFields.chart_id&&o.a.get("/ledgers/categories/".concat(this.ledgFields.chart_id)).then(function(e){e.data&&(t.categories=t.buildTree(e.data))})},editCategory:function(t){this.catData.title="Update",this.catData.node=t,this.catAddModal=!0},removeCategory:function(t){var e=this;confirm("Are you sure to remove this category?")&&o.a.delete("/ledgers/categories/".concat(t.id)).then(function(t){e.showAlert("error","Category Removed!"),e.fetchLedgerCategories()})},createLedger:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),o.a.post("/ledgers",t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Created !"),window.location.reload()}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.resetFields()})},updateteLedger:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),o.a.put("/ledgers/".concat(this.ledgerID),t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Updated !"),window.location.reload()}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.resetFields(),e.$router.push({name:"ChartOfAccounts"})})},isDuplicateLedger:function(t){for(var e=this,a=erp_acct_var.ledgers.filter(function(t){return t.id!==e.$route.params.id}),i=!1,n=0;n<a.length;n++)if(t.code===a[n].code||t.name===a[n].name){i=!0;break}return i},saveAccount:function(){this.$store.dispatch("spinner/setSpinner",!0),this.error=!1,this.isChartAdding=!0;var t={chart_id:this.ledgFields.chart_id,category_id:this.ledgFields.category_id,name:this.ledgFields.name,code:this.ledgFields.code};if(this.isDuplicateLedger(t))return this.showAlert("error","Duplicate Account!"),void this.$store.dispatch("spinner/setSpinner",!1);this.editMode?this.updateteLedger(t):this.createLedger(t)},resetFields:function(){this.ledgFields.chart_id=null,this.ledgFields.category_id=null,this.ledgFields.name="",this.ledgFields.code="",this.isChartAdding=!1,this.$store.dispatch("spinner/setSpinner",!1)}}}},,,,,function(t,e,a){"use strict";e.a={name:"ReportsOverview",data:function(){return{reportLists:window.acct.hooks.applyFilters("acctExtensionReportsList",[])}}}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(2);e.a={name:"ProductCategory",components:{ListTable:n.a,MultiSelect:r.a},data:function(){return{categories:[],categoryName:"",parentCategory:0,category:null,error:!1,showModal:!1,columns:{name:{label:"Category Name"},actions:{label:"Actions"}},actions:[{key:"edit",label:"Edit"},{key:"trash",label:"Delete"}],bulkActions:[{key:"trash",label:"Move to Trash",img:erp_acct_var.erp_assets+"/images/trash.png"}]}},created:function(){this.$store.dispatch("spinner/setSpinner",!0),this.getCategories(),this.$on("close",function(){this.showModal=!1})},methods:{getCategories:function(){var t=this;i.a.get("product-cats").then(function(e){var a=e.data;for(var i in a){var n=a[i],r={id:n.id,name:n.name,isEdit:!1};t.categories.push(r)}t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},onActionClick:function(t,e,a){var n=this;"edit"===t?(e.isEdit=!0,this.category=e):"trash"===t&&confirm("Are you sure want to delete ?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("product-cats/"+e.id).then(function(t){n.$delete(n.categories,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted!")}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}))},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure want to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("product-cats/delete/"+e).then(function(t){var i=document.getElementsByClassName("column-cb")[0].childNodes[0];i.checked&&i.click(),a.categories=a.categories.filter(function(t){return-1===e.indexOf(t.id)}),a.$store.dispatch("spinner/setSpinner",!1)}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t}))},createCategory:function(){var t=this;if(""!==this.categoryName){this.$store.dispatch("spinner/setSpinner",!0);var e={name:this.categoryName,parent:this.parentCategory};i.a.post("/product-cats",e).then(function(e){t.categories.push(e.data),t.categoryName="",t.parentCategory=0,t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Product category added!")}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})}else this.error=!0},updateCategory:function(t){var e=this,a=document.getElementById("cat-"+t.id).value,n=t.id;this.$store.dispatch("spinner/setSpinner",!0),i.a.put("/product-cats/"+n,{name:a}).then(function(i){t.name=a,e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Product category updated!")}).catch(function(a){throw t.isEdit=!1,e.$store.dispatch("spinner/setSpinner",!1),a})}}}},function(t,e,a){"use strict";var i=a(14),n=a.n(i),r=a(15),s=a.n(r),o=a(7),l=a(1),c=a(4),d=a(10),u=a(131),p=a(22),h=a(2),g=a(44),f=a(5),m=a(16);function _(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"RecPaymentCreate",components:{SelectAccounts:p.a,Datepicker:c.a,FileUpload:d.a,SelectCustomers:u.a,MultiSelect:h.a,CheckFields:g.a,ShowErrors:f.a,ComboButton:m.a},data:function(){return{basic_fields:{customer:"",trn_ref:"",payment_date:"",deposit_to:"",billing_address:"",trn_by:""},check_data:{bank_name:"",payer_name:"",check_no:""},bank_data:{trn_charge:0},createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],form_errors:[],editMode:!1,voucherNo:0,invoices:[],attachments:[],totalAmounts:[],pay_methods:[],finalTotalAmount:0,particulars:"",isWorking:!1,accts_by_chart:[],erp_acct_assets:erp_acct_var.acct_assets,reset:!1}},watch:{finalTotalAmount:function(t){this.finalTotalAmount=t},"basic_fields.customer":function(){this.getCustomerAddress(),this.getDueInvoices()},"basic_fields.trn_by":function(){this.changeAccounts()}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?_(Object(a),!0).forEach(function(e){s()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(o.b)({actionType:function(t){return t.combo.btnID}})),created:function(){this.prepareDataLoad(),this.$store.dispatch("combo/setBtnID","save")},mounted:function(){this.$route.params.customer_id&&(this.basic_fields.customer={id:parseInt(this.$route.params.customer_id),name:this.$route.params.customer_name})},methods:{prepareDataLoad:function(){var t=this;return n()(regeneratorRuntime.mark(function e(){var a,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.params.id){e.next=16;break}return t.editMode=!0,t.voucherNo=t.$route.params.id,e.next=5,l.a.get("/transactions/payment-methods");case 5:return a=e.sent,e.next=8,l.a.get("/invoices/".concat(t.$route.params.id));case 8:if((i=e.sent).data.line_items.length){e.next=12;break}return t.showAlert("error","Invoice does not exists!"),e.abrupt("return");case 12:t.pay_methods=a.data,t.setDataForEdit(i.data),e.next=18;break;case 16:t.basic_fields.payment_date=erp_acct_var.current_date,t.getPayMethods();case 18:case"end":return e.stop()}},e)}))()},getPayMethods:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.get("/transactions/payment-methods").then(function(e){t.pay_methods=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},setCheckFields:function(t){this.check_data=t},getDueInvoices:function(){var t=this;this.invoices=[];var e=this.basic_fields.customer.id,a=0,i=0;e&&l.a.get("/invoices/due/".concat(e)).then(function(e){e.data.forEach(function(e){t.invoices.push({id:e.id,invoice_no:e.voucher_no,due_date:e.due_date,amount:parseFloat(e.amount),due:parseFloat(e.due)})})}).then(function(){t.invoices.forEach(function(e){t.totalAmounts[a++]=parseFloat(e.due),i+=parseFloat(e.due)}),t.finalTotalAmount=parseFloat(i).toFixed(2)})},getCustomerAddress:function(){var t=this,e=this.basic_fields.customer.id;e?l.a.get("/people/".concat(e)).then(function(e){var a=e.data,i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c}):this.basic_fields.billing_address=""},updateFinalAmount:function(){var t=0;this.totalAmounts.forEach(function(e){t+=parseFloat(e)}),this.finalTotalAmount=parseFloat(t).toFixed(2)},SubmitForPayment:function(t){var e=this;if(this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{this.invoices.forEach(function(t,a){t.line_total=parseFloat(e.totalAmounts[a])}),this.$store.dispatch("spinner/setSpinner",!0);var a=null;a="draft"===this.actionType?1:4;var i=this.basic_fields.deposit_to.id;4===this.basic_fields.trn_by.id&&(i=this.basic_fields.deposit_to.people_id);var n=0;2===parseInt(this.basic_fields.trn_by.id)&&(n=this.bank_data.trn_charge),l.a.post("/payments",{customer_id:this.basic_fields.customer.id,ref:this.basic_fields.trn_ref,trn_date:this.basic_fields.payment_date,line_items:this.invoices,attachments:this.attachments,type:"payment",status:a,particulars:this.particulars,deposit_to:i,trn_by:this.basic_fields.trn_by.id,check_no:parseInt(this.check_data.check_no),name:this.check_data.payer_name,bank:this.check_data.bank_name,bank_trn_charge:n}).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Payment Created!"),e.reset=!0,"save"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Sales"}):"new_create"===e.actionType&&e.resetFields()}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t})}},changeAccounts:function(){var t=this;this.accts_by_chart=[],"2"===this.basic_fields.trn_by.id||"3"===this.basic_fields.trn_by.id?l.a.get("/ledgers/bank-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"1"===this.basic_fields.trn_by.id?l.a.get("/ledgers/cash-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"4"===this.basic_fields.trn_by.id&&"undefined"!==erp_reimbursement_var.erp_reimbursement_module&&"1"===erp_reimbursement_var.erp_reimbursement_module&&l.a.get("/people-transactions/balances").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}),this.$root.$emit("account-changed")},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.customer,"id")||this.form_errors.push("Customer Name is required."),this.basic_fields.payment_date||this.form_errors.push("Transaction Date is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.deposit_to,"id")||this.form_errors.push("Deposit Account is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.trn_by,"id")||this.form_errors.push("Payment Method is required."),parseFloat(this.finalTotalAmount)||this.form_errors.push("Total amount can't be zero.")},showPaymentModal:function(){this.getDueInvoices()},resetData:function(){this.basic_fields={customer:"",trn_ref:"",payment_date:erp_acct_var.current_date,deposit_to:"",billing_address:"",trn_by:""},this.check_data={bank_name:"",payer_name:"",check_no:""},this.form_errors=[],this.invoices=[],this.attachments=[],this.totalAmounts=[],this.finalTotalAmount=0,this.particulars="",this.isWorking=!1,this.reset=!1,this.$store.dispatch("combo/setBtnID","save")},removeRow:function(t){this.$delete(this.invoices,t),this.$delete(this.totalAmounts,t),this.updateFinalAmount()}}}},function(t,e,a){"use strict";e.a={name:"CheckFields",data:function(){return{check_fields:{bank_name:"",payer_name:"",check_no:""}}},methods:{updateCheckData:function(){this.$emit("updateCheckFields",this.check_fields)}}}},function(t,e,a){"use strict";var i=a(14),n=a.n(i),r=a(15),s=a.n(r),o=a(7),l=a(1),c=a(24),d=a(4),u=a(10),p=a(5),h=a(2),g=a(16);function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"BillCreate",components:{Datepicker:d.a,MultiSelect:h.a,FileUpload:u.a,ComboButton:g.a,SelectPeople:c.a,ShowErrors:p.a},data:function(){return{basic_fields:{user:"",trn_date:"",due_date:"",ref:"",billing_address:""},form_errors:[],createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],updateButtons:[{id:"update",text:"Update"},{id:"new_update",text:"Update and New"},{id:"draft",text:"Save as Draft"}],editMode:!1,voucherNo:0,transactionLines:[],selected:[],ledgers:[],attachments:[],totalAmounts:0,finalTotalAmount:0,particulars:"",erp_acct_assets:erp_acct_var.acct_assets,extraFields:window.acct.hooks.applyFilters("acctBillExtraFields",[])}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f(Object(a),!0).forEach(function(e){s()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(o.b)({actionType:function(t){return t.combo.btnID}})),created:function(){var t=this;this.prepareDataLoad(),this.$on("remove-row",function(e){t.$delete(t.transactionLines,e),t.updateFinalAmount()})},methods:{prepareDataLoad:function(){var t=this;return n()(regeneratorRuntime.mark(function e(){var a,i,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.params.id){e.next=22;break}return t.editMode=!0,t.voucherNo=t.$route.params.id,a=5,e.next=6,l.a.get("/ledgers/".concat(a,"/accounts"));case 6:return i=e.sent,e.next=9,l.a.get("/bills/".concat(t.$route.params.id));case 9:if((n=e.sent).data.bill_details.length){e.next=13;break}return t.showAlert("error","Bill does not exists!"),e.abrupt("return");case 13:if(Boolean(Number(n.data.editable))){e.next=17;break}return t.showAlert("error","Can't edit"),e.abrupt("return");case 17:t.ledgers=i.data,t.setDataForEdit(n.data),t.$store.dispatch("combo/setBtnID","update"),e.next=27;break;case 22:t.getLedgers(),t.basic_fields.trn_date=erp_acct_var.current_date,t.basic_fields.due_date=erp_acct_var.current_date,t.transactionLines.push({},{},{}),t.$store.dispatch("combo/setBtnID","save");case 27:case"end":return e.stop()}},e)}))()},setDataForEdit:function(t){var e=this;this.basic_fields.user={id:parseInt(t.vendor_id),name:t.vendor_name},this.basic_fields.billing_address=t.billing_address,this.basic_fields.trn_date=t.trn_date,this.basic_fields.ref=t.ref,this.basic_fields.due_date=t.due_date,this.status=t.status,this.finalTotalAmount=t.debit,this.particulars=t.particulars,this.attachments=t.attachments,t.bill_details.forEach(function(t){e.transactionLines.push({id:t.id,ledger_id:{id:t.ledger_id,name:t.ledger_name},description:t.particulars,amount:t.amount})}),this.updateFinalAmount()},getLedgers:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.get("/ledgers/".concat(5,"/accounts")).then(function(e){t.ledgers=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},getPeopleAddress:function(){var t=this,e=this.basic_fields.user.id;e?l.a.get("/people/".concat(e)).then(function(e){var a=e.data,i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c}):this.basic_fields.billing_address=""},updateFinalAmount:function(){var t=0;this.transactionLines.forEach(function(e){e.amount&&(t+=parseFloat(e.amount))}),this.finalTotalAmount=parseFloat(t).toFixed(2)},addLine:function(){this.transactionLines.push({})},updateBill:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.put("/bills/".concat(this.voucherNo),t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Bill Updated!")}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.reset=!0,"update"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Expenses"}):"new_update"===e.actionType&&e.resetFields()})},createBill:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.post("/bills",t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Bill Created!")}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.reset=!0,"save"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Expenses"}):"new_create"===e.actionType&&e.resetFields()})},submitBillForm:function(){if(this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{var t=null;t="draft"===this.actionType?1:2;var e=window.acct.hooks.applyFilters("requestData",{vendor_id:this.basic_fields.user.id,ref:this.basic_fields.ref,trn_date:this.basic_fields.trn_date,due_date:this.basic_fields.due_date,bill_details:this.formatTrnLines(this.transactionLines),attachments:this.attachments,billing_address:this.basic_fields.billing_address,type:"bill",status:t,particulars:this.particulars});this.editMode?this.updateBill(e):this.createBill(e)}},resetFields:function(){this.transactionLines=[],this.attachments=[],this.totalAmounts=0,this.finalTotalAmount=0,this.particulars="",this.form_errors=[],this.basic_fields={user:{id:null,name:null},ref:"",trn_date:erp_acct_var.current_date,due_date:erp_acct_var.current_date,billing_address:""},this.transactionLines.push({},{},{}),this.$store.dispatch("combo/setBtnID","save")},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.user,"id")||this.form_errors.push("People Name is required."),this.basic_fields.trn_date||this.form_errors.push("Transaction Date is required."),this.basic_fields.due_date||this.form_errors.push("Due Date is required."),parseFloat(this.finalTotalAmount)||this.form_errors.push("Total amount can't be zero."),this.noFulfillLines(this.transactionLines,"ledger_id")&&this.form_errors.push("Please select an account.")},formatTrnLines:function(t){var e=[];return t.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"ledger_id")&&(t.ledger_id=t.ledger_id.id,e.push(t))}),e},removeRow:function(t){this.$delete(this.transactionLines,t),this.updateFinalAmount()}},watch:{finalTotalAmount:function(t){this.finalTotalAmount=t},"basic_fields.user":function(){this.getPeopleAddress()}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6),s=a(17);e.a={name:"BillSingle",components:{SendMail:n.a,Dropdown:r.a,TransParticulars:s.a},data:function(){return{company:null,bill:{},isWorking:!1,acct_var:erp_acct_var,print_data:null,type:"bill",showModal:!1,people_id:null}},created:function(){var t=this;this.getCompanyInfo(),this.getBill(),this.$root.$on("close",function(){t.showModal=!1})},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getBill:function(){var t=this;this.isWorking=!0,this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/bills/".concat(this.$route.params.id)).then(function(e){t.bill=e.data,t.people_id=t.bill.vendor_id,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(t){}).then(function(){t.print_data=t.bill,t.isWorking=!1})},printPopup:function(){window.print()}}}},,function(t,e,a){"use strict";e.a={name:"TransParticulars",props:{particulars:String}}},function(t,e,a){"use strict";var i=a(15),n=a.n(i),r=a(7),s=a(1),o=a(4),l=a(10),c=a(24),d=a(22),u=a(2),p=a(44),h=a(5),g=a(16);function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"PayBillCreate",components:{SelectAccounts:d.a,SelectPeople:c.a,Datepicker:o.a,FileUpload:l.a,MultiSelect:u.a,CheckFields:p.a,ShowErrors:h.a,ComboButton:g.a},data:function(){return{basic_fields:{people:{},trn_ref:"",payment_date:erp_acct_var.current_date,deposit_to:"",billing_address:"",trn_by:""},check_data:{bank_name:"",payer_name:"",check_no:""},createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],form_errors:[],pay_bills:[],attachments:[],dueAmounts:[],totalAmounts:[],pay_methods:[],finalTotalAmount:0,particulars:"",isWorking:!1,accts_by_chart:[],acct_assets:erp_acct_var.acct_assets}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f(Object(a),!0).forEach(function(e){n()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(r.b)({actionType:function(t){return t.combo.btnID}})),created:function(){var t=this;this.getPayMethods(),this.$root.$on("remove-row",function(e){t.$delete(t.pay_bills,e),t.updateFinalAmount()}),this.$store.dispatch("combo/setBtnID","save")},mounted:function(){this.basic_fields.people={id:parseInt(this.$route.params.vendor_id),name:this.$route.params.vendor_name}},methods:{getPayMethods:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),s.a.get("/transactions/payment-methods").then(function(e){t.pay_methods=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},setCheckFields:function(t){this.check_data=t},getDueBills:function(){var t=this;this.pay_bills=[];var e=this.basic_fields.people.id,a=0,i=0;isNaN(e)||s.a.get("/bills/due/".concat(e)).then(function(e){e.data.forEach(function(e){null!==e.due&&e.due>0&&t.pay_bills.push({id:e.id,voucher_no:e.voucher_no,due_date:e.due_date,amount:parseFloat(e.amount),due:parseFloat(e.due)})})}).then(function(){t.pay_bills.forEach(function(e){t.totalAmounts[a++]=parseFloat(e.due),i+=parseFloat(e.due)}),t.finalTotalAmount=parseFloat(i).toFixed(2)})},getPeopleAddress:function(){var t=this,e=this.basic_fields.people.id;isNaN(e)||s.a.get("/people/".concat(e)).then(function(e){var a=e.data,i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c})},updateFinalAmount:function(){for(var t=0,e=0;e<this.totalAmounts.length;e++)t+=parseFloat(this.totalAmounts[e]);this.finalTotalAmount=parseFloat(t).toFixed(2)},SubmitForPayment:function(){var t=this;if(this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{this.pay_bills.forEach(function(e,a){e.amount=parseFloat(t.totalAmounts[a])}),this.$store.dispatch("spinner/setSpinner",!0);var e=null;e="draft"===this.actionType?1:4;var a=this.basic_fields.deposit_to.id;4===this.basic_fields.trn_by.id&&(a=this.basic_fields.deposit_to.people_id),s.a.post("/pay-bills",{vendor_id:this.basic_fields.people.id,ref:this.basic_fields.trn_ref,trn_date:this.basic_fields.payment_date,due_date:this.basic_fields.due_date,bill_details:this.pay_bills,attachments:this.attachments,type:"pay_bill",status:e,particulars:this.particulars,deposit_to:a,trn_by:this.basic_fields.trn_by.id,check_no:parseInt(this.check_data.check_no),name:this.check_data.payer_name,bank:this.check_data.bank_name}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Pay-Bill Created!"),"save"===t.actionType||"draft"===t.actionType?t.$router.push({name:"Expenses"}):"new_create"===t.actionType&&t.resetFields()}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("error","Something went wrong!"),e}).then(function(){t.resetFields(),t.isWorking=!1})}},changeAccounts:function(){var t=this;this.accts_by_chart=[],"2"===this.basic_fields.trn_by.id||"3"===this.basic_fields.trn_by.id?s.a.get("/ledgers/bank-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"1"===this.basic_fields.trn_by.id?s.a.get("/ledgers/cash-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"4"===this.basic_fields.trn_by.id&&"undefined"!==erp_reimbursement_var.erp_reimbursement_module&&"1"===erp_reimbursement_var.erp_reimbursement_module&&s.a.get("/people-transactions/balances").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}),this.$root.$emit("account-changed")},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.people,"id")||this.form_errors.push("People Name is required."),this.basic_fields.payment_date||this.form_errors.push("Transaction Date is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.deposit_to,"id")||this.form_errors.push("Transaction Account is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.trn_by,"id")||this.form_errors.push("Payment Method is required."),parseFloat(this.basic_fields.deposit_to.balance)<parseFloat(this.finalTotalAmount)&&this.form_errors.push("Not enough balance in selected account."),parseFloat(this.finalTotalAmount)||this.form_errors.push("Total amount can't be zero.")},showPaymentModal:function(){this.getDueBills()},resetFields:function(){this.basic_fields={people:{id:null,name:null},trn_ref:"",payment_date:erp_acct_var.current_date,deposit_to:"",billing_address:"",trn_by:""},this.check_data={bank_name:"",payer_name:"",check_no:""},this.form_errors=[],this.attachments=[],this.dueAmounts=[],this.totalAmounts=[],this.finalTotalAmount=0,this.particulars="",this.isWorking=!1,this.$store.dispatch("combo/setBtnID","save")},removeRow:function(t){this.$delete(this.pay_bills,t),this.$delete(this.totalAmounts,t),this.updateFinalAmount()}},watch:{finalTotalAmount:function(t){this.finalTotalAmount=t},"basic_fields.people":function(){this.getPeopleAddress()},"basic_fields.trn_by":function(){this.changeAccounts()}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6),s=a(17);e.a={name:"PayBillSingle",components:{SendMail:n.a,Dropdown:r.a,TransParticulars:s.a},data:function(){return{company:null,payBill:{},isWorking:!1,acct_var:erp_acct_var,print_data:null,type:"pay_bill",showModal:!1,people_id:null}},created:function(){var t=this;this.getCompanyInfo(),this.getBill(),this.$root.$on("close",function(){t.showModal=!1})},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getBill:function(){var t=this;this.isWorking=!0,this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/pay-bills/".concat(this.$route.params.id)).then(function(e){t.payBill=e.data,t.people_id=t.payBill.vendor_id,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(t){}).then(function(){t.print_data=t.payBill,t.isWorking=!1})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(34),n=a.n(i),r=a(14),s=a.n(r),o=a(15),l=a.n(o),c=a(7),d=a(1),u=a(4),p=a(10),h=a(16),g=a(364),f=a(151),m=a(5);function _(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"PurchaseCreate",components:{Datepicker:u.a,FileUpload:p.a,ComboButton:h.a,PurchaseRow:g.a,SelectVendors:f.a,ShowErrors:m.a},data:function(){return{basic_fields:{vendor:"",trn_date:"",due_date:"",ref:"",billing_address:""},createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],updateButtons:[{id:"update",text:"Update Purchase"},{id:"new_update",text:"Update and New"},{id:"draft",text:"Save as Draft"}],form_errors:[],editMode:!1,voucherNo:0,products:[],particulars:"",attachments:[],transactionLines:[],finalTotalAmount:0,erp_acct_assets:erp_acct_var.acct_assets,isWorking:!1,purchase_title:"",purchase_order:0,page_title:""}},watch:{"basic_fields.vendor":function(){this.editMode||this.getvendorData()}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?_(Object(a),!0).forEach(function(e){l()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):_(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(c.b)({actionType:function(t){return t.combo.btnID}})),created:function(){var t=this;"PurchaseOrderCreate"===this.$route.name?(this.page_title="Purchase Order",this.purchase_order=1):(this.page_title="Purchase",this.$route.query.convert?this.purchase_order=1:this.purchase_order=0),this.prepareDataLoad(),this.$root.$on("remove-row",function(e){t.transactionLines.length<2||(t.$delete(t.transactionLines,e),t.updateFinalAmount())}),this.$root.$on("total-updated",function(e){t.updateFinalAmount()}),this.$store.dispatch("combo/setBtnID","update")},methods:{prepareDataLoad:function(){var t=this;return s()(regeneratorRuntime.mark(function e(){var a,i,r,s;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.params.id){e.next=18;break}return t.editMode=!0,t.voucherNo=t.$route.params.id,e.next=5,Promise.all([d.a.get("/purchases/".concat(t.$route.params.id))]);case 5:if(a=e.sent,i=n()(a,1),r=i[0],Boolean(Number(r.data.editable))){e.next=12;break}return t.showAlert("error","Can't edit"),e.abrupt("return");case 12:(s=r.data)&&t.getProducts(s.vendor_id),t.setDataForEdit(r.data),t.$store.dispatch("combo/setBtnID","update"),e.next=22;break;case 18:t.basic_fields.trn_date=erp_acct_var.current_date,t.basic_fields.due_date=erp_acct_var.current_date,t.transactionLines.push({},{},{}),t.$store.dispatch("combo/setBtnID","save");case 22:case"end":return e.stop()}},e)}))()},setDataForEdit:function(t){this.basic_fields.vendor={id:parseInt(t.vendor_id),name:t.vendor_name},this.basic_fields.billing_address=t.billing_address,this.basic_fields.trn_date=t.date,this.basic_fields.ref=t.ref,this.basic_fields.due_date=t.due_date,this.status=t.status,this.transactionLines=t.line_items,this.particulars=t.particulars,this.attachments=t.attachments},resetData:function(){this.basic_fields={vendor:{id:null,name:null},trn_date:erp_acct_var.current_date,due_date:erp_acct_var.current_date,ref:"",billing_address:""},this.form_errors=[],this.particulars="",this.attachments=[],this.transactionLines=[],this.finalTotalAmount=0,this.isWorking=!1,this.$store.dispatch("combo/setBtnID","save")},getProducts:function(t){var e=this;this.products=[],t||(t=this.basic_fields.vendor.id),this.$store.dispatch("spinner/setSpinner",!0),d.a.get("vendors/".concat(t,"/products"),{params:{number:-1}}).then(function(t){t.data.forEach(function(t){e.products.push({id:t.id,name:t.name,unitPrice:t.cost_price})}),e.$store.dispatch("spinner/setSpinner",!1)}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t})},getvendorData:function(){var t=this,e=this.basic_fields.vendor.id;e?(d.a.get("/people/".concat(e)).then(function(e){var a=e.data,i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c}),this.getProducts()):this.basic_fields.billing_address=""},orderToPurchase:function(){return 1===this.purchase_order&&this.$route.query.convert},addLine:function(){this.transactionLines.push({})},updateFinalAmount:function(){var t=0;this.transactionLines.forEach(function(e){e.qty&&(t+=parseFloat(e.amount))}),this.finalTotalAmount=t.toFixed(2)},formatLineItems:function(){var t=[];return this.transactionLines.forEach(function(e){Object.prototype.hasOwnProperty.call(e,"selectedProduct")&&t.push({product_id:e.selectedProduct.id,qty:e.qty,unit_price:e.unitPrice,item_total:e.amount})}),t},updatePurchase:function(t){var e=this;d.a.put("/purchases/".concat(this.voucherNo),t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1);var a="Purchase Updated!";e.orderToPurchase()&&(a="Conversion Successful!"),e.showAlert("success",a)}).then(function(){e.$store.dispatch("spinner/setSpinner",!1),e.isWorking=!1,e.reset=!0,"update"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Purchases"}):"new_update"===e.actionType&&e.resetFields()})},createPurchase:function(t){var e=this;d.a.post("/purchases",t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success",e.page_title+" Created!")}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){"save"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Purchases"}):"new_create"===e.actionType&&e.resetFields()})},SubmitForApproval:function(){if(this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{this.isWorking=!0,this.$store.dispatch("spinner/setSpinner",!0);var t=null;t="draft"===this.actionType?1:2;var e={vendor_id:this.basic_fields.vendor.id,vendor_name:this.basic_fields.vendor.name,trn_date:this.basic_fields.trn_date,due_date:this.basic_fields.due_date,ref:this.basic_fields.ref,billing_address:this.basic_fields.billing_address,line_items:this.formatLineItems(),particulars:this.particulars,attachments:this.attachments,type:"purchase",status:t,purchase_order:this.purchase_order,convert:this.$route.query.convert};this.editMode?this.updatePurchase(e):this.createPurchase(e)}},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.vendor,"id")||this.form_errors.push("Vendor Name is required."),this.basic_fields.trn_date||this.form_errors.push("Transaction Date is required."),this.basic_fields.due_date||this.form_errors.push("Due Date is required."),this.finalTotalAmount||this.form_errors.push("Total amount can't be zero."),this.noFulfillLines(this.transactionLines,"selectedProduct")&&this.form_errors.push("Please select a product.")}}}},function(t,e,a){"use strict";var i=a(2);e.a={name:"PurchaseRow",props:{products:{type:Array,default:function(){return[]}},line:{type:Object,default:function(){}}},components:{MultiSelect:i.a},created:function(){this.$route.params.id&&this.prepareRowEdit(this.line)},methods:{prepareRowEdit:function(t){t.unitPrice=t.price,t.selectedProduct={id:parseInt(t.product_id),name:t.name},this.calculateAmount()},setProductInfo:function(){this.line.qty=1,this.$route.params.id?this.line.unitPrice=this.line.selectedProduct.cost_price:this.line.unitPrice=this.line.selectedProduct.unitPrice,this.calculateAmount()},getAmount:function(){return this.line.qty||(this.line.qty=0),this.line.qty&&this.line.unitPrice?parseInt(this.line.qty)*parseFloat(this.line.unitPrice):(this.line.amount=0,!1)},calculateAmount:function(){var t=this.getAmount();t&&(this.line.amount=t.toFixed(2),this.$root.$emit("total-updated",this.line.amount),this.$forceUpdate())},removeRow:function(){this.$root.$emit("remove-row",this.$vnode.key)}}}},function(t,e,a){"use strict";var i=a(152),n=a(368),r=!1;var s=function(t){r||a(367)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/people/SelectVendors.vue",e.a=o.exports},function(t,e,a){"use strict";var i=a(7),n=a(1),r=a(2),s=a(20);e.a={name:"SelectVendors",components:{MultiSelect:r.a,PeopleModal:s.a},props:{value:{type:[String,Object,Array],default:""},reset:{type:Boolean,default:!1}},data:function(){return{selected:null,showModal:!1}},watch:{value:function(t){this.selected=t},selected:function(){this.$emit("input",this.selected)},reset:function(){this.selected=[]}},computed:Object(i.b)({options:function(t){return t.purchase.vendors}}),created:function(){var t=this;this.$store.dispatch("purchase/fetchVendors"),this.$root.$on("options-query",function(e){e&&t.getvendors(e)}),this.$on("modal-close",function(){t.showModal=!1,t.people=null}),this.$root.$on("peopleUpdate",function(){self.showModal=!1})},methods:{getvendors:function(t){var e=this;n.a.get("/people",{params:{type:"vendor",search:t}}).then(function(t){e.$store.dispatch("purchase/fillVendors",t.data)})}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6),s=a(17);e.a={name:"PurchaseSingle",components:{SendMail:n.a,Dropdown:r.a,TransParticulars:s.a},data:function(){return{company:null,purchase:{},isWorking:!1,acct_var:erp_acct_var,print_data:null,type:"purchase",showModal:!1,people_id:null}},created:function(){var t=this;this.getCompanyInfo(),this.getPurchase(),this.$root.$on("close",function(){t.showModal=!1})},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getPurchase:function(){var t=this;this.isWorking=!0,this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/purchases/".concat(this.$route.params.id)).then(function(e){t.purchase=e.data,t.people_id=t.purchase.vendor_id,t.$store.dispatch("spinner/setSpinner",!1)}).then(function(t){}).then(function(){t.print_data=t.purchase,t.isWorking=!1}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(15),n=a.n(i),r=a(7),s=a(1),o=a(4),l=a(10),c=a(151),d=a(2),u=a(44),p=a(5),h=a(22),g=a(16);function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"PayPurchaseCreate",components:{MultiSelect:d.a,SelectVendors:c.a,Datepicker:o.a,FileUpload:l.a,ComboButton:g.a,CheckFields:u.a,SelectAccounts:h.a,ShowErrors:p.a},data:function(){return{basic_fields:{vendor:{},trn_ref:"",payment_date:erp_acct_var.current_date,deposit_to:"",billing_address:"",trn_by:{id:null,name:null}},paymentMethods:{cash:"1",bank:"2",check:"3"},check_data:{bank_name:"",payer_name:"",check_no:""},createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],form_errors:[],pay_methods:[],deposit_accts:[],pay_purchases:[],attachments:[],totalAmounts:[],finalTotalAmount:0,particulars:"",isWorking:!1,accts_by_chart:[],acct_assets:erp_acct_var.acct_assets}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f(Object(a),!0).forEach(function(e){n()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(r.b)({actionType:function(t){return t.combo.btnID}})),created:function(){this.getPayMethods(),this.$store.dispatch("combo/setBtnID","save")},mounted:function(){this.basic_fields.vendor={id:parseInt(this.$route.params.vendor_id),name:this.$route.params.vendor_name}},methods:{getPayMethods:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),s.a.get("/transactions/payment-methods").then(function(e){t.pay_methods=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},setCheckFields:function(t){this.check_data=t},resetData:function(){this.basic_fields={vendor:"",trn_ref:"",payment_date:"",deposit_to:"",billing_address:"",trn_by:{id:null,name:null}},this.pay_purchases=[],this.attachments=[],this.totalAmounts=[],this.finalTotalAmount=0,this.particulars="",this.isWorking=!1},getDuePurchases:function(){var t=this,e=0,a=0;this.pay_purchases=[],isNaN(this.basic_fields.vendor.id)||s.a.get("/purchases/due/".concat(this.basic_fields.vendor.id)).then(function(e){e.data.forEach(function(e){t.pay_purchases.push({id:e.id,voucher_no:e.voucher_no,due_date:e.due_date,total:parseFloat(e.amount),due:parseFloat(e.due)})})}).then(function(){t.pay_purchases.forEach(function(i){t.totalAmounts[e++]=parseFloat(i.due),a+=parseFloat(i.due)}),t.finalTotalAmount=parseFloat(a).toFixed(2)})},getCustomerAddress:function(){var t=this,e=this.basic_fields.vendor.id;e?s.a.get("/people/".concat(e)).then(function(e){var a=e.data,i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c}):this.basic_fields.billing_address=""},updateFinalAmount:function(){var t=0;this.totalAmounts.forEach(function(e){t+=parseFloat(e)}),this.finalTotalAmount=parseFloat(t).toFixed(2)},SubmitForPayment:function(){var t=this;if(this.pay_purchases.forEach(function(e,a){e.line_total=parseFloat(t.totalAmounts[a])}),this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{this.$store.dispatch("spinner/setSpinner",!0);var e=null;e="draft"===this.actionType?1:4;var a=this.basic_fields.deposit_to.id;4===this.basic_fields.trn_by.id&&(a=this.basic_fields.deposit_to.people_id),s.a.post("/pay-purchases",{vendor_id:this.basic_fields.vendor.id,ref:this.basic_fields.trn_ref,trn_date:this.basic_fields.payment_date,purchase_details:this.pay_purchases,attachments:this.attachments,type:"pay_purchase",status:e,particulars:this.particulars,deposit_to:a,trn_by:this.basic_fields.trn_by.id,check_no:parseInt(this.check_data.check_no),name:this.check_data.payer_name}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Pay Purchase Created!"),"save"===t.actionType||"draft"===t.actionType?t.$router.push({name:"Purchases"}):"new_create"===t.actionType&&t.resetFields()}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("error","Something went wrong!"),e})}},changeAccounts:function(){var t=this;this.accts_by_chart=[],"2"===this.basic_fields.trn_by.id||"3"===this.basic_fields.trn_by.id?s.a.get("/ledgers/bank-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"1"===this.basic_fields.trn_by.id?s.a.get("/ledgers/cash-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"4"===this.basic_fields.trn_by.id&&"undefined"!==erp_reimbursement_var.erp_reimbursement_module&&"1"===erp_reimbursement_var.erp_reimbursement_module&&s.a.get("/people-transactions/balances").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}),this.$root.$emit("account-changed")},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.vendor,"id")||this.form_errors.push("Vendor Name is required."),this.basic_fields.payment_date||this.form_errors.push("Transaction Date is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.deposit_to,"id")||this.form_errors.push("Transaction Account is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.trn_by,"id")||this.form_errors.push("Payment Method is required."),parseFloat(this.basic_fields.deposit_to.balance)<parseFloat(this.finalTotalAmount)&&this.form_errors.push("Not enough balance in selected account."),parseFloat(this.finalTotalAmount)||this.form_errors.push("Total amount can't be zero.")},showPaymentModal:function(){this.getDuePurchases()},resetFields:function(){this.basic_fields={vendor:{id:null,name:null},trn_by:{id:null,name:null},trn_ref:"",payment_date:erp_acct_var.current_date,deposit_to:"",billing_address:""},this.paymentMethods={cash:"1",bank:"2",check:"3"},this.check_data={bank_name:"",payer_name:"",check_no:""},this.form_errors=[],this.attachments=[],this.totalAmounts=[],this.finalTotalAmount=0,this.particulars="",this.isWorking=!1,this.$store.dispatch("combo/setBtnID","save")},remove_item:function(t){this.$delete(this.pay_purchases,t),this.$delete(this.totalAmounts,t),this.updateFinalAmount()}},watch:{finalTotalAmount:function(t){this.finalTotalAmount=t},"basic_fields.vendor":function(){this.getCustomerAddress()},"basic_fields.trn_by":function(){this.changeAccounts()}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6),s=a(17);e.a={name:"PayPurchaseSingle",components:{SendMail:n.a,Dropdown:r.a,TransParticulars:s.a},data:function(){return{company:null,payPurchase:{},isWorking:!1,acct_var:erp_acct_var,print_data:null,type:"pay_purchase",showModal:!1,people_id:null}},created:function(){var t=this;this.getCompanyInfo(),this.getPurchase(),this.$root.$on("close",function(){t.showModal=!1})},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getPurchase:function(){var t=this;this.isWorking=!0,this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/pay-purchases/".concat(this.$route.params.id)).then(function(e){t.payPurchase=e.data,t.people_id=t.payPurchase.vendor_id,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(t){}).then(function(){t.print_data=t.payPurchase,t.isWorking=!1})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(1),n=a(3);e.a={name:"JournalList",components:{ListTable:n.a},data:function(){return{journalModal:!1,columns:{l_id:{label:__("Voucher No.","erp")},l_date:{label:__("Date","erp")},l_particulars:{label:__("Particulars","erp")},amount:{label:__("Amount","erp")}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},journal_id:0}},created:function(){this.$store.dispatch("spinner/setSpinner",!0),this.fetchItems()},computed:{row_data:function(){var t=this.rows;return t.map(function(t){t.l_id=t.voucher_no,t.l_date=t.trn_date,t.l_particulars=t.particulars,t.amount=t.total}),t}},methods:{fetchItems:function(){var t=this;this.rows=[],i.a.get("/journals",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateJournals",params:{page:t},query:e}),this.fetchItems()}}}},function(t,e,a){"use strict";var i=a(1),n=a(4),r=a(10),s=a(12),o=a(2),l=a(5);e.a={name:"JournalCreate",components:{MultiSelect:o.a,Datepicker:n.a,FileUpload:r.a,SubmitButton:s.a,ShowErrors:l.a},data:function(){return{basic_fields:{journal_no:"",trn_ref:"",trn_date:erp_acct_var.current_date},form_errors:[],journal_id:0,account_ids:[],transactionLines:[{},{}],attachments:[],debitLine:[],creditLine:[],ledgers:[],credit_total:0,debit_total:0,finalAmount:0,journal_parti:"",particulars:[],isWorking:!1,acct_assets:erp_acct_var.acct_assets}},created:function(){this.getLedgers(),this.getNextJournalID()},methods:{getLedgers:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),i.a.get("ledgers").then(function(e){t.ledgers=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},addLine:function(){this.transactionLines.push({})},remove_item:function(t){this.$delete(this.transactionLines,t)},SubmitForJournalCreate:function(){var t=this;this.validateForm(),this.form_errors.length?window.scrollTo({top:10,behavior:"smooth"}):(this.$store.dispatch("spinner/setSpinner",!0),i.a.post("/journals",{trn_date:this.basic_fields.trn_date,ref:this.basic_fields.trn_ref,line_items:this.formatLineItems(),attachments:this.attachments,type:"journal",particulars:this.journal_parti}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Journal Entry Added!")}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(){t.isWorking=!1,t.$router.push({name:"Journals"})}),this.resetFields())},validateForm:function(){this.form_errors=[],this.account_ids.length<2&&this.form_errors.push("Accounts are required."),this.basic_fields.trn_date||this.form_errors.push("Transaction Date is required."),this.debit_total||this.form_errors.push("Total amount can't be zero."),Math.abs(this.debit_total-this.credit_total)&&this.form_errors.push("Debit and Credit must be Equal.")},calculateAmount:function(t){this.debitLine[t]>0?this.creditLine[t]=0:this.debitLine[t]=0,this.debit_total=this.debitLine.reduce(function(t,e){return parseFloat(t)+parseFloat(e)},0),this.credit_total=this.creditLine.reduce(function(t,e){return parseFloat(t)+parseFloat(e)},0);var e=Math.abs(this.debit_total-this.credit_total);this.isWorking=!0,e||(this.isWorking=!1)},formatLineItems:function(){for(var t=[],e=0;e<this.transactionLines.length;e++){var a={};a.ledger_id=this.account_ids[e].id,a.particulars=this.particulars[e],a.debit=this.debitLine[e],a.credit=this.creditLine[e],t.push(a)}return t},getNextJournalID:function(){var t=this;i.a.get("/journals/next/").then(function(e){t.journal_id=e.data.id})},resetFields:function(){this.basic_fields.journal_no={id:null,name:null},this.basic_fields.trn_date=erp_acct_var.current_date,this.attachments=[],this.transactionLines=[{},{}],this.isWorking=!1,this.debitLine=[],this.creditLine=[],this.ledgers=[],this.credit_total=0,this.debit_total=0,this.finalAmount=0,this.journal_parti="",this.particulars=[]},totalDebit:function(){return this.debit_total=this.debitLine.reduce(function(t,e){return parseFloat(t)+parseFloat(e)},0).toFixed(2),this.debit_total},totalCredit:function(){return this.credit_total=this.creditLine.reduce(function(t,e){return parseFloat(t)+parseFloat(e)},0).toFixed(2),this.credit_total}},watch:{isWorking:function(t){this.isWorking=t}}}},function(t,e,a){"use strict";var i=a(1),n=a(17);e.a={name:"JournalSingle",components:{TransParticulars:n.a},data:function(){return{company:null,journal:{},isWorking:!1,acct_var:erp_acct_var}},created:function(){this.getCompanyInfo(),this.getJournal()},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getJournal:function(){var t=this;this.isWorking=!0,this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/journals/".concat(this.$route.params.id)).then(function(e){t.journal=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(t){}).then(function(){t.isWorking=!1})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(1),n=a(3);e.a={name:"Transfers",components:{ListTable:n.a},data:function(){return{transferFrom:{balance:0},transferTo:{balance:0},accounts:[],fa:[],ta:[],transferdate:erp_acct_var.current_date,particulars:"",amount:"",money_transfer:!1,transfer_list:[],columns:{voucher:{label:"Voucher No"},ac_from:{label:"Account From"},amount:{label:"Amount"},ac_to:{label:"Account To"}}}},created:function(){this.$store.dispatch("spinner/setSpinner",!0),this.get_transfer_list()},methods:{get_transfer_list:function(){var t=this;i.a.get("/accounts/transfers/list").then(function(e){t.transfer_list=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})}}}},function(t,e,a){"use strict";var i=a(2),n=a(1),r=a(4);e.a={name:"Transfer",components:{MultiSelect:i.a,Datepicker:r.a},data:function(){return{transferFrom:{balance:0},transferTo:{balance:0},accounts:[],fa:[],ta:[],transferdate:erp_acct_var.current_date,particulars:"",amount:""}},created:function(){this.fetchAccounts()},mounted:function(){this.$route.params.ac_id&&(this.transferFrom={id:parseInt(this.$route.params.ac_id),name:this.$route.params.ac_name})},methods:{fetchAccounts:function(){var t=this;n.a.get("accounts").then(function(e){t.accounts=e.data,t.fa=e.data,t.ta=e.data})},transformBalance:function(t){return t<0?"Cr. ".concat(this.moneyFormat(Math.abs(t))):"Dr. ".concat(this.moneyFormat(t))},submitTransfer:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),n.a.post("/accounts/transfer",{date:this.transferdate,from_account_id:this.transferFrom.id,to_account_id:this.transferTo.id,amount:this.amount,particulars:this.particulars}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Transfer Successful!"),t.fetchAccounts(),t.resetData(),t.$router.push("/transfers")}).catch(function(e){var a=e.response.data.message;t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("error",a)})},resetData:function(){this.transferFrom={balance:0},this.transferTo={balance:0},this.accounts=[],this.transferdate=erp_acct_var.current_date,this.particulars="",this.amount=""}},watch:{transferFrom:function(){var t=this.transferFrom.id;this.ta=jQuery.grep(this.accounts,function(e){return e.id!==t})},transferTo:function(){var t=this.transferTo.id;this.fa=jQuery.grep(this.accounts,function(e){return e.id!==t})}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6);e.a={name:"SingleTransfer",data:function(){return{voucher:{},company:"",showModal:!1,print_data:null}},components:{SendMail:n.a,Dropdown:r.a},created:function(){this.$store.dispatch("spinner/setSpinner",!0),this.getCompanyInfo(),this.getVoucher()},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data})},getVoucher:function(){var t=this;i.a.get("/accounts/transfers/".concat(this.$route.params.id)).then(function(e){t.voucher=e.data,t.print_data=t.voucher,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(34),n=a.n(i),r=a(14),s=a.n(r),o=a(15),l=a.n(o),c=a(7),d=a(1),u=a(4),p=a(2),h=a(10),g=a(16),f=a(24),m=a(22),_=a(44),A=a(5);function v(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"ExpenseCreate",components:{SelectAccounts:m.a,Datepicker:u.a,MultiSelect:p.a,FileUpload:h.a,ComboButton:g.a,SelectPeople:f.a,CheckFields:_.a,ShowErrors:A.a},data:function(){return{basic_fields:{people:"",trn_ref:"",trn_date:"",deposit_to:"",trn_by:"",billing_address:""},check_data:{bank_name:"",payer_name:"",check_no:""},bank_data:{trn_charge:0},form_errors:[],createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],updateButtons:[{id:"update",text:"Update"},{id:"new_update",text:"Update and New"},{id:"draft",text:"Save as Draft"}],editMode:!1,voucherNo:0,transactionLines:[],selected:[],ledgers:[],pay_methods:[],attachments:[],totalAmounts:0,finalTotalAmount:0,particulars:"",isWorking:!1,accts_by_chart:[],erp_acct_assets:erp_acct_var.acct_assets}},watch:{finalTotalAmount:function(t){this.finalTotalAmount=t},"basic_fields.people":function(){this.getPeopleAddress()},"basic_fields.trn_by":function(){this.changeAccounts()}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?v(Object(a),!0).forEach(function(e){l()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):v(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(c.b)({actionType:function(t){return t.combo.btnID}})),created:function(){var t=this;this.prepareDataLoad(),this.$root.$on("remove-row",function(e){t.$delete(t.transactionLines,e),t.updateFinalAmount()}),this.$root.$on("combo-btn-select",function(e){t.actionType=e.id})},methods:{prepareDataLoad:function(){var t=this;return s()(regeneratorRuntime.mark(function e(){var a,i,r,s,o,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.params.id){e.next=19;break}return t.editMode=!0,t.voucherNo=t.$route.params.id,a=5,e.next=6,Promise.all([d.a.get("/ledgers/".concat(a,"/accounts")),d.a.get("/transactions/payment-methods")]);case 6:return i=e.sent,r=n()(i,2),s=r[0],o=r[1],e.next=12,d.a.get("/expenses/".concat(t.$route.params.id));case 12:l=e.sent,t.ledgers=s.data,t.pay_methods=o.data,t.setDataForEdit(l.data),t.$store.dispatch("combo/setBtnID","update"),e.next=25;break;case 19:t.getLedgers(),t.getPayMethods(),t.basic_fields.trn_date=erp_acct_var.current_date,t.basic_fields.due_date=erp_acct_var.current_date,t.transactionLines.push({},{},{}),t.$store.dispatch("combo/setBtnID","save");case 25:case"end":return e.stop()}},e)}))()},setDataForEdit:function(t){var e=this;this.basic_fields.people={id:parseInt(t.people_id),name:t.people_name},this.basic_fields.deposit_to={id:parseInt(t.deposit_to)},this.basic_fields.trn_by=this.pay_methods.find(function(e){return e.id===t.trn_by}),this.basic_fields.billing_address=t.address,this.basic_fields.trn_date=t.trn_date,this.basic_fields.trn_ref=t.ref,this.status=t.status,this.particulars=t.particulars,this.attachments=t.attachments,t.bill_details.forEach(function(t){e.transactionLines.push({id:t.id,ledger_id:{id:t.ledger_id,name:t.ledger_name},particulars:t.particulars,amount:t.amount})}),this.updateFinalAmount()},draftToExpense:function(){return this.$route.query.convert},getLedgers:function(){var t=this;d.a.get("/ledgers/".concat(5,"/accounts")).then(function(e){t.ledgers=e.data})},getPayMethods:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),d.a.get("/transactions/payment-methods").then(function(e){t.pay_methods=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},setCheckFields:function(t){this.check_data=t},getPeopleAddress:function(){var t=this,e=this.basic_fields.people.id;e?d.a.get("/people/".concat(e)).then(function(e){var a=e.data;if("string"!=typeof a){var i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c}else t.basic_fields.billing_address=a}):this.basic_fields.billing_address=""},updateFinalAmount:function(){var t=0;this.transactionLines.forEach(function(e){e.amount&&(t+=parseFloat(e.amount))}),this.finalTotalAmount=parseFloat(t).toFixed(2)},addLine:function(){this.transactionLines.push({})},updateExpense:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),d.a.put("/expenses/".concat(this.voucherNo),t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1);var a=__("Expense Updated!","erp");e.draftToExpense()&&(a=__("Conversion Successful!","erp")),e.showAlert("success",a)}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.isWorking=!1,e.reset=!0,"update"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Expenses"}):"new_update"===e.actionType&&e.resetFields()})},createExpense:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),d.a.post("/expenses",t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Expense Created!")}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.isWorking=!1,e.reset=!0,"save"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Expenses"}):"new_create"===e.actionType&&e.resetFields()})},SubmitForExpense:function(){if(this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{this.isWorking=!0;var t=null;t="draft"===this.actionType?1:4;var e=this.basic_fields.deposit_to.id;Object.prototype.hasOwnProperty.call(this.basic_fields.deposit_to,"people_id")&&(e=this.basic_fields.deposit_to.people_id);var a=0;2===parseInt(this.basic_fields.trn_by.id)&&(a=this.bank_data.trn_charge||0);var i={people_id:this.basic_fields.people.id,ref:this.basic_fields.trn_ref,trn_date:this.basic_fields.trn_date,trn_by:this.basic_fields.trn_by.id,bill_details:this.formatTrnLines(this.transactionLines),deposit_to:e,billing_address:this.basic_fields.billing_address,attachments:this.attachments,type:"expense",status:t,particulars:this.particulars,check_no:parseInt(this.check_data.check_no),name:this.check_data.payer_name,bank:this.check_data.bank_name,convert:this.$route.query.convert,bank_trn_charge:a};this.editMode?this.updateExpense(i):this.createExpense(i)}},changeAccounts:function(){var t=this;this.accts_by_chart=[],"2"===this.basic_fields.trn_by.id||"3"===this.basic_fields.trn_by.id?d.a.get("/ledgers/bank-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"1"===this.basic_fields.trn_by.id?d.a.get("/ledgers/cash-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"4"===this.basic_fields.trn_by.id&&"undefined"!==erp_reimbursement_var.erp_reimbursement_module&&"1"===erp_reimbursement_var.erp_reimbursement_module&&d.a.get("/people-transactions/balances").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}),this.$root.$emit("account-changed")},resetFields:function(){this.basic_fields={people:"",trn_ref:"",trn_date:erp_acct_var.current_date,deposit_to:"",trn_by:"",billing_address:""},this.check_data={bank_name:"",payer_name:"",check_no:""},this.form_errors=[],this.transactionLines=[],this.attachments=[],this.totalAmounts=0,this.finalTotalAmount=0,this.particulars="",this.isWorking=!1,this.transactionLines.push({},{},{}),this.$store.dispatch("combo/setBtnID","save")},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.people,"id")||this.form_errors.push("People Name is required."),this.basic_fields.trn_date||this.form_errors.push("Transaction Date is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.deposit_to,"id")||this.form_errors.push("Transaction Account is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.trn_by,"id")||this.form_errors.push("Payment Method is required."),parseFloat(this.basic_fields.deposit_to.balance)<parseFloat(this.finalTotalAmount)&&this.form_errors.push("Not enough balance in selected account."),parseFloat(this.finalTotalAmount)||this.form_errors.push("Total amount can't be zero."),this.noFulfillLines(this.transactionLines,"ledger_id")&&this.form_errors.push("Please select an account.")},removeRow:function(t){this.$delete(this.transactionLines,t),this.updateFinalAmount()},formatTrnLines:function(t){var e=[];return t.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"ledger_id")&&(t.ledger_id=t.ledger_id.id,e.push(t))}),e}}}},function(t,e,a){"use strict";var i=a(1),n=a(402),r=a(404),s=a(11),o=a(6);e.a={name:"SalesSingle",data:function(){return{isWorking:!1,invoice:null,payment:null,type:null,company:null,acct_var:erp_acct_var,showModal:!1,print_data:null,copyLink:"#",user_id:null,pdf_link:"#"}},components:{InvoiceSingleContent:n.a,PaymentSingleContent:r.a,SendMail:s.a,Dropdown:o.a},created:function(){var t=this,e=this.$route.params;void 0===e.type?this.getSalesType(e.id):this.loadData(e.type),this.getCompanyInfo(),this.$root.$on("close",function(){t.showModal=!1})},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getSalesType:function(t){var e=this;i.a.get("/transactions/type/".concat(t)).then(function(t){e.loadData(t.data)}).then(function(t){}).then(function(){e.isWorking=!1})},loadData:function(t){this.type=t,"invoice"===t?this.getInvoice():"payment"===t&&this.getPayment()},getInvoiceType:function(){return null!==this.invoice&&"1"===this.invoice.estimate?"Estimate":"Invoice"},getInvoice:function(){var t=this;this.isWorking=!0,i.a.get("/invoices/".concat(this.$route.params.id)).then(function(e){t.invoice=e.data}).then(function(){t.print_data=t.invoice,t.copyLink=t.invoice.readonly_url,t.pdf_link=t.invoice.pdf_link,t.isWorking=!1,t.user_id=t.print_data.customer_id})},getPayment:function(){var t=this;this.isWorking=!0,i.a.get("/payments/".concat(this.$route.params.id)).then(function(e){t.payment=e.data}).then(function(){t.print_data=t.payment,t.pdf_link=t.payment.pdf_link,t.user_id=t.print_data.customer_id,t.isWorking=!1})},printPopup:function(){window.print()},handleSuccess:function(t){alert(erp_acct_var.link_copy_success)},handleError:function(t){alert(erp_acct_var.link_copy_error)}}}},function(t,e,a){"use strict";var i=a(17);e.a={name:"InvoiceSingleContent",props:{invoice:{type:Object},company:{type:Object}},data:function(){return{acct_var:erp_acct_var,total:null}},components:{TransParticulars:i.a},created:function(){this.total=parseFloat(this.invoice.amount)+parseFloat(this.invoice.tax)-parseFloat(this.invoice.discount)},methods:{getInvoiceType:function(){return null!==this.invoice&&"1"===this.invoice.estimate?"Estimate":"Invoice"}}}},function(t,e,a){"use strict";var i=a(17);e.a={name:"PaymentSingleContent",components:{TransParticulars:i.a},props:{payment:{type:Object},company:{type:Object}},data:function(){return{acct_var:erp_acct_var}}}},function(t,e,a){"use strict";var i=a(45),n=a(411),r=a(413),s=a(87);e.a={name:"Sales",components:{SalesStats:n.a,SalesList:r.a,TransactionsFilter:s.a,ComboBox:i.a},data:function(){return{pages:[{namedRoute:"InvoiceCreate",name:__("Create Invoice","erp")},{namedRoute:"RecPaymentCreate",name:__("Receive Payment","erp")},{namedRoute:"EstimateCreate",name:__("Create Estimate","erp")}]}}}},function(t,e,a){"use strict";e.a={name:"ComboBox",data:function(){return{selectedOption:{name:""},showMenu:!1,placeholderText:"-Select-"}},props:{selected:{},options:{type:[Array,Object]},placeholder:{type:String},hasUrl:{type:Boolean,default:!1}},mounted:function(){this.placeholder&&(this.selectedOption.name=this.placeholder)},methods:{outside:function(){this.showMenu=!1,this.$root.$emit("combo-box-close")},updateOption:function(t){this.selectedOption=t,this.showMenu=!1,this.$root.$emit("comboSelected",this.selectedOption)},toggleMenu:function(){this.showMenu=!this.showMenu}}}},function(t,e,a){"use strict";var i=a(1),n=a(21);e.a={name:"SalesStats",components:{PieChart:n.a},data:function(){return{chartStatus:{colors:["#208DF8","#E9485E","#FF9900","#2DCB67","#9c27b0"],labels:[],values:[]},chartPayment:{colors:["#40c4ff","#e91e63"],labels:[__("Received","erp"),__("Outstanding","erp")],values:[],outstanding:0}}},created:function(){var t=this;this.$root.$on("transactions-filter",function(e){t.getSalesChartData(e)});var e={};this.$route.query.start&&this.$route.query.end&&(e.start_date=this.$route.query.start,e.end_date=this.$route.query.end),this.getSalesChartData(e)},watch:{$route:"getSalesChartData"},methods:{getSalesChartData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i.a.get("/transactions/sales/chart-payment",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.chartPayment.outstanding=e.data.outstanding,t.chartPayment.values.push(e.data.received,e.data.outstanding)}),i.a.get("/transactions/sales/chart-status",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){e.data.forEach(function(e){t.chartStatus.labels.push(e.type_name),t.chartStatus.values.push(e.sub_total)})})}}}},function(t,e,a){"use strict";var i=a(1),n=a(3);e.a={name:"SalesList",components:{ListTable:n.a},data:function(){return{columns:{trn_no:{label:__("Voucher No.","erp")},type:{label:__("Type","erp")},ref:{label:__("Ref","erp")},customer_name:{label:__("Customer","erp")},trn_date:{label:__("Trn Date","erp")},due_date:{label:__("Due Date","erp")},due:{label:__("Due","erp")},amount:{label:__("Total","erp")},status:{label:__("Status","erp")},actions:{label:""}},listLoading:!1,rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)}}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.$root.$on("transactions-filter",function(e){t.$router.push({path:"/transactions/sales",query:{start:e.start_date,end:e.end_date,status:e.status}}),t.fetchItems(e),t.fetched=!0});var e={};this.$route.query.start&&this.$route.query.end&&(e.start_date=this.$route.query.start,e.end_date=this.$route.query.end),this.$route.query.status&&(e.status=this.$route.query.status),this.fetched||this.fetchItems(e)},methods:{fetchItems:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/transactions/sales",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page,start_date:e.start_date,end_date:e.end_date,status:e.status}}).then(function(e){t.rows=e.data.map(function(t){return"1"===t.estimate||"1"===t.status_code?t.actions=[{key:"edit",label:"Edit"},{key:"to_invoice",label:"Make Invoice"}]:"8"===t.status_code?t.actions=[{key:"#",label:__("No actions found","erp")}]:"invoice"===t.type&&"4"!==t.status_code?"7"===t.status_code?delete t.actions:"2"===t.status_code||"3"===t.status_code||"5"===t.status_code?t.actions=[{key:"receive",label:__("Receive Payment","erp")},{key:"edit",label:__("Edit","erp")},{key:"void",label:"Void"}]:t.actions=[{key:"void",label:"Void"}]:t.actions=[{key:"#",label:__("No actions found","erp")}],t}),t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.listLoading=!1,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.listLoading=!1,t.$store.dispatch("spinner/setSpinner",!1),e})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("invoices/"+e.id).then(function(t){n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted !")}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}));break;case"edit":"invoice"===e.type&&this.$router.push({name:"InvoiceEdit",params:{id:e.id}}),"payment"===e.type&&this.$router.push({name:"RecPaymentEdit",params:{id:e.id}});break;case"receive":this.$router.push({name:"RecPaymentCreate",params:{customer_id:e.inv_cus_id,customer_name:e.inv_cus_name}});break;case"void":confirm("Are you sure to void the transaction?")&&("invoice"===e.type&&i.a.post("invoices/"+e.id+"/void").then(function(t){n.showAlert("success","Transaction has been void!")}).catch(function(t){throw t}),"payment"===e.type&&i.a.post("payments/"+e.id+"/void").then(function(t){n.showAlert("success","Transaction has been void!")}).then(function(){n.$router.push({name:"Sales"})}).catch(function(t){throw t}));break;case"to_invoice":this.$router.push({name:"InvoiceEdit",params:{id:e.id},query:{convert:!0}})}},goToPage:function(t){this.listLoading=!0;var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateSales",params:{page:t},query:e}),this.fetchItems()},isPayment:function(t){return"payment"===t.type},getTrnType:function(t){return"invoice"===t.type?"1"==t.estimate?"Estimate":"Invoice":"Payment"}}}},function(t,e,a){"use strict";var i=a(1),n=a(4),r=a(416);e.a={name:"TransactionsFilter",components:{Datepicker:n.a,SimpleSelect:r.a},data:function(){return{showFilters:!1,filters:{start_date:"",end_date:"",status:""},statuses:[]}},created:function(){var t=this;i.a.get("/transactions/statuses").then(function(e){t.statuses=e.data}).catch(function(t){throw t}),this.$root.$on("SimpleSelectChange",function(e){var a=t.statuses.find(function(t){return t.id===e.selected});t.filters.status=parseInt(a.id)})},methods:{toggleFilter:function(){this.showFilters=!this.showFilters},filterList:function(){this.toggleFilter(),this.$root.$emit("transactions-filter",this.filters)}}}},function(t,e,a){"use strict";e.a={name:"SimpleSelect",props:{selected:{type:Number,default:null},width:{type:Number,default:null},options:{type:Array,default:function(){return[]}}},data:function(){return{select_val:null}},computed:{checkOptions:function(){return this.options?this.options:(window.console.error(this.name+" couldn't render without options"),!1)}},methods:{onChange:function(){this.$root.$emit("SimpleSelectChange",{selected:this.select_val})}}}},function(t,e,a){"use strict";a(32);var i=a(173),n=(a.n(i),a(45)),r=a(422),s=a(425),o=a(87);e.a={name:"Expenses",components:{ComboBox:n.a,ExpensesStats:r.a,ExpensesList:s.a,TransactionsFilter:o.a},data:function(){return{pages:[{namedRoute:"ExpenseCreate",name:__("Create Expense","erp")},{namedRoute:"CheckCreate",name:__("Create Check","erp")},{namedRoute:"BillCreate",name:__("Create Bill","erp")},{namedRoute:"PayBillCreate",name:__("Pay Bill","erp")}]}}}},function(t,e){var a={type:"doughnut",data:{labels:["Paid","Overdue","Partial","Draft"],datasets:[{data:[2,1,2,3],backgroundColor:["#208DF8","#E9485E","#FF9900","#2DCB67"]}]},options:{maintainAspectRatio:!0,cutoutPercentage:45,legend:{display:!1},legendCallback:function(t){var e=[];if(e.push('<ul class="chart-labels-list">'),t.data.datasets.length)for(var a=0;a<t.data.datasets[0].data.length;++a)e.push('<li><div class="label-icon-wrapper">\t\t\t\t\t\t\t<span class="chart-label-icon" style="background-color:'+t.data.datasets[0].backgroundColor[a]+'"></span>\t\t\t\t\t\t\t</div><div class="chart-label-values">'),t.data.datasets[0].data[a]&&e.push('<span class="chart-value">'+t.data.datasets[0].data[a]+"</span>"),t.data.labels[a]&&e.push('<span class="chart-label"> '+t.data.labels[a]+"</span>"),e.push("</div></li>");return e.push("</ul>"),e.join("")}}};setTimeout(function(){var t=document.getElementById("status_chart");null!==t&&(t=t.getContext("2d"),status_chart=new Chart(t,a),status_legend=status_chart.generateLegend(),status_legendHolder=document.getElementById("status_legend"),status_legendHolder.innerHTML=status_legend)},1e3)},function(t,e,a){"use strict";var i=a(9),n=a.n(i),r=a(1),s=a(21);e.a={name:"ExpenseStats",components:{PieChart:s.a},data:function(){return{chartStatus:{colors:["#208DF8","#E9485E","#FF9900","#2DCB67","#9c27b0"],labels:[],values:[]},chartExpense:{colors:["#40c4ff","#e91e63"],labels:[__("Paid","erp"),__("Payable","erp")],values:[],outstanding:0}}},created:function(){var t=this;this.$root.$on("transactions-filter",function(e){t.getExpenseChartData(e)});var e={};this.$route.query.start&&this.$route.query.end&&(e.start_date=this.$route.query.start,e.end_date=this.$route.query.end),this.getExpenseChartData(e)},watch:{$route:"getExpenseChartData"},methods:{getExpenseChartData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r.a.get("/transactions/expense/chart-expense",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.chartExpense.outstanding=e.data.payable,t.chartExpense.values.push(e.data.paid,e.data.payable)}),r.a.get("/transactions/expense/chart-status",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){e.data.forEach(function(e){"object"===n()(e)&&null!==e&&(t.chartStatus.labels.push(e.type_name),t.chartStatus.values.push(e.sub_total))})})}}}},function(t,e,a){"use strict";var i=a(1),n=a(3);e.a={name:"ExpensesList",components:{ListTable:n.a},data:function(){return{columns:{trn_no:{label:__("Voucher No.","erp")},type:{label:__("Type","erp")},ref:{label:__("Ref","erp")},vendor_name:{label:__("People","erp")},trn_date:{label:__("Trn Date","erp")},due_date:{label:__("Due Date","erp")},due:{label:__("Due","erp")},amount:{label:__("Total","erp")},status:{label:__("Status","erp")},actions:{label:""}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[],fetched:!1}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.$root.$on("transactions-filter",function(e){t.$router.push({path:"/transactions/expenses",query:{start:e.start_date,end:e.end_date,status:e.status}}),t.fetchItems(e),t.fetched=!0});var e={};this.$route.query.start&&this.$route.query.end&&(e.start_date=this.$route.query.start,e.end_date=this.$route.query.end),this.$route.query.status&&(e.status=this.$route.query.status),this.fetched||this.fetchItems(e)},methods:{fetchItems:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/transactions/expenses",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page,start_date:e.start_date,end_date:e.end_date,status:e.status}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(t){throw t})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":break;case"edit":"expense"===e.trn_type&&this.$router.push({name:"ExpenseEdit",params:{id:e.id}}),"bill"===e.trn_type&&this.$router.push({name:"BillEdit",params:{id:e.id}}),"check"===e.trn_type&&this.$router.push({name:"CheckEdit",params:{id:e.id}});break;case"payment":"bill"===e.trn_type&&this.$router.push({name:"PayBillCreate",params:{vendor_id:e.vendor_id,vendor_name:e.vendor_name}});break;case"void":confirm("Are you sure to void the transaction?")&&("expense"!==e.trn_type&&"check"!==e.trn_type||i.a.post("expenses/"+e.id+"/void").then(function(t){n.showAlert("success","Transaction has been void!")}).catch(function(t){throw t}),"bill"===e.trn_type&&i.a.post("bills/"+e.id+"/void").then(function(t){n.showAlert("success","Transaction has been void!")}).catch(function(t){throw t}),"pay_bill"===e.trn_type&&i.a.post("pay-bills/"+e.id+"/void").then(function(t){n.showAlert("success","Transaction has been void!")}).then(function(){n.$router.push({name:"Expenses"})}).catch(function(t){throw t}));break;case"to_expense":this.$router.push({name:"ExpenseEdit",params:{id:e.id},query:{convert:!0}})}},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateExpenses",params:{page:t},query:e}),this.fetchItems()}},computed:{row_items:function(){var t,e=this;return this.rows.length?this.rows.map(function(a){switch(a.type){case"pay_bill":t={id:a.id,trn_no:a.id,type:"Pay Bill",trn_type:"pay_bill",ref:a.ref?a.ref:"-",vendor_name:a.pay_bill_vendor_name,trn_date:a.pay_bill_trn_date,due_date:"-",due:"-",amount:e.formatAmount(a.pay_bill_amount),status:a.status,singleView:{name:"PayBillSingle",params:{id:a.id}},actions:[{key:"void",label:"Void"}]};break;case"bill":t={id:a.id,trn_no:a.id,type:"Bill",trn_type:"bill",ref:a.ref?a.ref:"-",vendor_id:a.vendor_id,vendor_name:a.vendor_name,trn_date:a.bill_trn_date,due_date:a.due_date,due:e.formatAmount(a.due),amount:e.formatAmount(a.amount),status:a.status,singleView:{name:"BillSingle",params:{id:a.id}},actions:[{key:"payment",label:"Make Payment"},{key:"edit",label:"Edit"},{key:"void",label:"Void"}]};break;case"expense":t={id:a.id,trn_no:a.id,type:"Expense",trn_type:"expense",ref:a.exp_ref?a.exp_ref:"-",vendor_name:a.expense_people_name,trn_date:a.expense_trn_date,due_date:"-",due:"-",amount:e.formatAmount(a.expense_amount),status:a.status,singleView:{name:"ExpenseSingle",params:{id:a.id}},actions:[{key:"void",label:"Void"}]};break;case"check":t={id:a.id,trn_no:a.id,type:"Check",trn_type:"check",ref:a.ref?a.ref:"-",vendor_name:a.expense_people_name,trn_date:a.expense_trn_date,due_date:"-",due:"-",amount:e.formatAmount(a.expense_amount),status:a.status,singleView:{name:"CheckSingle",params:{id:a.id}},actions:[{key:"void",label:"Void"}]}}return"2"===a.status_code||"3"===a.status_code||"5"===a.status_code?t.actions=[{key:"payment",label:__("Make Payment","erp")},{key:"edit",label:__("Edit","erp")},{key:"void",label:"Void"}]:"1"===a.status_code?t.actions=[{key:"to_expense",label:"Make Expense"}]:t.actions=[{key:"#",label:__("No actions found","erp")}],t}):this.rows}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6),s=a(17);e.a={name:"ExpenseSingle",components:{SendMail:n.a,Dropdown:r.a,TransParticulars:s.a},data:function(){return{company:null,expense_data:{},isWorking:!1,acct_var:erp_acct_var,print_data:null,type:"expense",showModal:!1,people_id:null}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.getCompanyInfo(),this.getExpense(),this.$root.$on("close",function(){t.showModal=!1})},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getExpense:function(){var t=this;this.isWorking=!0,i.a.get("/expenses/".concat(this.$route.params.id)).then(function(e){t.expense_data=e.data,t.people_id=t.expense_data.people_id,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(t){}).then(function(){t.print_data=t.expense_data,t.isWorking=!1})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";a(32);var i=a(173),n=(a.n(i),a(45)),r=a(433),s=a(436),o=a(87);e.a={name:"Purchases",components:{PurchasesStats:r.a,PurchasesList:s.a,TransactionsFilter:o.a,ComboBox:n.a},data:function(){return{pages:[{namedRoute:"PurchaseCreate",name:__("Create Purchase","erp")},{namedRoute:"PayPurchaseCreate",name:__("Pay Purchase","erp")},{namedRoute:"PurchaseOrderCreate",name:__("Create Purchase Order","erp")}]}}}},function(t,e,a){"use strict";var i=a(1),n=a(21);e.a={name:"PurchaseStats",components:{PieChart:n.a},data:function(){return{chartStatus:{colors:["#208DF8","#E9485E","#FF9900","#2DCB67","#9c27b0"],labels:[],values:[]},chartPurchase:{colors:["#40c4ff","#e91e63"],labels:[__("Paid","erp"),__("Payable","erp")],values:[],outstanding:0}}},created:function(){var t=this;this.$root.$on("transactions-filter",function(e){t.getChartData(e)});var e={};this.$route.query.start&&this.$route.query.end&&(e.start_date=this.$route.query.start,e.end_date=this.$route.query.end),this.getChartData(e)},watch:{$route:"getChartData"},methods:{getChartData:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i.a.get("/transactions/purchase/chart-purchase",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){t.chartPurchase.outstanding=e.data.payable,t.chartPurchase.values.push(e.data.paid,e.data.payable)}),i.a.get("/transactions/purchase/chart-status",{params:{start_date:e.start_date,end_date:e.end_date}}).then(function(e){e.data.forEach(function(e){t.chartStatus.labels.push(e.type_name),t.chartStatus.values.push(e.sub_total)})})}}}},function(t,e,a){"use strict";var i=a(1),n=a(3);e.a={name:"PurchaseList",components:{ListTable:n.a},data:function(){return{columns:{trn_no:{label:__("Voucher No.","erp")},type:{label:__("Type","erp")},ref:{label:__("Ref","erp")},customer_name:{label:__("Customer","erp")},trn_date:{label:__("Trn Date","erp")},due_date:{label:__("Due Date","erp")},due:{label:__("Due","erp")},amount:{label:__("Total","erp")},status:{label:__("Status","erp")},actions:{label:""}},listLoading:!1,rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[],fetched:!1}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.$root.$on("transactions-filter",function(e){t.$router.push({path:"/transactions/purchases",query:{start:e.start_date,end:e.end_date,status:e.status}}),t.fetchItems(e),t.fetched=!0});var e={};this.$route.query.start&&this.$route.query.end&&(e.start_date=this.$route.query.start,e.end_date=this.$route.query.end),this.$route.query.status&&(e.status=this.$route.query.status),this.fetched||this.fetchItems(e)},methods:{fetchItems:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/transactions/purchases",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page,start_date:e.start_date,end_date:e.end_date,status:e.status}}).then(function(e){var a=e.data.map(function(t){return"1"===t.purchase_order||"1"===t.status_code?t.actions=[{key:"edit",label:"Edit"},{key:"to_purchase",label:"Make Purchase"}]:"8"===t.status_code?t.actions=[{key:"#",label:__("No actions found","erp")}]:"purchase"===t.type&&"4"!==t.status_code?"7"===t.status_code?delete t.actions:"2"===t.status_code||"3"===t.status_code||"5"===t.status_code?t.actions=[{key:"payment",label:__("Make Payment","erp")},{key:"edit",label:__("Edit","erp")},{key:"void",label:"Void"}]:t.actions=[{key:"void",label:"Void"}]:t.actions=[{key:"#",label:__("No actions found","erp")}],t});t.rows=a,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.listLoading=!1,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.listLoading=!1,t.$store.dispatch("spinner/setSpinner",!1),e})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&i.a.delete("purchases/"+e.id).then(function(t){n.$delete(n.rows,a)});break;case"edit":"purchase"===e.type&&this.$router.push({name:"PurchaseEdit",params:{id:e.id}});break;case"payment":"purchase"===e.type&&this.$router.push({name:"PayPurchaseCreate",params:{vendor_id:e.vendor_id,vendor_name:e.vendor_name}});break;case"void":confirm("Are you sure to void the transaction?")&&("purchase"===e.type&&i.a.post("purchases/"+e.id+"/void").then(function(t){n.showAlert("success","Transaction has been void!")}).catch(function(t){throw t}),"pay_purchase"===e.type&&i.a.post("pay-purchases/"+e.id+"/void").then(function(t){n.showAlert("success","Transaction has been void!")}).then(function(){n.$router.push({name:"Purchases"})}).catch(function(t){throw t}));break;case"to_purchase":this.$router.push({name:"PurchaseEdit",params:{id:e.id},query:{convert:!0}})}},goToPage:function(t){this.listLoading=!0;var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginatePurchases",params:{page:t},query:e}),this.fetchItems()},isPayment:function(t){return"pay_purchase"===t.type},getTrnType:function(t){return"purchase"===t.type?"1"===t.purchase_order?"Purchase Order":"Purchase":"Pay Purchase"}}}},function(t,e,a){"use strict";var i=a(1),n=a(12),r=a(5);e.a={name:"NewTaxAgency",components:{SubmitButton:n.a,ShowErrors:r.a},props:{agency_id:{type:[Number,String]},is_update:{type:Boolean}},data:function(){return{agencies:[],agency:null,isWorking:!1,form_errors:[]}},created:function(){this.is_update&&this.getAgency()},methods:{closeModal:function(){this.$emit("close"),this.$root.$emit("modal_closed")},getAgency:function(){var t=this;i.a.get("/tax-agencies/".concat(this.agency_id)).then(function(e){t.agency=e.data.name})},taxAgencyFormSubmit:function(){var t,e,a,n=this;(this.validateForm(),this.form_errors.length)?window.scrollTo({top:10,behavior:"smooth"}):(this.is_update?(t="put",e="/tax-agencies/".concat(this.agency_id),a="Tax Agency Updated!"):(t="post",e="/tax-agencies",a="Tax Agency Created!"),this.$store.dispatch("spinner/setSpinner",!0),i.a[t](e,{agency_name:this.agency}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}).then(function(t){n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success",a)}).then(function(){n.resetData(),n.isWorking=!1,n.$emit("close"),n.$root.$emit("refetch_tax_data")}))},validateForm:function(){this.form_errors=[],this.agency||this.form_errors.push("Agency Name is required.")},resetData:function(){Object.assign(this.$data,this.$options.data.call(this))}}}},function(t,e,a){"use strict";var i=a(1),n=a(12),r=a(5);e.a={name:"NewTaxCategory",components:{SubmitButton:n.a,ShowErrors:r.a},props:{cat_id:{type:[Number,String]},is_update:{type:Boolean}},data:function(){return{categories:[],category:null,desc:null,isWorking:!1,form_errors:[]}},created:function(){this.is_update&&this.getCategory()},methods:{closeModal:function(){this.$emit("close"),this.$root.$emit("modal_closed")},getCategory:function(){var t=this;i.a.get("/tax-cats/".concat(this.cat_id)).then(function(e){t.category=e.data.name,t.desc=e.data.description})},taxCatFormSubmit:function(){var t,e,a,n=this;(this.validateForm(),this.form_errors.length)?window.scrollTo({top:10,behavior:"smooth"}):(this.is_update?(t="put",e="/tax-cats/".concat(this.cat_id),a="Tax Category Updated!"):(t="post",e="/tax-cats",a="Tax Category Created!"),this.$store.dispatch("spinner/setSpinner",!0),i.a[t](e,{name:this.category,description:this.desc}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}).then(function(t){n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success",a)}).then(function(){n.resetData(),n.isWorking=!1,n.$emit("close"),n.$root.$emit("refetch_tax_data")}))},validateForm:function(){this.form_errors=[],this.category||this.form_errors.push("Tax Category Name is required.")},resetData:function(){Object.assign(this.$data,this.$options.data.call(this))}}}},function(t,e,a){"use strict";var i=a(1),n=a(2),r=a(12),s=a(46),o=a(47),l=a(48),c=a(5);e.a={name:"NewTaxRate",components:{MultiSelect:n.a,SubmitButton:r.a,NewTaxAgency:s.a,NewTaxCategory:o.a,NewTaxZone:l.a,ShowErrors:c.a},data:function(){return{tax_name:"",tax_category:"",is_compound:!1,isCompoundTax:!1,isRowExpanded:!1,componentLines:[{}],rate_names:[],categories:[{}],agencies:[{}],showRateNameModal:!1,showAgencyModal:!1,showCatModal:!1,form_errors:[]}},created:function(){var t=this;this.fetchData(),this.$root.$on("refetch_tax_data",function(){t.fetchData()}),this.$on("remove-row",function(e){t.$delete(t.componentLines,e),t.updateFinalAmount()})},methods:{fetchData:function(){var t=this;i.a.get("/tax-rate-names").then(function(e){t.rate_names=[],e.data.forEach(function(e){t.rate_names.push({id:e.id,name:e.tax_rate_name})})}).catch(function(t){throw t}),i.a.get("/tax-agencies").then(function(e){t.agencies=[],t.agencies=e.data}).catch(function(t){throw t}),i.a.get("/tax-cats").then(function(e){t.categories=[],t.categories=e.data}).catch(function(t){throw t})},addNewTaxRate:function(t){var e=this;this.validateForm(),this.form_errors.length?window.scrollTo({top:10,behavior:"smooth"}):(this.$store.dispatch("spinner/setSpinner",!0),i.a.post("/taxes",{tax_rate_name:this.tax_name.id,is_compound:this.is_compound,tax_components:this.formatLineItems()}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Tax Rate Created!")}).then(function(){e.$router.push({name:"TaxRates"}),e.resetData()}),this.resetData())},formatLineItems:function(){for(var t=[],e=0;e<this.componentLines.length;e++){var a={};a.component_name=this.componentLines[e].component_name,a.agency_id=this.componentLines[e].agency_id.id,a.tax_category_id=this.componentLines[e].tax_category.id,a.tax_rate=this.componentLines[e].tax_rate,t.push(a)}return t},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.componentLines[0],"component_name")||this.form_errors.push("At least One Component is required."),Object.prototype.hasOwnProperty.call(this.tax_name,"id")||this.form_errors.push("Tax Zone Name is required.");for(var t=0;t<this.componentLines.length;t++){var e=this.componentLines[t],a=e.component_name;a&&(Object.prototype.hasOwnProperty.call(e,"agency_id")||this.form_errors.push("Component '".concat(a,"' agency id is required.")),Object.prototype.hasOwnProperty.call(e,"tax_category")||this.form_errors.push("Component '".concat(a,"' tax category id is required.")),Object.prototype.hasOwnProperty.call(e,"tax_rate")||this.form_errors.push("Component '".concat(a,"' tax rate is required.")))}},updateFinalAmount:function(){var t=0;return this.componentLines.forEach(function(e){t+=parseFloat(e.tax_rate)}),parseFloat(t).toFixed(2)},closeModal:function(){this.$emit("close")},addLine:function(){this.componentLines.push({})},resetData:function(){Object.assign(this.$data,this.$options.data.call(this)),this.fetchData()},removeRow:function(t){this.$delete(this.componentLines,t)}},computed:{finalTotalAmount:function(){var t=this.updateFinalAmount();return Number.isNaN(t)?0:t}}}},function(t,e,a){"use strict";var i=a(1),n=a(12),r=a(5);e.a={name:"NewTaxZone",components:{SubmitButton:n.a,ShowErrors:r.a},props:{rate_name_id:{type:[Number,String]},is_update:{type:Boolean,default:!1}},data:function(){return{tax_number:"",is_default:!1,rate_name:"",isWorking:!1,form_errors:[]}},created:function(){this.is_update&&this.getRateName()},methods:{closeModal:function(){this.$emit("close"),this.$root.$emit("modal_closed")},getRateName:function(){var t=this;i.a.get("/tax-rate-names/".concat(this.rate_name_id)).then(function(e){t.rate_name=e.data.tax_rate_name,t.is_default="1"===e.data.default,t.tax_number=e.data.tax_number})},taxZoneFormSubmit:function(){var t,e,a,n=this;(this.validateForm(),this.form_errors.length)?window.scrollTo({top:10,behavior:"smooth"}):(this.$store.dispatch("spinner/setSpinner",!0),this.is_update?(t="put",e="/tax-rate-names/".concat(this.rate_name_id),a="Tax Zone Updated!"):(t="post",e="/tax-rate-names",a="Tax Zone Created!"),i.a[t](e,{tax_rate_name:this.rate_name,tax_number:this.tax_number,default:this.is_default}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}).then(function(t){n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success",a)}).then(function(){n.resetData(),n.isWorking=!1,n.$emit("close"),n.$root.$emit("refetch_tax_data")}))},validateForm:function(){this.form_errors=[],this.rate_name||this.form_errors.push("Tax Zone Name is required.")},resetData:function(){Object.assign(this.$data,this.$options.data.call(this))}}}},function(t,e,a){"use strict";var i=a(1),n=a(4),r=a(2),s=a(12),o=a(22),l=a(5);e.a={name:"RecordPayTax",components:{Datepicker:n.a,MultiSelect:r.a,SubmitButton:s.a,SelectAccounts:o.a,ShowErrors:l.a},data:function(){return{agencies:[],pay_methods:[],accts_by_chart:[],trn_by:{id:null,name:null},deposit_to:{id:null,name:null},agency:{id:null,name:null},tax_amount:0,dueAmount:0,particulars:"",isWorking:!1,form_errors:[],trn_date:erp_acct_var.current_date,voucher_type:{id:"debit",name:"Debit"},voucher_types:[{id:"debit",name:"Debit"},{id:"credit",name:"Credit"}]}},watch:{agency:function(){this.getDuePayAmount()},trn_by:function(){this.changeAccounts()}},created:function(){this.getPayMethods(),this.getAgencies()},methods:{getPayMethods:function(){var t=this;i.a.get("/transactions/payment-methods").then(function(e){t.pay_methods=e.data})},changeAccounts:function(){var t=this;this.accts_by_chart=[],"2"===this.trn_by.id||"3"===this.trn_by.id?i.a.get("/ledgers/bank-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"1"===this.trn_by.id?i.a.get("/ledgers/cash-accounts").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}):"undefined"!==erp_reimbursement_var.erp_reimbursement_module&&"1"===erp_reimbursement_var.erp_reimbursement_module&&i.a.get("/people-transactions/balances").then(function(e){t.accts_by_chart=e.data,t.accts_by_chart.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"balance")||(t.balance=0)})}),this.$root.$emit("account-changed")},getAgencies:function(){var t=this;i.a.get("/tax-agencies").then(function(e){t.agencies=e.data})},getDuePayAmount:function(){var t=this;this.agency.id&&i.a.get("/tax-agencies/due/".concat(this.agency.id)).then(function(e){t.dueAmount=parseFloat(e.data)})},submitForTaxPay:function(){var t=this;this.validateForm(),this.form_errors.length?window.scrollTo({top:10,behavior:"smooth"}):(this.$store.dispatch("spinner/setSpinner",!0),i.a.post("/taxes/pay-tax",{agency_id:this.agency.id,trn_date:this.trn_date,trn_by:this.trn_by.id,ledger_id:this.deposit_to.id,particulars:this.particulars,voucher_type:this.voucher_type.id,amount:parseFloat(this.tax_amount)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Tax Paid!")}).then(function(){t.$router.push({name:"TaxRecords"}),t.resetData(),t.isWorking=!1}))},resetData:function(){this.trn_by={id:null,name:null},this.deposit_to={id:null,name:null},this.agency={id:null,name:null},this.tax_amount=0,this.dueAmount=0,this.particulars="",this.isWorking=!1,this.form_errors=[],this.trn_date=erp_acct_var.current_date,this.voucher_type={id:"debit",name:"Debit"}},validateForm:function(){this.form_errors=[],this.trn_by.id||this.form_errors.push("Payment method Name is required."),this.deposit_to.id||this.form_errors.push("Deposit to is required."),this.agency.id||this.form_errors.push("Agency to is required."),this.trn_date||this.form_errors.push("Date is required."),this.tax_amount||this.form_errors.push("Tax amount is required."),parseFloat(this.deposit_to.balance)<parseFloat(this.finalTotalAmount)&&this.form_errors.push("Not enough balance in selected account.")}}}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(46),s=a(49);e.a={name:"TaxAgencies",components:{ListTable:n.a,NewTaxAgency:r.a,TaxShortcuts:s.a},data:function(){return{showModal:!1,modalParams:null,columns:{tax_agency_name:{label:__("Agency Name","erp")},actions:{label:__("Actions","erp")}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[{key:"edit",label:"Edit",iconClass:"flaticon-edit"},{key:"trash",label:"Delete",iconClass:"flaticon-trash"}],bulkActions:[{key:"trash",label:"Trash",iconClass:"flaticon-trash"}],tax_agencies:[{}],buttonTitle:"",pageTitle:"",url:"",singleUrl:"",isActiveOptionDropdown:!1,agency_id:null,is_update:!1}},created:function(){var t=this;this.pageTitle=this.$route.name,this.url=this.$route.name.toLowerCase(),this.$root.$on("refetch_tax_data",function(){t.fetchItems(),t.is_update=!1}),this.$root.$on("modal_closed",function(){t.is_update=!1}),this.fetchItems()},computed:{row_data:function(){var t=this.rows;return t.map(function(t){t.tax_agency_id=t.id,t.tax_agency_name=t.name}),t}},methods:{fetchItems:function(){var t=this;this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),i.a.get("tax-agencies",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateTaxAgencies",params:{page:t},query:e}),this.fetchItems()},singleTaxAgency:function(t){this.$router.push({name:"SingleTaxAgency",params:{id:t}})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("tax-agencies/"+e.id).then(function(t){n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted !")}));break;case"edit":this.showModal=!0,this.agency_id=e.id,this.is_update=!0,this.fetchItems()}},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("tax-agencies/delete/"+e.join(",")).then(function(t){var e=document.getElementsByClassName("column-cb")[0].childNodes[0];e.checked&&e.click(),a.fetchItems(),a.$store.dispatch("spinner/setSpinner",!1),a.showAlert("success","Deleted !")}))}}}},function(t,e,a){"use strict";e.a={name:"TaxShortcuts"}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(47),s=a(49);e.a={name:"TaxCategories",components:{ListTable:n.a,NewTaxCategory:r.a,TaxShortcuts:s.a},data:function(){return{showModal:!1,modalParams:null,columns:{tax_cat_name:{label:__("Category Name","erp")},tax_cat_desc:{label:__("Description","erp")},actions:{label:__("Actions","erp")}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[{key:"edit",label:"Edit",iconClass:"flaticon-edit"},{key:"trash",label:"Delete",iconClass:"flaticon-trash"}],bulkActions:[{key:"trash",label:"Trash",iconClass:"flaticon-trash"}],tax_cats:[{}],buttonTitle:"",pageTitle:"",url:"",singleUrl:"",isActiveOptionDropdown:!1,cat_id:null,is_update:!1}},created:function(){var t=this;this.$root.$on("refetch_tax_data",function(){t.fetchItems(),t.is_update=!1}),this.$root.$on("modal_closed",function(){t.is_update=!1}),this.fetchItems()},computed:{row_data:function(){var t=this.rows;return t.map(function(t){t.tax_cat_id=t.id,t.tax_cat_name=t.name,t.tax_cat_desc=t.description}),t}},methods:{fetchItems:function(){var t=this;this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),i.a.get("tax-cats",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=this,a=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateTaxCategories",params:{page:t},query:a}),this.$root.$on("refetch_tax_data",function(){e.fetchItems()}),this.fetchItems()},singleTaxCategory:function(t){this.$router.push({name:"SingleTaxCategory",params:{id:t}})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("tax-cats/"+e.id).then(function(t){n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted !")}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}));break;case"edit":this.showModal=!0,this.cat_id=e.id,this.is_update=!0,this.fetchItems()}},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("tax-cats/delete/"+e.join(",")).then(function(t){var e=document.getElementsByClassName("column-cb")[0].childNodes[0];e.checked&&e.click(),a.fetchItems(),a.$store.dispatch("spinner/setSpinner",!1),a.showAlert("success","Deleted !")}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t}))}}}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(48),s=a(49);e.a={name:"TaxZones",components:{NewTaxZone:r.a,ListTable:n.a,TaxShortcuts:s.a},data:function(){return{modalParams:null,columns:{tax_rate_name:{label:__("Tax Zone Name","erp")},tax_number:{label:__("Tax Number","erp")},default:{label:__("Default","erp")},actions:{label:__("Actions","erp")}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[{key:"edit",label:"Edit",iconClass:"flaticon-edit"},{key:"trash",label:"Delete",iconClass:"flaticon-trash"}],bulkActions:[{key:"trash",label:"Move to Trash",iconClass:"flaticon-trash"}],taxes:[{}],buttonTitle:"",pageTitle:"",url:"",singleUrl:"",isActiveOptionDropdown:!1,singleTaxRateModal:!1,showModal:!1,rate_name_id:null,is_update:!1}},created:function(){var t=this;this.$root.$on("refetch_tax_data",function(){t.fetchItems(),t.is_update=!1}),this.$root.$on("modal_closed",function(){t.is_update=!1}),this.fetchItems()},computed:{row_data:function(){var t=this.rows;return t.map(function(t){t.tax_id=t.id,t.tax_name=t.name}),t}},methods:{fetchItems:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.rows=[],i.a.get("/tax-rate-names",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateTaxZones",params:{page:t},query:e}),this.fetchItems()},singleTaxRate:function(t){this.$router.push({name:"SingleTaxRate",params:{id:t}})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("tax-rate-names/"+e.id).then(function(t){n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted !")}));break;case"edit":this.showModal=!0,this.rate_name_id=e.id,this.is_update=!0,this.fetchItems()}},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("tax-rate-names/delete/"+e.join(",")).then(function(t){var e=document.getElementsByClassName("column-cb")[0].childNodes[0];e.checked&&e.click(),a.fetchItems(),a.$store.dispatch("spinner/setSpinner",!1),a.showAlert("success","Deleted !")}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t}))}}}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(48),s=a(47),o=a(46),l=a(49);e.a={name:"TaxRates",components:{ListTable:n.a,NewTaxZone:r.a,NewTaxCategory:s.a,NewTaxAgency:o.a,TaxShortcuts:l.a},data:function(){return{modalParams:null,columns:{tax_rate_name:{label:__("Tax Zone Name","erp")},actions:{label:__("Actions","erp")}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[{key:"edit",label:"Edit",iconClass:"flaticon-edit"},{key:"trash",label:"Delete",iconClass:"flaticon-trash"}],bulkActions:[{key:"trash",label:"Move to Trash",iconClass:"flaticon-trash"}],new_entities:[{namedRoute:"NewTaxZone",name:"New Tax Zone"},{namedRoute:"NewTaxCategory",name:"New Tax Category"},{namedRoute:"NewTaxAgency",name:"New Tax Agency"}],taxes:[{}],buttonTitle:"",pageTitle:"",url:"",singleUrl:"",tax_rate:null,isActiveOptionDropdown:!1,tax_rate_id:null,taxrateModal:!1,taxcatModal:!1,taxagencyModal:!1}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.fetchItems(),this.$root.$on("comboSelected",function(e){switch(e.namedRoute){case"NewTaxZone":t.taxrateModal=!0;break;case"NewTaxCategory":t.taxcatModal=!0;break;case"NewTaxAgency":t.taxagencyModal=!0}})},computed:{row_data:function(){var t=this.rows;return t.length?(t.map(function(t){t.tax_id=t.id,0===t.default?t.default="-":t.default="Default"}),t):[]}},methods:{fetchItems:function(){var t=this;this.rows=[],i.a.get("/taxes",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateTaxRates",params:{page:t},query:e}),this.fetchItems()},newTaxRate:function(){this.$router.push({name:"NewTaxRate"})},singleTaxRate:function(t,e){this.$router.push({name:"SingleTaxRate",params:{id:t,name:e}})},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("/taxes/"+e.id).then(function(t){n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted")}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}));break;case"edit":this.$router.push({name:"EditSingleTaxRate",params:{id:e.id}})}},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("taxes/delete/"+e.join(",")).then(function(t){var e=document.getElementsByClassName("column-cb")[0].childNodes[0];e.checked&&e.click(),a.fetchItems(),a.$store.dispatch("spinner/setSpinner",!1)}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t}))}}}},function(t,e,a){"use strict";var i=a(1),n=a(3);e.a={name:"TaxRecords",components:{ListTable:n.a},data:function(){return{voucher_no:0,agency_id:0,trn_date:"",tax_period:"",amount:0,modalParams:null,columns:{voucher_no:{label:"Voucher No"},agency_id:{label:"Agency"},trn_date:{label:"Date"},amount:{label:"Amount"},actions:{label:"Actions"}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[{key:"edit",label:"Edit",iconClass:"flaticon-edit"},{key:"trash",label:"Delete",iconClass:"flaticon-trash"}],bulkActions:[{key:"trash",label:"Move to Trash",iconClass:"flaticon-trash"}],taxes:[{}],buttonTitle:"",pageTitle:"",url:"",singleUrl:"",isActiveOptionDropdown:!1,showModal:!1}},created:function(){this.pageTitle=this.$route.name,this.url=this.$route.name.toLowerCase(),this.fetchItems()},computed:{row_data:function(){return this.rows}},methods:{close:function(){this.showModal=!1},fetchItems:function(){var t=this;this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),i.a.get("taxes/tax-records",{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.rows=e.data,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateTaxRates",params:{page:t},query:e}),this.fetchItems()},addTaxPayment:function(){this.$router.push("/pay-tax")},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete(this.url+"/"+e.id).then(function(t){n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted !")}).catch(function(t){throw n.$store.dispatch("spinner/setSpinner",!1),t}));break;case"edit":this.showModal=!0,this.taxes=e}},onBulkAction:function(t,e){var a=this;"trash"===t&&confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("taxes/delete/"+e.join(",")).then(function(t){var e=document.getElementsByClassName("column-cb")[0].childNodes[0];e.checked&&e.click(),a.fetchItems(),a.$store.dispatch("spinner/setSpinner",!1),a.showAlert("success","Deleted !")}).catch(function(t){throw a.$store.dispatch("spinner/setSpinner",!1),t}))}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6);e.a={name:"PayTaxSingle",components:{SendMail:n.a,Dropdown:r.a},data:function(){return{company:null,tax_pay_data:{},isWorking:!1,acct_var:erp_acct_var,print_data:null,type:"expense",showModal:!1}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.getCompanyInfo(),this.getExpense(),this.$root.$on("close",function(){t.showModal=!1})},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getExpense:function(){var t=this;this.isWorking=!0,i.a.get("/taxes/tax-records/".concat(this.$route.params.id)).then(function(e){t.tax_pay_data=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(t){}).then(function(){t.print_data=t.tax_pay_data,t.isWorking=!1})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(1),n=a(6),r=a(45);e.a={name:"BankAccounts",components:{Dropdown:n.a,ComboBox:r.a},data:function(){return{accounts:[],actions:[{key:"transfer",label:"Transfer",iconClass:"flaticon-sent-mail"}],pages:[{namedRoute:"Transfers",name:"Transfer Money"}]}},created:function(){this.fetchAccounts()},methods:{fetchAccounts:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/accounts/bank-accounts").then(function(e){t.accounts=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},transformBalance:function(t){return"undefined"===t&&(t=0),t<0?"Cr. ".concat(this.moneyFormat(Math.abs(t))):"Dr. ".concat(this.moneyFormat(t))},actionClicked:function(t,e){switch(t){case"transfer":this.$router.push({name:"NewTransfer",params:{ac_id:e.id,ac_name:e.name}})}}}}},function(t,e,a){"use strict";var i=a(14),n=a.n(i),r=a(15),s=a.n(r),o=a(7),l=a(1),c=a(4),d=a(2),u=a(10),p=a(24),h=a(16),g=a(5);function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,i)}return a}e.a={name:"CheckCreate",components:{Datepicker:c.a,MultiSelect:d.a,FileUpload:u.a,ComboButton:h.a,SelectPeople:p.a,ShowErrors:g.a},data:function(){return{basic_fields:{people:"",check_no:"",trn_date:"",deposit_to:"",trn_by:"",billing_address:""},check_data:{bank_name:"",payer_name:"",check_no:""},form_errors:[],createButtons:[{id:"save",text:"Save"},{id:"new_create",text:"Save and New"},{id:"draft",text:"Save as Draft"}],updateButtons:[{id:"update",text:"Update"},{id:"new_update",text:"Update and New"},{id:"draft",text:"Save as Draft"}],editMode:!1,voucherNo:0,transactionLines:[],selected:[],ledgers:[],pay_methods:[],attachments:[],totalAmounts:[],finalTotalAmount:0,billModal:!1,particulars:"",isWorking:!1,accts_by_chart:[],bank_accts:[],erp_acct_assets:erp_acct_var.acct_assets}},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f(Object(a),!0).forEach(function(e){s()(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({},Object(o.b)({actionType:function(t){return t.combo.btnID}})),created:function(){var t=this;this.getBanks(),this.prepareDataLoad(),this.$root.$on("remove-row",function(e){t.$delete(t.transactionLines,e),t.updateFinalAmount()})},methods:{prepareDataLoad:function(){var t=this;return n()(regeneratorRuntime.mark(function e(){var a,i;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$route.params.id){e.next=17;break}return t.editMode=!0,t.voucherNo=t.$route.params.id,e.next=5,l.a.get("/ledgers");case 5:return a=e.sent,e.next=8,l.a.get("/expenses/checks/".concat(t.$route.params.id));case 8:if((i=e.sent).data.bill_details.length){e.next=12;break}return t.showAlert("error","Check does not exists!"),e.abrupt("return");case 12:t.ledgers=a.data,t.setDataForEdit(i.data),t.$store.dispatch("combo/setBtnID","update"),e.next=22;break;case 17:t.getLedgers(),t.basic_fields.trn_date=erp_acct_var.current_date,t.basic_fields.due_date=erp_acct_var.current_date,t.transactionLines.push({},{},{}),t.$store.dispatch("combo/setBtnID","save");case 22:case"end":return e.stop()}},e)}))()},setDataForEdit:function(t){var e=this;this.basic_fields.people={id:parseInt(t.people_id),name:t.people_name},this.basic_fields.deposit_to={id:parseInt(t.deposit_to)},this.basic_fields.trn_by=this.pay_methods.find(function(e){return e.id===t.trn_by}),this.basic_fields.billing_address=t.address,this.basic_fields.trn_date=t.trn_date,this.basic_fields.check_no=t.ref,this.status=t.status,this.particulars=t.particulars,this.attachments=t.attachments,t.bill_details.forEach(function(t){e.transactionLines.push({id:t.id,ledger_id:{id:t.ledger_id,name:t.ledger_name},particulars:t.particulars,amount:t.amount})}),this.updateFinalAmount()},getLedgers:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.get("/ledgers/".concat(5,"/accounts")).then(function(e){t.ledgers=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},getBanks:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.get("/ledgers/".concat(7,"/accounts")).then(function(e){t.bank_accts=e.data,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},setCheckFields:function(t){this.check_data=t},getPeopleAddress:function(){var t=this,e=this.basic_fields.people.id;e?l.a.get("/people/".concat(e)).then(function(e){var a=e.data,i=a.street_1?a.street_1+",":"",n=a.street_2?a.street_2:"",r=a.city?a.city:"",s=a.state?a.state+",":"",o=a.postal_code?a.postal_code:"",l=a.country?a.country:"",c="".concat(i," ").concat(n," \n").concat(r," \n").concat(s," ").concat(o," \n").concat(l);t.basic_fields.billing_address=c}):this.basic_fields.billing_address=""},updateFinalAmount:function(){var t=0;this.transactionLines.forEach(function(e){e.amount&&(t+=parseFloat(e.amount))}),this.finalTotalAmount=parseFloat(t).toFixed(2)},addLine:function(){this.transactionLines.push({})},updateCheck:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.put("/expenses/".concat(this.voucherNo),t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Check Updated!")}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.isWorking=!1,e.reset=!0,"update"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Expenses"}):"new_update"===e.actionType&&e.resetFields()})},createCheck:function(t){var e=this;this.$store.dispatch("spinner/setSpinner",!0),l.a.post("/expenses",t).then(function(t){e.$store.dispatch("spinner/setSpinner",!1),e.showAlert("success","Check Created!")}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.isWorking=!1,e.reset=!0,"save"===e.actionType||"draft"===e.actionType?e.$router.push({name:"Expenses"}):"new_create"===e.actionType&&e.resetFields()})},submitCheckForm:function(){if(this.validateForm(),this.form_errors.length)window.scrollTo({top:10,behavior:"smooth"});else{var t=null;t="draft"===this.actionType?1:4;var e={people_id:this.basic_fields.people.id,check_no:this.basic_fields.check_no,trn_date:this.basic_fields.trn_date,trn_by:"3",bill_details:this.formatTrnLines(this.transactionLines),deposit_to:this.basic_fields.deposit_to.id,billing_address:this.basic_fields.billing_address,attachments:this.attachments,type:"check",status:t,particulars:this.particulars,name:this.check_data.payer_name};this.editMode?this.updateCheck(e):this.createCheck(e)}},validateForm:function(){this.form_errors=[],Object.prototype.hasOwnProperty.call(this.basic_fields.people,"id")||this.form_errors.push("Pay to is required."),this.basic_fields.check_no||this.form_errors.push("Check No is required."),this.basic_fields.trn_date||this.form_errors.push("Transaction Date is required."),Object.prototype.hasOwnProperty.call(this.basic_fields.deposit_to,"id")||this.form_errors.push("Transaction Account is required."),parseFloat(this.basic_fields.deposit_to.balance)<parseFloat(this.finalTotalAmount)&&this.form_errors.push("Not enough balance in selected account."),parseFloat(this.finalTotalAmount)||this.form_errors.push("Total amount can't be zero."),this.noFulfillLines(this.transactionLines,"ledger_id")&&this.form_errors.push("Please select an account.")},resetFields:function(){this.basic_fields={people:{id:null,name:null},check_no:"",trn_date:erp_acct_var.current_date,deposit_to:"",trn_by:"",billing_address:""},this.check_data={bank_name:"",payer_name:"",check_no:""},this.form_errors=[],this.transactionLines=[],this.attachments=[],this.totalAmounts=[],this.finalTotalAmount=0,this.particulars="",this.isWorking=!1,this.transactionLines.push({},{},{}),this.$store.dispatch("combo/setBtnID","save")},removeRow:function(t){this.$delete(this.transactionLines,t),this.updateFinalAmount()},formatTrnLines:function(t){var e=[];return t.forEach(function(t){Object.prototype.hasOwnProperty.call(t,"ledger_id")&&(t.ledger_id=t.ledger_id.id,e.push(t))}),e}},watch:{finalTotalAmount:function(t){this.finalTotalAmount=t},"basic_fields.people":function(){this.getPeopleAddress()},"basic_fields.trn_by":function(){this.changeAccounts()}}}},function(t,e,a){"use strict";var i=a(1),n=a(11),r=a(6);e.a={name:"CheckSingle",components:{SendMail:n.a,Dropdown:r.a},data:function(){return{company:null,expense_data:{},isWorking:!1,acct_var:erp_acct_var,print_data:null,type:"check",showModal:!1,people_id:null}},created:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),this.$root.$on("close",function(){t.showModal=!1}),this.getCompanyInfo(),this.getCheck()},methods:{getCompanyInfo:function(){var t=this;i.a.get("/company").then(function(e){t.company=e.data}).then(function(t){}).then(function(){t.isWorking=!1})},getCheck:function(){var t=this;this.isWorking=!0,this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/expenses/checks/".concat(this.$route.params.id)).then(function(e){t.expense_data=e.data,t.people_id=t.expense_data.people_id,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(t){}).then(function(){t.print_data=t.expense_data,t.isWorking=!1})},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(1),n=a(3),r=a(483),s=a(486);e.a={name:"SingleTaxRate",components:{ListTable:n.a,TaxRateLineAdd:r.a,TaxRateLineEdit:s.a},data:function(){return{tax_id:null,row_id:null,row_data:null,modalParams:null,taxrate:{},buttonTitle:"",pageTitle:"",url:"",singleUrl:"",isActiveOptionDropdown:!1,singleTaxRateModal:!1,showModal:!1,addNewLine:!1,is_update:!1,columns:{component_name:{label:"Component"},agency_name:{label:"Agency"},tax_cat_name:{label:"Tax Category"},tax_rate:{label:"Tax Rate"},actions:{label:"Actions"}},rows:[],paginationData:{totalItems:0,totalPages:0,perPage:20,currentPage:void 0===this.$route.params.page?1:parseInt(this.$route.params.page)},actions:[{key:"edit",label:"Edit",iconClass:"flaticon-edit"},{key:"trash",label:"Delete",iconClass:"flaticon-trash"}]}},created:function(){this.fetchItems(),"EditSingleTaxRate"===this.$route.name&&(this.is_update=!0)},methods:{fetchItems:function(){var t=this;this.rows=[],this.tax_id=this.$route.params.id,this.$store.dispatch("spinner/setSpinner",!0),i.a.get("/taxes/".concat(this.tax_id),{params:{per_page:this.paginationData.perPage,page:void 0===this.$route.params.page?this.paginationData.currentPage:this.$route.params.page}}).then(function(e){t.taxrate=e.data,t.rows=e.data.tax_components,t.paginationData.totalItems=parseInt(e.headers["x-wp-total"]),t.paginationData.totalPages=parseInt(e.headers["x-wp-totalpages"]),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},goToPage:function(t){var e=Object.assign({},this.$route.query);this.paginationData.currentPage=t,this.$router.push({name:"PaginateTaxZones",params:{page:t},query:e}),this.fetchItems()},onActionClick:function(t,e,a){var n=this;switch(t){case"trash":confirm("Are you sure to delete?")&&(this.$store.dispatch("spinner/setSpinner",!0),i.a.delete("/taxes/"+this.tax_id+"/line-delete/"+e.db_id).then(function(t){n.$delete(n.rows,a),n.$store.dispatch("spinner/setSpinner",!1),n.showAlert("success","Deleted !")}));break;case"edit":this.row_id=e.id,this.row_data=this.rows[a],this.showModal=!0}}}}},function(t,e,a){"use strict";var i=a(1),n=a(12),r=a(2);e.a={name:"TaxRateLineEdit",components:{MultiSelect:r.a,SubmitButton:n.a},data:function(){return{component_name:"",agency:"",category:"",tax_rate:"",agencies:[],categories:[]}},created:function(){this.fetchData()},methods:{closeModal:function(){this.$emit("close")},addTaxRate:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),i.a.post("/taxes/".concat(this.$route.params.id,"/line-add"),{tax_id:this.$route.params.id,component_name:this.component_name,agency_id:this.agency.id,tax_cat_id:this.category.id,tax_rate:this.tax_rate}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Tax Rate Updated!")}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(){t.resetData(),t.isWorking=!1,t.$emit("line_close"),t.$root.$emit("refetch_tax_data")})},fetchData:function(){var t=this;i.a.get("/tax-agencies").then(function(e){t.agencies=e.data}).catch(function(t){throw t}),i.a.get("/tax-cats").then(function(e){t.categories=e.data}).catch(function(t){throw t})},resetData:function(){Object.assign(this.$data,this.$options.data.call(this))}}}},function(t,e,a){"use strict";var i=a(1),n=a(488);e.a={name:"TaxRateLineEdit",components:{TaxRateRow:n.a},props:{tax_id:{type:[Number,String]},row_data:{type:[Object]}},data:function(){return{tax_rate:{},agency:"",category:"",isWorking:!1,agencies:[],categories:[]}},created:function(){this.fetchData()},methods:{closeModal:function(){this.$emit("close")},fetchData:function(){var t=this,e=this.tax_id;i.a.get("/taxes/".concat(e)).then(function(e){t.tax_rate=e.data}).catch(function(t){throw t}),i.a.get("/tax-agencies").then(function(e){t.agencies=[],t.agencies=e.data}).catch(function(t){throw t}),i.a.get("/tax-cats").then(function(e){t.categories=[],t.categories=e.data}).catch(function(t){throw t})}}}},function(t,e,a){"use strict";var i=a(1),n=a(2),r=a(12);e.a={name:"TaxRateRow",components:{MultiSelect:n.a,SubmitButton:r.a},props:{index:{type:[Number,String]},component_line:{type:Object},agencies:{type:Array},categories:{type:Array}},created:function(){this.setAgency(),this.setCategory()},data:function(){return{is_update:!0}},methods:{setAgency:function(){var t=parseInt(this.component_line.agency_id),e=this.component_line.agency_name;this.component_line.agency={id:t,name:e}},setCategory:function(){var t=parseInt(this.component_line.tax_cat_id),e=this.component_line.tax_cat_name;this.component_line.category={id:t,name:e}},UpdateTaxRate:function(){var t=this;this.$store.dispatch("spinner/setSpinner",!0),i.a.put("/taxes/".concat(this.component_line.tax_id,"/line-edit"),{db_id:this.component_line.db_id,tax_id:this.component_line.tax_id,row_id:parseInt(this.index),component_name:this.component_line.component_name,agency_id:this.component_line.agency.id,tax_cat_id:this.component_line.category.id,tax_rate:this.component_line.tax_rate}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Tax Rate Updated!")}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(){t.resetData(),t.isWorking=!1,t.$emit("line_close"),t.$root.$emit("refetch_tax_data")})},resetData:function(){Object.assign(this.$data,this.$options.data.call(this))}}}},function(t,e,a){"use strict";var i=a(9),n=a.n(i),r=a(1),s=a(4),o=a(3);e.a={name:"IncomeStatement",components:{ListTable:o.a,Datepicker:s.a},data:function(){return{start_date:null,end_date:null,bulkActions:[{key:"trash",label:"Move to Trash",img:erp_acct_var.erp_assets+"/images/trash.png"}],columns1:{name:{label:"Account Name"},amount:{label:"Amount"}},columns2:{name:{label:"Account Name"},amount:{label:"Amount"}},rows1:[],rows2:[],income:0,expense:0,profit:0,loss:0}},created:function(){this.$nextTick(function(){var t=new Date,e=("0"+(t.getMonth()+1)).slice(-2);this.$route.query.start?(this.start_date=this.$route.query.start,this.end_date=this.$route.query.end):(this.start_date="".concat(t.getFullYear(),"-").concat(e,"-01"),this.end_date=erp_acct_var.current_date),this.fetchItems()})},methods:{updateDate:function(){this.$router.push({path:this.$route.path,query:{start:this.start_date,end:this.end_date}})},fetchItems:function(){var t=this;this.updateDate(),this.rows1=[],this.rows2=[],this.$store.dispatch("spinner/setSpinner",!0),r.a.get("/reports/income-statement",{params:{start_date:this.start_date,end_date:this.end_date}}).then(function(e){t.rows1=e.data.rows1,t.rows2=e.data.rows2,t.income=e.data.income,t.expense=e.data.expense,t.profit=e.data.profit,t.loss=e.data.loss,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},transformBalance:function(t){return null===t&&"object"===n()(t)&&(t=0),t<0?"Cr. ".concat(this.moneyFormat(Math.abs(t))):"Dr. ".concat(this.moneyFormat(t))},printPopup:function(){window.print()}}}},function(t,e,a){"use strict";var i=a(9),n=a.n(i),r=a(1),s=a(2),o=a(4),l=a(3);e.a={name:"BalanceSheet",components:{MultiSelect:s.a,ListTable:l.a,Datepicker:o.a},data:function(){return{closingBtnVisibility:!1,start_date:null,end_date:null,bulkActions:[{key:"trash",label:"Move to Trash",img:erp_acct_var.erp_assets+"/images/trash.png"}],columns1:{name:{label:"Assets"},balance:{label:"Amount"}},columns2:{name:{label:"Liability"},balance:{label:"Amount"}},columns3:{name:{label:"Equity"},balance:{label:"Amount"}},rows1:[],rows2:[],rows3:[],fyears:[],totalAsset:0,totalLiability:0,totalEquity:0,selectedYear:null}},created:function(){this.fetchFnYears()},computed:{liability_equity:function(){return parseFloat(this.totalLiability)+parseFloat(this.totalEquity)}},watch:{closingBtnVisibility:function(t){t&&(this.start_date=this.selectedYear.start_date,this.end_date=this.selectedYear.end_date,this.fetchItems())},selectedYear:function(t){this.closingBtnVisibility&&(this.start_date=t.start_date,this.end_date=t.end_date,this.fetchItems())}},methods:{fetchItems:function(){var t=this;this.rows=[],this.$store.dispatch("spinner/setSpinner",!0),r.a.get("/reports/balance-sheet",{params:{start_date:this.start_date,end_date:this.end_date}}).then(function(e){t.rows1=e.data.rows1,t.rows2=e.data.rows2,t.rows3=e.data.rows3,t.totalAsset=e.data.total_asset,t.totalLiability=e.data.total_liability,t.totalEquity=e.data.total_equity,t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},transformBalance:function(t){return null===t&&"object"===n()(t)&&(t=0),t<0?"Cr. ".concat(this.moneyFormat(Math.abs(t))):"Dr. ".concat(this.moneyFormat(t))},fetchFnYears:function(){var t=this;r.a.get("/opening-balances/names").then(function(e){t.fyears=e.data.reverse().slice(0).slice(-5),t.getCurrentFnYear()})},getCurrentFnYear:function(){var t=this;r.a.get("/closing-balance/closest-fn-year").then(function(e){t.selectedYear=e.data,t.start_date=e.data.start_date,t.end_date=e.data.end_date,t.fetchItems()})},printPopup:function(){window.print()},checkClosingPossibility:function(){var t=this;if(!this.end_date)return this.showAlert("error",__("Please select financial year","erp")),!1;this.$store.dispatch("spinner/setSpinner",!0),r.a.get("/closing-balance/next-fn-year",{params:{date:this.end_date}}).then(function(e){e.data?t.closeBalancesheet(e.data.id):t.showAlert("error",__("Please create a financial year which start after ","erp")+t.end_date)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(){t.$store.dispatch("spinner/setSpinner",!1)})},closeBalancesheet:function(t){var e=this;r.a.post("/closing-balance",{f_year_id:t,start_date:this.start_date,end_date:this.end_date}).then(function(t){e.showAlert("success",__("Balance Sheet Closed!","erp")),e.closingBtnVisibility=!1}).catch(function(t){throw e.$store.dispatch("spinner/setSpinner",!1),t}).then(function(){e.$store.dispatch("spinner/setSpinner",!1)})}}}},function(t,e,a){"use strict";var i=a(9),n=a.n(i),r=a(1),s=a(2),o=a(12),l=a(5);e.a={name:"OpeningBalance",components:{MultiSelect:s.a,SubmitButton:o.a,ShowErrors:l.a},props:{title:{type:String,default:"title"},animation:{type:String,default:"rightToLeft"}},data:function(){return{open1:!0,open2:!0,open3:!0,open4:!0,open5:!0,open6:!0,open7:!0,form_errors:[],chartAccounts:[],ledgers:[],agencies:null,banks:[],people:[],options:[],fin_year:null,years:[],description:"",all_ledgers:[],credit_total:0,debit_total:0,isWorking:!1,acct_rec:[],acct_pay:[],tax_pay:[],totalDebit:0,totalCredit:0,accPayRec:null}},watch:{isWorking:function(t){this.isWorking=t},fin_year:function(t){this.getSelectedOB(t),this.getOpbAccountDetailsPayableReceivable(t.start_date)}},computed:{finalTotalDebit:function(){var t=0;return null!==this.accPayRec&&"0"!==this.accPayRec.invoice_acc&&(t=this.accPayRec.invoice_acc),this.totalDebit+t},finalTotalCredit:function(){var t=0;return null!==this.accPayRec&&"0"!==this.accPayRec.bill_purchase_acc&&(t=this.accPayRec.bill_purchase_acc),this.totalCredit+t}},created:function(){this.fetchData()},methods:{groupBy:function(t,e){return t.map("function"==typeof e?e:function(t){return t[e]}).reduce(function(e,a,i){return e[a]=(e[a]||[]).concat(t[i]),e},{})},getOpbAccountDetailsPayableReceivable:function(t){var e=this;r.a.get("/opening-balances/acc-payable-receivable",{params:{start_date:t}}).then(function(t){e.accPayRec=t.data})},fetchData:function(){var t=this;this.chartAccounts=[],this.$store.dispatch("spinner/setSpinner",!0),this.getYears(),this.fetchLedgers(),this.fetchAgencies(),this.fetchBanks(),this.getPeople(),r.a.get("/ledgers/accounts").then(function(e){t.chartAccounts=e.data,t.getSelectedOB(t.fin_year),t.$store.dispatch("spinner/setSpinner",!1)}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e})},fetchLedgers:function(){var t=this;r.a.get("/ledgers").then(function(e){e.data.forEach(function(e){e.ledger_id=e.id,e.balance=t.transformBalance(e.balance)}),t.ledgers=t.groupBy(e.data,"chart_id"),t.all_ledgers=e.data})},fetchAgencies:function(){var t=this;r.a.get("/tax-agencies").then(function(e){t.agencies=e.data}).catch(function(t){throw t})},fetchBanks:function(){var t=this;r.a.get("/ledgers/7/accounts").then(function(e){t.banks=e.data}).catch(function(t){throw t})},transformBalance:function(t){null===t&&"object"===n()(t)&&(t=0);return t<0?"Cr. ".concat("$").concat(Math.abs(t)):"Dr. ".concat("$").concat(t)},calculateAmount:function(){for(var t in this.debit_total=0,this.credit_total=0,this.ledgers)for(var e=0;e<this.ledgers[t].length;e++)Object.prototype.hasOwnProperty.call(this.ledgers[t][e],"debit")&&(""===this.ledgers[t][e].debit&&(this.ledgers[t][e].debit=0),this.debit_total+=parseFloat(this.ledgers[t][e].debit)),Object.prototype.hasOwnProperty.call(this.ledgers[t][e],"credit")&&(""===this.ledgers[t][e].credit&&(this.ledgers[t][e].credit=0),this.credit_total+=parseFloat(this.ledgers[t][e].credit));for(var a in this.acct_rec)""===this.acct_rec[a].debit&&(this.acct_rec[a].debit=0),this.debit_total+=parseFloat(this.acct_rec[a].debit);for(var i in this.acct_pay)""===this.acct_pay[i].credit&&(this.acct_pay[i].credit=0),this.credit_total+=parseFloat(this.acct_pay[i].credit);for(var n in this.tax_pay)""===this.tax_pay[n].credit&&(this.tax_pay[n].credit=0),this.credit_total+=parseFloat(this.tax_pay[n].credit);var r=Math.abs(this.debit_total-this.credit_total);this.totalDebit=this.debit_total,this.totalCredit=this.credit_total,this.isWorking=!0,0===r&&(this.isWorking=!1)},validateForm:function(){var t=this;this.form_errors=[],this.acct_rec.forEach(function(e){void 0===e||Object.prototype.hasOwnProperty.call(e,"people")||t.form_errors.push("People is not selected in Accounts Receivable.")}),this.acct_pay.forEach(function(e){void 0===e||Object.prototype.hasOwnProperty.call(e,"people")||t.form_errors.push("People is not selected in Accounts Payable.")}),this.tax_pay.forEach(function(e){void 0===e||Object.prototype.hasOwnProperty.call(e,"agency")||t.form_errors.push("Agency is not selected in Tax Payable.")}),Object.prototype.hasOwnProperty.call(this.fin_year,"id")||this.form_errors.push("Financial year is required."),this.isWorking&&this.form_errors.push("Debit and Credit must be Equal.")},submitOBForm:function(){var t=this;this.validateForm(),this.form_errors.length?window.scrollTo({top:10,behavior:"smooth"}):(this.$store.dispatch("spinner/setSpinner",!0),r.a.post("/opening-balances",{year:this.fin_year.id,ledgers:this.ledgers,acct_pay:this.acct_pay,acct_rec:this.acct_rec,tax_pay:this.tax_pay,total_dr:this.totalDebit,total_cr:this.totalCredit,description:this.description}).then(function(e){t.$store.dispatch("spinner/setSpinner",!1),t.showAlert("success","Opening Balance Created!")}).catch(function(e){throw t.$store.dispatch("spinner/setSpinner",!1),e}).then(function(){t.isWorking=!1}))},getYears:function(){var t=this;r.a.get("/opening-balances/names").then(function(e){t.years=e.data,t.fin_year=t.years.length?t.years[0]:null})},getPeople:function(){var t=this;r.a.get("/people",{params:{type:[]}}).then(function(e){t.options=e.data})},getSelectedOB:function(t){var e=this;this.acct_pay=[],this.acct_rec=[],this.tax_pay=[];var a=0;r.a.get("/opening-balances/".concat(t.id,"/count")).then(function(t){a=parseInt(t.data)}).then(function(){0===parseInt(a)?e.fetchLedgers():(r.a.get("/opening-balances/".concat(t.id)).then(function(a){e.totalDebit=0,e.totalCredit=0,a.data.forEach(function(t){t.id=t.ledger_id,t.balance=e.transformBalance(t.balance),e.totalDebit+=parseFloat(t.debit),e.totalCredit+=parseFloat(t.credit),e.ledgers[t.chart_id].map(function(e,a){e.ledger_id==t.ledger_id&&(e.credit=t.credit,e.debit=t.debit)})}),e.fetchVirtualAccts(t)}).then(function(){Object.prototype.hasOwnProperty.call(e.ledgers,"7")||(e.ledgers[7]=e.banks)}),0===Object.keys(e.ledgers).length&&e.fetchData())})},fetchVirtualAccts:function(t){var e=this;r.a.get("/opening-balances/virtual-accts/".concat(t.id)).then(function(t){e.acct_pay=t.data.acct_payable,e.acct_rec=t.data.acct_receivable,e.tax_pay=t.data.tax_payable}).then(function(){e.acct_pay.forEach(function(t){e.totalCredit+=parseFloat(t.credit)}),e.acct_rec.forEach(function(t){e.totalDebit+=parseFloat(t.debit)}),e.tax_pay.forEach(function(t){e.totalCredit+=parseFloat(t.credit)}),e.$store.dispatch("spinner/setSpinner",!1)})},printPopup:function(){window.print()},removeAcctRecRow:function(t){this.$delete(this.acct_rec,t),this.calculateAmount()},removeAcctPayRow:function(t){this.$delete(this.acct_pay,t),this.calculateAmount()},removeTaxPayRow:function(t){this.$delete(this.tax_pay,t),this.calculateAmount()},removeBankRow:function(t){this.$delete(this.ledgers[7],t),this.calculateAmount()}}}},function(t,e,a){"use strict";e.a={name:"HelpContent",data:function(){return{docs:[{title:window.__("General","erp"),ques:[{label:window.__("How to set Financial Years?","erp"),url:"https://wperp.com/docs/accounting/getting-started/setting-financial-year/"},{label:window.__("What is Opening Balance?","erp"),url:"https://wperp.com/docs/accounting/getting-started/opening-balance/"},{label:window.__("How to Set Currency?","erp"),url:"https://wperp.com/docs/erp-core/global-settings/"},{label:window.__("What are the basic transaction types?","erp"),url:"https://wperp.com/docs/accounting/sales-transactions/basic-of-transaction-types/"},{label:window.__("How to create a Journal Entry?","erp"),url:"https://wperp.com/docs/accounting/journal-entry/"}]},{title:window.__("Users","erp"),ques:[{label:window.__("How to create customer?","erp"),url:"https://wperp.com/docs/accounting/users/creating-a-customer/"},{label:window.__("How to create vendors?","erp"),url:"https://wperp.com/docs/accounting/users/creating-a-vendor/"}]},{title:window.__("Sales Transactions","erp"),ques:[{label:window.__("How to create an invoice?","erp"),url:"https://wperp.com/docs/accounting/sales-transactions/creating-your-first-invoice/"},{label:window.__("How to receive payment from invoices?","erp"),url:"https://wperp.com/docs/accounting/sales-transactions/adding-invoice-payments/"},{label:window.__("How can I delete an invoice?","erp"),url:"https://wperp.com/docs/accounting/sales-transactions/creating-your-first-invoice/"}]},{title:window.__("Expense Transactions","erp"),ques:[{label:window.__("How to create a bill?","erp"),url:"https://wperp.com/docs/accounting/expense-transactions/creating-bill-new/"},{label:window.__("How to create payments for bills?","erp"),url:"https://wperp.com/docs/accounting/expense-transactions/creating-bill-new/"},{label:window.__("How to create an expense?","erp"),url:"https://wperp.com/docs/accounting/expense-transactions/creating-expense-new/"},{label:window.__("How to create a check payment?","erp"),url:"https://wperp.com/docs/accounting/expense-transactions/creating-inventory-check-new/"}]},{title:window.__("Purchase Transactions","erp"),ques:[{label:window.__("How to create purchase quotation?","erp"),url:"https://wperp.com/docs/accounting/purchase-transactions-2/create-purchase/"},{label:window.__("How to create payments for purchase quotations?","erp"),url:"https://wperp.com/docs/accounting/purchase-transactions-2/pay-purchase/"}]},{title:window.__("Bank Accounts","erp"),ques:[{label:window.__("Can I create a bank account in Accounting?","erp"),url:"https://wperp.com/docs/accounting/chart-of-accounts/creating-a-new-chart/"},{label:window.__("How can I receive, spend transfer between bank accounts?","erp"),url:"https://wperp.com/docs/accounting/bank-accounts/transferring-between-accounts/"}]},{title:window.__("Products","erp"),ques:[{label:window.__("Can I create products / services / product categoty?","erp"),url:"https://wperp.com/docs/accounting/adding-products/"}]},{title:window.__("Tax","erp"),ques:[{label:window.__("What is Tax Zone?","erp"),url:"https://wperp.com/docs/accounting/tax/"},{label:window.__("What is Tax Category?","erp"),url:"https://wperp.com/docs/accounting/tax/"},{label:window.__("What is Tax Agency?","erp"),url:"https://wperp.com/docs/accounting/tax/"}]},{title:window.__("Reports","erp"),ques:[{label:window.__("How to produce different types of reports in Accounting?","erp"),url:"https://wperp.com/docs/accounting/reporting/"}]}]}}}},,,,,,,,,,,function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a(214),n=a(230),r=a(506),s=acct_get_lib("Vue"),o=acct_get_lib("VueSweetalert2"),l=acct_get_lib("Loading"),c=acct_get_lib("Vuelidate"),d=acct_get_lib("VueClipboards"),u=acct_get_lib("commonMixins"),p=acct_get_lib("i18nMixin"),h=acct_get_lib("clickOutside");s.config.productionTip=!1,s.use(o),s.use(l),s.use(c),s.use(d),s.mixin(u),s.mixin(p),s.directive("click-outside",h),null!==document.getElementById("erp-accounting")&&new s({el:"#erp-accounting",router:n.a,store:r.a,render:function(t){return t(i.a)}})},function(t,e,a){"use strict";var i=a(94),n=a(229),r=!1;var s=function(t){r||a(215)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/App.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(95),n=a(218),r=!1;var s=function(t){r||a(217)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/menu/AccountingMenu.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"erp-nav-container"},[a("div",{staticClass:"erp-page-header"},[a("div",{staticClass:"module-icon"},[a("svg",{attrs:{id:"Group_235","data-name":"Group 235",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 239 341.4"}},[a("path",{staticClass:"cls-1",attrs:{id:"Path_281","data-name":"Path 281",d:t.svgData}})])]),t._v(" "),a("p",{staticClass:"page-title"},[t._v(t._s(t.module_name))])]),t._v(" "),a("ul",{class:t.primaryNav},[t._l(t.menuItems,function(e,i){return[e.hasOwnProperty("submenu")?a("li",{key:i,class:t.dropdownNav},[a("router-link",{attrs:{to:"/"+e.slug}},[t._v(t._s(e.title))]),t._v(" "),a("ul",{class:t.dropDownClass},t._l(e.submenu,function(e,i){return a("li",{key:i},[a("router-link",{attrs:{to:"/"+e.slug}},[t._v(t._s(e.title))])],1)}),0)],1):a("li",{key:i},[a("router-link",{attrs:{to:"/"+e.slug}},[t._v(t._s(e.title))])],1)]})],2)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},,,,function(t,e,a){var i=a(223);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a(19)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,a){var i=a(224);(t.exports=a(18)(!1)).push([t.i,'\t/*\n \tFlaticon icon font: Flaticon\n \tCreation date: 08/01/2019 12:54\n \t*/\n\n@font-face {\n font-family: "Flaticon";\n src: url('+i(a(97))+");\n src: url("+i(a(97))+'?#iefix) format("embedded-opentype"),\n url('+i(a(225))+') format("woff"),\n url('+i(a(226))+') format("truetype"),\n url('+i(a(98))+'#Flaticon) format("svg");\n font-weight: normal;\n font-style: normal;\n}\n\n@media screen and (-webkit-min-device-pixel-ratio:0) {\n @font-face {\n font-family: "Flaticon";\n src: url('+i(a(98))+'#Flaticon) format("svg");\n }\n}\n\n[class^="flaticon-"]:before, [class*=" flaticon-"]:before,\n[class^="flaticon-"]:after, [class*=" flaticon-"]:after { \n font-family: Flaticon;\n font-size: 20px;\nfont-style: normal;\nmargin-left: 20px;\n}\n\n.flaticon-menu:before { content: "\\F100"; }\n.flaticon-arrow-down-sign-to-navigate:before { content: "\\F101"; }\n.flaticon-magnifying-glass:before { content: "\\F102"; }\n.flaticon-arrow-point-to-right:before { content: "\\F103"; }\n.flaticon-search-segment:before { content: "\\F104"; }\n.flaticon-edit:before { content: "\\F105"; }\n.flaticon-quick-edit:before { content: "\\F106"; }\n.flaticon-user:before { content: "\\F107"; }\n.flaticon-download:before { content: "\\F108"; }\n.flaticon-import:before { content: "\\F109"; }\n.flaticon-add-plus-button:before { content: "\\F10A"; }\n.flaticon-move:before { content: "\\F10B"; }\n.flaticon-arrow-right:before { content: "\\F10C"; }\n.flaticon-arrow-up:before { content: "\\F10D"; }\n.flaticon-trash:before { content: "\\F10E"; }\n.flaticon-leader:before { content: "\\F10F"; }\n.flaticon-opportunity:before { content: "\\F110"; }\n.flaticon-check:before { content: "\\F111"; }\n.flaticon-eye-close-up:before { content: "\\F112"; }\n.flaticon-printer:before { content: "\\F113"; }\n.flaticon-sent-mail:before { content: "\\F114"; }\n.flaticon-alarm-clock:before { content: "\\F115"; }\n.flaticon-share:before { content: "\\F116"; }\n.flaticon-link-symbol:before { content: "\\F117"; }\n.flaticon-copy-content:before { content: "\\F118"; }\n.flaticon-delete:before { content: "\\F119"; }\n.flaticon-filter-tool-black-shape:before { content: "\\F11A"; }\n.flaticon-printer-1:before { content: "\\F11B"; }\n.flaticon-settings-work-tool:before { content: "\\F11C"; }\n.flaticon-close:before { content: "\\F11D"; }\n.flaticon-menu-1:before { content: "\\F11E"; }\n.flaticon-locked-padlock:before { content: "\\F11F"; }\n.flaticon-left-arrow-key:before { content: "\\F120"; }\n.flaticon-tag:before { content: "\\F121"; }\n.flaticon-timeline:before { content: "\\F122"; }\n.flaticon-envelope:before { content: "\\F123"; }\n.flaticon-edit-1:before { content: "\\F124"; }\n.flaticon-notifications:before { content: "\\F125"; }\n.flaticon-calendar:before { content: "\\F126"; }\n.flaticon-list:before { content: "\\F127"; }\n.flaticon-document:before { content: "\\F128"; }\n.flaticon-cloud-storage-uploading-option:before { content: "\\F129"; }\n.flaticon-image:before { content: "\\F12A"; }\n.flaticon-group-contacts:before { content: "\\F12B"; }\n.flaticon-contact-book:before { content: "\\F12C"; }\n.flaticon-company:before { content: "\\F12D"; }',""])},,function(t,e){t.exports="data:application/font-woff;base64,d09GRgABAAAAABhwAA0AAAAAJ5wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAYVAAAABoAAAAcfPIioE9TLzIAAAGgAAAASgAAAGBQW16HY21hcAAAAhwAAABHAAABSuIhFf9jdnQgAAACZAAAAAQAAAAEABEBRGdhc3AAABhMAAAACAAAAAj//wADZ2x5ZgAAAtAAABOMAAAfMJEyxPNoZWFkAAABMAAAAC8AAAA2EdPATWhoZWEAAAFgAAAAHwAAACQD8QHFaG10eAAAAewAAAAwAAAAbgTTATpsb2NhAAACaAAAAGYAAABmqJSghG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Ad1bmlGMTI1B3VuaUYxMjYHdW5pRjEyNwd1bmlGMTI4B3VuaUYxMjkHdW5pRjEyQQd1bmlGMTJCB3VuaUYxMkMHdW5pRjEyRAAAAAAAAf//AAIAAAABAAAAAMw9os8AAAAA2Fo/6AAAAADYWj/o"},function(t,e,a){var i=a(228);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};a(19)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,a){(t.exports=a(18)(!1)).push([t.i,'*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@at-root{@-ms-viewport{width:device-width}}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:13px;font-weight:400;line-height:1.5;color:#72777c;text-align:left;background-color:#f1f1f1}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem;font-family:inherit;font-weight:600;line-height:1.2;color:#23282d}.h1,h1{font-size:23.01px}.h2,h2{font-size:18.005px}.h3,h3{font-size:16.003px}.h4,h4{font-size:14.001px}.h5,h5{font-size:13px}.h6,h6{font-size:11.999px}p{font-size:1.2em;line-height:1.61em;font-weight:300;margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;text-decoration:underline dotted;cursor:help;border-bottom:0}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#1a9ed4;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:focus,a:hover{color:#126b90;text-decoration:none}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none}img,svg{vertical-align:middle}svg{overflow:hidden}table{border-collapse:collapse}caption{padding-top:18px 10px;padding-bottom:18px 10px;color:#ccc;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}.display-none,[hidden]{display:none!important}.display-inline{display:inline!important}.display-inline-block{display:inline-block!important}.display-block{display:block!important}.display-table{display:table!important}.display-table-row{display:table-row!important}.display-table-cell{display:table-cell!important}.display-flex{display:flex!important}.display-inline-flex{display:inline-flex!important}@media (max-width:782px){.wperp-hidden-sm{display:none}}@media (min-width:783px){.wperp-hidden-lg{display:none}}.wperp-container,.wperp-container-fluid{margin-right:auto;margin-left:auto;max-width:100%}.wperp-container-fluid{padding-right:2rem;padding-left:2rem}.wperp-row{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-.5rem;margin-left:-.5rem}.wperp-row.wperp-gutter-20{margin-right:-10px;margin-left:-10px}.wperp-row.wperp-gutter-20 [class*=wperp-col-]{padding-right:10px;padding-left:10px}.wperp-row.wperpgutter-15{margin-right:-7.5px;margin-left:-7.5px}.wperp-row.wperpgutter-15 [class*=wperp-col-]{padding-right:7.5px;padding-left:7.5px}.wperp-row.wperp-reverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.wperp-col.wperp-reverse{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.wperp-col-xs,.wperp-col-xs-1,.wperp-col-xs-2,.wperp-col-xs-3,.wperp-col-xs-4,.wperp-col-xs-5,.wperp-col-xs-6,.wperp-col-xs-7,.wperp-col-xs-8,.wperp-col-xs-9,.wperp-col-xs-10,.wperp-col-xs-11,.wperp-col-xs-12,.wperp-col-xs-offset-0,.wperp-col-xs-offset-1,.wperp-col-xs-offset-2,.wperp-col-xs-offset-3,.wperp-col-xs-offset-4,.wperp-col-xs-offset-5,.wperp-col-xs-offset-6,.wperp-col-xs-offset-7,.wperp-col-xs-offset-8,.wperp-col-xs-offset-9,.wperp-col-xs-offset-10,.wperp-col-xs-offset-11,.wperp-col-xs-offset-12{box-sizing:border-box;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.wperp-col-xs{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.wperp-col-xs-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.wperp-col-xs-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.wperp-col-xs-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.wperp-col-xs-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.wperp-col-xs-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.wperp-col-xs-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.wperp-col-xs-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.wperp-col-xs-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.wperp-col-xs-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.wperp-col-xs-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.wperp-col-xs-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.wperp-col-xs-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.wperp-col-xs-offset-0{margin-left:0}.wperp-col-xs-offset-1{margin-left:8.33333333%}.wperp-col-xs-offset-2{margin-left:16.66666667%}.wperp-col-xs-offset-3{margin-left:25%}.wperp-col-xs-offset-4{margin-left:33.33333333%}.wperp-col-xs-offset-5{margin-left:41.66666667%}.wperp-col-xs-offset-6{margin-left:50%}.wperp-col-xs-offset-7{margin-left:58.33333333%}.wperp-col-xs-offset-8{margin-left:66.66666667%}.wperp-col-xs-offset-9{margin-left:75%}.wperp-col-xs-offset-10{margin-left:83.33333333%}.wperp-col-xs-offset-11{margin-left:91.66666667%}.wperp-start-xs{-ms-flex-pack:start;justify-content:flex-start;text-align:start}.wperp-center-xs{-ms-flex-pack:center;justify-content:center;text-align:center}.wperp-end-xs{-ms-flex-pack:end;justify-content:flex-end;text-align:end}.wperp-top-xs{-ms-flex-align:start;align-items:flex-start}.wperp-middle-xs{-ms-flex-align:center;align-items:center}.wperp-bottom-xs{-ms-flex-align:end;align-items:flex-end}.wperp-around-xs{-ms-flex-pack:distribute;justify-content:space-around}.wperp-between-xs{-ms-flex-pack:justify;justify-content:space-between}.wperp-first-xs{-ms-flex-order:-1;order:-1}.wperp-last-xs{-ms-flex-order:1;order:1}@media only screen and (max-width:48em){.wperp-container{margin:0 15px}}@media only screen and (min-width:48em){.wperp-container{width:46rem}.wperp-col-sm,.wperp-col-sm-1,.wperp-col-sm-2,.wperp-col-sm-3,.wperp-col-sm-4,.wperp-col-sm-5,.wperp-col-sm-6,.wperp-col-sm-7,.wperp-col-sm-8,.wperp-col-sm-9,.wperp-col-sm-10,.wperp-col-sm-11,.wperp-col-sm-12,.wperp-col-sm-offset-0,.wperp-col-sm-offset-1,.wperp-col-sm-offset-2,.wperp-col-sm-offset-3,.wperp-col-sm-offset-4,.wperp-col-sm-offset-5,.wperp-col-sm-offset-6,.wperp-col-sm-offset-7,.wperp-col-sm-offset-8,.wperp-col-sm-offset-9,.wperp-col-sm-offset-10,.wperp-col-sm-offset-11,.wperp-col-sm-offset-12{box-sizing:border-box;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.wperp-col-sm{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.wperp-col-sm-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.wperp-col-sm-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.wperp-col-sm-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.wperp-col-sm-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.wperp-col-sm-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.wperp-col-sm-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.wperp-col-sm-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.wperp-col-sm-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.wperp-col-sm-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.wperp-col-sm-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.wperp-col-sm-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.wperp-col-sm-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.wperp-col-sm-offset-0{margin-left:0}.wperp-col-sm-offset-1{margin-left:8.33333333%}.wperp-col-sm-offset-2{margin-left:16.66666667%}.wperp-col-sm-offset-3{margin-left:25%}.wperp-col-sm-offset-4{margin-left:33.33333333%}.wperp-col-sm-offset-5{margin-left:41.66666667%}.wperp-col-sm-offset-6{margin-left:50%}.wperp-col-sm-offset-7{margin-left:58.33333333%}.wperp-col-sm-offset-8{margin-left:66.66666667%}.wperp-col-sm-offset-9{margin-left:75%}.wperp-col-sm-offset-10{margin-left:83.33333333%}.wperp-col-sm-offset-11{margin-left:91.66666667%}.wperp-start-sm{-ms-flex-pack:start;justify-content:flex-start;text-align:start}.wperp-center-sm{-ms-flex-pack:center;justify-content:center;text-align:center}.wperp-end-sm{-ms-flex-pack:end;justify-content:flex-end;text-align:end}.wperp-top-sm{-ms-flex-align:start;align-items:flex-start}.wperp-middle-sm{-ms-flex-align:center;align-items:center}.wperp-bottom-sm{-ms-flex-align:end;align-items:flex-end}.wperp-around-sm{-ms-flex-pack:distribute;justify-content:space-around}.wperp-between-sm{-ms-flex-pack:justify;justify-content:space-between}.wperp-first-sm{-ms-flex-order:-1;order:-1}.wperp-last-sm{-ms-flex-order:1;order:1}}@media only screen and (min-width:64em){.wperp-container{width:63rem}.wperp-col-md,.wperp-col-md-1,.wperp-col-md-2,.wperp-col-md-3,.wperp-col-md-4,.wperp-col-md-5,.wperp-col-md-6,.wperp-col-md-7,.wperp-col-md-8,.wperp-col-md-9,.wperp-col-md-10,.wperp-col-md-11,.wperp-col-md-12,.wperp-col-md-offset-0,.wperp-col-md-offset-1,.wperp-col-md-offset-2,.wperp-col-md-offset-3,.wperp-col-md-offset-4,.wperp-col-md-offset-5,.wperp-col-md-offset-6,.wperp-col-md-offset-7,.wperp-col-md-offset-8,.wperp-col-md-offset-9,.wperp-col-md-offset-10,.wperp-col-md-offset-11,.wperp-col-md-offset-12{box-sizing:border-box;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.wperp-col-md{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.wperp-col-md-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.wperp-col-md-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.wperp-col-md-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.wperp-col-md-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.wperp-col-md-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.wperp-col-md-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.wperp-col-md-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.wperp-col-md-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.wperp-col-md-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.wperp-col-md-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.wperp-col-md-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.wperp-col-md-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.wperp-col-md-offset-0{margin-left:0}.wperp-col-md-offset-1{margin-left:8.33333333%}.wperp-col-md-offset-2{margin-left:16.66666667%}.wperp-col-md-offset-3{margin-left:25%}.wperp-col-md-offset-4{margin-left:33.33333333%}.wperp-col-md-offset-5{margin-left:41.66666667%}.wperp-col-md-offset-6{margin-left:50%}.wperp-col-md-offset-7{margin-left:58.33333333%}.wperp-col-md-offset-8{margin-left:66.66666667%}.wperp-col-md-offset-9{margin-left:75%}.wperp-col-md-offset-10{margin-left:83.33333333%}.wperp-col-md-offset-11{margin-left:91.66666667%}.wperp-start-md{-ms-flex-pack:start;justify-content:flex-start;text-align:start}.wperp-center-md{-ms-flex-pack:center;justify-content:center;text-align:center}.wperp-end-md{-ms-flex-pack:end;justify-content:flex-end;text-align:end}.wperp-top-md{-ms-flex-align:start;align-items:flex-start}.wperp-middle-md{-ms-flex-align:center;align-items:center}.wperp-bottom-md{-ms-flex-align:end;align-items:flex-end}.wperp-around-md{-ms-flex-pack:distribute;justify-content:space-around}.wperp-between-md{-ms-flex-pack:justify;justify-content:space-between}.wperp-first-md{-ms-flex-order:-1;order:-1}.wperp-last-md{-ms-flex-order:1;order:1}}@media only screen and (min-width:75em){.wperp-container{width:74rem}.wperp-col-lg,.wperp-col-lg-1,.wperp-col-lg-2,.wperp-col-lg-3,.wperp-col-lg-4,.wperp-col-lg-5,.wperp-col-lg-6,.wperp-col-lg-7,.wperp-col-lg-8,.wperp-col-lg-9,.wperp-col-lg-10,.wperp-col-lg-11,.wperp-col-lg-12,.wperp-col-lg-offset-0,.wperp-col-lg-offset-1,.wperp-col-lg-offset-2,.wperp-col-lg-offset-3,.wperp-col-lg-offset-4,.wperp-col-lg-offset-5,.wperp-col-lg-offset-6,.wperp-col-lg-offset-7,.wperp-col-lg-offset-8,.wperp-col-lg-offset-9,.wperp-col-lg-offset-10,.wperp-col-lg-offset-11,.wperp-col-lg-offset-12{box-sizing:border-box;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.wperp-col-lg{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.wperp-col-lg-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.wperp-col-lg-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.wperp-col-lg-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.wperp-col-lg-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.wperp-col-lg-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.wperp-col-lg-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.wperp-col-lg-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.wperp-col-lg-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.wperp-col-lg-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.wperp-col-lg-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.wperp-col-lg-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.wperp-col-lg-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.wperp-col-lg-offset-0{margin-left:0}.wperp-col-lg-offset-1{margin-left:8.33333333%}.wperp-col-lg-offset-2{margin-left:16.66666667%}.wperp-col-lg-offset-3{margin-left:25%}.wperp-col-lg-offset-4{margin-left:33.33333333%}.wperp-col-lg-offset-5{margin-left:41.66666667%}.wperp-col-lg-offset-6{margin-left:50%}.wperp-col-lg-offset-7{margin-left:58.33333333%}.wperp-col-lg-offset-8{margin-left:66.66666667%}.wperp-col-lg-offset-9{margin-left:75%}.wperp-col-lg-offset-10{margin-left:83.33333333%}.wperp-col-lg-offset-11{margin-left:91.66666667%}.wperp-start-lg{-ms-flex-pack:start;justify-content:flex-start;text-align:start}.wperp-center-lg{-ms-flex-pack:center;justify-content:center;text-align:center}.wperp-end-lg{-ms-flex-pack:end;justify-content:flex-end;text-align:end}.wperp-top-lg{-ms-flex-align:start;align-items:flex-start}.wperp-middle-lg{-ms-flex-align:center;align-items:center}.wperp-bottom-lg{-ms-flex-align:end;align-items:flex-end}.wperp-around-lg{-ms-flex-pack:distribute;justify-content:space-around}.wperp-between-lg{-ms-flex-pack:justify;justify-content:space-between}.wperp-first-lg{-ms-flex-order:-1;order:-1}.wperp-last-lg{-ms-flex-order:1;order:1}}body{background:#f5f5f5}[class*=flaticon]:before{margin-left:0;font-size:inherit;color:#d7dee2}.dismiss-bulk-action:hover i:before{color:#f96332}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.text-right{text-align:right!important}.text-left{text-align:left!important}.text-justify{text-align:justify!important}.text-center{text-align:center!important}.wperp-has-border-top{border-top:1px solid #e5e5e5;padding-top:20px}.separator{margin:20px 0}.separator-top{margin-top:20px}.separator-bottom{margin-bottom:20px}.flaticon-import{color:#d7dee2!important;font-size:12px}.content-header-section .wperp-row{margin-left:0;margin-right:0}.content-header-section .wperp-row .wperp-col{display:flex}.content-header-section .wperp-row .wperp-col .content-header__title{margin-bottom:0}.content-header-section .wperp-row .wperp-col .wperp-btn{display:inline-table}@media (max-width:767px){.content-header-section .wperp-row .wperp-col{display:block;width:100%}.content-header-section .wperp-row .wperp-col:not(:last-child){margin-bottom:20px}}.content-header-section .content-header__title{margin-right:20px;display:inline-block;font-size:23px;font-weight:400}@media (max-width:480px){.content-header-section .crm-contact-search{display:block}.content-header-section .crm-contact-search>div{width:100%!important;margin:0 0 10px}}.content-header-section .crm-contact-search .input-icon{width:180px;margin-right:12px}.subsubsub-all:before{content:"\\F10C";font-family:Flaticon}.import-export-box{border:1px solid #e2e2e2;display:inline-block;border-radius:3px}.import-export-box a{padding:3.5px 7px;display:inline-block;font-size:14px;color:#b8c1c1;transition:all .2s}.import-export-box a:last-child{border-left:1px solid #e2e2e2}.import-export-box a:hover{color:#1a9ed4}.import-export-box a i.flaticon-download{font-size:16px}.edit-badge{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#d7dee2;cursor:pointer}.edit-badge i:before{color:#fff}.edit-badge:hover{background:rgba(0,0,0,.5)}@media screen and (max-width:782px){.wrap{margin-right:12px!important;margin-left:0}}.mb-50{margin-bottom:50px!important}.mb-40{margin-bottom:40px!important}.mb-30{margin-bottom:30px!important}.mb-20{margin-bottom:20px!important}.mb-10{margin-bottom:10px!important}.mb-0{margin-bottom:0!important}.mt-50{margin-top:50px!important}.mt-40{margin-top:40px!important}.mt-30{margin-top:30px!important}.mt-20{margin-top:20px!important}.mt-10{margin-top:10px!important}.mt-0{margin-top:0!important}.pt-50{padding-top:50px!important}.pt-40{padding-top:40px!important}.pt-30{padding-top:30px!important}.pt-20{padding-top:20px!important}.pt-10{padding-top:10px!important}.pt-5{padding-top:5!important}.pt-0{padding-top:0!important}.pb-50{padding-bottom:50px!important}.pb-40{padding-bottom:40px!important}.pb-30{padding-bottom:30px!important}.pb-20{padding-bottom:20px!important}.pb-10{padding-bottom:10px!important}.pb-5{padding-bottom:5!important}.pb-0{padding-bottom:0!important}.pl-0{padding-left:0!important}.pl-5{padding-left:5!important}.pl-10{padding-left:10px!important}.pl-20{padding-left:20px!important}.pl-30{padding-left:30px!important}.pl-40{padding-left:40px!important}.pl-50{padding-left:50px!important}.pr-50{padding-right:50px!important}.pr-40{padding-right:40px!important}.pr-30{padding-right:30px!important}.pr-20{padding-right:20px!important}.pr-10{padding-right:10px!important}.pr-5{padding-right:5px!important}.pr-0{padding-right:0!important}.margin-0{margin:0!important}.padding-0{padding:0!important}.border-0{border:0!important}.bl-0{border-left:0!important}.br-0{border-right:0!important}.bt-0{border-top:0!important}.bb-0{border-bottom:0!important}.wperp-bg-white{background-color:#fff!important}.wperp-pull-right{float:right}.wperp-list-unstyled{padding-left:0}.list-table-content{color:#525252}.list-table-content li{display:flex;justify-content:space-between;padding:6px 0;position:relative}.list-table-content li:first-child{padding-top:0}.list-table-content li.total{border-top:1px solid #e2e2e2;font-size:14px;margin-top:19px;padding-top:20px}.list-table-content--border li{border-bottom:1px solid #e2e2e2}.list-table-content--bg-space{margin-bottom:27px!important}.list-table-content--bg-space li{padding:26px 0}.list-table-content--bg-space li:first-child{padding-top:6px}.bank-accounts-section .panel-badge{font-size:14px;line-height:1}.bank-accounts-section .panel-badge i{font-size:16px;line-height:1}.bank-accounts-section .list-table-content li i{display:none;cursor:pointer}.bank-accounts-section .list-table-content li i:before{transition:all .2s}.bank-accounts-section .list-table-content li .flaticon-menu-1{font-size:11px;margin-right:17px}.bank-accounts-section .list-table-content li .flaticon-menu-1:hover:before{color:#1a9ed4}.bank-accounts-section .list-table-content li .flaticon-trash{margin-left:15px}.bank-accounts-section .list-table-content li .flaticon-trash:hover:before{color:#e9485e}.bank-accounts-section.open-edit .list-table-content li i{display:inline}.bank-accounts-section.open-edit .list-table-content li a{pointer-events:none;color:#525252}.bank-accounts-section.open-edit .wperp-btn{display:none}.bank-accounts-total{font-size:14px;color:#525252;display:flex;justify-content:space-between}.wperp-account-chart-table .wperp-width-60{width:60%}.form-check{padding-left:0;display:table-row;height:20px;width:20px}.form-check .form-check-label{display:block;position:relative;cursor:pointer;line-height:20px;transition:color .3s linear}.form-check .form-check-label .field-label{margin-left:30px}.radio .form-check-sign{padding-left:28px}.form-check .form-check-sign:after,.form-check .form-check-sign:before{content:" ";display:inline-block;position:absolute;width:20px;height:20px;left:0;cursor:pointer;border-radius:3px;top:0;background-color:#fff;border:1px solid #e2e2e2;transition:opacity .3s linear}.form-check .form-check-sign:after{font-family:Flaticon;content:"\\F111";top:1px;text-align:center;font-size:9px;opacity:0;color:#fff;border:0;background-color:inherit}.form-check.disabled .form-check-label{color:#9a9a9a;opacity:.5;cursor:not-allowed}.form-check input[type=checkbox],.radio input[type=radio]{opacity:0;position:absolute;visibility:hidden}.form-check input[type=checkbox]:checked+.form-check-sign:before{background-color:#1abc9c;border-color:transparent}.form-check input[type=checkbox]:checked+.form-check-sign:after{opacity:1}.checkbox input[type=checkbox]:disabled+.form-check-sign:after,.form-control input[type=checkbox]:disabled+.form-check-sign:before{cursor:not-allowed}.form-check input[type=checkbox]:disabled+.form-check-sign,.form-check input[type=radio]:disabled+.form-check-sign{pointer-events:none}.form-check-radio .form-check-sign:after,.form-check-radio .form-check-sign:before{content:" ";width:20px;height:20px;border-radius:50%;border:1px solid #e2e2e2;display:inline-block;position:absolute;left:3px;top:3px;padding:1px;transition:opacity .3s linear}.form-check-radio input[type=radio],.form-check-radio input[type=radio]+.form-check-sign:after{opacity:0}.form-check-radio input[type=radio]:checked+.form-check-sign:after{width:4px;height:4px;background-color:#555;border-color:#555;top:11px;left:11px;opacity:1}.form-check-radio input[type=radio]:disabled+.form-check-sign,.form-check-radio input[type=radio]:disabled+.form-check-sign:after,.form-check-radio input[type=radio]:disabled+.form-check-sign:before{color:#9a9a9a}.wperp-list-unstyled{list-style:none;padding:0;margin:0}.wperp-btn{display:inline-flex;align-items:center;justify-content:center;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;user-select:none;border:1px solid transparent;padding:.313rem .7rem;font-size:12px;line-height:1.5;border-radius:3px;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.wperp-btn .hover-focus{text-decoration:none}.wperp-btn.focus,.wperp-btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(26,158,212,.0025)}.wperp-btn.disabled,.wperp-btn:disabled{opacity:.65;-o-box-shadow:none;box-shadow:none}.wperp-btn:not(:disabled):not(.disabled){cursor:pointer}.wperp-btn:not(:disabled):not(.disabled).active,.wperp-btn:not(:disabled):not(.disabled):active{-o-box-shadow:inset 0 3px 5px rgba(0,0,0,.00125);box-shadow:inset 0 3px 5px rgba(0,0,0,.00125)}.wperp-btn:not(:disabled):not(.disabled).active:focus,.wperp-btn:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(26,158,212,.0025),inset 0 3px 5px rgba(0,0,0,.00125)}.wperp-btn.btn--primary{background-color:#1a9ed4;color:#fff!important}.wperp-btn.btn--primary:hover{background-color:rgba(26,158,212,.8)}.wperp-btn.btn--default{background-color:#fff;color:#000;border:1px solid #e2e2e2;border-radius:3px}.wperp-btn.btn--default:hover{background-color:#f2f2f2}.wperp-btn.btn--outline{border-color:inherit;background-color:transparent}.wperp-btn.btn--outline.btn--primary{color:#1a9ed4}.wperp-btn.btn--lg{padding:.5rem 1rem;font-size:1em;line-height:54px;border-radius:.3rem}.wperp-btn.btn--sm{padding:.25rem .5rem;font-size:.8571em;line-height:1.5;border-radius:.2rem}.wperp-btn i{align-items:center;display:inline-flex;justify-content:center;height:1rem;width:1rem}.wperp-btn i:first-child:not(:last-child){margin-right:5px}.wperp-btn i:last-child:not(:first-child){margin-left:5px}.wperp-btn i:before{font-size:10px}a.btn.disabled,fieldset:disabled a.btn{pointer-events:none}.btn-link{font-weight:400;color:#1a9ed4;background-color:transparent}.btn-link .hover{color:#126b90;text-decoration:none;background-color:transparent;border-color:transparent}.btn-link.focus,.btn-link:focus{text-decoration:none;border-color:transparent;box-shadow:none}.btn-link.disabled,.btn-link:disabled{color:#ccc;pointer-events:none}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:.5rem}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.buttons-wrapper .wperp-btn{margin-left:15px}.buttons-wrapper .wperp-btn.ml-0{margin-left:0!important}.col--actions .dropdown .dropdown-menu{left:auto;right:35px;top:-4px}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;min-width:160px;padding:5px 0;font-size:14px;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #e2e2e2;border-radius:3px;-o-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);transition:all .3s ease;opacity:0;visibility:hidden;text-align:left}.dropdown-menu li{margin-bottom:0;text-align:left}.dropdown-menu.dropdown-menu-right{left:inherit;right:0}.dropdown-menu a{display:block;padding:7px 18px;color:#23282d;white-space:nowrap}.dropdown-menu a:hover{color:#1a9ed4;background:#f2f2f2}.dropdown-menu a:hover i{color:inherit}.dropdown-menu a i{font-size:14px;color:#d7dee2;margin-right:9px}.wperp-has-dropdown{position:relative;display:inline-block}.wperp-has-dropdown .dropdown-trigger *{pointer-events:none}.wperp-has-dropdown.dropdown-opened .dropdown-menu{transform:translate(0);opacity:1;visibility:visible}.option-dropdown{width:150px;margin-right:13px;display:inline-block;border-radius:3px;transition:all .5s ease;position:relative;font-size:14px;color:#474747;height:100%;text-align:left;background-color:#fff;border:1px solid #e2e2e2}.option-dropdown:hover{box-shadow:0 0 4px #ccc}.option-dropdown:active{background-color:#f8f8f8}.option-dropdown.active .select>i{transform:rotate(-180deg)}.option-dropdown .select{cursor:pointer;display:block;padding:5px 10px}.option-dropdown .select span{color:#a5acb1;font-size:12px}.option-dropdown .select span i{font-size:inherit;margin-right:9px}.option-dropdown .select>i{font-size:9px;color:#d7dee2;cursor:pointer;transition:all .3s ease-in-out;float:right;line-height:20px}.option-dropdown .dropdown-content{position:absolute;background-color:#fff;width:100%;left:0;top:100%;margin-top:-1px;border:1px solid #e2e2e2;-o-box-shadow:0 4px 10px 0 rgba(0,0,0,.09);box-shadow:0 4px 10px 0 rgba(0,0,0,.09);border-radius:0 0 3px 3px;z-index:9;list-style:none;min-width:100%;padding:5px 0;font-size:14px;visibility:hidden;opacity:0;transform:translateY(-10px);transition:all .3s ease-in-out}.option-dropdown .dropdown-content.dropdown-content-opened{visibility:visible;opacity:1;transform:translateY(0)}.option-dropdown .dropdown-content li{margin-bottom:0!important}.option-dropdown .dropdown-content li a{display:block;padding:5px 20px;transition:all .2s ease-in-out;cursor:pointer;color:#23282d}.option-dropdown .dropdown-content li a:active,.option-dropdown .dropdown-content li a:hover{color:#1a9ed4;background-color:#f5f8fa}.option-dropdown .dropdown-content li a:active i,.option-dropdown .dropdown-content li a:hover i{color:#1a9ed4}.option-dropdown .dropdown-content li a i{font-size:13px;color:#d7dee2;margin-right:9px}.wperp-form.form--inline{display:inline-flex;align-items:center}@media (max-width:480px){.wperp-form.form--inline{display:block}}.wperp-input{display:block;width:100%;height:33px;padding:.313rem .7rem;font-size:13px;line-height:1.5;color:#ccc;background-color:#fff;background-clip:padding-box;border:1px solid #ececec;border-radius:3px}.wperp-input::placeholder{color:#a5acb1;opacity:1}.wperp-input:disabled,.wperp-input[readonly]{background-color:#ccc;opacity:1}.input-icon{position:relative}.input-icon i{font-size:inherit;position:absolute;right:0;width:2rem;height:100%;color:#d7dee2}.input-icon i:before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}::-webkit-input-placeholder{color:#acacac}::-moz-placeholder{color:#acacac}:-ms-input-placeholder{color:#acacac}:-moz-placeholder{color:#acacac}.wperp-form-group{margin-bottom:20px}.wperp-form-horizontal .wperp-row{margin-bottom:17px}.wperp-form-horizontal .wperp-row label{margin-bottom:0;margin-top:8px}.wperp-form-horizontal .wperp-panel-body .wperp-row:last-child{margin-bottom:0}label{display:block;font-size:13px;margin-bottom:10px;color:#000}input,select,textarea{font-size:12px;color:#000}.wperp-required-sign{color:#e9485e}.wperp-custom-select{position:relative;border-radius:3px}.wperp-custom-select--inline-block{display:inline-block;min-width:120px}.wperp-custom-select select{border:1px solid #ececec;-webkit-appearance:none;-moz-appearance:none;appearance:none}.wperp-custom-select i{position:absolute;right:0;top:0;display:flex;align-items:center;height:100%;background:transparent;width:20px;pointer-events:none;z-index:2}.wperp-custom-select i:before{color:inherit;font-size:7px}.select2-container .select2-selection--single{min-height:35px;border-color:#ececec}.select2-container .select2-selection--single .select2-selection__rendered{padding-left:15px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:30px;color:#5c5c6f}.select2-container--default .select2-selection--single .select2-selection__arrow{height:30px}.select2-container--default .select2-search--dropdown .select2-search__field,.select2-dropdown{border-color:#ececec;color:inherit}.select2-search--dropdown{padding:10px}.select2-results__option{padding:5px 10px}.select2-container{max-width:100%}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;text-align:center}input[type=number]{-moz-appearance:textfield}.wperp-form-field,.wperp-form-field:not(.wperp-btn){width:100%;border-radius:3px;border:1px solid #ececec;padding:7.5px 15px!important;line-height:inherit!important;box-shadow:none!important}.wperp-form-field:focus,.wperp-form-field:not(.wperp-btn):focus{outline:0;border-color:#208df8}input{color:#5c5c6f}input.inline{width:auto}select.wperp-form-field{height:35px;background:transparent}.wperp-has-addon{position:relative}.wperp-has-addon .wperp-field-addon{display:flex;flex-wrap:wrap;align-items:center;position:relative}.wperp-has-addon .wperp-field-addon .wperp-icon{position:absolute;left:0;top:0;height:100%;width:50px;background:#f5f5f7;border:1px solid #ecf1f5;border-right:0;display:flex;align-items:center;justify-content:center;border-radius:3px 0 0 3px}.wperp-has-addon .wperp-field-addon .wperp-form-field{margin-left:50px;max-width:50%;border-radius:0 3px 3px 0;border-left-color:#ecf1f5}.wperp-has-addon .wperp-field-addon .wperp-form-field:focus{border-left-color:#208df8}.attachment-container{display:flex;align-items:center;flex-wrap:wrap}.attachment-container label{font-size:13px;margin-bottom:0}.attachment-container label.col--attachement{margin-right:20px}.attachment-container.attachment-style2{padding:20px;margin:0 -20px;background:#f9f9f9;border-top:1px solid #f1f1f1;border-bottom:1px solid #f1f1f1}.attachment-container .attachment-preview{display:flex;width:auto;max-height:100px;border:1px solid #f1f1f1;padding:10px;border-radius:3px;position:relative;display:none;background:#fff}.attachment-container .attachment-preview.show{display:block}.attachment-container .attachment-preview img{max-width:100%;max-height:100%}.attachment-container .attachment-preview .remove-attachment{position:absolute;right:0;top:0;padding:7px 10px;border-radius:0 3px 0 3px;background:rgba(0,0,0,.7);font-size:10px;cursor:pointer}.attachment-container .attachment-preview .remove-attachment:hover{background:#000}.attachment-container .attachment-placeholder{padding:20px;width:100%;max-width:390px;border:1px solid #f1f1f1;border-radius:3px;text-align:center;display:flex;align-items:center;justify-content:center;background:#fff}.attachment-container .attachment-placeholder.hide{display:none}.attachment-container .attachment-placeholder label{color:#1a9ed4;text-decoration:underline;padding:0 7px;cursor:pointer}.attachment-container .attachment-placeholder label:hover{text-decoration:none}.wperp-has-datepicker{position:relative}.wperp-has-datepicker .datepicker-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;z-index:9}.wperp-table{position:relative;width:100%;margin-bottom:1rem;background-color:#fff;border-radius:3px}.wperp-table thead tr .col--check{width:45px}.wperp-table.table-justified{table-layout:fixed}.wperp-table.table-justified td:last-child,.wperp-table.table-justified th:last-child{width:17%;text-align:left}@media (min-width:783px){.wperp-table.table-justified td:first-child,.wperp-table.table-justified th:first-child{padding-left:32px}}@media screen and (max-width:782px){.wperp-table thead tr td,.wperp-table thead tr th{padding:10px!important}.wperp-table .column-primary .wperp-custom-select,.wperp-table .column-primary .wperp-form-field{max-width:80%}.wperp-table .column-primary+.wperp-toggle-row{background:#f3f3f3}.wperp-table tr .col--check{display:table-cell;width:45px;vertical-align:top;padding:10px}.wperp-table tr:not(.inline-edit-row):not(.no-items) td:not(.col--check){position:relative;clear:both;display:block;width:auto!important}.wperp-table td.column-primary~td,.wperp-table th.column-primary~th,.wperp-table tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.col--check){display:none;border:none}.wperp-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary):before{position:absolute;left:10px;display:block;overflow:hidden;width:32%;content:attr(data-colname);white-space:nowrap;text-overflow:ellipsis;color:#23282d}.wperp-table tbody tr:not(.inline-edit-row):not(.no-items) td{padding:10px 10px 10px 35%}.wperp-table tbody tr:not(.inline-edit-row):not(.no-items) td.col--actions,.wperp-table tbody tr:not(.inline-edit-row):not(.no-items) td.column-primary{padding-left:10px}.wperp-table tbody tr:not(.inline-edit-row):not(.no-items) td.col--actions .dropdown-menu{visibility:visible;opacity:1;position:static;margin:0;transform:translate(0);display:flex;flex-wrap:wrap;max-width:100%}.wperp-table tbody tr:not(.inline-edit-row):not(.no-items) td.col--actions .dropdown-menu li a{padding:3px 8px;background:#fff;border:1px solid #e2e2e2;font-size:12px;border-radius:3px;margin:0 10px 10px 0}.wperp-table tbody tr:not(.inline-edit-row):not(.no-items) td.col--actions .dropdown-menu li a i{display:inline-block}.wperp-table tbody tr th{border-right:1px solid #e5e5e5;padding:10px}.wperp-table tbody tr td{border-top:1px solid #e5e5e5!important}}.wperp-table td,.wperp-table th{color:#525252;padding:18px 10px;vertical-align:middle;border-top:2px solid #f6f6f6}.wperp-table thead tr{box-shadow:0 5px 12px 0 rgba(0,100,235,.06);transform:translateY(-.1px)}.wperp-table thead tr th{font-weight:300}.wperp-table thead td,.wperp-table thead th{vertical-align:bottom;border:none;font-size:1.077em}@media (min-width:783px){.wperp-table thead td:first-child,.wperp-table thead th:first-child{padding-left:20px}.wperp-table thead td:last-child,.wperp-table thead th:last-child{padding-right:20px}}.wperp-table tbody tr:last-child{box-shadow:0 6px 30px 0 hsla(0,0%,80%,.16)}@media (min-width:783px){.wperp-table tbody tr td:first-child,.wperp-table tbody tr th:first-child{padding-left:20px}.wperp-table tbody tr td:last-child,.wperp-table tbody tr th:last-child{padding-right:20px;text-align:right}}.wperp-table tbody+tbody{border-top:4px solid #f6f6f6}.wperp-table .table{background-color:#f1f1f1}.wperp-table.table-striped tbody tr:nth-of-type(odd){background-color:#f9f9f9}.wperp-table.table-hover tbody tr:hover{background-color:rgba(0,0,0,.00075)}.wperp-table .is-row-expanded td:not(.hidden){display:block!important;overflow:hidden}.wperp-table .is-row-expanded .wperp-toggle-row:before{content:"\\F103"}.wperp-table .wperp-toggle-row{position:absolute;right:8px;top:15px;display:none;padding:0;width:40px;height:40px;border:none;outline:none;background:transparent}@media screen and (max-width:782px){.wperp-table .wperp-toggle-row{display:block}}.wperp-table .wperp-toggle-row:hover{cursor:pointer}.wperp-table .wperp-toggle-row:focus:before{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wperp-table .wperp-toggle-row:active{box-shadow:none}.wperp-table .wperp-toggle-row:before{position:absolute;top:-5px;left:10px;border-radius:50%;display:block;padding:5px;color:#444;content:"\\F101";font-family:Flaticon;font-size:10px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none}.wperp-table.wperp-form-table{border:1px solid #e2e2e2;border-collapse:inherit;border-spacing:0}.wperp-table.wperp-form-table thead tr{background:#1a9ed4}.wperp-table.wperp-form-table thead tr td,.wperp-table.wperp-form-table thead tr th{color:#fff;font-weight:400;padding:15px 10px}.wperp-table.wperp-form-table thead tr td:first-child,.wperp-table.wperp-form-table thead tr th:first-child{padding-left:20px}.wperp-table.wperp-form-table thead tr th.col--actions{padding-left:0;width:35px}.wperp-table.wperp-form-table tbody tr.add-attachment-row td,.wperp-table.wperp-form-table tbody tr.add-attachment-row th,.wperp-table.wperp-form-table tbody tr.add-new-line td,.wperp-table.wperp-form-table tbody tr.add-new-line th,.wperp-table.wperp-form-table tbody tr:first-child td,.wperp-table.wperp-form-table tbody tr:first-child th{padding-top:20px}.wperp-table.wperp-form-table tbody tr.add-attachment-row td,.wperp-table.wperp-form-table tbody tr.add-new-line td,.wperp-table.wperp-form-table tbody tr:last-child td{padding-bottom:20px}.wperp-table.wperp-form-table tbody tr td.col--actions{padding-right:20px}.wperp-table.wperp-form-table tbody tr td.col--description{width:30%}.wperp-table.wperp-form-table tbody td,.wperp-table.wperp-form-table tbody th,.wperp-table.wperp-form-table tfoot td,.wperp-table.wperp-form-table tfoot th{border:0;padding:10px}.wperp-table.wperp-form-table tbody td:first-child,.wperp-table.wperp-form-table tbody th:first-child,.wperp-table.wperp-form-table tfoot td:first-child,.wperp-table.wperp-form-table tfoot th:first-child{padding-left:20px}.wperp-table.wperp-form-table tbody tr,.wperp-table.wperp-form-table tfoot tr{box-shadow:none}.wperp-table.wperp-form-table tfoot td{padding:20px}@media (min-width:783px){.wperp-table.wperp-form-table .show-sm{display:none!important}}@media (max-width:782px){.wperp-table.wperp-form-table:not(.new-journal-form) .wperp-toggle-row{height:35px;border:1px solid #ececec;border-radius:3px;top:10px}.wperp-table.wperp-form-table:not(.new-journal-form) .wperp-toggle-row:before{top:5px}.wperp-table.wperp-form-table .hide-sm{display:none!important}.wperp-table.wperp-form-table tbody tr .column-primary{padding:10px!important}.wperp-table.wperp-form-table tbody tr .delete-row{text-align:right;padding-left:60% important}.wperp-table.wperp-form-table tbody tr .delete-row:before{top:10px;text-align:left}.wperp-table.wperp-form-table tbody tr .col--qty input{width:100%}.wperp-table.wperp-form-table tbody tr .col--total-amount i:before{color:#72777c;font-size:10px;margin-left:5px}.wperp-table.wperp-form-table tbody tr td{padding-top:10px!important;padding-bottom:10px!important}.wperp-table.wperp-form-table tbody tr td:before{top:16px}.wperp-table.wperp-form-table tbody tr td .attachment-placeholder{padding:10px}.wperp-table.wperp-form-table tbody tr .attachment-placeholder{display:block;text-align:left}.wperp-table.wperp-form-table tbody tr .attachment-placeholder label{display:inline-block}.wperp-table.wperp-form-table tbody tr.total-amount-row td:empty{display:none!important}.wperp-table.wperp-form-table tbody tr.total-amount-row td.text-right{text-align:left!important}.wperp-table.wperp-form-table tbody tr.add-new-line td{padding-left:10px!important}.wperp-table.wperp-form-table tfoot td{padding:10px!important}}.add-attachment-row{background:#f9f9f9}.add-attachment-row td{border-top:1px solid #f1f1f1!important;border-bottom:1px solid #f1f1f1!important}td input[type=text]{width:100%}.col--qty input{width:56px;text-align:center}.col--discount{width:100px}.col--discount .wperp-has-addon{display:flex;border:1px solid #e2e2e2;border-radius:3px}.col--discount .wperp-has-addon input{text-align:center;border:0;border-right:1px solid #e2e2e2;border-radius:0}.col--discount .wperp-has-addon .wperp-addon{display:flex;align-items:center;justify-content:center;width:60px}.col--amount input{width:100%!important}.col--actions a:focus i:before,.col--actions a:hover i:before{color:#1a9ed4!important}.delete-row a:hover i:before{color:#f96332!important}.col--name img{border-radius:50%;margin-right:10px}.col--name a{color:#23282d;font-size:1.154em;font-weight:600}.col--name a:focus,.col--name a:hover{color:#1a9ed4}.col--actions .flaticon-menu{color:#cbcbcb}.col--actions .wperp-has-dropdown .dropdown-menu{margin-right:-20px}.col--actions .wperp-has-dropdown .dropdown-menu:after{top:8px!important}.col--actions .wperp-has-dropdown .dropdown-menu:before{top:7px!important}.col--actions .wperp-has-dropdown.dropdown-opened .dropdown-menu{top:-4px;right:100%;margin-right:10px}@media screen and (max-width:782px){.col--actions{padding-left:5px}.col--actions .dropdown>a{display:none}.col--actions .dropdown .dropdown-menu{display:block;position:relative;padding:0;background-color:transparent;box-shadow:none;border:none}.col--actions .dropdown .dropdown-menu:after,.col--actions .dropdown .dropdown-menu:before{content:none}.col--actions .dropdown .dropdown-menu li{display:inline}.col--actions .dropdown .dropdown-menu li a{display:inline-block;padding:10px 5px}.col--actions .dropdown .dropdown-menu li a i{display:none}}.col--actions .dropdown>a{color:#72777c}.col--actions .dropdown>a:hover{color:#1a9ed4}.col--actions .dropdown>a i{font-size:15px}.ie8 .wperp-table .wperp-toggle-row:focus:before{outline:1px solid #5b9dd9}.table-container{position:relative}.table-container.bulk-actions .wperp-table thead th{display:none}.table-container.bulk-actions a .flaticon-trash:before,.table-container.bulk-actions a:hover{color:#f96332!important}.bulk-action{position:absolute;z-index:1;background-color:#fff;display:none;left:50px;top:12px}@media (max-width:782px){.bulk-action{left:30px;top:5px}}.bulk-action a{display:inline-block;color:#23282d;font-size:12px;margin:0 10px;padding:8px 10px}.bulk-action a i{color:#d7dee2;margin-right:5px}.bulk-action a:hover{color:#1a9ed4}.wperp-invoice-table{table-layout:fixed}.wperp-invoice-table td:last-child,.wperp-invoice-table th:last-child{width:50px}.wperp-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:all .3s ease-in-out}.wperp-modal span.modal-close{width:24px;height:24px;text-align:center;border-radius:50%;background:rgba(0,0,0,.8);border:1px solid #f2f2f2;position:absolute;top:-8px;right:-8px;z-index:9999;cursor:pointer}.wperp-modal span.modal-close i{font-size:7px}.wperp-modal span.modal-close:hover{background:#000}.wperp-modal.has-form .modal-form .wperp-modal-body{margin:0 20px 20px;padding:20px;border:1px solid #e2e2e2;border-radius:3px;max-height:70vh;overflow-y:auto}.wperp-modal.wperp-printable-modal .wperp-modal-content,.wperp-modal.wperp-printable-modal .wperp-modal-header{background:#f5f5f5}.wperp-modal .wperp-modal-dialog{position:relative;max-width:740px;width:95%;max-height:100%;margin-top:-100px;transition:all .3s ease-in-out}.wperp-modal .wperp-modal-content{background-color:#fff;border:1px solid #e2e2e2;border-radius:3px;box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0;max-height:90vh;overflow-y:auto}.wperp-modal.wperp-modal-open{opacity:1;visibility:visible}.wperp-modal.wperp-modal-open .wperp-modal-dialog{margin-top:0}.wperp-modal.wperp-printable-modal .wperp-modal-header{border-bottom:0}.wperp-modal.wperp-printable-modal .wperp-modal-body{padding:0;margin:0 20px;border-radius:3px;border:1px solid #f1f1f1}.wperp-modal.wperp-printable-modal .wperp-modal-body .wperp-invoice-panel{background:transparent}.wperp-modal.wperp-printable-modal .modal-subtitle{margin-bottom:15px}.wperp-modal.wperp-printable-modal .invoice-table thead tr th{padding-right:20px;padding-left:20px}.wperp-modal.wperp-printable-modal .invoice-table thead tr th:first-child{padding-left:30px}.wperp-modal.wperp-printable-modal .invoice-table thead tr th:last-child{padding-right:30px}.wperp-modal.wperp-printable-modal .invoice-table tbody tr td,.wperp-modal.wperp-printable-modal .invoice-table tbody tr th,.wperp-modal.wperp-printable-modal .invoice-table tfoot tr td,.wperp-modal.wperp-printable-modal .invoice-table tfoot tr th{padding:20px}.wperp-modal.wperp-printable-modal .invoice-table tbody tr td:first-child,.wperp-modal.wperp-printable-modal .invoice-table tbody tr th:first-child,.wperp-modal.wperp-printable-modal .invoice-table tfoot tr td:first-child,.wperp-modal.wperp-printable-modal .invoice-table tfoot tr th:first-child{padding-left:30px}.wperp-modal.wperp-printable-modal .invoice-table tbody tr td:last-child,.wperp-modal.wperp-printable-modal .invoice-table tbody tr th:last-child,.wperp-modal.wperp-printable-modal .invoice-table tfoot tr td:last-child,.wperp-modal.wperp-printable-modal .invoice-table tfoot tr th:last-child{padding-right:30px}.wperp-modal-header{padding:20px;display:flex;justify-content:space-between;align-items:center;border-radius:3px 3px 0 0;font-weight:400;color:#000;background:#fff}.wperp-modal-header h2,.wperp-modal-header h3,.wperp-modal-header h4,.wperp-modal-header h5{margin:0;font-weight:400}.wperp-modal-header.has-border{border-bottom:1px solid #e2e2e2}.wperp-modal-header.has-bg{background:#fff}.wperp-modal-header .wperp-close{color:#cec9cb;font-size:16px;padding:5px;margin-right:-5px;cursor:pointer}.wperp-modal-header .wperp-close:hover{color:#ccc}.wperp-modal-header .wperp-icon{color:#ccc;margin-right:10px;vertical-align:text-top}.wperp-modal-header .wperp-icon:before{font-size:20px}.wperp-modal-body{position:relative;padding:20px;background:#fff}.wperp-modal-footer{padding:20px;text-align:right}.wperp-modal-footer:after,.wperp-modal-footer:before{content:" ";display:table}.wperp-modal-footer:after{clear:both}.wperp-modal-footer.has-border{border-top:1px solid #e2e2e2}.wperp-modal-footer .wperp-btn+.wperp-btn{margin-left:15px;margin-bottom:0}.wperp-modal-footer .wperp-btn-group .wperp-btn+.wperp-btn{margin-left:-1px}.wperp-modal-footer .wperp-btn-block+.wperp-btn-block{margin-left:0}.wperp-modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.modal-title{margin-bottom:20px}.modal-title *{margin:0;font-size:18px;font-weight:400}.wperp-panel,.wperp-panel-group{margin-bottom:20px}.wperp-panel{border-radius:3px;background:#fff;border:1px solid #e2e2e2}.wperp-panel .wperp-table{margin-bottom:0}.wperp-panel.wperp-panel-orders .wperp-table td:first-child,.wperp-panel.wperp-panel-orders .wperp-table th:first-child{padding-left:0!important}.wperp-panel.wperp-panel-orders .wperp-table td:last-child,.wperp-panel.wperp-panel-orders .wperp-table th:last-child{padding-right:0!important}.wperp-panel+.wperp-panel{margin-top:5px}.wperp-panel .wperp-panel-heading{border-bottom:1px solid #e2e2e2;border-radius:3px 3px 0 0;color:#000;padding:12px 20px;background:#f9f9f9;font-size:14px;display:flex;align-items:center;justify-content:space-between}.wperp-panel .wperp-panel-heading .panel-badge.panel-badge-circle{width:18px;height:18px;border-radius:50%;font-size:18px;line-height:1}.wperp-panel .wperp-panel-heading .panel-badge.panel-badge-primary{background-image:-webkit-linear-gradient(125deg,#6eacff 10%,#907cff)}.wperp-panel .wperp-panel-heading .panel-badge.panel-badge-info{background-image:-webkit-linear-gradient(125deg,#ff8359 10%,#ffcf08)}.wperp-panel .wperp-panel-heading .panel-badge.panel-badge-secondary{background-image:-webkit-linear-gradient(125deg,#08d0ff 10%,#10f8b1)}.wperp-panel .wperp-panel-heading h1,.wperp-panel .wperp-panel-heading h2,.wperp-panel .wperp-panel-heading h3,.wperp-panel .wperp-panel-heading h4,.wperp-panel .wperp-panel-heading h5,.wperp-panel .wperp-panel-heading h6{margin-bottom:0}.wperp-panel .wperp-panel-body{padding:20px}.wperp-panel .wperp-panel-body.wperp-no-padding{padding:0}.wperp-panel .wperp-panel-footer{border-radius:0 0 3px 3px;padding:20px;border-top:1px solid #e2e2e2}.wperp-modal .wperp-form-horizontal .wperp-panel-heading{justify-content:flex-start!important}.wperp-modal .wperp-form-horizontal .wperp-panel-heading .panel-badge{margin-right:13px}.wperp-dashboard .wperp-panel-body,.wperp-dashboard .wperp-panel-footer,.wperp-dashboard .wperp-panel-heading{padding:20px 30px}.wperp-dashboard .wperp-chart-block{margin-right:-10px}.wperp-filter-panel .wperp-panel-footer{padding:0;border:0}.wperp-stats .wperp-panel{padding-bottom:0}.wperp-stats .wperp-chart-block{position:relative;padding-right:30px;margin-right:20px;display:block}.wperp-stats .wperp-chart-block.has-separator:after{content:"";width:1px;height:50%;background:#d8d8d8;position:absolute;top:50%;transform:translateY(-50%);right:0;z-index:99}.wperp-stats .wperp-chart-block h3{color:#23282d;font-size:14px;font-weight:400;margin-bottom:20px}.wperp-stats .wperp-chart-block .wperp-total{display:flex;min-height:50px;align-items:center}.wperp-stats .wperp-chart-block .wperp-total h2{color:#23282d;font-weight:400;font-size:26px;margin-bottom:0}.wperp-stats .wperp-chart-block .payment-chart{display:flex;flex-direction:row;flex-wrap:wrap}.wperp-stats .wperp-chart-block .payment-chart .chart-container{max-width:168px;flex-basis:84px;margin-left:-42px;margin-right:-42px}.wperp-stats .wperp-chart-block .chart-labels-list{list-style:none;font-size:14px;margin-bottom:0}@media (max-width:1200px){.wperp-stats .wperp-chart-block .chart-labels-list{padding-left:20px}}.wperp-stats .wperp-chart-block .chart-labels-list li{padding-bottom:7px;display:flex}.wperp-stats .wperp-chart-block .chart-labels-list li:last-child{padding-bottom:0}.wperp-stats .wperp-chart-block .chart-labels-list .chart-label-icon{width:12px;height:12px;border-radius:100%;display:inline-block;margin-right:12px}.wperp-stats .wperp-chart-block .chart-labels-list .chart-value{color:#000}.wperp-stats .wperp-chart-block .chart-labels-list .chart-label{color:#72777c}@media (max-width:767px){.wperp-col-sm-4{flex-basis:100%}.wperp-col-sm-4 .has-separator:after{content:none!important}.wperp-col-sm-4 .wperp-chart-block{display:flex;flex-direction:column;align-items:center;margin-bottom:30px;margin-right:0!important;padding-right:0!important}.wperp-col-sm-4 .wperp-total{min-height:inherit!important}}.wperp-invoice-modal .wperp-modal-body{padding-top:0;padding-bottom:0}.add-new-people{cursor:pointer;display:inline-block;margin-top:10px}.add-new-people i{margin-right:5px}.add-new-people i:before{font-size:7px;color:inherit}.wperp-invoice-panel{padding-top:20px;background:#fff;color:#72777c;font-weight:300}.wperp-invoice-panel h3,.wperp-invoice-panel h4,.wperp-invoice-panel h5,.wperp-invoice-panel h6,.wperp-invoice-panel strong,.wperp-invoice-panel th{color:#23282d;font-weight:400}.wperp-invoice-panel table,.wperp-invoice-panel ul{margin-bottom:0}.wperp-invoice-panel .invoice-header{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;padding:0 30px;border-bottom:1px solid #ecf0f1}.wperp-invoice-panel .invoice-body{padding:20px 30px}.wperp-invoice-panel .invoice-body h4{font-size:18px}.wperp-invoice-panel .invoice-body .invoice-info{float:right}.wperp-invoice-panel .invoice-address{text-align:right}.wperp-invoice-panel .invoice-table{border:0}.wperp-invoice-panel .invoice-table tbody tr td,.wperp-invoice-panel .invoice-table tbody tr th{border-bottom:1px solid #f1f1f1}.wperp-invoice-panel .invoice-table tfoot ul li{padding:4px 10px}.wperp-invoice-panel .invoice-table tfoot ul li span{color:#72777c;padding-right:10px}.wperp-invoice-panel tfoot ul{list-style:none;float:right;text-align:right}.invoice-attachments{margin:20px 0}.invoice-attachments h4{font-size:15px;margin-bottom:10px;font-weight:600}.invoice-attachments .attachment-item{padding:10px 15px;border:1px solid #e2e2e2;border-radius:3px;display:inline-flex;align-items:center;margin-bottom:15px;margin-right:15px;color:inherit}.invoice-attachments .attachment-item:hover{background:#fff}.invoice-attachments .attachment-meta{margin-left:10px}@media print{.d-print-none{display:none}.invoice-body .wperp-row{display:flex;justify-content:space-between}.wperp-modal-content{max-height:none!important}}.wperp-customer-panel{position:relative}.wperp-customer-panel .edit-badge{position:absolute;right:30px}.wperp-customer-panel .customer-identity{display:flex;align-items:center}.wperp-customer-panel .customer-identity img{margin-right:20px}.wperp-customer-panel .customer-identity h3{color:#23282d;font-weight:400}.wperp-customer-panel .customer-meta{list-style:none;padding-left:0;margin-bottom:0;column-count:3;margin-top:10px}@media (max-width:1024px){.wperp-customer-panel .customer-meta{column-count:2}}@media (max-width:520px){.wperp-customer-panel .customer-meta{column-count:1}}.wperp-customer-panel .customer-meta li{display:flex;line-height:19px;margin-bottom:10px}.wperp-customer-panel .customer-meta li strong{display:inline-flex;min-width:65px;color:#000;font-weight:500}.wperp-customer-panel .customer-meta li span{color:#525252}.content-header-section .wperp-import-wrapper{margin-left:10px}.content-header-section .dropdown-menu{margin-top:0}.content-header-section .dropdown-opened .dropdown-menu{margin-top:10px}.content-header-section .filter-button [class*=flaticon]{vertical-align:middle;margin:0 5px}.wperp-filter-container{padding:0;border:0}.wperp-filter-container h3{font-size:13px;margin-top:0}.wperp-filter-container .wperp-panel{padding:15px;width:320px;margin-bottom:0}.wperp-filter-container .wperp-panel .wperp-panel-body{padding:15px;border:1px solid #ddd;border-radius:3px;margin-bottom:15px}.wperp-filter-container .wperp-panel .wperp-panel-body *{font-size:12px;color:#525252}.wperp-filter-container .wperp-panel .wperp-panel-body .form-fields{display:flex;align-items:center}.wperp-filter-container .wperp-panel .wperp-panel-body .form-fields .label-to{margin:0 10px}.wperp-filter-container .wperp-panel .wperp-panel-body .form-fields .has-addons{position:relative}.wperp-filter-container .wperp-panel .wperp-panel-body .form-fields .has-addons [class*=flaticon]{position:absolute;right:7px;top:50%;transform:translateY(-50%);pointer-events:none;z-index:0}.wperp-filter-container .wperp-panel .wperp-panel-body .form-field{width:100%;max-width:110px;border-radius:3px;border:1px solid #ddd;padding:5px}.wperp-filter-container .wperp-panel .wperp-panel-footer{text-align:right}.wperp-filter-container .wperp-panel .wperp-panel-footer .wperp-btn{margin-left:10px}#status_legend ul li{padding:0 2px}@media (max-width:767px){.wperp-filter-container{right:inherit!important;left:0!important}.wperp-filter-container .wperp-panel{width:290px!important;padding:15px 10px}.wperp-filter-container .wperp-panel .wperp-panel-body{padding:15px 10px}.wperp-filter-container .wperp-panel .wperp-panel-body .form-fields .label-to{margin:0 5px}.wperp-filter-container:after,.wperp-filter-container:before{right:inherit!important;left:10px}}',""])},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"erp-accounting"}},[a("accounting-menu"),t._v(" "),a("h2",{attrs:{role:"erp-wp-notice","data-text":"Don't remove me, I am super important for admin notice"}}),t._v(" "),a("router-view"),t._v(" "),a("loading",{attrs:{active:t.loader,loader:"spinner",color:"#1a9ed4",opacity:.8,isFullPage:!1,width:45},on:{"update:active":function(e){t.loader=e}}})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(23),n=a(93),r=a(231),s=a(254),o=a(260),l=a(263),c=a(268),d=a(277),u=a(280),p=a(283),h=a(286),g=a(292),f=a(303),m=a(306),_=a(337),A=a(340),v=a(343),M=a(348),y=a(351),b=a(356),w=a(359),x=a(362),C=a(370),N=a(373),T=a(376),D=a(379),I=a(382),j=a(385),k=a(388),L=a(391),z=a(394),E=a(397),O=a(400),S=a(407),Y=a(421),Q=a(429),B=a(432),F=a(46),P=a(47),U=a(444),R=a(48),$=a(449),W=a(452),H=a(457),G=a(460),V=a(463),J=a(466),q=a(469),Z=a(472),K=a(475),X=a(478),tt=a(481),et=a(493),at=a(496),it=a(88),nt=a(499),rt=a(503);i.default.use(n.a),e.a=new n.a({linkActiveClass:"router-link-active",routes:acct.hooks.applyFilters("erp_acct_admin_routes",[{path:"/",component:c.a,children:[{path:"/dashboard",name:"DashBoard",component:c.a,alias:"/trn-loader"}]},{path:"/products",component:{render:function(t){return t("router-view")}},children:[{path:"product-service",name:"Products",component:s.a,alias:"/products"},{path:"page/:page",name:"PaginateProducts",component:s.a},{path:"product-categories",name:"ProductCategory",component:A.a}]},{path:"/users",component:{render:function(t){return t("router-view")}},children:[{path:"customers",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Customers",component:r.a,alias:"/users"},{path:"page/:page",name:"PaginateCustomers",component:r.a},{path:"view/:id",name:"CustomerDetails",component:h.a}]},{path:"vendors",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Vendors",component:r.a},{path:"view/:id",name:"VendorDetails",component:h.a},{path:"page/:page",name:"PaginateVendors",component:r.a}]},{path:"employees",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Employees",component:o.a},{path:"view/:id",name:"EmployeeDetails",component:l.a},{path:"page/:page",name:"PaginateEmployees",component:o.a}]}]},{path:"/transactions",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Transactions",component:S.a},{path:"sales",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Sales",component:S.a},{path:":id",name:"SalesSingle",component:O.a},{path:"page/:page",name:"PaginateSales",component:S.a}]},{path:"expenses",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Expenses",component:Y.a},{path:"page/:page",name:"PaginateExpenses",component:Y.a}]},{path:"purchases",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Purchases",component:B.a},{path:"page/:page",name:"PaginatePurchases",component:B.a}]},{path:"journals",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Journals",component:D.a},{path:"new",name:"JournalCreate",component:I.a},{path:":id",name:"JournalSingle",component:j.a},{path:"page/:page",name:"PaginateJournals",component:D.a}]}]},{path:"/charts",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"ChartOfAccounts",component:f.a},{path:"new",name:"AddChartAccounts",component:m.a},{path:":id/edit",name:"ChartAccountsEdit",component:m.a}]},{path:"/banks",name:"BankAccounts",component:Z.a},{path:"/invoices",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"InvoiceCreate",component:g.a},{path:":id/edit",name:"InvoiceEdit",component:g.a}]},{path:"/estimates",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"EstimateCreate",component:g.a},{path:":id/edit",name:"EstimateEdit",component:g.a}]},{path:"/payments",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"RecPaymentCreate",component:v.a},{path:":id/edit",name:"RecPaymentEdit",component:v.a}]},{path:"/bills",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"BillCreate",component:M.a},{path:":id",name:"BillSingle",component:y.a},{path:":id/edit",name:"BillEdit",component:M.a}]},{path:"/pay-bills",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"PayBillCreate",component:b.a},{path:":id",name:"PayBillSingle",component:w.a}]},{path:"/purchases",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"PurchaseCreate",component:x.a},{path:":id",name:"PurchaseSingle",component:C.a},{path:":id/edit",name:"PurchaseEdit",component:x.a}]},{path:"/purchase-orders",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"PurchaseOrderCreate",component:x.a},{path:":id",name:"PurchaseOrderSingle",component:C.a},{path:":id/edit",name:"PurchaseOrderEdit",component:x.a}]},{path:"/pay-purchases",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"PayPurchaseCreate",component:N.a},{path:":id",name:"PayPurchaseSingle",component:T.a}]},{path:"/reports",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"ReportsOverview",component:_.a},{path:"trial-balance",name:"TrialBalance",component:d.a},{path:"ledgers",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"LedgerReport",component:u.a},{path:":id",name:"LedgerSingle",component:u.a}]},{path:"sales-tax",name:"SalesTax",component:p.a},{path:"income-statement",name:"IncomeStatement",component:et.a},{path:"balance-sheet",name:"BalanceSheet",component:at.a}]},{path:"/taxes",component:{render:function(t){return t("router-view")}},children:[{path:"tax-records",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"TaxRecords",component:J.a},{path:"page/:page",name:"PaginateTaxRecords",component:J.a},{path:":id",name:"PayTaxSingle",component:q.a}]},{path:"tax-rates",name:"TaxRates",component:V.a,alias:"/taxes"},{path:"new",name:"NewTaxRate",component:U.a},{path:"rate-names",name:"TaxZones",component:G.a},{path:"agencies",name:"TaxAgencies",component:W.a},{path:"categories",name:"TaxCategories",component:H.a},{path:"new-rate-name",name:"NewTaxZone",component:R.a},{path:"new-agency",name:"NewTaxAgency",component:F.a},{path:"new-tax-cat",name:"NewTaxCategory",component:P.a},{path:":id",name:"SingleTaxRate",component:tt.a},{path:":id/edit",name:"EditSingleTaxRate",component:tt.a},{path:"page/:page",name:"PaginateTaxRates",component:V.a},{path:"rate-names/page/:page",name:"PaginateTaxZones",component:G.a},{path:"categories/page/:page",name:"PaginateTaxCategories",component:H.a},{path:"agencies/page/:page",name:"PaginateTaxAgencies",component:W.a}]},{path:"/transfers",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"Transfers",component:k.a},{path:"new",name:"NewTransfer",component:L.a},{path:":id",name:"SingleTransfer",component:z.a}]},{path:"/expenses",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"ExpenseCreate",component:E.a},{path:":id",name:"ExpenseSingle",component:Q.a},{path:":id/edit",name:"ExpenseEdit",component:E.a}]},{path:"/checks",component:{render:function(t){return t("router-view")}},children:[{path:"new",name:"CheckCreate",component:K.a},{path:":id",name:"CheckSingle",component:X.a},{path:":id/edit",name:"CheckEdit",component:K.a}]},{path:"/pay-tax",name:"RecordPayTax",component:$.a},{path:"/trn-loader",component:{render:function(t){return t("router-view")}},children:[{path:":id",name:"DynamicTrnLoader",component:it.a}]},{path:"/opening-balance",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"OpeningBalance",component:nt.a}]},{path:"/erp-ac-help",component:{render:function(t){return t("router-view")}},children:[{path:"",name:"HelpContent",component:rt.a}]}])})},function(t,e,a){"use strict";var i=a(99),n=a(253),r=!1;var s=function(t){r||a(232)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/people/People.vue",e.a=o.exports},function(t,e){},,,,,,,,,,,,,,,,,function(t,e,a){"use strict";var i=a(109),n=a(251),r=!1;var s=function(t){r||a(250)},o=a(0)(i.a,n.a,!1,s,"data-v-64fb541e",null);o.options.__file="modules/accounting/assets/src/admin/components/people/PeopleSearch.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"people-search"},[a("h4",[t._v(t._s(t.__("Search","erp")))]),t._v(" "),a("form",{on:{submit:function(e){return e.preventDefault(),t.searchPeople(e)}}},[a("div",{staticClass:"input-with-addon"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"wperp-form-field",attrs:{type:"search"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" "),t.search?a("span",{on:{click:t.clearSearch}},[t._v("✖")]):t._e()]),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit"}},[t._v(t._s(t.__("Search","erp")))])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},,function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-customers"},[a("div",{staticClass:"people-header"},[a("h2",{staticClass:"add-new-people"},[a("span",[t._v(t._s(t.pageTitle))]),t._v(" "),a("a",{attrs:{href:"",id:"erp-customer-new"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Add New","erp"))+" "+t._s(t.buttonTitle))])]),t._v(" "),a("people-search",{model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})],1),t._v(" "),t.showModal?a("people-modal",{attrs:{people:t.people,title:t.buttonTitle},on:{"update:people":function(e){t.people=e},close:function(e){t.showModal=!1}}}):t._e(),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table people-table table-striped table-dark ","action-column":"actions",columns:t.columns,rows:t.row_data,"bulk-actions":t.bulkActions,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:t.actions},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction},scopedSlots:t._u([{key:"title",fn:function(e){return[a("strong",[a("a",{attrs:{href:"#"}},[t._v(t._s(e.row.title))])])]}},{key:"customer",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:t.singleUrl,params:{id:e.row.id,route:t.url}}}},[t._v("\n "+t._s(e.row.customer)+"\n ")])],1)]}}])})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(113),n=a(259),r=!1;var s=function(t){r||a(255)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/products/Products.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(114),n=a(258),r=!1;var s=function(t){r||a(257)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/products/ProductModal.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"wperp-product-modal"}},[a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"wperp-modal wperp-modal-open has-form",attrs:{role:"dialog"}},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[t.product?a("h3",[t._v(t._s(t.__("Update","erp"))+" "+t._s(t.title))]):a("h3",[t._v(t._s(t.__("Add","erp"))+" "+t._s(t.title))]),t._v(" "),a("span",{staticClass:"modal-close"},[a("i",{staticClass:"flaticon-close",on:{click:function(e){return e.preventDefault(),t.$parent.$emit("close")}}})])]),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[t.error_msg.length?a("ul",{staticClass:"errors"},t._l(t.error_msg,function(e,i){return a("li",{key:i},[t._v("* "+t._s(e))])}),0):t._e(),t._v(" "),a("form",{staticClass:"add-product-form wperp-form-horizontal",attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.saveProduct(e)}}},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Product Name","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.ProductFields.name,expression:"ProductFields.name"}],staticClass:"wperp-form-field",attrs:{type:"text",placeholder:t.__("Enter Product Name Here","erp"),required:""},domProps:{value:t.ProductFields.name},on:{input:function(e){e.target.composing||t.$set(t.ProductFields,"name",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-panel wperp-panel-default panel-product-details"},[a("div",{staticClass:"wperp-panel-heading"},[a("span",{staticClass:"panel-badge panel-badge-primary"}),t._v(" "),a("span",[t._v(t._s(t.__("Product/Service Details","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Product Type","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.productType,disabled:t.isDisabled,multiple:!1},model:{value:t.ProductFields.type,callback:function(e){t.$set(t.ProductFields,"type",e)},expression:"ProductFields.type"}})],1)])]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Category","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.categories,multiple:!1},model:{value:t.ProductFields.categories,callback:function(e){t.$set(t.ProductFields,"categories",e)},expression:"ProductFields.categories"}})],1)])])])]),t._v(" "),a("div",{staticClass:"wperp-panel wperp-panel-default panel-product-info"},[a("div",{staticClass:"wperp-panel-heading"},[a("span",{staticClass:"panel-badge panel-badge-info"}),t._v(" "),a("span",[t._v(t._s(t.__("Product Information","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",{attrs:{for:"cost-price"}},[t._v(t._s(t.__("Cost Price","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.ProductFields.costPrice,expression:"ProductFields.costPrice"}],staticClass:"dk-form-field",attrs:{type:"text",name:"cost-price",id:"cost-price",value:"0"},domProps:{value:t.ProductFields.costPrice},on:{input:function(e){e.target.composing||t.$set(t.ProductFields,"costPrice",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",{attrs:{for:"sale-price"}},[t._v(t._s(t.__("Sale Price","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.ProductFields.salePrice,expression:"ProductFields.salePrice"}],staticClass:"dk-form-field",attrs:{type:"text",name:"sale-price",id:"sale-price",value:"0",required:""},domProps:{value:t.ProductFields.salePrice},on:{input:function(e){e.target.composing||t.$set(t.ProductFields,"salePrice",e.target.value)}}})])])])]),t._v(" "),a("div",{staticClass:"wperp-panel wperp-panel-default panel-miscellaneous"},[a("div",{staticClass:"wperp-panel-heading"},[a("span",{staticClass:"panel-badge panel-badge-secondary"}),t._v(" "),a("span",[t._v(t._s(t.__("Miscellaneous","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12 product-owner"},[a("label",[t._v("\n "+t._s(t.__("Owner","erp"))+"\n "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.selfOwner,expression:"selfOwner"}],staticClass:"wperp-required-sign"},[t._v("*")])])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.selfOwner,expression:"selfOwner"}],attrs:{type:"checkbox",value:"self",required:t.selfOwner},domProps:{checked:Array.isArray(t.selfOwner)?t._i(t.selfOwner,"self")>-1:t.selfOwner},on:{change:function(e){var a=t.selfOwner,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,"self");i.checked?r<0&&(t.selfOwner=a.concat(["self"])):r>-1&&(t.selfOwner=a.slice(0,r).concat(a.slice(r+1)))}else t.selfOwner=n}}}),t._v(" "+t._s(t.__("self","erp"))+"\n ")]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.selfOwner,expression:"!selfOwner"}],staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v("\n "+t._s(t.__("Vendor","erp"))+"\n "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.selfOwner,expression:"!selfOwner"}],staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.vendors,multiple:!1},model:{value:t.ProductFields.vendor,callback:function(e){t.$set(t.ProductFields,"vendor",e)},expression:"ProductFields.vendor"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Tax Category","erp"))+" "),a("span",{staticClass:"erp-help-tip .erp-tips",attrs:{title:t.__("Selecting tax category is important if you want to have tax on that product while selling.","erp")}})])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-9 wperp-col-xs-12"},[a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.tax_cats,multiple:!1},model:{value:t.ProductFields.tax_cat_id,callback:function(e){t.$set(t.ProductFields,"tax_cat_id",e)},expression:"ProductFields.tax_cat_id"}})],1)])])])]),t._v(" "),a("div",{staticClass:"buttons-wrapper text-right"},[a("button",{staticClass:"wperp-btn btn--default",on:{click:function(e){return e.preventDefault(),t.$parent.$emit("close")}}},[t._v("\n "+t._s(t.__("Cancel","erp"))+"\n ")]),t._v(" "),t.product?a("button",{staticClass:"wperp-btn btn--primary"},[t._v(t._s(t.__("Update","erp")))]):a("button",{staticClass:"wperp-btn btn--primary"},[t._v(t._s(t.__("Save","erp")))])])])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-products"},[t.showModal?a("product-modal",{attrs:{product:t.product},on:{"update:product":function(e){t.product=e}}}):t._e(),t._v(" "),a("h2",{staticClass:"add-new-product"},[a("span",[t._v("Products")]),t._v(" "),a("a",{attrs:{href:"",id:"erp-product-new"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Add New Product","erp")))])]),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat table2 product-list","action-column":"actions",columns:t.columns,rows:t.products,"bulk-actions":t.bulkActions,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:[{key:"edit",label:"Edit"},{key:"trash",label:"Delete"}]},on:{"action:click":t.onActionClick,"bulk:click":t.onBulkAction,pagination:t.goToPage}})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(115),n=a(262),r=!1;var s=function(t){r||a(261)},o=a(0)(i.a,n.a,!1,s,"data-v-79d8951b",null);o.options.__file="modules/accounting/assets/src/admin/components/people/Employees.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-employees"},[a("h2",{staticClass:"add-new-people"},[a("span",[t._v(t._s(t.__("Employees","erp")))]),t._v(" "),a("span",{staticClass:"erp-help-tip .erp-tips",attrs:{title:t.__("The Employee list is coming from HR. You can not create an employee here. To create a new employee, go to HR > Employees.","erp")}})]),t._v(" "),a("list-table",{attrs:{"action-column":"actions",columns:t.columns,rows:t.row_data,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,showCb:!1},on:{pagination:t.goToPage},scopedSlots:t._u([{key:"title",fn:function(e){return[a("strong",[a("a",{attrs:{href:"#"}},[t._v(t._s(e.row.title))])])]}},{key:"employee",fn:function(e){return[a("router-link",{attrs:{to:{name:"EmployeeDetails",params:{id:e.row.people_id}}}},[t._v(t._s(e.row.employee))])]}}])})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(116),n=a(267),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/people/EmployeeDetails.vue",e.a=r.exports},function(t,e){},,function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"content-header-section separator wperp-has-border-top"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Transactions","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-col"},[a("form",{staticClass:"wperp-form form--inline"},[a("div",{class:["wperp-has-dropdown",{"dropdown-opened":t.showFilters}]},[a("a",{staticClass:"wperp-btn btn--default dropdown-trigger filter-button",on:{click:function(e){return e.preventDefault(),t.toggleFilter(e)}}},[a("span",[a("i",{staticClass:"flaticon-search-segment"}),t._v(t._s(t.__("Filters","erp")))]),t._v(" "),a("i",{staticClass:"flaticon-arrow-down-sign-to-navigate"})]),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right wperp-filter-container"},[a("div",{staticClass:"wperp-panel wperp-panel-default wperp-filter-panel"},[a("h3",[t._v(t._s(t.__("Filter","erp")))]),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("h3",[t._v(t._s(t.__("Date","erp")))]),t._v(" "),a("div",{staticClass:"form-fields"},[a("div",{staticClass:"start-date has-addons"},[a("datepicker",{model:{value:t.filters.start_date,callback:function(e){t.$set(t.filters,"start_date",e)},expression:"filters.start_date"}}),t._v(" "),a("span",{staticClass:"flaticon-calendar"})],1),t._v(" "),a("span",{staticClass:"label-to"},[t._v(t._s(t.__("To","erp")))]),t._v(" "),a("div",{staticClass:"end-date has-addons"},[a("datepicker",{model:{value:t.filters.end_date,callback:function(e){t.$set(t.filters,"end_date",e)},expression:"filters.end_date"}}),t._v(" "),a("span",{staticClass:"flaticon-calendar"})],1)])]),t._v(" "),a("div",{staticClass:"wperp-panel-footer"},[a("input",{staticClass:"wperp-btn btn--default",attrs:{type:"reset",value:"Cancel"},on:{click:t.toggleFilter}}),t._v(" "),a("input",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit",value:"Submit"},on:{click:function(e){return e.preventDefault(),t.filterList(e)}}})])])])]),t._v(" "),t._m(0)])])])]),t._v(" "),a("div",{staticClass:"wperp-transactions-section wperp-section"},[a("div",{staticClass:"table-container"},[a("list-table",{attrs:{tableClass:"wperp-table people-trns-table table-striped table-dark widefat","action-column":"actions",columns:t.columns,rows:t.rows,actions:t.actions,showCb:!1},on:{"action:click":t.onActionClick},scopedSlots:t._u([{key:"voucher_no",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:"DynamicTrnLoader",params:{id:e.row.voucher_no}}}},[e.row.voucher_no?a("span",[t._v("#"+t._s(e.row.voucher_no))]):t._e()])],1)]}},{key:"debit",fn:function(e){return[t._v("\n "+t._s(t.moneyFormat(e.row.debit))+"\n ")]}},{key:"credit",fn:function(e){return[t._v("\n "+t._s(t.moneyFormat(e.row.credit))+"\n ")]}}])})],1)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"wperp-import-wrapper display-inline-block"},[e("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#",title:"Import"}},[e("span",{staticClass:"flaticon-import"})])])}]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"wperp-panel wperp-panel-default mt-20"},[a("div",{staticClass:"wperp-panel-body wperp-customer-panel"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-lg-3 wperp-col-md-4 wperp-col-sm-4 wperp-col-xs-12"},[a("div",{staticClass:"customer-identity"},[a("img",{staticStyle:{"border-radius":"100%"},attrs:{src:t.user.avatar_url,alt:t.user.name}}),t._v(" "),a("div",{},[a("h3",[t._v(t._s(t.user.first_name)+" "+t._s(t.user.last_name))]),t._v(" "),a("span",[t._v(t._s(t.user.user_email))])])])]),t._v(" "),a("div",{staticClass:"wperp-col-lg-9 wperp-col-md-8 wperp-col-sm-8 wperp-col-xs-12"},[a("ul",{staticClass:"customer-meta"},[a("li",[a("strong",[t._v(t._s(t.__("Phone","erp"))+":")]),t._v(" "),a("span",[t._v(t._s(t.user.phone))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Mobile","erp"))+":")]),t._v(" "),a("span",[t._v(t._s(t.user.mobile))])]),t._v(" "),a("li",[a("strong",{staticStyle:{"margin-right":"10px"}},[t._v(t._s(t.__("Department","erp"))+":")]),t._v(" "),t.user.department?a("span",[t._v(t._s(t.user.department))]):t._e()]),t._v(" "),a("li",[a("strong",{staticStyle:{"margin-right":"10px"}},[t._v(t._s(t.__("Designation","erp"))+":")]),t._v(" "),t.user.designation?a("span",[t._v(t._s(t.user.designation))]):t._e()]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Address","erp"))+":")]),t._v(" "),a("span",[t._v(t._s(t.user.address)+" ")])])])])])])]),t._v(" "),a("div",{staticClass:"wperp-stats wperp-section"},[a("div",{staticClass:"wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[t.paymentData.length?a("pie-chart",{attrs:{id:"payment",title:t.paymentChart.title,labels:t.paymentChart.labels,colors:t.paymentChart.colors,data:t.paymentData}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[t.statusData.length?a("pie-chart",{attrs:{id:"status",title:t.statusChart.title,labels:t.statusLabel,colors:t.statusChart.colors,data:t.statusData}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-chart-block"},[a("h3",[t._v(t._s(t.__("Outstanding","erp")))]),t._v(" "),a("div",{staticClass:"wperp-total"},[a("h2",[t._v(t._s(t.moneyFormat(t.outstanding)))])])])])])])])]),t._v(" "),a("people-transaction",{attrs:{rows:t.transactions}})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(121),n=a(276),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/dashboard/DashBoard.vue",e.a=r.exports},function(t,e,a){"use strict";var i=a(122),n=a(271),r=!1;var s=function(t){r||a(270)},o=a(0)(i.a,n.a,!1,s,"data-v-5d0ba4d7",null);o.options.__file="modules/accounting/assets/src/admin/components/dashboard/Accounts.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:["bank-accounts-section","wperp-panel","wperp-panel-default",t.isEditSettingsEnabled?"open-edit":""]},[a("div",{staticClass:"wperp-panel-heading wperp-bg-white"},[a("h4",[t._v(t._s(t.__("Accounts","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-panel-body pb-0"},[t.accounts.length?a("ul",{staticClass:"wperp-list-unstyled list-table-content list-table-content--border"},t._l(t.accounts,function(e,i){return a("li",{key:i},[a("div",{staticClass:"left"},[a("i",{staticClass:"flaticon-menu-1"}),t._v(" "),e.additional?a("details",{attrs:{open:""}},[a("summary",[t._v(t._s(e.name))]),t._v(" "),t._l(e.additional,function(e){return a("p",{key:e.id},[t._v("\n "+t._s(e.name)+"\n "+t._s(t.moneyFormat(Math.abs(e.balance)))+"\n ")])})],2):a("span",[t._v(t._s(e.name))])]),t._v(" "),a("div",{staticClass:"right"},[void 0===e.balance?a("span",{staticClass:"price"},[t._v(t._s(t.formatDBAmount(0)))]):a("span",{staticClass:"price"},[t._v(t._s(t.formatDBAmount(e.balance)))])])])}),0):t._e()]),t._v(" "),a("div",{staticClass:"wperp-panel-footer mt-50"},[a("div",{staticClass:"bank-accounts-total"},[a("span",{staticClass:"title"},[t._v(t._s(t.__("Total Balance","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.totalAmount))])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(123),n=a(275),r=!1;var s=function(t){r||a(273)},o=a(0)(i.a,n.a,!1,s,"data-v-6f44f8bd",null);o.options.__file="modules/accounting/assets/src/admin/components/dashboard/Chart.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";(function(t,e){var i,n=a(9),s=a.n(n);!function(i){"object"===("undefined"==typeof exports?"undefined":s()(exports))&&void 0!==t?t.exports=i():"function"==typeof define&&a(67)?define([],i):("undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this).Chart=i()}(function(){return function t(e,a,n){function r(o,l){if(!a[o]){if(!e[o]){if(!l&&("function"==typeof i&&i))return i(o,!0);if(s)return s(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var d=a[o]={exports:{}};e[o][0].call(d.exports,function(t){return r(e[o][1][t]||t)},d,d.exports,t,e,a,n)}return a[o].exports}for(var s="function"==typeof i&&i,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,a){},{}],2:[function(t,e,a){var i=t(6);function n(t){if(t){var e=[0,0,0],a=1,n=t.match(/^#([a-fA-F0-9]{3})$/i);if(n){n=n[1];for(var r=0;r<e.length;r++)e[r]=parseInt(n[r]+n[r],16)}else if(n=t.match(/^#([a-fA-F0-9]{6})$/i))for(n=n[1],r=0;r<e.length;r++)e[r]=parseInt(n.slice(2*r,2*r+2),16);else if(n=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(n[r+1]);a=parseFloat(n[4])}else if(n=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(n[r+1]));a=parseFloat(n[4])}else if(n=t.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(e=i[n[1]]))return}for(r=0;r<e.length;r++)e[r]=d(e[r],0,255);return a=a||0==a?d(a,0,1):1,e[3]=a,e}}function r(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var a=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(a)?1:a,0,1)]}}}function s(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var a=parseFloat(e[4]);return[d(parseInt(e[1]),0,360),d(parseFloat(e[2]),0,100),d(parseFloat(e[3]),0,100),d(isNaN(a)?1:a,0,1)]}}}function o(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function c(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function d(t,e,a){return Math.min(Math.max(e,t),a)}function u(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}e.exports={getRgba:n,getHsla:r,getRgb:function(t){var e=n(t);return e&&e.slice(0,3)},getHsl:function(t){var e=r(t);return e&&e.slice(0,3)},getHwb:s,getAlpha:function(t){var e=n(t);return e?e[3]:(e=r(t))?e[3]:(e=s(t))?e[3]:void 0},hexString:function(t){return"#"+u(t[0])+u(t[1])+u(t[2])},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?o(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:o,percentString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:l,hslString:function(t,e){return e<1||t[3]&&t[3]<1?c(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:c,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return p[t.slice(0,3)]}};var p={};for(var h in i)p[i[h]]=h},{6:6}],3:[function(t,e,a){var i=t(5),n=t(2),r=function t(e){return e instanceof t?e:this instanceof t?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(a=n.getRgba(e))?this.setValues("rgb",a):(a=n.getHsla(e))?this.setValues("hsl",a):(a=n.getHwb(e))&&this.setValues("hwb",a):"object"===s()(e)&&(void 0!==(a=e).r||void 0!==a.red?this.setValues("rgb",a):void 0!==a.l||void 0!==a.lightness?this.setValues("hsl",a):void 0!==a.v||void 0!==a.value?this.setValues("hsv",a):void 0!==a.w||void 0!==a.whiteness?this.setValues("hwb",a):void 0===a.c&&void 0===a.cyan||this.setValues("cmyk",a)))):new t(e);var a};(r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],a=0;a<t.length;a++){var i=t[a]/255;e[a]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),a=t.luminosity();return a<e?(e+.05)/(a+.05):(a+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,a=(e[0]+t)%360;return e[0]=a<0?360+a:a,this.setValues("hsl",e),this},mix:function(t,e){var a=this,i=t,n=void 0===e?.5:e,r=2*n-1,s=a.alpha()-i.alpha(),o=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,l=1-o;return this.rgb(o*a.red()+l*i.red(),o*a.green()+l*i.green(),o*a.blue()+l*i.blue()).alpha(a.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,a=new r,i=this.values,n=a.values;for(var s in i)i.hasOwnProperty(s)&&(t=i[s],"[object Array]"===(e={}.toString.call(t))?n[s]=t.slice(0):"[object Number]"===e?n[s]=t:console.error("unexpected color value:",t));return a}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,a={},i=0;i<t.length;i++)a[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(a.a=e.alpha),a},r.prototype.setValues=function(t,e){var a,n,r=this.values,s=this.spaces,o=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)r[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(a=0;a<t.length;a++)r[t][a]=e[t.charAt(a)];l=e.a}else if(void 0!==e[s[t][0]]){var c=s[t];for(a=0;a<t.length;a++)r[t][a]=e[c[a]];l=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===t)return!1;for(a=0;a<t.length;a++)n=Math.max(0,Math.min(o[t][a],r[t][a])),r[t][a]=Math.round(n);for(var d in s)d!==t&&(r[d]=i[t][d](r[t]));return!0},r.prototype.setSpace=function(t,e){var a=e[0];return void 0===a?this.getValues(t):("number"==typeof a&&(a=Array.prototype.slice.call(e)),this.setValues(t,a),this)},r.prototype.setChannel=function(t,e,a){var i=this.values[t];return void 0===a?i[e]:(a===i[e]||(i[e]=a,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{2:2,5:5}],4:[function(t,e,a){function i(t){var e,a,i=t[0]/255,n=t[1]/255,r=t[2]/255,s=Math.min(i,n,r),o=Math.max(i,n,r),l=o-s;return o==s?e=0:i==o?e=(n-r)/l:n==o?e=2+(r-i)/l:r==o&&(e=4+(i-n)/l),(e=Math.min(60*e,360))<0&&(e+=360),a=(s+o)/2,[e,100*(o==s?0:a<=.5?l/(o+s):l/(2-o-s)),100*a]}function n(t){var e,a,i=t[0],n=t[1],r=t[2],s=Math.min(i,n,r),o=Math.max(i,n,r),l=o-s;return a=0==o?0:l/o*1e3/10,o==s?e=0:i==o?e=(n-r)/l:n==o?e=2+(r-i)/l:r==o&&(e=4+(i-n)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,a,o/255*1e3/10]}function s(t){var e=t[0],a=t[1],n=t[2];return[i(t)[0],1/255*Math.min(e,Math.min(a,n))*100,100*(n=1-1/255*Math.max(e,Math.max(a,n)))]}function o(t){var e,a=t[0]/255,i=t[1]/255,n=t[2]/255;return[100*((1-a-(e=Math.min(1-a,1-i,1-n)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-n-e)/(1-e)||0),100*e]}function l(t){return C[JSON.stringify(t)]}function c(t){var e=t[0]/255,a=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(a=a>.04045?Math.pow((a+.055)/1.055,2.4):a/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*a+.0722*i),100*(.0193*e+.1192*a+.9505*i)]}function d(t){var e=c(t),a=e[0],i=e[1],n=e[2];return i/=100,n/=108.883,a=(a/=95.047)>.008856?Math.pow(a,1/3):7.787*a+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(a-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]}function u(t){var e,a,i,n,r,s=t[0]/360,o=t[1]/100,l=t[2]/100;if(0==o)return[r=255*l,r,r];e=2*l-(a=l<.5?l*(1+o):l+o-l*o),n=[0,0,0];for(var c=0;c<3;c++)(i=s+1/3*-(c-1))<0&&i++,i>1&&i--,r=6*i<1?e+6*(a-e)*i:2*i<1?a:3*i<2?e+(a-e)*(2/3-i)*6:e,n[c]=255*r;return n}function p(t){var e=t[0]/60,a=t[1]/100,i=t[2]/100,n=Math.floor(e)%6,r=e-Math.floor(e),s=255*i*(1-a),o=255*i*(1-a*r),l=255*i*(1-a*(1-r));switch(i*=255,n){case 0:return[i,l,s];case 1:return[o,i,s];case 2:return[s,i,l];case 3:return[s,o,i];case 4:return[l,s,i];case 5:return[i,s,o]}}function h(t){var e,a,i,n,s=t[0]/360,o=t[1]/100,l=t[2]/100,c=o+l;switch(c>1&&(o/=c,l/=c),i=6*s-(e=Math.floor(6*s)),0!=(1&e)&&(i=1-i),n=o+i*((a=1-l)-o),e){default:case 6:case 0:r=a,g=n,b=o;break;case 1:r=n,g=a,b=o;break;case 2:r=o,g=a,b=n;break;case 3:r=o,g=n,b=a;break;case 4:r=n,g=o,b=a;break;case 5:r=a,g=o,b=n}return[255*r,255*g,255*b]}function f(t){var e=t[0]/100,a=t[1]/100,i=t[2]/100,n=t[3]/100;return[255*(1-Math.min(1,e*(1-n)+n)),255*(1-Math.min(1,a*(1-n)+n)),255*(1-Math.min(1,i*(1-n)+n))]}function m(t){var e,a,i,n=t[0]/100,r=t[1]/100,s=t[2]/100;return a=-.9689*n+1.8758*r+.0415*s,i=.0557*n+-.204*r+1.057*s,e=(e=3.2406*n+-1.5372*r+-.4986*s)>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(a=Math.min(Math.max(0,a),1)),255*(i=Math.min(Math.max(0,i),1))]}function _(t){var e=t[0],a=t[1],i=t[2];return a/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116)-16,500*(e-a),200*(a-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function A(t){var e,a,i,n,r=t[0],s=t[1],o=t[2];return n=r<=8?(a=100*r/903.3)/100*7.787+16/116:(a=100*Math.pow((r+16)/116,3),Math.pow(a/100,1/3)),[e=e/95.047<=.008856?e=95.047*(s/500+n-16/116)/7.787:95.047*Math.pow(s/500+n,3),a,i=i/108.883<=.008859?i=108.883*(n-o/200-16/116)/7.787:108.883*Math.pow(n-o/200,3)]}function v(t){var e,a=t[0],i=t[1],n=t[2];return(e=360*Math.atan2(n,i)/2/Math.PI)<0&&(e+=360),[a,Math.sqrt(i*i+n*n),e]}function M(t){return m(A(t))}function y(t){var e,a=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[a,i*Math.cos(e),i*Math.sin(e)]}function w(t){return x[t]}e.exports={rgb2hsl:i,rgb2hsv:n,rgb2hwb:s,rgb2cmyk:o,rgb2keyword:l,rgb2xyz:c,rgb2lab:d,rgb2lch:function(t){return v(d(t))},hsl2rgb:u,hsl2hsv:function(t){var e=t[0],a=t[1]/100,i=t[2]/100;return 0!==i?[e,2*(a*=(i*=2)<=1?i:2-i)/(i+a)*100,(i+a)/2*100]:[0,0,0]},hsl2hwb:function(t){return s(u(t))},hsl2cmyk:function(t){return o(u(t))},hsl2keyword:function(t){return l(u(t))},hsv2rgb:p,hsv2hsl:function(t){var e,a,i=t[0],n=t[1]/100,r=t[2]/100;return e=n*r,[i,100*(e=(e/=(a=(2-n)*r)<=1?a:2-a)||0),100*(a/=2)]},hsv2hwb:function(t){return s(p(t))},hsv2cmyk:function(t){return o(p(t))},hsv2keyword:function(t){return l(p(t))},hwb2rgb:h,hwb2hsl:function(t){return i(h(t))},hwb2hsv:function(t){return n(h(t))},hwb2cmyk:function(t){return o(h(t))},hwb2keyword:function(t){return l(h(t))},cmyk2rgb:f,cmyk2hsl:function(t){return i(f(t))},cmyk2hsv:function(t){return n(f(t))},cmyk2hwb:function(t){return s(f(t))},cmyk2keyword:function(t){return l(f(t))},keyword2rgb:w,keyword2hsl:function(t){return i(w(t))},keyword2hsv:function(t){return n(w(t))},keyword2hwb:function(t){return s(w(t))},keyword2cmyk:function(t){return o(w(t))},keyword2lab:function(t){return d(w(t))},keyword2xyz:function(t){return c(w(t))},xyz2rgb:m,xyz2lab:_,xyz2lch:function(t){return v(_(t))},lab2xyz:A,lab2rgb:M,lab2lch:v,lch2lab:y,lch2xyz:function(t){return A(y(t))},lch2rgb:function(t){return M(y(t))}};var x={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},C={};for(var N in x)C[JSON.stringify(x[N])]=N},{}],5:[function(t,e,a){var i=t(4),n=function(){return new c};for(var r in i){n[r+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(r);var s=/(\w+)2(\w+)/.exec(r),o=s[1],l=s[2];(n[o]=n[o]||{})[l]=n[r]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var a=i[t](e);if("string"==typeof a||void 0===a)return a;for(var n=0;n<a.length;n++)a[n]=Math.round(a[n]);return a}}(r)}var c=function(){this.convs={}};c.prototype.routeSpace=function(t,e){var a=e[0];return void 0===a?this.getValues(t):("number"==typeof a&&(a=Array.prototype.slice.call(e)),this.setValues(t,a))},c.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},c.prototype.getValues=function(t){var e=this.convs[t];if(!e){var a=this.space,i=this.convs[a];e=n[a][t](i),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){c.prototype[t]=function(e){return this.routeSpace(t,arguments)}}),e.exports=n},{4:4}],6:[function(t,e,a){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],7:[function(t,e,a){var i=t(30)();i.helpers=t(46),t(28)(i),i.Animation=t(22),i.animationService=t(23),i.defaults=t(26),i.Element=t(27),i.elements=t(41),i.Interaction=t(29),i.layouts=t(31),i.platform=t(49),i.plugins=t(32),i.Scale=t(33),i.scaleService=t(34),i.Ticks=t(35),i.Tooltip=t(36),t(24)(i),t(25)(i),t(56)(i),t(54)(i),t(55)(i),t(57)(i),t(58)(i),t(59)(i),t(15)(i),t(16)(i),t(17)(i),t(18)(i),t(19)(i),t(20)(i),t(21)(i),t(8)(i),t(9)(i),t(10)(i),t(11)(i),t(12)(i),t(13)(i),t(14)(i);var n=t(50);for(var r in n)n.hasOwnProperty(r)&&i.plugins.register(n[r]);i.platform.initialize(),e.exports=i,"undefined"!=typeof window&&(window.Chart=i),i.Legend=n.legend._element,i.Title=n.title._element,i.pluginService=i.plugins,i.PluginBase=i.Element.extend({}),i.canvasHelpers=i.helpers.canvas,i.layoutService=i.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,36:36,41:41,46:46,49:49,50:50,54:54,55:55,56:56,57:57,58:58,59:59,8:8,9:9}],8:[function(t,e,a){e.exports=function(t){t.Bar=function(e,a){return a.type="bar",new t(e,a)}}},{}],9:[function(t,e,a){e.exports=function(t){t.Bubble=function(e,a){return a.type="bubble",new t(e,a)}}},{}],10:[function(t,e,a){e.exports=function(t){t.Doughnut=function(e,a){return a.type="doughnut",new t(e,a)}}},{}],11:[function(t,e,a){e.exports=function(t){t.Line=function(e,a){return a.type="line",new t(e,a)}}},{}],12:[function(t,e,a){e.exports=function(t){t.PolarArea=function(e,a){return a.type="polarArea",new t(e,a)}}},{}],13:[function(t,e,a){e.exports=function(t){t.Radar=function(e,a){return a.type="radar",new t(e,a)}}},{}],14:[function(t,e,a){e.exports=function(t){t.Scatter=function(e,a){return a.type="scatter",new t(e,a)}}},{}],15:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var a="";return t.length>0&&(t[0].yLabel?a=t[0].yLabel:e.labels.length>0&&t[0].index<e.labels.length&&(a=e.labels[t[0].index])),a},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(t){t.controllers.bar=t.DatasetController.extend({dataElementType:n.Rectangle,initialize:function(){var e;t.DatasetController.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0},update:function(t){var e,a,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,a=i.length;e<a;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,a){var i=this,n=i.chart,s=i.getMeta(),o=i.getDataset(),l=t.custom||{},c=n.options.elements.rectangle;t._xScale=i.getScaleForId(s.xAxisID),t._yScale=i.getScaleForId(s.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={datasetLabel:o.label,label:n.data.labels[e],borderSkipped:l.borderSkipped?l.borderSkipped:c.borderSkipped,backgroundColor:l.backgroundColor?l.backgroundColor:r.valueAtIndexOrDefault(o.backgroundColor,e,c.backgroundColor),borderColor:l.borderColor?l.borderColor:r.valueAtIndexOrDefault(o.borderColor,e,c.borderColor),borderWidth:l.borderWidth?l.borderWidth:r.valueAtIndexOrDefault(o.borderWidth,e,c.borderWidth)},i.updateElementGeometry(t,e,a),t.pivot()},updateElementGeometry:function(t,e,a){var i=this,n=t._model,r=i.getValueScale(),s=r.getBasePixel(),o=r.isHorizontal(),l=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,e),d=i.calculateBarIndexPixels(i.index,e,l);n.horizontal=o,n.base=a?s:c.base,n.x=o?a?s:c.head:d.center,n.y=o?d.center:a?s:c.head,n.height=o?d.size:void 0,n.width=o?void 0:d.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(t){var e,a,i=this.chart,n=this.getIndexScale().options.stacked,r=void 0===t?i.data.datasets.length:t+1,s=[];for(e=0;e<r;++e)(a=i.getDatasetMeta(e)).bar&&i.isDatasetVisible(e)&&(!1===n||!0===n&&-1===s.indexOf(a.stack)||void 0===n&&(void 0===a.stack||-1===s.indexOf(a.stack)))&&s.push(a.stack);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var a=this._getStacks(t),i=void 0!==e?a.indexOf(e):-1;return-1===i?a.length-1:i},getRuler:function(){var t,e,a=this.getIndexScale(),i=this.getStackCount(),n=this.index,s=a.isHorizontal(),o=s?a.left:a.top,l=o+(s?a.width:a.height),c=[];for(t=0,e=this.getMeta().data.length;t<e;++t)c.push(a.getPixelForValue(null,t,n));return{min:r.isNullOrUndef(a.options.barThickness)?function(t,e){var a,i,n,r,s=t.isHorizontal()?t.width:t.height,o=t.getTicks();for(n=1,r=e.length;n<r;++n)s=Math.min(s,e[n]-e[n-1]);for(n=0,r=o.length;n<r;++n)i=t.getPixelForTick(n),s=n>0?Math.min(s,i-a):s,a=i;return s}(a,c):-1,pixels:c,start:o,end:l,stackCount:i,scale:a}},calculateBarValuePixels:function(t,e){var a,i,n,r,s,o,l=this.chart,c=this.getMeta(),d=this.getValueScale(),u=l.data.datasets,p=d.getRightValue(u[t].data[e]),h=d.options.stacked,g=c.stack,f=0;if(h||void 0===h&&void 0!==g)for(a=0;a<t;++a)(i=l.getDatasetMeta(a)).bar&&i.stack===g&&i.controller.getValueScaleId()===d.id&&l.isDatasetVisible(a)&&(n=d.getRightValue(u[a].data[e]),(p<0&&n<0||p>=0&&n>0)&&(f+=n));return r=d.getPixelForValue(f),{size:o=((s=d.getPixelForValue(f+p))-r)/2,base:r,head:s,center:s+o/2}},calculateBarIndexPixels:function(t,e,a){var i,n,s,o,l,c,d,u,p,h,g,f,m,_,A,v,M,y=a.scale.options,b="flex"===y.barThickness?(p=e,g=y,_=(m=(h=a).pixels)[p],A=p>0?m[p-1]:null,v=p<m.length-1?m[p+1]:null,M=g.categoryPercentage,null===A&&(A=_-(null===v?h.end-_:v-_)),null===v&&(v=_+_-A),f=_-(_-A)/2*M,{chunk:(v-A)/2*M/h.stackCount,ratio:g.barPercentage,start:f}):(i=e,n=a,c=(s=y).barThickness,d=n.stackCount,u=n.pixels[i],l=r.isNullOrUndef(c)?(o=n.min*s.categoryPercentage,s.barPercentage):(o=c*d,1),{chunk:o/d,ratio:l,start:u-o/2}),w=this.getStackIndex(t,this.getMeta().stack),x=b.start+b.chunk*w+b.chunk/2,C=Math.min(r.valueOrDefault(y.maxBarThickness,1/0),b.chunk*b.ratio);return{base:x-C/2,head:x+C/2,center:x,size:C}},draw:function(){var t=this.chart,e=this.getValueScale(),a=this.getMeta().data,i=this.getDataset(),n=a.length,s=0;for(r.canvas.clipArea(t.ctx,t.chartArea);s<n;++s)isNaN(e.getRightValue(i.data[s]))||a[s].draw();r.canvas.unclipArea(t.ctx)}}),t.controllers.horizontalBar=t.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{26:26,41:41,46:46}],16:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var a=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return a+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:n.Point,update:function(t){var e=this,a=e.getMeta().data;r.each(a,function(a,i){e.updateElement(a,i,t)})},updateElement:function(t,e,a){var i=this,n=i.getMeta(),r=t.custom||{},o=i.getScaleForId(n.xAxisID),l=i.getScaleForId(n.yAxisID),c=i._resolveElementOptions(t,e),d=i.getDataset().data[e],u=i.index,p=a?o.getPixelForDecimal(.5):o.getPixelForValue("object"===s()(d)?d:NaN,e,u),h=a?l.getBasePixel():l.getPixelForValue(d,e,u);t._xScale=o,t._yScale=l,t._options=c,t._datasetIndex=u,t._index=e,t._model={backgroundColor:c.backgroundColor,borderColor:c.borderColor,borderWidth:c.borderWidth,hitRadius:c.hitRadius,pointStyle:c.pointStyle,rotation:c.rotation,radius:a?0:c.radius,skip:r.skip||isNaN(p)||isNaN(h),x:p,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,a=t._options;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=r.valueOrDefault(a.hoverBackgroundColor,r.getHoverColor(a.backgroundColor)),e.borderColor=r.valueOrDefault(a.hoverBorderColor,r.getHoverColor(a.borderColor)),e.borderWidth=r.valueOrDefault(a.hoverBorderWidth,a.borderWidth),e.radius=a.radius+a.hoverRadius},_resolveElementOptions:function(t,e){var a,i,n,s=this.chart,o=s.data.datasets[this.index],l=t.custom||{},c=s.options.elements.point,d=r.options.resolve,u=o.data[e],p={},h={chart:s,dataIndex:e,dataset:o,datasetIndex:this.index},g=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(a=0,i=g.length;a<i;++a)p[n=g[a]]=d([l[n],o[n],c[n]],h,e);return p.radius=d([l.radius,u?u.r:void 0,o.radius,c.radius],h,e),p}})}},{26:26,41:41,46:46}],17:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var a=t.data,i=a.datasets,n=a.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),n[r]&&e.push(n[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(a,i){var n=t.getDatasetMeta(0),s=e.datasets[0],o=n.data[i],l=o&&o.custom||{},c=r.valueAtIndexOrDefault,d=t.options.elements.arc;return{text:a,fillStyle:l.backgroundColor?l.backgroundColor:c(s.backgroundColor,i,d.backgroundColor),strokeStyle:l.borderColor?l.borderColor:c(s.borderColor,i,d.borderColor),lineWidth:l.borderWidth?l.borderWidth:c(s.borderWidth,i,d.borderWidth),hidden:isNaN(s.data[i])||n.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var a,i,n,r=e.index,s=this.chart;for(a=0,i=(s.data.datasets||[]).length;a<i;++a)(n=s.getDatasetMeta(a)).data[r]&&(n.data[r].hidden=!n.data[r].hidden);s.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var a=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return r.isArray(a)?(a=a.slice())[0]+=i:a+=i,a}}}}),i._set("pie",r.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(t){t.controllers.doughnut=t.controllers.pie=t.DatasetController.extend({dataElementType:n.Arc,linkScales:r.noop,getRingIndex:function(t){for(var e=0,a=0;a<t;++a)this.chart.isDatasetVisible(a)&&++e;return e},update:function(t){var e=this,a=e.chart,i=a.chartArea,n=a.options,s=n.elements.arc,o=i.right-i.left-s.borderWidth,l=i.bottom-i.top-s.borderWidth,c=Math.min(o,l),d={x:0,y:0},u=e.getMeta(),p=n.cutoutPercentage,h=n.circumference;if(h<2*Math.PI){var g=n.rotation%(2*Math.PI),f=(g+=2*Math.PI*(g>=Math.PI?-1:g<-Math.PI?1:0))+h,m=Math.cos(g),_=Math.sin(g),A=Math.cos(f),v=Math.sin(f),M=g<=0&&f>=0||g<=2*Math.PI&&2*Math.PI<=f,y=g<=.5*Math.PI&&.5*Math.PI<=f||g<=2.5*Math.PI&&2.5*Math.PI<=f,b=g<=-Math.PI&&-Math.PI<=f||g<=Math.PI&&Math.PI<=f,w=g<=.5*-Math.PI&&.5*-Math.PI<=f||g<=1.5*Math.PI&&1.5*Math.PI<=f,x=p/100,C=b?-1:Math.min(m*(m<0?1:x),A*(A<0?1:x)),N=w?-1:Math.min(_*(_<0?1:x),v*(v<0?1:x)),T=M?1:Math.max(m*(m>0?1:x),A*(A>0?1:x)),D=y?1:Math.max(_*(_>0?1:x),v*(v>0?1:x)),I=.5*(T-C),j=.5*(D-N);c=Math.min(o/I,l/j),d={x:-.5*(T+C),y:-.5*(D+N)}}a.borderWidth=e.getMaxBorderWidth(u.data),a.outerRadius=Math.max((c-a.borderWidth)/2,0),a.innerRadius=Math.max(p?a.outerRadius/100*p:0,0),a.radiusLength=(a.outerRadius-a.innerRadius)/a.getVisibleDatasetCount(),a.offsetX=d.x*a.outerRadius,a.offsetY=d.y*a.outerRadius,u.total=e.calculateTotal(),e.outerRadius=a.outerRadius-a.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-a.radiusLength,0),r.each(u.data,function(a,i){e.updateElement(a,i,t)})},updateElement:function(t,e,a){var i=this,n=i.chart,s=n.chartArea,o=n.options,l=o.animation,c=(s.left+s.right)/2,d=(s.top+s.bottom)/2,u=o.rotation,p=o.rotation,h=i.getDataset(),g=a&&l.animateRotate?0:t.hidden?0:i.calculateCircumference(h.data[e])*(o.circumference/(2*Math.PI)),f=a&&l.animateScale?0:i.innerRadius,m=a&&l.animateScale?0:i.outerRadius,_=r.valueAtIndexOrDefault;r.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:c+n.offsetX,y:d+n.offsetY,startAngle:u,endAngle:p,circumference:g,outerRadius:m,innerRadius:f,label:_(h.label,e,n.data.labels[e])}});var A=t._model,v=t.custom||{},M=r.valueAtIndexOrDefault,y=this.chart.options.elements.arc;A.backgroundColor=v.backgroundColor?v.backgroundColor:M(h.backgroundColor,e,y.backgroundColor),A.borderColor=v.borderColor?v.borderColor:M(h.borderColor,e,y.borderColor),A.borderWidth=v.borderWidth?v.borderWidth:M(h.borderWidth,e,y.borderWidth),a&&l.animateRotate||(A.startAngle=0===e?o.rotation:i.getMeta().data[e-1]._model.endAngle,A.endAngle=A.startAngle+A.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),a=this.getMeta(),i=0;return r.each(a.data,function(a,n){t=e.data[n],isNaN(t)||a.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,a,i=0,n=this.index,r=t.length,s=0;s<r;s++)i=(i=i<(e=t[s]._model?t[s]._model.borderWidth:0)?e:i)<(a=t[s]._chart?t[s]._chart.config.data.datasets[n].hoverBorderWidth:0)?a:i;return i}})}},{26:26,41:41,46:46}],18:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function e(t,e){return r.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:n.Line,dataElementType:n.Point,update:function(t){var a,i,n,s=this,o=s.getMeta(),l=o.dataset,c=o.data||[],d=s.chart.options,u=d.elements.line,p=s.getScaleForId(o.yAxisID),h=s.getDataset(),g=e(h,d);for(g&&(n=l.custom||{},void 0!==h.tension&&void 0===h.lineTension&&(h.lineTension=h.tension),l._scale=p,l._datasetIndex=s.index,l._children=c,l._model={spanGaps:h.spanGaps?h.spanGaps:d.spanGaps,tension:n.tension?n.tension:r.valueOrDefault(h.lineTension,u.tension),backgroundColor:n.backgroundColor?n.backgroundColor:h.backgroundColor||u.backgroundColor,borderWidth:n.borderWidth?n.borderWidth:h.borderWidth||u.borderWidth,borderColor:n.borderColor?n.borderColor:h.borderColor||u.borderColor,borderCapStyle:n.borderCapStyle?n.borderCapStyle:h.borderCapStyle||u.borderCapStyle,borderDash:n.borderDash?n.borderDash:h.borderDash||u.borderDash,borderDashOffset:n.borderDashOffset?n.borderDashOffset:h.borderDashOffset||u.borderDashOffset,borderJoinStyle:n.borderJoinStyle?n.borderJoinStyle:h.borderJoinStyle||u.borderJoinStyle,fill:n.fill?n.fill:void 0!==h.fill?h.fill:u.fill,steppedLine:n.steppedLine?n.steppedLine:r.valueOrDefault(h.steppedLine,u.stepped),cubicInterpolationMode:n.cubicInterpolationMode?n.cubicInterpolationMode:r.valueOrDefault(h.cubicInterpolationMode,u.cubicInterpolationMode)},l.pivot()),a=0,i=c.length;a<i;++a)s.updateElement(c[a],a,t);for(g&&0!==l._model.tension&&s.updateBezierControlPoints(),a=0,i=c.length;a<i;++a)c[a].pivot()},getPointBackgroundColor:function(t,e){var a=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),n=t.custom||{};return n.backgroundColor?a=n.backgroundColor:i.pointBackgroundColor?a=r.valueAtIndexOrDefault(i.pointBackgroundColor,e,a):i.backgroundColor&&(a=i.backgroundColor),a},getPointBorderColor:function(t,e){var a=this.chart.options.elements.point.borderColor,i=this.getDataset(),n=t.custom||{};return n.borderColor?a=n.borderColor:i.pointBorderColor?a=r.valueAtIndexOrDefault(i.pointBorderColor,e,a):i.borderColor&&(a=i.borderColor),a},getPointBorderWidth:function(t,e){var a=this.chart.options.elements.point.borderWidth,i=this.getDataset(),n=t.custom||{};return isNaN(n.borderWidth)?!isNaN(i.pointBorderWidth)||r.isArray(i.pointBorderWidth)?a=r.valueAtIndexOrDefault(i.pointBorderWidth,e,a):isNaN(i.borderWidth)||(a=i.borderWidth):a=n.borderWidth,a},getPointRotation:function(t,e){var a=this.chart.options.elements.point.rotation,i=this.getDataset(),n=t.custom||{};return isNaN(n.rotation)?isNaN(i.pointRotation)&&!r.isArray(i.pointRotation)||(a=r.valueAtIndexOrDefault(i.pointRotation,e,a)):a=n.rotation,a},updateElement:function(t,e,a){var i,n,o=this,l=o.getMeta(),c=t.custom||{},d=o.getDataset(),u=o.index,p=d.data[e],h=o.getScaleForId(l.yAxisID),g=o.getScaleForId(l.xAxisID),f=o.chart.options.elements.point;void 0!==d.radius&&void 0===d.pointRadius&&(d.pointRadius=d.radius),void 0!==d.hitRadius&&void 0===d.pointHitRadius&&(d.pointHitRadius=d.hitRadius),i=g.getPixelForValue("object"===s()(p)?p:NaN,e,u),n=a?h.getBasePixel():o.calculatePointY(p,e,u),t._xScale=g,t._yScale=h,t._datasetIndex=u,t._index=e,t._model={x:i,y:n,skip:c.skip||isNaN(i)||isNaN(n),radius:c.radius||r.valueAtIndexOrDefault(d.pointRadius,e,f.radius),pointStyle:c.pointStyle||r.valueAtIndexOrDefault(d.pointStyle,e,f.pointStyle),rotation:o.getPointRotation(t,e),backgroundColor:o.getPointBackgroundColor(t,e),borderColor:o.getPointBorderColor(t,e),borderWidth:o.getPointBorderWidth(t,e),tension:l.dataset._model?l.dataset._model.tension:0,steppedLine:!!l.dataset._model&&l.dataset._model.steppedLine,hitRadius:c.hitRadius||r.valueAtIndexOrDefault(d.pointHitRadius,e,f.hitRadius)}},calculatePointY:function(t,e,a){var i,n,r,s=this.chart,o=this.getMeta(),l=this.getScaleForId(o.yAxisID),c=0,d=0;if(l.options.stacked){for(i=0;i<a;i++)if(n=s.data.datasets[i],"line"===(r=s.getDatasetMeta(i)).type&&r.yAxisID===l.id&&s.isDatasetVisible(i)){var u=Number(l.getRightValue(n.data[e]));u<0?d+=u||0:c+=u||0}var p=Number(l.getRightValue(t));return p<0?l.getPixelForValue(d+p):l.getPixelForValue(c+p)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,a,i,n=this.getMeta(),s=this.chart.chartArea,o=n.data||[];function l(t,e,a){return Math.max(Math.min(t,a),e)}if(n.dataset._model.spanGaps&&(o=o.filter(function(t){return!t._model.skip})),"monotone"===n.dataset._model.cubicInterpolationMode)r.splineCurveMonotone(o);else for(t=0,e=o.length;t<e;++t)a=o[t]._model,i=r.splineCurve(r.previousItem(o,t)._model,a,r.nextItem(o,t)._model,n.dataset._model.tension),a.controlPointPreviousX=i.previous.x,a.controlPointPreviousY=i.previous.y,a.controlPointNextX=i.next.x,a.controlPointNextY=i.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,e=o.length;t<e;++t)(a=o[t]._model).controlPointPreviousX=l(a.controlPointPreviousX,s.left,s.right),a.controlPointPreviousY=l(a.controlPointPreviousY,s.top,s.bottom),a.controlPointNextX=l(a.controlPointNextX,s.left,s.right),a.controlPointNextY=l(a.controlPointNextY,s.top,s.bottom)},draw:function(){var t,a=this.chart,i=this.getMeta(),n=i.data||[],s=a.chartArea,o=n.length,l=0;for(e(this.getDataset(),a.options)&&(t=(i.dataset._model.borderWidth||0)/2,r.canvas.clipArea(a.ctx,{left:s.left,right:s.right,top:s.top-t,bottom:s.bottom+t}),i.dataset.draw(),r.canvas.unclipArea(a.ctx));l<o;++l)n[l].draw(s)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],a=t._index,i=t.custom||{},n=t._model;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth,radius:n.radius},n.backgroundColor=i.hoverBackgroundColor||r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,a,r.getHoverColor(n.backgroundColor)),n.borderColor=i.hoverBorderColor||r.valueAtIndexOrDefault(e.pointHoverBorderColor,a,r.getHoverColor(n.borderColor)),n.borderWidth=i.hoverBorderWidth||r.valueAtIndexOrDefault(e.pointHoverBorderWidth,a,n.borderWidth),n.radius=i.hoverRadius||r.valueAtIndexOrDefault(e.pointHoverRadius,a,this.chart.options.elements.point.hoverRadius)}})}},{26:26,41:41,46:46}],19:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var a=t.data,i=a.datasets,n=a.labels;if(i.length)for(var r=0;r<i[0].data.length;++r)e.push('<li><span style="background-color:'+i[0].backgroundColor[r]+'"></span>'),n[r]&&e.push(n[r]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(a,i){var n=t.getDatasetMeta(0),s=e.datasets[0],o=n.data[i].custom||{},l=r.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:a,fillStyle:o.backgroundColor?o.backgroundColor:l(s.backgroundColor,i,c.backgroundColor),strokeStyle:o.borderColor?o.borderColor:l(s.borderColor,i,c.borderColor),lineWidth:o.borderWidth?o.borderWidth:l(s.borderWidth,i,c.borderWidth),hidden:isNaN(s.data[i])||n.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var a,i,n,r=e.index,s=this.chart;for(a=0,i=(s.data.datasets||[]).length;a<i;++a)(n=s.getDatasetMeta(a)).data[r].hidden=!n.data[r].hidden;s.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(t){t.controllers.polarArea=t.DatasetController.extend({dataElementType:n.Arc,linkScales:r.noop,update:function(t){var e,a,i,n=this,s=n.getDataset(),o=n.getMeta(),l=n.chart.options.startAngle||0,c=n._starts=[],d=n._angles=[];for(n._updateRadius(),o.count=n.countVisibleElements(),e=0,a=s.data.length;e<a;e++)c[e]=l,i=n._computeAngle(e),l+=d[e]=i;r.each(o.data,function(e,a){n.updateElement(e,a,t)})},_updateRadius:function(){var t=this,e=t.chart,a=e.chartArea,i=e.options,n=i.elements.arc,r=Math.min(a.right-a.left,a.bottom-a.top);e.outerRadius=Math.max((r-n.borderWidth/2)/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,a){var i=this,n=i.chart,s=i.getDataset(),o=n.options,l=o.animation,c=n.scale,d=n.data.labels,u=c.xCenter,p=c.yCenter,h=o.startAngle,g=t.hidden?0:c.getDistanceFromCenterForValue(s.data[e]),f=i._starts[e],m=f+(t.hidden?0:i._angles[e]),_=l.animateScale?0:c.getDistanceFromCenterForValue(s.data[e]);r.extend(t,{_datasetIndex:i.index,_index:e,_scale:c,_model:{x:u,y:p,innerRadius:0,outerRadius:a?_:g,startAngle:a&&l.animateRotate?h:f,endAngle:a&&l.animateRotate?h:m,label:r.valueAtIndexOrDefault(d,e,d[e])}});var A=this.chart.options.elements.arc,v=t.custom||{},M=r.valueAtIndexOrDefault,y=t._model;y.backgroundColor=v.backgroundColor?v.backgroundColor:M(s.backgroundColor,e,A.backgroundColor),y.borderColor=v.borderColor?v.borderColor:M(s.borderColor,e,A.borderColor),y.borderWidth=v.borderWidth?v.borderWidth:M(s.borderWidth,e,A.borderWidth),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),a=0;return r.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||a++}),a},_computeAngle:function(t){var e=this,a=this.getMeta().count,i=e.getDataset(),n=e.getMeta();if(isNaN(i.data[t])||n.data[t].hidden)return 0;var s={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return r.options.resolve([e.chart.options.elements.arc.angle,2*Math.PI/a],s,t)}})}},{26:26,41:41,46:46}],20:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:n.Line,dataElementType:n.Point,linkScales:r.noop,update:function(t){var e=this,a=e.getMeta(),i=a.dataset,n=a.data,s=i.custom||{},o=e.getDataset(),l=e.chart.options.elements.line,c=e.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),r.extend(a.dataset,{_datasetIndex:e.index,_scale:c,_children:n,_loop:!0,_model:{tension:s.tension?s.tension:r.valueOrDefault(o.lineTension,l.tension),backgroundColor:s.backgroundColor?s.backgroundColor:o.backgroundColor||l.backgroundColor,borderWidth:s.borderWidth?s.borderWidth:o.borderWidth||l.borderWidth,borderColor:s.borderColor?s.borderColor:o.borderColor||l.borderColor,fill:s.fill?s.fill:void 0!==o.fill?o.fill:l.fill,borderCapStyle:s.borderCapStyle?s.borderCapStyle:o.borderCapStyle||l.borderCapStyle,borderDash:s.borderDash?s.borderDash:o.borderDash||l.borderDash,borderDashOffset:s.borderDashOffset?s.borderDashOffset:o.borderDashOffset||l.borderDashOffset,borderJoinStyle:s.borderJoinStyle?s.borderJoinStyle:o.borderJoinStyle||l.borderJoinStyle}}),a.dataset.pivot(),r.each(n,function(a,i){e.updateElement(a,i,t)},e),e.updateBezierControlPoints()},updateElement:function(t,e,a){var i=this,n=t.custom||{},s=i.getDataset(),o=i.chart.scale,l=i.chart.options.elements.point,c=o.getPointPositionForValue(e,s.data[e]);void 0!==s.radius&&void 0===s.pointRadius&&(s.pointRadius=s.radius),void 0!==s.hitRadius&&void 0===s.pointHitRadius&&(s.pointHitRadius=s.hitRadius),r.extend(t,{_datasetIndex:i.index,_index:e,_scale:o,_model:{x:a?o.xCenter:c.x,y:a?o.yCenter:c.y,tension:n.tension?n.tension:r.valueOrDefault(s.lineTension,i.chart.options.elements.line.tension),radius:n.radius?n.radius:r.valueAtIndexOrDefault(s.pointRadius,e,l.radius),backgroundColor:n.backgroundColor?n.backgroundColor:r.valueAtIndexOrDefault(s.pointBackgroundColor,e,l.backgroundColor),borderColor:n.borderColor?n.borderColor:r.valueAtIndexOrDefault(s.pointBorderColor,e,l.borderColor),borderWidth:n.borderWidth?n.borderWidth:r.valueAtIndexOrDefault(s.pointBorderWidth,e,l.borderWidth),pointStyle:n.pointStyle?n.pointStyle:r.valueAtIndexOrDefault(s.pointStyle,e,l.pointStyle),rotation:n.rotation?n.rotation:r.valueAtIndexOrDefault(s.pointRotation,e,l.rotation),hitRadius:n.hitRadius?n.hitRadius:r.valueAtIndexOrDefault(s.pointHitRadius,e,l.hitRadius)}}),t._model.skip=n.skip?n.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();r.each(e.data,function(a,i){var n=a._model,s=r.splineCurve(r.previousItem(e.data,i,!0)._model,n,r.nextItem(e.data,i,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(s.previous.x,t.right),t.left),n.controlPointPreviousY=Math.max(Math.min(s.previous.y,t.bottom),t.top),n.controlPointNextX=Math.max(Math.min(s.next.x,t.right),t.left),n.controlPointNextY=Math.max(Math.min(s.next.y,t.bottom),t.top),a.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],a=t.custom||{},i=t._index,n=t._model;t.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth,radius:n.radius},n.radius=a.hoverRadius?a.hoverRadius:r.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),n.backgroundColor=a.hoverBackgroundColor?a.hoverBackgroundColor:r.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,r.getHoverColor(n.backgroundColor)),n.borderColor=a.hoverBorderColor?a.hoverBorderColor:r.valueAtIndexOrDefault(e.pointHoverBorderColor,i,r.getHoverColor(n.borderColor)),n.borderWidth=a.hoverBorderWidth?a.hoverBorderWidth:r.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,n.borderWidth)}})}},{26:26,41:41,46:46}],21:[function(t,e,a){t(26)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{26:26}],22:[function(t,e,a){var i=t(27);a=e.exports=i.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Object.defineProperty(a.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(a.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})},{27:27}],23:[function(t,e,a){var i=t(26),n=t(46);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:n.noop,onComplete:n.noop}}),e.exports={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,a,i){var n,r,s=this.animations;for(e.chart=t,i||(t.animating=!0),n=0,r=s.length;n<r;++n)if(s[n].chart===t)return void(s[n]=e);s.push(e),1===s.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=n.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=n.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this,e=Date.now(),a=0;t.dropFrames>1&&(a=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+a);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,a,i=this.animations,r=0;r<i.length;)a=(e=i[r]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),n.callback(e.render,[a,e],a),n.callback(e.onAnimationProgress,[e],a),e.currentStep>=e.numSteps?(n.callback(e.onAnimationComplete,[e],a),a.animating=!1,i.splice(r,1)):++r}}},{26:26,46:46}],24:[function(t,e,a){var i=t(22),n=t(23),r=t(26),o=t(46),l=t(29),c=t(31),d=t(49),u=t(32),p=t(34),h=t(36);e.exports=function(t){function e(t){return"top"===t||"bottom"===t}t.types={},t.instances={},t.controllers={},o.extend(t.prototype,{construct:function(e,a){var i,n,s=this;(n=(i=(i=a)||{}).data=i.data||{}).datasets=n.datasets||[],n.labels=n.labels||[],i.options=o.configMerge(r.global,r[i.type],i.options||{}),a=i;var l=d.acquireContext(e,a),c=l&&l.canvas,u=c&&c.height,p=c&&c.width;s.id=o.uid(),s.ctx=l,s.canvas=c,s.config=a,s.width=p,s.height=u,s.aspectRatio=u?p/u:null,s.options=a.options,s._bufferedRender=!1,(s.chart=s).controller=s,t.instances[s.id]=s,Object.defineProperty(s,"data",{get:function(){return s.config.data},set:function(t){s.config.data=t}}),l&&c?(s.initialize(),s.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return u.notify(t,"beforeInit"),o.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),u.notify(t,"afterInit"),t},clear:function(){return o.canvas.clear(this),this},stop:function(){return n.cancelAnimation(this),this},resize:function(t){var e=this,a=e.options,i=e.canvas,n=a.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(o.getMaximumWidth(i))),s=Math.max(0,Math.floor(n?r/n:o.getMaximumHeight(i)));if((e.width!==r||e.height!==s)&&(i.width=e.width=r,i.height=e.height=s,i.style.width=r+"px",i.style.height=s+"px",o.retinaScale(e,a.devicePixelRatio),!t)){var l={width:r,height:s};u.notify(e,"resize",[l]),e.options.onResize&&e.options.onResize(e,l),e.stop(),e.update({duration:e.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},a=t.scale;o.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),o.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),a&&(a.id=a.id||"scale")},buildOrUpdateScales:function(){var t=this,a=t.options,i=t.scales||{},n=[],r=Object.keys(i).reduce(function(t,e){return t[e]=!1,t},{});a.scales&&(n=n.concat((a.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(a.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),a.scale&&n.push({options:a.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),o.each(n,function(a){var n=a.options,s=n.id,l=o.valueOrDefault(n.type,a.dtype);e(n.position)!==e(a.dposition)&&(n.position=a.dposition),r[s]=!0;var c=null;if(s in i&&i[s].type===l)(c=i[s]).options=n,c.ctx=t.ctx,c.chart=t;else{var d=p.getScaleConstructor(l);if(!d)return;c=new d({id:s,type:l,options:n,ctx:t.ctx,chart:t}),i[c.id]=c}c.mergeTicksOptions(),a.isDefault&&(t.scale=c)}),o.each(r,function(t,e){t||delete i[e]}),t.scales=i,p.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,a=[],i=[];return o.each(e.data.datasets,function(n,r){var s=e.getDatasetMeta(r),o=n.type||e.config.type;if(s.type&&s.type!==o&&(e.destroyDatasetMeta(r),s=e.getDatasetMeta(r)),s.type=o,a.push(s.type),s.controller)s.controller.updateIndex(r),s.controller.linkScales();else{var l=t.controllers[s.type];if(void 0===l)throw new Error('"'+s.type+'" is not a chart type.');s.controller=new l(e,r),i.push(s.controller)}},e),i},resetElements:function(){var t=this;o.each(t.data.datasets,function(e,a){t.getDatasetMeta(a).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var a,i,n=this;if(e&&"object"===s()(e)||(e={duration:e,lazy:arguments[1]}),i=(a=n).options,o.each(a.scales,function(t){c.removeBox(a,t)}),i=o.configMerge(t.defaults.global,t.defaults[a.config.type],i),a.options=a.config.options=i,a.ensureScalesHaveIDs(),a.buildOrUpdateScales(),a.tooltip._options=i.tooltips,a.tooltip.initialize(),u._invalidate(n),!1!==u.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var r=n.buildOrUpdateControllers();o.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()},n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&o.each(r,function(t){t.reset()}),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],u.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:n.render(e)}},updateLayout:function(){!1!==u.notify(this,"beforeLayout")&&(c.update(this,this.width,this.height),u.notify(this,"afterScaleUpdate"),u.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==u.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);u.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),a={meta:e,index:t};!1!==u.notify(this,"beforeDatasetUpdate",[a])&&(e.controller.update(),u.notify(this,"afterDatasetUpdate",[a]))},render:function(t){var e=this;t&&"object"===s()(t)||(t={duration:t,lazy:arguments[1]});var a=t.duration,r=t.lazy;if(!1!==u.notify(e,"beforeRender")){var l=e.options.animation,c=function(t){u.notify(e,"afterRender"),o.callback(l&&l.onComplete,[t],e)};if(l&&(void 0!==a&&0!==a||void 0===a&&0!==l.duration)){var d=new i({numSteps:(a||l.duration)/16.66,easing:t.easing||l.easing,render:function(t,e){var a=o.easing.effects[e.easing],i=e.currentStep,n=i/e.numSteps;t.draw(a(n),n,i)},onAnimationProgress:l.onProgress,onAnimationComplete:c});n.addAnimation(e,d,a,r)}else e.draw(),c(new i({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),o.isNullOrUndef(t)&&(t=1),e.transition(t),e.width<=0||e.height<=0||!1!==u.notify(e,"beforeDraw",[t])&&(o.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),u.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,a=(this.data.datasets||[]).length;e<a;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==u.notify(e,"beforeDatasetsDraw",[t])){for(var a=(e.data.datasets||[]).length-1;a>=0;--a)e.isDatasetVisible(a)&&e.drawDataset(a,t);u.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var a=this.getDatasetMeta(t),i={meta:a,index:t,easingValue:e};!1!==u.notify(this,"beforeDatasetDraw",[i])&&(a.controller.draw(e),u.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,a={tooltip:e,easingValue:t};!1!==u.notify(this,"beforeTooltipDraw",[a])&&(e.draw(),u.notify(this,"afterTooltipDraw",[a]))},getElementAtEvent:function(t){return l.modes.single(this,t)},getElementsAtEvent:function(t){return l.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return l.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,a){var i=l.modes[e];return"function"==typeof i?i(this,t,a):[]},getDatasetAtEvent:function(t){return l.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var a=e._meta[this.id];return a||(a=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),a},getVisibleDatasetCount:function(){for(var t=0,e=0,a=this.data.datasets.length;e<a;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,a=this.data.datasets[t],i=a._meta&&a._meta[e];i&&(i.controller.destroy(),delete a._meta[e])},destroy:function(){var e,a,i=this,n=i.canvas;for(i.stop(),e=0,a=i.data.datasets.length;e<a;++e)i.destroyDatasetMeta(e);n&&(i.unbindEvents(),o.canvas.clear(i),d.releaseContext(i.ctx),i.canvas=null,i.ctx=null),u.notify(i,"destroy"),delete t.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new h({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},a=function(){t.eventHandler.apply(t,arguments)};o.each(t.options.events,function(i){d.addEventListener(t,i,a),e[i]=a}),t.options.responsive&&(a=function(){t.resize()},d.addEventListener(t,"resize",a),e.resize=a)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,o.each(e,function(e,a){d.removeEventListener(t,a,e)}))},updateHoverStyle:function(t,e,a){var i,n,r,s=a?"setHoverStyle":"removeHoverStyle";for(n=0,r=t.length;n<r;++n)(i=t[n])&&this.getDatasetMeta(i._datasetIndex).controller[s](i)},eventHandler:function(t){var e=this,a=e.tooltip;if(!1!==u.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);a&&(i=a._start?a.handleEvent(t):i|a.handleEvent(t)),u.notify(e,"afterEvent",[t]);var n=e._bufferedRequest;return n?e.render(n):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,a=this,i=a.options||{},n=i.hover;return a.lastActive=a.lastActive||[],"mouseout"===t.type?a.active=[]:a.active=a.getElementsAtEventForMode(t,n.mode,n),o.callback(i.onHover||i.hover.onHover,[t.native,a.active],a),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(a,t.native,a.active),a.lastActive.length&&a.updateHoverStyle(a.lastActive,n.mode,!1),a.active.length&&n.mode&&a.updateHoverStyle(a.active,n.mode,!0),e=!o.arrayEquals(a.active,a.lastActive),a.lastActive=a.active,e}}),t.Controller=t}},{22:22,23:23,26:26,29:29,31:31,32:32,34:34,36:36,46:46,49:49}],25:[function(t,e,a){var i=t(46);e.exports=function(t){var e=["push","pop","shift","splice","unshift"];function a(t,a){var i=t._chartjs;if(i){var n=i.listeners,r=n.indexOf(a);-1!==r&&n.splice(r,1),n.length>0||(e.forEach(function(e){delete t[e]}),delete t._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),a=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=a.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=a.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&a(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,a=this.getMeta(),i=this.getDataset().data||[],n=a.data;for(t=0,e=i.length;t<e;++t)n[t]=n[t]||this.createMetaData(t);a.dataset=a.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,n,r=this,s=r.getDataset(),o=s.data||(s.data=[]);r._data!==o&&(r._data&&a(r._data,r),n=r,(t=o)._chartjs?t._chartjs.listeners.push(n):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),e.forEach(function(e){var a="onData"+e.charAt(0).toUpperCase()+e.slice(1),n=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=n.apply(this,e);return i.each(t._chartjs.listeners,function(t){"function"==typeof t[a]&&t[a].apply(t,e)}),r}})})),r._data=o),r.resyncElements()},update:i.noop,transition:function(t){for(var e=this.getMeta(),a=e.data||[],i=a.length,n=0;n<i;++n)a[n].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],a=e.length,i=0;for(t.dataset&&t.dataset.draw();i<a;++i)e[i].draw()},removeHoverStyle:function(t){i.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],a=t._index,n=t.custom||{},r=i.valueAtIndexOrDefault,s=i.getHoverColor,o=t._model;t.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth},o.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:r(e.hoverBackgroundColor,a,s(o.backgroundColor)),o.borderColor=n.hoverBorderColor?n.hoverBorderColor:r(e.hoverBorderColor,a,s(o.borderColor)),o.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:r(e.hoverBorderWidth,a,o.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,a=t.data.length,i=e.length;i<a?t.data.splice(i,a-i):a<i&&this.insertElements(a,i-a)},insertElements:function(t,e){for(var a=0;a<e;++a)this.addElementAndReset(t+a)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=i.inherits}},{46:46}],26:[function(t,e,a){var i=t(46);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{46:46}],27:[function(t,e,a){var i=t(3),n=t(46),r=function(t){n.extend(this,t),this.initialize.apply(this,arguments)};n.extend(r.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=n.clone(t._model)),t._start={},t},transition:function(t){var e=this,a=e._model,n=e._start,r=e._view;return a&&1!==t?(r||(r=e._view={}),n||(n=e._start={}),function(t,e,a,n){var r,o,l,c,d,u,p,h,g,f=Object.keys(a);for(r=0,o=f.length;r<o;++r)if(u=a[l=f[r]],e.hasOwnProperty(l)||(e[l]=u),(c=e[l])!==u&&"_"!==l[0]){if(t.hasOwnProperty(l)||(t[l]=c),(p=s()(u))===s()(d=t[l]))if("string"===p){if((h=i(d)).valid&&(g=i(u)).valid){e[l]=g.mix(h,n).rgbString();continue}}else if("number"===p&&isFinite(d)&&isFinite(u)){e[l]=d+(u-d)*n;continue}e[l]=u}}(n,r,a,t)):(e._view=a,e._start=null),e},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return n.isNumber(this._model.x)&&n.isNumber(this._model.y)}}),r.extend=n.inherits,e.exports=r},{3:3,46:46}],28:[function(t,e,a){var i=t(3),n=t(26),r=t(46),s=t(34);e.exports=function(){function t(t,e,a){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[a])):i=t,i}function e(t){return null!=t&&"none"!==t}function a(a,i,n){var s=document.defaultView,o=r._getParentNode(a),l=s.getComputedStyle(a)[i],c=s.getComputedStyle(o)[i],d=e(l),u=e(c),p=Number.POSITIVE_INFINITY;return d||u?Math.min(d?t(l,a,n):p,u?t(c,o,n):p):"none"}r.configMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,a,i){var n=e[t]||{},o=a[t];"scales"===t?e[t]=r.scaleMerge(n,o):"scale"===t?e[t]=r.merge(n,[s.getScaleDefaults(o.type),o]):r._merger(t,e,a,i)}})},r.scaleMerge=function(){return r.merge(r.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,a,i){if("xAxes"===t||"yAxes"===t){var n,o,l,c=a[t].length;for(e[t]||(e[t]=[]),n=0;n<c;++n)l=a[t][n],o=r.valueOrDefault(l.type,"xAxes"===t?"category":"linear"),n>=e[t].length&&e[t].push({}),!e[t][n].type||l.type&&l.type!==e[t][n].type?r.merge(e[t][n],[s.getScaleDefaults(o),l]):r.merge(e[t][n],l)}else r._merger(t,e,a,i)}})},r.where=function(t,e){if(r.isArray(t)&&Array.prototype.filter)return t.filter(e);var a=[];return r.each(t,function(t){e(t)&&a.push(t)}),a},r.findIndex=Array.prototype.findIndex?function(t,e,a){return t.findIndex(e,a)}:function(t,e,a){a=void 0===a?t:a;for(var i=0,n=t.length;i<n;++i)if(e.call(a,t[i],i,t))return i;return-1},r.findNextWhere=function(t,e,a){r.isNullOrUndef(a)&&(a=-1);for(var i=a+1;i<t.length;i++){var n=t[i];if(e(n))return n}},r.findPreviousWhere=function(t,e,a){r.isNullOrUndef(a)&&(a=t.length);for(var i=a-1;i>=0;i--){var n=t[i];if(e(n))return n}},r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.almostEquals=function(t,e,a){return Math.abs(t-e)<a},r.almostWhole=function(t,e){var a=Math.round(t);return a-e<t&&t<a+e},r.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},r.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},r.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},r.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,a=Math.round(e);return t===Math.pow(10,a)?a:e},r.toRadians=function(t){return t*(Math.PI/180)},r.toDegrees=function(t){return t*(180/Math.PI)},r.getAngleFromPoint=function(t,e){var a=e.x-t.x,i=e.y-t.y,n=Math.sqrt(a*a+i*i),r=Math.atan2(i,a);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:n}},r.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},r.aliasPixel=function(t){return t%2==0?0:.5},r.splineCurve=function(t,e,a,i){var n=t.skip?e:t,r=e,s=a.skip?e:a,o=Math.sqrt(Math.pow(r.x-n.x,2)+Math.pow(r.y-n.y,2)),l=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),c=o/(o+l),d=l/(o+l),u=i*(c=isNaN(c)?0:c),p=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-u*(s.x-n.x),y:r.y-u*(s.y-n.y)},next:{x:r.x+p*(s.x-n.x),y:r.y+p*(s.y-n.y)}}},r.EPSILON=Number.EPSILON||1e-14,r.splineCurveMonotone=function(t){var e,a,i,n,s,o,l,c,d,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),p=u.length;for(e=0;e<p;++e)if(!(i=u[e]).model.skip){if(a=e>0?u[e-1]:null,(n=e<p-1?u[e+1]:null)&&!n.model.skip){var h=n.model.x-i.model.x;i.deltaK=0!==h?(n.model.y-i.model.y)/h:0}!a||a.model.skip?i.mK=i.deltaK:!n||n.model.skip?i.mK=a.deltaK:this.sign(a.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(a.deltaK+i.deltaK)/2}for(e=0;e<p-1;++e)i=u[e],n=u[e+1],i.model.skip||n.model.skip||(r.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=n.mK=0:(s=i.mK/i.deltaK,o=n.mK/i.deltaK,(c=Math.pow(s,2)+Math.pow(o,2))<=9||(l=3/Math.sqrt(c),i.mK=s*l*i.deltaK,n.mK=o*l*i.deltaK)));for(e=0;e<p;++e)(i=u[e]).model.skip||(a=e>0?u[e-1]:null,n=e<p-1?u[e+1]:null,a&&!a.model.skip&&(d=(i.model.x-a.model.x)/3,i.model.controlPointPreviousX=i.model.x-d,i.model.controlPointPreviousY=i.model.y-d*i.mK),n&&!n.model.skip&&(d=(n.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+d,i.model.controlPointNextY=i.model.y+d*i.mK))},r.nextItem=function(t,e,a){return a?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},r.previousItem=function(t,e,a){return a?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},r.niceNum=function(t,e){var a=Math.floor(r.log10(t)),i=t/Math.pow(10,a);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,a)},r.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},r.getRelativePosition=function(t,e){var a,i,n=t.originalEvent||t,s=t.target||t.srcElement,o=s.getBoundingClientRect(),l=n.touches;i=l&&l.length>0?(a=l[0].clientX,l[0].clientY):(a=n.clientX,n.clientY);var c=parseFloat(r.getStyle(s,"padding-left")),d=parseFloat(r.getStyle(s,"padding-top")),u=parseFloat(r.getStyle(s,"padding-right")),p=parseFloat(r.getStyle(s,"padding-bottom")),h=o.right-o.left-c-u,g=o.bottom-o.top-d-p;return{x:a=Math.round((a-o.left-c)/h*s.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-d)/g*s.height/e.currentDevicePixelRatio)}},r.getConstraintWidth=function(t){return a(t,"max-width","clientWidth")},r.getConstraintHeight=function(t){return a(t,"max-height","clientHeight")},r._calculatePadding=function(t,e,a){return(e=r.getStyle(t,e)).indexOf("%")>-1?a/parseInt(e,10):parseInt(e,10)},r._getParentNode=function(t){var e=t.parentNode;return e&&e.host&&(e=e.host),e},r.getMaximumWidth=function(t){var e=r._getParentNode(t);if(!e)return t.clientWidth;var a=e.clientWidth,i=a-r._calculatePadding(e,"padding-left",a)-r._calculatePadding(e,"padding-right",a),n=r.getConstraintWidth(t);return isNaN(n)?i:Math.min(i,n)},r.getMaximumHeight=function(t){var e=r._getParentNode(t);if(!e)return t.clientHeight;var a=e.clientHeight,i=a-r._calculatePadding(e,"padding-top",a)-r._calculatePadding(e,"padding-bottom",a),n=r.getConstraintHeight(t);return isNaN(n)?i:Math.min(i,n)},r.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},r.retinaScale=function(t,e){var a=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==a){var i=t.canvas,n=t.height,r=t.width;i.height=n*a,i.width=r*a,t.ctx.scale(a,a),i.style.height||i.style.width||(i.style.height=n+"px",i.style.width=r+"px")}},r.fontString=function(t,e,a){return e+" "+t+"px "+a},r.longestText=function(t,e,a,i){var n=(i=i||{}).data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(n=i.data={},s=i.garbageCollect=[],i.font=e),t.font=e;var o=0;r.each(a,function(e){null!=e&&!0!==r.isArray(e)?o=r.measureText(t,n,s,o,e):r.isArray(e)&&r.each(e,function(e){null==e||r.isArray(e)||(o=r.measureText(t,n,s,o,e))})});var l=s.length/2;if(l>a.length){for(var c=0;c<l;c++)delete n[s[c]];s.splice(0,l)}return o},r.measureText=function(t,e,a,i,n){var r=e[n];return r||(r=e[n]=t.measureText(n).width,a.push(n)),i<r&&(i=r),i},r.numberOfLabelLines=function(t){var e=1;return r.each(t,function(t){r.isArray(t)&&t.length>e&&(e=t.length)}),e},r.color=i?function(t){return t instanceof CanvasGradient&&(t=n.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},r.getHoverColor=function(t){return t instanceof CanvasPattern?t:r.color(t).saturate(.5).darken(.1).rgbString()}}},{26:26,3:3,34:34,46:46}],29:[function(t,e,a){var i=t(46);function n(t,e){return t.native?{x:t.x,y:t.y}:i.getRelativePosition(t,e)}function r(t,e){var a,i,n,r,s;for(i=0,r=t.data.datasets.length;i<r;++i)if(t.isDatasetVisible(i))for(n=0,s=(a=t.getDatasetMeta(i)).data.length;n<s;++n){var o=a.data[n];o._view.skip||e(o)}}function s(t,e){var a=[];return r(t,function(t){t.inRange(e.x,e.y)&&a.push(t)}),a}function o(t,e,a,i){var n=Number.POSITIVE_INFINITY,s=[];return r(t,function(t){if(!a||t.inRange(e.x,e.y)){var r=t.getCenterPoint(),o=i(e,r);o<n?(s=[t],n=o):o===n&&s.push(t)}}),s}function l(t){var e=-1!==t.indexOf("x"),a=-1!==t.indexOf("y");return function(t,i){var n=e?Math.abs(t.x-i.x):0,r=a?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2))}}function c(t,e,a){var i=n(e,t);a.axis=a.axis||"x";var r=l(a.axis),c=a.intersect?s(t,i):o(t,i,!1,r),d=[];return c.length?(t.data.datasets.forEach(function(e,a){if(t.isDatasetVisible(a)){var i=t.getDatasetMeta(a).data[c[0]._index];i&&!i._view.skip&&d.push(i)}}),d):[]}e.exports={modes:{single:function(t,e){var a=n(e,t),i=[];return r(t,function(t){if(t.inRange(a.x,a.y))return i.push(t),i}),i.slice(0,1)},label:c,index:c,dataset:function(t,e,a){var i=n(e,t);a.axis=a.axis||"xy";var r=l(a.axis),c=a.intersect?s(t,i):o(t,i,!1,r);return c.length>0&&(c=t.getDatasetMeta(c[0]._datasetIndex).data),c},"x-axis":function(t,e){return c(t,e,{intersect:!1})},point:function(t,e){return s(t,n(e,t))},nearest:function(t,e,a){var i=n(e,t);a.axis=a.axis||"xy";var r=l(a.axis),s=o(t,i,a.intersect,r);return s.length>1&&s.sort(function(t,e){var a=t.getArea()-e.getArea();return 0===a&&(a=t._datasetIndex-e._datasetIndex),a}),s.slice(0,1)},x:function(t,e,a){var i=n(e,t),s=[],o=!1;return r(t,function(t){t.inXRange(i.x)&&s.push(t),t.inRange(i.x,i.y)&&(o=!0)}),a.intersect&&!o&&(s=[]),s},y:function(t,e,a){var i=n(e,t),s=[],o=!1;return r(t,function(t){t.inYRange(i.y)&&s.push(t),t.inRange(i.x,i.y)&&(o=!0)}),a.intersect&&!o&&(s=[]),s}}}},{46:46}],30:[function(t,e,a){t(26)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var t=function(t,e){return this.construct(t,e),this};return t.Chart=t}},{26:26}],31:[function(t,e,a){var i=t(46);function n(t,e){return i.where(t,function(t){return t.position===e})}function r(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,a){var i=e?a:t,n=e?t:a;return i.weight===n.weight?i._tmpIndex_-n._tmpIndex_:i.weight-n.weight}),t.forEach(function(t){delete t._tmpIndex_})}e.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var a=t.boxes?t.boxes.indexOf(e):-1;-1!==a&&t.boxes.splice(a,1)},configure:function(t,e,a){for(var i,n=["fullWidth","position","weight"],r=n.length,s=0;s<r;++s)i=n[s],a.hasOwnProperty(i)&&(e[i]=a[i])},update:function(t,e,a){if(t){var s=t.options.layout||{},o=i.options.toPadding(s.padding),l=o.left,c=o.right,d=o.top,u=o.bottom,p=n(t.boxes,"left"),h=n(t.boxes,"right"),g=n(t.boxes,"top"),f=n(t.boxes,"bottom"),m=n(t.boxes,"chartArea");r(p,!0),r(h,!1),r(g,!0),r(f,!1);var _=e-l-c,A=a-d-u,v=A/2,M=(e-_/2)/(p.length+h.length),y=(a-v)/(g.length+f.length),b=_,w=A,x=[];i.each(p.concat(h,g,f),function(t){var e,a=t.isHorizontal();a?(e=t.update(t.fullWidth?_:b,y),w-=e.height):(e=t.update(M,w),b-=e.width),x.push({horizontal:a,minSize:e,box:t})});var C=0,N=0,T=0,D=0;i.each(g.concat(f),function(t){if(t.getPadding){var e=t.getPadding();C=Math.max(C,e.left),N=Math.max(N,e.right)}}),i.each(p.concat(h),function(t){if(t.getPadding){var e=t.getPadding();T=Math.max(T,e.top),D=Math.max(D,e.bottom)}});var I=l,j=c,k=d,L=u;i.each(p.concat(h),B),i.each(p,function(t){I+=t.width}),i.each(h,function(t){j+=t.width}),i.each(g.concat(f),B),i.each(g,function(t){k+=t.height}),i.each(f,function(t){L+=t.height}),i.each(p.concat(h),function(t){var e=i.findNextWhere(x,function(e){return e.box===t}),a={left:0,right:0,top:k,bottom:L};e&&t.update(e.minSize.width,w,a)}),I=l,j=c,k=d,L=u,i.each(p,function(t){I+=t.width}),i.each(h,function(t){j+=t.width}),i.each(g,function(t){k+=t.height}),i.each(f,function(t){L+=t.height});var z=Math.max(C-I,0);I+=z,j+=Math.max(N-j,0);var E=Math.max(T-k,0);k+=E,L+=Math.max(D-L,0);var O=a-k-L,S=e-I-j;S===b&&O===w||(i.each(p,function(t){t.height=O}),i.each(h,function(t){t.height=O}),i.each(g,function(t){t.fullWidth||(t.width=S)}),i.each(f,function(t){t.fullWidth||(t.width=S)}),w=O,b=S);var Y=l+z,Q=d+E;i.each(p.concat(g),F),Y+=b,Q+=w,i.each(h,F),i.each(f,F),t.chartArea={left:I,top:k,right:I+b,bottom:k+w},i.each(m,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(b,w)})}function B(t){var e=i.findNextWhere(x,function(e){return e.box===t});if(e)if(t.isHorizontal()){var a={left:Math.max(I,C),right:Math.max(j,N),top:0,bottom:0};t.update(t.fullWidth?_:b,A/2,a)}else t.update(e.minSize.width,w)}function F(t){t.isHorizontal()?(t.left=t.fullWidth?l:I,t.right=t.fullWidth?e-c:I+b,t.top=Q,t.bottom=Q+t.height,Q=t.bottom):(t.left=Y,t.right=Y+t.width,t.top=k,t.bottom=k+w,Y=t.right)}}}},{46:46}],32:[function(t,e,a){var i=t(26),n=t(46);i._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var a=e.indexOf(t);-1!==a&&e.splice(a,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,a){var i,n,r,s,o,l=this.descriptors(t),c=l.length;for(i=0;i<c;++i)if("function"==typeof(o=(r=(n=l[i]).plugin)[e])&&((s=[t].concat(a||[])).push(n.options),!1===o.apply(r,s)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var a=[],r=[],s=t&&t.config||{},o=s.options&&s.options.plugins||{};return this._plugins.concat(s.plugins||[]).forEach(function(t){if(-1===a.indexOf(t)){var e=t.id,s=o[e];!1!==s&&(!0===s&&(s=n.clone(i.global.plugins[e])),a.push(t),r.push({plugin:t,options:s||{}}))}}),e.descriptors=r,e.id=this._cacheId,r},_invalidate:function(t){delete t.$plugins}}},{26:26,46:46}],33:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=t(35);function o(t){var e,a,i=[];for(e=0,a=t.length;e<a;++e)i.push(t[e].label);return i}function l(t,e,a){var i=t.getPixelForTick(e);return a&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}function c(t,e,a){return r.isArray(e)?r.longestText(t,a,e):t.measureText(e).width}function d(t){var e=r.valueOrDefault,a=i.global,n=e(t.fontSize,a.defaultFontSize),s=e(t.fontStyle,a.defaultFontStyle),o=e(t.fontFamily,a.defaultFontFamily);return{size:n,style:s,family:o,font:r.fontString(n,s,o)}}function u(t){return r.options.toLineHeight(r.valueOrDefault(t.lineHeight,1.2),r.valueOrDefault(t.fontSize,i.global.defaultFontSize))}i._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:s.formatters.values,minor:{},major:{}}}),e.exports=n.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){r.callback(this.options.beforeUpdate,[this])},update:function(t,e,a){var i,n,s,o,l,c,d=this;for(d.beforeUpdate(),d.maxWidth=t,d.maxHeight=e,d.margins=r.extend({left:0,right:0,top:0,bottom:0},a),d.longestTextCache=d.longestTextCache||{},d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d.beforeBuildTicks(),l=d.buildTicks()||[],d.afterBuildTicks(),d.beforeTickToLabelConversion(),s=d.convertTicksToLabels(l)||d.ticks,d.afterTickToLabelConversion(),i=0,n=(d.ticks=s).length;i<n;++i)o=s[i],(c=l[i])?c.label=o:l.push(c={label:o,major:!1});return d._ticks=l,d.beforeCalculateTickRotation(),d.calculateTickRotation(),d.afterCalculateTickRotation(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:function(){r.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){r.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){r.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){r.callback(this.options.beforeDataLimits,[this])},determineDataLimits:r.noop,afterDataLimits:function(){r.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){r.callback(this.options.beforeBuildTicks,[this])},buildTicks:r.noop,afterBuildTicks:function(){r.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){r.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){r.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){r.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,a=t.options.ticks,i=o(t._ticks),n=d(a);e.font=n.font;var s=a.minRotation||0;if(i.length&&t.options.display&&t.isHorizontal())for(var l,c=r.longestText(e,n.font,i,t.longestTextCache),u=c,p=t.getPixelForTick(1)-t.getPixelForTick(0)-6;p<u&&s<a.maxRotation;){var h=r.toRadians(s);if(l=Math.cos(h),Math.sin(h)*c>t.maxHeight){s--;break}s++,u=l*c}t.labelRotation=s},afterCalculateTickRotation:function(){r.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){r.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},a=o(t._ticks),i=t.options,n=i.ticks,s=i.scaleLabel,l=i.gridLines,p=i.display,h=t.isHorizontal(),g=d(n),f=i.gridLines.tickMarkLength;if(e.width=h?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:p&&l.drawTicks?f:0,e.height=h?p&&l.drawTicks?f:0:t.maxHeight,s.display&&p){var m=u(s)+r.options.toPadding(s.padding).height;h?e.height+=m:e.width+=m}if(n.display&&p){var _=r.longestText(t.ctx,g.font,a,t.longestTextCache),A=r.numberOfLabelLines(a),v=.5*g.size,M=t.options.ticks.padding;if(h){t.longestLabelWidth=_;var y=r.toRadians(t.labelRotation),b=Math.cos(y),w=Math.sin(y)*_+g.size*A+v*(A-1)+v;e.height=Math.min(t.maxHeight,e.height+w+M),t.ctx.font=g.font;var x=c(t.ctx,a[0],g.font),C=c(t.ctx,a[a.length-1],g.font);0!==t.labelRotation?(t.paddingLeft="bottom"===i.position?b*x+3:b*v+3,t.paddingRight="bottom"===i.position?b*v+3:b*C+3):(t.paddingLeft=x/2+3,t.paddingRight=C/2+3)}else n.mirror?_=0:_+=M+v,e.width=Math.min(t.maxWidth,e.width+_),t.paddingTop=g.size/2,t.paddingBottom=g.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){r.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(r.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:r.noop,getPixelForValue:r.noop,getValueForPixel:r.noop,getPixelForTick:function(t){var e=this,a=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(a?0:1),1),n=i*t+e.paddingLeft;return a&&(n+=i/2),e.left+Math.round(n)+(e.isFullWidth()?e.margins.left:0)}var r=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(r/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var a=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft;return e.left+Math.round(a)+(e.isFullWidth()?e.margins.left:0)}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,a,i,n,s=this,o=s.isHorizontal(),l=s.options.ticks.minor,c=t.length,d=r.toRadians(s.labelRotation),u=Math.cos(d),p=s.longestLabelWidth*u,h=[];for(l.maxTicksLimit&&(n=l.maxTicksLimit),o&&(e=!1,(p+l.autoSkipPadding)*c>s.width-(s.paddingLeft+s.paddingRight)&&(e=1+Math.floor((p+l.autoSkipPadding)*c/(s.width-(s.paddingLeft+s.paddingRight)))),n&&n<c&&(e=Math.max(e,Math.floor(c/n)))),a=0;a<c;a++)i=t[a],(e>1&&a%e>0||a%e==0&&c<=a+e)&&a!==c-1&&delete i.label,h.push(i);return h},draw:function(t){var e=this,a=e.options;if(a.display){var n=e.ctx,s=i.global,o=a.ticks.minor,c=a.ticks.major||o,p=a.gridLines,h=a.scaleLabel,g=0!==e.labelRotation,f=e.isHorizontal(),m=o.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),_=r.valueOrDefault(o.fontColor,s.defaultFontColor),A=d(o),v=r.valueOrDefault(c.fontColor,s.defaultFontColor),M=d(c),y=p.drawTicks?p.tickMarkLength:0,b=r.valueOrDefault(h.fontColor,s.defaultFontColor),w=d(h),x=r.options.toPadding(h.padding),C=r.toRadians(e.labelRotation),N=[],T=e.options.gridLines.lineWidth,D="right"===a.position?e.left:e.right-T-y,I="right"===a.position?e.left+y:e.right,j="bottom"===a.position?e.top+T:e.bottom-y-T,k="bottom"===a.position?e.top+T+y:e.bottom+T;if(r.each(m,function(i,n){if(!r.isNullOrUndef(i.label)){var c,d,u,h,_,A,v,M,b,w,x,L,z,E,O=i.label;h=n===e.zeroLineIndex&&a.offset===p.offsetGridLines?(c=p.zeroLineWidth,d=p.zeroLineColor,u=p.zeroLineBorderDash,p.zeroLineBorderDashOffset):(c=r.valueAtIndexOrDefault(p.lineWidth,n),d=r.valueAtIndexOrDefault(p.color,n),u=r.valueOrDefault(p.borderDash,s.borderDash),r.valueOrDefault(p.borderDashOffset,s.borderDashOffset));var S="middle",Y="middle",Q=o.padding;if(f){var B=y+Q;E="bottom"===a.position?(Y=g?"middle":"top",S=g?"right":"center",e.top+B):(Y=g?"middle":"bottom",S=g?"left":"center",e.bottom-B);var F=l(e,n,p.offsetGridLines&&m.length>1);F<e.left&&(d="rgba(0,0,0,0)"),F+=r.aliasPixel(c),z=e.getPixelForTick(n)+o.labelOffset,_=v=b=x=F,A=j,M=k,w=t.top,L=t.bottom+T}else{var P,U="left"===a.position;P=o.mirror?(S=U?"left":"right",Q):(S=U?"right":"left",y+Q),z=U?e.right-P:e.left+P;var R=l(e,n,p.offsetGridLines&&m.length>1);R<e.top&&(d="rgba(0,0,0,0)"),R+=r.aliasPixel(c),E=e.getPixelForTick(n)+o.labelOffset,_=D,v=I,b=t.left,x=t.right+T,A=M=w=L=R}N.push({tx1:_,ty1:A,tx2:v,ty2:M,x1:b,y1:w,x2:x,y2:L,labelX:z,labelY:E,glWidth:c,glColor:d,glBorderDash:u,glBorderDashOffset:h,rotation:-1*C,label:O,major:i.major,textBaseline:Y,textAlign:S})}}),r.each(N,function(t){if(p.display&&(n.save(),n.lineWidth=t.glWidth,n.strokeStyle=t.glColor,n.setLineDash&&(n.setLineDash(t.glBorderDash),n.lineDashOffset=t.glBorderDashOffset),n.beginPath(),p.drawTicks&&(n.moveTo(t.tx1,t.ty1),n.lineTo(t.tx2,t.ty2)),p.drawOnChartArea&&(n.moveTo(t.x1,t.y1),n.lineTo(t.x2,t.y2)),n.stroke(),n.restore()),o.display){n.save(),n.translate(t.labelX,t.labelY),n.rotate(t.rotation),n.font=t.major?M.font:A.font,n.fillStyle=t.major?v:_,n.textBaseline=t.textBaseline,n.textAlign=t.textAlign;var a=t.label;if(r.isArray(a))for(var i=a.length,s=1.5*A.size,l=e.isHorizontal()?0:-s*(i-1)/2,c=0;c<i;++c)n.fillText(""+a[c],0,l),l+=s;else n.fillText(a,0,0);n.restore()}}),h.display){var L,z,E=0,O=u(h)/2;if(f)L=e.left+(e.right-e.left)/2,z="bottom"===a.position?e.bottom-O-x.bottom:e.top+O+x.top;else{var S="left"===a.position;L=S?e.left+O+x.top:e.right-O-x.top,z=e.top+(e.bottom-e.top)/2,E=S?-.5*Math.PI:.5*Math.PI}n.save(),n.translate(L,z),n.rotate(E),n.textAlign="center",n.textBaseline="middle",n.fillStyle=b,n.font=w.font,n.fillText(h.labelString,0,0),n.restore()}if(p.drawBorder){n.lineWidth=r.valueAtIndexOrDefault(p.lineWidth,0),n.strokeStyle=r.valueAtIndexOrDefault(p.color,0);var Y=e.left,Q=e.right+T,B=e.top,F=e.bottom+T,P=r.aliasPixel(n.lineWidth);f?(B=F="top"===a.position?e.bottom:e.top,B+=P,F+=P):(Y=Q="left"===a.position?e.right:e.left,Y+=P,Q+=P),n.beginPath(),n.moveTo(Y,B),n.lineTo(Q,F),n.stroke()}}}})},{26:26,27:27,35:35,46:46}],34:[function(t,e,a){var i=t(26),n=t(46),r=t(31);e.exports={constructors:{},defaults:{},registerScaleType:function(t,e,a){this.constructors[t]=e,this.defaults[t]=n.clone(a)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?n.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=n.extend(this.defaults[t],e))},addScalesToLayout:function(t){n.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,r.addBox(t,e)})}}},{26:26,31:31,46:46}],35:[function(t,e,a){var i=t(46);e.exports={formatters:{values:function(t){return i.isArray(t)?t:""+t},linear:function(t,e,a){var n=a.length>3?a[2]-a[1]:a[1]-a[0];Math.abs(n)>1&&t!==Math.floor(t)&&(n=t-Math.floor(t));var r=i.log10(Math.abs(n)),s="";if(0!==t)if(Math.max(Math.abs(a[0]),Math.abs(a[a.length-1]))<1e-4){var o=i.log10(Math.abs(t));s=t.toExponential(Math.floor(o)-Math.floor(r))}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),s=t.toFixed(l)}else s="0";return s},logarithmic:function(t,e,a){var n=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===n||2===n||5===n||0===e||e===a.length-1?t.toExponential():""}}}},{46:46}],36:[function(t,e,a){var i=t(26),n=t(27),r=t(46);i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:r.noop,title:function(t,e){var a="",i=e.labels,n=i?i.length:0;if(t.length>0){var r=t[0];r.xLabel?a=r.xLabel:n>0&&r.index<n&&(a=i[r.index])}return a},afterTitle:r.noop,beforeBody:r.noop,beforeLabel:r.noop,label:function(t,e){var a=e.datasets[t.datasetIndex].label||"";return a&&(a+=": "),a+t.yLabel},labelColor:function(t,e){var a=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:a.borderColor,backgroundColor:a.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:r.noop,afterBody:r.noop,beforeFooter:r.noop,footer:r.noop,afterFooter:r.noop}}});var s={average:function(t){if(!t.length)return!1;var e,a,i=0,n=0,r=0;for(e=0,a=t.length;e<a;++e){var s=t[e];if(s&&s.hasValue()){var o=s.tooltipPosition();i+=o.x,n+=o.y,++r}}return{x:Math.round(i/r),y:Math.round(n/r)}},nearest:function(t,e){var a,i,n,s=e.x,o=e.y,l=Number.POSITIVE_INFINITY;for(a=0,i=t.length;a<i;++a){var c=t[a];if(c&&c.hasValue()){var d=c.getCenterPoint(),u=r.distanceBetweenPoints(e,d);u<l&&(l=u,n=c)}}if(n){var p=n.tooltipPosition();s=p.x,o=p.y}return{x:s,y:o}}};function o(t,e){var a=r.color(t);return a.alpha(e*a.alpha()).rgbaString()}function l(t,e){return e&&(r.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function c(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function d(t){var e=i.global,a=r.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:a(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:a(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:a(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:a(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:a(t.titleFontStyle,e.defaultFontStyle),titleFontSize:a(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:a(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:a(t.footerFontStyle,e.defaultFontStyle),footerFontSize:a(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function u(t){return l([],c(t))}(e.exports=n.extend({initialize:function(){this._model=d(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),a=t.title.apply(this,arguments),i=t.afterTitle.apply(this,arguments),n=[];return l(n=l(n=l(n,c(e)),c(a)),c(i))},getBeforeBody:function(){return u(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var a=this,i=a._options.callbacks,n=[];return r.each(t,function(t){var r={before:[],lines:[],after:[]};l(r.before,c(i.beforeLabel.call(a,t,e))),l(r.lines,i.label.call(a,t,e)),l(r.after,c(i.afterLabel.call(a,t,e))),n.push(r)}),n},getAfterBody:function(){return u(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),a=t.footer.apply(this,arguments),i=t.afterFooter.apply(this,arguments),n=[];return l(n=l(n=l(n,c(e)),c(a)),c(i))},update:function(t){var e,a,i,n,o,l,c,u,p,h,g,f,m,_,A,v,M,y,b,w,x=this,C=x._options,N=x._model,T=x._model=d(C),D=x._active,I=x._data,j={xAlign:N.xAlign,yAlign:N.yAlign},k={x:N.x,y:N.y},L={width:N.width,height:N.height},z={x:N.caretX,y:N.caretY};if(D.length){T.opacity=1;var E=[],O=[];z=s[C.position].call(x,D,x._eventPosition);var S=[];for(e=0,a=D.length;e<a;++e)S.push((y=M=void 0,M=(v=D[e])._xScale,y=v._yScale||v._scale,b=v._index,w=v._datasetIndex,{xLabel:M?M.getLabelForIndex(b,w):"",yLabel:y?y.getLabelForIndex(b,w):"",index:b,datasetIndex:w,x:v._model.x,y:v._model.y}));C.filter&&(S=S.filter(function(t){return C.filter(t,I)})),C.itemSort&&(S=S.sort(function(t,e){return C.itemSort(t,e,I)})),r.each(S,function(t){E.push(C.callbacks.labelColor.call(x,t,x._chart)),O.push(C.callbacks.labelTextColor.call(x,t,x._chart))}),T.title=x.getTitle(S,I),T.beforeBody=x.getBeforeBody(S,I),T.body=x.getBody(S,I),T.afterBody=x.getAfterBody(S,I),T.footer=x.getFooter(S,I),T.x=Math.round(z.x),T.y=Math.round(z.y),T.caretPadding=C.caretPadding,T.labelColors=E,T.labelTextColors=O,T.dataPoints=S,j=function(t,e){var a,i,n,r,s,o=t._model,l=t._chart,c=t._chart.chartArea,d="center",u="center";o.y<e.height?u="top":o.y>l.height-e.height&&(u="bottom");var p=(c.left+c.right)/2,h=(c.top+c.bottom)/2;i="center"===u?(a=function(t){return t<=p},function(t){return p<t}):(a=function(t){return t<=e.width/2},function(t){return t>=l.width-e.width/2}),n=function(t){return t+e.width+o.caretSize+o.caretPadding>l.width},r=function(t){return t-e.width-o.caretSize-o.caretPadding<0},s=function(t){return t<=h?"top":"bottom"},a(o.x)?(d="left",n(o.x)&&(d="center",u=s(o.y))):i(o.x)&&(d="right",r(o.x)&&(d="center",u=s(o.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:u}}(this,L=function(t,e){var a=t._chart.ctx,i=2*e.yPadding,n=0,s=e.body,o=s.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);o+=e.beforeBody.length+e.afterBody.length;var l=e.title.length,c=e.footer.length,d=e.titleFontSize,u=e.bodyFontSize,p=e.footerFontSize;i+=l*d,i+=l?(l-1)*e.titleSpacing:0,i+=l?e.titleMarginBottom:0,i+=o*u,i+=o?(o-1)*e.bodySpacing:0,i+=c?e.footerMarginTop:0,i+=c*p,i+=c?(c-1)*e.footerSpacing:0;var h=0,g=function(t){n=Math.max(n,a.measureText(t).width+h)};return a.font=r.fontString(d,e._titleFontStyle,e._titleFontFamily),r.each(e.title,g),a.font=r.fontString(u,e._bodyFontStyle,e._bodyFontFamily),r.each(e.beforeBody.concat(e.afterBody),g),h=e.displayColors?u+2:0,r.each(s,function(t){r.each(t.before,g),r.each(t.lines,g),r.each(t.after,g)}),h=0,a.font=r.fontString(p,e._footerFontStyle,e._footerFontFamily),r.each(e.footer,g),{width:n+=2*e.xPadding,height:i}}(this,T)),i=T,n=L,o=j,l=x._chart,c=i.x,u=i.y,p=i.caretSize,h=i.caretPadding,g=i.cornerRadius,f=o.xAlign,m=o.yAlign,_=p+h,A=g+h,"right"===f?c-=n.width:"center"===f&&((c-=n.width/2)+n.width>l.width&&(c=l.width-n.width),c<0&&(c=0)),"top"===m?u+=_:u-="bottom"===m?n.height+_:n.height/2,"center"===m?"left"===f?c+=_:"right"===f&&(c-=_):"left"===f?c-=A:"right"===f&&(c+=A),k={x:c,y:u}}else T.opacity=0;return T.xAlign=j.xAlign,T.yAlign=j.yAlign,T.x=k.x,T.y=k.y,T.width=L.width,T.height=L.height,T.caretX=z.x,T.caretY=z.y,x._model=T,t&&C.custom&&C.custom.call(x,T),x},drawCaret:function(t,e){var a=this._chart.ctx,i=this._view,n=this.getCaretPosition(t,e,i);a.lineTo(n.x1,n.y1),a.lineTo(n.x2,n.y2),a.lineTo(n.x3,n.y3)},getCaretPosition:function(t,e,a){var i,n,r,s,o,l,c=a.caretSize,d=a.cornerRadius,u=a.xAlign,p=a.yAlign,h=t.x,g=t.y,f=e.width,m=e.height;if("center"===p)o=g+m/2,l="left"===u?(n=(i=h)-c,r=i,s=o+c,o-c):(n=(i=h+f)+c,r=i,s=o-c,o+c);else if(i="left"===u?(n=h+d+c)-c:"right"===u?(n=h+f-d-c)-c:(n=a.caretX)-c,r=n+c,"top"===p)o=(s=g)-c,l=s;else{o=(s=g+m)+c,l=s;var _=r;r=i,i=_}return{x1:i,x2:n,x3:r,y1:s,y2:o,y3:l}},drawTitle:function(t,e,a,i){var n=e.title;if(n.length){var s,l;a.textAlign=e._titleAlign,a.textBaseline="top";var c=e.titleFontSize,d=e.titleSpacing;for(a.fillStyle=o(e.titleFontColor,i),a.font=r.fontString(c,e._titleFontStyle,e._titleFontFamily),s=0,l=n.length;s<l;++s)a.fillText(n[s],t.x,t.y),t.y+=c+d,s+1===n.length&&(t.y+=e.titleMarginBottom-d)}},drawBody:function(t,e,a,i){var n=e.bodyFontSize,s=e.bodySpacing,l=e.body;a.textAlign=e._bodyAlign,a.textBaseline="top",a.font=r.fontString(n,e._bodyFontStyle,e._bodyFontFamily);var c=0,d=function(e){a.fillText(e,t.x+c,t.y),t.y+=n+s};a.fillStyle=o(e.bodyFontColor,i),r.each(e.beforeBody,d);var u=e.displayColors;c=u?n+2:0,r.each(l,function(s,l){var c=o(e.labelTextColors[l],i);a.fillStyle=c,r.each(s.before,d),r.each(s.lines,function(r){u&&(a.fillStyle=o(e.legendColorBackground,i),a.fillRect(t.x,t.y,n,n),a.lineWidth=1,a.strokeStyle=o(e.labelColors[l].borderColor,i),a.strokeRect(t.x,t.y,n,n),a.fillStyle=o(e.labelColors[l].backgroundColor,i),a.fillRect(t.x+1,t.y+1,n-2,n-2),a.fillStyle=c),d(r)}),r.each(s.after,d)}),c=0,r.each(e.afterBody,d),t.y-=s},drawFooter:function(t,e,a,i){var n=e.footer;n.length&&(t.y+=e.footerMarginTop,a.textAlign=e._footerAlign,a.textBaseline="top",a.fillStyle=o(e.footerFontColor,i),a.font=r.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),r.each(n,function(i){a.fillText(i,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing}))},drawBackground:function(t,e,a,i,n){a.fillStyle=o(e.backgroundColor,n),a.strokeStyle=o(e.borderColor,n),a.lineWidth=e.borderWidth;var r=e.xAlign,s=e.yAlign,l=t.x,c=t.y,d=i.width,u=i.height,p=e.cornerRadius;a.beginPath(),a.moveTo(l+p,c),"top"===s&&this.drawCaret(t,i),a.lineTo(l+d-p,c),a.quadraticCurveTo(l+d,c,l+d,c+p),"center"===s&&"right"===r&&this.drawCaret(t,i),a.lineTo(l+d,c+u-p),a.quadraticCurveTo(l+d,c+u,l+d-p,c+u),"bottom"===s&&this.drawCaret(t,i),a.lineTo(l+p,c+u),a.quadraticCurveTo(l,c+u,l,c+u-p),"center"===s&&"left"===r&&this.drawCaret(t,i),a.lineTo(l,c+p),a.quadraticCurveTo(l,c,l+p,c),a.closePath(),a.fill(),e.borderWidth>0&&a.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var a={width:e.width,height:e.height},i={x:e.x,y:e.y},n=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(this.drawBackground(i,e,t,a,n),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,n),this.drawBody(i,e,t,n),this.drawFooter(i,e,t,n))}},handleEvent:function(t){var e,a=this,i=a._options;return a._lastActive=a._lastActive||[],"mouseout"===t.type?a._active=[]:a._active=a._chart.getElementsAtEventForMode(t,i.mode,i),(e=!r.arrayEquals(a._active,a._lastActive))&&(a._lastActive=a._active,(i.enabled||i.custom)&&(a._eventPosition={x:t.x,y:t.y},a.update(!0),a.pivot())),e}})).positioners=s},{26:26,27:27,46:46}],37:[function(t,e,a){var i=t(26),n=t(27),r=t(46);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=n.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var a=this._view;if(a){for(var i=r.getAngleFromPoint(a,{x:t,y:e}),n=i.angle,s=i.distance,o=a.startAngle,l=a.endAngle;l<o;)l+=2*Math.PI;for(;l<n;)n-=2*Math.PI;for(;n<o;)n+=2*Math.PI;var c=o<=n&&n<=l,d=s>=a.innerRadius&&s<=a.outerRadius;return c&&d}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,a=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*a,y:t.y+Math.sin(e)*a}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,a=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*a,y:t.y+Math.sin(e)*a}},draw:function(){var t=this._chart.ctx,e=this._view,a=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,a,i),t.arc(e.x,e.y,e.innerRadius,i,a,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{26:26,27:27,46:46}],38:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:s.defaultColor,borderWidth:3,borderColor:s.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=n.extend({draw:function(){var t,e,a,i,n=this._view,o=this._chart.ctx,l=n.spanGaps,c=this._children.slice(),d=s.elements.line,u=-1;for(this._loop&&c.length&&c.push(c[0]),o.save(),o.lineCap=n.borderCapStyle||d.borderCapStyle,o.setLineDash&&o.setLineDash(n.borderDash||d.borderDash),o.lineDashOffset=n.borderDashOffset||d.borderDashOffset,o.lineJoin=n.borderJoinStyle||d.borderJoinStyle,o.lineWidth=n.borderWidth||d.borderWidth,o.strokeStyle=n.borderColor||s.defaultColor,o.beginPath(),u=-1,t=0;t<c.length;++t)e=c[t],a=r.previousItem(c,t),i=e._view,0===t?i.skip||(o.moveTo(i.x,i.y),u=t):(a=-1===u?a:c[u],i.skip||(u!==t-1&&!l||-1===u?o.moveTo(i.x,i.y):r.canvas.lineTo(o,a._view,e._view),u=t));o.stroke(),o.restore()}})},{26:26,27:27,46:46}],39:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=i.global.defaultColor;function o(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}i._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:s,borderColor:s,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=n.extend({inRange:function(t,e){var a=this._view;return!!a&&Math.pow(t-a.x,2)+Math.pow(e-a.y,2)<Math.pow(a.hitRadius+a.radius,2)},inLabelRange:o,inXRange:o,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,a=this._model,n=this._chart.ctx,o=e.pointStyle,l=e.rotation,c=e.radius,d=e.x,u=e.y;e.skip||(void 0===t||a.x>=t.left&&1.01*t.right>=a.x&&a.y>=t.top&&1.01*t.bottom>=a.y)&&(n.strokeStyle=e.borderColor||s,n.lineWidth=r.valueOrDefault(e.borderWidth,i.global.elements.point.borderWidth),n.fillStyle=e.backgroundColor||s,r.canvas.drawPoint(n,o,c,d,u,l))}})},{26:26,27:27,46:46}],40:[function(t,e,a){var i=t(26),n=t(27);function r(t){return void 0!==t._view.width}function s(t){var e,a,i,n,s=t._view;if(r(t)){var o=s.width/2;e=s.x-o,a=s.x+o,i=Math.min(s.y,s.base),n=Math.max(s.y,s.base)}else{var l=s.height/2;e=Math.min(s.x,s.base),a=Math.max(s.x,s.base),i=s.y-l,n=s.y+l}return{left:e,top:i,right:a,bottom:n}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=n.extend({draw:function(){var t,e,a,i,n,r,s,o=this._chart.ctx,l=this._view,c=l.borderWidth;if(s=l.horizontal?(t=l.base,e=l.x,a=l.y-l.height/2,i=l.y+l.height/2,n=t<e?1:-1,r=1,l.borderSkipped||"left"):(t=l.x-l.width/2,e=l.x+l.width/2,n=1,r=(a=l.y)<(i=l.base)?1:-1,l.borderSkipped||"bottom"),c){var d=Math.min(Math.abs(t-e),Math.abs(a-i)),u=(c=d<c?d:c)/2,p=t+("left"!==s?u*n:0),h=e+("right"!==s?-u*n:0),g=a+("top"!==s?u*r:0),f=i+("bottom"!==s?-u*r:0);p!==h&&(a=g,i=f),g!==f&&(t=p,e=h)}o.beginPath(),o.fillStyle=l.backgroundColor,o.strokeStyle=l.borderColor,o.lineWidth=c;var m=[[t,i],[t,a],[e,a],[e,i]],_=["bottom","left","top","right"].indexOf(s,0);function A(t){return m[(_+t)%4]}-1===_&&(_=0);var v=A(0);o.moveTo(v[0],v[1]);for(var M=1;M<4;M++)v=A(M),o.lineTo(v[0],v[1]);o.fill(),c&&o.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var a=!1;if(this._view){var i=s(this);a=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return a},inLabelRange:function(t,e){if(!this._view)return!1;var a=s(this);return r(this)?t>=a.left&&t<=a.right:e>=a.top&&e<=a.bottom},inXRange:function(t){var e=s(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=s(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,a=this._view;return e=r(this)?(t=a.x,(a.y+a.base)/2):(t=(a.x+a.base)/2,a.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{26:26,27:27}],41:[function(t,e,a){e.exports={},e.exports.Arc=t(37),e.exports.Line=t(38),e.exports.Point=t(39),e.exports.Rectangle=t(40)},{37:37,38:38,39:39,40:40}],42:[function(t,e,a){var i=t(43);a=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,a,i,n,r){if(r){var s=Math.min(r,n/2-1e-7,i/2-1e-7);t.moveTo(e+s,a),t.lineTo(e+i-s,a),t.arcTo(e+i,a,e+i,a+s,s),t.lineTo(e+i,a+n-s),t.arcTo(e+i,a+n,e+i-s,a+n,s),t.lineTo(e+s,a+n),t.arcTo(e,a+n,e,a+n-s,s),t.lineTo(e,a+s),t.arcTo(e,a,e+s,a,s),t.closePath(),t.moveTo(e,a)}else t.rect(e,a,i,n)},drawPoint:function(t,e,a,i,n,r){var o,l,c,d,u,p;if(r=r||0,!e||"object"!==s()(e)||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(a)||a<=0)){switch(t.save(),t.translate(i,n),t.rotate(r*Math.PI/180),t.beginPath(),e){default:t.arc(0,0,a,0,2*Math.PI),t.closePath();break;case"triangle":u=(l=3*a/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(-l/2,u/3),t.lineTo(l/2,u/3),t.lineTo(0,-2*u/3),t.closePath();break;case"rect":p=1/Math.SQRT2*a,t.rect(-p,-p,2*p,2*p);break;case"rectRounded":var h=a/Math.SQRT2,g=-h,f=-h,m=Math.SQRT2*a;this.roundedRect(t,g,f,m,m,.425*a);break;case"rectRot":p=1/Math.SQRT2*a,t.moveTo(-p,0),t.lineTo(0,p),t.lineTo(p,0),t.lineTo(0,-p),t.closePath();break;case"cross":t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0);break;case"crossRot":c=Math.cos(Math.PI/4)*a,d=Math.sin(Math.PI/4)*a,t.moveTo(-c,-d),t.lineTo(c,d),t.moveTo(-c,d),t.lineTo(c,-d);break;case"star":t.moveTo(0,a),t.lineTo(0,-a),t.moveTo(-a,0),t.lineTo(a,0),c=Math.cos(Math.PI/4)*a,d=Math.sin(Math.PI/4)*a,t.moveTo(-c,-d),t.lineTo(c,d),t.moveTo(-c,d),t.lineTo(c,-d);break;case"line":t.moveTo(-a,0),t.lineTo(a,0);break;case"dash":t.moveTo(0,0),t.lineTo(a,0)}t.fill(),t.stroke(),t.restore()}}else t.drawImage(e,i-e.width/2,n-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,a,i){if(a.steppedLine)return"after"===a.steppedLine&&!i||"after"!==a.steppedLine&&i?t.lineTo(e.x,a.y):t.lineTo(a.x,e.y),void t.lineTo(a.x,a.y);a.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?a.controlPointNextX:a.controlPointPreviousX,i?a.controlPointNextY:a.controlPointPreviousY,a.x,a.y):t.lineTo(a.x,a.y)}},i.clear=a.clear,i.drawRoundedRectangle=function(t){t.beginPath(),a.roundedRect.apply(a,arguments)}},{43:43}],43:[function(t,e,a){var i,n={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,a){return n.valueOrDefault(n.isArray(t)?t[e]:t,a)},callback:function(t,e,a){if(t&&"function"==typeof t.call)return t.apply(a,e)},each:function(t,e,a,i){var r,s,o;if(n.isArray(t))if(s=t.length,i)for(r=s-1;r>=0;r--)e.call(a,t[r],r);else for(r=0;r<s;r++)e.call(a,t[r],r);else if(n.isObject(t))for(s=(o=Object.keys(t)).length,r=0;r<s;r++)e.call(a,t[o[r]],o[r])},arrayEquals:function(t,e){var a,i,r,s;if(!t||!e||t.length!==e.length)return!1;for(a=0,i=t.length;a<i;++a)if(r=t[a],s=e[a],r instanceof Array&&s instanceof Array){if(!n.arrayEquals(r,s))return!1}else if(r!==s)return!1;return!0},clone:function(t){if(n.isArray(t))return t.map(n.clone);if(n.isObject(t)){for(var e={},a=Object.keys(t),i=a.length,r=0;r<i;++r)e[a[r]]=n.clone(t[a[r]]);return e}return t},_merger:function(t,e,a,i){var r=e[t],s=a[t];n.isObject(r)&&n.isObject(s)?n.merge(r,s,i):e[t]=n.clone(s)},_mergerIf:function(t,e,a){var i=e[t],r=a[t];n.isObject(i)&&n.isObject(r)?n.mergeIf(i,r):e.hasOwnProperty(t)||(e[t]=n.clone(r))},merge:function(t,e,a){var i,r,s,o,l,c=n.isArray(e)?e:[e],d=c.length;if(!n.isObject(t))return t;for(i=(a=a||{}).merger||n._merger,r=0;r<d;++r)if(e=c[r],n.isObject(e))for(l=0,o=(s=Object.keys(e)).length;l<o;++l)i(s[l],t,e,a);return t},mergeIf:function(t,e){return n.merge(t,e,{merger:n._mergerIf})},extend:function(t){for(var e=function(e,a){t[a]=e},a=1,i=arguments.length;a<i;++a)n.each(arguments[a],e);return t},inherits:function(t){var e=this,a=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=a};return i.prototype=e.prototype,a.prototype=new i,a.extend=n.inherits,t&&n.extend(a.prototype,t),a.__super__=e.prototype,a}};(e.exports=n).callCallback=n.callback,n.indexOf=function(t,e,a){return Array.prototype.indexOf.call(t,e,a)},n.getValueOrDefault=n.valueOrDefault,n.getValueAtIndexOrDefault=n.valueAtIndexOrDefault},{}],44:[function(t,e,a){var i=t(43),n={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,a=0,i=1;return 0===t?0:1===t?1:(a||(a=.3),e=i<1?(i=1,a/4):a/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a))},easeOutElastic:function(t){var e=1.70158,a=0,i=1;return 0===t?0:1===t?1:(a||(a=.3),e=i<1?(i=1,a/4):a/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/a)+1)},easeInOutElastic:function(t){var e=1.70158,a=0,i=1;return 0===t?0:2==(t/=.5)?1:(a||(a=.45),e=i<1?(i=1,a/4):a/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-n.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*n.easeInBounce(2*t):.5*n.easeOutBounce(2*t-1)+.5}};e.exports={effects:n},i.easingEffects=n},{43:43}],45:[function(t,e,a){var i=t(43);e.exports={toLineHeight:function(t,e){var a=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!a||"normal"===a[1])return 1.2*e;switch(t=+a[2],a[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,a,n,r;return i.isObject(t)?(e=+t.top||0,a=+t.right||0,n=+t.bottom||0,r=+t.left||0):e=a=n=r=+t||0,{top:e,right:a,bottom:n,left:r,height:e+n,width:r+a}},resolve:function(t,e,a){var n,r,s;for(n=0,r=t.length;n<r;++n)if(void 0!==(s=t[n])&&(void 0!==e&&"function"==typeof s&&(s=s(e)),void 0!==a&&i.isArray(s)&&(s=s[a]),void 0!==s))return s}}},{43:43}],46:[function(t,e,a){e.exports=t(43),e.exports.easing=t(44),e.exports.canvas=t(42),e.exports.options=t(45)},{42:42,43:43,44:44,45:45}],47:[function(t,e,a){e.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},{}],48:[function(t,e,a){var i=t(46),n="$chartjs",r="chartjs-",s=r+"render-monitor",o=r+"render-animation",l=["animationstart","webkitAnimationStart"],c={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function d(t,e){var a=i.getStyle(t,e),n=a&&a.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var u=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function p(t,e,a){t.addEventListener(e,a,u)}function h(t,e,a){t.removeEventListener(e,a,u)}function g(t,e,a,i,n){return{type:t,chart:e,native:n||null,x:void 0!==a?a:null,y:void 0!==i?i:null}}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t,e,a,i="from{opacity:0.99}to{opacity:1}";e="@-webkit-keyframes "+o+"{"+i+"}@keyframes "+o+"{"+i+"}."+s+"{-webkit-animation:"+o+" 0.001s;animation:"+o+" 0.001s;}",a=(t=this)._style||document.createElement("style"),t._style||(e="/* Chart.js */\n"+e,(t._style=a).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(a)),a.appendChild(document.createTextNode(e))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var a=t&&t.getContext&&t.getContext("2d");return a&&a.canvas===t?(function(t,e){var a=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[n]={initial:{height:i,width:r,style:{display:a.display,height:a.height,width:a.width}}},a.display=a.display||"block",null===r||""===r){var s=d(t,"width");void 0!==s&&(t.width=s)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=d(t,"height");void 0!==s&&(t.height=o)}}(t,e),a):null},releaseContext:function(t){var e=t.canvas;if(e[n]){var a=e[n].initial;["height","width"].forEach(function(t){var n=a[t];i.isNullOrUndef(n)?e.removeAttribute(t):e.setAttribute(t,n)}),i.each(a.style||{},function(t,a){e.style[a]=t}),e.width=e.width,delete e[n]}},addEventListener:function(t,e,a){var d=t.canvas;if("resize"!==e){var u=a[n]||(a[n]={});p(d,e,(u.proxies||(u.proxies={}))[t.id+"_"+e]=function(e){var n,r,s;a((r=t,g(c[(n=e).type]||n.type,r,(s=i.getRelativePosition(n,r)).x,s.y,n)))})}else!function(t,e,a){var c,d,u,h,f,m,_,A,v=t[n]||(t[n]={}),M=v.resizer=function(t){var e=document.createElement("div"),a=r+"size-monitor",i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";e.style.cssText=i,e.className=a,e.innerHTML='<div class="'+a+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+a+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var n=e.childNodes[0],s=e.childNodes[1];e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,s.scrollLeft=1e6,s.scrollTop=1e6};var o=function(){e._reset(),t()};return p(n,"scroll",o.bind(n,"expand")),p(s,"scroll",o.bind(s,"shrink")),e}((u=!(c=function(){if(v.resizer)return e(g("resize",a))}),h=[],function(){h=Array.prototype.slice.call(arguments),d=d||this,u||(u=!0,i.requestAnimFrame.call(window,function(){u=!1,c.apply(d,h)}))}));m=function(){if(v.resizer){var e=t.parentNode;e&&e!==M.parentNode&&e.insertBefore(M,e.firstChild),M._reset()}},_=(f=t)[n]||(f[n]={}),A=_.renderProxy=function(t){t.animationName===o&&m()},i.each(l,function(t){p(f,t,A)}),_.reflow=!!f.offsetParent,f.classList.add(s)}(d,a,t)},removeEventListener:function(t,e,a){var r=t.canvas;if("resize"!==e){var o=((a[n]||{}).proxies||{})[t.id+"_"+e];o&&h(r,e,o)}else!function(t){var e,a,r,o=t[n]||{},c=o.resizer;delete o.resizer,a=(e=t)[n]||{},(r=a.renderProxy)&&(i.each(l,function(t){h(e,t,r)}),delete a.renderProxy),e.classList.remove(s),c&&c.parentNode&&c.parentNode.removeChild(c)}(r)}},i.addEvent=p,i.removeEvent=h},{46:46}],49:[function(t,e,a){var i=t(46),n=t(47),r=t(48),s=r._enabled?r:n;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},s)},{46:46,47:47,48:48}],50:[function(t,e,a){e.exports={},e.exports.filler=t(51),e.exports.legend=t(52),e.exports.title=t(53)},{51:51,52:52,53:53}],51:[function(t,e,a){var i=t(26),n=t(41),r=t(46);i._set("global",{plugins:{filler:{propagate:!0}}});var s={dataset:function(t){var e=t.fill,a=t.chart,i=a.getDatasetMeta(e),n=i&&a.isDatasetVisible(e)&&i.dataset._children||[],r=n.length||0;return r?function(t,e){return e<r&&n[e]._view||null}:null},boundary:function(t){var e=t.boundary,a=e?e.x:null,i=e?e.y:null;return function(t){return{x:null===a?t.x:a,y:null===i?t.y:i}}}};function o(t,e,a){var i,n=t._model||{},r=n.fill;if(void 0===r&&(r=!!n.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||a<=i)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function l(t){var e,a=t.el._model||{},i=t.el._scale||{},n=t.fill,r=null;if(isFinite(n))return null;if("start"===n?r=void 0===a.scaleBottom?i.bottom:a.scaleBottom:"end"===n?r=void 0===a.scaleTop?i.top:a.scaleTop:void 0!==a.scaleZero?r=a.scaleZero:i.getBasePosition?r=i.getBasePosition():i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if("number"==typeof r&&isFinite(r))return{x:(e=i.isHorizontal())?r:null,y:e?null:r}}return null}function c(t,e,a){var i,n=t[e].fill,r=[e];if(!a)return n;for(;!1!==n&&-1===r.indexOf(n);){if(!isFinite(n))return n;if(!(i=t[n]))return!1;if(i.visible)return n;r.push(n),n=i.fill}return!1}function d(t){return t&&!t.skip}function u(t,e,a,i,n){var s;if(i&&n){for(t.moveTo(e[0].x,e[0].y),s=1;s<i;++s)r.canvas.lineTo(t,e[s-1],e[s]);for(t.lineTo(a[n-1].x,a[n-1].y),s=n-1;s>0;--s)r.canvas.lineTo(t,a[s],a[s-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(t,e){var a,i,r,d,u,p,h,g=(t.data.datasets||[]).length,f=e.propagate,m=[];for(i=0;i<g;++i)d=null,(r=(a=t.getDatasetMeta(i)).dataset)&&r._model&&r instanceof n.Line&&(d={visible:t.isDatasetVisible(i),fill:o(r,i,g),chart:t,el:r}),a.$filler=d,m.push(d);for(i=0;i<g;++i)(d=m[i])&&(d.fill=c(m,i,f),d.boundary=l(d),d.mapper=(h=void 0,!(h="dataset")===(p=(u=d).fill)?null:(isFinite(p)||(h="boundary"),s[h](u))))},beforeDatasetDraw:function(t,e){var a=e.meta.$filler;if(a){var n=t.ctx,s=a.el,o=s._view,l=s._children||[],c=a.mapper,p=o.backgroundColor||i.global.defaultColor;c&&p&&l.length&&(r.canvas.clipArea(n,t.chartArea),function(t,e,a,i,n,r){var s,o,l,c,p,h,g,f=e.length,m=i.spanGaps,_=[],A=[],v=0,M=0;for(t.beginPath(),s=0,o=f+!!r;s<o;++s)p=a(c=e[l=s%f]._view,l,i),h=d(c),g=d(p),h&&g?(v=_.push(c),M=A.push(p)):v&&M&&(m?(h&&_.push(c),g&&A.push(p)):(u(t,_,A,v,M),v=M=0,_=[],A=[]));u(t,_,A,v,M),t.closePath(),t.fillStyle=n,t.fill()}(n,l,c,o,p,s._loop),r.canvas.unclipArea(n))}}}},{26:26,41:41,46:46}],52:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=t(31),o=r.noop;function l(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}i._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var a=e.datasetIndex,i=this.chart,n=i.getDatasetMeta(a);n.hidden=null===n.hidden?!i.data.datasets[a].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return r.isArray(e.datasets)?e.datasets.map(function(e,a){return{text:e.label,fillStyle:r.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(a),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:a}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var a=0;a<t.data.datasets.length;a++)e.push('<li><span style="background-color:'+t.data.datasets[a].backgroundColor+'"></span>'),t.data.datasets[a].label&&e.push(t.data.datasets[a].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var c=n.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:o,update:function(t,e,a){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=a,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:function(){var t=this,e=t.options.labels||{},a=r.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(a=a.filter(function(a){return e.filter(a,t.chart.data)})),t.options.reverse&&a.reverse(),t.legendItems=a},afterBuildLabels:o,beforeFit:o,fit:function(){var t=this,e=t.options,a=e.labels,n=e.display,s=t.ctx,o=i.global,c=r.valueOrDefault,d=c(a.fontSize,o.defaultFontSize),u=c(a.fontStyle,o.defaultFontStyle),p=c(a.fontFamily,o.defaultFontFamily),h=r.fontString(d,u,p),g=t.legendHitBoxes=[],f=t.minSize,m=t.isHorizontal();if(f.height=m?(f.width=t.maxWidth,n?10:0):(f.width=n?10:0,t.maxHeight),n)if(s.font=h,m){var _=t.lineWidths=[0],A=t.legendItems.length?d+a.padding:0;s.textAlign="left",s.textBaseline="top",r.each(t.legendItems,function(e,i){var n=l(a,d)+d/2+s.measureText(e.text).width;_[_.length-1]+n+a.padding>=t.width&&(A+=d+a.padding,_[_.length]=t.left),g[i]={left:0,top:0,width:n,height:d},_[_.length-1]+=n+a.padding}),f.height+=A}else{var v=a.padding,M=t.columnWidths=[],y=a.padding,b=0,w=0,x=d+v;r.each(t.legendItems,function(t,e){var i=l(a,d)+d/2+s.measureText(t.text).width;w+x>f.height&&(y+=b+a.padding,M.push(b),w=b=0),b=Math.max(b,i),w+=x,g[e]={left:0,top:0,width:i,height:d}}),y+=b,M.push(b),f.width+=y}t.width=f.width,t.height=f.height},afterFit:o,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,a=e.labels,n=i.global,s=n.elements.line,o=t.width,c=t.lineWidths;if(e.display){var d,u=t.ctx,p=r.valueOrDefault,h=p(a.fontColor,n.defaultFontColor),g=p(a.fontSize,n.defaultFontSize),f=p(a.fontStyle,n.defaultFontStyle),m=p(a.fontFamily,n.defaultFontFamily),_=r.fontString(g,f,m);u.textAlign="left",u.textBaseline="middle",u.lineWidth=.5,u.strokeStyle=h,u.fillStyle=h,u.font=_;var A=l(a,g),v=t.legendHitBoxes,M=t.isHorizontal();d=M?{x:t.left+(o-c[0])/2,y:t.top+a.padding,line:0}:{x:t.left+a.padding,y:t.top+a.padding,line:0};var y=g+a.padding;r.each(t.legendItems,function(i,l){var h,f,m,_,b,w=u.measureText(i.text).width,x=A+g/2+w,C=d.x,N=d.y;M?o<=C+x&&(N=d.y+=y,d.line++,C=d.x=t.left+(o-c[d.line])/2):N+y>t.bottom&&(C=d.x=C+t.columnWidths[d.line]+a.padding,N=d.y=t.top+a.padding,d.line++),function(t,a,i){if(!(isNaN(A)||A<=0)){u.save(),u.fillStyle=p(i.fillStyle,n.defaultColor),u.lineCap=p(i.lineCap,s.borderCapStyle),u.lineDashOffset=p(i.lineDashOffset,s.borderDashOffset),u.lineJoin=p(i.lineJoin,s.borderJoinStyle),u.lineWidth=p(i.lineWidth,s.borderWidth),u.strokeStyle=p(i.strokeStyle,n.defaultColor);var o=0===p(i.lineWidth,s.borderWidth);if(u.setLineDash&&u.setLineDash(p(i.lineDash,s.borderDash)),e.labels&&e.labels.usePointStyle){var l=g*Math.SQRT2/2,c=l/Math.SQRT2,d=t+c,h=a+c;r.canvas.drawPoint(u,i.pointStyle,l,d,h)}else o||u.strokeRect(t,a,A,g),u.fillRect(t,a,A,g);u.restore()}}(C,N,i),v[l].left=C,v[l].top=N,h=i,f=w,_=A+(m=g/2)+C,b=N+m,u.fillText(h.text,_,b),h.hidden&&(u.beginPath(),u.lineWidth=2,u.moveTo(_,b),u.lineTo(_+f,b),u.stroke()),M?d.x+=x+a.padding:d.y+=y})}},handleEvent:function(t){var e=this,a=e.options,i="mouseup"===t.type?"click":t.type,n=!1;if("mousemove"===i){if(!a.onHover)return}else{if("click"!==i)return;if(!a.onClick)return}var r=t.x,s=t.y;if(r>=e.left&&r<=e.right&&s>=e.top&&s<=e.bottom)for(var o=e.legendHitBoxes,l=0;l<o.length;++l){var c=o[l];if(r>=c.left&&r<=c.left+c.width&&s>=c.top&&s<=c.top+c.height){if("click"===i){a.onClick.call(e,t.native,e.legendItems[l]),n=!0;break}if("mousemove"===i){a.onHover.call(e,t.native,e.legendItems[l]),n=!0;break}}}return n}});function d(t,e){var a=new c({ctx:t.ctx,options:e,chart:t});s.configure(t,a,e),s.addBox(t,a),t.legend=a}e.exports={id:"legend",_element:c,beforeInit:function(t){var e=t.options.legend;e&&d(t,e)},beforeUpdate:function(t){var e=t.options.legend,a=t.legend;e?(r.mergeIf(e,i.global.legend),a?(s.configure(t,a,e),a.options=e):d(t,e)):a&&(s.removeBox(t,a),delete t.legend)},afterEvent:function(t,e){var a=t.legend;a&&a.handleEvent(e)}}},{26:26,27:27,31:31,46:46}],53:[function(t,e,a){var i=t(26),n=t(27),r=t(46),s=t(31),o=r.noop;i._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var l=n.extend({initialize:function(t){r.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:o,update:function(t,e,a){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=a,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:o,beforeSetDimensions:o,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:o,beforeBuildLabels:o,buildLabels:o,afterBuildLabels:o,beforeFit:o,fit:function(){var t=this,e=r.valueOrDefault,a=t.options,n=a.display,s=e(a.fontSize,i.global.defaultFontSize),o=t.minSize,l=r.isArray(a.text)?a.text.length:1,c=r.options.toLineHeight(a.lineHeight,s),d=n?l*c+2*a.padding:0;t.isHorizontal()?(o.width=t.maxWidth,o.height=d):(o.width=d,o.height=t.maxHeight),t.width=o.width,t.height=o.height},afterFit:o,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,a=r.valueOrDefault,n=t.options,s=i.global;if(n.display){var o,l,c,d=a(n.fontSize,s.defaultFontSize),u=a(n.fontStyle,s.defaultFontStyle),p=a(n.fontFamily,s.defaultFontFamily),h=r.fontString(d,u,p),g=r.options.toLineHeight(n.lineHeight,d),f=g/2+n.padding,m=0,_=t.top,A=t.left,v=t.bottom,M=t.right;e.fillStyle=a(n.fontColor,s.defaultFontColor),e.font=h,t.isHorizontal()?(l=A+(M-A)/2,c=_+f,o=M-A):(l="left"===n.position?A+f:M-f,c=_+(v-_)/2,o=v-_,m=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(l,c),e.rotate(m),e.textAlign="center",e.textBaseline="middle";var y=n.text;if(r.isArray(y))for(var b=0,w=0;w<y.length;++w)e.fillText(y[w],0,b,o),b+=g;else e.fillText(y,0,0,o);e.restore()}}});function c(t,e){var a=new l({ctx:t.ctx,options:e,chart:t});s.configure(t,a,e),s.addBox(t,a),t.titleBlock=a}e.exports={id:"title",_element:l,beforeInit:function(t){var e=t.options.title;e&&c(t,e)},beforeUpdate:function(t){var e=t.options.title,a=t.titleBlock;e?(r.mergeIf(e,i.global.title),a?(s.configure(t,a,e),a.options=e):c(t,e)):a&&(s.removeBox(t,a),delete t.titleBlock)}}},{26:26,27:27,31:31,46:46}],54:[function(t,e,a){var i=t(33),n=t(34);e.exports=function(){var t=i.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,a=e.getLabels();e.minIndex=0,e.maxIndex=a.length-1,void 0!==e.options.ticks.min&&(t=a.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=a.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=a[e.minIndex],e.max=a[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var a=this,i=a.chart.data,n=a.isHorizontal();return i.yLabels&&!n?a.getRightValue(i.datasets[e].data[t]):a.ticks[t-a.minIndex]},getPixelForValue:function(t,e){var a,i=this,n=i.options.offset,r=Math.max(i.maxIndex+1-i.minIndex-(n?0:1),1);if(null!=t&&(a=i.isHorizontal()?t.x:t.y),void 0!==a||void 0!==t&&isNaN(e)){t=a||t;var s=i.getLabels().indexOf(t);e=-1!==s?s:e}if(i.isHorizontal()){var o=i.width/r,l=o*(e-i.minIndex);return n&&(l+=o/2),i.left+Math.round(l)}var c=i.height/r,d=c*(e-i.minIndex);return n&&(d+=c/2),i.top+Math.round(d)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,a=e.options.offset,i=Math.max(e._ticks.length-(a?0:1),1),n=e.isHorizontal(),r=(n?e.width:e.height)/i;return t-=n?e.left:e.top,a&&(t-=r/2),(t<=0?0:Math.round(t/r))+e.minIndex},getBasePixel:function(){return this.bottom}});n.registerScaleType("category",t,{position:"bottom"})}},{33:33,34:34}],55:[function(t,e,a){var i=t(26),n=t(46),r=t(34),s=t(35);e.exports=function(t){var e={position:"left",ticks:{callback:s.formatters.linear}},a=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,e=t.options,a=t.chart,i=a.data.datasets,r=t.isHorizontal();function s(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var o=e.stacked;if(void 0===o&&n.each(i,function(t,e){if(!o){var i=a.getDatasetMeta(e);a.isDatasetVisible(e)&&s(i)&&void 0!==i.stack&&(o=!0)}}),e.stacked||o){var l={};n.each(i,function(i,r){var o=a.getDatasetMeta(r),c=[o.type,void 0===e.stacked&&void 0===o.stack?r:"",o.stack].join(".");void 0===l[c]&&(l[c]={positiveValues:[],negativeValues:[]});var d=l[c].positiveValues,u=l[c].negativeValues;a.isDatasetVisible(r)&&s(o)&&n.each(i.data,function(a,i){var n=+t.getRightValue(a);isNaN(n)||o.data[i].hidden||(d[i]=d[i]||0,u[i]=u[i]||0,e.relativePoints?d[i]=100:n<0?u[i]+=n:d[i]+=n)})}),n.each(l,function(e){var a=e.positiveValues.concat(e.negativeValues),i=n.min(a),r=n.max(a);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?r:Math.max(t.max,r)})}else n.each(i,function(e,i){var r=a.getDatasetMeta(i);a.isDatasetVisible(i)&&s(r)&&n.each(e.data,function(e,a){var i=+t.getRightValue(e);isNaN(i)||r.data[a].hidden||(null===t.min?t.min=i:i<t.min&&(t.min=i),null===t.max?t.max=i:i>t.max&&(t.max=i))})});t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var a=n.valueOrDefault(e.fontSize,i.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*a)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,a=e.start,i=+e.getRightValue(t),n=e.end-a;return e.isHorizontal()?e.left+e.width/n*(i-a):e.bottom-e.height/n*(i-a)},getValueForPixel:function(t){var e=this,a=e.isHorizontal(),i=a?e.width:e.height,n=(a?t-e.left:e.bottom-t)/i;return e.start+(e.end-e.start)*n},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});r.registerScaleType("linear",a,e)}},{26:26,34:34,35:35,46:46}],56:[function(t,e,a){var i=t(46),n=t(33);e.exports=function(t){var e=i.noop;t.LinearScaleBase=n.extend({getRightValue:function(t){return"string"==typeof t?+t:n.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var a=i.sign(t.min),n=i.sign(t.max);a<0&&n<0?t.max=0:a>0&&n>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,s=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),r!==s&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,a=t.getTickLimit(),n={maxTicks:a=Math.max(2,a),min:e.min,max:e.max,precision:e.precision,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var a,n,r,s=[];if(t.stepSize&&t.stepSize>0)r=t.stepSize;else{var o=i.niceNum(e.max-e.min,!1);r=i.niceNum(o/(t.maxTicks-1),!0),void 0!==(n=t.precision)&&(a=Math.pow(10,n),r=Math.ceil(r*a)/a)}var l=Math.floor(e.min/r)*r,c=Math.ceil(e.max/r)*r;i.isNullOrUndef(t.min)||i.isNullOrUndef(t.max)||!t.stepSize||i.almostWhole((t.max-t.min)/t.stepSize,r/1e3)&&(l=t.min,c=t.max);var d=(c-l)/r;d=i.almostEquals(d,Math.round(d),r/1e3)?Math.round(d):Math.ceil(d),r<(n=1)&&(n=Math.pow(10,1-Math.floor(i.log10(r))),l=Math.round(l*n)/n,c=Math.round(c*n)/n),s.push(void 0!==t.min?t.min:l);for(var u=1;u<d;++u)s.push(Math.round((l+u*r)*n)/n);return s.push(void 0!==t.max?t.max:c),s}(n,t);t.handleDirectionalChanges(),t.max=i.max(r),t.min=i.min(r),e.reverse?(r.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),n.prototype.convertTicksToLabels.call(t)}})}},{33:33,46:46}],57:[function(t,e,a){var i=t(46),n=t(33),r=t(34),s=t(35);e.exports=function(t){var e={position:"left",ticks:{callback:s.formatters.logarithmic}},a=n.extend({determineDataLimits:function(){var t=this,e=t.options,a=t.chart,n=a.data.datasets,r=t.isHorizontal();function s(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var o=e.stacked;if(void 0===o&&i.each(n,function(t,e){if(!o){var i=a.getDatasetMeta(e);a.isDatasetVisible(e)&&s(i)&&void 0!==i.stack&&(o=!0)}}),e.stacked||o){var l={};i.each(n,function(n,r){var o=a.getDatasetMeta(r),c=[o.type,void 0===e.stacked&&void 0===o.stack?r:"",o.stack].join(".");a.isDatasetVisible(r)&&s(o)&&(void 0===l[c]&&(l[c]=[]),i.each(n.data,function(e,a){var i=l[c],n=+t.getRightValue(e);isNaN(n)||o.data[a].hidden||n<0||(i[a]=i[a]||0,i[a]+=n)}))}),i.each(l,function(e){if(e.length>0){var a=i.min(e),n=i.max(e);t.min=null===t.min?a:Math.min(t.min,a),t.max=null===t.max?n:Math.max(t.max,n)}})}else i.each(n,function(e,n){var r=a.getDatasetMeta(n);a.isDatasetVisible(n)&&s(r)&&i.each(e.data,function(e,a){var i=+t.getRightValue(e);isNaN(i)||r.data[a].hidden||i<0||(null===t.min?t.min=i:i<t.min&&(t.min=i),null===t.max?t.max=i:i>t.max&&(t.max=i),0!==i&&(null===t.minNotZero||i<t.minNotZero)&&(t.minNotZero=i))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,a=i.valueOrDefault;t.min=a(e.min,t.min),t.max=a(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(i.log10(t.min))-1),t.max=Math.pow(10,Math.floor(i.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(i.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(i.log10(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(i.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,a=!t.isHorizontal(),n={min:e.min,max:e.max},r=t.ticks=function(t,e){var a,n,r=[],s=i.valueOrDefault,o=s(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),l=Math.floor(i.log10(e.max)),c=Math.ceil(e.max/Math.pow(10,l));0===o?(a=Math.floor(i.log10(e.minNotZero)),n=Math.floor(e.minNotZero/Math.pow(10,a)),r.push(o),o=n*Math.pow(10,a)):(a=Math.floor(i.log10(o)),n=Math.floor(o/Math.pow(10,a)));for(var d=a<0?Math.pow(10,Math.abs(a)):1;r.push(o),10==++n&&(n=1,d=++a>=0?1:d),o=Math.round(n*Math.pow(10,a)*d)/d,a<l||a===l&&n<c;);var u=s(t.max,o);return r.push(u),r}(n,t);t.max=i.max(r),t.min=i.min(r),e.reverse?(a=!a,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),a&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),n.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(i.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(e){var a,n,r,s,o,l=this,c=l.options.ticks.reverse,d=i.log10,u=l._getFirstTickValue(l.minNotZero),p=0;return e=+l.getRightValue(e),o=c?(r=l.end,s=l.start,-1):(r=l.start,s=l.end,1),n=l.isHorizontal()?(a=l.width,c?l.right:l.left):(a=l.height,o*=-1,c?l.top:l.bottom),e!==r&&(0===r&&(a-=p=i.getValueOrDefault(l.options.ticks.fontSize,t.defaults.global.defaultFontSize),r=u),0!==e&&(p+=a/(d(s)-d(r))*(d(e)-d(r))),n+=o*p),n},getValueForPixel:function(e){var a,n,r,s,o=this,l=o.options.ticks.reverse,c=i.log10,d=o._getFirstTickValue(o.minNotZero);if(r=l?(n=o.end,o.start):(n=o.start,o.end),(s=o.isHorizontal()?(a=o.width,l?o.right-e:e-o.left):(a=o.height,l?e-o.top:o.bottom-e))!==n){if(0===n){var u=i.getValueOrDefault(o.options.ticks.fontSize,t.defaults.global.defaultFontSize);s-=u,a-=u,n=d}s*=c(r)-c(n),s/=a,s=Math.pow(10,c(n)+s)}return s}});r.registerScaleType("logarithmic",a,e)}},{33:33,34:34,35:35,46:46}],58:[function(t,e,a){var i=t(26),n=t(46),r=t(34),s=t(35);e.exports=function(t){var e=i.global,a={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:s.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function o(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function l(t){var a=t.options.pointLabels,i=n.valueOrDefault(a.fontSize,e.defaultFontSize),r=n.valueOrDefault(a.fontStyle,e.defaultFontStyle),s=n.valueOrDefault(a.fontFamily,e.defaultFontFamily);return{size:i,style:r,family:s,font:n.fontString(i,r,s)}}function c(t,e,a,i,n){return t===i||t===n?{start:e-a/2,end:e+a/2}:t<i||n<t?{start:e-a-5,end:e}:{start:e,end:e+a+5}}function d(t,e,a,i){if(n.isArray(e))for(var r=a.y,s=1.5*i,o=0;o<e.length;++o)t.fillText(e[o],a.x,r),r+=s;else t.fillText(e,a.x,a.y)}function u(t){return n.isNumber(t)?t:0}var p=t.LinearScaleBase.extend({setDimensions:function(){var t=this,a=t.options,i=a.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var r=n.min([t.height,t.width]),s=n.valueOrDefault(i.fontSize,e.defaultFontSize);t.drawingArea=a.display?r/2-(s/2+i.backdropPaddingY):r/2},determineDataLimits:function(){var t=this,e=t.chart,a=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;n.each(e.data.datasets,function(r,s){if(e.isDatasetVisible(s)){var o=e.getDatasetMeta(s);n.each(r.data,function(e,n){var r=+t.getRightValue(e);isNaN(r)||o.data[n].hidden||(a=Math.min(r,a),i=Math.max(r,i))})}}),t.min=a===Number.POSITIVE_INFINITY?0:a,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,a=n.valueOrDefault(t.fontSize,e.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*a)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,e;this.options.pointLabels.display?function(t){var e,a,i,r,s,d,u=l(t),p=Math.min(t.height/2,t.width/2),h={r:t.width,l:0,t:t.height,b:0},g={};t.ctx.font=u.font,t._pointLabelSizes=[];var f=o(t);for(e=0;e<f;e++){i=t.getPointPosition(e,p),r=t.ctx,s=u.size,d=t.pointLabels[e]||"",a=n.isArray(d)?{w:n.longestText(r,r.font,d),h:d.length*s+1.5*(d.length-1)*s}:{w:r.measureText(d).width,h:s},t._pointLabelSizes[e]=a;var m=t.getIndexAngle(e),_=n.toDegrees(m)%360,A=c(_,i.x,a.w,0,180),v=c(_,i.y,a.h,90,270);A.start<h.l&&(h.l=A.start,g.l=m),A.end>h.r&&(h.r=A.end,g.r=m),v.start<h.t&&(h.t=v.start,g.t=m),v.end>h.b&&(h.b=v.end,g.b=m)}t.setReductions(p,h,g)}(this):(t=this,e=Math.min(t.height/2,t.width/2),t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0))},setReductions:function(t,e,a){var i=e.l/Math.sin(a.l),n=Math.max(e.r-this.width,0)/Math.sin(a.r),r=-e.t/Math.cos(a.t),s=-Math.max(e.b-this.height,0)/Math.cos(a.b);i=u(i),n=u(n),r=u(r),s=u(s),this.drawingArea=Math.min(Math.round(t-(i+n)/2),Math.round(t-(r+s)/2)),this.setCenterPoint(i,n,r,s)},setCenterPoint:function(t,e,a,i){var n=this,r=n.width-e-n.drawingArea,s=t+n.drawingArea,o=a+n.drawingArea,l=n.height-i-n.drawingArea;n.xCenter=Math.round((s+r)/2+n.left),n.yCenter=Math.round((o+l)/2+n.top)},getIndexAngle:function(t){return t*(2*Math.PI/o(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var a=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*a:(t-e.min)*a},getPointPosition:function(t,e){var a=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(a)*e)+this.xCenter,y:Math.round(Math.sin(a)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,a=t.options,i=a.gridLines,r=a.ticks,s=n.valueOrDefault;if(a.display){var c=t.ctx,u=this.getIndexAngle(0),p=s(r.fontSize,e.defaultFontSize),h=s(r.fontStyle,e.defaultFontStyle),g=s(r.fontFamily,e.defaultFontFamily),f=n.fontString(p,h,g);n.each(t.ticks,function(a,l){if(l>0||r.reverse){var d=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]);if(i.display&&0!==l&&function(t,e,a,i){var r=t.ctx;if(r.strokeStyle=n.valueAtIndexOrDefault(e.color,i-1),r.lineWidth=n.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)r.beginPath(),r.arc(t.xCenter,t.yCenter,a,0,2*Math.PI),r.closePath(),r.stroke();else{var s=o(t);if(0===s)return;r.beginPath();var l=t.getPointPosition(0,a);r.moveTo(l.x,l.y);for(var c=1;c<s;c++)l=t.getPointPosition(c,a),r.lineTo(l.x,l.y);r.closePath(),r.stroke()}}(t,i,d,l),r.display){var h=s(r.fontColor,e.defaultFontColor);if(c.font=f,c.save(),c.translate(t.xCenter,t.yCenter),c.rotate(u),r.showLabelBackdrop){var g=c.measureText(a).width;c.fillStyle=r.backdropColor,c.fillRect(-g/2-r.backdropPaddingX,-d-p/2-r.backdropPaddingY,g+2*r.backdropPaddingX,p+2*r.backdropPaddingY)}c.textAlign="center",c.textBaseline="middle",c.fillStyle=h,c.fillText(a,0,-d),c.restore()}}}),(a.angleLines.display||a.pointLabels.display)&&function(t){var a,i,r,s,c=t.ctx,u=t.options,p=u.angleLines,h=u.pointLabels;c.lineWidth=p.lineWidth,c.strokeStyle=p.color;var g=t.getDistanceFromCenterForValue(u.ticks.reverse?t.min:t.max),f=l(t);c.textBaseline="top";for(var m=o(t)-1;m>=0;m--){if(p.display){var _=t.getPointPosition(m,g);c.beginPath(),c.moveTo(t.xCenter,t.yCenter),c.lineTo(_.x,_.y),c.stroke(),c.closePath()}if(h.display){var A=t.getPointPosition(m,g+5),v=n.valueAtIndexOrDefault(h.fontColor,m,e.defaultFontColor);c.font=f.font,c.fillStyle=v;var M=t.getIndexAngle(m),y=n.toDegrees(M);c.textAlign=0===(s=y)||180===s?"center":s<180?"left":"right",a=y,i=t._pointLabelSizes[m],r=A,90===a||270===a?r.y-=i.h/2:(a>270||a<90)&&(r.y-=i.h),d(c,t.pointLabels[m]||"",A,f.size)}}}(t)}}});r.registerScaleType("radialLinear",p,a)}},{26:26,34:34,35:35,46:46}],59:[function(t,e,a){var i=t(1);i="function"==typeof i?i:window.moment;var n=t(26),r=t(46),s=t(33),o=t(34),l=Number.MIN_SAFE_INTEGER||-9007199254740991,c=Number.MAX_SAFE_INTEGER||9007199254740991,d={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},u=Object.keys(d);function p(t,e){return t-e}function h(t){var e,a,i,n={},r=[];for(e=0,a=t.length;e<a;++e)n[i=t[e]]||(n[i]=!0,r.push(i));return r}function g(t,e,a,i){var n=function(t,e,a){for(var i,n,r,s=0,o=t.length-1;s>=0&&s<=o;){if(n=t[(i=s+o>>1)-1]||null,r=t[i],!n)return{lo:null,hi:r};if(r[e]<a)s=i+1;else{if(!(n[e]>a))return{lo:n,hi:r};o=i-1}}return{lo:r,hi:null}}(t,e,a),r=n.lo?n.hi?n.lo:t[t.length-2]:t[0],s=n.lo?n.hi?n.hi:t[t.length-1]:t[1],o=s[e]-r[e],l=o?(a-r[e])/o:0,c=(s[i]-r[i])*l;return r[i]+c}function f(t,e){var a=e.parser,n=e.parser||e.format;return"function"==typeof a?a(t):"string"==typeof t&&"string"==typeof n?i(t,n):(t instanceof i||(t=i(t)),t.isValid()?t:"function"==typeof n?n(t):t)}function m(t,e){if(r.isNullOrUndef(t))return null;var a=e.options.time,i=f(e.getRightValue(t),a);return i.isValid()?(a.round&&i.startOf(a.round),i.valueOf()):null}function _(t){for(var e=u.indexOf(t)+1,a=u.length;e<a;++e)if(d[u[e]].common)return u[e]}function A(t,e,a,n){var s,o=n.time,l=o.unit||function(t,e,a,i){var n,r,s,o=u.length;for(n=u.indexOf(t);n<o-1;++n)if(s=(r=d[u[n]]).steps?r.steps[r.steps.length-1]:c,r.common&&Math.ceil((a-e)/(s*r.size))<=i)return u[n];return u[o-1]}(o.minUnit,t,e,a),p=_(l),h=r.valueOrDefault(o.stepSize,o.unitStepSize),g="week"===l&&o.isoWeekday,f=n.ticks.major.enabled,m=d[l],A=i(t),v=i(e),M=[];for(h||(h=function(t,e,a,i){var n,r,s,o=e-t,l=d[a],c=l.size,u=l.steps;if(!u)return Math.ceil(o/(i*c));for(n=0,r=u.length;n<r&&(s=u[n],!(Math.ceil(o/(c*s))<=i));++n);return s}(t,e,l,a)),g&&(A=A.isoWeekday(g),v=v.isoWeekday(g)),A=A.startOf(g?"day":l),(v=v.startOf(g?"day":l))<e&&v.add(1,l),s=i(A),f&&p&&!g&&!o.round&&(s.startOf(p),s.add(~~((A-s)/(m.size*h))*h,l));s<v;s.add(h,l))M.push(+s);return M.push(+s),M}e.exports=function(){var t=s.extend({initialize:function(){if(!i)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),s.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),s.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),s.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,a,n,s,o,d=this,u=d.chart,g=d.options.time,f=g.unit||"day",_=c,A=l,v=[],M=[],y=[];for(t=0,a=u.data.labels.length;t<a;++t)y.push(m(u.data.labels[t],d));for(t=0,a=(u.data.datasets||[]).length;t<a;++t)if(u.isDatasetVisible(t))if(s=u.data.datasets[t].data,r.isObject(s[0]))for(M[t]=[],e=0,n=s.length;e<n;++e)o=m(s[e],d),v.push(o),M[t][e]=o;else v.push.apply(v,y),M[t]=y.slice(0);else M[t]=[];y.length&&(y=h(y).sort(p),_=Math.min(_,y[0]),A=Math.max(A,y[y.length-1])),v.length&&(v=h(v).sort(p),_=Math.min(_,v[0]),A=Math.max(A,v[v.length-1])),_=m(g.min,d)||_,A=m(g.max,d)||A,_=_===c?+i().startOf(f):_,A=A===l?+i().endOf(f)+1:A,d.min=Math.min(_,A),d.max=Math.max(_+1,A),d._horizontal=d.isHorizontal(),d._table=[],d._timestamps={data:v,datasets:M,labels:y}},buildTicks:function(){var t,e,a,n,r,s,o,l,c,p,h,v,M=this,y=M.min,b=M.max,w=M.options,x=w.time,C=[],N=[];switch(w.ticks.source){case"data":C=M._timestamps.data;break;case"labels":C=M._timestamps.labels;break;case"auto":default:C=A(y,b,M.getLabelCapacity(y),w)}for("ticks"===w.bounds&&C.length&&(y=C[0],b=C[C.length-1]),y=m(x.min,M)||y,b=m(x.max,M)||b,t=0,e=C.length;t<e;++t)y<=(a=C[t])&&a<=b&&N.push(a);return M.min=y,M.max=b,M._unit=x.unit||function(t,e,a,n){var r,s,o=i.duration(i(n).diff(i(a)));for(r=u.length-1;r>=u.indexOf(e);r--)if(s=u[r],d[s].common&&o.as(s)>=t.length)return s;return u[e?u.indexOf(e):0]}(N,x.minUnit,M.min,M.max),M._majorUnit=_(M._unit),M._table=function(t,e,a,i){if("linear"===w.distribution||!t.length)return[{time:e,pos:0},{time:a,pos:1}];var n,r,s,o,l,c=[],d=[e];for(n=0,r=t.length;n<r;++n)e<(o=t[n])&&o<a&&d.push(o);for(d.push(a),n=0,r=d.length;n<r;++n)l=d[n+1],s=d[n-1],o=d[n],void 0!==s&&void 0!==l&&Math.round((l+s)/2)===o||c.push({time:o,pos:n/(r-1)});return c}(M._timestamps.data,y,b),M._offsets=(n=M._table,r=N,s=y,o=b,v=h=0,(l=w).offset&&r.length&&(l.time.min||(c=r.length>1?r[1]:o,p=r[0],h=(g(n,"time",c,"pos")-g(n,"time",p,"pos"))/2),l.time.max||(c=r[r.length-1],p=r.length>1?r[r.length-2]:s,v=(g(n,"time",c,"pos")-g(n,"time",p,"pos"))/2)),{left:h,right:v}),M._labelFormat=function(t,e){var a,i,n,r=t.length;for(a=0;a<r;a++){if(0!==(i=f(t[a],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===i.second()&&0===i.minute()&&0===i.hour()||(n=!0)}return n?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(M._timestamps.data,x),function(t,e){var a,n,r,s,o=[];for(a=0,n=t.length;a<n;++a)r=t[a],s=!!e&&r===+i(r).startOf(e),o.push({value:r,major:s});return o}(N,M._majorUnit)},getLabelForIndex:function(t,e){var a=this.chart.data,i=this.options.time,n=a.labels&&t<a.labels.length?a.labels[t]:"",s=a.datasets[e].data[t];return r.isObject(s)&&(n=this.getRightValue(s)),i.tooltipFormat?f(n,i).format(i.tooltipFormat):"string"==typeof n?n:f(n,i).format(this._labelFormat)},tickFormatFunction:function(t,e,a,i){var n=this.options,s=t.valueOf(),o=n.time.displayFormats,l=o[this._unit],c=this._majorUnit,d=o[c],u=t.clone().startOf(c).valueOf(),p=n.ticks.major,h=p.enabled&&c&&d&&s===u,g=t.format(i||(h?d:l)),f=h?p:n.ticks.minor,m=r.valueOrDefault(f.callback,f.userCallback);return m?m(g,e,a):g},convertTicksToLabels:function(t){var e,a,n=[];for(e=0,a=t.length;e<a;++e)n.push(this.tickFormatFunction(i(t[e].value),e,t));return n},getPixelForOffset:function(t){var e=this,a=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,n=g(e._table,"time",t,"pos");return i+a*(e._offsets.left+n)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,a){var i=null;if(void 0!==e&&void 0!==a&&(i=this._timestamps.datasets[a][e]),null===i&&(i=m(t,this)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,a=e._horizontal?e.width:e.height,n=e._horizontal?e.left:e.top,r=(a?(t-n)/a:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,s=g(e._table,"pos",r,"time");return i(s)},getLabelWidth:function(t){var e=this.options.ticks,a=this.ctx.measureText(t).width,i=r.toRadians(e.maxRotation),s=Math.cos(i),o=Math.sin(i);return a*s+r.valueOrDefault(e.fontSize,n.global.defaultFontSize)*o},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,a=this.tickFormatFunction(i(t),0,[],e),n=this.getLabelWidth(a),r=this.isHorizontal()?this.width:this.height,s=Math.floor(r/n);return s>0?s:1}});o.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,26:26,33:33,34:34,46:46}]},{},[7])(7)})}).call(e,a(66)(t),a(13))},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"income-expense-section wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-heading wperp-bg-white"},[a("h4",[t._v(t._s(t.__("Income & Expense","erp")))]),t._v(" "),t.showDropdown?a("div",{staticClass:"wperp-custom-select wperp-custom-select--inline-block wperp-pull-right"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.chartRange,expression:"chartRange"}],staticClass:"wperp-form-field",attrs:{name:"query_time",id:"att-filter-duration"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.chartRange=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"this_month"}},[t._v(t._s(t.__("This Month","erp")))]),t._v(" "),a("option",{attrs:{value:"last_month"}},[t._v(t._s(t.__("Last Month","erp")))]),t._v(" "),t.thisQuarter.labels.length?a("option",{attrs:{value:"this_quarter"}},[t._v(t._s(t.__("This Quarter","erp")))]):t._e(),t._v(" "),t.lastQuarter.labels.length?a("option",{attrs:{value:"last_quarter"}},[t._v(t._s(t.__("Last Quarter","erp")))]):t._e(),t._v(" "),a("option",{attrs:{value:"this_year"}},[t._v(t._s(t.__("This Year","erp")))]),t._v(" "),t.lastYear.labels.length?a("option",{attrs:{value:"last_year"}},[t._v(t._s(t.__("Last Year","erp")))]):t._e()]),t._v(" "),a("i",{staticClass:"flaticon-arrow-down-sign-to-navigate"})]):t._e()]),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-chart-block"},[a("canvas",{ref:"bar_chart",attrs:{id:"bar_chart",height:"90"}})])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-containers"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Dashboard","erp")))])])])]),t._v(" "),a("div",{staticClass:"wperp-dashboard"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-md-9 wperp-col-sm-12 wperp-col-xs-12"},[a("chart")],1),t._v(" "),a("div",{staticClass:"wperp-col-md-3 wperp-col-sm-12 wperp-col-xs-12"},[a("accounts")],1)]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12"},[a("div",{staticClass:"invoice-own-section wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-heading wperp-bg-white"},[a("h4",[t._v(t._s(t.__("Invoice payable to you","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-panel-body pb-0"},[Object.values(t.to_receive).length?a("ul",{staticClass:"wperp-list-unstyled list-table-content"},[a("li",[a("span",{staticClass:"title"},[t._v(t._s(t.__("1-30 days overdue","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.formatAmount(t.to_receive.amount.first)))])]),t._v(" "),a("li",[a("span",{staticClass:"title"},[t._v(t._s(t.__("31-60 days overdue","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.formatAmount(t.to_receive.amount.second)))])]),t._v(" "),a("li",[a("span",{staticClass:"title"},[t._v(t._s(t.__("61-90 days overdue","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.formatAmount(t.to_receive.amount.third)))])]),t._v(" "),a("li",{staticClass:"total"},[a("span",{staticClass:"title"},[t._v(t._s(t.__("Total Balance","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.total_receivable))])])]):t._e()])])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6 wperp-col-xs-12 "},[a("div",{staticClass:"invoice-own-section wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-heading wperp-bg-white"},[a("h4",[t._v(t._s(t.__("Bills you need to pay","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-panel-body pb-0"},[Object.values(t.to_pay).length?a("ul",{staticClass:"wperp-list-unstyled list-table-content"},[a("li",[a("span",{staticClass:"title"},[t._v(t._s(t.__("1-30 days overdue","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.formatAmount(t.to_pay.amount.first)))])]),t._v(" "),a("li",[a("span",{staticClass:"title"},[t._v(t._s(t.__("31-60 days overdue","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.formatAmount(t.to_pay.amount.second)))])]),t._v(" "),a("li",[a("span",{staticClass:"title"},[t._v(t._s(t.__("61-90 days overdue","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.formatAmount(t.to_pay.amount.third)))])]),t._v(" "),a("li",{staticClass:"total"},[a("span",{staticClass:"title"},[t._v(t._s(t.__("Total Balance","erp")))]),t._v(" "),a("span",{staticClass:"price"},[t._v(t._s(t.total_payable))])])]):t._e()])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(124),n=a(279),r=!1;var s=function(t){r||a(278)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/reports/TrialBalance.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"trial-balance"},[a("h2",[t._v(t._s(t.__("Trial Balance","erp")))]),t._v(" "),a("div",{staticClass:"with-multiselect fyear-select"},[a("multi-select",{attrs:{options:t.fyears},on:{input:t.onYearSelected},model:{value:t.selectedYear,callback:function(e){t.selectedYear=e},expression:"selectedYear"}})],1),t._v(" "),a("form",{staticClass:"query-options no-print",on:{submit:function(e){return e.preventDefault(),t.getTrialBalance(e)}}},[a("div",{staticClass:"wperp-date-btn-group"},[a("datepicker",{model:{value:t.start_date,callback:function(e){t.start_date=e},expression:"start_date"}}),t._v(" "),a("datepicker",{model:{value:t.end_date,callback:function(e){t.end_date=e},expression:"end_date"}})],1),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",attrs:{type:"submit"}},[t._v(t._s(t.__("View","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("   "+t._s(t.__("Print","erp"))+"\n ")])]),t._v(" "),a("p",[a("strong",[t._v(t._s(t.__("For the period of ( Transaction date )","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.start_date))]),t._v(" "+t._s(t.__("to","erp"))+" "),a("em",[t._v(t._s(t.end_date))])]),t._v(" "),a("table",{staticClass:"wperp-table table-striped table-dark widefat"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Account Name","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit Total","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit Total","erp")))])])]),t._v(" "),t._l(t.chrtAcct,function(e,i){return a("tbody",{key:i},[t.rows[e.id]&&t.debugMode?a("tr",[a("h1",[t._v(t._s(e.label))])]):t._e(),t._v(" "),t._l(t.rows[e.id],function(e,i){return a("tr",{key:i},[a("td",[e.additional?a("details",{attrs:{open:""}},[a("summary",[t._v(t._s(e.name))]),t._v(" "),t._l(e.additional,function(e){return a("p",{key:e.id},[a("strong",[t._v(t._s(e.name))]),t._v(" "),a("em",[t._v(t._s(t.moneyFormat(Math.abs(e.balance))))])])})],2):a("span",[t._v(t._s(e.name))])]),t._v(" "),a("td",[t._v(t._s(1===Math.sign(e.balance)?t.moneyFormat(e.balance):""))]),t._v(" "),a("td",[t._v(t._s(-1===Math.sign(e.balance)?t.moneyFormat(Math.abs(e.balance)):""))])])})],2)}),t._v(" "),a("tfoot",[a("tr",{staticClass:"t-foot"},[a("td",[t._v(t._s(t.__("Total","erp")))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.totalDebit)))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(Math.abs(t.totalCredit))))])])])],2)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(125),n=a(282),r=!1;var s=function(t){r||a(281)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/reports/LedgerReport.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"ledger-report"},[a("h2",[t._v(t._s(t.__("Ledger Report","erp")))]),t._v(" "),a("form",{staticClass:"query-options no-print",attrs:{action:"",method:""},on:{submit:function(e){return e.preventDefault(),t.getLedgerReport(e)}}},[a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.ledgers},model:{value:t.selectedLedger,callback:function(e){t.selectedLedger=e},expression:"selectedLedger"}})],1),t._v(" "),a("div",{staticClass:"wperp-date-group"},[a("datepicker",{model:{value:t.start_date,callback:function(e){t.start_date=e},expression:"start_date"}}),t._v(" "),a("datepicker",{model:{value:t.end_date,callback:function(e){t.end_date=e},expression:"end_date"}}),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",attrs:{type:"submit"}},[t._v(t._s(t.__("Filter","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")])],1)]),t._v(" "),null!==t.selectedLedger?a("ul",{staticClass:"report-header"},[a("li",[a("strong",[t._v(t._s(t.__("Account No","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.selectedLedger.code))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Account Name","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.selectedLedger.name))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Currency","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.symbol))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("For the period of ( Transaction date )","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.start_date))]),t._v(" to "),a("em",[t._v(t._s(t.end_date))])])]):t._e(),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat ledger-table",columns:t.columns,rows:t.rows,showCb:!1},scopedSlots:t._u([{key:"trn_no",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:"DynamicTrnLoader",params:{id:e.row.trn_no}}}},[e.row.trn_no?a("span",[t._v("#"+t._s(e.row.trn_no))]):t._e()])],1)]}},{key:"balance",fn:function(e){return[t._v("\n "+t._s(t.moneyFormatwithDrCr(e.row.balance))+"\n ")]}},{key:"debit",fn:function(e){return[t._v("\n "+t._s(t.moneyFormat(e.row.debit))+"\n ")]}},{key:"credit",fn:function(e){return[t._v("\n "+t._s(t.moneyFormat(e.row.credit))+"\n ")]}}])},[t._v(" "),t._v(" "),t._v(" "),t._v(" "),a("template",{slot:"tfoot"},[a("tr",{staticClass:"tfoot"},[a("td",{attrs:{colspan:"3"}}),t._v(" "),a("td",[t._v(t._s(t.__("Total","erp"))+" =")]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.totalDebit)))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.totalCredit)))]),t._v(" "),a("td")])])],2)],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(126),n=a(285),r=!1;var s=function(t){r||a(284)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/reports/SalesTax.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sales-tax-report"},[a("h2",[t._v(t._s(t.__("Sales Tax Report","erp")))]),t._v(" "),a("form",{staticClass:"query-options no-print",attrs:{action:"",method:""},on:{submit:function(e){return e.preventDefault(),t.getSalesTaxReport(e)}}},[a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.taxAgencies},model:{value:t.selectedAgency,callback:function(e){t.selectedAgency=e},expression:"selectedAgency"}})],1),t._v(" "),a("div",{staticClass:"wperp-date-group"},[a("datepicker",{model:{value:t.start_date,callback:function(e){t.start_date=e},expression:"start_date"}}),t._v(" "),a("datepicker",{model:{value:t.end_date,callback:function(e){t.end_date=e},expression:"end_date"}})],1),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",attrs:{type:"submit"}},[t._v(t._s(t.__("View","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")])]),t._v(" "),null!==t.selectedAgency?a("ul",{staticClass:"report-header"},[a("li",[a("strong",[t._v(t._s(t.__("Account Name","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.selectedAgency.name))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Currency","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.symbol))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("For the period of ( Transaction date )","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.start_date))]),t._v(" to "),a("em",[t._v(t._s(t.end_date))])])]):t._e(),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat sales-tax-table",columns:t.columns,rows:t.rows,showCb:!1},scopedSlots:t._u([{key:"trn_no",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:"DynamicTrnLoader",params:{id:e.row.trn_no}}}},[e.row.trn_no?a("span",[t._v("#"+t._s(e.row.trn_no))]):t._e()])],1)]}},{key:"debit",fn:function(e){return[t._v("\n "+t._s(t.moneyFormat(e.row.debit))+"\n ")]}},{key:"credit",fn:function(e){return[t._v("\n "+t._s(t.moneyFormat(e.row.credit))+"\n ")]}},{key:"balance",fn:function(e){return[t._v("\n "+t._s(t.moneyFormat(e.row.balance))+"\n ")]}}])},[t._v(" "),t._v(" "),t._v(" "),t._v(" "),a("template",{slot:"tfoot"},[a("tr",{staticClass:"tfoot"},[a("td",{attrs:{colspan:"3"}}),t._v(" "),a("td",[t._v(t._s(t.__("Total","erp"))+" =")]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.totalDebit)))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.totalCredit)))]),t._v(" "),a("td")])])],2)],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(127),n=a(291),r=!1;var s=function(t){r||a(287)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/people/PeopleDetails.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(128),n=a(290),r=!1;var s=function(t){r||a(289)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/userinfo/UserBasic.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-panel wperp-panel-default mt-20"},[a("div",{staticClass:"wperp-panel-body wperp-customer-panel"},[t.showModal?a("people-modal",{attrs:{people:t.userData,title:t.title}}):t._e(),t._v(" "),a("span",{staticClass:"edit-badge",attrs:{"data-toggle":"wperp-modal","data-target":"wperp-edit-customer-modal"}},[a("i",{staticClass:"flaticon-edit",on:{click:function(e){t.showModal=!0}}})]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-lg-3 wperp-col-md-4 wperp-col-sm-4 wperp-col-xs-12"},[a("div",{staticClass:"customer-identity"},[a("img",{attrs:{src:t.user.photo,alt:t.user.name}}),t._v(" "),a("div",{},[a("h3",[t._v(t._s(t.user.first_name)+" "+t._s(t.user.last_name))]),t._v(" "),a("span",[t._v(t._s(t.user.email))])])])]),t._v(" "),a("div",{staticClass:"wperp-col-lg-9 wperp-col-md-8 wperp-col-sm-8 wperp-col-xs-12"},[a("ul",{staticClass:"customer-meta"},[a("li",[a("strong",[t._v(t._s(t.__("Phone","erp"))+":")]),t._v(" "),a("span",[t._v(t._s(t.user.phone))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Mobile","erp"))+":")]),t._v(" "),a("span",[t._v(t._s(t.user.mobile))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Website","erp"))+":")]),t._v(" "),a("span",[t._v(t._s(t.user.website))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Fax","erp"))+":")]),t._v(" "),a("span",[t._v(t._s(t.user.fax))])]),t._v(" "),a("li",[a("strong",[t._v(t._s(t.__("Address","erp"))+":")]),t._v(" "),t.userData.billing?a("span",[t._v(t._s(t.userData.billing.street_1)+", "+t._s(t.userData.billing.city)+" ")]):t._e()]),t._v(" "),t._l(t.userMeta,function(e,i){return a(e,{key:i,tag:"component",attrs:{peopleId:t.$route.params.id,peopleType:t.title}})})],2)])])],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("UserBasicInfo",{attrs:{userData:t.resData}}),t._v(" "),a("div",{staticClass:"wperp-stats wperp-section"},[a("div",{staticClass:"wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[t.paymentData.length?a("pie-chart",{attrs:{id:"payment",title:t.paymentChart.title,labels:t.paymentChart.labels,colors:t.paymentChart.colors,data:t.paymentData}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[t.statusData.length?a("pie-chart",{attrs:{id:"status",title:t.statusChart.title,labels:t.statusLabel,colors:t.statusChart.colors,data:t.statusData}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-chart-block"},[a("h3",[t._v(t._s(t.__("Outstanding","erp")))]),t._v(" "),a("div",{staticClass:"wperp-total"},[a("h2",[t._v(t._s(t.moneyFormat(t.outstanding)))])])])])])])])]),t._v(" "),a("people-transaction",{attrs:{rows:t.transactions},on:{"update:rows":function(e){t.transactions=e}}})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(129),n=a(302),r=!1;var s=function(t){r||a(293)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/invoice/InvoiceCreate.vue",e.a=o.exports},function(t,e){},,,,function(t,e,a){"use strict";var i=a(130),n=a(299),r=!1;var s=function(t){r||a(298)},o=a(0)(i.a,n.a,!1,s,"data-v-7faa45cf",null);o.options.__file="modules/accounting/assets/src/admin/components/invoice/InvoiceTrnRow.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("th",{staticClass:"col--products with-multiselect product-select",attrs:{scope:"row"}},[a("multi-select",{attrs:{options:t.products},on:{input:t.setProductInfo},model:{value:t.line.selectedProduct,callback:function(e){t.$set(t.line,"selectedProduct",e)},expression:"line.selectedProduct"}})],1),t._v(" "),a("td",{staticClass:"col--qty column-primary"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.line.qty,expression:"line.qty"}],staticClass:"wperp-form-field",attrs:{type:"number",name:"qty",required:!!t.line.selectedProduct},domProps:{value:t.line.qty},on:{keyup:t.respondAtChange,input:function(e){e.target.composing||t.$set(t.line,"qty",e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--uni_price",attrs:{"data-colname":"Unit Price"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.line.unitPrice,expression:"line.unitPrice"}],staticClass:"wperp-form-field",attrs:{type:"number",min:"0",step:"0.01",required:!!t.line.selectedProduct},domProps:{value:t.line.unitPrice},on:{keyup:t.respondAtChange,input:function(e){e.target.composing||t.$set(t.line,"unitPrice",e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--amount",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.line.amount,expression:"line.amount"}],staticClass:"wperp-form-field",attrs:{type:"number",min:"0",step:"0.01",readonly:""},domProps:{value:t.line.amount},on:{input:function(e){e.target.composing||t.$set(t.line,"amount",e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--tax",attrs:{"data-colname":"Tax"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.line.applyTax,expression:"line.applyTax"}],staticClass:"wperp-form-field",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.line.applyTax)?t._i(t.line.applyTax,null)>-1:t.line.applyTax},on:{change:[function(e){var a=t.line.applyTax,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&t.$set(t.line,"applyTax",a.concat([null])):r>-1&&t.$set(t.line,"applyTax",a.slice(0,r).concat(a.slice(r+1)))}else t.$set(t.line,"applyTax",n)},t.respondAtChange]}}),t._v(" "),"1"==t.debugMode?[a("span",{staticStyle:{color:"blueviolet"},domProps:{textContent:t._s(t.line.taxAmount)}}),t._v(" "),a("span",{staticStyle:{color:"#f44336"},domProps:{textContent:t._s(t.line.discount)}})]:t._e()],2),t._v(" "),a("td",{staticClass:"col--actions delete-row",attrs:{"data-colname":"Action"}},[a("span",{staticClass:"wperp-btn",on:{click:t.removeRow}},[a("i",{staticClass:"flaticon-trash"})])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-form-group invoice-customers with-multiselect"},[t.showModal?a("people-modal",{attrs:{title:"Add new customer",type:"customer"}}):t._e(),t._v(" "),t._m(0),t._v(" "),a("multi-select",{attrs:{options:t.options},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}}),t._v(" "),a("a",{staticClass:"add-new-customer",attrs:{href:"#"},on:{click:function(e){t.showModal=!0}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add new","erp"))+"\n ")])],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("label",[this._v("Customer"),e("span",{staticClass:"wperp-required-sign"},[this._v("*")])])}]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container invoice-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[t.estimateToInvoice()?a("h2",[t._v(t._s(t.__("Convert into Invoice","erp")))]):a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.editMode?t.__("Edit","erp"):t.__("New","erp"))+" "+t._s(t.inv_title))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitInvoiceForm(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("select-customers",{model:{value:t.basic_fields.customer,callback:function(e){t.$set(t.basic_fields,"customer",e)},expression:"basic_fields.customer"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Transaction Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.trn_date,callback:function(e){t.$set(t.basic_fields,"trn_date",e)},expression:"basic_fields.trn_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Due Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.due_date,callback:function(e){t.$set(t.basic_fields,"due_date",e)},expression:"basic_fields.due_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address"}],staticClass:"wperp-form-field",attrs:{rows:"4",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value)}}})])])])],1),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("th",{staticClass:"col--products",attrs:{scope:"col"}},[t._v(t._s(t.__("Product/Service","erp")))]),t._v(" "),a("th",{staticClass:"col--qty",attrs:{scope:"col"}},[t._v(t._s(t.__("Qty","erp")))]),t._v(" "),a("th",{staticClass:"col--unit-price",attrs:{scope:"col"}},[t._v(t._s(t.__("Unit Price","erp")))]),t._v(" "),a("th",{staticClass:"col--amount",attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{staticClass:"col--tax",attrs:{scope:"col"}},[t._v(t._s(t.__("Tax","erp"))+" "),a("span",{staticClass:"erp-help-tip .erp-tips",attrs:{title:t.__("Make sure you have created tax category, zone and rate. Also, make sure the tax category is added on the product.","erp")}})]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),null!=t.taxSummary?a("tbody",[t._l(t.transactionLines,function(e,i){return a("invoice-trn-row",{key:i,attrs:{line:e,products:t.products,taxSummary:t.taxSummary}})}),t._v(" "),a("tr",{staticClass:"add-new-line"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.addLine(e)}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add Line","erp")))])])]),t._v(" "),a("tr",{staticClass:"discount-rate-row"},[a("td",{staticClass:"text-right with-multiselect",attrs:{colspan:"4"}},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.discountType,expression:"discountType"}],on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.discountType=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"discount-percent"}},[t._v(t._s(t.__("Discount percent","erp")))]),t._v(" "),a("option",{attrs:{value:"discount-value"}},[t._v(t._s(t.__("Discount value","erp")))])])]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.discount,expression:"discount"}],staticClass:"wperp-form-field",attrs:{type:"text",placeholder:t.discountType},domProps:{value:t.discount},on:{input:function(e){e.target.composing||(t.discount=e.target.value)}}}),t._v(" "),a("em",{directives:[{name:"show",rawName:"v-show",value:"discount-percent"===t.discountType,expression:"'discount-percent' === discountType"}]},[t._v("%")])]),t._v(" "),a("td")]),t._v(" "),a("tr",{staticClass:"tax-rate-row"},[a("td",{staticClass:"text-right with-multiselect",attrs:{colspan:"4"}},[a("multi-select",{staticClass:"tax-rates",attrs:{options:t.taxRates,placeholder:t.__("Select sales tax","erp")},model:{value:t.taxRate,callback:function(e){t.taxRate=e},expression:"taxRate"}})],1),t._v(" "),a("td",[a("input",{staticClass:"wperp-form-field",attrs:{type:"text",readonly:""},domProps:{value:t.moneyFormat(t.taxTotalAmount)}})]),t._v(" "),a("td")]),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right",attrs:{colspan:"4"}},[a("span",[t._v(t._s(t.__("Total Amount","erp"))+" =")])]),t._v(" "),a("td",[a("input",{staticClass:"wperp-form-field",attrs:{type:"text",readonly:""},domProps:{value:t.moneyFormat(t.finalTotalAmount)}})]),t._v(" "),a("td")]),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Particulars","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",[a("td",t._l(t.attachments,function(e,i){return a("div",{key:i,staticClass:"attachment-item"},[a("img",{attrs:{src:t.erp_acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("span",{staticClass:"remove-file",on:{click:function(e){return t.removeFile(i)}}},[t._v("✗")]),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("h3",[t._v(t._s(t.getFileName(e)))])])])}),0)]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])]),t._v(" "),t._l(t.extraFields,function(e,i){return a(e,{key:"key-"+i,tag:"component",attrs:{"tran-type":t.inv_title}})})],2):t._e(),t._v(" "),a("tfoot",[a("tr",[t.estimateToInvoice()?a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[a("combo-button",{attrs:{options:[{id:"update",text:"Save Conversion"}]}})],1):a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[t.editMode?a("combo-button",{attrs:{options:t.updateButtons}}):a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(133),n=a(305),r=!1;var s=function(t){r||a(304)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/chart-accounts/ChartOfAccounts.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container chart-accounts"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col-6"},[a("h2",{staticClass:"content-header__title"},[t._v("\n "+t._s(t.__("Chart of Accounts","erp"))+"\n "),a("router-link",{staticClass:"wperp-btn btn--primary",attrs:{to:{name:"AddChartAccounts"}}},[t._v("\n "+t._s(t.__("Add New","erp"))+"\n ")])],1)]),t._v(" "),a("div",{staticClass:"wperp-col-6"},[a("h4",[t._v(t._s(t.__("Search Ledger","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}})])])]),t._v(" "),t.search?a("ul",[a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat table2 chart-list","action-column":"actions",columns:t.columns,actions:t.actions,showCb:!1,rows:t.filteredLedgers},on:{"action:click":t.onActionClick},scopedSlots:t._u([{key:"ledger_name",fn:function(e){return[a("router-link",{attrs:{to:{name:"LedgerSingle",params:{id:e.row.id,ledgerID:e.row.id,ledgerName:e.row.name,ledgerCode:e.row.code}}}},[t._v(t._s(e.row.name)+"\n ")])]}},{key:"trn_count",fn:function(e){return[a("router-link",{attrs:{to:{name:"LedgerReport",params:{id:e.row.id,ledgerID:e.row.id,ledgerName:e.row.name,ledgerCode:e.row.code}}}},[t._v(t._s(e.row.trn_count)+"\n ")])]}},{key:"row-actions",fn:function(e){return null!=e.row.system?[a("strong",{staticClass:"sys-acc"},[t._v(t._s(t.__("System","erp")))])]:void 0}}],null,!0)})],1):a("ul",t._l(t.chartAccounts,function(e,i){return a("li",{key:i},[a("div",{staticStyle:{display:"flex"}},[a("h3",[t._v(t._s(e.label))]),t._v(" "),a("span",{staticClass:"erp-help-tip .erp-tips",attrs:{title:t.__("System account could not be edited or deleted anyway as those are defined by the accounting terms.","erp")}})]),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat table2 chart-list","action-column":"actions",columns:t.columns,actions:t.actions,showCb:!1,rows:t.ledgers[parseInt(e.id)]},on:{"action:click":t.onActionClick},scopedSlots:t._u([{key:"ledger_name",fn:function(e){return[a("router-link",{attrs:{to:{name:"LedgerSingle",params:{id:e.row.id,ledgerID:e.row.id,ledgerName:e.row.name,ledgerCode:e.row.code}}}},[t._v(t._s(e.row.name)+"\n ")])]}},{key:"trn_count",fn:function(e){return[a("router-link",{attrs:{to:{name:"LedgerReport",params:{id:e.row.id,ledgerID:e.row.id,ledgerName:e.row.name,ledgerCode:e.row.code}}}},[t._v(t._s(e.row.trn_count)+"\n ")])]}},{key:"row-actions",fn:function(e){return null!=e.row.system?[a("strong",{staticClass:"sys-acc"},[t._v(t._s(t.__("System","erp")))])]:void 0}}],null,!0)})],1)}),0)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(134),n=a(336),r=!1;var s=function(t){r||a(307)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/chart-accounts/AddChartAccounts.vue",e.a=o.exports},function(t,e){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.editMode?"Update":"Create New")+" "+t._s(t.__("Account","erp")))])])])]),t._v(" "),a("form",{staticClass:"chart-accounts",attrs:{action:""},on:{submit:function(e){return e.preventDefault(),t.saveAccount(e)}}},[t.error?a("div",{staticClass:"form-row"},[a("p",{staticClass:"error-message"},[t._v(t._s(t.error))])]):t._e(),t._v(" "),a("div",{staticClass:"form-row"},[a("label",{attrs:{for:""}},[t._v(t._s(t.__("Select chart of accounts","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("treeselect",{attrs:{options:t.chartAccounts,"disable-branch-nodes":!0,"show-count":!0,placeholder:t.__("Please select","erp")},model:{value:t.ledgFields.chart_id,callback:function(e){t.$set(t.ledgFields,"chart_id",e)},expression:"ledgFields.chart_id"}})],1),t._v(" "),a("div",{staticClass:"form-row"},[a("label",{attrs:{for:""}},[t._v(t._s(t.__("Account Name","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.ledgFields.name,expression:"ledgFields.name"}],staticClass:"wperp-form-field",attrs:{type:"text",required:""},domProps:{value:t.ledgFields.name},on:{input:function(e){e.target.composing||t.$set(t.ledgFields,"name",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-row"},[a("label",{attrs:{for:""}},[t._v(t._s(t.__("Code (optional)","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.ledgFields.code,expression:"ledgFields.code"}],staticClass:"wperp-form-field",attrs:{type:"number"},domProps:{value:t.ledgFields.code},on:{input:function(e){e.target.composing||t.$set(t.ledgFields,"code",e.target.value)}}})]),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit"}},[t._v("\n "+t._s(t.editMode?t.__("Update","erp"):t.__("Save","erp"))+"\n ")])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(139),n=a(339),r=!1;var s=function(t){r||a(338)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/reports/ReportsOverview.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"reports-overview"},[a("li",[a("h3",[t._v(t._s(t.__("Trial Balance","erp")))]),t._v(" "),a("p",[t._v(t._s(t.__("Trial balance is the bookkeeping or accounting report that lists the balances in each of general ledger accounts","erp"))+".")]),t._v(" "),a("router-link",{staticClass:"wperp-btn btn--primary",attrs:{to:{name:"TrialBalance"}}},[t._v(t._s(t.__("View Report","erp")))])],1),t._v(" "),a("li",[a("h3",[t._v(t._s(t.__("Ledger Report","erp")))]),t._v(" "),a("p",[t._v(t._s(t.__("The ledger report contains the classified and detailed information of all the individual accounts including the debit and credit aspects.","erp")))]),t._v(" "),a("router-link",{staticClass:"wperp-btn btn--primary",attrs:{to:{name:"LedgerSingle",params:{id:7}}}},[t._v(t._s(t.__("View Report","erp")))])],1),t._v(" "),a("li",[a("h3",[t._v(t._s(t.__("Income Statement","erp")))]),t._v(" "),a("p",[t._v(t._s(t.__("A summary of a management's performance reflected as the profitability of an organization during the time interval","erp"))+".")]),t._v(" "),a("router-link",{staticClass:"wperp-btn btn--primary",attrs:{to:{name:"IncomeStatement"}}},[t._v("View Report")])],1),t._v(" "),a("li",[a("h3",[t._v(t._s(t.__("Sales Tax","erp")))]),t._v(" "),a("p",[t._v(t._s(t.__("It generates report based on the sales tax charged or paid for the current financial cycle/year","erp"))+".")]),t._v(" "),a("router-link",{staticClass:"wperp-btn btn--primary",attrs:{to:{name:"SalesTax"}}},[t._v(t._s(t.__("View Report","erp")))])],1),t._v(" "),a("li",[a("h3",[t._v(t._s(t.__("Balance Sheet","erp")))]),t._v(" "),a("p",[t._v(t._s(t.__('This report gives you an immediate status of your accounts at a specified date. You can call it a "Snapshot" view of the current position (day) of the financial year',"erp"))+".")]),t._v(" "),a("router-link",{staticClass:"wperp-btn btn--primary",attrs:{to:{name:"BalanceSheet"}}},[t._v(t._s(t.__("View Report","erp")))])],1),t._v(" "),t._l(t.reportLists,function(t,e){return a(t,{key:e,tag:"component"})})],2)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(140),n=a(342),r=!1;var s=function(t){r||a(341)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/product-category/ProductCategory.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"categories"},[a("div",{attrs:{id:"col-left"}},[a("div",{staticClass:"col-wrap"},[a("div",{staticClass:"form-wrap"},[a("h2",[t._v(t._s(t.__("Add new category","erp")))]),t._v(" "),a("form",{attrs:{id:"erp-acct-product-category"}},[a("div",{class:["form-field term-name-wrap",{"form-invalid":t.error}]},[a("label",[t._v(t._s(t.__("Category Name","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.categoryName,expression:"categoryName"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.categoryName},on:{input:function(e){e.target.composing||(t.categoryName=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-field"},[a("label",[t._v(t._s(t.__("Parent Category","erp")))]),t._v(" "),a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.categories,multiple:!1},model:{value:t.parentCategory,callback:function(e){t.parentCategory=e},expression:"parentCategory"}})],1)]),t._v(" "),a("div",{staticClass:"buttons-wrapper"},[a("input",{staticClass:"wperp-btn btn--primary text-left",attrs:{type:"submit"},domProps:{value:t.__("Save","erp")},on:{click:function(e){return e.preventDefault(),t.createCategory(e)}}})])])])])]),t._v(" "),a("div",{staticStyle:{"margin-top":"12px"},attrs:{id:"col-right"}},[a("div",{staticClass:"col-wrap"},[a("list-table",{staticClass:"wperp-table table-striped table-dark widefat table2 category-list",attrs:{"action-column":"actions",columns:t.columns,rows:t.categories,actions:t.actions,"bulk-actions":t.bulkActions,showCb:!1},on:{"action:click":t.onActionClick,"bulk:click":t.onBulkAction},scopedSlots:t._u([{key:"name",fn:function(e){return e.row.isEdit?[a("input",{staticClass:"wperp-form-field",attrs:{type:"text",id:"cat-"+e.row.id},domProps:{value:e.row.name}}),t._v(" "),a("div",{staticClass:"buttons-wrapper text-right",staticStyle:{"margin-top":"10px"}},[a("button",{staticClass:"wperp-btn btn--primary",on:{click:function(a){return t.updateCategory(e.row)}}},[t._v(t._s(t.__("Update","erp")))]),t._v(" "),a("button",{staticClass:"wperp-btn btn--default",on:{click:function(t){t.preventDefault(),e.row.isEdit=!1}}},[t._v(t._s(t.__("Cancel","erp"))+"\n ")])])]:void 0}}],null,!0)},[t._v("\n >\n ")])],1)])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(141),n=a(347),r=!1;var s=function(t){r||a(344)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/rec-payment/RecPaymentCreate.vue",e.a=o.exports},function(t,e){},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-col-sm-12"},[a("div",{staticClass:"check-fields"},[a("label",[t._v(t._s(t.__("Bank Name","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.check_fields.bank_name,expression:"check_fields.bank_name"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.check_fields.bank_name},on:{input:[function(e){e.target.composing||t.$set(t.check_fields,"bank_name",e.target.value)},t.updateCheckData]}})]),t._v(" "),a("div",{staticClass:"check-fields"},[a("label",[t._v(t._s(t.__("Check Name","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.check_fields.payer_name,expression:"check_fields.payer_name"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.check_fields.payer_name},on:{input:[function(e){e.target.composing||t.$set(t.check_fields,"payer_name",e.target.value)},t.updateCheckData]}})]),t._v(" "),a("div",{staticClass:"check-fields"},[a("label",[t._v(t._s(t.__("Check No","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.check_fields.check_no,expression:"check_fields.check_no"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.check_fields.check_no},on:{input:[function(e){e.target.composing||t.$set(t.check_fields,"check_no",e.target.value)},t.updateCheckData]}})])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container rec-payment"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Receive Payment","erp")))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.SubmitForPayment(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{staticClass:"wperp-form",attrs:{action:"",method:"post"}},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("select-customers",{model:{value:t.basic_fields.customer,callback:function(e){t.$set(t.basic_fields,"customer",e)},expression:"basic_fields.customer"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Reference","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.trn_ref,expression:"basic_fields.trn_ref"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.basic_fields.trn_ref},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"trn_ref",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Payment Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.payment_date,callback:function(e){t.$set(t.basic_fields,"payment_date",e)},expression:"basic_fields.payment_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("Payment Method","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("multi-select",{attrs:{options:t.pay_methods},model:{value:t.basic_fields.trn_by,callback:function(e){t.$set(t.basic_fields,"trn_by",e)},expression:"basic_fields.trn_by"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Deposit to","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("select-accounts",{attrs:{reset:t.reset,override_accts:t.accts_by_chart},model:{value:t.basic_fields.deposit_to,callback:function(e){t.$set(t.basic_fields,"deposit_to",e)},expression:"basic_fields.deposit_to"}})],1),t._v(" "),"2"===t.basic_fields.trn_by.id?a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Transaction Charge","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.bank_data.trn_charge,expression:"bank_data.trn_charge"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.bank_data.trn_charge},on:{input:function(e){e.target.composing||t.$set(t.bank_data,"trn_charge",e.target.value)}}})])]):t._e(),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model.trim",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address",modifiers:{trim:!0}}],staticClass:"wperp-form-field",attrs:{rows:"4",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),"3"===t.basic_fields.trn_by.id?a("check-fields",{on:{updateCheckFields:t.setCheckFields}}):t._e()],1)])],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("th",{staticClass:"col--id column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("Voucher No","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Due Date","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Total","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Due","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.invoices,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"col--id column-primary",attrs:{scope:"row"}},[t._v("#"+t._s(e.invoice_no))]),t._v(" "),a("td",{staticClass:"col--due-date",attrs:{"data-colname":"Due Date"}},[t._v(t._s(e.due_date))]),t._v(" "),a("td",{staticClass:"col--total",attrs:{"data-colname":"Total"}},[t._v(t._s(t.moneyFormat(e.amount)))]),t._v(" "),a("td",{staticClass:"col--due",attrs:{"data-colname":"Due"}},[t._v(t._s(t.moneyFormat(e.due)))]),t._v(" "),a("td",{staticClass:"col--amount",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.totalAmounts[i],expression:"totalAmounts[key]"}],staticClass:"wperp-form-field text-right",attrs:{type:"number",min:"0",step:"0.01"},domProps:{value:t.totalAmounts[i]},on:{keyup:t.updateFinalAmount,input:function(e){e.target.composing||t.$set(t.totalAmounts,i,e.target.value)}}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove Above Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right pr-0 hide-sm",attrs:{colspan:"4"}},[t._v(t._s(t.__("Total Amount","erp")))]),t._v(" "),a("td",{staticClass:"text-right",attrs:{"data-colname":"Total Amount"}},[a("input",{staticClass:"wperp-form-field text-right",attrs:{type:"text",name:"finalamount",readonly:"",disabled:""},domProps:{value:t.moneyFormat(t.finalTotalAmount)}})]),t._v(" "),a("td",{staticClass:"text-right"})])],2),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Internal Information","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",[a("td",t._l(t.attachments,function(e,i){return a("div",{key:i,staticClass:"attachment-item"},[a("img",{attrs:{src:t.erp_acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("span",{staticClass:"remove-file",on:{click:function(e){return t.removeFile(i)}}},[t._v("✗")]),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("h3",[t._v(t._s(t.getFileName(e)))])])])}),0)]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])]),t._v(" "),a("tfoot",[a("tr",[a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(143),n=a(350),r=!1;var s=function(t){r||a(349)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/bill/BillCreate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container bill-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.editMode?"Edit":"New")+" "+t._s(t.__("Bill","erp")))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitBillForm(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{staticClass:"wperp-form",attrs:{action:"",method:"post"}},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("select-people",{model:{value:t.basic_fields.user,callback:function(e){t.$set(t.basic_fields,"user",e)},expression:"basic_fields.user"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Bill Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.trn_date,callback:function(e){t.$set(t.basic_fields,"trn_date",e)},expression:"basic_fields.trn_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Due Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.due_date,callback:function(e){t.$set(t.basic_fields,"due_date",e)},expression:"basic_fields.due_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("label",[t._v(t._s(t.__("Reference No","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.ref,expression:"basic_fields.ref"}],staticClass:"wperp-form-field",attrs:{type:"text",rows:"4"},domProps:{value:t.basic_fields.ref},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"ref",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address"}],staticClass:"wperp-form-field",attrs:{rows:"4",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value)}}})])])])],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("th",{staticClass:"col--id column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("SL No","erp"))+".")]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Description","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Total","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.transactionLines,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"col--id column-primary",attrs:{scope:"row"}},[t._v(t._s(i+1))]),t._v(" "),a("td",{staticClass:"col--account with-multiselect"},[a("multi-select",{attrs:{options:t.ledgers},model:{value:e.ledger_id,callback:function(a){t.$set(e,"ledger_id",a)},expression:"line.ledger_id"}})],1),t._v(" "),a("td",{staticClass:"col--particulars"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"line.description"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"1",maxlength:"250",placeholder:t.__("Particulars","erp")},domProps:{value:e.description},on:{input:function(a){a.target.composing||t.$set(e,"description",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--amount",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"line.amount"}],staticClass:"wperp-form-field text-right",attrs:{type:"text",name:"amount",required:!!e.ledger_id},domProps:{value:e.amount},on:{keyup:t.updateFinalAmount,input:function(a){a.target.composing||t.$set(e,"amount",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--total",staticStyle:{"text-align":"center"},attrs:{"data-colname":"Total"}},[a("input",{staticClass:"wperp-form-field text-right",attrs:{type:"text",readonly:"",disabled:""},domProps:{value:t.moneyFormat(e.amount)}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove Above Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.addLine(e)}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add Line","erp")))])])]),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right pr-0 hide-sm",attrs:{colspan:"4"}},[t._v(t._s(t.__("Total Amount","erp")))]),t._v(" "),a("td",{staticClass:"text-right",attrs:{"data-colname":"Total Amount"}},[a("input",{staticClass:"wperp-form-field text-right",attrs:{type:"text",name:"finalamount",readonly:"",disabled:""},domProps:{value:t.moneyFormat(t.finalTotalAmount)}})]),t._v(" "),a("td",{staticClass:"text-right"})]),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Internal Information","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",[a("td",t._l(t.attachments,function(e,i){return a("div",{key:i,staticClass:"attachment-item"},[a("img",{attrs:{src:t.erp_acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("span",{staticClass:"remove-file",on:{click:function(e){return t.removeFile(i)}}},[t._v("✗")]),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("h3",[t._v(t._s(t.getFileName(e)))])])])}),0)]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])]),t._v(" "),t._l(t.extraFields,function(t,e){return a(t,{key:"key-"+e,tag:"component",attrs:{"tran-type":"Bill"}})})],2),t._v(" "),a("tfoot",[a("tr",[a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[t.editMode?a("combo-button",{attrs:{options:t.updateButtons}}):a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(144),n=a(355),r=!1;var s=function(t){r||a(352)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/bill/BillSingle.vue",e.a=o.exports},function(t,e){},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.particulars?a("div",{staticClass:"particulars"},[a("h4",[t._v("Particulars")]),t._v(" "),t._l(t.particulars.split(/\r?\n/),function(e,i){return a("p",{key:i},[t._v(t._s(e))])})],2):t._e()};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog bill-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v("Bill")]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   More Action\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2)],1)]),t._v(" "),t.showModal?a("send-mail",{attrs:{userid:t.people_id,data:t.print_data,type:t.type}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v("Bill")]),t._v(" "),null!=t.bill?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.bill.vendor_name))]),a("br"),t._v("\n "+t._s(t.bill.billing_address)+"\n ")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.bill.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.bill.trn_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Due Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.bill.due_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.bill.created_at))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Amount Due","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.bill.due)))])])])])]):t._e()]),t._v(" "),null!=t.bill?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.bill.bill_details,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(i+1))]),t._v(" "),a("td",[t._v(t._s(e.ledger_name))]),t._v(" "),a("td",[t._v(t._s(e.particulars))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.amount)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Subtotal","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.bill.amount)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.bill.amount)))])])])])])])]):t._e()]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.bill.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.bill.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(147),n=a(358),r=!1;var s=function(t){r||a(357)},o=a(0)(i.a,n.a,!1,s,"data-v-69835604",null);o.options.__file="modules/accounting/assets/src/admin/components/pay-bill/PayBillCreate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container pay-bill-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("New Bill Payment","erp")))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.SubmitForPayment(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("select-people",{on:{input:t.getDueBills},model:{value:t.basic_fields.people,callback:function(e){t.$set(t.basic_fields,"people",e)},expression:"basic_fields.people"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Reference","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.trn_ref,expression:"basic_fields.trn_ref"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.basic_fields.trn_ref},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"trn_ref",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Payment Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.payment_date,callback:function(e){t.$set(t.basic_fields,"payment_date",e)},expression:"basic_fields.payment_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("Payment Method","erp")))]),t._v(" "),a("multi-select",{attrs:{options:t.pay_methods},model:{value:t.basic_fields.trn_by,callback:function(e){t.$set(t.basic_fields,"trn_by",e)},expression:"basic_fields.trn_by"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Transaction From","erp")))]),t._v(" "),a("select-accounts",{attrs:{override_accts:t.accts_by_chart},model:{value:t.basic_fields.deposit_to,callback:function(e){t.$set(t.basic_fields,"deposit_to",e)},expression:"basic_fields.deposit_to"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model.trim",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address",modifiers:{trim:!0}}],staticClass:"wperp-form-field",attrs:{rows:"3",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),"3"===t.basic_fields.trn_by.id?a("check-fields",{on:{updateCheckFields:t.setCheckFields}}):t._e()],1)],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("th",{staticClass:"col--id column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("Bill No","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Due Date","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Total","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Due","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.pay_bills,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"col--id column-primary",attrs:{scope:"row"}},[t._v("#"+t._s(e.voucher_no))]),t._v(" "),a("td",{staticClass:"col--due-date",attrs:{"data-colname":"Due Date"}},[t._v(t._s(e.due_date))]),t._v(" "),a("td",{staticClass:"col--total",attrs:{"data-colname":"Total"}},[t._v(t._s(t.moneyFormat(e.amount)))]),t._v(" "),a("td",{staticClass:"col--due",attrs:{"data-colname":"Due"}},[t._v(t._s(e.due))]),t._v(" "),a("td",{staticClass:"col--amount text-right",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.totalAmounts[i],expression:"totalAmounts[key]"}],staticClass:"text-right",attrs:{type:"text",min:"0",max:e.due},domProps:{value:t.totalAmounts[i]},on:{keyup:t.updateFinalAmount,input:function(e){e.target.composing||t.$set(t.totalAmounts,i,e.target.value)}}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove Above Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right pr-0 hide-sm",attrs:{colspan:"4"}},[t._v(t._s(t.__("Total Amount","erp")))]),t._v(" "),a("td",{staticClass:"text-right",attrs:{"data-colname":"Total Amount"}},[a("input",{staticClass:"text-right",attrs:{type:"text",readonly:"",disabled:""},domProps:{value:t.moneyFormat(t.finalTotalAmount)}})]),t._v(" "),a("td",{staticClass:"text-right"})])],2),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Internal Information","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])]),t._v(" "),a("tfoot",[a("tr",[a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(148),n=a(361),r=!1;var s=function(t){r||a(360)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/pay-bill/PayBillSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog paybill-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v(t._s(t.__("Pay Bill","erp")))]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2)],1)]),t._v(" "),t.showModal?a("send-mail",{attrs:{userid:t.people_id,data:t.print_data,type:t.type}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Pay Bill","erp")))]),t._v(" "),null!=t.payBill?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.payBill.vendor_name))]),a("br")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.payBill.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payBill.trn_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payBill.created_at))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction From","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payBill.trn_by))])])])])]):t._e()]),t._v(" "),null!=t.payBill?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl.","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Bill No","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.payBill.bill_details,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.id))]),t._v(" "),a("td",[t._v(t._s(e.bill_no))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.amount)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Subtotal","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.payBill.amount)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.payBill.amount)))])])])])])])]):t._e()]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.payBill.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.payBill.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(149),n=a(369),r=!1;var s=function(t){r||a(363)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/purchase/PurchaseCreate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(150),n=a(366),r=!1;var s=function(t){r||a(365)},o=a(0)(i.a,n.a,!1,s,"data-v-0863a421",null);o.options.__file="modules/accounting/assets/src/admin/components/purchase/PurchaseRow.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("th",{staticClass:"col--check with-multiselect column-primary product-select",attrs:{scope:"row"}},[a("multi-select",{attrs:{options:t.products},on:{input:t.setProductInfo},model:{value:t.line.selectedProduct,callback:function(e){t.$set(t.line,"selectedProduct",e)},expression:"line.selectedProduct"}})],1),t._v(" "),a("td",{staticClass:"col--qty"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.line.qty,expression:"line.qty"}],staticClass:"wperp-form-field",attrs:{min:"0",type:"number",name:"qty",required:!!t.line.selectedProduct},domProps:{value:t.line.qty},on:{keyup:t.calculateAmount,input:function(e){e.target.composing||t.$set(t.line,"qty",e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--uni_price",attrs:{"data-colname":"Unit Price"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.line.unitPrice,expression:"line.unitPrice"}],staticClass:"wperp-form-field text-right",attrs:{min:"0",type:"number",step:"0.01",required:!!t.line.selectedProduct},domProps:{value:t.line.unitPrice},on:{keyup:t.calculateAmount,input:function(e){e.target.composing||t.$set(t.line,"unitPrice",e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--amount",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.line.amount,expression:"line.amount"}],staticClass:"wperp-form-field text-right",attrs:{type:"number",min:"0",step:"0.01",readonly:""},domProps:{value:t.line.amount},on:{input:function(e){e.target.composing||t.$set(t.line,"amount",e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--actions delete-row",attrs:{"data-colname":"Action"}},[a("span",{staticClass:"wperp-btn",on:{click:t.removeRow}},[a("i",{staticClass:"flaticon-trash"})])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-form-group invoice-customers with-multiselect"},[t.showModal?a("people-modal",{attrs:{title:"Add new vendor",type:"vendor"}}):t._e(),t._v(" "),t._m(0),t._v(" "),a("multi-select",{attrs:{options:t.options},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}}),t._v(" "),a("a",{staticClass:"add-new-customer",attrs:{href:"#"},on:{click:function(e){t.showModal=!0}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add new","erp"))+"\n ")])],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("label",[this._v("Vendor"),e("span",{staticClass:"wperp-required-sign"},[this._v("*")])])}]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container purchase-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[t.orderToPurchase()?a("h2",[t._v("Convert into Purchase")]):a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.editMode?"Edit":"New")+" "+t._s(t.page_title))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.SubmitForApproval(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("select-vendors",{model:{value:t.basic_fields.vendor,callback:function(e){t.$set(t.basic_fields,"vendor",e)},expression:"basic_fields.vendor"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Transaction Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.trn_date,callback:function(e){t.$set(t.basic_fields,"trn_date",e)},expression:"basic_fields.trn_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Due Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.due_date,callback:function(e){t.$set(t.basic_fields,"due_date",e)},expression:"basic_fields.due_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("label",[t._v(t._s(t.__("Reference No","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.ref,expression:"basic_fields.ref"}],staticClass:"wperp-form-field",attrs:{type:"text",rows:"4"},domProps:{value:t.basic_fields.ref},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"ref",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address"}],staticClass:"wperp-form-field",attrs:{rows:"4",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value)}}})])])],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("td",{staticClass:"col--product",attrs:{scope:"col"}},[t._v(t._s(t.__("Product/Service","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Qty","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Unit Price","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.transactionLines,function(e,i){return a("purchase-row",{key:i,attrs:{line:e,products:t.products}})}),t._v(" "),a("tr",{staticClass:"add-new-line"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.addLine(e)}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add Line","erp"))+"\n ")])])]),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right",attrs:{colspan:"3"}},[a("span",[t._v(t._s(t.__("Total Amount","erp"))+" = ")])]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.finalTotalAmount,expression:"finalTotalAmount"}],staticClass:"wperp-form-field text-right",attrs:{type:"text",readonly:""},domProps:{value:t.finalTotalAmount},on:{input:function(e){e.target.composing||(t.finalTotalAmount=e.target.value)}}})]),t._v(" "),a("td")]),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Particulars","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",[a("td",t._l(t.attachments,function(e,i){return a("div",{key:i,staticClass:"attachment-item"},[a("img",{attrs:{src:t.erp_acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("span",{staticClass:"remove-file",on:{click:function(e){return t.removeFile(i)}}},[t._v("✗")]),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("h3",[t._v(t._s(t.getFileName(e)))])])])}),0)]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])])],2),t._v(" "),a("tfoot",[a("tr",[t.orderToPurchase()?a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[a("combo-button",{attrs:{options:[{id:"update",text:"Save Conversion"}]}})],1):a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[t.editMode?a("combo-button",{attrs:{options:t.updateButtons}}):a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(153),n=a(372),r=!1;var s=function(t){r||a(371)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/purchase/PurchaseSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog purchase-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h4",[t._v(t._s(t.__("Purchase","erp")))]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2)],1)]),t._v(" "),t.showModal?a("send-mail",{attrs:{userid:t.people_id,data:t.print_data,type:t.type}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Purchase","erp")))]),t._v(" "),null!=t.purchase?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.purchase.vendor_name))]),a("br"),t._v("\n "+t._s(t.purchase.billing_address)+"\n ")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.purchase.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.purchase.date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Due Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.purchase.due_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.purchase.created_at))])])])])]):t._e()]),t._v(" "),null!=t.purchase?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl.","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Item name","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Qty","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Unit Price","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.purchase.line_items,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(i+1))]),t._v(" "),a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[t._v(t._s(e.qty))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.price)))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.amount)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Subtotal","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.purchase.amount)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.purchase.amount)))])])])])])])]):t._e()]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.purchase.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.purchase.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(154),n=a(375),r=!1;var s=function(t){r||a(374)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/pay-purchase/PayPurchaseCreate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container pay-purchase-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("New Purchase Payment","erp")))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.SubmitForPayment(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("select-vendors",{on:{input:t.getDuePurchases},model:{value:t.basic_fields.vendor,callback:function(e){t.$set(t.basic_fields,"vendor",e)},expression:"basic_fields.vendor"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Reference","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.trn_ref,expression:"basic_fields.trn_ref"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.basic_fields.trn_ref},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"trn_ref",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Payment Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.payment_date,callback:function(e){t.$set(t.basic_fields,"payment_date",e)},expression:"basic_fields.payment_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("Payment Method","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("multi-select",{attrs:{options:t.pay_methods},model:{value:t.basic_fields.trn_by,callback:function(e){t.$set(t.basic_fields,"trn_by",e)},expression:"basic_fields.trn_by"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("Transaction From","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("select-accounts",{attrs:{override_accts:t.accts_by_chart},model:{value:t.basic_fields.deposit_to,callback:function(e){t.$set(t.basic_fields,"deposit_to",e)},expression:"basic_fields.deposit_to"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model.trim",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address",modifiers:{trim:!0}}],staticClass:"wperp-form-field",attrs:{rows:"3",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),t.basic_fields.trn_by.id===t.paymentMethods.check?a("check-fields",{on:{updateCheckFields:t.setCheckFields}}):t._e()],1)],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("th",{staticClass:"col--id column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("Voucher No","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Due Date","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Total","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Due","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.pay_purchases,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"col--id column-primary",attrs:{scope:"row"}},[t._v("#"+t._s(e.voucher_no))]),t._v(" "),a("td",{staticClass:"col--due-date",attrs:{"data-colname":"Due Date"}},[t._v(t._s(e.due_date))]),t._v(" "),a("td",{staticClass:"col--total",attrs:{"data-colname":"Total"}},[t._v(t._s(t.moneyFormat(e.total)))]),t._v(" "),a("td",{staticClass:"col--due",attrs:{"data-colname":"Due"}},[t._v(t._s(t.moneyFormat(e.due)))]),t._v(" "),a("td",{staticClass:"col--amount",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.totalAmounts[i],expression:"totalAmounts[key]"}],staticClass:"text-right wperp-form-field",attrs:{type:"number",min:"0",step:"0.01",max:e.due,name:"amount"},domProps:{value:t.totalAmounts[i]},on:{keyup:t.updateFinalAmount,input:function(e){e.target.composing||t.$set(t.totalAmounts,i,e.target.value)}}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove Above Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.remove_item(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right pr-0 hide-sm",attrs:{colspan:"4"}},[t._v(t._s(t.__("Total Amount","erp")))]),t._v(" "),a("td",{staticClass:"text-right",attrs:{"data-colname":"Total Amount"}},[a("input",{staticClass:"text-right wperp-form-field",attrs:{type:"text",name:"finalamount",readonly:"",disabled:""},domProps:{value:t.moneyFormat(t.finalTotalAmount)}})]),t._v(" "),a("td",{staticClass:"text-right"})])],2),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Internal Information","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])]),t._v(" "),a("tfoot",[a("tr",[a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(155),n=a(378),r=!1;var s=function(t){r||a(377)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/pay-purchase/PayPurchaseSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog paypurchase-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v(t._s(t.__("Pay Purchase","erp")))]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2)],1)]),t._v(" "),t.showModal?a("send-mail",{attrs:{userid:t.people_id,data:t.print_data,type:t.type}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Pay Purchase","erp")))]),t._v(" "),null!=t.payPurchase?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.payPurchase.vendor_name))]),a("br"),t._v("\n "+t._s(t.payPurchase.billing_address)+"\n ")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.payPurchase.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payPurchase.trn_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payPurchase.created_at))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction From","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payPurchase.trn_by))])])])])]):t._e()]),t._v(" "),null!=t.payPurchase?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl.","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Purchase No","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Vendor","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.payPurchase.purchase_details,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.id))]),t._v(" "),a("td",[t._v(t._s(e.purchase_no))]),t._v(" "),a("td",[t._v(t._s(e.vendor_name))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.amount)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Subtotal","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.payPurchase.amount)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.payPurchase.amount)))])])])])])])]):t._e()]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.payPurchase.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.payPurchase.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(156),n=a(381),r=!1;var s=function(t){r||a(380)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/journal/JournalList.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"journals"},[t.journalModal?a("journal-modal",{attrs:{entry_id:t.journal_id}}):t._e(),t._v(" "),a("h2",{staticClass:"add-new-journal"},[a("span",[t._v(t._s(t.__("Journals","erp")))]),t._v(" "),a("a",{staticClass:"erp-journal-new",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.$router.push({name:"JournalCreate"})}}},[t._v("\n "+t._s(t.__("New Journal Entry","erp"))+"\n ")])]),t._v(" "),a("list-table",{attrs:{tableClass:"wp-ListTable widefat fixed journal-list","action-column":"actions",columns:t.columns,rows:t.row_data,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,showCb:!1},on:{pagination:t.goToPage},scopedSlots:t._u([{key:"l_id",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:"JournalSingle",params:{id:e.row.l_id}}}},[t._v("\n #"+t._s(e.row.l_id)+"\n ")])],1)]}}])})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(157),n=a(384),r=!1;var s=function(t){r||a(383)},o=a(0)(i.a,n.a,!1,s,"data-v-797e3e56",null);o.options.__file="modules/accounting/assets/src/admin/components/journal/JournalCreate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container journal-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("New Journal","erp")))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.SubmitForJournalCreate(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default pb-0"},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Transaction Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.trn_date,callback:function(e){t.$set(t.basic_fields,"trn_date",e)},expression:"basic_fields.trn_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Ref.","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.trn_ref,expression:"basic_fields.trn_ref"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.basic_fields.trn_ref},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"trn_ref",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.journal_parti,expression:"journal_parti"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"1",maxlength:"250",placeholder:t.__("Internal Information","erp")},domProps:{value:t.journal_parti},on:{input:function(e){e.target.composing||(t.journal_parti=e.target.value)}}})])])],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table new-journal-form"},[a("thead",[a("tr",[a("th",{staticClass:"column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("SL No.","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Credit","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.transactionLines,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"column-primary",attrs:{scope:"row"}},[t._v("\n "+t._s(i+1)+"\n ")]),t._v(" "),a("td",{staticClass:"col--account",attrs:{"data-colname":"Account"}},[a("div",{staticClass:"wperp-custom-select with-multiselect"},[a("multi-select",{attrs:{options:t.ledgers},model:{value:t.account_ids[i],callback:function(e){t.$set(t.account_ids,i,e)},expression:"account_ids[key]"}})],1)]),t._v(" "),a("td",{staticClass:"col--particulars",attrs:{"data-colname":"Particulars"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.particulars[i],expression:"particulars[key]"}],staticClass:"wperp-form-field",attrs:{type:"text",maxlength:"250"},domProps:{value:t.particulars[i]},on:{input:function(e){e.target.composing||t.$set(t.particulars,i,e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--debit",attrs:{"data-colname":"Debit"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.debitLine[i],expression:"debitLine[key]"}],staticClass:"wperp-form-field text-right",attrs:{type:"text",required:0===(Number(t.creditLine[i])||0)},domProps:{value:t.debitLine[i]},on:{keyup:function(e){return t.calculateAmount(i)},input:function(e){e.target.composing||t.$set(t.debitLine,i,e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--credit",attrs:{"data-colname":"Credit"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.creditLine[i],expression:"creditLine[key]"}],staticClass:"wperp-form-field text-right",attrs:{type:"text",required:0===(Number(t.debitLine[i])||0)},domProps:{value:t.creditLine[i]},on:{keyup:function(e){return t.calculateAmount(i)},input:function(e){e.target.composing||t.$set(t.creditLine,i,e.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--actions delete-row",attrs:{"data-colname":"Remove Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.remove_item(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.addLine(e)}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add Line","erp")))])])]),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"pl-10 text-right col--total-amount",attrs:{colspan:"3"}},[a("span",[t._v(t._s(t.__("Total Amount","erp")))])]),t._v(" "),a("td",{attrs:{"data-colname":"Debit"}},[a("input",{staticClass:"wperp-form-field text-right",attrs:{type:"text",readonly:""},domProps:{value:isNaN(t.totalDebit())?t.debit_total:t.moneyFormat(t.totalDebit())}})]),t._v(" "),a("td",{attrs:{"data-colname":"Credit"}},[a("input",{staticClass:"wperp-form-field text-right",attrs:{type:"text",readonly:""},domProps:{value:isNaN(t.totalCredit())?t.credit_total:t.moneyFormat(t.totalCredit())}})]),t._v(" "),a("td")])],2),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])]),t._v(" "),a("tfoot",[a("tr",[a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[a("submit-button",{attrs:{text:t.__("Save","erp")}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(158),n=a(387),r=!1;var s=function(t){r||a(386)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/journal/JournalSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog journal-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v(t._s(t.__("Journal","erp")))]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")])])]),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Journal","erp")))]),t._v(" "),null!=t.journal?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-12 pull-right"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Journal No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.journal.id))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Journal Ref","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.journal.ref))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Journal Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.journal.trn_date))])])])])]):t._e()]),t._v(" "),null!=t.journal?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp")))])])]),t._v(" "),a("tbody",t._l(t.journal.line_items,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.account))]),t._v(" "),a("td",[t._v(t._s(e.particulars))]),t._v(" "),a("td",[t._v(t._s(e.debit))]),t._v(" "),a("td",[t._v(t._s(e.credit))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Balance","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.journal.total)))])])])])])])]):t._e()]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.journal.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.journal.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(159),n=a(390),r=!1;var s=function(t){r||a(389)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/transfers/Transfers.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-money-transfer"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Transfer Money","erp")))]),t._v(" "),a("router-link",{staticClass:"wperp-btn btn--primary",attrs:{to:{name:"NewTransfer"}}},[t._v(t._s(t.__("Add new","erp")))])],1)])]),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat table2 money-transfer-list","action-column":"actions",columns:t.columns,rows:t.transfer_list},scopedSlots:t._u([{key:"voucher",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:"SingleTransfer",params:{id:e.row.id}}}},[t._v("\n #"+t._s(e.row.voucher)+"\n ")])],1)]}}])})],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(160),n=a(393),r=!1;var s=function(t){r||a(392)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/transfers/NewTransfer.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Transfer Money","erp")))])])])]),t._v(" "),a("div",{staticClass:"wperp-panel wperp-panel-default pb-0"},[a("div",{staticClass:"wperp-panel-body"},[a("form",{staticClass:"modal-form edit-customer-modal",attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitTransfer(e)}}},[a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-row wperp-gutter-20"},[a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"transfer_funds_from"}},[t._v(t._s(t.__("Transfer Funds From","erp")))]),t._v(" "),a("div",{staticClass:"wperp-custom-select with-multiselect"},[a("multi-select",{attrs:{id:"transfer_funds_from",name:"from",multiple:!1,options:t.fa,placeholder:t.__("Select Account","erp")},model:{value:t.transferFrom,callback:function(e){t.transferFrom=e},expression:"transferFrom"}})],1),t._v(" "),a("span",{staticClass:"balance mt-10 display-inline-block"},[t._v(t._s(t.__("Balance","erp"))+": "+t._s(t.transformBalance(t.transferFrom.balance)))])]),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"transfer_funds_to"}},[t._v(t._s(t.__("Transfer Funds To","erp")))]),t._v(" "),a("div",{staticClass:"wperp-custom-select with-multiselect"},[a("multi-select",{attrs:{id:"transfer_funds_to",name:"to",multiple:!1,options:t.ta,placeholder:t.__("Select Account","erp")},model:{value:t.transferTo,callback:function(e){t.transferTo=e},expression:"transferTo"}})],1),t._v(" "),a("span",{staticClass:"balance mt-10 display-inline-block"},[t._v(t._s(t.__("Balance","erp"))+": "+t._s(t.transformBalance(t.transferTo.balance)))])]),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"transfer_amount"}},[t._v(t._s(t.__("Transfer Amount","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],staticClass:"wperp-form-field",attrs:{required:"",min:"0",step:"0.01",type:"number",name:"transfer_amount",id:"transfer_amount",placeholder:"$100.00"},domProps:{value:t.amount},on:{input:function(e){e.target.composing||(t.amount=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-col-sm-6 wperp-col-xs-12"},[a("label",{attrs:{for:"transfer_date"}},[t._v(t._s(t.__("Transfer Date","erp")))]),t._v(" "),a("datepicker",{staticClass:"wperp-form-field",attrs:{id:"transfer_date",name:"transfer_date"},model:{value:t.transferdate,callback:function(e){t.transferdate=e},expression:"transferdate"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-xs-12 wperp-form-group"},[a("label",{attrs:{for:"particulars"}},[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field",attrs:{name:"particulars",id:"particulars",rows:"3",maxlength:"250",placeholder:t.__("Type Here","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])])]),t._v(" "),a("div",{staticClass:"wperp-modal-footer pt-0"},[a("button",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit"}},[t._v(t._s(t.__("Transfer Money","erp")))])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(161),n=a(396),r=!1;var s=function(t){r||a(395)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/transfers/SingleTransfer.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog sales-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v(t._s(t.__("Transfer Money","erp")))]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2)],1)]),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[t.company.address?a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")]):t._e()])]),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Transfer Money","erp")))]),t._v(" "),t.voucher.created_by?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("h5",[t._v(t._s(t.__("Created By","erp"))+":")]),t._v(" "),a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.voucher.created_by.display_name))]),a("br"),t._v("\n "+t._s(t.voucher.created_by.user_email)+"\n ")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.voucher.trn_date))])])])])]):t._e()]),t._v(" "),a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Account From","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Account To","erp")))])])]),t._v(" "),a("tbody",[a("tr",[a("th",[t._v("#"+t._s(t.voucher.voucher))]),t._v(" "),a("th",[t._v(t._s(t.voucher.ac_from))]),t._v(" "),a("th",[t._v(t._s(t.moneyFormat(t.voucher.amount)))]),t._v(" "),a("th",[t._v(t._s(t.voucher.ac_to))])])]),t._v(" "),a("tfoot",[a("tr",[a("td",{staticClass:"wperp-invoice-amounts",attrs:{colspan:"7"}},[a("h2",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),t.voucher.particulars?a("p",[t._v(t._s(t.voucher.particulars))]):t._e()])])])])])])]),t._v(" "),t.showModal?a("send-mail",{attrs:{data:t.print_data,type:t.transfer_voucher}}):t._e()],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(162),n=a(399),r=!1;var s=function(t){r||a(398)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/expense/ExpenseCreate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container expense-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[t.draftToExpense()?a("h2",[t._v(t._s(t.__("Convert into Expense","erp")))]):a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("New Expense","erp")))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.SubmitForExpense(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{staticClass:"wperp-form",attrs:{action:"",method:"post"}},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("select-people",{model:{value:t.basic_fields.people,callback:function(e){t.$set(t.basic_fields,"people",e)},expression:"basic_fields.people"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Reference","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.trn_ref,expression:"basic_fields.trn_ref"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.basic_fields.trn_ref},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"trn_ref",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Expense Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.trn_date,callback:function(e){t.$set(t.basic_fields,"trn_date",e)},expression:"basic_fields.trn_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("Payment Method","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("multi-select",{attrs:{options:t.pay_methods},model:{value:t.basic_fields.trn_by,callback:function(e){t.$set(t.basic_fields,"trn_by",e)},expression:"basic_fields.trn_by"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("Transaction From","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("select-accounts",{attrs:{override_accts:t.accts_by_chart},model:{value:t.basic_fields.deposit_to,callback:function(e){t.$set(t.basic_fields,"deposit_to",e)},expression:"basic_fields.deposit_to"}})],1),t._v(" "),"2"===t.basic_fields.trn_by.id?a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Transaction Charge","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.bank_data.trn_charge,expression:"bank_data.trn_charge"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.bank_data.trn_charge},on:{input:function(e){e.target.composing||t.$set(t.bank_data,"trn_charge",e.target.value)}}})])]):t._e(),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model.trim",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address",modifiers:{trim:!0}}],staticClass:"wperp-form-field",attrs:{rows:"3",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),"3"===t.basic_fields.trn_by.id?a("check-fields",{on:{updateCheckFields:t.setCheckFields}}):t._e()],1)])],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("th",{staticClass:"col--id column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("SL No.","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Description","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Total","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.transactionLines,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"col--id column-primary",attrs:{scope:"row"}},[t._v(t._s(i+1))]),t._v(" "),a("td",{staticClass:"col--account with-multiselect"},[a("multi-select",{attrs:{options:t.ledgers},model:{value:e.ledger_id,callback:function(a){t.$set(e,"ledger_id",a)},expression:"line.ledger_id"}})],1),t._v(" "),a("td",{staticClass:"col--particulars"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.particulars,expression:"line.particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"1",maxlength:"250",placeholder:t.__("Particulars","erp")},domProps:{value:e.particulars},on:{input:function(a){a.target.composing||t.$set(e,"particulars",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--amount",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"line.amount"}],staticClass:"text-right wperp-form-field",attrs:{type:"text",name:"amount",autocomplete:"off",required:!!e.ledger_id},domProps:{value:e.amount},on:{keyup:t.updateFinalAmount,input:function(a){a.target.composing||t.$set(e,"amount",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--total",attrs:{"data-colname":"Total"}},[a("input",{staticClass:"text-right wperp-form-field",attrs:{type:"text",readonly:"",disabled:""},domProps:{value:t.moneyFormat(e.amount)}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove Above Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.addLine(e)}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add Line","erp")))])])]),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right pr-0 hide-sm",attrs:{colspan:"4"}},[t._v(t._s(t.__("Total Amount","erp")))]),t._v(" "),a("td",{staticClass:"text-right",attrs:{"data-colname":"Total Amount"}},[a("input",{staticClass:"text-right wperp-form-field",attrs:{type:"text",name:"finalamount",readonly:"",disabled:""},domProps:{value:t.moneyFormat(t.finalTotalAmount)}})]),t._v(" "),a("td",{staticClass:"text-right"})]),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Internal Information","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",[a("td",t._l(t.attachments,function(e,i){return a("div",{key:i,staticClass:"attachment-item"},[a("img",{attrs:{src:t.erp_acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("span",{staticClass:"remove-file",on:{click:function(e){return t.removeFile(i)}}},[t._v("✗")]),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("h3",[t._v(t._s(t.getFileName(e)))])])])}),0)]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])])],2),t._v(" "),a("tfoot",[a("tr",[a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[t.draftToExpense()?a("combo-button",{attrs:{options:[{id:"update",text:"Save Conversion"}]}}):t.editMode?a("combo-button",{attrs:{options:t.updateButtons}}):a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(163),n=a(406),r=!1;var s=function(t){r||a(401)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/sales/SalesSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(164),n=a(403),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/transactions/sales/InvoiceSingleContent.vue",e.a=r.exports},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.getInvoiceType()))]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("h5",[t._v(t._s(t.__("Bill to","erp"))+":")]),t._v(" "),a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.invoice.customer_name))]),a("br"),t._v("\n "+t._s(t.invoice.billing_address)+"\n ")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.invoice.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.invoice.trn_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Due Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.invoice.due_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.invoice.created_at))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Amount Due","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.invoice.total_due)))])])])])])]),t._v(" "),a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl","erp"))+".")]),t._v(" "),a("th",[t._v(t._s(t.__("Product","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Qty","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Unit Price","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.invoice.line_items,function(e,i){return a("tr",{key:i},[a("th",[t._v(t._s(i+1))]),t._v(" "),a("th",[t._v(t._s(e.name))]),t._v(" "),a("td",[t._v(t._s(e.qty))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.unit_price)))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.item_total)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{staticClass:"wperp-invoice-amounts",attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Subtotal","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.invoice.amount)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Discount","erp"))+":")]),t._v(" (-) "+t._s(t.moneyFormat(t.invoice.discount)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Tax","erp"))+":")]),t._v(" (+) "+t._s(t.moneyFormat(t.invoice.tax)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.total)))])])])])])])])]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.invoice.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.invoice.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(165),n=a(405),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/transactions/sales/PaymentSingleContent.vue",e.a=r.exports},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Payment","erp")))]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("h5",[t._v(t._s(t.__("Payment From","erp"))+":")]),t._v(" "),a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.payment.customer_name))]),a("br")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.payment.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payment.trn_date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payment.created_at))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Deposit To","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.payment.account))])]),t._v(" "),t.payment.transaction_charge?a("tr",[a("th",[t._v(t._s(t.__("Transaction Charge","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.payment.transaction_charge)))])]):t._e()])])])]),t._v(" "),a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl.","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Invoice ID","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.payment.line_items,function(e,i){return a("tr",{key:i},[a("th",[t._v("#"+t._s(i+1))]),t._v(" "),a("th",[t._v(t._s(e.invoice_no))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.amount)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Subtotal","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.payment.amount)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.payment.amount)))])])])])])])])]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.payment.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.payment.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog sales-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[null!=t.type?a("h2",[t._v(t._s("payment"==t.type?"Receive Payment":t.getInvoiceType()))]):t._e(),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),t.acct_var.pdf_plugin_active?a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:t.pdf_link}},[t._v(t._s(t.__("Export as PDF","erp")))])]),t._v(" "),a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2):t._e(),t._v(" "),t.invoice?[a("a",{directives:[{name:"clipboard",rawName:"v-clipboard",value:t.copyLink,expression:"copyLink"}],staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{success:t.handleSuccess,error:t.handleError}},[t._v(t._s(t.__("Copy Link","erp")))])]:t._e()],2)]),t._v(" "),null!=t.invoice&&null!=t.company?a("invoice-single-content",{attrs:{invoice:t.invoice,company:t.company}}):t._e(),t._v(" "),null!=t.payment&&null!=t.company?a("payment-single-content",{attrs:{payment:t.payment,company:t.company}}):t._e(),t._v(" "),t.showModal?a("send-mail",{attrs:{userid:t.user_id,data:t.print_data,type:t.type}}):t._e()],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(166),n=a(420),r=!1;var s=function(t){r||a(408)},o=a(0)(i.a,n.a,!1,s,"data-v-cb0042b6",null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/sales/Sales.vue",e.a=o.exports},function(t,e){},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.outside,expression:"outside"}],staticClass:"wperp-select-container select-primary combo-box"},[void 0!==t.selectedOption.name?a("div",{staticClass:"wperp-selected-option",on:{click:function(e){return t.toggleMenu()}}},[t._v("\n "+t._s(t.selectedOption.name)+"\n "),a("span",{staticClass:"caret"})]):t._e(),t._v(" "),void 0===t.selectedOption.name?a("div",{staticClass:"wperp-selected-option",on:{click:function(e){return t.toggleMenu()}}},[t._v("\n "+t._s(t.placeholderText)+"\n "),a("span",{staticClass:"caret"})]):t._e(),t._v(" "),t.showMenu?a("ul",{staticClass:"wperp-options"},t._l(t.options,function(e,i){return a("li",{key:i},[t.hasUrl?a("router-link",{attrs:{to:{name:e.namedRoute}}},[t._v(t._s(e.name))]):a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.updateOption(e)}}},[t._v("\n "+t._s(e.name)+"\n ")])],1)}),0):t._e()])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(168),n=a(412),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/transactions/sales/SalesStats.vue",e.a=r.exports},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-stats wperp-section"},[a("div",{staticClass:"wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[t.chartPayment.values.length?a("pie-chart",{attrs:{id:"payment",title:t.__("Payment","erp"),labels:t.chartPayment.labels,colors:t.chartPayment.colors,data:t.chartPayment.values}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[t.chartStatus.values.length?a("pie-chart",{attrs:{id:"status",title:t.__("Status","erp"),labels:t.chartStatus.labels,colors:t.chartStatus.colors,data:t.chartStatus.values}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-chart-block"},[a("h3",[t._v(t._s(t.__("Outstanding","erp")))]),t._v(" "),a("div",{staticClass:"wperp-total"},[a("h2",[t._v(t._s(t.formatAmount(t.chartPayment.outstanding)))])])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(169),n=a(415),r=!1;var s=function(t){r||a(414)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/sales/SalesList.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-transactions-section wperp-section"},[a("div",{staticClass:"table-container"},[a("div",{staticClass:"bulk-action"},[a("a",{attrs:{href:"#"}},[a("i",{staticClass:"flaticon-trash"}),t._v(t._s(t.__("Trash","erp")))]),t._v(" "),t._m(0)]),t._v(" "),a("list-table",{attrs:{loading:t.listLoading,tableClass:"wperp-table table-striped table-dark widefat table2 transactions-table","action-column":"actions",columns:t.columns,rows:t.rows,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:[]},on:{pagination:t.goToPage,"action:click":t.onActionClick},scopedSlots:t._u([{key:"trn_no",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:"SalesSingle",params:{id:e.row.id,type:t.isPayment(e.row)?"payment":"invoice"}}}},[t._v("\n #"+t._s(e.row.id)+"\n ")])],1)]}},{key:"type",fn:function(e){return[t._v("\n "+t._s(t.getTrnType(e.row))+"\n ")]}},{key:"ref",fn:function(e){return[t._v("\n "+t._s(e.row.ref?e.row.ref:"-")+"\n ")]}},{key:"customer_name",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?e.row.pay_cus_name:e.row.inv_cus_name)+"\n ")]}},{key:"trn_date",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?e.row.payment_trn_date:e.row.invoice_trn_date)+"\n ")]}},{key:"due_date",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?"-":e.row.due_date)+"\n ")]}},{key:"due",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?"-":t.formatAmount(e.row.due))+"\n ")]}},{key:"amount",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?t.formatAmount(e.row.payment_amount):t.formatAmount(e.row.sales_amount))+"\n ")]}},{key:"status",fn:function(e){return[t._v("\n "+t._s(e.row.status)+"\n ")]}},{key:"action-list",fn:function(e){return t._l(e.row.actions,function(i,n){return a("li",{key:i.key,class:i.key},[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.onActionClick(i.key,e.row,n)}}},[a("i",{class:i.iconClass}),t._v(t._s(i.label)+"\n ")])])})}}])})],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"dismiss-bulk-action",attrs:{href:"#"}},[e("i",{staticClass:"flaticon-close"})])}]};e.a=n},function(t,e,a){"use strict";var i=a(171),n=a(418),r=!1;var s=function(t){r||a(417)},o=a(0)(i.a,n.a,!1,s,"data-v-2818e04a",null);o.options.__file="modules/accounting/assets/src/admin/components/select/SimpleSelect.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.checkOptions?a("div",{staticClass:"vue-select",style:"width:"+t.width+"px"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.select_val,expression:"select_val"}],on:{change:[function(e){var a=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.select_val=e.target.multiple?a:a[0]},t.onChange]}},t._l(t.options,function(e){return a("option",{key:e.id,domProps:{value:e.id}},[t._v(t._s(e.name))])}),0),t._v(" "),a("i",{staticClass:"select--icon"})]):t._e()};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content-header-section separator wperp-has-border-top"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Transactions","erp")))])]),t._v(" "),a("div",{staticClass:"wperp-col"},[a("form",{staticClass:"wperp-form form--inline",attrs:{action:""},on:{submit:function(e){return e.preventDefault(),t.filterList(e)}}},[a("div",{class:["wperp-has-dropdown",{"dropdown-opened":t.showFilters}]},[a("a",{staticClass:"wperp-btn btn--default dropdown-trigger filter-button",on:{click:function(e){return e.preventDefault(),t.toggleFilter(e)}}},[a("span",[a("i",{staticClass:"flaticon-search-segment"}),t._v(t._s(t.__("Filters","erp")))]),t._v(" "),a("i",{staticClass:"flaticon-arrow-down-sign-to-navigate"})]),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right wperp-filter-container"},[a("div",{staticClass:"wperp-panel wperp-panel-default wperp-filter-panel"},[a("h3",[t._v(t._s(t.__("Filter","erp")))]),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("h3",[t._v(t._s(t.__("Date","erp")))]),t._v(" "),a("div",{staticClass:"form-fields"},[a("div",{staticClass:"start-date has-addons"},[a("datepicker",{model:{value:t.filters.start_date,callback:function(e){t.$set(t.filters,"start_date",e)},expression:"filters.start_date"}}),t._v(" "),a("span",{staticClass:"flaticon-calendar"})],1),t._v(" "),a("span",{staticClass:"label-to"},[t._v(t._s(t.__("To","erp")))]),t._v(" "),a("div",{staticClass:"end-date has-addons"},[a("datepicker",{model:{value:t.filters.end_date,callback:function(e){t.$set(t.filters,"end_date",e)},expression:"filters.end_date"}}),t._v(" "),a("span",{staticClass:"flaticon-calendar"})],1)]),t._v(" "),a("br"),t._v(" "),a("h3",[t._v(t._s(t.__("Status","erp")))]),t._v(" "),a("div",{staticClass:"form-fields"},[a("simple-select",{attrs:{options:t.statuses},model:{value:t.filters.status,callback:function(e){t.$set(t.filters,"status",e)},expression:"filters.status"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-panel-footer"},[a("input",{staticClass:"wperp-btn btn--default",attrs:{type:"reset",value:"Cancel"},on:{click:t.toggleFilter}}),t._v(" "),a("input",{staticClass:"wperp-btn btn--primary",attrs:{type:"submit",value:"Submit"}})])])])]),t._v(" "),t._m(0)])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"wperp-import-wrapper display-inline-block"},[e("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#",title:"Import"}},[e("span",{staticClass:"flaticon-import"})])])}]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Sales Transactions","erp")))]),t._v(" "),a("combo-box",{attrs:{options:t.pages,hasUrl:!0,placeholder:t.__("New Transaction","erp")}})],1)])]),t._v(" "),a("sales-stats"),t._v(" "),a("transactions-filter"),t._v(" "),a("sales-list")],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(172),n=a(428),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/transactions/expenses/Expenses.vue",e.a=r.exports},function(t,e,a){"use strict";var i=a(174),n=a(424),r=!1;var s=function(t){r||a(423)},o=a(0)(i.a,n.a,!1,s,"data-v-64c22fe4",null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/expenses/ExpensesStats.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-stats wperp-section"},[a("div",{staticClass:"wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[t.chartExpense.values.length?a("pie-chart",{attrs:{id:"payment",title:t.__("Payment","erp"),labels:t.chartExpense.labels,colors:t.chartExpense.colors,data:t.chartExpense.values}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[t.chartStatus.values.length?a("pie-chart",{attrs:{id:"status",title:t.__("Status","erp"),sign:"",labels:t.chartStatus.labels,colors:t.chartStatus.colors,data:t.chartStatus.values}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-chart-block"},[a("h3",[t._v(t._s(t.__("Outstanding","erp")))]),t._v(" "),a("div",{staticClass:"wperp-total"},[a("h2",[t._v(t._s(t.formatAmount(t.chartExpense.outstanding)))])])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(175),n=a(427),r=!1;var s=function(t){r||a(426)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/expenses/ExpensesList.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-transactions-section wperp-section"},[a("div",{staticClass:"table-container"},[a("div",{staticClass:"bulk-action"},[a("a",{attrs:{href:"#"}},[a("i",{staticClass:"flaticon-trash"}),t._v(t._s(t.__("Trash","erp")))]),t._v(" "),t._m(0)]),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat table2 transactions-table","action-column":"actions",columns:t.columns,rows:t.row_items,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:[]},on:{pagination:t.goToPage,"action:click":t.onActionClick},scopedSlots:t._u([{key:"trn_no",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:e.row.singleView}},[t._v("\n #"+t._s(e.row.id)+"\n ")])],1)]}},{key:"action-list",fn:function(e){return t._l(e.row.actions,function(i,n){return a("li",{key:i.key,class:i.key},[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.onActionClick(i.key,e.row,n)}}},[a("i",{class:i.iconClass}),t._v(t._s(i.label)+"\n ")])])})}},{key:"status",fn:function(e){return[t._v("\n "+t._s(e.row.status)+"\n ")]}}])})],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"dismiss-bulk-action",attrs:{href:"#"}},[e("i",{staticClass:"flaticon-close"})])}]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Expenses Transactions","erp")))]),t._v(" "),a("combo-box",{attrs:{options:t.pages,hasUrl:!0,placeholder:t.__("New Transaction","erp")}})],1)])]),t._v(" "),a("expenses-stats"),t._v(" "),a("transactions-filter"),t._v(" "),a("expenses-list")],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(176),n=a(431),r=!1;var s=function(t){r||a(430)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/expense/ExpenseSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog expense-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v(t._s(t.__("Expense","erp")))]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v("Send Mail")])])])])],2)],1)]),t._v(" "),t.showModal?a("send-mail",{attrs:{userid:t.people_id,data:t.print_data,type:t.type}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Expense","erp")))]),t._v(" "),null!=t.expense_data?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.expense_data.people_name))]),a("br"),t._v("\n "+t._s(t.expense_data.address)+"\n ")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.expense_data.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.expense_data.date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.expense_data.created_at))])])])])]):t._e(),t._v(" "),t.expense_data.check_data.length?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-12"},[a("table",[a("tr",[a("th",[t._v(t._s(t.__("Check No","erp"))+":")]),t._v(" "),a("td",[t._v("#"+t._s(t.expense_data.check_data.check_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Bank Name","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.expense_data.check_data.bank))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Pay To","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.expense_data.check_data.pay_to))])])])])]):t._e()]),t._v(" "),null!=t.expense_data?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.expense_data.bill_details,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(i+1))]),t._v(" "),a("td",[t._v(t._s(e.ledger_name))]),t._v(" "),a("td",[t._v(t._s(e.particulars))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.amount)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Subtotal","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.expense_data.total)))]),t._v(" "),a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.expense_data.total)))])])])])])])]):t._e()]),t._v(" "),a("trans-particulars",{attrs:{particulars:t.expense_data.particulars}}),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.expense_data.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)],1)],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(177),n=a(439),r=a(0)(i.a,n.a,!1,null,null,null);r.options.__file="modules/accounting/assets/src/admin/components/transactions/purchases/Purchases.vue",e.a=r.exports},function(t,e,a){"use strict";var i=a(178),n=a(435),r=!1;var s=function(t){r||a(434)},o=a(0)(i.a,n.a,!1,s,"data-v-7807f61e",null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/purchases/PurchasesStats.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-stats wperp-section"},[a("div",{staticClass:"wperp-panel wperp-panel-default"},[a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[t.chartPurchase.values.length?a("pie-chart",{attrs:{id:"payment",title:t.__("Payment","erp"),labels:t.chartPurchase.labels,colors:t.chartPurchase.colors,data:t.chartPurchase.values}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[t.chartStatus.values.length?a("pie-chart",{attrs:{id:"status",title:t.__("Status","erp"),sign:"",labels:t.chartStatus.labels,colors:t.chartStatus.colors,data:t.chartStatus.values}}):t._e()],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-chart-block"},[a("h3",[t._v(t._s(t.__("Outstanding","erp")))]),t._v(" "),a("div",{staticClass:"wperp-total"},[a("h2",[t._v(t._s(t.formatAmount(t.chartPurchase.outstanding)))])])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(179),n=a(438),r=!1;var s=function(t){r||a(437)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/transactions/purchases/PurchasesList.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-transactions-section wperp-section"},[a("div",{staticClass:"table-container"},[a("div",{staticClass:"bulk-action"},[a("a",{attrs:{href:"#"}},[a("i",{staticClass:"flaticon-trash"}),t._v(t._s(t.__("Trash","erp")))]),t._v(" "),t._m(0)]),t._v(" "),a("list-table",{attrs:{loading:t.listLoading,tableClass:"wperp-table table-striped table-dark widefat table2 transactions-table","action-column":"actions",columns:t.columns,rows:t.rows,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:[]},on:{pagination:t.goToPage,"action:click":t.onActionClick},scopedSlots:t._u([{key:"trn_no",fn:function(e){return[t.isPayment(e.row)?a("strong",[a("router-link",{attrs:{to:{name:"PayPurchaseSingle",params:{id:e.row.id}}}},[t._v("\n #"+t._s(e.row.id)+"\n ")])],1):a("strong",[a("router-link",{attrs:{to:{name:"PurchaseSingle",params:{id:e.row.id}}}},[t._v("\n #"+t._s(e.row.id)+"\n ")])],1)]}},{key:"type",fn:function(e){return[t._v("\n "+t._s(t.getTrnType(e.row))+"\n ")]}},{key:"ref",fn:function(e){return[t._v("\n "+t._s(e.row.ref?e.row.ref:"-")+"\n ")]}},{key:"customer_name",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?e.row.pay_bill_vendor_name:e.row.vendor_name)+"\n ")]}},{key:"trn_date",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?e.row.pay_bill_trn_date:e.row.bill_trn_date)+"\n ")]}},{key:"due_date",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?"-":e.row.due_date)+"\n ")]}},{key:"due",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?"-":t.formatAmount(e.row.due))+"\n ")]}},{key:"amount",fn:function(e){return[t._v("\n "+t._s(t.isPayment(e.row)?t.formatAmount(e.row.pay_bill_amount):t.formatAmount(e.row.amount))+"\n ")]}},{key:"status",fn:function(e){return[t._v("\n "+t._s(e.row.status)+"\n ")]}},{key:"action-list",fn:function(e){return t._l(e.row.actions,function(i,n){return a("li",{key:i.key,class:i.key},[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.onActionClick(i.key,e.row,n)}}},[a("i",{class:i.iconClass}),t._v(t._s(i.label)+"\n ")])])})}}])})],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"dismiss-bulk-action",attrs:{href:"#"}},[e("i",{staticClass:"flaticon-close"})])}]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Purchases Transactions","erp")))]),t._v(" "),a("combo-box",{attrs:{options:t.pages,hasUrl:!0,placeholder:t.__("New Transaction","erp")}})],1)])]),t._v(" "),a("purchases-stats"),t._v(" "),a("transactions-filter"),t._v(" "),a("purchases-list")],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal has-form wperp-modal-open",attrs:{id:"wperp-tax-agency-modal",role:"dialog"}},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h3",[t._v(t._s(t.is_update?"Edit":"Add")+" "+t._s(t.__("Tax Agency","erp")))]),t._v(" "),a("span",{staticClass:"modal-close",on:{click:function(e){return e.preventDefault(),t.closeModal(e)}}},[a("i",{staticClass:"flaticon-close"})])]),t._v(" "),a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{staticClass:"modal-form edit-customer-modal",attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.taxAgencyFormSubmit(e)}}},[a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Tax Agency Name","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.agency,expression:"agency"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:t.agency},on:{input:function(e){e.target.composing||(t.agency=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-modal-footer pt-0"},[a("div",{staticClass:"buttons-wrapper text-right"},[t.is_update?a("submit-button",{attrs:{text:t.__("Update","erp"),working:t.isWorking}}):a("submit-button",{attrs:{text:t.__("Save","erp"),working:t.isWorking}})],1)])])],1)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal has-form wperp-modal-open",attrs:{id:"wperp-tax-category-modal",role:"dialog"}},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h3",[t._v(t._s(t.is_update?"Edit":"Add")+" "+t._s(t.__("Tax Category","erp")))]),t._v(" "),a("span",{staticClass:"modal-close",on:{click:function(e){return e.preventDefault(),t.closeModal(e)}}},[a("i",{staticClass:"flaticon-close"})])]),t._v(" "),a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{staticClass:"modal-form edit-customer-modal",attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.taxCatFormSubmit(e)}}},[a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Tax Category Name","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.category,expression:"category"}],staticClass:"wperp-form-field wperp-required-sign",attrs:{type:"text",required:""},domProps:{value:t.category},on:{input:function(e){e.target.composing||(t.category=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-form-group mb-0"},[a("label",[t._v(t._s(t.__("Description","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.desc,expression:"desc"}],staticClass:"wperp-form-field",attrs:{rows:"4",maxlength:"250"},domProps:{value:t.desc},on:{input:function(e){e.target.composing||(t.desc=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-modal-footer pt-0"},[a("div",{staticClass:"buttons-wrapper text-right"},[t.is_update?a("submit-button",{attrs:{text:t.__("Update","erp"),working:t.isWorking}}):a("submit-button",{attrs:{text:t.__("Save","erp"),working:t.isWorking}})],1)])])],1)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(182),n=a(448),r=!1;var s=function(t){r||a(445)},o=a(0)(i.a,n.a,!1,s,"data-v-0057bbb6",null);o.options.__file="modules/accounting/assets/src/admin/components/tax/NewTaxRate.vue",e.a=o.exports},function(t,e){},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal has-form wperp-modal-open",attrs:{id:"wperp-tax-agency-modal",role:"dialog"}},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h3",[t._v(t._s(t.is_update?"Edit":"Add")+" "+t._s(t.__("Tax Zone","erp")))]),t._v(" "),a("span",{staticClass:"modal-close",on:{click:function(e){return e.preventDefault(),t.closeModal(e)}}},[a("i",{staticClass:"flaticon-close"})])]),t._v(" "),a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{staticClass:"modal-form edit-customer-modal",attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.taxZoneFormSubmit(e)}}},[a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Tax Zone Name","erp"))+" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.rate_name,expression:"rate_name"}],staticClass:"wperp-form-field",attrs:{type:"text",required:""},domProps:{value:t.rate_name},on:{input:function(e){e.target.composing||(t.rate_name=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Tax Number","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.tax_number,expression:"tax_number"}],staticClass:"wperp-form-field",attrs:{type:"text",placeholder:t.__("Enter Tax Number","erp")},domProps:{value:t.tax_number},on:{input:function(e){e.target.composing||(t.tax_number=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.is_default,expression:"is_default"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.is_default)?t._i(t.is_default,null)>-1:t.is_default},on:{change:function(e){var a=t.is_default,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&(t.is_default=a.concat([null])):r>-1&&(t.is_default=a.slice(0,r).concat(a.slice(r+1)))}else t.is_default=n}}}),t._v(" "),a("span",{staticClass:"form-check-sign"}),t._v(" "),a("span",{staticClass:"field-label"},[t._v(t._s(t.__("Is this tax default","erp"))+"?")])])])]),t._v(" "),a("div",{staticClass:"wperp-modal-footer pt-0"},[a("div",{staticClass:"buttons-wrapper text-right"},[t.is_update?a("submit-button",{attrs:{text:t.__("Update","erp"),working:t.isWorking}}):a("submit-button",{attrs:{text:t.__("Save","erp"),working:t.isWorking}})],1)])])],1)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Add New Tax Rate","erp")))])])])]),t._v(" "),a("div",{staticClass:"wperp-panel wperp-panel-default pb-0 new-tax-rate"},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{staticClass:"wperp-form",attrs:{action:"",method:"post"}},[a("div",{staticClass:"wperp-row wperp-gutter-20"},[a("div",{staticClass:"wperp-form-group wperp-col-sm-6"},[a("label",[t._v(t._s(t.__("Tax Zone Name","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("div",{staticClass:"wperp-custom-select with-multiselect"},[a("multi-select",{attrs:{options:t.rate_names},model:{value:t.tax_name,callback:function(e){t.tax_name=e},expression:"tax_name"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-form-group wperp-col-sm-6 compound-checkbox"},[a("div",{staticClass:"form-check"},[a("label",{staticClass:"form-check-label"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.is_compound,expression:"is_compound"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.is_compound)?t._i(t.is_compound,null)>-1:t.is_compound},on:{change:[function(e){var a=t.is_compound,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&(t.is_compound=a.concat([null])):r>-1&&(t.is_compound=a.slice(0,r).concat(a.slice(r+1)))}else t.is_compound=n},function(e){t.isCompoundTax=!t.isCompoundTax}]}}),t._v(" "),a("span",{staticClass:"form-check-sign"}),t._v(" "),a("span",{staticClass:"field-label"},[t._v(t._s(t.__("Is this tax compound","erp"))+"?")])])])])]),t._v(" "),a("div",{staticClass:"table-container mt-20"},[a("table",{staticClass:"wperp-table wperp-form-table new-journal-form"},[a("thead",[a("tr",[a("th",{staticClass:"column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("Component Name","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Agency","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Tax Category","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Tax Rate","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.componentLines,function(e,i){return a("tr",{key:i,class:t.isRowExpanded?"is-row-expanded":""},[a("td",{staticClass:"col--component-name column-primary",attrs:{scope:"row"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.component_name,expression:"line.component_name"}],staticClass:"wperp-form-field",attrs:{type:"text"},domProps:{value:e.component_name},on:{input:function(a){a.target.composing||t.$set(e,"component_name",a.target.value)}}}),t._v(" "),a("a",{staticClass:"vis-hide after-select-dropdown",attrs:{href:"#"},on:{click:function(t){t.preventDefault()}}},[t._v(t._s(t.__("component","erp")))]),t._v(" "),a("button",{staticClass:"wperp-toggle-row",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.isRowExpanded=!t.isRowExpanded}}})]),t._v(" "),a("td",{staticClass:"col--agency with-multiselect",attrs:{"data-colname":"Agency"}},[a("multi-select",{attrs:{options:t.agencies},model:{value:e.agency_id,callback:function(a){t.$set(e,"agency_id",a)},expression:"line.agency_id"}}),t._v(" "),a("a",{staticClass:"after-select-dropdown",attrs:{href:"#",role:"button"},on:{click:function(e){e.preventDefault(),t.showAgencyModal=!0}}},[t._v(t._s(t.__("Add Tax Agency","erp")))])],1),t._v(" "),a("td",{staticClass:"col--tax-category with-multiselect",attrs:{"data-colname":"Tax Category"}},[a("multi-select",{attrs:{options:t.categories},model:{value:e.tax_category,callback:function(a){t.$set(e,"tax_category",a)},expression:"line.tax_category"}}),t._v(" "),a("a",{staticClass:"after-select-dropdown",attrs:{href:"#",role:"button"},on:{click:function(e){e.preventDefault(),t.showCatModal=!0}}},[t._v(t._s(t.__("Add Tax Category","erp")))])],1),t._v(" "),a("td",{staticClass:"col--tax-rate",attrs:{"data-colname":"Tax Rate"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.tax_rate,expression:"line.tax_rate"}],staticClass:"wperp-form-field text-right",attrs:{type:"text"},domProps:{value:e.tax_rate},on:{input:function(a){a.target.composing||t.$set(e,"tax_rate",a.target.value)}}}),t._v(" "),a("a",{staticClass:"vis-hide after-select-dropdown",attrs:{href:"#"},on:{click:function(t){t.preventDefault()}}},[t._v(t._s(t.__("tax rate","erp")))])]),t._v(" "),a("td",{staticClass:"col--actions delete-row",attrs:{"data-colname":"Remove Above Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),t.isCompoundTax?a("tr",{staticClass:"add-new-line"},[a("td",{staticClass:"text-left",attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.addLine(e)}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add Component","erp"))+"\n ")])])]):t._e()],2)])]),t._v(" "),t.showRateNameModal?a("new-tax-zone",{on:{close:function(e){t.showRateNameModal=!1}}}):t._e(),t._v(" "),t.showCatModal?a("new-tax-category",{on:{close:function(e){t.showCatModal=!1}}}):t._e(),t._v(" "),t.showAgencyModal?a("new-tax-agency",{on:{close:function(e){t.showAgencyModal=!1}}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-footer pt-0"},[a("div",{staticClass:"buttons-wrapper text-right"},[a("submit-button",{attrs:{text:t.__("Save","erp")},nativeOn:{click:function(e){return e.preventDefault(),t.addNewTaxRate(e)}}})],1)])],1)],1)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(184),n=a(451),r=!1;var s=function(t){r||a(450)},o=a(0)(i.a,n.a,!1,s,"data-v-3794054e",null);o.options.__file="modules/accounting/assets/src/admin/components/tax/RecordPayTax.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-customers"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Record Sales Tax Payment","erp")))])])])]),t._v(" "),a("div",{staticClass:"wperp-panel wperp-panel-default pb-0"},[a("div",{staticClass:"wperp-panel-body"},[a("form",{staticClass:"wperp-form",attrs:{action:"#",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitForTaxPay(e)}}},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("div",{staticClass:"wperp-row wperp-gutter-20"},[a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("Payment Method","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("multi-select",{attrs:{options:t.pay_methods},model:{value:t.trn_by,callback:function(e){t.trn_by=e},expression:"trn_by"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 mb-20"},[a("label",["debit"==t.voucher_type.id?a("span",[t._v(t._s(t.__("Payment From","erp")))]):a("span",[t._v(t._s(t.__("Deposit To","erp")))]),t._v(" "),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("select-accounts",{attrs:{override_accts:t.accts_by_chart},model:{value:t.deposit_to,callback:function(e){t.deposit_to=e},expression:"deposit_to"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 wperp-col-xs-12"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Payment Date","erp")))]),t._v(" "),a("div",{staticClass:"wperp-has-datepicker pay-tax-date"},[a("datepicker",{model:{value:t.trn_date,callback:function(e){t.trn_date=e},expression:"trn_date"}})],1)])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 wperp-col-xs-12"},[a("div",{staticClass:"wperp-form-group with-multiselect"},[a("label",[t._v(t._s(t.__("Payment To","erp")))]),t._v(" "),a("multi-select",{attrs:{options:t.agencies},model:{value:t.agency,callback:function(e){t.agency=e},expression:"agency"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 wperp-col-xs-12"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Tax Amount","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.tax_amount,expression:"tax_amount"}],staticClass:"wperp-form-field",attrs:{type:"number",placeholder:t.__("Enter Tax Amount","erp")},domProps:{value:t.tax_amount},on:{input:function(e){e.target.composing||(t.tax_amount=e.target.value)}}}),t._v(" "),a("span",[t._v(t._s(t.__("Due Amount","erp"))+": "),a("span",{staticClass:"text-theme"},[t._v(t._s(t.moneyFormat(t.dueAmount)))])])])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 wperp-col-xs-12"},[a("div",{staticClass:"wperp-form-group with-multiselect"},[a("label",[t._v(t._s(t.__("Voucher Type","erp")))]),t._v(" "),a("multi-select",{attrs:{options:t.voucher_types,placeholder:t.__("Enter Voucher Type","erp")},model:{value:t.voucher_type,callback:function(e){t.voucher_type=e},expression:"voucher_type"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field",attrs:{rows:"3",maxlength:"250",placeholder:t.__("Enter Particulars","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-xs-12"},[a("div",{staticClass:"wperp-form-group text-right mt-10 mb-0"},[a("submit-button",{attrs:{text:t.__("Save","erp"),working:t.isWorking}})],1)])])],1)])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(185),n=a(456),r=!1;var s=function(t){r||a(453)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxAgencies.vue",e.a=o.exports},function(t,e){},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tax-section"},[a("div",{staticClass:"sectionHeader"},[t._v(t._s(t.__("Tax Shortcuts","erp")))]),t._v(" "),a("ul",[a("li",[a("router-link",{attrs:{to:{name:"TaxZones"}}},[t._v(t._s(t.__("View Tax Zones","erp")))])],1),t._v(" "),a("li",[a("router-link",{attrs:{to:{name:"TaxCategories"}}},[t._v(t._s(t.__("View Tax Categories","erp")))])],1),t._v(" "),a("li",[a("router-link",{attrs:{to:{name:"TaxAgencies"}}},[t._v(t._s(t.__("View Tax Agencies","erp")))])],1),t._v(" "),a("li",[a("a",{attrs:{href:"https://wperp.com/docs/accounting/tax/",target:"_blank"}},[t._v(t._s(t.__("Tax Help","erp")))])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-tax-agencies"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Tax Agencies","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--primary",on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[a("span",[t._v(t._s(t.__("Add Tax Agency","erp")))])])])])]),t._v(" "),t.showModal?a("new-tax-agency",{attrs:{agency_id:t.agency_id,is_update:t.is_update},on:{close:function(e){t.showModal=!1}}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"table-container wperp-col-sm-8"},[a("list-table",{attrs:{tableClass:"wp-ListTable widefat fixed tax-rate-list wperp-table table-striped table-dark tax-agencies-list","action-column":"actions",columns:t.columns,rows:t.row_data,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:t.actions,"bulk-actions":t.bulkActions},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("tax-shortcuts")],1)])],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(187),n=a(459),r=!1;var s=function(t){r||a(458)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxCategories.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-tax-categories"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Tax Categories","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--primary",on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[a("span",[t._v(t._s(t.__("Add Tax Category","erp")))])])])])]),t._v(" "),t.showModal?a("new-tax-category",{attrs:{cat_id:t.cat_id,is_update:t.is_update},on:{close:function(e){t.showModal=!1}}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"table-container wperp-col-sm-8"},[a("list-table",{attrs:{tableClass:"wp-ListTable widefat fixed tax-rate-list wperp-table table-striped table-dark tax-cats-list","action-column":"actions",columns:t.columns,rows:t.row_data,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:t.actions,"bulk-actions":t.bulkActions},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("tax-shortcuts")],1)])],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(188),n=a(462),r=!1;var s=function(t){r||a(461)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxZones.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-tax-zones"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Tax Zones","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--primary",on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[a("span",[t._v(t._s(t.__("Add Tax Zone","erp")))])])])])]),t._v(" "),t.showModal?a("new-tax-zone",{attrs:{rate_name_id:t.rate_name_id,is_update:t.is_update},on:{close:function(e){t.showModal=!1}}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"table-container wperp-col-sm-8"},[a("list-table",{attrs:{tableClass:"wp-ListTable widefat fixed tax-zone-list wperp-table table-striped table-dark","action-column":"actions",columns:t.columns,rows:t.row_data,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:t.actions,"bulk-actions":t.bulkActions},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s("1"===e.row.default?"✓":"")+"\n ")]}}])})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("tax-shortcuts")],1)])],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(189),n=a(465),r=!1;var s=function(t){r||a(464)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxRates.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-taxes"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Tax Rates","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--primary",on:{click:function(e){return e.preventDefault(),t.newTaxRate(e)}}},[a("span",[t._v(t._s(t.__("Add Tax Rate","erp")))])])])])]),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"table-container wperp-col-sm-8"},[a("list-table",{attrs:{tableClass:"wp-ListTable widefat fixed tax-rate-list wperp-table table-striped table-dark table-taxrates","action-column":"actions",columns:t.columns,rows:t.row_data,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:t.actions,"bulk-actions":t.bulkActions},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction},scopedSlots:t._u([{key:"tax_rate_name",fn:function(e){return[a("strong",[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.singleTaxRate(e.row.tax_id,e.row.tax_rate_name)}}},[t._v(" "+t._s(e.row.tax_rate_name))])])]}}])})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("tax-shortcuts")],1)]),t._v(" "),t.taxrateModal?a("new-tax-zone",{on:{close:function(e){t.taxrateModal=!1}}}):t._e(),t._v(" "),t.taxcatModal?a("new-tax-category",{on:{close:function(e){t.taxcatModal=!1}}}):t._e(),t._v(" "),t.taxagencyModal?a("new-tax-agency",{on:{close:function(e){t.taxagencyModal=!1}}}):t._e()],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(190),n=a(468),r=!1;var s=function(t){r||a(467)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxRecords.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-customers"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Tax Payments","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--primary",on:{click:function(e){return e.preventDefault(),t.addTaxPayment(e)}}},[a("span",[t._v(t._s(t.__("New Tax Payment","erp")))])])])])]),t._v(" "),a("div",{staticClass:"table-container"},[a("list-table",{attrs:{tableClass:"wp-ListTable widefat fixed tax-records-list wperp-table table-striped table-dark","action-column":"actions",columns:t.columns,rows:t.row_data,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:t.actions,showCb:!1,"bulk-actions":t.bulkActions},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction},scopedSlots:t._u([{key:"voucher_no",fn:function(e){return[a("strong",[a("router-link",{attrs:{to:{name:"PayTaxSingle",params:{id:e.row.voucher_no}}}},[t._v("\n #"+t._s(e.row.voucher_no)+"\n ")])],1)]}}])})],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(191),n=a(471),r=!1;var s=function(t){r||a(470)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/PayTaxSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog expense-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v(t._s(t.__("Tax Payment","erp")))]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2)],1)]),t._v(" "),t.showModal?a("send-mail",{attrs:{data:t.print_data,type:t.type}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Tax Payment to","erp")))]),t._v(" "),null!=t.tax_pay_data?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.tax_pay_data.agency_id))]),a("br")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp")))]),t._v(" "),a("td",[t._v("#"+t._s(t.tax_pay_data.voucher_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Payment Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.tax_pay_data.trn_date))])])])])]):t._e()]),t._v(" "),null!=t.tax_pay_data?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Voucher No","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Voucher Type","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v(t._s(t.tax_pay_data.voucher_no))]),t._v(" "),a("td",[t._v(t._s(t.tax_pay_data.ledger_id))]),t._v(" "),a("td",[t._v(t._s(t.tax_pay_data.voucher_type))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(t.tax_pay_data.amount)))])])]),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v(t._s(t.__("Total","erp"))+":")]),t._v(" "+t._s(t.moneyFormat(t.tax_pay_data.amount)))])])])]),t._v(" "),a("br"),t._v(" "),a("tr",[a("td",{staticClass:"wperp-invoice-amounts",attrs:{colspan:"7"}},[a("h2",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),t.tax_pay_data.particulars?a("p",[t._v(t._s(t.tax_pay_data.particulars))]):t._e()])])])])]):t._e()])])],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(192),n=a(474),r=!1;var s=function(t){r||a(473)},o=a(0)(i.a,n.a,!1,s,"data-v-14087e50",null);o.options.__file="modules/accounting/assets/src/admin/components/bank-accounts/BankAccounts.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-customers"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Accounts","erp")))]),t._v(" "),a("combo-box",{attrs:{options:t.pages,hasUrl:!0,placeholder:t.__("New Transaction","erp")}}),t._v(" "),a("span",{staticClass:"erp-help-tip .erp-tips",attrs:{title:t.__("To edit a bank account, please navigate to the Chart of Accounts.","erp")}})],1)])]),t._v(" "),t.accounts.length?a("div",{staticClass:"wperp-transactions-section wperp-section"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table table-striped table-dark widefat table2 wperp-accounts-table"},[a("tbody",[a("tr"),t._v(" "),t._l(t.accounts,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"col--account-infos"},[a("div",{staticClass:"account-name"},[a("h4",[t._v(t._s(e.name))])]),t._v(" "),a("div",{staticClass:"account-number-info"},[a("span",{staticClass:"account-number-label"},[t._v(t._s(t.__("Account Number","erp"))+":")]),t._v(" "),a("span",{staticClass:"account-number"},[t._v(t._s(e.code))])]),t._v(" "),a("div",{staticClass:"account-balance-info"},[a("div",{staticClass:"available-balance"},[a("span",{staticClass:"account-balance-label"},[t._v(t._s(t.__("Available Balance","erp"))+":")]),t._v(" "),void 0===e.balance?a("strong",{staticClass:"account-balance"},[t._v(t._s(t.transformBalance(0)))]):a("strong",{staticClass:"account-balance"},[t._v(t._s(t.transformBalance(e.balance)))])])])]),t._v(" "),a("td",{staticClass:"col--actions"},[a("div",{staticClass:"row-actions"},[t._t("row-actions",[a("dropdown",{attrs:{placement:"left-start"}},[a("template",{slot:"button"},[a("a",{staticClass:"dropdown-trigger"},[a("i",{staticClass:"flaticon-menu"})])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{slot:"action-items",role:"menu"},slot:"action-items"},t._l(t.actions,function(i){return a("li",{key:i.key,class:i.key},[a("a",{attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.actionClicked(i.key,e)}}},[a("i",{class:i.iconClass}),t._v(t._s(i.label))])])}),0)])],2)])],2)])])})],2)])])]):a("p",[t._v(t._s(t.__("No data found.","erp")))])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(193),n=a(477),r=!1;var s=function(t){r||a(476)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/check/CheckCreate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container check-create"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("New Check","erp")))])])])]),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitCheckForm(e)}}},[a("div",{staticClass:"wperp-panel wperp-panel-default",staticStyle:{"padding-bottom":"0"}},[a("div",{staticClass:"wperp-panel-body"},[a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("select-people",{model:{value:t.basic_fields.people,callback:function(e){t.$set(t.basic_fields,"people",e)},expression:"basic_fields.people"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Check No","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.basic_fields.check_no,expression:"basic_fields.check_no"}],staticClass:"wperp-form-field",attrs:{type:"text",required:""},domProps:{value:t.basic_fields.check_no},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"check_no",e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("div",{staticClass:"wperp-form-group"},[a("label",[t._v(t._s(t.__("Payment Date","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("datepicker",{model:{value:t.basic_fields.trn_date,callback:function(e){t.$set(t.basic_fields,"trn_date",e)},expression:"basic_fields.trn_date"}})],1)]),t._v(" "),a("div",{staticClass:"wperp-col-sm-4 with-multiselect"},[a("label",[t._v(t._s(t.__("From Account","erp"))),a("span",{staticClass:"wperp-required-sign"},[t._v("*")])]),t._v(" "),a("multi-select",{attrs:{options:t.bank_accts},model:{value:t.basic_fields.deposit_to,callback:function(e){t.$set(t.basic_fields,"deposit_to",e)},expression:"basic_fields.deposit_to"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-4"},[a("label",[t._v(t._s(t.__("Billing Address","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model.trim",value:t.basic_fields.billing_address,expression:"basic_fields.billing_address",modifiers:{trim:!0}}],staticClass:"wperp-form-field",attrs:{rows:"3",placeholder:t.__("Type here","erp")},domProps:{value:t.basic_fields.billing_address},on:{input:function(e){e.target.composing||t.$set(t.basic_fields,"billing_address",e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})])])],1)]),t._v(" "),a("div",{staticClass:"wperp-table-responsive"},[a("div",{staticClass:"table-container"},[a("table",{staticClass:"wperp-table wperp-form-table"},[a("thead",[a("tr",[a("th",{staticClass:"col--id column-primary",attrs:{scope:"col"}},[t._v(t._s(t.__("SL No.","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Description","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Amount","erp")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.__("Total","erp")))]),t._v(" "),a("th",{staticClass:"col--actions",attrs:{scope:"col"}})])]),t._v(" "),a("tbody",[t._l(t.transactionLines,function(e,i){return a("tr",{key:i},[a("td",{staticClass:"col--id column-primary",attrs:{scope:"row"}},[t._v(t._s(i+1))]),t._v(" "),a("td",{staticClass:"col--account with-multiselect"},[a("multi-select",{attrs:{options:t.ledgers},model:{value:e.ledger_id,callback:function(a){t.$set(e,"ledger_id",a)},expression:"line.ledger_id"}})],1),t._v(" "),a("td",{staticClass:"col--particulars"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.particulars,expression:"line.particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"1",maxlength:"250",placeholder:t.__("Particulars","erp")},domProps:{value:e.particulars},on:{input:function(a){a.target.composing||t.$set(e,"particulars",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--amount",attrs:{"data-colname":"Amount"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.amount,expression:"line.amount"}],staticClass:"text-right wperp-form-field",attrs:{type:"number",min:"0",step:"0.01",name:"amount",required:!!e.ledger_id},domProps:{value:e.amount},on:{keyup:t.updateFinalAmount,input:function(a){a.target.composing||t.$set(e,"amount",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"col--total",attrs:{"data-colname":"Total"}},[a("input",{staticClass:"text-right wperp-form-field",attrs:{type:"text",readonly:"",disabled:""},domProps:{value:t.moneyFormat(e.amount)}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove Above Selection"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.addLine(e)}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v("Add Line")])])]),t._v(" "),a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"text-right pr-0 hide-sm",attrs:{colspan:"4"}},[t._v(t._s(t.__("Total Amount","erp")))]),t._v(" "),a("td",{staticClass:"text-right",attrs:{"data-colname":"Total Amount"}},[a("input",{staticClass:"text-right wperp-form-field",attrs:{type:"text",name:"finalamount",readonly:"",disabled:""},domProps:{value:t.moneyFormat(t.finalTotalAmount)}})]),t._v(" "),a("td",{staticClass:"text-right"})]),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.particulars,expression:"particulars"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",maxlength:"250",placeholder:t.__("Internal Information","erp")},domProps:{value:t.particulars},on:{input:function(e){e.target.composing||(t.particulars=e.target.value)}}})])]),t._v(" "),a("tr",[a("td",t._l(t.attachments,function(e,i){return a("div",{key:i,staticClass:"attachment-item"},[a("img",{attrs:{src:t.erp_acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("span",{staticClass:"remove-file",on:{click:function(e){return t.removeFile(i)}}},[t._v("✗")]),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("h3",[t._v(t._s(t.getFileName(e)))])])])}),0)]),t._v(" "),a("tr",{staticClass:"add-attachment-row"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("div",{staticClass:"attachment-container"},[a("label",{staticClass:"col--attachement"},[t._v(t._s(t.__("Attachment","erp")))]),t._v(" "),a("file-upload",{attrs:{url:"/invoices/attachments"},model:{value:t.attachments,callback:function(e){t.attachments=e},expression:"attachments"}})],1)])])],2),t._v(" "),a("tfoot",[a("tr",[a("td",{staticStyle:{"text-align":"right"},attrs:{colspan:"9"}},[t.editMode?a("combo-button",{attrs:{options:t.updateButtons}}):a("combo-button",{attrs:{options:t.createButtons}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(194),n=a(480),r=!1;var s=function(t){r||a(479)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/check/CheckSingle.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal-dialog expense-single"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h2",[t._v("Check")]),t._v(" "),a("div",{staticClass:"d-print-none"},[a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")]),t._v(" "),a("dropdown",[a("template",{slot:"button"},[a("a",{staticClass:"wperp-btn btn--default",attrs:{href:"#"}},[a("i",{staticClass:"flaticon-settings-work-tool"}),t._v("\n   "+t._s(t.__("More Action","erp"))+"\n ")])]),t._v(" "),a("template",{slot:"dropdown"},[a("ul",{attrs:{role:"menu"}},[a("li",[a("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showModal=!0}}},[t._v(t._s(t.__("Send Mail","erp")))])])])])],2)],1)]),t._v(" "),t.showModal?a("send-mail",{attrs:{userid:t.people_id,data:t.print_data,type:t.type}}):t._e(),t._v(" "),a("div",{staticClass:"wperp-modal-body"},[a("div",{staticClass:"wperp-invoice-panel"},[null!=t.company?a("div",{staticClass:"invoice-header"},[a("div",{staticClass:"invoice-logo"},[a("img",{attrs:{src:t.company.logo,alt:"logo name",width:"100",height:"100"}})]),t._v(" "),a("div",{staticClass:"invoice-address"},[a("address",[a("strong",[t._v(t._s(t.company.name))]),a("br"),t._v("\n "+t._s(t.company.address.address_1)),a("br"),t._v("\n "+t._s(t.company.address.address_2)),a("br"),t._v("\n "+t._s(t.company.address.city)),a("br"),t._v("\n "+t._s(t.company.address.country)+"\n ")])])]):t._e(),t._v(" "),a("div",{staticClass:"invoice-body"},[a("h4",[t._v(t._s(t.__("Check","erp")))]),t._v(" "),null!=t.expense_data?a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6"},[a("div",{staticClass:"persons-info"},[a("strong",[t._v(t._s(t.expense_data.people_name))]),a("br"),t._v("\n "+t._s(t.expense_data.address)+"\n ")])]),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("table",{staticClass:"invoice-info"},[a("tr",[a("th",[t._v(t._s(t.__("Check No","erp")))]),t._v(" "),a("td",[t._v("#"+t._s(t.expense_data.check_no))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Transaction Date","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.expense_data.date))])]),t._v(" "),a("tr",[a("th",[t._v(t._s(t.__("Created At","erp"))+":")]),t._v(" "),a("td",[t._v(t._s(t.expense_data.created_at))])])])])]):t._e()]),t._v(" "),null!=t.expense_data?a("div",{staticClass:"wperp-invoice-table"},[a("table",{staticClass:"wperp-table wperp-form-table invoice-table"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Sl","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Particulars","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Amount","erp")))])])]),t._v(" "),a("tbody",t._l(t.expense_data.bill_details,function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(i+1))]),t._v(" "),a("td",[t._v(t._s(e.ledger_name))]),t._v(" "),a("td",[t._v(t._s(e.particulars))]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(e.amount)))])])}),0),t._v(" "),a("tfoot",[a("tr",[a("td",{attrs:{colspan:"7"}},[a("ul",[a("li",[a("span",[t._v("Subtotal:")]),t._v(" "+t._s(t.moneyFormat(t.expense_data.total)))]),t._v(" "),a("li",[a("span",[t._v("Total:")]),t._v(" "+t._s(t.moneyFormat(t.expense_data.total)))])])])])])])]):t._e()]),t._v(" "),a("div",{staticClass:"invoice-attachments d-print-none"},[a("h4",[t._v(t._s(t.__("Attachments","erp")))]),t._v(" "),t._l(t.expense_data.attachments,function(e,i){return a("a",{key:i,staticClass:"attachment-item",attrs:{href:e,download:""}},[a("img",{attrs:{src:t.acct_var.acct_assets+"/images/file-thumb.png"}}),t._v(" "),a("div",{staticClass:"attachment-meta"},[a("span",[t._v(t._s(e.substring(e.lastIndexOf("/")+1)))]),a("br")])])})],2)])],1)])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(195),n=a(492),r=!1;var s=function(t){r||a(482)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/SingleTaxRate.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(196),n=a(485),r=!1;var s=function(t){r||a(484)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxRateLineAdd.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal has-form wperp-modal-open",attrs:{id:"wperp-tax-rate-modal",role:"dialog"}},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h3",[t._v(t._s(t.__("Add New","erp")))]),t._v(" "),a("span",{staticClass:"modal-close",on:{click:function(e){return e.preventDefault(),t.closeModal(e)}}},[a("i",{staticClass:"flaticon-close"})])]),t._v(" "),a("div",{staticClass:"wperp-invoice-table"},[a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Component","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.component_name,expression:"component_name"}],attrs:{type:"text"},domProps:{value:t.component_name},on:{input:function(e){e.target.composing||(t.component_name=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12 with-multiselect"},[a("label",[t._v(t._s(t.__("Agency","erp")))]),t._v(" "),a("multi-select",{attrs:{options:t.agencies},model:{value:t.agency,callback:function(e){t.agency=e},expression:"agency"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12 with-multiselect"},[a("label",[t._v(t._s(t.__("Tax Category","erp")))]),t._v(" "),a("multi-select",{attrs:{options:t.categories},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Tax Rate","erp")))]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.tax_rate,expression:"tax_rate"}],attrs:{type:"text"},domProps:{value:t.tax_rate},on:{input:function(e){e.target.composing||(t.tax_rate=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"wperp-col-sm-12"},[a("div",{staticClass:"wperp-form-group text-right mt-10 mb-0"},[a("submit-button",{attrs:{text:t.__("Save","erp")},nativeOn:{click:function(e){return e.preventDefault(),t.addTaxRate(e)}}})],1)])])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(197),n=a(491),r=!1;var s=function(t){r||a(487)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxRateLineEdit.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=a(198),n=a(490),r=!1;var s=function(t){r||a(489)},o=a(0)(i.a,n.a,!1,s,"data-v-9b00e52e",null);o.options.__file="modules/accounting/assets/src/admin/components/tax/TaxRateRow.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Component","erp")))]),t._v(" "),t.is_update?[a("input",{directives:[{name:"model",rawName:"v-model",value:t.component_line.component_name,expression:"component_line.component_name"}],attrs:{type:"text"},domProps:{value:t.component_line.component_name},on:{input:function(e){e.target.composing||t.$set(t.component_line,"component_name",e.target.value)}}})]:[t._v(t._s(t.component_line.component_name))]],2),t._v(" "),a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12 with-multiselect"},[a("label",[t._v(t._s(t.__("Agency","erp")))]),t._v(" "),t.is_update?[a("multi-select",{attrs:{options:t.agencies},model:{value:t.component_line.agency,callback:function(e){t.$set(t.component_line,"agency",e)},expression:"component_line.agency"}})]:[t._v(t._s(t.component_line.agency_name))]],2),t._v(" "),a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12 with-multiselect"},[a("label",[t._v(t._s(t.__("Tax Category","erp")))]),t._v(" "),t.is_update?[a("multi-select",{attrs:{options:t.categories},model:{value:t.component_line.category,callback:function(e){t.$set(t.component_line,"category",e)},expression:"component_line.category"}})]:[t._v(t._s(t.component_line.tax_cat_name))]],2),t._v(" "),a("div",{staticClass:"wperp-col-sm-3 wperp-col-xs-12"},[a("label",[t._v(t._s(t.__("Tax Rate","erp")))]),t._v(" "),t.is_update?[a("input",{directives:[{name:"model",rawName:"v-model",value:t.component_line.tax_rate,expression:"component_line.tax_rate"}],attrs:{type:"text"},domProps:{value:t.component_line.tax_rate},on:{input:function(e){e.target.composing||t.$set(t.component_line,"tax_rate",e.target.value)}}})]:[t._v(t._s(t.component_line.tax_rate))]],2),t._v(" "),a("div",{staticClass:"wperp-col-sm-12"},[a("div",{staticClass:"wperp-form-group text-right mt-10 mb-0"},[t.is_update?a("submit-button",{attrs:{text:t.__("Update","erp")},nativeOn:{click:function(e){return e.preventDefault(),t.UpdateTaxRate(e)}}}):t._e()],1)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-modal has-form wperp-modal-open",attrs:{id:"wperp-tax-rate-modal",role:"dialog"}},[a("div",{staticClass:"wperp-modal-dialog"},[a("div",{staticClass:"wperp-modal-content"},[a("div",{staticClass:"wperp-modal-header"},[a("h3",[t._v(t._s(t.tax_rate.tax_name))]),t._v(" "),a("span",{staticClass:"modal-close",on:{click:function(e){return e.preventDefault(),t.closeModal(e)}}},[a("i",{staticClass:"flaticon-close"})])]),t._v(" "),a("div",{staticClass:"wperp-invoice-table"},[a("div",{staticClass:"wperp-panel-body"},[a("tax-rate-row",{attrs:{index:t.row_data.id,component_line:t.row_data,agencies:t.agencies,categories:t.categories}})],1)])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-customers single-tax-rate"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.$route.params.name))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--primary",on:{click:function(e){e.preventDefault(),t.addNewLine=!0}}},[a("span",[t._v(t._s(t.__("Add New Line","erp")))])])])])]),t._v(" "),t.addNewLine?a("tax-rate-line-add",{on:{close:function(e){t.addNewLine=!1}}}):t._e(),t._v(" "),t.showModal?a("tax-rate-line-edit",{attrs:{tax_id:t.tax_id,row_data:t.row_data},on:{close:function(e){t.showModal=!1}}}):t._e(),t._v(" "),a("div",{staticClass:"table-container"},[a("list-table",{attrs:{tableClass:"wp-ListTable widefat fixed tax-rate-list wperp-table table-striped table-dark","action-column":"actions",columns:t.columns,rows:t.rows,showCb:!1,"total-items":t.paginationData.totalItems,"total-pages":t.paginationData.totalPages,"per-page":t.paginationData.perPage,"current-page":t.paginationData.currentPage,actions:t.actions},on:{pagination:t.goToPage,"action:click":t.onActionClick}})],1)],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(199),n=a(495),r=!1;var s=function(t){r||a(494)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/reports/IncomeStatement.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"income-statement"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Income Statement","erp")))]),t._v(" "),a("form",{staticClass:"query-options no-print",on:{submit:function(e){return e.preventDefault(),t.fetchItems(e)}}},[a("div",{staticClass:"wperp-date-group"},[a("datepicker",{model:{value:t.start_date,callback:function(e){t.start_date=e},expression:"start_date"}}),t._v(" "),a("datepicker",{model:{value:t.end_date,callback:function(e){t.end_date=e},expression:"end_date"}}),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",attrs:{type:"submit"}},[t._v(t._s(t.__("Filter","erp")))])],1),t._v(" "),a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")])]),t._v(" "),a("p",[a("strong",[t._v(t._s(t.__("For the period of ( Transaction date )","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.start_date))]),t._v(" to "),a("em",[t._v(t._s(t.end_date))])]),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat income-statement income-balance-report",columns:t.columns1,rows:t.rows1,showItemNumbers:!1,showCb:!1},scopedSlots:t._u([{key:"amount",fn:function(e){return[t._v("\n "+t._s(t.transformBalance(Math.abs(e.row.balance)))+"\n ")]}}])},[t._v(" "),a("template",{slot:"tfoot"},[a("tr",{staticClass:"t-foot"},[a("td",[t._v(t._s(t.__("Total Income","erp")))]),t._v(" "),a("td",[t._v(t._s(t.transformBalance(Math.abs(t.income))))])])])],2),t._v(" "),a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat income-statement income-balance-report",columns:t.columns2,rows:t.rows2,showItemNumbers:!1,showCb:!1},scopedSlots:t._u([{key:"amount",fn:function(e){return[t._v("\n "+t._s(t.transformBalance(Math.abs(e.row.balance)))+"\n ")]}}])},[t._v(" "),a("template",{slot:"tfoot"},[a("tr",{staticClass:"t-foot"},[a("td",[t._v(t._s(t.__("Total Expense","erp")))]),t._v(" "),a("td",[t._v(t._s(t.transformBalance(Math.abs(t.expense))))])])])],2),t._v(" "),a("table",{staticClass:"wperp-table table-striped table-dark widefat income-statement-balance income-balance-report"},[t.profit>=0?[a("tbody",{staticClass:"wperp-col-sm-12"},[a("tr",[a("td",[a("strong",[t._v(t._s(t.__("Profit","erp")))])]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(Math.abs(t.profit))))]),t._v(" "),a("td",{staticClass:"no-print"})])])]:[a("tbody",{staticClass:"wperp-col-sm-12"},[a("tr",[a("td",[a("strong",[t._v(t._s(t.__("Loss","erp")))])]),t._v(" "),a("td",[t._v(t._s(t.moneyFormat(Math.abs(t.loss))))]),t._v(" "),a("td",{staticClass:"no-print"})])])]],2)],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(200),n=a(498),r=!1;var s=function(t){r||a(497)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/reports/BalanceSheet.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"balance-sheet"},[a("h2",{staticClass:"content-header__title"},[a("span",[t._v(t._s(t.__("Balance Sheet","erp")))])]),t._v(" "),a("div",{staticClass:"blnce-sheet-top"},[a("form",{staticClass:"query-options no-print",on:{submit:function(e){return e.preventDefault(),t.fetchItems(e)}}},[t.closingBtnVisibility?a("div",{staticClass:"fn-year-info"},[a("div",{staticClass:"with-multiselect fyear-select"},[a("multi-select",{attrs:{options:t.fyears},model:{value:t.selectedYear,callback:function(e){t.selectedYear=e},expression:"selectedYear"}})],1),t._v(" "),t.selectedYear?a("div",[t._v("\n "+t._s(t.__("Balance showing from","erp"))+" "),a("em",[t._v(t._s(t.selectedYear.start_date))]),t._v(" "+t._s(t.__("to","erp"))+"\n "),a("em",[t._v(t._s(t.selectedYear.end_date))])]):t._e()]):a("div",{staticClass:"wperp-date-group"},[a("datepicker",{model:{value:t.start_date,callback:function(e){t.start_date=e},expression:"start_date"}}),t._v(" "),a("datepicker",{model:{value:t.end_date,callback:function(e){t.end_date=e},expression:"end_date"}}),t._v(" "),a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",attrs:{type:"submit"}},[t._v(t._s(t.__("Filter","erp")))])],1)]),t._v(" "),a("div",{staticClass:"closing-blnc no-print"},[a("div",{staticClass:"close-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.closingBtnVisibility,expression:"closingBtnVisibility"}],attrs:{type:"checkbox",id:"prepare-close"},domProps:{checked:Array.isArray(t.closingBtnVisibility)?t._i(t.closingBtnVisibility,null)>-1:t.closingBtnVisibility},on:{change:function(e){var a=t.closingBtnVisibility,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=t._i(a,null);i.checked?r<0&&(t.closingBtnVisibility=a.concat([null])):r>-1&&(t.closingBtnVisibility=a.slice(0,r).concat(a.slice(r+1)))}else t.closingBtnVisibility=n}}}),t._v(" "),a("label",{attrs:{for:"prepare-close"}},[t._v(t._s(t.__("Prepare for closing","erp")))])]),t._v(" "),a("a",{class:[{visible:t.closingBtnVisibility},"wperp-btn btn--primary close-now-btn"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.checkClosingPossibility(e)}}},[t._v(t._s(t.__("Close Now","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")])])]),t._v(" "),a("p",[a("strong",[t._v(t._s(t.__("For the period of ( Transaction date )","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.start_date))]),t._v(" "+t._s(t.__("to","erp"))+" "),a("em",[t._v(t._s(t.end_date))])]),t._v(" "),a("div",{staticClass:"wperp-panel-body"},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-12"},[a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat balance-sheet-asset report-table",columns:t.columns1,rows:t.rows1,showItemNumbers:!1,showCb:!1},scopedSlots:t._u([{key:"name",fn:function(e){return[a("span",{domProps:{innerHTML:t._s(e.row.name)}}),t._v(" "),t._l(e.row.additional,function(e){return a("p",{staticClass:"additional"},[t._v(t._s(e.name)+" "),a("em",[t._v(t._s(t.moneyFormat(Math.abs(e.balance))))])])})]}},{key:"balance",fn:function(e){return[isNaN(e.row.balance)?a("span",[t._v(t._s(e.row.balance))]):a("span",[t._v(t._s(t.transformBalance(e.row.balance))+" ")])]}}])},[t._v(" "),t._v(" "),a("template",{slot:"tfoot"},[a("tr",{staticClass:"t-foot"},[a("td",[t._v(t._s(t.__("Total Asset","erp")))]),t._v(" "),a("td",[t._v(t._s(t.transformBalance(t.totalAsset)))])])])],2)],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-12"},[a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat balance-sheet-liability report-table",columns:t.columns2,rows:t.rows2,showItemNumbers:!1,showCb:!1},scopedSlots:t._u([{key:"name",fn:function(e){return[a("span",{domProps:{innerHTML:t._s(e.row.name)}}),t._v(" "),t._l(e.row.additional,function(e){return a("p",{staticClass:"additional"},[t._v(t._s(e.name)+" "),a("em",[t._v(t._s(t.moneyFormat(Math.abs(e.balance))))])])})]}},{key:"balance",fn:function(e){return[isNaN(e.row.balance)?a("span",[t._v(t._s(e.row.balance))]):a("span",[t._v(t._s(t.transformBalance(e.row.balance))+" ")])]}}])},[t._v(" "),t._v(" "),a("template",{slot:"tfoot"},[a("tr",{staticClass:"t-foot"},[a("td",[t._v(t._s(t.__("Total Liability","erp")))]),t._v(" "),a("td",[t._v(t._s(t.transformBalance(t.totalLiability)))])])])],2)],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-12"},[a("list-table",{attrs:{tableClass:"wperp-table table-striped table-dark widefat balance-sheet-equity report-table",columns:t.columns3,rows:t.rows3,showItemNumbers:!1,showCb:!1},scopedSlots:t._u([{key:"name",fn:function(e){return[a("span",{domProps:{innerHTML:t._s(e.row.name)}})]}},{key:"balance",fn:function(e){return[isNaN(e.row.balance)?a("span",[t._v(t._s(e.row.balance))]):a("span",[t._v(t._s(t.transformBalance(e.row.balance))+" ")])]}}])},[t._v(" "),t._v(" "),a("template",{slot:"tfoot"},[a("tr",{staticClass:"t-foot"},[a("td",[t._v(t._s(t.__("Total Equity","erp")))]),t._v(" "),a("td",[t._v(t._s(t.transformBalance(t.totalEquity)))])])])],2)],1),t._v(" "),a("table",{staticClass:"wperp-table table-striped table-dark widefat liability-equity-balance report-table"},[a("tbody",[a("tr",[a("td",[a("strong",[t._v(t._s(t.__("Assets","erp"))+" = ")])]),t._v(" "),a("td",[t._v(t._s(t.transformBalance(t.totalAsset)))]),t._v(" "),a("td",{staticClass:"no-print"}),t._v(" "),a("td",{staticClass:"no-print"})]),t._v(" "),a("tr",[a("td",[a("strong",[t._v(t._s(t.__("Liability","erp"))+" + "+t._s(t.__("Equity","erp"))+" = ")])]),t._v(" "),a("td",[t._v(t._s(t.transformBalance(t.liability_equity)))]),t._v(" "),a("td",{staticClass:"no-print"}),t._v(" "),a("td",{staticClass:"no-print"})])])])])])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(201),n=a(502),r=!1;var s=function(t){r||(a(500),a(501))},o=a(0)(i.a,n.a,!1,s,"data-v-ca7c613c",null);o.options.__file="modules/accounting/assets/src/admin/components/opening-balance/OpeningBalance.vue",e.a=o.exports},function(t,e){},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wperp-container accordion-container"},[a("div",{staticClass:"content-header-section separator"},[a("div",{staticClass:"wperp-row wperp-between-xs"},[a("div",{staticClass:"wperp-col"},[a("h2",{staticClass:"content-header__title"},[t._v(t._s(t.__("Opening Balances","erp")))])])])]),t._v(" "),a("show-errors",{attrs:{error_msgs:t.form_errors}}),t._v(" "),a("form",{attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitOBForm(e)}}},[a("div",{staticClass:"wperp-row"},[a("div",{staticClass:"wperp-col-sm-6 with-multiselect opening-fyear-select"},[a("label",[t._v(t._s(t.__("Financial Year","erp")))]),t._v(" "),a("multi-select",{attrs:{options:t.years},model:{value:t.fin_year,callback:function(e){t.fin_year=e},expression:"fin_year"}})],1),t._v(" "),a("div",{staticClass:"wperp-col-sm-6"},[a("a",{staticClass:"wperp-col-sm-4 wperp-btn btn--default print-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.printPopup(e)}}},[a("i",{staticClass:"flaticon-printer-1"}),t._v("\n   "+t._s(t.__("Print","erp"))+"\n ")])])]),t._v(" "),a("div",{staticClass:"wperp-row"},[null!==t.fin_year?a("ul",{staticClass:"report-header"},[a("li",[a("strong",[t._v(t._s(t.__("For the period of ( Opening Balance date )","erp"))+":")]),t._v(" "),a("em",[t._v(t._s(t.fin_year.start_date))]),t._v(" to "),a("em",[t._v(t._s(t.fin_year.end_date))])])]):t._e()]),t._v(" "),a("div",{staticClass:"erp-accordion"},[a("div",{staticClass:"erp-accordion-expand",class:t.open5?"active":"before-border",on:{click:function(e){t.open5=!t.open5}}},[a("span",{staticClass:"wp-erp-ob-title"},[t._v(t._s(t.__("Accounts Receivable","erp")))])]),t._v(" "),a("table",{directives:[{name:"show",rawName:"v-show",value:t.open5,expression:"open5"}],staticClass:"wperp-table wperp-form-table erp-accordion-expand-body"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("People","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp"))+"\n "),t.accPayRec&&"0"!=t.accPayRec.invoice_acc?a("span",[t._v("("+t._s(t.accPayRec.invoice_acc)+")")]):t._e()]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp")))]),t._v(" "),a("th")])]),t._v(" "),a("tbody",[t._l(t.acct_rec,function(e,i){return a("tr",{key:i},[a("td",[a("div",{staticClass:"wperp-form-group ob-people with-multiselect"},[a("multi-select",{attrs:{options:t.options},model:{value:e.people,callback:function(a){t.$set(e,"people",a)},expression:"acct.people"}})],1)]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.debit,expression:"acct.debit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.debit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"debit",a.target.value)}}})]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credit,expression:"acct.credit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01",disabled:""},domProps:{value:e.credit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"credit",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeAcctRecRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[void 0===t.acct_rec?a("td",{staticStyle:{float:"left"}},[t._v("\n "+t._s(t.__("No People Found!","erp"))+"\n ")]):a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.acct_rec.push({})}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add People","erp")))])])])],2)])]),t._v(" "),t.acct_pay?a("div",{staticClass:"erp-accordion"},[a("div",{staticClass:"erp-accordion-expand",class:t.open6?"active":"before-border",on:{click:function(e){t.open6=!t.open6}}},[a("span",{staticClass:"wp-erp-ob-title"},[t._v(t._s(t.__("Accounts Payable","erp")))])]),t._v(" "),a("table",{directives:[{name:"show",rawName:"v-show",value:t.open6,expression:"open6"}],staticClass:"wperp-table wperp-form-table erp-accordion-expand-body"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("People","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp"))+"\n "),t.accPayRec&&"0"!=t.accPayRec.bill_purchase_acc?a("span",[t._v("("+t._s(t.accPayRec.bill_purchase_acc)+")")]):t._e()]),t._v(" "),a("th")])]),t._v(" "),a("tbody",[t._l(t.acct_pay,function(e,i){return a("tr",{key:i},[a("td",[a("div",{staticClass:"wperp-form-group ob-people with-multiselect"},[a("multi-select",{attrs:{options:t.options},model:{value:e.people,callback:function(a){t.$set(e,"people",a)},expression:"acct.people"}})],1)]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.debit,expression:"acct.debit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01",disabled:""},domProps:{value:e.debit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"debit",a.target.value)}}})]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credit,expression:"acct.credit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.credit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"credit",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeAcctPayRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[void 0===t.acct_pay?a("td",{staticStyle:{float:"left"}},[t._v("\n "+t._s(t.__("No People Found!","erp"))+"\n ")]):a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.acct_pay.push({})}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add People","erp")))])])])],2)])]):t._e(),t._v(" "),t.tax_pay?a("div",{staticClass:"erp-accordion"},[a("div",{staticClass:"erp-accordion-expand",class:t.open7?"active":"before-border",on:{click:function(e){t.open7=!t.open7}}},[a("span",{staticClass:"wp-erp-ob-title"},[t._v(t._s(t.__("Tax Payable","erp")))])]),t._v(" "),a("table",{directives:[{name:"show",rawName:"v-show",value:t.open7,expression:"open7"}],staticClass:"wperp-table wperp-form-table erp-accordion-expand-body"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Agency","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp")))]),t._v(" "),a("th")])]),t._v(" "),a("tbody",[t._l(t.tax_pay,function(e,i){return a("tr",{key:i},[a("td",[a("div",{staticClass:"with-multiselect"},[a("multi-select",{attrs:{options:t.agencies},model:{value:e.agency,callback:function(a){t.$set(e,"agency",a)},expression:"acct.agency"}})],1)]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.debit,expression:"acct.debit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01",disabled:""},domProps:{value:e.debit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"debit",a.target.value)}}})]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credit,expression:"acct.credit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.credit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"credit",a.target.value)}}})]),t._v(" "),a("td",{staticClass:"delete-row",attrs:{"data-colname":"Remove"}},[a("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.removeTaxPayRow(i)}}},[a("i",{staticClass:"flaticon-trash"})])])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("button",{staticClass:"wperp-btn btn--primary add-line-trigger",on:{click:function(e){return e.preventDefault(),t.tax_pay.push({})}}},[a("i",{staticClass:"flaticon-add-plus-button"}),t._v(t._s(t.__("Add Agency","erp")))])])])],2)])]):t._e(),t._v(" "),t.chartAccounts[0]?a("div",{staticClass:"erp-accordion"},[a("div",{staticClass:"erp-accordion-expand",class:t.open1?"active":"before-border",on:{click:function(e){t.open1=!t.open1}}},[a("span",{staticClass:"wp-erp-ob-title"},[t._v(t._s(t.chartAccounts[0].label))])]),t._v(" "),t.ledgers[1]?a("table",{directives:[{name:"show",rawName:"v-show",value:t.open1,expression:"open1"}],staticClass:"wperp-table wperp-form-table erp-accordion-expand-body"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp")))])])]),t._v(" "),a("tbody",t._l(t.ledgers[1],function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.debit,expression:"ledger.debit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.debit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"debit",a.target.value)}}})]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credit,expression:"ledger.credit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.credit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"credit",a.target.value)}}})])])}),0)]):t._e()]):t._e(),t._v(" "),t.chartAccounts[1]?a("div",{staticClass:"erp-accordion"},[a("div",{staticClass:"erp-accordion-expand",class:t.open2?"active":"before-border",on:{click:function(e){t.open2=!t.open2}}},[a("span",{staticClass:"wp-erp-ob-title"},[t._v(t._s(t.chartAccounts[1].label))])]),t._v(" "),t.ledgers[2]?a("table",{directives:[{name:"show",rawName:"v-show",value:t.open2,expression:"open2"}],staticClass:"wperp-table wperp-form-table erp-accordion-expand-body"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp")))])])]),t._v(" "),a("tbody",t._l(t.ledgers[2],function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.debit,expression:"ledger.debit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.debit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"debit",a.target.value)}}})]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credit,expression:"ledger.credit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.credit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"credit",a.target.value)}}})])])}),0)]):t._e()]):t._e(),t._v(" "),t.chartAccounts[2]?a("div",{staticClass:"erp-accordion"},[a("div",{staticClass:"erp-accordion-expand",class:t.open3?"active":"before-border",on:{click:function(e){t.open3=!t.open3}}},[a("span",{staticClass:"wp-erp-ob-title"},[t._v(t._s(t.chartAccounts[2].label))])]),t._v(" "),t.ledgers[3]?a("table",{directives:[{name:"show",rawName:"v-show",value:t.open3,expression:"open3"}],staticClass:"wperp-table wperp-form-table erp-accordion-expand-body"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp")))])])]),t._v(" "),a("tbody",t._l(t.ledgers[3],function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.debit,expression:"ledger.debit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.debit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"debit",a.target.value)}}})]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credit,expression:"ledger.credit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.credit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"credit",a.target.value)}}})])])}),0)]):t._e()]):t._e(),t._v(" "),t.chartAccounts[6]?a("div",{staticClass:"erp-accordion"},[a("div",{staticClass:"erp-accordion-expand",class:t.open4?"active":"before-border",on:{click:function(e){t.open4=!t.open4}}},[a("span",{staticClass:"wp-erp-ob-title"},[t._v(t._s(t.chartAccounts[6].label))])]),t._v(" "),a("table",{directives:[{name:"show",rawName:"v-show",value:t.open4,expression:"open4"}],staticClass:"wperp-table wperp-form-table erp-accordion-expand-body"},[a("thead",[a("tr",[a("th",[t._v(t._s(t.__("Account","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Debit","erp")))]),t._v(" "),a("th",[t._v(t._s(t.__("Credit","erp")))])])]),t._v(" "),a("tbody",[t._l(t.ledgers[7],function(e,i){return a("tr",{key:i},[a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.debit,expression:"acct.debit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.debit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"debit",a.target.value)}}})]),t._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.credit,expression:"acct.credit"}],staticClass:"wperp-form-field",attrs:{type:"number",step:"0.01"},domProps:{value:e.credit},on:{keyup:t.calculateAmount,input:function(a){a.target.composing||t.$set(e,"credit",a.target.value)}}})])])}),t._v(" "),a("tr",{staticClass:"add-new-line"},[void 0===t.ledgers[7]?a("td",{staticStyle:{float:"left"}},[t._v("\n "+t._s(t.__("No Bank Account Found!","erp"))+"\n ")]):t._e()])],2)])]):t._e(),t._v(" "),a("table",{staticClass:"wperp-table wperp-form-table"},[a("tbody",[a("tr",{staticClass:"total-amount-row"},[a("td",{staticClass:"pl-10 text-right col--total-amount",staticStyle:{width:"60%"}},[a("span",[t._v(t._s(t.__("Total Amount","erp")))])]),t._v(" "),a("td",{attrs:{"data-colname":"Total Debit"}},[a("input",{staticClass:"text-right wperp-form-field",attrs:{type:"text",readonly:""},domProps:{value:t.moneyFormat(t.finalTotalDebit)}})]),t._v(" "),a("td",{attrs:{"data-colname":"Total Credit"}},[a("input",{staticClass:"text-right wperp-form-field",attrs:{type:"text",readonly:""},domProps:{value:t.moneyFormat(t.finalTotalCredit)}})])]),t._v(" "),a("tr",{staticClass:"wperp-form-group"},[a("td",{staticStyle:{"text-align":"left"},attrs:{colspan:"9"}},[a("label",[t._v(t._s(t.__("Description","erp")))]),t._v(" "),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.description,expression:"description"}],staticClass:"wperp-form-field display-flex",attrs:{rows:"4",placeholder:t.__("Internal Information","erp")},domProps:{value:t.description},on:{input:function(e){e.target.composing||(t.description=e.target.value)}}})])])])]),t._v(" "),a("submit-button",{attrs:{text:t.__("Save","erp")}})],1)],1)};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(202),n=a(505),r=!1;var s=function(t){r||a(504)},o=a(0)(i.a,n.a,!1,s,null,null);o.options.__file="modules/accounting/assets/src/admin/components/help/HelpContent.vue",e.a=o.exports},function(t,e){},function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("h2",{staticClass:"view-doc"},[a("span",[t._v(t._s(t.__("Accounting Help","erp")))]),t._v(" "),a("a",{staticClass:"wperp-btn",attrs:{href:"https://wperp.com/docs/accounting/getting-started/"}},[t._v(t._s(t.__("View all documentation","erp")))])]),t._v(" "),a("div",{staticClass:"acoounting-docs-wrap"},[a("div",{staticClass:"metabox-holder",attrs:{id:"dashboard-widgets"}},t._l(t.docs,function(e,i){return a("div",{key:i,staticClass:"erp-help-section postbox-container"},[a("div",{staticClass:"metabox-holder"},[a("div",{staticClass:"meta-box-sortables"},[a("div",{staticClass:"postbox"},[a("h2",{staticClass:"hndle"},[t._v(t._s(e.title))]),t._v(" "),a("div",{staticClass:"erp-help-questions"},t._l(e.ques,function(e,i){return a("ul",{key:i},[a("li",[a("a",{attrs:{href:e.url,target:"_blank"}},[t._v(t._s(e.label))])])])}),0)])])])])}),0)])])};i._withStripped=!0;var n={render:i,staticRenderFns:[]};e.a=n},function(t,e,a){"use strict";var i=a(23),n=a(7),r=a(507),s=a(508),o=a(509),l=a(510),c=a(511);i.default.use(n.a);var d="production"!==Object({WEBPACK_ENV:"production"}).NODE_ENV;e.a=new n.a.Store({modules:{sales:r.a,expense:s.a,purchase:o.a,spinner:l.a,combo:c.a},strict:d,plugins:[]})},function(t,e,a){"use strict";var i=a(14),n=a.n(i),r=a(1),s={fetchCustomers:function(){var t=n()(regeneratorRuntime.mark(function t(e){var a,i,n,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,r.a.get("/people",{params:{type:"customer",per_page:10,page:1}});case 3:i=t.sent,n=i.status,s=i.data,200===n&&a("setCustomers",s);case 7:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),fillCustomers:function(t,e){var a=t.state,i=t.commit,n=t.dispatch;i("setCustomers",e),a.customers.length||n("fetchCustomers")},setTaxRateID:function(t,e){(0,t.commit)("setTaxRateID",e)},setDiscount:function(t,e){(0,t.commit)("setDiscount",e)},setInvoiceTotalAmount:function(t,e){(0,t.commit)("setInvoiceTotalAmount",e)}};e.a={namespaced:!0,state:{customers:[],taxRateID:0,discount:0,invoiceTotalAmount:0},getters:{getCustomers:function(t){return t.customers},getTaxRateID:function(t){return t.taxRateID},getDiscount:function(t){return t.discount},getInvoiceTotalAmount:function(t){return t.invoiceTotalAmount}},actions:s,mutations:{setCustomers:function(t,e){t.customers=[],e.forEach(function(e){t.customers.push({id:e.id,name:"".concat(e.first_name," ").concat(e.last_name)})})},setTaxRateID:function(t,e){t.taxRateID=e},setDiscount:function(t,e){t.discount=e},setInvoiceTotalAmount:function(t,e){t.invoiceTotalAmount=e}}}},function(t,e,a){"use strict";var i=a(14),n=a.n(i),r=a(1),s={fetchPeople:function(){var t=n()(regeneratorRuntime.mark(function t(e){var a,i,n,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,r.a.get("/people",{params:{type:"all",per_page:10,page:1}});case 3:i=t.sent,n=i.status,s=i.data,200===n&&a("setPeople",s);case 7:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),fillPeople:function(t,e){var a=t.state,i=t.commit,n=t.dispatch;i("setPeople",e),a.people.length||n("fetchPeople")}};e.a={namespaced:!0,state:{people:[]},getters:{getPeople:function(t){return t.people}},actions:s,mutations:{setPeople:function(t,e){t.people=[],e.forEach(function(e){t.people.push({id:e.id,name:"".concat(e.first_name," ").concat(e.last_name)})})}}}},function(t,e,a){"use strict";var i=a(14),n=a.n(i),r=a(1),s={fetchVendors:function(){var t=n()(regeneratorRuntime.mark(function t(e){var a,i,n,s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.commit,t.next=3,r.a.get("/people",{params:{type:"vendor",per_page:10,page:1}});case 3:i=t.sent,n=i.status,s=i.data,200===n&&a("setVendors",s);case 7:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}(),fillVendors:function(t,e){var a=t.state,i=t.commit,n=t.dispatch;i("setVendors",e),a.vendors.length||n("fetchVendors")}};e.a={namespaced:!0,state:{vendors:[]},getters:{getVendors:function(t){return t.vendors}},actions:s,mutations:{setVendors:function(t,e){t.vendors=[],e.forEach(function(e){t.vendors.push({id:e.id,name:"".concat(e.first_name," ").concat(e.last_name)})})}}}},function(t,e,a){"use strict";e.a={namespaced:!0,state:{loader:!1},getters:{getStatus:function(t){return t.loader}},actions:{setSpinner:function(t,e){(0,t.commit)("setSpinner",e)}},mutations:{setSpinner:function(t,e){t.loader=e}}}},function(t,e,a){"use strict";e.a={namespaced:!0,state:{btnID:null},getters:{getBtnID:function(t){return t.btnID}},actions:{setBtnID:function(t,e){(0,t.commit)("setBtnID",e)}},mutations:{setBtnID:function(t,e){t.btnID=e}}}}],[213]);