!function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/codesoup/wp-content/plugins/cs-invoice-plugin/dist/",t(t.s=15)}({0:function(e,n){e.exports=jQuery},15:function(e,n,t){e.exports=t(16)},16:function(e,n,t){(function(e){document.addEventListener("DOMContentLoaded",()=>{const n=e("[name=_inv_client]");n.on("change",(function(t){t.preventDefault&&t.preventDefault(),function(n){let t={client_id:n};const o=e("[name=_inv_net_period]")[0];e.ajax({url:csip.ajax_url,type:"POST",data:{action:"do_fetch_client_net",nonce:csip.nonce,params:t},dataType:"json",success:function(e,n,t){if(200===e.status){o.value=e.net;let n=new Event("change");o.dispatchEvent(n)}else console.log(e.message)},error:function(e,n,t){},complete:function(e,n){let t=n;"success"===n&&(t=e.responseJSON.message)}})}(n[0].value)}))})}).call(this,t(0))}});