/** * math.js * https://github.com/josdejong/mathjs * * Math.js is an extensive math library for JavaScript and Node.js, * It features real and complex numbers, units, matrices, a large set of * mathematical functions, and a flexible expression parser. * * @version 10.0.2 * @date 2021-12-29 * * @license * Copyright (C) 2013-2021 Jos de Jong * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.math=t():e.math=t()}(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=272)}([function(e,t,r){var n=r(129),i=r(40),a=r(207);n||i(Object.prototype,"toString",a,{unsafe:!0})},function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r(203))},function(e,t,r){var n=r(1),i=r(65).f,a=r(58),o=r(40),s=r(125),u=r(153),c=r(93);e.exports=function(e,t){var r,f,l,p,h,m=e.target,d=e.global,v=e.stat;if(r=d?n:v?n[m]||s(m,{}):(n[m]||{}).prototype)for(f in t){if(p=t[f],l=e.noTargetGet?(h=i(r,f))&&h.value:r[f],!c(d?f:m+(v?".":"#")+f,e.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(e.sham||l&&l.sham)&&a(p,"sham",!0),o(r,f,p,e)}}},,function(e,t,r){r(2)({target:"Array",stat:!0},{isArray:r(79)})},function(e,t,r){"use strict";var n=r(2),i=r(69).map;n({target:"Array",proto:!0,forced:!r(95)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){var r=Function.prototype,n=r.bind,i=r.call,a=n&&n.bind(i);e.exports=n?function(e){return e&&a(i,e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(2),i=r(160);n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,r){var n=r(1),i=r(161),a=r(162),o=r(160),s=r(58),u=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var c in i)i[c]&&u(n[c]&&n[c].prototype);u(a)},function(e,t,r){var n=r(6),i=r(40),a=Date.prototype,o=n(a.toString),s=n(a.getTime);"Invalid Date"!=String(new Date(NaN))&&i(a,"toString",(function(){var e=s(this);return e==e?o(this):"Invalid Date"}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){"use strict";var n=r(6),i=r(91).PROPER,a=r(40),o=r(25),s=r(56),u=r(29),c=r(11),f=r(133),l=RegExp.prototype,p=l.toString,h=n(f),m=c((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),d=i&&"toString"!=p.name;(m||d)&&a(RegExp.prototype,"toString",(function(){var e=o(this),t=u(e.source),r=e.flags;return"/"+t+"/"+u(void 0===r&&s(l,e)&&!("flags"in l)?h(e):r)}),{unsafe:!0})},function(e,t,r){"use strict";var n=r(2),i=r(114);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,r){"use strict";var n,i,a,o,s=r(2),u=r(76),c=r(1),f=r(51),l=r(27),p=r(242),h=r(40),m=r(185),d=r(132),v=r(98),y=r(134),g=r(57),x=r(18),b=r(24),w=r(146),N=r(107),M=r(144),E=r(147),S=r(170),A=r(188).set,O=r(243),_=r(246),C=r(247),T=r(190),I=r(248),k=r(249),z=r(49),R=r(93),q=r(19),B=r(250),D=r(115),j=r(74),F=q("species"),P="Promise",U=z.getterFor(P),L=z.set,$=z.getterFor(P),H=p&&p.prototype,G=p,V=H,Z=c.TypeError,W=c.document,Y=c.process,J=T.f,X=J,Q=!!(W&&W.createEvent&&c.dispatchEvent),K=x(c.PromiseRejectionEvent),ee=!1,te=R(P,(function(){var e=N(G),t=e!==String(G);if(!t&&66===j)return!0;if(u&&!V.finally)return!0;if(j>=51&&/native code/.test(e))return!1;var r=new G((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[F]=n,!(ee=r.then((function(){}))instanceof n)||!t&&B&&!K})),re=te||!E((function(e){G.all(e).catch((function(){}))})),ne=function(e){var t;return!(!b(e)||!x(t=e.then))&&t},ie=function(e,t){var r,n,i,a=t.value,o=1==t.state,s=o?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(o||(2===t.rejection&&ce(t),t.rejection=1),!0===s?r=a:(f&&f.enter(),r=s(a),f&&(f.exit(),i=!0)),r===e.promise?c(Z("Promise-chain cycle")):(n=ne(r))?l(n,r,u,c):u(r)):c(a)}catch(e){f&&!i&&f.exit(),c(e)}},ae=function(e,t){e.notified||(e.notified=!0,O((function(){for(var r,n=e.reactions;r=n.get();)ie(r,e);e.notified=!1,t&&!e.rejection&&se(e)})))},oe=function(e,t,r){var n,i;Q?((n=W.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!K&&(i=c["on"+e])?i(n):"unhandledrejection"===e&&C("Unhandled promise rejection",r)},se=function(e){l(A,c,(function(){var t,r=e.facade,n=e.value;if(ue(e)&&(t=I((function(){D?Y.emit("unhandledRejection",n,r):oe("unhandledrejection",r,n)})),e.rejection=D||ue(e)?2:1,t.error))throw t.value}))},ue=function(e){return 1!==e.rejection&&!e.parent},ce=function(e){l(A,c,(function(){var t=e.facade;D?Y.emit("rejectionHandled",t):oe("rejectionhandled",t,e.value)}))},fe=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,ae(e,!0))},pe=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw Z("Promise can't be resolved itself");var n=ne(t);n?O((function(){var r={done:!1};try{l(n,t,fe(pe,r,e),fe(le,r,e))}catch(t){le(r,t,e)}})):(e.value=t,e.state=1,ae(e,!1))}catch(t){le({done:!1},t,e)}}};if(te&&(V=(G=function(e){w(this,V),g(e),l(n,this);var t=U(this);try{e(fe(pe,t),fe(le,t))}catch(e){le(t,e)}}).prototype,(n=function(e){L(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:void 0})}).prototype=m(V,{then:function(e,t){var r=$(this),n=J(S(this,G));return r.parent=!0,n.ok=!x(e)||e,n.fail=x(t)&&t,n.domain=D?Y.domain:void 0,0==r.state?r.reactions.add(n):O((function(){ie(n,r)})),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=U(e);this.promise=e,this.resolve=fe(pe,t),this.reject=fe(le,t)},T.f=J=function(e){return e===G||e===a?new i(e):X(e)},!u&&x(p)&&H!==Object.prototype)){o=H.then,ee||(h(H,"then",(function(e,t){var r=this;return new G((function(e,t){l(o,r,e,t)})).then(e,t)}),{unsafe:!0}),h(H,"catch",V.catch,{unsafe:!0}));try{delete H.constructor}catch(e){}d&&d(H,V)}s({global:!0,wrap:!0,forced:te},{Promise:G}),v(G,P,!1,!0),y(P),a=f(P),s({target:P,stat:!0,forced:te},{reject:function(e){var t=J(this);return l(t.reject,void 0,e),t.promise}}),s({target:P,stat:!0,forced:u||te},{resolve:function(e){return _(u&&this===a?G:this,e)}}),s({target:P,stat:!0,forced:re},{all:function(e){var t=this,r=J(t),n=r.resolve,i=r.reject,a=I((function(){var r=g(t.resolve),a=[],o=0,s=1;M(e,(function(e){var u=o++,c=!1;s++,l(r,t,e).then((function(e){c||(c=!0,a[u]=e,--s||n(a))}),i)})),--s||n(a)}));return a.error&&i(a.value),r.promise},race:function(e){var t=this,r=J(t),n=r.reject,i=I((function(){var i=g(t.resolve);M(e,(function(e){l(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},function(e,t,r){var n=r(21),i=r(91).EXISTS,a=r(6),o=r(23).f,s=Function.prototype,u=a(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f=a(c.exec);n&&!i&&o(s,"name",{configurable:!0,get:function(){try{return f(c,u(this))[1]}catch(e){return""}}})},function(e,t,r){"use strict";var n=r(2),i=r(11),a=r(36),o=r(122);n({target:"Date",proto:!0,forced:i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=a(this),r=o(t,"number");return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},function(e,t,r){"use strict";var n=r(2),i=r(27);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},function(e,t){e.exports=function(e){return"function"==typeof e}},function(e,t,r){var n=r(1),i=r(104),a=r(28),o=r(105),s=r(123),u=r(151),c=i("wks"),f=n.Symbol,l=f&&f.for,p=u?f:f&&f.withoutSetter||o;e.exports=function(e){if(!a(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&a(f,e)?c[e]=f[e]:c[e]=u&&l?l(t):p(t)}return c[e]}},function(e,t,r){"use strict";var n=r(2),i=r(6),a=r(100),o=r(43),s=r(68),u=i([].join),c=a!=Object,f=s("join",",");n({target:"Array",proto:!0,forced:c||!f},{join:function(e){return u(o(this),void 0===e?",":e)}})},function(e,t,r){var n=r(11);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,r){"use strict";var n=r(2),i=r(1),a=r(79),o=r(110),s=r(24),u=r(92),c=r(44),f=r(43),l=r(80),p=r(19),h=r(95),m=r(112),d=h("slice"),v=p("species"),y=i.Array,g=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,i,p=f(this),h=c(p),d=u(e,h),x=u(void 0===t?h:t,h);if(a(p)&&(r=p.constructor,(o(r)&&(r===y||a(r.prototype))||s(r)&&null===(r=r[v]))&&(r=void 0),r===y||void 0===r))return m(p,d,x);for(n=new(void 0===r?y:r)(g(x-d,0)),i=0;d=51||!a((function(){var e=[];return e[d]=!1,e.concat()[0]!==e})),g=p("concat"),x=function(e){if(!s(e))return!1;var t=e[d];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,forced:!y||!g},{concat:function(e){var t,r,n,i,a,o=u(this),s=l(o,0),p=0;for(t=-1,n=arguments.length;t9007199254740991)throw v("Maximum allowed index exceeded");for(r=0;r=9007199254740991)throw v("Maximum allowed index exceeded");f(s,p++,a)}return s.length=p,s}})},function(e,t){var r=Function.prototype.call;e.exports=r.bind?r.bind(r):function(){return r.apply(r,arguments)}},function(e,t,r){var n=r(6),i=r(36),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},function(e,t,r){var n=r(1),i=r(111),a=n.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},function(e,t,r){"use strict";var n=r(2),i=r(69).find,a=r(142),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},function(e,t,r){var n=r(257),i=r(258),a=r(192),o=r(259);e.exports=function(e){return n(e)||i(e)||a(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(2),i=r(6),a=r(156).indexOf,o=r(68),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=o("indexOf");n({target:"Array",proto:!0,forced:u||!c},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?s(this,e,t)||0:a(this,e,t)}})},function(e,t,r){"use strict";var n=r(21),i=r(1),a=r(6),o=r(93),s=r(40),u=r(28),c=r(131),f=r(56),l=r(102),p=r(122),h=r(11),m=r(77).f,d=r(65).f,v=r(23).f,y=r(140),g=r(118).trim,x=i.Number,b=x.prototype,w=i.TypeError,N=a("".slice),M=a("".charCodeAt),E=function(e){var t=p(e,"number");return"bigint"==typeof t?t:S(t)},S=function(e){var t,r,n,i,a,o,s,u,c=p(e,"number");if(l(c))throw w("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=g(c),43===(t=M(c,0))||45===t){if(88===(r=M(c,2))||120===r)return NaN}else if(48===t){switch(M(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(o=(a=N(c,2)).length,s=0;si)return NaN;return parseInt(a,n)}return+c};if(o("Number",!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var A,O=function(e){var t=arguments.length<1?0:x(E(e)),r=this;return f(b,r)&&h((function(){y(r)}))?c(Object(t),r,O):t},_=n?m(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),C=0;_.length>C;C++)u(x,A=_[C])&&!u(O,A)&&v(O,A,d(x,A));O.prototype=b,b.constructor=O,s(i,"Number",O)}},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t0&&o();break;case"number":r.im=0,r.re=e;break;default:o()}return isNaN(r.re)||isNaN(r.im),r}(e,t);this.re=r.re,this.im=r.im}u.prototype={re:0,im:0,sign:function(){var e=this.abs();return new u(this.re/e,this.im/e)},add:function(e,t){var r=new u(e,t);return this.isInfinite()&&r.isInfinite()?u.NAN:this.isInfinite()||r.isInfinite()?u.INFINITY:new u(this.re+r.re,this.im+r.im)},sub:function(e,t){var r=new u(e,t);return this.isInfinite()&&r.isInfinite()?u.NAN:this.isInfinite()||r.isInfinite()?u.INFINITY:new u(this.re-r.re,this.im-r.im)},mul:function(e,t){var r=new u(e,t);return this.isInfinite()&&r.isZero()||this.isZero()&&r.isInfinite()?u.NAN:this.isInfinite()||r.isInfinite()?u.INFINITY:0===r.im&&0===this.im?new u(this.re*r.re,0):new u(this.re*r.re-this.im*r.im,this.re*r.im+this.im*r.re)},div:function(e,t){var r=new u(e,t);if(this.isZero()&&r.isZero()||this.isInfinite()&&r.isInfinite())return u.NAN;if(this.isInfinite()||r.isZero())return u.INFINITY;if(this.isZero()||r.isInfinite())return u.ZERO;e=this.re,t=this.im;var n,i,a=r.re,o=r.im;return 0===o?new u(e/a,t/a):Math.abs(a)0)return new u(Math.pow(e,r.re),0);if(0===e)switch((r.re%4+4)%4){case 0:return new u(Math.pow(t,r.re),0);case 1:return new u(0,Math.pow(t,r.re));case 2:return new u(-Math.pow(t,r.re),0);case 3:return new u(0,-Math.pow(t,r.re))}}if(0===e&&0===t&&r.re>0&&r.im>=0)return u.ZERO;var n=Math.atan2(t,e),i=s(e,t);return e=Math.exp(r.re*i-r.im*n),t=r.im*i+r.re*n,new u(e*Math.cos(t),e*Math.sin(t))},sqrt:function(){var e,t,r=this.re,n=this.im,i=this.abs();if(r>=0){if(0===n)return new u(Math.sqrt(r),0);e=.5*Math.sqrt(2*(i+r))}else e=Math.abs(n)/Math.sqrt(2*(i-r));return t=r<=0?.5*Math.sqrt(2*(i-r)):Math.abs(n)/Math.sqrt(2*(i+r)),new u(e,n<0?-t:t)},exp:function(){var e=Math.exp(this.re);return this.im,new u(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){var e=this.re,t=this.im;return new u(Math.expm1(e)*Math.cos(t)+function(e){var t=Math.PI/4;if(-t>e||e>t)return Math.cos(e)-1;var r=e*e;return r*(r*(r*(r*(r*(r*(r*(r/20922789888e3-1/87178291200)+1/479001600)-1/3628800)+1/40320)-1/720)+1/24)-.5)}(t),Math.exp(e)*Math.sin(t))},log:function(){var e=this.re,t=this.im;return new u(s(e,t),Math.atan2(t,e))},abs:function(){return e=this.re,t=this.im,r=Math.abs(e),n=Math.abs(t),r<3e3&&n<3e3?Math.sqrt(r*r+n*n):(r1&&0===t,n=1-e,i=1+e,a=n*n+t*t,o=0!==a?new u((i*n-t*t)/a,(t*n+i*t)/a):new u(-1!==e?e/0:0,0!==t?t/0:0),c=o.re;return o.re=s(o.re,o.im)/2,o.im=Math.atan2(o.im,c)/2,r&&(o.im=-o.im),o},acoth:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new u(0,Math.PI/2);var r=e*e+t*t;return 0!==r?new u(e/r,-t/r).atanh():new u(0!==e?e/0:0,0!==t?-t/0:0).atanh()},acsch:function(){var e=this.re,t=this.im;if(0===t)return new u(0!==e?Math.log(e+Math.sqrt(e*e+1)):1/0,0);var r=e*e+t*t;return 0!==r?new u(e/r,-t/r).asinh():new u(0!==e?e/0:0,0!==t?-t/0:0).asinh()},asech:function(){var e=this.re,t=this.im;if(this.isZero())return u.INFINITY;var r=e*e+t*t;return 0!==r?new u(e/r,-t/r).acosh():new u(0!==e?e/0:0,0!==t?-t/0:0).acosh()},inverse:function(){if(this.isZero())return u.INFINITY;if(this.isInfinite())return u.ZERO;var e=this.re,t=this.im,r=e*e+t*t;return new u(e/r,-t/r)},conjugate:function(){return new u(this.re,-this.im)},neg:function(){return new u(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new u(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new u(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new u(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){var r=new u(e,t);return Math.abs(r.re-this.re)<=u.EPSILON&&Math.abs(r.im-this.im)<=u.EPSILON},clone:function(){return new u(this.re,this.im)},toString:function(){var e=this.re,t=this.im,r="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e)9007199254740991)throw p("Maximum allowed length exceeded");for(i=c(y,n),l=0;lg-n+r;l--)delete y[l-1]}else if(r>n)for(l=g-n;l>x;l--)v=l+r-1,(d=l+n-1)in y?y[v]=y[d]:delete y[v];for(l=0;l=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var h=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(e){}},function(e,t,r){var n=r(1),i=r(18),a=r(28),o=r(58),s=r(125),u=r(107),c=r(49),f=r(91).CONFIGURABLE,l=c.get,p=c.enforce,h=String(String).split("String");(e.exports=function(e,t,r,u){var c,l=!!u&&!!u.unsafe,m=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet,v=u&&void 0!==u.name?u.name:t;i(r)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||f&&r.name!==v)&&o(r,"name",v),(c=p(r)).source||(c.source=h.join("string"==typeof v?v:""))),e!==n?(l?!d&&e[t]&&(m=!0):delete e[t],m?e[t]=r:o(e,t,r)):m?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&l(this).source||u(this)}))},function(e,t,r){var n=r(1),i=r(161),a=r(162),o=r(39),s=r(58),u=r(19),c=u("iterator"),f=u("toStringTag"),l=o.values,p=function(e,t){if(e){if(e[c]!==l)try{s(e,c,l)}catch(t){e[c]=l}if(e[f]||s(e,f,t),i[t])for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(t){e[r]=o[r]}}};for(var h in i)p(n[h]&&n[h].prototype,h);p(a,"DOMTokenList")},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,r){var n=r(100),i=r(48);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(109);e.exports=function(e){return n(e.length)}},function(e,t,r){"use strict";var n=r(2),i=r(6),a=r(57),o=r(36),s=r(44),u=r(29),c=r(11),f=r(211),l=r(68),p=r(212),h=r(213),m=r(74),d=r(214),v=[],y=i(v.sort),g=i(v.push),x=c((function(){v.sort(void 0)})),b=c((function(){v.sort(null)})),w=l("sort"),N=!c((function(){if(m)return m<70;if(!(p&&p>3)){if(h)return!0;if(d)return d<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:t+n,v:r})}for(v.sort((function(e,t){return t.v-e.v})),n=0;nu(r)?1:-1}}(e)),r=i.length,n=0;n1?arguments[1]:void 0)}})},function(e,t,r){var n=r(6),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},function(e,t,r){var n=r(1).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},function(e,t,r){var n,i,a,o=r(205),s=r(1),u=r(6),c=r(24),f=r(58),l=r(28),p=r(124),h=r(108),m=r(90),d=s.TypeError,v=s.WeakMap;if(o||p.state){var y=p.state||(p.state=new v),g=u(y.get),x=u(y.has),b=u(y.set);n=function(e,t){if(x(y,e))throw new d("Object already initialized");return t.facade=e,b(y,e,t),t},i=function(e){return g(y,e)||{}},a=function(e){return x(y,e)}}else{var w=h("state");m[w]=!0,n=function(e,t){if(l(e,w))throw new d("Object already initialized");return t.facade=e,f(e,w,t),t},i=function(e){return l(e,w)?e[w]:{}},a=function(e){return l(e,w)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw d("Incompatible receiver, "+e+" required");return r}}}},function(e,t,r){"use strict";var n=r(2),i=r(1),a=r(51),o=r(96),s=r(27),u=r(6),c=r(76),f=r(21),l=r(123),p=r(11),h=r(28),m=r(79),d=r(18),v=r(24),y=r(56),g=r(102),x=r(25),b=r(36),w=r(43),N=r(101),M=r(29),E=r(89),S=r(67),A=r(127),O=r(77),_=r(180),C=r(157),T=r(65),I=r(23),k=r(150),z=r(112),R=r(40),q=r(104),B=r(108),D=r(90),j=r(105),F=r(19),P=r(186),U=r(187),L=r(98),$=r(49),H=r(69).forEach,G=B("hidden"),V=F("toPrimitive"),Z=$.set,W=$.getterFor("Symbol"),Y=Object.prototype,J=i.Symbol,X=J&&J.prototype,Q=i.TypeError,K=i.QObject,ee=a("JSON","stringify"),te=T.f,re=I.f,ne=_.f,ie=k.f,ae=u([].push),oe=q("symbols"),se=q("op-symbols"),ue=q("string-to-symbol-registry"),ce=q("symbol-to-string-registry"),fe=q("wks"),le=!K||!K.prototype||!K.prototype.findChild,pe=f&&p((function(){return 7!=S(re({},"a",{get:function(){return re(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=te(Y,t);n&&delete Y[t],re(e,t,r),n&&e!==Y&&re(Y,t,n)}:re,he=function(e,t){var r=oe[e]=S(X);return Z(r,{type:"Symbol",tag:e,description:t}),f||(r.description=t),r},me=function(e,t,r){e===Y&&me(se,t,r),x(e);var n=N(t);return x(r),h(oe,n)?(r.enumerable?(h(e,G)&&e[G][n]&&(e[G][n]=!1),r=S(r,{enumerable:E(0,!1)})):(h(e,G)||re(e,G,E(1,{})),e[G][n]=!0),pe(e,n,r)):re(e,n,r)},de=function(e,t){x(e);var r=w(t),n=A(r).concat(xe(r));return H(n,(function(t){f&&!s(ve,r,t)||me(e,t,r[t])})),e},ve=function(e){var t=N(e),r=s(ie,this,t);return!(this===Y&&h(oe,t)&&!h(se,t))&&(!(r||!h(this,t)||!h(oe,t)||h(this,G)&&this[G][t])||r)},ye=function(e,t){var r=w(e),n=N(t);if(r!==Y||!h(oe,n)||h(se,n)){var i=te(r,n);return!i||!h(oe,n)||h(r,G)&&r[G][n]||(i.enumerable=!0),i}},ge=function(e){var t=ne(w(e)),r=[];return H(t,(function(e){h(oe,e)||h(D,e)||ae(r,e)})),r},xe=function(e){var t=e===Y,r=ne(t?se:w(e)),n=[];return H(r,(function(e){!h(oe,e)||t&&!h(Y,e)||ae(n,oe[e])})),n};(l||(R(X=(J=function(){if(y(X,this))throw Q("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?M(arguments[0]):void 0,t=j(e),r=function(e){this===Y&&s(r,se,e),h(this,G)&&h(this[G],t)&&(this[G][t]=!1),pe(this,t,E(1,e))};return f&&le&&pe(Y,t,{configurable:!0,set:r}),he(t,e)}).prototype,"toString",(function(){return W(this).tag})),R(J,"withoutSetter",(function(e){return he(j(e),e)})),k.f=ve,I.f=me,T.f=ye,O.f=_.f=ge,C.f=xe,P.f=function(e){return he(F(e),e)},f&&(re(X,"description",{configurable:!0,get:function(){return W(this).description}}),c||R(Y,"propertyIsEnumerable",ve,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:J}),H(A(fe),(function(e){U(e)})),n({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=M(e);if(h(ue,t))return ue[t];var r=J(t);return ue[t]=r,ce[r]=t,r},keyFor:function(e){if(!g(e))throw Q(e+" is not a symbol");if(h(ce,e))return ce[e]},useSetter:function(){le=!0},useSimple:function(){le=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!f},{create:function(e,t){return void 0===t?S(e):de(S(e),t)},defineProperty:me,defineProperties:de,getOwnPropertyDescriptor:ye}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ge,getOwnPropertySymbols:xe}),n({target:"Object",stat:!0,forced:p((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(b(e))}}),ee)&&n({target:"JSON",stat:!0,forced:!l||p((function(){var e=J();return"[null]"!=ee([e])||"{}"!=ee({a:e})||"{}"!=ee(Object(e))}))},{stringify:function(e,t,r){var n=z(arguments),i=t;if((v(t)||void 0!==e)&&!g(e))return m(t)||(t=function(e,t){if(d(i)&&(t=s(i,this,e,t)),!g(t))return t}),n[1]=t,o(ee,null,n)}});if(!X[V]){var be=X.valueOf;R(X,V,(function(e){return s(be,this)}))}L(J,"Symbol"),D[G]=!0},function(e,t,r){var n=r(1),i=r(18),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(n[e]):n[e]&&n[e][t]}},function(e,t,r){var n=r(2),i=r(1),a=r(51),o=r(96),s=r(6),u=r(11),c=i.Array,f=a("JSON","stringify"),l=s(/./.exec),p=s("".charAt),h=s("".charCodeAt),m=s("".replace),d=s(1..toString),v=/[\uD800-\uDFFF]/g,y=/^[\uD800-\uDBFF]$/,g=/^[\uDC00-\uDFFF]$/,x=function(e,t,r){var n=p(r,t-1),i=p(r,t+1);return l(y,e)&&!l(g,i)||l(g,e)&&!l(y,n)?"\\u"+d(h(e,0),16):e},b=u((function(){return'"\\udf06\\ud834"'!==f("\udf06\ud834")||'"\\udead"'!==f("\udead")}));f&&n({target:"JSON",stat:!0,forced:b},{stringify:function(e,t,r){for(var n=0,i=arguments.length,a=c(i);n1||"".split(/.?/).length?function(e,r){var a=h(c(this)),o=void 0===r?4294967295:r>>>0;if(0===o)return[];if(void 0===e)return[a];if(!s(e))return i(t,a,e,o);for(var u,f,l,p=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,g=new RegExp(e.source,m+"g");(u=i(y,g,a))&&!((f=g.lastIndex)>v&&(E(p,S(a,v,u.index)),u.length>1&&u.index=o));)g.lastIndex===u.index&&g.lastIndex++;return v===a.length?!l&&M(g,"")||E(p,""):E(p,S(a,v)),p.length>o?d(p,0,o):p}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:i(t,this,e,r)}:t,[function(t,r){var n=c(this),o=null==t?void 0:m(t,e);return o?i(o,t,n,r):i(a,h(n),t,r)},function(e,n){var i=u(this),o=h(e),s=r(a,i,o,n,a!==t);if(s.done)return s.value;var c=f(i,RegExp),m=i.unicode,d=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),y=new c(b?"^(?:"+i.source+")":i,d),g=void 0===n?4294967295:n>>>0;if(0===g)return[];if(0===o.length)return null===v(y,o)?[o]:[];for(var x=0,N=0,M=[];N=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(6);e.exports=n({}.isPrototypeOf)},function(e,t,r){var n=r(1),i=r(18),a=r(103),o=n.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}},function(e,t,r){var n=r(21),i=r(23),a=r(89);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}},function(e,t,r){var n=r(2),i=r(21);n({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:r(23).f})},function(e,t,r){"use strict";var n=r(2),i=r(69).every;n({target:"Array",proto:!0,forced:!r(68)("every")},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,r){var n=r(2),i=r(223);n({global:!0,forced:parseFloat!=i},{parseFloat:i})},function(e,t,r){"use strict";var n=r(2),i=r(21),a=r(1),o=r(6),s=r(28),u=r(18),c=r(56),f=r(29),l=r(23).f,p=r(153),h=a.Symbol,m=h&&h.prototype;if(i&&u(h)&&(!("description"in m)||void 0!==h().description)){var d={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),t=c(m,this)?new h(e):void 0===e?h():h(e);return""===e&&(d[t]=!0),t};p(v,h),v.prototype=m,m.constructor=v;var y="Symbol(test)"==String(h("test")),g=o(m.toString),x=o(m.valueOf),b=/^Symbol\((.*)\)[^)]+$/,w=o("".replace),N=o("".slice);l(m,"description",{configurable:!0,get:function(){var e=x(this),t=g(e);if(s(d,e))return"";var r=y?N(t,7,-1):w(t,b,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:v})}},function(e,t,r){e.exports=r(251)},function(e,t,r){var n=r(21),i=r(27),a=r(150),o=r(89),s=r(43),u=r(101),c=r(28),f=r(152),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=s(e),t=u(t),f)try{return l(e,t)}catch(e){}if(c(e,t))return o(!i(a.f,e,t),e[t])}},function(e,t,r){var n=r(51);e.exports=n("navigator","userAgent")||""},function(e,t,r){var n,i=r(25),a=r(158),o=r(126),s=r(90),u=r(159),c=r(106),f=r(108),l=f("IE_PROTO"),p=function(){},h=function(e){return"