UNPKG

purecloud-platform-client-v2

Version:

A JavaScript library to interface with the PureCloud Platform API

1 lines 1.45 MB
require=function(){return function e(i,t,n){function a(r,l){if(!t[r]){if(!i[r]){var s="function"==typeof require&&require;if(!l&&s)return s(r,!0);if(o)return o(r,!0);var u=new Error("Cannot find module '"+r+"'");throw u.code="MODULE_NOT_FOUND",u}var p=t[r]={exports:{}};i[r][0].call(p.exports,function(e){return a(i[r][1][e]||e)},p,p.exports,e,i,t,n)}return t[r].exports}for(var o="function"==typeof require&&require,r=0;r<n.length;r++)a(n[r]);return a}}()({1:[function(e,i,t){"use strict";t.byteLength=function(e){var i=u(e),t=i[0],n=i[1];return 3*(t+n)/4-n},t.toByteArray=function(e){var i,t,n=u(e),r=n[0],l=n[1],s=new o(function(e,i,t){return 3*(i+t)/4-t}(0,r,l)),p=0,c=l>0?r-4:r;for(t=0;t<c;t+=4)i=a[e.charCodeAt(t)]<<18|a[e.charCodeAt(t+1)]<<12|a[e.charCodeAt(t+2)]<<6|a[e.charCodeAt(t+3)],s[p++]=i>>16&255,s[p++]=i>>8&255,s[p++]=255&i;2===l&&(i=a[e.charCodeAt(t)]<<2|a[e.charCodeAt(t+1)]>>4,s[p++]=255&i);1===l&&(i=a[e.charCodeAt(t)]<<10|a[e.charCodeAt(t+1)]<<4|a[e.charCodeAt(t+2)]>>2,s[p++]=i>>8&255,s[p++]=255&i);return s},t.fromByteArray=function(e){for(var i,t=e.length,a=t%3,o=[],r=0,l=t-a;r<l;r+=16383)o.push(p(e,r,r+16383>l?l:r+16383));1===a?(i=e[t-1],o.push(n[i>>2]+n[i<<4&63]+"==")):2===a&&(i=(e[t-2]<<8)+e[t-1],o.push(n[i>>10]+n[i>>4&63]+n[i<<2&63]+"="));return o.join("")};for(var n=[],a=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,s=r.length;l<s;++l)n[l]=r[l],a[r.charCodeAt(l)]=l;function u(e){var i=e.length;if(i%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");return-1===t&&(t=i),[t,t===i?0:4-t%4]}function p(e,i,t){for(var a,o,r=[],l=i;l<t;l+=3)a=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(255&e[l+2]),r.push(n[(o=a)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return r.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},{}],2:[function(e,i,t){},{}],3:[function(e,i,t){(function(i){(function(){"use strict";var i=e("base64-js"),n=e("ieee754");t.Buffer=r,t.SlowBuffer=function(e){+e!=e&&(e=0);return r.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function o(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var i=new Uint8Array(e);return i.__proto__=r.prototype,i}function r(e,i,t){if("number"==typeof e){if("string"==typeof i)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,i,t)}function l(e,i,t){if("string"==typeof e)return function(e,i){"string"==typeof i&&""!==i||(i="utf8");if(!r.isEncoding(i))throw new TypeError("Unknown encoding: "+i);var t=0|d(e,i),n=o(t),a=n.write(e,i);a!==t&&(n=n.slice(0,a));return n}(e,i);if(ArrayBuffer.isView(e))return p(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer))return function(e,i,t){if(i<0||e.byteLength<i)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<i+(t||0))throw new RangeError('"length" is outside of buffer bounds');var n;n=void 0===i&&void 0===t?new Uint8Array(e):void 0===t?new Uint8Array(e,i):new Uint8Array(e,i,t);return n.__proto__=r.prototype,n}(e,i,t);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return r.from(n,i,t);var a=function(e){if(r.isBuffer(e)){var i=0|c(e.length),t=o(i);return 0===t.length?t:(e.copy(t,0,0,i),t)}if(void 0!==e.length)return"number"!=typeof e.length||z(e.length)?o(0):p(e);if("Buffer"===e.type&&Array.isArray(e.data))return p(e.data)}(e);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return r.from(e[Symbol.toPrimitive]("string"),i,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(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 u(e){return s(e),o(e<0?0:0|c(e))}function p(e){for(var i=e.length<0?0:0|c(e.length),t=o(i),n=0;n<i;n+=1)t[n]=255&e[n];return t}function c(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function d(e,i){if(r.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(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 t=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===t)return 0;for(var a=!1;;)switch(i){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return x(e).length;default:if(a)return n?-1:D(e).length;i=(""+i).toLowerCase(),a=!0}}function g(e,i,t){var n=e[i];e[i]=e[t],e[t]=n}function h(e,i,t,n,a){if(0===e.length)return-1;if("string"==typeof t?(n=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),z(t=+t)&&(t=a?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(a)return-1;t=e.length-1}else if(t<0){if(!a)return-1;t=0}if("string"==typeof i&&(i=r.from(i,n)),r.isBuffer(i))return 0===i.length?-1:m(e,i,t,n,a);if("number"==typeof i)return i&=255,"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,i,t):Uint8Array.prototype.lastIndexOf.call(e,i,t):m(e,[i],t,n,a);throw new TypeError("val must be string, number or Buffer")}function m(e,i,t,n,a){var o,r=1,l=e.length,s=i.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||i.length<2)return-1;r=2,l/=2,s/=2,t/=2}function u(e,i){return 1===r?e[i]:e.readUInt16BE(i*r)}if(a){var p=-1;for(o=t;o<l;o++)if(u(e,o)===u(i,-1===p?0:o-p)){if(-1===p&&(p=o),o-p+1===s)return p*r}else-1!==p&&(o-=o-p),p=-1}else for(t+s>l&&(t=l-s),o=t;o>=0;o--){for(var c=!0,d=0;d<s;d++)if(u(e,o+d)!==u(i,d)){c=!1;break}if(c)return o}return-1}function v(e,i,t,n){t=Number(t)||0;var a=e.length-t;n?(n=Number(n))>a&&(n=a):n=a;var o=i.length;n>o/2&&(n=o/2);for(var r=0;r<n;++r){var l=parseInt(i.substr(2*r,2),16);if(z(l))return r;e[t+r]=l}return r}function f(e,i,t,n){return W(D(i,e.length-t),e,t,n)}function w(e,i,t,n){return W(function(e){for(var i=[],t=0;t<e.length;++t)i.push(255&e.charCodeAt(t));return i}(i),e,t,n)}function y(e,i,t,n){return w(e,i,t,n)}function C(e,i,t,n){return W(x(i),e,t,n)}function I(e,i,t,n){return W(function(e,i){for(var t,n,a,o=[],r=0;r<e.length&&!((i-=2)<0);++r)t=e.charCodeAt(r),n=t>>8,a=t%256,o.push(a),o.push(n);return o}(i,e.length-t),e,t,n)}function A(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function b(e,i,t){t=Math.min(e.length,t);for(var n=[],a=i;a<t;){var o,r,l,s,u=e[a],p=null,c=u>239?4:u>223?3:u>191?2:1;if(a+c<=t)switch(c){case 1:u<128&&(p=u);break;case 2:128==(192&(o=e[a+1]))&&(s=(31&u)<<6|63&o)>127&&(p=s);break;case 3:o=e[a+1],r=e[a+2],128==(192&o)&&128==(192&r)&&(s=(15&u)<<12|(63&o)<<6|63&r)>2047&&(s<55296||s>57343)&&(p=s);break;case 4:o=e[a+1],r=e[a+2],l=e[a+3],128==(192&o)&&128==(192&r)&&128==(192&l)&&(s=(15&u)<<18|(63&o)<<12|(63&r)<<6|63&l)>65535&&s<1114112&&(p=s)}null===p?(p=65533,c=1):p>65535&&(p-=65536,n.push(p>>>10&1023|55296),p=56320|1023&p),n.push(p),a+=c}return function(e){var i=e.length;if(i<=k)return String.fromCharCode.apply(String,e);var t="",n=0;for(;n<i;)t+=String.fromCharCode.apply(String,e.slice(n,n+=k));return t}(n)}t.kMaxLength=a,r.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),r.TYPED_ARRAY_SUPPORT||"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(r.prototype,"parent",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.buffer}}),Object.defineProperty(r.prototype,"offset",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&r[Symbol.species]===r&&Object.defineProperty(r,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),r.poolSize=8192,r.from=function(e,i,t){return l(e,i,t)},r.prototype.__proto__=Uint8Array.prototype,r.__proto__=Uint8Array,r.alloc=function(e,i,t){return function(e,i,t){return s(e),e<=0?o(e):void 0!==i?"string"==typeof t?o(e).fill(i,t):o(e).fill(i):o(e)}(e,i,t)},r.allocUnsafe=function(e){return u(e)},r.allocUnsafeSlow=function(e){return u(e)},r.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==r.prototype},r.compare=function(e,i){if(B(e,Uint8Array)&&(e=r.from(e,e.offset,e.byteLength)),B(i,Uint8Array)&&(i=r.from(i,i.offset,i.byteLength)),!r.isBuffer(e)||!r.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===i)return 0;for(var t=e.length,n=i.length,a=0,o=Math.min(t,n);a<o;++a)if(e[a]!==i[a]){t=e[a],n=i[a];break}return t<n?-1:n<t?1:0},r.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}},r.concat=function(e,i){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var t;if(void 0===i)for(i=0,t=0;t<e.length;++t)i+=e[t].length;var n=r.allocUnsafe(i),a=0;for(t=0;t<e.length;++t){var o=e[t];if(B(o,Uint8Array)&&(o=r.from(o)),!r.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,a),a+=o.length}return n},r.byteLength=d,r.prototype._isBuffer=!0,r.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 i=0;i<e;i+=2)g(this,i,i+1);return this},r.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 i=0;i<e;i+=4)g(this,i,i+3),g(this,i+1,i+2);return this},r.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 i=0;i<e;i+=8)g(this,i,i+7),g(this,i+1,i+6),g(this,i+2,i+5),g(this,i+3,i+4);return this},r.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?b(this,0,e):function(e,i,t){var n=!1;if((void 0===i||i<0)&&(i=0),i>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(i>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,i,t);case"utf8":case"utf-8":return b(this,i,t);case"ascii":return j(this,i,t);case"latin1":case"binary":return P(this,i,t);case"base64":return A(this,i,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,i,t);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}.apply(this,arguments)},r.prototype.toLocaleString=r.prototype.toString,r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var e="",i=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(e+=" ... "),"<Buffer "+e+">"},r.prototype.compare=function(e,i,t,n,a){if(B(e,Uint8Array)&&(e=r.from(e,e.offset,e.byteLength)),!r.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===i&&(i=0),void 0===t&&(t=e?e.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),i<0||t>e.length||n<0||a>this.length)throw new RangeError("out of range index");if(n>=a&&i>=t)return 0;if(n>=a)return-1;if(i>=t)return 1;if(i>>>=0,t>>>=0,n>>>=0,a>>>=0,this===e)return 0;for(var o=a-n,l=t-i,s=Math.min(o,l),u=this.slice(n,a),p=e.slice(i,t),c=0;c<s;++c)if(u[c]!==p[c]){o=u[c],l=p[c];break}return o<l?-1:l<o?1:0},r.prototype.includes=function(e,i,t){return-1!==this.indexOf(e,i,t)},r.prototype.indexOf=function(e,i,t){return h(this,e,i,t,!0)},r.prototype.lastIndexOf=function(e,i,t){return h(this,e,i,t,!1)},r.prototype.write=function(e,i,t,n){if(void 0===i)n="utf8",t=this.length,i=0;else if(void 0===t&&"string"==typeof i)n=i,t=this.length,i=0;else{if(!isFinite(i))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");i>>>=0,isFinite(t)?(t>>>=0,void 0===n&&(n="utf8")):(n=t,t=void 0)}var a=this.length-i;if((void 0===t||t>a)&&(t=a),e.length>0&&(t<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return v(this,e,i,t);case"utf8":case"utf-8":return f(this,e,i,t);case"ascii":return w(this,e,i,t);case"latin1":case"binary":return y(this,e,i,t);case"base64":return C(this,e,i,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,i,t);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function j(e,i,t){var n="";t=Math.min(e.length,t);for(var a=i;a<t;++a)n+=String.fromCharCode(127&e[a]);return n}function P(e,i,t){var n="";t=Math.min(e.length,t);for(var a=i;a<t;++a)n+=String.fromCharCode(e[a]);return n}function O(e,i,t){var n=e.length;(!i||i<0)&&(i=0),(!t||t<0||t>n)&&(t=n);for(var a="",o=i;o<t;++o)a+=R(e[o]);return a}function M(e,i,t){for(var n=e.slice(i,t),a="",o=0;o<n.length;o+=2)a+=String.fromCharCode(n[o]+256*n[o+1]);return a}function T(e,i,t){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+i>t)throw new RangeError("Trying to access beyond buffer length")}function S(e,i,t,n,a,o){if(!r.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>a||i<o)throw new RangeError('"value" argument is out of bounds');if(t+n>e.length)throw new RangeError("Index out of range")}function q(e,i,t,n,a,o){if(t+n>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function E(e,i,t,a,o){return i=+i,t>>>=0,o||q(e,0,t,4),n.write(e,i,t,a,23,4),t+4}function G(e,i,t,a,o){return i=+i,t>>>=0,o||q(e,0,t,8),n.write(e,i,t,a,52,8),t+8}r.prototype.slice=function(e,i){var t=this.length;e=~~e,i=void 0===i?t:~~i,e<0?(e+=t)<0&&(e=0):e>t&&(e=t),i<0?(i+=t)<0&&(i=0):i>t&&(i=t),i<e&&(i=e);var n=this.subarray(e,i);return n.__proto__=r.prototype,n},r.prototype.readUIntLE=function(e,i,t){e>>>=0,i>>>=0,t||T(e,i,this.length);for(var n=this[e],a=1,o=0;++o<i&&(a*=256);)n+=this[e+o]*a;return n},r.prototype.readUIntBE=function(e,i,t){e>>>=0,i>>>=0,t||T(e,i,this.length);for(var n=this[e+--i],a=1;i>0&&(a*=256);)n+=this[e+--i]*a;return n},r.prototype.readUInt8=function(e,i){return e>>>=0,i||T(e,1,this.length),this[e]},r.prototype.readUInt16LE=function(e,i){return e>>>=0,i||T(e,2,this.length),this[e]|this[e+1]<<8},r.prototype.readUInt16BE=function(e,i){return e>>>=0,i||T(e,2,this.length),this[e]<<8|this[e+1]},r.prototype.readUInt32LE=function(e,i){return e>>>=0,i||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},r.prototype.readUInt32BE=function(e,i){return e>>>=0,i||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},r.prototype.readIntLE=function(e,i,t){e>>>=0,i>>>=0,t||T(e,i,this.length);for(var n=this[e],a=1,o=0;++o<i&&(a*=256);)n+=this[e+o]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*i)),n},r.prototype.readIntBE=function(e,i,t){e>>>=0,i>>>=0,t||T(e,i,this.length);for(var n=i,a=1,o=this[e+--n];n>0&&(a*=256);)o+=this[e+--n]*a;return o>=(a*=128)&&(o-=Math.pow(2,8*i)),o},r.prototype.readInt8=function(e,i){return e>>>=0,i||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},r.prototype.readInt16LE=function(e,i){e>>>=0,i||T(e,2,this.length);var t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},r.prototype.readInt16BE=function(e,i){e>>>=0,i||T(e,2,this.length);var t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},r.prototype.readInt32LE=function(e,i){return e>>>=0,i||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},r.prototype.readInt32BE=function(e,i){return e>>>=0,i||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},r.prototype.readFloatLE=function(e,i){return e>>>=0,i||T(e,4,this.length),n.read(this,e,!0,23,4)},r.prototype.readFloatBE=function(e,i){return e>>>=0,i||T(e,4,this.length),n.read(this,e,!1,23,4)},r.prototype.readDoubleLE=function(e,i){return e>>>=0,i||T(e,8,this.length),n.read(this,e,!0,52,8)},r.prototype.readDoubleBE=function(e,i){return e>>>=0,i||T(e,8,this.length),n.read(this,e,!1,52,8)},r.prototype.writeUIntLE=function(e,i,t,n){(e=+e,i>>>=0,t>>>=0,n)||S(this,e,i,t,Math.pow(2,8*t)-1,0);var a=1,o=0;for(this[i]=255&e;++o<t&&(a*=256);)this[i+o]=e/a&255;return i+t},r.prototype.writeUIntBE=function(e,i,t,n){(e=+e,i>>>=0,t>>>=0,n)||S(this,e,i,t,Math.pow(2,8*t)-1,0);var a=t-1,o=1;for(this[i+a]=255&e;--a>=0&&(o*=256);)this[i+a]=e/o&255;return i+t},r.prototype.writeUInt8=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,1,255,0),this[i]=255&e,i+1},r.prototype.writeUInt16LE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,2,65535,0),this[i]=255&e,this[i+1]=e>>>8,i+2},r.prototype.writeUInt16BE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,2,65535,0),this[i]=e>>>8,this[i+1]=255&e,i+2},r.prototype.writeUInt32LE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,4,4294967295,0),this[i+3]=e>>>24,this[i+2]=e>>>16,this[i+1]=e>>>8,this[i]=255&e,i+4},r.prototype.writeUInt32BE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,4,4294967295,0),this[i]=e>>>24,this[i+1]=e>>>16,this[i+2]=e>>>8,this[i+3]=255&e,i+4},r.prototype.writeIntLE=function(e,i,t,n){if(e=+e,i>>>=0,!n){var a=Math.pow(2,8*t-1);S(this,e,i,t,a-1,-a)}var o=0,r=1,l=0;for(this[i]=255&e;++o<t&&(r*=256);)e<0&&0===l&&0!==this[i+o-1]&&(l=1),this[i+o]=(e/r>>0)-l&255;return i+t},r.prototype.writeIntBE=function(e,i,t,n){if(e=+e,i>>>=0,!n){var a=Math.pow(2,8*t-1);S(this,e,i,t,a-1,-a)}var o=t-1,r=1,l=0;for(this[i+o]=255&e;--o>=0&&(r*=256);)e<0&&0===l&&0!==this[i+o+1]&&(l=1),this[i+o]=(e/r>>0)-l&255;return i+t},r.prototype.writeInt8=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,1,127,-128),e<0&&(e=255+e+1),this[i]=255&e,i+1},r.prototype.writeInt16LE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,2,32767,-32768),this[i]=255&e,this[i+1]=e>>>8,i+2},r.prototype.writeInt16BE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,2,32767,-32768),this[i]=e>>>8,this[i+1]=255&e,i+2},r.prototype.writeInt32LE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,4,2147483647,-2147483648),this[i]=255&e,this[i+1]=e>>>8,this[i+2]=e>>>16,this[i+3]=e>>>24,i+4},r.prototype.writeInt32BE=function(e,i,t){return e=+e,i>>>=0,t||S(this,e,i,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[i]=e>>>24,this[i+1]=e>>>16,this[i+2]=e>>>8,this[i+3]=255&e,i+4},r.prototype.writeFloatLE=function(e,i,t){return E(this,e,i,!0,t)},r.prototype.writeFloatBE=function(e,i,t){return E(this,e,i,!1,t)},r.prototype.writeDoubleLE=function(e,i,t){return G(this,e,i,!0,t)},r.prototype.writeDoubleBE=function(e,i,t){return G(this,e,i,!1,t)},r.prototype.copy=function(e,i,t,n){if(!r.isBuffer(e))throw new TypeError("argument should be a Buffer");if(t||(t=0),n||0===n||(n=this.length),i>=e.length&&(i=e.length),i||(i=0),n>0&&n<t&&(n=t),n===t)return 0;if(0===e.length||0===this.length)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=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),e.length-i<n-t&&(n=e.length-i+t);var a=n-t;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(i,t,n);else if(this===e&&t<i&&i<n)for(var o=a-1;o>=0;--o)e[o+i]=this[o+t];else Uint8Array.prototype.set.call(e,this.subarray(t,n),i);return a},r.prototype.fill=function(e,i,t,n){if("string"==typeof e){if("string"==typeof i?(n=i,i=0,t=this.length):"string"==typeof t&&(n=t,t=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!r.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}else"number"==typeof e&&(e&=255);if(i<0||this.length<i||this.length<t)throw new RangeError("Out of range index");if(t<=i)return this;var o;if(i>>>=0,t=void 0===t?this.length:t>>>0,e||(e=0),"number"==typeof e)for(o=i;o<t;++o)this[o]=e;else{var l=r.isBuffer(e)?e:r.from(e,n),s=l.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<t-i;++o)this[o+i]=l[o%s]}return this};var U=/[^+/0-9A-Za-z-_]/g;function R(e){return e<16?"0"+e.toString(16):e.toString(16)}function D(e,i){var t;i=i||1/0;for(var n=e.length,a=null,o=[],r=0;r<n;++r){if((t=e.charCodeAt(r))>55295&&t<57344){if(!a){if(t>56319){(i-=3)>-1&&o.push(239,191,189);continue}if(r+1===n){(i-=3)>-1&&o.push(239,191,189);continue}a=t;continue}if(t<56320){(i-=3)>-1&&o.push(239,191,189),a=t;continue}t=65536+(a-55296<<10|t-56320)}else a&&(i-=3)>-1&&o.push(239,191,189);if(a=null,t<128){if((i-=1)<0)break;o.push(t)}else if(t<2048){if((i-=2)<0)break;o.push(t>>6|192,63&t|128)}else if(t<65536){if((i-=3)<0)break;o.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((i-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return o}function x(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function W(e,i,t,n){for(var a=0;a<n&&!(a+t>=i.length||a>=e.length);++a)i[a+t]=e[a];return a}function B(e,i){return e instanceof i||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===i.name}function z(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":1,buffer:3,ieee754:31}],4:[function(e,i,t){"use strict";var n=e("function-bind"),a=e("./functionApply"),o=e("./functionCall"),r=e("./reflectApply");i.exports=r||n.call(o,a)},{"./functionApply":5,"./functionCall":6,"./reflectApply":8,"function-bind":21}],5:[function(e,i,t){"use strict";i.exports=Function.prototype.apply},{}],6:[function(e,i,t){"use strict";i.exports=Function.prototype.call},{}],7:[function(e,i,t){"use strict";var n=e("function-bind"),a=e("es-errors/type"),o=e("./functionCall"),r=e("./actualApply");i.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new a("a function is required");return r(n,o,e)}},{"./actualApply":4,"./functionCall":6,"es-errors/type":17,"function-bind":21}],8:[function(e,i,t){"use strict";i.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},{}],9:[function(e,i,t){"use strict";var n=e("get-intrinsic"),a=e("call-bind-apply-helpers"),o=a([n("%String.prototype.indexOf%")]);i.exports=function(e,i){var t=n(e,!!i);return"function"==typeof t&&o(e,".prototype.")>-1?a([t]):t}},{"call-bind-apply-helpers":7,"get-intrinsic":22}],10:[function(e,i,t){"use strict";var n,a=e("call-bind-apply-helpers"),o=e("gopd");try{n=[].__proto__===Array.prototype}catch(e){if(!(e&&"object"==typeof e&&"code"in e&&"ERR_PROTO_ACCESS"===e.code))throw e}var r=!!n&&o&&o(Object.prototype,"__proto__"),l=Object,s=l.getPrototypeOf;i.exports=r&&"function"==typeof r.get?a([r.get]):"function"==typeof s&&function(e){return s(null==e?e:l(e))}},{"call-bind-apply-helpers":7,gopd:27}],11:[function(e,i,t){"use strict";var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}i.exports=n},{}],12:[function(e,i,t){"use strict";i.exports=EvalError},{}],13:[function(e,i,t){"use strict";i.exports=Error},{}],14:[function(e,i,t){"use strict";i.exports=RangeError},{}],15:[function(e,i,t){"use strict";i.exports=ReferenceError},{}],16:[function(e,i,t){"use strict";i.exports=SyntaxError},{}],17:[function(e,i,t){"use strict";i.exports=TypeError},{}],18:[function(e,i,t){"use strict";i.exports=URIError},{}],19:[function(e,i,t){"use strict";i.exports=Object},{}],20:[function(e,i,t){"use strict";var n=Object.prototype.toString,a=Math.max,o=function(e,i){for(var t=[],n=0;n<e.length;n+=1)t[n]=e[n];for(var a=0;a<i.length;a+=1)t[a+e.length]=i[a];return t};i.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==n.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var t,r=function(e,i){for(var t=[],n=i||0,a=0;n<e.length;n+=1,a+=1)t[a]=e[n];return t}(arguments,1),l=a(0,i.length-r.length),s=[],u=0;u<l;u++)s[u]="$"+u;if(t=Function("binder","return function ("+function(e,i){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=i);return t}(s,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof t){var n=i.apply(this,o(r,arguments));return Object(n)===n?n:this}return i.apply(e,o(r,arguments))}),i.prototype){var p=function(){};p.prototype=i.prototype,t.prototype=new p,p.prototype=null}return t}},{}],21:[function(e,i,t){"use strict";var n=e("./implementation");i.exports=Function.prototype.bind||n},{"./implementation":20}],22:[function(e,i,t){"use strict";var n=e("es-object-atoms"),a=e("es-errors"),o=e("es-errors/eval"),r=e("es-errors/range"),l=e("es-errors/ref"),s=e("es-errors/syntax"),u=e("es-errors/type"),p=e("es-errors/uri"),c=e("math-intrinsics/abs"),d=e("math-intrinsics/floor"),g=e("math-intrinsics/max"),h=e("math-intrinsics/min"),m=e("math-intrinsics/pow"),v=e("math-intrinsics/round"),f=e("math-intrinsics/sign"),w=Function,y=function(e){try{return w('"use strict"; return ('+e+").constructor;")()}catch(e){}},C=e("gopd"),I=e("es-define-property"),A=function(){throw new u},b=C?function(){try{return arguments.callee,A}catch(e){try{return C(arguments,"callee").get}catch(e){return A}}}():A,k=e("has-symbols")(),j=e("get-proto"),P=e("get-proto/Object.getPrototypeOf"),O=e("get-proto/Reflect.getPrototypeOf"),M=e("call-bind-apply-helpers/functionApply"),T=e("call-bind-apply-helpers/functionCall"),S={},q="undefined"!=typeof Uint8Array&&j?j(Uint8Array):void 0,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":k&&j?j([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":S,"%AsyncGenerator%":S,"%AsyncGeneratorFunction%":S,"%AsyncIteratorPrototype%":S,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":o,"%Float16Array%":"undefined"==typeof Float16Array?void 0:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":S,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":k&&j?j(j([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&k&&j?j((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":C,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":r,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&k&&j?j((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":k&&j?j(""[Symbol.iterator]()):void 0,"%Symbol%":k?Symbol:void 0,"%SyntaxError%":s,"%ThrowTypeError%":b,"%TypedArray%":q,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":M,"%Object.defineProperty%":I,"%Object.getPrototypeOf%":P,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":g,"%Math.min%":h,"%Math.pow%":m,"%Math.round%":v,"%Math.sign%":f,"%Reflect.getPrototypeOf%":O};if(j)try{null.error}catch(e){var G=j(j(e));E["%Error.prototype%"]=G}var U={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},R=e("function-bind"),D=e("hasown"),x=R.call(T,Array.prototype.concat),W=R.call(M,Array.prototype.splice),B=R.call(T,String.prototype.replace),z=R.call(T,String.prototype.slice),L=R.call(T,RegExp.prototype.exec),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,V=function(e,i){var t,n=e;if(D(U,n)&&(n="%"+(t=U[n])[0]+"%"),D(E,n)){var a=E[n];if(a===S&&(a=function e(i){var t;if("%AsyncFunction%"===i)t=y("async function () {}");else if("%GeneratorFunction%"===i)t=y("function* () {}");else if("%AsyncGeneratorFunction%"===i)t=y("async function* () {}");else if("%AsyncGenerator%"===i){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if("%AsyncIteratorPrototype%"===i){var a=e("%AsyncGenerator%");a&&j&&(t=j(a.prototype))}return E[i]=t,t}(n)),void 0===a&&!i)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:t,name:n,value:a}}throw new s("intrinsic "+e+" does not exist!")};i.exports=function(e,i){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof i)throw new u('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=function(e){var i=z(e,0,1),t=z(e,-1);if("%"===i&&"%"!==t)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==i)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return B(e,N,function(e,i,t,a){n[n.length]=t?B(a,K,"$1"):i||e}),n}(e),n=t.length>0?t[0]:"",a=V("%"+n+"%",i),o=a.name,r=a.value,l=!1,p=a.alias;p&&(n=p[0],W(t,x([0,1],p)));for(var c=1,d=!0;c<t.length;c+=1){var g=t[c],h=z(g,0,1),m=z(g,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new s("property names with quotes must have matching quotes");if("constructor"!==g&&d||(l=!0),D(E,o="%"+(n+="."+g)+"%"))r=E[o];else if(null!=r){if(!(g in r)){if(!i)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(C&&c+1>=t.length){var v=C(r,g);r=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:r[g]}else d=D(r,g),r=r[g];d&&!l&&(E[o]=r)}}return r}},{"call-bind-apply-helpers/functionApply":5,"call-bind-apply-helpers/functionCall":6,"es-define-property":11,"es-errors":13,"es-errors/eval":12,"es-errors/range":14,"es-errors/ref":15,"es-errors/syntax":16,"es-errors/type":17,"es-errors/uri":18,"es-object-atoms":19,"function-bind":21,"get-proto":25,"get-proto/Object.getPrototypeOf":23,"get-proto/Reflect.getPrototypeOf":24,gopd:27,"has-symbols":28,hasown:30,"math-intrinsics/abs":32,"math-intrinsics/floor":33,"math-intrinsics/max":35,"math-intrinsics/min":36,"math-intrinsics/pow":37,"math-intrinsics/round":38,"math-intrinsics/sign":39}],23:[function(e,i,t){"use strict";var n=e("es-object-atoms");i.exports=n.getPrototypeOf||null},{"es-object-atoms":19}],24:[function(e,i,t){"use strict";i.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},{}],25:[function(e,i,t){"use strict";var n=e("./Reflect.getPrototypeOf"),a=e("./Object.getPrototypeOf"),o=e("dunder-proto/get");i.exports=n?function(e){return n(e)}:a?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return a(e)}:o?function(e){return o(e)}:null},{"./Object.getPrototypeOf":23,"./Reflect.getPrototypeOf":24,"dunder-proto/get":10}],26:[function(e,i,t){"use strict";i.exports=Object.getOwnPropertyDescriptor},{}],27:[function(e,i,t){"use strict";var n=e("./gOPD");if(n)try{n([],"length")}catch(e){n=null}i.exports=n},{"./gOPD":26}],28:[function(e,i,t){"use strict";var n="undefined"!=typeof Symbol&&Symbol,a=e("./shams");i.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&a())))}},{"./shams":29}],29:[function(e,i,t){"use strict";i.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},i=Symbol("test"),t=Object(i);if("string"==typeof i)return!1;if("[object Symbol]"!==Object.prototype.toString.call(i))return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(var n in e[i]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==i)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,i);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},{}],30:[function(e,i,t){"use strict";var n=Function.prototype.call,a=Object.prototype.hasOwnProperty,o=e("function-bind");i.exports=o.call(n,a)},{"function-bind":21}],31:[function(e,i,t){t.read=function(e,i,t,n,a){var o,r,l=8*a-n-1,s=(1<<l)-1,u=s>>1,p=-7,c=t?a-1:0,d=t?-1:1,g=e[i+c];for(c+=d,o=g&(1<<-p)-1,g>>=-p,p+=l;p>0;o=256*o+e[i+c],c+=d,p-=8);for(r=o&(1<<-p)-1,o>>=-p,p+=n;p>0;r=256*r+e[i+c],c+=d,p-=8);if(0===o)o=1-u;else{if(o===s)return r?NaN:1/0*(g?-1:1);r+=Math.pow(2,n),o-=u}return(g?-1:1)*r*Math.pow(2,o-n)},t.write=function(e,i,t,n,a,o){var r,l,s,u=8*o-a-1,p=(1<<u)-1,c=p>>1,d=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:o-1,h=n?1:-1,m=i<0||0===i&&1/i<0?1:0;for(i=Math.abs(i),isNaN(i)||i===1/0?(l=isNaN(i)?1:0,r=p):(r=Math.floor(Math.log(i)/Math.LN2),i*(s=Math.pow(2,-r))<1&&(r--,s*=2),(i+=r+c>=1?d/s:d*Math.pow(2,1-c))*s>=2&&(r++,s/=2),r+c>=p?(l=0,r=p):r+c>=1?(l=(i*s-1)*Math.pow(2,a),r+=c):(l=i*Math.pow(2,c-1)*Math.pow(2,a),r=0));a>=8;e[t+g]=255&l,g+=h,l/=256,a-=8);for(r=r<<a|l,u+=a;u>0;e[t+g]=255&r,g+=h,r/=256,u-=8);e[t+g-h]|=128*m}},{}],32:[function(e,i,t){"use strict";i.exports=Math.abs},{}],33:[function(e,i,t){"use strict";i.exports=Math.floor},{}],34:[function(e,i,t){"use strict";i.exports=Number.isNaN||function(e){return e!=e}},{}],35:[function(e,i,t){"use strict";i.exports=Math.max},{}],36:[function(e,i,t){"use strict";i.exports=Math.min},{}],37:[function(e,i,t){"use strict";i.exports=Math.pow},{}],38:[function(e,i,t){"use strict";i.exports=Math.round},{}],39:[function(e,i,t){"use strict";var n=e("./isNaN");i.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},{"./isNaN":34}],40:[function(e,i,t){(function(t){(function(){var n="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&a&&"function"==typeof a.get?a.get:null,r=n&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&s&&"function"==typeof s.get?s.get:null,p=l&&Set.prototype.forEach,c="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,g="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,v=Function.prototype.toString,f=String.prototype.match,w=String.prototype.slice,y=String.prototype.replace,C=String.prototype.toUpperCase,I=String.prototype.toLowerCase,A=RegExp.prototype.test,b=Array.prototype.concat,k=Array.prototype.join,j=Array.prototype.slice,P=Math.floor,O="function"==typeof BigInt?BigInt.prototype.valueOf:null,M=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,S="function"==typeof Symbol&&"object"==typeof Symbol.iterator,q="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===S||"symbol")?Symbol.toStringTag:null,E=Object.prototype.propertyIsEnumerable,G=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function U(e,i){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||A.call(/e/,i))return i;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-P(-e):P(e);if(n!==e){var a=String(n),o=w.call(i,a.length+1);return y.call(a,t,"$&_")+"."+y.call(y.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(i,t,"$&_")}var R=e("./util.inspect"),D=R.custom,x=J(D)?D:null,W={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function z(e,i,t){var n=t.quoteStyle||i,a=W[n];return a+e+a}function L(e){return y.call(String(e),/"/g,"&quot;")}function N(e){return!q||!("object"==typeof e&&(q in e||void 0!==e[q]))}function K(e){return"[object Array]"===Q(e)&&N(e)}function V(e){return"[object RegExp]"===Q(e)&&N(e)}function J(e){if(S)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}i.exports=function e(i,n,a,l){var s=n||{};if(_(s,"quoteStyle")&&!_(W,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(_(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!_(s,"customInspect")||s.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(_(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(_(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var C=s.numericSeparator;if(void 0===i)return"undefined";if(null===i)return"null";if("boolean"==typeof i)return i?"true":"false";if("string"==typeof i)return function e(i,t){if(i.length>t.maxStringLength){var n=i.length-t.maxStringLength,a="... "+n+" more character"+(n>1?"s":"");return e(w.call(i,0,t.maxStringLength),t)+a}var o=B[t.quoteStyle||"single"];o.lastIndex=0;var r=y.call(y.call(i,o,"\\$1"),/[\x00-\x1f]/g,Y);return z(r,"single",t)}(i,s);if("number"==typeof i){if(0===i)return 1/0/i>0?"0":"-0";var A=String(i);return C?U(i,A):A}if("bigint"==typeof i){var P=String(i)+"n";return C?U(i,P):P}var M=void 0===s.depth?5:s.depth;if(void 0===a&&(a=0),a>=M&&M>0&&"object"==typeof i)return K(i)?"[Array]":"[Object]";var D=function(e,i){var t;if("\t"===e.indent)t="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;t=k.call(Array(e.indent+1)," ")}return{base:t,prev:k.call(Array(i+1),t)}}(s,a);if(void 0===l)l=[];else if(H(l,i)>=0)return"[Circular]";function F(i,t,n){if(t&&(l=j.call(l)).push(t),n){var o={depth:s.depth};return _(s,"quoteStyle")&&(o.quoteStyle=s.quoteStyle),e(i,o,a+1,l)}return e(i,s,a+1,l)}if("function"==typeof i&&!V(i)){var te=function(e){if(e.name)return e.name;var i=f.call(v.call(e),/^function\s*([\w$]+)/);if(i)return i[1];return null}(i),ne=ie(i,F);return"[Function"+(te?": "+te:" (anonymous)")+"]"+(ne.length>0?" { "+k.call(ne,", ")+" }":"")}if(J(i)){var ae=S?y.call(String(i),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(i);return"object"!=typeof i||S?ae:$(ae)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(i)){for(var oe="<"+I.call(String(i.nodeName)),re=i.attributes||[],le=0;le<re.length;le++)oe+=" "+re[le].name+"="+z(L(re[le].value),"double",s);return oe+=">",i.childNodes&&i.childNodes.length&&(oe+="..."),oe+="</"+I.call(String(i.nodeName))+">"}if(K(i)){if(0===i.length)return"[]";var se=ie(i,F);return D&&!function(e){for(var i=0;i<e.length;i++)if(H(e[i],"\n")>=0)return!1;return!0}(se)?"["+ee(se,D)+"]":"[ "+k.call(se,", ")+" ]"}if(function(e){return"[object Error]"===Q(e)&&N(e)}(i)){var ue=ie(i,F);return"cause"in Error.prototype||!("cause"in i)||E.call(i,"cause")?0===ue.length?"["+String(i)+"]":"{ ["+String(i)+"] "+k.call(ue,", ")+" }":"{ ["+String(i)+"] "+k.call(b.call("[cause]: "+F(i.cause),ue),", ")+" }"}if("object"==typeof i&&m){if(x&&"function"==typeof i[x]&&R)return R(i,{depth:M-a});if("symbol"!==m&&"function"==typeof i.inspect)return i.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(i)){var pe=[];return r&&r.call(i,function(e,t){pe.push(F(t,i,!0)+" => "+F(e,i))}),X("Map",o.call(i),pe,D)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(i)){var ce=[];return p&&p.call(i,function(e){ce.push(F(e,i))}),X("Set",u.call(i),ce,D)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e,c);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(i))return Z("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{c.call(e,c)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(i))return Z("WeakSet");if(function(e){if(!g||!e||"object"!=typeof e)return!1;try{return g.call(e),!0}catch(e){}return!1}(i))return Z("WeakRef");if(function(e){return"[object Number]"===Q(e)&&N(e)}(i))return $(F(Number(i)));if(function(e){if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}(i))return $(F(O.call(i)));if(function(e){return"[object Boolean]"===Q(e)&&N(e)}(i))return $(h.call(i));if(function(e){return"[object String]"===Q(e)&&N(e)}(i))return $(F(String(i)));if("undefined"!=typeof window&&i===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&i===globalThis||void 0!==t&&i===t)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===Q(e)&&N(e)}(i)&&!V(i)){var de=ie(i,F),ge=G?G(i)===Object.prototype:i instanceof Object||i.constructor===Object,he=i instanceof Object?"":"null prototype",me=!ge&&q&&Object(i)===i&&q in i?w.call(Q(i),8,-1):he?"Object":"",ve=(ge||"function"!=typeof i.constructor?"":i.constructor.name?i.constructor.name+" ":"")+(me||he?"["+k.call(b.call([],me||[],he||[]),": ")+"] ":"");return 0===de.length?ve+"{}":D?ve+"{"+ee(de,D)+"}":ve+"{ "+k.call(de,", ")+" }"}return String(i)};var F=Object.prototype.hasOwnProperty||function(e){return e in this};function _(e,i){return F.call(e,i)}function Q(e){return m.call(e)}function H(e,i){if(e.indexOf)return e.indexOf(i);for(var t=0,n=e.length;t<n;t++)if(e[t]===i)return t;return-1}function Y(e){var i=e.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[i];return t?"\\"+t:"\\x"+(i<16?"0":"")+C.call(i.toString(16))}function $(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function X(e,i,t,n){return e+" ("+i+") {"+(n?ee(t,n):k.call(t,", "))+"}"}function ee(e,i){if(0===e.length)return"";var t="\n"+i.prev+i.base;return t+k.call(e,","+t)+"\n"+i.prev}function ie(e,i){var t=K(e),n=[];if(t){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=_(e,a)?i(e[a],e):""}var o,r="function"==typeof M?M(e):[];if(S){o={};for(var l=0;l<r.length;l++)o["$"+r[l]]=r[l]}for(var s in e)_(e,s)&&(t&&String(Number(s))===s&&s<e.length||S&&o["$"+s]instanceof Symbol||(A.call(/[^\w$]/,s)?n.push(i(s,e)+": "+i(e[s],e)):n.push(s+": "+i(e[s],e))));if("function"==typeof M)for(var u=0;u<r.length;u++)E.call(e,r[u])&&n.push("["+i(r[u])+"]: "+i(e[r[u]],e));return n}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./util.inspect":2}],41:[function(e,i,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},{}],42:[function(e,i,t){(function(e){(function(){"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,i){for(var t,n="",a=0,o=-1,r=0,l=0;l<=e.length;++l){if(l<e.length)t=e.charCodeAt(l);else{if(47===t)break;t=47}if(47===t){if(o===l-1||1===r);else if(o!==l-1&&2===r){if(n.length<2||2!==a||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var s=n.lastIndexOf("/");if(s!==n.length-1){-1===s?(n="",a=0):a=(n=n.slice(0,s)).length-1-n.lastIndexOf("/"),o=l,r=0;continue}}else if(2===n.length||1===n.length){n="",a=0,o=l,r=0;continue}i&&(n.length>0?n+="/..":n="..",a=2)}else n.length>0?n+="/"+e.slice(o+1,l):n=e.slice(o+1,l),a=l-o-1;o=l,r=0}else 46===t&&-1!==r?++r:r=-1}return n}var a={resolve:function(){for(var i,a="",o=!1,r=arguments.length-1;r>=-1&&!o;r--){var l;r>=0?l=arguments[r]:(void 0===i&&(i=e.cwd()),l=i),t(l),0!==l.length&&(a=l+"/"+a,o=47===l.charCodeAt(0))}return a=n(a,!o),o?a.length>0?"/"+a:"/":a.length>0?a:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),a=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&a&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,i=0;i<arguments.length;++i){var n=arguments[i];t(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":a.normalize(e)},relative:function(e,i){if(t(e),t(i),e===i)return"";if((e=a.resolve(e))===(i=a.resolve(i)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);+