polyfill-library 3.109.0 → 3.111.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/CHANGELOG.md +151 -54
  2. package/lib/index.js +2 -2
  3. package/lib/sources.js +6 -2
  4. package/package.json +8 -5
  5. package/polyfills/__dist/AggregateError/meta.json +1 -0
  6. package/polyfills/__dist/AggregateError/min.js +1 -0
  7. package/polyfills/__dist/AggregateError/raw.js +30 -0
  8. package/polyfills/__dist/Array.from/meta.json +1 -1
  9. package/polyfills/__dist/Array.of/meta.json +1 -1
  10. package/polyfills/__dist/Array.prototype.@@iterator/meta.json +1 -1
  11. package/polyfills/__dist/Array.prototype.at/meta.json +1 -0
  12. package/polyfills/__dist/Array.prototype.at/min.js +1 -0
  13. package/polyfills/__dist/Array.prototype.at/raw.js +21 -0
  14. package/polyfills/__dist/Array.prototype.fill/meta.json +1 -1
  15. package/polyfills/__dist/Array.prototype.includes/meta.json +1 -1
  16. package/polyfills/__dist/Array.prototype.values/meta.json +1 -1
  17. package/polyfills/__dist/ArrayBuffer/meta.json +1 -1
  18. package/polyfills/__dist/ArrayBuffer/min.js +1 -1
  19. package/polyfills/__dist/ArrayBuffer/raw.js +8 -6
  20. package/polyfills/__dist/ArrayBuffer.isView/meta.json +1 -0
  21. package/polyfills/__dist/ArrayBuffer.isView/min.js +1 -0
  22. package/polyfills/__dist/ArrayBuffer.isView/raw.js +13 -0
  23. package/polyfills/__dist/IntersectionObserver/meta.json +1 -1
  24. package/polyfills/__dist/Node.prototype.isSameNode/meta.json +1 -0
  25. package/polyfills/__dist/Node.prototype.isSameNode/min.js +1 -0
  26. package/polyfills/__dist/Node.prototype.isSameNode/raw.js +27 -0
  27. package/polyfills/__dist/Object.assign/meta.json +1 -1
  28. package/polyfills/__dist/Promise.allSettled/meta.json +1 -0
  29. package/polyfills/__dist/Promise.allSettled/min.js +1 -0
  30. package/polyfills/__dist/Promise.allSettled/raw.js +41 -0
  31. package/polyfills/__dist/Promise.any/meta.json +1 -0
  32. package/polyfills/__dist/Promise.any/min.js +1 -0
  33. package/polyfills/__dist/Promise.any/raw.js +45 -0
  34. package/polyfills/__dist/Reflect/meta.json +1 -1
  35. package/polyfills/__dist/Reflect.apply/meta.json +1 -1
  36. package/polyfills/__dist/Reflect.construct/meta.json +1 -1
  37. package/polyfills/__dist/Reflect.defineProperty/meta.json +1 -1
  38. package/polyfills/__dist/Reflect.deleteProperty/meta.json +1 -1
  39. package/polyfills/__dist/Reflect.get/meta.json +1 -1
  40. package/polyfills/__dist/Reflect.getOwnPropertyDescriptor/meta.json +1 -1
  41. package/polyfills/__dist/Reflect.getPrototypeOf/meta.json +1 -1
  42. package/polyfills/__dist/Reflect.has/meta.json +1 -1
  43. package/polyfills/__dist/Reflect.isExtensible/meta.json +1 -1
  44. package/polyfills/__dist/Reflect.ownKeys/meta.json +1 -1
  45. package/polyfills/__dist/Reflect.preventExtensions/meta.json +1 -1
  46. package/polyfills/__dist/Reflect.set/meta.json +1 -1
  47. package/polyfills/__dist/Reflect.setPrototypeOf/meta.json +1 -1
  48. package/polyfills/__dist/String.prototype.at/meta.json +1 -0
  49. package/polyfills/__dist/String.prototype.at/min.js +1 -0
  50. package/polyfills/__dist/String.prototype.at/raw.js +23 -0
  51. package/polyfills/__dist/String.prototype.endsWith/meta.json +1 -1
  52. package/polyfills/__dist/String.prototype.padStart/meta.json +1 -1
  53. package/polyfills/__dist/String.prototype.startsWith/meta.json +1 -1
  54. package/polyfills/__dist/TextEncoder/meta.json +1 -1
  55. package/polyfills/__dist/TextEncoder/min.js +1 -1
  56. package/polyfills/__dist/TextEncoder/raw.js +67 -44
  57. package/polyfills/__dist/TypedArray.prototype.at/meta.json +1 -0
  58. package/polyfills/__dist/TypedArray.prototype.at/min.js +1 -0
  59. package/polyfills/__dist/TypedArray.prototype.at/raw.js +57 -0
  60. package/polyfills/__dist/URL/meta.json +1 -1
  61. package/polyfills/__dist/URL/min.js +1 -1
  62. package/polyfills/__dist/URL/raw.js +24 -2
  63. package/polyfills/__dist/_ESAbstract.IterableToList/meta.json +1 -0
  64. package/polyfills/__dist/_ESAbstract.IterableToList/min.js +1 -0
  65. package/polyfills/__dist/_ESAbstract.IterableToList/raw.js +31 -0
  66. package/polyfills/__dist/_ESAbstract.LengthOfArrayLike/meta.json +1 -0
  67. package/polyfills/__dist/_ESAbstract.LengthOfArrayLike/min.js +1 -0
  68. package/polyfills/__dist/_ESAbstract.LengthOfArrayLike/raw.js +8 -0
  69. package/polyfills/__dist/_ESAbstract.ToIntegerOrInfinity/meta.json +1 -0
  70. package/polyfills/__dist/_ESAbstract.ToIntegerOrInfinity/min.js +1 -0
  71. package/polyfills/__dist/_ESAbstract.ToIntegerOrInfinity/raw.js +20 -0
  72. package/polyfills/__dist/aliases.json +1 -1
  73. package/polyfills/__dist/document.currentScript/meta.json +1 -1
  74. package/polyfills/__dist/document.visibilityState/meta.json +1 -1
  75. package/polyfills/__dist/localStorage/meta.json +1 -1
  76. package/polyfills/__dist/localStorage/min.js +1 -1
  77. package/polyfills/__dist/localStorage/raw.js +30 -8
  78. package/polyfills/__dist/requestAnimationFrame/meta.json +1 -1
  79. package/polyfills/__dist/smoothscroll/meta.json +1 -1
@@ -1 +1 @@
1
- {"aliases":["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","DataView"],"license":"MIT","repo":"https://github.com/inexorabletash/polyfill","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray","browsers":{"android":"<37","bb":"*","chrome":"<32","edge":"<14","edge_mob":"<14","firefox":"<44","firefox_mob":"<44","ie":"*","ie_mob":"*","ios_chr":"<7","ios_saf":"<7","op_mini":"*","op_mob":"<19","opera":"<19","safari":"<7","samsung_mob":"<2"},"install":{"module":"js-polyfills","paths":["typedarray.js"]},"detectSource":"","baseDir":"ArrayBuffer","hasTests":false,"isTestable":true,"isPublic":true,"size":16129}
1
+ {"aliases":["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","DataView"],"license":"MIT","repo":"https://github.com/inexorabletash/polyfill","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray","notes":["In Internet Explorer 8 there is no support for square-bracket notation, instead you will need to use the methods _getter and _setter."],"browsers":{"android":"<37","bb":"*","chrome":"<32","edge":"<14","edge_mob":"<14","firefox":"<44","firefox_mob":"<44","ie":"*","ie_mob":"*","ios_chr":"<7","ios_saf":"<7","op_mini":"*","op_mob":"<19","opera":"<19","safari":"<7","samsung_mob":"<2"},"install":{"module":"js-polyfills","paths":["typedarray.js"],"postinstall":"update.task.js"},"detectSource":"","baseDir":"ArrayBuffer","hasTests":false,"isTestable":true,"isPublic":true,"size":16144}
@@ -1 +1 @@
1
- !function(t){"use strict";function e(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return null===t?"null":"object"}}function r(t){return Object.prototype.toString.call(t).replace(/^\[object *|\]$/g,"")}function n(t){return"function"==typeof t}function o(t){if(null===t||t===B)throw TypeError();return Object(t)}function i(t){return t>>0}function f(t){return t>>>0}function u(e){if(!("TYPED_ARRAY_POLYFILL_NO_ARRAY_ACCESSORS"in t)){if(e.length>N)throw RangeError("Array too large for polyfill");var r;for(r=0;r<e.length;r+=1)!function n(t){Object.defineProperty(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}(r)}}function a(t,e){var r=32-e;return t<<r>>r}function h(t,e){var r=32-e;return t<<r>>>r}function y(t){return[255&t]}function s(t){return a(t[0],8)}function l(t){return[255&t]}function p(t){return h(t[0],8)}function c(t){return t=x(Number(t)),[t<0?0:t>255?255:255&t]}function b(t){return[255&t,t>>8&255]}function g(t){return a(t[1]<<8|t[0],16)}function E(t){return[255&t,t>>8&255]}function v(t){return h(t[1]<<8|t[0],16)}function _(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function O(t){return a(t[3]<<24|t[2]<<16|t[1]<<8|t[0],32)}function d(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function j(t){return h(t[3]<<24|t[2]<<16|t[1]<<8|t[0],32)}function P(t,e,r){function n(t){var e=m(t),r=t-e;return r<.5?e:r>.5?e+1:e%2?e+1:e}var o,i,f,u=(1<<e-1)-1;if(t!==t)i=(1<<e)-1,f=F(2,r-1),o=0;else if(t===Infinity||t===-Infinity)i=(1<<e)-1,f=0,o=t<0?1:0;else if(0===t)i=0,f=0,o=1/t==-Infinity?1:0;else if(o=t<0,(t=M(t))>=F(2,1-u)){i=Y(m(I(t)/S),1023);var a=t/F(2,i);a<1&&(i-=1,a*=2),a>=2&&(i+=1,a/=2);var h=F(2,r);f=n(a*h)-h,i+=u,f/h>=1&&(i+=1,f=0),i>2*u&&(i=(1<<e)-1,f=0)}else i=0,f=n(t/F(2,1-u-r));var y,s=[];for(y=r;y;y-=1)s.push(f%2?1:0),f=m(f/2);for(y=e;y;y-=1)s.push(i%2?1:0),i=m(i/2);s.push(o?1:0),s.reverse();for(var l=s.join(""),p=[];l.length;)p.unshift(parseInt(l.substring(0,8),2)),l=l.substring(8);return p}function T(t,e,r){var n,o,i,f,u,a,h,y,s=[];for(n=0;n<t.length;++n)for(i=t[n],o=8;o;o-=1)s.push(i%2?1:0),i>>=1;return s.reverse(),f=s.join(""),u=(1<<e-1)-1,a=parseInt(f.substring(0,1),2)?-1:1,h=parseInt(f.substring(1,1+e),2),y=parseInt(f.substring(1+e),2),h===(1<<e)-1?0!==y?NaN:a*Infinity:h>0?a*F(2,h-u)*(1+y/F(2,r)):0!==y?a*F(2,-(u-1))*(y/F(2,r)):a<0?-0:0}function w(t){return T(t,11,52)}function A(t){return P(t,11,52)}function L(t){return T(t,8,23)}function R(t){return P(t,8,23)}var B=void 0,N=1e5,S=Math.LN2,M=Math.abs,m=Math.floor,I=Math.log,U=Math.max,Y=Math.min,F=Math.pow,x=Math.round;!function(){var t=Object.defineProperty,e=!function(){try{return Object.defineProperty({},"x",{})}catch(t){return!1}}();t&&!e||(Object.defineProperty=function(e,r,n){if(t)try{return t(e,r,n)}catch(o){}if(e!==Object(e))throw TypeError("Object.defineProperty called on non-object");return Object.prototype.__defineGetter__&&"get"in n&&Object.prototype.__defineGetter__.call(e,r,n.get),Object.prototype.__defineSetter__&&"set"in n&&Object.prototype.__defineSetter__.call(e,r,n.set),"value"in n&&(e[r]=n.value),e})}(),function(){function a(t){if((t=i(t))<0)throw RangeError("ArrayBuffer size is not a small enough positive integer.");Object.defineProperty(this,"byteLength",{value:t}),Object.defineProperty(this,"_bytes",{value:Array(t)});for(var e=0;e<t;e+=1)this._bytes[e]=0}function h(){if(!arguments.length||"object"!=typeof arguments[0])return function(t){if((t=i(t))<0)throw RangeError("length is not a small enough positive integer.");Object.defineProperty(this,"length",{value:t}),Object.defineProperty(this,"byteLength",{value:t*this.BYTES_PER_ELEMENT}),Object.defineProperty(this,"buffer",{value:new a(this.byteLength)}),Object.defineProperty(this,"byteOffset",{value:0})}.apply(this,arguments);if(arguments.length>=1&&"object"===e(arguments[0])&&arguments[0]instanceof h)return function(t){if(this.constructor!==t.constructor)throw TypeError();var e=t.length*this.BYTES_PER_ELEMENT;Object.defineProperty(this,"buffer",{value:new a(e)}),Object.defineProperty(this,"byteLength",{value:e}),Object.defineProperty(this,"byteOffset",{value:0}),Object.defineProperty(this,"length",{value:t.length});for(var r=0;r<this.length;r+=1)this._setter(r,t._getter(r))}.apply(this,arguments);if(arguments.length>=1&&"object"===e(arguments[0])&&!(arguments[0]instanceof h)&&!(arguments[0]instanceof a||"ArrayBuffer"===r(arguments[0])))return function(t){var e=t.length*this.BYTES_PER_ELEMENT;Object.defineProperty(this,"buffer",{value:new a(e)}),Object.defineProperty(this,"byteLength",{value:e}),Object.defineProperty(this,"byteOffset",{value:0}),Object.defineProperty(this,"length",{value:t.length});for(var r=0;r<this.length;r+=1){var n=t[r];this._setter(r,Number(n))}}.apply(this,arguments);if(arguments.length>=1&&"object"===e(arguments[0])&&(arguments[0]instanceof a||"ArrayBuffer"===r(arguments[0])))return function(t,e,r){if((e=f(e))>t.byteLength)throw RangeError("byteOffset out of range");if(e%this.BYTES_PER_ELEMENT)throw RangeError("buffer length minus the byteOffset is not a multiple of the element size.");if(r===B){var n=t.byteLength-e;if(n%this.BYTES_PER_ELEMENT)throw RangeError("length of buffer minus byteOffset not a multiple of the element size");r=n/this.BYTES_PER_ELEMENT}else r=f(r),n=r*this.BYTES_PER_ELEMENT;if(e+n>t.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");Object.defineProperty(this,"buffer",{value:t}),Object.defineProperty(this,"byteLength",{value:n}),Object.defineProperty(this,"byteOffset",{value:e}),Object.defineProperty(this,"length",{value:r})}.apply(this,arguments);throw TypeError()}function P(t,e,r){var n=function(){Object.defineProperty(this,"constructor",{value:n}),h.apply(this,arguments),u(this)};"__proto__"in n?n.__proto__=h:(n.from=h.from,n.of=h.of),n.BYTES_PER_ELEMENT=t;var o=function(){};return o.prototype=T,n.prototype=new o,Object.defineProperty(n.prototype,"BYTES_PER_ELEMENT",{value:t}),Object.defineProperty(n.prototype,"_pack",{value:e}),Object.defineProperty(n.prototype,"_unpack",{value:r}),n}t.ArrayBuffer=t.ArrayBuffer||a,Object.defineProperty(h,"from",{value:function(t){return new this(t)}}),Object.defineProperty(h,"of",{value:function(){return new this(arguments)}});var T={};h.prototype=T,Object.defineProperty(h.prototype,"_getter",{value:function(t){if(arguments.length<1)throw SyntaxError("Not enough arguments");if((t=f(t))>=this.length)return B;var e,r,n=[];for(e=0,r=this.byteOffset+t*this.BYTES_PER_ELEMENT;e<this.BYTES_PER_ELEMENT;e+=1,r+=1)n.push(this.buffer._bytes[r]);return this._unpack(n)}}),Object.defineProperty(h.prototype,"get",{value:h.prototype._getter}),Object.defineProperty(h.prototype,"_setter",{value:function(t,e){if(arguments.length<2)throw SyntaxError("Not enough arguments");if(!((t=f(t))>=this.length)){var r,n,o=this._pack(e);for(r=0,n=this.byteOffset+t*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,n+=1)this.buffer._bytes[n]=o[r]}}}),Object.defineProperty(h.prototype,"constructor",{value:h}),Object.defineProperty(h.prototype,"copyWithin",{value:function(t,e){var r=arguments[2],n=o(this),u=n.length,a=f(u);a=U(a,0);var h,y=i(t);h=y<0?U(a+y,0):Y(y,a);var s,l=i(e);s=l<0?U(a+l,0):Y(l,a);var p;p=r===B?a:i(r);var c;c=p<0?U(a+p,0):Y(p,a);var b,g=Y(c-s,a-h);for(s<h&&h<s+g?(b=-1,s=s+g-1,h=h+g-1):b=1;g>0;)n._setter(h,n._getter(s)),s+=b,h+=b,g-=1;return n}}),Object.defineProperty(h.prototype,"every",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=arguments[1],i=0;i<r;i++)if(!t.call(o,e._getter(i),i,e))return!1;return!0}}),Object.defineProperty(h.prototype,"fill",{value:function(t){var e=arguments[1],r=arguments[2],n=o(this),u=n.length,a=f(u);a=U(a,0);var h,y=i(e);h=y<0?U(a+y,0):Y(y,a);var s;s=r===B?a:i(r);var l;for(l=s<0?U(a+s,0):Y(s,a);h<l;)n._setter(h,t),h+=1;return n}}),Object.defineProperty(h.prototype,"filter",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=[],i=arguments[1],u=0;u<r;u++){var a=e._getter(u);t.call(i,a,u,e)&&o.push(a)}return new this.constructor(o)}}),Object.defineProperty(h.prototype,"find",{value:function(t){var e=o(this),r=e.length,i=f(r);if(!n(t))throw TypeError();for(var u=arguments.length>1?arguments[1]:B,a=0;a<i;){var h=e._getter(a),y=t.call(u,h,a,e);if(Boolean(y))return h;++a}return B}}),Object.defineProperty(h.prototype,"findIndex",{value:function(t){var e=o(this),r=e.length,i=f(r);if(!n(t))throw TypeError();for(var u=arguments.length>1?arguments[1]:B,a=0;a<i;){var h=e._getter(a),y=t.call(u,h,a,e);if(Boolean(y))return a;++a}return-1}}),Object.defineProperty(h.prototype,"forEach",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=arguments[1],i=0;i<r;i++)t.call(o,e._getter(i),i,e)}}),Object.defineProperty(h.prototype,"indexOf",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(0===r)return-1;var n=0;if(arguments.length>0&&(n=Number(arguments[1]),n!==n?n=0:0!==n&&n!==1/0&&n!==-1/0&&(n=(n>0||-1)*m(M(n)))),n>=r)return-1;for(var o=n>=0?n:U(r-M(n),0);o<r;o++)if(e._getter(o)===t)return o;return-1}}),Object.defineProperty(h.prototype,"join",{value:function(t){if(this===B||null===this)throw TypeError();for(var e=Object(this),r=f(e.length),n=Array(r),o=0;o<r;++o)n[o]=e._getter(o);return n.join(t===B?",":t)}}),Object.defineProperty(h.prototype,"lastIndexOf",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(0===r)return-1;var n=r;arguments.length>1&&(n=Number(arguments[1]),n!==n?n=0:0!==n&&n!==1/0&&n!==-1/0&&(n=(n>0||-1)*m(M(n))));for(var o=n>=0?Y(n,r-1):r-M(n);o>=0;o--)if(e._getter(o)===t)return o;return-1}}),Object.defineProperty(h.prototype,"map",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();var o=[];o.length=r;for(var i=arguments[1],u=0;u<r;u++)o[u]=t.call(i,e._getter(u),u,e);return new this.constructor(o)}}),Object.defineProperty(h.prototype,"reduce",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();if(0===r&&1===arguments.length)throw TypeError();var o,i=0;for(o=arguments.length>=2?arguments[1]:e._getter(i++);i<r;)o=t.call(B,o,e._getter(i),i,e),i++;return o}}),Object.defineProperty(h.prototype,"reduceRight",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();if(0===r&&1===arguments.length)throw TypeError();var o,i=r-1;for(o=arguments.length>=2?arguments[1]:e._getter(i--);i>=0;)o=t.call(B,o,e._getter(i),i,e),i--;return o}}),Object.defineProperty(h.prototype,"reverse",{value:function(){if(this===B||null===this)throw TypeError();for(var t=Object(this),e=f(t.length),r=m(e/2),n=0,o=e-1;n<r;++n,--o){var i=t._getter(n);t._setter(n,t._getter(o)),t._setter(o,i)}return t}}),Object.defineProperty(h.prototype,"set",{value:function(t,e){if(arguments.length<1)throw SyntaxError("Not enough arguments");var r,n,o,i,u,a,h,y,s,l;if("object"==typeof arguments[0]&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=f(arguments[1]))+r.length>this.length)throw RangeError("Offset plus length of array is out of range");if(y=this.byteOffset+o*this.BYTES_PER_ELEMENT,s=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(l=[],u=0,a=r.byteOffset;u<s;u+=1,a+=1)l[u]=r.buffer._bytes[a];for(u=0,h=y;u<s;u+=1,h+=1)this.buffer._bytes[h]=l[u]}else for(u=0,a=r.byteOffset,h=y;u<s;u+=1,a+=1,h+=1)this.buffer._bytes[h]=r.buffer._bytes[a]}else{if("object"!=typeof arguments[0]||"undefined"==typeof arguments[0].length)throw TypeError("Unexpected argument type(s)");if(n=arguments[0],i=f(n.length),(o=f(arguments[1]))+i>this.length)throw RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)a=n[u],this._setter(o+u,Number(a))}}}),Object.defineProperty(h.prototype,"slice",{value:function(t,e){for(var r=o(this),n=r.length,u=f(n),a=i(t),h=a<0?U(u+a,0):Y(a,u),y=e===B?u:i(e),s=y<0?U(u+y,0):Y(y,u),l=s-h,p=r.constructor,c=new p(l),b=0;h<s;){var g=r._getter(h);c._setter(b,g),++h,++b}return c}}),Object.defineProperty(h.prototype,"some",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=arguments[1],i=0;i<r;i++)if(t.call(o,e._getter(i),i,e))return!0;return!1}}),Object.defineProperty(h.prototype,"sort",{value:function(t){function e(e,r){return e!==e&&r!==r?0:e!==e?1:r!==r?-1:t!==B?t(e,r):e<r?-1:e>r?1:0}if(this===B||null===this)throw TypeError();for(var r=Object(this),n=f(r.length),o=Array(n),i=0;i<n;++i)o[i]=r._getter(i);for(o.sort(e),i=0;i<n;++i)r._setter(i,o[i]);return r}}),Object.defineProperty(h.prototype,"subarray",{value:function(t,e){function r(t,e,r){return t<e?e:t>r?r:t}t=i(t),e=i(e),arguments.length<1&&(t=0),arguments.length<2&&(e=this.length),t<0&&(t=this.length+t),e<0&&(e=this.length+e),t=r(t,0,this.length),e=r(e,0,this.length);var n=e-t;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+t*this.BYTES_PER_ELEMENT,n)}});var N=P(1,y,s),S=P(1,l,p),I=P(1,c,p),F=P(2,b,g),x=P(2,E,v),k=P(4,_,O),C=P(4,d,j),z=P(4,R,L),D=P(8,A,w);t.Int8Array=t.Int8Array||N,t.Uint8Array=t.Uint8Array||S,t.Uint8ClampedArray=t.Uint8ClampedArray||I,t.Int16Array=t.Int16Array||F,t.Uint16Array=t.Uint16Array||x,t.Int32Array=t.Int32Array||k,t.Uint32Array=t.Uint32Array||C,t.Float32Array=t.Float32Array||z,t.Float64Array=t.Float64Array||D}(),function(){function e(t,e){return n(t.get)?t.get(e):t[e]}function o(t,e,n){if(!(t instanceof ArrayBuffer||"ArrayBuffer"===r(t)))throw TypeError();if((e=f(e))>t.byteLength)throw RangeError("byteOffset out of range");if(n=n===B?t.byteLength-e:f(n),e+n>t.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");Object.defineProperty(this,"buffer",{value:t}),Object.defineProperty(this,"byteLength",{value:n}),Object.defineProperty(this,"byteOffset",{value:e})}function i(t){return function r(n,o){if((n=f(n))+t.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");n+=this.byteOffset;for(var i=new Uint8Array(this.buffer,n,t.BYTES_PER_ELEMENT),u=[],h=0;h<t.BYTES_PER_ELEMENT;h+=1)u.push(e(i,h));return Boolean(o)===Boolean(a)&&u.reverse(),e(new t(new Uint8Array(u).buffer),0)}}function u(t){return function r(n,o,i){if((n=f(n))+t.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");var u,h,y=new t([o]),s=new Uint8Array(y.buffer),l=[];for(u=0;u<t.BYTES_PER_ELEMENT;u+=1)l.push(e(s,u));Boolean(i)===Boolean(a)&&l.reverse(),h=new Uint8Array(this.buffer,n,t.BYTES_PER_ELEMENT),h.set(l)}}var a=function(){var t=new Uint16Array([4660]);return 18===e(new Uint8Array(t.buffer),0)}();Object.defineProperty(o.prototype,"getUint8",{value:i(Uint8Array)}),Object.defineProperty(o.prototype,"getInt8",{value:i(Int8Array)}),Object.defineProperty(o.prototype,"getUint16",{value:i(Uint16Array)}),Object.defineProperty(o.prototype,"getInt16",{value:i(Int16Array)}),Object.defineProperty(o.prototype,"getUint32",{value:i(Uint32Array)}),Object.defineProperty(o.prototype,"getInt32",{value:i(Int32Array)}),Object.defineProperty(o.prototype,"getFloat32",{value:i(Float32Array)}),Object.defineProperty(o.prototype,"getFloat64",{value:i(Float64Array)}),Object.defineProperty(o.prototype,"setUint8",{value:u(Uint8Array)}),Object.defineProperty(o.prototype,"setInt8",{value:u(Int8Array)}),Object.defineProperty(o.prototype,"setUint16",{value:u(Uint16Array)}),Object.defineProperty(o.prototype,"setInt16",{value:u(Int16Array)}),Object.defineProperty(o.prototype,"setUint32",{value:u(Uint32Array)}),Object.defineProperty(o.prototype,"setInt32",{value:u(Int32Array)}),Object.defineProperty(o.prototype,"setFloat32",{value:u(Float32Array)}),Object.defineProperty(o.prototype,"setFloat64",{value:u(Float64Array)}),t.DataView=t.DataView||o}()}(self);
1
+ !function(t){"use strict";function e(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return null===t?"null":"object"}}function r(t){return Object.prototype.toString.call(t).replace(/^\[object *|\]$/g,"")}function n(t){return"function"==typeof t}function o(t){if(null===t||t===B)throw TypeError();return Object(t)}function i(t){return t>>0}function f(t){return t>>>0}function u(e){if(!("TYPED_ARRAY_POLYFILL_NO_ARRAY_ACCESSORS"in t)){if(e.length>N)throw RangeError("Array too large for polyfill");var r;for(r=0;r<e.length;r+=1)!function n(t){try{Object.defineProperty(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}catch(r){}}(r)}}function a(t,e){var r=32-e;return t<<r>>r}function h(t,e){var r=32-e;return t<<r>>>r}function y(t){return[255&t]}function s(t){return a(t[0],8)}function l(t){return[255&t]}function p(t){return h(t[0],8)}function c(t){return t=x(Number(t)),[t<0?0:t>255?255:255&t]}function b(t){return[255&t,t>>8&255]}function g(t){return a(t[1]<<8|t[0],16)}function E(t){return[255&t,t>>8&255]}function v(t){return h(t[1]<<8|t[0],16)}function _(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function O(t){return a(t[3]<<24|t[2]<<16|t[1]<<8|t[0],32)}function d(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function j(t){return h(t[3]<<24|t[2]<<16|t[1]<<8|t[0],32)}function P(t,e,r){function n(t){var e=m(t),r=t-e;return r<.5?e:r>.5?e+1:e%2?e+1:e}var o,i,f,u=(1<<e-1)-1;if(t!==t)i=(1<<e)-1,f=F(2,r-1),o=0;else if(t===Infinity||t===-Infinity)i=(1<<e)-1,f=0,o=t<0?1:0;else if(0===t)i=0,f=0,o=1/t==-Infinity?1:0;else if(o=t<0,(t=M(t))>=F(2,1-u)){i=Y(m(I(t)/S),1023);var a=t/F(2,i);a<1&&(i-=1,a*=2),a>=2&&(i+=1,a/=2);var h=F(2,r);f=n(a*h)-h,i+=u,f/h>=1&&(i+=1,f=0),i>2*u&&(i=(1<<e)-1,f=0)}else i=0,f=n(t/F(2,1-u-r));var y,s=[];for(y=r;y;y-=1)s.push(f%2?1:0),f=m(f/2);for(y=e;y;y-=1)s.push(i%2?1:0),i=m(i/2);s.push(o?1:0),s.reverse();for(var l=s.join(""),p=[];l.length;)p.unshift(parseInt(l.substring(0,8),2)),l=l.substring(8);return p}function T(t,e,r){var n,o,i,f,u,a,h,y,s=[];for(n=0;n<t.length;++n)for(i=t[n],o=8;o;o-=1)s.push(i%2?1:0),i>>=1;return s.reverse(),f=s.join(""),u=(1<<e-1)-1,a=parseInt(f.substring(0,1),2)?-1:1,h=parseInt(f.substring(1,1+e),2),y=parseInt(f.substring(1+e),2),h===(1<<e)-1?0!==y?NaN:a*Infinity:h>0?a*F(2,h-u)*(1+y/F(2,r)):0!==y?a*F(2,-(u-1))*(y/F(2,r)):a<0?-0:0}function w(t){return T(t,11,52)}function A(t){return P(t,11,52)}function L(t){return T(t,8,23)}function R(t){return P(t,8,23)}var B=void 0,N=1e5,S=Math.LN2,M=Math.abs,m=Math.floor,I=Math.log,U=Math.max,Y=Math.min,F=Math.pow,x=Math.round;!function(){var t=Object.defineProperty,e=!function(){try{return Object.defineProperty({},"x",{})}catch(t){return!1}}();t&&!e||(Object.defineProperty=function(e,r,n){if(t)try{return t(e,r,n)}catch(o){}if(e!==Object(e))throw TypeError("Object.defineProperty called on non-object");return Object.prototype.__defineGetter__&&"get"in n&&Object.prototype.__defineGetter__.call(e,r,n.get),Object.prototype.__defineSetter__&&"set"in n&&Object.prototype.__defineSetter__.call(e,r,n.set),"value"in n&&(e[r]=n.value),e})}(),function(){function a(t){if((t=i(t))<0)throw RangeError("ArrayBuffer size is not a small enough positive integer.");Object.defineProperty(this,"byteLength",{value:t}),Object.defineProperty(this,"_bytes",{value:Array(t)});for(var e=0;e<t;e+=1)this._bytes[e]=0}function h(){if(!arguments.length||"object"!=typeof arguments[0])return function(t){if((t=i(t))<0)throw RangeError("length is not a small enough positive integer.");Object.defineProperty(this,"length",{value:t}),Object.defineProperty(this,"byteLength",{value:t*this.BYTES_PER_ELEMENT}),Object.defineProperty(this,"buffer",{value:new a(this.byteLength)}),Object.defineProperty(this,"byteOffset",{value:0})}.apply(this,arguments);if(arguments.length>=1&&"object"===e(arguments[0])&&arguments[0]instanceof h)return function(t){if(this.constructor!==t.constructor)throw TypeError();var e=t.length*this.BYTES_PER_ELEMENT;Object.defineProperty(this,"buffer",{value:new a(e)}),Object.defineProperty(this,"byteLength",{value:e}),Object.defineProperty(this,"byteOffset",{value:0}),Object.defineProperty(this,"length",{value:t.length});for(var r=0;r<this.length;r+=1)this._setter(r,t._getter(r))}.apply(this,arguments);if(arguments.length>=1&&"object"===e(arguments[0])&&!(arguments[0]instanceof h)&&!(arguments[0]instanceof a||"ArrayBuffer"===r(arguments[0])))return function(t){var e=t.length*this.BYTES_PER_ELEMENT;Object.defineProperty(this,"buffer",{value:new a(e)}),Object.defineProperty(this,"byteLength",{value:e}),Object.defineProperty(this,"byteOffset",{value:0}),Object.defineProperty(this,"length",{value:t.length});for(var r=0;r<this.length;r+=1){var n=t[r];this._setter(r,Number(n))}}.apply(this,arguments);if(arguments.length>=1&&"object"===e(arguments[0])&&(arguments[0]instanceof a||"ArrayBuffer"===r(arguments[0])))return function(t,e,r){if((e=f(e))>t.byteLength)throw RangeError("byteOffset out of range");if(e%this.BYTES_PER_ELEMENT)throw RangeError("buffer length minus the byteOffset is not a multiple of the element size.");if(r===B){var n=t.byteLength-e;if(n%this.BYTES_PER_ELEMENT)throw RangeError("length of buffer minus byteOffset not a multiple of the element size");r=n/this.BYTES_PER_ELEMENT}else r=f(r),n=r*this.BYTES_PER_ELEMENT;if(e+n>t.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");Object.defineProperty(this,"buffer",{value:t}),Object.defineProperty(this,"byteLength",{value:n}),Object.defineProperty(this,"byteOffset",{value:e}),Object.defineProperty(this,"length",{value:r})}.apply(this,arguments);throw TypeError()}function P(t,e,r){var n=function(){Object.defineProperty(this,"constructor",{value:n}),h.apply(this,arguments),u(this)};"__proto__"in n?n.__proto__=h:(n.from=h.from,n.of=h.of),n.BYTES_PER_ELEMENT=t;var o=function(){};return o.prototype=T,n.prototype=new o,Object.defineProperty(n.prototype,"BYTES_PER_ELEMENT",{value:t}),Object.defineProperty(n.prototype,"_pack",{value:e}),Object.defineProperty(n.prototype,"_unpack",{value:r}),n}t.ArrayBuffer=t.ArrayBuffer||a,Object.defineProperty(h,"from",{value:function(t){return new this(t)}}),Object.defineProperty(h,"of",{value:function(){return new this(arguments)}});var T={};h.prototype=T,Object.defineProperty(h.prototype,"_getter",{value:function(t){if(arguments.length<1)throw SyntaxError("Not enough arguments");if((t=f(t))>=this.length)return B;var e,r,n=[];for(e=0,r=this.byteOffset+t*this.BYTES_PER_ELEMENT;e<this.BYTES_PER_ELEMENT;e+=1,r+=1)n.push(this.buffer._bytes[r]);return this._unpack(n)}}),Object.defineProperty(h.prototype,"get",{value:h.prototype._getter}),Object.defineProperty(h.prototype,"_setter",{value:function(t,e){if(arguments.length<2)throw SyntaxError("Not enough arguments");if(!((t=f(t))>=this.length)){var r,n,o=this._pack(e);for(r=0,n=this.byteOffset+t*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,n+=1)this.buffer._bytes[n]=o[r]}}}),Object.defineProperty(h.prototype,"constructor",{value:h}),Object.defineProperty(h.prototype,"copyWithin",{value:function(t,e){var r=arguments[2],n=o(this),u=n.length,a=f(u);a=U(a,0);var h,y=i(t);h=y<0?U(a+y,0):Y(y,a);var s,l=i(e);s=l<0?U(a+l,0):Y(l,a);var p;p=r===B?a:i(r);var c;c=p<0?U(a+p,0):Y(p,a);var b,g=Y(c-s,a-h);for(s<h&&h<s+g?(b=-1,s=s+g-1,h=h+g-1):b=1;g>0;)n._setter(h,n._getter(s)),s+=b,h+=b,g-=1;return n}}),Object.defineProperty(h.prototype,"every",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=arguments[1],i=0;i<r;i++)if(!t.call(o,e._getter(i),i,e))return!1;return!0}}),Object.defineProperty(h.prototype,"fill",{value:function(t){var e=arguments[1],r=arguments[2],n=o(this),u=n.length,a=f(u);a=U(a,0);var h,y=i(e);h=y<0?U(a+y,0):Y(y,a);var s;s=r===B?a:i(r);var l;for(l=s<0?U(a+s,0):Y(s,a);h<l;)n._setter(h,t),h+=1;return n}}),Object.defineProperty(h.prototype,"filter",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=[],i=arguments[1],u=0;u<r;u++){var a=e._getter(u);t.call(i,a,u,e)&&o.push(a)}return new this.constructor(o)}}),Object.defineProperty(h.prototype,"find",{value:function(t){var e=o(this),r=e.length,i=f(r);if(!n(t))throw TypeError();for(var u=arguments.length>1?arguments[1]:B,a=0;a<i;){var h=e._getter(a),y=t.call(u,h,a,e);if(Boolean(y))return h;++a}return B}}),Object.defineProperty(h.prototype,"findIndex",{value:function(t){var e=o(this),r=e.length,i=f(r);if(!n(t))throw TypeError();for(var u=arguments.length>1?arguments[1]:B,a=0;a<i;){var h=e._getter(a),y=t.call(u,h,a,e);if(Boolean(y))return a;++a}return-1}}),Object.defineProperty(h.prototype,"forEach",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=arguments[1],i=0;i<r;i++)t.call(o,e._getter(i),i,e)}}),Object.defineProperty(h.prototype,"indexOf",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(0===r)return-1;var n=0;if(arguments.length>0&&(n=Number(arguments[1]),n!==n?n=0:0!==n&&n!==1/0&&n!==-1/0&&(n=(n>0||-1)*m(M(n)))),n>=r)return-1;for(var o=n>=0?n:U(r-M(n),0);o<r;o++)if(e._getter(o)===t)return o;return-1}}),Object.defineProperty(h.prototype,"join",{value:function(t){if(this===B||null===this)throw TypeError();for(var e=Object(this),r=f(e.length),n=Array(r),o=0;o<r;++o)n[o]=e._getter(o);return n.join(t===B?",":t)}}),Object.defineProperty(h.prototype,"lastIndexOf",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(0===r)return-1;var n=r;arguments.length>1&&(n=Number(arguments[1]),n!==n?n=0:0!==n&&n!==1/0&&n!==-1/0&&(n=(n>0||-1)*m(M(n))));for(var o=n>=0?Y(n,r-1):r-M(n);o>=0;o--)if(e._getter(o)===t)return o;return-1}}),Object.defineProperty(h.prototype,"map",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();var o=[];o.length=r;for(var i=arguments[1],u=0;u<r;u++)o[u]=t.call(i,e._getter(u),u,e);return new this.constructor(o)}}),Object.defineProperty(h.prototype,"reduce",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();if(0===r&&1===arguments.length)throw TypeError();var o,i=0;for(o=arguments.length>=2?arguments[1]:e._getter(i++);i<r;)o=t.call(B,o,e._getter(i),i,e),i++;return o}}),Object.defineProperty(h.prototype,"reduceRight",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();if(0===r&&1===arguments.length)throw TypeError();var o,i=r-1;for(o=arguments.length>=2?arguments[1]:e._getter(i--);i>=0;)o=t.call(B,o,e._getter(i),i,e),i--;return o}}),Object.defineProperty(h.prototype,"reverse",{value:function(){if(this===B||null===this)throw TypeError();for(var t=Object(this),e=f(t.length),r=m(e/2),n=0,o=e-1;n<r;++n,--o){var i=t._getter(n);t._setter(n,t._getter(o)),t._setter(o,i)}return t}}),Object.defineProperty(h.prototype,"set",{value:function(t,e){if(arguments.length<1)throw SyntaxError("Not enough arguments");var r,n,o,i,u,a,h,y,s,l;if("object"==typeof arguments[0]&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=f(arguments[1]))+r.length>this.length)throw RangeError("Offset plus length of array is out of range");if(y=this.byteOffset+o*this.BYTES_PER_ELEMENT,s=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(l=[],u=0,a=r.byteOffset;u<s;u+=1,a+=1)l[u]=r.buffer._bytes[a];for(u=0,h=y;u<s;u+=1,h+=1)this.buffer._bytes[h]=l[u]}else for(u=0,a=r.byteOffset,h=y;u<s;u+=1,a+=1,h+=1)this.buffer._bytes[h]=r.buffer._bytes[a]}else{if("object"!=typeof arguments[0]||"undefined"==typeof arguments[0].length)throw TypeError("Unexpected argument type(s)");if(n=arguments[0],i=f(n.length),(o=f(arguments[1]))+i>this.length)throw RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)a=n[u],this._setter(o+u,Number(a))}}}),Object.defineProperty(h.prototype,"slice",{value:function(t,e){for(var r=o(this),n=r.length,u=f(n),a=i(t),h=a<0?U(u+a,0):Y(a,u),y=e===B?u:i(e),s=y<0?U(u+y,0):Y(y,u),l=s-h,p=r.constructor,c=new p(l),b=0;h<s;){var g=r._getter(h);c._setter(b,g),++h,++b}return c}}),Object.defineProperty(h.prototype,"some",{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();for(var o=arguments[1],i=0;i<r;i++)if(t.call(o,e._getter(i),i,e))return!0;return!1}}),Object.defineProperty(h.prototype,"sort",{value:function(t){function e(e,r){return e!==e&&r!==r?0:e!==e?1:r!==r?-1:t!==B?t(e,r):e<r?-1:e>r?1:0}if(this===B||null===this)throw TypeError();for(var r=Object(this),n=f(r.length),o=Array(n),i=0;i<n;++i)o[i]=r._getter(i);for(o.sort(e),i=0;i<n;++i)r._setter(i,o[i]);return r}}),Object.defineProperty(h.prototype,"subarray",{value:function(t,e){function r(t,e,r){return t<e?e:t>r?r:t}t=i(t),e=i(e),arguments.length<1&&(t=0),arguments.length<2&&(e=this.length),t<0&&(t=this.length+t),e<0&&(e=this.length+e),t=r(t,0,this.length),e=r(e,0,this.length);var n=e-t;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+t*this.BYTES_PER_ELEMENT,n)}});var N=P(1,y,s),S=P(1,l,p),I=P(1,c,p),F=P(2,b,g),x=P(2,E,v),k=P(4,_,O),C=P(4,d,j),z=P(4,R,L),D=P(8,A,w);t.Int8Array=t.Int8Array||N,t.Uint8Array=t.Uint8Array||S,t.Uint8ClampedArray=t.Uint8ClampedArray||I,t.Int16Array=t.Int16Array||F,t.Uint16Array=t.Uint16Array||x,t.Int32Array=t.Int32Array||k,t.Uint32Array=t.Uint32Array||C,t.Float32Array=t.Float32Array||z,t.Float64Array=t.Float64Array||D}(),function(){function e(t,e){return n(t.get)?t.get(e):t[e]}function o(t,e,n){if(!(t instanceof ArrayBuffer||"ArrayBuffer"===r(t)))throw TypeError();if((e=f(e))>t.byteLength)throw RangeError("byteOffset out of range");if(n=n===B?t.byteLength-e:f(n),e+n>t.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");Object.defineProperty(this,"buffer",{value:t}),Object.defineProperty(this,"byteLength",{value:n}),Object.defineProperty(this,"byteOffset",{value:e})}function i(t){return function r(n,o){if((n=f(n))+t.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");n+=this.byteOffset;for(var i=new Uint8Array(this.buffer,n,t.BYTES_PER_ELEMENT),u=[],h=0;h<t.BYTES_PER_ELEMENT;h+=1)u.push(e(i,h));return Boolean(o)===Boolean(a)&&u.reverse(),e(new t(new Uint8Array(u).buffer),0)}}function u(t){return function r(n,o,i){if((n=f(n))+t.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");var u,h,y=new t([o]),s=new Uint8Array(y.buffer),l=[];for(u=0;u<t.BYTES_PER_ELEMENT;u+=1)l.push(e(s,u));Boolean(i)===Boolean(a)&&l.reverse(),h=new Uint8Array(this.buffer,n,t.BYTES_PER_ELEMENT),h.set(l)}}var a=function(){var t=new Uint16Array([4660]);return 18===e(new Uint8Array(t.buffer),0)}();Object.defineProperty(o.prototype,"getUint8",{value:i(Uint8Array)}),Object.defineProperty(o.prototype,"getInt8",{value:i(Int8Array)}),Object.defineProperty(o.prototype,"getUint16",{value:i(Uint16Array)}),Object.defineProperty(o.prototype,"getInt16",{value:i(Int16Array)}),Object.defineProperty(o.prototype,"getUint32",{value:i(Uint32Array)}),Object.defineProperty(o.prototype,"getInt32",{value:i(Int32Array)}),Object.defineProperty(o.prototype,"getFloat32",{value:i(Float32Array)}),Object.defineProperty(o.prototype,"getFloat64",{value:i(Float64Array)}),Object.defineProperty(o.prototype,"setUint8",{value:u(Uint8Array)}),Object.defineProperty(o.prototype,"setInt8",{value:u(Int8Array)}),Object.defineProperty(o.prototype,"setUint16",{value:u(Uint16Array)}),Object.defineProperty(o.prototype,"setInt16",{value:u(Int16Array)}),Object.defineProperty(o.prototype,"setUint32",{value:u(Uint32Array)}),Object.defineProperty(o.prototype,"setInt32",{value:u(Int32Array)}),Object.defineProperty(o.prototype,"setFloat32",{value:u(Float32Array)}),Object.defineProperty(o.prototype,"setFloat64",{value:u(Float64Array)}),t.DataView=t.DataView||o}()}(self);
@@ -119,12 +119,14 @@
119
119
  if (obj.length > MAX_ARRAY_LENGTH) throw RangeError('Array too large for polyfill');
120
120
 
121
121
  function makeArrayAccessor(index) {
122
- Object.defineProperty(obj, index, {
123
- 'get': function() { return obj._getter(index); },
124
- 'set': function(v) { obj._setter(index, v); },
125
- enumerable: true,
126
- configurable: false
127
- });
122
+ try {
123
+ Object.defineProperty(obj, index, {
124
+ 'get': function() { return obj._getter(index); },
125
+ 'set': function(v) { obj._setter(index, v); },
126
+ enumerable: true,
127
+ configurable: false
128
+ });
129
+ } catch (_){ }
128
130
  }
129
131
 
130
132
  var i;
@@ -0,0 +1 @@
1
+ {"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.Type","ArrayBuffer"],"spec":"https://tc39.github.io/ecma262/#sec-arraybuffer.isview","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView","browsers":{"android":"<37","bb":"*","chrome":"<32","edge":"<12","edge_mob":"<14","firefox":"<29","firefox_mob":"<44","ie":"<11","ie_mob":"<11","ios_chr":"<7","ios_saf":"<7","op_mini":"*","op_mob":"<19","opera":"<19","safari":"<7","samsung_mob":"<2"},"detectSource":"\"ArrayBuffer\"in self&&\"isView\"in self.ArrayBuffer\n","baseDir":"ArrayBuffer/isView","hasTests":true,"isTestable":true,"isPublic":true,"size":116}
@@ -0,0 +1 @@
1
+ CreateMethodProperty(ArrayBuffer,"isView",function e(r){return"object"===Type(r)&&r.buffer instanceof ArrayBuffer});
@@ -0,0 +1,13 @@
1
+
2
+ // ArrayBuffer.isView
3
+ /* global ArrayBuffer, CreateMethodProperty, Type */
4
+ // 25.1.4.1 ArrayBuffer.isView ( arg )
5
+ CreateMethodProperty(ArrayBuffer, 'isView', function isView (arg) {
6
+ // 1. If Type(arg) is not Object, return false.
7
+ if (Type(arg) !== 'object') {
8
+ return false;
9
+ }
10
+ // 2. If arg has a [[ViewedArrayBuffer]] internal slot, return true.
11
+ // 3. Return false.
12
+ return arg.buffer instanceof ArrayBuffer;
13
+ });
@@ -1 +1 @@
1
- {"aliases":[],"dependencies":["getComputedStyle","Array.isArray","Array.prototype.filter","Array.prototype.forEach","Array.prototype.indexOf","Array.prototype.map","Array.prototype.some","Event","Function.prototype.bind","performance.now"],"docs":"https://github.com/w3c/IntersectionObserver/blob/master/explainer.md","spec":"http://rawgit.com/w3c/IntersectionObserver/master/index.html","notes":[],"repo":"https://github.com/w3c/IntersectionObserver","browsers":{"android":"*","bb":"*","chrome":"< 51","edge":"< 16","edge_mob":"< 16","firefox":"< 55","firefox_mob":"< 55","ie":"*","ie_mob":"*","ios_saf":"*","op_mini":"*","op_mob":"< 46","opera":"< 45","safari":"< 12.2","samsung_mob":"< 7"},"detectSource":"\"IntersectionObserver\"in window&&\"IntersectionObserverEntry\"in window&&\"intersectionRatio\"in window.IntersectionObserverEntry.prototype\n","baseDir":"IntersectionObserver","hasTests":false,"isTestable":true,"isPublic":true,"size":6661}
1
+ {"aliases":[],"dependencies":["getComputedStyle","Array.isArray","Array.prototype.filter","Array.prototype.forEach","Array.prototype.indexOf","Array.prototype.map","Array.prototype.some","Event","Function.prototype.bind","performance.now"],"docs":"https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver","spec":"http://rawgit.com/w3c/IntersectionObserver/master/index.html","notes":[],"repo":"https://github.com/w3c/IntersectionObserver","browsers":{"android":"<51","bb":"*","chrome":"< 51","edge":"< 16","edge_mob":"< 16","firefox":"< 55","firefox_mob":"< 55","ie":"*","ie_mob":"*","ios_saf":"*","op_mini":"*","op_mob":"< 46","opera":"< 45","safari":"< 12.1","samsung_mob":"< 7"},"detectSource":"\"IntersectionObserver\"in window&&\"IntersectionObserverEntry\"in window&&\"intersectionRatio\"in window.IntersectionObserverEntry.prototype\n","baseDir":"IntersectionObserver","hasTests":false,"isTestable":true,"isPublic":true,"size":6661}
@@ -0,0 +1 @@
1
+ {"aliases":["dom4","default-3.4","default-3.5","default-3.6","default"],"dependencies":["Element"],"docs":"https://developer.mozilla.org/en-US/docs/Web/API/Node/isSameNode","browsers":{"chrome":"<1","firefox":"<48","safari":"<3","edge":"<12","edge_mob":"<12","ie":"<9","ie_mob":"<9","firefox_mob":"<48","opera":"<12.1","opera_mini":"<12.1","ios_saf":"<1","ios_chr":"<1","samsung_mob":"<1","bb":"*","android":"<1"},"detectSource":"document.isSameNode\n","baseDir":"Node/prototype/isSameNode","hasTests":true,"isTestable":true,"isPublic":true,"size":321}
@@ -0,0 +1 @@
1
+ !function(){function e(e){if(!(0 in arguments))throw new TypeError("1 argument is required");return this===e}if("HTMLElement"in self&&"isSameNode"in HTMLElement.prototype)try{delete HTMLElement.prototype.isSameNode}catch(t){}"Node"in self?Node.prototype.isSameNode=e:document.isSameNode=Element.prototype.isSameNode=e}();
@@ -0,0 +1,27 @@
1
+
2
+ // Node.prototype.isSameNode
3
+ (function() {
4
+
5
+ function isSameNode(otherNode) {
6
+ if (!(0 in arguments)) {
7
+ throw new TypeError('1 argument is required');
8
+ }
9
+
10
+ return this === otherNode;
11
+ }
12
+
13
+ // IE
14
+ if ('HTMLElement' in self && 'isSameNode' in HTMLElement.prototype) {
15
+ try {
16
+ delete HTMLElement.prototype.isSameNode;
17
+ // eslint-disable-next-line no-empty
18
+ } catch (e) {}
19
+ }
20
+
21
+ if ('Node' in self) {
22
+ Node.prototype.isSameNode = isSameNode;
23
+ } else {
24
+ document.isSameNode = Element.prototype.isSameNode = isSameNode;
25
+ }
26
+
27
+ }());
@@ -1 +1 @@
1
- {"aliases":["es6","es2015","modernizr:es6object","default-3.3","default-3.4","default-3.5","default-3.6","default"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.Get","_ESAbstract.ToObject","Object.getOwnPropertyDescriptor","Object.keys"],"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign","browsers":{"android":"*","bb":"*","chrome":"1 - 45","firefox":"1 - 33","edge":"<13","edge_mob":"<13","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<9","opera":"1 - 31","op_mob":"*","op_mini":"*","safari":"1 - 8","firefox_mob":"1 - 33","samsung_mob":"<5"},"detectSource":"\"assign\"in Object\n","baseDir":"Object/assign","hasTests":true,"isTestable":true,"isPublic":true,"size":548}
1
+ {"aliases":["es6","es2015","modernizr:es6object","default-3.3","default-3.4","default-3.5","default-3.6","default"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.Get","_ESAbstract.ToObject","Object.getOwnPropertyDescriptor","Object.keys"],"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign","browsers":{"android":"<45","bb":"*","chrome":"1 - 45","firefox":"1 - 33","edge":"<13","edge_mob":"<13","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<9","opera":"1 - 31","op_mob":"*","op_mini":"*","safari":"1 - 8","firefox_mob":"1 - 33","samsung_mob":"<5"},"detectSource":"\"assign\"in Object\n","baseDir":"Object/assign","hasTests":true,"isTestable":true,"isPublic":true,"size":548}
@@ -0,0 +1 @@
1
+ {"aliases":["es2020"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.IterableToList","_ESAbstract.Type","Array.isArray","Array.prototype.map","Promise"],"license":"MIT","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled","browsers":{"android":"<76","bb":"*","chrome":"<76","firefox":"<71","ios_saf":"<13","edge":"<79","edge_mob":"<79","ie":"*","ie_mob":"*","opera":"<63","op_mini":"*","safari":"<13","firefox_mob":"<79","samsung_mob":"<12"},"detectSource":"\"Promise\"in self&&\"allSettled\"in self.Promise\n","baseDir":"Promise/allSettled","hasTests":true,"isTestable":true,"isPublic":true,"size":528}
@@ -0,0 +1 @@
1
+ !function(){CreateMethodProperty(Promise,"allSettled",function e(r){var t=this;if("object"!==Type(t))throw new TypeError("`this` value must be an object");var n;if(Array.isArray(r))n=r;else try{n=IterableToList(r)}catch(o){return Promise.reject(new TypeError("Argument of Promise.allSettled is not iterable"))}var a=n.map(function(e){var r=function(e){return{status:"fulfilled",value:e}},n=function(e){return{status:"rejected",reason:e}},a=t.resolve(e);try{return a.then(r,n)}catch(o){return t.reject(o)}});return t.all(a)})}();
@@ -0,0 +1,41 @@
1
+
2
+ // Promise.allSettled
3
+ /* global CreateMethodProperty, IterableToList, Promise, Type */
4
+ (function () {
5
+ // Based on https://github.com/es-shims/Promise.allSettled/blob/main/implementation.js
6
+
7
+ CreateMethodProperty(Promise, 'allSettled', function allSettled (iterable) {
8
+ var C = this;
9
+ if (Type(C) !== 'object') {
10
+ throw new TypeError('`this` value must be an object');
11
+ }
12
+
13
+ var arr;
14
+ if (Array.isArray(iterable)) {
15
+ arr = iterable;
16
+ } else {
17
+ try {
18
+ arr = IterableToList(iterable);
19
+ } catch (_error) {
20
+ return Promise.reject(new TypeError('Argument of Promise.allSettled is not iterable'));
21
+ }
22
+ }
23
+
24
+ var promises = arr.map(function (promise) {
25
+ var onFulfill = function (value) {
26
+ return { status: 'fulfilled', value: value };
27
+ };
28
+ var onReject = function (reason) {
29
+ return { status: 'rejected', reason: reason };
30
+ };
31
+ var itemPromise = C.resolve(promise);
32
+ try {
33
+ return itemPromise.then(onFulfill, onReject);
34
+ } catch (e) {
35
+ return C.reject(e);
36
+ }
37
+ });
38
+
39
+ return C.all(promises);
40
+ });
41
+ }());
@@ -0,0 +1 @@
1
+ {"aliases":["es2021"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.IterableToList","_ESAbstract.Type","AggregateError","Array.isArray","Array.prototype.map","Promise"],"license":"MIT","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/any","browsers":{"android":"<85","bb":"*","chrome":"<85","firefox":"<79","ios_saf":"<14","edge":"<85","edge_mob":"<85","ie":"*","ie_mob":"*","opera":"*","op_mini":"*","safari":"<14","firefox_mob":"<79","samsung_mob":"<14"},"detectSource":"\"Promise\"in self&&\"any\"in self.Promise\n","baseDir":"Promise/any","hasTests":true,"isTestable":true,"isPublic":true,"size":540}
@@ -0,0 +1 @@
1
+ !function(){var r=function(r){return r};CreateMethodProperty(Promise,"any",function e(t){var n=this;if("object"!==Type(n))throw new TypeError("`this` value must be an object");var o;if(Array.isArray(t))o=t;else try{o=IterableToList(t)}catch(c){return Promise.reject(new TypeError("Argument of Promise.any is not iterable"))}var a=function(r){return n.reject(r)},i=o.map(function(e){var t=n.resolve(e);try{return t.then(a,r)}catch(o){return o}});return n.all(i).then(function(r){throw new AggregateError(r,"Every promise rejected")},r)})}();
@@ -0,0 +1,45 @@
1
+
2
+ // Promise.any
3
+ /* global AggregateError, CreateMethodProperty, IterableToList, Promise, Type */
4
+ (function () {
5
+ // Based on https://github.com/es-shims/Promise.any/blob/master/implementation.js
6
+
7
+ var identity = function (x) {
8
+ return x;
9
+ }
10
+
11
+ CreateMethodProperty(Promise, 'any', function any (iterable) {
12
+ var C = this;
13
+ if (Type(C) !== 'object') {
14
+ throw new TypeError('`this` value must be an object');
15
+ }
16
+
17
+ var arr;
18
+ if (Array.isArray(iterable)) {
19
+ arr = iterable;
20
+ } else {
21
+ try {
22
+ arr = IterableToList(iterable);
23
+ } catch (_error) {
24
+ return Promise.reject(new TypeError('Argument of Promise.any is not iterable'));
25
+ }
26
+ }
27
+
28
+ var thrower = function (value) {
29
+ return C.reject(value);
30
+ };
31
+
32
+ var promises = arr.map(function (promise) {
33
+ var itemPromise = C.resolve(promise);
34
+ try {
35
+ return itemPromise.then(thrower, identity);
36
+ } catch (e) {
37
+ return e;
38
+ }
39
+ });
40
+
41
+ return C.all(promises).then(function (errors) {
42
+ throw new AggregateError(errors, 'Every promise rejected')
43
+ }, identity);
44
+ });
45
+ }());
@@ -1 +1 @@
1
- {"dependencies":["Object.defineProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect-object","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"\"Reflect\"in self\n","baseDir":"Reflect","hasTests":true,"isTestable":true,"isPublic":true,"size":148}
1
+ {"dependencies":["Object.defineProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect-object","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"\"Reflect\"in self\n","baseDir":"Reflect","hasTests":true,"isTestable":true,"isPublic":true,"size":148}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.IsCallable","_ESAbstract.CreateListFromArrayLike","_ESAbstract.Call"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.apply","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"apply\"in self.Reflect\n","baseDir":"Reflect/apply","hasTests":true,"isTestable":true,"isPublic":true,"size":245}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.IsCallable","_ESAbstract.CreateListFromArrayLike","_ESAbstract.Call"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.apply","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"apply\"in self.Reflect\n","baseDir":"Reflect/apply","hasTests":true,"isTestable":true,"isPublic":true,"size":245}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.IsConstructor","_ESAbstract.CreateListFromArrayLike","_ESAbstract.Construct"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.construct","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"construct\"in self.Reflect\n","baseDir":"Reflect/construct","hasTests":true,"isTestable":true,"isPublic":true,"size":371}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.IsConstructor","_ESAbstract.CreateListFromArrayLike","_ESAbstract.Construct"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.construct","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"construct\"in self.Reflect\n","baseDir":"Reflect/construct","hasTests":true,"isTestable":true,"isPublic":true,"size":371}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.ToPropertyDescriptor"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.defineproperty","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"defineProperty\"in self.Reflect\n","baseDir":"Reflect/defineProperty","hasTests":true,"isTestable":true,"isPublic":true,"size":274}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.ToPropertyDescriptor"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.defineproperty","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"defineProperty\"in self.Reflect\n","baseDir":"Reflect/defineProperty","hasTests":true,"isTestable":true,"isPublic":true,"size":274}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.HasOwnProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.deleteproperty","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"deleteProperty\"in self.Reflect\n","baseDir":"Reflect/deleteProperty","hasTests":true,"isTestable":true,"isPublic":true,"size":247}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.HasOwnProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.deleteproperty","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"deleteProperty\"in self.Reflect\n","baseDir":"Reflect/deleteProperty","hasTests":true,"isTestable":true,"isPublic":true,"size":247}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.Call","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","Object.getOwnPropertyDescriptor","Object.getPrototypeOf"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.get","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"get\"in self.Reflect\n","baseDir":"Reflect/get","hasTests":true,"isTestable":true,"isPublic":true,"size":435}
1
+ {"dependencies":["Reflect","_ESAbstract.Call","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","Object.getOwnPropertyDescriptor","Object.getPrototypeOf"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.get","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"get\"in self.Reflect\n","baseDir":"Reflect/get","hasTests":true,"isTestable":true,"isPublic":true,"size":435}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","Object.getOwnPropertyDescriptor"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"getOwnPropertyDescriptor\"in self.Reflect\n","baseDir":"Reflect/getOwnPropertyDescriptor","hasTests":true,"isTestable":true,"isPublic":true,"size":238}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","Object.getOwnPropertyDescriptor"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"getOwnPropertyDescriptor\"in self.Reflect\n","baseDir":"Reflect/getOwnPropertyDescriptor","hasTests":true,"isTestable":true,"isPublic":true,"size":238}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","Object.getPrototypeOf"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.getprototypeof","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"getPrototypeOf\"in self.Reflect\n","baseDir":"Reflect/getPrototypeOf","hasTests":true,"isTestable":true,"isPublic":true,"size":191}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","Object.getPrototypeOf"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.getprototypeof","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"getPrototypeOf\"in self.Reflect\n","baseDir":"Reflect/getPrototypeOf","hasTests":true,"isTestable":true,"isPublic":true,"size":191}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.HasProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.has","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"has\"in self.Reflect\n","baseDir":"Reflect/has","hasTests":true,"isTestable":true,"isPublic":true,"size":197}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.HasProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.has","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"has\"in self.Reflect\n","baseDir":"Reflect/has","hasTests":true,"isTestable":true,"isPublic":true,"size":197}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","Object.isExtensible"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.isextensible","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"isExtensible\"in self.Reflect\n","baseDir":"Reflect/isExtensible","hasTests":true,"isTestable":true,"isPublic":true,"size":187}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","Object.isExtensible"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.isextensible","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"isExtensible\"in self.Reflect\n","baseDir":"Reflect/isExtensible","hasTests":true,"isTestable":true,"isPublic":true,"size":187}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","Symbol","Object.getOwnPropertyNames","_ESAbstract.Type","_ESAbstract.CreateMethodProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.ownkeys","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"ownKeys\"in self.Reflect\n","baseDir":"Reflect/ownKeys","hasTests":true,"isTestable":true,"isPublic":true,"size":229}
1
+ {"dependencies":["Reflect","Symbol","Object.getOwnPropertyNames","_ESAbstract.Type","_ESAbstract.CreateMethodProperty"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.ownkeys","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"ownKeys\"in self.Reflect\n","baseDir":"Reflect/ownKeys","hasTests":true,"isTestable":true,"isPublic":true,"size":229}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","Object.preventExtensions","_ESAbstract.CreateMethodProperty","_ESAbstract.Type"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.preventextensions","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"preventExtensions\"in self.Reflect\n","baseDir":"Reflect/preventExtensions","hasTests":true,"isTestable":true,"isPublic":true,"size":223}
1
+ {"dependencies":["Reflect","Object.preventExtensions","_ESAbstract.CreateMethodProperty","_ESAbstract.Type"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.preventextensions","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"preventExtensions\"in self.Reflect\n","baseDir":"Reflect/preventExtensions","hasTests":true,"isTestable":true,"isPublic":true,"size":223}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.Call"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.set","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"set\"in self.Reflect\n","baseDir":"Reflect/set","hasTests":true,"isTestable":true,"isPublic":true,"size":381}
1
+ {"dependencies":["Reflect","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","_ESAbstract.ToPropertyKey","_ESAbstract.Call"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.set","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"set\"in self.Reflect\n","baseDir":"Reflect/set","hasTests":true,"isTestable":true,"isPublic":true,"size":381}
@@ -1 +1 @@
1
- {"dependencies":["Reflect","Reflect.getPrototypeOf","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","Object.setPrototypeOf"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.setprototypeof","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"*","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"setPrototypeOf\"in self.Reflect\n","baseDir":"Reflect/setPrototypeOf","hasTests":true,"isTestable":true,"isPublic":true,"size":381}
1
+ {"dependencies":["Reflect","Reflect.getPrototypeOf","_ESAbstract.CreateMethodProperty","_ESAbstract.Type","Object.setPrototypeOf"],"spec":"https://tc39.github.io/ecma262/#sec-reflect.setprototypeof","browsers":{"android":"<5","bb":"*","chrome":"<49","edge":"<12","edge_mob":"<12","firefox":"<42","firefox_mob":"<42","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"<10","op_mini":"*","op_mob":"<36","opera":"<36","safari":"<10","samsung_mob":"<5"},"detectSource":"self.Reflect&&\"setPrototypeOf\"in self.Reflect\n","baseDir":"Reflect/setPrototypeOf","hasTests":true,"isTestable":true,"isPublic":true,"size":381}
@@ -0,0 +1 @@
1
+ {"aliases":["es2022"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.RequireObjectCoercible","_ESAbstract.ToIntegerOrInfinity","_ESAbstract.ToString"],"spec":"https://tc39.es/ecma262/#sec-string.prototype.at","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/at","browsers":{"android":"*","bb":"*","chrome":"< 92","edge":"*","edge_mob":"*","firefox":"< 90","firefox_mob":"< 90","ie":"*","ie_mob":"*","ios_chr":"*","ios_saf":"*","op_mini":"*","op_mob":"*","opera":"< 78","safari":"*","samsung_mob":"< 16"},"detectSource":"\"at\"in String.prototype\n","baseDir":"String/prototype/at","hasTests":true,"isTestable":true,"isPublic":true,"size":203}
@@ -0,0 +1 @@
1
+ CreateMethodProperty(String.prototype,"at",function e(t){var r=RequireObjectCoercible(this),n=ToString(r),i=n.length,o=ToIntegerOrInfinity(t),g=o>=0?o:i+o;return g<0||g>=i?undefined:n.substring(g,g+1)});
@@ -0,0 +1,23 @@
1
+
2
+ // String.prototype.at
3
+ /* global CreateMethodProperty, RequireObjectCoercible, ToIntegerOrInfinity, ToString */
4
+ // 22.1.3.1. String.prototype.at ( index )
5
+ CreateMethodProperty(String.prototype, 'at', function at(index) {
6
+ // 1. Let O be ? RequireObjectCoercible(this value).
7
+ var O = RequireObjectCoercible(this);
8
+ // 2. Let S be ? ToString(O).
9
+ var S = ToString(O);
10
+ // 3. Let len be the length of S.
11
+ var len = S.length;
12
+ // 4. Let relativeIndex be ? ToIntegerOrInfinity(index).
13
+ var relativeIndex = ToIntegerOrInfinity(index);
14
+ // 5. If relativeIndex ≥ 0, then
15
+ // 5.a. Let k be relativeIndex.
16
+ // 6. Else,
17
+ // 6.a. Let k be len + relativeIndex.
18
+ var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
19
+ // 7. If k < 0 or k ≥ len, return undefined.
20
+ if (k < 0 || k >= len) return undefined;
21
+ // 8. Return the substring of S from k to k + 1.
22
+ return S.substring(k, k + 1);
23
+ });
@@ -1 +1 @@
1
- {"aliases":["es6","es2015","modernizr:es6string","blissfuljs","default-3.4","default-3.5","default-3.6","default"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.RequireObjectCoercible","_ESAbstract.ToString","_ESAbstract.IsRegExp","_ESAbstract.ToInteger"],"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith","spec":"https://tc39.github.io/ecma262/#sec-string.prototype.endswith","browsers":{"android":"*","bb":"*","chrome":"<=40","edge":"<14","edge_mob":"<14","firefox":"3.6 - 17","opera":"10 - 18","safari":"<9.1","ie":"*","ie_mob":"10 - *","ios_saf":"<9","firefox_mob":"3.6 - 17"},"detectSource":"\"endsWith\"in String.prototype\n","baseDir":"String/prototype/endsWith","hasTests":true,"isTestable":true,"isPublic":true,"size":423}
1
+ {"aliases":["es6","es2015","modernizr:es6string","blissfuljs","default-3.4","default-3.5","default-3.6","default"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.RequireObjectCoercible","_ESAbstract.ToString","_ESAbstract.IsRegExp","_ESAbstract.ToInteger"],"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith","spec":"https://tc39.github.io/ecma262/#sec-string.prototype.endswith","browsers":{"android":"<37","bb":"*","chrome":"<=40","edge":"<14","edge_mob":"<14","firefox":"3.6 - 17","opera":"10 - 18","safari":"<9.1","ie":"*","ie_mob":"10 - *","ios_saf":"<9","firefox_mob":"3.6 - 17"},"detectSource":"\"endsWith\"in String.prototype\n","baseDir":"String/prototype/endsWith","hasTests":true,"isTestable":true,"isPublic":true,"size":423}
@@ -1 +1 @@
1
- {"aliases":["es7","es2016","es2017"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.RequireObjectCoercible","_ESAbstract.ToString","_ESAbstract.ToLength"],"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart","browsers":{"android":"*","bb":"*","chrome":"<57","firefox":"<48","opera":"<44","safari":"<10","edge":"<15","edge_mob":"<15","ie":"*","ie_mob":"*","ios_saf":"<10","firefox_mob":"<48","samsung_mob":"*"},"detectSource":"\"padStart\"in String.prototype\n","baseDir":"String/prototype/padStart","hasTests":true,"isTestable":true,"isPublic":true,"size":340}
1
+ {"aliases":["es7","es2016","es2017"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.RequireObjectCoercible","_ESAbstract.ToString","_ESAbstract.ToLength"],"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart","browsers":{"android":"<57","bb":"*","chrome":"<57","firefox":"<48","opera":"<44","safari":"<10","edge":"<15","edge_mob":"<15","ie":"*","ie_mob":"*","ios_saf":"<10","firefox_mob":"<48","samsung_mob":"*"},"detectSource":"\"padStart\"in String.prototype\n","baseDir":"String/prototype/padStart","hasTests":true,"isTestable":true,"isPublic":true,"size":340}
@@ -1 +1 @@
1
- {"aliases":["es6","es2015","modernizr:es6string","blissfuljs","default-3.4","default-3.5","default-3.6","default"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.RequireObjectCoercible","_ESAbstract.ToString","_ESAbstract.IsRegExp","_ESAbstract.ToInteger"],"spec":"https://tc39.github.io/ecma262/#sec-string.prototype.startswith","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith","browsers":{"android":"*","bb":"*","chrome":"<=40","firefox":"3.6 - 17","opera":"10 - 18","safari":"<9","edge":"<14","edge_mob":"<14","ie":"*","ie_mob":"10 - *","ios_saf":"<9","firefox_mob":"3.6 - 17"},"detectSource":"\"startsWith\"in String.prototype\n","baseDir":"String/prototype/startsWith","hasTests":true,"isTestable":true,"isPublic":true,"size":412}
1
+ {"aliases":["es6","es2015","modernizr:es6string","blissfuljs","default-3.4","default-3.5","default-3.6","default"],"dependencies":["_ESAbstract.CreateMethodProperty","_ESAbstract.RequireObjectCoercible","_ESAbstract.ToString","_ESAbstract.IsRegExp","_ESAbstract.ToInteger"],"spec":"https://tc39.github.io/ecma262/#sec-string.prototype.startswith","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith","browsers":{"android":"<37","bb":"*","chrome":"<=40","firefox":"3.6 - 17","opera":"10 - 18","safari":"<9","edge":"<14","edge_mob":"<14","ie":"*","ie_mob":"10 - *","ios_saf":"<9","firefox_mob":"3.6 - 17"},"detectSource":"\"startsWith\"in String.prototype\n","baseDir":"String/prototype/startsWith","hasTests":true,"isTestable":true,"isPublic":true,"size":412}
@@ -1 +1 @@
1
- {"aliases":["TextDecoder"],"dependencies":[],"license":"CC0-1.0","spec":"https://encoding.spec.whatwg.org/#interface-textencoder","docs":"https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder","repo":"https://github.com/anonyco/FastestSmallestTextEncoderDecoder","browsers":{"chrome":"<38","firefox":"<19","firefox_mob":"<19","edge":"<79","edge_mob":"<79","ie":"*","ie_mob":"*","safari":"<10.1","ios_saf":"<10.3","opera":"<25","android":"38","samsung_mob":"<3.0"},"detectSource":"\"TextEncoder\"in self&&\"TextDecoder\"in self\n","baseDir":"TextEncoder","hasTests":true,"isTestable":true,"isPublic":true,"size":3349}
1
+ {"aliases":["TextDecoder"],"dependencies":["ArrayBuffer"],"license":"CC0-1.0","spec":"https://encoding.spec.whatwg.org/#interface-textencoder","docs":"https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder","repo":"https://github.com/anonyco/FastestSmallestTextEncoderDecoder","browsers":{"chrome":"<38","firefox":"<19","firefox_mob":"<19","edge":"<79","edge_mob":"<79","ie":"*","ie_mob":"*","safari":"<10.1","ios_saf":"<10.3","opera":"<25","android":"38","samsung_mob":"<3.0"},"detectSource":"\"TextEncoder\"in self&&\"TextDecoder\"in self\n","baseDir":"TextEncoder","hasTests":true,"isTestable":true,"isPublic":true,"size":3582}
@@ -1 +1 @@
1
- var ENCODEINTO_BUILD=!1;!function(e){"use strict";function r(){}function t(e){var r=0|e.charCodeAt(0);if(55296<=r)if(r<=56319){var t=0|e.charCodeAt(1);if(56320<=t&&t<=57343){if((r=(r<<10)+t-56613888|0)>65535)return i(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r)}else r=65533}else r<=57343&&(r=65533);return r<=2047?i(192|r>>6,128|63&r):i(224|r>>12,128|r>>6&63,128|63&r)}function n(){}function a(e,r){var n=void 0===e?"":(""+e).replace(y,t),a=0|n.length,o=0,c=0,i=0,f=0|r.length,s=0|e.length;f<a&&(a=f);e:for(;o<a;o=o+1|0){switch((c=0|n.charCodeAt(o))>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:i=i+1|0;case 8:case 9:case 10:case 11:break;case 12:case 13:if((o+1|0)<f){i=i+1|0;break}case 14:if((o+2|0)<f){i=i+1|0;break}case 15:if((o+3|0)<f){i=i+1|0;break}default:break e}r[o]=c}return{written:o,read:s<i?s:i}}var o,c,i=String.fromCharCode,f={}.toString,s=f.call(e.SharedArrayBuffer),l=e.Uint8Array,u=l||Array,d=l?ArrayBuffer:u,h=d.isView||function(e){return e&&"length"in e},g=f.call(d.prototype),p=(encodeURIComponent,parseInt,n.prototype),v=e.TextEncoder,y=/[\x80-\uD7ff\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]?/g,D=new(l?Uint16Array:u)(32);r.prototype.decode=function(e){var r,t=e;if(!h(t)){if((r=f.call(t))!==g&&r!==s&&"[object Undefined]"!==r)throw TypeError("Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'");t=l?new u(t):t||[]}for(var n="",a="",o=0,c=0|t.length,d=c-32|0,p=0,v=0,y=0,C=0,w=0,A=0,b=-1;o<c;){for(p=o<=d?32:c-o|0;A<p;o=o+1|0,A=A+1|0){switch((v=255&t[o])>>4){case 15:if((w=255&t[o=o+1|0])>>6!=2||247<v){o=o-1|0;break}y=(7&v)<<6|63&w,C=5,v=256;case 14:w=255&t[o=o+1|0],y<<=6,y|=(15&v)<<6|63&w,C=w>>6==2?C+4|0:24,v=v+256&768;case 13:case 12:w=255&t[o=o+1|0],y<<=6,y|=(31&v)<<6|63&w,C=C+7|0,o<c&&w>>6==2&&y>>C&&y<1114112?(v=y,y=y-65536|0,0<=y?(b=55296+(y>>10)|0,v=56320+(1023&y)|0,A<31?(D[A]=b,A=A+1|0,b=-1):(w=b,b=v,v=w)):p=p+1|0):(v>>=8,o=o-v-1|0,v=65533),C=0,y=0,p=o<=d?32:c-o|0;default:D[A]=v;continue;case 11:case 10:case 9:case 8:}D[A]=65533}if(a+=i(D[0],D[1],D[2],D[3],D[4],D[5],D[6],D[7],D[8],D[9],D[10],D[11],D[12],D[13],D[14],D[15],D[16],D[17],D[18],D[19],D[20],D[21],D[22],D[23],D[24],D[25],D[26],D[27],D[28],D[29],D[30],D[31]),A<32&&(a=a.slice(0,A-32|0)),o<c){if(D[0]=b,A=~b>>>31,b=-1,a.length<n.length)continue}else-1!==b&&(a+=i(b));n+=a,a=""}return n},p.encode=function(e){var r,t=void 0===e?"":""+e,n=0|t.length,a=new u(8+(n<<1)|0),o=0,c=0,i=0,f=0,s=!l;for(o=0;o<n;o=o+1|0,c=c+1|0)if((i=0|t.charCodeAt(o))<=127)a[c]=i;else if(i<=2047)a[c]=192|i>>6,a[c=c+1|0]=128|63&i;else{e:{if(55296<=i)if(i<=56319){if(56320<=(f=0|t.charCodeAt(o=o+1|0))&&f<=57343){if((i=(i<<10)+f-56613888|0)>65535){a[c]=240|i>>18,a[c=c+1|0]=128|i>>12&63,a[c=c+1|0]=128|i>>6&63,a[c=c+1|0]=128|63&i;continue}break e}i=65533}else i<=57343&&(i=65533);!s&&o<<1<c&&o<<1<(c-7|0)&&(s=!0,r=new u(3*n),r.set(a),a=r)}a[c]=224|i>>12,a[c=c+1|0]=128|i>>6&63,a[c=c+1|0]=128|63&i}return l?a.subarray(0,c):a.slice(0,c)},ENCODEINTO_BUILD&&(p.encodeInto=a),v?ENCODEINTO_BUILD&&!(o=v.prototype).encodeInto&&(c=new v,o.encodeInto=function(e,r){var t=0|e.length,n=0|r.length;if(t<n>>1){var o=c.encode(e);if((0|o.length)<n)return r.set(o),{read:t,written:0|o.length}}return a(e,r)}):(e.TextDecoder=r,e.TextEncoder=n)}(typeof global==""+void 0?typeof self==""+void 0?this:self:global);
1
+ var ENCODEINTO_BUILD=!1;!function(e){"use strict";function r(e,r){return A?e[r]:e._getter(r)}function t(e,r,t){A?e[r]=t:e._setter(r,t)}function n(){}function a(e){var r=0|e.charCodeAt(0);if(55296<=r)if(r<=56319){var t=0|e.charCodeAt(1);if(56320<=t&&t<=57343){if((r=(r<<10)+t-56613888|0)>65535)return s(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r)}else r=65533}else r<=57343&&(r=65533);return r<=2047?s(192|r>>6,128|63&r):s(224|r>>12,128|r>>6&63,128|63&r)}function o(){}function c(e,r){var n=void 0===e?"":(""+e).replace(w,a),o=0|n.length,c=0,i=0,f=0,s=0|r.length,u=0|e.length;s<o&&(o=s);e:for(;c<o;c=c+1|0){switch((i=0|n.charCodeAt(c))>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:f=f+1|0;case 8:case 9:case 10:case 11:break;case 12:case 13:if((c+1|0)<s){f=f+1|0;break}case 14:if((c+2|0)<s){f=f+1|0;break}case 15:if((c+3|0)<s){f=f+1|0;break}default:break e}t(r,c,i)}return{written:c,read:u<f?u:f}}var i,f,s=String.fromCharCode,u={}.toString,l=u.call(e.SharedArrayBuffer),d=e.Uint8Array,h=d||Array,g=d?ArrayBuffer:h,p=g.isView||function(e){return e&&"length"in e},v=u.call(g.prototype),y=(encodeURIComponent,parseInt,o.prototype),D=e.TextEncoder,w=/[\x80-\uD7ff\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]?/g,C=new(d?Uint16Array:h)(32),A=function(){return 42===new d([42,43])[0]}();n.prototype.decode=function(e){var n,a=e;if(!p(a)){if((n=u.call(a))!==v&&n!==l&&"[object Undefined]"!==n)throw TypeError("Failed to execute 'decode' on 'TextDecoder': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'");a=d?new h(a):a||[]}for(var o="",c="",i=0,f=0|a.length,g=f-32|0,y=0,D=0,w=0,A=0,b=0,I=0,F=-1;i<f;){for(y=i<=g?32:f-i|0;I<y;i=i+1|0,I=I+1|0){switch((D=255&r(a,i))>>4){case 15:if((b=255&r(a,i=i+1|0))>>6!=2||247<D){i=i-1|0;break}w=(7&D)<<6|63&b,A=5,D=256;case 14:b=255&r(a,i=i+1|0),w<<=6,w|=(15&D)<<6|63&b,A=b>>6==2?A+4|0:24,D=D+256&768;case 13:case 12:b=255&r(a,i=i+1|0),w<<=6,w|=(31&D)<<6|63&b,A=A+7|0,i<f&&b>>6==2&&w>>A&&w<1114112?(D=w,w=w-65536|0,0<=w?(F=55296+(w>>10)|0,D=56320+(1023&w)|0,I<31?(t(C,I,F),I=I+1|0,F=-1):(b=F,F=D,D=b)):y=y+1|0):(D>>=8,i=i-D-1|0,D=65533),A=0,w=0,y=i<=g?32:f-i|0;default:t(C,I,D);continue;case 11:case 10:case 9:case 8:}t(C,I,65533)}if(c+=s(r(C,0),r(C,1),r(C,2),r(C,3),r(C,4),r(C,5),r(C,6),r(C,7),r(C,8),r(C,9),r(C,10),r(C,11),r(C,12),r(C,13),r(C,14),r(C,15),r(C,16),r(C,17),r(C,18),r(C,19),r(C,20),r(C,21),r(C,22),r(C,23),r(C,24),r(C,25),r(C,26),r(C,27),r(C,28),r(C,29),r(C,30),r(C,31)),I<32&&(c=c.slice(0,I-32|0)),i<f){if(t(C,0,F),I=~F>>>31,F=-1,c.length<o.length)continue}else-1!==F&&(c+=s(F));o+=c,c=""}return o},y.encode=function(e){var r,n=void 0===e?"":""+e,a=0|n.length,o=new h(8+(a<<1)|0),c=0,i=0,f=0,s=0,u=!d;for(c=0;c<a;c=c+1|0,i=i+1|0)if((f=0|n.charCodeAt(c))<=127)t(o,i,f);else if(f<=2047)t(o,i,192|f>>6),t(o,i=i+1|0,128|63&f);else{e:{if(55296<=f)if(f<=56319){if(56320<=(s=0|n.charCodeAt(c=c+1|0))&&s<=57343){if((f=(f<<10)+s-56613888|0)>65535){t(o,i,240|f>>18),t(o,i=i+1|0,128|f>>12&63),t(o,i=i+1|0,128|f>>6&63),t(o,i=i+1|0,128|63&f);continue}break e}f=65533}else f<=57343&&(f=65533);!u&&c<<1<i&&c<<1<(i-7|0)&&(u=!0,r=new h(3*a),r.set(o),o=r)}t(o,i,224|f>>12),t(o,i=i+1|0,128|f>>6&63),t(o,i=i+1|0,128|63&f)}return d?o.subarray(0,i):o.slice(0,i)},ENCODEINTO_BUILD&&(y.encodeInto=c),D?ENCODEINTO_BUILD&&!(i=D.prototype).encodeInto&&(f=new D,i.encodeInto=function(e,r){var t=0|e.length,n=0|r.length;if(t<n>>1){var a=f.encode(e);if((0|a.length)<n)return r.set(a),{read:t,written:0|a.length}}return c(e,r)}):(e.TextDecoder=n,e.TextEncoder=o)}(typeof global==""+void 0?typeof self==""+void 0?this:self:global);