bt-tools
Version:
7 lines • 189 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BtTools=e():t.BtTools=e()}(self,function(){return(()=>{var r={9742:(t,e)=>{"use strict";e.byteLength=function(t){var e=f(t),t=e[0],e=e[1];return 3*(t+e)/4-e},e.toByteArray=function(t){var e,r,n=f(t),o=n[0],n=n[1],i=new c(function(t,e){return 3*(t+e)/4-e}(o,n)),a=0,u=0<n?o-4:o;for(r=0;r<u;r+=4)e=s[t.charCodeAt(r)]<<18|s[t.charCodeAt(r+1)]<<12|s[t.charCodeAt(r+2)]<<6|s[t.charCodeAt(r+3)],i[a++]=e>>16&255,i[a++]=e>>8&255,i[a++]=255&e;2===n&&(e=s[t.charCodeAt(r)]<<2|s[t.charCodeAt(r+1)]>>4,i[a++]=255&e);1===n&&(e=s[t.charCodeAt(r)]<<10|s[t.charCodeAt(r+1)]<<4|s[t.charCodeAt(r+2)]>>2,i[a++]=e>>8&255,i[a++]=255&e);return i},e.fromByteArray=function(t){for(var e,r=t.length,n=r%3,o=[],i=0,a=r-n;i<a;i+=16383)o.push(function(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(function(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}(n));return o.join("")}(t,i,a<i+16383?a:i+16383));1==n?(e=t[r-1],o.push(u[e>>2]+u[e<<4&63]+"==")):2==n&&(e=(t[r-2]<<8)+t[r-1],o.push(u[e>>10]+u[e>>4&63]+u[e<<2&63]+"="));return o.join("")};for(var u=[],s=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,o=r.length;n<o;++n)u[n]=r[n],s[r.charCodeAt(n)]=n;function f(t){var e=t.length;if(0<e%4)throw new Error("Invalid string. Length must be a multiple of 4");t=t.indexOf("=");return[t=-1===t?e:t,t===e?0:4-t%4]}s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},8764:(t,r,e)=>{"use strict";var u=e(9742),i=e(645),e="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/r.lW=l,r.h2=50;var n=2147483647;function o(t){if(n<t)throw new RangeError('The value "'+t+'" is invalid for option "size"');t=new Uint8Array(t);return Object.setPrototypeOf(t,l.prototype),t}function l(t,e,r){if("number"!=typeof t)return a(t,e,r);if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}function a(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|d(t,e),n=o(r),e=n.write(t,e);e!==r&&(n=n.slice(0,e));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(M(t,Uint8Array)){var e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(M(t,ArrayBuffer)||t&&M(t.buffer,ArrayBuffer))return p(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(M(t,SharedArrayBuffer)||t&&M(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return l.from(n,e,r);n=function(t){if(l.isBuffer(t)){var e=0|h(t.length),r=o(e);return 0===r.length?r:(t.copy(r,0,0,e),r)}if(void 0!==t.length)return"number"!=typeof t.length||B(t.length)?o(0):f(t);if("Buffer"===t.type&&Array.isArray(t.data))return f(t.data)}(t);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return l.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return s(t),o(t<0?0:0|h(t))}function f(t){for(var e=t.length<0?0:0|h(t.length),r=o(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function p(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');r=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r);return Object.setPrototypeOf(r,l.prototype),r}function h(t){if(n<=t)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return 0|t}function d(t,e){if(l.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||M(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=2<arguments.length&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return I(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(t).length;default:if(o)return n?-1:I(t).length;e=(""+e).toLowerCase(),o=!0}}function y(t,e,r){var n,o,i,a=!1;if((e=void 0===e||e<0?0:e)>this.length)return"";if((r=void 0===r||r>this.length?this.length:r)<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t=t||"utf8";;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0);(!r||r<0||n<r)&&(r=n);for(var o="",i=e;i<r;++i)o+=C[t[i]];return o}(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return n=this,i=r,0===(o=e)&&i===n.length?u.fromByteArray(n):u.fromByteArray(n.slice(o,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),(r=(r=B(r=+r)?o?0:t.length-1:r)<0?t.length+r:r)>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(t,e,r):m(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){var i=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a/=i=2,u/=2,r/=2}function s(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(o)for(var c=-1,f=r;f<a;f++)if(s(t,f)===s(e,-1===c?0:f-c)){if(f-(c=-1===c?f:c)+1===u)return c*i}else-1!==c&&(f-=f-c),c=-1;else for(f=r=a<r+u?a-u:r;0<=f;f--){for(var l=!0,p=0;p<u;p++)if(s(t,f+p)!==s(e,p)){l=!1;break}if(l)return f}return-1}function w(t,e,r,n){return N(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function b(t,e,r,n){return N(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=t.charCodeAt(i),r=n>>8,n=n%256,o.push(n),o.push(r);return o}(e,t.length-r),t,r,n)}function x(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,u,s,c=t[o],f=null,l=239<c?4:223<c?3:191<c?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(i=t[o+1]))&&127<(s=(31&c)<<6|63&i)&&(f=s);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&2047<(s=(15&c)<<12|(63&i)<<6|63&a)&&(s<55296||57343<s)&&(f=s);break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&65535<(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)&&s<1114112&&(f=s)}null===f?(f=65533,l=1):65535<f&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return function(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=A));return r}(n)}l.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=a,Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(t,e,r){return e=e,r=r,s(t=t),!(t<=0)&&void 0!==e?"string"==typeof r?o(t).fill(e,r):o(t).fill(e):o(t)},l.allocUnsafe=c,l.allocUnsafeSlow=c,l.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==l.prototype},l.compare=function(t,e){if(M(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),M(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},l.isEncoding=function(t){switch(String(t).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}},l.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);if(void 0===e)for(o=e=0;o<t.length;++o)e+=t[o].length;for(var r=l.allocUnsafe(e),n=0,o=0;o<t.length;++o){var i=t[o];if(M(i,Uint8Array))n+i.length>r.length?l.from(i).copy(r,n):Uint8Array.prototype.set.call(r,i,n);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,n)}n+=i.length}return r},l.byteLength=d,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},l.prototype.toLocaleString=l.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?x(this,0,t):y.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",e=r.h2,t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim();return this.length>e&&(t+=" ... "),"<Buffer "+t+">"},e&&(l.prototype[e]=l.prototype.inspect),l.prototype.compare=function(t,e,r,n,o){if(M(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),(e=void 0===e?0:e)<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(o<=n&&r<=e)return 0;if(o<=n)return-1;if(r<=e)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),u=Math.min(i,a),s=this.slice(n,o),c=t.slice(e,r),f=0;f<u;++f)if(s[f]!==c[f]){i=s[f],a=c[f];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},l.prototype.indexOf=function(t,e,r){return v(this,t,e,r,!0)},l.prototype.lastIndexOf=function(t,e,r){return v(this,t,e,r,!1)},l.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||o<r)&&(r=o),0<t.length&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n=n||"utf8";for(var i,a,u,s=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;(!n||o<(n=Number(n)))&&(n=o),(o=e.length)/2<n&&(n=o/2);for(var i=0;i<n;++i){var a=parseInt(e.substr(2*i,2),16);if(B(a))return i;t[r+i]=a}return i}(this,t,e,r);case"utf8":case"utf-8":return a=e,u=r,N(I(t,(i=this).length-a),i,a,u);case"ascii":case"latin1":case"binary":return w(this,t,e,r);case"base64":return i=this,a=e,u=r,N(R(t),i,a,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b(this,t,e,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function E(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(r<t+e)throw new RangeError("Trying to access beyond buffer length")}function S(t,e,r,n,o,i){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(o<e||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function O(t,e,r,n){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function T(t,e,r,n,o){return e=+e,r>>>=0,o||O(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function P(t,e,r,n,o){return e=+e,r>>>=0,o||O(t,0,r,8),i.write(t,e,r,n,52,8),r+8}l.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r);e=this.subarray(t,e=e<t?t:e);return Object.setPrototypeOf(e,l.prototype),e},l.prototype.readUintLE=l.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t+--e],o=1;0<e&&(o*=256);)n+=this[t+--e]*o;return n},l.prototype.readUint8=l.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return(o*=128)<=n&&(n-=Math.pow(2,8*e)),n},l.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=e,o=1,i=this[t+--n];0<n&&(o*=256);)i+=this[t+--n]*o;return(o*=128)<=i&&(i-=Math.pow(2,8*e)),i},l.prototype.readInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);t=this[t]|this[t+1]<<8;return 32768&t?4294901760|t:t},l.prototype.readInt16BE=function(t,e){t>>>=0,e||E(t,2,this.length);t=this[t+1]|this[t]<<8;return 32768&t?4294901760|t:t},l.prototype.readInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return t>>>=0,e||E(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||S(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(t,e,r,n){t=+t,e>>>=0,r>>>=0,n||S(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;0<=--o&&(i*=256);)this[e+o]=t/i&255;return e+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,255,0),this[e]=255&t,e+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeIntLE=function(t,e,r,n){t=+t,e>>>=0,n||S(this,t,e,r,(n=Math.pow(2,8*r-1))-1,-n);var o=0,i=1,a=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/i>>0)-a&255;return e+r},l.prototype.writeIntBE=function(t,e,r,n){t=+t,e>>>=0,n||S(this,t,e,r,(n=Math.pow(2,8*r-1))-1,-n);var o=r-1,i=1,a=0;for(this[e+o]=255&t;0<=--o&&(i*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/i>>0)-a&255;return e+r},l.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,1,127,-128),this[e]=255&(t=t<0?255+t+1:t),e+1},l.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},l.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},l.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},l.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||S(this,t,e,4,2147483647,-2147483648),this[e]=(t=t<0?4294967295+t+1:t)>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},l.prototype.writeFloatLE=function(t,e,r){return T(this,t,e,!0,r)},l.prototype.writeFloatBE=function(t,e,r){return T(this,t,e,!1,r)},l.prototype.writeDoubleLE=function(t,e,r){return P(this,t,e,!0,r)},l.prototype.writeDoubleBE=function(t,e,r){return P(this,t,e,!1,r)},l.prototype.copy=function(t,e,r,n){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r=r||0,n||0===n||(n=this.length),e>=t.length&&(e=t.length),(n=0<n&&n<r?r:n)===r)return 0;if(0===t.length||0===this.length)return 0;if((e=e||0)<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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 o=(n=t.length-e<n-r?t.length-e+r:n)-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o},l.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var o;1===t.length&&(o=t.charCodeAt(0),("utf8"===n&&o<128||"latin1"===n)&&(t=o))}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,"number"==typeof(t=t||0))for(i=e;i<r;++i)this[i]=t;else{var a=l.isBuffer(t)?t:l.from(t,n),u=a.length;if(0===u)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var j=/[^+/0-9A-Za-z-_]/g;function I(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if(55295<(r=t.charCodeAt(a))&&r<57344){if(!o){if(56319<r){-1<(e-=3)&&i.push(239,191,189);continue}if(a+1===n){-1<(e-=3)&&i.push(239,191,189);continue}o=r;continue}if(r<56320){-1<(e-=3)&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&-1<(e-=3)&&i.push(239,191,189);if(o=null,r<128){if(--e<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function R(t){return u.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(j,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function N(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function M(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function B(t){return t!=t}var C=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},1924:(t,e,r)=>{"use strict";var n=r(210),o=r(5559),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){e=n(t,!!e);return"function"==typeof e&&-1<i(t,".prototype.")?o(e):e}},5559:(t,e,r)=>{"use strict";var n=r(8612),r=r(210),o=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||n.call(i,o),u=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch(t){s=null}t.exports=function(t){var e=a(n,i,arguments);return u&&s&&u(e,"length").configurable&&s(e,"length",{value:1+c(0,t.length-(arguments.length-1))}),e};r=function(){return a(n,o,arguments)};s?s(t.exports,"apply",{value:r}):t.exports.apply=r},3099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:(t,e,r)=>{var n=r(5112),o=r(30),r=r(3070),i=n("unscopables"),a=Array.prototype;null==a[i]&&r.f(a,i,{configurable:!0,value:o(null)}),t.exports=function(t){a[i][t]=!0}},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},5787:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},9670:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},4019:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:(t,e,r)=>{"use strict";function n(t){return!!s(t)&&(t=f(t),c(O,t)||c(T,t))}var o,i=r(4019),a=r(9781),u=r(7854),s=r(111),c=r(6656),f=r(648),l=r(8880),p=r(1320),h=r(3070).f,d=r(9518),y=r(7674),g=r(5112),v=r(9711),m=u.Int8Array,w=m&&m.prototype,r=u.Uint8ClampedArray,r=r&&r.prototype,b=m&&d(m),x=w&&d(w),m=Object.prototype,A=m.isPrototypeOf,g=g("toStringTag"),E=v("TYPED_ARRAY_TAG"),S=i&&!!y&&"Opera"!==f(u.opera),i=!1,O={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T={BigInt64Array:8,BigUint64Array:8};for(o in O)u[o]||(S=!1);if((!S||"function"!=typeof b||b===Function.prototype)&&(b=function(){throw TypeError("Incorrect invocation")},S))for(o in O)u[o]&&y(u[o],b);if((!S||!x||x===m)&&(x=b.prototype,S))for(o in O)u[o]&&y(u[o].prototype,x);if(S&&d(r)!==x&&y(r,x),a&&!c(x,g))for(o in i=!0,h(x,g,{get:function(){return s(this)?this[E]:void 0}}),O)u[o]&&l(u[o],E,o);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:i&&E,aTypedArray:function(t){if(n(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(y){if(A.call(b,t))return t}else for(var e in O)if(c(O,o)){e=u[e];if(e&&(t===e||A.call(e,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r){if(a){if(r)for(var n in O){n=u[n];if(n&&c(n.prototype,t))try{delete n.prototype[t]}catch(t){}}x[t]&&!r||p(x,t,!r&&S&&w[t]||e)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(a){if(y){if(r)for(n in O)if((o=u[n])&&c(o,t))try{delete o[t]}catch(t){}if(b[t]&&!r)return;try{return p(b,t,!r&&S&&b[t]||e)}catch(t){}}for(n in O)!(o=u[n])||o[t]&&!r||p(o,t,e)}},isView:function(t){if(!s(t))return!1;t=f(t);return"DataView"===t||c(O,t)||c(T,t)},isTypedArray:n,TypedArray:b,TypedArrayPrototype:x}},3331:(t,e,r)=>{"use strict";function n(t){return[255&t]}function o(t){return[255&t,t>>8&255]}function i(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function a(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function u(t){return F(t,23,4)}function s(t){return F(t,52,8)}function c(t,e,r,n){var o=b(r),r=I(t);if(o+e>r.byteLength)throw _(C);return t=I(r.buffer).bytes,r=o+r.byteOffset,e=t.slice(r,r+e),n?e:e.reverse()}function f(t,e,r,n,o,i){if(r=b(r),t=I(t),r+e>t.byteLength)throw _(C);for(var a=I(t.buffer).bytes,u=r+t.byteOffset,s=n(+o),c=0;c<e;c++)a[u+c]=s[i?c:e-c-1]}var l=r(7854),p=r(9781),h=r(4019),d=r(8880),y=r(2248),g=r(7293),v=r(5787),m=r(9958),w=r(7466),b=r(7067),x=r(1179),A=r(9518),E=r(7674),S=r(8006).f,O=r(3070).f,T=r(1285),P=r(8003),j=r(9909),I=j.get,R=j.set,N="ArrayBuffer",M="DataView",B="prototype",C="Wrong index",U=l[N],L=U,k=l[M],r=k&&k[B],j=Object.prototype,_=l.RangeError,F=x.pack,D=x.unpack,x=function(t,e){O(t[B],e,{get:function(){return I(this)[e]}})};if(h){if(!g(function(){U(1)})||!g(function(){new U(-1)})||g(function(){return new U,new U(1.5),new U(NaN),U.name!=N})){for(var q,g=(L=function(t){return v(this,L),new U(b(t))})[B]=U[B],z=S(U),W=0;z.length>W;)(q=z[W++])in L||d(L,q,U[q]);g.constructor=L}E&&A(r)!==j&&E(r,j);var j=new k(new L(2)),H=r.setInt8;j.setInt8(0,2147483648),j.setInt8(1,2147483649),!j.getInt8(0)&&j.getInt8(1)||y(r,{setInt8:function(t,e){H.call(this,t,e<<24>>24)},setUint8:function(t,e){H.call(this,t,e<<24>>24)}},{unsafe:!0})}else L=function(t){v(this,L,N);t=b(t);R(this,{bytes:T.call(new Array(t),0),byteLength:t}),p||(this.byteLength=t)},k=function(t,e,r){v(this,k,M),v(t,L,M);var n=I(t).byteLength,e=m(e);if(e<0||n<e)throw _("Wrong offset");if(n<e+(r=void 0===r?n-e:w(r)))throw _("Wrong length");R(this,{buffer:t,byteLength:r,byteOffset:e}),p||(this.buffer=t,this.byteLength=r,this.byteOffset=e)},p&&(x(L,"byteLength"),x(k,"buffer"),x(k,"byteLength"),x(k,"byteOffset")),y(k[B],{getInt8:function(t){return c(this,1,t)[0]<<24>>24},getUint8:function(t){return c(this,1,t)[0]},getInt16:function(t){t=c(this,2,t,1<arguments.length?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=c(this,2,t,1<arguments.length?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(t){return a(c(this,4,t,1<arguments.length?arguments[1]:void 0))},getUint32:function(t){return a(c(this,4,t,1<arguments.length?arguments[1]:void 0))>>>0},getFloat32:function(t){return D(c(this,4,t,1<arguments.length?arguments[1]:void 0),23)},getFloat64:function(t){return D(c(this,8,t,1<arguments.length?arguments[1]:void 0),52)},setInt8:function(t,e){f(this,1,t,n,e)},setUint8:function(t,e){f(this,1,t,n,e)},setInt16:function(t,e){f(this,2,t,o,e,2<arguments.length?arguments[2]:void 0)},setUint16:function(t,e){f(this,2,t,o,e,2<arguments.length?arguments[2]:void 0)},setInt32:function(t,e){f(this,4,t,i,e,2<arguments.length?arguments[2]:void 0)},setUint32:function(t,e){f(this,4,t,i,e,2<arguments.length?arguments[2]:void 0)},setFloat32:function(t,e){f(this,4,t,u,e,2<arguments.length?arguments[2]:void 0)},setFloat64:function(t,e){f(this,8,t,s,e,2<arguments.length?arguments[2]:void 0)}});P(L,N),P(k,M),t.exports={ArrayBuffer:L,DataView:k}},1048:(t,e,r)=>{"use strict";var s=r(7908),c=r(1400),f=r(7466),l=Math.min;t.exports=[].copyWithin||function(t,e){var r=s(this),n=f(r.length),o=c(t,n),i=c(e,n),e=2<arguments.length?arguments[2]:void 0,a=l((void 0===e?n:c(e,n))-i,n-o),u=1;for(i<o&&o<i+a&&(u=-1,i+=a-1,o+=a-1);0<a--;)i in r?r[o]=r[i]:delete r[o],o+=u,i+=u;return r}},1285:(t,e,r)=>{"use strict";var a=r(7908),u=r(1400),s=r(7466);t.exports=function(t){for(var e=a(this),r=s(e.length),n=arguments.length,o=u(1<n?arguments[1]:void 0,r),n=2<n?arguments[2]:void 0,i=void 0===n?r:u(n,r);o<i;)e[o++]=t;return e}},8533:(t,e,r)=>{"use strict";var n=r(2092).forEach,r=r(9341)("forEach");t.exports=r?[].forEach:function(t){return n(this,t,1<arguments.length?arguments[1]:void 0)}},1318:(t,e,r)=>{var s=r(5656),c=r(7466),f=r(1400),r=function(u){return function(t,e,r){var n,o=s(t),i=c(o.length),a=f(r,i);if(u&&e!=e){for(;a<i;)if((n=o[a++])!=n)return!0}else for(;a<i;a++)if((u||a in o)&&o[a]===e)return u||a||0;return!u&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},2092:(t,e,r)=>{var b=r(9974),x=r(8361),A=r(7908),E=r(7466),S=r(5417),O=[].push,r=function(p){var h=1==p,d=2==p,y=3==p,g=4==p,v=6==p,m=7==p,w=5==p||v;return function(t,e,r,n){for(var o,i,a=A(t),u=x(a),s=b(e,r,3),c=E(u.length),f=0,n=n||S,l=h?n(t,c):d||m?n(t,0):void 0;f<c;f++)if((w||f in u)&&(i=s(o=u[f],f,a),p))if(h)l[f]=i;else if(i)switch(p){case 3:return!0;case 5:return o;case 6:return f;case 2:O.call(l,o)}else switch(p){case 4:return!1;case 7:O.call(l,o)}return v?-1:y||g?g:l}};t.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6),filterOut:r(7)}},6583:(t,e,r)=>{"use strict";var o=r(5656),i=r(9958),a=r(7466),r=r(9341),u=Math.min,s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0,r=r("lastIndexOf");t.exports=c||!r?function(t){if(c)return s.apply(this,arguments)||0;var e=o(this),r=a(e.length),n=r-1;for((n=1<arguments.length?u(n,i(arguments[1])):n)<0&&(n=r+n);0<=n;n--)if(n in e&&e[n]===t)return n||0;return-1}:s},1194:(t,e,r)=>{var n=r(7293),o=r(5112),i=r(7392),a=o("species");t.exports=function(e){return 51<=i||!n(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n(function(){r.call(null,e||function(){throw 1},1)})}},3671:(t,e,r)=>{var f=r(3099),l=r(7908),p=r(8361),h=r(7466),r=function(c){return function(t,e,r,n){f(e);var o=l(t),i=p(o),a=h(o.length),u=c?a-1:0,s=c?-1:1;if(r<2)for(;;){if(u in i){n=i[u],u+=s;break}if(u+=s,c?u<0:a<=u)throw TypeError("Reduce of empty array with no initial value")}for(;c?0<=u:u<a;u+=s)u in i&&(n=e(n,i[u],u,o));return n}};t.exports={left:r(!1),right:r(!0)}},4362:t=>{var o=Math.floor,i=function(t,e){var r=t.length,n=o(r/2);return r<8?a(t,e):u(i(t.slice(0,n),e),i(t.slice(n),e),e)},a=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(r=t[n=i];n&&0<e(t[n-1],r);)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},u=function(t,e,r){for(var n=t.length,o=e.length,i=0,a=0,u=[];i<n||a<o;)i<n&&a<o?u.push(r(t[i],e[a])<=0?t[i++]:e[a++]):u.push(i<n?t[i++]:e[a++]);return u};t.exports=i},5417:(t,e,r)=>{var n=r(111),o=r(3157),i=r(5112)("species");t.exports=function(t,e){var r;return new(void 0===(r=o(t)&&("function"==typeof(r=t.constructor)&&(r===Array||o(r.prototype))||n(r)&&null===(r=r[i]))?void 0:r)?Array:r)(0===e?0:e)}},7072:(t,e,r)=>{var o=r(5112)("iterator"),i=!1;try{var n=0,a={next:function(){return{done:!!n++}},return:function(){i=!0}};a[o]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:(t,e,r)=>{var n=r(1694),o=r(4326),i=r(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(t=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?t:a?o(e):"Object"==(t=o(e))&&"function"==typeof e.callee?"Arguments":t}},5631:(t,e,r)=>{"use strict";var c=r(3070).f,f=r(30),l=r(2248),p=r(9974),h=r(5787),d=r(408),a=r(654),u=r(6340),y=r(9781),g=r(2423).fastKey,r=r(9909),v=r.set,m=r.getterFor;t.exports={getConstructor:function(t,r,n,o){function i(t,e,r){var n,o=u(t),i=s(t,e);return i?i.value=r:(o.last=i={index:n=g(e,!0),key:e,value:r,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=i),r&&(r.next=i),y?o.size++:t.size++,"F"!==n&&(o.index[n]=i)),t}var a=t(function(t,e){h(t,a,r),v(t,{type:r,index:f(null),first:void 0,last:void 0,size:0}),y||(t.size=0),null!=e&&d(e,t[o],{that:t,AS_ENTRIES:n})}),u=m(r),s=function(t,e){var r,n=u(t),t=g(e);if("F"!==t)return n.index[t];for(r=n.first;r;r=r.next)if(r.key==e)return r};return l(a.prototype,{clear:function(){for(var t=u(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,y?t.size=0:this.size=0},delete:function(t){var e,r=u(this),n=s(this,t);return n&&(e=n.next,t=n.previous,delete r.index[n.index],n.removed=!0,t&&(t.next=e),e&&(e.previous=t),r.first==n&&(r.first=e),r.last==n&&(r.last=t),y?r.size--:this.size--),!!n},forEach:function(t){for(var e,r=u(this),n=p(t,1<arguments.length?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),l(a.prototype,n?{get:function(t){t=s(this,t);return t&&t.value},set:function(t,e){return i(this,0===t?0:t,e)}}:{add:function(t){return i(this,t=0===t?0:t,t)}}),y&&c(a.prototype,"size",{get:function(){return u(this).size}}),a},setStrong:function(t,e,r){var n=e+" Iterator",o=m(e),i=m(n);a(t,e,function(t,e){v(this,{type:n,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:{value:t.target=void 0,done:!0}},r?"entries":"values",!r,!0),u(e)}}},7710:(t,e,r)=>{"use strict";var g=r(2109),v=r(7854),m=r(4705),w=r(1320),b=r(2423),x=r(408),A=r(5787),E=r(111),S=r(7293),O=r(7072),T=r(8003),P=r(9587);t.exports=function(r,t,e){function n(t){var r=h[t];w(h,t,"add"==t?function(t){return r.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(f&&!E(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return f&&!E(t)?void 0:r.call(this,0===t?0:t)}:"has"==t?function(t){return!(f&&!E(t))&&r.call(this,0===t?0:t)}:function(t,e){return r.call(this,0===t?0:t,e),this})}var o,i,a,u,s,c=-1!==r.indexOf("Map"),f=-1!==r.indexOf("Weak"),l=c?"set":"add",p=v[r],h=p&&p.prototype,d=p,y={};return m(r,"function"!=typeof p||!(f||h.forEach&&!S(function(){(new p).entries().next()})))?(d=e.getConstructor(t,r,c,l),b.REQUIRED=!0):m(r,!0)&&(i=(o=new d)[l](f?{}:-0,1)!=o,a=S(function(){o.has(1)}),u=O(function(t){new p(t)}),s=!f&&S(function(){for(var t=new p,e=5;e--;)t[l](e,e);return!t.has(-0)}),u||(((d=t(function(t,e){A(t,d,r);t=P(new p,t,d);return null!=e&&x(e,t[l],{that:t,AS_ENTRIES:c}),t})).prototype=h).constructor=d),(a||s)&&(n("delete"),n("has"),c&&n("get")),(s||i)&&n(l),f&&h.clear&&delete h.clear),y[r]=d,g({global:!0,forced:d!=p},y),T(d,r),f||e.setStrong(d,r,c),d}},9920:(t,e,r)=>{var u=r(6656),s=r(3887),c=r(1236),f=r(3070);t.exports=function(t,e){for(var r=s(e),n=f.f,o=c.f,i=0;i<r.length;i++){var a=r[i];u(t,a)||n(t,a,o(e,a))}}},8544:(t,e,r)=>{r=r(7293);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},4230:(t,e,r)=>{var i=r(4488),a=/"/g;t.exports=function(t,e,r,n){var o=String(i(t)),t="<"+e;return""!==r&&(t+=" "+r+'="'+String(n).replace(a,""")+'"'),t+">"+o+"</"+e+">"}},4994:(t,e,r)=>{"use strict";function n(){return this}var o=r(3383).IteratorPrototype,i=r(30),a=r(9114),u=r(8003),s=r(7497);t.exports=function(t,e,r){e+=" Iterator";return t.prototype=i(o,{next:a(1,r)}),u(t,e,!1,!0),s[e]=n,t}},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,r)=>{"use strict";var n=r(7593),o=r(3070),i=r(9114);t.exports=function(t,e,r){e=n(e);e in t?o.f(t,e,i(0,r)):t[e]=r}},654:(t,e,r)=>{"use strict";function y(){return this}var g=r(2109),v=r(4994),m=r(9518),w=r(7674),b=r(8003),x=r(8880),A=r(1320),n=r(5112),E=r(1913),S=r(7497),r=r(3383),O=r.IteratorPrototype,T=r.BUGGY_SAFARI_ITERATORS,P=n("iterator"),j="values",I="entries";t.exports=function(t,e,r,n,o,i,a){v(r,e,n);function u(t){if(t===o&&d)return d;if(!T&&t in p)return p[t];switch(t){case"keys":case j:case I:return function(){return new r(this,t)}}return function(){return new r(this)}}var s,c,f=e+" Iterator",l=!1,p=t.prototype,h=p[P]||p["@@iterator"]||o&&p[o],d=!T&&h||u(o),n="Array"==e&&p.entries||h;if(n&&(t=m(n.call(new t)),O!==Object.prototype&&t.next&&(E||m(t)===O||(w?w(t,O):"function"!=typeof t[P]&&x(t,P,y)),b(t,f,!0,!0),E&&(S[f]=y))),o==j&&h&&h.name!==j&&(l=!0,d=function(){return h.call(this)}),E&&!a||p[P]===d||x(p,P,d),S[e]=d,o)if(s={values:u(j),keys:i?d:u("keys"),entries:u(I)},a)for(c in s)!T&&!l&&c in p||A(p,c,s[c]);else g({target:e,proto:!0,forced:T||l},s);return s}},7235:(t,e,r)=>{var n=r(857),o=r(6656),i=r(6061),a=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},9781:(t,e,r)=>{r=r(7293);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},317:(t,e,r)=>{var n=r(7854),r=r(111),o=n.document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},8324:t=>{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}},8886:(t,e,r)=>{r=r(8113).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},7871:t=>{t.exports="object"==typeof window},256:(t,e,r)=>{r=r(8113);t.exports=/MSIE|Trident/.test(r)},6833:(t,e,r)=>{r=r(8113);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},5268:(t,e,r)=>{var n=r(4326),r=r(7854);t.exports="process"==n(r.process)},1036:(t,e,r)=>{r=r(8113);t.exports=/web0s(?!.*chrome)/i.test(r)},8113:(t,e,r)=>{r=r(5005);t.exports=r("navigator","userAgent")||""},7392:(t,e,r)=>{var n,o,i=r(7854),r=r(8113),i=i.process,i=i&&i.versions,i=i&&i.v8;i?o=(n=i.split("."))[0]<4?1:n[0]+n[1]:r&&(!(n=r.match(/Edge\/(\d+)/))||74<=n[1])&&(n=r.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},8008:(t,e,r)=>{r=r(8113).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var c=r(7854),f=r(1236).f,l=r(8880),p=r(1320),h=r(3505),d=r(9920),y=r(4705);t.exports=function(t,e){var r,n,o,i=t.target,a=t.global,u=t.stat,s=a?c:u?c[i]||h(i,{}):(c[i]||{}).prototype;if(s)for(r in e){if(n=e[r],o=t.noTargetGet?(o=f(s,r))&&o.value:s[r],!y(a?r:i+(u?".":"#")+r,t.forced)&&void 0!==o){if(typeof n==typeof o)continue;d(n,o)}(t.sham||o&&o.sham)&&l(n,"sham",!0),p(s,r,n,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,r)=>{"use strict";r(4916);var s=r(1320),c=r(2261),f=r(7293),l=r(5112),p=r(8880),h=l("species"),d=RegExp.prototype;t.exports=function(r,t,e,n){var a,o=l(r),u=!f(function(){var t={};return t[o]=function(){return 7},7!=""[r](t)}),i=u&&!f(function(){var t=!1,e=/a/;return"split"===r&&((e={constructor:{}}).constructor[h]=function(){return e},e.flags="",e[o]=/./[o]),e.exec=function(){return t=!0,null},e[o](""),!t});u&&i&&!e||(a=/./[o],t=t(o,""[r],function(t,e,r,n,o){var i=e.exec;return i===c||i===d.exec?u&&!o?{done:!0,value:a.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),s(String.prototype,r,t[0]),s(d,o,t[1])),n&&p(d[o],"sham",!0)}},6677:(t,e,r)=>{r=r(7293);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},9974:(t,e,r)=>{var i=r(3099);t.exports=function(n,o,t){if(i(n),void 0===o)return n;switch(t){case 0:return function(){return n.call(o)};case 1:return function(t){return n.call(o,t)};case 2:return function(t,e){return n.call(o,t,e)};case 3:return function(t,e,r){return n.call(o,t,e,r)}}return function(){return n.apply(o,arguments)}}},5005:(t,e,r)=>{function n(t){return"function"==typeof t?t:void 0}var o=r(857),i=r(7854);t.exports=function(t,e){return arguments.length<2?n(o[t])||n(i[t]):o[t]&&o[t][e]||i[t]&&i[t][e]}},1246:(t,e,r)=>{var n=r(648),o=r(7497),i=r(5112)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},647:(t,e,r)=>{var n=r(7908),p=Math.floor,o="".replace,h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;t.exports=function(i,a,u,s,c,t){var f=u+i.length,l=s.length,e=d;return void 0!==c&&(c=n(c),e=h),o.call(t,e,function(t,e){var r;switch(e.charAt(0)){case"$":return"$";case"&":return i;case"`":return a.slice(0,u);case"'":return a.slice(f);case"<":r=c[e.slice(1,-1)];break;default:var n=+e;if(0==n)return t;if(l<n){var o=p(n/10);return 0===o?t:o<=l?void 0===s[o-1]?e.charAt(1):s[o-1]+e.charAt(1):t}r=s[n-1]}return void 0===r?"":r})}},7854:(t,e,r)=>{function n(t){return t&&t.Math==Math&&t}t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(t,e,r)=>{var n=r(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},3501:t=>{t.exports={}},842:(t,e,r)=>{var n=r(7854);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},490:(t,e,r)=>{r=r(5005);t.exports=r("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},1179:t=>{var p=Math.abs,h=Math.pow,d=Math.floor,y=Math.log,g=Math.LN2;t.exports={pack:function(t,e,r){var n,o,i=new Array(r),a=8*r-e-1,u=(1<<a)-1,s=u>>1,c=23===e?h(2,-24)-h(2,-77):0,f=t<0||0===t&&1/t<0?1:0,l=0;for((t=p(t))!=t||t===1/0?(o=t!=t?1:0,n=u):(n=d(y(t)/g),t*(r=h(2,-n))<1&&(n--,r*=2),2<=(t+=1<=n+s?c/r:c*h(2,1-s))*r&&(n++,r/=2),u<=n+s?(o=0,n=u):1<=n+s?(o=(t*r-1)*h(2,e),n+=s):(o=t*h(2,s-1)*h(2,e),n=0));8<=e;i[l++]=255&o,o/=256,e-=8);for(n=n<<e|o,a+=e;0<a;i[l++]=255&n,n/=256,a-=8);return i[--l]|=128*f,i},unpack:function(t,e){var r,n=t.length,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,s=n-1,n=t[s--],c=127&n;for(n>>=7;0<u;c=256*c+t[s],s--,u-=8);for(r=c&(1<<-u)-1,c>>=-u,u+=e;0<u;r=256*r+t[s],s--,u-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:n?-1/0:1/0;r+=h(2,e),c-=a}return(n?-1:1)*r*h(2,c-e)}}},8361:(t,e,r)=>{var n=r(7293),o=r(4326),i="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},9587:(t,e,r)=>{var i=r(111),a=r(7674);t.exports=function(t,e,r){var n,o;return a&&"function"==typeof(n=e.constructor)&&n!==r&&i(o=n.prototype)&&o!==r.prototype&&a(t,o),t}},2788:(t,e,r)=>{var r=r(5465),n=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return n.call(t)}),t.exports=r.inspectSource},2423:(t,e,r)=>{function n(t){u(t,f,{value:{objectID:"O"+l++,weakData:{}}})}var o=r(3501),i=r(111),a=r(6656),u=r(3070).f,s=r(9711),c=r(6677),f=s("meta"),l=0,p=Object.isExtensible||function(){return!0},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,f)){if(!p(t))return"F";if(!e)return"E";n(t)}return t[f].objectID},getWeakData:function(t,e){if(!a(t,f)){if(!p(t))return!0;if(!e)return!1;n(t)}return t[f].weakData},onFreeze:function(t){return c&&h.REQUIRED&&p(t)&&!a(t,f)&&n(t),t}};o[f]=!0},9909:(t,e,r)=>{var n,o,i,a,u,s,c,f,l=r(8536),p=r(7854),h=r(111),d=r(8880),y=r(6656),g=r(5465),v=r(6200),r=r(3501),m="Object already initialized",p=p.WeakMap;c=l||g.state?(n=g.state||(g.state=new p),o=n.get,i=n.has,a=n.set,u=function(t,e){if(i.call(n,t))throw new TypeError(m);return e.facade=t,a.call(n,t,e),e},s=function(t){return o.call(n,t)||{}},function(t){return i.call(n,t)}):(r[f=v("state")]=!0,u=function(t,e){if(y(t,f))throw new TypeError(m);return e.facade=t,d(t,f,e),e},s=function(t){return y(t,f)?t[f]:{}},function(t){return y(t,f)}),t.exports={set:u,get:s,has:c,enforce:function(t){return c(t)?s(t):u(t,{})},getterFor:function(r){return function(t){var e;if(!h(t)||(e=s(t)).type!==r)throw TypeError("Incompatible receiver, "+r+" required");return e}}}},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4705:(t,e,r)=>{var n=r(7293),o=/#|\.prototype\./,r=function(t,e){t=a[i(t)];return t==s||t!=u&&("function"==typeof e?n(e):!!e)},i=r.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=r.data={},u=r.NATIVE="N",s=r.POLYFILL="P";t.exports=r},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},7850:(t,e,r)=>{var n=r(111),o=r(4326),i=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},408:(t,e,r)=>{function g(t,e){this.stopped=t,this.result=e}var v=r(9670),m=r(7659),w=r(7466),b=r(9974),x=r(1246),A=r(9212);t.exports=function(t,e,r){function n(t){return i&&A(i),new g(!0,t)}function o(t){return p?(v(t),d?y(t[0],t[1],n):y(t[0],t[1])):d?y(t,n):y(t)}var i,a,u,s,c,f,l=r&&r.that,p=!(!r||!r.AS_ENTRIES),h=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),y=b(e,l,1+p+d);if(h)i=t;else{if("function"!=typeof(h=x(t)))throw TypeError("Target is not iterable");if(m(h)){for(a=0,u=w(t.length);a<u;a++)if((s=o(t[a]))&&s instanceof g)return s;return new g(!1)}i=h.call(t)}for(c=i.next;!(f=c.call(i)).done;){try{s=o(f.value)}catch(t){throw A(i),t}if("object"==typeof s&&s&&s instanceof g)return s}return new g(!1)}},9212:(t,e,r)=>{var n=r(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},3383:(t,e,r)=>{"use strict";var n,o=r(7293),i=r(9518),a=r(8880),u=r(6656),s=r(5112),c=r(1913),f=s("iterator"),r=!1;[].keys&&("next"in(s=[].keys())?(s=i(i(s)))!==Object.prototype&&(n=s):r=!0);o=null==n||o(function(){var t={};return n[f].call(t)!==t});o&&(n={}),c&&!o||u(n,f)||a(n,f,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:r}},7497:t=>{t.exports={}},5948:(t,e,r)=>{var n,o,i,a,u,s,c,f,l=r(7854),p=r(1236).f,h=r(261).set,d=r(6833),y=r(1036),g=r(5268),v=l.MutationObserver||l.WebKitMutationObserver,m=l.document,w=l.process,r=l.Promise,p=p(l,"queueMicrotask"),p=p&&p.value;p||(n=function(){var t,e;for(g&&(t=w.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},a=d||g||y||!v||!m?r&&r.resolve?((c=r.resolve(void 0)).constructor=r,f=c.then,function(){f.call(c,n)}):g?function(){w.nextTick(n)}:function(){h.call(l,n)}:(u=!0,s=m.createTextNode(""),new v(n).observe(s,{characterData:!0}),function(){s.data=u=!u})),t.exports=p||function(t){t={fn:t,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},3366:(t,e,r)=>{r=r(7854);t.exports=r.Promise},133:(t,e,r)=>{var n=r(7392),r=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8536:(t,e,r)=>{var n=r(7854),r=r(2788),n=n.WeakMap;t.exports="function"==typeof n&&/native code/.test(r(n))},8523:(t,e,r)=>{"use strict";function n(t){var r,n;this.promise=new t(function(t,e){if(void 0!==r||void 0!==n)throw TypeError("Bad Promise constructor");r=t,n=e}),this.resolve=o(r),this.reject=o(n)}var o=r(3099);t.exports.f=function(t){return new n(t)}},30:(t,e,r)=>{function n(){}function o(t){return"<script>"+t+"</"+h+">"}var i,a=r(9670),u=r(6048),s=r(748),c=r(3501),f=r(490),l=r(317),r=r(6200),p="prototype",h="script",d=r("IE_PROTO"),y=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t;y=i?function(t){t.write(o("")),t.close();var e=t.parentWindow.Object;return t=null,e}(i):((t=l("iframe")).style.display="none",f.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(o("document.F=Object")),t.close(),t.F);for(var e=s.length;e--;)delete y[p][s[e]];return y()};c[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(n[p]=a(t),r=new n,n[p]=null,r[d]=t):r=y(),void 0===e?r:u(r,e)}},6048:(t,e,r)=>{var n=r(9781),a=r(3070),u=r(9670),s=r(1956);t.exports=n?Object.defineProperties:function(t,e){u(t);for(var r,n=s(e),o=n.length,i=0;i<o;)a.f(t,r=n[i++],e[r]);return t}},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(9670),a=r(7593),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(5296),i=r(9114),a=r(5656),u=