mirror of
https://github.com/meshcore-dev/map.meshcore.dev.git
synced 2026-04-20 22:13:50 +00:00
8 lines
No EOL
51 KiB
JavaScript
8 lines
No EOL
51 KiB
JavaScript
/**
|
|
* Bundled by jsDelivr using Rollup v2.79.2 and Terser v5.39.0.
|
|
* Original file: /npm/msgpackr@1.11.8/index.js
|
|
*
|
|
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
|
*/
|
|
var t="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i=!1;function o(){i=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)e[n]=t[n],r[t.charCodeAt(n)]=n;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63}function s(t,r,n){for(var i,o,s=[],u=r;u<n;u+=3)i=(t[u]<<16)+(t[u+1]<<8)+t[u+2],s.push(e[(o=i)>>18&63]+e[o>>12&63]+e[o>>6&63]+e[63&o]);return s.join("")}function u(t){var r;i||o();for(var n=t.length,u=n%3,a="",f=[],l=16383,h=0,c=n-u;h<c;h+=l)f.push(s(t,h,h+l>c?c:h+l));return 1===u?(r=t[n-1],a+=e[r>>2],a+=e[r<<4&63],a+="=="):2===u&&(r=(t[n-2]<<8)+t[n-1],a+=e[r>>10],a+=e[r>>4&63],a+=e[r<<2&63],a+="="),f.push(a),f.join("")}function a(t,e,r,n,i){var o,s,u=8*i-n-1,a=(1<<u)-1,f=a>>1,l=-7,h=r?i-1:0,c=r?-1:1,g=t[e+h];for(h+=c,o=g&(1<<-l)-1,g>>=-l,l+=u;l>0;o=256*o+t[e+h],h+=c,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+t[e+h],h+=c,l-=8);if(0===o)o=1-f;else{if(o===a)return s?NaN:1/0*(g?-1:1);s+=Math.pow(2,n),o-=f}return(g?-1:1)*s*Math.pow(2,o-n)}function f(t,e,r,n,i,o){var s,u,a,f=8*o-i-1,l=(1<<f)-1,h=l>>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:o-1,p=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-s))<1&&(s--,a*=2),(e+=s+h>=1?c/a:c*Math.pow(2,1-h))*a>=2&&(s++,a/=2),s+h>=l?(u=0,s=l):s+h>=1?(u=(e*a-1)*Math.pow(2,i),s+=h):(u=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[r+g]=255&u,g+=p,u/=256,i-=8);for(s=s<<i|u,f+=i;f>0;t[r+g]=255&s,g+=p,s/=256,f-=8);t[r+g-p]|=128*y}var l={}.toString,h=Array.isArray||function(t){return"[object Array]"==l.call(t)};function c(){return p.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function g(t,e){if(c()<e)throw new RangeError("Invalid typed array length");return p.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=p.prototype:(null===t&&(t=new p(e)),t.length=e),t}function p(t,e,r){if(!(p.TYPED_ARRAY_SUPPORT||this instanceof p))return new p(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return w(this,t)}return y(this,t,e,r)}function y(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);p.TYPED_ARRAY_SUPPORT?(t=e).__proto__=p.prototype:t=b(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!p.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|A(e,r);t=g(t,n);var i=t.write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(v(e)){var r=0|m(e.length);return 0===(t=g(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?g(t,0):b(t,e);if("Buffer"===e.type&&h(e.data))return b(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function d(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function w(t,e){if(d(e),t=g(t,e<0?0:0|m(e)),!p.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function b(t,e){var r=e.length<0?0:0|m(e.length);t=g(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function m(t){if(t>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function v(t){return!(null==t||!t._isBuffer)}function A(t,e){if(v(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(t).length;default:if(n)return H(t).length;e=(""+e).toLowerCase(),n=!0}}function E(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return C(this,e,r);case"utf8":case"utf-8":return x(this,e,r);case"ascii":return L(this,e,r);case"latin1":case"binary":return D(this,e,r);case"base64":return k(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function S(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function U(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=p.from(e,n)),v(e))return 0===e.length?-1:_(t,e,r,n,i);if("number"==typeof e)return e&=255,p.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):_(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function _(t,e,r,n,i){var o,s=1,u=t.length,a=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;s=2,u/=2,a/=2,r/=2}function f(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var l=-1;for(o=r;o<u;o++)if(f(t,o)===f(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===a)return l*s}else-1!==l&&(o-=o-l),l=-1}else for(r+a>u&&(r=u-a),o=r;o>=0;o--){for(var h=!0,c=0;c<a;c++)if(f(t,o+c)!==f(e,c)){h=!1;break}if(h)return o}return-1}function I(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var u=parseInt(e.substr(2*s,2),16);if(isNaN(u))return s;t[r+s]=u}return s}function R(t,e,r,n){return X(H(e,t.length-r),t,r,n)}function B(t,e,r,n){return X(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function T(t,e,r,n){return B(t,e,r,n)}function P(t,e,r,n){return X(Q(e),t,r,n)}function O(t,e,r,n){return X(function(t,e){for(var r,n,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)n=(r=t.charCodeAt(s))>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function k(t,e,r){return 0===e&&r===t.length?u(t):u(t.slice(e,r))}function x(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,s,u,a,f=t[i],l=null,h=f>239?4:f>223?3:f>191?2:1;if(i+h<=r)switch(h){case 1:f<128&&(l=f);break;case 2:128==(192&(o=t[i+1]))&&(a=(31&f)<<6|63&o)>127&&(l=a);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(a=(15&f)<<12|(63&o)<<6|63&s)>2047&&(a<55296||a>57343)&&(l=a);break;case 4:o=t[i+1],s=t[i+2],u=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&u)&&(a=(15&f)<<18|(63&o)<<12|(63&s)<<6|63&u)>65535&&a<1114112&&(l=a)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}return function(t){var e=t.length;if(e<=M)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=M));return r}(n)}p.TYPED_ARRAY_SUPPORT=void 0===t.TYPED_ARRAY_SUPPORT||t.TYPED_ARRAY_SUPPORT,c(),p.poolSize=8192,p._augment=function(t){return t.__proto__=p.prototype,t},p.from=function(t,e,r){return y(null,t,e,r)},p.TYPED_ARRAY_SUPPORT&&(p.prototype.__proto__=Uint8Array.prototype,p.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&p[Symbol.species]),p.alloc=function(t,e,r){return function(t,e,r,n){return d(e),e<=0?g(t,e):void 0!==r?"string"==typeof n?g(t,e).fill(r,n):g(t,e).fill(r):g(t,e)}(null,t,e,r)},p.allocUnsafe=function(t){return w(null,t)},p.allocUnsafeSlow=function(t){return w(null,t)},p.isBuffer=function(t){return null!=t&&(!!t._isBuffer||tt(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&tt(t.slice(0,0))}(t))},p.compare=function(t,e){if(!v(t)||!v(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},p.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}},p.concat=function(t,e){if(!h(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return p.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=p.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(!v(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},p.byteLength=A,p.prototype._isBuffer=!0,p.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)S(this,e,e+1);return this},p.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)S(this,e,e+3),S(this,e+1,e+2);return this},p.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)S(this,e,e+7),S(this,e+1,e+6),S(this,e+2,e+5),S(this,e+3,e+4);return this},p.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?x(this,0,t):E.apply(this,arguments)},p.prototype.equals=function(t){if(!v(t))throw new TypeError("Argument must be a Buffer");return this===t||0===p.compare(this,t)},p.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},p.prototype.compare=function(t,e,r,n,i){if(!v(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),u=Math.min(o,s),a=this.slice(n,i),f=t.slice(e,r),l=0;l<u;++l)if(a[l]!==f[l]){o=a[l],s=f[l];break}return o<s?-1:s<o?1:0},p.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},p.prototype.indexOf=function(t,e,r){return U(this,t,e,r,!0)},p.prototype.lastIndexOf=function(t,e,r){return U(this,t,e,r,!1)},p.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 i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return I(this,t,e,r);case"utf8":case"utf-8":return R(this,t,e,r);case"ascii":return B(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return P(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function L(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function D(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function C(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=G(t[o]);return i}function Y(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function j(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,r,n,i,o){if(!v(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function V(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function z(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function F(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function W(t,e,r,n,i){return i||F(t,0,r,4),f(t,e,r,n,23,4),r+4}function J(t,e,r,n,i){return i||F(t,0,r,8),f(t,e,r,n,52,8),r+8}p.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),p.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=p.prototype;else{var i=e-t;r=new p(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},p.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},p.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},p.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},p.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},p.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},p.prototype.readUInt32LE=function(t,e){return e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},p.prototype.readUInt32BE=function(t,e){return e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},p.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},p.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},p.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},p.prototype.readInt16LE=function(t,e){e||j(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},p.prototype.readInt16BE=function(t,e){e||j(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},p.prototype.readInt32LE=function(t,e){return e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},p.prototype.readInt32BE=function(t,e){return e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},p.prototype.readFloatLE=function(t,e){return e||j(t,4,this.length),a(this,t,!0,23,4)},p.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),a(this,t,!1,23,4)},p.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),a(this,t,!0,52,8)},p.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),a(this,t,!1,52,8)},p.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||N(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},p.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||N(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},p.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,1,255,0),p.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},p.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},p.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},p.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},p.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},p.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);N(this,t,e,r,i-1,-i)}var o=0,s=1,u=0;for(this[e]=255&t;++o<r&&(s*=256);)t<0&&0===u&&0!==this[e+o-1]&&(u=1),this[e+o]=(t/s|0)-u&255;return e+r},p.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);N(this,t,e,r,i-1,-i)}var o=r-1,s=1,u=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===u&&0!==this[e+o+1]&&(u=1),this[e+o]=(t/s|0)-u&255;return e+r},p.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,1,127,-128),p.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},p.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):V(this,t,e,!0),e+2},p.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):V(this,t,e,!1),e+2},p.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,2147483647,-2147483648),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},p.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},p.prototype.writeFloatLE=function(t,e,r){return W(this,t,e,!0,r)},p.prototype.writeFloatBE=function(t,e,r){return W(this,t,e,!1,r)},p.prototype.writeDoubleLE=function(t,e,r){return J(this,t,e,!0,r)},p.prototype.writeDoubleBE=function(t,e,r){return J(this,t,e,!1,r)},p.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!p.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},p.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),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!p.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=v(t)?t:H(new p(t,n).toString()),u=s.length;for(o=0;o<r-e;++o)this[o+e]=s[o%u]}return this};var $,q,K,Z=/[^+\/0-9A-Za-z-_]/g;function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.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;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Q(t){return function(t){var e,s,u,a,f,l;i||o();var h=t.length;if(h%4>0)throw new Error("Invalid string. Length must be a multiple of 4");f="="===t[h-2]?2:"="===t[h-1]?1:0,l=new n(3*h/4-f),u=f>0?h-4:h;var c=0;for(e=0,s=0;e<u;e+=4,s+=3)a=r[t.charCodeAt(e)]<<18|r[t.charCodeAt(e+1)]<<12|r[t.charCodeAt(e+2)]<<6|r[t.charCodeAt(e+3)],l[c++]=a>>16&255,l[c++]=a>>8&255,l[c++]=255&a;return 2===f?(a=r[t.charCodeAt(e)]<<2|r[t.charCodeAt(e+1)]>>4,l[c++]=255&a):1===f&&(a=r[t.charCodeAt(e)]<<10|r[t.charCodeAt(e+1)]<<4|r[t.charCodeAt(e+2)]>>2,l[c++]=a>>8&255,l[c++]=255&a),l}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Z,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function tt(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}try{$=new TextDecoder}catch(t){}var et,rt,nt,it,ot,st=0,ut={},at=0,ft=0,lt=[],ht={useRecords:!1,mapsAsObjects:!0};class ct{}const gt=new ct;gt.name="MessagePack 0xC1";var pt=!1,yt=2;try{new Function("")}catch(t){yt=1/0}class dt{constructor(t){t&&(!1===t.useRecords&&void 0===t.mapsAsObjects&&(t.mapsAsObjects=!0),t.sequential&&!1!==t.trusted&&(t.trusted=!0,t.structures||0==t.useRecords||(t.structures=[],t.maxSharedStructures||(t.maxSharedStructures=0))),t.structures?t.structures.sharedLength=t.structures.length:t.getStructures&&((t.structures=[]).uninitialized=!0,t.structures.sharedLength=0),t.int64AsNumber&&(t.int64AsType="number")),Object.assign(this,t)}unpack(t,e){if(q)return $t((()=>(qt(),this?this.unpack(t,e):dt.prototype.unpack.call(ht,t,e))));t.buffer||t.constructor!==ArrayBuffer||(t=void 0!==p?p.from(t):new Uint8Array(t)),"object"==typeof e?(K=e.end||t.length,st=e.start||0):(st=0,K=e>-1?e:t.length),ft=0,rt=null,nt=null,q=t;try{ot=t.dataView||(t.dataView=new DataView(t.buffer,t.byteOffset,t.byteLength))}catch(e){if(q=null,t instanceof Uint8Array)throw e;throw new Error("Source must be a Uint8Array or Buffer but was a "+(t&&"object"==typeof t?t.constructor.name:typeof t))}if(this instanceof dt){if(ut=this,this.structures)return et=this.structures,wt(e);(!et||et.length>0)&&(et=[])}else ut=ht,(!et||et.length>0)&&(et=[]);return wt(e)}unpackMultiple(t,e){let r,n=0;try{pt=!0;let i=t.length,o=this?this.unpack(t,i):Gt.unpack(t,i);if(!e){for(r=[o];st<i;)n=st,r.push(wt());return r}if(!1===e(o,n,st))return;for(;st<i;)if(n=st,!1===e(wt(),n,st))return}catch(t){throw t.lastPosition=n,t.values=r,t}finally{pt=!1,qt()}}_mergeStructures(t,e){t=t||[],Object.isFrozen(t)&&(t=t.map((t=>t.slice(0))));for(let e=0,r=t.length;e<r;e++){let r=t[e];r&&(r.isShared=!0,e>=32&&(r.highByte=e-32>>5))}t.sharedLength=t.length;for(let r in e||[])if(r>=0){let n=t[r],i=e[r];i&&(n&&((t.restoreStructures||(t.restoreStructures=[]))[r]=n),t[r]=i)}return this.structures=t}decode(t,e){return this.unpack(t,e)}}function wt(t){try{if(!ut.trusted&&!pt){let t=et.sharedLength||0;t<et.length&&(et.length=t)}let t;if(ut.randomAccessStructure&&q[st]<64&&q[st],t=mt(),nt&&(st=nt.postBundlePosition,nt=null),pt&&(et.restoreStructures=null),st==K)et&&et.restoreStructures&&bt(),et=null,q=null,it&&(it=null);else{if(st>K)throw new Error("Unexpected end of MessagePack data");if(!pt){let e;try{e=JSON.stringify(t,((t,e)=>"bigint"==typeof e?`${e}n`:e)).slice(0,100)}catch(t){e="(JSON view not available "+t+")"}throw new Error("Data read, but end of buffer not reached "+e)}}return t}catch(t){throw et&&et.restoreStructures&&bt(),qt(),(t instanceof RangeError||t.message.startsWith("Unexpected end of buffer")||st>K)&&(t.incomplete=!0),t}}function bt(){for(let t in et.restoreStructures)et[t]=et.restoreStructures[t];et.restoreStructures=null}function mt(){let t=q[st++];if(t<160){if(t<128){if(t<64)return t;{let e=et[63&t]||ut.getStructures&&St()[63&t];return e?(e.read||(e.read=At(e,63&t)),e.read()):t}}if(t<144){if(t-=128,ut.mapsAsObjects){let e={};for(let r=0;r<t;r++){let t=jt();"__proto__"===t&&(t="__proto_"),e[t]=mt()}return e}{let e=new Map;for(let r=0;r<t;r++)e.set(mt(),mt());return e}}{t-=144;let e=new Array(t);for(let r=0;r<t;r++)e[r]=mt();return ut.freezeData?Object.freeze(e):e}}if(t<192){let e=t-160;if(ft>=st)return rt.slice(st-at,(st+=e)-at);if(0==ft&&K<140){let t=e<16?Mt(e):xt(e);if(null!=t)return t}return Ut(e)}{let e;switch(t){case 192:return null;case 193:return nt?(e=mt(),e>0?nt[1].slice(nt.position1,nt.position1+=e):nt[0].slice(nt.position0,nt.position0-=e)):gt;case 194:return!1;case 195:return!0;case 196:if(e=q[st++],void 0===e)throw new Error("Unexpected end of buffer");return Dt(e);case 197:return e=ot.getUint16(st),st+=2,Dt(e);case 198:return e=ot.getUint32(st),st+=4,Dt(e);case 199:return Ct(q[st++]);case 200:return e=ot.getUint16(st),st+=2,Ct(e);case 201:return e=ot.getUint32(st),st+=4,Ct(e);case 202:if(e=ot.getFloat32(st),ut.useFloat32>2){let t=Kt[(127&q[st])<<1|q[st+1]>>7];return st+=4,(t*e+(e>0?.5:-.5)|0)/t}return st+=4,e;case 203:return e=ot.getFloat64(st),st+=8,e;case 204:return q[st++];case 205:return e=ot.getUint16(st),st+=2,e;case 206:return e=ot.getUint32(st),st+=4,e;case 207:return"number"===ut.int64AsType?(e=4294967296*ot.getUint32(st),e+=ot.getUint32(st+4)):"string"===ut.int64AsType?e=ot.getBigUint64(st).toString():"auto"===ut.int64AsType?(e=ot.getBigUint64(st),e<=BigInt(2)<<BigInt(52)&&(e=Number(e))):e=ot.getBigUint64(st),st+=8,e;case 208:return ot.getInt8(st++);case 209:return e=ot.getInt16(st),st+=2,e;case 210:return e=ot.getInt32(st),st+=4,e;case 211:return"number"===ut.int64AsType?(e=4294967296*ot.getInt32(st),e+=ot.getUint32(st+4)):"string"===ut.int64AsType?e=ot.getBigInt64(st).toString():"auto"===ut.int64AsType?(e=ot.getBigInt64(st),e>=BigInt(-2)<<BigInt(52)&&e<=BigInt(2)<<BigInt(52)&&(e=Number(e))):e=ot.getBigInt64(st),st+=8,e;case 212:if(e=q[st++],114==e)return Vt(63&q[st++]);{let t=lt[e];if(t)return t.read?(st++,t.read(mt())):t.noBuffer?(st++,t()):t(q.subarray(st,++st));throw new Error("Unknown extension "+e)}case 213:return e=q[st],114==e?(st++,Vt(63&q[st++],q[st++])):Ct(2);case 214:return Ct(4);case 215:return Ct(8);case 216:return Ct(16);case 217:return e=q[st++],ft>=st?rt.slice(st-at,(st+=e)-at):_t(e);case 218:return e=ot.getUint16(st),ft>=(st+=2)?rt.slice(st-at,(st+=e)-at):It(e);case 219:return e=ot.getUint32(st),ft>=(st+=4)?rt.slice(st-at,(st+=e)-at):Rt(e);case 220:return e=ot.getUint16(st),st+=2,Pt(e);case 221:return e=ot.getUint32(st),st+=4,Pt(e);case 222:return e=ot.getUint16(st),st+=2,Ot(e);case 223:return e=ot.getUint32(st),st+=4,Ot(e);default:if(t>=224)return t-256;if(void 0===t){let t=new Error("Unexpected end of MessagePack data");throw t.incomplete=!0,t}throw new Error("Unknown MessagePack token "+t)}}}const vt=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;function At(t,e){function r(){if(r.count++>yt){let r=t.read=new Function("r","return function(){return "+(ut.freezeData?"Object.freeze":"")+"({"+t.map((t=>"__proto__"===t?"__proto_:r()":vt.test(t)?t+":r()":"["+JSON.stringify(t)+"]:r()")).join(",")+"})}")(mt);return 0===t.highByte&&(t.read=Et(e,t.read)),r()}let n={};for(let e=0,r=t.length;e<r;e++){let r=t[e];"__proto__"===r&&(r="__proto_"),n[r]=mt()}return ut.freezeData?Object.freeze(n):n}return r.count=0,0===t.highByte?Et(e,r):r}const Et=(t,e)=>function(){let r=q[st++];if(0===r)return e();let n=t<32?-(t+(r<<5)):t+(r<<5),i=et[n]||St()[n];if(!i)throw new Error("Record id is not defined for "+n);return i.read||(i.read=At(i,t)),i.read()};function St(){let t=$t((()=>(q=null,ut.getStructures())));return et=ut._mergeStructures(t,et)}var Ut=Tt,_t=Tt,It=Tt,Rt=Tt;let Bt=!1;function Tt(t){let e;if(t<16&&(e=Mt(t)))return e;if(t>64&&$)return $.decode(q.subarray(st,st+=t));const r=st+t,n=[];for(e="";st<r;){const t=q[st++];if(128&t)if(192==(224&t)){const e=63&q[st++];n.push((31&t)<<6|e)}else if(224==(240&t)){const e=63&q[st++],r=63&q[st++];n.push((31&t)<<12|e<<6|r)}else if(240==(248&t)){let e=(7&t)<<18|(63&q[st++])<<12|(63&q[st++])<<6|63&q[st++];e>65535&&(e-=65536,n.push(e>>>10&1023|55296),e=56320|1023&e),n.push(e)}else n.push(t);else n.push(t);n.length>=4096&&(e+=kt.apply(String,n),n.length=0)}return n.length>0&&(e+=kt.apply(String,n)),e}function Pt(t){let e=new Array(t);for(let r=0;r<t;r++)e[r]=mt();return ut.freezeData?Object.freeze(e):e}function Ot(t){if(ut.mapsAsObjects){let e={};for(let r=0;r<t;r++){let t=jt();"__proto__"===t&&(t="__proto_"),e[t]=mt()}return e}{let e=new Map;for(let r=0;r<t;r++)e.set(mt(),mt());return e}}var kt=String.fromCharCode;function xt(t){let e=st,r=new Array(t);for(let n=0;n<t;n++){const t=q[st++];if((128&t)>0)return void(st=e);r[n]=t}return kt.apply(String,r)}function Mt(t){if(t<4){if(t<2){if(0===t)return"";{let t=q[st++];return(128&t)>1?void(st-=1):kt(t)}}{let e=q[st++],r=q[st++];if((128&e)>0||(128&r)>0)return void(st-=2);if(t<3)return kt(e,r);let n=q[st++];return(128&n)>0?void(st-=3):kt(e,r,n)}}{let e=q[st++],r=q[st++],n=q[st++],i=q[st++];if((128&e)>0||(128&r)>0||(128&n)>0||(128&i)>0)return void(st-=4);if(t<6){if(4===t)return kt(e,r,n,i);{let t=q[st++];return(128&t)>0?void(st-=5):kt(e,r,n,i,t)}}if(t<8){let o=q[st++],s=q[st++];if((128&o)>0||(128&s)>0)return void(st-=6);if(t<7)return kt(e,r,n,i,o,s);let u=q[st++];return(128&u)>0?void(st-=7):kt(e,r,n,i,o,s,u)}{let o=q[st++],s=q[st++],u=q[st++],a=q[st++];if((128&o)>0||(128&s)>0||(128&u)>0||(128&a)>0)return void(st-=8);if(t<10){if(8===t)return kt(e,r,n,i,o,s,u,a);{let t=q[st++];return(128&t)>0?void(st-=9):kt(e,r,n,i,o,s,u,a,t)}}if(t<12){let f=q[st++],l=q[st++];if((128&f)>0||(128&l)>0)return void(st-=10);if(t<11)return kt(e,r,n,i,o,s,u,a,f,l);let h=q[st++];return(128&h)>0?void(st-=11):kt(e,r,n,i,o,s,u,a,f,l,h)}{let f=q[st++],l=q[st++],h=q[st++],c=q[st++];if((128&f)>0||(128&l)>0||(128&h)>0||(128&c)>0)return void(st-=12);if(t<14){if(12===t)return kt(e,r,n,i,o,s,u,a,f,l,h,c);{let t=q[st++];return(128&t)>0?void(st-=13):kt(e,r,n,i,o,s,u,a,f,l,h,c,t)}}{let g=q[st++],p=q[st++];if((128&g)>0||(128&p)>0)return void(st-=14);if(t<15)return kt(e,r,n,i,o,s,u,a,f,l,h,c,g,p);let y=q[st++];return(128&y)>0?void(st-=15):kt(e,r,n,i,o,s,u,a,f,l,h,c,g,p,y)}}}}}function Lt(){let t,e=q[st++];if(e<192)t=e-160;else switch(e){case 217:t=q[st++];break;case 218:t=ot.getUint16(st),st+=2;break;case 219:t=ot.getUint32(st),st+=4;break;default:throw new Error("Expected string")}return Tt(t)}function Dt(t){return ut.copyBuffers?Uint8Array.prototype.slice.call(q,st,st+=t):q.subarray(st,st+=t)}function Ct(t){let e=q[st++];if(lt[e]){let r;return lt[e](q.subarray(st,r=st+=t),(t=>{st=t;try{return mt()}finally{st=r}}))}throw new Error("Unknown extension type "+e)}var Yt=new Array(4096);function jt(){let t=q[st++];if(!(t>=160&&t<192))return st--,Nt(mt());if(t-=160,ft>=st)return rt.slice(st-at,(st+=t)-at);if(!(0==ft&&K<180))return Ut(t);let e,r=4095&(t<<5^(t>1?ot.getUint16(st):t>0?q[st]:0)),n=Yt[r],i=st,o=st+t-3,s=0;if(n&&n.bytes==t){for(;i<o;){if(e=ot.getUint32(i),e!=n[s++]){i=1879048192;break}i+=4}for(o+=3;i<o;)if(e=q[i++],e!=n[s++]){i=1879048192;break}if(i===o)return st=i,n.string;o-=3,i=st}for(n=[],Yt[r]=n,n.bytes=t;i<o;)e=ot.getUint32(i),n.push(e),i+=4;for(o+=3;i<o;)e=q[i++],n.push(e);let u=t<16?Mt(t):xt(t);return n.string=null!=u?u:Ut(t)}function Nt(t){if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return t.toString();if(null==t)return t+"";if(ut.allowArraysInMapKeys&&Array.isArray(t)&&t.flat().every((t=>["string","number","boolean","bigint"].includes(typeof t))))return t.flat().toString();throw new Error("Invalid property type for record: "+typeof t)}const Vt=(t,e)=>{let r=mt().map(Nt),n=t;void 0!==e&&(t=t<32?-((e<<5)+t):(e<<5)+t,r.highByte=e);let i=et[t];return i&&(i.isShared||pt)&&((et.restoreStructures||(et.restoreStructures=[]))[t]=i),et[t]=r,r.read=At(r,n),r.read()};lt[0]=()=>{},lt[0].noBuffer=!0,lt[66]=t=>{let e=t.byteLength%8||8,r=BigInt(128&t[0]?t[0]-256:t[0]);for(let n=1;n<e;n++)r<<=BigInt(8),r+=BigInt(t[n]);if(t.byteLength!==e){let n=new DataView(t.buffer,t.byteOffset,t.byteLength),i=(t,e)=>{let r=e-t;if(r<=40){let r=n.getBigUint64(t);for(let i=t+8;i<e;i+=8)r<<=BigInt(64n),r|=n.getBigUint64(i);return r}let o=t+(r>>4<<3),s=i(t,o),u=i(o,e);return s<<BigInt(8*(e-o))|u};r=r<<BigInt(8*(n.byteLength-e))|i(e,n.byteLength)}return r};let zt={Error:Error,EvalError:EvalError,RangeError:RangeError,ReferenceError:ReferenceError,SyntaxError:SyntaxError,TypeError:TypeError,URIError:URIError,AggregateError:"function"==typeof AggregateError?AggregateError:null};lt[101]=()=>{let t=mt();if(!zt[t[0]]){let e=Error(t[1],{cause:t[2]});return e.name=t[0],e}return zt[t[0]](t[1],{cause:t[2]})},lt[105]=t=>{if(!1===ut.structuredClone)throw new Error("Structured clone extension is disabled");let e=ot.getUint32(st-4);it||(it=new Map);let r,n=q[st];r=n>=144&&n<160||220==n||221==n?[]:n>=128&&n<144||222==n||223==n?new Map:(n>=199&&n<=201||n>=212&&n<=216)&&115===q[st+1]?new Set:{};let i={target:r};it.set(e,i);let o=mt();if(!i.used)return i.target=o;if(Object.assign(r,o),r instanceof Map)for(let[t,e]of o.entries())r.set(t,e);if(r instanceof Set)for(let t of Array.from(o))r.add(t);return r},lt[112]=t=>{if(!1===ut.structuredClone)throw new Error("Structured clone extension is disabled");let e=ot.getUint32(st-4),r=it.get(e);return r.used=!0,r.target},lt[115]=()=>new Set(mt());const Ft=["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64","BigInt64","BigUint64"].map((t=>t+"Array"));let Wt="object"==typeof globalThis?globalThis:window;lt[116]=t=>{let e=t[0],r=Uint8Array.prototype.slice.call(t,1).buffer,n=Ft[e];if(!n){if(16===e)return r;if(17===e)return new DataView(r);throw new Error("Could not find typed array for code "+e)}return new Wt[n](r)},lt[120]=()=>{let t=mt();return new RegExp(t[0],t[1])};const Jt=[];function $t(t){let e=K,r=st,n=at,i=ft,o=rt,s=it,u=nt,a=new Uint8Array(q.slice(0,K)),f=et,l=et.slice(0,et.length),h=ut,c=pt,g=t();return K=e,st=r,at=n,ft=i,rt=o,it=s,nt=u,q=a,pt=c,(et=f).splice(0,et.length,...l),ut=h,ot=new DataView(q.buffer,q.byteOffset,q.byteLength),g}function qt(){q=null,it=null,et=null}lt[98]=t=>{let e=(t[0]<<24)+(t[1]<<16)+(t[2]<<8)+t[3],r=st;return st+=e-t.length,nt=Jt,(nt=[Lt(),Lt()]).position0=0,nt.position1=0,nt.postBundlePosition=st,st=r,mt()},lt[255]=t=>4==t.length?new Date(1e3*(16777216*t[0]+(t[1]<<16)+(t[2]<<8)+t[3])):8==t.length?new Date(((t[0]<<22)+(t[1]<<14)+(t[2]<<6)+(t[3]>>2))/1e6+1e3*(4294967296*(3&t[3])+16777216*t[4]+(t[5]<<16)+(t[6]<<8)+t[7])):12==t.length?new Date(((t[0]<<24)+(t[1]<<16)+(t[2]<<8)+t[3])/1e6+1e3*((128&t[4]?-281474976710656:0)+1099511627776*t[6]+4294967296*t[7]+16777216*t[8]+(t[9]<<16)+(t[10]<<8)+t[11])):new Date("invalid");const Kt=new Array(147);for(let t=0;t<256;t++)Kt[t]=+("1e"+Math.floor(45.15-.30103*t));const Zt=dt;var Gt=new dt({useRecords:!1});const Ht=Gt.unpack,Qt=Gt.unpackMultiple,Xt=Gt.unpack,te={NEVER:0,ALWAYS:1,DECIMAL_ROUND:3,DECIMAL_FIT:4};let ee,re,ne,ie=new Float32Array(1),oe=new Uint8Array(ie.buffer,0,4);function se(t){ie[0]=t;let e=Kt[(127&oe[3])<<1|oe[2]>>7];return(e*t+(t>0?.5:-.5)|0)/e}try{ee=new TextEncoder}catch(t){}const ue=void 0!==p,ae=ue?function(t){return p.allocUnsafeSlow(t)}:Uint8Array,fe=ue?p:Uint8Array,le=ue?4294967296:2144337920;let he,ce,ge,pe,ye=0,de=null;const we=/[\u0080-\uFFFF]/,be=Symbol("record-id");class me extends dt{constructor(t){let e,r,n,i;super(t),this.offset=0;let o=fe.prototype.utf8Write?function(t,e){return he.utf8Write(t,e,he.byteLength-e)}:!(!ee||!ee.encodeInto)&&function(t,e){return ee.encodeInto(t,he.subarray(e)).written},s=this;t||(t={});let u=t&&t.sequential,a=t.structures||t.saveStructures,f=t.maxSharedStructures;if(null==f&&(f=a?32:0),f>8160)throw new Error("Maximum maxSharedStructure is 8160");t.structuredClone&&null==t.moreTypes&&(this.moreTypes=!0);let l=t.maxOwnStructures;null==l&&(l=a?32:64),this.structures||0==t.useRecords||(this.structures=[]);let h=f>32||l+f>64,c=f+64,g=f+l+64;if(g>8256)throw new Error("Maximum maxSharedStructure + maxOwnStructure is 8192");let y=[],d=0,w=0;this.pack=this.encode=function(t,o){if(he||(he=new ae(8192),ge=he.dataView||(he.dataView=new DataView(he.buffer,0,8192)),ye=0),pe=he.length-10,pe-ye<2048?(he=new ae(he.length),ge=he.dataView||(he.dataView=new DataView(he.buffer,0,he.length)),pe=he.length-10,ye=0):ye=ye+7&2147483640,e=ye,o&Le&&(ye+=255&o),i=s.structuredClone?new Map:null,s.bundleStrings&&"string"!=typeof t?(de=[],de.size=1/0):de=null,n=s.structures,n){n.uninitialized&&(n=s._mergeStructures(s.getStructures()));let t=n.sharedLength||0;if(t>f)throw new Error("Shared structures is larger than maximum shared structures, try increasing maxSharedStructures to "+n.sharedLength);if(!n.transitions){n.transitions=Object.create(null);for(let e=0;e<t;e++){let t=n[e];if(!t)continue;let r,i=n.transitions;for(let e=0,n=t.length;e<n;e++){let n=t[e];r=i[n],r||(r=i[n]=Object.create(null)),i=r}i[be]=e+64}this.lastNamedStructuresLength=t}u||(n.nextId=t+64)}let a;r&&(r=!1);try{s.randomAccessStructure&&t&&"object"==typeof t?t.constructor===Object?B(t):t.constructor===Map||Array.isArray(t)||ne.some((e=>t instanceof e))?v(t):B(t.toJSON?t.toJSON():t):v(t);let r=de;if(de&&Se(e,v,0),i&&i.idsToInsert){let t=i.idsToInsert.sort(((t,e)=>t.offset>e.offset?1:-1)),n=t.length,o=-1;for(;r&&n>0;){let i=t[--n].offset+e;i<r.stringsPosition+e&&-1===o&&(o=0),i>r.position+e?o>=0&&(o+=6):(o>=0&&(ge.setUint32(r.position+e,ge.getUint32(r.position+e)+o),o=-1),r=r.previous,n++)}o>=0&&r&&ge.setUint32(r.position+e,ge.getUint32(r.position+e)+o),ye+=6*t.length,ye>pe&&_(ye),s.offset=ye;let u=function(t,e){let r,n=6*e.length,i=t.length-n;for(;r=e.pop();){let e=r.offset,o=r.id;t.copyWithin(e+n,e,i),n-=6;let s=e+n;t[s++]=214,t[s++]=105,t[s++]=o>>24,t[s++]=o>>16&255,t[s++]=o>>8&255,t[s++]=255&o,i=e}return t}(he.subarray(e,ye),t);return i=null,u}return s.offset=ye,o&xe?(he.start=e,he.end=ye,he):he.subarray(e,ye)}catch(t){throw a=t,t}finally{if(n&&(b(),r&&s.saveStructures)){let r=n.sharedLength||0,i=he.subarray(e,ye),u=function(t,e){return t.isCompatible=t=>{let r=!t||(e.lastNamedStructuresLength||0)===t.length;return r||e._mergeStructures(t),r},t}(n,s);if(!a)return!1===s.saveStructures(u,u.isCompatible)?s.pack(t,o):(s.lastNamedStructuresLength=r,he.length>1073741824&&(he=null),i)}he.length>1073741824&&(he=null),o&Me&&(ye=e)}};const b=()=>{w<10&&w++;let t=n.sharedLength||0;if(n.length>t&&!u&&(n.length=t),d>1e4)n.transitions=null,w=0,d=0,y.length>0&&(y=[]);else if(y.length>0&&!u){for(let t=0,e=y.length;t<e;t++)y[t][be]=0;y=[]}},m=t=>{var e=t.length;e<16?he[ye++]=144|e:e<65536?(he[ye++]=220,he[ye++]=e>>8,he[ye++]=255&e):(he[ye++]=221,ge.setUint32(ye,e),ye+=4);for(let r=0;r<e;r++)v(t[r])},v=t=>{ye>pe&&(he=_(ye));var r,n=typeof t;if("string"===n){let n,i=t.length;if(de&&i>=4&&i<4096){if((de.size+=i)>21760){let t,r,n=(de[0]?3*de[0].length+de[1].length:0)+10;ye+n>pe&&(he=_(ye+n)),de.position?(r=de,he[ye]=200,ye+=3,he[ye++]=98,t=ye-e,ye+=4,Se(e,v,0),ge.setUint16(t+e-3,ye-e-t)):(he[ye++]=214,he[ye++]=98,t=ye-e,ye+=4),de=["",""],de.previous=r,de.size=0,de.position=t}let r=we.test(t);return de[r?0:1]+=t,he[ye++]=193,void v(r?-i:i)}n=i<32?1:i<256?2:i<65536?3:5;let s=3*i;if(ye+s>pe&&(he=_(ye+s)),i<64||!o){let e,o,s,u=ye+n;for(e=0;e<i;e++)o=t.charCodeAt(e),o<128?he[u++]=o:o<2048?(he[u++]=o>>6|192,he[u++]=63&o|128):55296==(64512&o)&&56320==(64512&(s=t.charCodeAt(e+1)))?(o=65536+((1023&o)<<10)+(1023&s),e++,he[u++]=o>>18|240,he[u++]=o>>12&63|128,he[u++]=o>>6&63|128,he[u++]=63&o|128):(he[u++]=o>>12|224,he[u++]=o>>6&63|128,he[u++]=63&o|128);r=u-ye-n}else r=o(t,ye+n);r<32?he[ye++]=160|r:r<256?(n<2&&he.copyWithin(ye+2,ye+1,ye+1+r),he[ye++]=217,he[ye++]=r):r<65536?(n<3&&he.copyWithin(ye+3,ye+2,ye+2+r),he[ye++]=218,he[ye++]=r>>8,he[ye++]=255&r):(n<5&&he.copyWithin(ye+5,ye+3,ye+3+r),he[ye++]=219,ge.setUint32(ye,r),ye+=4),ye+=r}else if("number"===n)if(t>>>0===t)t<32||t<128&&!1===this.useRecords||t<64&&!this.randomAccessStructure?he[ye++]=t:t<256?(he[ye++]=204,he[ye++]=t):t<65536?(he[ye++]=205,he[ye++]=t>>8,he[ye++]=255&t):(he[ye++]=206,ge.setUint32(ye,t),ye+=4);else if((t|0)===t)t>=-32?he[ye++]=256+t:t>=-128?(he[ye++]=208,he[ye++]=t+256):t>=-32768?(he[ye++]=209,ge.setInt16(ye,t),ye+=2):(he[ye++]=210,ge.setInt32(ye,t),ye+=4);else{let e;if((e=this.useFloat32)>0&&t<4294967296&&t>=-2147483648){let r;if(he[ye++]=202,ge.setFloat32(ye,t),e<4||((r=t*Kt[(127&he[ye])<<1|he[ye+1]>>7])|0)===r)return void(ye+=4);ye--}he[ye++]=203,ge.setFloat64(ye,t),ye+=8}else if("object"===n||"function"===n)if(t){if(i){let r=i.get(t);if(r){if(!r.id){let t=i.idsToInsert||(i.idsToInsert=[]);r.id=t.push(r)}return he[ye++]=214,he[ye++]=112,ge.setUint32(ye,r.id),void(ye+=4)}i.set(t,{offset:ye-e})}let o=t.constructor;if(o===Object)U(t);else if(o===Array)m(t);else if(o===Map)if(this.mapAsEmptyObject)he[ye++]=128;else{(r=t.size)<16?he[ye++]=128|r:r<65536?(he[ye++]=222,he[ye++]=r>>8,he[ye++]=255&r):(he[ye++]=223,ge.setUint32(ye,r),ye+=4);for(let[e,r]of t)v(e),v(r)}else{for(let e=0,r=re.length;e<r;e++){if(t instanceof ne[e]){let r=re[e];if(r.write){r.type&&(he[ye++]=212,he[ye++]=r.type,he[ye++]=0);let e=r.write.call(this,t);return void(e===t?Array.isArray(t)?m(t):U(t):v(e))}let n,i=he,o=ge,s=ye;he=null;try{n=r.pack.call(this,t,(t=>(he=i,i=null,ye+=t,ye>pe&&_(ye),{target:he,targetView:ge,position:ye-t})),v)}finally{i&&(he=i,ge=o,ye=s,pe=he.length-10)}return void(n&&(n.length+ye>pe&&_(n.length+ye),ye=Ee(n,he,ye,r.type)))}}if(Array.isArray(t))m(t);else{if(t.toJSON){const e=t.toJSON();if(e!==t)return v(e)}if("function"===n)return v(this.writeFunction&&this.writeFunction(t));U(t)}}}else he[ye++]=192;else if("boolean"===n)he[ye++]=t?195:194;else if("bigint"===n){if(t<0x8000000000000000&&t>=-0x8000000000000000)he[ye++]=211,ge.setBigInt64(ye,t);else if(t<0x10000000000000000&&t>0)he[ye++]=207,ge.setBigUint64(ye,t);else{if(!this.largeBigIntToFloat){if(this.largeBigIntToString)return v(t.toString());if(this.useBigIntExtension||this.moreTypes){let e,r=t<0?BigInt(-1):BigInt(0);if(t>>BigInt(65536)===r){let n=BigInt(0x10000000000000000)-BigInt(1),i=[];for(;i.push(t&n),t>>BigInt(63)!==r;)t>>=BigInt(64);e=new Uint8Array(new BigUint64Array(i).buffer),e.reverse()}else{let r=t<0,n=(r?~t:t).toString(16);if(n.length%2?n="0"+n:parseInt(n.charAt(0),16)>=8&&(n="00"+n),ue)e=p.from(n,"hex");else{e=new Uint8Array(n.length/2);for(let t=0;t<e.length;t++)e[t]=parseInt(n.slice(2*t,2*t+2),16)}if(r)for(let t=0;t<e.length;t++)e[t]=~e[t]}return e.length+ye>pe&&_(e.length+ye),void(ye=Ee(e,he,ye,66))}throw new RangeError(t+" was too large to fit in MessagePack 64-bit integer format, use useBigIntExtension, or set largeBigIntToFloat to convert to float-64, or set largeBigIntToString to convert to string")}he[ye++]=203,ge.setFloat64(ye,Number(t))}ye+=8}else{if("undefined"!==n)throw new Error("Unknown type: "+n);this.encodeUndefinedAsNil?he[ye++]=192:(he[ye++]=212,he[ye++]=0,he[ye++]=0)}},A=this.variableMapSize||this.coercibleKeyAsNumber||this.skipValues?t=>{let e;if(this.skipValues){e=[];for(let r in t)"function"==typeof t.hasOwnProperty&&!t.hasOwnProperty(r)||this.skipValues.includes(t[r])||e.push(r)}else e=Object.keys(t);let r,n=e.length;if(n<16?he[ye++]=128|n:n<65536?(he[ye++]=222,he[ye++]=n>>8,he[ye++]=255&n):(he[ye++]=223,ge.setUint32(ye,n),ye+=4),this.coercibleKeyAsNumber)for(let i=0;i<n;i++){r=e[i];let n=Number(r);v(isNaN(n)?r:n),v(t[r])}else for(let i=0;i<n;i++)v(r=e[i]),v(t[r])}:t=>{he[ye++]=222;let r=ye-e;ye+=2;let n=0;for(let e in t)("function"!=typeof t.hasOwnProperty||t.hasOwnProperty(e))&&(v(e),v(t[e]),n++);if(n>65535)throw new Error('Object is too large to serialize with fast 16-bit map size, use the "variableMapSize" option to serialize this object');he[r+++e]=n>>8,he[r+e]=255&n},E=!1===this.useRecords?A:t.progressiveRecords&&!h?t=>{let r,i,o=n.transitions||(n.transitions=Object.create(null)),s=ye++-e;for(let u in t)if("function"!=typeof t.hasOwnProperty||t.hasOwnProperty(u)){if(r=o[u],r)o=r;else{let a=Object.keys(t),f=o;o=n.transitions;let l=0;for(let t=0,e=a.length;t<e;t++){let e=a[t];r=o[e],r||(r=o[e]=Object.create(null),l++),o=r}s+e+1==ye?(ye--,I(o,a,l)):R(o,a,s,l),i=!0,o=f[u]}v(t[u])}if(!i){let r=o[be];r?he[s+e]=r:R(o,Object.keys(t),s,0)}}:t=>{let e,r=n.transitions||(n.transitions=Object.create(null)),i=0;for(let n in t)("function"!=typeof t.hasOwnProperty||t.hasOwnProperty(n))&&(e=r[n],e||(e=r[n]=Object.create(null),i++),r=e);let o=r[be];o?o>=96&&h?(he[ye++]=96+(31&(o-=96)),he[ye++]=o>>5):he[ye++]=o:I(r,r.__keys__||Object.keys(t),i);for(let e in t)("function"!=typeof t.hasOwnProperty||t.hasOwnProperty(e))&&v(t[e])},S="function"==typeof this.useRecords&&this.useRecords,U=S?t=>{S(t)?E(t):A(t)}:E,_=t=>{let r;if(t>16777216){if(t-e>le)throw new Error("Packed buffer would be larger than maximum buffer size");r=Math.min(le,4096*Math.round(Math.max((t-e)*(t>67108864?1.25:2),4194304)/4096))}else r=1+(Math.max(t-e<<2,he.length-1)>>12)<<12;let n=new ae(r);return ge=n.dataView||(n.dataView=new DataView(n.buffer,0,r)),t=Math.min(t,he.length),he.copy?he.copy(n,0,e,t):n.set(he.slice(e,t)),ye-=e,e=0,pe=n.length-10,he=n},I=(t,e,i)=>{let o=n.nextId;o||(o=64),o<c&&this.shouldShareStructure&&!this.shouldShareStructure(e)?(o=n.nextOwnId,o<g||(o=c),n.nextOwnId=o+1):(o>=g&&(o=c),n.nextId=o+1);let s=e.highByte=o>=96&&h?o-96>>5:-1;t[be]=o,t.__keys__=e,n[o-64]=e,o<c?(e.isShared=!0,n.sharedLength=o-63,r=!0,s>=0?(he[ye++]=96+(31&o),he[ye++]=s):he[ye++]=o):(s>=0?(he[ye++]=213,he[ye++]=114,he[ye++]=96+(31&o),he[ye++]=s):(he[ye++]=212,he[ye++]=114,he[ye++]=o),i&&(d+=w*i),y.length>=l&&(y.shift()[be]=0),y.push(t),v(e))},R=(t,r,n,i)=>{let o=he,s=ye,u=pe,a=e;he=ce,ye=0,e=0,he||(ce=he=new ae(8192)),pe=he.length-10,I(t,r,i),ce=he;let f=ye;if(he=o,ye=s,pe=u,e=a,f>1){let t=ye+f-1;t>pe&&_(t);let r=n+e;he.copyWithin(r+f,r+1,ye),he.set(ce.slice(0,f),r),ye=t}else he[n+e]=ce[0]},B=t=>{let i=undefined(t,he,e,ye,n,_,((t,e,n)=>{if(n)return r=!0;ye=e;let i=he;return v(t),b(),i!==he?{position:ye,targetView:ge,target:he}:ye}),this);if(0===i)return U(t);ye=i}}useBuffer(t){he=t,he.dataView||(he.dataView=new DataView(he.buffer,he.byteOffset,he.byteLength)),ge=he.dataView,ye=0}set position(t){ye=t}get position(){return ye}clearSharedData(){this.structures&&(this.structures=[]),this.typedStructs&&(this.typedStructs=[])}}function ve(t,e,r,n){let i=t.byteLength;if(i+1<256){var{target:o,position:s}=r(4+i);o[s++]=199,o[s++]=i+1}else if(i+1<65536){var{target:o,position:s}=r(5+i);o[s++]=200,o[s++]=i+1>>8,o[s++]=i+1&255}else{var{target:o,position:s,targetView:u}=r(7+i);o[s++]=201,u.setUint32(s,i+1),s+=4}o[s++]=116,o[s++]=e,t.buffer||(t=new Uint8Array(t)),o.set(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),s)}function Ae(t,e){let r=t.byteLength;var n,i;if(r<256){var{target:n,position:i}=e(r+2);n[i++]=196,n[i++]=r}else if(r<65536){var{target:n,position:i}=e(r+3);n[i++]=197,n[i++]=r>>8,n[i++]=255&r}else{var{target:n,position:i,targetView:o}=e(r+5);n[i++]=198,o.setUint32(i,r),i+=4}n.set(t,i)}function Ee(t,e,r,n){let i=t.length;switch(i){case 1:e[r++]=212;break;case 2:e[r++]=213;break;case 4:e[r++]=214;break;case 8:e[r++]=215;break;case 16:e[r++]=216;break;default:i<256?(e[r++]=199,e[r++]=i):i<65536?(e[r++]=200,e[r++]=i>>8,e[r++]=255&i):(e[r++]=201,e[r++]=i>>24,e[r++]=i>>16&255,e[r++]=i>>8&255,e[r++]=255&i)}return e[r++]=n,e.set(t,r),r+=i}function Se(t,e,r){if(de.length>0){ge.setUint32(de.position+t,ye+r-de.position-t),de.stringsPosition=ye-t;let n=de;de=null,e(n[0]),e(n[1])}}function Ue(t){if(t.Class){if(!t.pack&&!t.write)throw new Error("Extension has no pack or write function");if(t.pack&&!t.type)throw new Error("Extension has no type (numeric code to identify the extension)");ne.unshift(t.Class),re.unshift(t)}!function(t){t.unpack?lt[t.type]=t.unpack:lt[t.type]=t}(t)}ne=[Date,Set,Error,RegExp,ArrayBuffer,Object.getPrototypeOf(Uint8Array.prototype).constructor,DataView,ct],re=[{pack(t,e,r){let n=t.getTime()/1e3;if((this.useTimestamp32||0===t.getMilliseconds())&&n>=0&&n<4294967296){let{target:t,targetView:r,position:i}=e(6);t[i++]=214,t[i++]=255,r.setUint32(i,n)}else if(n>0&&n<4294967296){let{target:r,targetView:i,position:o}=e(10);r[o++]=215,r[o++]=255,i.setUint32(o,4e6*t.getMilliseconds()+(n/1e3/4294967296|0)),i.setUint32(o+4,n)}else if(isNaN(n)){if(this.onInvalidDate)return e(0),r(this.onInvalidDate());let{target:t,targetView:n,position:i}=e(3);t[i++]=212,t[i++]=255,t[i++]=255}else{let{target:r,targetView:i,position:o}=e(15);r[o++]=199,r[o++]=12,r[o++]=255,i.setUint32(o,1e6*t.getMilliseconds()),i.setBigInt64(o+4,BigInt(Math.floor(n)))}}},{pack(t,e,r){if(this.setAsEmptyObject)return e(0),r({});let n=Array.from(t),{target:i,position:o}=e(this.moreTypes?3:0);this.moreTypes&&(i[o++]=212,i[o++]=115,i[o++]=0),r(n)}},{pack(t,e,r){let{target:n,position:i}=e(this.moreTypes?3:0);this.moreTypes&&(n[i++]=212,n[i++]=101,n[i++]=0),r([t.name,t.message,t.cause])}},{pack(t,e,r){let{target:n,position:i}=e(this.moreTypes?3:0);this.moreTypes&&(n[i++]=212,n[i++]=120,n[i++]=0),r([t.source,t.flags])}},{pack(t,e){this.moreTypes?ve(t,16,e):Ae(ue?p.from(t):new Uint8Array(t),e)}},{pack(t,e){let r=t.constructor;r!==fe&&this.moreTypes?ve(t,Ft.indexOf(r.name),e):Ae(t,e)}},{pack(t,e){this.moreTypes?ve(t,17,e):Ae(ue?p.from(t):new Uint8Array(t),e)}},{pack(t,e){let{target:r,position:n}=e(1);r[n]=193}}];let _e=new me({useRecords:!1});const Ie=_e.pack,Re=_e.pack,Be=me,{NEVER:Te,ALWAYS:Pe,DECIMAL_ROUND:Oe,DECIMAL_FIT:ke}=te,xe=512,Me=1024,Le=2048;const De=function(t,e={}){if(!t||"object"!=typeof t)throw new Error("first argument must be an Iterable, Async Iterable, Iterator, Async Iterator, or a promise");const r=new dt(e);let n;const i=t=>{let e;n&&(t=p.concat([n,t]),n=void 0);try{e=r.unpackMultiple(t)}catch(r){if(!r.incomplete)throw r;n=t.slice(r.lastPosition),e=r.values}return e};return"function"==typeof t[Symbol.iterator]?function*(){for(const e of t)yield*i(e)}():"function"==typeof t[Symbol.asyncIterator]?async function*(){for await(const e of t)yield*i(e)}():void 0},Ce=function(t,e={}){if(t&&"object"==typeof t){if("function"==typeof t[Symbol.iterator])return function*(t,e){const r=new me(e);for(const e of t)yield r.pack(e)}(t,e);if("function"==typeof t.then||"function"==typeof t[Symbol.asyncIterator])return async function*(t,e){const r=new me(e);for await(const e of t)yield r.pack(e)}(t,e);throw new Error("first argument must be an Iterable, Async Iterable, Iterator, Async Iterator, or a Promise")}throw new Error("first argument must be an Iterable, Async Iterable, or a Promise for an Async Iterable")},Ye=!1,je=!0;export{Pe as ALWAYS,gt as C1,ke as DECIMAL_FIT,Oe as DECIMAL_ROUND,Zt as Decoder,Be as Encoder,te as FLOAT32_OPTIONS,Te as NEVER,me as Packr,Le as RESERVE_START_SPACE,Me as RESET_BUFFER_MODE,xe as REUSE_BUFFER_MODE,dt as Unpackr,Ue as addExtension,qt as clearSource,Xt as decode,De as decodeIter,Re as encode,Ce as encodeIter,Bt as isNativeAccelerationEnabled,je as mapsAsObjects,Ie as pack,se as roundFloat32,Ht as unpack,Qt as unpackMultiple,Ye as useRecords};export default null;
|
|
//# sourceMappingURL=/sm/abb326e39ebbcdafe0d57b3cddbc235858530eba6320ddf2f7cf50015c28a63f.map
|