/*! For license information please see 2831.38221ccba3bbdab2.js.LICENSE.txt */ export const ids=["2831"];export const modules={29559:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});var r=t(98492),i=t(27128),o=t(71994);(0,o.defineProperty)(Intl,"NumberFormat",{value:r.NumberFormat}),(0,o.defineProperty)(Number.prototype,"toLocaleString",{value:function(e,n){return(0,i.toLocaleString)(this,e,n)}})},98492:function(e,n,t){t(92519),t(42179),t(89256),t(24931),t(88463),t(57449),t(19814),t(13334),Object.defineProperty(n,"__esModule",{value:!0}),n.NumberFormat=void 0;var r=t(66355),i=t(71994),o=t(47913),s=t(53961),u=r.__importDefault(t(96172)),a=r.__importDefault(t(13625)),c=["locale","numberingSystem","style","currency","currencyDisplay","currencySign","unit","unitDisplay","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","useGrouping","notation","compactDisplay","signDisplay"];function f(e){return(0,i.FormatNumericToParts)(this,d(e),{getInternalSlots:a.default})}n.NumberFormat=function(e,t){if(!this||!(0,i.OrdinaryHasInstance)(n.NumberFormat,this))return new n.NumberFormat(e,t);(0,i.InitializeNumberFormat)(this,e,t,{getInternalSlots:a.default,localeData:n.NumberFormat.localeData,availableLocales:n.NumberFormat.availableLocales,getDefaultLocale:n.NumberFormat.getDefaultLocale,currencyDigitsData:o.currencyDigitsData,numberingSystemNames:s.numberingSystemNames});var r=(0,a.default)(this),u=r.dataLocale,c=n.NumberFormat.localeData[u];return(0,i.invariant)(void 0!==c,"Cannot load locale-dependent data for ".concat(u,".")),r.pl=(0,i.createMemoizedPluralRules)(u,{minimumFractionDigits:r.minimumFractionDigits,maximumFractionDigits:r.maximumFractionDigits,minimumIntegerDigits:r.minimumIntegerDigits,minimumSignificantDigits:r.minimumSignificantDigits,maximumSignificantDigits:r.maximumSignificantDigits}),this};try{Object.defineProperty(f,"name",{value:"formatToParts",enumerable:!1,writable:!1,configurable:!0})}catch(e){}(0,i.defineProperty)(n.NumberFormat.prototype,"formatToParts",{value:f}),(0,i.defineProperty)(n.NumberFormat.prototype,"formatRange",{value:function(e,n){return(0,i.FormatNumericRange)(this,d(e),d(n),{getInternalSlots:a.default})}}),(0,i.defineProperty)(n.NumberFormat.prototype,"formatRangeToParts",{value:function(e,n){return(0,i.FormatNumericRangeToParts)(this,d(e),d(n),{getInternalSlots:a.default})}}),(0,i.defineProperty)(n.NumberFormat.prototype,"resolvedOptions",{value:function(){if("object"!=typeof this||!(0,i.OrdinaryHasInstance)(n.NumberFormat,this))throw TypeError("Method Intl.NumberFormat.prototype.resolvedOptions called on incompatible receiver");for(var e=(0,a.default)(this),t={},r=0,o=c;r0){for(o+=s,n=1;nt)throw Error(h+e)}function j(e,n,t,r){var i,o,s,u;for(o=e[0];o>=10;o/=10)--n;return--n<0?(n+=7,i=0):(i=Math.ceil((n+1)/7),n%=7),o=y(10,7-n),u=e[i]%o|0,null==r?n<3?(0==n?u=u/100|0:1==n&&(u=u/10|0),s=t<4&&99999==u||t>3&&49999==u||5e4==u||0==u):s=(t<4&&u+1==o||t>3&&u+1==o/2)&&(e[i+1]/o/100|0)==y(10,n-2)-1||(u==o/2||0==u)&&!(e[i+1]/o/100|0):n<4?(0==n?u=u/1e3|0:1==n?u=u/100|0:2==n&&(u=u/10|0),s=(r||t<4)&&9999==u||!r&&t>3&&4999==u):s=((r||t<4)&&u+1==o||!r&&t>3&&u+1==o/2)&&(e[i+1]/o/1e3|0)==y(10,n-3)-1,s}function M(e,n,t){for(var r,i,o=[0],s=0,u=e.length;st-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/t|0,o[r]%=t)}return o.reverse()}E.absoluteValue=E.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),L(e)},E.ceil=function(){return L(new this.constructor(this),this.e+1,2)},E.clampedTo=E.clamp=function(e,n){var t=this,r=t.constructor;if(e=new r(e),n=new r(n),!e.s||!n.s)return new r(NaN);if(e.gt(n))throw Error(h+n);return t.cmp(e)<0?e:t.cmp(n)>0?n:new r(t)},E.comparedTo=E.cmp=function(e){var n,t,r,i,o=this,s=o.d,u=(e=new o.constructor(e)).d,a=o.s,c=e.s;if(!s||!u)return a&&c?a!==c?a:s===u?0:!s^a<0?1:-1:NaN;if(!s[0]||!u[0])return s[0]?a:u[0]?-c:0;if(a!==c)return a;if(o.e!==e.e)return o.e>e.e^a<0?1:-1;for(n=0,t=(r=s.length)<(i=u.length)?r:i;nu[n]^a<0?1:-1;return r===i?0:r>i^a<0?1:-1},E.cosine=E.cos=function(){var e,n,t=this,r=t.constructor;return t.d?t.d[0]?(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r,i;if(n.isZero())return n;r=n.d.length,r<32?i=(1/z(4,t=Math.ceil(r/3))).toString():(t=16,i="2.3283064365386962890625e-10");e.precision+=t,n=Y(e,1,n.times(i),new e(1));for(var o=t;o--;){var s=n.times(n);n=s.times(s).minus(s).times(8).plus(1)}return e.precision-=t,n}(r,$(r,t)),r.precision=e,r.rounding=n,L(2==o||3==o?t.neg():t,e,n,!0)):new r(1):new r(NaN)},E.cubeRoot=E.cbrt=function(){var e,n,t,r,i,o,s,u,a,c,f=this,l=f.constructor;if(!f.isFinite()||f.isZero())return new l(f);for(d=!1,(o=f.s*y(f.s*f,1/3))&&Math.abs(o)!=1/0?r=new l(o.toString()):(t=S(f.d),(o=((e=f.e)-t.length+1)%3)&&(t+=1==o||-2==o?"0":"00"),o=y(t,1/3),e=v((e+1)/3)-(e%3==(e<0?-1:2)),(r=new l(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)).s=f.s),s=(e=l.precision)+3;;)if(c=(a=(u=r).times(u).times(u)).plus(f),r=T(c.plus(f).times(u),c.plus(a),s+2,1),S(u.d).slice(0,s)===(t=S(r.d)).slice(0,s)){if("9999"!=(t=t.slice(s-3,s+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(L(r,e+1,1),n=!r.times(r).times(r).eq(f));break}if(!i&&(L(u,e+1,0),u.times(u).times(u).eq(f))){r=u;break}s+=4,i=1}return d=!0,L(r,e,l.rounding,n)},E.decimalPlaces=E.dp=function(){var e,n=this.d,t=NaN;if(n){if(t=7*((e=n.length-1)-v(this.e/7)),e=n[e])for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t},E.dividedBy=E.div=function(e){return T(this,new this.constructor(e))},E.dividedToIntegerBy=E.divToInt=function(e){var n=this.constructor;return L(T(this,new n(e),0,1,1),n.precision,n.rounding)},E.equals=E.eq=function(e){return 0===this.cmp(e)},E.floor=function(){return L(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 n=this.cmp(e);return 1==n||0===n},E.hyperbolicCosine=E.cosh=function(){var e,n,t,r,i,o=this,s=o.constructor,u=new s(1);if(!o.isFinite())return new s(o.s?1/0:NaN);if(o.isZero())return u;t=s.precision,r=s.rounding,s.precision=t+Math.max(o.e,o.sd())+4,s.rounding=1,(i=o.d.length)<32?n=(1/z(4,e=Math.ceil(i/3))).toString():(e=16,n="2.3283064365386962890625e-10"),o=Y(s,1,o.times(n),new s(1),!0);for(var a,c=e,f=new s(8);c--;)a=o.times(o),o=u.minus(a.times(f.minus(a.times(f))));return L(o,s.precision=t,s.rounding=r,!0)},E.hyperbolicSine=E.sinh=function(){var e,n,t,r,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(n=o.precision,t=o.rounding,o.precision=n+Math.max(i.e,i.sd())+4,o.rounding=1,(r=i.d.length)<3)i=Y(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=Y(o,2,i=i.times(1/z(5,e)),i,!0);for(var s,u=new o(5),a=new o(16),c=new o(20);e--;)s=i.times(i),i=i.times(u.plus(s.times(a.times(s).plus(c))))}return o.precision=n,o.rounding=t,L(i,n,t,!0)},E.hyperbolicTangent=E.tanh=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+7,r.rounding=1,T(t.sinh(),t.cosh(),r.precision=e,r.rounding=n)):new r(t.s)},E.inverseCosine=E.acos=function(){var e,n=this,t=n.constructor,r=n.abs().cmp(1),i=t.precision,o=t.rounding;return-1!==r?0===r?n.isNeg()?k(t,i,o):new t(0):new t(NaN):n.isZero()?k(t,i+4,o).times(.5):(t.precision=i+6,t.rounding=1,n=n.asin(),e=k(t,i+4,o).times(.5),t.precision=i,t.rounding=o,e.minus(n))},E.inverseHyperbolicCosine=E.acosh=function(){var e,n,t=this,r=t.constructor;return t.lte(1)?new r(t.eq(1)?0:NaN):t.isFinite()?(e=r.precision,n=r.rounding,r.precision=e+Math.max(Math.abs(t.e),t.sd())+4,r.rounding=1,d=!1,t=t.times(t).minus(1).sqrt().plus(t),d=!0,r.precision=e,r.rounding=n,t.ln()):new r(t)},E.inverseHyperbolicSine=E.asinh=function(){var e,n,t=this,r=t.constructor;return!t.isFinite()||t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,r.rounding=1,d=!1,t=t.times(t).plus(1).sqrt().plus(t),d=!0,r.precision=e,r.rounding=n,t.ln())},E.inverseHyperbolicTangent=E.atanh=function(){var e,n,t,r,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,n=o.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?L(new o(i),e,n,!0):(o.precision=t=r-i.e,i=T(i.plus(1),new o(1).minus(i),t+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=n,i.times(.5))):new o(NaN)},E.inverseSine=E.asin=function(){var e,n,t,r,i=this,o=i.constructor;return i.isZero()?new o(i):(n=i.abs().cmp(1),t=o.precision,r=o.rounding,-1!==n?0===n?((e=k(o,t+4,r).times(.5)).s=i.s,e):new o(NaN):(o.precision=t+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=t,o.rounding=r,i.times(2)))},E.inverseTangent=E.atan=function(){var e,n,t,r,i,o,s,u,a,c=this,f=c.constructor,l=f.precision,m=f.rounding;if(c.isFinite()){if(c.isZero())return new f(c);if(c.abs().eq(1)&&l+4<=D)return(s=k(f,l+4,m).times(.25)).s=c.s,s}else{if(!c.s)return new f(NaN);if(l+4<=D)return(s=k(f,l+4,m).times(.5)).s=c.s,s}for(f.precision=u=l+10,f.rounding=1,e=t=Math.min(28,u/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(d=!1,n=Math.ceil(u/7),r=1,a=c.times(c),s=new f(c),i=c;-1!==e;)if(i=i.times(a),o=s.minus(i.div(r+=2)),i=i.times(a),void 0!==(s=o.plus(i.div(r+=2))).d[n])for(e=n;s.d[e]===o.d[e]&&e--;);return t&&(s=s.times(2<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 this.cmp(e)<0},E.lessThanOrEqualTo=E.lte=function(e){return this.cmp(e)<1},E.logarithm=E.log=function(e){var n,t,r,i,o,s,u,a,c=this,f=c.constructor,l=f.precision,m=f.rounding;if(null==e)e=new f(10),n=!0;else{if(t=(e=new f(e)).d,e.s<0||!t||!t[0]||e.eq(1))return new f(NaN);n=e.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new f(t&&!t[0]?-1/0:1!=c.s?NaN:t?0:1/0);if(n)if(t.length>1)o=!0;else{for(i=t[0];i%10==0;)i/=10;o=1!==i}if(d=!1,s=B(c,u=l+5),r=n?A(f,u+10):B(e,u),j((a=T(s,r,u,1)).d,i=l,m))do{if(s=B(c,u+=10),r=n?A(f,u+10):B(e,u),a=T(s,r,u,1),!o){+S(a.d).slice(i+1,i+15)+1==1e14&&(a=L(a,l+1,0));break}}while(j(a.d,i+=10,m));return d=!0,L(a,l,m)},E.minus=E.sub=function(e){var n,t,r,i,o,s,u,a,c,f,l,m,h=this,p=h.constructor;if(e=new p(e),!h.d||!e.d)return h.s&&e.s?h.d?e.s=-e.s:e=new p(e.d||h.s!==e.s?h:NaN):e=new p(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(c=h.d,m=e.d,u=p.precision,a=p.rounding,!c[0]||!m[0]){if(m[0])e.s=-e.s;else{if(!c[0])return new p(3===a?-0:0);e=new p(h)}return d?L(e,u,a):e}if(t=v(e.e/7),f=v(h.e/7),c=c.slice(),o=f-t){for((l=o<0)?(n=c,o=-o,s=m.length):(n=m,t=f,s=c.length),o>(r=Math.max(Math.ceil(u/7),s)+2)&&(o=r,n.length=1),n.reverse(),r=o;r--;)n.push(0);n.reverse()}else{for((l=(r=c.length)<(s=m.length))&&(s=r),r=0;r0;--r)c[s++]=0;for(r=m.length;r>o;){if(c[--r](s=(o=Math.ceil(u/7))>s?o+1:s+1)&&(i=s,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for((s=c.length)-(i=f.length)<0&&(i=s,t=f,f=c,c=t),n=0;i;)n=(c[--i]=c[i]+f[i]+n)/F|0,c[i]%=F;for(n&&(c.unshift(n),++r),s=c.length;0==c[--s];)c.pop();return e.d=c,e.e=R(c,r),d?L(e,u,a):e},E.precision=E.sd=function(e){var n,t=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(h+e);return t.d?(n=q(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n},E.round=function(){var e=this,n=e.constructor;return L(new n(e),e.e+1,n.rounding)},E.sine=E.sin=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+Math.max(t.e,t.sd())+7,r.rounding=1,t=function(e,n){var t,r=n.d.length;if(r<3)return n.isZero()?n:Y(e,2,n,n);t=(t=1.4*Math.sqrt(r))>16?16:0|t,n=n.times(1/z(5,t)),n=Y(e,2,n,n);for(var i,o=new e(5),s=new e(16),u=new e(20);t--;)i=n.times(n),n=n.times(o.plus(i.times(s.times(i).minus(u))));return n}(r,$(r,t)),r.precision=e,r.rounding=n,L(o>2?t.neg():t,e,n,!0)):new r(NaN)},E.squareRoot=E.sqrt=function(){var e,n,t,r,i,o,s=this,u=s.d,a=s.e,c=s.s,f=s.constructor;if(1!==c||!u||!u[0])return new f(!c||c<0&&(!u||u[0])?NaN:u?s:1/0);for(d=!1,0==(c=Math.sqrt(+s))||c==1/0?(((n=S(u)).length+a)%2==0&&(n+="0"),c=Math.sqrt(n),a=v((a+1)/2)-(a<0||a%2),r=new f(n=c==1/0?"5e"+a:(n=c.toExponential()).slice(0,n.indexOf("e")+1)+a)):r=new f(c.toString()),t=(a=f.precision)+3;;)if(r=(o=r).plus(T(s,o,t+2,1)).times(.5),S(o.d).slice(0,t)===(n=S(r.d)).slice(0,t)){if("9999"!=(n=n.slice(t-3,t+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(L(r,a+1,1),e=!r.times(r).eq(s));break}if(!i&&(L(o,a+1,0),o.times(o).eq(s))){r=o;break}t+=4,i=1}return d=!0,L(r,a,f.rounding,e)},E.tangent=E.tan=function(){var e,n,t=this,r=t.constructor;return t.isFinite()?t.isZero()?new r(t):(e=r.precision,n=r.rounding,r.precision=e+10,r.rounding=1,(t=t.sin()).s=1,t=T(t,new r(1).minus(t.times(t)).sqrt(),e+10,0),r.precision=e,r.rounding=n,L(2==o||4==o?t.neg():t,e,n,!0)):new r(NaN)},E.times=E.mul=function(e){var n,t,r,i,o,s,u,a,c,f=this,l=f.constructor,m=f.d,h=(e=new l(e)).d;if(e.s*=f.s,!(m&&m[0]&&h&&h[0]))return new l(!e.s||m&&!m[0]&&!h||h&&!h[0]&&!m?NaN:m&&h?0*e.s:e.s/0);for(t=v(f.e/7)+v(e.e/7),(a=m.length)<(c=h.length)&&(o=m,m=h,h=o,s=a,a=c,c=s),o=[],r=s=a+c;r--;)o.push(0);for(r=c;--r>=0;){for(n=0,i=a+r;i>r;)u=o[i]+h[r]*m[i-r-1]+n,o[i--]=u%F|0,n=u/F|0;o[i]=(o[i]+n)%F|0}for(;!o[--s];)o.pop();return n?++t:o.shift(),e.d=o,e.e=R(o,t),d?L(e,l.precision,l.rounding):e},E.toBinary=function(e,n){return J(this,2,e,n)},E.toDecimalPlaces=E.toDP=function(e,n){var t=this,r=t.constructor;return t=new r(t),void 0===e?t:(x(e,0,u),void 0===n?n=r.rounding:x(n,0,8),L(t,e+t.e+1,n))},E.toExponential=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=I(r,!0):(x(e,0,u),void 0===n?n=i.rounding:x(n,0,8),t=I(r=L(new i(r),e+1,n),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+t:t},E.toFixed=function(e,n){var t,r,i=this,o=i.constructor;return void 0===e?t=I(i):(x(e,0,u),void 0===n?n=o.rounding:x(n,0,8),t=I(r=L(new o(i),e+i.e+1,n),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t},E.toFraction=function(e){var n,t,r,i,o,s,u,a,c,f,l,m,p=this,g=p.d,w=p.constructor;if(!g)return new w(p);if(c=t=new w(1),r=a=new w(0),s=(o=(n=new w(r)).e=q(g)-p.e-1)%7,n.d[0]=y(10,s<0?7+s:s),null==e)e=o>0?n:c;else{if(!(u=new w(e)).isInt()||u.lt(c))throw Error(h+u);e=u.gt(n)?o>0?n:c:u}for(d=!1,u=new w(S(g)),f=w.precision,w.precision=o=7*g.length*2;l=T(u,n,0,1,1),1!=(i=t.plus(l.times(r))).cmp(e);)t=r,r=i,i=c,c=a.plus(l.times(i)),a=i,i=n,n=u.minus(l.times(i)),u=i;return i=T(e.minus(t),r,0,1,1),a=a.plus(i.times(c)),t=t.plus(i.times(r)),a.s=c.s=p.s,m=T(c,r,o,1).minus(p).abs().cmp(T(a,t,o,1).minus(p).abs())<1?[c,r]:[a,t],w.precision=f,d=!0,m},E.toHexadecimal=E.toHex=function(e,n){return J(this,16,e,n)},E.toNearest=function(e,n){var t=this,r=t.constructor;if(t=new r(t),null==e){if(!t.d)return t;e=new r(1),n=r.rounding}else{if(e=new r(e),void 0===n?n=r.rounding:x(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(d=!1,t=T(t,e,0,n,1).times(e),d=!0,L(t)):(e.s=t.s,t=e),t},E.toNumber=function(){return+this},E.toOctal=function(e,n){return J(this,8,e,n)},E.toPower=E.pow=function(e){var n,t,r,i,o,s,u=this,a=u.constructor,c=+(e=new a(e));if(!(u.d&&e.d&&u.d[0]&&e.d[0]))return new a(y(+u,c));if((u=new a(u)).eq(1))return u;if(r=a.precision,o=a.rounding,e.eq(1))return L(u,r,o);if((n=v(e.e/7))>=e.d.length-1&&(t=c<0?-c:c)<=9007199254740991)return i=Z(a,u,t,r),e.s<0?new a(1).div(i):L(i,r,o);if((s=u.s)<0){if(na.maxE+1||n0?s/0:0):(d=!1,a.rounding=u.s=1,t=Math.min(12,(n+"").length),(i=K(e.times(B(u,r+t)),r)).d&&j((i=L(i,r+5,1)).d,r,o)&&(n=r+10,+S((i=L(K(e.times(B(u,n+t)),n),n+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=L(i,r+1,0))),i.s=s,d=!0,a.rounding=o,L(i,r,o))},E.toPrecision=function(e,n){var t,r=this,i=r.constructor;return void 0===e?t=I(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(x(e,1,u),void 0===n?n=i.rounding:x(n,0,8),t=I(r=L(new i(r),e,n),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+t:t},E.toSignificantDigits=E.toSD=function(e,n){var t=this.constructor;return void 0===e?(e=t.precision,n=t.rounding):(x(e,1,u),void 0===n?n=t.rounding:x(n,0,8)),L(new t(this),e,n)},E.toString=function(){var e=this,n=e.constructor,t=I(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t},E.truncated=E.trunc=function(){return L(new this.constructor(this),this.e+1,1)},E.valueOf=E.toJSON=function(){var e=this,n=e.constructor,t=I(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};var T=function(){function e(e,n,t){var r,i=0,o=e.length;for(e=e.slice();o--;)r=e[o]*n+i,e[o]=r%t|0,i=r/t|0;return i&&e.unshift(i),e}function n(e,n,t,r){var i,o;if(t!=r)o=t>r?1:-1;else for(i=o=0;in[i]?1:-1;break}return o}function t(e,n,t,r){for(var i=0;t--;)e[t]-=i,i=e[t]1;)e.shift()}return function(i,o,s,u,a,c){var f,l,d,m,h,p,g,w,y,b,_,N,O,P,D,E,S,x,j,M,T=i.constructor,I=i.s==o.s?1:-1,R=i.d,A=o.d;if(!(R&&R[0]&&A&&A[0]))return new T(i.s&&o.s&&(R?!A||R[0]!=A[0]:A)?R&&0==R[0]||!A?0*I:I/0:NaN);for(c?(h=1,l=i.e-o.e):(c=F,h=7,l=v(i.e/h)-v(o.e/h)),j=A.length,S=R.length,b=(y=new T(I)).d=[],d=0;A[d]==(R[d]||0);d++);if(A[d]>(R[d]||0)&&l--,null==s?(P=s=T.precision,u=T.rounding):P=a?s+(i.e-o.e)+1:s,P<0)b.push(1),p=!0;else{if(P=P/h+2|0,d=0,1==j){for(m=0,A=A[0],P++;(d1&&(A=e(A,m,c),R=e(R,m,c),j=A.length,S=R.length),E=j,N=(_=R.slice(0,j)).length;N=c/2&&++x;do{m=0,(f=n(A,_,j,N))<0?(O=_[0],j!=N&&(O=O*c+(_[1]||0)),(m=O/x|0)>1?(m>=c&&(m=c-1),1==(f=n(g=e(A,m,c),_,w=g.length,N=_.length))&&(m--,t(g,j=10;m/=10)d++;y.e=d+l*h-1,L(y,a?s+y.e+1:s,u,p)}return y}}();function L(e,n,t,r){var i,o,s,u,a,c,f,l,m,h=e.constructor;e:if(null!=n){if(!(l=e.d))return e;for(i=1,u=l[0];u>=10;u/=10)i++;if((o=n-i)<0)o+=7,s=n,a=(f=l[m=0])/y(10,i-s-1)%10|0;else if((m=Math.ceil((o+1)/7))>=(u=l.length)){if(!r)break e;for(;u++<=m;)l.push(0);f=a=0,i=1,s=(o%=7)-7+1}else{for(f=u=l[m],i=1;u>=10;u/=10)i++;a=(s=(o%=7)-7+i)<0?0:f/y(10,i-s-1)%10|0}if(r=r||n<0||void 0!==l[m+1]||(s<0?f:f%y(10,i-s-1)),c=t<4?(a||r)&&(0==t||t==(e.s<0?3:2)):a>5||5==a&&(4==t||r||6==t&&(o>0?s>0?f/y(10,i-s):0:l[m-1])%10&1||t==(e.s<0?8:7)),n<1||!l[0])return l.length=0,c?(n-=e.e+1,l[0]=y(10,(7-n%7)%7),e.e=-n||0):l[0]=e.e=0,e;if(0==o?(l.length=m,u=1,m--):(l.length=m+1,u=y(10,7-o),l[m]=s>0?(f/y(10,i-s)%y(10,s)|0)*u:0),c)for(;;){if(0==m){for(o=1,s=l[0];s>=10;s/=10)o++;for(s=l[0]+=u,u=1;s>=10;s/=10)u++;o!=u&&(e.e++,l[0]==F&&(l[0]=1));break}if(l[m]+=u,l[m]!=F)break;l[m--]=0,u=1}for(o=l.length;0===l[--o];)l.pop()}return d&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e0?o=o.charAt(0)+"."+o.slice(1)+C(r):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+C(-i-1)+o,t&&(r=t-s)>0&&(o+=C(r))):i>=s?(o+=C(i+1-s),t&&(r=t-i-1)>0&&(o=o+"."+C(r))):((r=i+1)0&&(i+1===s&&(o+="."),o+=C(r))),o}function R(e,n){var t=e[0];for(n*=7;t>=10;t/=10)n++;return n}function A(e,n,t){if(n>P)throw d=!0,t&&(e.precision=t),Error(p);return L(new e(c),n,1,!0)}function k(e,n,t){if(n>D)throw Error(p);return L(new e(f),n,t,!0)}function q(e){var n=e.length-1,t=7*n+1;if(n=e[n]){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function C(e){for(var n="";e--;)n+="0";return n}function Z(e,n,t,r){var i,o=new e(1),s=Math.ceil(r/7+4);for(d=!1;;){if(t%2&&X((o=o.times(n)).d,s)&&(i=!0),0===(t=v(t/2))){t=o.d.length-1,i&&0===o.d[t]&&++o.d[t];break}X((n=n.times(n)).d,s)}return d=!0,o}function U(e){return 1&e.d[e.d.length-1]}function H(e,n,t){for(var r,i=new e(n[0]),o=0;++o17)return new m(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==n?(d=!1,a=p):a=n,u=new m(.03125);e.e>-2;)e=e.times(u),l+=5;for(a+=r=Math.log(y(2,l))/Math.LN10*2+5|0,t=o=s=new m(1),m.precision=a;;){if(o=L(o.times(e),a,1),t=t.times(++f),S((u=s.plus(T(o,t,a,1))).d).slice(0,a)===S(s.d).slice(0,a)){for(i=l;i--;)s=L(s.times(s),a,1);if(null!=n)return m.precision=p,s;if(!(c<3&&j(s.d,a-r,h,c)))return L(s,m.precision=p,h,d=!0);m.precision=a+=10,t=o=u=new m(1),f=0,c++}s=u}}function B(e,n){var t,r,i,o,s,u,a,c,f,l,m,h=1,p=e,g=p.d,w=p.constructor,v=w.rounding,y=w.precision;if(p.s<0||!g||!g[0]||!p.e&&1==g[0]&&1==g.length)return new w(g&&!g[0]?-1/0:1!=p.s?NaN:g?0:p);if(null==n?(d=!1,f=y):f=n,w.precision=f+=10,r=(t=S(g)).charAt(0),!(Math.abs(o=p.e)<15e14))return c=A(w,f+2,y).times(o+""),p=B(new w(r+"."+t.slice(1)),f-10).plus(c),w.precision=y,null==n?L(p,y,v,d=!0):p;for(;r<7&&1!=r||1==r&&t.charAt(1)>3;)r=(t=S((p=p.times(e)).d)).charAt(0),h++;for(o=p.e,r>1?(p=new w("0."+t),o++):p=new w(r+"."+t.slice(1)),l=p,a=s=p=T(p.minus(1),p.plus(1),f,1),m=L(p.times(p),f,1),i=3;;){if(s=L(s.times(m),f,1),S((c=a.plus(T(s,new w(i),f,1))).d).slice(0,f)===S(a.d).slice(0,f)){if(a=a.times(2),0!==o&&(a=a.plus(A(w,f+2,y).times(o+""))),a=T(a,new w(h),f,1),null!=n)return w.precision=y,a;if(!j(a.d,f-10,v,u))return L(a,w.precision=y,v,d=!0);w.precision=f+=10,c=s=p=T(l.minus(1),l.plus(1),f,1),m=L(p.times(p),f,1),i=u=1}a=c,i+=2}}function G(e){return String(e.s*e.s/0)}function V(e,n){var t,r,i;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(t<0&&(t=r),t+=+n.slice(r+1),n=n.substring(0,r)):t<0&&(t=n.length),r=0;48===n.charCodeAt(r);r++);for(i=n.length;48===n.charCodeAt(i-1);--i);if(n=n.slice(r,i)){if(i-=r,e.e=t=t-r-1,e.d=[],r=(t+1)%7,t<0&&(r+=7),re.constructor.maxE?(e.d=null,e.e=NaN):e.e-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),O.test(n))return V(e,n)}else if("Infinity"===n||"NaN"===n)return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(_.test(n))r=16,n=n.toLowerCase();else if(b.test(n))r=2;else{if(!N.test(n))throw Error(h+n);r=8}for((s=n.search(/p/i))>0?(c=+n.slice(s+1),n=n.substring(2,s)):n=n.slice(2),u=(s=n.indexOf("."))>=0,i=e.constructor,u&&(s=(a=(n=n.replace(".","")).length)-s,o=Z(i,new i(r),s,2*s)),s=l=(f=M(n,r,F)).length-1;0===f[s];--s)f.pop();return s<0?new i(0*e.s):(e.e=R(f,l),e.d=f,d=!1,u&&(e=T(e,o,4*a)),c&&(e=e.times(Math.abs(c)<54?y(2,c):t.pow(2,c))),d=!0,e)}function Y(e,n,t,r,i){var o,s,u,a,c=e.precision,f=Math.ceil(c/7);for(d=!1,a=t.times(t),u=new e(r);;){if(s=T(u.times(a),new e(n++*n++),c,1),u=i?r.plus(s):r.minus(s),r=T(s.times(a),new e(n++*n++),c,1),void 0!==(s=u.plus(r)).d[f]){for(o=f;s.d[o]===u.d[o]&&o--;);if(-1==o)break}o=u,u=r,r=s,s=o}return d=!0,s.d.length=f+1,s}function z(e,n){for(var t=e;--n;)t*=e;return t}function $(e,n){var t,r=n.s<0,i=k(e,e.precision,1),s=i.times(.5);if((n=n.abs()).lte(s))return o=r?4:1,n;if((t=n.divToInt(i)).isZero())o=r?3:2;else{if((n=n.minus(t.times(i))).lte(s))return o=U(t)?r?2:3:r?4:1,n;o=U(t)?r?1:4:r?3:2}return n.minus(i).abs()}function J(e,n,t,i){var o,s,c,f,l,d,m,h,p,g=e.constructor,w=void 0!==t;if(w?(x(t,1,u),void 0===i?i=g.rounding:x(i,0,8)):(t=g.precision,i=g.rounding),e.isFinite()){for(w?(o=2,16==n?t=4*t-3:8==n&&(t=3*t-2)):o=n,(c=(m=I(e)).indexOf("."))>=0&&(m=m.replace(".",""),(p=new g(1)).e=m.length-c,p.d=M(I(p),10,o),p.e=p.d.length),s=l=(h=M(m,10,o)).length;0==h[--l];)h.pop();if(h[0]){if(c<0?s--:((e=new g(e)).d=h,e.e=s,h=(e=T(e,p,t,i,0,o)).d,s=e.e,d=r),c=h[t],f=o/2,d=d||void 0!==h[t+1],d=i<4?(void 0!==c||d)&&(0===i||i===(e.s<0?3:2)):c>f||c===f&&(4===i||d||6===i&&1&h[t-1]||i===(e.s<0?8:7)),h.length=t,d)for(;++h[--t]>o-1;)h[t]=0,t||(++s,h.unshift(1));for(l=h.length;!h[l-1];--l);for(c=0,m="";c1)if(16==n||8==n){for(c=16==n?4:3,--l;l%c;l++)m+="0";for(l=(h=M(m,o,n)).length;!h[l-1];--l);for(c=1,m="1.";cl)for(s-=l;s--;)m+="0";else sn)return e.length=n,!0}function Q(e){return new this(e).abs()}function ee(e){return new this(e).acos()}function ne(e){return new this(e).acosh()}function te(e,n){return new this(e).plus(n)}function re(e){return new this(e).asin()}function ie(e){return new this(e).asinh()}function oe(e){return new this(e).atan()}function se(e){return new this(e).atanh()}function ue(e,n){e=new this(e),n=new this(n);var t,r=this.precision,i=this.rounding,o=r+4;return e.s&&n.s?e.d||n.d?!n.d||e.isZero()?(t=n.s<0?k(this,r,i):new this(0)).s=e.s:!e.d||n.isZero()?(t=k(this,o,1).times(.5)).s=e.s:n.s<0?(this.precision=o,this.rounding=1,t=this.atan(T(e,n,o,1)),n=k(this,o,1),this.precision=r,this.rounding=i,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan(T(e,n,o,1)):(t=k(this,o,1).times(n.s>0?.25:.75)).s=e.s:t=new this(NaN),t}function ae(e){return new this(e).cbrt()}function ce(e){return L(e=new this(e),e.e+1,2)}function fe(e,n,t){return new this(e).clamp(n,t)}function le(e){if(!e||"object"!=typeof e)throw Error(m+"Object expected");var n,t,r,i=!0===e.defaults,o=["precision",1,u,"rounding",0,8,"toExpNeg",-s,0,"toExpPos",0,s,"maxE",0,s,"minE",-s,0,"modulo",0,9];for(n=0;n=o[n+1]&&r<=o[n+2]))throw Error(h+t+": "+r);this[t]=r}if(t="crypto",i&&(this[t]=l[t]),void 0!==(r=e[t])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(h+t+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(g);this[t]=!0}else this[t]=!1}return this}function de(e){return new this(e).cos()}function me(e){return new this(e).cosh()}function he(e,n){return new this(e).div(n)}function pe(e){return new this(e).exp()}function ge(e){return L(e=new this(e),e.e+1,3)}function we(){var e,n,t=new this(0);for(d=!1,e=0;e=429e7?n[o]=crypto.getRandomValues(new Uint32Array(1))[0]:a[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error(g);for(n=crypto.randomBytes(r*=4);o=214e7?crypto.randomBytes(4).copy(n,o):(a.push(i%1e7),o+=4);o=r/4}else for(;o=10;i/=10)r++;r<7&&(t-=7-r)}return s.e=t,s.d=a,s}function xe(e){return L(e=new this(e),e.e+1,this.rounding)}function je(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Me(e){return new this(e).sin()}function Te(e){return new this(e).sinh()}function Le(e){return new this(e).sqrt()}function Ie(e,n){return new this(e).sub(n)}function Re(){var e=0,n=arguments,t=new this(n[e]);for(d=!1;t.s&&++eo.maxE?(i.e=NaN,i.d=null):e.e=10;t/=10)n++;return void(d?n>o.maxE?(i.e=NaN,i.d=null):n=0;u--)(i=e[u])&&(s=(o<3?i(s):o>3?i(n,t,s):i(n,t))||s);return o>3&&s&&Object.defineProperty(n,t,s),s}function a(e,n){return function(t,r){n(t,r,e)}}function c(e,n,t,r,i,o){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var u,a=r.kind,c="getter"===a?"get":"setter"===a?"set":"value",f=!n&&e?r.static?e:e.prototype:null,l=n||(f?Object.getOwnPropertyDescriptor(f,r.name):{}),d=!1,m=t.length-1;m>=0;m--){var h={};for(var p in r)h[p]="access"===p?{}:r[p];for(var p in r.access)h.access[p]=r.access[p];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(e||null))};var g=(0,t[m])("accessor"===a?{get:l.get,set:l.set}:l[c],h);if("accessor"===a){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(u=s(g.get))&&(l.get=u),(u=s(g.set))&&(l.set=u),(u=s(g.init))&&i.unshift(u)}else(u=s(g))&&("field"===a?i.unshift(u):l[c]=u)}f&&Object.defineProperty(f,r.name,l),d=!0}function f(e,n,t){for(var r=arguments.length>2,i=0;i0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,i,o=t.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(i)throw i.error}}return s}function b(){for(var e=[],n=0;n1||u(e,n)}))},n&&(r[e]=n(r[e])))}function u(e,n){try{(t=i[e](n)).value instanceof O?Promise.resolve(t.value.v).then(a,c):f(o[0][2],t)}catch(e){f(o[0][3],e)}var t}function a(e){u("next",e)}function c(e){u("throw",e)}function f(e,n){e(n),o.shift(),o.length&&u(o[0][0],o[0][1])}}function P(e){var n,t;return n={},r("next"),r("throw",(function(e){throw e})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,i){n[r]=e[r]?function(n){return(t=!t)?{value:O(e[r](n)),done:!1}:i?i(n):n}:i}}function D(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=v(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise((function(r,i){(function(e,n,t,r){Promise.resolve(r).then((function(n){e({value:n,done:t})}),n)})(r,i,(n=e[t](n)).done,n.value)}))}}}function E(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}var S=Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n},x=function(e){return x=Object.getOwnPropertyNames||function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[n.length]=t);return n},x(e)};function j(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t=x(e),r=0;r