}},i.prototype.send=function(t){vare=newr;e.open("POST",this.host,!1),e.setRequestHeader("Content-type","application/json");try{e.send(JSON.stringify(t))}catch(n){throwo.InvalidConnection(this.host)}vari=e.responseText;try{i=JSON.parse(i)}catch(a){throwo.InvalidResponse(e.responseText)}returni},i.prototype.sendAsync=function(t,e){varn=newr;n.onreadystatechange=function(){if(4===n.readyState){vart=n.responseText,r=null;try{t=JSON.parse(t)}catch(i){r=o.InvalidResponse(n.responseText)}e(r,t)}},n.open("POST",this.host,!0),n.setRequestHeader("Content-type","application/json");try{n.send(JSON.stringify(t))}catch(i){e(o.InvalidConnection(this.host))}},e.exports=i},{"./errors":14,xmlhttprequest:4}],21:[function(t,e,n){varr=t("../utils/utils"),o=function(t){this._iban=t};o.prototype.isValid=function(){returnr.isIBAN(this._iban)},o.prototype.isDirect=function(){return34===this._iban.length},o.prototype.isIndirect=function(){return20===this._iban.length},o.prototype.checksum=function(){returnthis._iban.substr(2,2)},o.prototype.institution=function(){returnthis.isIndirect()?this._iban.substr(7,4):""},o.prototype.client=function(){returnthis.isIndirect()?this._iban.substr(11):""},o.prototype.address=function(){returnthis.isDirect()?this._iban.substr(4):""},e.exports=o},{"../utils/utils":7}],22:[function(t,e,n){"use strict";varr=t("../utils/utils"),o=t("./errors"),i='{"jsonrpc": "2.0", "error": {"code": -32603, "message": "IPC Request timed out for method \'__method__\'"}, "id": "__id__"}',a=function(e,n){varo=this;this.responseCallbacks={},this.path=e,n=n||t("net"),this.connection=n.connect({path:this.path}),this.connection.on("error",function(t){console.error("IPC Connection Error",t),o._timeout()}),this.connection.on("end",function(){o._timeout()}),this.connection.on("data",function(t){o._parseResponse(t.toString()).forEach(function(t){vare=null;r.isArray(t)?t.forEach(function(t){o.responseCallbacks[t.id]&&(e=t.id)}):e=t.id,o.responseCallbacks[e]&&(o.responseCallbacks[e](null,t),deleteo.responseCallbacks[e])})})};a.prototype._parseResponse=function(t){vare=this,n=[],r=t.replace(/\}\{/g,"}|--|{").replace(/\}\]\[\{/g,"}]|--|[{").replace(/\}\[\{/g,"}|--|[{").replace(/\}\]\{/g,"}]|--|{").split("|--|");returnr.forEach(function(t){e.lastChunk&&(t=e.lastChunk+t);varr=null;try{r=JSON.parse(t)}catch(i){returne.lastChunk=t,clearTimeout(e.lastChunkTimeout),void(e.lastChunkTimeout=setTimeout(function(){throwe.timeout(),o.InvalidResponse(t)},15e3))}clearTimeout(e.lastChunkTimeout),e.lastChunk=null,r&&n.push(r)}),n},a.prototype._addResponseCallback=function(t,e){varn=t.id||t[0].id,r=t.method||t[0].method;this.responseCallbacks[n]=e,this.responseCallbacks[n].method=r},a.prototype._timeout=function(){for(vartinthis.responseCallbacks)this.responseCallbacks.hasOwnProperty(t)&&(this.responseCallbacks[t](i.replace("__id__",t).replace("__method__",this.responseCallbacks[t].method)),deletethis.responseCallbacks[t])},a.prototype.isConnected=function(){vart=this;returnt.connection.writable||t.connection.connect({path:t.path}),!!this.connection.writable},a.prototype.send=function(t){if(this.connection.writeSync){vare;this.connection.writable||this.connection.connect({path:this.path});varn=this.connection.writeSync(JSON.stringify(t));try{e=JSON.parse(n)}catch(r){throwo.InvalidResponse(n)}returne}thrownewError('You tried to send "'+t.method+'" synchronously. Synchronous requests are not supported by the IPC provider.')},a.prototype.sendAsync=function(t,e){this.connection.writable||this.connection.connect({path:this.path}),this.connection.write(JSON.stringify(t)),this._addResponseCallback(t,e)},e.exports=a},{"../utils/utils":7,"./errors":14,net:32}],23:[function(t,e,n){varr=function(){returnarguments.callee._singletonInstance?arguments.callee._singletonInstance:(arguments.callee._singletonInstance=this,void(this.messageId=1))};r.getInstance=function(){vart=newr;returnt},r.prototype.toPayload=function(t,e){returnt||console.error("jsonrpc method should be specified!"),{jsonrpc:"2.0",method:t,params:e||[],id:this.me
e++);}returnt&&r.e+1>e&&(e=r.e+1),e},E.round=function(t,n){varr=newe(this);return(null==t||z(t,0,O,15))&&S(r,~~t+this.e+1,null!=n&&z(n,0,8,15,w)?0|n:q),r},E.shift=function(t){varn=this;returnz(t,-k,k,16,"argument")?n.times("1e"+p(t)):newe(n.c&&n.c[0]&&(-k>t||t>k)?n.s*(0>t?0:1/0):n)},E.squareRoot=E.sqrt=function(){vart,n,r,a,s,u=this,c=u.c,l=u.s,f=u.e,p=j+4,h=newe("0.5");if(1!==l||!c||!c[0])returnnewe(!l||0>l&&(!c||c[0])?0/0:c?u:1/0);if(l=Math.sqrt(+u),0==l||l==1/0?(n=i(c),(n.length+f)%2==0&&(n+="0"),l=Math.sqrt(n),f=o((f+1)/2)-(0>f||f%2),l==1/0?n="1e"+f:(n=l.toExponential(),n=n.slice(0,n.indexOf("e")+1)+f),r=newe(n)):r=newe(l+""),r.c[0])for(f=r.e,l=f+p,3>l&&(l=0);;)if(s=r,r=h.times(s.plus(D(u,s,p,1))),i(s.c).slice(0,l)===(n=i(r.c)).slice(0,l)){if(r.e<f&&--l,n=n.slice(l-3,l+1),"9999"!=n&&(a||"4999"!=n)){(!+n||!+n.slice(1)&&"5"==n.charAt(0))&&(S(r,r.e+j+2,1),t=!r.times(r).eq(u));break}if(!a&&(S(s,s.e+j+2,0),s.times(s).eq(u))){r=s;break}p+=4,l+=4,a=1}returnS(r,r.e+j+1,q,t)},E.times=E.mul=function(t,n){varr,i,a,s,u,c,l,f,p,h,m,d,g,y,v,b=this,w=b.c,_=(R=17,t=newe(t,n)).c;if(!(w&&_&&w[0]&&_[0]))return!b.s||!t.s||w&&!w[0]&&!_||_&&!_[0]&&!w?t.c=t.e=t.s=null:(t.s*=b.s,w&&_?(t.c=[0],t.e=0):t.c=t.e=null),t;for(i=o(b.e/I)+o(t.e/I),t.s*=b.s,l=w.length,h=_.length,h>l&&(g=w,w=_,_=g,a=l,l=h,h=a),a=l+h,g=[];a--;g.push(0));for(y=F,v=N,a=h;--a>=0;){for(r=0,m=_[a]%v,d=_[a]/v|0,u=l,s=a+u;s>a;)f=w[--u]%v,p=w[u]/v|0,c=d*f+p*m,f=m*f+c%v*v+g[s]+r,r=(f/y|0)+(c/v|0)+d*p,g[s--]=f%y;g[s]=r}returnr?++i:g.shift(),P(t,g,i)},E.toDigits=function(t,n){varr=newe(this);returnt=null!=t&&z(t,1,O,18,"precision")?0|t:null,n=null!=n&&z(n,0,8,18,w)?0|n:q,t?S(r,t,n):r},E.toExponential=function(t,e){returnh(this,null!=t&&z(t,0,O,19)?~~t+1:null,e,19)},E.toFixed=function(t,e){returnh(this,null!=t&&z(t,0,O,20)?~~t+this.e+1:null,e,20)},E.toFormat=function(t,e){varn=h(this,null!=t&&z(t,0,O,21)?~~t+this.e+1:null,e,21);if(this.c){varr,o=n.split("."),i=+X.groupSize,a=+X.secondaryGroupSize,s=X.groupSeparator,u=o[0],c=o[1],l=this.s<0,f=l?u.slice(1):u,p=f.length;if(a&&(r=i,i=a,a=r,p-=r),i>0&&p>0){for(r=p%i||i,u=f.substr(0,r);p>r;r+=i)u+=s+f.substr(r,i);a>0&&(u+=s+f.slice(r)),l&&(u="-"+u)}n=c?u+X.decimalSeparator+((a=+X.fractionGroupSize)?c.replace(newRegExp("\\d{"+a+"}\\B","g"),"$&"+X.fractionGroupSeparator):c):u}returnn},E.toFraction=function(t){varn,r,o,a,s,u,c,l,f,p=W,h=this,m=h.c,d=newe(H),g=r=newe(H),y=c=newe(H);if(null!=t&&(W=!1,u=newe(t),W=p,(!(p=u.isInt())||u.lt(H))&&(W&&C(22,"max denominator "+(p?"out of range":"not an integer"),t),t=!p&&u.c&&S(u,u.e+1,1).gte(H)?u:null)),!m)returnh.toString();for(f=i(m),a=d.e=f.length-h.e-1,d.c[0]=B[(s=a%I)<0?I+s:s],t=!t||u.cmp(d)>0?a>0?d:g:u,s=G,G=1/0,u=newe(f),c.c[0]=0;l=D(u,d,0,1),o=r.plus(l.times(y)),1!=o.cmp(t);)r=y,y=o,g=c.plus(l.times(o=g)),c=o,d=u.minus(l.times(o=d)),u=o;returno=D(t.minus(r),y,0,1),c=c.plus(o.times(g)),r=r.plus(o.times(y)),c.s=g.s=h.s,a*=2,n=D(g,y,a,q).minus(h).abs().cmp(D(c,r,a,q).minus(h).abs())<1?[g.toString(),y.toString()]:[c.toString(),r.toString()],G=s,n},E.toNumber=function(){vart=this;return+t||(t.s?0*t.s:0/0)},E.toPower=E.pow=function(t){varn,r,o=v(0>t?-t:+t),i=this;if(!z(t,-k,k,23,"exponent")&&(!isFinite(t)||o>k&&(t/=0)||parseFloat(t)!=t&&!(t=0/0)))returnnewe(Math.pow(+i,t));for(n=$?y($/I+2):0,r=newe(H);;){if(o%2){if(r=r.times(i),!r.c)break;n&&r.c.length>n&&(r.c.length=n)}if(o=v(o/2),!o)break;i=i.times(i),n&&i.c&&i.c.length>n&&(i.c.length=n)}return0>t&&(r=H.div(r)),n?S(r,$,q):r},E.toPrecision=function(t,e){returnh(this,null!=t&&z(t,1,O,24,"precision")?0|t:null,e,24)},E.toString=function(t){vare,r=this,o=r.s,a=r.e;returnnull===a?o?(e="Infinity",0>o&&(e="-"+e)):e="NaN":(e=i(r.c),e=null!=t&&z(t,2,64,25,"base")?n(f(e,a),0|t,10,o):L>=a||a>=U?l(e,a):f(e,a),0>o&&r.c[0]&&(e="-"+e)),e},E.truncated=E.trunc=function(){returnS(newe(this),this.e+1,1)},E.valueOf=E.toJSON=function(){returnthis.toString()},null!=t&&e.config(t),e}functiono(t){vare=0|t;returnt>0||t===e?e:e-1}functioni(t){for(vare,n,r=1,o=t.length,i=t[0]+"";o>r;){for(e=t[r++]+"",n=I-e.length;n--;e="0"