UNPKG

smartdown

Version:

A library for translating, rendering and interacting with Smartdown documents. Smartdown is an extension of Markdown that provides richer media support and reactive programming capability.

2 lines 1.03 MB
/*! For license information please see smartdown_p5js.js.LICENSE.txt */ (self.webpackChunksmartdown=self.webpackChunksmartdown||[]).push([[847],{8773:function(t,r){!function(e){"object"==typeof r&&void 0!==t?t.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).p5=e()}((function(){return function e(t,r,o){function n(i,a){if(!r[i]){if(!t[i]){var l="function"==typeof require&&require;if(!a&&l)return l(i,!0);if(s)return s(i,!0);throw(a=new Error("Cannot find module '"+i+"'")).code="MODULE_NOT_FOUND",a}l=r[i]={exports:{}},t[i][0].call(l.exports,(function(e){return n(t[i][1][e]||e)}),l,l.exports,e,t,r,o)}return r[i].exports}for(var s="function"==typeof require&&require,i=0;i<o.length;i++)n(o[i]);return n}({1:[function(e,t,r){"use strict";r.byteLength=function(e){return 3*((e=l(e))[0]+(e=e[1]))/4-e},r.toByteArray=function(e){var t,r,o=(i=l(e))[0],i=i[1],a=new s(function(e,t){return 3*(e+t)/4-t}(o,i)),u=0,c=0<i?o-4:o;for(r=0;r<c;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],a[u++]=t>>16&255,a[u++]=t>>8&255,a[u++]=255&t;return 2===i&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,a[u++]=255&t),1===i&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,a[u++]=t>>8&255,a[u++]=255&t),a},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,s=[],i=0,a=r-n;i<a;i+=16383)s.push(function(e,t,r){for(var n,s=[],i=t;i<r;i+=3)n=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),s.push(function(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}(n));return s.join("")}(e,i,a<i+16383?a:i+16383));return 1==n?(t=e[r-1],s.push(o[t>>2]+o[t<<4&63]+"==")):2==n&&(t=(e[r-2]<<8)+e[r-1],s.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"=")),s.join("")};for(var o=[],n=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)o[a]=i[a],n[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");return t=(e=-1===(e=e.indexOf("="))?t:e)===t?0:4-e%4,[e,t]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},{}],2:[function(e,t,r){},{}],3:[function(e,t,r){},{}],4:[function(e,t,r){(function(t){"use strict";var o=e("base64-js"),n=e("ieee754"),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,i=(r.Buffer=t,r.SlowBuffer=function(e){return+e!=e&&(e=0),t.alloc(+e)},r.INSPECT_MAX_BYTES=50,2147483647);function a(e){if(i<e)throw new RangeError('The value "'+e+'" is invalid for option "size"');return e=new Uint8Array(e),Object.setPrototypeOf(e,t.prototype),e}function t(e,t,r){if("number"!=typeof e)return l(e,t,r);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return c(e)}function l(e,r,o){if("string"==typeof e){var n=e,s=r;if(t.isEncoding(s="string"==typeof s&&""!==s?s:"utf8"))return(n=(l=a(i=0|f(n,s))).write(n,s))!==i?l.slice(0,n):l;throw new TypeError("Unknown encoding: "+s)}if(ArrayBuffer.isView(e))return d(e);if(null!=e){if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)){var i=e,l=o;if((n=r)<0||i.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(i.byteLength<n+(l||0))throw new RangeError('"length" is outside of buffer bounds');return i=void 0===n&&void 0===l?new Uint8Array(i):void 0===l?new Uint8Array(i,n):new Uint8Array(i,n,l),Object.setPrototypeOf(i,t.prototype),i}if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');if(null!=(s=e.valueOf&&e.valueOf())&&s!==e)return t.from(s,r,o);var u=function(e){var r,o;return t.isBuffer(e)?(0!==(o=a(r=0|h(e.length))).length&&e.copy(o,0,0,r),o):void 0!==e.length?"number"!=typeof e.length||P(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(u)return u;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return t.from(e[Symbol.toPrimitive]("string"),r,o)}throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),r=a(t),o=0;o<t;o+=1)r[o]=255&e[o];return r}function h(e){if(i<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function f(e,r){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var o=e.length,n=2<arguments.length&&!0===arguments[2];if(!n&&0===o)return 0;for(var s=!1;;)switch(r){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return C(e).length;default:if(s)return n?-1:k(e).length;r=(""+r).toLowerCase(),s=!0}}function p(e,t,r){var n,s=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((r=void 0===r||r>this.length?this.length:r)<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":var i=t,a=r,l=this.length;(!a||a<0||l<a)&&(a=l);for(var u="",c=i=!i||i<0?0:i;c<a;++c)u+=L[this[c]];return u;case"utf8":case"utf-8":return _(this,t,r);case"ascii":l=t;var d=r,h="";d=Math.min(this.length,d);for(var f=l;f<d;++f)h+=String.fromCharCode(127&this[f]);return h;case"latin1":case"binary":i=t;var p=r,m="";p=Math.min(this.length,p);for(var y=i;y<p;++y)m+=String.fromCharCode(this[y]);return m;case"base64":return g=this,n=r,0===(v=t)&&n===g.length?o.fromByteArray(g):o.fromByteArray(g.slice(v,n));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":for(var g=t,v=r,b=this.slice(g,v),j="",x=0;x<b.length;x+=2)j+=String.fromCharCode(b[x]+256*b[x+1]);return j;default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function m(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}function y(e,r,o,n,s){if(0===e.length)return-1;if("string"==typeof o?(n=o,o=0):2147483647<o?o=2147483647:o<-2147483648&&(o=-2147483648),(o=(o=P(o=+o)?s?0:e.length-1:o)<0?e.length+o:o)>=e.length){if(s)return-1;o=e.length-1}else if(o<0){if(!s)return-1;o=0}if("string"==typeof r&&(r=t.from(r,n)),t.isBuffer(r))return 0===r.length?-1:g(e,r,o,n,s);if("number"==typeof r)return r&=255,"function"==typeof Uint8Array.prototype.indexOf?(s?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,r,o):g(e,[r],o,n,s);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,o,n){var s=1,i=e.length,a=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;i/=s=2,a/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(n)for(var u=-1,c=r;c<i;c++)if(l(e,c)===l(t,-1===u?0:c-u)){if(c-(u=-1===u?c:u)+1===a)return u*s}else-1!==u&&(c-=c-u),u=-1;else for(c=r=i<r+a?i-a:r;0<=c;c--){for(var d=!0,h=0;h<a;h++)if(l(e,c+h)!==l(t,h)){d=!1;break}if(d)return c}return-1}function v(e,t,r,o){return O(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,o)}function b(e,t,r,o){return O(function(e,t){for(var r,o,n=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(o=e.charCodeAt(s))>>8,o%=256,n.push(o),n.push(r);return n}(t,e.length-r),e,r,o)}function _(e,t,r){r=Math.min(e.length,r);for(var o=[],n=t;n<r;){var s,i,a,l,u=e[n],c=null,d=239<u?4:223<u?3:191<u?2:1;if(n+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(s=e[n+1]))&&127<(l=(31&u)<<6|63&s)&&(c=l);break;case 3:s=e[n+1],i=e[n+2],128==(192&s)&&128==(192&i)&&2047<(l=(15&u)<<12|(63&s)<<6|63&i)&&(l<55296||57343<l)&&(c=l);break;case 4:s=e[n+1],i=e[n+2],a=e[n+3],128==(192&s)&&128==(192&i)&&128==(192&a)&&65535<(l=(15&u)<<18|(63&s)<<12|(63&i)<<6|63&a)&&l<1114112&&(c=l)}null===c?(c=65533,d=1):65535<c&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),n+=d}var h=o,f=h.length;if(f<=j)return String.fromCharCode.apply(String,h);for(var p="",m=0;m<f;)p+=String.fromCharCode.apply(String,h.slice(m,m+=j));return p}r.kMaxLength=i,(t.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192,t.from=l,Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array),t.alloc=function(e,t,r){return u(e),e<=0||void 0===t?a(e):"string"==typeof r?a(e).fill(t,r):a(e).fill(t)},t.allocUnsafe=c,t.allocUnsafeSlow=c,t.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==t.prototype},t.compare=function(e,r){if(A(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),A(r,Uint8Array)&&(r=t.from(r,r.offset,r.byteLength)),!t.isBuffer(e)||!t.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var o=e.length,n=r.length,s=0,i=Math.min(o,n);s<i;++s)if(e[s]!==r[s]){o=e[s],n=r[s];break}return o<n?-1:n<o?1:0},t.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return t.alloc(0);if(void 0===r)for(s=r=0;s<e.length;++s)r+=e[s].length;for(var o=t.allocUnsafe(r),n=0,s=0;s<e.length;++s){var i=e[s];if(A(i,Uint8Array)&&(i=t.from(i)),!t.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(o,n),n+=i.length}return o},t.byteLength=f,t.prototype._isBuffer=!0,t.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},t.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},t.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},t.prototype.toLocaleString=t.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?_(this,0,e):p.apply(this,arguments)},t.prototype.equals=function(e){if(t.isBuffer(e))return this===e||0===t.compare(this,e);throw new TypeError("Argument must be a Buffer")},t.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},s&&(t.prototype[s]=t.prototype.inspect),t.prototype.compare=function(e,r,o,n,s){if(A(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),!t.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===o&&(o=e?e.length:0),void 0===n&&(n=0),void 0===s&&(s=this.length),(r=void 0===r?0:r)<0||o>e.length||n<0||s>this.length)throw new RangeError("out of range index");if(s<=n&&o<=r)return 0;if(s<=n)return-1;if(o<=r)return 1;if(this===e)return 0;for(var i=(s>>>=0)-(n>>>=0),a=(o>>>=0)-(r>>>=0),l=Math.min(i,a),u=this.slice(n,s),c=e.slice(r,o),d=0;d<l;++d)if(u[d]!==c[d]){i=u[d],a=c[d];break}return i<a?-1:a<i?1:0},t.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},t.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},t.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},t.prototype.write=function(e,t,r,o){if(void 0===t)o="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)o=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0)}var n=this.length-t;if((void 0===r||n<r)&&(r=n),0<e.length&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o=o||"utf8";for(var s,i,a,l=!1;;)switch(o){case"hex":var u=e,c=t,d=r,h=(c=Number(c)||0,this.length-c);(!d||h<(d=Number(d)))&&(d=h),(h=u.length)/2<d&&(d=h/2);for(var f=0;f<d;++f){var p=parseInt(u.substr(2*f,2),16);if(P(p))return f;this[c+f]=p}return f;case"utf8":case"utf-8":return h=t,a=r,O(k(e,(i=this).length-h),i,h,a);case"ascii":case"latin1":case"binary":return v(this,e,t,r);case"base64":return i=this,a=t,s=r,O(C(e),i,a,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,e,t,r);default:if(l)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),l=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var j=4096;function x(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(r<e+t)throw new RangeError("Trying to access beyond buffer length")}function w(e,r,o,n,s,i){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(s<r||r<i)throw new RangeError('"value" argument is out of bounds');if(o+n>e.length)throw new RangeError("Index out of range")}function S(e,t,r,o){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function T(e,t,r,o,s){return t=+t,r>>>=0,s||S(e,0,r,4),n.write(e,t,r,o,23,4),r+4}function E(e,t,r,o,s){return t=+t,r>>>=0,s||S(e,0,r,8),n.write(e,t,r,o,52,8),r+8}t.prototype.slice=function(e,r){var o=this.length;return(e=~~e)<0?(e+=o)<0&&(e=0):o<e&&(e=o),(r=void 0===r?o:~~r)<0?(r+=o)<0&&(r=0):o<r&&(r=o),r<e&&(r=e),o=this.subarray(e,r),Object.setPrototypeOf(o,t.prototype),o},t.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);for(var o=this[e],n=1,s=0;++s<t&&(n*=256);)o+=this[e+s]*n;return o},t.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);for(var o=this[e+--t],n=1;0<t&&(n*=256);)o+=this[e+--t]*n;return o},t.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},t.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},t.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},t.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},t.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},t.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);for(var o=this[e],n=1,s=0;++s<t&&(n*=256);)o+=this[e+s]*n;return(n*=128)<=o&&(o-=Math.pow(2,8*t)),o},t.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||x(e,t,this.length);for(var o=t,n=1,s=this[e+--o];0<o&&(n*=256);)s+=this[e+--o]*n;return(n*=128)<=s&&(s-=Math.pow(2,8*t)),s},t.prototype.readInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},t.prototype.readInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),32768&(t=this[e]|this[e+1]<<8)?4294901760|t:t},t.prototype.readInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),32768&(t=this[e+1]|this[e]<<8)?4294901760|t:t},t.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},t.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},t.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),n.read(this,e,!0,23,4)},t.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),n.read(this,e,!1,23,4)},t.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),n.read(this,e,!0,52,8)},t.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),n.read(this,e,!1,52,8)},t.prototype.writeUIntLE=function(e,t,r,o){e=+e,t>>>=0,r>>>=0,o||w(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,s=0;for(this[t]=255&e;++s<r&&(n*=256);)this[t+s]=e/n&255;return t+r},t.prototype.writeUIntBE=function(e,t,r,o){e=+e,t>>>=0,r>>>=0,o||w(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,s=1;for(this[t+n]=255&e;0<=--n&&(s*=256);)this[t+n]=e/s&255;return t+r},t.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},t.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},t.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeIntLE=function(e,t,r,o){e=+e,t>>>=0,o||w(this,e,t,r,(o=Math.pow(2,8*r-1))-1,-o);var n=0,s=1,i=0;for(this[t]=255&e;++n<r&&(s*=256);)e<0&&0===i&&0!==this[t+n-1]&&(i=1),this[t+n]=(e/s|0)-i&255;return t+r},t.prototype.writeIntBE=function(e,t,r,o){e=+e,t>>>=0,o||w(this,e,t,r,(o=Math.pow(2,8*r-1))-1,-o);var n=r-1,s=1,i=0;for(this[t+n]=255&e;0<=--n&&(s*=256);)e<0&&0===i&&0!==this[t+n+1]&&(i=1),this[t+n]=(e/s|0)-i&255;return t+r},t.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),this[t]=255&(e=e<0?255+e+1:e),t+1},t.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},t.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=(e=e<0?4294967295+e+1:e)>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeFloatLE=function(e,t,r){return T(this,e,t,!0,r)},t.prototype.writeFloatBE=function(e,t,r){return T(this,e,t,!1,r)},t.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},t.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},t.prototype.copy=function(e,r,o,n){if(!t.isBuffer(e))throw new TypeError("argument should be a Buffer");if(o=o||0,n||0===n||(n=this.length),r>=e.length&&(r=e.length),(n=0<n&&n<o?o:n)===o)return 0;if(0===e.length||0===this.length)return 0;if((r=r||0)<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length);var s=(n=e.length-r<n-o?e.length-r+o:n)-o;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,o,n);else if(this===e&&o<r&&r<n)for(var i=s-1;0<=i;--i)e[i+r]=this[i+o];else Uint8Array.prototype.set.call(e,this.subarray(o,n),r);return s},t.prototype.fill=function(e,r,o,n){if("string"==typeof e){if("string"==typeof r?(n=r,r=0,o=this.length):"string"==typeof o&&(n=o,o=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!t.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var s;1===e.length&&(s=e.charCodeAt(0),("utf8"===n&&s<128||"latin1"===n)&&(e=s))}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");var i;if(!(o<=r))if(r>>>=0,o=void 0===o?this.length:o>>>0,"number"==typeof(e=e||0))for(i=r;i<o;++i)this[i]=e;else{var a=t.isBuffer(e)?e:t.from(e,n),l=a.length;if(0===l)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<o-r;++i)this[i+r]=a[i%l]}return this};var M=/[^+/0-9A-Za-z-_]/g;function k(e,t){t=t||1/0;for(var r,o=e.length,n=null,s=[],i=0;i<o;++i){if(55295<(r=e.charCodeAt(i))&&r<57344){if(!n){if(56319<r){-1<(t-=3)&&s.push(239,191,189);continue}if(i+1===o){-1<(t-=3)&&s.push(239,191,189);continue}n=r;continue}if(r<56320){-1<(t-=3)&&s.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&-1<(t-=3)&&s.push(239,191,189);if(n=null,r<128){if(--t<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function C(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function O(e,t,r,o){for(var n=0;n<o&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function A(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function P(e){return e!=e}var L=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=16*r,n=0;n<16;++n)t[o+n]=e[r]+e[n];return t}()}).call(this,e("buffer").Buffer)},{"base64-js":1,buffer:4,ieee754:251}],5:[function(e,t,r){t.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},{}],6:[function(e,t,r){var o=e("../internals/is-object");t.exports=function(e){if(o(e)||null===e)return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},{"../internals/is-object":75}],7:[function(e,t,r){var o=e("../internals/well-known-symbol"),n=e("../internals/object-create"),s=(e=e("../internals/object-define-property"),o("unscopables")),i=Array.prototype;null==i[s]&&e.f(i,s,{configurable:!0,value:n(null)}),t.exports=function(e){i[s][e]=!0}},{"../internals/object-create":91,"../internals/object-define-property":93,"../internals/well-known-symbol":149}],8:[function(e,t,r){"use strict";var o=e("../internals/string-multibyte").charAt;t.exports=function(e,t,r){return t+(r?o(e,t).length:1)}},{"../internals/string-multibyte":124}],9:[function(e,t,r){t.exports=function(e,t,r){if(e instanceof t)return e;throw TypeError("Incorrect "+(r?r+" ":"")+"invocation")}},{}],10:[function(e,t,r){var o=e("../internals/is-object");t.exports=function(e){if(o(e))return e;throw TypeError(String(e)+" is not an object")}},{"../internals/is-object":75}],11:[function(e,t,r){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},{}],12:[function(e,t,r){"use strict";function o(e){return l(e)&&u(E,c(e))}var n,s=e("../internals/array-buffer-native"),i=e("../internals/descriptors"),a=e("../internals/global"),l=e("../internals/is-object"),u=e("../internals/has"),c=e("../internals/classof"),d=e("../internals/create-non-enumerable-property"),h=e("../internals/redefine"),f=e("../internals/object-define-property").f,p=e("../internals/object-get-prototype-of"),m=e("../internals/object-set-prototype-of"),y=e("../internals/well-known-symbol"),g=(e=e("../internals/uid"),a.Int8Array),v=g&&g.prototype,b=(b=a.Uint8ClampedArray)&&b.prototype,_=g&&p(g),j=v&&p(v),x=Object.prototype,w=x.isPrototypeOf,S=(y=y("toStringTag"),e("TYPED_ARRAY_TAG")),T=s&&!!m&&"Opera"!==c(a.opera),E=(e=!1,{Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8});for(n in E)a[n]||(T=!1);if((!T||"function"!=typeof _||_===Function.prototype)&&(_=function(){throw TypeError("Incorrect invocation")},T))for(n in E)a[n]&&m(a[n],_);if((!T||!j||j===x)&&(j=_.prototype,T))for(n in E)a[n]&&m(a[n].prototype,j);if(T&&p(b)!==j&&m(b,j),i&&!u(j,y))for(n in e=!0,f(j,y,{get:function(){return l(this)?this[S]:void 0}}),E)a[n]&&d(a[n],S,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_TAG:e&&S,aTypedArray:function(e){if(o(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(m){if(w.call(_,e))return e}else for(var t in E)if(u(E,n)&&(t=a[t])&&(e===t||w.call(t,e)))return e;throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r){if(i){if(r)for(var o in E)(o=a[o])&&u(o.prototype,e)&&delete o.prototype[e];j[e]&&!r||h(j,e,!r&&T&&v[e]||t)}},exportTypedArrayStaticMethod:function(e,t,r){var o,n;if(i){if(m){if(r)for(o in E)(n=a[o])&&u(n,e)&&delete n[e];if(_[e]&&!r)return;try{return h(_,e,!r&&T&&g[e]||t)}catch(e){}}for(o in E)!(n=a[o])||n[e]&&!r||h(n,e,t)}},isView:function(e){return"DataView"===(e=c(e))||u(E,e)},isTypedArray:o,TypedArray:_,TypedArrayPrototype:j}},{"../internals/array-buffer-native":11,"../internals/classof":29,"../internals/create-non-enumerable-property":38,"../internals/descriptors":43,"../internals/global":60,"../internals/has":61,"../internals/is-object":75,"../internals/object-define-property":93,"../internals/object-get-prototype-of":98,"../internals/object-set-prototype-of":102,"../internals/redefine":109,"../internals/uid":146,"../internals/well-known-symbol":149}],13:[function(e,t,r){"use strict";function o(e){return[255&e]}function n(e){return[255&e,e>>8&255]}function s(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function i(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function a(e){return B(e,23,4)}function l(e){return B(e,52,8)}function u(e,t){E(e[L],t,{get:function(){return C(this)[t]}})}function c(e,t,r,o){if((r=j(r))+t>(e=C(e)).byteLength)throw N(R);var n=C(e.buffer).bytes;return r+=e.byteOffset,e=n.slice(r,r+t),o?e:e.reverse()}function d(e,t,r,o,n,s){if((r=j(r))+t>(e=C(e)).byteLength)throw N(R);for(var i=C(e.buffer).bytes,a=r+e.byteOffset,l=o(+n),u=0;u<t;u++)i[a+u]=l[s?u:t-u-1]}var h=e("../internals/global"),f=e("../internals/descriptors"),p=e("../internals/array-buffer-native"),m=e("../internals/create-non-enumerable-property"),y=e("../internals/redefine-all"),g=e("../internals/fails"),v=e("../internals/an-instance"),b=e("../internals/to-integer"),_=e("../internals/to-length"),j=e("../internals/to-index"),x=e("../internals/ieee754"),w=e("../internals/object-get-prototype-of"),S=e("../internals/object-set-prototype-of"),T=e("../internals/object-get-own-property-names").f,E=e("../internals/object-define-property").f,M=e("../internals/array-fill"),k=e("../internals/set-to-string-tag"),C=(e=e("../internals/internal-state")).get,O=e.set,A="ArrayBuffer",P="DataView",L="prototype",R="Wrong index",I=h[A],D=I,F=h[P],U=(e=F&&F[L],Object.prototype),N=h.RangeError,B=x.pack,G=x.unpack;if(p){if(!g((function(){I(1)}))||!g((function(){new I(-1)}))||g((function(){return new I,new I(1.5),new I(NaN),I.name!=A}))){h=(D=function(e){return v(this,D),new I(j(e))})[L]=I[L];for(var V,z=T(I),H=0;z.length>H;)(V=z[H++])in D||m(D,V,I[V]);h.constructor=D}S&&w(e)!==U&&S(e,U),x=new F(new D(2));var W=e.setInt8;x.setInt8(0,2147483648),x.setInt8(1,2147483649),!x.getInt8(0)&&x.getInt8(1)||y(e,{setInt8:function(e,t){W.call(this,e,t<<24>>24)},setUint8:function(e,t){W.call(this,e,t<<24>>24)}},{unsafe:!0})}else D=function(e){v(this,D,A),e=j(e),O(this,{bytes:M.call(new Array(e),0),byteLength:e}),f||(this.byteLength=e)},F=function(e,t,r){v(this,F,P),v(e,D,P);var o=C(e).byteLength;if((t=b(t))<0||o<t)throw N("Wrong offset");if(o<t+(r=void 0===r?o-t:_(r)))throw N("Wrong length");O(this,{buffer:e,byteLength:r,byteOffset:t}),f||(this.buffer=e,this.byteLength=r,this.byteOffset=t)},f&&(u(D,"byteLength"),u(F,"buffer"),u(F,"byteLength"),u(F,"byteOffset")),y(F[L],{getInt8:function(e){return c(this,1,e)[0]<<24>>24},getUint8:function(e){return c(this,1,e)[0]},getInt16:function(e){return((e=c(this,2,e,1<arguments.length?arguments[1]:void 0))[1]<<8|e[0])<<16>>16},getUint16:function(e){return(e=c(this,2,e,1<arguments.length?arguments[1]:void 0))[1]<<8|e[0]},getInt32:function(e){return i(c(this,4,e,1<arguments.length?arguments[1]:void 0))},getUint32:function(e){return i(c(this,4,e,1<arguments.length?arguments[1]:void 0))>>>0},getFloat32:function(e){return G(c(this,4,e,1<arguments.length?arguments[1]:void 0),23)},getFloat64:function(e){return G(c(this,8,e,1<arguments.length?arguments[1]:void 0),52)},setInt8:function(e,t){d(this,1,e,o,t)},setUint8:function(e,t){d(this,1,e,o,t)},setInt16:function(e,t){d(this,2,e,n,t,2<arguments.length?arguments[2]:void 0)},setUint16:function(e,t){d(this,2,e,n,t,2<arguments.length?arguments[2]:void 0)},setInt32:function(e,t){d(this,4,e,s,t,2<arguments.length?arguments[2]:void 0)},setUint32:function(e,t){d(this,4,e,s,t,2<arguments.length?arguments[2]:void 0)},setFloat32:function(e,t){d(this,4,e,a,t,2<arguments.length?arguments[2]:void 0)},setFloat64:function(e,t){d(this,8,e,l,t,2<arguments.length?arguments[2]:void 0)}});k(D,A),k(F,P),t.exports={ArrayBuffer:D,DataView:F}},{"../internals/an-instance":9,"../internals/array-buffer-native":11,"../internals/array-fill":15,"../internals/create-non-enumerable-property":38,"../internals/descriptors":43,"../internals/fails":51,"../internals/global":60,"../internals/ieee754":66,"../internals/internal-state":71,"../internals/object-define-property":93,"../internals/object-get-own-property-names":96,"../internals/object-get-prototype-of":98,"../internals/object-set-prototype-of":102,"../internals/redefine-all":108,"../internals/set-to-string-tag":118,"../internals/to-index":134,"../internals/to-integer":136,"../internals/to-length":137}],14:[function(e,t,r){"use strict";var o=e("../internals/to-object"),n=e("../internals/to-absolute-index"),s=e("../internals/to-length"),i=Math.min;t.exports=[].copyWithin||function(e,t){var r=o(this),a=s(r.length),l=n(e,a),u=n(t,a),c=i((void 0===(e=2<arguments.length?arguments[2]:void 0)?a:n(e,a))-u,a-l),d=1;for(u<l&&l<u+c&&(d=-1,u+=c-1,l+=c-1);0<c--;)u in r?r[l]=r[u]:delete r[l],l+=d,u+=d;return r}},{"../internals/to-absolute-index":133,"../internals/to-length":137,"../internals/to-object":138}],15:[function(e,t,r){"use strict";var o=e("../internals/to-object"),n=e("../internals/to-absolute-index"),s=e("../internals/to-length");t.exports=function(e){for(var t,r=o(this),i=s(r.length),a=n(1<(t=arguments.length)?arguments[1]:void 0,i),l=void 0===(t=2<t?arguments[2]:void 0)?i:n(t,i);a<l;)r[a++]=e;return r}},{"../internals/to-absolute-index":133,"../internals/to-length":137,"../internals/to-object":138}],16:[function(e,t,r){"use strict";var o=e("../internals/array-iteration").forEach,n=e("../internals/array-method-is-strict");e=e("../internals/array-method-uses-to-length"),n=n("forEach"),e=e("forEach"),t.exports=n&&e?[].forEach:function(e){return o(this,e,1<arguments.length?arguments[1]:void 0)}},{"../internals/array-iteration":19,"../internals/array-method-is-strict":22,"../internals/array-method-uses-to-length":23}],17:[function(e,t,r){"use strict";var o=e("../internals/function-bind-context"),n=e("../internals/to-object"),s=e("../internals/call-with-safe-iteration-closing"),i=e("../internals/is-array-iterator-method"),a=e("../internals/to-length"),l=e("../internals/create-property"),u=e("../internals/get-iterator-method");t.exports=function(e){var t,r,c,d,h,f,p=n(e),m=(e="function"==typeof this?this:Array,arguments.length),y=1<m?arguments[1]:void 0,g=void 0!==y,v=u(p),b=0;if(g&&(y=o(y,2<m?arguments[2]:void 0,2)),null==v||e==Array&&i(v))for(r=new e(t=a(p.length));b<t;b++)f=g?y(p[b],b):p[b],l(r,b,f);else for(h=(d=v.call(p)).next,r=new e;!(c=h.call(d)).done;b++)f=g?s(d,y,[c.value,b],!0):c.value,l(r,b,f);return r.length=b,r}},{"../internals/call-with-safe-iteration-closing":26,"../internals/create-property":40,"../internals/function-bind-context":55,"../internals/get-iterator-method":58,"../internals/is-array-iterator-method":72,"../internals/to-length":137,"../internals/to-object":138}],18:[function(e,t,r){function o(e){return function(t,r,o){var a,l=n(t),u=s(l.length),c=i(o,u);if(e&&r!=r){for(;c<u;)if((a=l[c++])!=a)return!0}else for(;c<u;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}var n=e("../internals/to-indexed-object"),s=e("../internals/to-length"),i=e("../internals/to-absolute-index");t.exports={includes:o(!0),indexOf:o(!1)}},{"../internals/to-absolute-index":133,"../internals/to-indexed-object":135,"../internals/to-length":137}],19:[function(e,t,r){function o(e){var t=1==e,r=2==e,o=3==e,c=4==e,d=6==e,h=5==e||d;return function(f,p,m,y){for(var g,v,b=i(f),_=s(b),j=n(p,m,3),x=a(_.length),w=0,S=(p=y||l,t?p(f,x):r?p(f,0):void 0);w<x;w++)if((h||w in _)&&(v=j(g=_[w],w,b),e))if(t)S[w]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return w;case 2:u.call(S,g)}else if(c)return!1;return d?-1:o||c?c:S}}var n=e("../internals/function-bind-context"),s=e("../internals/indexed-object"),i=e("../internals/to-object"),a=e("../internals/to-length"),l=e("../internals/array-species-create"),u=[].push;t.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6)}},{"../internals/array-species-create":25,"../internals/function-bind-context":55,"../internals/indexed-object":67,"../internals/to-length":137,"../internals/to-object":138}],20:[function(e,t,r){"use strict";var o=e("../internals/to-indexed-object"),n=e("../internals/to-integer"),s=e("../internals/to-length"),i=e("../internals/array-method-is-strict"),a=(e=e("../internals/array-method-uses-to-length"),Math.min),l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0;i=i("lastIndexOf"),e=e("indexOf",{ACCESSORS:!0,1:0}),t.exports=!u&&i&&e?l:function(e){if(u)return l.apply(this,arguments)||0;var t=o(this),r=s(t.length),i=r-1;for((i=1<arguments.length?a(i,n(arguments[1])):i)<0&&(i=r+i);0<=i;i--)if(i in t&&t[i]===e)return i||0;return-1}},{"../internals/array-method-is-strict":22,"../internals/array-method-uses-to-length":23,"../internals/to-indexed-object":135,"../internals/to-integer":136,"../internals/to-length":137}],21:[function(e,t,r){var o=e("../internals/fails"),n=e("../internals/well-known-symbol"),s=e("../internals/engine-v8-version"),i=n("species");t.exports=function(e){return 51<=s||!o((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},{"../internals/engine-v8-version":48,"../internals/fails":51,"../internals/well-known-symbol":149}],22:[function(e,t,r){"use strict";var o=e("../internals/fails");t.exports=function(e,t){var r=[][e];return!!r&&o((function(){r.call(null,t||function(){throw 1},1)}))}},{"../internals/fails":51}],23:[function(e,t,r){function o(e){throw e}var n=e("../internals/descriptors"),s=e("../internals/fails"),i=e("../internals/has"),a=Object.defineProperty,l={};t.exports=function(e,t){var r,u,c,d;return i(l,e)?l[e]:(r=[][e],u=!!i(t=t||{},"ACCESSORS")&&t.ACCESSORS,c=i(t,0)?t[0]:o,d=i(t,1)?t[1]:void 0,l[e]=!!r&&!s((function(){if(u&&!n)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:o}):e[1]=1,r.call(e,c,d)})))}},{"../internals/descriptors":43,"../internals/fails":51,"../internals/has":61}],24:[function(e,t,r){function o(e){return function(t,r,o,l){n(r);var u=s(t),c=i(u),d=a(u.length),h=e?d-1:0,f=e?-1:1;if(o<2)for(;;){if(h in c){l=c[h],h+=f;break}if(h+=f,e?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?0<=h:h<d;h+=f)h in c&&(l=r(l,c[h],h,u));return l}}var n=e("../internals/a-function"),s=e("../internals/to-object"),i=e("../internals/indexed-object"),a=e("../internals/to-length");t.exports={left:o(!1),right:o(!0)}},{"../internals/a-function":5,"../internals/indexed-object":67,"../internals/to-length":137,"../internals/to-object":138}],25:[function(e,t,r){var o=e("../internals/is-object"),n=e("../internals/is-array"),s=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var r;return new(void 0===(r=n(e)&&("function"==typeof(r=e.constructor)&&(r===Array||n(r.prototype))||o(r)&&null===(r=r[s]))?void 0:r)?Array:r)(0===t?0:t)}},{"../internals/is-array":73,"../internals/is-object":75,"../internals/well-known-symbol":149}],26:[function(e,t,r){var o=e("../internals/an-object");t.exports=function(e,t,r,n){try{return n?t(o(r)[0],r[1]):t(r)}catch(t){throw void 0!==(n=e.return)&&o(n.call(e)),t}}},{"../internals/an-object":10}],27:[function(e,t,r){var o=e("../internals/well-known-symbol")("iterator"),n=!1;try{var s=0,i={next:function(){return{done:!!s++}},return:function(){n=!0}};i[o]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}t.exports=function(e,t){if(!t&&!n)return!1;var r=!1;try{var s={};s[o]=function(){return{next:function(){return{done:r=!0}}}},e(s)}catch(e){}return r}},{"../internals/well-known-symbol":149}],28:[function(e,t,r){var o={}.toString;t.exports=function(e){return o.call(e).slice(8,-1)}},{}],29:[function(e,t,r){var o=e("../internals/to-string-tag-support"),n=e("../internals/classof-raw"),s=e("../internals/well-known-symbol")("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=o?n:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=Object(e),s))?t:i?n(e):"Object"==(t=n(e))&&"function"==typeof e.callee?"Arguments":t}},{"../internals/classof-raw":28,"../internals/to-string-tag-support":142,"../internals/well-known-symbol":149}],30:[function(e,t,r){"use strict";var o=e("../internals/object-define-property").f,n=e("../internals/object-create"),s=e("../internals/redefine-all"),i=e("../internals/function-bind-context"),a=e("../internals/an-instance"),l=e("../internals/iterate"),u=e("../internals/define-iterator"),c=e("../internals/set-species"),d=e("../internals/descriptors"),h=e("../internals/internal-metadata").fastKey,f=(e=e("../internals/internal-state")).set,p=e.getterFor;t.exports={getConstructor:function(e,t,r,u){function c(e,t,r){var o,n=g(e),s=m(e,t);return s?s.value=r:(n.last=s={index:o=h(t,!0),key:t,value:r,previous:t=n.last,next:void 0,removed:!1},n.first||(n.first=s),t&&(t.next=s),d?n.size++:e.size++,"F"!==o&&(n.index[o]=s)),e}function m(e,t){e=g(e);var r,o=h(t);if("F"!==o)return e.index[o];for(r=e.first;r;r=r.next)if(r.key==t)return r}var y=e((function(e,o){a(e,y,t),f(e,{type:t,index:n(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=o&&l(o,e[u],e,r)})),g=p(t);return s(y.prototype,{clear:function(){for(var e=g(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t,r,o=g(this);return(e=m(this,e))&&(t=e.next,r=e.previous,delete o.index[e.index],e.removed=!0,r&&(r.next=t),t&&(t.previous=r),o.first==e&&(o.first=t),o.last==e&&(o.last=r),d?o.size--:this.size--),!!e},forEach:function(e){for(var t,r=g(this),o=i(e,1<arguments.length?arguments[1]:void 0,3);t=t?t.next:r.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!m(this,e)}}),s(y.prototype,r?{get:function(e){return(e=m(this,e))&&e.value},set:function(e,t){return c(this,0===e?0:e,t)}}:{add:function(e){return c(this,e=0===e?0:e,e)}}),d&&o(y.prototype,"size",{get:function(){return g(this).size}}),y},setStrong:function(e,t,r){var o=t+" Iterator",n=p(t),s=p(o);u(e,t,(function(e,t){f(this,{type:o,target:e,state:n(e),kind:t,last:void 0})}),(function(){for(var e=s(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:{value:e.target=void 0,done:!0}}),r?"entries":"values",!r,!0),c(t)}}},{"../internals/an-instance":9,"../internals/define-iterator":41,"../internals/descriptors":43,"../internals/function-bind-context":55,"../internals/internal-metadata":70,"../internals/internal-state":71,"../internals/iterate":78,"../internals/object-create":91,"../internals/object-define-property":93,"../internals/redefine-all":108,"../internals/set-species":117}],31:[function(e,t,r){"use strict";function o(e){return e.frozen||(e.frozen=new n)}function n(){this.entries=[]}function s(e,t){return y(e.entries,(function(e){return e[0]===t}))}var i=e("../internals/redefine-all"),a=e("../internals/internal-metadata").getWeakData,l=e("../internals/an-object"),u=e("../internals/is-object"),c=e("../internals/an-instance"),d=e("../internals/iterate"),h=e("../internals/array-iteration"),f=e("../internals/has"),p=(e=e("../internals/internal-state")).set,m=e.getterFor,y=h.find,g=h.findIndex,v=0;n.prototype={get:function(e){if(e=s(this,e))return e[1]},has:function(e){return!!s(this,e)},set:function(e,t){var r=s(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},t.exports={getConstructor:function(e,t,r,n){function s(e,t,r){var n=y(e),s=a(l(t),!0);return!0===s?o(n).set(t,r):s[n.id]=r,e}var h=e((function(e,o){c(e,h,t),p(e,{type:t,id:v++,frozen:void 0}),null!=o&&d(o,e[n],e,r)})),y=m(t);return i(h.prototype,{delete:function(e){var t,r=y(this);return!!u(e)&&(!0===(t=a(e))?o(r).delete(e):t&&f(t,r.id)&&delete t[r.id])},has:function(e){var t,r=y(this);return!!u(e)&&(!0===(t=a(e))?o(r).has(e):t&&f(t,r.id))}}),i(h.prototype,r?{get:function(e){var t,r=y(this);if(u(e))return!0===(t=a(e))?o(r).get(e):t?t[r.id]:void 0},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),h}}},{"../internals/an-instance":9,"../internals/an-object":10,"../internals/array-iteration":19,"../internals/has":61,"../internals/internal-metadata":70,"../internals/internal-state":71,"../internals/is-object":75,"../internals/iterate":78,"../internals/redefine-all":108}],32:[function(e,t,r){"use strict";var o=e("../internals/export"),n=e("../internals/global"),s=e("../internals/is-forced"),i=e("../internals/redefine"),a=e("../internals/internal-metadata"),l=e("../internals/iterate"),u=e("../internals/an-instance"),c=e("../internals/is-object"),d=e("../internals/fails"),h=e("../internals/check-correctness-of-iteration"),f=e("../internals/set-to-string-tag"),p=e("../internals/inherit-if-required");t.exports=function(e,t,r){function m(e){var t=T[e];i(T,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(x&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return x&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(x&&!c(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})}var y,g,v,b,_,j=-1!==e.indexOf("Map"),x=-1!==e.indexOf("Weak"),w=j?"set":"add",S=n[e],T=S&&S.prototype,E=S,M={};return s(e,"function"!=typeof S||!(x||T.forEach&&!d((function(){(new S).entries().next()}))))?(E=r.getConstructor(t,e,j,w),a.REQUIRED=!0):s(e,!0)&&(g=(y=new E)[w](x?{}:-0,1)!=y,v=d((function(){y.has(1)})),b=h((function(e){new S(e)})),_=!x&&d((function(){for(var e=new S,t=5;t--;)e[w](t,t);return!e.has(-0)})),b||(((E=t((function(t,r){return u(t,E,e),t=p(new S,t,E),null!=r&&l(r,t[w],t,j),t}))).prototype=T).constructor=E),(v||_)&&(m("delete"),m("has"),j&&m("get")),(_||g)&&m(w),x&&T.clear&&delete T.clear),M[e]=E,o({global:!0,forced:E!=S},M),f(E,e),x||r.setStrong(E,e,j),E}},{"../internals/an-instance":9,"../internals/check-correctness-of-iteration":27,"../internals/export":50,"../internals/fails":51,"../internals/global":60,"../internals/inherit-if-required":68,"../internals/internal-metadata":70,"../internals/is-forced":74,"../internals/is-object":75,"../internals/iterate":78,"../internals/redefine":109,"../internals/set-to-string-tag":118}],33:[function(e,t,r){var o=e("../internals/has"),n=e("../internals/own-keys"),s=e("../internals/object-get-own-property-descriptor"),i=e("../internals/object-define-property");t.exports=function(e,t){for(var r=n(t),a=i.f,l=s.f,u=0;u<r.length;u++){var c=r[u];o(e,c)||a(e,c,l(t,c))}}},{"../internals/has":61,"../internals/object-define-property":93,"../internals/object-get-own-property-descriptor":94,"../internals/own-keys":104}],34:[function(e,t,r){var o=e("../internals/well-known-symbol")("match");t.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},{"../internals/well-known-symbol":149}],35:[function(e,t,r){e=e("../internals/fails"),t.exports=!e((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":51}],36:[function(e,t,r){var o=e("../internals/require-object-coercible"),n=/"/g;t.exports=function(e,t,r,s){e=String(o(e));var i="<"+t;return""!==r&&(i+=" "+r+'="'+String(s).replace(n,"&quot;")+'"'),i+">"+e+"</"+t+">"}},{"../internals/require-object-coercible":114}],37:[function(e,t,r){"use strict";function o(){return this}var n=e("../internals/iterators-core").IteratorPrototype,s=e("../internals/object-create"),i=e("../internals/create-property-descriptor"),a=e("../internals/set-to-string-tag"),l=e("../internals/iterators");t.exports=function(e,t,r){return t+=" Iterator",e.prototype=s(n,{next:i(1,r)}),a(e,t,!1,!0),l[t]=o,e}},{"../internals/create-property-descriptor":39,"../internals/iterators":80,"../internals/iterators-core":79,"../internals/object-create":91,"../internals/set-to-string-tag":118}],38:[function(e,t,r){var o=e("../internals/descriptors"),n=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=o?function(e,t,r){return n.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},{"../internals/create-property-descriptor":39,"../internals/descriptors":43,"../internals/object-define-property":93}],39:[function(e,t,r){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],40:[function(e,t,r){"use strict";var o=e("../internals/to-primitive"),n=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=function(e,t,r){(t=o(t))in e?n.f(e,t,s(0,r)):e[t]=r}},{"../internals/create-property-descriptor":39,"../internals/object-define-property":93,"../internals/to-primitive":141}],41:[function(e,t,r){"use strict";function o(){return this}var n=e("../internals/export"),s=e("../internals/create-iterator-constructor"),i=e("../internals/object-get-prototype-of"),a=e("../internals/object-set-prototype-of"),l=e("../internals/set-to-string-tag"),u=e("../internals/create-non-enumerable-property"),c=e("../internals/redefine"),d=e("../internals/well-known-symbol"),h=e("../internals/is-pure"),f=e("../internals/iterators"),p=(e=e("../internals/iterators-core")).IteratorPrototype,m=e.BUGGY_SAFARI_ITERATORS,y=d("iterator"),g="values",v="entries";t.exports=function(e,t,r,d,b,_,j){function x(e){if(e===b&&k)return k;if(!m&&e in E)return E[e];switch(e){case"keys":case g:case v:return function(){return new r(this,e)}}return function(){return new r(this)}}s(r,t,d),d=t+" Iterator";var w,S,T=!1,E=e.prototype,M=E[y]||E["@@iterator"]||b&&E[b],k=!m&&M||x(b),C="Array"==t&&E.entries||M;if(C&&(C=i(C.call(new e)),p!==Object.prototype&&C.next&&(h||i(C)===p||(a?a(C,p):"function"!=typeof C[y]&&u(C,y,o)),l(C,d,!0,!0),h&&(f[d]=o))),b==g&&M&&M.name!==g&&(T=!0,k=function(){return M.call(this)}),h&&!j||E[y]===k||u(E,y,k),f[t]=k,b)if(w={values:x(g),keys:_?k:x("keys"),entries:x(v)},j)for(S in w)!m&&!T&&S in E||c(E,S,w[S]);else n({target:t,proto:!0,forced:m||T},w);return w}},{"../internals/create-iterator-constructor":37,"../internals/create-non-enumerable-property":38,"../internals/export":50,"../internals/is-pure":76,"../internals/iterators":80,"../internals/iterators-core":79,"../internals/object-get-prototype-of":98,"../internals/object-set-prototype-of":102,"../internals/redefine":109,"../internals/set-to-string-tag":118,"../internals/well-known-symbol":149}],42:[function(e,t,r){var o=e("../internals/path"),n=e("../internals/has"),s=e("../internals/well-known-symbol-wrapped"),i=e("../internals/object-define-property").f;t.exports=function(e){var t=o.Symbol||(o.Symbol={});n(t,e)||i(t,e,{value:s.f(e)})}},{"../internals/has":61,"../internals/object-define-property":93,"../internals/path":105,"../internals/well-known-symbol-wrapped":148}],43:[function(e,t,r){e=e("../internals/fails"),t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":51}],44:[function(e,t,r){var o=e("../internals/global"),n=(e=e("../internals/is-object"),o.document),s=e(n)&&e(n.createElement);t.exports=function(e){return s?n.createElement(e):{}}},{"../internals/global":60,"../internals/is-object":75}],45:[function(e,t,r){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],46:[function(e,t,r){e=e("../internals/engine-user-agent"),t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(e)},{"../internals/engine-user-agent":47}],47:[function(e,t,r){e=e("../internals/get-built-in"),t.exports=e("navigator","userAgent")||""},{"../internals/get-built-in":57}],48:[function(e,t,r){var o,n,s=e("../internals/global");e=e("../internals/engine-user-agent"),(s=(s=(s=s.process)&&s.versions)&&s.v8)?n