Build 603132stable
Module 162929
32,129 characters · in 661212.f8156c4d7fe71722.js, f0b52178010a6605.jsDependencies
Source Raw
function(e,t,n){"use strict";n.d(t,{W:()=>eS});var r,i,a="0123456789abcdef",o="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",u="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",s={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},l=!0,d="[DecimalError] ",c=d+"Invalid argument: ",f=d+"Precision limit exceeded",h=d+"crypto unavailable",p="[object Decimal]",m=Math.floor,v=Math.pow,_=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,g=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,y=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,b=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,D=o.length-1,w=u.length-1,E={toStringTag:p};function C(e){var t,n,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(a+=z(n)),a+=r;(n=7-(r=(o=e[t])+"").length)&&(a+=z(n))}else if(0===o)return"0";for(;o%10==0;)o/=10;return a+o}function A(e,t,n){if(e!==~~e||e<t||e>n)throw Error(c+e)}function B(e,t,n,r){var i,a,o,u;for(a=e[0];a>=10;a/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),a=v(10,7-t),u=e[i]%a|0,null==r?t<3?(0==t?u=u/100|0:1==t&&(u=u/10|0),o=n<4&&99999==u||n>3&&49999==u||5e4==u||0==u):o=(n<4&&u+1==a||n>3&&u+1==a/2)&&(e[i+1]/a/100|0)==v(10,t-2)-1||(u==a/2||0==u)&&(e[i+1]/a/100|0)==0:t<4?(0==t?u=u/1e3|0:1==t?u=u/100|0:2==t&&(u=u/10|0),o=(r||n<4)&&9999==u||!r&&n>3&&4999==u):o=((r||n<4)&&u+1==a||!r&&n>3&&u+1==a/2)&&(e[i+1]/a/1e3|0)==v(10,t-3)-1,o}function k(e,t,n){for(var r,i,o=[0],u=0,s=e.length;u<s;){for(i=o.length;i--;)o[i]*=t;for(o[0]+=a.indexOf(e.charAt(u++)),r=0;r<o.length;r++)o[r]>n-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}E.absoluteValue=E.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),T(e)},E.ceil=function(){return T(new this.constructor(this),this.e+1,2)},E.clampedTo=E.clamp=function(e,t){var n=this.constructor;if(e=new n(e),t=new n(t),!e.s||!t.s)return new n(NaN);if(e.gt(t))throw Error(c+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new n(this)},E.comparedTo=E.cmp=function(e){var t,n,r,i,a=this.d,o=(e=new this.constructor(e)).d,u=this.s,s=e.s;if(!a||!o)return u&&s?u!==s?u:a===o?0:!a^u<0?1:-1:NaN;if(!a[0]||!o[0])return a[0]?u:o[0]?-s:0;if(u!==s)return u;if(this.e!==e.e)return this.e>e.e^u<0?1:-1;for(t=0,n=(r=a.length)<(i=o.length)?r:i;t<n;++t)if(a[t]!==o[t])return a[t]>o[t]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},E.cosine=E.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r,i;if(t.isZero())return t;(r=t.d.length)<32?i=(1/$(4,n=Math.ceil(r/3))).toString():(n=16,i="2.3283064365386962890625e-10"),e.precision+=n,t=U(e,1,t.times(i),new e(1));for(var a=n;a--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=n,t}(r,W(r,n)),r.precision=e,r.rounding=t,T(2==i||3==i?n.neg():n,e,t,!0)):new r(1):new r(NaN)},E.cubeRoot=E.cbrt=function(){var e,t,n,r,i,a,o,u,s,d,c=this.constructor;if(!this.isFinite()||this.isZero())return new c(this);for(l=!1,(a=this.s*v(this.s*this,1/3))&&Math.abs(a)!=1/0?r=new c(a.toString()):(n=C(this.d),(a=((e=this.e)-n.length+1)%3)&&(n+=1==a||-2==a?"0":"00"),a=v(n,1/3),e=m((e+1)/3)-(e%3==(e<0?-1:2)),(r=new c(n=a==1/0?"5e"+e:(n=a.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=this.s),o=(e=c.precision)+3;;)if(r=F((d=(s=(u=r).times(u).times(u)).plus(this)).plus(this).times(u),d.plus(s),o+2,1),C(u.d).slice(0,o)===(n=C(r.d)).slice(0,o)){if("9999"!=(n=n.slice(o-3,o+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(T(r,e+1,1),t=!r.times(r).times(r).eq(this));break}if(!i&&(T(u,e+1,0),u.times(u).times(u).eq(this))){r=u;break}o+=4,i=1}return l=!0,T(r,e,c.rounding,t)},E.decimalPlaces=E.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=((e=t.length-1)-m(this.e/7))*7,e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},E.dividedBy=E.div=function(e){return F(this,new this.constructor(e))},E.dividedToIntegerBy=E.divToInt=function(e){var t=this.constructor;return T(F(this,new t(e),0,1,1),t.precision,t.rounding)},E.equals=E.eq=function(e){return 0===this.cmp(e)},E.floor=function(){return T(new this.constructor(this),this.e+1,3)},E.greaterThan=E.gt=function(e){return this.cmp(e)>0},E.greaterThanOrEqualTo=E.gte=function(e){var t=this.cmp(e);return 1==t||0===t},E.hyperbolicCosine=E.cosh=function(){var e,t,n,r,i,a=this,o=a.constructor,u=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return u;n=o.precision,r=o.rounding,o.precision=n+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?t=(1/$(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),a=U(o,1,a.times(t),new o(1),!0);for(var s,l=e,d=new o(8);l--;)s=a.times(a),a=u.minus(s.times(d.minus(s.times(d))));return T(a,o.precision=n,o.rounding=r,!0)},E.hyperbolicSine=E.sinh=function(){var e,t,n,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(t=a.precision,n=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,(r=i.d.length)<3)i=U(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=U(a,2,i=i.times(1/$(5,e)),i,!0);for(var o,u=new a(5),s=new a(16),l=new a(20);e--;)o=i.times(i),i=i.times(u.plus(o.times(s.times(o).plus(l))))}return a.precision=t,a.rounding=n,T(i,t,n,!0)},E.hyperbolicTangent=E.tanh=function(){var e,t,n=this.constructor;return this.isFinite()?this.isZero()?new n(this):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,F(this.sinh(),this.cosh(),n.precision=e,n.rounding=t)):new n(this.s)},E.inverseCosine=E.acos=function(){var e=this,t=e.constructor,n=e.abs().cmp(1),r=t.precision,i=t.rounding;return -1!==n?0===n?e.isNeg()?O(t,r,i):new t(0):new t(NaN):e.isZero()?O(t,r+4,i).times(.5):(t.precision=r+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=r,t.rounding=i,e.times(2))},E.inverseHyperbolicCosine=E.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,l=!1,n=n.times(n).minus(1).sqrt().plus(n),l=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},E.inverseHyperbolicSine=E.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,l=!1,n=n.times(n).plus(1).sqrt().plus(n),l=!0,r.precision=e,r.rounding=t,n.ln())},E.inverseHyperbolicTangent=E.atanh=function(){var e,t,n,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,t=a.rounding,Math.max(r=i.sd(),e)<-(2*i.e)-1)?T(new a(i),e,t,!0):(a.precision=n=r-i.e,i=F(i.plus(1),new a(1).minus(i),n+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=t,i.times(.5)):new a(NaN)},E.inverseSine=E.asin=function(){var e,t,n,r,i=this,a=i.constructor;return i.isZero()?new a(i):(t=i.abs().cmp(1),n=a.precision,r=a.rounding,-1!==t)?0===t?((e=O(a,n+4,r).times(.5)).s=i.s,e):new a(NaN):(a.precision=n+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=n,a.rounding=r,i.times(2))},E.inverseTangent=E.atan=function(){var e,t,n,r,i,a,o,u,s,d=this,c=d.constructor,f=c.precision,h=c.rounding;if(d.isFinite()){if(d.isZero())return new c(d);else if(d.abs().eq(1)&&f+4<=w)return(o=O(c,f+4,h).times(.25)).s=d.s,o}else{if(!d.s)return new c(NaN);if(f+4<=w)return(o=O(c,f+4,h).times(.5)).s=d.s,o}for(c.precision=u=f+10,c.rounding=1,e=n=Math.min(28,u/7+2|0);e;--e)d=d.div(d.times(d).plus(1).sqrt().plus(1));for(l=!1,t=Math.ceil(u/7),r=1,s=d.times(d),o=new c(d),i=d;-1!==e;)if(i=i.times(s),a=o.minus(i.div(r+=2)),i=i.times(s),void 0!==(o=a.plus(i.div(r+=2))).d[t])for(e=t;o.d[e]===a.d[e]&&e--;);return n&&(o=o.times(2<<n-1)),l=!0,T(o,c.precision=f,c.rounding=h,!0)},E.isFinite=function(){return!!this.d},E.isInteger=E.isInt=function(){return!!this.d&&m(this.e/7)>this.d.length-2},E.isNaN=function(){return!this.s},E.isNegative=E.isNeg=function(){return this.s<0},E.isPositive=E.isPos=function(){return this.s>0},E.isZero=function(){return!!this.d&&0===this.d[0]},E.lessThan=E.lt=function(e){return 0>this.cmp(e)},E.lessThanOrEqualTo=E.lte=function(e){return 1>this.cmp(e)},E.logarithm=E.log=function(e){var t,n,r,i,a,o,u,s=this.constructor,d=s.precision,c=s.rounding;if(null==e)e=new s(10),t=!0;else{if(n=(e=new s(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new s(NaN);t=e.eq(10)}if(n=this.d,this.s<0||!n||!n[0]||this.eq(1))return new s(n&&!n[0]?-1/0:1!=this.s?NaN:n?0:1/0);if(t)if(n.length>1)i=!0;else{for(r=n[0];r%10==0;)r/=10;i=1!==r}if(l=!1,B((u=F(a=j(this,o=d+5),t?P(s,o+10):j(e,o),o,1)).d,r=d,c))do if(o+=10,u=F(a=j(this,o),t?P(s,o+10):j(e,o),o,1),!i){+C(u.d).slice(r+1,r+15)+1==1e14&&(u=T(u,d+1,0));break}while(B(u.d,r+=10,c));return l=!0,T(u,d,c)},E.minus=E.sub=function(e){var t,n,r,i,a,o,u,s,d,c,f,h,p=this.constructor;if(e=new p(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new p(e.d||this.s!==e.s?this:NaN):e=new p(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);if(d=this.d,h=e.d,u=p.precision,s=p.rounding,!d[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!d[0])return new p(3===s?-0:0);e=new p(this)}return l?T(e,u,s):e}if(n=m(e.e/7),c=m(this.e/7),d=d.slice(),a=c-n){for((f=a<0)?(t=d,a=-a,o=h.length):(t=h,n=c,o=d.length),a>(r=Math.max(Math.ceil(u/7),o)+2)&&(a=r,t.length=1),t.reverse(),r=a;r--;)t.push(0);t.reverse()}else{for((f=(r=d.length)<(o=h.length))&&(o=r),r=0;r<o;r++)if(d[r]!=h[r]){f=d[r]<h[r];break}a=0}for(f&&(t=d,d=h,h=t,e.s=-e.s),o=d.length,r=h.length-o;r>0;--r)d[o++]=0;for(r=h.length;r>a;){if(d[--r]<h[r]){for(i=r;i&&0===d[--i];)d[i]=1e7-1;--d[i],d[r]+=1e7}d[r]-=h[r]}for(;0===d[--o];)d.pop();for(;0===d[0];d.shift())--n;return d[0]?(e.d=d,e.e=x(d,n),l?T(e,u,s):e):new p(3===s?-0:0)},E.modulo=E.mod=function(e){var t,n=this.constructor;return(e=new n(e),this.d&&e.s&&(!e.d||e.d[0]))?e.d&&(!this.d||this.d[0])?(l=!1,9==n.modulo?(t=F(this,e.abs(),0,3,1),t.s*=e.s):t=F(this,e,0,n.modulo,1),t=t.times(e),l=!0,this.minus(t)):T(new n(this),n.precision,n.rounding):new n(NaN)},E.naturalExponential=E.exp=function(){return I(this)},E.naturalLogarithm=E.ln=function(){return j(this)},E.negated=E.neg=function(){var e=new this.constructor(this);return e.s=-e.s,T(e)},E.plus=E.add=function(e){var t,n,r,i,a,o,u,s,d,c,f=this.constructor;if(e=new f(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new f(e.d||this.s===e.s?this:NaN)):e=new f(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(d=this.d,c=e.d,u=f.precision,s=f.rounding,!d[0]||!c[0])return c[0]||(e=new f(this)),l?T(e,u,s):e;if(a=m(this.e/7),r=m(e.e/7),d=d.slice(),i=a-r){for(i<0?(n=d,i=-i,o=c.length):(n=c,r=a,o=d.length),i>(o=(a=Math.ceil(u/7))>o?a+1:o+1)&&(i=o,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((o=d.length)-(i=c.length)<0&&(i=o,n=c,c=d,d=n),t=0;i;)t=(d[--i]=d[i]+c[i]+t)/1e7|0,d[i]%=1e7;for(t&&(d.unshift(t),++r),o=d.length;0==d[--o];)d.pop();return e.d=d,e.e=x(d,r),l?T(e,u,s):e},E.precision=E.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(c+e);return this.d?(t=S(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},E.round=function(){var e=this.constructor;return T(new e(this),this.e+1,e.rounding)},E.sine=E.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:U(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=U(e,2,t=t.times(1/$(5,n)),t);for(var i,a=new e(5),o=new e(16),u=new e(20);n--;)i=t.times(t),t=t.times(a.plus(i.times(o.times(i).minus(u))));return t}(r,W(r,n)),r.precision=e,r.rounding=t,T(i>2?n.neg():n,e,t,!0)):new r(NaN)},E.squareRoot=E.sqrt=function(){var e,t,n,r,i,a,o=this.d,u=this.e,s=this.s,d=this.constructor;if(1!==s||!o||!o[0])return new d(!s||s<0&&(!o||o[0])?NaN:o?this:1/0);for(l=!1,0==(s=Math.sqrt(+this))||s==1/0?(((t=C(o)).length+u)%2==0&&(t+="0"),s=Math.sqrt(t),u=m((u+1)/2)-(u<0||u%2),r=new d(t=s==1/0?"5e"+u:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+u)):r=new d(s.toString()),n=(u=d.precision)+3;;)if(r=(a=r).plus(F(this,a,n+2,1)).times(.5),C(a.d).slice(0,n)===(t=C(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(T(r,u+1,1),e=!r.times(r).eq(this));break}if(!i&&(T(a,u+1,0),a.times(a).eq(this))){r=a;break}n+=4,i=1}return l=!0,T(r,u,d.rounding,e)},E.tangent=E.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=F(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,T(2==i||4==i?n.neg():n,e,t,!0)):new r(NaN)},E.times=E.mul=function(e){var t,n,r,i,a,o,u,s,d,c=this.constructor,f=this.d,h=(e=new c(e)).d;if(e.s*=this.s,!f||!f[0]||!h||!h[0])return new c(!e.s||f&&!f[0]&&!h||h&&!h[0]&&!f?NaN:!f||!h?e.s/0:0*e.s);for(n=m(this.e/7)+m(e.e/7),(s=f.length)<(d=h.length)&&(a=f,f=h,h=a,o=s,s=d,d=o),a=[],r=o=s+d;r--;)a.push(0);for(r=d;--r>=0;){for(t=0,i=s+r;i>r;)u=a[i]+h[r]*f[i-r-1]+t,a[i--]=u%1e7|0,t=u/1e7|0;a[i]=(a[i]+t)%1e7|0}for(;!a[--o];)a.pop();return t?++n:a.shift(),e.d=a,e.e=x(a,n),l?T(e,c.precision,c.rounding):e},E.toBinary=function(e,t){return G(this,2,e,t)},E.toDecimalPlaces=E.toDP=function(e,t){var n=this,r=n.constructor;return(n=new r(n),void 0===e)?n:(A(e,0,1e9),void 0===t?t=r.rounding:A(t,0,8),T(n,e+n.e+1,t))},E.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=V(r,!0):(A(e,0,1e9),void 0===t?t=i.rounding:A(t,0,8),n=V(r=T(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},E.toFixed=function(e,t){var n,r,i=this.constructor;return void 0===e?n=V(this):(A(e,0,1e9),void 0===t?t=i.rounding:A(t,0,8),n=V(r=T(new i(this),e+this.e+1,t),!1,e+r.e+1)),this.isNeg()&&!this.isZero()?"-"+n:n},E.toFraction=function(e){var t,n,r,i,a,o,u,s,d,f,h,p,m=this.d,_=this.constructor;if(!m)return new _(this);if(d=n=new _(1),r=s=new _(0),o=(a=(t=new _(r)).e=S(m)-this.e-1)%7,t.d[0]=v(10,o<0?7+o:o),null==e)e=a>0?t:d;else{if(!(u=new _(e)).isInt()||u.lt(d))throw Error(c+u);e=u.gt(t)?a>0?t:d:u}for(l=!1,u=new _(C(m)),f=_.precision,_.precision=a=7*m.length*2;h=F(u,t,0,1,1),1!=(i=n.plus(h.times(r))).cmp(e);)n=r,r=i,i=d,d=s.plus(h.times(i)),s=i,i=t,t=u.minus(h.times(i)),u=i;return i=F(e.minus(n),r,0,1,1),s=s.plus(i.times(d)),n=n.plus(i.times(r)),s.s=d.s=this.s,p=1>F(d,r,a,1).minus(this).abs().cmp(F(s,n,a,1).minus(this).abs())?[d,r]:[s,n],_.precision=f,l=!0,p},E.toHexadecimal=E.toHex=function(e,t){return G(this,16,e,t)},E.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:A(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(l=!1,n=F(n,e,0,t,1).times(e),l=!0,T(n)):(e.s=n.s,n=e),n},E.toNumber=function(){return+this},E.toOctal=function(e,t){return G(this,8,e,t)},E.toPower=E.pow=function(e){var t,n,r,i,a,o,u=this,s=u.constructor,d=+(e=new s(e));if(!u.d||!e.d||!u.d[0]||!e.d[0])return new s(v(+u,d));if((u=new s(u)).eq(1))return u;if(r=s.precision,a=s.rounding,e.eq(1))return T(u,r,a);if((t=m(e.e/7))>=e.d.length-1&&(n=d<0?-d:d)<=0x1fffffffffffff)return i=R(s,u,n,r),e.s<0?new s(1).div(i):T(i,r,a);if((o=u.s)<0){if(t<e.d.length-1)return new s(NaN);if((1&e.d[t])==0&&(o=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=o,u}return(t=0!=(n=v(+u,d))&&isFinite(n)?new s(n+"").e:m(d*(Math.log("0."+C(u.d))/Math.LN10+u.e+1)))>s.maxE+1||t<s.minE-1?new s(t>0?o/0:0):(l=!1,s.rounding=u.s=1,n=Math.min(12,(t+"").length),(i=I(e.times(j(u,r+n)),r)).d&&B((i=T(i,r+5,1)).d,r,a)&&(t=r+10,+C((i=T(I(e.times(j(u,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=T(i,r+1,0))),i.s=o,l=!0,s.rounding=a,T(i,r,a))},E.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=V(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(A(e,1,1e9),void 0===t?t=i.rounding:A(t,0,8),n=V(r=T(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},E.toSignificantDigits=E.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(A(e,1,1e9),void 0===t?t=n.rounding:A(t,0,8)),T(new n(this),e,t)},E.toString=function(){var e=this.constructor,t=V(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},E.truncated=E.trunc=function(){return T(new this.constructor(this),this.e+1,1)},E.valueOf=E.toJSON=function(){var e=this.constructor,t=V(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var F=function(){function e(e,t,n){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*t+i,e[a]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=+(e[n]<t[n]),e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(i,a,o,u,s,l){var d,c,f,h,p,v,_,g,y,b,D,w,E,C,A,B,k,F,V,x,P=i.constructor,O=i.s==a.s?1:-1,S=i.d,z=a.d;if(!S||!S[0]||!z||!z[0])return new P(!i.s||!a.s||(S?z&&S[0]==z[0]:!z)?NaN:S&&0==S[0]||!z?0*O:O/0);for(l?(p=1,c=i.e-a.e):(l=1e7,p=7,c=m(i.e/p)-m(a.e/p)),V=z.length,k=S.length,b=(y=new P(O)).d=[],f=0;z[f]==(S[f]||0);f++);if(z[f]>(S[f]||0)&&c--,null==o?(C=o=P.precision,u=P.rounding):C=s?o+(i.e-a.e)+1:o,C<0)b.push(1),v=!0;else{if(C=C/p+2|0,f=0,1==V){for(h=0,z=z[0],C++;(f<k||h)&&C--;f++)A=h*l+(S[f]||0),b[f]=A/z|0,h=A%z|0;v=h||f<k}else{for((h=l/(z[0]+1)|0)>1&&(z=e(z,h,l),S=e(S,h,l),V=z.length,k=S.length),B=V,w=(D=S.slice(0,V)).length;w<V;)D[w++]=0;(x=z.slice()).unshift(0),F=z[0],z[1]>=l/2&&++F;do h=0,(d=t(z,D,V,w))<0?(E=D[0],V!=w&&(E=E*l+(D[1]||0)),(h=E/F|0)>1?(h>=l&&(h=l-1),g=(_=e(z,h,l)).length,w=D.length,1==(d=t(_,D,g,w))&&(h--,n(_,V<g?x:z,g,l))):(0==h&&(d=h=1),_=z.slice()),(g=_.length)<w&&_.unshift(0),n(D,_,w,l),-1==d&&(w=D.length,(d=t(z,D,V,w))<1&&(h++,n(D,V<w?x:z,w,l))),w=D.length):0===d&&(h++,D=[0]),b[f++]=h,d&&D[0]?D[w++]=S[B]||0:(D=[S[B]],w=1);while((B++<k||void 0!==D[0])&&C--);v=void 0!==D[0]}b[0]||b.shift()}if(1==p)y.e=c,r=v;else{for(f=1,h=b[0];h>=10;h/=10)f++;y.e=f+c*p-1,T(y,s?o+y.e+1:o,u,v)}return y}}();function T(e,t,n,r){var i,a,o,u,s,d,c,f,h,p=e.constructor;e:if(null!=t){if(!(f=e.d))return e;for(i=1,u=f[0];u>=10;u/=10)i++;if((a=t-i)<0)a+=7,o=t,s=(c=f[h=0])/v(10,i-o-1)%10|0;else if((h=Math.ceil((a+1)/7))>=(u=f.length))if(r){for(;u++<=h;)f.push(0);c=s=0,i=1,a%=7,o=a-7+1}else break e;else{for(i=1,c=u=f[h];u>=10;u/=10)i++;a%=7,s=(o=a-7+i)<0?0:c/v(10,i-o-1)%10|0}if(r=r||t<0||void 0!==f[h+1]||(o<0?c:c%v(10,i-o-1)),d=n<4?(s||r)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||r||6==n&&(a>0?o>0?c/v(10,i-o):0:f[h-1])%10&1||n==(e.s<0?8:7)),t<1||!f[0])return f.length=0,d?(t-=e.e+1,f[0]=v(10,(7-t%7)%7),e.e=-t||0):f[0]=e.e=0,e;if(0==a?(f.length=h,u=1,h--):(f.length=h+1,u=v(10,7-a),f[h]=o>0?(c/v(10,i-o)%v(10,o)|0)*u:0),d)for(;;)if(0==h){for(a=1,o=f[0];o>=10;o/=10)a++;for(o=f[0]+=u,u=1;o>=10;o/=10)u++;a!=u&&(e.e++,1e7==f[0]&&(f[0]=1));break}else{if(f[h]+=u,1e7!=f[h])break;f[h--]=0,u=1}for(a=f.length;0===f[--a];)f.pop()}return l&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function V(e,t,n){if(!e.isFinite())return L(e);var r,i=e.e,a=C(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+"."+a.slice(1)+z(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+z(-i-1)+a,n&&(r=n-o)>0&&(a+=z(r))):i>=o?(a+=z(i+1-o),n&&(r=n-i-1)>0&&(a=a+"."+z(r))):((r=i+1)<o&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+="."),a+=z(r))),a}function x(e,t){var n=e[0];for(t*=7;n>=10;n/=10)t++;return t}function P(e,t,n){if(t>D)throw l=!0,n&&(e.precision=n),Error(f);return T(new e(o),t,1,!0)}function O(e,t,n){if(t>w)throw Error(f);return T(new e(u),t,n,!0)}function S(e){var t=e.length-1,n=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function z(e){for(var t="";e--;)t+="0";return t}function R(e,t,n,r){var i,a=new e(1),o=Math.ceil(r/7+4);for(l=!1;;){if(n%2&&K((a=a.times(t)).d,o)&&(i=!0),0===(n=m(n/2))){n=a.d.length-1,i&&0===a.d[n]&&++a.d[n];break}K((t=t.times(t)).d,o)}return l=!0,a}function M(e){return 1&e.d[e.d.length-1]}function N(e,t,n){for(var r,i,a=new e(t[0]),o=0;++o<t.length;){if(!(i=new e(t[o])).s){a=i;break}((r=a.cmp(i))===n||0===r&&a.s===n)&&(a=i)}return a}function I(e,t){var n,r,i,a,o,u,s,d=0,c=0,f=0,h=e.constructor,p=h.rounding,m=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?!e.d[0]?1:e.s<0?0:1/0:e.s?e.s<0?0:e:0/0);for(null==t?(l=!1,s=m):s=t,u=new h(.03125);e.e>-2;)e=e.times(u),f+=5;for(s+=r=Math.log(v(2,f))/Math.LN10*2+5|0,n=a=o=new h(1),h.precision=s;;){if(a=T(a.times(e),s,1),n=n.times(++c),C((u=o.plus(F(a,n,s,1))).d).slice(0,s)===C(o.d).slice(0,s)){for(i=f;i--;)o=T(o.times(o),s,1);if(null!=t)return h.precision=m,o;if(!(d<3&&B(o.d,s-r,p,d)))return T(o,h.precision=m,p,l=!0);h.precision=s+=10,n=a=u=new h(1),c=0,d++}o=u}}function j(e,t){var n,r,i,a,o,u,s,d,c,f,h,p=1,m=e,v=m.d,_=m.constructor,g=_.rounding,y=_.precision;if(m.s<0||!v||!v[0]||!m.e&&1==v[0]&&1==v.length)return new _(v&&!v[0]?-1/0:1!=m.s?NaN:v?0:m);if(null==t?(l=!1,c=y):c=t,_.precision=c+=10,r=(n=C(v)).charAt(0),!(15e14>Math.abs(a=m.e)))return d=P(_,c+2,y).times(a+""),m=j(new _(r+"."+n.slice(1)),c-10).plus(d),_.precision=y,null==t?T(m,y,g,l=!0):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=C((m=m.times(e)).d)).charAt(0),p++;for(a=m.e,r>1?(m=new _("0."+n),a++):m=new _(r+"."+n.slice(1)),f=m,s=o=m=F(m.minus(1),m.plus(1),c,1),h=T(m.times(m),c,1),i=3;;){if(o=T(o.times(h),c,1),C((d=s.plus(F(o,new _(i),c,1))).d).slice(0,c)===C(s.d).slice(0,c)){if(s=s.times(2),0!==a&&(s=s.plus(P(_,c+2,y).times(a+""))),s=F(s,new _(p),c,1),null!=t)return _.precision=y,s;if(!B(s.d,c-10,g,u))return T(s,_.precision=y,g,l=!0);_.precision=c+=10,d=o=m=F(f.minus(1),f.plus(1),c,1),h=T(m.times(m),c,1),i=u=1}s=d,i+=2}}function L(e){return String(e.s*e.s/0)}function Z(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";e.d.push(+t),l&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function U(e,t,n,r,i){var a,o,u,s,d=e.precision,c=Math.ceil(d/7);for(l=!1,s=n.times(n),u=new e(r);;){if(o=F(u.times(s),new e(t++*t++),d,1),u=i?r.plus(o):r.minus(o),r=F(o.times(s),new e(t++*t++),d,1),void 0!==(o=u.plus(r)).d[c]){for(a=c;o.d[a]===u.d[a]&&a--;);if(-1==a)break}a=u,u=r,r=o,o=a}return l=!0,o.d.length=c+1,o}function $(e,t){for(var n=e;--t;)n*=e;return n}function W(e,t){var n,r=t.s<0,a=O(e,e.precision,1),o=a.times(.5);if((t=t.abs()).lte(o))return i=r?4:1,t;if((n=t.divToInt(a)).isZero())i=r?3:2;else{if((t=t.minus(n.times(a))).lte(o))return i=M(n)?r?2:3:r?4:1,t;i=M(n)?r?1:4:r?3:2}return t.minus(a).abs()}function G(e,t,n,i){var o,u,s,l,d,c,f,h,p,m=e.constructor,v=void 0!==n;if(v?(A(n,1,1e9),void 0===i?i=m.rounding:A(i,0,8)):(n=m.precision,i=m.rounding),e.isFinite()){for(s=(f=V(e)).indexOf("."),v?(o=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):o=t,s>=0&&(f=f.replace(".",""),(p=new m(1)).e=f.length-s,p.d=k(V(p),10,o),p.e=p.d.length),u=d=(h=k(f,10,o)).length;0==h[--d];)h.pop();if(h[0]){if(s<0?u--:((e=new m(e)).d=h,e.e=u,h=(e=F(e,p,n,i,0,o)).d,u=e.e,c=r),s=h[n],l=o/2,c=c||void 0!==h[n+1],c=i<4?(void 0!==s||c)&&(0===i||i===(e.s<0?3:2)):s>l||s===l&&(4===i||c||6===i&&1&h[n-1]||i===(e.s<0?8:7)),h.length=n,c)for(;++h[--n]>o-1;)h[n]=0,n||(++u,h.unshift(1));for(d=h.length;!h[d-1];--d);for(s=0,f="";s<d;s++)f+=a.charAt(h[s]);if(v){if(d>1)if(16==t||8==t){for(s=16==t?4:3,--d;d%s;d++)f+="0";for(d=(h=k(f,o,t)).length;!h[d-1];--d);for(s=1,f="1.";s<d;s++)f+=a.charAt(h[s])}else f=f.charAt(0)+"."+f.slice(1);f=f+(u<0?"p":"p+")+u}else if(u<0){for(;++u;)f="0"+f;f="0."+f}else if(++u>d)for(u-=d;u--;)f+="0";else u<d&&(f=f.slice(0,u)+"."+f.slice(u))}else f=v?"0p+0":"0";f=(16==t?"0x":2==t?"0b":8==t?"0o":"")+f}else f=L(e);return e.s<0?"-"+f:f}function K(e,t){if(e.length>t)return e.length=t,!0}function H(e){return new this(e).abs()}function q(e){return new this(e).acos()}function J(e){return new this(e).acosh()}function Q(e,t){return new this(e).plus(t)}function X(e){return new this(e).asin()}function Y(e){return new this(e).asinh()}function ee(e){return new this(e).atan()}function et(e){return new this(e).atanh()}function en(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,a=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?O(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=O(this,a,1).times(.5)).s=e.s:t.s<0?(this.precision=a,this.rounding=1,n=this.atan(F(e,t,a,1)),t=O(this,a,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(F(e,t,a,1)):(n=O(this,a,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function er(e){return new this(e).cbrt()}function ei(e){return T(e=new this(e),e.e+1,2)}function ea(e,t,n){return new this(e).clamp(t,n)}function eo(e){if(!e||"object"!=typeof e)throw Error(d+"Object expected");var t,n,r,i=!0===e.defaults,a=["precision",1,1e9,"rounding",0,8,"toExpNeg",-9e15,0,"toExpPos",0,9e15,"maxE",0,9e15,"minE",-9e15,0,"modulo",0,9];for(t=0;t<a.length;t+=3)if(n=a[t],i&&(this[n]=s[n]),void 0!==(r=e[n]))if(m(r)===r&&r>=a[t+1]&&r<=a[t+2])this[n]=r;else throw Error(c+n+": "+r);if(n="crypto",i&&(this[n]=s[n]),void 0!==(r=e[n]))if(!0===r||!1===r||0===r||1===r)if(r)if("u">typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(h);else this[n]=!1;else throw Error(c+n+": "+r);return this}function eu(e){return new this(e).cos()}function es(e){return new this(e).cosh()}function el(e,t){return new this(e).div(t)}function ed(e){return new this(e).exp()}function ec(e){return T(e=new this(e),e.e+1,3)}function ef(){var e,t,n=new this(0);for(e=0,l=!1;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return l=!0,new this(1/0);n=t}return l=!0,n.sqrt()}function eh(e){return e instanceof eS||e&&e.toStringTag===p||!1}function ep(e){return new this(e).ln()}function em(e,t){return new this(e).log(t)}function ev(e){return new this(e).log(2)}function e_(e){return new this(e).log(10)}function eg(){return N(this,arguments,-1)}function ey(){return N(this,arguments,1)}function eb(e,t){return new this(e).mod(t)}function eD(e,t){return new this(e).mul(t)}function ew(e,t){return new this(e).pow(t)}function eE(e){var t,n,r,i,a=0,o=new this(1),u=[];if(void 0===e?e=this.precision:A(e,1,1e9),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));a<r;)(i=t[a])>=429e7?t[a]=crypto.getRandomValues(new Uint32Array(1))[0]:u[a++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(r*=4);a<r;)(i=t[a]+(t[a+1]<<8)+(t[a+2]<<16)+((127&t[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,a):(u.push(i%1e7),a+=4);a=r/4}else throw Error(h);else for(;a<r;)u[a++]=1e7*Math.random()|0;for(r=u[--a],e%=7,r&&e&&(i=v(10,7-e),u[a]=(r/i|0)*i);0===u[a];a--)u.pop();if(a<0)n=0,u=[0];else{for(n=-1;0===u[0];n-=7)u.shift();for(r=1,i=u[0];i>=10;i/=10)r++;r<7&&(n-=7-r)}return o.e=n,o.d=u,o}function eC(e){return T(e=new this(e),e.e+1,this.rounding)}function eA(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function eB(e){return new this(e).sin()}function ek(e){return new this(e).sinh()}function eF(e){return new this(e).sqrt()}function eT(e,t){return new this(e).sub(t)}function eV(){var e=0,t=arguments,n=new this(t[0]);for(l=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return l=!0,T(n,this.precision,this.rounding)}function ex(e){return new this(e).tan()}function eP(e){return new this(e).tanh()}function eO(e){return T(e=new this(e),e.e+1,1)}E[Symbol.for("nodejs.util.inspect.custom")]=E.toString,E[Symbol.toStringTag]="Decimal";var eS=E.constructor=function e(t){var n,r,i;function a(e){var t,n,r;if(!(this instanceof a))return new a(e);if(this.constructor=a,eh(e)){this.s=e.s,l?!e.d||e.e>a.maxE?(this.e=NaN,this.d=null):e.e<a.minE?(this.e=0,this.d=[0]):(this.e=e.e,this.d=e.d.slice()):(this.e=e.e,this.d=e.d?e.d.slice():e.d);return}if("number"==(r=typeof e)){if(0===e){this.s=1/e<0?-1:1,this.e=0,this.d=[0];return}if(e<0?(e=-e,this.s=-1):this.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;l?t>a.maxE?(this.e=NaN,this.d=null):t<a.minE?(this.e=0,this.d=[0]):(this.e=t,this.d=[e]):(this.e=t,this.d=[e]);return}if(0*e!=0){e||(this.s=NaN),this.e=NaN,this.d=null;return}return Z(this,e.toString())}if("string"===r)return 45===(n=e.charCodeAt(0))?(e=e.slice(1),this.s=-1):(43===n&&(e=e.slice(1)),this.s=1),b.test(e)?Z(this,e):function(e,t){var n,r,i,a,o,u,s,d,f;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),b.test(t))return Z(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(g.test(t))n=16,t=t.toLowerCase();else if(_.test(t))n=2;else if(y.test(t))n=8;else throw Error(c+t);for((a=t.search(/p/i))>0?(s=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),o=(a=t.indexOf("."))>=0,r=e.constructor,o&&(a=(u=(t=t.replace(".","")).length)-a,i=R(r,new r(n),a,2*a)),a=f=(d=k(t,n,1e7)).length-1;0===d[a];--a)d.pop();return a<0?new r(0*e.s):(e.e=x(d,f),e.d=d,l=!1,o&&(e=F(e,i,4*u)),s&&(e=e.times(54>Math.abs(s)?v(2,s):eS.pow(2,s))),l=!0,e)}(this,e);if("bigint"===r)return e<0?(e=-e,this.s=-1):this.s=1,Z(this,e.toString());throw Error(c+e)}if(a.prototype=E,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=eo,a.clone=e,a.isDecimal=eh,a.abs=H,a.acos=q,a.acosh=J,a.add=Q,a.asin=X,a.asinh=Y,a.atan=ee,a.atanh=et,a.atan2=en,a.cbrt=er,a.ceil=ei,a.clamp=ea,a.cos=eu,a.cosh=es,a.div=el,a.exp=ed,a.floor=ec,a.hypot=ef,a.ln=ep,a.log=em,a.log10=e_,a.log2=ev,a.max=eg,a.min=ey,a.mod=eb,a.mul=eD,a.pow=ew,a.random=eE,a.round=eC,a.sign=eA,a.sin=eB,a.sinh=ek,a.sqrt=eF,a.sub=eT,a.sum=eV,a.tan=ex,a.tanh=eP,a.trunc=eO,void 0===t&&(t={}),t&&!0!==t.defaults)for(n=0,i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return a.config(t),a}(s);o=new eS(o),u=new eS(u)}