text: var main=function(){"use strict";var t="undefined"==typeof global?window:global,e=t.isFinite,r=!!Object.defineProperty,n=function(t,e){Object.keys(e).forEach(function(n){var i=e[n];n in t||(r?Object.defineProperty(t,n,{configurable:!0,enumerable:!1,writable:!0,value:i}):t[n]=i)})},i={ToInt32:function(t){return t>>0},ToUint32:function(t){return t>>>0}};n(String,{fromCodePoint:function(){for(var t,e=arguments,r=[],n=0,i=e.length;i>n;n++){if(t=Number(e[n]),!Object.is(t,Number.toInteger(t))||0>t||t>1114111)throw new RangeError("Invalid code point "+t);65536>t?r.push(String.fromCharCode(t)):(t-=65536,r.push(String.fromCharCode((t>>10)+55296)),r.push(String.fromCharCode(t%1024+56320)))}return r.join("")}}),n(String.prototype,{repeat:function(t){if(t=Number.toInteger(t),0>t||1/0===t)throw new RangeError;if(1>t)return"";if(t%2)return this.repeat(t-1)+this;var e=this.repeat(t/2);return e+e},startsWith:function(t){var e=arguments[1],r=(t.toString(),String(this)),n=void 0===e?0:Number.toInteger(e),i=r.length,o=Math.min(Math.max(n,0),i),u=t.length;if(u+o>i)return!1;var a="".indexOf.call(r,t,o);return a===o},endsWith:function(t){var e=arguments[1],r=String(this),n=(t.toString(),r.length),i=void 0===e?n:Number.toInteger(e),o=Math.min(Math.max(i,0),n),u=t.length,a=o-u;if(0>a)return!1;var f="".indexOf.call(r,t,a);return f===a},contains:function(t){var e=arguments[1];return-1!=="".indexOf.call(this,t,e)},codePointAt:function(t){var e=String(this),r=Number.toInteger(t),n=e.length;if(0>r||r>=n)return void 0;var i=e.charCodeAt(r),o=r+1===n;if(55296>i||i>56319||o)return i;var u=e.charCodeAt(r+1);return 56320>u||u>57343?i:1024*(i-55296)+(u-56320)+65536}}),n(Array,{from:function(t){for(var e=arguments[1],r=arguments[2],n=Object(t),o=i.ToUint32(n.length),u="function"==typeof this?Object(new this(o)):new Array(o),a=0;o>a;a++){var f=n[a];u[a]=e?e.call(r,f):f}return u.length=o,u},of:function(){return Array.from(arguments)}}),n(Array.prototype,{find:function(t){var e=Object(this),r=i.ToUint32(e.length);if(0===r)return void 0;if("function"!=typeof t)throw new TypeError("Array#find: predicate must be a function");for(var n,o=arguments[1],u=0;r>u&&u in e;u++)if(n=e[u],t.call(o,n,u,e))return n;return void 0},findIndex:function(t){var e=Object(this),r=i.ToUint32(e.length);if(0===r)return-1;if("function"!=typeof t)throw new TypeError("Array#findIndex: predicate must be a function");for(var n,o=arguments[1],u=0;r>u&&u in e;u++)if(n=e[u],t.call(o,n,u,e))return u;return-1}}),n(Number,{MAX_INTEGER:9007199254740991,EPSILON:2.220446049250313e-16,parseInt:t.parseInt,parseFloat:t.parseFloat,isFinite:function(t){return"number"==typeof t&&e(t)},isInteger:function(t){return Number.isFinite(t)&&t>=-9007199254740992&&t<=Number.MAX_INTEGER&&Math.floor(t)===t},isNaN:function(t){return Object.is(t,0/0)},toInteger:function(t){var e=+t;return Object.is(e,0/0)?0:0!==e&&Number.isFinite(e)?Math.sign(e)*Math.floor(Math.abs(e)):e}}),n(Number.prototype,{clz:function(){var t=+this;return t&&Number.isFinite(t)?(t=0>t?Math.ceil(t):Math.floor(t),t-=4294967296*Math.floor(t/4294967296),32-t.toString(2).length):32}}),r&&n(Object,{getOwnPropertyDescriptors:function(t){var e={};return Object.getOwnPropertyNames(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},getPropertyDescriptor:function(t,e){for(var r=Object.getOwnPropertyDescriptor(t,e),n=Object.getPrototypeOf(t);void 0===r&&null!==n;)r=Object.getOwnPropertyDescriptor(n,e),n=Object.getPrototypeOf(n);return r},getPropertyNames:function(t){for(var e=Object.getOwnPropertyNames(t),r=Object.getPrototypeOf(t),n=function(t){-1===e.indexOf(t)&&e.push(t)};null!==r;)Object.getOwnPropertyNames(r).forEach(n),r=Object.getPrototypeOf(r);return e},assign:function(t,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},t)},mixin:function(t,e){var r=Object.getOwnPropertyNames(e);return r.reduce(function(t,r){var n=Object.getOwnPropertyDescriptor(e,r);return Object.defineProperty(t,r,n)},t)}}),n(Object,{getOwnPropertyKeys:function(t){return Object.keys(t)},is:function(t,e){return t===e?0===t?1/t===1/e:!0:t!==t&&e!==e}}),n(Math,{acosh:function(t){return Number.isNaN(t)||1>t?0/0:1===t?0:1/0===t?1/0:Math.log(t+Math.sqrt(t*t-1))},asinh:function(t){return Number.isNaN(t)?0/0:0===t?t:1/0===t||t===-1/0?t:Math.log(t+Math.sqrt(t*t+1))},atanh:function(t){return Number.isNaN(t)||-1>t||t>1?0/0:-1===t?-1/0:1===t?1/0:0===t?t:.5*Math.log((1+t)/(1-t))},cbrt:function(t){if(0===t)return t;var e,r=0>t;return r&&(t=-t),e=Math.pow(t,1/3),r?-e:e},cosh:function(t){return 0===t?1:1/0===t||t===-1/0?t:Number.isNaN(t)?0/0:(0>t&&(t=-t),t>21?Math.exp(t)/2:(Math.exp(t)+Math.exp(-t))/2)},expm1:function(t){if(Number.isNaN(t))return 0/0;if(0===t)return t;if(1/0===t)return 1/0;if(t===-1/0)return-1;for(var e=0,r=50,n=1;r>n;n++){for(var i=2,o=1;n>=i;i++)o*=i;e+=Math.pow(t,n)/o}return e},hypot:function(t,e,r){var n=!1,i=!1,o=!0;return[t,e,r].some(function(t){return Number.isNaN(t)?n=!0:1/0===t||t===-1/0?i=!0:0!==t&&(o=!1),i||n}),i?1/0:n?0/0:o?0:(null==t&&(t=0),null==e&&(e=0),null==r&&(r=0),Math.sqrt(t*t+e*e+r*r))},log2:function(t){return Number.isNaN(t)||0>t?0/0:0===t?-1/0:1===t?0:1/0===t?1/0:Math.log(t)*(1/Math.LN2)},log10:function(t){return Number.isNaN(t)||0>t?0/0:0===t?-1/0:1===t?0:1/0===t?1/0:Math.log(t)*(1/Math.LN10)},log1p:function(t){if(Number.isNaN(t)||-1>t)return 0/0;if(-1===t)return-1/0;if(0===t)return t;if(1/0===t)return 1/0;var e=0,r=50;if(0>t||t>1)return Math.log(1+t);for(var n=1;r>n;n++)n%2===0?e-=Math.pow(t,n)/n:e+=Math.pow(t,n)/n;return e},sign:function(t){var e=+t;return 0===e?e:Object.is(e,0/0)?e:0>e?-1:1},sinh:function(t){return Number.isNaN(t)?0/0:0===t?t:1/0===t||t===-1/0?t:(Math.exp(t)-Math.exp(-t))/2},tanh:function(t){return Number.isNaN(t)?0/0:0===t?t:1/0===t?1:t===-1/0?-1:(Math.exp(t)-Math.exp(-t))/(Math.exp(t)+Math.exp(-t))},trunc:function(t){return Number.isNaN(t)?0/0:1/0===t||t===-1/0?t:0===t?t:~~t}}),r&&n(t,{Map:function(){function t(){return this instanceof t?(n(this,{_keys:[],_values:[],_size:0}),void Object.defineProperty(this,"size",{configurable:!0,enumerable:!1,get:function(){return this._size}.bind(this)})):new t}var e=function(t,e){for(var r=0,n=t.length;n>r;r++)if(Object.is(t[r],e))return r;return-1};return n(t.prototype,{get:function(t){var r=e(this._keys,t);return 0>r?void 0:this._values[r]},has:function(t){return e(this._keys,t)>=0},set:function(t,r){var n=this._keys,i=this._values,o=e(n,t);0>o&&(o=n.length),n[o]=t,i[o]=r,this._size+=1},"delete":function(t){var r=this._keys,n=this._values,i=e(r,t);return 0>i?!1:(r.splice(i,1),n.splice(i,1),this._size-=1,!0)},keys:function(){return this._keys},values:function(){return this._values}}),t}(),Set:function(){function t(){return this instanceof t?(n(this,{"[[SetData]]":new Map}),void Object.defineProperty(this,"size",{configurable:!0,enumerable:!1,get:function(){return this["[[SetData]]"].size}.bind(this)})):new t}return n(t.prototype,{has:function(t){return this["[[SetData]]"].has(t)},add:function(t){this["[[SetData]]"].set(t,!0)},"delete":function(t){return this["[[SetData]]"]["delete"](t)},clear:function(){Object.defineProperty(this,"[[SetData]]",{configurable:!0,enumerable:!1,writable:!0,value:new Map})}}),t}()})};"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(main):main();