summaryrefslogtreecommitdiffstats
path: root/js/vendor/es6-shim/es6-shim.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/es6-shim/es6-shim.min.js')
-rw-r--r--js/vendor/es6-shim/es6-shim.min.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/vendor/es6-shim/es6-shim.min.js b/js/vendor/es6-shim/es6-shim.min.js
index c4ec2ab24..a359ca28c 100644
--- a/js/vendor/es6-shim/es6-shim.min.js
+++ b/js/vendor/es6-shim/es6-shim.min.js
@@ -7,7 +7,6 @@
* Details and documentation:
* https://github.com/paulmillr/es6-shim/
*/
-(function(e,t){if(typeof define==="function"&&define.amd){define(t)}else if(typeof exports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){"use strict";var e=function zt(e){return function t(){return!e.apply(this,arguments)}};var t=function(e){try{e();return false}catch(t){return true}};var r=function Dt(e){try{return e()}catch(t){return false}};var n=e(t);var o=function(e,t){if(!Object.setPrototypeOf){return false}return r(function(){var r=function n(t){var r=new e(t);Object.setPrototypeOf(r,n.prototype);return r};r.prototype=E(e.prototype,{constructor:{value:e}});return t(r)})};var i=function(){return!t(function(){Object.defineProperty({},"x",{})})};var a=function(){return String.prototype.startsWith&&t(function(){"/a/".startsWith(/a/)})};var u=function(){return String.prototype.startsWith&&"abc".startsWith("a",Infinity)===false}();var s=new Function("return this;");var f=s();var c=f.isFinite;var l=!!Object.defineProperty&&i();var p=function(){return this===null}.call(null);var v=a()&&u;var h=Function.call.bind(String.prototype.indexOf);var y=Function.call.bind(Object.prototype.toString);var b=Function.call.bind(Object.prototype.hasOwnProperty);var g;var d=function(){};var m=f.Symbol||{};var O=m.species||"@@species";var w={object:function(e){return e!==null&&typeof e==="object"},string:function(e){return y(e)==="[object String]"},regex:function(e){return y(e)==="[object RegExp]"},symbol:function(e){return typeof f.Symbol==="function"&&typeof e==="symbol"}};var j=Number.isNaN||function Ft(e){return e!==e};var S=Number.isFinite||function qt(e){return typeof e==="number"&&c(e)};var T=function(e,t,r,n){if(!n&&t in e){return}if(l){Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:r})}else{e[t]=r}};var M={getter:function(e,t,r){if(!l){throw new TypeError("getters require true ES5 support")}Object.defineProperty(e,t,{configurable:true,enumerable:false,get:r})},proxy:function(e,t,r){if(!l){throw new TypeError("getters require true ES5 support")}var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,{configurable:n.configurable,enumerable:n.enumerable,get:function o(){return e[t]},set:function i(r){e[t]=r}})},redefine:function(e,t,r){if(l){var n=Object.getOwnPropertyDescriptor(e,t);n.value=r;Object.defineProperty(e,t,n)}else{e[t]=r}},preserveToString:function(e,t){T(e,"toString",t.toString.bind(t),true)}};var I=function(e,t){Object.keys(t).forEach(function(r){var n=t[r];T(e,r,n,false)})};var E=Object.create||function(e,t){function r(){}r.prototype=e;var n=new r;if(typeof t!=="undefined"){I(n,t)}return n};var x=w.symbol(m.iterator)?m.iterator:"_es6-shim iterator_";if(f.Set&&typeof(new f.Set)["@@iterator"]==="function"){x="@@iterator"}var P=function(e,t){if(!t){t=function n(){return this}}var r={};r[x]=t;I(e,r);if(!e[x]&&w.symbol(x)){e[x]=t}};var _=function Gt(e){var t=y(e);var r=t==="[object Arguments]";if(!r){r=t!=="[object Array]"&&e!==null&&typeof e==="object"&&typeof e.length==="number"&&e.length>=0&&y(e.callee)==="[object Function]"}return r};var N=Function.call.bind(Function.apply);var C={Call:function Ht(e,t){var r=arguments.length>2?arguments[2]:[];if(!C.IsCallable(e)){throw new TypeError(e+" is not a function")}return N(e,t,r)},RequireObjectCoercible:function(e,t){if(e==null){throw new TypeError(t||"Cannot call method on "+e)}},TypeIsObject:function(e){return e!=null&&Object(e)===e},ToObject:function(e,t){C.RequireObjectCoercible(e,t);return Object(e)},IsCallable:function(e){return typeof e==="function"&&y(e)==="[object Function]"},ToInt32:function(e){return C.ToNumber(e)>>0},ToUint32:function(e){return C.ToNumber(e)>>>0},ToNumber:function(e){if(y(e)==="[object Symbol]"){throw new TypeError("Cannot convert a Symbol value to a number")}return+e},ToInteger:function(e){var t=C.ToNumber(e);if(j(t)){return 0}if(t===0||!S(t)){return t}return(t>0?1:-1)*Math.floor(Math.abs(t))},ToLength:function(e){var t=C.ToInteger(e);if(t<=0){return 0}if(t>Number.MAX_SAFE_INTEGER){return Number.MAX_SAFE_INTEGER}return t},SameValue:function(e,t){if(e===t){if(e===0){return 1/e===1/t}return true}return j(e)&&j(t)},SameValueZero:function(e,t){return e===t||j(e)&&j(t)},IsIterable:function(e){return C.TypeIsObject(e)&&(typeof e[x]!=="undefined"||_(e))},GetIterator:function(e){if(_(e)){return new g(e,"value")}var t=e[x];if(!C.IsCallable(t)){throw new TypeError("value is not an iterable")}var r=t.call(e);if(!C.TypeIsObject(r)){throw new TypeError("bad iterator")}return r},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!C.TypeIsObject(t)){throw new TypeError("bad iterator")}return t},Construct:function(e,t){var r;if(C.IsCallable(e[O])){r=e[O]()}else{r=E(e.prototype||null)}I(r,{_es6construct:true});var n=C.Call(e,r,t);return C.TypeIsObject(n)?n:r},CreateHTML:function(e,t,r,n){var o=String(e);var i="<"+t;if(r!==""){var a=String(n);var u=a.replace(/"/g,"&quot;");i+=" "+r+'="'+u+'"'}var s=i+">";var f=s+o;return f+"</"+t+">"}};var k=function(e){if(!C.TypeIsObject(e)){throw new TypeError("bad object")}if(!e._es6construct){if(e.constructor&&C.IsCallable(e.constructor[O])){e=e.constructor[O](e)}I(e,{_es6construct:true})}return e};if(String.fromCodePoint&&String.fromCodePoint.length!==1){var A=Function.apply.bind(String.fromCodePoint);T(String,"fromCodePoint",function Wt(e){return A(this,arguments)},true)}var R={fromCodePoint:function Vt(e){var t=[];var r;for(var n=0,o=arguments.length;n<o;n++){r=Number(arguments[n]);if(!C.SameValue(r,C.ToInteger(r))||r<0||r>1114111){throw new RangeError("Invalid code point "+r)}if(r<65536){t.push(String.fromCharCode(r))}else{r-=65536;t.push(String.fromCharCode((r>>10)+55296));t.push(String.fromCharCode(r%1024+56320))}}return t.join("")},raw:function $t(e){var t=C.ToObject(e,"bad callSite");var r=C.ToObject(t.raw,"bad raw value");var n=r.length;var o=C.ToLength(n);if(o<=0){return""}var i=[];var a=0;var u,s,f,c;while(a<o){u=String(a);f=String(r[u]);i.push(f);if(a+1>=o){break}s=a+1<arguments.length?arguments[a+1]:"";c=String(s);i.push(c);a++}return i.join("")}};I(String,R);if(String.raw({raw:{0:"x",1:"y",length:2}})!=="xy"){var L=String.raw;T(String,"raw",R.raw,true);M.preserveToString(String.raw,L)}var z=function Ut(e,t){if(t<1){return""}if(t%2){return Ut(e,t-1)+e}var r=Ut(e,t/2);return r+r};var D=Infinity;var F={repeat:function Xt(e){C.RequireObjectCoercible(this);var t=String(this);e=C.ToInteger(e);if(e<0||e>=D){throw new RangeError("repeat count must be less than infinity and not overflow maximum string size")}return z(t,e)},startsWith:function Zt(e){C.RequireObjectCoercible(this);var t=String(this);if(w.regex(e)){throw new TypeError('Cannot call method "startsWith" with a regex')}e=String(e);var r=arguments.length>1?arguments[1]:void 0;var n=Math.max(C.ToInteger(r),0);return t.slice(n,n+e.length)===e},endsWith:function Kt(e){C.RequireObjectCoercible(this);var t=String(this);if(w.regex(e)){throw new TypeError('Cannot call method "endsWith" with a regex')}e=String(e);var r=t.length;var n=arguments.length>1?arguments[1]:void 0;var o=typeof n==="undefined"?r:C.ToInteger(n);var i=Math.min(Math.max(o,0),r);return t.slice(i-e.length,i)===e},includes:function Bt(e){var t=arguments.length>1?arguments[1]:void 0;return h(this,e,t)!==-1},codePointAt:function Jt(e){C.RequireObjectCoercible(this);var t=String(this);var r=C.ToInteger(e);var n=t.length;if(r>=0&&r<n){var o=t.charCodeAt(r);var i=r+1===n;if(o<55296||o>56319||i){return o}var a=t.charCodeAt(r+1);if(a<56320||a>57343){return o}return(o-55296)*1024+(a-56320)+65536}}};I(String.prototype,F);if("a".includes("a",Infinity)!==false){var q=String.prototype.includes;T(String.prototype,"includes",F.includes,true);M.preserveToString(String.prototype.includes,q)}var G="\x85".trim().length!==1;if(G){delete String.prototype.trim;var H=[" \n \f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003","\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028","\u2029\ufeff"].join("");var W=new RegExp("(^["+H+"]+)|(["+H+"]+$)","g");I(String.prototype,{trim:function Qt(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(W,"")}})}var V=function(e){C.RequireObjectCoercible(e);this._s=String(e);this._i=0};V.prototype.next=function(){var e=this._s,t=this._i;if(typeof e==="undefined"||t>=e.length){this._s=void 0;return{value:void 0,done:true}}var r=e.charCodeAt(t),n,o;if(r<55296||r>56319||t+1===e.length){o=1}else{n=e.charCodeAt(t+1);o=n<56320||n>57343?1:2}this._i=t+o;return{value:e.substr(t,o),done:false}};P(V.prototype);P(String.prototype,function(){return new V(this)});if(!v){T(String.prototype,"startsWith",F.startsWith,true);T(String.prototype,"endsWith",F.endsWith,true)}var $={from:function Yt(e){var t=arguments.length>1?arguments[1]:void 0;var r=C.ToObject(e,"bad iterable");if(typeof t!=="undefined"&&!C.IsCallable(t)){throw new TypeError("Array.from: when provided, the second argument must be a function")}var n=arguments.length>2;var o=n?arguments[2]:void 0;var i=C.IsIterable(r);var a;var u,s,f;if(i){s=0;u=C.IsCallable(this)?Object(new this):[];var c=i?C.GetIterator(r):null;var l;do{l=C.IteratorNext(c);if(!l.done){f=l.value;if(t){u[s]=n?t.call(o,f,s):t(f,s)}else{u[s]=f}s+=1}}while(!l.done);a=s}else{a=C.ToLength(r.length);u=C.IsCallable(this)?Object(new this(a)):new Array(a);for(s=0;s<a;++s){f=r[s];if(t){u[s]=n?t.call(o,f,s):t(f,s)}else{u[s]=f}}}u.length=a;return u},of:function er(){return Array.from.call(this,arguments)}};I(Array,$);var U=function(e){return{value:e,done:arguments.length===0}};g=function(e,t){this.i=0;this.array=e;this.kind=t};I(g.prototype,{next:function(){var e=this.i,t=this.array;if(!(this instanceof g)){throw new TypeError("Not an ArrayIterator")}if(typeof t!=="undefined"){var r=C.ToLength(t.length);for(;e<r;e++){var n=this.kind;var o;if(n==="key"){o=e}else if(n==="value"){o=t[e]}else if(n==="entry"){o=[e,t[e]]}this.i=e+1;return{value:o,done:false}}}this.array=void 0;return{value:void 0,done:true}}});P(g.prototype);var X=function(e,t){this.object=e;this.array=null;this.kind=t};function Z(e){var t=[];for(var r in e){t.push(r)}return t}I(X.prototype,{next:function(){var e,t=this.array;if(!(this instanceof X)){throw new TypeError("Not an ObjectIterator")}if(t===null){t=this.array=Z(this.object)}while(C.ToLength(t.length)>0){e=t.shift();if(!(e in this.object)){continue}if(this.kind==="key"){return U(e)}else if(this.kind==="value"){return U(this.object[e])}else{return U([e,this.object[e]])}}return U()}});P(X.prototype);var K=function(){var e=function r(e){this.length=e};e.prototype=[];var t=Array.of.apply(e,[1,2]);return t instanceof e&&t.length===2}();if(!K){var B=Array.of;T(Array,"of",$.of,true);M.preserveToString(Array.of,B)}var J={copyWithin:function tr(e,t){var r=arguments[2];var n=C.ToObject(this);var o=C.ToLength(n.length);e=C.ToInteger(e);t=C.ToInteger(t);var i=e<0?Math.max(o+e,0):Math.min(e,o);var a=t<0?Math.max(o+t,0):Math.min(t,o);r=typeof r==="undefined"?o:C.ToInteger(r);var u=r<0?Math.max(o+r,0):Math.min(r,o);var s=Math.min(u-a,o-i);var f=1;if(a<i&&i<a+s){f=-1;a+=s-1;i+=s-1}while(s>0){if(b(n,a)){n[i]=n[a]}else{delete n[a]}a+=f;i+=f;s-=1}return n},fill:function rr(e){var t=arguments.length>1?arguments[1]:void 0;var r=arguments.length>2?arguments[2]:void 0;var n=C.ToObject(this);var o=C.ToLength(n.length);t=C.ToInteger(typeof t==="undefined"?0:t);r=C.ToInteger(typeof r==="undefined"?o:r);var i=t<0?Math.max(o+t,0):Math.min(t,o);var a=r<0?o+r:r;for(var u=i;u<o&&u<a;++u){n[u]=e}return n},find:function nr(e){var t=C.ToObject(this);var r=C.ToLength(t.length);if(!C.IsCallable(e)){throw new TypeError("Array#find: predicate must be a function")}var n=arguments.length>1?arguments[1]:null;for(var o=0,i;o<r;o++){i=t[o];if(n){if(e.call(n,i,o,t)){return i}}else if(e(i,o,t)){return i}}},findIndex:function or(e){var t=C.ToObject(this);var r=C.ToLength(t.length);if(!C.IsCallable(e)){throw new TypeError("Array#findIndex: predicate must be a function")}var n=arguments.length>1?arguments[1]:null;for(var o=0;o<r;o++){if(n){if(e.call(n,t[o],o,t)){return o}}else if(e(t[o],o,t)){return o}}return-1},keys:function ir(){return new g(this,"key")},values:function ar(){return new g(this,"value")},entries:function ur(){return new g(this,"entry")}};if(Array.prototype.keys&&!C.IsCallable([1].keys().next)){delete Array.prototype.keys}if(Array.prototype.entries&&!C.IsCallable([1].entries().next)){delete Array.prototype.entries}if(Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototype[x]){I(Array.prototype,{values:Array.prototype[x]});if(w.symbol(m.unscopables)){Array.prototype[m.unscopables].values=true}}if(Array.prototype.values&&Array.prototype.values.name!=="values"){var Q=Array.prototype.values;T(Array.prototype,"values",function sr(){return Q.call(this)},true);T(Array.prototype,x,Array.prototype.values,true);M.preserveToString(Array.prototype.values,Q)}I(Array.prototype,J);P(Array.prototype,function(){return this.values()});if(Object.getPrototypeOf){P(Object.getPrototypeOf([].values()))}var Y=function(){return r(function(){return Array.from({length:-1}).length===0})};var ee=function(){var e=Array.from([0].entries());return e.length===1&&e[0][0]===0&&e[0][1]===1}();if(!Y()||!ee){var te=Array.from;T(Array,"from",$.from,true);M.preserveToString(Array.from,te)}var re=Math.pow(2,53)-1;I(Number,{MAX_SAFE_INTEGER:re,MIN_SAFE_INTEGER:-re,EPSILON:2.220446049250313e-16,parseInt:f.parseInt,parseFloat:f.parseFloat,isFinite:S,isInteger:function fr(e){return S(e)&&C.ToInteger(e)===e},isSafeInteger:function cr(e){return Number.isInteger(e)&&Math.abs(e)<=Number.MAX_SAFE_INTEGER},isNaN:j});if(![,1].find(function(e,t){return t===0})){T(Array.prototype,"find",J.find,true)}if([,1].findIndex(function(e,t){return t===0})!==0){T(Array.prototype,"findIndex",J.findIndex,true)}I(Object,{is:function lr(e,t){return C.SameValue(e,t)}});if(l){var ne=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable);var oe=function(e,t){var r=Object.keys(Object(t));var n;if(C.IsCallable(Object.getOwnPropertySymbols)){n=Object.getOwnPropertySymbols(Object(t)).filter(ne(t))}return r.concat(n||[]).reduce(function(e,r){e[r]=t[r];return e},e)};var ie={assign:function(e,t){if(!C.TypeIsObject(e)){throw new TypeError("target must be an object")}return Array.prototype.reduce.call(arguments,oe)},setPrototypeOf:function(e,t){var r;var n=function(e,t){if(!C.TypeIsObject(e)){throw new TypeError("cannot set prototype on a non-object")}if(!(t===null||C.TypeIsObject(t))){throw new TypeError("can only set prototype to an object or null"+t)}};var o=function(e,t){n(e,t);r.call(e,t);return e};try{r=e.getOwnPropertyDescriptor(e.prototype,t).set;r.call({},null)}catch(i){if(e.prototype!=={}[t]){return}r=function(e){this[t]=e};o.polyfill=o(o({},null),e.prototype)instanceof e}return o}(Object,"__proto__")};var ae=Object.assign&&Object.preventExtensions&&function(){var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return e[1]==="y"}}();if(ae){var ue=Object.assign;T(Object,"assign",ie.assign,true);M.preserveToString(Object.assign,ue)}I(Object,ie)}if(Object.setPrototypeOf&&Object.getPrototypeOf&&Object.getPrototypeOf(Object.setPrototypeOf({},null))!==null&&Object.getPrototypeOf(Object.create(null))===null){(function(){var e=Object.create(null);var t=Object.getPrototypeOf,r=Object.setPrototypeOf;Object.getPrototypeOf=function(r){var n=t(r);return n===e?null:n};Object.setPrototypeOf=function(t,n){if(n===null){n=e}return r(t,n)};Object.setPrototypeOf.polyfill=false})()}var se=!t(function(){Object.keys("foo")});if(!se){var fe=Object.keys;T(Object,"keys",function pr(e){return fe(C.ToObject(e))},true);M.preserveToString(Object.keys,fe)}if(Object.getOwnPropertyNames){var ce=!t(function(){Object.getOwnPropertyNames("foo")});if(!ce){var le=Object.getOwnPropertyNames;T(Object,"getOwnPropertyNames",function vr(e){return le(C.ToObject(e))},true);M.preserveToString(Object.getOwnPropertyNames,le)}}if(Object.getOwnPropertyDescriptor){var pe=!t(function(){Object.getOwnPropertyDescriptor("foo","bar")});if(!pe){var ve=Object.getOwnPropertyDescriptor;T(Object,"getOwnPropertyDescriptor",function hr(e,t){return ve(C.ToObject(e),t)},true);M.preserveToString(Object.getOwnPropertyDescriptor,ve)}}if(Object.seal){var he=!t(function(){Object.seal("foo")});if(!he){var ye=Object.seal;T(Object,"seal",function yr(e){if(!w.object(e)){return e}return ye(e)},true);M.preserveToString(Object.seal,ye)}}if(Object.isSealed){var be=!t(function(){Object.isSealed("foo")});if(!be){var ge=Object.isSealed;T(Object,"isSealed",function br(e){if(!w.object(e)){return true}return ge(e)},true);M.preserveToString(Object.isSealed,ge)}}if(Object.freeze){var de=!t(function(){Object.freeze("foo")});if(!de){var me=Object.freeze;T(Object,"freeze",function gr(e){if(!w.object(e)){return e}return me(e)},true);M.preserveToString(Object.freeze,me)}}if(Object.isFrozen){var Oe=!t(function(){Object.isFrozen("foo")});if(!Oe){var we=Object.isFrozen;T(Object,"isFrozen",function dr(e){if(!w.object(e)){return true}return we(e)},true);M.preserveToString(Object.isFrozen,we)}}if(Object.preventExtensions){var je=!t(function(){Object.preventExtensions("foo")});if(!je){var Se=Object.preventExtensions;T(Object,"preventExtensions",function mr(e){if(!w.object(e)){return e}return Se(e)},true);M.preserveToString(Object.preventExtensions,Se)}}if(Object.isExtensible){var Te=!t(function(){Object.isExtensible("foo")});if(!Te){var Me=Object.isExtensible;T(Object,"isExtensible",function Or(e){if(!w.object(e)){return false}return Me(e)},true);M.preserveToString(Object.isExtensible,Me)}}if(Object.getPrototypeOf){var Ie=!t(function(){Object.getPrototypeOf("foo")});if(!Ie){var Ee=Object.getPrototypeOf;T(Object,"getPrototypeOf",function wr(e){return Ee(C.ToObject(e))},true);M.preserveToString(Object.getPrototypeOf,Ee)}}if(!RegExp.prototype.flags&&l){var xe=function jr(){if(!C.TypeIsObject(this)){throw new TypeError("Method called on incompatible type: must be an object.")}var e="";if(this.global){e+="g"}if(this.ignoreCase){e+="i"}if(this.multiline){e+="m"}if(this.unicode){e+="u"}if(this.sticky){e+="y"}return e};M.getter(RegExp.prototype,"flags",xe)}var Pe=r(function(){return String(new RegExp(/a/g,"i"))==="/a/i"});if(!Pe&&l){var _e=RegExp;var Ne=function Sr(e,t){if(w.regex(e)&&w.string(t)){return new Sr(e.source,t)}return new _e(e,t)};M.preserveToString(Ne,_e);if(Object.setPrototypeOf){Object.setPrototypeOf(_e,Ne)}Object.getOwnPropertyNames(_e).forEach(function(e){if(e==="$input"){return}if(e in d){return}M.proxy(_e,e,Ne)});Ne.prototype=_e.prototype;M.redefine(_e.prototype,"constructor",Ne);RegExp=Ne;M.redefine(f,"RegExp",Ne)}if(l){var Ce={input:"$_",lastMatch:"$&",lastParen:"$+",leftContext:"$`",rightContext:"$'"};Object.keys(Ce).forEach(function(e){if(e in RegExp&&!(Ce[e]in RegExp)){M.getter(RegExp,Ce[e],function t(){return RegExp[e]})}})}var ke=function(e){return e*e};var Ae=function(e,t){return e+t};var Re=1/Number.EPSILON;var Le=function Tr(e){return e+Re-Re};var ze=Math.pow(2,-23);var De=Math.pow(2,127)*(2-ze);var Fe=Math.pow(2,-126);var qe={acosh:function Mr(e){var t=Number(e);if(Number.isNaN(t)||e<1){return NaN}if(t===1){return 0}if(t===Infinity){return t}return Math.log(t/Math.E+Math.sqrt(t+1)*Math.sqrt(t-1)/Math.E)+1},asinh:function Ir(e){e=Number(e);if(e===0||!c(e)){return e}return e<0?-Math.asinh(-e):Math.log(e+Math.sqrt(e*e+1))},atanh:function Er(e){e=Number(e);if(Number.isNaN(e)||e<-1||e>1){return NaN}if(e===-1){return-Infinity}if(e===1){return Infinity}if(e===0){return e}return.5*Math.log((1+e)/(1-e))},cbrt:function xr(e){e=Number(e);if(e===0){return e}var t=e<0,r;if(t){e=-e}r=Math.pow(e,1/3);return t?-r:r},clz32:function Pr(e){e=Number(e);var t=C.ToUint32(e);if(t===0){return 32}return 31-Math.floor(Math.log(t+.5)*Math.LOG2E)},cosh:function _r(e){e=Number(e);if(e===0){return 1}if(Number.isNaN(e)){return NaN}if(!c(e)){return Infinity}if(e<0){e=-e}if(e>21){return Math.exp(e)/2}return(Math.exp(e)+Math.exp(-e))/2},expm1:function Nr(e){var t=Number(e);if(t===-Infinity){return-1}if(!c(t)||e===0){return t}if(Math.abs(t)>.5){return Math.exp(t)-1}var r=t;var n=0;var o=1;while(n+r!==n){n+=r;o+=1;r*=t/o}return n},hypot:function Cr(e,t){var r=false;var n=true;var o=false;var i=[];Array.prototype.every.call(arguments,function(e){var t=Number(e);if(Number.isNaN(t)){r=true}else if(t===Infinity||t===-Infinity){o=true}else if(t!==0){n=false}if(o){return false}else if(!r){i.push(Math.abs(t))}return true});if(o){return Infinity}if(r){return NaN}if(n){return 0}var a=Math.max.apply(Math,i);var u=i.map(function(e){return e/a});var s=u.map(ke).reduce(Ae);return a*Math.sqrt(s)},log2:function kr(e){return Math.log(e)*Math.LOG2E},log10:function Ar(e){return Math.log(e)*Math.LOG10E},log1p:function Rr(e){var t=Number(e);if(t<-1||Number.isNaN(t)){return NaN}if(t===0||t===Infinity){return t}if(t===-1){return-Infinity}return 1+t-1===0?t:t*(Math.log(1+t)/(1+t-1))},sign:function Lr(e){var t=+e;if(t===0){return t}if(Number.isNaN(t)){return t}return t<0?-1:1},sinh:function zr(e){var t=Number(e);if(!c(e)||e===0){return e}if(Math.abs(t)<1){return(Math.expm1(t)-Math.expm1(-t))/2}return(Math.exp(t-1)-Math.exp(-t-1))*Math.E/2},tanh:function Dr(e){var t=Number(e);if(Number.isNaN(e)||t===0){return t}if(t===Infinity){return 1}if(t===-Infinity){return-1}var r=Math.expm1(t);var n=Math.expm1(-t);if(r===Infinity){return 1}if(n===Infinity){return-1}return(r-n)/(Math.exp(t)+Math.exp(-t))},trunc:function Fr(e){var t=Number(e);return t<0?-Math.floor(-t):Math.floor(t)},imul:function qr(e,t){e=C.ToUint32(e);t=C.ToUint32(t);var r=e>>>16&65535;var n=e&65535;var o=t>>>16&65535;var i=t&65535;return n*i+(r*i+n*o<<16>>>0)|0},fround:function Gr(e){var t=Number(e);if(t===0||t===Infinity||t===-Infinity||j(t)){return t}var r=Math.sign(t);var n=Math.abs(t);if(n<Fe){return r*Le(n/Fe/ze)*Fe*ze}var o=(1+ze/Number.EPSILON)*n;var i=o-(o-n);if(i>De||j(i)){return r*Infinity}return r*i}};I(Math,qe);T(Math,"log1p",qe.log1p,Math.log1p(-1e-17)!==-1e-17);T(Math,"asinh",qe.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7));T(Math,"tanh",qe.tanh,Math.tanh(-2e-17)!==-2e-17);T(Math,"acosh",qe.acosh,Math.acosh(Number.MAX_VALUE)===Infinity);T(Math,"sinh",qe.sinh,Math.sinh(-2e-17)!==-2e-17);var Ge=Math.expm1(10);T(Math,"expm1",qe.expm1,Ge>22025.465794806718||Ge<22025.465794806718);var He=Math.round;var We=Math.round(.5-Number.EPSILON/4)===0&&Math.round(-.5+Number.EPSILON/3.99)===1;var Ve=Re+1;var $e=2*Re-1;var Ue=[Ve,$e].every(function(e){return Math.round(e)===e});T(Math,"round",function Hr(e){var t=Math.floor(e);var r=t===-1?-0:t+1;return e-t<.5?t:r},!We||!Ue);M.preserveToString(Math.round,He);var Xe=Math.imul;if(Math.imul(4294967295,5)!==-5){Math.imul=qe.imul;M.preserveToString(Math.imul,Xe)}if(Math.imul.length!==2){T(Math,"imul",function Wr(e,t){return Xe.apply(Math,arguments)},true);M.preserveToString(Math.imul,Xe)}var Ze=function(){var e,t;C.IsPromise=function(e){if(!C.TypeIsObject(e)){return false}if(!e._promiseConstructor){return false}if(typeof e._status==="undefined"){return false}return true};var r=function(e){if(!C.IsCallable(e)){throw new TypeError("bad promise constructor")}var t=this;var r=function(e,r){t.resolve=e;t.reject=r};t.promise=C.Construct(e,[r]);if(!t.promise._es6construct){throw new TypeError("bad promise constructor")}if(!(C.IsCallable(t.resolve)&&C.IsCallable(t.reject))){throw new TypeError("bad promise constructor")}};var n=f.setTimeout;var o;if(typeof window!=="undefined"&&C.IsCallable(window.postMessage)){o=function(){var e=[];var t="zero-timeout-message";var r=function(r){e.push(r);window.postMessage(t,"*")};var n=function(r){if(r.source===window&&r.data===t){r.stopPropagation();if(e.length===0){return}var n=e.shift();n()}};window.addEventListener("message",n,true);return r}}var i=function(){var e=f.Promise;return e&&e.resolve&&function(t){return e.resolve().then(t)}};var a=C.IsCallable(f.setImmediate)?f.setImmediate.bind(f):typeof process==="object"&&process.nextTick?process.nextTick:i()||(C.IsCallable(o)?o():function(e){n(e,0)});var u=function(e,t){if(!C.TypeIsObject(e)){return false}var r=t.resolve;var n=t.reject;try{var o=e.then;if(!C.IsCallable(o)){return false}o.call(e,r,n)}catch(i){n(i)}return true};var s=function(e,t){e.forEach(function(e){a(function(){var r=e.handler;var n=e.capability;var o=n.resolve;var i=n.reject;try{var a=r(t);if(a===n.promise){throw new TypeError("self resolution")}var s=u(a,n);if(!s){o(a)}}catch(f){i(f)}})})};var c=function(e,t,n){return function(o){if(o===e){return n(new TypeError("self resolution"))}var i=e._promiseConstructor;var a=new r(i);var s=u(o,a);if(s){return a.promise.then(t,n)}else{return t(o)}}};e=function(e){var t=this;t=k(t);if(!t._promiseConstructor){throw new TypeError("bad promise")}if(typeof t._status!=="undefined"){throw new TypeError("promise already initialized")}if(!C.IsCallable(e)){throw new TypeError("not a valid resolver")}t._status="unresolved";t._resolveReactions=[];t._rejectReactions=[];var r=function(e){if(t._status!=="unresolved"){return}var r=t._resolveReactions;t._result=e;t._resolveReactions=void 0;t._rejectReactions=void 0;t._status="has-resolution";s(r,e)};var n=function(e){if(t._status!=="unresolved"){return}var r=t._rejectReactions;t._result=e;t._resolveReactions=void 0;t._rejectReactions=void 0;t._status="has-rejection";s(r,e)};try{e(r,n)}catch(o){n(o)}return t};t=e.prototype;var l=function(e,t,r,n){var o=false;return function(i){if(o){return}o=true;t[e]=i;if(--n.count===0){var a=r.resolve;a(t)}}};T(e,O,function(e){var r=this;var n=r.prototype||t;e=e||E(n);I(e,{_status:void 0,_result:void 0,_resolveReactions:void 0,_rejectReactions:void 0,_promiseConstructor:void 0});e._promiseConstructor=r;return e});I(e,{all:function p(e){var t=this;var n=new r(t);var o=n.resolve;var i=n.reject;try{if(!C.IsIterable(e)){throw new TypeError("bad iterable")}var a=C.GetIterator(e);var u=[],s={count:1};for(var f=0;;f++){var c=C.IteratorNext(a);if(c.done){break}var p=t.resolve(c.value);var v=l(f,u,n,s);s.count++;p.then(v,n.reject)}if(--s.count===0){o(u)}}catch(h){i(h)}return n.promise},race:function v(e){var t=this;var n=new r(t);var o=n.resolve;var i=n.reject;try{if(!C.IsIterable(e)){throw new TypeError("bad iterable")}var a=C.GetIterator(e);while(true){var u=C.IteratorNext(a);if(u.done){break}var s=t.resolve(u.value);s.then(o,i)}}catch(f){i(f)}return n.promise},reject:function h(e){var t=this;var n=new r(t);var o=n.reject;o(e);return n.promise},resolve:function y(e){var t=this;if(C.IsPromise(e)){var n=e._promiseConstructor;if(n===t){return e}}var o=new r(t);var i=o.resolve;i(e);return o.promise}});I(t,{"catch":function(e){return this.then(void 0,e)},then:function b(e,t){var n=this;if(!C.IsPromise(n)){throw new TypeError("not a promise")}var o=this.constructor;var i=new r(o);if(!C.IsCallable(t)){t=function(e){throw e}}if(!C.IsCallable(e)){e=function(e){return e}}var a=c(n,e,t);var u={capability:i,handler:a};var f={capability:i,handler:t};switch(n._status){case"unresolved":n._resolveReactions.push(u);n._rejectReactions.push(f);break;case"has-resolution":s([u],n._result);break;case"has-rejection":s([f],n._result);break;default:throw new TypeError("unexpected")}return i.promise}});return e}();if(f.Promise){delete f.Promise.accept;delete f.Promise.defer;delete f.Promise.prototype.chain}I(f,{Promise:Ze});var Ke=o(f.Promise,function(e){return e.resolve(42)instanceof e});var Be=!t(function(){f.Promise.reject(42).then(null,5).then(null,d)});var Je=t(function(){f.Promise.call(3,d)});if(!Ke||!Be||!Je){Promise=Ze;T(f,"Promise",Ze,true)}var Qe=function(e){var t=Object.keys(e.reduce(function(e,t){e[t]=true;return e},{}));return e.join(":")===t.join(":")};var Ye=Qe(["z","a","bb"]);var et=Qe(["z",1,"a","3",2]);if(l){var tt=function Vr(e){if(!Ye){return null}var t=typeof e;if(t==="string"){return"$"+e}else if(t==="number"){if(!et){return"n"+e}return e}return null};var rt=function $r(){return Object.create?Object.create(null):{}};var nt={Map:function(){var e={};function t(e,t){this.key=e;this.value=t;this.next=null;this.prev=null}t.prototype.isRemoved=function(){return this.key===e};function r(e,t){this.head=e._head;this.i=this.head;this.kind=t}r.prototype={next:function(){var e=this.i,t=this.kind,r=this.head,n;if(typeof this.i==="undefined"){return{value:void 0,done:true}}while(e.isRemoved()&&e!==r){e=e.prev}while(e.next!==r){e=e.next;if(!e.isRemoved()){if(t==="key"){n=e.key}else if(t==="value"){n=e.value}else{n=[e.key,e.value]}this.i=e;return{value:n,done:false}}}this.i=void 0;return{value:void 0,done:true}}};P(r.prototype);function n(e){var r=this;if(!C.TypeIsObject(r)){throw new TypeError("Constructor Map requires 'new'")}r=k(r);if(!r._es6map){throw new TypeError("bad map")}var n=new t(null,null);n.next=n.prev=n;I(r,{_head:n,_storage:rt(),_size:0});if(typeof e!=="undefined"&&e!==null){var o=C.GetIterator(e);var i=r.set;if(!C.IsCallable(i)){throw new TypeError("bad map")}while(true){var a=C.IteratorNext(o);if(a.done){break}var u=a.value;if(!C.TypeIsObject(u)){throw new TypeError("expected iterable of pairs")}i.call(r,u[0],u[1])}}return r}var o=n.prototype;T(n,O,function(e){var t=this;var r=t.prototype||o;e=e||E(r);I(e,{_es6map:true});return e});M.getter(n.prototype,"size",function(){if(typeof this._size==="undefined"){throw new TypeError("size method called on incompatible Map")}return this._size});I(n.prototype,{get:function(e){var t=tt(e);if(t!==null){var r=this._storage[t];if(r){return r.value}else{return}}var n=this._head,o=n;while((o=o.next)!==n){if(C.SameValueZero(o.key,e)){return o.value}}},has:function(e){var t=tt(e);if(t!==null){return typeof this._storage[t]!=="undefined"}var r=this._head,n=r;while((n=n.next)!==r){if(C.SameValueZero(n.key,e)){return true}}return false},set:function(e,r){var n=this._head,o=n,i;var a=tt(e);if(a!==null){if(typeof this._storage[a]!=="undefined"){this._storage[a].value=r;return this}else{i=this._storage[a]=new t(e,r);o=n.prev}}while((o=o.next)!==n){if(C.SameValueZero(o.key,e)){o.value=r;return this}}i=i||new t(e,r);if(C.SameValue(-0,e)){i.key=+0}i.next=this._head;i.prev=this._head.prev;i.prev.next=i;i.next.prev=i;this._size+=1;return this},"delete":function(t){var r=this._head,n=r;var o=tt(t);if(o!==null){if(typeof this._storage[o]==="undefined"){return false}n=this._storage[o].prev;delete this._storage[o]}while((n=n.next)!==r){if(C.SameValueZero(n.key,t)){n.key=n.value=e;n.prev.next=n.next;n.next.prev=n.prev;this._size-=1;return true}}return false},clear:function i(){this._size=0;this._storage=rt();var t=this._head,r=t,n=r.next;while((r=n)!==t){r.key=r.value=e;n=r.next;r.next=r.prev=t}t.next=t.prev=t},keys:function a(){return new r(this,"key")},values:function u(){return new r(this,"value")},entries:function s(){return new r(this,"key+value")},forEach:function f(e){var t=arguments.length>1?arguments[1]:null;var r=this.entries();for(var n=r.next();!n.done;n=r.next()){if(t){e.call(t,n.value[1],n.value[0],this)}else{e(n.value[1],n.value[0],this)}}}});P(n.prototype,function(){return this.entries()});return n}(),Set:function(){var e=function n(e){var t=this;if(!C.TypeIsObject(t)){throw new TypeError("Constructor Set requires 'new'")}t=k(t);if(!t._es6set){throw new TypeError("bad set")}I(t,{"[[SetData]]":null,_storage:rt()});if(typeof e!=="undefined"&&e!==null){var r=C.GetIterator(e);var n=t.add;if(!C.IsCallable(n)){throw new TypeError("bad set")}while(true){var o=C.IteratorNext(r);if(o.done){break}var i=o.value;n.call(t,i)}}return t};var t=e.prototype;T(e,O,function(e){var r=this;var n=r.prototype||t;e=e||E(n);I(e,{_es6set:true});return e});var r=function o(e){if(!e["[[SetData]]"]){var t=e["[[SetData]]"]=new nt.Map;Object.keys(e._storage).forEach(function(e){if(e.charCodeAt(0)===36){e=e.slice(1)}else if(e.charAt(0)==="n"){e=+e.slice(1)}else{e=+e}t.set(e,e)});e._storage=null}};M.getter(e.prototype,"size",function(){if(typeof this._storage==="undefined"){throw new TypeError("size method called on incompatible Set")}r(this);return this["[[SetData]]"].size;
-
-});I(e.prototype,{has:function(e){var t;if(this._storage&&(t=tt(e))!==null){return!!this._storage[t]}r(this);return this["[[SetData]]"].has(e)},add:function(e){var t;if(this._storage&&(t=tt(e))!==null){this._storage[t]=true;return this}r(this);this["[[SetData]]"].set(e,e);return this},"delete":function(e){var t;if(this._storage&&(t=tt(e))!==null){var n=b(this._storage,t);return delete this._storage[t]&&n}r(this);return this["[[SetData]]"]["delete"](e)},clear:function i(){if(this._storage){this._storage=rt()}else{this["[[SetData]]"].clear()}},values:function a(){r(this);return this["[[SetData]]"].values()},entries:function u(){r(this);return this["[[SetData]]"].entries()},forEach:function s(e){var t=arguments.length>1?arguments[1]:null;var n=this;r(n);this["[[SetData]]"].forEach(function(r,o){if(t){e.call(t,o,o,n)}else{e(o,o,n)}})}});T(e,"keys",e.values,true);P(e.prototype,function(){return this.values()});return e}()};I(f,nt);if(f.Map||f.Set){var ot=r(function(){return new Map([[1,2]]).get(1)===2});if(!ot){var it=f.Map;f.Map=function Ur(e){if(!(this instanceof Ur)){throw new TypeError('Constructor Map requires "new"')}var t=new it;if(Array.isArray(e)||w.string(e)){Array.prototype.forEach.call(e,function(e){t.set(e[0],e[1])})}else if(e instanceof Ur){Ur.prototype.forEach.call(e,function(e,r){t.set(r,e)})}Object.setPrototypeOf(t,f.Map.prototype);T(t,"constructor",Ur,true);return t};f.Map.prototype=E(it.prototype);M.preserveToString(f.Map,it)}var at=new Map;var ut=function(e){e["delete"](0);e["delete"](-0);e.set(0,3);e.get(-0,4);return e.get(0)===3&&e.get(-0)===4}(at);var st=at.set(1,2)===at;if(!ut||!st){var ft=Map.prototype.set;T(Map.prototype,"set",function Xr(e,t){ft.call(this,e===0?0:e,t);return this},true);M.preserveToString(Map.prototype.set,ft)}if(!ut){var ct=Map.prototype.get;var lt=Map.prototype.has;I(Map.prototype,{get:function Zr(e){return ct.call(this,e===0?0:e)},has:function Kr(e){return lt.call(this,e===0?0:e)}},true);M.preserveToString(Map.prototype.get,ct);M.preserveToString(Map.prototype.has,lt)}var pt=new Set;var vt=function(e){e["delete"](0);e.add(-0);return!e.has(0)}(pt);var ht=pt.add(1)===pt;if(!vt||!ht){var yt=Set.prototype.add;Set.prototype.add=function Br(e){yt.call(this,e===0?0:e);return this};M.preserveToString(Set.prototype.add,yt)}if(!vt){var bt=Set.prototype.has;Set.prototype.has=function Jr(e){return bt.call(this,e===0?0:e)};M.preserveToString(Set.prototype.has,bt);var gt=Set.prototype["delete"];Set.prototype["delete"]=function Qr(e){return gt.call(this,e===0?0:e)};M.preserveToString(Set.prototype["delete"],gt)}var dt=o(f.Map,function(e){var t=new e([]);t.set(42,42);return t instanceof e});var mt=Object.setPrototypeOf&&!dt;var Ot=function(){try{return!(f.Map()instanceof f.Map)}catch(e){return e instanceof TypeError}}();if(f.Map.length!==1||mt||!Ot){var wt=f.Map;f.Map=function Yr(e){if(!(this instanceof Yr)){throw new TypeError('Constructor Map requires "new"')}var t=new wt(e);Object.setPrototypeOf(t,Yr.prototype);T(t,"constructor",Yr,true);return t};f.Map.prototype=E(wt.prototype);M.preserveToString(f.Map,wt)}var jt=o(f.Set,function(e){var t=new e([]);t.add(42,42);return t instanceof e});var St=Object.setPrototypeOf&&!jt;var Tt=function(){try{return!(f.Set()instanceof f.Set)}catch(e){return e instanceof TypeError}}();if(f.Set.length!==1||St||!Tt){var Mt=f.Set;f.Set=function en(e){if(!(this instanceof en)){throw new TypeError('Constructor Set requires "new"')}var t=new Mt(e);Object.setPrototypeOf(t,en.prototype);T(t,"constructor",en,true);return t};f.Set.prototype=E(Mt.prototype);M.preserveToString(f.Set,Mt)}var It=!r(function(){return(new Map).keys().next().done});if(typeof f.Map.prototype.clear!=="function"||(new f.Set).size!==0||(new f.Map).size!==0||typeof f.Map.prototype.keys!=="function"||typeof f.Set.prototype.keys!=="function"||typeof f.Map.prototype.forEach!=="function"||typeof f.Set.prototype.forEach!=="function"||n(f.Map)||n(f.Set)||typeof(new f.Map).keys().next!=="function"||It||!dt){delete f.Map;delete f.Set;I(f,{Map:nt.Map,Set:nt.Set},true)}}if(f.Set.prototype.keys!==f.Set.prototype.values){T(f.Set.prototype,"keys",f.Set.prototype.values,true)}P(Object.getPrototypeOf((new f.Map).keys()));P(Object.getPrototypeOf((new f.Set).keys()))}if(!f.Reflect){T(f,"Reflect",{})}var Et=f.Reflect;var xt=function tn(e){if(!C.TypeIsObject(e)){throw new TypeError("target must be an object")}};I(f.Reflect,{apply:function rn(){return C.Call.apply(null,arguments)},construct:function nn(e,t){if(!C.IsCallable(e)){throw new TypeError("First argument must be callable.")}return C.Construct(e,t)},deleteProperty:function on(e,t){xt(e);if(l){var r=Object.getOwnPropertyDescriptor(e,t);if(r&&!r.configurable){return false}}return delete e[t]},enumerate:function an(e){xt(e);return new X(e,"key")},has:function un(e,t){xt(e);return t in e}});if(Object.getOwnPropertyNames){I(f.Reflect,{ownKeys:function sn(e){xt(e);var t=Object.getOwnPropertyNames(e);if(C.IsCallable(Object.getOwnPropertySymbols)){t.push.apply(t,Object.getOwnPropertySymbols(e))}return t}})}if(Object.preventExtensions){I(f.Reflect,{isExtensible:function fn(e){xt(e);return Object.isExtensible(e)},preventExtensions:function cn(e){xt(e);return Nt(function(){Object.preventExtensions(e)})}})}if(l){var Pt=function ln(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t);if(!n){var o=Object.getPrototypeOf(e);if(o===null){return undefined}return Pt(o,t,r)}if("value"in n){return n.value}if(n.get){return n.get.call(r)}return undefined};var _t=function pn(e,t,r,n){var o=Object.getOwnPropertyDescriptor(e,t);if(!o){var i=Object.getPrototypeOf(e);if(i!==null){return _t(i,t,r,n)}o={value:void 0,writable:true,enumerable:true,configurable:true}}if("value"in o){if(!o.writable){return false}if(!C.TypeIsObject(n)){return false}var a=Object.getOwnPropertyDescriptor(n,t);if(a){return Et.defineProperty(n,t,{value:r})}else{return Et.defineProperty(n,t,{value:r,writable:true,enumerable:true,configurable:true})}}if(o.set){o.set.call(n,r);return true}return false};var Nt=function vn(e){return!t(e)};I(f.Reflect,{defineProperty:function hn(e,t,r){xt(e);return Nt(function(){Object.defineProperty(e,t,r)})},getOwnPropertyDescriptor:function yn(e,t){xt(e);return Object.getOwnPropertyDescriptor(e,t)},get:function bn(e,t){xt(e);var r=arguments.length>2?arguments[2]:e;return Pt(e,t,r)},set:function gn(e,t,r){xt(e);var n=arguments.length>3?arguments[3]:e;return _t(e,t,r,n)}})}if(Object.getPrototypeOf){var Ct=Object.getPrototypeOf;I(f.Reflect,{getPrototypeOf:function dn(e){xt(e);return Ct(e)}})}if(Object.setPrototypeOf){var kt=function(e,t){while(t){if(e===t){return true}t=Et.getPrototypeOf(t)}return false};I(f.Reflect,{setPrototypeOf:function mn(e,t){xt(e);if(t!==null&&!C.TypeIsObject(t)){throw new TypeError("proto must be an object or null")}if(t===Et.getPrototypeOf(e)){return true}if(Et.isExtensible&&!Et.isExtensible(e)){return false}if(kt(e,t)){return false}Object.setPrototypeOf(e,t);return true}})}if(String(new Date(NaN))!=="Invalid Date"){var At=Date.prototype.toString;var Rt=function On(){var e=+this;if(e!==e){return"Invalid Date"}return At.call(this)};T(Rt,"toString",At.toString,true);T(Date.prototype,"toString",Rt,true)}var Lt={anchor:function wn(e){return C.CreateHTML(this,"a","name",e)},big:function jn(){return C.CreateHTML(this,"big","","")},blink:function Sn(){return C.CreateHTML(this,"blink","","")},bold:function Tn(){return C.CreateHTML(this,"b","","")},fixed:function Mn(){return C.CreateHTML(this,"tt","","")},fontcolor:function In(e){return C.CreateHTML(this,"font","color",e)},fontsize:function En(e){return C.CreateHTML(this,"font","size",e)},italics:function xn(){return C.CreateHTML(this,"i","","")},link:function Pn(e){return C.CreateHTML(this,"a","href",e)},small:function _n(){return C.CreateHTML(this,"small","","")},strike:function Nn(){return C.CreateHTML(this,"strike","","")},sub:function Cn(){return C.CreateHTML(this,"sub","","")},sup:function kn(){return C.CreateHTML(this,"sup","","")}};I(String.prototype,Lt);Object.keys(Lt).forEach(function(e){var t=String.prototype[e];var r=false;if(C.IsCallable(t)){var n=t.call("",' " ');var o=[].concat(n.match(/"/g)).length;r=n!==n.toLowerCase()||o>2}else{r=true}if(r){T(String.prototype,e,Lt[e],true)}});return f});
+(function(e,t){if(typeof define==="function"&&define.amd){define(t)}else if(typeof exports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){"use strict";var e=function zt(e){return function t(){return!e.apply(this,arguments)}};var t=function(e){try{e();return false}catch(t){return true}};var r=function Dt(e){try{return e()}catch(t){return false}};var n=e(t);var o=function(e,t){if(!Object.setPrototypeOf){return false}return r(function(){var r=function n(t){var r=new e(t);Object.setPrototypeOf(r,n.prototype);return r};r.prototype=E(e.prototype,{constructor:{value:e}});return t(r)})};var i=function(){return!t(function(){Object.defineProperty({},"x",{})})};var a=function(){return String.prototype.startsWith&&t(function(){"/a/".startsWith(/a/)})};var u=function(){return String.prototype.startsWith&&"abc".startsWith("a",Infinity)===false}();var s=new Function("return this;");var f=s();var c=f.isFinite;var l=!!Object.defineProperty&&i();var p=function(){return this===null}.call(null);var v=a()&&u;var h=Function.call.bind(String.prototype.indexOf);var y=Function.call.bind(Object.prototype.toString);var b=Function.call.bind(Object.prototype.hasOwnProperty);var g;var d=function(){};var m=f.Symbol||{};var O=m.species||"@@species";var w={object:function(e){return e!==null&&typeof e==="object"},string:function(e){return y(e)==="[object String]"},regex:function(e){return y(e)==="[object RegExp]"},symbol:function(e){return typeof f.Symbol==="function"&&typeof e==="symbol"}};var j=Number.isNaN||function Ft(e){return e!==e};var S=Number.isFinite||function qt(e){return typeof e==="number"&&c(e)};var T=function(e,t,r,n){if(!n&&t in e){return}if(l){Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:true,value:r})}else{e[t]=r}};var M={getter:function(e,t,r){if(!l){throw new TypeError("getters require true ES5 support")}Object.defineProperty(e,t,{configurable:true,enumerable:false,get:r})},proxy:function(e,t,r){if(!l){throw new TypeError("getters require true ES5 support")}var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,{configurable:n.configurable,enumerable:n.enumerable,get:function o(){return e[t]},set:function i(r){e[t]=r}})},redefine:function(e,t,r){if(l){var n=Object.getOwnPropertyDescriptor(e,t);n.value=r;Object.defineProperty(e,t,n)}else{e[t]=r}},preserveToString:function(e,t){T(e,"toString",t.toString.bind(t),true)}};var I=function(e,t){Object.keys(t).forEach(function(r){var n=t[r];T(e,r,n,false)})};var E=Object.create||function(e,t){function r(){}r.prototype=e;var n=new r;if(typeof t!=="undefined"){I(n,t)}return n};var x=w.symbol(m.iterator)?m.iterator:"_es6-shim iterator_";if(f.Set&&typeof(new f.Set)["@@iterator"]==="function"){x="@@iterator"}var P=function(e,t){if(!t){t=function n(){return this}}var r={};r[x]=t;I(e,r);if(!e[x]&&w.symbol(x)){e[x]=t}};var _=function Gt(e){var t=y(e);var r=t==="[object Arguments]";if(!r){r=t!=="[object Array]"&&e!==null&&typeof e==="object"&&typeof e.length==="number"&&e.length>=0&&y(e.callee)==="[object Function]"}return r};var N=Function.call.bind(Function.apply);var C={Call:function Ht(e,t){var r=arguments.length>2?arguments[2]:[];if(!C.IsCallable(e)){throw new TypeError(e+" is not a function")}return N(e,t,r)},RequireObjectCoercible:function(e,t){if(e==null){throw new TypeError(t||"Cannot call method on "+e)}},TypeIsObject:function(e){return e!=null&&Object(e)===e},ToObject:function(e,t){C.RequireObjectCoercible(e,t);return Object(e)},IsCallable:function(e){return typeof e==="function"&&y(e)==="[object Function]"},ToInt32:function(e){return C.ToNumber(e)>>0},ToUint32:function(e){return C.ToNumber(e)>>>0},ToNumber:function(e){if(y(e)==="[object Symbol]"){throw new TypeError("Cannot convert a Symbol value to a number")}return+e},ToInteger:function(e){var t=C.ToNumber(e);if(j(t)){return 0}if(t===0||!S(t)){return t}return(t>0?1:-1)*Math.floor(Math.abs(t))},ToLength:function(e){var t=C.ToInteger(e);if(t<=0){return 0}if(t>Number.MAX_SAFE_INTEGER){return Number.MAX_SAFE_INTEGER}return t},SameValue:function(e,t){if(e===t){if(e===0){return 1/e===1/t}return true}return j(e)&&j(t)},SameValueZero:function(e,t){return e===t||j(e)&&j(t)},IsIterable:function(e){return C.TypeIsObject(e)&&(typeof e[x]!=="undefined"||_(e))},GetIterator:function(e){if(_(e)){return new g(e,"value")}var t=e[x];if(!C.IsCallable(t)){throw new TypeError("value is not an iterable")}var r=t.call(e);if(!C.TypeIsObject(r)){throw new TypeError("bad iterator")}return r},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!C.TypeIsObject(t)){throw new TypeError("bad iterator")}return t},Construct:function(e,t){var r;if(C.IsCallable(e[O])){r=e[O]()}else{r=E(e.prototype||null)}I(r,{_es6construct:true});var n=C.Call(e,r,t);return C.TypeIsObject(n)?n:r},CreateHTML:function(e,t,r,n){var o=String(e);var i="<"+t;if(r!==""){var a=String(n);var u=a.replace(/"/g,"&quot;");i+=" "+r+'="'+u+'"'}var s=i+">";var f=s+o;return f+"</"+t+">"}};var k=function(e){if(!C.TypeIsObject(e)){throw new TypeError("bad object")}if(!e._es6construct){if(e.constructor&&C.IsCallable(e.constructor[O])){e=e.constructor[O](e)}I(e,{_es6construct:true})}return e};if(String.fromCodePoint&&String.fromCodePoint.length!==1){var A=Function.apply.bind(String.fromCodePoint);T(String,"fromCodePoint",function Wt(e){return A(this,arguments)},true)}var R={fromCodePoint:function Vt(e){var t=[];var r;for(var n=0,o=arguments.length;n<o;n++){r=Number(arguments[n]);if(!C.SameValue(r,C.ToInteger(r))||r<0||r>1114111){throw new RangeError("Invalid code point "+r)}if(r<65536){t.push(String.fromCharCode(r))}else{r-=65536;t.push(String.fromCharCode((r>>10)+55296));t.push(String.fromCharCode(r%1024+56320))}}return t.join("")},raw:function $t(e){var t=C.ToObject(e,"bad callSite");var r=C.ToObject(t.raw,"bad raw value");var n=r.length;var o=C.ToLength(n);if(o<=0){return""}var i=[];var a=0;var u,s,f,c;while(a<o){u=String(a);f=String(r[u]);i.push(f);if(a+1>=o){break}s=a+1<arguments.length?arguments[a+1]:"";c=String(s);i.push(c);a++}return i.join("")}};I(String,R);if(String.raw({raw:{0:"x",1:"y",length:2}})!=="xy"){var L=String.raw;T(String,"raw",R.raw,true);M.preserveToString(String.raw,L)}var z=function Ut(e,t){if(t<1){return""}if(t%2){return Ut(e,t-1)+e}var r=Ut(e,t/2);return r+r};var D=Infinity;var F={repeat:function Xt(e){C.RequireObjectCoercible(this);var t=String(this);e=C.ToInteger(e);if(e<0||e>=D){throw new RangeError("repeat count must be less than infinity and not overflow maximum string size")}return z(t,e)},startsWith:function Zt(e){C.RequireObjectCoercible(this);var t=String(this);if(w.regex(e)){throw new TypeError('Cannot call method "startsWith" with a regex')}e=String(e);var r=arguments.length>1?arguments[1]:void 0;var n=Math.max(C.ToInteger(r),0);return t.slice(n,n+e.length)===e},endsWith:function Kt(e){C.RequireObjectCoercible(this);var t=String(this);if(w.regex(e)){throw new TypeError('Cannot call method "endsWith" with a regex')}e=String(e);var r=t.length;var n=arguments.length>1?arguments[1]:void 0;var o=typeof n==="undefined"?r:C.ToInteger(n);var i=Math.min(Math.max(o,0),r);return t.slice(i-e.length,i)===e},includes:function Bt(e){var t=arguments.length>1?arguments[1]:void 0;return h(this,e,t)!==-1},codePointAt:function Jt(e){C.RequireObjectCoercible(this);var t=String(this);var r=C.ToInteger(e);var n=t.length;if(r>=0&&r<n){var o=t.charCodeAt(r);var i=r+1===n;if(o<55296||o>56319||i){return o}var a=t.charCodeAt(r+1);if(a<56320||a>57343){return o}return(o-55296)*1024+(a-56320)+65536}}};I(String.prototype,F);if("a".includes("a",Infinity)!==false){var q=String.prototype.includes;T(String.prototype,"includes",F.includes,true);M.preserveToString(String.prototype.includes,q)}var G="\x85".trim().length!==1;if(G){delete String.prototype.trim;var H=[" \n \f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003","\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028","\u2029\ufeff"].join("");var W=new RegExp("(^["+H+"]+)|(["+H+"]+$)","g");I(String.prototype,{trim:function Qt(){if(typeof this==="undefined"||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(W,"")}})}var V=function(e){C.RequireObjectCoercible(e);this._s=String(e);this._i=0};V.prototype.next=function(){var e=this._s,t=this._i;if(typeof e==="undefined"||t>=e.length){this._s=void 0;return{value:void 0,done:true}}var r=e.charCodeAt(t),n,o;if(r<55296||r>56319||t+1===e.length){o=1}else{n=e.charCodeAt(t+1);o=n<56320||n>57343?1:2}this._i=t+o;return{value:e.substr(t,o),done:false}};P(V.prototype);P(String.prototype,function(){return new V(this)});if(!v){T(String.prototype,"startsWith",F.startsWith,true);T(String.prototype,"endsWith",F.endsWith,true)}var $={from:function Yt(e){var t=arguments.length>1?arguments[1]:void 0;var r=C.ToObject(e,"bad iterable");if(typeof t!=="undefined"&&!C.IsCallable(t)){throw new TypeError("Array.from: when provided, the second argument must be a function")}var n=arguments.length>2;var o=n?arguments[2]:void 0;var i=C.IsIterable(r);var a;var u,s,f;if(i){s=0;u=C.IsCallable(this)?Object(new this):[];var c=i?C.GetIterator(r):null;var l;do{l=C.IteratorNext(c);if(!l.done){f=l.value;if(t){u[s]=n?t.call(o,f,s):t(f,s)}else{u[s]=f}s+=1}}while(!l.done);a=s}else{a=C.ToLength(r.length);u=C.IsCallable(this)?Object(new this(a)):new Array(a);for(s=0;s<a;++s){f=r[s];if(t){u[s]=n?t.call(o,f,s):t(f,s)}else{u[s]=f}}}u.length=a;return u},of:function er(){return Array.from.call(this,arguments)}};I(Array,$);var U=function(e){return{value:e,done:arguments.length===0}};g=function(e,t){this.i=0;this.array=e;this.kind=t};I(g.prototype,{next:function(){var e=this.i,t=this.array;if(!(this instanceof g)){throw new TypeError("Not an ArrayIterator")}if(typeof t!=="undefined"){var r=C.ToLength(t.length);for(;e<r;e++){var n=this.kind;var o;if(n==="key"){o=e}else if(n==="value"){o=t[e]}else if(n==="entry"){o=[e,t[e]]}this.i=e+1;return{value:o,done:false}}}this.array=void 0;return{value:void 0,done:true}}});P(g.prototype);var X=function(e,t){this.object=e;this.array=null;this.kind=t};function Z(e){var t=[];for(var r in e){t.push(r)}return t}I(X.prototype,{next:function(){var e,t=this.array;if(!(this instanceof X)){throw new TypeError("Not an ObjectIterator")}if(t===null){t=this.array=Z(this.object)}while(C.ToLength(t.length)>0){e=t.shift();if(!(e in this.object)){continue}if(this.kind==="key"){return U(e)}else if(this.kind==="value"){return U(this.object[e])}else{return U([e,this.object[e]])}}return U()}});P(X.prototype);var K=function(){var e=function r(e){this.length=e};e.prototype=[];var t=Array.of.apply(e,[1,2]);return t instanceof e&&t.length===2}();if(!K){var B=Array.of;T(Array,"of",$.of,true);M.preserveToString(Array.of,B)}var J={copyWithin:function tr(e,t){var r=arguments[2];var n=C.ToObject(this);var o=C.ToLength(n.length);e=C.ToInteger(e);t=C.ToInteger(t);var i=e<0?Math.max(o+e,0):Math.min(e,o);var a=t<0?Math.max(o+t,0):Math.min(t,o);r=typeof r==="undefined"?o:C.ToInteger(r);var u=r<0?Math.max(o+r,0):Math.min(r,o);var s=Math.min(u-a,o-i);var f=1;if(a<i&&i<a+s){f=-1;a+=s-1;i+=s-1}while(s>0){if(b(n,a)){n[i]=n[a]}else{delete n[a]}a+=f;i+=f;s-=1}return n},fill:function rr(e){var t=arguments.length>1?arguments[1]:void 0;var r=arguments.length>2?arguments[2]:void 0;var n=C.ToObject(this);var o=C.ToLength(n.length);t=C.ToInteger(typeof t==="undefined"?0:t);r=C.ToInteger(typeof r==="undefined"?o:r);var i=t<0?Math.max(o+t,0):Math.min(t,o);var a=r<0?o+r:r;for(var u=i;u<o&&u<a;++u){n[u]=e}return n},find:function nr(e){var t=C.ToObject(this);var r=C.ToLength(t.length);if(!C.IsCallable(e)){throw new TypeError("Array#find: predicate must be a function")}var n=arguments.length>1?arguments[1]:null;for(var o=0,i;o<r;o++){i=t[o];if(n){if(e.call(n,i,o,t)){return i}}else if(e(i,o,t)){return i}}},findIndex:function or(e){var t=C.ToObject(this);var r=C.ToLength(t.length);if(!C.IsCallable(e)){throw new TypeError("Array#findIndex: predicate must be a function")}var n=arguments.length>1?arguments[1]:null;for(var o=0;o<r;o++){if(n){if(e.call(n,t[o],o,t)){return o}}else if(e(t[o],o,t)){return o}}return-1},keys:function ir(){return new g(this,"key")},values:function ar(){return new g(this,"value")},entries:function ur(){return new g(this,"entry")}};if(Array.prototype.keys&&!C.IsCallable([1].keys().next)){delete Array.prototype.keys}if(Array.prototype.entries&&!C.IsCallable([1].entries().next)){delete Array.prototype.entries}if(Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototype[x]){I(Array.prototype,{values:Array.prototype[x]});if(w.symbol(m.unscopables)){Array.prototype[m.unscopables].values=true}}if(Array.prototype.values&&Array.prototype.values.name!=="values"){var Q=Array.prototype.values;T(Array.prototype,"values",function sr(){return Q.call(this)},true);T(Array.prototype,x,Array.prototype.values,true);M.preserveToString(Array.prototype.values,Q)}I(Array.prototype,J);P(Array.prototype,function(){return this.values()});if(Object.getPrototypeOf){P(Object.getPrototypeOf([].values()))}var Y=function(){return r(function(){return Array.from({length:-1}).length===0})};var ee=function(){var e=Array.from([0].entries());return e.length===1&&e[0][0]===0&&e[0][1]===1}();if(!Y()||!ee){var te=Array.from;T(Array,"from",$.from,true);M.preserveToString(Array.from,te)}var re=Math.pow(2,53)-1;I(Number,{MAX_SAFE_INTEGER:re,MIN_SAFE_INTEGER:-re,EPSILON:2.220446049250313e-16,parseInt:f.parseInt,parseFloat:f.parseFloat,isFinite:S,isInteger:function fr(e){return S(e)&&C.ToInteger(e)===e},isSafeInteger:function cr(e){return Number.isInteger(e)&&Math.abs(e)<=Number.MAX_SAFE_INTEGER},isNaN:j});if(![,1].find(function(e,t){return t===0})){T(Array.prototype,"find",J.find,true)}if([,1].findIndex(function(e,t){return t===0})!==0){T(Array.prototype,"findIndex",J.findIndex,true)}I(Object,{is:function lr(e,t){return C.SameValue(e,t)}});if(l){var ne=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable);var oe=function(e,t){var r=Object.keys(Object(t));var n;if(C.IsCallable(Object.getOwnPropertySymbols)){n=Object.getOwnPropertySymbols(Object(t)).filter(ne(t))}return r.concat(n||[]).reduce(function(e,r){e[r]=t[r];return e},e)};var ie={assign:function(e,t){if(!C.TypeIsObject(e)){throw new TypeError("target must be an object")}return Array.prototype.reduce.call(arguments,oe)},setPrototypeOf:function(e,t){var r;var n=function(e,t){if(!C.TypeIsObject(e)){throw new TypeError("cannot set prototype on a non-object")}if(!(t===null||C.TypeIsObject(t))){throw new TypeError("can only set prototype to an object or null"+t)}};var o=function(e,t){n(e,t);r.call(e,t);return e};try{r=e.getOwnPropertyDescriptor(e.prototype,t).set;r.call({},null)}catch(i){if(e.prototype!=={}[t]){return}r=function(e){this[t]=e};o.polyfill=o(o({},null),e.prototype)instanceof e}return o}(Object,"__proto__")};var ae=Object.assign&&