bt-tools
Version:
1 lines • 70.9 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BtTools=e():t.BtTools=e()}(self,function(){return(()=>{var r={99:(t,e,r)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,{default:()=>i});r(86);var e=r(3776),o=r.n(e);const i={isJsonStr:function(t){if("string"==typeof t)try{var e=JSON.parse(t);return"object"===n(e)&&e?!0:!1}catch(t){return!1}},plus:function(t,e){return new(o())(t).add(e).toNumber()},minus:function(t,e){return new(o())(t).sub(e).toNumber()},times:function(t,e){return new(o())(t).mul(e).toNumber()},div:function(t,e){return new(o())(t).div(e).toNumber()}}},1924:(t,e,r)=>{"use strict";var n=r(210),o=r(5559),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){e=n(t,!!e);return"function"==typeof e&&-1<i(t,".prototype.")?o(e):e}},5559:(t,e,r)=>{"use strict";var n=r(8612),r=r(210),o=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||n.call(i,o),u=r("%Object.getOwnPropertyDescriptor%",!0),a=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(a)try{a({},"a",{value:1})}catch(t){a=null}t.exports=function(t){var e=s(n,i,arguments);return u&&a&&u(e,"length").configurable&&a(e,"length",{value:1+c(0,t.length-(arguments.length-1))}),e};r=function(){return s(n,o,arguments)};a?a(t.exports,"apply",{value:r}):t.exports.apply=r},9670:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},1318:(t,e,r)=>{var a=r(5656),c=r(7466),f=r(1400),r=function(u){return function(t,e,r){var n,o=a(t),i=c(o.length),s=f(r,i);if(u&&e!=e){for(;s<i;)if((n=o[s++])!=n)return!0}else for(;s<i;s++)if((u||s in o)&&o[s]===e)return u||s||0;return!u&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n(function(){r.call(null,e||function(){throw 1},1)})}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9920:(t,e,r)=>{var u=r(6656),a=r(3887),c=r(1236),f=r(3070);t.exports=function(t,e){for(var r=a(e),n=f.f,o=c.f,i=0;i<r.length;i++){var s=r[i];u(t,s)||n(t,s,o(e,s))}}},4230:(t,e,r)=>{var i=r(4488),s=/"/g;t.exports=function(t,e,r,n){var o=String(i(t)),t="<"+e;return""!==r&&(t+=" "+r+'="'+String(n).replace(s,""")+'"'),t+">"+o+"</"+e+">"}},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9781:(t,e,r)=>{r=r(7293);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},317:(t,e,r)=>{var n=r(7854),r=r(111),o=n.document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var c=r(7854),f=r(1236).f,p=r(8880),l=r(1320),y=r(3505),d=r(9920),h=r(4705);t.exports=function(t,e){var r,n,o,i=t.target,s=t.global,u=t.stat,a=s?c:u?c[i]||y(i,{}):(c[i]||{}).prototype;if(a)for(r in e){if(n=e[r],o=t.noTargetGet?(o=f(a,r))&&o.value:a[r],!h(s?r:i+(u?".":"#")+r,t.forced)&&void 0!==o){if(typeof n==typeof o)continue;d(n,o)}(t.sham||o&&o.sham)&&p(n,"sham",!0),l(a,r,n,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},5005:(t,e,r)=>{function n(t){return"function"==typeof t?t:void 0}var o=r(857),i=r(7854);t.exports=function(t,e){return arguments.length<2?n(o[t])||n(i[t]):o[t]&&o[t][e]||i[t]&&i[t][e]}},7854:(t,e,r)=>{function n(t){return t&&t.Math==Math&&t}t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(t,e,r)=>{var n=r(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},3501:t=>{t.exports={}},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},8361:(t,e,r)=>{var n=r(7293),o=r(4326),i="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},2788:(t,e,r)=>{var r=r(5465),n=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return n.call(t)}),t.exports=r.inspectSource},9909:(t,e,r)=>{var n,o,i,s,u,a,c,f,p=r(8536),l=r(7854),y=r(111),d=r(8880),h=r(6656),g=r(5465),m=r(6200),r=r(3501),v="Object already initialized",l=l.WeakMap;c=p||g.state?(n=g.state||(g.state=new l),o=n.get,i=n.has,s=n.set,u=function(t,e){if(i.call(n,t))throw new TypeError(v);return e.facade=t,s.call(n,t,e),e},a=function(t){return o.call(n,t)||{}},function(t){return i.call(n,t)}):(r[f=m("state")]=!0,u=function(t,e){if(h(t,f))throw new TypeError(v);return e.facade=t,d(t,f,e),e},a=function(t){return h(t,f)?t[f]:{}},function(t){return h(t,f)}),t.exports={set:u,get:a,has:c,enforce:function(t){return c(t)?a(t):u(t,{})},getterFor:function(r){return function(t){var e;if(!y(t)||(e=a(t)).type!==r)throw TypeError("Incompatible receiver, "+r+" required");return e}}}},4705:(t,e,r)=>{var n=r(7293),o=/#|\.prototype\./,r=function(t,e){t=s[i(t)];return t==a||t!=u&&("function"==typeof e?n(e):!!e)},i=r.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=r.data={},u=r.NATIVE="N",a=r.POLYFILL="P";t.exports=r},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},8536:(t,e,r)=>{var n=r(7854),r=r(2788),n=n.WeakMap;t.exports="function"==typeof n&&/native code/.test(r(n))},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(9670),s=r(7593),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=s(e,!0),i(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(5296),i=r(9114),s=r(5656),u=r(7593),a=r(6656),c=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e,!0),c)try{return f(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},6324:(t,e,r)=>{var s=r(6656),u=r(5656),a=r(1318).indexOf,c=r(3501);t.exports=function(t,e){var r,n=u(t),o=0,i=[];for(r in n)!s(c,r)&&s(n,r)&&i.push(r);for(;e.length>o;)s(n,r=e[o++])&&(~a(i,r)||i.push(r));return i}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){t=n(this,t);return!!t&&t.enumerable}:r},3887:(t,e,r)=>{var n=r(5005),o=r(8006),i=r(5181),s=r(9670);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=i.f;return r?e.concat(r(t)):e}},857:(t,e,r)=>{r=r(7854);t.exports=r},1320:(t,e,r)=>{var u=r(7854),a=r(8880),c=r(6656),f=r(3505),n=r(2788),r=r(9909),o=r.get,p=r.enforce,l=String(String).split("String");(t.exports=function(t,e,r,n){var o=!!n&&!!n.unsafe,i=!!n&&!!n.enumerable,s=!!n&&!!n.noTargetGet;"function"==typeof r&&("string"!=typeof e||c(r,"name")||a(r,"name",e),(n=p(r)).source||(n.source=l.join("string"==typeof e?e:""))),t!==u?(o?!s&&t[e]&&(i=!0):delete t[e],i?t[e]=r:a(t,e,r)):i?t[e]=r:f(e,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&o(this).source||n(this)})},4488:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:(t,e,r)=>{var n=r(7854),o=r(8880);t.exports=function(e,r){try{o(n,e,r)}catch(t){n[e]=r}return r}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3505),r="__core-js_shared__",r=n[r]||o(r,{});t.exports=r},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},3429:(t,e,r)=>{var n=r(7293);t.exports=function(e){return n(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length})}},1400:(t,e,r)=>{var n=r(9958),o=Math.max,i=Math.min;t.exports=function(t,e){t=n(t);return t<0?o(t+e,0):i(t,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9958:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?r:e)(t)}},7466:(t,e,r)=>{var n=r(9958),o=Math.min;t.exports=function(t){return 0<t?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488);t.exports=function(t){return Object(n(t))}},7593:(t,e,r)=>{var o=r(111);t.exports=function(t,e){if(!o(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!o(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!o(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!o(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},9711:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},9600:(t,e,r)=>{"use strict";var n=r(2109),o=r(8361),i=r(5656),r=r(9341),s=[].join,o=o!=Object,r=r("join",",");n({target:"Array",proto:!0,forced:o||!r},{join:function(t){return s.call(i(this),void 0===t?",":t)}})},86:(t,e,r)=>{"use strict";var n=r(2109),o=r(4230);n({target:"String",proto:!0,forced:r(3429)("sub")},{sub:function(){return o(this,"sub","","")}})},3776:function(Lt,qt,Bt){var Wt;!function(){"use strict";var f,M,i,s=9e15,d=1e9,h="0123456789abcdef",n="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",o="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",u={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-s,maxE:s,crypto:!1},b=!0,a="[DecimalError] ",g=a+"Invalid argument: ",c=a+"Precision limit exceeded",p=a+"crypto unavailable",e="[object Decimal]",F=Math.floor,m=Math.pow,l=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,y=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,v=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,w=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,k=1e7,I=7,S=n.length-1,x=o.length-1,O={toStringTag:e};function j(t){var e,r,n,o=t.length-1,i="",s=t[0];if(0<o){for(i+=s,e=1;e<o;e++)n=t[e]+"",(r=I-n.length)&&(i+=W(r)),i+=n;s=t[e],(r=I-(n=s+"").length)&&(i+=W(r))}else if(0===s)return"0";for(;s%10==0;)s/=10;return i+s}function N(t,e,r){if(t!==~~t||t<e||r<t)throw Error(g+t)}function A(t,e,r,n){for(var o,i,s=t[0];10<=s;s/=10)--e;return--e<0?(e+=I,o=0):(o=Math.ceil((e+1)/I),e%=I),s=m(10,I-e),i=t[o]%s|0,null==n?e<3?(0==e?i=i/100|0:1==e&&(i=i/10|0),r<4&&99999==i||3<r&&49999==i||5e4==i||0==i):(r<4&&i+1==s||3<r&&i+1==s/2)&&(t[o+1]/s/100|0)==m(10,e-2)-1||(i==s/2||0==i)&&0==(t[o+1]/s/100|0):e<4?(0==e?i=i/1e3|0:1==e?i=i/100|0:2==e&&(i=i/10|0),(n||r<4)&&9999==i||!n&&3<r&&4999==i):((n||r<4)&&i+1==s||!n&&3<r&&i+1==s/2)&&(t[o+1]/s/1e3|0)==m(10,e-3)-1}function E(t,e,r){for(var n,o,i=[0],s=0,u=t.length;s<u;){for(o=i.length;o--;)i[o]*=e;for(i[0]+=h.indexOf(t.charAt(s++)),n=0;n<i.length;n++)i[n]>r-1&&(void 0===i[n+1]&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}O.absoluteValue=O.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),U(t)},O.ceil=function(){return U(new this.constructor(this),this.e+1,2)},O.clampedTo=O.clamp=function(t,e){var r=this.constructor;if(t=new r(t),e=new r(e),!t.s||!e.s)return new r(NaN);if(t.gt(e))throw Error(g+e);return this.cmp(t)<0?t:0<this.cmp(e)?e:new r(this)},O.comparedTo=O.cmp=function(t){var e,r,n=this,o=n.d,i=(t=new n.constructor(t)).d,s=n.s,u=t.s;if(!o||!i)return s&&u?s!==u?s:o===i?0:!o^s<0?1:-1:NaN;if(!o[0]||!i[0])return o[0]?s:i[0]?-u:0;if(s!==u)return s;if(n.e!==t.e)return n.e>t.e^s<0?1:-1;for(e=0,r=(n=o.length)<(t=i.length)?n:t;e<r;++e)if(o[e]!==i[e])return o[e]>i[e]^s<0?1:-1;return n===t?0:t<n^s<0?1:-1},O.cosine=O.cos=function(){var t,e,r=this,n=r.constructor;return r.d?r.d[0]?(t=n.precision,e=n.rounding,n.precision=t+Math.max(r.e,r.sd())+I,n.rounding=1,r=function(t,e){var r,n;if(e.isZero())return e;n=(n=e.d.length)<32?(r=Math.ceil(n/3),(1/Q(4,r)).toString()):(r=16,"2.3283064365386962890625e-10");t.precision+=r,e=J(t,1,e.times(n),new t(1));for(var o=r;o--;){var i=e.times(e);e=i.times(i).minus(i).times(8).plus(1)}return t.precision-=r,e}(n,K(n,r)),n.precision=t,n.rounding=e,U(2==i||3==i?r.neg():r,t,e,!0)):new n(1):new n(NaN)},O.cubeRoot=O.cbrt=function(){var t,e,r,n,o,i,s,u,a,c,f=this,p=f.constructor;if(!f.isFinite()||f.isZero())return new p(f);for(b=!1,(i=f.s*m(f.s*f,1/3))&&Math.abs(i)!=1/0?n=new p(i.toString()):(r=j(f.d),(i=((t=f.e)-r.length+1)%3)&&(r+=1==i||-2==i?"0":"00"),i=m(r,1/3),t=F((t+1)/3)-(t%3==(t<0?-1:2)),(n=new p(r=i==1/0?"5e"+t:(r=i.toExponential()).slice(0,r.indexOf("e")+1)+t)).s=f.s),s=(t=p.precision)+3;;)if(c=(a=(u=n).times(u).times(u)).plus(f),n=P(c.plus(f).times(u),c.plus(a),s+2,1),j(u.d).slice(0,s)===(r=j(n.d)).slice(0,s)){if("9999"!=(r=r.slice(s-3,s+1))&&(o||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(U(n,t+1,1),e=!n.times(n).times(n).eq(f));break}if(!o&&(U(u,t+1,0),u.times(u).times(u).eq(f))){n=u;break}s+=4,o=1}return b=!0,U(n,t,p.rounding,e)},O.decimalPlaces=O.dp=function(){var t,e=this.d,r=NaN;if(e){if(r=((t=e.length-1)-F(this.e/I))*I,t=e[t])for(;t%10==0;t/=10)r--;r<0&&(r=0)}return r},O.dividedBy=O.div=function(t){return P(this,new this.constructor(t))},O.dividedToIntegerBy=O.divToInt=function(t){var e=this.constructor;return U(P(this,new e(t),0,1,1),e.precision,e.rounding)},O.equals=O.eq=function(t){return 0===this.cmp(t)},O.floor=function(){return U(new this.constructor(this),this.e+1,3)},O.greaterThan=O.gt=function(t){return 0<this.cmp(t)},O.greaterThanOrEqualTo=O.gte=function(t){t=this.cmp(t);return 1==t||0===t},O.hyperbolicCosine=O.cosh=function(){var t,e,r,n=(u=this).constructor,o=new n(1);if(!u.isFinite())return new n(u.s?1/0:NaN);if(u.isZero())return o;e=n.precision,r=n.rounding,n.precision=e+Math.max(u.e,u.sd())+4,n.rounding=1;for(var i,s=(s=u.d.length)<32?(1/Q(4,t=Math.ceil(s/3))).toString():(t=16,"2.3283064365386962890625e-10"),u=J(n,1,u.times(s),new n(1),!0),a=t,c=new n(8);a--;)i=u.times(u),u=o.minus(i.times(c.minus(i.times(c))));return U(u,n.precision=e,n.rounding=r,!0)},O.hyperbolicSine=O.sinh=function(){var t,e,r,n=(s=this).constructor;if(!s.isFinite()||s.isZero())return new n(s);if(t=n.precision,e=n.rounding,n.precision=t+Math.max(s.e,s.sd())+4,n.rounding=1,(r=s.d.length)<3)s=J(n,2,s,s,!0);else for(var o,i=1.4*Math.sqrt(r),s=J(n,2,s=s.times(1/Q(5,i=16<i?16:0|i)),s,!0),u=new n(5),a=new n(16),c=new n(20);i--;)o=s.times(s),s=s.times(u.plus(o.times(a.times(o).plus(c))));return U(s,n.precision=t,n.rounding=e,!0)},O.hyperbolicTangent=O.tanh=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+7,n.rounding=1,P(r.sinh(),r.cosh(),n.precision=t,n.rounding=e)):new n(r.s)},O.inverseCosine=O.acos=function(){var t=this,e=t.constructor,r=t.abs().cmp(1),n=e.precision,o=e.rounding;return-1!==r?0===r?t.isNeg()?q(e,n,o):new e(0):new e(NaN):t.isZero()?q(e,n+4,o).times(.5):(e.precision=n+6,e.rounding=1,t=t.asin(),r=q(e,n+4,o).times(.5),e.precision=n,e.rounding=o,r.minus(t))},O.inverseHyperbolicCosine=O.acosh=function(){var t,e,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(t=n.precision,e=n.rounding,n.precision=t+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,b=!1,r=r.times(r).minus(1).sqrt().plus(r),b=!0,n.precision=t,n.rounding=e,r.ln()):new n(r)},O.inverseHyperbolicSine=O.asinh=function(){var t,e,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,b=!1,r=r.times(r).plus(1).sqrt().plus(r),b=!0,n.precision=t,n.rounding=e,r.ln())},O.inverseHyperbolicTangent=O.atanh=function(){var t,e,r,n=this,o=n.constructor;return n.isFinite()?0<=n.e?new o(n.abs().eq(1)?n.s/0:n.isZero()?n:NaN):(t=o.precision,e=o.rounding,r=n.sd(),Math.max(r,t)<2*-n.e-1?U(new o(n),t,e,!0):(o.precision=r=r-n.e,n=P(n.plus(1),new o(1).minus(n),r+t,1),o.precision=t+4,o.rounding=1,n=n.ln(),o.precision=t,o.rounding=e,n.times(.5))):new o(NaN)},O.inverseSine=O.asin=function(){var t,e,r,n=this,o=n.constructor;return n.isZero()?new o(n):(t=n.abs().cmp(1),e=o.precision,r=o.rounding,-1!==t?0===t?((t=q(o,e+4,r).times(.5)).s=n.s,t):new o(NaN):(o.precision=e+6,o.rounding=1,n=n.div(new o(1).minus(n.times(n)).sqrt().plus(1)).atan(),o.precision=e,o.rounding=r,n.times(2)))},O.inverseTangent=O.atan=function(){var t,e,r,n,o,i,s,u,a,c=this,f=c.constructor,p=f.precision,l=f.rounding;if(c.isFinite()){if(c.isZero())return new f(c);if(c.abs().eq(1)&&p+4<=x)return(s=q(f,p+4,l).times(.25)).s=c.s,s}else{if(!c.s)return new f(NaN);if(p+4<=x)return(s=q(f,p+4,l).times(.5)).s=c.s,s}for(f.precision=u=p+10,f.rounding=1,t=r=Math.min(28,u/I+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(b=!1,e=Math.ceil(u/I),n=1,a=c.times(c),s=new f(c),o=c;-1!==t;)if(o=o.times(a),i=s.minus(o.div(n+=2)),o=o.times(a),void 0!==(s=i.plus(o.div(n+=2))).d[e])for(t=e;s.d[t]===i.d[t]&&t--;);return r&&(s=s.times(2<<r-1)),b=!0,U(s,f.precision=p,f.rounding=l,!0)},O.isFinite=function(){return!!this.d},O.isInteger=O.isInt=function(){return!!this.d&&F(this.e/I)>this.d.length-2},O.isNaN=function(){return!this.s},O.isNegative=O.isNeg=function(){return this.s<0},O.isPositive=O.isPos=function(){return 0<this.s},O.isZero=function(){return!!this.d&&0===this.d[0]},O.lessThan=O.lt=function(t){return this.cmp(t)<0},O.lessThanOrEqualTo=O.lte=function(t){return this.cmp(t)<1},O.logarithm=O.log=function(t){var e,r,n,o,i,s,u,a,c=this,f=c.constructor,p=f.precision,l=f.rounding;if(null==t)t=new f(10),e=!0;else{if(r=(t=new f(t)).d,t.s<0||!r||!r[0]||t.eq(1))return new f(NaN);e=t.eq(10)}if(r=c.d,c.s<0||!r||!r[0]||c.eq(1))return new f(r&&!r[0]?-1/0:1!=c.s?NaN:r?0:1/0);if(e)if(1<r.length)i=!0;else{for(o=r[0];o%10==0;)o/=10;i=1!==o}if(b=!1,s=V(c,u=p+5),n=e?L(f,u+10):V(t,u),A((a=P(s,n,u,1)).d,o=p,l))do{if(s=V(c,u+=10),n=e?L(f,u+10):V(t,u),a=P(s,n,u,1),!i){+j(a.d).slice(o+1,o+15)+1==1e14&&(a=U(a,p+1,0));break}}while(A(a.d,o+=10,l));return b=!0,U(a,p,l)},O.minus=O.sub=function(t){var e,r,n,o,i,s,u,a,c,f,p,l=this,y=l.constructor;if(t=new y(t),!l.d||!t.d)return l.s&&t.s?l.d?t.s=-t.s:t=new y(t.d||l.s!==t.s?l:NaN):t=new y(NaN),t;if(l.s!=t.s)return t.s=-t.s,l.plus(t);if(c=l.d,p=t.d,u=y.precision,a=y.rounding,!c[0]||!p[0]){if(p[0])t.s=-t.s;else{if(!c[0])return new y(3===a?-0:0);t=new y(l)}return b?U(t,u,a):t}if(r=F(t.e/I),l=F(l.e/I),c=c.slice(),i=l-r){for(s=(f=i<0)?(e=c,i=-i,p.length):(e=p,r=l,c.length),(n=Math.max(Math.ceil(u/I),s)+2)<i&&(i=n,e.length=1),e.reverse(),n=i;n--;)e.push(0);e.reverse()}else{for((f=(n=c.length)<(s=p.length))&&(s=n),n=0;n<s;n++)if(c[n]!=p[n]){f=c[n]<p[n];break}i=0}for(f&&(e=c,c=p,p=e,t.s=-t.s),s=c.length,n=p.length-s;0<n;--n)c[s++]=0;for(n=p.length;i<n;){if(c[--n]<p[n]){for(o=n;o&&0===c[--o];)c[o]=k-1;--c[o],c[n]+=k}c[n]-=p[n]}for(;0===c[--s];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=C(c,r),b?U(t,u,a):t):new y(3===a?-0:0)},O.modulo=O.mod=function(t){var e,r=this,n=r.constructor;return t=new n(t),!r.d||!t.s||t.d&&!t.d[0]?new n(NaN):!t.d||r.d&&!r.d[0]?U(new n(r),n.precision,n.rounding):(b=!1,9==n.modulo?(e=P(r,t.abs(),0,3,1)).s*=t.s:e=P(r,t,0,n.modulo,1),e=e.times(t),b=!0,r.minus(e))},O.naturalExponential=O.exp=function(){return G(this)},O.naturalLogarithm=O.ln=function(){return V(this)},O.negated=O.neg=function(){var t=new this.constructor(this);return t.s=-t.s,U(t)},O.plus=O.add=function(t){var e,r,n,o,i,s,u,a,c=this,f=c.constructor;if(t=new f(t),!c.d||!t.d)return c.s&&t.s?c.d||(t=new f(t.d||c.s===t.s?c:NaN)):t=new f(NaN),t;if(c.s!=t.s)return t.s=-t.s,c.minus(t);if(u=c.d,a=t.d,i=f.precision,s=f.rounding,!u[0]||!a[0])return a[0]||(t=new f(c)),b?U(t,i,s):t;if(f=F(c.e/I),c=F(t.e/I),u=u.slice(),n=f-c){for((o=(o=n<0?(r=u,n=-n,a.length):(r=a,c=f,u.length))<(f=Math.ceil(i/I))?f+1:o+1)<n&&(n=o,r.length=1),r.reverse();n--;)r.push(0);r.reverse()}for((o=u.length)-(n=a.length)<0&&(n=o,r=a,a=u,u=r),e=0;n;)e=(u[--n]=u[n]+a[n]+e)/k|0,u[n]%=k;for(e&&(u.unshift(e),++c),o=u.length;0==u[--o];)u.pop();return t.d=u,t.e=C(u,c),b?U(t,i,s):t},O.precision=O.sd=function(t){var e;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(g+t);return this.d?(e=B(this.d),t&&this.e+1>e&&(e=this.e+1)):e=NaN,e},O.round=function(){var t=this.constructor;return U(new t(this),this.e+1,t.rounding)},O.sine=O.sin=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+Math.max(r.e,r.sd())+I,n.rounding=1,r=function(t,e){var r,n=e.d.length;if(n<3)return e.isZero()?e:J(t,2,e,e);r=16<(r=1.4*Math.sqrt(n))?16:0|r,e=e.times(1/Q(5,r)),e=J(t,2,e,e);for(var o,i=new t(5),s=new t(16),u=new t(20);r--;)o=e.times(e),e=e.times(i.plus(o.times(s.times(o).minus(u))));return e}(n,K(n,r)),n.precision=t,n.rounding=e,U(2<i?r.neg():r,t,e,!0)):new n(NaN)},O.squareRoot=O.sqrt=function(){var t,e,r,n,o,i,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(b=!1,n=0==(c=Math.sqrt(+s))||c==1/0?(((e=j(u)).length+a)%2==0&&(e+="0"),c=Math.sqrt(e),a=F((a+1)/2)-(a<0||a%2),new f(e=c==1/0?"5e"+a:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+a)):new f(c.toString()),r=(a=f.precision)+3;;)if(n=(i=n).plus(P(s,i,r+2,1)).times(.5),j(i.d).slice(0,r)===(e=j(n.d)).slice(0,r)){if("9999"!=(e=e.slice(r-3,r+1))&&(o||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(U(n,a+1,1),t=!n.times(n).eq(s));break}if(!o&&(U(i,a+1,0),i.times(i).eq(s))){n=i;break}r+=4,o=1}return b=!0,U(n,a,f.rounding,t)},O.tangent=O.tan=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+10,n.rounding=1,(r=r.sin()).s=1,r=P(r,new n(1).minus(r.times(r)).sqrt(),t+10,0),n.precision=t,n.rounding=e,U(2==i||4==i?r.neg():r,t,e,!0)):new n(NaN)},O.times=O.mul=function(t){var e,r,n,o,i,s,u,a,c,f=this.constructor,p=this.d,l=(t=new f(t)).d;if(t.s*=this.s,!(p&&p[0]&&l&&l[0]))return new f(!t.s||p&&!p[0]&&!l||l&&!l[0]&&!p?NaN:p&&l?0*t.s:t.s/0);for(r=F(this.e/I)+F(t.e/I),(a=p.length)<(c=l.length)&&(i=p,p=l,l=i,s=a,a=c,c=s),i=[],n=s=a+c;n--;)i.push(0);for(n=c;0<=--n;){for(e=0,o=a+n;n<o;)u=i[o]+l[n]*p[o-n-1]+e,i[o--]=u%k|0,e=u/k|0;i[o]=(i[o]+e)%k|0}for(;!i[--s];)i.pop();return e?++r:i.shift(),t.d=i,t.e=C(i,r),b?U(t,f.precision,f.rounding):t},O.toBinary=function(t,e){return r(this,2,t,e)},O.toDecimalPlaces=O.toDP=function(t,e){var r=this.constructor,n=new r(this);return void 0===t?n:(N(t,0,d),void 0===e?e=r.rounding:N(e,0,8),U(n,t+n.e+1,e))},O.toExponential=function(t,e){var r=this,n=r.constructor,t=void 0===t?_(r,!0):(N(t,0,d),void 0===e?e=n.rounding:N(e,0,8),_(r=U(new n(r),t+1,e),!0,t+1));return r.isNeg()&&!r.isZero()?"-"+t:t},O.toFixed=function(t,e){var r=this,n=r.constructor,o=void 0===t?_(r):(N(t,0,d),void 0===e?e=n.rounding:N(e,0,8),_(o=U(new n(r),t+r.e+1,e),!1,t+o.e+1));return r.isNeg()&&!r.isZero()?"-"+o:o},O.toFraction=function(t){var e,r,n,o,i,s,u,a,c,f,p=this,l=p.d,y=p.constructor;if(!l)return new y(p);if(a=r=new y(1),n=u=new y(0),i=(e=new y(n)).e=B(l)-p.e-1,e.d[0]=m(10,(c=i%I)<0?I+c:c),null==t)t=0<i?e:a;else{if(!(s=new y(t)).isInt()||s.lt(a))throw Error(g+s);t=s.gt(e)?0<i?e:a:s}for(b=!1,s=new y(j(l)),c=y.precision,y.precision=i=l.length*I*2;f=P(s,e,0,1,1),1!=(o=r.plus(f.times(n))).cmp(t);)r=n,n=o,a=u.plus(f.times(o=a)),u=o,e=s.minus(f.times(o=e)),s=o;return o=P(t.minus(r),n,0,1,1),u=u.plus(o.times(a)),r=r.plus(o.times(n)),u.s=a.s=p.s,p=P(a,n,i,1).minus(p).abs().cmp(P(u,r,i,1).minus(p).abs())<1?[a,n]:[u,r],y.precision=c,b=!0,p},O.toHexadecimal=O.toHex=function(t,e){return r(this,16,t,e)},O.toNearest=function(t,e){var r=(n=this).constructor,n=new r(n);if(null==t){if(!n.d)return n;t=new r(1),e=r.rounding}else{if(t=new r(t),void 0===e?e=r.rounding:N(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(b=!1,n=P(n,t,0,e,1).times(t),b=!0,U(n)):(t.s=n.s,n=t),n},O.toNumber=function(){return+this},O.toOctal=function(t,e){return r(this,8,t,e)},O.toPower=O.pow=function(t){var e,r,n,o,i,s,u=this,a=u.constructor,c=+(t=new a(t));if(!(u.d&&t.d&&u.d[0]&&t.d[0]))return new a(m(+u,c));if((u=new a(u)).eq(1))return u;if(n=a.precision,i=a.rounding,t.eq(1))return U(u,n,i);if((e=F(t.e/I))>=t.d.length-1&&(r=c<0?-c:c)<=9007199254740991)return o=H(a,u,r,n),t.s<0?new a(1).div(o):U(o,n,i);if((s=u.s)<0){if(e<t.d.length-1)return new a(NaN);if(0==(1&t.d[e])&&(s=1),0==u.e&&1==u.d[0]&&1==u.d.length)return u.s=s,u}return(e=0!=(r=m(+u,c))&&isFinite(r)?new a(r+"").e:F(c*(Math.log("0."+j(u.d))/Math.LN10+u.e+1)))>a.maxE+1||e<a.minE-1?new a(0<e?s/0:0):(b=!1,a.rounding=u.s=1,r=Math.min(12,(e+"").length),(o=(o=G(t.times(V(u,n+r)),n)).d&&A((o=U(o,n+5,1)).d,n,i)&&+j((o=U(G(t.times(V(u,(e=n+10)+r)),e),e+5,1)).d).slice(n+1,n+15)+1==1e14?U(o,n+1,0):o).s=s,b=!0,U(o,n,a.rounding=i))},O.toPrecision=function(t,e){var r=this,n=r.constructor,t=void 0===t?_(r,r.e<=n.toExpNeg||r.e>=n.toExpPos):(N(t,1,d),void 0===e?e=n.rounding:N(e,0,8),_(r=U(new n(r),t,e),t<=r.e||r.e<=n.toExpNeg,t));return r.isNeg()&&!r.isZero()?"-"+t:t},O.toSignificantDigits=O.toSD=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(N(t,1,d),void 0===e?e=r.rounding:N(e,0,8)),U(new r(this),t,e)},O.toString=function(){var t=this,e=t.constructor,e=_(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+e:e},O.truncated=O.trunc=function(){return U(new this.constructor(this),this.e+1,1)},O.valueOf=O.toJSON=function(){var t=this,e=t.constructor,e=_(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+e:e};var P=function(t,e,r,n,o,i){var s,u,a,c,f,p,l,y,d,h,g,m,v,b,w,S,x,O,j,N=t.constructor,A=t.s==e.s?1:-1,E=t.d,P=e.d;if(!(E&&E[0]&&P&&P[0]))return new N(t.s&&e.s&&(E?!P||E[0]!=P[0]:P)?E&&0==E[0]||!P?0*A:A/0:NaN);for(u=i?(f=1,t.e-e.e):(i=k,F(t.e/(f=I))-F(e.e/f)),O=P.length,S=E.length,d=(A=new N(A)).d=[],a=0;P[a]==(E[a]||0);a++);if(P[a]>(E[a]||0)&&u--,null==r?(v=r=N.precision,n=N.rounding):v=o?r+(t.e-e.e)+1:r,v<0)d.push(1),p=!0;else{if(v=v/f+2|0,a=0,1==O){for(P=P[c=0],v++;(a<S||c)&&v--;a++)b=c*i+(E[a]||0),d[a]=b/P|0,c=b%P|0;p=c||a<S}else{for(1<(c=i/(P[0]+1)|0)&&(P=R(P,c,i),E=R(E,c,i),O=P.length,S=E.length),g=(h=E.slice(0,w=O)).length;g<O;)h[g++]=0;for((j=P.slice()).unshift(0),x=P[0],P[1]>=i/2&&++x;c=0,(s=D(P,h,O,g))<0?(m=h[0],1<(c=(m=O!=g?m*i+(h[1]||0):m)/x|0)?1==(s=D(l=R(P,c=i<=c?i-1:c,i),h,y=l.length,g=h.length))&&(c--,T(l,O<y?j:P,y,i)):(0==c&&(s=c=1),l=P.slice()),(y=l.length)<g&&l.unshift(0),T(h,l,g,i),-1==s&&(s=D(P,h,O,g=h.length))<1&&(c++,T(h,O<g?j:P,g,i)),g=h.length):0===s&&(c++,h=[0]),d[a++]=c,s&&h[0]?h[g++]=E[w]||0:(h=[E[w]],g=1),(w++<S||void 0!==h[0])&&v--;);p=void 0!==h[0]}d[0]||d.shift()}if(1==f)A.e=u,M=p;else{for(a=1,c=d[0];10<=c;c/=10)a++;A.e=a+u*f-1,U(A,o?r+A.e+1:r,n,p)}return A};function R(t,e,r){var n,o=0,i=t.length;for(t=t.slice();i--;)n=t[i]*e+o,t[i]=n%r|0,o=n/r|0;return o&&t.unshift(o),t}function D(t,e,r,n){var o,i;if(r!=n)i=n<r?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function T(t,e,r,n){for(var o=0;r--;)t[r]-=o,o=t[r]<e[r]?1:0,t[r]=o*n+t[r]-e[r];for(;!t[0]&&1<t.length;)t.shift()}function U(t,e,r,n){var o,i,s,u,a,c,f,p,l=t.constructor;t:if(null!=e){if(!(f=t.d))return t;for(o=1,u=f[0];10<=u;u/=10)o++;if((i=e-o)<0)i+=I,a=(c=f[p=0])/m(10,o-(s=e)-1)%10|0;else if(p=Math.ceil((i+1)/I),(u=f.length)<=p){if(!n)break t;for(;u++<=p;)f.push(0);c=a=0,s=(i%=I)-I+(o=1)}else{for(c=u=f[p],o=1;10<=u;u/=10)o++;a=(s=(i%=I)-I+o)<0?0:c/m(10,o-s-1)%10|0}if(n=n||e<0||void 0!==f[p+1]||(s<0?c:c%m(10,o-s-1)),a=r<4?(a||n)&&(0==r||r==(t.s<0?3:2)):5<a||5==a&&(4==r||n||6==r&&(0<i?0<s?c/m(10,o-s):0:f[p-1])%10&1||r==(t.s<0?8:7)),e<1||!f[0])return f.length=0,a?(e-=t.e+1,f[0]=m(10,(I-e%I)%I),t.e=-e||0):f[0]=t.e=0,t;if(0==i?(f.length=p,u=1,p--):(f.length=p+1,u=m(10,I-i),f[p]=0<s?(c/m(10,o-s)%m(10,s)|0)*u:0),a)for(;;){if(0==p){for(i=1,s=f[0];10<=s;s/=10)i++;for(s=f[0]+=u,u=1;10<=s;s/=10)u++;i!=u&&(t.e++,f[0]==k&&(f[0]=1));break}if(f[p]+=u,f[p]!=k)break;f[p--]=0,u=1}for(i=f.length;0===f[--i];)f.pop()}return b&&(t.e>l.maxE?(t.d=null,t.e=NaN):t.e<l.minE&&(t.e=0,t.d=[0])),t}function _(t,e,r){if(!t.isFinite())return $(t);var n,o=t.e,i=j(t.d),s=i.length;return e?(r&&0<(n=r-s)?i=i.charAt(0)+"."+i.slice(1)+W(n):1<s&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(t.e<0?"e":"e+")+t.e):o<0?(i="0."+W(-o-1)+i,r&&0<(n=r-s)&&(i+=W(n))):s<=o?(i+=W(o+1-s),r&&0<(n=r-o-1)&&(i=i+"."+W(n))):((n=o+1)<s&&(i=i.slice(0,n)+"."+i.slice(n)),r&&0<(n=r-s)&&(o+1===s&&(i+="."),i+=W(n))),i}function C(t,e){var r=t[0];for(e*=I;10<=r;r/=10)e++;return e}function L(t,e,r){if(S<e)throw b=!0,r&&(t.precision=r),Error(c);return U(new t(n),e,1,!0)}function q(t,e,r){if(x<e)throw Error(c);return U(new t(o),e,r,!0)}function B(t){var e=t.length-1,r=e*I+1;if(e=t[e]){for(;e%10==0;e/=10)r--;for(e=t[0];10<=e;e/=10)r++}return r}function W(t){for(var e="";t--;)e+="0";return e}function H(t,e,r,n){var o,i=new t(1),s=Math.ceil(n/I+4);for(b=!1;;){if(r%2&&Y((i=i.times(e)).d,s)&&(o=!0),0===(r=F(r/2))){r=i.d.length-1,o&&0===i.d[r]&&++i.d[r];break}Y((e=e.times(e)).d,s)}return b=!0,i}function Z(t){return 1&t.d[t.d.length-1]}function t(t,e,r){for(var n,o=new t(e[0]),i=0;++i<e.length;){if(!(n=new t(e[i])).s){o=n;break}o[r](n)&&(o=n)}return o}function G(t,e){var r,n,o,i,s,u,a,c=0,f=0,p=0,l=t.constructor,y=l.rounding,d=l.precision;if(!t.d||!t.d[0]||17<t.e)return new l(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(a=null==e?(b=!1,d):e,u=new l(.03125);-2<t.e;)t=t.times(u),p+=5;for(a+=n=Math.log(m(2,p))/Math.LN10*2+5|0,r=i=s=new l(1),l.precision=a;;){if(i=U(i.times(t),a,1),r=r.times(++f),j((u=s.plus(P(i,r,a,1))).d).slice(0,a)===j(s.d).slice(0,a)){for(o=p;o--;)s=U(s.times(s),a,1);if(null!=e)return l.precision=d,s;if(!(c<3&&A(s.d,a-n,y,c)))return U(s,l.precision=d,y,b=!0);l.precision=a+=10,r=i=u=new l(1),f=0,c++}s=u}}function V(t,e){var r,n,o,i,s,u,a,c,f,p,l,y=1,d=t,h=d.d,g=d.constructor,m=g.rounding,v=g.precision;if(d.s<0||!h||!h[0]||!d.e&&1==h[0]&&1==h.length)return new g(h&&!h[0]?-1/0:1!=d.s?NaN:h?0:d);if(f=null==e?(b=!1,v):e,g.precision=f+=10,n=(r=j(h)).charAt(0),!(Math.abs(i=d.e)<15e14))return c=L(g,f+2,v).times(i+""),d=V(new g(n+"."+r.slice(1)),f-10).plus(c),g.precision=v,null==e?U(d,v,m,b=!0):d;for(;n<7&&1!=n||1==n&&3<r.charAt(1);)n=(r=j((d=d.times(t)).d)).charAt(0),y++;for(i=d.e,1<n?(d=new g("0."+r),i++):d=new g(n+"."+r.slice(1)),a=s=d=P((p=d).minus(1),d.plus(1),f,1),l=U(d.times(d),f,1),o=3;;){if(s=U(s.times(l),f,1),j((c=a.plus(P(s,new g(o),f,1))).d).slice(0,f)===j(a.d).slice(0,f)){if(a=a.times(2),0!==i&&(a=a.plus(L(g,f+2,v).times(i+""))),a=P(a,new g(y),f,1),null!=e)return g.precision=v,a;if(!A(a.d,f-10,m,u))return U(a,g.precision=v,m,b=!0);g.precision=f+=10,c=s=d=P(p.minus(1),p.plus(1),f,1),l=U(d.times(d),f,1),o=u=1}a=c,o+=2}}function $(t){return String(t.s*t.s/0)}function z(t,e){var r,n,o;for(0<(n=(e=-1<(r=e.indexOf("."))?e.replace(".",""):e).search(/e/i))?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);n++);for(o=e.length;48===e.charCodeAt(o-1);--o);if(e=e.slice(n,o)){if(o-=n,t.e=r=r-n-1,t.d=[],n=(r+1)%I,r<0&&(n+=I),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=I;n<o;)t.d.push(+e.slice(n,n+=I));e=e.slice(n),n=I-e.length}else n-=o;for(;n--;)e+="0";t.d.push(+e),b&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function J(t,e,r,n,o){var i,s,u,a,c=t.precision,f=Math.ceil(c/I);for(b=!1,a=r.times(r),u=new t(n);;){if(s=P(u.times(a),new t(e++*e++),c,1),u=o?n.plus(s):n.minus(s),n=P(s.times(a),new t(e++*e++),c,1),void 0!==(s=u.plus(n)).d[f]){for(i=f;s.d[i]===u.d[i]&&i--;);if(-1==i)break}i=u,u=n,n=s,s=i,0}return b=!0,s.d.length=f+1,s}function Q(t,e){for(var r=t;--e;)r*=t;return r}function K(t,e){var r=e.s<0,n=q(t,t.precision,1),o=n.times(.5);if((e=e.abs()).lte(o))return i=r?4:1,e;if((t=e.divToInt(n)).isZero())i=r?3:2;else{if((e=e.minus(t.times(n))).lte(o))return i=Z(t)?r?2:3:r?4:1,e;i=Z(t)?r?1:4:r?3:2}return e.minus(n).abs()}function r(t,e,r,n){var o,i,s,u,a,c,f,p,l=t.constructor,y=void 0!==r;if(y?(N(r,1,d),void 0===n?n=l.rounding:N(n,0,8)):(r=l.precision,n=l.rounding),t.isFinite()){for(y?(o=2,16==e?r=4*r-3:8==e&&(r=3*r-2)):o=e,0<=(s=(c=_(t)).indexOf("."))&&(c=c.replace(".",""),(p=new l(1)).e=c.length-s,p.d=E(_(p),10,o),p.e=p.d.length),i=u=(f=E(c,10,o)).length;0==f[--u];)f.pop();if(f[0]){if(s<0?i--:((t=new l(t)).d=f,t.e=i,f=(t=P(t,p,r,n,0,o)).d,i=t.e,a=M),s=f[r],p=o/2,a=a||void 0!==f[r+1],a=n<4?(void 0!==s||a)&&(0===n||n===(t.s<0?3:2)):p<s||s===p&&(4===n||a||6===n&&1&f[r-1]||n===(t.s<0?8:7)),f.length=r,a)for(;++f[--r]>o-1;)f[r]=0,r||(++i,f.unshift(1));for(u=f.length;!f[u-1];--u);for(s=0,c="";s<u;s++)c+=h.charAt(f[s]);if(y){if(1<u)if(16==e||8==e){for(s=16==e?4:3,--u;u%s;u++)c+="0";for(u=(f=E(c,o,e)).length;!f[u-1];--u);for(s=1,c="1.";s<u;s++)c+=h.charAt(f[s])}else c=c.charAt(0)+"."+c.slice(1);c=c+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)c="0"+c;c="0."+c}else if(++i>u)for(i-=u;i--;)c+="0";else i<u&&(c=c.slice(0,i)+"."+c.slice(i))}else c=y?"0p+0":"0";c=(16==e?"0x":2==e?"0b":8==e?"0o":"")+c}else c=$(t);return t.s<0?"-"+c:c}function Y(t,e){return t.length>e&&(t.length=e,1)}function X(t){return new this(t).abs()}function tt(t){return new this(t).acos()}function et(t){return new this(t).acosh()}function rt(t,e){return new this(t).plus(e)}function nt(t){return new this(t).asin()}function ot(t){return new this(t).asinh()}function it(t){return new this(t).atan()}function st(t){return new this(t).atanh()}function ut(t,e){t=new this(t),e=new this(e);var r,n=this.precision,o=this.rounding,i=n+4;return t.s&&e.s?t.d||e.d?!e.d||t.isZero()?(r=e.s<0?q(this,n,o):new this(0)).s=t.s:!t.d||e.isZero()?(r=q(this,i,1).times(.5)).s=t.s:r=e.s<0?(this.precision=i,this.rounding=1,r=this.atan(P(t,e,i,1)),e=q(this,i,1),this.precision=n,this.rounding=o,t.s<0?r.minus(e):r.plus(e)):this.atan(P(t,e,i,1)):(r=q(this,i,1).times(0<e.s?.25:.75)).s=t.s:r=new this(NaN),r}function at(t){return new this(t).cbrt()}function ct(t){return U(t=new this(t),t.e+1,2)}function ft(t,e,r){return new this(t).clamp(e,r)}function pt(t){if(!t||"object"!=typeof t)throw Error(a+"Object expected");for(var e,r,n=!0===t.defaults,o=["precision",1,d,"rounding",0,8,"toExpNeg",-s,0,"toExpPos",0,s,"maxE",0,s,"minE",-s,0,"modulo",0,9],i=0;i<o.length;i+=3)if(e=o[i],n&&(this[e]=u[e]),void 0!==(r=t[e])){if(!(F(r)===r&&o[i+1]<=r&&r<=o[i+2]))throw Error(g+e+": "+r);this[e]=r}if(e="crypto",n&&(this[e]=u[e]),void 0!==(r=t[e])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(g+e+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(p);this[e]=!0}else this[e]=!1}return this}function lt(t){return new this(t).cos()}function yt(t){return new this(t).cosh()}function dt(t,e){return new this(t).div(e)}function ht(t){return new this(t).exp()}function gt(t){return U(t=new this(t),t.e+1,3)}function mt(){var t,e,r=new this(0);for(b=!1,t=0;t<arguments.length;)if((e=new this(arguments[t++])).d)r.d&&(r=r.plus(e.times(e)));else{if(e.s)return b=!0,new this(1/0);r=e}return b=!0,r.sqrt()}function vt(t){return t instanceof f||t&&t.toStringTag===e||!1}function bt(t){return new this(t).ln()}function wt(t,e){return new this(t).log(e)}function St(t){return new this(t).log(2)}function xt(t){return new this(t).log(10)}function Ot(){return t(this,arguments,"lt")}function jt(){return t(this,arguments,"gt")}function Nt(t,e){return new this(t).mod(e)}function At(t,e){return new this(t).mul(e)}function Et(t,e){return new this(t).pow(e)}function Pt(t){var e,r,n,o,i=0,s=new this(1),u=[];if(void 0===t?t=this.precision:N(t,1,d),n=Math.ceil(t/I),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(n));i<n;)429e7<=(o=e[i])?e[i]=crypto.getRandomValues(new Uint32Array(1))[0]:u[i++]=o%1e7;else{if(!crypto.randomBytes)throw Error(p);for(e=crypto.randomBytes(n*=4);i<n;)214e7<=(o=e[i]+(e[i+1]<<8)+(e[i+2]<<16)+((127&e[i+3])<<24))?crypto.randomBytes(4).copy(e,i):(u.push(o%1e7),i+=4);i=n/4}else for(;i<n;)u[i++]=1e7*Math.random()|0;for(n=u[--i],t%=I,n&&t&&(o=m(10,I-t),u[i]=(n/o|0)*o);0===u[i];i--)u.pop();if(i<0)u=[r=0];else{for(r=-1;0===u[0];r-=I)u.shift();for(n=1,o=u[0];10<=o;o/=10)n++;n<I&&(r-=I-n)}return s.e=r,s.d=u,s}function Mt(t){return U(t=new this(t),t.e+1,this.rounding)}function Ft(t){return(t=new this(t)).d?t.d[0]?t.s:0*t.s:t.s||NaN}function kt(t){return new this(t).sin()}function It(t){return new this(t).sinh()}function Rt(t){return new this(t).sqrt()}function Dt(t,e){return new this(t).sub(e)}function Tt(){var t=0,e=arguments,r=new this(e[t]);for(b=!1;r.s&&++t<e.length;)r=r.plus(e[t]);return b=!0,U(r,this.precision,this.rounding)}function Ut(t){return new this(t).tan()}function _t(t){return new this(t).tanh()}function Ct(t){return U(t=new this(t),t.e+1,1)}((f=function t(e){var r,n,o;function i(t){var e,r,n,o=this;if(!(o instanceof i))return new i(t);if(o.constructor=i,vt(t))return o.s=t.s,void(b?!t.d||t.e>i.maxE?(o.e=NaN,o.d=null):t.e<i.minE?(o.e=0,o.d=[0]):(o.e=t.e,o.d=t.d.slice()):(o.e=t.e,o.d=t.d&&t.d.slice()));if("number"==(n=typeof t)){if(0===t)return o.s=1/t<0?-1:1,o.e=0,void(o.d=[0]);if(t<0?(t=-t,o.s=-1):o.s=1,t===~~t&&t<1e7){for(e=0,r=t;10<=r;r/=10)e++;return void(b?i.maxE<e?(o.e=NaN,o.d=null):e<i.minE?(o.e=0,o.d=[0]):(o.e=e,o.d=[t]):(o.e=e,o.d=[t]))}return 0*t!=0?(t||(o.s=NaN),o.e=NaN,void(o.d=null)):z(o,t.toString())}if("string"!=n)throw Error(g+t);return 45===(r=t.charCodeAt(0))?(t=t.slice(1),o.s=-1):(43===r&&(t=t.slice(1)),o.s=1),(w.test(t)?z:function(t,e){var r,n,o,i,s,u,a,c;if(-1<e.indexOf("_")){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),w.test(e))return z(t,e)}else if("Infinity"===e||"NaN"===e)return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(y.test(e))c=16,e=e.toLowerCase();else if(l.test(e))c=2;else{if(!v.test(e))throw Error(g+e);c=8}for(o=(e=0<(o=e.search(/p/i))?(u=+e.slice(o+1),e.substring(2,o)):e.slice(2)).indexOf("."),r=t.constructor,(i=0<=o)&&(o=(s=(e=e.replace(".","")).length)-o,n=H(r,new r(c),o,2*o)),o=c=(a=E(e,c,k)).length-1;0===a[o];--o)a.pop();return o<0?new r(0*t.s):(t.e=C(a,c),t.d=a,b=!1,i&&(t=P(t,n,4*s)),u&&(t=t.times(Math.abs(u)<54?m(2,u):f.pow(2,u))),b=!0,t)})(o,t)}if(i.prototype=O,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=pt,i.clone=t,i.isDecimal=vt,i.abs=X,i.acos=tt,i.acosh=et,i.add=rt,i.asin=nt,i.asinh=ot,i.atan=it,i.atanh=st,i.atan2=ut,i.cbrt=at,i.ceil=ct,i.clamp=ft,i.cos=lt,i.cosh=yt,i.div=dt,i.exp=ht,i.floor=gt,i.hypot=mt,i.ln=bt,i.log=wt,i.log10=xt,i.log2=St,i.max=Ot,i.min=jt,i.mod=Nt,i.mul=At,i.pow=Et,i.random=Pt,i.round=Mt,i.sign=Ft,i.sin=kt,i.sinh=It,i.sqrt=Rt,i.sub=Dt,i.sum=Tt,i.tan=Ut,i.tanh=_t,i.trunc=Ct,(e=void 0===e?{}:e)&&!0!==e.defaults)for(o=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}(u)).prototype.constructor=f).default=f.Decimal=f,n=new f(n),o=new f(o),void 0===(Wt=function(){return f}.call(qt,Bt,qt,Lt))||(Lt.exports=Wt)}()},7648:t=>{"use strict";var a=Array.prototype.slice,c=Object.prototype.toString;t.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==c.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,t,o=a.call(arguments,1),i=Math.max(0,r.length-o.length),s=[],u=0;u<i;u++)s.push("$"+u);return n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var t=r.apply(this,o.concat(a.call(arguments)));return Object(t)===t?t:this}return r.apply(e,o.concat(a.call(arguments)))}),r.prototype&&((t=function(){}).prototype=r.prototype,n.prototype=new t,t.prototype=null),n}},8612:(t,e,r)=>{"use strict";r=r(7648);t.exports=Function.prototype.bind||r},210:(t,e,r)=>{"use strict";function n(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}}var y=SyntaxError,o=Function,d=TypeError,h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch(t){h=null}function i(){throw new d}function g(t){var e,r;return"%AsyncFunction%"===t?e=n("async function () {}"):"%GeneratorFunction%"===t?e=n("function* () {}"):"%AsyncGeneratorFunction%"===t?e=n("async function* () {}"):"%AsyncGenerator%"===t?(r=g("%AsyncGeneratorFunction%"))&&(e=r.prototype):"%AsyncIteratorPrototype%"!==t||(r=g("%AsyncGenerator%"))&&(e=a(r.prototype)),v[t]=e}var s=h?function(){try{return i}catch(t){try{return h(arguments,"callee").get}catch(t){return i}}}():i,u=r(1405)(),a=Object.getPrototypeOf||function(t){return t.__proto__},m={},c="undefined"==typeof Uint8Array?f:a(Uint8Array),v={"%AggregateError%":"undefined"==typeof AggregateError?f:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?f:ArrayBuffer,"%ArrayIteratorPrototype%":u?a([][Symbol.iterator]()):f,"%AsyncFromSyncIteratorPrototype%":f,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":"undefined"==typeof Atomics?f:Atomics,"%BigInt%":"undefined"==typeof BigInt?f:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?f:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?f:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?f:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?f:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":m,"%Int8Array%":"undefined"==typeof Int8Array?f:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?f:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?f:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?a(a([][Symbol.iterator]())):f,"%JSON%":"object"==typeof JSON?JSON:f,"%Map%":"undefined"==typeof Map?f:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?a((new Map)[Symbol.iterator]()):f,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?f:Promise,"%Proxy%":"undefined"==typeof Proxy?f:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?f:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?f:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?a((new Set)[Symbol.iterator]()):f,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?f:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?a(""[Symbol.iterator]()):f,"%Symbol%":u?Symbol:f,"%SyntaxError%":y,"%ThrowTypeError%":s,"%TypedArray%":c,"%TypeError%":d,"%Uint8Array%":"undefined"==typeof Uint8Array?f:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?f:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?f:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?f:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?f:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?f:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?f:WeakSet},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},f=r(8612),w=r(7642),S=f.call(Function.call,Array.prototype.concat),x=f.call(Function.apply,Array.prototype.splice),O=f.call(Function.call,String.prototype.replace),j=f.call(Function.call,String.prototype.slice),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g;t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new d("intrinsic name must be a non-empty string");if(1<arguments.length&&"boolean"!=typeof e)throw new d('"allowMissing" argument must be a boolean');var r,n=function(t){var e=j(t,0,1),r=j(t,-1);if("%"===e&&"%"!==r)throw new y("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new y("invalid intrinsic syntax, expected opening `%`");var o=[];return O(t,N,function(t,e,r,n){o[o.length]=r?O(n,A,"$1"):e||t}),o}(t),o=0<n.length?n[0]:"",i=function(t,e){var r,n=t;if(w(b,n)&&(n="%"+(r=b[n])[0]+"%"),w(v,n)){var o=v[n];if(void 0===(o=o===m?g(n):o)&&!e)throw new d("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new y("intrinsic "+t+" does not exist!")}("%"+o+"%",e),s=(i.name,i.value),u=!1,i=i.alias;i&&(o=i[0],x(n,S([0,1],i)));for(var a=1,c=!0;a<n.length;a+=1){var f=n[a],p=j(f,0,1),l=j(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===l||"'"===l||"`"===l)&&p!==l)throw new y("property names with quotes must have matching quotes");if("constructor"!==f&&c||(u=!0),w(v,r="%"+(o+="."+f)+"%"))s=v[r];else if(null!=s){if(!(f in s)){if(!e)throw new d("base intrinsic for "+t+" exists, but the property is not available.");return}s=h&&a+1>=n.length?(c=!!(l=h(s,f)))&&"get"in l&&!("originalValue"in l.get)?l.get:s[f]:(c=w(s,f),s[f]),c&&!u&&(v[r]=s)}}return s}},1405:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(5419);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5419:t=>{"use strict";t.exports=function(){if("functio