(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8132],{Wgwc:function(e){var n,r,s,o,a,u,c,f,m,_,p,g,Y,v,w,S,L,b,H,x,T;e.exports=(n="millisecond",r="second",s="minute",o="hour",a="week",u="month",c="quarter",f="year",m="date",_="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Y=function(e,n,r){var s=String(e);return!s||s.length>=n?e:""+Array(n+1-s.length).join(r)+e},(w={})[v="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var n=["th","st","nd","rd"],r=e%100;return"["+e+(n[(r-20)%10]||n[r]||"th")+"]"}},S=function(e){return e instanceof x},L=function t(e,n,r){var s;if(!e)return v;if("string"==typeof e){var o=e.toLowerCase();w[o]&&(s=o),n&&(w[o]=n,s=o);var a=e.split("-");if(!s&&a.length>1)return t(a[0])}else{var u=e.name;w[u]=e,s=u}return!r&&s&&(v=s),s||!r&&v},b=function(e,n){if(S(e))return e.clone();var r="object"==typeof n?n:{};return r.date=e,r.args=arguments,new x(r)},(H={s:Y,z:function(e){var n=-e.utcOffset(),r=Math.abs(n);return(n<=0?"+":"-")+Y(Math.floor(r/60),2,"0")+":"+Y(r%60,2,"0")},m:function t(e,n){if(e.date()68?1900:2e3)},f=function(e){return function(n){this[e]=+n}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var n=e.match(/([+-]|\d\d)/g),r=60*n[1]+(+n[2]||0);return 0===r?0:"+"===n[0]?-r:r}(e)}],_=function(e){var n=u[e];return n&&(n.indexOf?n:n.s.concat(n.f))},p=function(e,n){var r,s=u.meridiem;if(s){for(var o=1;o<=24;o+=1)if(e.indexOf(s(o,0,n))>-1){r=o>12;break}}else r=e===(n?"pm":"PM");return r},g={A:[a,function(e){this.afternoon=p(e,!1)}],a:[a,function(e){this.afternoon=p(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[s,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,f("seconds")],ss:[o,f("seconds")],m:[o,f("minutes")],mm:[o,f("minutes")],H:[o,f("hours")],h:[o,f("hours")],HH:[o,f("hours")],hh:[o,f("hours")],D:[o,f("day")],DD:[s,f("day")],Do:[a,function(e){var n=u.ordinal,r=e.match(/\d+/);if(this.day=r[0],n)for(var s=1;s<=31;s+=1)n(s).replace(/\[|\]/g,"")===e&&(this.day=s)}],M:[o,f("month")],MM:[s,f("month")],MMM:[a,function(e){var n=_("months"),r=(_("monthsShort")||n.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(r<1)throw Error();this.month=r%12||r}],MMMM:[a,function(e){var n=_("months").indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],Y:[/[+-]?\d+/,f("year")],YY:[s,function(e){this.year=c(e)}],YYYY:[/\d{4}/,f("year")],Z:m,ZZ:m},function(e,s,o){o.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(c=e.parseTwoDigitYear);var a=s.prototype,f=a.parse;a.parse=function(e){var s=e.date,a=e.utc,c=e.args;this.$u=a;var m=c[1];if("string"==typeof m){var _=!0===c[2],p=!0===c[3],Y=c[2];p&&(Y=c[2]),u=this.$locale(),!_&&Y&&(u=o.Ls[Y]),this.$d=function(e,s,o){try{if(["x","X"].indexOf(s)>-1)return new Date(("X"===s?1e3:1)*e);var a=(function(e){var s,o;s=e,o=u&&u.formats;for(var a=(e=s.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,r,s){var a=s&&s.toUpperCase();return r||o[s]||n[s]||o[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,n,r){return n||r.slice(1)})})).match(r),c=a.length,f=0;f0?f-1:S.getMonth());var x=_||0,T=p||0,O=Y||0,k=v||0;return w?new Date(Date.UTC(b,H,L,x,T,O,k+60*w.offset*1e3)):o?new Date(Date.UTC(b,H,L,x,T,O,k)):new Date(b,H,L,x,T,O,k)}catch(e){return new Date("")}}(s,m,a),this.init(),Y&&!0!==Y&&(this.$L=this.locale(Y).$L),(_||p)&&s!=this.format(m)&&(this.$d=new Date("")),u={}}else if(m instanceof Array)for(var v=m.length,w=1;w<=v;w+=1){c[1]=m[w-1];var S=o.apply(this,c);if(S.isValid()){this.$d=S.$d,this.$L=S.$L,this.init();break}w===v&&(this.$d=new Date(""))}else f.call(this,e)}})},"13Ln":function(e){var n,r,s,o,a,u,c,f,m,_,p,g,Y;e.exports=(s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,a={years:31536e6,months:2592e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},u=function(e){return e instanceof g},c=function(e,n,r){return new g(e,r,n.$l)},f=function(e){return r.p(e)+"s"},m=function(e){return e<0},_=function(e){return m(e)?Math.ceil(e):Math.floor(e)},p=function(e,n){return e?m(e)?{negative:!0,format:""+Math.abs(e)+n}:{negative:!1,format:""+e+n}:{negative:!1,format:""}},g=function(){function l(e,n,r){var s=this;if(this.$d={},this.$l=r,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),n)return c(e*a[f(n)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(n){s.$d[f(n)]=e[n]}),this.calMilliseconds(),this;if("string"==typeof e){var u=e.match(o);if(u){var m=u.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=m[0],this.$d.months=m[1],this.$d.weeks=m[2],this.$d.days=m[3],this.$d.hours=m[4],this.$d.minutes=m[5],this.$d.seconds=m[6],this.calMilliseconds(),this}}return this}var e=l.prototype;return e.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(n,r){return n+(e.$d[r]||0)*a[r]},0)},e.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=_(e/31536e6),e%=31536e6,this.$d.months=_(e/2592e6),e%=2592e6,this.$d.days=_(e/864e5),e%=864e5,this.$d.hours=_(e/36e5),e%=36e5,this.$d.minutes=_(e/6e4),e%=6e4,this.$d.seconds=_(e/1e3),e%=1e3,this.$d.milliseconds=e},e.toISOString=function(){var e=p(this.$d.years,"Y"),n=p(this.$d.months,"M"),r=+this.$d.days||0;this.$d.weeks&&(r+=7*this.$d.weeks);var s=p(r,"D"),o=p(this.$d.hours,"H"),a=p(this.$d.minutes,"M"),u=this.$d.seconds||0;this.$d.milliseconds&&(u+=this.$d.milliseconds/1e3);var c=p(u,"S"),f=e.negative||n.negative||s.negative||o.negative||a.negative||c.negative,m=o.format||a.format||c.format?"T":"",_=(f?"-":"")+"P"+e.format+n.format+s.format+m+o.format+a.format+c.format;return"P"===_||"-P"===_?"P0D":_},e.toJSON=function(){return this.toISOString()},e.format=function(e){var n={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return(e||"YYYY-MM-DDTHH:mm:ss").replace(s,function(e,r){return r||String(n[e])})},e.as=function(e){return this.$ms/a[f(e)]},e.get=function(e){var n=this.$ms,r=f(e);return"milliseconds"===r?n%=1e3:n="weeks"===r?_(n/a[r]):this.$d[r],0===n?0:n},e.add=function(e,n,r){var s;return s=n?e*a[f(n)]:u(e)?e.$ms:c(e,this).$ms,c(this.$ms+s*(r?-1:1),this)},e.subtract=function(e,n){return this.add(e,n,!0)},e.locale=function(e){var n=this.clone();return n.$l=e,n},e.clone=function(){return c(this.$ms,this)},e.humanize=function(e){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},e.valueOf=function(){return this.asMilliseconds()},e.milliseconds=function(){return this.get("milliseconds")},e.asMilliseconds=function(){return this.as("milliseconds")},e.seconds=function(){return this.get("seconds")},e.asSeconds=function(){return this.as("seconds")},e.minutes=function(){return this.get("minutes")},e.asMinutes=function(){return this.as("minutes")},e.hours=function(){return this.get("hours")},e.asHours=function(){return this.as("hours")},e.days=function(){return this.get("days")},e.asDays=function(){return this.as("days")},e.weeks=function(){return this.get("weeks")},e.asWeeks=function(){return this.as("weeks")},e.months=function(){return this.get("months")},e.asMonths=function(){return this.as("months")},e.years=function(){return this.get("years")},e.asYears=function(){return this.as("years")},l}(),Y=function(e,n,r){return e.add(n.years()*r,"y").add(n.months()*r,"M").add(n.days()*r,"d").add(n.hours()*r,"h").add(n.minutes()*r,"m").add(n.seconds()*r,"s").add(n.milliseconds()*r,"ms")},function(e,s,o){n=o,r=o().$utils(),o.duration=function(e,n){return c(e,{$l:o.locale()},n)},o.isDuration=u;var a=s.prototype.add,f=s.prototype.subtract;s.prototype.add=function(e,n){return u(e)?Y(this,e,1):a.bind(this)(e,n)},s.prototype.subtract=function(e,n){return u(e)?Y(this,e,-1):f.bind(this)(e,n)}})},"5Bip":function(e){e.exports=function(e,n,r){n.prototype.isBetween=function(e,n,s,o){var a=r(e),u=r(n),c="("===(o=o||"()")[0],f=")"===o[1];return(c?this.isAfter(a,s):!this.isBefore(a,s))&&(f?this.isBefore(u,s):!this.isAfter(u,s))||(c?this.isBefore(a,s):!this.isAfter(a,s))&&(f?this.isAfter(u,s):!this.isBefore(u,s))}}},"11iF":function(e){e.exports=function(e,n){n.prototype.isSameOrAfter=function(e,n){return this.isSame(e,n)||this.isAfter(e,n)}}},s3Wo:function(e){e.exports=function(e,n){n.prototype.isSameOrBefore=function(e,n){return this.isSame(e,n)||this.isBefore(e,n)}}},QgiU:function(e){e.exports=function(e,n,r){e=e||{};var s=n.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(e,n,r,o){return s.fromToBase(e,n,r,o)}r.en.relativeTime=o,s.fromToBase=function(n,s,a,u,c){for(var f,m,_,p=a.$locale().relativeTime||o,g=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],Y=g.length,v=0;v0,S<=w.r||!w.r){S<=1&&v>0&&(w=g[v-1]);var L=p[w.l];c&&(S=c(""+S)),m="string"==typeof L?L.replace("%d",S):L(S,s,w.l,_);break}}if(s)return m;var b=_?p.future:p.past;return"function"==typeof b?b(m):b.replace("%s",m)},s.to=function(e,n){return i(e,n,this,!0)},s.from=function(e,n){return i(e,n,this)};var d=function(e){return e.$u?r.utc():r()};s.toNow=function(e){return this.to(d(this),e)},s.fromNow=function(e){return this.from(d(this),e)}}},Ds8A:function(e){var n,r,s;e.exports=(n="minute",r=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g,function(e,o,a){var u=o.prototype;a.utc=function(e){var n={date:e,utc:!0,args:arguments};return new o(n)},u.utc=function(e){var r=a(this.toDate(),{locale:this.$L,utc:!0});return e?r.add(this.utcOffset(),n):r},u.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),c.call(this,e)};var f=u.init;u.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else f.call(this)};var m=u.utcOffset;u.utcOffset=function(e,o){var a=this.$utils().u;if(a(e))return this.$u?0:a(this.$offset)?m.call(this):this.$offset;if("string"==typeof e&&null===(e=function(e){void 0===e&&(e="");var n=e.match(r);if(!n)return null;var o=(""+n[0]).match(s)||["-",0,0],a=o[0],u=60*+o[1]+ +o[2];return 0===u?0:"+"===a?u:-u}(e)))return this;var u=16>=Math.abs(e)?60*e:e,c=this;if(o)return c.$offset=u,c.$u=0===e,c;if(0!==e){var f=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(c=this.local().add(u+f,n)).$offset=u,c.$x.$localOffset=f}else c=this.utc();return c};var _=u.format;u.format=function(e){var n=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return _.call(this,n)},u.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=u.diff;u.diff=function(e,n,r){if(e&&this.$u===e.$u)return g.call(this,e,n,r);var s=this.local(),o=a(e).local();return g.call(s,o,n,r)}})},haXk:function(e,n,r){var s;/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */!function(o){"use strict";var a,u={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,f="[DecimalError] ",m=f+"Invalid argument: ",_=f+"Exponent out of range: ",p=Math.floor,g=Math.pow,Y=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,v=p(1286742750677284.5),w={};function add(e,n){var r,s,o,a,u,f,m,_,p=e.constructor,g=p.precision;if(!e.s||!n.s)return n.s||(n=new p(e)),c?round(n,g):n;if(m=e.d,_=n.d,u=e.e,o=n.e,m=m.slice(),a=u-o){for(a<0?(s=m,a=-a,f=_.length):(s=_,o=u,f=m.length),a>(f=(u=Math.ceil(g/7))>f?u+1:f+1)&&(a=f,s.length=1),s.reverse();a--;)s.push(0);s.reverse()}for((f=m.length)-(a=_.length)<0&&(a=f,s=_,_=m,m=s),r=0;a;)r=(m[--a]=m[a]+_[a]+r)/1e7|0,m[a]%=1e7;for(r&&(m.unshift(r),++o),f=m.length;0==m[--f];)m.pop();return n.d=m,n.e=o,c?round(n,g):n}function checkInt32(e,n,r){if(e!==~~e||er)throw Error(m+e)}function digitsToString(e){var n,r,s,o=e.length-1,a="",u=e[0];if(o>0){for(a+=u,n=1;ne.e^this.s<0?1:-1;for(n=0,r=(s=this.d.length)<(o=e.d.length)?s:o;ne.d[n]^this.s<0?1:-1;return s===o?0:s>o^this.s<0?1:-1},w.decimalPlaces=w.dp=function(){var e=this.d.length-1,n=(e-this.e)*7;if(e=this.d[e])for(;e%10==0;e/=10)n--;return n<0?0:n},w.dividedBy=w.div=function(e){return S(this,new this.constructor(e))},w.dividedToIntegerBy=w.idiv=function(e){var n=this.constructor;return round(S(this,new n(e),0,1),n.precision)},w.equals=w.eq=function(e){return!this.cmp(e)},w.exponent=function(){return getBase10Exponent(this)},w.greaterThan=w.gt=function(e){return this.cmp(e)>0},w.greaterThanOrEqualTo=w.gte=function(e){return this.cmp(e)>=0},w.isInteger=w.isint=function(){return this.e>this.d.length-2},w.isNegative=w.isneg=function(){return this.s<0},w.isPositive=w.ispos=function(){return this.s>0},w.isZero=function(){return 0===this.s},w.lessThan=w.lt=function(e){return 0>this.cmp(e)},w.lessThanOrEqualTo=w.lte=function(e){return 1>this.cmp(e)},w.logarithm=w.log=function(e){var n,r=this.constructor,s=r.precision,o=s+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(a))throw Error(f+"NaN");if(this.s<1)throw Error(f+(this.s?"NaN":"-Infinity"));return this.eq(a)?new r(0):(c=!1,n=S(ln(this,o),ln(e,o),o),c=!0,round(n,s))},w.minus=w.sub=function(e){return e=new this.constructor(e),this.s==e.s?subtract(this,e):add(this,(e.s=-e.s,e))},w.modulo=w.mod=function(e){var n,r=this.constructor,s=r.precision;if(!(e=new r(e)).s)throw Error(f+"NaN");return this.s?(c=!1,n=S(this,e,0,1).times(e),c=!0,this.minus(n)):round(new r(this),s)},w.naturalExponential=w.exp=function(){return exp(this)},w.naturalLogarithm=w.ln=function(){return ln(this)},w.negated=w.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},w.plus=w.add=function(e){return e=new this.constructor(e),this.s==e.s?add(this,e):subtract(this,(e.s=-e.s,e))},w.precision=w.sd=function(e){var n,r,s;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(m+e);if(n=getBase10Exponent(this)+1,r=7*(s=this.d.length-1)+1,s=this.d[s]){for(;s%10==0;s/=10)r--;for(s=this.d[0];s>=10;s/=10)r++}return e&&n>r?n:r},w.squareRoot=w.sqrt=function(){var e,n,r,s,o,a,u,m=this.constructor;if(this.s<1){if(!this.s)return new m(0);throw Error(f+"NaN")}for(e=getBase10Exponent(this),c=!1,0==(o=Math.sqrt(+this))||o==1/0?(((n=digitsToString(this.d)).length+e)%2==0&&(n+="0"),o=Math.sqrt(n),e=p((e+1)/2)-(e<0||e%2),n=o==1/0?"5e"+e:(n=o.toExponential()).slice(0,n.indexOf("e")+1)+e,s=new m(n)):s=new m(o.toString()),o=u=(r=m.precision)+3;;)if(s=(a=s).plus(S(this,a,u+2)).times(.5),digitsToString(a.d).slice(0,u)===(n=digitsToString(s.d)).slice(0,u)){if(n=n.slice(u-3,u+1),o==u&&"4999"==n){if(round(a,r+1,0),a.times(a).eq(this)){s=a;break}}else if("9999"!=n)break;u+=4}return c=!0,round(s,r)},w.times=w.mul=function(e){var n,r,s,o,a,u,f,m,_,p=this.constructor,g=this.d,Y=(e=new p(e)).d;if(!this.s||!e.s)return new p(0);for(e.s*=this.s,r=this.e+e.e,(m=g.length)<(_=Y.length)&&(a=g,g=Y,Y=a,u=m,m=_,_=u),a=[],s=u=m+_;s--;)a.push(0);for(s=_;--s>=0;){for(n=0,o=m+s;o>s;)f=a[o]+Y[s]*g[o-s-1]+n,a[o--]=f%1e7|0,n=f/1e7|0;a[o]=(a[o]+n)%1e7|0}for(;!a[--u];)a.pop();return n?++r:a.shift(),e.d=a,e.e=r,c?round(e,p.precision):e},w.toDecimalPlaces=w.todp=function(e,n){var r=this,s=r.constructor;return(r=new s(r),void 0===e)?r:(checkInt32(e,0,1e9),void 0===n?n=s.rounding:checkInt32(n,0,8),round(r,e+getBase10Exponent(r)+1,n))},w.toExponential=function(e,n){var r,s=this,o=s.constructor;return void 0===e?r=toString(s,!0):(checkInt32(e,0,1e9),void 0===n?n=o.rounding:checkInt32(n,0,8),r=toString(s=round(new o(s),e+1,n),!0,e+1)),r},w.toFixed=function(e,n){var r,s,o=this.constructor;return void 0===e?toString(this):(checkInt32(e,0,1e9),void 0===n?n=o.rounding:checkInt32(n,0,8),r=toString((s=round(new o(this),e+getBase10Exponent(this)+1,n)).abs(),!1,e+getBase10Exponent(s)+1),this.isneg()&&!this.isZero()?"-"+r:r)},w.toInteger=w.toint=function(){var e=this.constructor;return round(new e(this),getBase10Exponent(this)+1,e.rounding)},w.toNumber=function(){return+this},w.toPower=w.pow=function(e){var n,r,s,o,u,m,_=this,g=_.constructor,Y=+(e=new g(e));if(!e.s)return new g(a);if(!(_=new g(_)).s){if(e.s<1)throw Error(f+"Infinity");return _}if(_.eq(a))return _;if(s=g.precision,e.eq(a))return round(_,s);if(m=(n=e.e)>=(r=e.d.length-1),u=_.s,m){if((r=Y<0?-Y:Y)<=9007199254740991){for(o=new g(a),n=Math.ceil(s/7+4),c=!1;r%2&&truncate((o=o.times(_)).d,n),0!==(r=p(r/2));)truncate((_=_.times(_)).d,n);return c=!0,e.s<0?new g(a).div(o):round(o,s)}}else if(u<0)throw Error(f+"NaN");return u=u<0&&1&e.d[Math.max(n,r)]?-1:1,_.s=1,c=!1,o=e.times(ln(_,s+12)),c=!0,(o=exp(o)).s=u,o},w.toPrecision=function(e,n){var r,s,o=this,a=o.constructor;return void 0===e?(r=getBase10Exponent(o),s=toString(o,r<=a.toExpNeg||r>=a.toExpPos)):(checkInt32(e,1,1e9),void 0===n?n=a.rounding:checkInt32(n,0,8),r=getBase10Exponent(o=round(new a(o),e,n)),s=toString(o,e<=r||r<=a.toExpNeg,e)),s},w.toSignificantDigits=w.tosd=function(e,n){var r=this.constructor;return void 0===e?(e=r.precision,n=r.rounding):(checkInt32(e,1,1e9),void 0===n?n=r.rounding:checkInt32(n,0,8)),round(new r(this),e,n)},w.toString=w.valueOf=w.val=w.toJSON=function(){var e=getBase10Exponent(this),n=this.constructor;return toString(this,e<=n.toExpNeg||e>=n.toExpPos)};var S=function(){function multiplyInteger(e,n){var r,s=0,o=e.length;for(e=e.slice();o--;)r=e[o]*n+s,e[o]=r%1e7|0,s=r/1e7|0;return s&&e.unshift(s),e}function compare(e,n,r,s){var o,a;if(r!=s)a=r>s?1:-1;else for(o=a=0;on[o]?1:-1;break}return a}function subtract(e,n,r){for(var s=0;r--;)e[r]-=s,s=e[r]1;)e.shift()}return function(e,n,r,s){var o,a,u,c,m,_,p,g,Y,v,w,S,L,b,H,x,T,O,k=e.constructor,E=e.s==n.s?1:-1,A=e.d,N=n.d;if(!e.s)return new k(e);if(!n.s)throw Error(f+"Division by zero");for(u=0,a=e.e-n.e,T=N.length,H=A.length,g=(p=new k(E)).d=[];N[u]==(A[u]||0);)++u;if(N[u]>(A[u]||0)&&--a,(S=null==r?r=k.precision:s?r+(getBase10Exponent(e)-getBase10Exponent(n))+1:r)<0)return new k(0);if(S=S/7+2|0,u=0,1==T)for(c=0,N=N[0],S++;(u1&&(N=multiplyInteger(N,c),A=multiplyInteger(A,c),T=N.length,H=A.length),b=T,v=(Y=A.slice(0,T)).length;v=1e7/2&&++x;do c=0,(o=compare(N,Y,T,v))<0?(w=Y[0],T!=v&&(w=1e7*w+(Y[1]||0)),(c=w/x|0)>1?(c>=1e7&&(c=1e7-1),_=(m=multiplyInteger(N,c)).length,v=Y.length,1==(o=compare(m,Y,_,v))&&(c--,subtract(m,T<_?O:N,_))):(0==c&&(o=c=1),m=N.slice()),(_=m.length)16)throw Error(_+getBase10Exponent(e));if(!e.s)return new Y(a);for(null==n?(c=!1,f=v):f=n,u=new Y(.03125);e.abs().gte(.1);)e=e.times(u),p+=5;for(f+=Math.log(g(2,p))/Math.LN10*2+5|0,r=s=o=new Y(a),Y.precision=f;;){if(s=round(s.times(e),f),r=r.times(++m),digitsToString((u=o.plus(S(s,r,f))).d).slice(0,f)===digitsToString(o.d).slice(0,f)){for(;p--;)o=round(o.times(o),f);return Y.precision=v,null==n?(c=!0,round(o,v)):o}o=u}}function getBase10Exponent(e){for(var n=7*e.e,r=e.d[0];r>=10;r/=10)n++;return n}function getLn10(e,n,r){if(n>e.LN10.sd())throw c=!0,r&&(e.precision=r),Error(f+"LN10 precision limit exceeded");return round(new e(e.LN10),n)}function getZeroString(e){for(var n="";e--;)n+="0";return n}function ln(e,n){var r,s,o,u,m,_,p,g,Y,v=1,w=e,L=w.d,b=w.constructor,H=b.precision;if(w.s<1)throw Error(f+(w.s?"NaN":"-Infinity"));if(w.eq(a))return new b(0);if(null==n?(c=!1,g=H):g=n,w.eq(10))return null==n&&(c=!0),getLn10(b,g);if(g+=10,b.precision=g,s=(r=digitsToString(L)).charAt(0),!(15e14>Math.abs(u=getBase10Exponent(w))))return p=getLn10(b,g+2,H).times(u+""),w=ln(new b(s+"."+r.slice(1)),g-10).plus(p),b.precision=H,null==n?(c=!0,round(w,H)):w;for(;s<7&&1!=s||1==s&&r.charAt(1)>3;)s=(r=digitsToString((w=w.times(e)).d)).charAt(0),v++;for(u=getBase10Exponent(w),s>1?(w=new b("0."+r),u++):w=new b(s+"."+r.slice(1)),_=m=w=S(w.minus(a),w.plus(a),g),Y=round(w.times(w),g),o=3;;){if(m=round(m.times(Y),g),digitsToString((p=_.plus(S(m,new b(o),g))).d).slice(0,g)===digitsToString(_.d).slice(0,g))return _=_.times(2),0!==u&&(_=_.plus(getLn10(b,g+2,H).times(u+""))),_=S(_,new b(v),g),b.precision=H,null==n?(c=!0,round(_,H)):_;_=p,o+=2}}function parseDecimal(e,n){var r,s,o;for((r=n.indexOf("."))>-1&&(n=n.replace(".","")),(s=n.search(/e/i))>0?(r<0&&(r=s),r+=+n.slice(s+1),n=n.substring(0,s)):r<0&&(r=n.length),s=0;48===n.charCodeAt(s);)++s;for(o=n.length;48===n.charCodeAt(o-1);)--o;if(n=n.slice(s,o)){if(o-=s,r=r-s-1,e.e=p(r/7),e.d=[],s=(r+1)%7,r<0&&(s+=7),sv||e.e<-v))throw Error(_+r)}else e.s=0,e.e=0,e.d=[0];return e}function round(e,n,r){var s,o,a,u,f,m,Y,w,S=e.d;for(u=1,a=S[0];a>=10;a/=10)u++;if((s=n-u)<0)s+=7,o=n,Y=S[w=0];else{if((w=Math.ceil((s+1)/7))>=(a=S.length))return e;for(u=1,Y=a=S[w];a>=10;a/=10)u++;s%=7,o=s-7+u}if(void 0!==r&&(f=Y/(a=g(10,u-o-1))%10|0,m=n<0||void 0!==S[w+1]||Y%a,m=r<4?(f||m)&&(0==r||r==(e.s<0?3:2)):f>5||5==f&&(4==r||m||6==r&&(s>0?o>0?Y/g(10,u-o):0:S[w-1])%10&1||r==(e.s<0?8:7))),n<1||!S[0])return m?(a=getBase10Exponent(e),S.length=1,n=n-a-1,S[0]=g(10,(7-n%7)%7),e.e=p(-n/7)||0):(S.length=1,S[0]=e.e=e.s=0),e;if(0==s?(S.length=w,a=1,w--):(S.length=w+1,a=g(10,7-s),S[w]=o>0?(Y/g(10,u-o)%g(10,o)|0)*a:0),m)for(;;){if(0==w){1e7==(S[0]+=a)&&(S[0]=1,++e.e);break}if(S[w]+=a,1e7!=S[w])break;S[w--]=0,a=1}for(s=S.length;0===S[--s];)S.pop();if(c&&(e.e>v||e.e<-v))throw Error(_+getBase10Exponent(e));return e}function subtract(e,n){var r,s,o,a,u,f,m,_,p,g,Y=e.constructor,v=Y.precision;if(!e.s||!n.s)return n.s?n.s=-n.s:n=new Y(e),c?round(n,v):n;if(m=e.d,g=n.d,s=n.e,_=e.e,m=m.slice(),u=_-s){for((p=u<0)?(r=m,u=-u,f=g.length):(r=g,s=_,f=m.length),u>(o=Math.max(Math.ceil(v/7),f)+2)&&(u=o,r.length=1),r.reverse(),o=u;o--;)r.push(0);r.reverse()}else{for((p=(o=m.length)<(f=g.length))&&(f=o),o=0;o0;--o)m[f++]=0;for(o=g.length;o>u;){if(m[--o]0?a=a.charAt(0)+"."+a.slice(1)+getZeroString(s):u>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(o<0?"e":"e+")+o):o<0?(a="0."+getZeroString(-o-1)+a,r&&(s=r-u)>0&&(a+=getZeroString(s))):o>=u?(a+=getZeroString(o+1-u),r&&(s=r-o-1)>0&&(a=a+"."+getZeroString(s))):((s=o+1)0&&(o+1===u&&(a+="."),a+=getZeroString(s))),e.s<0?"-"+a:a}function truncate(e,n){if(e.length>n)return e.length=n,!0}function config(e){if(!e||"object"!=typeof e)throw Error(f+"Object expected");var n,r,s,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(n=0;n=o[n+1]&&s<=o[n+2])this[r]=s;else throw Error(m+r+": "+s)}if(void 0!==(s=e[r="LN10"])){if(s==Math.LN10)this[r]=new this(s);else throw Error(m+r+": "+s)}return this}(u=function clone(e){var n,r,s;function Decimal(e){if(!(this instanceof Decimal))return new Decimal(e);if(this.constructor=Decimal,e instanceof Decimal){this.s=e.s,this.e=e.e,this.d=(e=e.d)?e.slice():e;return}if("number"==typeof e){if(0*e!=0)throw Error(m+e);if(e>0)this.s=1;else if(e<0)e=-e,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(e===~~e&&e<1e7){this.e=0,this.d=[e];return}return parseDecimal(this,e.toString())}if("string"!=typeof e)throw Error(m+e);if(45===e.charCodeAt(0)?(e=e.slice(1),this.s=-1):this.s=1,Y.test(e))parseDecimal(this,e);else throw Error(m+e)}if(Decimal.prototype=w,Decimal.ROUND_UP=0,Decimal.ROUND_DOWN=1,Decimal.ROUND_CEIL=2,Decimal.ROUND_FLOOR=3,Decimal.ROUND_HALF_UP=4,Decimal.ROUND_HALF_DOWN=5,Decimal.ROUND_HALF_EVEN=6,Decimal.ROUND_HALF_CEIL=7,Decimal.ROUND_HALF_FLOOR=8,Decimal.clone=clone,Decimal.config=Decimal.set=config,void 0===e&&(e={}),e)for(n=0,s=["precision","rounding","toExpNeg","toExpPos","LN10"];n