/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@okxconnect/connect-kit@1.6.0/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
var ivt=Object.create,eN=Object.defineProperty,ovt=Object.getOwnPropertyDescriptor,svt=Object.getOwnPropertyNames,avt=Object.getPrototypeOf,cvt=Object.prototype.hasOwnProperty,r0=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):e)((function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')})),En=(e,t)=>()=>(e&&(t=e(e=0)),t),W=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Vr=(e,t)=>{for(var r in t)eN(e,r,{get:t[r],enumerable:!0})},fxe=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of svt(t))!cvt.call(e,i)&&i!==r&&eN(e,i,{get:()=>t[i],enumerable:!(n=ovt(t,i))||n.enumerable});return e},hi=(e,t,r)=>(r=null!=e?ivt(avt(e)):{},fxe(!t&&e&&e.__esModule?r:eN(r,"default",{value:e,enumerable:!0}),e)),tN=e=>fxe(eN({},"__esModule",{value:!0}),e),pxe=W((e=>{"use strict";m(),e.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},e.toByteArray=function(e){var t,r,o=s(e),a=o[0],c=o[1],u=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,c)),l=0,d=c>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===c&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[l++]=255&t),1===c&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},e.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=16383,a=0,u=n-i;a<u;a+=s)o.push(c(e,a,a+s>u?u:a+s));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};var t,r=[],n=[],i=typeof Uint8Array<"u"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(t=0,64;t<64;++t)r[t]=o[t],n[o.charCodeAt(t)]=t;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function a(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function c(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(a(n));return i.join("")}n[45]=62,n[95]=63})),gxe=W((e=>{m(),e.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,c=(1<<a)-1,u=c>>1,l=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-l)-1,f>>=-l,l+=a;l>0;o=256*o+e[t+d],d+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+d],d+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),o-=u}return(f?-1:1)*s*Math.pow(2,o-n)},e.write=function(e,t,r,n,i,o){var s,a,c,u=8*o-i-1,l=(1<<u)-1,d=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+d>=1?h/c:h*Math.pow(2,1-d))*c>=2&&(s++,c/=2),s+d>=l?(a=0,s=l):s+d>=1?(a=(t*c-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[r+f]=255&a,f+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[r+f]=255&s,f+=p,s/=256,u-=8);e[r+f-p]|=128*g}})),Go=W((e=>{"use strict";m();var t=pxe(),r=gxe(),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},e.INSPECT_MAX_BYTES=50;var i=2147483647;function o(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}return a(e,t,r)}function a(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|f(e,t),n=o(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(z(e,Uint8Array)){var t=new Uint8Array(e);return d(t.buffer,t.byteOffset,t.byteLength)}return l(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(z(e,ArrayBuffer)||e&&z(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(z(e,SharedArrayBuffer)||e&&z(e.buffer,SharedArrayBuffer)))return d(e,t,r);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 s.from(n,t,r);var i=function(e){if(s.isBuffer(e)){var t=0|h(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||F(e.length)?o(0):l(e);if("Buffer"===e.type&&Array.isArray(e.data))return l(e.data)}(e);if(i)return i;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(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 c(e),o(e<0?0:0|h(e))}function l(e){for(var t=e.length<0?0:0|h(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function d(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,s.prototype),n}function h(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function f(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||z(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 r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(e).length;default:if(i)return n?-1:D(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return O(this,t,r);case"latin1":case"binary":return M(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),F(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var l=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*s}else-1!==l&&(o-=o-l),l=-1}else for(r+c>a&&(r=a-c),o=r;o>=0;o--){for(var d=!0,h=0;h<c;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return-1}function w(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(F(a))return s;e[r+s]=a}return s}function v(e,t,r,n){return L(D(t,e.length-r),e,r,n)}function A(e,t,r,n){return L(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function E(e,t,r,n){return L(W(t),e,r,n)}function T(e,t,r,n){return L(function(e,t){for(var r,n,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function C(e,r,n){return 0===r&&n===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(r,n))}function S(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,c,u=e[i],l=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&((c=(31&u)<<6|63&o)>127&&(l=c));break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&((c=(15&u)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&((c=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c))}null===l?(l=65533,d=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=d}return function(e){var t=e.length;if(t<=I)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=I));return r}(n)}e.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch{return!1}}(),!s.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&"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(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return a(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)}(e,t,r)},s.allocUnsafe=function(e){return u(e)},s.allocUnsafeSlow=function(e){return u(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(z(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),z(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},s.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}},s.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(z(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else{if(!s.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?S(this,0,e):p.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(z(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),c=Math.min(o,a),u=this.slice(n,i),l=e.slice(t,r),d=0;d<c;++d)if(u[d]!==l[d]){o=u[d],a=l[d];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return v(this,e,t,r);case"ascii":case"latin1":case"binary":return A(this,e,t,r);case"base64":return E(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function O(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function M(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function P(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=K[e[o]];return i}function k(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function B(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,i,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function N(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,n,i,o){return t=+t,n>>>=0,o||N(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function _(e,t,n,i,o){return t=+t,n>>>=0,o||N(e,0,n,8),r.write(e,t,n,i,52,8),n+8}s.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||B(e,4,this.length),r.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||B(e,4,this.length),r.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||B(e,8,this.length),r.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||B(e,8,this.length),r.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||x(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||x(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return _(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return _(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!n&&0!==n&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),c=a.length;if(0===c)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%c]}return this};var U=/[^+/0-9A-Za-z-_]/g;function D(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=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((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function W(e){return t.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 L(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function F(e){return e!=e}var K=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()})),Jxe=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var r,n,i={exports:{}},o=i.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch{try{return r.call(null,e,0)}catch{return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch{r=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch{n=a}}();var u,l=[],d=!1,h=-1;function f(){!d||!u||(d=!1,u.length?l=u.concat(l):h=-1,l.length&&p())}function p(){if(!d){var e=c(f);d=!0;for(var t=l.length;t;){for(u=l,l=[];++h<t;)u&&u[h].run();h=-1,t=l.length}u=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch{try{return n.call(null,e)}catch{return n.call(this,e)}}}(e)}}function g(e,t){this.fun=e,this.array=t}function y(){}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new g(e,t)),1===l.length&&!d&&c(p)},g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0};var w=i.exports.browser,v=b,A=i.exports.binding,E=b,T={},C=b,S=b,I=b,O=b,M=b,P="browser",k="browser",B="browser",x=[],N={nextTick:i.exports.nextTick,title:i.exports.title,browser:w,env:i.exports.env,argv:i.exports.argv,version:i.exports.version,versions:i.exports.versions,on:i.exports.on,addListener:i.exports.addListener,once:i.exports.once,off:i.exports.off,removeListener:i.exports.removeListener,removeAllListeners:i.exports.removeAllListeners,emit:i.exports.emit,emitWarning:v,prependListener:i.exports.prependListener,prependOnceListener:i.exports.prependOnceListener,listeners:i.exports.listeners,binding:A,cwd:i.exports.cwd,chdir:i.exports.chdir,umask:i.exports.umask,exit:E,pid:1,features:T,kill:C,dlopen:S,uptime:I,memoryUsage:O,uvCounters:M,platform:P,arch:k,execPath:B,execArgv:x};e.addListener=i.exports.addListener,e.arch=k,e.argv=i.exports.argv,e.binding=A,e.browser=w,e.chdir=i.exports.chdir,e.cwd=i.exports.cwd,e.default=N,e.dlopen=S,e.emit=i.exports.emit,e.emitWarning=v,e.env=i.exports.env,e.execArgv=x,e.execPath=B,e.exit=E,e.features=T,e.kill=C,e.listeners=i.exports.listeners,e.memoryUsage=O,e.nextTick=i.exports.nextTick,e.off=i.exports.off,e.on=i.exports.on,e.once=i.exports.once,e.pid=1,e.platform=P,e.prependListener=i.exports.prependListener,e.prependOnceListener=i.exports.prependOnceListener,e.removeAllListeners=i.exports.removeAllListeners,e.removeListener=i.exports.removeListener,e.title=i.exports.title,e.umask=i.exports.umask,e.uptime=I,e.uvCounters=M,e.version=i.exports.version,e.versions=i.exports.versions,e=t.exports=N})),P,I,zvt,global,m=En((()=>{P=hi(Go()),I=hi(Jxe()),zvt=function(e){function t(){var t=this||self;return delete e.prototype.__magic__,t}return"object"==typeof globalThis?globalThis:this?t():(e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t}),__magic__)}(Object),global=zvt})),$xe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.IJSONRpcProvider=e.IJSONRpcConnection=void 0;e.IJSONRpcConnection=class{};e.IJSONRpcProvider=class{constructor(e){}}})),tAe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})})),sN=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r($xe(),e),r(tAe(),e)})),OT=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectorState=e.CONNECT_PROTOCOL_VER=e.CONNECT_JSONRPC_VER=e.OKXCONNECTOR_SESSION_LIVE_TTL=e.OKXCONNECTOR_MESSAGE_DISCONNECT_TTL=e.OKXCONNECTOR_MESSAGE_TTL=e.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE=e.OKXCONNECTOR_WS_URL_LIST=e.OKXCONNECTOR_WS_URL_IDX_KEY=e.OKXCONNECTOR_WS_URL_3=e.OKXCONNECTOR_WS_URL_2=e.OKXCONNECTOR_WS_URL_1=e.EVENT_EMITTER_MAX_LISTENERS=e.OKXCONNECTOR_PROTOCOL_VERSION=void 0,e.OKXCONNECTOR_PROTOCOL_VERSION=2,e.EVENT_EMITTER_MAX_LISTENERS=10,e.OKXCONNECTOR_WS_URL_1="wss://wsdexpri.okx.com/ws/v1/wallet-connect-relay",e.OKXCONNECTOR_WS_URL_2="wss://wsdexpri.okx.ac/ws/v1/wallet-connect-relay",e.OKXCONNECTOR_WS_URL_3="wss://wsdexpri.coinall.ltd/ws/v1/wallet-connect-relay",e.OKXCONNECTOR_WS_URL_IDX_KEY="wuik",e.OKXCONNECTOR_WS_URL_LIST=[e.OKXCONNECTOR_WS_URL_1,e.OKXCONNECTOR_WS_URL_2,e.OKXCONNECTOR_WS_URL_3],e.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE={TIME_OUT:3990,CANCELED:3991,FINISHED:3992},e.OKXCONNECTOR_MESSAGE_TTL=3e5,e.OKXCONNECTOR_MESSAGE_DISCONNECT_TTL=864e5,e.OKXCONNECTOR_SESSION_LIVE_TTL=864e5,e.CONNECT_JSONRPC_VER="2.0",e.CONNECT_PROTOCOL_VER=2,e.ConnectorState={InitState:0,Connecting:1,Connected:2,Disconnected:3,OnError:4}})),PT=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE=e.OKXCONNECTOR_STORAGE_TOPIC_EXPIRE_CACHE=e.OKXCONNECTOR_STORAGE_PROTOCOL_CACHE=e.OKXCONNECTOR_STORAGE_CIPHER_METHOD=e.OKXCONNECTOR_STORAGE_CRYPTO_CIPHERIV=e.OKXCONNECTOR_STORAGER_CRYPTO_SALT=e.OKXCONNECTOR_STORAGE_CRYPTO_PASSWORD=e.OKXCONNECTOR_TON_KEY=e.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE=e.OKXCONNECTOR_TOKEN_CACHE=e.OKXCONNECTOR_JWT_KEY=e.OKXCONNECTOR_SESSION_PREFIX_KEY=e.OKXCONNECTOR_CRYPTO_KEY=e.OKXCONNECTOR_CACHE_KEY_DAPP=e.OKXCONNECTOR_CACHE_KEY=void 0,e.OKXCONNECTOR_CACHE_KEY="ck",e.OKXCONNECTOR_CACHE_KEY_DAPP="ck_dapp",e.OKXCONNECTOR_CRYPTO_KEY="cck_k",e.OKXCONNECTOR_SESSION_PREFIX_KEY="cspk_",e.OKXCONNECTOR_JWT_KEY="cjk_k",e.OKXCONNECTOR_TOKEN_CACHE="ct",e.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE="csp",e.OKXCONNECTOR_TON_KEY="OKXStorage_ctc",e.OKXCONNECTOR_STORAGE_CRYPTO_PASSWORD="scp",e.OKXCONNECTOR_STORAGER_CRYPTO_SALT="scs",e.OKXCONNECTOR_STORAGE_CRYPTO_CIPHERIV="scpc",e.OKXCONNECTOR_STORAGE_CIPHER_METHOD="aes-256-cbc",e.OKXCONNECTOR_STORAGE_PROTOCOL_CACHE="okx_connect_split_cache_key",e.OKXCONNECTOR_STORAGE_TOPIC_EXPIRE_CACHE="okx_connect_te_cache_key",e.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE="okx_connect_twe_cache_key"})),vn=W(((e,t)=>{m();var r=Go(),n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=o),o.prototype=Object.create(n.prototype),i(n,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}})),Ux=W(((e,t)=>{"use strict";m();var r=65536;var n=vn().Buffer,i=global.crypto||global.msCrypto;i&&i.getRandomValues?t.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var o=n.allocUnsafe(e);if(e>0)if(e>r)for(var s=0;s<e;s+=r)i.getRandomValues(o.slice(s,s+r));else i.getRandomValues(o);return"function"==typeof t?I.default.nextTick((function(){t(null,o)})):o}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}})),un=W(((e,t)=>{m(),"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}})),MT=W(((e,t)=>{"use strict";m();var r,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};r=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}y(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&y(e,"error",t,r)}(e,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var a=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,o,s;if(c(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=u(e))>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,function(e){console&&console.warn&&console.warn(e)}(a)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function f(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):g(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function y(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){n.once&&e.removeEventListener(t,i),r(o)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),s.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var u=c.length,l=g(c,u);for(r=0;r<u;++r)i(l[r],this,t)}return!0},s.prototype.addListener=function(e,t){return l(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return l(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,o,s;if(c(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,s||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}})),lX=W(((e,t)=>{m(),t.exports=MT().EventEmitter})),fX=W(((e,t)=>{"use strict";m(),t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}})),qC=W(((e,t)=>{"use strict";m();var r=fX();t.exports=function(){return r()&&!!Symbol.toStringTag}})),dX=W(((e,t)=>{"use strict";m(),t.exports=Object})),wAe=W(((e,t)=>{"use strict";m(),t.exports=Error})),AAe=W(((e,t)=>{"use strict";m(),t.exports=EvalError})),TAe=W(((e,t)=>{"use strict";m(),t.exports=RangeError})),CAe=W(((e,t)=>{"use strict";m(),t.exports=ReferenceError})),hX=W(((e,t)=>{"use strict";m(),t.exports=SyntaxError})),kT=W(((e,t)=>{"use strict";m(),t.exports=TypeError})),BAe=W(((e,t)=>{"use strict";m(),t.exports=URIError})),kAe=W(((e,t)=>{"use strict";m(),t.exports=Math.abs})),RAe=W(((e,t)=>{"use strict";m(),t.exports=Math.floor})),DAe=W(((e,t)=>{"use strict";m(),t.exports=Math.max})),LAe=W(((e,t)=>{"use strict";m(),t.exports=Math.min})),WAe=W(((e,t)=>{"use strict";m(),t.exports=Math.pow})),KAe=W(((e,t)=>{"use strict";m(),t.exports=Math.round})),qAe=W(((e,t)=>{"use strict";m(),t.exports=Number.isNaN||function(e){return e!=e}})),GAe=W(((e,t)=>{"use strict";m();var r=qAe();t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}})),JAe=W(((e,t)=>{"use strict";m(),t.exports=Object.getOwnPropertyDescriptor})),Lx=W(((e,t)=>{"use strict";m();var r=JAe();if(r)try{r([],"length")}catch{r=null}t.exports=r})),jC=W(((e,t)=>{"use strict";m();var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r})),$Ae=W(((e,t)=>{"use strict";m();var r=typeof Symbol<"u"&&Symbol,n=fX();t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&n()}})),pX=W(((e,t)=>{"use strict";m(),t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null})),gX=W(((e,t)=>{"use strict";m();var r=dX();t.exports=r.getPrototypeOf||null})),iEe=W(((e,t)=>{"use strict";m();var r=Object.prototype.toString,n=Math.max,i=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r};t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var o,s=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r}(arguments,1),a=n(0,t.length-s.length),c=[],u=0;u<a;u++)c[u]="$"+u;if(o=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=t.apply(this,i(s,arguments));return Object(r)===r?r:this}return t.apply(e,i(s,arguments))})),t.prototype){var l=function(){};l.prototype=t.prototype,o.prototype=new l,l.prototype=null}return o}})),_T=W(((e,t)=>{"use strict";m();var r=iEe();t.exports=Function.prototype.bind||r})),hN=W(((e,t)=>{"use strict";m(),t.exports=Function.prototype.call})),pN=W(((e,t)=>{"use strict";m(),t.exports=Function.prototype.apply})),uEe=W(((e,t)=>{"use strict";m(),t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply})),yX=W(((e,t)=>{"use strict";m();var r=_T(),n=pN(),i=hN(),o=uEe();t.exports=o||r.call(i,n)})),gN=W(((e,t)=>{"use strict";m();var r=_T(),n=kT(),i=hN(),o=yX();t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new n("a function is required");return o(r,i,e)}})),mEe=W(((e,t)=>{"use strict";m();var r,n=gN(),i=Lx();try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!r&&i&&i(Object.prototype,"__proto__"),s=Object,a=s.getPrototypeOf;t.exports=o&&"function"==typeof o.get?n([o.get]):"function"==typeof a&&function(e){return a(null==e?e:s(e))}})),bX=W(((e,t)=>{"use strict";m();var r=pX(),n=gX(),i=mEe();t.exports=r?function(e){return r(e)}:n?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return n(e)}:i?function(e){return i(e)}:null})),vX=W(((e,t)=>{"use strict";m();var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=_T();t.exports=i.call(r,n)})),AX=W(((e,t)=>{"use strict";m();var r,n=dX(),i=wAe(),o=AAe(),s=TAe(),a=CAe(),c=hX(),u=kT(),l=BAe(),d=kAe(),h=RAe(),f=DAe(),p=LAe(),g=WAe(),y=KAe(),b=GAe(),w=Function,v=function(e){try{return w('"use strict"; return ('+e+").constructor;")()}catch{}},A=Lx(),E=jC(),T=function(){throw new u},C=A?function(){try{return T}catch{try{return A(arguments,"callee").get}catch{return T}}}():T,S=$Ae()(),I=bX(),O=gX(),M=pX(),P=pN(),k=hN(),B={},x=typeof Uint8Array>"u"||!I?r:I(Uint8Array),N={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":S&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&I?I(I([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!S||!I?r:I((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":A,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!S||!I?r:I((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&I?I(""[Symbol.iterator]()):r,"%Symbol%":S?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":x,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":l,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":P,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":O,"%Math.abs%":d,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":p,"%Math.pow%":g,"%Math.round%":y,"%Math.sign%":b,"%Reflect.getPrototypeOf%":M};if(I)try{null.error}catch(e){R=I(I(e)),N["%Error.prototype%"]=R}var R,_=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&I&&(r=I(i.prototype))}return N[t]=r,r},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"]},D=_T(),W=vX(),L=D.call(k,Array.prototype.concat),z=D.call(P,Array.prototype.splice),F=D.call(k,String.prototype.replace),K=D.call(k,String.prototype.slice),j=D.call(k,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,V=function(e,t){var r,n=e;if(W(U,n)&&(n="%"+(r=U[n])[0]+"%"),W(N,n)){var i=N[n];if(i===B&&(i=_(n)),typeof i>"u"&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new c("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===j(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=K(e,0,1),r=K(e,-1);if("%"===t&&"%"!==r)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return F(e,H,(function(e,t,r,i){n[n.length]=r?F(i,G,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=V("%"+n+"%",t),o=i.name,s=i.value,a=!1,l=i.alias;l&&(n=l[0],z(r,L([0,1],l)));for(var d=1,h=!0;d<r.length;d+=1){var f=r[d],p=K(f,0,1),g=K(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===g||"'"===g||"`"===g)&&p!==g)throw new c("property names with quotes must have matching quotes");if(("constructor"===f||!h)&&(a=!0),W(N,o="%"+(n+="."+f)+"%"))s=N[o];else if(null!=s){if(!(f in s)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(A&&d+1>=r.length){var y=A(s,f);s=(h=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:s[f]}else h=W(s,f),s=s[f];h&&!a&&(N[o]=s)}}return s}})),LT=W(((e,t)=>{"use strict";m();var r=AX(),n=gN(),i=n([r("%String.prototype.indexOf%")]);t.exports=function(e,t){var o=r(e,!!t);return"function"==typeof o&&i(e,".prototype.")>-1?n([o]):o}})),REe=W(((e,t)=>{"use strict";m();var r=qC()(),n=LT()("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===n(e)},o=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==n(e)&&"callee"in e&&"[object Function]"===n(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=o,t.exports=s?i:o})),WEe=W(((e,t)=>{"use strict";m();var r,n,i,o,s,a,c=LT(),u=qC()(),l=vX(),d=Lx();u?(n=c("RegExp.prototype.exec"),i={},s={toString:o=function(){throw i},valueOf:o},"symbol"==typeof Symbol.toPrimitive&&(s[Symbol.toPrimitive]=o),r=function(e){if(!e||"object"!=typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&l(t,"value")))return!1;try{n(e,s)}catch(e){return e===i}}):(a=c("Object.prototype.toString"),r=function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===a(e)}),t.exports=r})),KEe=W(((e,t)=>{"use strict";m();var r=LT(),n=WEe(),i=r("RegExp.prototype.exec"),o=kT();t.exports=function(e){if(!n(e))throw new o("`regex` must be a RegExp");return function(t){return null!==i(e,t)}}})),GEe=W(((e,t)=>{"use strict";m();var r,n=LT(),i=KEe()(/^\s*(?:function)?\*/),o=qC()(),s=bX(),a=n("Object.prototype.toString"),c=n("Function.prototype.toString");t.exports=function(e){if("function"!=typeof e)return!1;if(i(c(e)))return!0;if(!o)return"[object GeneratorFunction]"===a(e);if(!s)return!1;if(typeof r>"u"){var t=function(){if(!o)return!1;try{return Function("return function*() {}")()}catch{}}();r=!!t&&s(t)}return s(e)===r}})),YEe=W(((e,t)=>{"use strict";m();var r,n,i=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,r)}catch(e){e!==n&&(o=null)}else o=null;var s,a=/^\s*class\b/,c=function(e){try{var t=i.call(e);return a.test(t)}catch{return!1}},u=function(e){try{return!c(e)&&(i.call(e),!0)}catch{return!1}},l=Object.prototype.toString,d="function"==typeof Symbol&&!!Symbol.toStringTag,h=!(0 in[,]),f=function(){return!1};"object"==typeof document&&(s=document.all,l.call(s)===l.call(document.all)&&(f=function(e){if((h||!e)&&(typeof e>"u"||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch{}return!1})),t.exports=o?function(e){if(f(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{o(e,null,r)}catch(e){if(e!==n)return!1}return!c(e)&&u(e)}:function(e){if(f(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(d)return u(e);if(c(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&u(e)}})),$Ee=W(((e,t)=>{"use strict";m();var r=YEe(),n=Object.prototype.toString,i=Object.prototype.hasOwnProperty;t.exports=function(e,t,o){if(!r(t))throw new TypeError("iterator must be a function");var s,a;arguments.length>=3&&(s=o),a=e,"[object Array]"===n.call(a)?function(e,t,r){for(var n=0,o=e.length;n<o;n++)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,s):"string"==typeof e?function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)}(e,t,s):function(e,t,r){for(var n in e)i.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,s)}})),t2e=W(((e,t)=>{"use strict";m(),t.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]})),n2e=W(((e,t)=>{"use strict";m();var r=t2e(),n=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof n[r[t]]&&(e[e.length]=r[t]);return e}})),a2e=W(((e,t)=>{"use strict";m();var r=jC(),n=hX(),i=kT(),o=Lx();t.exports=function(e,t,s){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],d=!!o&&o(e,t);if(r)r(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===a&&d?d.enumerable:!a,value:s,writable:null===c&&d?d.writable:!c});else{if(!l&&(a||c||u))throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=s}}})),l2e=W(((e,t)=>{"use strict";m();var r=jC(),n=function(){return!!r};n.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch{return!0}},t.exports=n})),g2e=W(((e,t)=>{"use strict";m();var r=AX(),n=a2e(),i=l2e()(),o=Lx(),s=kT(),a=r("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||a(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],c=!0,u=!0;if("length"in e&&o){var l=o(e,"length");l&&!l.configurable&&(c=!1),l&&!l.writable&&(u=!1)}return(c||u||!r)&&(i?n(e,"length",t,!0,!0):n(e,"length",t)),e}})),m2e=W(((e,t)=>{"use strict";m();var r=_T(),n=pN(),i=yX();t.exports=function(){return i(r,n,arguments)}})),w2e=W(((e,t)=>{"use strict";m();var r=g2e(),n=jC(),i=gN(),o=m2e();t.exports=function(e){var t=i(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},n?n(t.exports,"apply",{value:o}):t.exports.apply=o})),FX=W(((e,t)=>{"use strict";m();var r=$Ee(),n=n2e(),i=w2e(),o=LT(),s=Lx(),a=o("Object.prototype.toString"),c=qC()(),u=typeof globalThis>"u"?global:globalThis,l=n(),d=o("String.prototype.slice"),h=Object.getPrototypeOf,f=o("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},p={__proto__:null};r(l,c&&s&&h?function(e){var t=new u[e];if(Symbol.toStringTag in t){var r=h(t),n=s(r,Symbol.toStringTag);if(!n){var o=h(r);n=s(o,Symbol.toStringTag)}p["$"+e]=i(n.get)}}:function(e){var t=new u[e],r=t.slice||t.set;r&&(p["$"+e]=i(r))});t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(a(e),8,-1);return f(l,t)>-1?t:"Object"===t&&function(e){var t=!1;return r(p,(function(r,n){if(!t)try{r(e),t=d(n,1)}catch{}})),t}(e)}return s?function(e){var t=!1;return r(p,(function(r,n){if(!t)try{"$"+r(e)===n&&(t=d(n,1))}catch{}})),t}(e):null}})),C2e=W(((e,t)=>{"use strict";m();var r=FX();t.exports=function(e){return!!r(e)}})),W2e=W((e=>{"use strict";m();var t=REe(),r=GEe(),n=FX(),i=C2e();function o(e){return e.call.bind(e)}var s,a,c=typeof BigInt<"u",u=typeof Symbol<"u",l=o(Object.prototype.toString),d=o(Number.prototype.valueOf),h=o(String.prototype.valueOf),f=o(Boolean.prototype.valueOf);function p(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch{return!1}}function g(e){return"[object Map]"===l(e)}function y(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function w(e){return"[object WeakSet]"===l(e)}function v(e){return"[object ArrayBuffer]"===l(e)}function A(e){return!(typeof ArrayBuffer>"u")&&(v.working?v(e):e instanceof ArrayBuffer)}function E(e){return"[object DataView]"===l(e)}function T(e){return!(typeof DataView>"u")&&(E.working?E(e):e instanceof DataView)}c&&(s=o(BigInt.prototype.valueOf)),u&&(a=o(Symbol.prototype.valueOf)),e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=i,e.isPromise=function(e){return typeof Promise<"u"&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},e.isArrayBufferView=function(e){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||T(e)},e.isUint8Array=function(e){return"Uint8Array"===n(e)},e.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===n(e)},e.isUint16Array=function(e){return"Uint16Array"===n(e)},e.isUint32Array=function(e){return"Uint32Array"===n(e)},e.isInt8Array=function(e){return"Int8Array"===n(e)},e.isInt16Array=function(e){return"Int16Array"===n(e)},e.isInt32Array=function(e){return"Int32Array"===n(e)},e.isFloat32Array=function(e){return"Float32Array"===n(e)},e.isFloat64Array=function(e){return"Float64Array"===n(e)},e.isBigInt64Array=function(e){return"BigInt64Array"===n(e)},e.isBigUint64Array=function(e){return"BigUint64Array"===n(e)},g.working=typeof Map<"u"&&g(new Map),e.isMap=function(e){return!(typeof Map>"u")&&(g.working?g(e):e instanceof Map)},y.working=typeof Set<"u"&&y(new Set),e.isSet=function(e){return!(typeof Set>"u")&&(y.working?y(e):e instanceof Set)},b.working=typeof WeakMap<"u"&&b(new WeakMap),e.isWeakMap=function(e){return!(typeof WeakMap>"u")&&(b.working?b(e):e instanceof WeakMap)},w.working=typeof WeakSet<"u"&&w(new WeakSet),e.isWeakSet=function(e){return w(e)},v.working=typeof ArrayBuffer<"u"&&v(new ArrayBuffer),e.isArrayBuffer=A,E.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&E(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=T;var C=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function S(e){return"[object SharedArrayBuffer]"===l(e)}function I(e){return!(typeof C>"u")&&(typeof S.working>"u"&&(S.working=S(new C)),S.working?S(e):e instanceof C)}function O(e){return p(e,d)}function M(e){return p(e,h)}function P(e){return p(e,f)}function k(e){return c&&p(e,s)}function B(e){return u&&p(e,a)}e.isSharedArrayBuffer=I,e.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},e.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},e.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},e.isGeneratorObject=function(e){return"[object Generator]"===l(e)},e.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},e.isNumberObject=O,e.isStringObject=M,e.isBooleanObject=P,e.isBigIntObject=k,e.isSymbolObject=B,e.isBoxedPrimitive=function(e){return O(e)||M(e)||P(e)||k(e)||B(e)},e.isAnyArrayBuffer=function(e){return typeof Uint8Array<"u"&&(A(e)||I(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))})),K2e=W(((e,t)=>{m(),t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}})),$C=W((e=>{m();var t=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},r=/%[sdj%]/g;e.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var i=arguments,o=i.length,a=String(e).replace(r,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch{return"[Circular]"}default:return e}})),c=i[n];n<o;c=i[++n])p(c)||!v(c)?a+=" "+c:a+=" "+s(c);return a},e.deprecate=function(t,r){if(typeof I.default<"u"&&!0===I.default.noDeprecation)return t;if(typeof I.default>"u")return function(){return e.deprecate(t,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(I.default.throwDeprecation)throw new Error(r);I.default.traceDeprecation?console.trace(r):console.error(r),n=!0}return t.apply(this,arguments)}};var n,i={},o=/^$/;function s(t,r){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),f(r)?n.showHidden=r:r&&e._extend(n,r),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),u(n,t,n.depth)}function a(e,t){var r=s.styles[t];return r?"["+s.colors[r][0]+"m"+e+"["+s.colors[r][1]+"m":e}function c(e,t){return e}function u(t,r,n){if(t.customInspect&&r&&T(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return y(i)||(i=u(t,i,n)),i}var o=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(y(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(g(t))return e.stylize(""+t,"number");if(f(t))return e.stylize(""+t,"boolean");if(p(t))return e.stylize("null","null")}(t,r);if(o)return o;var s=Object.keys(r),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(r)),E(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(r);if(0===s.length){if(T(r)){var c=r.name?": "+r.name:"";return t.stylize("[Function"+c+"]","special")}if(w(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(A(r))return t.stylize(Date.prototype.toString.call(r),"date");if(E(r))return l(r)}var m,v="",C=!1,S=["{","}"];(h(r)&&(C=!0,S=["[","]"]),T(r))&&(v=" [Function"+(r.name?": "+r.name:"")+"]");return w(r)&&(v=" "+RegExp.prototype.toString.call(r)),A(r)&&(v=" "+Date.prototype.toUTCString.call(r)),E(r)&&(v=" "+l(r)),0!==s.length||C&&0!=r.length?n<0?w(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),m=C?function(e,t,r,n,i){for(var o=[],s=0,a=t.length;s<a;++s)M(t,String(s))?o.push(d(e,t,r,n,String(s),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(e,t,r,n,i,!0))})),o}(t,r,n,a,s):s.map((function(e){return d(t,r,n,a,e,C)})),t.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return n>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(m,v,S)):S[0]+v+S[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,i,o){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),M(n,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=p(r)?u(e,c.value,null):u(e,c.value,r-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return"  "+e})).join("\n").slice(2):"\n"+a.split("\n").map((function(e){return"   "+e})).join("\n")):a=e.stylize("[Circular]","special")),b(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function h(e){return Array.isArray(e)}function f(e){return"boolean"==typeof e}function p(e){return null===e}function g(e){return"number"==typeof e}function y(e){return"string"==typeof e}function b(e){return void 0===e}function w(e){return v(e)&&"[object RegExp]"===C(e)}function v(e){return"object"==typeof e&&null!==e}function A(e){return v(e)&&"[object Date]"===C(e)}function E(e){return v(e)&&("[object Error]"===C(e)||e instanceof Error)}function T(e){return"function"==typeof e}function C(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}I.default.env.NODE_DEBUG&&(n=(n=I.default.env.NODE_DEBUG).replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+n+"$","i")),e.debuglog=function(t){if(t=t.toUpperCase(),!i[t])if(o.test(t)){var r=I.default.pid;i[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else i[t]=function(){};return i[t]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=W2e(),e.isArray=h,e.isBoolean=f,e.isNull=p,e.isNullOrUndefined=function(e){return null==e},e.isNumber=g,e.isString=y,e.isSymbol=function(e){return"symbol"==typeof e},e.isUndefined=b,e.isRegExp=w,e.types.isRegExp=w,e.isObject=v,e.isDate=A,e.types.isDate=A,e.isError=E,e.types.isNativeError=E,e.isFunction=T,e.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||typeof e>"u"},e.isBuffer=K2e();var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.log=function(){var t,r;console.log("%s - %s",(t=new Date,r=[S(t.getHours()),S(t.getMinutes()),S(t.getSeconds())].join(":"),[t.getDate(),O[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=un(),e._extend=function(e,t){if(!t||!v(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var P=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function k(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}e.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var r;if("function"!=typeof(r=e[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,P,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),P&&Object.defineProperty(r,P,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,t(e))},e.promisify.custom=P,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return n.apply(i,arguments)};e.apply(this,t).then((function(e){I.default.nextTick(o.bind(null,null,e))}),(function(e){I.default.nextTick(k.bind(null,e,o))}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,t(e)),r}})),$2e=W(((e,t)=>{"use strict";function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}m();var a=Go().Buffer,c=$C().inspect,u=c&&c.custom||"inspect";function l(e,t,r){a.prototype.copy.call(e,t,r)}t.exports=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return function(e,t,r){t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t=a.allocUnsafe(e>>>0),r=this.head,n=0;r;)l(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return c(this,n(n({},t),{},{depth:0,customInspect:!1}))}}]),e}()})),XX=W(((e,t)=>{"use strict";function r(e,t){i(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}m(),t.exports={destroy:function(e,t){var o=this,s=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return s||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,I.default.nextTick(i,this,e)):I.default.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?o._writableState?o._writableState.errorEmitted?I.default.nextTick(n,o):(o._writableState.errorEmitted=!0,I.default.nextTick(r,o,e)):I.default.nextTick(r,o,e):t?(I.default.nextTick(n,o),t(e)):I.default.nextTick(n,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}})),Kx=W(((e,t)=>{"use strict";m();var r={};function n(e,t,n){n||(n=Error);var i=function(e){function r(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(r,e),r}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function i(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o;if("string"==typeof t&&function(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}(t,"not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))o="The ".concat(e," ").concat(n," ").concat(i(t,"type"));else{var s=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";o='The "'.concat(e,'" ').concat(s," ").concat(n," ").concat(i(t,"type"))}return o+=". Received type ".concat(typeof r)}),TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r})),YX=W(((e,t)=>{"use strict";m();var r=Kx().codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}})),ZX=W(((e,t)=>{function r(e){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}m(),t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}})),tY=W(((e,t)=>{"use strict";function r(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var n;m(),t.exports=C,C.WritableState=T;var i={deprecate:ZX()},o=lX(),s=Go().Buffer,a=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};var c,u=XX(),l=YX().getHighWaterMark,d=Kx().codes,h=d.ERR_INVALID_ARG_TYPE,f=d.ERR_METHOD_NOT_IMPLEMENTED,p=d.ERR_MULTIPLE_CALLBACK,g=d.ERR_STREAM_CANNOT_PIPE,y=d.ERR_STREAM_DESTROYED,b=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,v=d.ERR_UNKNOWN_ENCODING,A=u.errorOrDestroy;function E(){}function T(e,t,i){n=n||Hx(),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=l(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new p;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(I.default.nextTick(i,n),I.default.nextTick(B,e,t),e._writableState.errorEmitted=!0,A(e,n)):(i(n),e._writableState.errorEmitted=!0,A(e,n),B(e,t))}(e,r,n,t,i);else{var o=P(r)||e.destroyed;!o&&!r.corked&&!r.bufferProcessing&&r.bufferedRequest&&M(e,r),n?I.default.nextTick(O,e,r,o,i):O(e,r,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function C(e){var t=this instanceof(n=n||Hx());if(!t&&!c.call(C,this))return new C(e);this._writableState=new T(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function S(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function O(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),B(e,t)}function M(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,o=new Array(i),s=t.corkedRequestsFree;s.entry=n;for(var a=0,c=!0;n;)o[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;o.allBuffers=c,S(e,t,!0,t.length,o,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,d=n.callback;if(S(e,t,!1,t.objectMode?1:u.length,u,l,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&A(e,r),t.prefinished=!0,e.emit("prefinish"),B(e,t)}))}function B(e,t){var r=P(t);if(r&&(function(e,t){!t.prefinished&&!t.finalCalled&&("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,I.default.nextTick(k,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}un()(C,o),T.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(T.prototype,"buffer",{get:i.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(C,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===C&&(e&&e._writableState instanceof T)}})):c=function(e){return e instanceof this},C.prototype.pipe=function(){A(this,new g)},C.prototype.write=function(e,t,r){var n=this._writableState,i=!1,o=!n.objectMode&&function(e){return s.isBuffer(e)||e instanceof a}(e);return o&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(r=t,t=null),o?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=E),n.ending?function(e,t){var r=new w;A(e,r),I.default.nextTick(t,r)}(this,r):(o||function(e,t,r,n){var i;return null===r?i=new b:"string"!=typeof r&&!t.objectMode&&(i=new h("chunk",["string","Buffer"],r)),!i||(A(e,i),I.default.nextTick(n,i),!1)}(this,n,e,r))&&(n.pendingcb++,i=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){return!e.objectMode&&!1!==e.decodeStrings&&"string"==typeof t&&(t=s.from(t,r)),t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var c=t.objectMode?1:n.length;t.length+=c;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else S(e,t,!1,c,n,i,o);return u}(this,n,o,e,t,r)),i},C.prototype.cork=function(){this._writableState.corked++},C.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&M(this,e))},C.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new v(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(C.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(C.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),C.prototype._write=function(e,t,r){r(new f("_write()"))},C.prototype._writev=null,C.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,B(e,t),r&&(t.finished?I.default.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(C.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),C.prototype.destroy=u.destroy,C.prototype._undestroy=u.undestroy,C.prototype._destroy=function(e,t){t(e)}})),Hx=W(((e,t)=>{"use strict";m();var r=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=c;var n,i,o,s=iY(),a=tY();for(un()(c,s),n=r(a.prototype),o=0;o<n.length;o++)i=n[o],c.prototype[i]||(c.prototype[i]=a.prototype[i]);function c(e){if(!(this instanceof c))return new c(e);s.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||I.default.nextTick(l,this)}function l(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=e,this._writableState.destroyed=e)}})})),qN=W((e=>{"use strict";m();var t=vn().Buffer,r=t.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(e){var n;switch(this.encoding=function(e){var n=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof n&&(t.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return n||e}(e),this.encoding){case"utf16le":this.text=s,this.end=a,n=4;break;case"utf8":this.fillLast=o,n=4;break;case"base64":this.text=c,this.end=u,n=3;break;default:return this.write=l,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}e.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},n.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r||-2===o?0:(o=i(t[n]),o>=0?(o>0&&(e.lastNeed=o-2),o):--n<r||-2===o?0:(o=i(t[n]),o>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0))}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}})),jN=W(((e,t)=>{"use strict";m();var r=Kx().codes.ERR_STREAM_PREMATURE_CLOSE;function n(){}t.exports=function e(t,i,o){if("function"==typeof i)return e(t,null,i);i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||n);var s=i.readable||!1!==i.readable&&t.readable,a=i.writable||!1!==i.writable&&t.writable,c=function(){t.writable||l()},u=t._writableState&&t._writableState.finished,l=function(){a=!1,u=!0,s||o.call(t)},d=t._readableState&&t._readableState.endEmitted,h=function(){s=!1,d=!0,a||o.call(t)},f=function(e){o.call(t,e)},p=function(){var e;return s&&!d?((!t._readableState||!t._readableState.ended)&&(e=new r),o.call(t,e)):a&&!u?((!t._writableState||!t._writableState.ended)&&(e=new r),o.call(t,e)):void 0},g=function(){t.req.on("finish",l)};return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",l),t.on("abort",p),t.req?g():t.on("request",g)):a&&!t._writableState&&(t.on("end",c),t.on("close",c)),t.on("end",h),t.on("finish",l),!1!==i.error&&t.on("error",f),t.on("close",p),function(){t.removeListener("complete",l),t.removeListener("abort",p),t.removeListener("request",g),t.req&&t.req.removeListener("finish",l),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",l),t.removeListener("end",h),t.removeListener("error",f),t.removeListener("close",p)}}})),xTe=W(((e,t)=>{"use strict";var r;function n(e,t,r){return t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}m();var i=jN(),o=Symbol("lastResolve"),s=Symbol("lastReject"),a=Symbol("error"),c=Symbol("ended"),u=Symbol("lastPromise"),l=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function f(e){var t=e[o];if(null!==t){var r=e[d].read();null!==r&&(e[u]=null,e[o]=null,e[s]=null,t(h(r,!1)))}}function p(e){I.default.nextTick(f,e)}var g=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((n(r={get stream(){return this[d]},next:function(){var e=this,t=this[a];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise((function(t,r){I.default.nextTick((function(){e[a]?r(e[a]):t(h(void 0,!0))}))}));var r,n=this[u];if(n)r=new Promise(function(e,t){return function(r,n){e.then((function(){t[c]?r(h(void 0,!0)):t[l](r,n)}),n)}}(n,this));else{var i=this[d].read();if(null!==i)return Promise.resolve(h(i,!1));r=new Promise(this[l])}return this[u]=r,r}},Symbol.asyncIterator,(function(){return this})),n(r,"return",(function(){var e=this;return new Promise((function(t,r){e[d].destroy(null,(function(e){e?r(e):t(h(void 0,!0))}))}))})),r),g);t.exports=function(e){var t,r=Object.create(y,(n(t={},d,{value:e,writable:!0}),n(t,o,{value:null,writable:!0}),n(t,s,{value:null,writable:!0}),n(t,a,{value:null,writable:!0}),n(t,c,{value:e._readableState.endEmitted,writable:!0}),n(t,l,{value:function(e,t){var n=r[d].read();n?(r[u]=null,r[o]=null,r[s]=null,e(h(n,!1))):(r[o]=e,r[s]=t)},writable:!0}),t));return r[u]=null,i(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[u]=null,r[o]=null,r[s]=null,t(e)),void(r[a]=e)}var n=r[o];null!==n&&(r[u]=null,r[o]=null,r[s]=null,n(h(void 0,!0))),r[c]=!0})),e.on("readable",p.bind(null,r)),r}})),ETe=W(((e,t)=>{m(),t.exports=function(){throw new Error("Readable.from is not available in the browser")}})),iY=W(((e,t)=>{"use strict";var r;m(),t.exports=C,C.ReadableState=T;MT().EventEmitter;var n=function(e,t){return e.listeners(t).length},i=lX(),o=Go().Buffer,s=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};var a,c=$C();a=c&&c.debuglog?c.debuglog("stream"):function(){};var u,l,d,h=$2e(),f=XX(),p=YX().getHighWaterMark,g=Kx().codes,y=g.ERR_INVALID_ARG_TYPE,b=g.ERR_STREAM_PUSH_AFTER_EOF,w=g.ERR_METHOD_NOT_IMPLEMENTED,v=g.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;un()(C,i);var A=f.errorOrDestroy,E=["error","close","destroy","pause","resume"];function T(e,t,n){r=r||Hx(),e=e||{},"boolean"!=typeof n&&(n=t instanceof r),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=p(this,e,"readableHighWaterMark",n),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(u||(u=qN().StringDecoder),this.decoder=new u(e.encoding),this.encoding=e.encoding)}function C(e){if(r=r||Hx(),!(this instanceof C))return new C(e);var t=this instanceof r;this._readableState=new T(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function S(e,t,r,n,i){a("readableAddChunk",t);var c,u=e._readableState;if(null===t)u.reading=!1,function(e,t){if(a("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?k(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,B(e)))}}(e,u);else if(i||(c=function(e,t){var r;return!function(e){return o.isBuffer(e)||e instanceof s}(t)&&"string"!=typeof t&&void 0!==t&&!e.objectMode&&(r=new y("chunk",["string","Buffer","Uint8Array"],t)),r}(u,t)),c)A(e,c);else if(u.objectMode||t&&t.length>0)if("string"!=typeof t&&!u.objectMode&&Object.getPrototypeOf(t)!==o.prototype&&(t=function(e){return o.from(e)}(t)),n)u.endEmitted?A(e,new v):O(e,u,t,!0);else if(u.ended)A(e,new b);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(t=u.decoder.write(t),u.objectMode||0!==t.length?O(e,u,t,!1):x(e,u)):O(e,u,t,!1)}else n||(u.reading=!1,x(e,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function O(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&k(e)),x(e,t)}Object.defineProperty(C.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),C.prototype.destroy=f.destroy,C.prototype._undestroy=f.undestroy,C.prototype._destroy=function(e,t){t(e)},C.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=o.from(e,t),t=""),r=!0),S(this,e,t,!1,r)},C.prototype.unshift=function(e){return S(this,e,null,!0,!1)},C.prototype.isPaused=function(){return!1===this._readableState.flowing},C.prototype.setEncoding=function(e){u||(u=qN().StringDecoder);var t=new u(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var M=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function k(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,I.default.nextTick(B,e))}function B(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,D(e)}function x(e,t){t.readingMore||(t.readingMore=!0,I.default.nextTick(N,e,t))}function N(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(a("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function R(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function _(e){a("readable nexttick read 0"),e.read(0)}function U(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function W(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,I.default.nextTick(z,t,e))}function z(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}C.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return a("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):k(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,i=t.needReadable;return a("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&a("length less than watermark",i=!0),t.ended||t.reading?a("reading or ended",i=!1):i&&(a("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?W(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},C.prototype._read=function(e){A(this,new w("_read()"))},C.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,a("pipe count=%d opts=%j",i.pipesCount,t);var o=(!t||!1!==t.end)&&e!==I.default.stdout&&e!==I.default.stderr?c:g;function s(t,n){a("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,a("cleanup"),e.removeListener("close",f),e.removeListener("finish",p),e.removeListener("drain",u),e.removeListener("error",h),e.removeListener("unpipe",s),r.removeListener("end",c),r.removeListener("end",g),r.removeListener("data",d),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u())}function c(){a("onend"),e.end()}i.endEmitted?I.default.nextTick(o):r.once("end",o),e.on("unpipe",s);var u=function(e){return function(){var t=e._readableState;a("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&n(e,"data")&&(t.flowing=!0,D(e))}}(r);e.on("drain",u);var l=!1;function d(t){a("ondata");var n=e.write(t);a("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!l&&(a("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function h(t){a("onerror",t),g(),e.removeListener("error",h),0===n(e,"error")&&A(e,t)}function f(){e.removeListener("finish",p),g()}function p(){a("onfinish"),e.removeListener("close",f),g()}function g(){a("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",f),e.once("finish",p),e.emit("pipe",r),i.flowing||(a("pipe resume"),r.resume()),e},C.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=F(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},C.prototype.on=function(e,t){var r=i.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,a("on readable",n.length,n.reading),n.length?k(this):n.reading||I.default.nextTick(_,this)),r},C.prototype.addListener=C.prototype.on,C.prototype.removeListener=function(e,t){var r=i.prototype.removeListener.call(this,e,t);return"readable"===e&&I.default.nextTick(R,this),r},C.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&I.default.nextTick(R,this),t},C.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,I.default.nextTick(U,e,t))}(this,e)),e.paused=!1,this},C.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},C.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(a("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(a("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||!(r.objectMode||i&&i.length))||(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){a("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(C.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=xTe()),l(this)}),Object.defineProperty(C.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(C.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(C.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),C._fromList=W,Object.defineProperty(C.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(C.from=function(e,t){return void 0===d&&(d=ETe()),d(C,e,t)})})),mY=W(((e,t)=>{"use strict";m(),t.exports=u;var r=Kx().codes,n=r.ERR_METHOD_NOT_IMPLEMENTED,i=r.ERR_MULTIPLE_CALLBACK,o=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,a=Hx();function c(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);a.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",l)}function l(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,r){d(e,t,r)}))}function d(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new o;return e.push(null)}un()(u,a),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,a.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,r){r(new n("_transform()"))},u.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){a.prototype._destroy.call(this,e,(function(e){t(e)}))}})),LTe=W(((e,t)=>{"use strict";m(),t.exports=n;var r=mY();function n(e){if(!(this instanceof n))return new n(e);r.call(this,e)}un()(n,r),n.prototype._transform=function(e,t,r){r(null,e)}})),HTe=W(((e,t)=>{"use strict";var r;m();var n=Kx().codes,i=n.ERR_MISSING_ARGS,o=n.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function a(e){e()}function c(e,t){return e.pipe(t)}t.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var u=function(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():s}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new i("streams");var l,d=t.map((function(e,n){var i=n<t.length-1;return function(e,t,n,i){i=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(i);var s=!1;e.on("close",(function(){s=!0})),void 0===r&&(r=jN()),r(e,{readable:t,writable:n},(function(e){if(e)return i(e);s=!0,i()}));var a=!1;return function(t){if(!s&&!a){if(a=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();i(t||new o("pipe"))}}}(e,i,n>0,(function(e){l||(l=e),e&&d.forEach(a),!i&&(d.forEach(a),u(l))}))}));return t.reduce(c)}})),wY=W(((e,t)=>{m(),t.exports=n;var r=MT().EventEmitter;function n(){r.call(this)}un()(n,r),n.Readable=iY(),n.Writable=tY(),n.Duplex=Hx(),n.Transform=mY(),n.PassThrough=LTe(),n.finished=jN(),n.pipeline=HTe(),n.Stream=n,n.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),!e._isStdio&&(!t||!1!==t.end)&&(n.on("end",a),n.on("close",c));var s=!1;function a(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",c),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",u),e.on("error",u),n.on("end",l),n.on("close",l),e.on("close",l),e.emit("pipe",n),e}})),xY=W(((e,t)=>{"use strict";m();var r=vn().Buffer,n=wY().Transform;function i(e){n.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}un()(i,n),i.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},i.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)};var o=typeof Uint8Array<"u",s=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(r.prototype instanceof Uint8Array||r.TYPED_ARRAY_SUPPORT);i.prototype.update=function(e,t){if(this._finalized)throw new Error("Digest already called");e=function(e,t){if(e instanceof r)return e;if("string"==typeof e)return r.from(e,t);if(s&&ArrayBuffer.isView(e)){if(0===e.byteLength)return r.alloc(0);var n=r.from(e.buffer,e.byteOffset,e.byteLength);if(n.byteLength===e.byteLength)return n}if(o&&e instanceof Uint8Array||r.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return r.from(e);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(e,t);for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)n[a++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var c=0,u=8*e.length;u>0;++c)this._length[c]+=u,(u=this._length[c]/4294967296|0)>0&&(this._length[c]-=4294967296*u);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=i})),tD=W(((e,t)=>{"use strict";m();var r=un(),n=xY(),i=vn().Buffer,o=new Array(16);function s(){n.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function a(e,t){return e<<t|e>>>32-t}function c(e,t,r,n,i,o,s){return a(e+(t&r|~t&n)+i+o|0,s)+t|0}function u(e,t,r,n,i,o,s){return a(e+(t&n|r&~n)+i+o|0,s)+t|0}function l(e,t,r,n,i,o,s){return a(e+(t^r^n)+i+o|0,s)+t|0}function d(e,t,r,n,i,o,s){return a(e+(r^(t|~n))+i+o|0,s)+t|0}r(s,n),s.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,s=this._d;r=c(r,n,i,s,e[0],3614090360,7),s=c(s,r,n,i,e[1],3905402710,12),i=c(i,s,r,n,e[2],606105819,17),n=c(n,i,s,r,e[3],3250441966,22),r=c(r,n,i,s,e[4],4118548399,7),s=c(s,r,n,i,e[5],1200080426,12),i=c(i,s,r,n,e[6],2821735955,17),n=c(n,i,s,r,e[7],4249261313,22),r=c(r,n,i,s,e[8],1770035416,7),s=c(s,r,n,i,e[9],2336552879,12),i=c(i,s,r,n,e[10],4294925233,17),n=c(n,i,s,r,e[11],2304563134,22),r=c(r,n,i,s,e[12],1804603682,7),s=c(s,r,n,i,e[13],4254626195,12),i=c(i,s,r,n,e[14],2792965006,17),r=u(r,n=c(n,i,s,r,e[15],1236535329,22),i,s,e[1],4129170786,5),s=u(s,r,n,i,e[6],3225465664,9),i=u(i,s,r,n,e[11],643717713,14),n=u(n,i,s,r,e[0],3921069994,20),r=u(r,n,i,s,e[5],3593408605,5),s=u(s,r,n,i,e[10],38016083,9),i=u(i,s,r,n,e[15],3634488961,14),n=u(n,i,s,r,e[4],3889429448,20),r=u(r,n,i,s,e[9],568446438,5),s=u(s,r,n,i,e[14],3275163606,9),i=u(i,s,r,n,e[3],4107603335,14),n=u(n,i,s,r,e[8],1163531501,20),r=u(r,n,i,s,e[13],2850285829,5),s=u(s,r,n,i,e[2],4243563512,9),i=u(i,s,r,n,e[7],1735328473,14),r=l(r,n=u(n,i,s,r,e[12],2368359562,20),i,s,e[5],4294588738,4),s=l(s,r,n,i,e[8],2272392833,11),i=l(i,s,r,n,e[11],1839030562,16),n=l(n,i,s,r,e[14],4259657740,23),r=l(r,n,i,s,e[1],2763975236,4),s=l(s,r,n,i,e[4],1272893353,11),i=l(i,s,r,n,e[7],4139469664,16),n=l(n,i,s,r,e[10],3200236656,23),r=l(r,n,i,s,e[13],681279174,4),s=l(s,r,n,i,e[0],3936430074,11),i=l(i,s,r,n,e[3],3572445317,16),n=l(n,i,s,r,e[6],76029189,23),r=l(r,n,i,s,e[9],3654602809,4),s=l(s,r,n,i,e[12],3873151461,11),i=l(i,s,r,n,e[15],530742520,16),r=d(r,n=l(n,i,s,r,e[2],3299628645,23),i,s,e[0],4096336452,6),s=d(s,r,n,i,e[7],1126891415,10),i=d(i,s,r,n,e[14],2878612391,15),n=d(n,i,s,r,e[5],4237533241,21),r=d(r,n,i,s,e[12],1700485571,6),s=d(s,r,n,i,e[3],2399980690,10),i=d(i,s,r,n,e[10],4293915773,15),n=d(n,i,s,r,e[1],2240044497,21),r=d(r,n,i,s,e[8],1873313359,6),s=d(s,r,n,i,e[15],4264355552,10),i=d(i,s,r,n,e[6],2734768916,15),n=d(n,i,s,r,e[13],1309151649,21),r=d(r,n,i,s,e[4],4149444226,6),s=d(s,r,n,i,e[11],3174756917,10),i=d(i,s,r,n,e[2],718787259,15),n=d(n,i,s,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+s|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=s})),nD=W(((e,t)=>{"use strict";m();var r=Go().Buffer,n=un(),i=xY(),o=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],a=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],u=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],l=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function h(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}function p(e,t,r,n,i,o,s,a){return f(e+(t^r^n)+o+s|0,a)+i|0}function g(e,t,r,n,i,o,s,a){return f(e+(t&r|~t&n)+o+s|0,a)+i|0}function y(e,t,r,n,i,o,s,a){return f(e+((t|~r)^n)+o+s|0,a)+i|0}function b(e,t,r,n,i,o,s,a){return f(e+(t&n|r&~n)+o+s|0,a)+i|0}function w(e,t,r,n,i,o,s,a){return f(e+(t^(r|~n))+o+s|0,a)+i|0}n(h,i),h.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,h=0|this._d,m=0|this._e,v=0|this._a,A=0|this._b,E=0|this._c,T=0|this._d,C=0|this._e,S=0;S<80;S+=1){var I,O;S<16?(I=p(r,n,i,h,m,e[s[S]],l[0],c[S]),O=w(v,A,E,T,C,e[a[S]],d[0],u[S])):S<32?(I=g(r,n,i,h,m,e[s[S]],l[1],c[S]),O=b(v,A,E,T,C,e[a[S]],d[1],u[S])):S<48?(I=y(r,n,i,h,m,e[s[S]],l[2],c[S]),O=y(v,A,E,T,C,e[a[S]],d[2],u[S])):S<64?(I=b(r,n,i,h,m,e[s[S]],l[3],c[S]),O=g(v,A,E,T,C,e[a[S]],d[3],u[S])):(I=w(r,n,i,h,m,e[s[S]],l[4],c[S]),O=p(v,A,E,T,C,e[a[S]],d[4],u[S])),r=m,m=h,h=f(i,10),i=n,n=I,v=C,C=T,T=f(E,10),E=A,A=O}var M=this._b+i+T|0;this._b=this._c+h+C|0,this._c=this._d+m+v|0,this._d=this._e+r+A|0,this._e=this._a+n+E|0,this._a=M},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=h})),Jx=W(((e,t)=>{m();var r=vn().Buffer;function n(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,o=e.length,s=this._len,a=0;a<o;){for(var c=s%i,u=Math.min(o-a,i-c),l=0;l<u;l++)n[c+l]=e[a+l];a+=u,(s+=u)%i==0&&this._update(n)}return this._len+=o,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n})),sSe=W(((e,t)=>{m();var r=un(),n=Jx(),i=vn().Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function a(){this.init(),this._w=s,n.call(this,64,56)}function c(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}r(a,n),a.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},a.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,s=0|this._d,a=0|this._e,d=0;d<16;++d)t[d]=e.readInt32BE(4*d);for(;d<80;++d)t[d]=t[d-3]^t[d-8]^t[d-14]^t[d-16];for(var h=0;h<80;++h){var f=~~(h/20),p=c(r)+l(f,n,i,s)+a+t[h]+o[f]|0;a=s,s=i,i=u(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=a+this._e|0},a.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=a})),uSe=W(((e,t)=>{m();var r=un(),n=Jx(),i=vn().Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function a(){this.init(),this._w=s,n.call(this,64,56)}function c(e){return e<<1|e>>>31}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}r(a,n),a.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},a.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,s=0|this._d,a=0|this._e,h=0;h<16;++h)t[h]=e.readInt32BE(4*h);for(;h<80;++h)t[h]=c(t[h-3]^t[h-8]^t[h-14]^t[h-16]);for(var f=0;f<80;++f){var p=~~(f/20),g=u(r)+d(p,n,i,s)+a+t[f]+o[p]|0;a=s,s=i,i=l(n),n=r,r=g}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=a+this._e|0},a.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=a})),EY=W(((e,t)=>{m();var r=un(),n=Jx(),i=vn().Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function a(){this.init(),this._w=s,n.call(this,64,56)}function c(e,t,r){return r^e&(t^r)}function u(e,t,r){return e&t|r&(e|t)}function l(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function f(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}r(a,n),a.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},a.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,s=0|this._d,a=0|this._e,p=0|this._f,g=0|this._g,y=0|this._h,m=0;m<16;++m)t[m]=e.readInt32BE(4*m);for(;m<64;++m)t[m]=f(t[m-2])+t[m-7]+h(t[m-15])+t[m-16]|0;for(var b=0;b<64;++b){var w=y+d(a)+c(a,p,g)+o[b]+t[b]|0,v=l(r)+u(r,n,i)|0;y=g,g=p,p=a,a=s+w|0,s=i,i=n,n=r,r=w+v|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=s+this._d|0,this._e=a+this._e|0,this._f=p+this._f|0,this._g=g+this._g|0,this._h=y+this._h|0},a.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=a})),hSe=W(((e,t)=>{m();var r=un(),n=EY(),i=Jx(),o=vn().Buffer,s=new Array(64);function a(){this.init(),this._w=s,i.call(this,64,56)}r(a,n),a.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},a.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=a})),TY=W(((e,t)=>{m();var r=un(),n=Jx(),i=vn().Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function a(){this.init(),this._w=s,n.call(this,128,112)}function c(e,t,r){return r^e&(t^r)}function u(e,t,r){return e&t|r&(e|t)}function l(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function p(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0<t>>>0?1:0}r(a,n),a.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},a.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,s=0|this._dh,a=0|this._eh,m=0|this._fh,b=0|this._gh,w=0|this._hh,v=0|this._al,A=0|this._bl,E=0|this._cl,T=0|this._dl,C=0|this._el,S=0|this._fl,I=0|this._gl,O=0|this._hl,M=0;M<32;M+=2)t[M]=e.readInt32BE(4*M),t[M+1]=e.readInt32BE(4*M+4);for(;M<160;M+=2){var P=t[M-30],k=t[M-30+1],B=h(P,k),x=f(k,P),N=p(P=t[M-4],k=t[M-4+1]),R=g(k,P),_=t[M-14],U=t[M-14+1],D=t[M-32],W=t[M-32+1],L=x+U|0,z=B+_+y(L,x)|0;z=(z=z+N+y(L=L+R|0,R)|0)+D+y(L=L+W|0,W)|0,t[M]=z,t[M+1]=L}for(var F=0;F<160;F+=2){z=t[F],L=t[F+1];var K=u(r,n,i),j=u(v,A,E),H=l(r,v),G=l(v,r),V=d(a,C),q=d(C,a),J=o[F],Y=o[F+1],X=c(a,m,b),Q=c(C,S,I),Z=O+q|0,$=w+V+y(Z,O)|0;$=($=($=$+X+y(Z=Z+Q|0,Q)|0)+J+y(Z=Z+Y|0,Y)|0)+z+y(Z=Z+L|0,L)|0;var ee=G+j|0,te=H+K+y(ee,G)|0;w=b,O=I,b=m,I=S,m=a,S=C,a=s+$+y(C=T+Z|0,T)|0,s=i,T=E,i=n,E=A,n=r,A=v,r=$+te+y(v=Z+ee|0,Z)|0}this._al=this._al+v|0,this._bl=this._bl+A|0,this._cl=this._cl+E|0,this._dl=this._dl+T|0,this._el=this._el+C|0,this._fl=this._fl+S|0,this._gl=this._gl+I|0,this._hl=this._hl+O|0,this._ah=this._ah+r+y(this._al,v)|0,this._bh=this._bh+n+y(this._bl,A)|0,this._ch=this._ch+i+y(this._cl,E)|0,this._dh=this._dh+s+y(this._dl,T)|0,this._eh=this._eh+a+y(this._el,C)|0,this._fh=this._fh+m+y(this._fl,S)|0,this._gh=this._gh+b+y(this._gl,I)|0,this._hh=this._hh+w+y(this._hl,O)|0},a.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},t.exports=a})),ASe=W(((e,t)=>{m();var r=un(),n=TY(),i=Jx(),o=vn().Buffer,s=new Array(160);function a(){this.init(),this._w=s,i.call(this,128,112)}r(a,n),a.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},a.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},t.exports=a})),aD=W(((e,t)=>{m(),(e=t.exports=function(t){t=t.toLowerCase();var r=e[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r}).sha=sSe(),e.sha1=uSe(),e.sha224=hSe(),e.sha256=EY(),e.sha384=ASe(),e.sha512=TY()})),Ny=W(((e,t)=>{"use strict";m();var r=vn().Buffer,n=wY().Transform,i=qN().StringDecoder;function o(e){n.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}un()(o,n);var s=typeof Uint8Array<"u",a=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(r.prototype instanceof Uint8Array||r.TYPED_ARRAY_SUPPORT);o.prototype.update=function(e,t,n){var i=function(e,t){if(e instanceof r)return e;if("string"==typeof e)return r.from(e,t);if(a&&ArrayBuffer.isView(e)){if(0===e.byteLength)return r.alloc(0);var n=r.from(e.buffer,e.byteOffset,e.byteLength);if(n.byteLength===e.byteLength)return n}if(s&&e instanceof Uint8Array||r.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return r.from(e);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(e,t),o=this._update(i);return this.hashMode?this:(n&&(o=this._toString(o,n)),o)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can’t switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=o})),VT=W(((e,t)=>{"use strict";m();var r=un(),n=tD(),i=nD(),o=aD(),s=Ny();function a(e){s.call(this,"digest"),this._hash=e}r(a,s),a.prototype._update=function(e){this._hash.update(e)},a.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new n:"rmd160"===e||"ripemd160"===e?new i:new a(o(e))}})),BSe=W(((e,t)=>{"use strict";m();var r=un(),n=vn().Buffer,i=Ny(),o=n.alloc(128),s=64;function a(e,t){i.call(this,"digest"),"string"==typeof t&&(t=n.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=n.concat([t,o],s));for(var r=this._ipad=n.allocUnsafe(s),a=this._opad=n.allocUnsafe(s),c=0;c<s;c++)r[c]=54^t[c],a[c]=92^t[c];this._hash=[r]}r(a,i),a.prototype._update=function(e){this._hash.push(e)},a.prototype._final=function(){var e=this._alg(n.concat(this._hash));return this._alg(n.concat([this._opad,e]))},t.exports=a})),SY=W(((e,t)=>{m();var r=tD();t.exports=function(e){return(new r).update(e).digest()}})),OY=W(((e,t)=>{"use strict";m();var r=un(),n=BSe(),i=Ny(),o=vn().Buffer,s=SY(),a=nD(),c=aD(),u=o.alloc(128);function l(e,t){i.call(this,"digest"),"string"==typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new a:c(e)).update(t).digest():t.length<r&&(t=o.concat([t,u],r));for(var n=this._ipad=o.allocUnsafe(r),s=this._opad=o.allocUnsafe(r),l=0;l<r;l++)n[l]=54^t[l],s[l]=92^t[l];this._hash="rmd160"===e?new a:c(e),this._hash.update(n)}r(l,i),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new a:c(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new l("rmd160",t):"md5"===e?new n(s,t):new l(e,t)}})),PY=W(((e,t)=>{t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}})),NSe=W(((e,t)=>{"use strict";m(),t.exports=PY()})),BY=W(((e,t)=>{m();var r=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}})),MY=W(((e,t)=>{var r;m(),global.process&&global.process.browser?r="utf-8":global.process&&global.process.version?r=parseInt(I.default.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":r="utf-8",t.exports=r})),_Y=W(((e,t)=>{m();var r=vn().Buffer;t.exports=function(e,t,n){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw new TypeError(n+" must be a string, a Buffer, a typed array or a DataView")}})),RY=W(((e,t)=>{m();var r=SY(),n=nD(),i=aD(),o=vn().Buffer,s=BY(),a=MY(),c=_Y(),u=o.alloc(128),l={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,s){var a=function(e){function t(t){return i(e).update(t).digest()}function o(e){return(new n).update(e).digest()}return"rmd160"===e||"ripemd160"===e?o:"md5"===e?r:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=a(t):t.length<c&&(t=o.concat([t,u],c));for(var d=o.allocUnsafe(c+l[e]),h=o.allocUnsafe(c+l[e]),f=0;f<c;f++)d[f]=54^t[f],h[f]=92^t[f];var p=o.allocUnsafe(c+s+4);d.copy(p,0,0,c),this.ipad1=p,this.ipad2=d,this.opad=h,this.alg=e,this.blocksize=c,this.hash=a,this.size=l[e]}d.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,n,i){s(r,n);var u=new d(i=i||"sha1",e=c(e,a,"Password"),(t=c(t,a,"Salt")).length),h=o.allocUnsafe(n),f=o.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var p=0,g=l[i],y=Math.ceil(n/g),m=1;m<=y;m++){f.writeUInt32BE(m,t.length);for(var b=u.run(f,u.ipad1),w=b,v=1;v<r;v++){w=u.run(w,u.ipad2);for(var A=0;A<g;A++)b[A]^=w[A]}b.copy(h,p),p+=g}return h}})),YSe=W(((e,t)=>{m();var r,n,i=vn().Buffer,o=BY(),s=MY(),a=RY(),c=_Y(),u=global.crypto&&global.crypto.subtle,l={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(){return n||(n=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function f(e,t,r,n,o){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)})).then((function(e){return i.from(e)}))}t.exports=function(e,t,n,p,g,y){"function"==typeof g&&(y=g,g=void 0);var m=l[(g=g||"sha1").toLowerCase()];if(m&&"function"==typeof global.Promise){if(o(n,p),e=c(e,s,"Password"),t=c(t,s,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){h()((function(){t(null,e)}))}),(function(e){h()((function(){t(e)}))}))}(function(e){if(global.process&&!global.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var t=f(r=r||i.alloc(8),r,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=t,t}(m).then((function(r){return r?f(e,t,n,p,m):a(e,t,n,p,g)})),y)}else h()((function(){var r;try{r=a(e,t,n,p,g)}catch(e){return y(e)}y(null,r)}))}})),LY=W((e=>{m(),e.pbkdf2=YSe(),e.pbkdf2Sync=RY()})),FY=W((e=>{"use strict";m(),e.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},e.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},e.ip=function(e,t,r,n){for(var i=0,o=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1;for(a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1}r[n+0]=i>>>0,r[n+1]=o>>>0},e.rip=function(e,t,r,n){for(var i=0,o=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.pc1=function(e,t,r,n){for(var i=0,o=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var t=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(e,r,n,i){for(var o=0,s=0,a=t.length>>>1,c=0;c<a;c++)o<<=1,o|=e>>>t[c]&1;for(c=a;c<t.length;c++)s<<=1,s|=r>>>t[c]&1;n[i+0]=o>>>0,n[i+1]=s>>>0},e.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(e,t){for(var n=0,i=0;i<4;i++){n<<=4,n|=r[64*i+(e>>>18-6*i&63)]}for(i=0;i<4;i++){n<<=4,n|=r[256+64*i+(t>>>18-6*i&63)]}return n>>>0};var n=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(e){for(var t=0,r=0;r<n.length;r++)t<<=1,t|=e>>>n[r]&1;return t>>>0},e.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}})),Gf=W(((e,t)=>{function r(e,t){if(!e)throw new Error(t||"Assertion failed")}m(),t.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}})),pD=W(((e,t)=>{"use strict";m();var r=Gf();function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==e.padding}t.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},n.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},n.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},n.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},n.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},n.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},n.prototype._unpad=function(e){return e},n.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}})),WY=W(((e,t)=>{"use strict";m();var r=Gf(),n=un(),i=FY(),o=pD();function s(){this.tmp=new Array(2),this.keys=null}function a(e){o.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}n(a,o),t.exports=a,a.create=function(e){return new a(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];a.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=i.readUInt32BE(t,0),o=i.readUInt32BE(t,4);i.pc1(n,o,e.tmp,0),n=e.tmp[0],o=e.tmp[1];for(var s=0;s<e.keys.length;s+=2){var a=c[s>>>1];n=i.r28shl(n,a),o=i.r28shl(o,a),i.pc2(n,o,e.keys,s)}},a.prototype._update=function(e,t,r,n){var o=this._desState,s=i.readUInt32BE(e,t),a=i.readUInt32BE(e,t+4);i.ip(s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],"encrypt"===this.type?this._encrypt(o,s,a,o.tmp,0):this._decrypt(o,s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],i.writeUInt32BE(r,s,n),i.writeUInt32BE(r,a,n+4)},a.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},a.prototype._unpad=function(e){if(!1===this.padding)return e;for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},a.prototype._encrypt=function(e,t,r,n,o){for(var s=t,a=r,c=0;c<e.keys.length;c+=2){var u=e.keys[c],l=e.keys[c+1];i.expand(a,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var d=i.substitute(u,l),h=a;a=(s^i.permute(d))>>>0,s=h}i.rip(a,s,n,o)},a.prototype._decrypt=function(e,t,r,n,o){for(var s=r,a=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];i.expand(s,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var d=i.substitute(u,l),h=s;s=(a^i.permute(d))>>>0,a=h}i.rip(s,a,n,o)}})),s3e=W((e=>{"use strict";m();var t=Gf(),r=un(),n={};function i(e){t.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var r=0;r<this.iv.length;r++)this.iv[r]=e[r]}e.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}r(t,e);for(var i=Object.keys(n),o=0;o<i.length;o++){var s=i[o];t.prototype[s]=n[s]}return t.create=function(e){return new t(e)},t},n._cbcInit=function(){var e=new i(this.options.iv);this._cbcState=e},n._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,s=i.iv;if("encrypt"===this.type){for(var a=0;a<this.blockSize;a++)s[a]^=e[t+a];o._update.call(this,s,0,r,n);for(a=0;a<this.blockSize;a++)s[a]=r[n+a]}else{o._update.call(this,e,t,r,n);for(a=0;a<this.blockSize;a++)r[n+a]^=s[a];for(a=0;a<this.blockSize;a++)s[a]=e[t+a]}}})),u3e=W(((e,t)=>{"use strict";m();var r=Gf(),n=un(),i=pD(),o=WY();function s(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),s=t.slice(16,24);this.ciphers="encrypt"===e?[o.create({type:"encrypt",key:n}),o.create({type:"decrypt",key:i}),o.create({type:"encrypt",key:s})]:[o.create({type:"decrypt",key:s}),o.create({type:"encrypt",key:i}),o.create({type:"decrypt",key:n})]}function a(e){i.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}n(a,i),t.exports=a,a.create=function(e){return new a(e)},a.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},a.prototype._pad=o.prototype._pad,a.prototype._unpad=o.prototype._unpad})),l3e=W((e=>{"use strict";m(),e.utils=FY(),e.Cipher=pD(),e.DES=WY(),e.CBC=s3e(),e.EDE=u3e()})),h3e=W(((e,t)=>{m();var r=Ny(),n=l3e(),i=un(),o=vn().Buffer,s={"des-ede3-cbc":n.CBC.instantiate(n.EDE),"des-ede3":n.EDE,"des-ede-cbc":n.CBC.instantiate(n.EDE),"des-ede":n.EDE,"des-cbc":n.CBC.instantiate(n.DES),"des-ecb":n.DES};function a(e){r.call(this);var t,n=e.mode.toLowerCase(),i=s[n];t=e.decrypt?"decrypt":"encrypt";var a=e.key;o.isBuffer(a)||(a=o.from(a)),("des-ede"===n||"des-ede-cbc"===n)&&(a=o.concat([a,a.slice(0,8)]));var c=e.iv;o.isBuffer(c)||(c=o.from(c)),this._des=i.create({key:a,iv:c,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=a,i(a,r),a.prototype._update=function(e){return o.from(this._des.update(e))},a.prototype._final=function(){return o.from(this._des.final())}})),p3e=W((e=>{m(),e.encrypt=function(e,t){return e._cipher.encryptBlock(t)},e.decrypt=function(e,t){return e._cipher.decryptBlock(t)}})),YT=W(((e,t)=>{m(),t.exports=function(e,t){for(var r=Math.min(e.length,t.length),n=new P.Buffer(r),i=0;i<r;++i)n[i]=e[i]^t[i];return n}})),m3e=W((e=>{m();var t=YT();e.encrypt=function(e,r){var n=t(r,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},e.decrypt=function(e,r){var n=e._prev;e._prev=r;var i=e._cipher.decryptBlock(r);return t(i,n)}})),w3e=W((e=>{m();var t=vn().Buffer,r=YT();function n(e,n,i){var o=n.length,s=r(n,e._cache);return e._cache=e._cache.slice(o),e._prev=t.concat([e._prev,i?n:s]),s}e.encrypt=function(e,r,i){for(var o,s=t.allocUnsafe(0);r.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=t.allocUnsafe(0)),!(e._cache.length<=r.length)){s=t.concat([s,n(e,r,i)]);break}o=e._cache.length,s=t.concat([s,n(e,r.slice(0,o),i)]),r=r.slice(o)}return s}})),A3e=W((e=>{m();var t=vn().Buffer;function r(e,r,n){var i=e._cipher.encryptBlock(e._prev)[0]^r;return e._prev=t.concat([e._prev.slice(1),t.from([n?r:i])]),i}e.encrypt=function(e,n,i){for(var o=n.length,s=t.allocUnsafe(o),a=-1;++a<o;)s[a]=r(e,n[a],i);return s}})),T3e=W((e=>{m();var t=vn().Buffer;function r(e,t,r){for(var i,o,s=-1,a=0;++s<8;)i=t&1<<7-s?128:0,a+=(128&(o=e._cipher.encryptBlock(e._prev)[0]^i))>>s%8,e._prev=n(e._prev,r?i:o);return a}function n(e,r){var n=e.length,i=-1,o=t.allocUnsafe(e.length);for(e=t.concat([e,t.from([r])]);++i<n;)o[i]=e[i]<<1|e[i+1]>>7;return o}e.encrypt=function(e,n,i){for(var o=n.length,s=t.allocUnsafe(o),a=-1;++a<o;)s[a]=r(e,n[a],i);return s}})),C3e=W((e=>{m();var t=YT();function r(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}e.encrypt=function(e,n){for(;e._cache.length<n.length;)e._cache=P.Buffer.concat([e._cache,r(e)]);var i=e._cache.slice(0,n.length);return e._cache=e._cache.slice(n.length),t(n,i)}})),qY=W(((e,t)=>{m(),t.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}})),GY=W((e=>{m();var t=YT(),r=vn().Buffer,n=qY();function i(e){var t=e._cipher.encryptBlockRaw(e._prev);return n(e._prev),t}e.encrypt=function(e,n){var o=Math.ceil(n.length/16),s=e._cache.length;e._cache=r.concat([e._cache,r.allocUnsafe(16*o)]);for(var a=0;a<o;a++){var c=i(e),u=s+16*a;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var l=e._cache.slice(0,n.length);return e._cache=e._cache.slice(n.length),t(n,l)}})),VY=W(((e,t)=>{t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}})),vD=W(((e,t)=>{m();var r,n={ECB:p3e(),CBC:m3e(),CFB:w3e(),CFB8:A3e(),CFB1:T3e(),OFB:C3e(),CTR:GY(),GCM:GY()},i=VY();for(r in i)i[r].module=n[i[r].mode];t.exports=i})),AI=W(((e,t)=>{m();var r=vn().Buffer;function n(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function i(e){for(;0<e.length;e++)e[0]=0}function o(e,t,r,n,i){for(var o,s,a,c,u=r[0],l=r[1],d=r[2],h=r[3],f=e[0]^t[0],p=e[1]^t[1],g=e[2]^t[2],y=e[3]^t[3],m=4,b=1;b<i;b++)o=u[f>>>24]^l[p>>>16&255]^d[g>>>8&255]^h[255&y]^t[m++],s=u[p>>>24]^l[g>>>16&255]^d[y>>>8&255]^h[255&f]^t[m++],a=u[g>>>24]^l[y>>>16&255]^d[f>>>8&255]^h[255&p]^t[m++],c=u[y>>>24]^l[f>>>16&255]^d[p>>>8&255]^h[255&g]^t[m++],f=o,p=s,g=a,y=c;return o=(n[f>>>24]<<24|n[p>>>16&255]<<16|n[g>>>8&255]<<8|n[255&y])^t[m++],s=(n[p>>>24]<<24|n[g>>>16&255]<<16|n[y>>>8&255]<<8|n[255&f])^t[m++],a=(n[g>>>24]<<24|n[y>>>16&255]<<16|n[f>>>8&255]<<8|n[255&p])^t[m++],c=(n[y>>>24]<<24|n[f>>>16&255]<<16|n[p>>>8&255]<<8|n[255&g])^t[m++],[o>>>=0,s>>>=0,a>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],a=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,r[s]=u,n[u]=s;var l=e[s],d=e[l],h=e[d],f=257*e[u]^16843008*u;i[0][s]=f<<24|f>>>8,i[1][s]=f<<16|f>>>16,i[2][s]=f<<8|f>>>24,i[3][s]=f,f=16843009*h^65537*d^257*l^16843008*s,o[0][u]=f<<24|f>>>8,o[1][u]=f<<16|f>>>16,o[2][u]=f<<8|f>>>24,o[3][u]=f,0===s?s=a=1:(s=l^e[e[e[h^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function c(e){this._key=n(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var c=i[o-1];o%t==0?(c=c<<8|c>>>24,c=a.SBOX[c>>>24]<<24|a.SBOX[c>>>16&255]<<16|a.SBOX[c>>>8&255]<<8|a.SBOX[255&c],c^=s[o/t|0]<<24):t>6&&o%t==4&&(c=a.SBOX[c>>>24]<<24|a.SBOX[c>>>16&255]<<16|a.SBOX[c>>>8&255]<<8|a.SBOX[255&c]),i[o]=i[o-t]^c}for(var u=[],l=0;l<n;l++){var d=n-l,h=i[d-(l%4?0:4)];u[l]=l<4||d<=4?h:a.INV_SUB_MIX[0][a.SBOX[h>>>24]]^a.INV_SUB_MIX[1][a.SBOX[h>>>16&255]]^a.INV_SUB_MIX[2][a.SBOX[h>>>8&255]]^a.INV_SUB_MIX[3][a.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},c.prototype.encryptBlockRaw=function(e){return o(e=n(e),this._keySchedule,a.SUB_MIX,a.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},c.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var i=o(e,this._invKeySchedule,a.INV_SUB_MIX,a.INV_SBOX,this._nRounds),s=r.allocUnsafe(16);return s.writeUInt32BE(i[0],0),s.writeUInt32BE(i[3],4),s.writeUInt32BE(i[2],8),s.writeUInt32BE(i[1],12),s},c.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},t.exports.AES=c})),N3e=W(((e,t)=>{m();var r=vn().Buffer,n=r.alloc(16,0);function i(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function o(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}o.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},o.prototype._multiply=function(){for(var e,t,r=function(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}(this.h),n=[0,0,0,0],o=-1;++o<128;){for(!!(this.state[~~(o/8)]&1<<7-o%8)&&(n[0]^=r[0],n[1]^=r[1],n[2]^=r[2],n[3]^=r[3]),t=!!(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,t&&(r[0]=r[0]^225<<24)}this.state=i(n)},o.prototype.update=function(e){this.cache=r.concat([this.cache,e]);for(var t;this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},o.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,n],16)),this.ghash(i([0,e,0,t])),this.state},t.exports=o})),QY=W(((e,t)=>{m();var r=AI(),n=vn().Buffer,i=Ny(),o=un(),s=N3e(),a=YT(),c=qY();function u(e,t,o,a){i.call(this);var u=n.alloc(4,0);this._cipher=new r.AES(t);var l=this._cipher.encryptBlock(u);this._ghash=new s(l),o=function(e,t,r){if(12===t.length)return e._finID=n.concat([t,n.from([0,0,0,1])]),n.concat([t,n.from([0,0,0,2])]);var i=new s(r),o=t.length,a=o%16;i.update(t),a&&(a=16-a,i.update(n.alloc(a,0))),i.update(n.alloc(8,0));var u=8*o,l=n.alloc(8);l.writeUIntBE(u,0,8),i.update(l),e._finID=i.state;var d=n.from(e._finID);return c(d),d}(this,o,l),this._prev=n.from(o),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(u,i),u.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=n.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},u.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=a(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},u.prototype.getAuthTag=function(){if(this._decrypt||!n.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},u.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},u.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=u})),$Y=W(((e,t)=>{m();var r=AI(),n=vn().Buffer,i=Ny();function o(e,t,o,s){i.call(this),this._cipher=new r.AES(t),this._prev=n.from(o),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=s,this._mode=e}un()(o,i),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},t.exports=o})),TI=W(((e,t)=>{m();var r=vn().Buffer,n=tD();t.exports=function(e,t,i,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=i/8,a=r.alloc(s),c=r.alloc(o||0),u=r.alloc(0);s>0||o>0;){var l=new n;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var d=0;if(s>0){var h=a.length-s;d=Math.min(s,u.length),u.copy(a,h,0,d),s-=d}if(d<u.length&&o>0){var f=c.length-o,p=Math.min(o,u.length-d);u.copy(c,f,d,d+p),o-=p}}return u.fill(0),{key:a,iv:c}}})),j3e=W((e=>{m();var t=vD(),r=QY(),n=vn().Buffer,i=$Y(),o=Ny(),s=AI(),a=TI();function c(e,t,r){o.call(this),this._cache=new l,this._cipher=new s.AES(t),this._prev=n.from(r),this._mode=e,this._autopadding=!0}un()(c,o),c.prototype._update=function(e){this._cache.add(e);for(var t,r,i=[];t=this._cache.get();)r=this._mode.encrypt(this,t),i.push(r);return n.concat(i)};var u=n.alloc(16,16);function l(){this.cache=n.allocUnsafe(0)}function d(e,o,s){var a=t[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof o&&(o=n.from(o)),o.length!==a.key/8)throw new TypeError("invalid key length "+o.length);if("string"==typeof s&&(s=n.from(s)),"GCM"!==a.mode&&s.length!==a.iv)throw new TypeError("invalid iv length "+s.length);return"stream"===a.type?new i(a.module,o,s):"auth"===a.type?new r(a.module,o,s):new c(a.module,o,s)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(u))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},l.prototype.add=function(e){this.cache=n.concat([this.cache,e])},l.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},l.prototype.flush=function(){for(var e=16-this.cache.length,t=n.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return n.concat([this.cache,t])},e.createCipheriv=d,e.createCipher=function(e,r){var n=t[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=a(r,!1,n.key,n.iv);return d(e,i.key,i.iv)}})),X3e=W((e=>{m();var t=QY(),r=vn().Buffer,n=vD(),i=$Y(),o=Ny(),s=AI(),a=TI();function c(e,t,n){o.call(this),this._cache=new u,this._last=void 0,this._cipher=new s.AES(t),this._prev=r.from(n),this._mode=e,this._autopadding=!0}function u(){this.cache=r.allocUnsafe(0)}function l(e,o,s){var a=n[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof s&&(s=r.from(s)),"GCM"!==a.mode&&s.length!==a.iv)throw new TypeError("invalid iv length "+s.length);if("string"==typeof o&&(o=r.from(o)),o.length!==a.key/8)throw new TypeError("invalid key length "+o.length);return"stream"===a.type?new i(a.module,o,s,!0):"auth"===a.type?new t(a.module,o,s,!0):new c(a.module,o,s)}un()(c,o),c.prototype._update=function(e){this._cache.add(e);for(var t,n,i=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),i.push(n);return r.concat(i)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");for(var r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},u.prototype.add=function(e){this.cache=r.concat([this.cache,e])},u.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=a(t,!1,r.key,r.iv);return l(e,i.key,i.iv)},e.createDecipheriv=l})),TD=W((e=>{m();var t=j3e(),r=X3e(),n=VY();e.createCipher=e.Cipher=t.createCipher,e.createCipheriv=e.Cipheriv=t.createCipheriv,e.createDecipher=e.Decipher=r.createDecipher,e.createDecipheriv=e.Decipheriv=r.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(n)}})),Z3e=W((e=>{m(),e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}})),n6e=W((e=>{m();var t=h3e(),r=TD(),n=vD(),i=Z3e(),o=TI();function s(e,o,s){if(e=e.toLowerCase(),n[e])return r.createCipheriv(e,o,s);if(i[e])return new t({key:o,iv:s,mode:e});throw new TypeError("invalid suite type")}function a(e,o,s){if(e=e.toLowerCase(),n[e])return r.createDecipheriv(e,o,s);if(i[e])return new t({key:o,iv:s,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(e,t){var r,a;if(e=e.toLowerCase(),n[e])r=n[e].key,a=n[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,a=i[e].iv}var c=o(t,!1,r,a);return s(e,c.key,c.iv)},e.createCipheriv=e.Cipheriv=s,e.createDecipher=e.Decipher=function(e,t){var r,s;if(e=e.toLowerCase(),n[e])r=n[e].key,s=n[e].iv;else{if(!i[e])throw new TypeError("invalid suite type");r=8*i[e].key,s=i[e].iv}var c=o(t,!1,r,s);return a(e,c.key,c.iv)},e.createDecipheriv=e.Decipheriv=a,e.listCiphers=e.getCiphers=function(){return Object.keys(i).concat(r.getCiphers())}})),iQ=W(((e,t)=>{m(),function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Go().Buffer}catch{}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function a(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function c(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,l=r;l<a;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=c(e,l,e.length,t),l=0;l<s;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;l+=(s=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?u[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?g+n:u[h-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r(typeof o<"u"),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(o),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a<o;a++)u[a]=0}else{for(a=0;a<o-i;a++)u[a]=0;for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[o-a-1]=s}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return r(!(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return r(!(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return r(!(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(t=(0|r.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<r.length;s++)o=(t=(0|r.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,f=0|s[1],p=8191&f,g=f>>>13,y=0|s[2],m=8191&y,b=y>>>13,w=0|s[3],v=8191&w,A=w>>>13,E=0|s[4],T=8191&E,C=E>>>13,S=0|s[5],I=8191&S,O=S>>>13,M=0|s[6],P=8191&M,k=M>>>13,B=0|s[7],x=8191&B,N=B>>>13,R=0|s[8],_=8191&R,U=R>>>13,D=0|s[9],W=8191&D,L=D>>>13,z=0|a[0],F=8191&z,K=z>>>13,j=0|a[1],H=8191&j,G=j>>>13,V=0|a[2],q=8191&V,J=V>>>13,Y=0|a[3],X=8191&Y,Q=Y>>>13,Z=0|a[4],$=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,he=le>>>13,fe=0|a[9],pe=8191&fe,ge=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,K))+Math.imul(h,F)|0))<<13)|0;u=((o=Math.imul(h,K))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,F),i=(i=Math.imul(p,K))+Math.imul(g,F)|0,o=Math.imul(g,K);var me=(u+(n=n+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(h,H)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,F),i=(i=Math.imul(m,K))+Math.imul(b,F)|0,o=Math.imul(b,K),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,G)|0;var be=(u+(n=n+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(v,F),i=(i=Math.imul(v,K))+Math.imul(A,F)|0,o=Math.imul(A,K),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,J)|0;var we=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,F),i=(i=Math.imul(T,K))+Math.imul(C,F)|0,o=Math.imul(C,K),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Q)|0;var ve=(u+(n=n+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,F),i=(i=Math.imul(I,K))+Math.imul(O,F)|0,o=Math.imul(O,K),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0;var Ae=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(P,F),i=(i=Math.imul(P,K))+Math.imul(k,F)|0,o=Math.imul(k,K),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0;var Ee=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,F),i=(i=Math.imul(x,K))+Math.imul(N,F)|0,o=Math.imul(N,K),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,G)|0,n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,J)|0,n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Te=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(_,F),i=(i=Math.imul(_,K))+Math.imul(U,F)|0,o=Math.imul(U,K),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(m,oe)|0,i=(i=i+Math.imul(m,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(W,F),i=(i=Math.imul(W,K))+Math.imul(L,F)|0,o=Math.imul(L,K),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(U,H)|0,o=o+Math.imul(U,G)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Q)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,he)|0;var Se=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ge)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,ge)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(W,H),i=(i=Math.imul(W,G))+Math.imul(L,H)|0,o=Math.imul(L,G),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(U,q)|0,o=o+Math.imul(U,J)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,Q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(m,de)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,he)|0;var Ie=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(W,q),i=(i=Math.imul(W,J))+Math.imul(L,q)|0,o=Math.imul(L,J),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(U,X)|0,o=o+Math.imul(U,Q)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Oe=(u+(n=n+Math.imul(m,pe)|0)|0)+((8191&(i=(i=i+Math.imul(m,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(W,X),i=(i=Math.imul(W,Q))+Math.imul(L,X)|0,o=Math.imul(L,Q),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(U,$)|0,o=o+Math.imul(U,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Me=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(W,$),i=(i=Math.imul(W,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(U,re)|0,o=o+Math.imul(U,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,ge)|0)+Math.imul(C,pe)|0))<<13)|0;u=((o=o+Math.imul(C,ge)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(W,re),i=(i=Math.imul(W,ne))+Math.imul(L,re)|0,o=Math.imul(L,ne),n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(U,oe)|0,o=o+Math.imul(U,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,he)|0;var ke=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(W,oe),i=(i=Math.imul(W,se))+Math.imul(L,oe)|0,o=Math.imul(L,se),n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(U,ce)|0,o=o+Math.imul(U,ue)|0,n=n+Math.imul(x,de)|0,i=(i=i+Math.imul(x,he)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,he)|0;var Be=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(W,ce),i=(i=Math.imul(W,ue))+Math.imul(L,ce)|0,o=Math.imul(L,ue),n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(U,de)|0,o=o+Math.imul(U,he)|0;var xe=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,ge)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(W,de),i=(i=Math.imul(W,he))+Math.imul(L,de)|0,o=Math.imul(L,he);var Ne=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ge)|0)+Math.imul(U,pe)|0))<<13)|0;u=((o=o+Math.imul(U,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863;var Re=(u+(n=Math.imul(W,pe))|0)+((8191&(i=(i=Math.imul(W,ge))+Math.imul(L,pe)|0))<<13)|0;return u=((o=Math.imul(L,ge))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=ye,c[1]=me,c[2]=be,c[3]=we,c[4]=ve,c[5]=Ae,c[6]=Ee,c[7]=Te,c[8]=Ce,c[9]=Se,c[10]=Ie,c[11]=Oe,c[12]=Me,c[13]=Pe,c[14]=ke,c[15]=Be,c[16]=xe,c[17]=Ne,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=h),i.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),h=67108863&d;a=67108863&(h=h+a|0),i+=(s=(s=s+(d/67108864|0)|0)+(h>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<i;l+=a)for(var d=c,h=u,f=0;f<s;f++){var p=r[l+f],g=n[l+f],y=r[l+f+s],m=n[l+f+s],b=d*y-h*m;m=d*m+h*y,y=b,r[l+f]=p+y,n[l+f]=g+m,r[l+f+s]=p-y,n[l+f+s]=g-m,f!==a&&(b=c*d-u*h,h=c*h+u*d,d=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,u,n),this.transform(s,o,a,c,n,i),this.transform(u,o,l,d,n,i);for(var f=0;f<n;f++){var p=a[f]*l[f]-c[f]*d[f];c[f]=a[f]*d[f]+c[f]*l[f],a[f]=p}return this.conjugate(a,c,n),this.transform(a,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),p(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0!==s)if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var i,o=e.length+n;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(o,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var h=67108864*(0|n.words[o.length+d])+(0|n.words[o.length+d-1]);for(h=Math.min(h/s|0,67108863),n._ishlnsubmul(o,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;!(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;!(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a),s.isub(c)):(n.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var s=new i(1),a=new i(0),c=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(a)):(o.isub(n),a.isub(s))}return(t=0===n.cmpn(1)?s:a).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},n(b,m),b.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&r)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,m),n(v,m),n(A,m),A.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new A}return y[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(!(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);r(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),f=this.pow(e,o),p=s;0!==f.cmp(a);){for(var g=f,y=0;0!==g.cmp(a);y++)g=g.redSqr();r(y<p);var m=this.pow(d,new i(1).iushln(p-y-1));h=h.redMul(m),d=m.redSqr(),f=f.redMul(d),p=y}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;(o!==r[0]&&(o=this.sqr(o)),0!==d||0!==s)?(s<<=1,s|=d,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new T(e)},n(T,E),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)})),s6e=W(((e,t)=>{m(),function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Go().Buffer}catch{}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function a(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function c(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,l=r;l<a;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=c(e,l,e.length,t),l=0;l<s;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;l+=(s=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?u[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?g+n:u[h-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r(typeof o<"u"),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(o),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a<o;a++)u[a]=0}else{for(a=0;a<o-i;a++)u[a]=0;for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[o-a-1]=s}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return r(!(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return r(!(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return r(!(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(t=(0|r.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<r.length;s++)o=(t=(0|r.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,f=0|s[1],p=8191&f,g=f>>>13,y=0|s[2],m=8191&y,b=y>>>13,w=0|s[3],v=8191&w,A=w>>>13,E=0|s[4],T=8191&E,C=E>>>13,S=0|s[5],I=8191&S,O=S>>>13,M=0|s[6],P=8191&M,k=M>>>13,B=0|s[7],x=8191&B,N=B>>>13,R=0|s[8],_=8191&R,U=R>>>13,D=0|s[9],W=8191&D,L=D>>>13,z=0|a[0],F=8191&z,K=z>>>13,j=0|a[1],H=8191&j,G=j>>>13,V=0|a[2],q=8191&V,J=V>>>13,Y=0|a[3],X=8191&Y,Q=Y>>>13,Z=0|a[4],$=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,he=le>>>13,fe=0|a[9],pe=8191&fe,ge=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,K))+Math.imul(h,F)|0))<<13)|0;u=((o=Math.imul(h,K))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,F),i=(i=Math.imul(p,K))+Math.imul(g,F)|0,o=Math.imul(g,K);var me=(u+(n=n+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(h,H)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,F),i=(i=Math.imul(m,K))+Math.imul(b,F)|0,o=Math.imul(b,K),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,G)|0;var be=(u+(n=n+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(v,F),i=(i=Math.imul(v,K))+Math.imul(A,F)|0,o=Math.imul(A,K),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,J)|0;var we=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,F),i=(i=Math.imul(T,K))+Math.imul(C,F)|0,o=Math.imul(C,K),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Q)|0;var ve=(u+(n=n+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,F),i=(i=Math.imul(I,K))+Math.imul(O,F)|0,o=Math.imul(O,K),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0;var Ae=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(P,F),i=(i=Math.imul(P,K))+Math.imul(k,F)|0,o=Math.imul(k,K),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0;var Ee=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,F),i=(i=Math.imul(x,K))+Math.imul(N,F)|0,o=Math.imul(N,K),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,G)|0,n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,J)|0,n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Te=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(_,F),i=(i=Math.imul(_,K))+Math.imul(U,F)|0,o=Math.imul(U,K),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(m,oe)|0,i=(i=i+Math.imul(m,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(W,F),i=(i=Math.imul(W,K))+Math.imul(L,F)|0,o=Math.imul(L,K),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(U,H)|0,o=o+Math.imul(U,G)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Q)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,he)|0;var Se=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ge)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,ge)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(W,H),i=(i=Math.imul(W,G))+Math.imul(L,H)|0,o=Math.imul(L,G),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(U,q)|0,o=o+Math.imul(U,J)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,Q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(m,de)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,he)|0;var Ie=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(W,q),i=(i=Math.imul(W,J))+Math.imul(L,q)|0,o=Math.imul(L,J),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(U,X)|0,o=o+Math.imul(U,Q)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Oe=(u+(n=n+Math.imul(m,pe)|0)|0)+((8191&(i=(i=i+Math.imul(m,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(W,X),i=(i=Math.imul(W,Q))+Math.imul(L,X)|0,o=Math.imul(L,Q),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(U,$)|0,o=o+Math.imul(U,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Me=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(W,$),i=(i=Math.imul(W,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(U,re)|0,o=o+Math.imul(U,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,ge)|0)+Math.imul(C,pe)|0))<<13)|0;u=((o=o+Math.imul(C,ge)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(W,re),i=(i=Math.imul(W,ne))+Math.imul(L,re)|0,o=Math.imul(L,ne),n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(U,oe)|0,o=o+Math.imul(U,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,he)|0;var ke=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(W,oe),i=(i=Math.imul(W,se))+Math.imul(L,oe)|0,o=Math.imul(L,se),n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(U,ce)|0,o=o+Math.imul(U,ue)|0,n=n+Math.imul(x,de)|0,i=(i=i+Math.imul(x,he)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,he)|0;var Be=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(W,ce),i=(i=Math.imul(W,ue))+Math.imul(L,ce)|0,o=Math.imul(L,ue),n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(U,de)|0,o=o+Math.imul(U,he)|0;var xe=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,ge)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(W,de),i=(i=Math.imul(W,he))+Math.imul(L,de)|0,o=Math.imul(L,he);var Ne=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ge)|0)+Math.imul(U,pe)|0))<<13)|0;u=((o=o+Math.imul(U,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863;var Re=(u+(n=Math.imul(W,pe))|0)+((8191&(i=(i=Math.imul(W,ge))+Math.imul(L,pe)|0))<<13)|0;return u=((o=Math.imul(L,ge))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=ye,c[1]=me,c[2]=be,c[3]=we,c[4]=ve,c[5]=Ae,c[6]=Ee,c[7]=Te,c[8]=Ce,c[9]=Se,c[10]=Ie,c[11]=Oe,c[12]=Me,c[13]=Pe,c[14]=ke,c[15]=Be,c[16]=xe,c[17]=Ne,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=h),i.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),h=67108863&d;a=67108863&(h=h+a|0),i+=(s=(s=s+(d/67108864|0)|0)+(h>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<i;l+=a)for(var d=c,h=u,f=0;f<s;f++){var p=r[l+f],g=n[l+f],y=r[l+f+s],m=n[l+f+s],b=d*y-h*m;m=d*m+h*y,y=b,r[l+f]=p+y,n[l+f]=g+m,r[l+f+s]=p-y,n[l+f+s]=g-m,f!==a&&(b=c*d-u*h,h=c*h+u*d,d=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,u,n),this.transform(s,o,a,c,n,i),this.transform(u,o,l,d,n,i);for(var f=0;f<n;f++){var p=a[f]*l[f]-c[f]*d[f];c[f]=a[f]*d[f]+c[f]*l[f],a[f]=p}return this.conjugate(a,c,n),this.transform(a,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),p(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0!==s)if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var i,o=e.length+n;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(o,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var h=67108864*(0|n.words[o.length+d])+(0|n.words[o.length+d-1]);for(h=Math.min(h/s|0,67108863),n._ishlnsubmul(o,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;!(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;!(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a),s.isub(c)):(n.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var s=new i(1),a=new i(0),c=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(a)):(o.isub(n),a.isub(s))}return(t=0===n.cmpn(1)?s:a).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},n(b,m),b.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&r)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,m),n(v,m),n(A,m),A.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new A}return y[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(!(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);r(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),f=this.pow(e,o),p=s;0!==f.cmp(a);){for(var g=f,y=0;0!==g.cmp(a);y++)g=g.redSqr();r(y<p);var m=this.pow(d,new i(1).iushln(p-y-1));h=h.redMul(m),d=m.redSqr(),f=f.redMul(d),p=y}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;(o!==r[0]&&(o=this.sqr(o)),0!==d||0!==s)?(s<<=1,s|=d,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new T(e)},n(T,E),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)})),SD=W(((e,t)=>{var r,n;function i(e){this.rand=e}if(m(),t.exports=function(e){return r||(r=new i(null)),r.generate(e)},t.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{if("function"!=typeof(n=II()).randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return n.randomBytes(e)}}catch{}})),uQ=W(((e,t)=>{m();var r=s6e(),n=SD();function i(e){this.rand=e||new n.Rand}t.exports=i,i.create=function(e){return new i(e)},i.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},i.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},i.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),s=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var u=e.shrn(c),l=a.toRed(o);t>0;t--){var d=this._randrange(new r(2),a);n&&n(d);var h=d.toRed(o).redPow(u);if(0!==h.cmp(s)&&0!==h.cmp(l)){for(var f=1;f<c;f++){if(0===(h=h.redSqr()).cmp(s))return!1;if(0===h.cmp(l))break}if(f===c)return!1}}return!0},i.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var s=e.subn(1),a=0;!s.testn(a);a++);for(var c=e.shrn(a),u=s.toRed(i);t>0;t--){var l=this._randrange(new r(2),s),d=e.gcd(l);if(0!==d.cmpn(1))return d;var h=l.toRed(i).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var f=1;f<a;f++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(u))break}if(f===a)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}})),gQ=W(((e,t)=>{m();var r=Ux();t.exports=y,y.simpleSieve=p,y.fermatTest=g;var n=iQ(),i=new n(24),o=new(uQ()),s=new n(1),a=new n(2),c=new n(5),u=(new n(16),new n(8),new n(10)),l=new n(3),d=(new n(7),new n(11)),h=new n(4),f=(new n(12),null);function p(e){for(var t=function(){if(null!==f)return f;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!=0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return f=e,e}(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function g(e){var t=n.mont(e);return 0===a.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){if(e<16)return new n(2===t||5===t?[140,123]:[140,39]);t=new n(t);for(var f,y;;){for(f=new n(r(Math.ceil(e/8)));f.bitLength()>e;)f.ishrn(1);if(f.isEven()&&f.iadd(s),f.testn(1)||f.iadd(a),t.cmp(a)){if(!t.cmp(c))for(;f.mod(u).cmp(l);)f.iadd(h)}else for(;f.mod(i).cmp(d);)f.iadd(h);if(p(y=f.shrn(1))&&p(f)&&g(y)&&g(f)&&o.test(y)&&o.test(f))return f}}})),f6e=W(((e,t)=>{t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}})),g6e=W(((e,t)=>{m();var r=iQ(),n=new(uQ()),i=new r(24),o=new r(11),s=new r(10),a=new r(3),c=new r(7),u=gQ(),l=Ux();function d(e,t){return t=t||"utf8",P.Buffer.isBuffer(e)||(e=new P.Buffer(e,t)),this._pub=new r(e),this}function h(e,t){return t=t||"utf8",P.Buffer.isBuffer(e)||(e=new P.Buffer(e,t)),this._priv=new r(e),this}t.exports=p;var f={};function p(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function g(e,t){var r=new P.Buffer(e.toArray());return t?r.toString(t):r}Object.defineProperty(p.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),l=[r,e.toString(16)].join("_");if(l in f)return f[l];var d,h=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!n.test(e))return h+=1,h+="02"===r||"05"===r?8:4,f[l]=h,h;switch(n.test(e.shrn(1))||(h+=2),r){case"02":e.mod(i).cmp(o)&&(h+=8);break;case"05":(d=e.mod(s)).cmp(a)&&d.cmp(c)&&(h+=8);break;default:h+=4}return f[l]=h,h}(this.__prime,this.__gen)),this._primeCode}}),p.prototype.generateKeys=function(){return this._priv||(this._priv=new r(l(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},p.prototype.computeSecret=function(e){var t=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),n=new P.Buffer(t.toArray()),i=this.getPrime();if(n.length<i.length){var o=new P.Buffer(i.length-n.length);o.fill(0),n=P.Buffer.concat([o,n])}return n},p.prototype.getPublicKey=function(e){return g(this._pub,e)},p.prototype.getPrivateKey=function(e){return g(this._priv,e)},p.prototype.getPrime=function(e){return g(this.__prime,e)},p.prototype.getGenerator=function(e){return g(this._gen,e)},p.prototype.setGenerator=function(e,t){return t=t||"utf8",P.Buffer.isBuffer(e)||(e=new P.Buffer(e,t)),this.__gen=e,this._gen=new r(e),this}})),b6e=W((e=>{m();var t=gQ(),r=f6e(),n=g6e();var i={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var t=new P.Buffer(r[e].prime,"hex"),i=new P.Buffer(r[e].gen,"hex");return new n(t,i)},e.createDiffieHellman=e.DiffieHellman=function e(r,o,s,a){return P.Buffer.isBuffer(o)||void 0===i[o]?e(r,"binary",o,s):(o=o||"binary",a=a||"binary",s=s||new P.Buffer([2]),P.Buffer.isBuffer(s)||(s=new P.Buffer(s,a)),"number"==typeof r?new n(t(r,s),s,!0):(P.Buffer.isBuffer(r)||(r=new P.Buffer(r,o)),new n(r,s,!0)))}})),OI=W(((e,t)=>{"use strict";m(),typeof I.default>"u"||!I.default.version||0===I.default.version.indexOf("v0.")||0===I.default.version.indexOf("v1.")&&0!==I.default.version.indexOf("v1.8.")?t.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,s=arguments.length;switch(s){case 0:case 1:return I.default.nextTick(e);case 2:return I.default.nextTick((function(){e.call(null,t)}));case 3:return I.default.nextTick((function(){e.call(null,t,r)}));case 4:return I.default.nextTick((function(){e.call(null,t,r,n)}));default:for(i=new Array(s-1),o=0;o<i.length;)i[o++]=arguments[o];return I.default.nextTick((function(){e.apply(null,i)}))}}}:t.exports=I.default})),w6e=W(((e,t)=>{m();var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}})),bQ=W(((e,t)=>{m(),t.exports=MT().EventEmitter})),PD=W(((e,t)=>{m();var r=Go(),n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=o),i(n,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}})),tS=W((e=>{function t(e){return Object.prototype.toString.call(e)}m(),e.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},e.isBoolean=function(e){return"boolean"==typeof e},e.isNull=function(e){return null===e},e.isNullOrUndefined=function(e){return null==e},e.isNumber=function(e){return"number"==typeof e},e.isString=function(e){return"string"==typeof e},e.isSymbol=function(e){return"symbol"==typeof e},e.isUndefined=function(e){return void 0===e},e.isRegExp=function(e){return"[object RegExp]"===t(e)},e.isObject=function(e){return"object"==typeof e&&null!==e},e.isDate=function(e){return"[object Date]"===t(e)},e.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},e.isFunction=function(e){return"function"==typeof e},e.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||typeof e>"u"},e.isBuffer=Go().Buffer.isBuffer})),S6e=W(((e,t)=>{"use strict";m();var r=PD().Buffer,n=$C();function i(e,t,r){e.copy(t,r)}t.exports=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t=r.allocUnsafe(e>>>0),n=this.head,o=0;n;)i(n.data,t,o),o+=n.data.length,n=n.next;return t},e}(),n&&n.inspect&&n.inspect.custom&&(t.exports.prototype[n.inspect.custom]=function(){var e=n.inspect({length:this.length});return this.constructor.name+" "+e})})),xQ=W(((e,t)=>{"use strict";m();var r=OI();function n(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var i=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(n,this,e)):r.nextTick(n,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?i._writableState?i._writableState.errorEmitted||(i._writableState.errorEmitted=!0,r.nextTick(n,i,e)):r.nextTick(n,i,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}})),EQ=W(((e,t)=>{"use strict";m();var r=OI();function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}t.exports=g;var i,o=!I.default.browser&&["v0.10","v0.9."].indexOf(I.default.version.slice(0,5))>-1?setImmediate:r.nextTick;g.WritableState=p;var s=Object.create(tS());s.inherits=un();var a={deprecate:ZX()},c=bQ(),u=PD().Buffer,l=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};var d,h=xQ();function f(){}function p(e,t){i=i||oA(),e=e||{};var s=t instanceof i;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var a=e.highWaterMark,c=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=a||0===a?a:s&&(c||0===c)?c:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===e.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,s=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,o){--t.pendingcb,n?(r.nextTick(o,i),r.nextTick(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(o(i),e._writableState.errorEmitted=!0,e.emit("error",i),E(e,t))}(e,n,i,t,s);else{var a=v(n);!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&w(e,n),i?o(b,e,n,a,s):b(e,n,a,s)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function g(e){if(i=i||oA(),!(d.call(g,this)||this instanceof i))return new g(e);this._writableState=new p(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function y(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function b(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),E(e,t)}function w(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,o=new Array(i),s=t.corkedRequestsFree;s.entry=r;for(var a=0,c=!0;r;)o[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;o.allBuffers=c,y(e,t,!0,t.length,o,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,d=r.callback;if(y(e,t,!1,t.objectMode?1:u.length,u,l,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function v(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),E(e,t)}))}function E(e,t){var n=v(t);return n&&(function(e,t){!t.prefinished&&!t.finalCalled&&("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,r.nextTick(A,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}s.inherits(g,c),p.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(p.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!d.call(this,e)||this===g&&(e&&e._writableState instanceof p)}})):d=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var i=this._writableState,o=!1,s=!i.objectMode&&function(e){return u.isBuffer(e)||e instanceof l}(e);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=f),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),r.nextTick(t,n)}(this,n):(s||function(e,t,n,i){var o=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"!=typeof n&&void 0!==n&&!t.objectMode&&(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),r.nextTick(i,s),o=!1),o}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,r,n,i,o){if(!r){var s=function(e,t,r){return!e.objectMode&&!1!==e.decodeStrings&&"string"==typeof t&&(t=u.from(t,r)),t}(t,n,i);n!==s&&(r=!0,i="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,a,n,i,o);return c}(this,i,s,e,t,n)),o},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&w(this,e))},g.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,E(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,i,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=h.destroy,g.prototype._undestroy=h.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}})),oA=W(((e,t)=>{"use strict";m();var r=OI(),n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=l;var i=Object.create(tS());i.inherits=un();var o,s,a,c=CQ(),u=EQ();for(i.inherits(l,c),o=n(u.prototype),a=0;a<o.length;a++)s=o[a],l.prototype[s]||(l.prototype[s]=u.prototype[s]);function l(e){if(!(this instanceof l))return new l(e);c.call(this,e),u.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),l.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}})),z6e=W(((e,t)=>{m();var r=Go(),n=r.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=o),i(n,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}})),BQ=W((e=>{"use strict";m();var t=z6e().Buffer,r=t.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(e){var n;switch(this.encoding=function(e){var n=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof n&&(t.isEncoding===r||!r(e)))throw new Error("Unknown encoding: "+e);return n||e}(e),this.encoding){case"utf16le":this.text=s,this.end=a,n=4;break;case"utf8":this.fillLast=o,n=4;break;case"base64":this.text=c,this.end=u,n=3;break;default:return this.write=l,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function i(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function o(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function s(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function a(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function l(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}e.StringDecoder=n,n.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},n.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},n.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=i(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r||-2===o?0:(o=i(t[n]),o>=0?(o>0&&(e.lastNeed=o-2),o):--n<r||-2===o?0:(o=i(t[n]),o>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0))}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}})),CQ=W(((e,t)=>{"use strict";m();var r=OI();t.exports=b;var n,i=w6e();b.ReadableState=y;MT().EventEmitter;var o=function(e,t){return e.listeners(t).length},s=bQ(),a=PD().Buffer,c=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};var u=Object.create(tS());u.inherits=un();var l=$C(),d=void 0;d=l&&l.debuglog?l.debuglog("stream"):function(){};var h,f=S6e(),p=xQ();u.inherits(b,s);var g=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var r=t instanceof(n=n||oA());this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=BQ().StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function b(e){if(n=n||oA(),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function w(e,t,r,n,i){var o,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,T(e)}}(e,s)):(i||(o=function(e,t){var r;return!function(e){return a.isBuffer(e)||e instanceof c}(t)&&"string"!=typeof t&&void 0!==t&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}(s,t)),o?e.emit("error",o):s.objectMode||t&&t.length>0?("string"!=typeof t&&!s.objectMode&&Object.getPrototypeOf(t)!==a.prototype&&(t=function(e){return a.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):v(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?v(e,s,t,!1):S(e,s)):v(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(s)}function v(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&T(e)),S(e,t)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=p.destroy,b.prototype._undestroy=p.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=a.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},b.prototype.unshift=function(e){return w(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return h||(h=BQ().StringDecoder),this._readableState.decoder=new h(e),this._readableState.encoding=e,this};var A=8388608;function E(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function T(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r.nextTick(C,e):C(e))}function C(e){d("emit readable"),e.emit("readable"),k(e)}function S(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(O,e,t))}function O(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(d("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function M(e){d("readable nexttick read 0"),e.read(0)}function P(e,t){t.reading||(d("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),k(e),t.flowing&&!t.reading&&e.read(0)}function k(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var o=r.data,s=e>o.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=a.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var o=n.data,s=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,s),0===(e-=s)){s===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++i}return t.length-=i,r}(e,t),n}(e,t.buffer,t.decoder),r);var r}function x(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,r.nextTick(N,t,e))}function N(e,t){!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}b.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?x(this):T(this),null;if(0===(e=E(e,t))&&t.ended)return 0===t.length&&x(this),null;var n,i=t.needReadable;return d("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",i=!0),t.ended||t.reading?d("reading or ended",i=!1):i&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=E(r,t))),null===(n=e>0?B(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&x(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=e;break;case 1:s.pipes=[s.pipes,e];break;default:s.pipes.push(e)}s.pipesCount+=1,d("pipe count=%d opts=%j",s.pipesCount,t);var a=(!t||!1!==t.end)&&e!==I.default.stdout&&e!==I.default.stderr?u:b;function c(t,r){d("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,d("cleanup"),e.removeListener("close",y),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",g),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",p),h=!0,s.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&l())}function u(){d("onend"),e.end()}s.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",c);var l=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,k(e))}}(n);e.on("drain",l);var h=!1;var f=!1;function p(t){d("ondata"),f=!1,!1===e.write(t)&&!f&&((1===s.pipesCount&&s.pipes===e||s.pipesCount>1&&-1!==R(s.pipes,e))&&!h&&(d("false write response, pause",s.awaitDrain),s.awaitDrain++,f=!0),n.pause())}function g(t){d("onerror",t),b(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",m),b()}function m(){d("onfinish"),e.removeListener("close",y),b()}function b(){d("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?i(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",y),e.once("finish",m),e.emit("pipe",n),s.flowing||(d("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=R(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},b.prototype.on=function(e,t){var n=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&T(this):r.nextTick(M,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(P,e,t))}(this,e)),this},b.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(d("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||!(r.objectMode||i&&i.length))||(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<g.length;o++)e.on(g[o],this.emit.bind(this,g[o]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=B})),UQ=W(((e,t)=>{"use strict";m(),t.exports=o;var r=oA(),n=Object.create(tS());function i(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);r.call(this,e),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){a(e,t,r)})):a(this,null,null)}function a(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}n.inherits=un(),n.inherits(o,r),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}})),c4e=W(((e,t)=>{"use strict";m(),t.exports=i;var r=UQ(),n=Object.create(tS());function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n.inherits=un(),n.inherits(i,r),i.prototype._transform=function(e,t,r){r(null,e)}})),l4e=W(((e,t)=>{m(),(e=t.exports=CQ()).Stream=e,e.Readable=e,e.Writable=EQ(),e.Duplex=oA(),e.Transform=UQ(),e.PassThrough=c4e()})),sS=W(((e,t)=>{m(),function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Go().Buffer}catch{}function s(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function a(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function c(e,t,n,i){for(var o=0,s=0,a=Math.min(e.length,n),c=t;c<a;c++){var u=e.charCodeAt(c)-48;o*=i,s=u>=49?u-49+10:u>=17?u-17+10:u,r(u>=0&&s<i,"Invalid character"),o+=s}return o}function u(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},i.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,l=r;l<a;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=c(e,l,e.length,t),l=0;l<s;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype._move=function(e){u(e,this)},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],h=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?d[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=h[e],l=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(l).toString(e);n=(p=p.idivn(l)).isZero()?g+n:d[u-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;l+=(s=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,i),s},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|n;e[r++]=255&s,r<e.length&&(e[r++]=s>>8&255),r<e.length&&(e[r++]=s>>16&255),6===o?(r<e.length&&(e[r++]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},i.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var s=this.words[i]<<o|n;e[r--]=255&s,r>=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===o?(r>=0&&(e[r--]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},i.prototype.ior=function(e){return r(!(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},i.prototype.iand=function(e){return r(!(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},i.prototype.ixor=function(e){return r(!(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this._strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(t=(0|r.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<r.length;s++)o=(t=(0|r.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this._strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,f=0|s[1],p=8191&f,g=f>>>13,y=0|s[2],m=8191&y,b=y>>>13,w=0|s[3],v=8191&w,A=w>>>13,E=0|s[4],T=8191&E,C=E>>>13,S=0|s[5],I=8191&S,O=S>>>13,M=0|s[6],P=8191&M,k=M>>>13,B=0|s[7],x=8191&B,N=B>>>13,R=0|s[8],_=8191&R,U=R>>>13,D=0|s[9],W=8191&D,L=D>>>13,z=0|a[0],F=8191&z,K=z>>>13,j=0|a[1],H=8191&j,G=j>>>13,V=0|a[2],q=8191&V,J=V>>>13,Y=0|a[3],X=8191&Y,Q=Y>>>13,Z=0|a[4],$=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,he=le>>>13,fe=0|a[9],pe=8191&fe,ge=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,K))+Math.imul(h,F)|0))<<13)|0;u=((o=Math.imul(h,K))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,F),i=(i=Math.imul(p,K))+Math.imul(g,F)|0,o=Math.imul(g,K);var me=(u+(n=n+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(h,H)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,F),i=(i=Math.imul(m,K))+Math.imul(b,F)|0,o=Math.imul(b,K),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,G)|0;var be=(u+(n=n+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(v,F),i=(i=Math.imul(v,K))+Math.imul(A,F)|0,o=Math.imul(A,K),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,J)|0;var we=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,F),i=(i=Math.imul(T,K))+Math.imul(C,F)|0,o=Math.imul(C,K),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Q)|0;var ve=(u+(n=n+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,F),i=(i=Math.imul(I,K))+Math.imul(O,F)|0,o=Math.imul(O,K),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0;var Ae=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(P,F),i=(i=Math.imul(P,K))+Math.imul(k,F)|0,o=Math.imul(k,K),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0;var Ee=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,F),i=(i=Math.imul(x,K))+Math.imul(N,F)|0,o=Math.imul(N,K),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,G)|0,n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,J)|0,n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Te=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(_,F),i=(i=Math.imul(_,K))+Math.imul(U,F)|0,o=Math.imul(U,K),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(m,oe)|0,i=(i=i+Math.imul(m,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(W,F),i=(i=Math.imul(W,K))+Math.imul(L,F)|0,o=Math.imul(L,K),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(U,H)|0,o=o+Math.imul(U,G)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Q)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,he)|0;var Se=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ge)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,ge)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(W,H),i=(i=Math.imul(W,G))+Math.imul(L,H)|0,o=Math.imul(L,G),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(U,q)|0,o=o+Math.imul(U,J)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,Q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(m,de)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,he)|0;var Ie=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(W,q),i=(i=Math.imul(W,J))+Math.imul(L,q)|0,o=Math.imul(L,J),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(U,X)|0,o=o+Math.imul(U,Q)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Oe=(u+(n=n+Math.imul(m,pe)|0)|0)+((8191&(i=(i=i+Math.imul(m,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(W,X),i=(i=Math.imul(W,Q))+Math.imul(L,X)|0,o=Math.imul(L,Q),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(U,$)|0,o=o+Math.imul(U,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Me=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(W,$),i=(i=Math.imul(W,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(U,re)|0,o=o+Math.imul(U,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,ge)|0)+Math.imul(C,pe)|0))<<13)|0;u=((o=o+Math.imul(C,ge)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(W,re),i=(i=Math.imul(W,ne))+Math.imul(L,re)|0,o=Math.imul(L,ne),n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(U,oe)|0,o=o+Math.imul(U,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,he)|0;var ke=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(W,oe),i=(i=Math.imul(W,se))+Math.imul(L,oe)|0,o=Math.imul(L,se),n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(U,ce)|0,o=o+Math.imul(U,ue)|0,n=n+Math.imul(x,de)|0,i=(i=i+Math.imul(x,he)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,he)|0;var Be=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(W,ce),i=(i=Math.imul(W,ue))+Math.imul(L,ce)|0,o=Math.imul(L,ue),n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(U,de)|0,o=o+Math.imul(U,he)|0;var xe=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,ge)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(W,de),i=(i=Math.imul(W,he))+Math.imul(L,de)|0,o=Math.imul(L,he);var Ne=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ge)|0)+Math.imul(U,pe)|0))<<13)|0;u=((o=o+Math.imul(U,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863;var Re=(u+(n=Math.imul(W,pe))|0)+((8191&(i=(i=Math.imul(W,ge))+Math.imul(L,pe)|0))<<13)|0;return u=((o=Math.imul(L,ge))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=ye,c[1]=me,c[2]=be,c[3]=we,c[4]=ve,c[5]=Ae,c[6]=Ee,c[7]=Te,c[8]=Ce,c[9]=Se,c[10]=Ie,c[11]=Oe,c[12]=Me,c[13]=Pe,c[14]=ke,c[15]=Be,c[16]=xe,c[17]=Ne,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function y(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),h=67108863&d;a=67108863&(h=h+a|0),i+=(s=(s=s+(d/67108864|0)|0)+(h>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function m(e,t,r){return y(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=p),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?p(this,e,t):r<1024?y(this,e,t):m(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},b.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},b.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},b.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<i;l+=a)for(var d=c,h=u,f=0;f<s;f++){var p=r[l+f],g=n[l+f],y=r[l+f+s],m=n[l+f+s],b=d*y-h*m;m=d*m+h*y,y=b,r[l+f]=p+y,n[l+f]=g+m,r[l+f+s]=p-y,n[l+f+s]=g-m,f!==a&&(b=c*d-u*h,h=c*h+u*d,d=b)}},b.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},b.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},b.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(!(-8192&o))},b.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},b.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,u,n),this.transform(s,o,a,c,n,i),this.transform(u,o,l,d,n,i);for(var f=0;f<n;f++){var p=a[f]*l[f]-c[f]*d[f];c[f]=a[f]*d[f]+c[f]*l[f],a[f]=p}return this.conjugate(a,c,n),this.transform(a,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),m(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var n=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,s=(67108863&o)+(67108863&n);n>>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=e.words[n]>>>i&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0!==s)if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var i,o=e.length+n;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(o,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var h=67108864*(0|n.words[o.length+d])+(0|n.words[o.length+d-1]);for(h=Math.min(h/s|0,67108863),n._ishlnsubmul(o,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=h)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;!(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;!(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a),s.isub(c)):(n.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var s=new i(1),a=new i(0),c=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(a)):(o.isub(n),a.isub(s))}return(t=0===n.cmpn(1)?s:a).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new S(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function A(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function T(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function I(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},n(A,v),A.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&r)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},A.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(E,v),n(T,v),n(C,v),C.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(w[e])return w[e];var t;if("k256"===e)t=new A;else if("p224"===e)t=new E;else if("p192"===e)t=new T;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new C}return w[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r(!(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);r(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),f=this.pow(e,o),p=s;0!==f.cmp(a);){for(var g=f,y=0;0!==g.cmp(a);y++)g=g.redSqr();r(y<p);var m=this.pow(d,new i(1).iushln(p-y-1));h=h.redMul(m),d=m.redSqr(),f=f.redMul(d),p=y}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;(o!==r[0]&&(o=this.sqr(o)),0!==d||0!==s)?(s<<=1,s|=d,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new I(e)},n(I,S),I.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},I.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},I.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},I.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},I.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)})),WD=W(((e,t)=>{"use strict";m();var r=sS(),n=Ux(),i=vn().Buffer;function o(e){var t,i=e.modulus.byteLength();do{t=new r(n(i))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function s(e,t){var n=function(e){var t=o(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),s=t.modulus.byteLength(),a=new r(e).mul(n.blinder).umod(t.modulus),c=a.toRed(r.mont(t.prime1)),u=a.toRed(r.mont(t.prime2)),l=t.coefficient,d=t.prime1,h=t.prime2,f=c.redPow(t.exponent1).fromRed(),p=u.redPow(t.exponent2).fromRed(),g=f.isub(p).imul(l).umod(d).imul(h);return p.iadd(g).imul(n.unblinder).umod(t.modulus).toArrayLike(i,"be",s)}s.getr=o,t.exports=s})),g4e=W(((e,t)=>{t.exports={name:"elliptic",version:"6.6.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}})),zp=W(((e,t)=>{m(),function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Go().Buffer}catch{}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function a(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function c(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,l=r;l<a;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=c(e,l,e.length,t),l=0;l<s;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;l+=(s=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?u[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?g+n:u[h-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r(typeof o<"u"),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(o),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a<o;a++)u[a]=0}else{for(a=0;a<o-i;a++)u[a]=0;for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[o-a-1]=s}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return r(!(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return r(!(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return r(!(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(t=(0|r.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<r.length;s++)o=(t=(0|r.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,f=0|s[1],p=8191&f,g=f>>>13,y=0|s[2],m=8191&y,b=y>>>13,w=0|s[3],v=8191&w,A=w>>>13,E=0|s[4],T=8191&E,C=E>>>13,S=0|s[5],I=8191&S,O=S>>>13,M=0|s[6],P=8191&M,k=M>>>13,B=0|s[7],x=8191&B,N=B>>>13,R=0|s[8],_=8191&R,U=R>>>13,D=0|s[9],W=8191&D,L=D>>>13,z=0|a[0],F=8191&z,K=z>>>13,j=0|a[1],H=8191&j,G=j>>>13,V=0|a[2],q=8191&V,J=V>>>13,Y=0|a[3],X=8191&Y,Q=Y>>>13,Z=0|a[4],$=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,he=le>>>13,fe=0|a[9],pe=8191&fe,ge=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,K))+Math.imul(h,F)|0))<<13)|0;u=((o=Math.imul(h,K))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,F),i=(i=Math.imul(p,K))+Math.imul(g,F)|0,o=Math.imul(g,K);var me=(u+(n=n+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(h,H)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,F),i=(i=Math.imul(m,K))+Math.imul(b,F)|0,o=Math.imul(b,K),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,G)|0;var be=(u+(n=n+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(v,F),i=(i=Math.imul(v,K))+Math.imul(A,F)|0,o=Math.imul(A,K),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,J)|0;var we=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,F),i=(i=Math.imul(T,K))+Math.imul(C,F)|0,o=Math.imul(C,K),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Q)|0;var ve=(u+(n=n+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,F),i=(i=Math.imul(I,K))+Math.imul(O,F)|0,o=Math.imul(O,K),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0;var Ae=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(P,F),i=(i=Math.imul(P,K))+Math.imul(k,F)|0,o=Math.imul(k,K),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0;var Ee=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,F),i=(i=Math.imul(x,K))+Math.imul(N,F)|0,o=Math.imul(N,K),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,G)|0,n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,J)|0,n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Te=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(_,F),i=(i=Math.imul(_,K))+Math.imul(U,F)|0,o=Math.imul(U,K),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(m,oe)|0,i=(i=i+Math.imul(m,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(W,F),i=(i=Math.imul(W,K))+Math.imul(L,F)|0,o=Math.imul(L,K),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(U,H)|0,o=o+Math.imul(U,G)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Q)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,he)|0;var Se=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ge)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,ge)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(W,H),i=(i=Math.imul(W,G))+Math.imul(L,H)|0,o=Math.imul(L,G),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(U,q)|0,o=o+Math.imul(U,J)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,Q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(m,de)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,he)|0;var Ie=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(W,q),i=(i=Math.imul(W,J))+Math.imul(L,q)|0,o=Math.imul(L,J),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(U,X)|0,o=o+Math.imul(U,Q)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Oe=(u+(n=n+Math.imul(m,pe)|0)|0)+((8191&(i=(i=i+Math.imul(m,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(W,X),i=(i=Math.imul(W,Q))+Math.imul(L,X)|0,o=Math.imul(L,Q),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(U,$)|0,o=o+Math.imul(U,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Me=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(W,$),i=(i=Math.imul(W,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(U,re)|0,o=o+Math.imul(U,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,ge)|0)+Math.imul(C,pe)|0))<<13)|0;u=((o=o+Math.imul(C,ge)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(W,re),i=(i=Math.imul(W,ne))+Math.imul(L,re)|0,o=Math.imul(L,ne),n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(U,oe)|0,o=o+Math.imul(U,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,he)|0;var ke=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(W,oe),i=(i=Math.imul(W,se))+Math.imul(L,oe)|0,o=Math.imul(L,se),n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(U,ce)|0,o=o+Math.imul(U,ue)|0,n=n+Math.imul(x,de)|0,i=(i=i+Math.imul(x,he)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,he)|0;var Be=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(W,ce),i=(i=Math.imul(W,ue))+Math.imul(L,ce)|0,o=Math.imul(L,ue),n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(U,de)|0,o=o+Math.imul(U,he)|0;var xe=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,ge)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(W,de),i=(i=Math.imul(W,he))+Math.imul(L,de)|0,o=Math.imul(L,he);var Ne=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ge)|0)+Math.imul(U,pe)|0))<<13)|0;u=((o=o+Math.imul(U,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863;var Re=(u+(n=Math.imul(W,pe))|0)+((8191&(i=(i=Math.imul(W,ge))+Math.imul(L,pe)|0))<<13)|0;return u=((o=Math.imul(L,ge))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=ye,c[1]=me,c[2]=be,c[3]=we,c[4]=ve,c[5]=Ae,c[6]=Ee,c[7]=Te,c[8]=Ce,c[9]=Se,c[10]=Ie,c[11]=Oe,c[12]=Me,c[13]=Pe,c[14]=ke,c[15]=Be,c[16]=xe,c[17]=Ne,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=h),i.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),h=67108863&d;a=67108863&(h=h+a|0),i+=(s=(s=s+(d/67108864|0)|0)+(h>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<i;l+=a)for(var d=c,h=u,f=0;f<s;f++){var p=r[l+f],g=n[l+f],y=r[l+f+s],m=n[l+f+s],b=d*y-h*m;m=d*m+h*y,y=b,r[l+f]=p+y,n[l+f]=g+m,r[l+f+s]=p-y,n[l+f+s]=g-m,f!==a&&(b=c*d-u*h,h=c*h+u*d,d=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,u,n),this.transform(s,o,a,c,n,i),this.transform(u,o,l,d,n,i);for(var f=0;f<n;f++){var p=a[f]*l[f]-c[f]*d[f];c[f]=a[f]*d[f]+c[f]*l[f],a[f]=p}return this.conjugate(a,c,n),this.transform(a,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),p(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0!==s)if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var i,o=e.length+n;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(o,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var h=67108864*(0|n.words[o.length+d])+(0|n.words[o.length+d-1]);for(h=Math.min(h/s|0,67108863),n._ishlnsubmul(o,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;!(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;!(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a),s.isub(c)):(n.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var s=new i(1),a=new i(0),c=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(a)):(o.isub(n),a.isub(s))}return(t=0===n.cmpn(1)?s:a).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},n(b,m),b.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&r)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,m),n(v,m),n(A,m),A.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new A}return y[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(!(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);r(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),f=this.pow(e,o),p=s;0!==f.cmp(a);){for(var g=f,y=0;0!==g.cmp(a);y++)g=g.redSqr();r(y<p);var m=this.pow(d,new i(1).iushln(p-y-1));h=h.redMul(m),d=m.redSqr(),f=f.redMul(d),p=y}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;(o!==r[0]&&(o=this.sqr(o)),0!==d||0!==s)?(s<<=1,s|=d,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new T(e)},n(T,E),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)})),WQ=W((e=>{"use strict";m();var t=e;function r(e){return 1===e.length?"0"+e:e}function n(e){for(var t="",n=0;n<e.length;n++)t+=r(e[n].toString(16));return t}t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,s=255&i;o?r.push(o,s):r.push(s)}return r},t.zero2=r,t.toHex=n,t.encode=function(e,t){return"hex"===t?n(e):e}})),Vf=W((e=>{"use strict";m();var t=e,r=zp(),n=Gf(),i=WQ();t.assert=n,t.toArray=i.toArray,t.zero2=i.zero2,t.toHex=i.toHex,t.encode=i.encode,t.getNAF=function(e,t,r){var n,i=new Array(Math.max(e.bitLength(),r)+1);for(n=0;n<i.length;n+=1)i[n]=0;var o=1<<t+1,s=e.clone();for(n=0;n<i.length;n++){var a,c=s.andln(o-1);s.isOdd()?(a=c>(o>>1)-1?(o>>1)-c:c,s.isubn(a)):a=0,i[n]=a,s.iushrn(1)}return i},t.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var s,a,c=e.andln(3)+i&3,u=t.andln(3)+o&3;3===c&&(c=-1),3===u&&(u=-1),1&c?s=3!==(n=e.andln(7)+i&7)&&5!==n||2!==u?c:-c:s=0,r[0].push(s),1&u?a=3!==(n=t.andln(7)+o&7)&&5!==n||2!==c?u:-u:a=0,r[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},t.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},t.parseBytes=function(e){return"string"==typeof e?t.toArray(e,"hex"):e},t.intFromLE=function(e){return new r(e,"hex","le")}})),UI=W(((e,t)=>{"use strict";m();var r=zp(),n=Vf(),i=n.getNAF,o=n.getJSF,s=n.assert;function a(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=a,a.prototype.point=function(){throw new Error("Not implemented")},a.prototype.validate=function(){throw new Error("Not implemented")},a.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=i(t,1,this._bitLength),o=(1<<r.step+1)-(r.step%2==0?2:1);o/=3;var a,c,u=[];for(a=0;a<n.length;a+=r.step){c=0;for(var l=a+r.step-1;l>=a;l--)c=(c<<1)+n[l];u.push(c)}for(var d=this.jpoint(null,null,null),h=this.jpoint(null,null,null),f=o;f>0;f--){for(a=0;a<u.length;a++)(c=u[a])===f?h=h.mixedAdd(r.points[a]):c===-f&&(h=h.mixedAdd(r.points[a].neg()));d=d.add(h)}return d.toP()},a.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var o=n.points,a=i(t,r,this._bitLength),c=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(var l=0;u>=0&&0===a[u];u--)l++;if(u>=0&&l++,c=c.dblp(l),u<0)break;var d=a[u];s(0!==d),c="affine"===e.type?d>0?c.mixedAdd(o[d-1>>1]):c.mixedAdd(o[-d-1>>1].neg()):d>0?c.add(o[d-1>>1]):c.add(o[-d-1>>1].neg())}return"affine"===e.type?c.toP():c},a.prototype._wnafMulAdd=function(e,t,r,n,s){var a,c,u,l=this._wnafT1,d=this._wnafT2,h=this._wnafT3,f=0;for(a=0;a<n;a++){var p=(u=t[a])._getNAFPoints(e);l[a]=p.wnd,d[a]=p.points}for(a=n-1;a>=1;a-=2){var g=a-1,y=a;if(1===l[g]&&1===l[y]){var m=[t[g],null,null,t[y]];0===t[g].y.cmp(t[y].y)?(m[1]=t[g].add(t[y]),m[2]=t[g].toJ().mixedAdd(t[y].neg())):0===t[g].y.cmp(t[y].y.redNeg())?(m[1]=t[g].toJ().mixedAdd(t[y]),m[2]=t[g].add(t[y].neg())):(m[1]=t[g].toJ().mixedAdd(t[y]),m[2]=t[g].toJ().mixedAdd(t[y].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],w=o(r[g],r[y]);for(f=Math.max(w[0].length,f),h[g]=new Array(f),h[y]=new Array(f),c=0;c<f;c++){var v=0|w[0][c],A=0|w[1][c];h[g][c]=b[3*(v+1)+(A+1)],h[y][c]=0,d[g]=m}}else h[g]=i(r[g],l[g],this._bitLength),h[y]=i(r[y],l[y],this._bitLength),f=Math.max(h[g].length,f),f=Math.max(h[y].length,f)}var E=this.jpoint(null,null,null),T=this._wnafT4;for(a=f;a>=0;a--){for(var C=0;a>=0;){var S=!0;for(c=0;c<n;c++)T[c]=0|h[c][a],0!==T[c]&&(S=!1);if(!S)break;C++,a--}if(a>=0&&C++,E=E.dblp(C),a<0)break;for(c=0;c<n;c++){var I=T[c];0!==I&&(I>0?u=d[c][I-1>>1]:I<0&&(u=d[c][-I-1>>1].neg()),E="affine"===u.type?E.mixedAdd(u):E.add(u))}}for(a=0;a<n;a++)d[a]=null;return s?E:E.toP()},a.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},a.prototype.decodePoint=function(e,t){e=n.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return n.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}})),E4e=W(((e,t)=>{"use strict";m();var r=Vf(),n=zp(),i=un(),o=UI(),s=r.assert;function a(e){o.call(this,"short",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,r,i){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new n(t,16),this.y=new n(r,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,r,i){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new n(0)):(this.x=new n(t,16),this.y=new n(r,16),this.z=new n(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(a,o),t.exports=a,a.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new n(e.beta,16).toRed(this.red);else{var i=this._getEndoRoots(this.p);t=(t=i[0].cmp(i[1])<0?i[0]:i[1]).toRed(this.red)}if(e.lambda)r=new n(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new n(e.a,16),b:new n(e.b,16)}})):this._getEndoBasis(r)}}},a.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:n.mont(e),r=new n(2).toRed(t).redInvm(),i=r.redNeg(),o=new n(3).toRed(t).redNeg().redSqrt().redMul(r);return[i.redAdd(o).fromRed(),i.redSub(o).fromRed()]},a.prototype._getEndoBasis=function(e){for(var t,r,i,o,s,a,c,u,l,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),p=new n(1),g=new n(0),y=new n(0),m=new n(1),b=0;0!==h.cmpn(0);){var w=f.div(h);u=f.sub(w.mul(h)),l=y.sub(w.mul(p));var v=m.sub(w.mul(g));if(!i&&u.cmp(d)<0)t=c.neg(),r=p,i=u.neg(),o=l;else if(i&&2==++b)break;c=u,f=h,h=u,y=p,p=l,m=g,g=v}s=u.neg(),a=l;var A=i.sqr().add(o.sqr());return s.sqr().add(a.sqr()).cmp(A)>=0&&(s=t,a=r),i.negative&&(i=i.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:i,b:o},{a:s,b:a}]},a.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),c=i.mul(r.b),u=o.mul(n.b);return{k1:e.sub(s).sub(a),k2:c.add(u).neg()}},a.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=r.redSqrt();if(0!==i.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=i.fromRed().isOdd();return(t&&!o||!t&&o)&&(i=i.redNeg()),this.point(e,i)},a.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},a.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var s=this._endoSplit(t[o]),a=e[o],c=a._getBeta();s.k1.negative&&(s.k1.ineg(),a=a.neg(!0)),s.k2.negative&&(s.k2.ineg(),c=c.neg(!0)),n[2*o]=a,n[2*o+1]=c,i[2*o]=s.k1,i[2*o+1]=s.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return u},i(c,o.BasePoint),a.prototype.point=function(e,t,r){return new c(this,e,t,r)},a.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function i(t){return e.point(t[0],t[1],r)}var o=t[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new n(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},c.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(u,o.BasePoint),a.prototype.jpoint=function(e,t,r){return new u(this,e,t,r)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),a=n.redSub(i),c=o.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),d=n.redMul(u),h=c.redSqr().redIAdd(l).redISub(d).redISub(d),f=c.redMul(d.redISub(h)).redISub(o.redMul(l)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(h,f,p)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),l=r.redMul(c),d=a.redSqr().redIAdd(u).redISub(l).redISub(l),h=a.redMul(l.redISub(d)).redISub(i.redMul(u)),f=this.z.redMul(s);return this.curve.jpoint(d,h,f)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t<e;t++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,s=this.y,a=this.z,c=a.redSqr().redSqr(),u=s.redAdd(s);for(t=0;t<e;t++){var l=o.redSqr(),d=u.redSqr(),h=d.redSqr(),f=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),p=o.redMul(d),g=f.redSqr().redISub(p.redAdd(p)),y=p.redISub(g),m=f.redMul(y);m=m.redIAdd(m).redISub(h);var b=u.redMul(a);t+1<e&&(c=c.redMul(h)),o=g,a=b,u=m}return this.curve.jpoint(o,u.redMul(i),a)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},u.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n),c=a.redSqr().redISub(s).redISub(s),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=c,t=a.redMul(s.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),f=this.x.redAdd(d).redSqr().redISub(l).redISub(h);f=f.redIAdd(f);var p=l.redAdd(l).redIAdd(l),g=p.redSqr(),y=h.redIAdd(h);y=(y=y.redIAdd(y)).redIAdd(y),e=g.redISub(f).redISub(f),t=p.redMul(f.redISub(e)).redISub(y),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},u.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),s=this.x.redAdd(i).redSqr().redISub(n).redISub(o);s=s.redIAdd(s);var a=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=a.redSqr().redISub(s).redISub(s);e=c;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=a.redMul(s.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),f=this.x.redSub(l).redMul(this.x.redAdd(l));f=f.redAdd(f).redIAdd(f);var p=h.redIAdd(h),g=(p=p.redIAdd(p)).redAdd(p);e=f.redSqr().redISub(g),r=this.y.redAdd(this.z).redSqr().redISub(d).redISub(l);var y=d.redSqr();y=(y=(y=y.redIAdd(y)).redIAdd(y)).redIAdd(y),t=f.redMul(p.redISub(e)).redISub(y)}return this.curve.jpoint(e,t,r)},u.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),s=r.redSqr(),a=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),c=t.redAdd(t),u=(c=c.redIAdd(c)).redMul(s),l=a.redSqr().redISub(u.redAdd(u)),d=u.redISub(l),h=s.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=a.redMul(d).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,f,p)},u.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(n),a=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(o)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(s).redSqr().redISub(o).redISub(a).redISub(c),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.x.redMul(a).redISub(l);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.y.redMul(u.redMul(c.redISub(u)).redISub(s.redMul(a)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=this.z.redAdd(s).redSqr().redISub(r).redISub(a);return this.curve.jpoint(d,h,f)},u.prototype.mul=function(e,t){return e=new n(e,t),this.curve._wnafMul(this,e)},u.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},u.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}})),C4e=W(((e,t)=>{"use strict";m();var r=zp(),n=un(),i=UI(),o=Vf();function s(e){i.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function a(e,t,n){i.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}n(s,i),t.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},n(a,i.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},s.prototype.point=function(e,t){return new a(this,e,t)},s.prototype.pointFromJSON=function(e){return a.fromJSON(this,e)},a.prototype.precompute=function(){},a.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},a.fromJSON=function(e,t){return new a(e,t[0],t[1]||e.one)},a.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},a.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},a.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},a.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},a.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),s=i.redMul(n),a=t.z.redMul(o.redAdd(s).redSqr()),c=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,c)},a.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},a.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},a.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},a.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},a.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},a.prototype.getX=function(){return this.normalize(),this.x.fromRed()}})),P4e=W(((e,t)=>{"use strict";m();var r=Vf(),n=zp(),i=un(),o=UI(),s=r.assert;function a(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new n(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new n(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new n(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function c(e,t,r,i,s){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===i?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new n(t,16),this.y=new n(r,16),this.z=i?new n(i,16):this.curve.one,this.t=s&&new n(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(a,o),t.exports=a,a.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},a.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},a.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},a.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),i=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),s=i.redMul(o.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},a.prototype.pointFromY=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),i=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),s=i.redMul(o.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},a.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},i(c,o.BasePoint),a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},a.prototype.point=function(e,t,r,n){return new c(this,e,t,r,n)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),s=o.redSub(r),a=n.redSub(t),c=i.redMul(s),u=o.redMul(a),l=i.redMul(a),d=s.redMul(o);return this.curve.point(c,u,d,l)},c.prototype._projDbl=function(){var e,t,r,n,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(a)).redAdd(c);this.zOne?(e=s.redSub(a).redSub(c).redMul(u.redSub(this.curve.two)),t=u.redMul(n.redSub(c)),r=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),e=s.redSub(a).redISub(c).redMul(o),t=u.redMul(n.redSub(c)),r=u.redMul(o))}else n=a.redAdd(c),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),e=this.curve._mulC(s.redISub(n)).redMul(o),t=this.curve._mulC(n).redMul(a.redISub(c)),r=n.redMul(o);return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),s=i.redSub(n),a=i.redAdd(n),c=r.redAdd(t),u=o.redMul(s),l=a.redMul(c),d=o.redMul(c),h=s.redMul(a);return this.curve.point(u,l,h,d)},c.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),c=i.redSub(a),u=i.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),d=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(s.redSub(this.curve._mulA(o))),r=c.redMul(u)):(t=n.redMul(u).redMul(s.redSub(o)),r=this.curve._mulC(c).redMul(u)),this.curve.point(d,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add})),KQ=W((e=>{"use strict";m();var t=e;t.base=UI(),t.short=E4e(),t.mont=C4e(),t.edwards=P4e()})),c0=W((e=>{"use strict";m();var t=Gf(),r=un();function n(e,t){return!(55296!=(64512&e.charCodeAt(t))||t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function i(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}e.inherits=r,e.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)r.push(parseInt(e[o]+e[o+1],16))}else for(var i=0,o=0;o<e.length;o++){var s=e.charCodeAt(o);s<128?r[i++]=s:s<2048?(r[i++]=s>>6|192,r[i++]=63&s|128):n(e,o)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++o)),r[i++]=s>>18|240,r[i++]=s>>12&63|128,r[i++]=s>>6&63|128,r[i++]=63&s|128):(r[i++]=s>>12|224,r[i++]=s>>6&63|128,r[i++]=63&s|128)}else for(o=0;o<e.length;o++)r[o]=0|e[o];return r},e.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=o(e[r].toString(16));return t},e.htonl=i,e.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e[n];"little"===t&&(o=i(o)),r+=s(o.toString(16))}return r},e.zero2=o,e.zero8=s,e.join32=function(e,r,n,i){var o=n-r;t(o%4==0);for(var s=new Array(o/4),a=0,c=r;a<s.length;a++,c+=4){var u;u="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],s[a]=u>>>0}return s},e.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(e,t){return e>>>t|e<<32-t},e.rotl32=function(e,t){return e<<t|e>>>32-t},e.sum32=function(e,t){return e+t>>>0},e.sum32_3=function(e,t,r){return e+t+r>>>0},e.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},e.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},e.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,s=(o<n?1:0)+r+i;e[t]=s>>>0,e[t+1]=o},e.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},e.sum64_lo=function(e,t,r,n){return t+n>>>0},e.sum64_4_hi=function(e,t,r,n,i,o,s,a){var c=0,u=t;return c+=(u=u+n>>>0)<t?1:0,c+=(u=u+o>>>0)<o?1:0,e+r+i+s+(c+=(u=u+a>>>0)<a?1:0)>>>0},e.sum64_4_lo=function(e,t,r,n,i,o,s,a){return t+n+o+a>>>0},e.sum64_5_hi=function(e,t,r,n,i,o,s,a,c,u){var l=0,d=t;return l+=(d=d+n>>>0)<t?1:0,l+=(d=d+o>>>0)<o?1:0,l+=(d=d+a>>>0)<a?1:0,e+r+i+s+c+(l+=(d=d+u>>>0)<u?1:0)>>>0},e.sum64_5_lo=function(e,t,r,n,i,o,s,a,c,u){return t+n+o+a+u>>>0},e.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},e.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},e.shr64_hi=function(e,t,r){return e>>>r},e.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}})),fS=W((e=>{"use strict";m();var t=c0(),r=Gf();function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=n,n.prototype.update=function(e,r){if(e=t.toArray(e,r),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=t.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),r(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}})),HQ=W((e=>{"use strict";m();var t=c0().rotr32;function r(e,t,r){return e&t^~e&r}function n(e,t,r){return e&t^e&r^t&r}function i(e,t,r){return e^t^r}e.ft_1=function(e,t,o,s){return 0===e?r(t,o,s):1===e||3===e?i(t,o,s):2===e?n(t,o,s):void 0},e.ch32=r,e.maj32=n,e.p32=i,e.s0_256=function(e){return t(e,2)^t(e,13)^t(e,22)},e.s1_256=function(e){return t(e,6)^t(e,11)^t(e,25)},e.g0_256=function(e){return t(e,7)^t(e,18)^e>>>3},e.g1_256=function(e){return t(e,17)^t(e,19)^e>>>10}})),z4e=W(((e,t)=>{"use strict";m();var r=c0(),n=fS(),i=HQ(),o=r.rotl32,s=r.sum32,a=r.sum32_5,c=i.ft_1,u=n.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),t.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=o(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],u=this.h[1],d=this.h[2],h=this.h[3],f=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),g=a(o(i,5),c(p,u,d,h),f,r[n],l[p]);f=h,h=d,d=o(u,30),u=i,i=g}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],u),this.h[2]=s(this.h[2],d),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],f)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}})),jQ=W(((e,t)=>{"use strict";m();var r=c0(),n=fS(),i=HQ(),o=Gf(),s=r.sum32,a=r.sum32_4,c=r.sum32_5,u=i.ch32,l=i.maj32,d=i.s0_256,h=i.s1_256,f=i.g0_256,p=i.g1_256,g=n.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}r.inherits(b,g),t.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(p(r[n-2]),r[n-7],f(r[n-15]),r[n-16]);var i=this.h[0],g=this.h[1],y=this.h[2],m=this.h[3],b=this.h[4],w=this.h[5],v=this.h[6],A=this.h[7];for(o(this.k.length===r.length),n=0;n<r.length;n++){var E=c(A,h(b),u(b,w,v),this.k[n],r[n]),T=s(d(i),l(i,g,y));A=v,v=w,w=b,b=s(m,E),m=y,y=g,g=i,i=s(E,T)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],g),this.h[2]=s(this.h[2],y),this.h[3]=s(this.h[3],m),this.h[4]=s(this.h[4],b),this.h[5]=s(this.h[5],w),this.h[6]=s(this.h[6],v),this.h[7]=s(this.h[7],A)},b.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}})),G4e=W(((e,t)=>{"use strict";m();var r=c0(),n=jQ();function i(){if(!(this instanceof i))return new i;n.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(i,n),t.exports=i,i.blockSize=512,i.outSize=224,i.hmacStrength=192,i.padLength=64,i.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}})),XQ=W(((e,t)=>{"use strict";m();var r=c0(),n=fS(),i=Gf(),o=r.rotr64_hi,s=r.rotr64_lo,a=r.shr64_hi,c=r.shr64_lo,u=r.sum64,l=r.sum64_hi,d=r.sum64_lo,h=r.sum64_4_hi,f=r.sum64_4_lo,p=r.sum64_5_hi,g=r.sum64_5_lo,y=n.BlockHash,b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function w(){if(!(this instanceof w))return new w;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=b,this.W=new Array(160)}function v(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}function A(e,t,r,n,i,o){var s=t&n^~t&o;return s<0&&(s+=4294967296),s}function E(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}function T(e,t,r,n,i,o){var s=t&n^t&o^n&o;return s<0&&(s+=4294967296),s}function C(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=4294967296),r}function S(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=4294967296),r}function I(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=4294967296),r}function O(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=4294967296),r}function M(e,t){var r=o(e,t,1)^o(e,t,8)^a(e,t,7);return r<0&&(r+=4294967296),r}function P(e,t){var r=s(e,t,1)^s(e,t,8)^c(e,t,7);return r<0&&(r+=4294967296),r}function k(e,t){var r=o(e,t,19)^o(t,e,29)^a(e,t,6);return r<0&&(r+=4294967296),r}function B(e,t){var r=s(e,t,19)^s(t,e,29)^c(e,t,6);return r<0&&(r+=4294967296),r}r.inherits(w,y),t.exports=w,w.blockSize=1024,w.outSize=512,w.hmacStrength=192,w.padLength=128,w.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=k(r[n-4],r[n-3]),o=B(r[n-4],r[n-3]),s=r[n-14],a=r[n-13],c=M(r[n-30],r[n-29]),u=P(r[n-30],r[n-29]),l=r[n-32],d=r[n-31];r[n]=h(i,o,s,a,c,u,l,d),r[n+1]=f(i,o,s,a,c,u,l,d)}},w.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],o=this.h[1],s=this.h[2],a=this.h[3],c=this.h[4],h=this.h[5],f=this.h[6],y=this.h[7],m=this.h[8],b=this.h[9],w=this.h[10],M=this.h[11],P=this.h[12],k=this.h[13],B=this.h[14],x=this.h[15];i(this.k.length===r.length);for(var N=0;N<r.length;N+=2){var R=B,_=x,U=I(m,b),D=O(m,b),W=v(m,b,w,M,P),L=A(m,b,w,M,P,k),z=this.k[N],F=this.k[N+1],K=r[N],j=r[N+1],H=p(R,_,U,D,W,L,z,F,K,j),G=g(R,_,U,D,W,L,z,F,K,j);R=C(n,o),_=S(n,o),U=E(n,o,s,a,c),D=T(n,o,s,a,c,h);var V=l(R,_,U,D),q=d(R,_,U,D);B=P,x=k,P=w,k=M,w=m,M=b,m=l(f,y,H,G),b=d(y,y,H,G),f=c,y=h,c=s,h=a,s=n,a=o,n=l(H,G,V,q),o=d(H,G,V,q)}u(this.h,0,n,o),u(this.h,2,s,a),u(this.h,4,c,h),u(this.h,6,f,y),u(this.h,8,m,b),u(this.h,10,w,M),u(this.h,12,P,k),u(this.h,14,B,x)},w.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}})),$4e=W(((e,t)=>{"use strict";m();var r=c0(),n=XQ();function i(){if(!(this instanceof i))return new i;n.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(i,n),t.exports=i,i.blockSize=1024,i.outSize=384,i.hmacStrength=192,i.padLength=128,i.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}})),e8e=W((e=>{"use strict";m(),e.sha1=z4e(),e.sha224=G4e(),e.sha256=jQ(),e.sha384=$4e(),e.sha512=XQ()})),s8e=W((e=>{"use strict";m();var t=c0(),r=fS(),n=t.rotl32,i=t.sum32,o=t.sum32_3,s=t.sum32_4,a=r.BlockHash;function c(){if(!(this instanceof c))return new c;a.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function l(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}t.inherits(c,a),e.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var r=this.h[0],a=this.h[1],c=this.h[2],g=this.h[3],y=this.h[4],m=r,b=a,w=c,v=g,A=y,E=0;E<80;E++){var T=i(n(s(r,u(E,a,c,g),e[d[E]+t],(C=E)<=15?0:C<=31?1518500249:C<=47?1859775393:C<=63?2400959708:2840853838),f[E]),y);r=y,y=g,g=n(c,10),c=a,a=T,T=i(n(s(m,u(79-E,b,w,v),e[h[E]+t],l(E)),p[E]),A),m=A,A=v,v=n(w,10),w=b,b=T}var C;T=o(this.h[1],c,v),this.h[1]=o(this.h[2],g,A),this.h[2]=o(this.h[3],y,m),this.h[3]=o(this.h[4],r,b),this.h[4]=o(this.h[0],a,w),this.h[0]=T},c.prototype._digest=function(e){return"hex"===e?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var d=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],p=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]})),c8e=W(((e,t)=>{"use strict";m();var r=c0(),n=Gf();function i(e,t,n){if(!(this instanceof i))return new i(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}t.exports=i,i.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),n(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},i.prototype.update=function(e,t){return this.inner.update(e,t),this},i.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}})),YD=W((e=>{m();var t=e;t.utils=c0(),t.common=fS(),t.sha=e8e(),t.ripemd=s8e(),t.hmac=c8e(),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160})),f8e=W(((e,t)=>{m(),t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}})),QD=W((e=>{"use strict";m();var t,r=e,n=YD(),i=KQ(),o=Vf().assert;function s(e){"short"===e.type?this.curve=new i.short(e):"edwards"===e.type?this.curve=new i.edwards(e):this.curve=new i.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var n=new s(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=s,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:n.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:n.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:n.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:n.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:n.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:n.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{t=f8e()}catch{t=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:n.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",t]})})),m8e=W(((e,t)=>{"use strict";m();var r=YD(),n=WQ(),i=Gf();function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=n.toArray(e.entropy,e.entropyEnc||"hex"),r=n.toArray(e.nonce,e.nonceEnc||"hex"),s=n.toArray(e.pers,e.persEnc||"hex");i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,s)}t.exports=o,o.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,r,o){"string"!=typeof t&&(o=r,r=t,t=null),e=n.toArray(e,t),r=n.toArray(r,o),i(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},o.prototype.generate=function(e,t,r,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(i=r,r=t,t=null),r&&(r=n.toArray(r,i||"hex"),this._update(r));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var s=o.slice(0,e);return this._update(r),this._reseed++,n.encode(s,t)}})),v8e=W(((e,t)=>{"use strict";m();var r=zp(),n=Vf().assert;function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=i,i.fromPublic=function(e,t,r){return t instanceof i?t:new i(e,{pub:t,pubEnc:r})},i.fromPrivate=function(e,t,r){return t instanceof i?t:new i(e,{priv:t,privEnc:r})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?n(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&n(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},i.prototype.derive=function(e){return e.validate()||n(e.validate(),"public point not validated"),e.mul(this.priv).getX()},i.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},i.prototype.verify=function(e,t,r){return this.ec.verify(e,t,this,void 0,r)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}})),A8e=W(((e,t)=>{"use strict";m();var r=zp(),n=Vf(),i=n.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function a(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4||0===e[t.place])return!1;for(var i=0,o=0,s=t.place;o<n;o++,s++)i<<=8,i|=e[s],i>>>=0;return!(i<=127)&&(t.place=s,i)}function c(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function u(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}t.exports=o,o.prototype._importDER=function(e,t){e=n.toArray(e,t);var i=new s;if(48!==e[i.place++])return!1;var o=a(e,i);if(!1===o||o+i.place!==e.length||2!==e[i.place++])return!1;var c=a(e,i);if(!1===c||128&e[i.place])return!1;var u=e.slice(i.place,c+i.place);if(i.place+=c,2!==e[i.place++])return!1;var l=a(e,i);if(!1===l||e.length!==l+i.place||128&e[i.place])return!1;var d=e.slice(i.place,l+i.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new r(u),this.s=new r(d),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!(r[0]||128&r[1]);)r=r.slice(1);var i=[2];u(i,t.length),(i=i.concat(t)).push(2),u(i,r.length);var o=i.concat(r),s=[48];return u(s,o.length),s=s.concat(o),n.encode(s,e)}})),S8e=W(((e,t)=>{"use strict";m();var r=zp(),n=m8e(),i=Vf(),o=QD(),s=SD(),a=i.assert,c=v8e(),u=A8e();function l(e){if(!(this instanceof l))return new l(e);"string"==typeof e&&(a(Object.prototype.hasOwnProperty.call(o,e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=l,l.prototype.keyPair=function(e){return new c(this,e)},l.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},l.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},l.prototype.genKeyPair=function(e){e||(e={});for(var t=new n({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(t.generate(i));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},l.prototype._truncateToN=function(e,t,n){var i;if(r.isBN(e)||"number"==typeof e)i=(e=new r(e,16)).byteLength();else if("object"==typeof e)i=e.length,e=new r(e,16);else{var o=e.toString();i=o.length+1>>>1,e=new r(o,16)}"number"!=typeof n&&(n=8*i);var s=n-this.n.bitLength();return s>0&&(e=e.ushrn(s)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},l.prototype.sign=function(e,t,i,o){if("object"==typeof i&&(o=i,i=null),o||(o={}),"string"!=typeof e&&"number"!=typeof e&&!r.isBN(e)){a("object"==typeof e&&e&&"number"==typeof e.length,"Expected message to be an array-like, a hex string, or a BN instance"),a(e.length>>>0===e.length);for(var s=0;s<e.length;s++)a((255&e[s])===e[s])}t=this.keyFromPrivate(t,i),e=this._truncateToN(e,!1,o.msgBitLength),a(!e.isNeg(),"Can not sign a negative message");var c=this.n.byteLength(),l=t.getPrivate().toArray("be",c),d=e.toArray("be",c);a(new r(d).eq(e),"Can not sign message");for(var h=new n({hash:this.hash,entropy:l,nonce:d,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new r(1)),p=0;;p++){var g=o.k?o.k(p):new r(h.generate(this.n.byteLength()));if(!((g=this._truncateToN(g,!0)).cmpn(1)<=0||g.cmp(f)>=0)){var y=this.g.mul(g);if(!y.isInfinity()){var m=y.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var w=g.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(0!==(w=w.umod(this.n)).cmpn(0)){var v=(y.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return o.canonical&&w.cmp(this.nh)>0&&(w=this.n.sub(w),v^=1),new u({r:b,s:w,recoveryParam:v})}}}}}},l.prototype.verify=function(e,t,r,n,i){i||(i={}),e=this._truncateToN(e,!1,i.msgBitLength),r=this.keyFromPublic(r,n);var o=(t=new u(t,"hex")).r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0||s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,c=s.invm(this.n),l=c.mul(e).umod(this.n),d=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,r.getPublic(),d)).isInfinity()&&a.eqXToP(o):!(a=this.g.mulAdd(l,r.getPublic(),d)).isInfinity()&&0===a.getX().umod(this.n).cmp(o)},l.prototype.recoverPubKey=function(e,t,n,i){a((3&n)===n,"The recovery param is more than two bits"),t=new u(t,i);var o=this.n,s=new r(e),c=t.r,l=t.s,d=1&n,h=n>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");c=h?this.curve.pointFromX(c.add(this.curve.n),d):this.curve.pointFromX(c,d);var f=t.r.invm(o),p=o.sub(s).mul(f).umod(o),g=l.mul(f).umod(o);return this.g.mulAdd(p,c,g)},l.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new u(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch{continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}})),P8e=W(((e,t)=>{"use strict";m();var r=Vf(),n=r.assert,i=r.parseBytes,o=r.cachedProperty;function s(e,t){this.eddsa=e,this._secret=i(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=i(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},o(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),o(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),o(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),o(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),o(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),o(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return n(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return n(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},s.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},t.exports=s})),k8e=W(((e,t)=>{"use strict";m();var r=zp(),n=Vf(),i=n.assert,o=n.cachedProperty,s=n.parseBytes;function a(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(i(t.length===2*e.encodingLength,"Signature has invalid size"),t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),i(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(a,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),o(a,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),o(a,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),o(a,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),a.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},a.prototype.toHex=function(){return n.encode(this.toBytes(),"hex").toUpperCase()},t.exports=a})),U8e=W(((e,t)=>{"use strict";m();var r=YD(),n=QD(),i=Vf(),o=i.assert,s=i.parseBytes,a=P8e(),c=k8e();function u(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);e=n[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}t.exports=u,u.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),c=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},u.prototype.verify=function(e,t,r){if(e=s(e),(t=this.makeSignature(t)).S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(o)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return i.intFromLE(e.digest()).umod(this.curve.n)},u.prototype.keyFromPublic=function(e){return a.fromPublic(this,e)},u.prototype.keyFromSecret=function(e){return a.fromSecret(this,e)},u.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},u.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},u.prototype.decodePoint=function(e){var t=(e=i.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=!!(128&e[t]),o=i.intFromLE(r);return this.curve.pointFromY(o,n)},u.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},u.prototype.decodeInt=function(e){return i.intFromLE(e)},u.prototype.isPoint=function(e){return e instanceof this.pointClass}})),nU=W((e=>{"use strict";m();var t=e;t.version=g4e().version,t.utils=Vf(),t.rand=SD(),t.curve=KQ(),t.curves=QD(),t.ec=S8e(),t.eddsa=U8e()})),W8e=W(((e,t)=>{m(),function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Go().Buffer}catch{}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function a(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function c(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,l=r;l<a;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=c(e,l,e.length,t),l=0;l<s;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;l+=(s=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?u[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?g+n:u[h-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r(typeof o<"u"),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(o),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a<o;a++)u[a]=0}else{for(a=0;a<o-i;a++)u[a]=0;for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[o-a-1]=s}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return r(!(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return r(!(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return r(!(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(t=(0|r.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<r.length;s++)o=(t=(0|r.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,f=0|s[1],p=8191&f,g=f>>>13,y=0|s[2],m=8191&y,b=y>>>13,w=0|s[3],v=8191&w,A=w>>>13,E=0|s[4],T=8191&E,C=E>>>13,S=0|s[5],I=8191&S,O=S>>>13,M=0|s[6],P=8191&M,k=M>>>13,B=0|s[7],x=8191&B,N=B>>>13,R=0|s[8],_=8191&R,U=R>>>13,D=0|s[9],W=8191&D,L=D>>>13,z=0|a[0],F=8191&z,K=z>>>13,j=0|a[1],H=8191&j,G=j>>>13,V=0|a[2],q=8191&V,J=V>>>13,Y=0|a[3],X=8191&Y,Q=Y>>>13,Z=0|a[4],$=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,he=le>>>13,fe=0|a[9],pe=8191&fe,ge=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,K))+Math.imul(h,F)|0))<<13)|0;u=((o=Math.imul(h,K))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,F),i=(i=Math.imul(p,K))+Math.imul(g,F)|0,o=Math.imul(g,K);var me=(u+(n=n+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(h,H)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,F),i=(i=Math.imul(m,K))+Math.imul(b,F)|0,o=Math.imul(b,K),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,G)|0;var be=(u+(n=n+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(v,F),i=(i=Math.imul(v,K))+Math.imul(A,F)|0,o=Math.imul(A,K),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,J)|0;var we=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,F),i=(i=Math.imul(T,K))+Math.imul(C,F)|0,o=Math.imul(C,K),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Q)|0;var ve=(u+(n=n+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,F),i=(i=Math.imul(I,K))+Math.imul(O,F)|0,o=Math.imul(O,K),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0;var Ae=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(P,F),i=(i=Math.imul(P,K))+Math.imul(k,F)|0,o=Math.imul(k,K),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0;var Ee=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,F),i=(i=Math.imul(x,K))+Math.imul(N,F)|0,o=Math.imul(N,K),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,G)|0,n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,J)|0,n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Te=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(_,F),i=(i=Math.imul(_,K))+Math.imul(U,F)|0,o=Math.imul(U,K),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(m,oe)|0,i=(i=i+Math.imul(m,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(W,F),i=(i=Math.imul(W,K))+Math.imul(L,F)|0,o=Math.imul(L,K),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(U,H)|0,o=o+Math.imul(U,G)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Q)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,he)|0;var Se=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ge)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,ge)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(W,H),i=(i=Math.imul(W,G))+Math.imul(L,H)|0,o=Math.imul(L,G),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(U,q)|0,o=o+Math.imul(U,J)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,Q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(m,de)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,he)|0;var Ie=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(W,q),i=(i=Math.imul(W,J))+Math.imul(L,q)|0,o=Math.imul(L,J),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(U,X)|0,o=o+Math.imul(U,Q)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Oe=(u+(n=n+Math.imul(m,pe)|0)|0)+((8191&(i=(i=i+Math.imul(m,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(W,X),i=(i=Math.imul(W,Q))+Math.imul(L,X)|0,o=Math.imul(L,Q),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(U,$)|0,o=o+Math.imul(U,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Me=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(W,$),i=(i=Math.imul(W,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(U,re)|0,o=o+Math.imul(U,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,ge)|0)+Math.imul(C,pe)|0))<<13)|0;u=((o=o+Math.imul(C,ge)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(W,re),i=(i=Math.imul(W,ne))+Math.imul(L,re)|0,o=Math.imul(L,ne),n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(U,oe)|0,o=o+Math.imul(U,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,he)|0;var ke=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(W,oe),i=(i=Math.imul(W,se))+Math.imul(L,oe)|0,o=Math.imul(L,se),n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(U,ce)|0,o=o+Math.imul(U,ue)|0,n=n+Math.imul(x,de)|0,i=(i=i+Math.imul(x,he)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,he)|0;var Be=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(W,ce),i=(i=Math.imul(W,ue))+Math.imul(L,ce)|0,o=Math.imul(L,ue),n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(U,de)|0,o=o+Math.imul(U,he)|0;var xe=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,ge)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(W,de),i=(i=Math.imul(W,he))+Math.imul(L,de)|0,o=Math.imul(L,he);var Ne=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ge)|0)+Math.imul(U,pe)|0))<<13)|0;u=((o=o+Math.imul(U,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863;var Re=(u+(n=Math.imul(W,pe))|0)+((8191&(i=(i=Math.imul(W,ge))+Math.imul(L,pe)|0))<<13)|0;return u=((o=Math.imul(L,ge))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=ye,c[1]=me,c[2]=be,c[3]=we,c[4]=ve,c[5]=Ae,c[6]=Ee,c[7]=Te,c[8]=Ce,c[9]=Se,c[10]=Ie,c[11]=Oe,c[12]=Me,c[13]=Pe,c[14]=ke,c[15]=Be,c[16]=xe,c[17]=Ne,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=h),i.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),h=67108863&d;a=67108863&(h=h+a|0),i+=(s=(s=s+(d/67108864|0)|0)+(h>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<i;l+=a)for(var d=c,h=u,f=0;f<s;f++){var p=r[l+f],g=n[l+f],y=r[l+f+s],m=n[l+f+s],b=d*y-h*m;m=d*m+h*y,y=b,r[l+f]=p+y,n[l+f]=g+m,r[l+f+s]=p-y,n[l+f+s]=g-m,f!==a&&(b=c*d-u*h,h=c*h+u*d,d=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,u,n),this.transform(s,o,a,c,n,i),this.transform(u,o,l,d,n,i);for(var f=0;f<n;f++){var p=a[f]*l[f]-c[f]*d[f];c[f]=a[f]*d[f]+c[f]*l[f],a[f]=p}return this.conjugate(a,c,n),this.transform(a,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),p(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0!==s)if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var i,o=e.length+n;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(o,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var h=67108864*(0|n.words[o.length+d])+(0|n.words[o.length+d-1]);for(h=Math.min(h/s|0,67108863),n._ishlnsubmul(o,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;!(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;!(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a),s.isub(c)):(n.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var s=new i(1),a=new i(0),c=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(a)):(o.isub(n),a.isub(s))}return(t=0===n.cmpn(1)?s:a).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},n(b,m),b.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&r)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,m),n(v,m),n(A,m),A.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new A}return y[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(!(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);r(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),f=this.pow(e,o),p=s;0!==f.cmp(a);){for(var g=f,y=0;0!==g.cmp(a);y++)g=g.redSqr();r(y<p);var m=this.pow(d,new i(1).iushln(p-y-1));h=h.redMul(m),d=m.redSqr(),f=f.redMul(d),p=y}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;(o!==r[0]&&(o=this.sqr(o)),0!==d||0!==s)?(s<<=1,s|=d,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new T(e)},n(T,E),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)})),z8e=W(((exports,module)=>{m();var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch{return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),(function(t){r[t]=e[t]})),forEach(globals,(function(t){e[t]&&(r[t]=e[t])}));var o=Object_keys(r),s=n.call(r,this.code);return forEach(Object_keys(r),(function(t){(t in e||-1===indexOf(o,t))&&(e[t]=r[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,r[t])})),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),(function(r){e[r]=t[r]})),r},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),(function(r){t[r]=e[r]})),t}})),q8e=W((e=>{m();var t=wS(),r=un();function n(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}e.define=function(e,t){return new n(e,t)},n.prototype._createNamed=function(e){var t;try{t=z8e().runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch{t=function(e){this._initNamed(e)}}return r(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},n.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(t.decoders[e])),this.decoders[e]},n.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},n.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(t.encoders[e])),this.encoders[e]},n.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}})),G8e=W((e=>{m();var t=un();function r(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function n(e,t){this.path=e,this.rethrow(t)}e.Reporter=r,r.prototype.isError=function(e){return e instanceof n},r.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},r.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},r.prototype.enterKey=function(e){return this._reporterState.path.push(e)},r.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},r.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},r.prototype.path=function(){return this._reporterState.path.join("/")},r.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},r.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},r.prototype.error=function(e){var t,r=this._reporterState,i=e instanceof n;if(t=i?e:new n(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return i||r.errors.push(t),t},r.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},t(n,Error),n.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,n),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}})),cZ=W((e=>{m();var t=un(),r=AS().Reporter,n=Go().Buffer;function i(e,t){r.call(this,t),n.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function o(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof o||(e=new o(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=n.byteLength(e);else{if(!n.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}t(i,r),e.DecoderBuffer=i,i.prototype.save=function(){return{offset:this.offset,reporter:r.prototype.save.call(this)}},i.prototype.restore=function(e){var t=new i(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,r.prototype.restore.call(this,e.reporter),t},i.prototype.isEmpty=function(){return this.offset===this.length},i.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},i.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new i(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},i.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},e.EncoderBuffer=o,o.prototype.join=function(e,t){return e||(e=new n(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(e,t),t+=r.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):n.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}})),X8e=W(((e,t)=>{m();var r=AS().Reporter,n=AS().EncoderBuffer,i=AS().DecoderBuffer,o=Gf(),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],a=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function c(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}t.exports=c;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var e=this._baseState,t={};u.forEach((function(r){t[r]=e[r]}));var r=new this.constructor(t.parent);return r._baseState=t,r},c.prototype._wrap=function(){var e=this._baseState;a.forEach((function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},c.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),o.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){var t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(o(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){c.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){c.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(r),this}})),c.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(e){var t=this._baseState;return o(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},c.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},c.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},c.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,o=r.default,s=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){var c=null;if(null!==r.explicit?c=r.explicit:null!==r.implicit?c=r.implicit:null!==r.tag&&(c=r.tag),null!==c||r.any){if(s=this._peekTag(e,c,r.any),e.isError(s))return s}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),s=!0}catch{s=!1}e.restore(u)}}if(r.obj&&s&&(n=e.enterObject()),s){if(null!==r.explicit){var l=this._decodeTag(e,r.explicit);if(e.isError(l))return l;e=l}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)u=e.save();var h=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(h))return h;r.any?o=e.raw(u):e=h}if(t&&t.track&&null!==r.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(o=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(o))return o;if(!r.any&&null===r.choice&&null!==r.children&&r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var f=new i(o);o=this._getUse(r.contains,e._reporterState.obj)._decode(f,t)}}return r.obj&&s&&(o=e.leaveObject(n)),null===r.key||null===o&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,o),o},c.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),o(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},c.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var s=e.save(),a=r.choice[o];try{var c=a._decode(e,t);if(e.isError(c))return!1;n={type:o,value:c},i=!0}catch{return e.restore(s),!1}return!0}),this),i?n:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new n(e,this.reporter)},c.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},c.prototype._encodeValue=function(e,t,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var s=null,a=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)s=this._getUse(i.contains,n)._encode(e,t),a=!0;else if(i.children)s=i.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),c))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(s=this._encodePrimitive(i.tag,e),a=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,l=null===i.implicit?"universal":"context";null===u?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(u,a,l,s))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},c.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},c.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},c.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}})),AS=W((e=>{m();var t=e;t.Reporter=G8e().Reporter,t.DecoderBuffer=cZ().DecoderBuffer,t.EncoderBuffer=cZ().EncoderBuffer,t.Node=X8e()})),Z8e=W((e=>{m();var t=uZ();e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=t._reverse(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=t._reverse(e.tag)})),uZ=W((e=>{m();var t=e;t._reverse=function(e){var t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r})),t},t.der=Z8e()})),dZ=W(((e,t)=>{m();var r=un(),n=wS(),i=n.base,o=n.bignum,s=n.constants.der;function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){i.Node.call(this,"der",e)}function u(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=s.tagClass[r>>6],i=!(32&r);if(31&~r)r&=31;else{var o=r;for(r=0;!(128&~o);){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function l(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(!(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var s=e.readUInt8(r);if(e.isError(s))return s;n|=s}return n}t.exports=a,a.prototype.decode=function(e,t){return e instanceof i.DecoderBuffer||(e=new i.DecoderBuffer(e,t)),this.tree._decode(e,t)},r(c,i.Node),c.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=u(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},c.prototype._decodeTag=function(e,t,r){var n=u(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=l(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var o=e.save(),s=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(s)?s:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){for(;;){var r=u(e,t);if(e.isError(r))return r;var n,i=l(e,r.primitive,t);if(e.isError(i))return i;if(n=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},c.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var s=r.decode(e,"der",n);if(e.isError(s)&&o)break;i.push(s)}return i},c.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var a=e.raw().toString("ascii");return this._isPrintstr(a)?a:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},c.prototype._decodeObjid=function(e,t,r){for(var n,i=[],o=0;!e.isEmpty();){var s=e.readUInt8();o<<=7,o|=127&s,128&s||(i.push(o),o=0)}128&s&&i.push(o);var a=i[0]/40|0,c=i[0]%40;if(n=r?i:[a,c].concat(i.slice(1)),t){var u=t[n.join(" ")];void 0===u&&(u=t[n.join(".")]),void 0!==u&&(n=u)}return n},c.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),a=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),i=0|r.slice(2,4),o=0|r.slice(4,6),s=0|r.slice(6,8),a=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,o,s,a,c,0)},c.prototype._decodeNull=function(e){return null},c.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){var r=e.raw(),n=new o(r);return t&&(n=t[n.toString(10)]||n),n},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}})),sCe=W(((e,t)=>{m();var r=un(),n=Go().Buffer,i=dZ();function o(e){i.call(this,e),this.enc="pem"}r(o,i),t.exports=o,o.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),o=t.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(s);if(null!==l&&l[2]===o){if(-1!==a){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;a=u}}if(-1===a||-1===c)throw new Error("PEM section not found for: "+o);var d=r.slice(a+1,c).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new n(d,"base64");return i.prototype.decode.call(this,h,t)}})),uCe=W((e=>{m();var t=e;t.der=dZ(),t.pem=sCe()})),yZ=W(((e,t)=>{m();var r=un(),n=Go().Buffer,i=wS(),o=i.base,s=i.constants.der;function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){o.Node.call(this,"der",e)}function u(e){return e<10?"0"+e:e}t.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,o.Node),c.prototype._encodeComposite=function(e,t,r,i){var o,a=function(e,t,r,n){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),s.tagByName.hasOwnProperty(e))i=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=s.tagClassByName[r||"universal"]<<6,i)}(e,t,r,this.reporter);if(i.length<128)return(o=new n(2))[0]=a,o[1]=i.length,this._createEncoderBuffer([o,i]);for(var c=1,u=i.length;u>=256;u>>=8)c++;(o=new n(2+c))[0]=a,o[1]=128|c;u=1+c;for(var l=i.length;l>0;u--,l>>=8)o[u]=255&l;return this._createEncoderBuffer([o,i])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new n(2*e.length),i=0;i<e.length;i++)r.writeUInt16BE(e.charCodeAt(i),2*i);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(i=0;i<e.length;i++){var s=e[i];for(o++;s>=128;s>>=7)o++}var a=new n(o),c=a.length-1;for(i=e.length-1;i>=0;i--){s=e[i];for(a[c--]=127&s;(s>>=7)>0;)a[c--]=128|127&s}return this._createEncoderBuffer(a)},c.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[u(n.getFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[u(n.getFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!n.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new n(r)}if(n.isBuffer(e)){var i=e.length;0===e.length&&i++;var o=new n(i);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);i=1;for(var s=e;s>=256;s>>=8)i++;for(s=(o=new Array(i)).length-1;s>=0;s--)o[s]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new n(o))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}})),gCe=W(((e,t)=>{m();var r=un(),n=yZ();function i(e){n.call(this,e),this.enc="pem"}r(i,n),t.exports=i,i.prototype.encode=function(e,t){for(var r=n.prototype.encode.call(this,e).toString("base64"),i=["-----BEGIN "+t.label+"-----"],o=0;o<r.length;o+=64)i.push(r.slice(o,o+64));return i.push("-----END "+t.label+"-----"),i.join("\n")}})),bCe=W((e=>{m();var t=e;t.der=yZ(),t.pem=gCe()})),wS=W((e=>{m();var t=e;t.bignum=W8e(),t.define=q8e().define,t.base=AS(),t.constants=uZ(),t.decoders=uCe(),t.encoders=bCe()})),ECe=W(((e,t)=>{"use strict";m();var r=wS(),n=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),i=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),o=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())})),a=r.define("RelativeDistinguishedName",(function(){this.setof(i)})),c=r.define("RDNSequence",(function(){this.seqof(a)})),u=r.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),l=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(n),this.key("notAfter").use(n))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(u),this.key("validity").use(l),this.key("subject").use(u),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),f=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())}));t.exports=f})),SCe=W((e=>{"use strict";m();var t=wS();e.certificate=ECe();var r=t.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=r;var n=t.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=n;var i=t.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),o=t.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(i),this.key("subjectPublicKey").bitstr())}));e.PublicKey=o;var s=t.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(i),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=s;var a=t.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=a;var c=t.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=c,e.DSAparam=t.define("DSAparam",(function(){this.int()}));var u=t.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})})),l=t.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(u),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=l,e.signature=t.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))})),CCe=W(((e,t)=>{t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}})),OCe=W(((e,t)=>{"use strict";m();var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=TI(),s=TD(),a=vn().Buffer;t.exports=function(e,t){var c,u=e.toString(),l=u.match(r);if(l){var d="aes"+l[1],h=a.from(l[2],"hex"),f=a.from(l[3].replace(/[\r\n]/g,""),"base64"),p=o(t,h.slice(0,8),parseInt(l[1],10)).key,g=[],y=s.createDecipheriv(d,p,h);g.push(y.update(f)),g.push(y.final()),c=a.concat(g)}else{var m=u.match(i);c=a.from(m[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(n)[1],data:c}}})),KI=W(((e,t)=>{"use strict";m();var r=SCe(),n=CCe(),i=OCe(),o=TD(),s=LY(),a=vn().Buffer;function c(e){var t;"object"==typeof e&&!a.isBuffer(e)&&(t=e.passphrase,e=e.key),"string"==typeof e&&(e=a.from(e));var c,u,l=i(e,t),d=l.tag,h=l.data;switch(d){case"CERTIFICATE":u=r.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=r.PublicKey.decode(h,"der")),c=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=r.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+c)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),c=n[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,d=parseInt(c.split("-")[1],10)/8,h=s.pbkdf2Sync(t,r,i,d,"sha1"),f=o.createDecipheriv(c,h,u),p=[];return p.push(f.update(l)),p.push(f.final()),a.concat(p)}(h=r.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(c=(u=r.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:r.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=r.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+c)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=r.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}c.signature=r.signature,t.exports=c})),xZ=W(((e,t)=>{t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}})),_Ce=W(((e,t)=>{"use strict";m();var r=vn().Buffer,n=OY(),i=WD(),o=nU().ec,s=sS(),a=KI(),c=xZ();function u(e,t,i,o){if((e=r.from(e.toArray())).length<t.byteLength()){var s=r.alloc(t.byteLength()-e.length);e=r.concat([s,e])}var a=i.length,c=function(e,t){e=l(e,t),e=e.mod(t);var n=r.from(e.toArray());if(n.length<t.byteLength()){var i=r.alloc(t.byteLength()-n.length);n=r.concat([i,n])}return n}(i,t),u=r.alloc(a);u.fill(1);var d=r.alloc(a);return d=n(o,d).update(u).update(r.from([0])).update(e).update(c).digest(),u=n(o,d).update(u).digest(),{k:d=n(o,d).update(u).update(r.from([1])).update(e).update(c).digest(),v:u=n(o,d).update(u).digest()}}function l(e,t){var r=new s(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function d(e,t,i){var o,s;do{for(o=r.alloc(0);8*o.length<e.bitLength();)t.v=n(i,t.k).update(t.v).digest(),o=r.concat([o,t.v]);s=l(o,e),t.k=n(i,t.k).update(t.v).update(r.from([0])).digest(),t.v=n(i,t.k).update(t.v).digest()}while(-1!==s.cmp(e));return s}function h(e,t,r,n){return e.toRed(s.mont(r)).redPow(t).fromRed().mod(n)}t.exports=function(e,t,n,f,p){var g=a(t);if(g.curve){if("ecdsa"!==f&&"ecdsa/rsa"!==f)throw new Error("wrong private key type");return function(e,t){var n=c[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new o(n),s=i.keyFromPrivate(t.privateKey),a=s.sign(e);return r.from(a.toDER())}(e,g)}if("dsa"===g.type){if("dsa"!==f)throw new Error("wrong private key type");return function(e,t,n){for(var i,o=t.params.priv_key,a=t.params.p,c=t.params.q,f=t.params.g,p=new s(0),g=l(e,c).mod(c),y=!1,m=u(o,c,e,n);!1===y;)i=d(c,m,n),p=h(f,i,a,c),0===(y=i.invm(c).imul(g.add(o.mul(p))).mod(c)).cmpn(0)&&(y=!1,p=new s(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var n=e.length+t.length+4,i=[48,n,2,e.length];return i=i.concat(e,[2,t.length],t),r.from(i)}(p,y)}(e,g,n)}if("rsa"!==f&&"ecdsa/rsa"!==f)throw new Error("wrong private key type");if(void 0!==t.padding&&1!==t.padding)throw new Error("illegal or unsupported padding mode");e=r.concat([p,e]);for(var y=g.modulus.byteLength(),m=[0,1];e.length+m.length+1<y;)m.push(255);m.push(0);for(var b=-1;++b<e.length;)m.push(e[b]);return i(m,g)},t.exports.getKey=u,t.exports.makeKey=d})),UCe=W(((e,t)=>{"use strict";m();var r=vn().Buffer,n=sS(),i=nU().ec,o=KI(),s=xZ();function a(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=0)throw new Error("invalid sig")}t.exports=function(e,t,c,u,l){var d=o(c);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),a=r.data.subjectPrivateKey.data;return o.verify(t,e,a)}(e,t,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var i=r.data.p,s=r.data.q,c=r.data.g,u=r.data.pub_key,l=o.signature.decode(e,"der"),d=l.s,h=l.r;a(d,s),a(h,s);var f=n.mont(i),p=d.invm(s),g=c.toRed(f).redPow(new n(t).mul(p).mod(s)).fromRed().mul(u.toRed(f).redPow(h.mul(p).mod(s)).fromRed()).mod(i).mod(s);return 0===g.cmp(h)}(e,t,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=r.concat([l,t]);for(var h=d.modulus.byteLength(),f=[1],p=0;t.length+f.length+2<h;)f.push(255),p+=1;f.push(0);for(var g=-1;++g<t.length;)f.push(t[g]);f=r.from(f);var y=n.mont(d.modulus);e=(e=new n(e).toRed(y)).redPow(new n(d.publicExponent)),e=r.from(e.fromRed().toArray());var m=p<8?1:0;for(h=Math.min(e.length,f.length),e.length!==f.length&&(m=1),g=-1;++g<h;)m|=e[g]^f[g];return 0===m}})),HCe=W(((e,t)=>{"use strict";m();var r=vn().Buffer,n=VT(),i=l4e(),o=un(),s=_Ce(),a=UCe(),c=PY();function u(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function l(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new u(e)}function h(e){return new l(e)}Object.keys(c).forEach((function(e){c[e].id=r.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),o(u,i.Writable),u.prototype._write=function(e,t,r){this._hash.update(e),r()},u.prototype.update=function(e,t){return this._hash.update("string"==typeof e?r.from(e,t):e),this},u.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},o(l,i.Writable),l.prototype._write=function(e,t,r){this._hash.update(e),r()},l.prototype.update=function(e,t){return this._hash.update("string"==typeof e?r.from(e,t):e),this},l.prototype.verify=function(e,t,n){var i="string"==typeof t?r.from(t,n):t;this.end();var o=this._hash.digest();return a(i,o,e,this._signType,this._tag)},t.exports={Sign:d,Verify:h,createSign:d,createVerify:h}})),jCe=W(((e,t)=>{m(),function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Go().Buffer}catch{}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function a(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function c(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,l=r;l<a;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=c(e,l,e.length,t),l=0;l<s;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;l+=(s=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?u[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?g+n:u[h-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r(typeof o<"u"),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(o),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a<o;a++)u[a]=0}else{for(a=0;a<o-i;a++)u[a]=0;for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[o-a-1]=s}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return r(!(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return r(!(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return r(!(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(t=(0|r.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<r.length;s++)o=(t=(0|r.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,f=0|s[1],p=8191&f,g=f>>>13,y=0|s[2],m=8191&y,b=y>>>13,w=0|s[3],v=8191&w,A=w>>>13,E=0|s[4],T=8191&E,C=E>>>13,S=0|s[5],I=8191&S,O=S>>>13,M=0|s[6],P=8191&M,k=M>>>13,B=0|s[7],x=8191&B,N=B>>>13,R=0|s[8],_=8191&R,U=R>>>13,D=0|s[9],W=8191&D,L=D>>>13,z=0|a[0],F=8191&z,K=z>>>13,j=0|a[1],H=8191&j,G=j>>>13,V=0|a[2],q=8191&V,J=V>>>13,Y=0|a[3],X=8191&Y,Q=Y>>>13,Z=0|a[4],$=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,he=le>>>13,fe=0|a[9],pe=8191&fe,ge=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,K))+Math.imul(h,F)|0))<<13)|0;u=((o=Math.imul(h,K))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,F),i=(i=Math.imul(p,K))+Math.imul(g,F)|0,o=Math.imul(g,K);var me=(u+(n=n+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(h,H)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,F),i=(i=Math.imul(m,K))+Math.imul(b,F)|0,o=Math.imul(b,K),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,G)|0;var be=(u+(n=n+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(v,F),i=(i=Math.imul(v,K))+Math.imul(A,F)|0,o=Math.imul(A,K),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,J)|0;var we=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,F),i=(i=Math.imul(T,K))+Math.imul(C,F)|0,o=Math.imul(C,K),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Q)|0;var ve=(u+(n=n+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,F),i=(i=Math.imul(I,K))+Math.imul(O,F)|0,o=Math.imul(O,K),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0;var Ae=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(P,F),i=(i=Math.imul(P,K))+Math.imul(k,F)|0,o=Math.imul(k,K),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0;var Ee=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,F),i=(i=Math.imul(x,K))+Math.imul(N,F)|0,o=Math.imul(N,K),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,G)|0,n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,J)|0,n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Te=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(_,F),i=(i=Math.imul(_,K))+Math.imul(U,F)|0,o=Math.imul(U,K),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(m,oe)|0,i=(i=i+Math.imul(m,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(W,F),i=(i=Math.imul(W,K))+Math.imul(L,F)|0,o=Math.imul(L,K),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(U,H)|0,o=o+Math.imul(U,G)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Q)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,he)|0;var Se=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ge)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,ge)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(W,H),i=(i=Math.imul(W,G))+Math.imul(L,H)|0,o=Math.imul(L,G),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(U,q)|0,o=o+Math.imul(U,J)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,Q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(m,de)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,he)|0;var Ie=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(W,q),i=(i=Math.imul(W,J))+Math.imul(L,q)|0,o=Math.imul(L,J),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(U,X)|0,o=o+Math.imul(U,Q)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Oe=(u+(n=n+Math.imul(m,pe)|0)|0)+((8191&(i=(i=i+Math.imul(m,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(W,X),i=(i=Math.imul(W,Q))+Math.imul(L,X)|0,o=Math.imul(L,Q),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(U,$)|0,o=o+Math.imul(U,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Me=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(W,$),i=(i=Math.imul(W,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(U,re)|0,o=o+Math.imul(U,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,ge)|0)+Math.imul(C,pe)|0))<<13)|0;u=((o=o+Math.imul(C,ge)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(W,re),i=(i=Math.imul(W,ne))+Math.imul(L,re)|0,o=Math.imul(L,ne),n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(U,oe)|0,o=o+Math.imul(U,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,he)|0;var ke=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(W,oe),i=(i=Math.imul(W,se))+Math.imul(L,oe)|0,o=Math.imul(L,se),n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(U,ce)|0,o=o+Math.imul(U,ue)|0,n=n+Math.imul(x,de)|0,i=(i=i+Math.imul(x,he)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,he)|0;var Be=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(W,ce),i=(i=Math.imul(W,ue))+Math.imul(L,ce)|0,o=Math.imul(L,ue),n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(U,de)|0,o=o+Math.imul(U,he)|0;var xe=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,ge)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(W,de),i=(i=Math.imul(W,he))+Math.imul(L,de)|0,o=Math.imul(L,he);var Ne=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ge)|0)+Math.imul(U,pe)|0))<<13)|0;u=((o=o+Math.imul(U,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863;var Re=(u+(n=Math.imul(W,pe))|0)+((8191&(i=(i=Math.imul(W,ge))+Math.imul(L,pe)|0))<<13)|0;return u=((o=Math.imul(L,ge))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=ye,c[1]=me,c[2]=be,c[3]=we,c[4]=ve,c[5]=Ae,c[6]=Ee,c[7]=Te,c[8]=Ce,c[9]=Se,c[10]=Ie,c[11]=Oe,c[12]=Me,c[13]=Pe,c[14]=ke,c[15]=Be,c[16]=xe,c[17]=Ne,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=h),i.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),h=67108863&d;a=67108863&(h=h+a|0),i+=(s=(s=s+(d/67108864|0)|0)+(h>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<i;l+=a)for(var d=c,h=u,f=0;f<s;f++){var p=r[l+f],g=n[l+f],y=r[l+f+s],m=n[l+f+s],b=d*y-h*m;m=d*m+h*y,y=b,r[l+f]=p+y,n[l+f]=g+m,r[l+f+s]=p-y,n[l+f+s]=g-m,f!==a&&(b=c*d-u*h,h=c*h+u*d,d=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,u,n),this.transform(s,o,a,c,n,i),this.transform(u,o,l,d,n,i);for(var f=0;f<n;f++){var p=a[f]*l[f]-c[f]*d[f];c[f]=a[f]*d[f]+c[f]*l[f],a[f]=p}return this.conjugate(a,c,n),this.transform(a,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),p(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0!==s)if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var i,o=e.length+n;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(o,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var h=67108864*(0|n.words[o.length+d])+(0|n.words[o.length+d-1]);for(h=Math.min(h/s|0,67108863),n._ishlnsubmul(o,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;!(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;!(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a),s.isub(c)):(n.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var s=new i(1),a=new i(0),c=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(a)):(o.isub(n),a.isub(s))}return(t=0===n.cmpn(1)?s:a).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},n(b,m),b.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&r)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,m),n(v,m),n(A,m),A.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new A}return y[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(!(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);r(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),f=this.pow(e,o),p=s;0!==f.cmp(a);){for(var g=f,y=0;0!==g.cmp(a);y++)g=g.redSqr();r(y<p);var m=this.pow(d,new i(1).iushln(p-y-1));h=h.redMul(m),d=m.redSqr(),f=f.redMul(d),p=y}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;(o!==r[0]&&(o=this.sqr(o)),0!==d||0!==s)?(s<<=1,s|=d,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new T(e)},n(T,E),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)})),VCe=W(((e,t)=>{m();var r=nU(),n=jCe();t.exports=function(e){return new o(e)};var i={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function o(e){this.curveType=i[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function s(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new P.Buffer(e);if(r&&n.length<r){var i=new P.Buffer(r-n.length);i.fill(0),n=P.Buffer.concat([i,n])}return t?n.toString(t):n}i.p224=i.secp224r1,i.p256=i.secp256r1=i.prime256v1,i.p192=i.secp192r1=i.prime192v1,i.p384=i.secp384r1,i.p521=i.secp521r1,o.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},o.prototype.computeSecret=function(e,t,r){return t=t||"utf8",P.Buffer.isBuffer(e)||(e=new P.Buffer(e,t)),s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},o.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),s(r,e)},o.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},o.prototype.setPublicKey=function(e,t){return t=t||"utf8",P.Buffer.isBuffer(e)||(e=new P.Buffer(e,t)),this.keys._importPublic(e),this},o.prototype.setPrivateKey=function(e,t){t=t||"utf8",P.Buffer.isBuffer(e)||(e=new P.Buffer(e,t));var r=new n(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}})),IZ=W(((e,t)=>{m();var r=VT(),n=vn().Buffer;function i(e){var t=n.allocUnsafe(4);return t.writeUInt32BE(e,0),t}t.exports=function(e,t){for(var o,s=n.alloc(0),a=0;s.length<t;)o=i(a++),s=n.concat([s,r("sha1").update(e).update(o).digest()]);return s.slice(0,t)}})),OZ=W(((e,t)=>{m(),t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}})),hU=W(((e,t)=>{m(),function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{o=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:Go().Buffer}catch{}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function a(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function c(e,t,r,n){for(var i=0,o=Math.min(e.length,r),s=t;s<o;s++){var a=e.charCodeAt(s)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},i.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},i.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,s,a=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)s=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=s<<a&67108863,this.words[o+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},i.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,s=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=a(e,t,n)<<o,this.words[s]|=67108863&i,o>=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,l=r;l<a;l+=n)u=c(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=c(e,l,e.length,t),l=0;l<s;l++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this.strip()},i.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},i.prototype.clone=function(){var e=new i(null);return this.copy(e),e},i.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},i.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var l=c>>>26,d=67108863&c,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;l+=(s=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&s}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s<this.length;s++){var a=this.words[s],c=(16777215&(a<<i|o)).toString(16);o=a>>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?u[6-c.length]+c+n:c+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var h=l[e],f=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(f).toString(e);n=(p=p.idivn(f)).isZero()?g+n:u[h-g.length]+g+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return r(typeof o<"u"),this.toArrayLike(o,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(o),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a<o;a++)u[a]=0}else{for(a=0;a<o-i;a++)u[a]=0;for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[o-a-1]=s}return u},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},i.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},i.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},i.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},i.prototype.isNeg=function(){return 0!==this.negative},i.prototype.neg=function(){return this.clone().ineg()},i.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},i.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},i.prototype.ior=function(e){return r(!(this.negative|e.negative)),this.iuor(e)},i.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},i.prototype.iand=function(e){return r(!(this.negative|e.negative)),this.iuand(e)},i.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},i.prototype.ixor=function(e){return r(!(this.negative|e.negative)),this.iuxor(e)},i.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},i.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},i.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,s=0;s<n.length;s++)o=(t=(0|r.words[s])-(0|n.words[s])+o)>>26,this.words[s]=67108863&t;for(;0!==o&&s<r.length;s++)o=(t=(0|r.words[s])+o)>>26,this.words[s]=67108863&t;if(0===o&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},i.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,o,s=e.words,a=t.words,c=r.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,f=0|s[1],p=8191&f,g=f>>>13,y=0|s[2],m=8191&y,b=y>>>13,w=0|s[3],v=8191&w,A=w>>>13,E=0|s[4],T=8191&E,C=E>>>13,S=0|s[5],I=8191&S,O=S>>>13,M=0|s[6],P=8191&M,k=M>>>13,B=0|s[7],x=8191&B,N=B>>>13,R=0|s[8],_=8191&R,U=R>>>13,D=0|s[9],W=8191&D,L=D>>>13,z=0|a[0],F=8191&z,K=z>>>13,j=0|a[1],H=8191&j,G=j>>>13,V=0|a[2],q=8191&V,J=V>>>13,Y=0|a[3],X=8191&Y,Q=Y>>>13,Z=0|a[4],$=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],de=8191&le,he=le>>>13,fe=0|a[9],pe=8191&fe,ge=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(d,F))|0)+((8191&(i=(i=Math.imul(d,K))+Math.imul(h,F)|0))<<13)|0;u=((o=Math.imul(h,K))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(p,F),i=(i=Math.imul(p,K))+Math.imul(g,F)|0,o=Math.imul(g,K);var me=(u+(n=n+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,G)|0)+Math.imul(h,H)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,F),i=(i=Math.imul(m,K))+Math.imul(b,F)|0,o=Math.imul(b,K),n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,G)|0;var be=(u+(n=n+Math.imul(d,q)|0)|0)+((8191&(i=(i=i+Math.imul(d,J)|0)+Math.imul(h,q)|0))<<13)|0;u=((o=o+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(v,F),i=(i=Math.imul(v,K))+Math.imul(A,F)|0,o=Math.imul(A,K),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(b,H)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(g,q)|0,o=o+Math.imul(g,J)|0;var we=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(T,F),i=(i=Math.imul(T,K))+Math.imul(C,F)|0,o=Math.imul(C,K),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(A,H)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(b,q)|0,o=o+Math.imul(b,J)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Q)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,Q)|0;var ve=(u+(n=n+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,$)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(I,F),i=(i=Math.imul(I,K))+Math.imul(O,F)|0,o=Math.imul(O,K),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,G)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0;var Ae=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(P,F),i=(i=Math.imul(P,K))+Math.imul(k,F)|0,o=Math.imul(k,K),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,J)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(g,re)|0,o=o+Math.imul(g,ne)|0;var Ee=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,se)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,se)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,F),i=(i=Math.imul(x,K))+Math.imul(N,F)|0,o=Math.imul(N,K),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,G)|0,n=n+Math.imul(I,q)|0,i=(i=i+Math.imul(I,J)|0)+Math.imul(O,q)|0,o=o+Math.imul(O,J)|0,n=n+Math.imul(T,X)|0,i=(i=i+Math.imul(T,Q)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Q)|0,n=n+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(b,re)|0,o=o+Math.imul(b,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0;var Te=(u+(n=n+Math.imul(d,ce)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,ce)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(_,F),i=(i=Math.imul(_,K))+Math.imul(U,F)|0,o=Math.imul(U,K),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,G)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(k,q)|0,o=o+Math.imul(k,J)|0,n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Q)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(m,oe)|0,i=(i=i+Math.imul(m,se)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,ue)|0;var Ce=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(W,F),i=(i=Math.imul(W,K))+Math.imul(L,F)|0,o=Math.imul(L,K),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(U,H)|0,o=o+Math.imul(U,G)|0,n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,J)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(k,X)|0,o=o+Math.imul(k,Q)|0,n=n+Math.imul(I,$)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,o=o+Math.imul(C,ne)|0,n=n+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,se)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,se)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(g,de)|0,o=o+Math.imul(g,he)|0;var Se=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ge)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,ge)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(W,H),i=(i=Math.imul(W,G))+Math.imul(L,H)|0,o=Math.imul(L,G),n=n+Math.imul(_,q)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(U,q)|0,o=o+Math.imul(U,J)|0,n=n+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,Q)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(T,oe)|0,i=(i=i+Math.imul(T,se)|0)+Math.imul(C,oe)|0,o=o+Math.imul(C,se)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(A,ce)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(m,de)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(b,de)|0,o=o+Math.imul(b,he)|0;var Ie=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((o=o+Math.imul(g,ge)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(W,q),i=(i=Math.imul(W,J))+Math.imul(L,q)|0,o=Math.imul(L,J),n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Q)|0)+Math.imul(U,X)|0,o=o+Math.imul(U,Q)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(k,re)|0,o=o+Math.imul(k,ne)|0,n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,se)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,se)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,o=o+Math.imul(C,ue)|0,n=n+Math.imul(v,de)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var Oe=(u+(n=n+Math.imul(m,pe)|0)|0)+((8191&(i=(i=i+Math.imul(m,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((o=o+Math.imul(b,ge)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(W,X),i=(i=Math.imul(W,Q))+Math.imul(L,X)|0,o=Math.imul(L,Q),n=n+Math.imul(_,$)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(U,$)|0,o=o+Math.imul(U,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(N,re)|0,o=o+Math.imul(N,ne)|0,n=n+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(T,de)|0,i=(i=i+Math.imul(T,he)|0)+Math.imul(C,de)|0,o=o+Math.imul(C,he)|0;var Me=(u+(n=n+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,ge)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,ge)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(W,$),i=(i=Math.imul(W,ee))+Math.imul(L,$)|0,o=Math.imul(L,ee),n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(U,re)|0,o=o+Math.imul(U,ne)|0,n=n+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(k,ce)|0,o=o+Math.imul(k,ue)|0,n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(T,pe)|0)|0)+((8191&(i=(i=i+Math.imul(T,ge)|0)+Math.imul(C,pe)|0))<<13)|0;u=((o=o+Math.imul(C,ge)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(W,re),i=(i=Math.imul(W,ne))+Math.imul(L,re)|0,o=Math.imul(L,ne),n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(U,oe)|0,o=o+Math.imul(U,se)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,ue)|0,n=n+Math.imul(P,de)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(k,de)|0,o=o+Math.imul(k,he)|0;var ke=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,ge)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(W,oe),i=(i=Math.imul(W,se))+Math.imul(L,oe)|0,o=Math.imul(L,se),n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(U,ce)|0,o=o+Math.imul(U,ue)|0,n=n+Math.imul(x,de)|0,i=(i=i+Math.imul(x,he)|0)+Math.imul(N,de)|0,o=o+Math.imul(N,he)|0;var Be=(u+(n=n+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,ge)|0)+Math.imul(k,pe)|0))<<13)|0;u=((o=o+Math.imul(k,ge)|0)+(i>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(W,ce),i=(i=Math.imul(W,ue))+Math.imul(L,ce)|0,o=Math.imul(L,ue),n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(U,de)|0,o=o+Math.imul(U,he)|0;var xe=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,ge)|0)+Math.imul(N,pe)|0))<<13)|0;u=((o=o+Math.imul(N,ge)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(W,de),i=(i=Math.imul(W,he))+Math.imul(L,de)|0,o=Math.imul(L,he);var Ne=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,ge)|0)+Math.imul(U,pe)|0))<<13)|0;u=((o=o+Math.imul(U,ge)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863;var Re=(u+(n=Math.imul(W,pe))|0)+((8191&(i=(i=Math.imul(W,ge))+Math.imul(L,pe)|0))<<13)|0;return u=((o=Math.imul(L,ge))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,c[0]=ye,c[1]=me,c[2]=be,c[3]=we,c[4]=ve,c[5]=Ae,c[6]=Ee,c[7]=Te,c[8]=Ce,c[9]=Se,c[10]=Ie,c[11]=Oe,c[12]=Me,c[13]=Pe,c[14]=ke,c[15]=Be,c[16]=xe,c[17]=Ne,c[18]=Re,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=h),i.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var s=i;i=0;for(var a=67108863&n,c=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=c;u++){var l=o-u,d=(0|e.words[l])*(0|t.words[u]),h=67108863&d;a=67108863&(h=h+a|0),i+=(s=(s=s+(d/67108864|0)|0)+(h>>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):p(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var s=0;s<o;s++)n[s]=t[e[s]],i[s]=r[e[s]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var s=1;s<i;s<<=1)for(var a=s<<1,c=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),l=0;l<i;l+=a)for(var d=c,h=u,f=0;f<s;f++){var p=r[l+f],g=n[l+f],y=r[l+f+s],m=n[l+f+s],b=d*y-h*m;m=d*m+h*y,y=b,r[l+f]=p+y,n[l+f]=g+m,r[l+f+s]=p-y,n[l+f+s]=g-m,f!==a&&(b=c*d-u*h,h=c*h+u*d,d=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,n,i){for(var o=0,s=0;s<t;s++)o+=0|e[s],n[2*s]=8191&o,o>>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s<i;++s)n[s]=0;r(0===o),r(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),s=new Array(n),a=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,s,n),this.convert13b(t.words,t.length,u,n),this.transform(s,o,a,c,n,i),this.transform(u,o,l,d,n,i);for(var f=0;f<n;f++){var p=a[f]*l[f]-c[f]*d[f];c[f]=a[f]*d[f]+c[f]*l[f],a[f]=p}return this.conjugate(a,c,n),this.transform(a,c,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},i.prototype.mul=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},i.prototype.mulf=function(e){var t=new i(null);return t.words=new Array(this.length+e.length),p(this,e,t)},i.prototype.imul=function(e){return this.clone().mulTo(e,this)},i.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var o=r.sqr();n<t.length;n++,o=o.sqr())0!==t[n]&&(r=r.mul(o));return r},i.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t<this.length;t++){var a=this.words[t]&o,c=(0|this.words[t])-a<<n;this.words[t]=c|s,s=a>>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},i.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},i.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<<o,c=n;if(i-=s,i=Math.max(0,i),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0!==s)if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-o|d>>>o,l=d&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},i.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},i.prototype.maskn=function(e){return this.clone().imaskn(e)},i.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},i.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},i.prototype.addn=function(e){return this.clone().iaddn(e)},i.prototype.subn=function(e){return this.clone().isubn(e)},i.prototype.iabs=function(){return this.negative=0,this},i.prototype.abs=function(){return this.clone().iabs()},i.prototype._ishlnsubmul=function(e,t,n){var i,o=e.length+n;this._expand(o);var s,a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+n])+a;var c=(0|e.words[i])*t;a=((s-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&s}for(;i<this.length-n;i++)a=(s=(0|this.words[i+n])+a)>>26,this.words[i+n]=67108863&s;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var l=n.clone()._ishlnsubmul(o,1,c);0===l.negative&&(n=l,a&&(a.words[c]=1));for(var d=c-1;d>=0;d--){var h=67108864*(0|n.words[o.length+d])+(0|n.words[o.length+d-1]);for(h=Math.min(h/s|0,67108863),n._ishlnsubmul(o,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(o,1,d),n.isZero()||(n.negative^=1);a&&(a.words[d]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},i.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;!(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;!(n.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(d)),a.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),o.isub(a),s.isub(c)):(n.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,n=this,o=e.clone();n=0!==n.negative?n.umod(e):n.clone();for(var s=new i(1),a=new i(0),c=o.clone();n.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;!(n.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;!(o.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);n.cmp(o)>=0?(n.isub(o),s.isub(a)):(o.isub(n),a.isub(s))}return(t=0===n.cmpn(1)?s:a).cmpn(0)<0&&t.iadd(e),t},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return!(1&this.words[0])},i.prototype.isOdd=function(){return!(1&~this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,s=n;0!==o&&s<this.length;s++){var a=0|this.words[s];o=(a+=o)>>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},i.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},i.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function m(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){m.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){m.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){m.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){m.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}m.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},m.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},m.prototype.split=function(e,t){e.iushrn(this.n,0,t)},m.prototype.imulK=function(e){return e.imul(this.k)},n(b,m),b.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var s=0|e.words[i];e.words[i-10]=(s&r)<<4|o>>>22,o=s}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,m),n(v,m),n(A,m),A.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new w;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new A}return y[e]=t,t},E.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){r(!(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new i(1)).iushrn(2);return this.pow(e,n)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);r(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(e,o.addn(1).iushrn(1)),f=this.pow(e,o),p=s;0!==f.cmp(a);){for(var g=f,y=0;0!==g.cmp(a);y++)g=g.redSqr();r(y<p);var m=this.pow(d,new i(1).iushln(p-y-1));h=h.redMul(m),d=m.redSqr(),f=f.redMul(d),p=y}return h},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new i(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new i(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var o=r[0],s=0,a=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;(o!==r[0]&&(o=this.sqr(o)),0!==d||0!==s)?(s<<=1,s|=d,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new T(e)},n(T,E),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(typeof t>"u"||t,e)})),BZ=W(((e,t)=>{m();var r=hU(),n=vn().Buffer;t.exports=function(e,t){return n.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}})),rIe=W(((e,t)=>{m();var r=KI(),n=Ux(),i=VT(),o=IZ(),s=OZ(),a=hU(),c=BZ(),u=WD(),l=vn().Buffer;t.exports=function(e,t,d){var h;h=e.padding?e.padding:d?1:4;var f,p=r(e);if(4===h)f=function(e,t){var r=e.modulus.byteLength(),c=t.length,u=i("sha1").update(l.alloc(0)).digest(),d=u.length,h=2*d;if(c>r-h-2)throw new Error("message too long");var f=l.alloc(r-c-h-2),p=r-d-1,g=n(d),y=s(l.concat([u,f,l.alloc(1,1),t],p),o(g,p)),m=s(g,o(y,d));return new a(l.concat([l.alloc(1),m,y],r))}(p,t);else if(1===h)f=function(e,t,r){var i,o=t.length,s=e.modulus.byteLength();if(o>s-11)throw new Error("message too long");return i=r?l.alloc(s-o-3,255):function(e){for(var t,r=l.allocUnsafe(e),i=0,o=n(2*e),s=0;i<e;)s===o.length&&(o=n(2*e),s=0),(t=o[s++])&&(r[i++]=t);return r}(s-o-3),new a(l.concat([l.from([0,r?1:2]),i,l.alloc(1),t],s))}(p,t,d);else{if(3!==h)throw new Error("unknown padding");if((f=new a(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return d?u(f,p):c(f,p)}})),aIe=W(((e,t)=>{m();var r=KI(),n=IZ(),i=OZ(),o=hU(),s=WD(),a=VT(),c=BZ(),u=vn().Buffer;t.exports=function(e,t,l){var d;d=e.padding?e.padding:l?1:4;var h,f=r(e),p=f.modulus.byteLength();if(t.length>p||new o(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=l?c(new o(t),f):s(t,f);var g=u.alloc(p-h.length);if(h=u.concat([g,h],p),4===d)return function(e,t){var r=e.modulus.byteLength(),o=a("sha1").update(u.alloc(0)).digest(),s=o.length;if(0!==t[0])throw new Error("decryption error");var c=t.slice(1,s+1),l=t.slice(s+1),d=i(c,n(l,s)),h=i(l,n(d,r-s-1));if(function(e,t){e=u.from(e),t=u.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));for(var i=-1;++i<n;)r+=e[i]^t[i];return r}(o,h.slice(0,s)))throw new Error("decryption error");for(var f=s;0===h[f];)f++;if(1!==h[f++])throw new Error("decryption error");return h.slice(f)}(f,h);if(1===d)return function(e,t,r){for(var n=t.slice(0,2),i=2,o=0;0!==t[i++];)if(i>=t.length){o++;break}var s=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,s.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}(0,h,l);if(3===d)return h;throw new Error("unknown padding")}})),cIe=W((e=>{m(),e.publicEncrypt=rIe(),e.privateDecrypt=aIe(),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}})),bIe=W((e=>{"use strict";function t(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}m();var r=vn(),n=Ux(),i=r.Buffer,o=r.kMaxLength,s=global.crypto||global.msCrypto,a=Math.pow(2,32)-1;function c(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>a||e<0)throw new TypeError("offset must be a uint32");if(e>o||e>t)throw new RangeError("offset out of range")}function u(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>a||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>o)throw new RangeError("buffer too small")}function l(e,t,r,i){if(I.default.browser){var o=e.buffer,a=new Uint8Array(o,t,r);return s.getRandomValues(a),i?void I.default.nextTick((function(){i(null,e)})):e}if(!i)return n(r).copy(e,t),e;n(r,(function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)}))}s&&s.getRandomValues||!I.default.browser?(e.randomFill=function(e,t,r,n){if(!(i.isBuffer(e)||e instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)n=t,t=0,r=e.length;else if("function"==typeof r)n=r,r=e.length-t;else if("function"!=typeof n)throw new TypeError('"cb" argument must be a function');return c(t,e.length),u(r,t,e.length),l(e,t,r,n)},e.randomFillSync=function(e,t,r){if(typeof t>"u"&&(t=0),!(i.isBuffer(e)||e instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return c(t,e.length),void 0===r&&(r=e.length-t),u(r,t,e.length),l(e,t,r)}):(e.randomFill=t,e.randomFillSync=t)})),II=W((e=>{"use strict";m(),e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=Ux(),e.createHash=e.Hash=VT(),e.createHmac=e.Hmac=OY();var t=NSe(),r=Object.keys(t),n=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(r);e.getHashes=function(){return n};var i=LY();e.pbkdf2=i.pbkdf2,e.pbkdf2Sync=i.pbkdf2Sync;var o=n6e();e.Cipher=o.Cipher,e.createCipher=o.createCipher,e.Cipheriv=o.Cipheriv,e.createCipheriv=o.createCipheriv,e.Decipher=o.Decipher,e.createDecipher=o.createDecipher,e.Decipheriv=o.Decipheriv,e.createDecipheriv=o.createDecipheriv,e.getCiphers=o.getCiphers,e.listCiphers=o.listCiphers;var s=b6e();e.DiffieHellmanGroup=s.DiffieHellmanGroup,e.createDiffieHellmanGroup=s.createDiffieHellmanGroup,e.getDiffieHellman=s.getDiffieHellman,e.createDiffieHellman=s.createDiffieHellman,e.DiffieHellman=s.DiffieHellman;var a=HCe();e.createSign=a.createSign,e.Sign=a.Sign,e.createVerify=a.createVerify,e.Verify=a.Verify,e.createECDH=VCe();var c=cIe();e.publicEncrypt=c.publicEncrypt,e.privateEncrypt=c.privateEncrypt,e.publicDecrypt=c.publicDecrypt,e.privateDecrypt=c.privateDecrypt;var u=bIe();e.randomFill=u.randomFill,e.randomFillSync=u.randomFillSync,e.createCredentials=function(){throw new Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify")},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}})),oh=W(((e,t)=>{m(),function(e){"use strict";var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},r=function(){throw new Error("no PRNG")},n=new Uint8Array(16),i=new Uint8Array(32);i[0]=9;var o=t(),s=t([1]),a=t([56129,1]),c=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),u=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),l=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),d=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),h=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function f(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function p(e,t,r,n,i){var o,s=0;for(o=0;o<i;o++)s|=e[t+o]^r[n+o];return(1&s-1>>>8)-1}function g(e,t,r,n){return p(e,t,r,n,16)}function y(e,t,r,n){return p(e,t,r,n,32)}function m(e,t,r,n){!function(e,t,r,n){for(var i,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,h=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,f=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,y=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,m=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,b=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,w=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,v=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,A=o,E=s,T=a,C=c,S=u,I=l,O=d,M=h,P=f,k=p,B=g,x=y,N=m,R=b,_=w,U=v,D=0;D<20;D+=2)A^=(i=(N^=(i=(P^=(i=(S^=(i=A+N|0)<<7|i>>>25)+A|0)<<9|i>>>23)+S|0)<<13|i>>>19)+P|0)<<18|i>>>14,I^=(i=(E^=(i=(R^=(i=(k^=(i=I+E|0)<<7|i>>>25)+I|0)<<9|i>>>23)+k|0)<<13|i>>>19)+R|0)<<18|i>>>14,B^=(i=(O^=(i=(T^=(i=(_^=(i=B+O|0)<<7|i>>>25)+B|0)<<9|i>>>23)+_|0)<<13|i>>>19)+T|0)<<18|i>>>14,U^=(i=(x^=(i=(M^=(i=(C^=(i=U+x|0)<<7|i>>>25)+U|0)<<9|i>>>23)+C|0)<<13|i>>>19)+M|0)<<18|i>>>14,A^=(i=(C^=(i=(T^=(i=(E^=(i=A+C|0)<<7|i>>>25)+A|0)<<9|i>>>23)+E|0)<<13|i>>>19)+T|0)<<18|i>>>14,I^=(i=(S^=(i=(M^=(i=(O^=(i=I+S|0)<<7|i>>>25)+I|0)<<9|i>>>23)+O|0)<<13|i>>>19)+M|0)<<18|i>>>14,B^=(i=(k^=(i=(P^=(i=(x^=(i=B+k|0)<<7|i>>>25)+B|0)<<9|i>>>23)+x|0)<<13|i>>>19)+P|0)<<18|i>>>14,U^=(i=(_^=(i=(R^=(i=(N^=(i=U+_|0)<<7|i>>>25)+U|0)<<9|i>>>23)+N|0)<<13|i>>>19)+R|0)<<18|i>>>14;A=A+o|0,E=E+s|0,T=T+a|0,C=C+c|0,S=S+u|0,I=I+l|0,O=O+d|0,M=M+h|0,P=P+f|0,k=k+p|0,B=B+g|0,x=x+y|0,N=N+m|0,R=R+b|0,_=_+w|0,U=U+v|0,e[0]=A>>>0&255,e[1]=A>>>8&255,e[2]=A>>>16&255,e[3]=A>>>24&255,e[4]=E>>>0&255,e[5]=E>>>8&255,e[6]=E>>>16&255,e[7]=E>>>24&255,e[8]=T>>>0&255,e[9]=T>>>8&255,e[10]=T>>>16&255,e[11]=T>>>24&255,e[12]=C>>>0&255,e[13]=C>>>8&255,e[14]=C>>>16&255,e[15]=C>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=I>>>0&255,e[21]=I>>>8&255,e[22]=I>>>16&255,e[23]=I>>>24&255,e[24]=O>>>0&255,e[25]=O>>>8&255,e[26]=O>>>16&255,e[27]=O>>>24&255,e[28]=M>>>0&255,e[29]=M>>>8&255,e[30]=M>>>16&255,e[31]=M>>>24&255,e[32]=P>>>0&255,e[33]=P>>>8&255,e[34]=P>>>16&255,e[35]=P>>>24&255,e[36]=k>>>0&255,e[37]=k>>>8&255,e[38]=k>>>16&255,e[39]=k>>>24&255,e[40]=B>>>0&255,e[41]=B>>>8&255,e[42]=B>>>16&255,e[43]=B>>>24&255,e[44]=x>>>0&255,e[45]=x>>>8&255,e[46]=x>>>16&255,e[47]=x>>>24&255,e[48]=N>>>0&255,e[49]=N>>>8&255,e[50]=N>>>16&255,e[51]=N>>>24&255,e[52]=R>>>0&255,e[53]=R>>>8&255,e[54]=R>>>16&255,e[55]=R>>>24&255,e[56]=_>>>0&255,e[57]=_>>>8&255,e[58]=_>>>16&255,e[59]=_>>>24&255,e[60]=U>>>0&255,e[61]=U>>>8&255,e[62]=U>>>16&255,e[63]=U>>>24&255}(e,t,r,n)}function b(e,t,r,n){!function(e,t,r,n){for(var i,o=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,s=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,a=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,h=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,f=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,g=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,y=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,m=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,b=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,w=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,v=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,A=0;A<20;A+=2)o^=(i=(m^=(i=(f^=(i=(u^=(i=o+m|0)<<7|i>>>25)+o|0)<<9|i>>>23)+u|0)<<13|i>>>19)+f|0)<<18|i>>>14,l^=(i=(s^=(i=(b^=(i=(p^=(i=l+s|0)<<7|i>>>25)+l|0)<<9|i>>>23)+p|0)<<13|i>>>19)+b|0)<<18|i>>>14,g^=(i=(d^=(i=(a^=(i=(w^=(i=g+d|0)<<7|i>>>25)+g|0)<<9|i>>>23)+w|0)<<13|i>>>19)+a|0)<<18|i>>>14,v^=(i=(y^=(i=(h^=(i=(c^=(i=v+y|0)<<7|i>>>25)+v|0)<<9|i>>>23)+c|0)<<13|i>>>19)+h|0)<<18|i>>>14,o^=(i=(c^=(i=(a^=(i=(s^=(i=o+c|0)<<7|i>>>25)+o|0)<<9|i>>>23)+s|0)<<13|i>>>19)+a|0)<<18|i>>>14,l^=(i=(u^=(i=(h^=(i=(d^=(i=l+u|0)<<7|i>>>25)+l|0)<<9|i>>>23)+d|0)<<13|i>>>19)+h|0)<<18|i>>>14,g^=(i=(p^=(i=(f^=(i=(y^=(i=g+p|0)<<7|i>>>25)+g|0)<<9|i>>>23)+y|0)<<13|i>>>19)+f|0)<<18|i>>>14,v^=(i=(w^=(i=(b^=(i=(m^=(i=v+w|0)<<7|i>>>25)+v|0)<<9|i>>>23)+m|0)<<13|i>>>19)+b|0)<<18|i>>>14;e[0]=o>>>0&255,e[1]=o>>>8&255,e[2]=o>>>16&255,e[3]=o>>>24&255,e[4]=l>>>0&255,e[5]=l>>>8&255,e[6]=l>>>16&255,e[7]=l>>>24&255,e[8]=g>>>0&255,e[9]=g>>>8&255,e[10]=g>>>16&255,e[11]=g>>>24&255,e[12]=v>>>0&255,e[13]=v>>>8&255,e[14]=v>>>16&255,e[15]=v>>>24&255,e[16]=d>>>0&255,e[17]=d>>>8&255,e[18]=d>>>16&255,e[19]=d>>>24&255,e[20]=h>>>0&255,e[21]=h>>>8&255,e[22]=h>>>16&255,e[23]=h>>>24&255,e[24]=f>>>0&255,e[25]=f>>>8&255,e[26]=f>>>16&255,e[27]=f>>>24&255,e[28]=p>>>0&255,e[29]=p>>>8&255,e[30]=p>>>16&255,e[31]=p>>>24&255}(e,t,r,n)}var w=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function v(e,t,r,n,i,o,s){var a,c,u=new Uint8Array(16),l=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=o[c];for(;i>=64;){for(m(l,u,s,w),c=0;c<64;c++)e[t+c]=r[n+c]^l[c];for(a=1,c=8;c<16;c++)a=a+(255&u[c])|0,u[c]=255&a,a>>>=8;i-=64,t+=64,n+=64}if(i>0)for(m(l,u,s,w),c=0;c<i;c++)e[t+c]=r[n+c]^l[c];return 0}function A(e,t,r,n,i){var o,s,a=new Uint8Array(16),c=new Uint8Array(64);for(s=0;s<16;s++)a[s]=0;for(s=0;s<8;s++)a[s]=n[s];for(;r>=64;){for(m(c,a,i,w),s=0;s<64;s++)e[t+s]=c[s];for(o=1,s=8;s<16;s++)o=o+(255&a[s])|0,a[s]=255&o,o>>>=8;r-=64,t+=64}if(r>0)for(m(c,a,i,w),s=0;s<r;s++)e[t+s]=c[s];return 0}function E(e,t,r,n,i){var o=new Uint8Array(32);b(o,n,i,w);for(var s=new Uint8Array(8),a=0;a<8;a++)s[a]=n[a+16];return A(e,t,r,s,o)}function T(e,t,r,n,i,o,s){var a=new Uint8Array(32);b(a,o,s,w);for(var c=new Uint8Array(8),u=0;u<8;u++)c[u]=o[u+16];return v(e,t,r,n,i,c,a)}var C=function(e){var t,r,n,i,o,s,a,c;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,s=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|s<<2),a=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(s>>>11|a<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(a>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function S(e,t,r,n,i,o){var s=new C(o);return s.update(r,n,i),s.finish(e,t),0}function I(e,t,r,n,i,o){var s=new Uint8Array(16);return S(s,0,r,n,i,o),g(e,t,s,0)}function O(e,t,r,n,i){var o;if(r<32)return-1;for(T(e,0,t,0,r,n,i),S(e,16,e,32,r-32,e),o=0;o<16;o++)e[o]=0;return 0}function M(e,t,r,n,i){var o,s=new Uint8Array(32);if(r<32||(E(s,0,32,n,i),0!==I(t,16,t,32,r-32,s)))return-1;for(T(e,0,t,0,r,n,i),o=0;o<32;o++)e[o]=0;return 0}function P(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function k(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function B(e,t,r){for(var n,i=~(r-1),o=0;o<16;o++)n=i&(e[o]^t[o]),e[o]^=n,t[o]^=n}function x(e,r){var n,i,o,s=t(),a=t();for(n=0;n<16;n++)a[n]=r[n];for(k(a),k(a),k(a),i=0;i<2;i++){for(s[0]=a[0]-65517,n=1;n<15;n++)s[n]=a[n]-65535-(s[n-1]>>16&1),s[n-1]&=65535;s[15]=a[15]-32767-(s[14]>>16&1),o=s[15]>>16&1,s[14]&=65535,B(a,s,1-o)}for(n=0;n<16;n++)e[2*n]=255&a[n],e[2*n+1]=a[n]>>8}function N(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return x(r,e),x(n,t),y(r,0,n,0)}function R(e){var t=new Uint8Array(32);return x(t,e),1&t[0]}function _(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function D(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function W(e,t,r){var n,i,o=0,s=0,a=0,c=0,u=0,l=0,d=0,h=0,f=0,p=0,g=0,y=0,m=0,b=0,w=0,v=0,A=0,E=0,T=0,C=0,S=0,I=0,O=0,M=0,P=0,k=0,B=0,x=0,N=0,R=0,_=0,U=r[0],D=r[1],W=r[2],L=r[3],z=r[4],F=r[5],K=r[6],j=r[7],H=r[8],G=r[9],V=r[10],q=r[11],J=r[12],Y=r[13],X=r[14],Q=r[15];o+=(n=t[0])*U,s+=n*D,a+=n*W,c+=n*L,u+=n*z,l+=n*F,d+=n*K,h+=n*j,f+=n*H,p+=n*G,g+=n*V,y+=n*q,m+=n*J,b+=n*Y,w+=n*X,v+=n*Q,s+=(n=t[1])*U,a+=n*D,c+=n*W,u+=n*L,l+=n*z,d+=n*F,h+=n*K,f+=n*j,p+=n*H,g+=n*G,y+=n*V,m+=n*q,b+=n*J,w+=n*Y,v+=n*X,A+=n*Q,a+=(n=t[2])*U,c+=n*D,u+=n*W,l+=n*L,d+=n*z,h+=n*F,f+=n*K,p+=n*j,g+=n*H,y+=n*G,m+=n*V,b+=n*q,w+=n*J,v+=n*Y,A+=n*X,E+=n*Q,c+=(n=t[3])*U,u+=n*D,l+=n*W,d+=n*L,h+=n*z,f+=n*F,p+=n*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Q,m+=(n=t[12])*U,b+=n*D,w+=n*W,v+=n*L,A+=n*z,E+=n*F,T+=n*K,C+=n*j,S+=n*H,I+=n*G,O+=n*V,M+=n*q,P+=n*J,k+=n*Y,B+=n*X,x+=n*Q,b+=(n=t[13])*U,w+=n*D,v+=n*W,A+=n*L,E+=n*z,T+=n*F,C+=n*K,S+=n*j,I+=n*H,O+=n*G,M+=n*V,P+=n*q,k+=n*J,B+=n*Y,x+=n*X,N+=n*Q,w+=(n=t[14])*U,v+=n*D,A+=n*W,E+=n*L,T+=n*z,C+=n*F,S+=n*K,I+=n*j,O+=n*H,M+=n*G,P+=n*V,k+=n*q,B+=n*J,x+=n*Y,N+=n*X,R+=n*Q,v+=(n=t[15])*U,s+=38*(E+=n*W),a+=38*(T+=n*L),c+=38*(C+=n*z),u+=38*(S+=n*F),l+=38*(I+=n*K),d+=38*(O+=n*j),h+=38*(M+=n*H),f+=38*(P+=n*G),p+=38*(k+=n*V),g+=38*(B+=n*q),y+=38*(x+=n*J),m+=38*(N+=n*Y),b+=38*(R+=n*X),w+=38*(_+=n*Q),o=(n=(o+=38*(A+=n*D))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=(o+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),w=(n=w+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),o+=i-1+37*(i-1),e[0]=o,e[1]=s,e[2]=a,e[3]=c,e[4]=u,e[5]=l,e[6]=d,e[7]=h,e[8]=f,e[9]=p,e[10]=g,e[11]=y,e[12]=m,e[13]=b,e[14]=w,e[15]=v}function L(e,t){W(e,t,t)}function z(e,r){var n,i=t();for(n=0;n<16;n++)i[n]=r[n];for(n=253;n>=0;n--)L(i,i),2!==n&&4!==n&&W(i,i,r);for(n=0;n<16;n++)e[n]=i[n]}function F(e,r){var n,i=t();for(n=0;n<16;n++)i[n]=r[n];for(n=250;n>=0;n--)L(i,i),1!==n&&W(i,i,r);for(n=0;n<16;n++)e[n]=i[n]}function K(e,r,n){var i,o,s=new Uint8Array(32),c=new Float64Array(80),u=t(),l=t(),d=t(),h=t(),f=t(),p=t();for(o=0;o<31;o++)s[o]=r[o];for(s[31]=127&r[31]|64,s[0]&=248,_(c,n),o=0;o<16;o++)l[o]=c[o],h[o]=u[o]=d[o]=0;for(u[0]=h[0]=1,o=254;o>=0;--o)B(u,l,i=s[o>>>3]>>>(7&o)&1),B(d,h,i),U(f,u,d),D(u,u,d),U(d,l,h),D(l,l,h),L(h,f),L(p,u),W(u,d,u),W(d,l,f),U(f,u,d),D(u,u,d),L(l,u),D(d,h,p),W(u,d,a),U(u,u,h),W(d,d,u),W(u,h,p),W(h,l,c),L(l,f),B(u,l,i),B(d,h,i);for(o=0;o<16;o++)c[o+16]=u[o],c[o+32]=d[o],c[o+48]=l[o],c[o+64]=h[o];var g=c.subarray(32),y=c.subarray(16);return z(g,g),W(y,y,g),x(e,y),0}function j(e,t){return K(e,t,i)}function H(e,t){return r(t,32),j(e,t)}function G(e,t,r){var i=new Uint8Array(32);return K(i,r,t),b(e,n,i,w)}C.prototype.blocks=function(e,t,r){for(var n,i,o,s,a,c,u,l,d,h,f,p,g,y,m,b,w,v,A,E=this.fin?0:2048,T=this.h[0],C=this.h[1],S=this.h[2],I=this.h[3],O=this.h[4],M=this.h[5],P=this.h[6],k=this.h[7],B=this.h[8],x=this.h[9],N=this.r[0],R=this.r[1],_=this.r[2],U=this.r[3],D=this.r[4],W=this.r[5],L=this.r[6],z=this.r[7],F=this.r[8],K=this.r[9];r>=16;)h=d=0,h+=(T+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*N,h+=(C+=8191&(n>>>13|(i=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*K),h+=(S+=8191&(i>>>10|(o=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*F),h+=(I+=8191&(o>>>7|(s=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*z),d=(h+=(O+=8191&(s>>>4|(a=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*L))>>>13,h&=8191,h+=(M+=a>>>1&8191)*(5*W),h+=(P+=8191&(a>>>14|(c=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*D),h+=(k+=8191&(c>>>11|(u=255&e[t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)>>>13,A&=8191,A+=M*D,A+=P*U,A+=k*_,A+=B*R,T=h=8191&(d=(d=((d+=(A+=x*N)>>>13)<<2)+d|0)+(h&=8191)|0),C=f+=d>>>=13,S=p&=8191,I=g&=8191,O=y&=8191,M=m&=8191,P=b&=8191,k=w&=8191,B=v&=8191,x=A&=8191,t+=16,r-=16;this.h[0]=T,this.h[1]=C,this.h[2]=S,this.h[3]=I,this.h[4]=O,this.h[5]=M,this.h[6]=P,this.h[7]=k,this.h[8]=B,this.h[9]=x},C.prototype.finish=function(e,t){var r,n,i,o,s=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;o<16;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,o=2;o<10;o++)this.h[o]+=r,r=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,s[0]=this.h[0]+5,r=s[0]>>>13,s[0]&=8191,o=1;o<10;o++)s[o]=this.h[o]+r,r=s[o]>>>13,s[o]&=8191;for(s[9]-=8192,n=(1^r)-1,o=0;o<10;o++)s[o]&=n;for(n=~n,o=0;o<10;o++)this.h[o]=this.h[o]&n|s[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;o<8;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},C.prototype.update=function(e,t,r){var n,i;if(this.leftover){for((i=16-this.leftover)>r&&(i=r),n=0;n<i;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(i=r-r%16,this.blocks(e,t,i),t+=i,r-=i),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var V=O,q=M;var J=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function Y(e,t,r,n){for(var i,o,s,a,c,u,l,d,h,f,p,g,y,m,b,w,v,A,E,T,C,S,I,O,M,P,k=new Int32Array(16),B=new Int32Array(16),x=e[0],N=e[1],R=e[2],_=e[3],U=e[4],D=e[5],W=e[6],L=e[7],z=t[0],F=t[1],K=t[2],j=t[3],H=t[4],G=t[5],V=t[6],q=t[7],Y=0;n>=128;){for(E=0;E<16;E++)T=8*E+Y,k[E]=r[T+0]<<24|r[T+1]<<16|r[T+2]<<8|r[T+3],B[E]=r[T+4]<<24|r[T+5]<<16|r[T+6]<<8|r[T+7];for(E=0;E<80;E++)if(i=x,o=N,s=R,a=_,c=U,u=D,l=W,L,h=z,f=F,p=K,g=j,y=H,m=G,b=V,q,I=65535&(S=q),O=S>>>16,M=65535&(C=L),P=C>>>16,I+=65535&(S=(H>>>14|U<<18)^(H>>>18|U<<14)^(U>>>9|H<<23)),O+=S>>>16,M+=65535&(C=(U>>>14|H<<18)^(U>>>18|H<<14)^(H>>>9|U<<23)),P+=C>>>16,I+=65535&(S=H&G^~H&V),O+=S>>>16,M+=65535&(C=U&D^~U&W),P+=C>>>16,I+=65535&(S=J[2*E+1]),O+=S>>>16,M+=65535&(C=J[2*E]),P+=C>>>16,C=k[E%16],O+=(S=B[E%16])>>>16,M+=65535&C,P+=C>>>16,M+=(O+=(I+=65535&S)>>>16)>>>16,I=65535&(S=A=65535&I|O<<16),O=S>>>16,M=65535&(C=v=65535&M|(P+=M>>>16)<<16),P=C>>>16,I+=65535&(S=(z>>>28|x<<4)^(x>>>2|z<<30)^(x>>>7|z<<25)),O+=S>>>16,M+=65535&(C=(x>>>28|z<<4)^(z>>>2|x<<30)^(z>>>7|x<<25)),P+=C>>>16,O+=(S=z&F^z&K^F&K)>>>16,M+=65535&(C=x&N^x&R^N&R),P+=C>>>16,d=65535&(M+=(O+=(I+=65535&S)>>>16)>>>16)|(P+=M>>>16)<<16,w=65535&I|O<<16,I=65535&(S=g),O=S>>>16,M=65535&(C=a),P=C>>>16,O+=(S=A)>>>16,M+=65535&(C=v),P+=C>>>16,N=i,R=o,_=s,U=a=65535&(M+=(O+=(I+=65535&S)>>>16)>>>16)|(P+=M>>>16)<<16,D=c,W=u,L=l,x=d,F=h,K=f,j=p,H=g=65535&I|O<<16,G=y,V=m,q=b,z=w,E%16==15)for(T=0;T<16;T++)C=k[T],I=65535&(S=B[T]),O=S>>>16,M=65535&C,P=C>>>16,C=k[(T+9)%16],I+=65535&(S=B[(T+9)%16]),O+=S>>>16,M+=65535&C,P+=C>>>16,v=k[(T+1)%16],I+=65535&(S=((A=B[(T+1)%16])>>>1|v<<31)^(A>>>8|v<<24)^(A>>>7|v<<25)),O+=S>>>16,M+=65535&(C=(v>>>1|A<<31)^(v>>>8|A<<24)^v>>>7),P+=C>>>16,v=k[(T+14)%16],O+=(S=((A=B[(T+14)%16])>>>19|v<<13)^(v>>>29|A<<3)^(A>>>6|v<<26))>>>16,M+=65535&(C=(v>>>19|A<<13)^(A>>>29|v<<3)^v>>>6),P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,k[T]=65535&M|P<<16,B[T]=65535&I|O<<16;I=65535&(S=z),O=S>>>16,M=65535&(C=x),P=C>>>16,C=e[0],O+=(S=t[0])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[0]=x=65535&M|P<<16,t[0]=z=65535&I|O<<16,I=65535&(S=F),O=S>>>16,M=65535&(C=N),P=C>>>16,C=e[1],O+=(S=t[1])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[1]=N=65535&M|P<<16,t[1]=F=65535&I|O<<16,I=65535&(S=K),O=S>>>16,M=65535&(C=R),P=C>>>16,C=e[2],O+=(S=t[2])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[2]=R=65535&M|P<<16,t[2]=K=65535&I|O<<16,I=65535&(S=j),O=S>>>16,M=65535&(C=_),P=C>>>16,C=e[3],O+=(S=t[3])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[3]=_=65535&M|P<<16,t[3]=j=65535&I|O<<16,I=65535&(S=H),O=S>>>16,M=65535&(C=U),P=C>>>16,C=e[4],O+=(S=t[4])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[4]=U=65535&M|P<<16,t[4]=H=65535&I|O<<16,I=65535&(S=G),O=S>>>16,M=65535&(C=D),P=C>>>16,C=e[5],O+=(S=t[5])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[5]=D=65535&M|P<<16,t[5]=G=65535&I|O<<16,I=65535&(S=V),O=S>>>16,M=65535&(C=W),P=C>>>16,C=e[6],O+=(S=t[6])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[6]=W=65535&M|P<<16,t[6]=V=65535&I|O<<16,I=65535&(S=q),O=S>>>16,M=65535&(C=L),P=C>>>16,C=e[7],O+=(S=t[7])>>>16,M+=65535&C,P+=C>>>16,P+=(M+=(O+=(I+=65535&S)>>>16)>>>16)>>>16,e[7]=L=65535&M|P<<16,t[7]=q=65535&I|O<<16,Y+=128,n-=128}return n}function X(e,t,r){var n,i=new Int32Array(8),o=new Int32Array(8),s=new Uint8Array(256),a=r;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,o[0]=4089235720,o[1]=2227873595,o[2]=4271175723,o[3]=1595750129,o[4]=2917565137,o[5]=725511199,o[6]=4215389547,o[7]=327033209,Y(i,o,t,r),r%=128,n=0;n<r;n++)s[n]=t[a-r+n];for(s[r]=128,s[(r=256-128*(r<112?1:0))-9]=0,f(s,r-8,a/536870912|0,a<<3),Y(i,o,s,r),n=0;n<8;n++)f(e,8*n,i[n],o[n]);return 0}function Q(e,r){var n=t(),i=t(),o=t(),s=t(),a=t(),c=t(),l=t(),d=t(),h=t();D(n,e[1],e[0]),D(h,r[1],r[0]),W(n,n,h),U(i,e[0],e[1]),U(h,r[0],r[1]),W(i,i,h),W(o,e[3],r[3]),W(o,o,u),W(s,e[2],r[2]),U(s,s,s),D(a,i,n),D(c,s,o),U(l,s,o),U(d,i,n),W(e[0],a,c),W(e[1],d,l),W(e[2],l,c),W(e[3],a,d)}function Z(e,t,r){var n;for(n=0;n<4;n++)B(e[n],t[n],r)}function $(e,r){var n=t(),i=t(),o=t();z(o,r[2]),W(n,r[0],o),W(i,r[1],o),x(e,i),e[31]^=R(n)<<7}function ee(e,t,r){var n,i;for(P(e[0],o),P(e[1],s),P(e[2],s),P(e[3],o),i=255;i>=0;--i)Z(e,t,n=r[i/8|0]>>(7&i)&1),Q(t,e),Q(e,e),Z(e,t,n)}function te(e,r){var n=[t(),t(),t(),t()];P(n[0],l),P(n[1],d),P(n[2],s),W(n[3],l,d),ee(e,n,r)}function re(e,n,i){var o,s=new Uint8Array(64),a=[t(),t(),t(),t()];for(i||r(n,32),X(s,n,32),s[0]&=248,s[31]&=127,s[31]|=64,te(a,s),$(e,a),o=0;o<32;o++)n[o+32]=e[o];return 0}var ne=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var r,n,i,o;for(n=63;n>=32;--n){for(r=0,i=n-32,o=n-12;i<o;++i)t[i]+=r-16*t[n]*ne[i-(n-32)],r=Math.floor((t[i]+128)/256),t[i]-=256*r;t[i]+=r,t[n]=0}for(r=0,i=0;i<32;i++)t[i]+=r-(t[31]>>4)*ne[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*ne[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function oe(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,r)}function se(e,r,n,i){var o,s,a=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),d=[t(),t(),t(),t()];X(a,i,32),a[0]&=248,a[31]&=127,a[31]|=64;var h=n+64;for(o=0;o<n;o++)e[64+o]=r[o];for(o=0;o<32;o++)e[32+o]=a[32+o];for(X(u,e.subarray(32),n+32),oe(u),te(d,u),$(e,d),o=32;o<64;o++)e[o]=i[o];for(X(c,e,n+64),oe(c),o=0;o<64;o++)l[o]=0;for(o=0;o<32;o++)l[o]=u[o];for(o=0;o<32;o++)for(s=0;s<32;s++)l[o+s]+=c[o]*a[s];return ie(e.subarray(32),l),h}function ae(e,r,n,i){var a,u=new Uint8Array(32),l=new Uint8Array(64),d=[t(),t(),t(),t()],f=[t(),t(),t(),t()];if(n<64||function(e,r){var n=t(),i=t(),a=t(),u=t(),l=t(),d=t(),f=t();return P(e[2],s),_(e[1],r),L(a,e[1]),W(u,a,c),D(a,a,e[2]),U(u,e[2],u),L(l,u),L(d,l),W(f,d,l),W(n,f,a),W(n,n,u),F(n,n),W(n,n,a),W(n,n,u),W(n,n,u),W(e[0],n,u),L(i,e[0]),W(i,i,u),N(i,a)&&W(e[0],e[0],h),L(i,e[0]),W(i,i,u),N(i,a)?-1:(R(e[0])===r[31]>>7&&D(e[0],o,e[0]),W(e[3],e[0],e[1]),0)}(f,i))return-1;for(a=0;a<n;a++)e[a]=r[a];for(a=0;a<32;a++)e[a+32]=i[a];if(X(l,e,n),oe(l),ee(d,f,l),te(f,r.subarray(32)),Q(d,f),$(u,d),n-=64,y(r,0,u,0)){for(a=0;a<n;a++)e[a]=0;return-1}for(a=0;a<n;a++)e[a]=r[a+64];return n}var ce=16,ue=64,le=32,de=64;function he(e,t){if(32!==e.length)throw new Error("bad key size");if(24!==t.length)throw new Error("bad nonce size")}function fe(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function pe(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:b,crypto_stream_xor:T,crypto_stream:E,crypto_stream_salsa20_xor:v,crypto_stream_salsa20:A,crypto_onetimeauth:S,crypto_onetimeauth_verify:I,crypto_verify_16:g,crypto_verify_32:y,crypto_secretbox:O,crypto_secretbox_open:M,crypto_scalarmult:K,crypto_scalarmult_base:j,crypto_box_beforenm:G,crypto_box_afternm:V,crypto_box:function(e,t,r,n,i,o){var s=new Uint8Array(32);return G(s,i,o),V(e,t,r,n,s)},crypto_box_open:function(e,t,r,n,i,o){var s=new Uint8Array(32);return G(s,i,o),q(e,t,r,n,s)},crypto_box_keypair:H,crypto_hash:X,crypto_sign:se,crypto_sign_keypair:re,crypto_sign_open:ae,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:ce,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:ue,crypto_sign_PUBLICKEYBYTES:le,crypto_sign_SECRETKEYBYTES:de,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:t,D:c,L:ne,pack25519:x,unpack25519:_,M:W,A:U,S:L,Z:D,pow2523:F,add:Q,set25519:P,modL:ie,scalarmult:ee,scalarbase:te},e.randomBytes=function(e){var t=new Uint8Array(e);return r(t,e),t},e.secretbox=function(e,t,r){fe(e,t,r),he(r,t);for(var n=new Uint8Array(32+e.length),i=new Uint8Array(n.length),o=0;o<e.length;o++)n[o+32]=e[o];return O(i,n,n.length,t,r),i.subarray(ce)},e.secretbox.open=function(e,t,r){fe(e,t,r),he(r,t);for(var n=new Uint8Array(ce+e.length),i=new Uint8Array(n.length),o=0;o<e.length;o++)n[o+ce]=e[o];return n.length<32||0!==M(i,n,n.length,t,r)?null:i.subarray(32)},e.secretbox.keyLength=32,e.secretbox.nonceLength=24,e.secretbox.overheadLength=ce,e.scalarMult=function(e,t){if(fe(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return K(r,e,t),r},e.scalarMult.base=function(e){if(fe(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return j(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,r,n,i){var o=e.box.before(n,i);return e.secretbox(t,r,o)},e.box.before=function(e,t){fe(e,t),function(e,t){if(32!==e.length)throw new Error("bad public key size");if(32!==t.length)throw new Error("bad secret key size")}(e,t);var r=new Uint8Array(32);return G(r,e,t),r},e.box.after=e.secretbox,e.box.open=function(t,r,n,i){var o=e.box.before(n,i);return e.secretbox.open(t,r,o)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(32);return H(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(fe(e),32!==e.length)throw new Error("bad secret key size");var t=new Uint8Array(32);return j(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=32,e.box.secretKeyLength=32,e.box.sharedKeyLength=32,e.box.nonceLength=24,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(fe(e,t),t.length!==de)throw new Error("bad secret key size");var r=new Uint8Array(ue+e.length);return se(r,e,e.length,t),r},e.sign.open=function(e,t){if(fe(e,t),t.length!==le)throw new Error("bad public key size");var r=new Uint8Array(e.length),n=ae(r,e,e.length,t);if(n<0)return null;for(var i=new Uint8Array(n),o=0;o<i.length;o++)i[o]=r[o];return i},e.sign.detached=function(t,r){for(var n=e.sign(t,r),i=new Uint8Array(ue),o=0;o<i.length;o++)i[o]=n[o];return i},e.sign.detached.verify=function(e,t,r){if(fe(e,t,r),t.length!==ue)throw new Error("bad signature size");if(r.length!==le)throw new Error("bad public key size");var n,i=new Uint8Array(ue+e.length),o=new Uint8Array(ue+e.length);for(n=0;n<ue;n++)i[n]=t[n];for(n=0;n<e.length;n++)i[n+ue]=e[n];return ae(o,i,i.length,r)>=0},e.sign.keyPair=function(){var e=new Uint8Array(le),t=new Uint8Array(de);return re(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(fe(e),e.length!==de)throw new Error("bad secret key size");for(var t=new Uint8Array(le),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(fe(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(le),r=new Uint8Array(de),n=0;n<32;n++)r[n]=e[n];return re(t,r,!0),{publicKey:t,secretKey:r}},e.sign.publicKeyLength=le,e.sign.secretKeyLength=de,e.sign.seedLength=32,e.sign.signatureLength=ue,e.hash=function(e){fe(e);var t=new Uint8Array(64);return X(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return fe(e,t),0!==e.length&&0!==t.length&&e.length===t.length&&0===p(e,0,t,0,e.length)},e.setPRNG=function(e){r=e},function(){var t=typeof self<"u"?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){e.setPRNG((function(e,r){var n,i=new Uint8Array(r);for(n=0;n<r;n+=65536)t.getRandomValues(i.subarray(n,n+Math.min(r-n,65536)));for(n=0;n<r;n++)e[n]=i[n];pe(i)}))}else typeof r0<"u"&&((t=II())&&t.randomBytes&&e.setPRNG((function(e,r){var n,i=t.randomBytes(r);for(n=0;n<r;n++)e[n]=i[n];pe(i)})))}()}(typeof t<"u"&&t.exports?t.exports:self.nacl=self.nacl||{})})),AIe=W(((e,t)=>{m(),function(e,r){"use strict";typeof t<"u"&&t.exports?t.exports=r():(e.nacl||(e.nacl={}),e.nacl.util=r())}(e,(function(){"use strict";var e={};function t(e){if(!/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(e))throw new TypeError("invalid encoding")}return e.decodeUTF8=function(e){if("string"!=typeof e)throw new TypeError("expected string");var t,r=unescape(encodeURIComponent(e)),n=new Uint8Array(r.length);for(t=0;t<r.length;t++)n[t]=r.charCodeAt(t);return n},e.encodeUTF8=function(e){var t,r=[];for(t=0;t<e.length;t++)r.push(String.fromCharCode(e[t]));return decodeURIComponent(escape(r.join("")))},typeof atob>"u"?typeof P.Buffer.from<"u"?(e.encodeBase64=function(e){return P.Buffer.from(e).toString("base64")},e.decodeBase64=function(e){return t(e),new Uint8Array(Array.prototype.slice.call(P.Buffer.from(e,"base64"),0))}):(e.encodeBase64=function(e){return new P.Buffer(e).toString("base64")},e.decodeBase64=function(e){return t(e),new Uint8Array(Array.prototype.slice.call(new P.Buffer(e,"base64"),0))}):(e.encodeBase64=function(e){var t,r=[],n=e.length;for(t=0;t<n;t++)r.push(String.fromCharCode(e[t]));return btoa(r.join(""))},e.decodeBase64=function(e){t(e);var r,n=atob(e),i=new Uint8Array(n.length);for(r=0;r<n.length;r++)i[r]=n.charCodeAt(r);return i}),e}))}));function YCt(e,t){if(e.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var i=0;i<e.length;i++){var o=e.charAt(i),s=o.charCodeAt(0);if(255!==r[s])throw new TypeError(o+" is ambiguous");r[s]=i}var a=e.length,c=e.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function d(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;var t=0;if(" "!==e[t]){for(var n=0,i=0;e[t]===c;)n++,t++;for(var o=(e.length-t)*u+1>>>0,s=new Uint8Array(o);e[t];){var l=r[e.charCodeAt(t)];if(255===l)return;for(var d=0,h=o-1;(0!==l||d<i)&&-1!==h;h--,d++)l+=a*s[h]>>>0,s[h]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");i=d,t++}if(" "!==e[t]){for(var f=o-i;f!==o&&0===s[f];)f++;for(var p=new Uint8Array(n+(o-f)),g=n;f!==o;)p[g++]=s[f++];return p}}}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var r=0,n=0,i=0,o=t.length;i!==o&&0===t[i];)i++,r++;for(var s=(o-i)*l+1>>>0,u=new Uint8Array(s);i!==o;){for(var d=t[i],h=0,f=s-1;(0!==d||h<n)&&-1!==f;f--,h++)d+=256*u[f]>>>0,u[f]=d%a>>>0,d=d/a>>>0;if(0!==d)throw new Error("Non-zero carry");n=h,i++}for(var p=s-n;p!==s&&0===u[p];)p++;for(var g=c.repeat(r);p<s;++p)g+=e.charAt(u[p]);return g},decodeUnsafe:d,decode:function(e){var r=d(e);if(r)return r;throw new Error(`Non-${t} character`)}}}var QCt,ZCt,EIe,TIe=En((()=>{m(),EIe=ZCt=QCt=YCt})),bU={};Vr(bU,{coerce:()=>m0,empty:()=>SIe,equals:()=>RZ,fromHex:()=>eIt,fromString:()=>NZ,isBinary:()=>tIt,toHex:()=>$Ct,toString:()=>DZ});var SIe,$Ct,eIt,RZ,m0,tIt,NZ,DZ,fv=En((()=>{m(),SIe=new Uint8Array(0),$Ct=e=>e.reduce(((e,t)=>e+t.toString(16).padStart(2,"0")),""),eIt=e=>{let t=e.match(/../g);return t?new Uint8Array(t.map((e=>parseInt(e,16)))):SIe},RZ=(e,t)=>{if(e===t)return!0;if(e.byteLength!==t.byteLength)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0},m0=e=>{if(e instanceof Uint8Array&&"Uint8Array"===e.constructor.name)return e;if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e))return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);throw new Error("Unknown type, must be binary type")},tIt=e=>e instanceof ArrayBuffer||ArrayBuffer.isView(e),NZ=e=>(new TextEncoder).encode(e),DZ=e=>(new TextDecoder).decode(e)})),UZ,LZ,FZ,WZ,vU,dv,rIt,nIt,As,Qp=En((()=>{m(),TIe(),fv(),UZ=class{constructor(e,t,r){this.name=e,this.prefix=t,this.baseEncode=r}encode(e){if(e instanceof Uint8Array)return`${this.prefix}${this.baseEncode(e)}`;throw Error("Unknown type, must be binary type")}},LZ=class{constructor(e,t,r){this.name=e,this.prefix=t,this.baseDecode=r}decode(e){if("string"==typeof e){if(e[0]===this.prefix)return this.baseDecode(e.slice(1));throw Error(`Unable to decode multibase string ${JSON.stringify(e)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`)}throw Error("Can only multibase decode strings")}or(e){let t={[this.prefix]:this,...e.decoders||{[e.prefix]:e}};return new FZ(t)}},FZ=class e{constructor(e){this.decoders=e}or(t){let r=t.decoders||{[t.prefix]:t};return new e({...this.decoders,...r})}decode(e){let t=e[0],r=this.decoders[t];if(r)return r.decode(e);throw RangeError(`Unable to decode multibase string ${JSON.stringify(e)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}},WZ=class{constructor(e,t,r,n){this.name=e,this.prefix=t,this.baseEncode=r,this.baseDecode=n,this.encoder=new UZ(e,t,r),this.decoder=new LZ(e,t,n)}encode(e){return this.encoder.encode(e)}decode(e){return this.decoder.decode(e)}},vU=({name:e,prefix:t,encode:r,decode:n})=>new WZ(e,t,r,n),dv=({prefix:e,name:t,alphabet:r})=>{let{encode:n,decode:i}=EIe(r,t);return vU({prefix:e,name:t,encode:n,decode:e=>m0(i(e))})},rIt=(e,t,r,n)=>{let i={};for(let e=0;e<t.length;++e)i[t[e]]=e;let o=e.length;for(;"="===e[o-1];)--o;let s=new Uint8Array(o*r/8|0),a=0,c=0,u=0;for(let t=0;t<o;++t){let o=i[e[t]];if(void 0===o)throw new SyntaxError(`Non-${n} character`);c=c<<r|o,a+=r,a>=8&&(a-=8,s[u++]=255&c>>a)}if(a>=r||255&c<<8-a)throw new SyntaxError("Unexpected end of data");return s},nIt=(e,t,r)=>{let n="="===t[t.length-1],i=(1<<r)-1,o="",s=0,a=0;for(let n=0;n<e.length;++n)for(a=a<<8|e[n],s+=8;s>r;)s-=r,o+=t[i&a>>s];if(s&&(o+=t[i&a<<r-s]),n)for(;o.length*r&7;)o+="=";return o},As=({name:e,prefix:t,bitsPerChar:r,alphabet:n})=>vU({prefix:t,name:e,encode:e=>nIt(e,n,r),decode:t=>rIt(t,n,r,e)})})),zZ={};Vr(zZ,{identity:()=>iIt});var iIt,CIe=En((()=>{m(),Qp(),fv(),iIt=vU({prefix:"\0",name:"identity",encode:e=>DZ(e),decode:e=>NZ(e)})})),KZ={};Vr(KZ,{base2:()=>oIt});var oIt,IIe=En((()=>{m(),Qp(),oIt=As({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1})})),HZ={};Vr(HZ,{base8:()=>sIt});var sIt,OIe=En((()=>{m(),Qp(),sIt=As({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3})})),qZ={};Vr(qZ,{base10:()=>aIt});var aIt,PIe=En((()=>{m(),Qp(),aIt=dv({prefix:"9",name:"base10",alphabet:"0123456789"})})),jZ={};Vr(jZ,{base16:()=>cIt,base16upper:()=>uIt});var cIt,uIt,BIe=En((()=>{m(),Qp(),cIt=As({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),uIt=As({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4})})),GZ={};Vr(GZ,{base32:()=>TS,base32hex:()=>hIt,base32hexpad:()=>gIt,base32hexpadupper:()=>yIt,base32hexupper:()=>pIt,base32pad:()=>fIt,base32padupper:()=>dIt,base32upper:()=>lIt,base32z:()=>mIt});var TS,lIt,fIt,dIt,hIt,pIt,gIt,yIt,mIt,VZ=En((()=>{m(),Qp(),TS=As({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),lIt=As({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),fIt=As({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),dIt=As({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),hIt=As({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),pIt=As({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),gIt=As({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),yIt=As({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),mIt=As({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5})})),JZ={};Vr(JZ,{base36:()=>bIt,base36upper:()=>vIt});var bIt,vIt,MIe=En((()=>{m(),Qp(),bIt=dv({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),vIt=dv({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"})})),XZ={};Vr(XZ,{base58btc:()=>Zp,base58flickr:()=>wIt});var Zp,wIt,YZ=En((()=>{m(),Qp(),Zp=dv({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),wIt=dv({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"})})),QZ={};Vr(QZ,{base64:()=>xIt,base64pad:()=>AIt,base64url:()=>EIt,base64urlpad:()=>TIt});var xIt,AIt,EIt,TIt,kIe=En((()=>{m(),Qp(),xIt=As({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),AIt=As({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),EIt=As({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),TIt=As({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6})}));function NIe(e,t,r){t=t||[];for(var n=r=r||0;e>=OIt;)t[r++]=255&e|_Ie,e/=128;for(;e&IIt;)t[r++]=255&e|_Ie,e>>>=7;return t[r]=0|e,NIe.bytes=r-n+1,t}function ZZ(e,t){var r,n=0,i=0,o=t=t||0,s=e.length;do{if(o>=s)throw ZZ.bytes=0,new RangeError("Could not decode varint");r=e[o++],n+=i<28?(r&RIe)<<i:(r&RIe)*Math.pow(2,i),i+=7}while(r>=BIt);return ZZ.bytes=o-t,n}var SIt,_Ie,CIt,IIt,OIt,PIt,BIt,RIe,MIt,kIt,_It,RIt,NIt,DIt,UIt,LIt,FIt,WIt,zIt,KIt,XI,DIe=En((()=>{m(),SIt=NIe,_Ie=128,IIt=~(CIt=127),OIt=Math.pow(2,31),PIt=ZZ,BIt=128,RIe=127,MIt=Math.pow(2,7),kIt=Math.pow(2,14),_It=Math.pow(2,21),RIt=Math.pow(2,28),NIt=Math.pow(2,35),DIt=Math.pow(2,42),UIt=Math.pow(2,49),LIt=Math.pow(2,56),FIt=Math.pow(2,63),XI=KIt=zIt={encode:SIt,decode:PIt,encodingLength:WIt=function(e){return e<MIt?1:e<kIt?2:e<_It?3:e<RIt?4:e<NIt?5:e<DIt?6:e<UIt?7:e<LIt?8:e<FIt?9:10}}})),CS={};Vr(CS,{decode:()=>SS,encodeTo:()=>mA,encodingLength:()=>bA});var SS,mA,bA,wU=En((()=>{m(),DIe(),SS=e=>[XI.decode(e),XI.decode.bytes],mA=(e,t,r=0)=>(XI.encode(e,t,r),t),bA=e=>XI.encodingLength(e)})),IS={};Vr(IS,{Digest:()=>vA,create:()=>YI,decode:()=>$Z,equals:()=>e$});var YI,$Z,e$,vA,xU=En((()=>{m(),fv(),wU(),YI=(e,t)=>{let r=t.byteLength,n=bA(e),i=n+bA(r),o=new Uint8Array(i+r);return mA(e,o,0),mA(r,o,n),o.set(t,i),new vA(e,r,t,o)},$Z=e=>{let t=m0(e),[r,n]=SS(t),[i,o]=SS(t.subarray(n)),s=t.subarray(n+o);if(s.byteLength!==i)throw new Error("Incorrect length");return new vA(r,i,s,t)},e$=(e,t)=>e===t||e.code===t.code&&e.size===t.size&&RZ(e.bytes,t.bytes),vA=class{constructor(e,t,r,n){this.code=e,this.size=t,this.digest=r,this.bytes=n}}})),EU={};Vr(EU,{Hasher:()=>AU,from:()=>OS});var OS,AU,TU=En((()=>{m(),xU(),OS=({name:e,code:t,encode:r})=>new AU(e,t,r),AU=class{constructor(e,t,r){this.name=e,this.code=t,this.encode=r}async digest(e){if(e instanceof Uint8Array){let t=await this.encode(e);return YI(this.code,t)}throw Error("Unknown type, must be binary type")}}})),t$={};Vr(t$,{sha256:()=>HIt,sha512:()=>qIt});var UIe,HIt,qIt,LIe=En((()=>{m(),TU(),HIt=OS({name:"sha2-256",code:18,encode:(UIe=e=>async t=>new Uint8Array(await crypto.subtle.digest(e,t)))("SHA-256")}),qIt=OS({name:"sha2-512",code:19,encode:UIe("SHA-512")})})),r$={};Vr(r$,{identity:()=>jIt});var jIt,FIe=En((()=>{m(),TU(),fv(),jIt=OS({name:"identity",code:0,encode:e=>m0(e)})})),n$={};Vr(n$,{code:()=>VIt,decode:()=>XIt,encode:()=>JIt,name:()=>GIt});var WIe,GIt,VIt,JIt,XIt,zIe=En((()=>{m(),fv(),WIe=e=>m0(e),({name:GIt,code:VIt,encode:JIt,decode:XIt}={name:"raw",code:85,decode:WIe,encode:WIe})})),i$={};Vr(i$,{code:()=>QIt,decode:()=>$It,encode:()=>ZIt,name:()=>YIt});var YIt,QIt,ZIt,$It,KIe=En((()=>{m(),({name:YIt,code:QIt,encode:ZIt,decode:$It}={name:"json",code:512,encode:e=>(new TextEncoder).encode(JSON.stringify(e)),decode:e=>JSON.parse((new TextDecoder).decode(e))})})),ZI,eOt,tOt,rOt,QI,nOt,HIe,qIe,SU,CU,iOt,oOt,sOt,jIe=En((()=>{m(),wU(),xU(),YZ(),VZ(),fv(),ZI=class e{constructor(e,t,r,n){this.code=t,this.version=e,this.multihash=r,this.bytes=n,this.byteOffset=n.byteOffset,this.byteLength=n.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:CU,byteLength:CU,code:SU,version:SU,multihash:SU,bytes:SU,_baseCache:CU,asCID:CU})}toV0(){if(0===this.version)return this;{let{code:t,multihash:r}=this;if(t!==QI)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(r.code!==nOt)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return e.createV0(r)}}toV1(){switch(this.version){case 0:{let{code:t,digest:r}=this.multihash,n=YI(t,r);return e.createV1(this.code,n)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(e){return e&&this.code===e.code&&this.version===e.version&&e$(this.multihash,e.multihash)}toString(e){let{bytes:t,version:r,_baseCache:n}=this;return 0===r?tOt(t,n,e||Zp.encoder):rOt(t,n,e||TS.encoder)}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(e){return oOt(/^0\.0/,sOt),!(!e||!e[qIe]&&e.asCID!==e)}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(t){if(t instanceof e)return t;if(null!=t&&t.asCID===t){let{version:r,code:n,multihash:i,bytes:o}=t;return new e(r,n,i,o||HIe(r,n,i.bytes))}if(null!=t&&!0===t[qIe]){let{version:r,multihash:n,code:i}=t,o=$Z(n);return e.create(r,i,o)}return null}static create(t,r,n){if("number"!=typeof r)throw new Error("String codecs are no longer supported");switch(t){case 0:if(r!==QI)throw new Error(`Version 0 CID must use dag-pb (code: ${QI}) block encoding`);return new e(t,r,n,n.bytes);case 1:{let i=HIe(t,r,n.bytes);return new e(t,r,n,i)}default:throw new Error("Invalid version")}}static createV0(t){return e.create(0,QI,t)}static createV1(t,r){return e.create(1,t,r)}static decode(t){let[r,n]=e.decodeFirst(t);if(n.length)throw new Error("Incorrect length");return r}static decodeFirst(t){let r=e.inspectBytes(t),n=r.size-r.multihashSize,i=m0(t.subarray(n,n+r.multihashSize));if(i.byteLength!==r.multihashSize)throw new Error("Incorrect length");let o=i.subarray(r.multihashSize-r.digestSize),s=new vA(r.multihashCode,r.digestSize,o,i);return[0===r.version?e.createV0(s):e.createV1(r.codec,s),t.subarray(r.size)]}static inspectBytes(e){let t=0,r=()=>{let[r,n]=SS(e.subarray(t));return t+=n,r},n=r(),i=QI;if(18===n?(n=0,t=0):1===n&&(i=r()),0!==n&&1!==n)throw new RangeError(`Invalid CID version ${n}`);let o=t,s=r(),a=r(),c=t+a;return{version:n,codec:i,multihashCode:s,digestSize:a,multihashSize:c-o,size:c}}static parse(t,r){let[n,i]=eOt(t,r),o=e.decode(i);return o._baseCache.set(n,t),o}},eOt=(e,t)=>{switch(e[0]){case"Q":{let r=t||Zp;return[Zp.prefix,r.decode(`${Zp.prefix}${e}`)]}case Zp.prefix:{let r=t||Zp;return[Zp.prefix,r.decode(e)]}case TS.prefix:{let r=t||TS;return[TS.prefix,r.decode(e)]}default:if(null==t)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[e[0],t.decode(e)]}},tOt=(e,t,r)=>{let{prefix:n}=r;if(n!==Zp.prefix)throw Error(`Cannot string encode V0 in ${r.name} encoding`);let i=t.get(n);if(null==i){let i=r.encode(e).slice(1);return t.set(n,i),i}return i},rOt=(e,t,r)=>{let{prefix:n}=r,i=t.get(n);if(null==i){let i=r.encode(e);return t.set(n,i),i}return i},QI=112,nOt=18,HIe=(e,t,r)=>{let n=bA(e),i=n+bA(t),o=new Uint8Array(i+r.byteLength);return mA(e,o,0),mA(t,o,n),o.set(r,i),o},qIe=Symbol.for("@ipld/js-cid/CID"),SU={writable:!1,configurable:!1,enumerable:!0},CU={writable:!1,enumerable:!1,configurable:!1},iOt="0.0.0-dev",oOt=(e,t)=>{if(!e.test(iOt))throw new Error(t);console.warn(t)},sOt="CID.isCID(v) is deprecated and will be removed in the next major release.\nFollowing code pattern:\n\nif (CID.isCID(value)) {\n  doSomethingWithCID(value)\n}\n\nIs replaced with:\n\nconst cid = CID.asCID(value)\nif (cid) {\n  // Make sure to use cid instead of value\n  doSomethingWithCID(cid)\n}\n"})),GIe=En((()=>{m(),jIe(),wU(),fv(),TU(),xU()})),VIe={};Vr(VIe,{CID:()=>ZI,bases:()=>IU,bytes:()=>bU,codecs:()=>cOt,digest:()=>IS,hasher:()=>EU,hashes:()=>aOt,varint:()=>CS});var IU,aOt,cOt,o$=En((()=>{m(),CIe(),IIe(),OIe(),PIe(),BIe(),VZ(),MIe(),YZ(),kIe(),LIe(),FIe(),zIe(),KIe(),GIe(),IU={...zZ,...KZ,...HZ,...qZ,...jZ,...GZ,...JZ,...XZ,...QZ},aOt={...t$,...r$},cOt={raw:n$,json:i$}}));function JIe(e=0){return null!=globalThis.Buffer&&null!=globalThis.Buffer.allocUnsafe?globalThis.Buffer.allocUnsafe(e):new Uint8Array(e)}var XIe=En((()=>{m()}));function QIe(e,t,r,n){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:n}}}var YIe,s$,uOt,ZIe,$Ie=En((()=>{m(),o$(),XIe(),YIe=QIe("utf8","u",(e=>"u"+new TextDecoder("utf8").decode(e)),(e=>(new TextEncoder).encode(e.substring(1)))),s$=QIe("ascii","a",(e=>{let t="a";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}),(e=>{let t=JIe((e=e.substring(1)).length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t})),uOt={utf8:YIe,"utf-8":YIe,hex:IU.base16,latin1:s$,ascii:s$,binary:s$,...IU},ZIe=uOt})),eOe={};function lOt(e,t="utf8"){let r=ZIe[t];if(!r)throw new Error(`Unsupported encoding "${t}"`);return"utf8"!==t&&"utf-8"!==t||null==globalThis.Buffer||null==globalThis.Buffer.from?r.encoder.encode(e).substring(1):globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8")}Vr(eOe,{toString:()=>lOt});var tOe=En((()=>{m(),$Ie()})),rOe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.mul=Math.imul||function(e,t){var r=65535&e,n=65535&t;return r*n+((e>>>16&65535)*n+r*(t>>>16&65535)<<16>>>0)|0},e.add=function(e,t){return e+t|0},e.sub=function(e,t){return e-t|0},e.rotl=function(e,t){return e<<t|e>>>32-t},e.rotr=function(e,t){return e<<32-t|e>>>t},e.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},e.MAX_SAFE_INTEGER=9007199254740991,e.isSafeInteger=function(t){return e.isInteger(t)&&t>=-e.MAX_SAFE_INTEGER&&t<=e.MAX_SAFE_INTEGER}})),BU=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var t=rOe();function r(e,t,r){return void 0===t&&(t=new Uint8Array(2)),void 0===r&&(r=0),t[r+0]=e>>>8,t[r+1]=e>>>0,t}function n(e,t,r){return void 0===t&&(t=new Uint8Array(2)),void 0===r&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t}function i(e,t){return void 0===t&&(t=0),e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function o(e,t){return void 0===t&&(t=0),(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function s(e,t){return void 0===t&&(t=0),e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}function a(e,t){return void 0===t&&(t=0),(e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t])>>>0}function c(e,t,r){return void 0===t&&(t=new Uint8Array(4)),void 0===r&&(r=0),t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}function u(e,t,r){return void 0===t&&(t=new Uint8Array(4)),void 0===r&&(r=0),t[r+0]=e>>>0,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24,t}function l(e,t,r){return void 0===t&&(t=new Uint8Array(8)),void 0===r&&(r=0),c(e/4294967296>>>0,t,r),c(e>>>0,t,r+4),t}function d(e,t,r){return void 0===t&&(t=new Uint8Array(8)),void 0===r&&(r=0),u(e>>>0,t,r),u(e/4294967296>>>0,t,r+4),t}e.readInt16BE=function(e,t){return void 0===t&&(t=0),(e[t+0]<<8|e[t+1])<<16>>16},e.readUint16BE=function(e,t){return void 0===t&&(t=0),(e[t+0]<<8|e[t+1])>>>0},e.readInt16LE=function(e,t){return void 0===t&&(t=0),(e[t+1]<<8|e[t])<<16>>16},e.readUint16LE=function(e,t){return void 0===t&&(t=0),(e[t+1]<<8|e[t])>>>0},e.writeUint16BE=r,e.writeInt16BE=r,e.writeUint16LE=n,e.writeInt16LE=n,e.readInt32BE=i,e.readUint32BE=o,e.readInt32LE=s,e.readUint32LE=a,e.writeUint32BE=c,e.writeInt32BE=c,e.writeUint32LE=u,e.writeInt32LE=u,e.readInt64BE=function(e,t){void 0===t&&(t=0);var r=i(e,t),n=i(e,t+4);return 4294967296*r+n-4294967296*(n>>31)},e.readUint64BE=function(e,t){return void 0===t&&(t=0),4294967296*o(e,t)+o(e,t+4)},e.readInt64LE=function(e,t){void 0===t&&(t=0);var r=s(e,t);return 4294967296*s(e,t+4)+r-4294967296*(r>>31)},e.readUint64LE=function(e,t){void 0===t&&(t=0);var r=a(e,t);return 4294967296*a(e,t+4)+r},e.writeUint64BE=l,e.writeInt64BE=l,e.writeUint64LE=d,e.writeInt64LE=d,e.readUintBE=function(e,t,r){if(void 0===r&&(r=0),e%8!=0)throw new Error("readUintBE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintBE: array is too short for the given bitLength");for(var n=0,i=1,o=e/8+r-1;o>=r;o--)n+=t[o]*i,i*=256;return n},e.readUintLE=function(e,t,r){if(void 0===r&&(r=0),e%8!=0)throw new Error("readUintLE supports only bitLengths divisible by 8");if(e/8>t.length-r)throw new Error("readUintLE: array is too short for the given bitLength");for(var n=0,i=1,o=r;o<r+e/8;o++)n+=t[o]*i,i*=256;return n},e.writeUintBE=function(e,r,n,i){if(void 0===n&&(n=new Uint8Array(e/8)),void 0===i&&(i=0),e%8!=0)throw new Error("writeUintBE supports only bitLengths divisible by 8");if(!t.isSafeInteger(r))throw new Error("writeUintBE value must be an integer");for(var o=1,s=e/8+i-1;s>=i;s--)n[s]=r/o&255,o*=256;return n},e.writeUintLE=function(e,r,n,i){if(void 0===n&&(n=new Uint8Array(e/8)),void 0===i&&(i=0),e%8!=0)throw new Error("writeUintLE supports only bitLengths divisible by 8");if(!t.isSafeInteger(r))throw new Error("writeUintLE value must be an integer");for(var o=1,s=i;s<i+e/8;s++)n[s]=r/o&255,o*=256;return n},e.readFloat32BE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat32(t)},e.readFloat32LE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat32(t,!0)},e.readFloat64BE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat64(t)},e.readFloat64LE=function(e,t){return void 0===t&&(t=0),new DataView(e.buffer,e.byteOffset,e.byteLength).getFloat64(t,!0)},e.writeFloat32BE=function(e,t,r){return void 0===t&&(t=new Uint8Array(4)),void 0===r&&(r=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat32(r,e),t},e.writeFloat32LE=function(e,t,r){return void 0===t&&(t=new Uint8Array(4)),void 0===r&&(r=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat32(r,e,!0),t},e.writeFloat64BE=function(e,t,r){return void 0===t&&(t=new Uint8Array(8)),void 0===r&&(r=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat64(r,e),t},e.writeFloat64LE=function(e,t,r){return void 0===t&&(t=new Uint8Array(8)),void 0===r&&(r=0),new DataView(t.buffer,t.byteOffset,t.byteLength).setFloat64(r,e,!0),t}})),PS=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.wipe=function(e){for(var t=0;t<e.length;t++)e[t]=0;return e}})),uOe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var t=BU(),r=PS();e.DIGEST_LENGTH=32,e.BLOCK_SIZE=64;var n=function(){function n(){this.digestLength=e.DIGEST_LENGTH,this.blockSize=e.BLOCK_SIZE,this._state=new Int32Array(8),this._temp=new Int32Array(64),this._buffer=new Uint8Array(128),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return n.prototype._initState=function(){this._state[0]=1779033703,this._state[1]=3144134277,this._state[2]=1013904242,this._state[3]=2773480762,this._state[4]=1359893119,this._state[5]=2600822924,this._state[6]=528734635,this._state[7]=1541459225},n.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},n.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._temp),this.reset()},n.prototype.update=function(e,t){if(void 0===t&&(t=e.length),this._finished)throw new Error("SHA256: can't update because hash was finished.");var r=0;if(this._bytesHashed+=t,this._bufferLength>0){for(;this._bufferLength<this.blockSize&&t>0;)this._buffer[this._bufferLength++]=e[r++],t--;this._bufferLength===this.blockSize&&(o(this._temp,this._state,this._buffer,0,this.blockSize),this._bufferLength=0)}for(t>=this.blockSize&&(r=o(this._temp,this._state,e,r,t),t%=this.blockSize);t>0;)this._buffer[this._bufferLength++]=e[r++],t--;return this},n.prototype.finish=function(e){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,i=r/536870912|0,s=r<<3,a=r%64<56?64:128;this._buffer[n]=128;for(var c=n+1;c<a-8;c++)this._buffer[c]=0;t.writeUint32BE(i,this._buffer,a-8),t.writeUint32BE(s,this._buffer,a-4),o(this._temp,this._state,this._buffer,0,a),this._finished=!0}for(c=0;c<this.digestLength/4;c++)t.writeUint32BE(this._state[c],e,4*c);return this},n.prototype.digest=function(){var e=new Uint8Array(this.digestLength);return this.finish(e),e},n.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{state:new Int32Array(this._state),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},n.prototype.restoreState=function(e){return this._state.set(e.state),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},n.prototype.cleanSavedState=function(e){r.wipe(e.state),e.buffer&&r.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},n}();e.SHA256=n;var i=new Int32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function o(e,r,n,o,s){for(;s>=64;){for(var a=r[0],c=r[1],u=r[2],l=r[3],d=r[4],h=r[5],f=r[6],p=r[7],g=0;g<16;g++){var y=o+4*g;e[g]=t.readUint32BE(n,y)}for(g=16;g<64;g++){var m=e[g-2],b=(m>>>17|m<<15)^(m>>>19|m<<13)^m>>>10,w=((m=e[g-15])>>>7|m<<25)^(m>>>18|m<<14)^m>>>3;e[g]=(b+e[g-7]|0)+(w+e[g-16]|0)}for(g=0;g<64;g++){b=(((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&h^~d&f)|0)+(p+(i[g]+e[g]|0)|0)|0,w=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&c^a&u^c&u)|0;p=f,f=h,h=d,d=l+b|0,l=u,u=c,c=a,a=b+w|0}r[0]+=a,r[1]+=c,r[2]+=u,r[3]+=l,r[4]+=d,r[5]+=h,r[6]+=f,r[7]+=p,o+=64,s-=64}return o}e.hash=function(e){var t=new n;t.update(e);var r=t.digest();return t.clean(),r}})),fOe=W(((e,t)=>{m();var r,n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();r=i,function(e){var t=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n="URLSearchParams"in t,i="Symbol"in t&&"iterator"in Symbol,o="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),s="FormData"in t,a="ArrayBuffer"in t;if(a)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function g(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function y(e){var t=new FileReader,r=g(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&function(e){return e&&DataView.prototype.isPrototypeOf(e)}(e)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return p(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(o)return this.blob().then(y);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=g(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8";return t.readAsText(e,i),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=l(e),t=d(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},f.prototype.delete=function(e){delete this.map[l(e)]},f.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},f.prototype.set=function(e,t){this.map[l(e)]=d(t)},f.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),h(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),h(e)},i&&(f.prototype[Symbol.iterator]=f.prototype.entries);var w=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(e,r){if(!(this instanceof v))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(r=r||{}).body;if(e instanceof v){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,r.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!n&&null!=e._bodyInit&&(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=r.credentials||this.credentials||"same-origin",(r.headers||!this.headers)&&(this.headers=new f(r.headers)),this.method=function(e){var t=e.toUpperCase();return w.indexOf(t)>-1?t:e}(r.method||this.method||"GET"),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||function(){if("AbortController"in t)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==r.cache&&"no-cache"!==r.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function A(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function E(e){var t=new f;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}})),t}function T(e,t){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},b.call(v.prototype),b.call(T.prototype),T.prototype.clone=function(){return new T(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},T.error=function(){var e=new T(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var C=[301,302,303,307,308];T.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new T(null,{status:t,headers:{location:e}})},e.DOMException=t.DOMException;try{new e.DOMException}catch{e.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function S(r,n){return new Promise((function(i,s){var c=new v(r,n);if(c.signal&&c.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function h(){u.abort()}if(u.onload=function(){var e={statusText:u.statusText,headers:E(u.getAllResponseHeaders()||"")};0===c.url.indexOf("file://")&&(u.status<200||u.status>599)?e.status=200:e.status=u.status,e.url="responseURL"in u?u.responseURL:e.headers.get("X-Request-URL");var t="response"in u?u.response:u.responseText;setTimeout((function(){i(new T(t,e))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request timed out"))}),0)},u.onabort=function(){setTimeout((function(){s(new e.DOMException("Aborted","AbortError"))}),0)},u.open(c.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch{return e}}(c.url),!0),"include"===c.credentials?u.withCredentials=!0:"omit"===c.credentials&&(u.withCredentials=!1),"responseType"in u&&(o?u.responseType="blob":a&&(u.responseType="arraybuffer")),n&&"object"==typeof n.headers&&!(n.headers instanceof f||t.Headers&&n.headers instanceof t.Headers)){var p=[];Object.getOwnPropertyNames(n.headers).forEach((function(e){p.push(l(e)),u.setRequestHeader(e,d(n.headers[e]))})),c.headers.forEach((function(e,t){-1===p.indexOf(t)&&u.setRequestHeader(t,e)}))}else c.headers.forEach((function(e,t){u.setRequestHeader(t,e)}));c.signal&&(c.signal.addEventListener("abort",h),u.onreadystatechange=function(){4===u.readyState&&c.signal.removeEventListener("abort",h)}),u.send(typeof c._bodyInit>"u"?null:c._bodyInit)}))}S.polyfill=!0,t.fetch||(t.fetch=S,t.Headers=f,t.Request=v,t.Response=T),e.Headers=f,e.Request=v,e.Response=T,e.fetch=S}({}),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=n.fetch?n:i;(e=o.fetch).default=o.fetch,e.fetch=o.fetch,e.Headers=o.Headers,e.Request=o.Request,e.Response=o.Response,t.exports=e})),h$=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_ERROR=e.STANDARD_ERROR_MAP=e.SERVER_ERROR_CODE_RANGE=e.RESERVED_ERROR_CODES=e.SERVER_ERROR=e.INTERNAL_ERROR=e.INVALID_PARAMS=e.METHOD_NOT_FOUND=e.INVALID_REQUEST=e.PARSE_ERROR=e.OKX_CONNECT_ERROR_CODES=e.OKXConnectError=void 0;var t,r,n=class e extends Error{constructor(r,n){null==n&&(n=function(e){return e==t.UNKNOWN_ERROR?"unknown error":e==t.BAD_REQUEST_ERROR?"bad request error":e==t.ALREADY_CONNECTED_ERROR?"already connected error":e==t.NOT_CONNECTED_ERROR?"not connected error":e==t.UNKNOWN_APP_ERROR?"unknown app error":e==t.USER_REJECTS_ERROR?"user rejects error":e==t.USER_REJECTS_ERROR_CAUSE_REGISTER?"wallet address are registering":e==t.METHOD_NOT_SUPPORTED?"method not supported":e==t.CONNECTION_ERROR?"connect error":e==t.CHAIN_NOT_SUPPORTED?"chain not supported":"unknown error"}(r)),super(n),this.code=r,this.message=`${e.prefix} ${n?"\n"+n:""}`,Object.setPrototypeOf(this,e.prototype)}toJSON(){return{message:this.message,code:this.code}}};e.OKXConnectError=n,n.prefix="[OKX_CONNECT_SDK_ERROR]",(r=t||(e.OKX_CONNECT_ERROR_CODES=t={}))[r.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",r[r.BAD_REQUEST_ERROR=1]="BAD_REQUEST_ERROR",r[r.ALREADY_CONNECTED_ERROR=11]="ALREADY_CONNECTED_ERROR",r[r.NOT_CONNECTED_ERROR=12]="NOT_CONNECTED_ERROR",r[r.UNKNOWN_APP_ERROR=100]="UNKNOWN_APP_ERROR",r[r.USER_REJECTS_ERROR=300]="USER_REJECTS_ERROR",r[r.USER_REJECTS_ERROR_CAUSE_REGISTER=301]="USER_REJECTS_ERROR_CAUSE_REGISTER",r[r.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED",r[r.CHAIN_NOT_SUPPORTED=500]="CHAIN_NOT_SUPPORTED",r[r.WALLET_NOT_SUPPORTED=600]="WALLET_NOT_SUPPORTED",r[r.CONNECTION_ERROR=700]="CONNECTION_ERROR",e.PARSE_ERROR="PARSE_ERROR",e.INVALID_REQUEST="INVALID_REQUEST",e.METHOD_NOT_FOUND="METHOD_NOT_FOUND",e.INVALID_PARAMS="INVALID_PARAMS",e.INTERNAL_ERROR="INTERNAL_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.RESERVED_ERROR_CODES=[-32700,-32600,-32601,-32602,-32603],e.SERVER_ERROR_CODE_RANGE=[-32e3,-32099],e.STANDARD_ERROR_MAP={[e.PARSE_ERROR]:{code:-32700,message:"Parse error"},[e.INVALID_REQUEST]:{code:-32600,message:"Invalid Request"},[e.METHOD_NOT_FOUND]:{code:-32601,message:"Method not found"},[e.INVALID_PARAMS]:{code:-32602,message:"Invalid params"},[e.INTERNAL_ERROR]:{code:-32603,message:"Internal error"},[e.SERVER_ERROR]:{code:-32e3,message:"Server error"}},e.DEFAULT_ERROR=e.SERVER_ERROR})),hOe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKX_CONNECT_ERROR_CODES=e.OKXConnectError=void 0;var t=h$();Object.defineProperty(e,"OKXConnectError",{enumerable:!0,get:function(){return t.OKXConnectError}}),Object.defineProperty(e,"OKX_CONNECT_ERROR_CODES",{enumerable:!0,get:function(){return t.OKX_CONNECT_ERROR_CODES}})})),p$=W((e=>{"use strict";var t,r;m(),Object.defineProperty(e,"__esModule",{value:!0}),e.NameSpaceKeyStarknet=e.NameSpaceKeyTron=e.NameSpaceKeyCosmos=e.NameSpaceKeyAptos=e.NameSpaceKeyBtc=e.NameSpaceKeySui=e.NameSpaceKeyTON=e.NameSpaceKeySOL=e.NameSpaceKeyEip155=e.OpenAppLinkType=void 0,(r=t||(e.OpenAppLinkType=t={})).UniversalLink="universallink",r.DeepLink="deeplink",e.NameSpaceKeyEip155="eip155",e.NameSpaceKeySOL="solana",e.NameSpaceKeyTON="ton",e.NameSpaceKeySui="sui",e.NameSpaceKeyBtc="btc",e.NameSpaceKeyAptos="aptos",e.NameSpaceKeyCosmos="cosmos",e.NameSpaceKeyTron="tron",e.NameSpaceKeyStarknet="starknet"})),kS=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.tgwalletAppName=e.tgwalletName=e.tonConnectSdkVersion=e.standardDeeplink=e.okxCommonStackDeepLink=e.okxWalletStackDeepLink=e.okxAppStackDeepLink=e.okxCommonDeepLink=e.okxWalletDeepLink=e.okxAppDeepLink=e.downloadUrl=e.okxCommonUniversalLink=e.okxWalletUniversalLink=e.okxAppUniversalLink=void 0,e.getTestTwaUrl=function(){return window.okxTesttwaUrl},e.getTestTgTwaUrl=function(){return window.okxTestTgtwaUrl},e.getBotNameAndAppName=function(e){let t=new URL(e).pathname.split("/").filter(Boolean);if(t.length>=2){return{botName:t[0],appName:t[1]}}},e.okxAppUniversalLink="https://link.okx.com/ul/connect",e.okxWalletUniversalLink="https://web3link.okx.com/ul/connect",e.okxCommonUniversalLink="https://web3.okx.com/ul/connect",e.downloadUrl="https://www.okx.com/download",e.okxAppDeepLink="okx://web3/wallet/connect",e.okxWalletDeepLink="okxwallet://web3/wallet/connect",e.okxCommonDeepLink="okxweb3://web3/wallet/connect",e.okxAppStackDeepLink="okx://web3?stack=true",e.okxWalletStackDeepLink="okxwallet://web3?stack=true",e.okxCommonStackDeepLink="okxweb3://web3?stack=true",e.standardDeeplink=e.okxAppStackDeepLink,e.tonConnectSdkVersion="1",e.tgwalletName="OKX_WALLET_BOT",e.tgwalletAppName="start"})),AOe=W((e=>{"use strict";m();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};function r(e){return"object"==typeof e&&"id"in e&&"jsonrpc"in e&&"2.0"===e.jsonrpc}function n(e){return"result"in e}function i(e){return"error"in e}Object.defineProperty(e,"__esModule",{value:!0}),e.isJsonRpcPayload=r,e.isJsonRpcRequest=function(e){return r(e)&&"method"in e},e.isJsonRpcResponse=function(e){return r(e)&&(n(e)||i(e))},e.isJsonRpcResult=n,e.isJsonRpcError=i,e.payloadId=l,e.getBigIntRpcId=function(){let e=BigInt(Date.now())*BigInt(1e6),t=BigInt(u.getNextValue());return e+t},e.formatJsonRpcRequest=function(e,t,r){return{id:r||l(),jsonrpc:"2.0",method:e,params:t}},e.formatJsonRpcResult=function(e,t){return{id:e,jsonrpc:"2.0",result:t}},e.formatJsonRpcError=function(e,t,r){return{id:e,jsonrpc:"2.0",error:p(t,r)}},e.isReservedErrorCode=d,e.getError=h,e.getErrorByCode=f,e.formatErrorMessage=p,e.isHttpUrl=function(e){return g(e,"^https?:")},e.isWsUrl=function(e){return g(e,"^wss?:")},e.parseConnectionError=function(e,t,r){return e.message.includes("getaddrinfo ENOTFOUND")||e.message.includes("connect ECONNREFUSED")?new Error(`Unavailable ${r} RPC url at ${t}`):e};var o=h$(),s=t(oh()),a=class{constructor(e){this.i=1;8===e?new Uint8Array(1):16===e?new Uint16Array(1):new Uint32Array(1);this.initialValue=e?s.default.randomBytes(e/8)[0]:0}getNextValue(){return this.initialValue+this.i++}},c=new a(8),u=new a(16);function l(){return 1e3*Date.now()+c.getNextValue()}function d(e){return o.RESERVED_ERROR_CODES.includes(e)}function h(e){return Object.keys(o.STANDARD_ERROR_MAP).includes(e)?o.STANDARD_ERROR_MAP[e]:o.STANDARD_ERROR_MAP[o.DEFAULT_ERROR]}function f(e){return Object.values(o.STANDARD_ERROR_MAP).find((t=>t.code===e))||o.STANDARD_ERROR_MAP[o.DEFAULT_ERROR]}function p(e,t){return typeof e>"u"?h(o.INTERNAL_ERROR):("string"==typeof e&&(e=Object.assign(Object.assign({},h(o.SERVER_ERROR)),{message:e})),typeof t<"u"&&(e.data=t),d(e.code)&&(e=f(e.code)),e)}function g(e,t){let r=function(e){let t=e.match(new RegExp(/^\w+:/,"gi"));if(t&&t.length)return t[0]}(e);return!(typeof r>"u")&&new RegExp(t).test(r)}})),Qf=W(((e,t)=>{"use strict";m();var r=Object.prototype.hasOwnProperty,n="~";function i(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,i,s){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new o(r,i||e,s),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(n=!1)),c.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)r.call(e,t)&&i.push(n?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i<o;i++)s[i]=r[i].fn;return s},c.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},c.prototype.emit=function(e,t,r,i,o,s){var a=n?n+e:e;if(!this._events[a])return!1;var c,u,l=this._events[a],d=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),d){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,s),!0}for(u=1,c=new Array(d-1);u<d;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var h,f=l.length;for(u=0;u<f;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),d){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,i);break;default:if(!c)for(h=1,c=new Array(d-1);h<d;h++)c[h-1]=arguments[h];l[u].fn.apply(l[u].context,c)}}return!0},c.prototype.on=function(e,t,r){return s(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return s(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn===t&&(!i||s.once)&&(!r||s.context===r)&&a(this,o);else{for(var c=0,u=[],l=s.length;c<l;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&u.push(s[c]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,typeof t<"u"&&(t.exports=c)})),SOe=W((e=>{"use strict";m();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.IEngine=e.ISignClient=e.ISignClientEvents=e.IEngineEvents=void 0;var r=t(Qf()),n=class extends r.default{constructor(){super()}};e.IEngineEvents=n;var i=class extends r.default{constructor(){super()}};e.ISignClientEvents=i;e.ISignClient=class{constructor(e){this.data=e}};e.IEngine=class{constructor(e){this.client=e}}})),IOe=W((e=>{"use strict";var t,r;m(),Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectWalletType=void 0,(r=t||(e.ConnectWalletType=t={}))[r.OKX_MINI=110]="OKX_MINI",r[r.OKX_APP=100]="OKX_APP",r[r.OKX_WALLET=120]="OKX_WALLET",r[r.OKX_APP_COMMON=130]="OKX_APP_COMMON"})),POe=W((e=>{"use strict";var t;m(),Object.defineProperty(e,"__esModule",{value:!0}),e.TONCHAIN=void 0,(t||(e.TONCHAIN=t={})).MAINNET="-239"})),MOe=W((e=>{"use strict";var t,r;m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CONNECT_ITEM_ERROR_CODES=void 0,(r=t||(e.CONNECT_ITEM_ERROR_CODES=t={}))[r.UNKNOWN_ERROR=0]="UNKNOWN_ERROR",r[r.METHOD_NOT_SUPPORTED=400]="METHOD_NOT_SUPPORTED"})),kOe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CONNECT_ITEM_ERROR_CODES=e.TONCHAIN=void 0;var t=POe();Object.defineProperty(e,"TONCHAIN",{enumerable:!0,get:function(){return t.TONCHAIN}});var r=MOe();Object.defineProperty(e,"CONNECT_ITEM_ERROR_CODES",{enumerable:!0,get:function(){return r.CONNECT_ITEM_ERROR_CODES}})})),zU=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.AptosAppleWalletName=e.AptosGoogleWalletName=e.OKXInjectWalletName=e.OKXMiniWalletName=e.OKXWalletName=void 0,e.creatOKXWalletInfo=function(){return{appName:"okxAppWallet",name:e.OKXWalletName,imageUrl:"https://static.okx.com/cdn/assets/imgs/247/58E63FEA47A2B7D7.png"}},e.creatOKXMiniAppWalletInfo=function(){return{appName:"okxMiniApp",name:e.OKXMiniWalletName,imageUrl:"https://static.okx.com/cdn/assets/imgs/247/58E63FEA47A2B7D7.png"}},e.creatOKXInjectWalletInfo=function(){return{appName:"okxInjectWallet",name:e.OKXInjectWalletName,imageUrl:""}},e.OKXWalletName="OKX Wallet",e.OKXMiniWalletName="OKX Mini Wallet",e.OKXInjectWalletName="OKX Inject Wallet",e.AptosGoogleWalletName="Continue with Google",e.AptosAppleWalletName="Continue with Apple"})),ROe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectWalletType=e.ISignClientEvents=e.IEngine=e.IEngineEvents=e.ISignClient=e.getBigIntRpcId=e.formatJsonRpcRequest=e.isJsonRpcError=e.isJsonRpcResponse=e.parseConnectionError=e.isHttpUrl=e.formatJsonRpcError=void 0;var n=AOe();Object.defineProperty(e,"formatJsonRpcError",{enumerable:!0,get:function(){return n.formatJsonRpcError}}),Object.defineProperty(e,"isHttpUrl",{enumerable:!0,get:function(){return n.isHttpUrl}}),Object.defineProperty(e,"parseConnectionError",{enumerable:!0,get:function(){return n.parseConnectionError}}),Object.defineProperty(e,"isJsonRpcResponse",{enumerable:!0,get:function(){return n.isJsonRpcResponse}}),Object.defineProperty(e,"isJsonRpcError",{enumerable:!0,get:function(){return n.isJsonRpcError}}),Object.defineProperty(e,"formatJsonRpcRequest",{enumerable:!0,get:function(){return n.formatJsonRpcRequest}}),Object.defineProperty(e,"getBigIntRpcId",{enumerable:!0,get:function(){return n.getBigIntRpcId}});var i=SOe();Object.defineProperty(e,"ISignClient",{enumerable:!0,get:function(){return i.ISignClient}}),Object.defineProperty(e,"IEngineEvents",{enumerable:!0,get:function(){return i.IEngineEvents}}),Object.defineProperty(e,"IEngine",{enumerable:!0,get:function(){return i.IEngine}}),Object.defineProperty(e,"ISignClientEvents",{enumerable:!0,get:function(){return i.ISignClientEvents}});var o=IOe();Object.defineProperty(e,"ConnectWalletType",{enumerable:!0,get:function(){return o.ConnectWalletType}}),r(kOe(),e),r(zU(),e)})),NOe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.NAMES_CHAINS=e.TON_CHAINS=e.COSMOS_CHAINS=e.APTOS_CHAINS=e.SUI_CHAINS=e.SOLANA_CHAINS_STANDARD=e.SOLANA_CHAINS=e.BTC_CHAINS=void 0;var t=p$();e.BTC_CHAINS={MAINNET:"btc:mainnet",FRACTAL:"fractal:mainnet"},e.SOLANA_CHAINS={MAINNET:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",TESTNET:"solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z",SONIC_TESTNET:"sonic:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z"},e.SOLANA_CHAINS_STANDARD={MAINNET:"solana:mainnet",TESTNET:"solana:testnet"},e.SUI_CHAINS={MAINNET:"sui:mainnet"},e.APTOS_CHAINS={MAINNET:"aptos:mainnet",MOVEMENT_MAINNET:"movement:mainnet",MOVEMENT_TESTNET:"movement:testnet"},e.COSMOS_CHAINS={COSMOS_MAINNET:"cosmos:cosmoshub-4"},e.TON_CHAINS={MAINNET:"ton:-239"},e.NAMES_CHAINS={[t.NameSpaceKeyBtc]:Object.values(e.BTC_CHAINS),[t.NameSpaceKeySOL]:Object.values(e.SOLANA_CHAINS),[t.NameSpaceKeyTON]:Object.values(e.TON_CHAINS),[t.NameSpaceKeySui]:Object.values(e.SUI_CHAINS),[t.NameSpaceKeyAptos]:Object.values(e.APTOS_CHAINS),[t.NameSpaceKeyCosmos]:Object.values(e.COSMOS_CHAINS)}})),zi=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.okxWalletUniversalLink=e.okxAppUniversalLink=e.okxWalletDeepLink=e.okxAppDeepLink=e.okxWalletStackDeepLink=e.okxAppStackDeepLink=e.standardDeeplink=e.downloadUrl=e.tonConnectSdkVersion=e.OpenAppLinkType=e.NameSpaceKeyStarknet=e.NameSpaceKeyTron=e.NameSpaceKeyCosmos=e.NameSpaceKeyAptos=e.NameSpaceKeyBtc=e.NameSpaceKeySui=e.NameSpaceKeyTON=e.NameSpaceKeySOL=e.NameSpaceKeyEip155=void 0,r(hOe(),e);var n=p$();Object.defineProperty(e,"NameSpaceKeyEip155",{enumerable:!0,get:function(){return n.NameSpaceKeyEip155}}),Object.defineProperty(e,"NameSpaceKeySOL",{enumerable:!0,get:function(){return n.NameSpaceKeySOL}}),Object.defineProperty(e,"NameSpaceKeyTON",{enumerable:!0,get:function(){return n.NameSpaceKeyTON}}),Object.defineProperty(e,"NameSpaceKeySui",{enumerable:!0,get:function(){return n.NameSpaceKeySui}}),Object.defineProperty(e,"NameSpaceKeyBtc",{enumerable:!0,get:function(){return n.NameSpaceKeyBtc}}),Object.defineProperty(e,"NameSpaceKeyAptos",{enumerable:!0,get:function(){return n.NameSpaceKeyAptos}}),Object.defineProperty(e,"NameSpaceKeyCosmos",{enumerable:!0,get:function(){return n.NameSpaceKeyCosmos}}),Object.defineProperty(e,"NameSpaceKeyTron",{enumerable:!0,get:function(){return n.NameSpaceKeyTron}}),Object.defineProperty(e,"NameSpaceKeyStarknet",{enumerable:!0,get:function(){return n.NameSpaceKeyStarknet}}),Object.defineProperty(e,"OpenAppLinkType",{enumerable:!0,get:function(){return n.OpenAppLinkType}});var i=kS();Object.defineProperty(e,"tonConnectSdkVersion",{enumerable:!0,get:function(){return i.tonConnectSdkVersion}}),Object.defineProperty(e,"downloadUrl",{enumerable:!0,get:function(){return i.downloadUrl}}),Object.defineProperty(e,"standardDeeplink",{enumerable:!0,get:function(){return i.standardDeeplink}}),Object.defineProperty(e,"okxAppStackDeepLink",{enumerable:!0,get:function(){return i.okxAppStackDeepLink}}),Object.defineProperty(e,"okxWalletStackDeepLink",{enumerable:!0,get:function(){return i.okxWalletStackDeepLink}}),Object.defineProperty(e,"okxAppDeepLink",{enumerable:!0,get:function(){return i.okxAppDeepLink}}),Object.defineProperty(e,"okxWalletDeepLink",{enumerable:!0,get:function(){return i.okxWalletDeepLink}}),Object.defineProperty(e,"okxAppUniversalLink",{enumerable:!0,get:function(){return i.okxAppUniversalLink}}),Object.defineProperty(e,"okxWalletUniversalLink",{enumerable:!0,get:function(){return i.okxWalletUniversalLink}}),r(ROe(),e),r(NOe(),e)})),DOe=W(((e,t)=>{m(),function(r,n){"use strict";var i="function",o="undefined",s="object",a="string",c="major",u="model",l="name",d="type",h="vendor",f="version",p="architecture",g="console",y="mobile",m="tablet",b="smarttv",w="wearable",v="embedded",A="Amazon",E="Apple",T="ASUS",C="BlackBerry",S="Browser",I="Chrome",O="Firefox",M="Google",P="Honor",k="Huawei",B="LG",x="Microsoft",N="Motorola",R="Nvidia",_="OnePlus",U="Opera",D="OPPO",W="Samsung",L="Sharp",z="Sony",F="Xiaomi",K="Zebra",j="Facebook",H="Chromium OS",G="Mac OS",V=" Browser",q=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},J=function(e,t){return typeof e===a&&-1!==Y(t).indexOf(Y(e))},Y=function(e){return e.toLowerCase()},X=function(e,t){if(typeof e===a)return e=e.replace(/^\s\s*/,""),typeof t===o?e:e.substring(0,500)},Q=function(e,t){for(var r,o,a,c,u,l,d=0;d<t.length&&!u;){var h=t[d],f=t[d+1];for(r=o=0;r<h.length&&!u&&h[r];)if(u=h[r++].exec(e))for(a=0;a<f.length;a++)l=u[++o],typeof(c=f[a])===s&&c.length>0?2===c.length?typeof c[1]==i?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==i||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):n:this[c[0]]=l?c[1].call(this,l,c[2]):n:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):n):this[c]=l||n;d+=2}},Z=function(e,t){for(var r in t)if(typeof t[r]===s&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(J(t[r][i],e))return"?"===r?n:r}else if(J(t[r],e))return"?"===r?n:r;return t.hasOwnProperty("*")?t["*"]:e},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ee={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,f],[/opios[\/ ]+([\w\.]+)/i],[f,[l,U+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[f,[l,U+" GX"]],[/\bopr\/([\w\.]+)/i],[f,[l,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[f,[l,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[f,[l,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,f],[/quark(?:pc)?\/([-\w\.]+)/i],[f,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[f,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[l,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[f,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[f,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[f,[l,"Smart Lenovo "+S]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+S],f],[/\bfocus\/([\w\.]+)/i],[f,[l,O+" Focus"]],[/\bopt\/([\w\.]+)/i],[f,[l,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[l,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[l,"MIUI"+V]],[/fxios\/([\w\.-]+)/i],[f,[l,O]],[/\bqihoobrowser\/?([\w\.]*)/i],[f,[l,"360"]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],f],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+V],f],[/samsungbrowser\/([\w\.]+)/i],[f,[l,W+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[f,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[l,f],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[l],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[f,l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,j],f],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[f,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[l,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,I+" WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[l,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,f],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[f,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[f,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[f,Z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],f],[/(wolvic|librewolf)\/([\w\.]+)/i],[l,f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[l,O+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[l,[f,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[f,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[p,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[p,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[p,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[p,/ower/,"",Y]],[/ sun4\w[;\)]/i],[[p,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[p,Y]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[h,W],[d,m]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[u,[h,W],[d,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[h,E],[d,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[h,E],[d,m]],[/(macintosh);/i],[u,[h,E]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[h,L],[d,y]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[u,[h,P],[d,m]],[/honor([-\w ]+)[;\)]/i],[u,[h,P],[d,y]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[u,[h,k],[d,m]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[h,k],[d,y]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[u,/_/g," "],[h,F],[d,m]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[u,/_/g," "],[h,F],[d,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[h,D],[d,y]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[u,[h,Z,{OnePlus:["304","403","203"],"*":D}],[d,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[h,"Vivo"],[d,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[u,[h,"Realme"],[d,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[h,N],[d,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[h,N],[d,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[h,B],[d,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[h,B],[d,y]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[u,[h,"Lenovo"],[d,m]],[/(nokia) (t[12][01])/i],[h,u,[d,m]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[u,/_/g," "],[d,y],[h,"Nokia"]],[/(pixel (c|tablet))\b/i],[u,[h,M],[d,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[h,M],[d,y]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[h,z],[d,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[h,z],[d,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[h,_],[d,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[h,A],[d,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[h,A],[d,y]],[/(playbook);[-\w\),; ]+(rim)/i],[u,h,[d,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[h,C],[d,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[h,T],[d,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[h,T],[d,y]],[/(nexus 9)/i],[u,[h,"HTC"],[d,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[u,/_/g," "],[d,y]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[u,[h,"TCL"],[d,m]],[/(itel) ((\w+))/i],[[h,Y],u,[d,Z,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[h,"Acer"],[d,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[h,"Meizu"],[d,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[u,[h,"Ulefone"],[d,y]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[u,[h,"Energizer"],[d,y]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[u,[h,"Cat"],[d,y]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[u,[h,"Smartfren"],[d,y]],[/droid.+; (a(?:015|06[35]|142p?))/i],[u,[h,"Nothing"],[d,y]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[u,[h,"Archos"],[d,m]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[u,[h,"Archos"],[d,y]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[h,u,[d,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[h,u,[d,y]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,u,[d,m]],[/(surface duo)/i],[u,[h,x],[d,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[h,"Fairphone"],[d,y]],[/(u304aa)/i],[u,[h,"AT&T"],[d,y]],[/\bsie-(\w*)/i],[u,[h,"Siemens"],[d,y]],[/\b(rct\w+) b/i],[u,[h,"RCA"],[d,m]],[/\b(venue[\d ]{2,7}) b/i],[u,[h,"Dell"],[d,m]],[/\b(q(?:mv|ta)\w+) b/i],[u,[h,"Verizon"],[d,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[h,"Barnes & Noble"],[d,m]],[/\b(tm\d{3}\w+) b/i],[u,[h,"NuVision"],[d,m]],[/\b(k88) b/i],[u,[h,"ZTE"],[d,m]],[/\b(nx\d{3}j) b/i],[u,[h,"ZTE"],[d,y]],[/\b(gen\d{3}) b.+49h/i],[u,[h,"Swiss"],[d,y]],[/\b(zur\d{3}) b/i],[u,[h,"Swiss"],[d,m]],[/\b((zeki)?tb.*\b) b/i],[u,[h,"Zeki"],[d,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],u,[d,m]],[/\b(ns-?\w{0,9}) b/i],[u,[h,"Insignia"],[d,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[h,"NextBook"],[d,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],u,[d,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],u,[d,y]],[/\b(ph-1) /i],[u,[h,"Essential"],[d,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[h,"Envizen"],[d,m]],[/\b(trio[-\w\. ]+) b/i],[u,[h,"MachSpeed"],[d,m]],[/\btu_(1491) b/i],[u,[h,"Rotor"],[d,m]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[u,[h,R],[d,m]],[/(sprint) (\w+)/i],[h,u,[d,y]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[h,x],[d,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[h,K],[d,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[h,K],[d,y]],[/smart-tv.+(samsung)/i],[h,[d,b]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[h,W],[d,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,B],[d,b]],[/(apple) ?tv/i],[h,[u,E+" TV"],[d,b]],[/crkey/i],[[u,I+"cast"],[h,M],[d,b]],[/droid.+aft(\w+)( bui|\))/i],[u,[h,A],[d,b]],[/(shield \w+ tv)/i],[u,[h,R],[d,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[h,L],[d,b]],[/(bravia[\w ]+)( bui|\))/i],[u,[h,z],[d,b]],[/(mi(tv|box)-?\w+) bui/i],[u,[h,F],[d,b]],[/Hbbtv.*(technisat) (.*);/i],[h,u,[d,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,X],[u,X],[d,b]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[u,[d,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,u,[d,g]],[/droid.+; (shield)( bui|\))/i],[u,[h,R],[d,g]],[/(playstation \w+)/i],[u,[h,z],[d,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[h,x],[d,g]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[u,[h,W],[d,w]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[h,u,[d,w]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[u,[h,D],[d,w]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[h,E],[d,w]],[/(opwwe\d{3})/i],[u,[h,_],[d,w]],[/(moto 360)/i],[u,[h,N],[d,w]],[/(smartwatch 3)/i],[u,[h,z],[d,w]],[/(g watch r)/i],[u,[h,B],[d,w]],[/droid.+; (wt63?0{2,3})\)/i],[u,[h,K],[d,w]],[/droid.+; (glass) \d/i],[u,[h,M],[d,w]],[/(pico) (4|neo3(?: link|pro)?)/i],[h,u,[d,w]],[/; (quest( \d| pro)?)/i],[u,[h,j],[d,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,v]],[/(aeobc)\b/i],[u,[h,A],[d,v]],[/(homepod).+mac os/i],[u,[h,E],[d,v]],[/windows iot/i],[[d,v]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[u,[d,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[d,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,m]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,y]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[u,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[l,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[l,f],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,f],[/ladybird\//i],[[l,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,f],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[l,[f,Z,$]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,Z,$],[l,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,G],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[f,l],[/(ubuntu) ([\w\.]+) like android/i],[[l,/(.+)/,"$1 Touch"],f],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[l,f],[/\(bb(10);/i],[f,[l,C]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[f,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[l,O+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[f,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[f,[l,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,H],f],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,f],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,f]]},te=function(e,t){if(typeof e===s&&(t=e,e=n),!(this instanceof te))return new te(e,t).getResult();var g=typeof r!==o&&r.navigator?r.navigator:n,b=e||(g&&g.userAgent?g.userAgent:""),w=g&&g.userAgentData?g.userAgentData:n,v=t?function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r}(ee,t):ee,A=g&&g.userAgent==b;return this.getBrowser=function(){var e={};return e[l]=n,e[f]=n,Q.call(e,b,v.browser),e[c]=function(e){return typeof e===a?e.replace(/[^\d\.]/g,"").split(".")[0]:n}(e[f]),A&&g&&g.brave&&typeof g.brave.isBrave==i&&(e[l]="Brave"),e},this.getCPU=function(){var e={};return e[p]=n,Q.call(e,b,v.cpu),e},this.getDevice=function(){var e={};return e[h]=n,e[u]=n,e[d]=n,Q.call(e,b,v.device),A&&!e[d]&&w&&w.mobile&&(e[d]=y),A&&"Macintosh"==e[u]&&g&&typeof g.standalone!==o&&g.maxTouchPoints&&g.maxTouchPoints>2&&(e[u]="iPad",e[d]=m),e},this.getEngine=function(){var e={};return e[l]=n,e[f]=n,Q.call(e,b,v.engine),e},this.getOS=function(){var e={};return e[l]=n,e[f]=n,Q.call(e,b,v.os),A&&!e[l]&&w&&w.platform&&"Unknown"!=w.platform&&(e[l]=w.platform.replace(/chrome os/i,H).replace(/macos/i,G)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return b},this.setUA=function(e){return b=typeof e===a&&e.length>500?X(e,500):e,this},this.setUA(b),this};te.VERSION="1.0.41",te.BROWSER=q([l,f,c]),te.CPU=q([p]),te.DEVICE=q([u,h,d,g,y,b,m,w,v]),te.ENGINE=te.OS=q([l,f]),typeof e!==o?(typeof t!==o&&t.exports&&(e=t.exports=te),e.UAParser=te):typeof define===i&&define.amd?define((function(){return te})):typeof r!==o&&(r.UAParser=te);var re=typeof r!==o&&(r.jQuery||r.Zepto);if(re&&!re.ua){var ne=new te;re.ua=ne.getResult(),re.ua.get=function(){return ne.getUA()},re.ua.set=function(e){ne.setUA(e);var t=ne.getResult();for(var r in t)re.ua[r]=t[r]}}}("object"==typeof window?window:e)})),jU=W((e=>{"use strict";m();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.openLink=o,e.openLinkBlank=function(e){o(e,"_blank")},e.openDeeplinkWithFallback=function(e,t){let r=setTimeout((()=>{c("safari")||a("android")&&c("firefox")||t()}),500);window.addEventListener("blur",(()=>clearTimeout(r)),{once:!0}),a("android")&&(0,i.inTg)()?o(e,"_blank"):o(e,"_self")},e.isMobileUserAgent=function(){let e=!1;return t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.slice(0,4)))&&(e=!0),e;var t},e.getUserAgent=s,e.isOS=a,e.isBrowser=c;var r=t(DOe()),n=Ks(),i=tO();function o(e,t="_self"){(0,n.logDebug)("openLink",e,t),window.open(e,t,"noopener noreferrer")}function s(){var e,t,n;let i,o=(new r.default).getResult(),s=null===(e=o.os.name)||void 0===e?void 0:e.toLowerCase();switch(!0){case"ipad"===(null===(t=o.device.model)||void 0===t?void 0:t.toLowerCase()):i="ipad";break;case"ios"===s:i="ios";break;case"android"===s:i="android";break;case"mac os"===s:i="macos";break;case"linux"===s:i="linux";break;case s?.includes("windows"):i="windows"}let a,c=null===(n=o.browser.name)||void 0===n?void 0:n.toLowerCase();switch(!0){case"chrome"===c:a="chrome";break;case"firefox"===c:a="firefox";break;case c?.includes("safari"):a="safari";break;case c?.includes("opera"):a="opera"}return{os:i,browser:a}}function a(...e){return e.includes(s().os)}function c(...e){return e.includes(s().browser)}})),tO=W((e=>{"use strict";var t,r,n,i,o,s,a;m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isTmaPlatform=function(...e){return e.includes(f)},e.isInTMA=g,e.inTg=function(){return y()||g()},e.isInTelegramBrowser=y,e.sendExpand=function(){w("web_app_expand",{})},e.sendOpenTelegramLink=function(e,t){let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol){if(t)return t();throw new l.OKXConnectError(l.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Url protocol is not supported: ${r}`)}if("t.me"!==r.hostname){if(t)return t();throw new l.OKXConnectError(l.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Url host is not supported: ${r}`)}let n=r.pathname+r.search;b()||function(e){return A(p,e)>=0}("6.1")?w("web_app_open_tg_link",{path_full:n}):(0,d.openLinkBlank)("https://t.me"+n)},e.versionCompare=A;var c=US(),u=Ks(),l=zi(),d=jU(),h={};try{h=function(e){e=e.replace(/^#/,"");let t={};if(!e.length)return t;if(e.indexOf("=")<0&&e.indexOf("?")<0)return t._path=v(e),t;let r=e.indexOf("?");if(r>=0){let n=e.substr(0,r);t._path=v(n),e=e.substr(r+1)}let n=function(e){let t={};if(!e.length)return t;let r,n,i,o,s=e.split("&");for(r=0;r<s.length;r++)n=s[r].split("="),i=v(n[0]),o=null==n[1]?null:v(n[1]),t[i]=o;return t}(e);for(let e in n)t[e]=n[e];return t}(location.hash.toString())}catch{}var f="unknown";if(h?.tgWebAppPlatform&&(f=null!==(t=h.tgWebAppPlatform)&&void 0!==t?t:"unknown"),"unknown"===f){let e=(0,c.getWindow)();f=null!==(i=null===(n=null===(r=e?.Telegram)||void 0===r?void 0:r.WebApp)||void 0===n?void 0:n.platform)&&void 0!==i?i:"unknown"}var p="6.0";if(h?.tgWebAppVersion&&(p=h.tgWebAppVersion),!p){let e=(0,c.getWindow)();p=null!==(a=null===(s=null===(o=e?.Telegram)||void 0===o?void 0:o.WebApp)||void 0===s?void 0:s.version)&&void 0!==a?a:"6.0"}function g(){var e;return"unknown"!==f||!(null===(e=(0,c.getWindow)())||void 0===e||!e.TelegramWebviewProxy)}function y(){var e;let t=!(null===(e=(0,c.getWindow)())||void 0===e||!e.TelegramWebview);return(g()||t)&&"unknown"===f}function b(){try{let e=(0,c.getWindow)();return!!e&&(null!=e.parent&&e!==e.parent)}catch{return!1}}function w(e,t){try{let r=(0,c.getWindow)();if(!r)throw new l.OKXConnectError(l.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Can't post event to parent window: window is not defined");if(void 0!==r.TelegramWebviewProxy)(0,u.logDebug)("postEvent",e,t),r.TelegramWebviewProxy.postEvent(e,JSON.stringify(t));else if(r.external&&"notify"in r.external)(0,u.logDebug)("postEvent",e,t),r.external.notify(JSON.stringify({eventType:e,eventData:t}));else{if(!b())throw new l.OKXConnectError(l.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Can't post event to TMA");{let n="*",i=JSON.stringify({eventType:e,eventData:t});(0,u.logDebug)("postEvent",e,t),r.parent.postMessage(i,n)}}}catch(e){(0,u.logError)(`Can't post event to parent window: ${e}`)}}function v(e){try{return e=e.replace(/\+/g,"%20"),decodeURIComponent(e)}catch{return e}}function A(e,t){"string"!=typeof e&&(e=""),"string"!=typeof t&&(t="");let r,n,i,o,s=e.replace(/^\s+|\s+$/g,"").split("."),a=t.replace(/^\s+|\s+$/g,"").split(".");for(r=Math.max(s.length,a.length),n=0;n<r;n++)if(i=parseInt(s[n])||0,o=parseInt(a[n])||0,i!==o)return i>o?1:-1;return 0}})),US=W((e=>{"use strict";var t,r,n,i;m(),Object.defineProperty(e,"__esModule",{value:!0}),e.removeUrlLastSlash=d,e.addPathToUrl=function(e,t){return d(e)+"/"+t},e.openOKXDeeplink=function(e,t,r){h(e,t,r,!1)},e.openOKXDeeplinkWithFallback=h,e.getWindow=f,e.isTelegramUrl=function(e){if(!e)return!1;let t=new URL(e);return"tg:"===t.protocol||"t.me"===t.hostname},e.encodeTelegramUrlParameters=function(e){let t=e;return t=t.replace(/\./g,"%2E"),t=t.replace(/-/g,"%2D"),t=t.replace(/_/g,"%5F"),t=t.replace(/&/g,"-"),t=t.replace(/=/g,"__"),t=t.replace(/%/g,"--"),t},e.encodeConnectParams=p,e.encodeTWAConnectURLParams=g,e.openOKXTMAWalletlinkWithFallback=function(e){var t,r,n,i,o;(0,s.logDebug)("[TWA] open link:",e,"isInTMA ==> ",A()),A()?null!==(r=null===(t=f())||void 0===t?void 0:t.Telegram)&&void 0!==r&&r.WebApp?null===(o=null===(i=null===(n=f())||void 0===n?void 0:n.Telegram)||void 0===i?void 0:i.WebApp)||void 0===o||o.openTelegramLink(e):(0,u.sendOpenTelegramLink)(e):(0,a.getTestTwaUrl)()?window.open(e,"_blank"):window.open(e,"_self")},e.isInTMA=A,e.isInTelegramBrowser=function(){var e;let t=!(null===(e=f())||void 0===e||!e.TelegramWebview);return(A()||t)&&"unknown"===v},e.getOKXLink=function(e,t=o.ConnectWalletType.OKX_APP_COMMON,r){function n(t,r){if(!e)return{universalLink:r,deepLink:t};let n=`${t}?param=${p(e)}`;return{universalLink:`${r}?topic=${e.topic}${(0,c.getLastSixMd5Hash)(e.clientId)}`,deepLink:n}}switch((0,s.logDebug)(`url  getOKXLink() called connectRequest==> ${JSON.stringify(e)}  walletType=> ${t}  tmaReturnUrl==> ${r}`),t){case o.ConnectWalletType.OKX_WALLET:return n(o.okxWalletDeepLink,o.okxWalletUniversalLink);case o.ConnectWalletType.OKX_APP_COMMON:return n(a.okxCommonDeepLink,a.okxCommonUniversalLink);case o.ConnectWalletType.OKX_MINI:return e?{universalLink:y(g(e),r??"back")}:{universalLink:y(void 0,r??"back")};default:return n(o.okxAppDeepLink,o.okxAppUniversalLink)}};var o=zi(),s=Ks(),a=kS(),c=Zf(),u=tO(),l=OT();function d(e){return"/"===e.slice(-1)?e.slice(0,-1):e}function h(e,t,r,n=!0){var i;let a=!(null===(i=f())||void 0===i||!i.TelegramWebviewProxy);console.log("openOKXDeeplinkWithFallback fullUrl:",t);let u=!1,l=null,d=()=>{console.log("fallbackToDownloadPage :empty")},h=!1;if(h=r===o.OpenAppLinkType.UniversalLink?(0,c.isInIOSChrome)()||(0,c.isInIOSLine)()||(0,c.isInIOSLark)()||(0,c.isInIOSWeChat)():!1===a&&(0,c.isIos)(),n&&((0,c.isIos)()?h&&(d=()=>{console.log("windowOpen --\x3e fallbackToDownloadPage --",u),u||(console.log("windowOpen --\x3e fallbackToDownloadPage universal link"),window.open(t,"_self"))}):d=()=>{u||(l?l.open(t,"_self"):window.open(t,"_blank"))}),!(0,c.isIos)()||h){if(a?((0,s.logDebug)("window.open(deeplinkUrl, '_blank') ",e),l=window.open(e,"_blank")):(console.log("windowOpen --\x3e deeplinkUrl"),window.location.href=e),n){setTimeout(d,3e3);let e=0,t=setInterval((()=>{e++,console.log("windowOpen --\x3e interval:",e,document.hidden,document.visibilityState),document.hidden&&(u=!0),(e>10||document.hidden)&&(clearInterval(t),console.log("windowOpen :cleat: ${count}"))}),200);window.addEventListener("blur",(()=>{console.log("windowOpen :blur"),u=!0}),{once:!0}),document.addEventListener("visibilitychange",(()=>{console.log("windowOpen :visibilitychange:",document.visibilityState),"hidden"===document.visibilityState&&(u=!0)}))}}else a?window.open(t,"_blank"):(console.log("windowOpen[before]: ",Date.now()),window?.okxLogDebug?window.open(t,"_blank"):window.open(t,"_self"),console.log("windowOpen[after]: ",Date.now()))}function f(){if(typeof window<"u")return window}function p(e){let t=Object.assign(Object.assign({},e),{protocolVersion:l.CONNECT_PROTOCOL_VER}),r=JSON.stringify(t);(0,s.logDebug)("url encodeConnectParams connectRequestStr ",r);let n=(new TextEncoder).encode(r),i=btoa(String.fromCharCode(...n));return(0,s.logDebug)("url encodeConnectParams base64Encoded ",i),i}function g(e){let t=JSON.stringify({topic:e.topic,clientId:e.clientId});(0,s.logDebug)("url encodeConnectParams connectRequestStr",t);let r=(new TextEncoder).encode(t);return btoa(String.fromCharCode(...r))}function y(e,t){let r={okxconnect:"",redirect:"",extraparams:"",fromtg:!1};e&&(r.okxconnect=e),t&&(r.redirect=t),A()?r.fromtg=!0:r.fromtg=!1,(0,s.logDebug)("getTelegramWalletTWAUrl redirect:",r.redirect);let n=JSON.stringify(r),i=(new TextEncoder).encode(n),o=btoa(String.fromCharCode(...i)),u=(0,c.toSafeBase64FromBase64)(o);if((0,s.logDebug)("[TWA] open link:",r,o),e||t){if(A())return(0,a.getTestTgTwaUrl)()?`${(0,a.getTestTgTwaUrl)()}?startapp=${u}`:`https://t.me/${a.tgwalletName}/start?startapp=${u}`;if((0,a.getTestTwaUrl)())return`${(0,a.getTestTwaUrl)()}?tgWebAppStartParam=${u}`;if((0,a.getTestTgTwaUrl)()){let e=(0,a.getBotNameAndAppName)((0,a.getTestTgTwaUrl)());if(e){let{botName:t,appName:r}=e;return`tg://resolve?domain=${t}&appname=${r}&startapp=${u}`}return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}&startapp=${u}`}return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}&startapp=${u}`}if(A())return(0,a.getTestTgTwaUrl)()?`${(0,a.getTestTgTwaUrl)()}`:`https://t.me/${a.tgwalletName}/start`;if((0,a.getTestTwaUrl)())return`${(0,a.getTestTwaUrl)()}`;if((0,a.getTestTgTwaUrl)()){let e=(0,a.getBotNameAndAppName)((0,a.getTestTgTwaUrl)());if(e){let{botName:t,appName:r}=e;return`tg://resolve?domain=${t}&appname=${r}`}return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}`}return`tg://resolve?domain=${a.tgwalletName}&appname=${a.tgwalletAppName}`}function b(e){try{return e=e.replace(/\+/g,"%20"),decodeURIComponent(e)}catch{return e}}var w={};try{w=function(e){let t={};if(!(e=e.replace(/^#/,"")).length)return t;if(e.indexOf("=")<0&&e.indexOf("?")<0)return t._path=b(e),t;let r=e.indexOf("?");if(r>=0){let n=e.substr(0,r);t._path=b(n),e=e.substr(r+1)}let n=function(e){let t={};if(!e.length)return t;let r,n,i,o,s=e.split("&");for(r=0;r<s.length;r++)n=s[r].split("="),i=b(n[0]),o=null==n[1]?null:b(n[1]),t[i]=o;return t}(e);for(let e in n)t[e]=n[e];return t}(location.hash.toString())}catch{}var v="unknown";if(w?.tgWebAppPlatform&&(v=null!==(t=w.tgWebAppPlatform)&&void 0!==t?t:"unknown"),"unknown"===v){let e=f();v=null!==(i=null===(n=null===(r=e?.Telegram)||void 0===r?void 0:r.WebApp)||void 0===n?void 0:n.platform)&&void 0!==i?i:"unknown"}function A(){var e;return"unknown"!==v||!(null===(e=f())||void 0===e||!e.TelegramWebviewProxy)}})),JOe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};function r(e,r){return t(this,void 0,void 0,(function*(){return new Promise(((t,n)=>{var i,o;if(null!==(i=r?.signal)&&void 0!==i&&i.aborted)return void n(new Error("Delay aborted"));let s=setTimeout((()=>t()),e);null===(o=r?.signal)||void 0===o||o.addEventListener("abort",(()=>{clearTimeout(s),n(new Error("Delay aborted"))}))}))}))}Object.defineProperty(e,"__esModule",{value:!0}),e.callForSuccess=function(e,n){return t(this,void 0,void 0,(function*(){var t,i;let o=null!==(t=n?.attempts)&&void 0!==t?t:3,s=null!==(i=n?.delayMs)&&void 0!==i?i:800;if("function"!=typeof e)throw new Error("Expected a function, got "+typeof e);let a,c=0;for(;c<o;)try{return yield e()}catch(e){a=e,c++,c<o&&(yield r(s))}throw a}))},e.delay=r})),XOe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.Report_WalletType_Key=e.Report_OKXConnectSDK_RequestError_Log=e.Report_OKXConnectSDK_RequestSuccess_Log=e.Report_OKXConnectSDK_RequestStart_Log=e.Report_OKXConnectSDKExtension_ConnectDapp_Button_Click=e.Report_OKXConnectSDKExtension_Module_Retry_Click=e.Report_ConnectDapp_ConnectAndSign_Click=e.Report_Proceed_QRCode_Click=e.Report_ChooseType_Download_Click=e.Report_ChooseType_ConnectWallet_Click=e.Report_Proceed_Retry_Click=e.Report_OKXConnectSDKExtension_ConnectDapp_ConnectSuccess_View=e.Report_OKXConnectSDKExtension_ConnectDapp_Page_View=e.Report_ChooseType_ConnectWallet_View=e.Report_Loading_ConnectWallet_View=e.Report_Proceed_QRCode_View=e.Report_Proceed_Proceed_View=void 0,e.Report_Proceed_Proceed_View="OKXConnectSDK_Proceed_Proceed_View",e.Report_Proceed_QRCode_View="OKXConnectSDK_Proceed_QRCode_View",e.Report_Loading_ConnectWallet_View="OKXConnectSDK_Loading_ConnectWallet_View",e.Report_ChooseType_ConnectWallet_View="OKXConnectSDK_ChooseType_ConnectWallet_View",e.Report_OKXConnectSDKExtension_ConnectDapp_Page_View="OKXConnectSDKExtension_ConnectDapp_Page_View",e.Report_OKXConnectSDKExtension_ConnectDapp_ConnectSuccess_View="OKXConnectSDKExtension_ConnectDapp_ConnectSuccess_View",e.Report_Proceed_Retry_Click="OKXConnectSDK_Proceed_Retry_Click",e.Report_ChooseType_ConnectWallet_Click="OKXConnectSDK_ChooseType_ConnectWallet_Click",e.Report_ChooseType_Download_Click="OKXConnectSDK_ChooseType_Download_Click",e.Report_Proceed_QRCode_Click="OKXConnectSDK_Proceed_QRCode_Click",e.Report_ConnectDapp_ConnectAndSign_Click="OKXConnectSDK_ConnectDapp_ConnectAndSign_Click",e.Report_OKXConnectSDKExtension_Module_Retry_Click="OKXConnectSDKExtension_Module_Retry_Click",e.Report_OKXConnectSDKExtension_ConnectDapp_Button_Click="OKXConnectSDKExtension_ConnectDapp_Button_Click",e.Report_OKXConnectSDK_RequestStart_Log="Report_OKXConnectSDK_RequestStart_View",e.Report_OKXConnectSDK_RequestSuccess_Log="Report_OKXConnectSDK_RequestSuccess_View",e.Report_OKXConnectSDK_RequestError_Log="Report_OKXConnectSDK_RequestError_View",e.Report_WalletType_Key="wallet_type"})),YOe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.checkMetaData=function(e){if(!e)throw new t.OKXConnectError(t.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"You have to specify a `dappMetaData`in the options.");if(!e.name)throw new t.OKXConnectError(t.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"dappName is required");return!0};var t=zi()})),Ao=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.chainIdToStandardChainIdMap=e.getNamespaceKeyByChain=e.chainName2IdMap=e.replaceChainIdToChainName=e.replaceChainNameToChainId=e.checkMetaData=e.versionCompare=e.isBrowser=e.isOS=e.isMobileUserAgent=e.openDeeplinkWithFallback=e.openLinkBlank=e.openLink=e.getChainId=e.useShortLink=e.toSafeBase64FromBase64=e.isValidObject=e.isIos=e.base64decode=e.base64encode=e.splitToUint8Arrays=e.concatUint8Arrays=e.toHexString=e.hexToByteArray=e.getOKXLink=e.encodeTWAConnectURLParams=e.encodeConnectParams=e.openOKXTMAWalletlinkWithFallback=e.encodeTelegramUrlParameters=e.isTelegramUrl=e.openOKXDeeplinkWithFallback=e.openOKXDeeplink=e.safeJsonStringify=e.safeJsonParse=e.getDefaultReporter=e.reportEvent=e.reportLog=e.logWarning=e.logError=e.logDebug=e.callForSuccess=void 0;var n=JOe();Object.defineProperty(e,"callForSuccess",{enumerable:!0,get:function(){return n.callForSuccess}});var i=Ks();Object.defineProperty(e,"logDebug",{enumerable:!0,get:function(){return i.logDebug}}),Object.defineProperty(e,"logError",{enumerable:!0,get:function(){return i.logError}}),Object.defineProperty(e,"logWarning",{enumerable:!0,get:function(){return i.logWarning}}),Object.defineProperty(e,"reportLog",{enumerable:!0,get:function(){return i.reportLog}}),Object.defineProperty(e,"reportEvent",{enumerable:!0,get:function(){return i.reportEvent}}),Object.defineProperty(e,"getDefaultReporter",{enumerable:!0,get:function(){return i.getDefaultReporter}}),r(XOe(),e),r(oO(),e);var o=bv();Object.defineProperty(e,"safeJsonParse",{enumerable:!0,get:function(){return o.safeJsonParse}}),Object.defineProperty(e,"safeJsonStringify",{enumerable:!0,get:function(){return o.safeJsonStringify}});var s=US();Object.defineProperty(e,"openOKXDeeplink",{enumerable:!0,get:function(){return s.openOKXDeeplink}}),Object.defineProperty(e,"openOKXDeeplinkWithFallback",{enumerable:!0,get:function(){return s.openOKXDeeplinkWithFallback}}),Object.defineProperty(e,"isTelegramUrl",{enumerable:!0,get:function(){return s.isTelegramUrl}}),Object.defineProperty(e,"encodeTelegramUrlParameters",{enumerable:!0,get:function(){return s.encodeTelegramUrlParameters}}),Object.defineProperty(e,"openOKXTMAWalletlinkWithFallback",{enumerable:!0,get:function(){return s.openOKXTMAWalletlinkWithFallback}}),Object.defineProperty(e,"encodeConnectParams",{enumerable:!0,get:function(){return s.encodeConnectParams}}),Object.defineProperty(e,"encodeTWAConnectURLParams",{enumerable:!0,get:function(){return s.encodeTWAConnectURLParams}}),Object.defineProperty(e,"getOKXLink",{enumerable:!0,get:function(){return s.getOKXLink}});var a=Zf();Object.defineProperty(e,"hexToByteArray",{enumerable:!0,get:function(){return a.hexToByteArray}}),Object.defineProperty(e,"toHexString",{enumerable:!0,get:function(){return a.toHexString}}),Object.defineProperty(e,"concatUint8Arrays",{enumerable:!0,get:function(){return a.concatUint8Arrays}}),Object.defineProperty(e,"splitToUint8Arrays",{enumerable:!0,get:function(){return a.splitToUint8Arrays}}),Object.defineProperty(e,"base64encode",{enumerable:!0,get:function(){return a.base64encode}}),Object.defineProperty(e,"base64decode",{enumerable:!0,get:function(){return a.base64decode}}),Object.defineProperty(e,"isIos",{enumerable:!0,get:function(){return a.isIos}}),Object.defineProperty(e,"isValidObject",{enumerable:!0,get:function(){return a.isValidObject}}),Object.defineProperty(e,"toSafeBase64FromBase64",{enumerable:!0,get:function(){return a.toSafeBase64FromBase64}}),Object.defineProperty(e,"useShortLink",{enumerable:!0,get:function(){return a.useShortLink}}),Object.defineProperty(e,"getChainId",{enumerable:!0,get:function(){return a.getChainId}});var c=jU();Object.defineProperty(e,"openLink",{enumerable:!0,get:function(){return c.openLink}}),Object.defineProperty(e,"openLinkBlank",{enumerable:!0,get:function(){return c.openLinkBlank}}),Object.defineProperty(e,"openDeeplinkWithFallback",{enumerable:!0,get:function(){return c.openDeeplinkWithFallback}}),Object.defineProperty(e,"isMobileUserAgent",{enumerable:!0,get:function(){return c.isMobileUserAgent}}),Object.defineProperty(e,"isOS",{enumerable:!0,get:function(){return c.isOS}}),Object.defineProperty(e,"isBrowser",{enumerable:!0,get:function(){return c.isBrowser}});var u=tO();Object.defineProperty(e,"versionCompare",{enumerable:!0,get:function(){return u.versionCompare}});var l=YOe();Object.defineProperty(e,"checkMetaData",{enumerable:!0,get:function(){return l.checkMetaData}});var d=Zf();Object.defineProperty(e,"replaceChainNameToChainId",{enumerable:!0,get:function(){return d.replaceChainNameToChainId}}),Object.defineProperty(e,"replaceChainIdToChainName",{enumerable:!0,get:function(){return d.replaceChainIdToChainName}}),Object.defineProperty(e,"chainName2IdMap",{enumerable:!0,get:function(){return d.chainName2IdMap}}),Object.defineProperty(e,"getNamespaceKeyByChain",{enumerable:!0,get:function(){return d.getNamespaceKeyByChain}}),Object.defineProperty(e,"chainIdToStandardChainIdMap",{enumerable:!0,get:function(){return d.chainIdToStandardChainIdMap}})})),QU=W(((e,t)=>{m(),function(r){if("object"==typeof e&&typeof t<"u")t.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{(typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this).localforage=r()}}((function(){return function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var c="function"==typeof r0&&r0;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[s]={exports:{}};t[s][0].call(l.exports,(function(e){return i(t[s][1][e]||e)}),l,l.exports,e,t,r,n)}return r[s].exports}for(var o="function"==typeof r0&&r0,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){(function(e){"use strict";var r,n=e.MutationObserver||e.WebKitMutationObserver;if(n){var i=0,o=new n(l),s=e.document.createTextNode("");o.observe(s,{characterData:!0}),r=function(){s.data=i=++i%2}}else if(!e.setImmediate&&typeof e.MessageChannel<"u"){var a=new e.MessageChannel;a.port1.onmessage=l,r=function(){a.port2.postMessage(0)}}else r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};var c,u=[];function l(){c=!0;for(var e,t,r=u.length;r;){for(t=u,u=[],e=-1;++e<r;)t[e]();r=u.length}c=!1}t.exports=function(e){1===u.push(e)&&!c&&r()}}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(e,t,r){"use strict";var n=e(1);function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],c=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function l(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function d(e,t,r){n((function(){var n;try{n=t(r)}catch(t){return o.reject(e,t)}n===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,n)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var r=!1;function n(t){r||(r=!0,o.reject(e,t))}function i(t){r||(r=!0,o.resolve(e,t))}var s=p((function(){t(i,n)}));"error"===s.status&&n(s.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}t.exports=u,u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var r=new this.constructor(i);this.state!==c?d(r,this.state===a?e:t,this.outcome):this.queue.push(new l(r,e,t));return r},l.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){o.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var r=p(h,t);if("error"===r.status)return o.reject(e,r.value);var n=r.value;if(n)f(e,n);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var s=new Array(r),a=0,c=-1,u=new this(i);++c<r;)l(e[c],c);return u;function l(e,i){t.resolve(e).then((function(e){s[i]=e,++a===r&&!n&&(n=!0,o.resolve(u,s))}),(function(e){n||(n=!0,o.reject(u,e))}))}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var s=-1,a=new this(i);++s<r;)c=e[s],t.resolve(c).then((function(e){n||(n=!0,o.resolve(a,e))}),(function(e){n||(n=!0,o.reject(a,e))}));var c;return a}},{1:1}],3:[function(e,t,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var i=function(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var r=new(typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder),n=0;n<e.length;n+=1)r.append(e[n]);return r.getBlob(t.type)}}typeof Promise>"u"&&e(3);var s=Promise;function a(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function c(e,t,r){"function"==typeof t&&e.then(t),"function"==typeof r&&e.catch(r)}function u(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function l(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var d="local-forage-detect-blob-support",h=void 0,f={},p=Object.prototype.toString,g="readonly",y="readwrite";function m(e){return"boolean"==typeof h?s.resolve(h):function(e){return new s((function(t){var r=e.transaction(d,y),n=o([""]);r.objectStore(d).put(n,"key"),r.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},r.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),r=navigator.userAgent.match(/Edge\//);t(r||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}(e).then((function(e){return h=e}))}function b(e){var t=f[e.name],r={};r.promise=new s((function(e,t){r.resolve=e,r.reject=t})),t.deferredOperations.push(r),t.dbReady?t.dbReady=t.dbReady.then((function(){return r.promise})):t.dbReady=r.promise}function w(e){var t=f[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function v(e,t){var r=f[e.name].deferredOperations.pop();if(r)return r.reject(t),r.promise}function A(e,t){return new s((function(r,n){if(f[e.name]=f[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return r(e.db);b(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var s=i.open.apply(i,o);t&&(s.onupgradeneeded=function(t){var r=s.result;try{r.createObjectStore(e.storeName),t.oldVersion<=1&&r.createObjectStore(d)}catch(r){if("ConstraintError"!==r.name)throw r;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),s.onerror=function(e){e.preventDefault(),n(s.error)},s.onsuccess=function(){var t=s.result;t.onversionchange=function(e){e.target.close()},r(t),w(e)}}))}function E(e){return A(e,!1)}function T(e){return A(e,!0)}function C(e,t){if(!e.db)return!0;var r=!e.db.objectStoreNames.contains(e.storeName),n=e.version<e.db.version,i=e.version>e.db.version;if(n&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),i||r){if(r){var o=e.db.version+1;o>e.version&&(e.version=o)}return!0}return!1}function S(e){var t=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),i=0;i<t;i++)n[i]=e.charCodeAt(i);return r}(atob(e.data));return o([t],{type:e.type})}function I(e){return e&&e.__local_forage_encoded_blob}function O(e){var t=this,r=t._initReady().then((function(){var e=f[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return c(r,e,e),r}function M(e,t,r,n){void 0===n&&(n=1);try{var i=e.db.transaction(e.storeName,t);r(null,i)}catch(i){if(n>0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return s.resolve().then((function(){if(!e.db||"NotFoundError"===i.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),T(e)})).then((function(){return function(e){b(e);for(var t=f[e.name],r=t.forages,n=0;n<r.length;n++){var i=r[n];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,E(e).then((function(t){return e.db=t,C(e)?T(e):t})).then((function(n){e.db=t.db=n;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=n})).catch((function(t){throw v(e,t),t}))}(e).then((function(){M(e,t,r,n-1)}))})).catch(r);r(i)}}var P={_driver:"asyncStorage",_initStorage:function(e){var t=this,r={db:null};if(e)for(var n in e)r[n]=e[n];var i=f[r.name];i||(i={forages:[],db:null,dbReady:null,deferredOperations:[]},f[r.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=O);var o=[];function a(){return s.resolve()}for(var c=0;c<i.forages.length;c++){var u=i.forages[c];u!==t&&o.push(u._initReady().catch(a))}var l=i.forages.slice(0);return s.all(o).then((function(){return r.db=i.db,E(r)})).then((function(e){return r.db=e,C(r,t._defaultConfig.version)?T(r):e})).then((function(e){r.db=i.db=e,t._dbInfo=r;for(var n=0;n<l.length;n++){var o=l[n];o!==t&&(o._dbInfo.db=r.db,o._dbInfo.version=r.version)}}))},_support:function(){try{if(!i||!i.open)return!1;var e=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}(),iterate:function(e,t){var r=this,n=new s((function(t,n){r.ready().then((function(){M(r._dbInfo,g,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName).openCursor(),a=1;s.onsuccess=function(){var r=s.result;if(r){var n=r.value;I(n)&&(n=S(n));var i=e(n,r.key,a++);void 0!==i?t(i):r.continue()}else t()},s.onerror=function(){n(s.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},getItem:function(e,t){var r=this;e=u(e);var n=new s((function(t,n){r.ready().then((function(){M(r._dbInfo,g,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName).get(e);s.onsuccess=function(){var e=s.result;void 0===e&&(e=null),I(e)&&(e=S(e)),t(e)},s.onerror=function(){n(s.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},setItem:function(e,t,r){var n=this;e=u(e);var i=new s((function(r,i){var o;n.ready().then((function(){return o=n._dbInfo,"[object Blob]"===p.call(t)?m(o.db).then((function(e){return e?t:function(e){return new s((function(t,r){var n=new FileReader;n.onerror=r,n.onloadend=function(r){var n=btoa(r.target.result||"");t({__local_forage_encoded_blob:!0,data:n,type:e.type})},n.readAsBinaryString(e)}))}(t)})):t})).then((function(t){M(n._dbInfo,y,(function(o,s){if(o)return i(o);try{var a=s.objectStore(n._dbInfo.storeName);null===t&&(t=void 0);var c=a.put(t,e);s.oncomplete=function(){void 0===t&&(t=null),r(t)},s.onabort=s.onerror=function(){var e=c.error?c.error:c.transaction.error;i(e)}}catch(e){i(e)}}))})).catch(i)}));return a(i,r),i},removeItem:function(e,t){var r=this;e=u(e);var n=new s((function(t,n){r.ready().then((function(){M(r._dbInfo,y,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){n(s.error)},o.onabort=function(){var e=s.error?s.error:s.transaction.error;n(e)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},clear:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){M(t._dbInfo,y,(function(n,i){if(n)return r(n);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){var e=o.error?o.error:o.transaction.error;r(e)}}catch(e){r(e)}}))})).catch(r)}));return a(r,e),r},length:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){M(t._dbInfo,g,(function(n,i){if(n)return r(n);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){r(o.error)}}catch(e){r(e)}}))})).catch(r)}));return a(r,e),r},key:function(e,t){var r=this,n=new s((function(t,n){e<0?t(null):r.ready().then((function(){M(r._dbInfo,g,(function(i,o){if(i)return n(i);try{var s=o.objectStore(r._dbInfo.storeName),a=!1,c=s.openKeyCursor();c.onsuccess=function(){var r=c.result;r?0===e||a?t(r.key):(a=!0,r.advance(e)):t(null)},c.onerror=function(){n(c.error)}}catch(e){n(e)}}))})).catch(n)}));return a(n,t),n},keys:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){M(t._dbInfo,g,(function(n,i){if(n)return r(n);try{var o=i.objectStore(t._dbInfo.storeName).openKeyCursor(),s=[];o.onsuccess=function(){var t=o.result;t?(s.push(t.key),t.continue()):e(s)},o.onerror=function(){r(o.error)}}catch(e){r(e)}}))})).catch(r)}));return a(r,e),r},dropInstance:function(e,t){t=l.apply(this,arguments);var r,n=this.config();if((e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName),e.name){var o=e.name===n.name&&this._dbInfo.db?s.resolve(this._dbInfo.db):E(e).then((function(t){var r=f[e.name],n=r.forages;r.db=t;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=t;return t}));r=e.storeName?o.then((function(t){if(t.objectStoreNames.contains(e.storeName)){var r=t.version+1;b(e);var n=f[e.name],o=n.forages;t.close();for(var a=0;a<o.length;a++){var c=o[a];c._dbInfo.db=null,c._dbInfo.version=r}return new s((function(t,n){var o=i.open(e.name,r);o.onerror=function(e){o.result.close(),n(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}})).then((function(e){n.db=e;for(var t=0;t<o.length;t++){var r=o[t];r._dbInfo.db=e,w(r._dbInfo)}})).catch((function(t){throw(v(e,t)||s.resolve()).catch((function(){})),t}))}})):o.then((function(t){b(e);var r=f[e.name],n=r.forages;t.close();for(var o=0;o<n.length;o++){n[o]._dbInfo.db=null}return new s((function(t,r){var n=i.deleteDatabase(e.name);n.onerror=function(){var e=n.result;e&&e.close(),r(n.error)},n.onblocked=function(){console.warn('dropInstance blocked for database "'+e.name+'" until all open connections are closed')},n.onsuccess=function(){var e=n.result;e&&e.close(),t(e)}})).then((function(e){r.db=e;for(var t=0;t<n.length;t++){w(n[t]._dbInfo)}})).catch((function(t){throw(v(e,t)||s.resolve()).catch((function(){})),t}))}))}else r=s.reject("Invalid arguments");return a(r,t),r}};var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B=/^~~local_forage_type~([^~]+)~/,x="__lfsc__:",N="arbf",R="blob",_="si08",U="ui08",D="uic8",W="si16",L="si32",z="ur16",F="ui32",K="fl32",j="fl64",H=Object.prototype.toString;function G(e){var t,r,n,i,o,s=.75*e.length,a=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),l=new Uint8Array(u);for(t=0;t<a;t+=4)r=k.indexOf(e[t]),n=k.indexOf(e[t+1]),i=k.indexOf(e[t+2]),o=k.indexOf(e[t+3]),l[c++]=r<<2|n>>4,l[c++]=(15&n)<<4|i>>2,l[c++]=(3&i)<<6|63&o;return u}function V(e){var t,r=new Uint8Array(e),n="";for(t=0;t<r.length;t+=3)n+=k[r[t]>>2],n+=k[(3&r[t])<<4|r[t+1]>>4],n+=k[(15&r[t+1])<<2|r[t+2]>>6],n+=k[63&r[t+2]];return r.length%3==2?n=n.substring(0,n.length-1)+"=":r.length%3==1&&(n=n.substring(0,n.length-2)+"=="),n}var q={serialize:function(e,t){var r="";if(e&&(r=H.call(e)),e&&("[object ArrayBuffer]"===r||e.buffer&&"[object ArrayBuffer]"===H.call(e.buffer))){var n,i=x;e instanceof ArrayBuffer?(n=e,i+=N):(n=e.buffer,"[object Int8Array]"===r?i+=_:"[object Uint8Array]"===r?i+=U:"[object Uint8ClampedArray]"===r?i+=D:"[object Int16Array]"===r?i+=W:"[object Uint16Array]"===r?i+=z:"[object Int32Array]"===r?i+=L:"[object Uint32Array]"===r?i+=F:"[object Float32Array]"===r?i+=K:"[object Float64Array]"===r?i+=j:t(new Error("Failed to get type for BinaryArray"))),t(i+V(n))}else if("[object Blob]"===r){var o=new FileReader;o.onload=function(){var r="~~local_forage_type~"+e.type+"~"+V(this.result);t(x+R+r)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(r){console.error("Couldn't convert value into a JSON string: ",e),t(null,r)}},deserialize:function(e){if(e.substring(0,9)!==x)return JSON.parse(e);var t,r=e.substring(13),n=e.substring(9,13);if(n===R&&B.test(r)){var i=r.match(B);t=i[1],r=r.substring(i[0].length)}var s=G(r);switch(n){case N:return s;case R:return o([s],{type:t});case _:return new Int8Array(s);case U:return new Uint8Array(s);case D:return new Uint8ClampedArray(s);case W:return new Int16Array(s);case z:return new Uint16Array(s);case L:return new Int32Array(s);case F:return new Uint32Array(s);case K:return new Float32Array(s);case j:return new Float64Array(s);default:throw new Error("Unkown type: "+n)}},stringToBuffer:G,bufferToString:V};function J(e,t,r,n){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],r,n)}function Y(e,t,r,n,i,o){e.executeSql(r,n,i,(function(e,s){s.code===s.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,a){a.rows.length?o(e,s):J(e,t,(function(){e.executeSql(r,n,i,o)}),o)}),o):o(e,s)}),o)}function X(e,t,r,n){var i=this;e=u(e);var o=new s((function(o,s){i.ready().then((function(){void 0===t&&(t=null);var a=t,c=i._dbInfo;c.serializer.serialize(t,(function(t,u){u?s(u):c.db.transaction((function(r){Y(r,c,"INSERT OR REPLACE INTO "+c.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){o(a)}),(function(e,t){s(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(n>0)return void o(X.apply(i,[e,a,r,n-1]));s(t)}}))}))})).catch(s)}));return a(o,r),o}var Q={_driver:"webSQLStorage",_initStorage:function(e){var t=this,r={db:null};if(e)for(var n in e)r[n]="string"!=typeof e[n]?e[n].toString():e[n];var i=new s((function(e,n){try{r.db=openDatabase(r.name,String(r.version),r.description,r.size)}catch(e){return n(e)}r.db.transaction((function(i){J(i,r,(function(){t._dbInfo=r,e()}),(function(e,t){n(t)}))}),n)}));return r.serializer=q,i},_support:"function"==typeof openDatabase,iterate:function(e,t){var r=this,n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){Y(r,i,"SELECT * FROM "+i.storeName,[],(function(r,n){for(var o=n.rows,s=o.length,a=0;a<s;a++){var c=o.item(a),u=c.value;if(u&&(u=i.serializer.deserialize(u)),void 0!==(u=e(u,c.key,a+1)))return void t(u)}t()}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},getItem:function(e,t){var r=this;e=u(e);var n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){Y(r,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,r){var n=r.rows.length?r.rows.item(0).value:null;n&&(n=i.serializer.deserialize(n)),t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},setItem:function(e,t,r){return X.apply(this,[e,t,r,1])},removeItem:function(e,t){var r=this;e=u(e);var n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){Y(r,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},clear:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){Y(t,n,"DELETE FROM "+n.storeName,[],(function(){e()}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,e),r},length:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){Y(t,n,"SELECT COUNT(key) as c FROM "+n.storeName,[],(function(t,r){var n=r.rows.item(0).c;e(n)}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,e),r},key:function(e,t){var r=this,n=new s((function(t,n){r.ready().then((function(){var i=r._dbInfo;i.db.transaction((function(r){Y(r,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,r){var n=r.rows.length?r.rows.item(0).key:null;t(n)}),(function(e,t){n(t)}))}))})).catch(n)}));return a(n,t),n},keys:function(e){var t=this,r=new s((function(e,r){t.ready().then((function(){var n=t._dbInfo;n.db.transaction((function(t){Y(t,n,"SELECT key FROM "+n.storeName,[],(function(t,r){for(var n=[],i=0;i<r.rows.length;i++)n.push(r.rows.item(i).key);e(n)}),(function(e,t){r(t)}))}))})).catch(r)}));return a(r,e),r},dropInstance:function(e,t){t=l.apply(this,arguments);var r=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||r.name,e.storeName=e.storeName||r.storeName);var n,i=this;return a(n=e.name?new s((function(t){var n;n=e.name===r.name?i._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:n,storeNames:[e.storeName]}):t(function(e){return new s((function(t,r){e.transaction((function(n){n.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(r,n){for(var i=[],o=0;o<n.rows.length;o++)i.push(n.rows.item(o).name);t({db:e,storeNames:i})}),(function(e,t){r(t)}))}),(function(e){r(e)}))}))}(n))})).then((function(e){return new s((function(t,r){e.db.transaction((function(n){function i(e){return new s((function(t,r){n.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){r(t)}))}))}for(var o=[],a=0,c=e.storeNames.length;a<c;a++)o.push(i(e.storeNames[a]));s.all(o).then((function(){t()})).catch((function(e){r(e)}))}),(function(e){r(e)}))}))})):s.reject("Invalid arguments"),t),n}};function Z(e,t){var r=e.name+"/";return e.storeName!==t.storeName&&(r+=e.storeName+"/"),r}function $(){return!function(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch{return!0}}()||localStorage.length>0}var ee={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var r in e)t[r]=e[r];return t.keyPrefix=Z(e,this._defaultConfig),$()?(this._dbInfo=t,t.serializer=q,s.resolve()):s.reject()},_support:function(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function(e,t){var r=this,n=r.ready().then((function(){for(var t=r._dbInfo,n=t.keyPrefix,i=n.length,o=localStorage.length,s=1,a=0;a<o;a++){var c=localStorage.key(a);if(0===c.indexOf(n)){var u=localStorage.getItem(c);if(u&&(u=t.serializer.deserialize(u)),void 0!==(u=e(u,c.substring(i),s++)))return u}}}));return a(n,t),n},getItem:function(e,t){var r=this;e=u(e);var n=r.ready().then((function(){var t=r._dbInfo,n=localStorage.getItem(t.keyPrefix+e);return n&&(n=t.serializer.deserialize(n)),n}));return a(n,t),n},setItem:function(e,t,r){var n=this;e=u(e);var i=n.ready().then((function(){void 0===t&&(t=null);var r=t;return new s((function(i,o){var s=n._dbInfo;s.serializer.serialize(t,(function(t,n){if(n)o(n);else try{localStorage.setItem(s.keyPrefix+e,t),i(r)}catch(e){("QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&o(e),o(e)}}))}))}));return a(i,r),i},removeItem:function(e,t){var r=this;e=u(e);var n=r.ready().then((function(){var t=r._dbInfo;localStorage.removeItem(t.keyPrefix+e)}));return a(n,t),n},clear:function(e){var t=this,r=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,r=localStorage.length-1;r>=0;r--){var n=localStorage.key(r);0===n.indexOf(e)&&localStorage.removeItem(n)}}));return a(r,e),r},length:function(e){var t=this.keys().then((function(e){return e.length}));return a(t,e),t},key:function(e,t){var r=this,n=r.ready().then((function(){var t,n=r._dbInfo;try{t=localStorage.key(e)}catch{t=null}return t&&(t=t.substring(n.keyPrefix.length)),t}));return a(n,t),n},keys:function(e){var t=this,r=t.ready().then((function(){for(var e=t._dbInfo,r=localStorage.length,n=[],i=0;i<r;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&n.push(o.substring(e.keyPrefix.length))}return n}));return a(r,e),r},dropInstance:function(e,t){if(t=l.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var r=this.config();e.name=e.name||r.name,e.storeName=e.storeName||r.storeName}var n,i=this;return a(n=e.name?new s((function(t){e.storeName?t(Z(e,i._defaultConfig)):t(e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var r=localStorage.key(t);0===r.indexOf(e)&&localStorage.removeItem(r)}})):s.reject("Invalid arguments"),t),n}},te=function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)},re=function(e,t){for(var r=e.length,n=0;n<r;){if(te(e[n],t))return!0;n++}return!1},ne=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},ie={},oe={},se={INDEXEDDB:P,WEBSQL:Q,LOCALSTORAGE:ee},ae=[se.INDEXEDDB._driver,se.WEBSQL._driver,se.LOCALSTORAGE._driver],ce=["dropInstance"],ue=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(ce),le={description:"",driver:ae.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function de(e,t){e[t]=function(){var r=arguments;return e.ready().then((function(){return e[t].apply(e,r)}))}}function he(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var r in t)t.hasOwnProperty(r)&&(ne(t[r])?arguments[0][r]=t[r].slice():arguments[0][r]=t[r])}return arguments[0]}var fe=function(){function e(t){for(var r in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),se)if(se.hasOwnProperty(r)){var n=se[r],i=n._driver;this[r]=i,ie[i]||this.defineDriver(n)}this._defaultConfig=he({},le),this._config=he({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(typeof e>"u"?"undefined":n(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,r){var n=new s((function(t,r){try{var n=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void r(i);for(var o=ue.concat("_initStorage"),c=0,u=o.length;c<u;c++){var l=o[c];if((!re(ce,l)||e[l])&&"function"!=typeof e[l])return void r(i)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),r=s.reject(t);return a(r,arguments[arguments.length-1]),r}},r=0,n=ce.length;r<n;r++){var i=ce[r];e[i]||(e[i]=t(i))}}();var d=function(r){ie[n]&&console.info("Redefining LocalForage driver: "+n),ie[n]=e,oe[n]=r,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(d,r):d(!!e._support):d(!0)}catch(e){r(e)}}));return c(n,t,r),n},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,r){var n=ie[e]?s.resolve(ie[e]):s.reject(new Error("Driver not found."));return c(n,t,r),n},e.prototype.getSerializer=function(e){var t=s.resolve(q);return c(t,e),t},e.prototype.ready=function(e){var t=this,r=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return c(r,e,e),r},e.prototype.setDriver=function(e,t,r){var n=this;ne(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){n._config.driver=n.driver()}function a(e){return n._extend(e),o(),n._ready=n._initStorage(n._config),n._ready}var u=null!==this._driverSet?this._driverSet.catch((function(){return s.resolve()})):s.resolve();return this._driverSet=u.then((function(){var e=i[0];return n._dbInfo=null,n._ready=null,n.getDriver(e).then((function(e){n._driver=e._driver,o(),n._wrapLibraryMethodsWithReady(),n._initDriver=function(e){return function(){var t=0;return function r(){for(;t<e.length;){var i=e[t];return t++,n._dbInfo=null,n._ready=null,n.getDriver(i).then(a).catch(r)}o();var c=new Error("No available storage method found.");return n._driverSet=s.reject(c),n._driverSet}()}}(i)}))})).catch((function(){o();var e=new Error("No available storage method found.");return n._driverSet=s.reject(e),n._driverSet})),c(this._driverSet,t,r),this._driverSet},e.prototype.supports=function(e){return!!oe[e]},e.prototype._extend=function(e){he(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],r=0,n=e.length;r<n;r++){var i=e[r];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=ue.length;e<t;e++)de(this,ue[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),pe=new fe;t.exports=pe},{3:3}]},{},[4])(4)}))})),oO=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},r=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXReporter=e.OKXReportSide=e.OKXReportType=e.versionStr=void 0;var n=r(fOe()),i=Ks(),o=US(),s=Ao(),a=r(QU());e.versionStr="1.9.0";var c=["https://www.okx.com/dappstat/wallet-connect","https://www.okx.ac/dappstat/wallet-connect"],u="OKX_RP_UUID_CK",l={headers:{Accept:"*/*","Content-Type":"text/plain"},method:"POST"};e.OKXReportType={PAGE_IN:"page_in",PAGE_OUT:"page_out",CLICK:"click",LOG:"log"},e.OKXReportSide={DAPP:"dapp",WALLET:"wallet"};e.OKXReporter=class{constructor(){this.currentSide=e.OKXReportSide.DAPP,this.currentVersion=e.versionStr,this.storage=a.default.createInstance({name:"OKXReporter"}),this.recordList=new Array,this.currentUUID="fjdkakfjsadkfklasdkfsdjkljfklsdjklfioruer3239084dkskfsa"}configVersionAndSide(e,t,r){this.currentVersion=e+i.logVersion,this.currentSide=t,this.appName=r}get recordCacheKey(){return"OKX_RP_CK@"+this.appName}get reportPlatform(){return(0,s.isMobileUserAgent)()?(0,s.isIos)()?"iOS":"android":"pc"}beginReport(){return t(this,void 0,void 0,(function*(){this.startErrorCatching();let e=yield this.storage.getItem(this.recordCacheKey),t=yield this.storage.getItem(u);t?this.currentUUID=t:this.storage.setItem(u,this.currentUUID),e&&(this.recordList=e,(0,i.logDebug)("resume records from cache length: ",this.recordList.length),yield this.sendCachedRecords())}))}startErrorCatching(){(0,o.getWindow)()&&(0,i.logDebug)("begin capture console error")}cachedErrors(){return this.recordList}sendRecord(e){return t(this,void 0,void 0,(function*(){return new Promise(((r,o)=>t(this,void 0,void 0,(function*(){try{let s=JSON.stringify(e);(0,i.logDebug)("[REPORT] record: ",s);let a=yield((e,...r)=>t(void 0,[e,...r],void 0,(function*(e,t={},r=5e3){for(let i of e)try{let e=new AbortController,o=e.signal,s=(0,n.default)(i,Object.assign(Object.assign({},t),{signal:o})),a=new Promise(((t,n)=>setTimeout((()=>{e.abort(),n(new Error("Request timed out"))}),r))),c=yield Promise.race([s,a]);if(c.ok)return c;if(502==c.status)return console.error("Fetch error status 502",i),c}catch(e){console.error(`Fetch error for ${i}:`,e)}throw console.error("'All fetch attempts failed.'"),new Error("All fetch attempts failed.")})))(c,Object.assign(Object.assign({},l),{body:s}));(0,i.logDebug)("[REPORT] get rsp:",a),a&&a.status&&200==a.status?(this.recordList=this.recordList.filter((t=>t.timestamp!=e.timestamp||t.content!=e.content)),yield this.storage.setItem(this.recordCacheKey,this.recordList),r(!0)):o(!1)}catch(e){(0,i.logDebug)("send record error:",e),r(!0)}}))))}))}sendRecordContent(e,r,n){return t(this,arguments,void 0,(function*(e,t,r,n=void 0,i=void 0,s=void 0,a=void 0,c=void 0,u=void 0){var l,d,h,f;let p=null===(l=(0,o.getWindow)())||void 0===l?void 0:l.location.pathname,g=null===(d=(0,o.getWindow)())||void 0===d?void 0:d.location.origin;p&&g&&(g+=p);let y=null===(h=(0,o.getWindow)())||void 0===h?void 0:h.navigator.language,m=null===(f=(0,o.getWindow)())||void 0===f?void 0:f.navigator.userAgent,b=this.reportPlatform,w={uuid:this.currentUUID,version:this.currentVersion,content:e,action:r,side:this.currentSide,timestamp:(new Date).getTime(),url:g,lang:y,type:t,platform:b,"user-agent":m,reverved1:n,reverved2:i,reverved3:s,reverved4:a,reverved5:c,reverved6:u};yield this.markRecordItem(w),yield this.sendRecord(w)}))}sendCachedRecords(){return t(this,void 0,void 0,(function*(){return new Promise(((e,r)=>t(this,void 0,void 0,(function*(){let t=this.recordList.map((e=>this.sendRecord(e)));(0,i.logDebug)("[REPORT] submit & clean recorded caches begin @",(new Date).toUTCString()),Promise.allSettled(t).then((t=>{(0,i.logDebug)("[REPORT] submit & clean recorded caches ends @",(new Date).toUTCString());let n=[];t.forEach(((e,t)=>{"rejected"==e.status&&n.push(t)})),this.recordList=this.recordList.filter(((e,t)=>!n.includes(t))),this.storage.setItem(this.recordCacheKey,this.recordList).then((function(t){e()})).catch((function(e){r(e)}))}))}))))}))}markRecordItem(e){return t(this,void 0,void 0,(function*(){if(this.recordList.push(e),this.recordList.length>100){let e=this.recordList.length-100;this.recordList.splice(0,e)}return new Promise(((t,r)=>{this.storage.setItem(this.recordCacheKey,this.recordList).then((function(r){t(e)})).catch((function(e){r(e)}))}))}))}}})),i5e=W(((e,t)=>{t.exports={name:"@okxconnect/core",version:"1.9.0",description:"OKX Connect core",main:"./src/index.js",keywords:["OKXConnect","OKX Connect"],scripts:{build:"npx tsc",local:"yarn install && npx tsc",remove:"rm -rf ./src  && rm -rf ./node_modules"},author:"OKX Wallet",license:"MIT",dependencies:{"@stablelib/ed25519":"^1.0.2","@stablelib/random":"^1.0.1","@stablelib/sha256":"1.0.1",bs58:"^5.0.0","core-js":"2.6.12","cross-fetch":"^4.0.0","crypto-js":"^4.2.0",eventemitter3:"^5.0.1",isutf8:"^4.0.0",localforage:"^1.10.0",multiformats:"9.4.2",process:"^0.11.10",tweetnacl:"^1.0.3","tweetnacl-util":"^0.15.1","ua-parser-js":"^1.0.35",uint8arrays:"3.1.0","@wallet-standard/core":"^1.1.0"},devDependencies:{"@types/crypto-js":"^4.2.2","@types/ua-parser-js":"^0.7.36",assert:"^2.1.0",eslint:"^9.7.0",events:"^3.3.0",jest:"^29.7.0","ts-loader":"^9.5.1",typescript:"^5.5.2"}}})),Ks=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.logVersion=void 0,e.getDefaultReporter=function(){return o},e.logDebug=function(...e){if(typeof console<"u")try{(r||window?.okxLogDebug)&&console.log(`[OKX_CONNECT_SDK1] ${s} `,...e)}catch{}},e.logError=function(...e){if(typeof console<"u")try{if((r||window?.okxLogDebug)&&console.error(`[OKX_CONNECT_SDK1] ${s} `,...e),n||!r){let t="";t+=[...e].reduce(((e,t)=>{"string"==typeof t?","+t:"object"==typeof t&&JSON.stringify(t)})),o.sendRecordContent(t,i.OKXReportType.LOG,"")}}catch{}},e.logWarning=function(...e){if(typeof console<"u")try{(r||window?.okxLogDebug)&&console.warn(`[OKX_CONNECT_SDK1] ${s} `,...e)}catch{}},e.reportEvent=function(e,r,n){return t(this,arguments,void 0,(function*(e,t,r,n=void 0,i=void 0,s=void 0,a=void 0,c=void 0,u=void 0){try{yield o.sendRecordContent(r,e,t,n,i,s,a,c,u)}catch{}}))},e.reportLog=function(e){return t(this,arguments,void 0,(function*(e,t="default"){}))};var r=!1,n=!1,i=oO(),o=new i.OKXReporter;var s=i5e().version;e.logVersion=s})),bv=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.safeJsonParse=function(e){if("string"!=typeof e)throw(0,t.logDebug)(e),new Error("Cannot safe json parse value of type "+typeof e);try{return n(e)}catch(t){return console.error("safeJsonParse error:",t),e}},e.safeJsonStringify=function(e){return"string"==typeof e?e:r(e)||""};var t=Ks(),r=e=>JSON.stringify(e,((e,t)=>"bigint"==typeof t?t.toString()+"n":t)),n=e=>{let t=e.replace(/:(\b\d{17,}|\b(?:[9](?:[1-9]07199254740991|0[1-9]7199254740991|00[8-9]199254740991|007[2-9]99254740991|007199[3-9]54740991|0071992[6-9]4740991|00719925[5-9]740991|007199254[8-9]40991|0071992547[5-9]0991|00719925474[1-9]991|00719925474099[2-9])))(?=[,\}\]]|$)/g,((e,t)=>`:"${t}n"`));try{return JSON.parse(t,((e,t)=>"string"==typeof t&&t.match(/^\d+n$/)?BigInt(t.substring(0,t.length-1)):t))}catch{return JSON.parse(e)}}})),H$=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.okxfromString=function(e,t="utf8"){let n=a[t];if((0,r.logDebug)("okxfromstring ====> "),!n)throw new Error(`Unsupported encoding "${t}"`);return n.decoder.decode(`${n.prefix}${e}`)},e.okxtoString=function(e,t="utf8"){let n=a[t];if((0,r.logDebug)("okxtoString ====> "),!n)throw new Error(`Unsupported encoding "${t}"`);return n.encoder.encode(e).substring(1)},e.alloc=function(e=0){return new Uint8Array(e)},e.allocUnsafe=n;var t=(o$(),tN(VIe)),r=Ks();function n(e=0){return new Uint8Array(e)}function i(e,t,r,n){return{name:e,prefix:t,encoder:{name:e,prefix:t,encode:r},decoder:{decode:n}}}var o=i("utf8","u",(e=>"u"+new TextDecoder("utf8").decode(e)),(e=>(new TextEncoder).encode(e.substring(1)))),s=i("ascii","a",(e=>{let t="a";for(let r=0;r<e.length;r++){let n=e[r];n&&String.fromCharCode(n)&&(t+=String.fromCharCode(n))}return t}),(e=>{let t=n((e=e.substring(1)).length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t})),a=Object.assign({utf8:o,"utf-8":o,hex:t.bases.base16,latin1:s,ascii:s,binary:s},t.bases)})),ti=W(((e,t)=>{var r,n;m(),r=e,n=function(){var e=e||function(e){var t;if(typeof window<"u"&&window.crypto&&(t=window.crypto),typeof self<"u"&&self.crypto&&(t=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(t=globalThis.crypto),!t&&typeof window<"u"&&window.msCrypto&&(t=window.msCrypto),!t&&typeof global<"u"&&global.crypto&&(t=global.crypto),!t&&"function"==typeof r0)try{t=II()}catch{}var r=function(){if(t){if("function"==typeof t.getRandomValues)try{return t.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof t.randomBytes)try{return t.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),i={},o=i.lib={},s=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),(!t.hasOwnProperty("init")||this.init===t.init)&&(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=o.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var s=r[o>>>2]>>>24-o%4*8&255;t[n+o>>>2]|=s<<24-(n+o)%4*8}else for(var a=0;a<i;a+=4)t[n+a>>>2]=r[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(r());return new a.init(t,e)}}),c=i.enc={},u=c.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new a.init(r,t/2)}},l=c.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new a.init(r,t)}},d=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},h=o.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,o=n.sigBytes,s=this.blockSize,c=o/(4*s),u=(c=t?e.ceil(c):e.max((0|c)-this._minBufferSize,0))*s,l=e.min(4*u,o);if(u){for(var d=0;d<u;d+=s)this._doProcessBlock(i,d);r=i.splice(0,u),n.sigBytes-=l}return new a.init(r,l)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(o.Hasher=h.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new f.HMAC.init(e,r).finalize(t)}}}),i.algo={});return i}(Math);return e},"object"==typeof e?t.exports=e=n():"function"==typeof define&&define.amd?define([],n):r.CryptoJS=n()})),aO=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib,n=r.Base,i=r.WordArray,(o=t.x64={}).Word=n.extend({init:function(e,t){this.high=e,this.low=t}}),o.WordArray=n.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var o=e[n];r.push(o.high),r.push(o.low)}return i.create(r,this.sigBytes)},clone:function(){for(var e=n.clone.call(this),t=e.words=this.words.slice(0),r=t.length,i=0;i<r;i++)t[i]=t[i].clone();return e}}),e;var t,r,n,i,o},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),y5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,n=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||typeof Uint8ClampedArray<"u"&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],i=0;i<t;i++)n[i>>>2]|=e[i]<<24-i%4*8;r.call(this,n,t)}else r.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),b5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib.WordArray,n=t.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i+=2){var o=t[i>>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i<t;i++)n[i>>>1]|=e.charCodeAt(i)<<16-i%2*16;return r.create(n,2*t)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var s=i(t[o>>>2]>>>16-o%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o<t;o++)n[o>>>1]|=i(e.charCodeAt(o)<<16-o%2*16);return r.create(n,2*t)}}}(),e.enc.Utf16},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),xv=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib.WordArray,t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var s=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a<r;a++)i.push(n.charAt(s>>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return function(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2|n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=a<<24-o%4*8,o++}return r.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.enc.Base64;var t,r},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),x5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib.WordArray,t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var o=[],s=0;s<n;s+=3)for(var a=(r[s>>>2]>>>24-s%4*8&255)<<16|(r[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|r[s+2>>>2]>>>24-(s+2)%4*8&255,c=0;c<4&&s+.75*c<n;c++)o.push(i.charAt(a>>>6*(3-c)&63));var u=i.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(e,t){void 0===t&&(t=!0);var n=e.length,i=t?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<i.length;s++)o[i.charCodeAt(s)]=s}var a=i.charAt(64);if(a){var c=e.indexOf(a);-1!==c&&(n=c)}return function(e,t,n){for(var i=[],o=0,s=0;s<t;s++)if(s%4){var a=n[e.charCodeAt(s-1)]<<s%4*2|n[e.charCodeAt(s)]>>>6-s%4*2;i[o>>>2]|=a<<24-o%4*8,o++}return r.create(i,o)}(e,n,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},e.enc.Base64url;var t,r},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),Av=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.algo,a=[];!function(){for(var e=0;e<64;e++)a[e]=4294967296*t.abs(t.sin(e+1))|0}();var c=s.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,s=e[t+0],c=e[t+1],f=e[t+2],p=e[t+3],g=e[t+4],y=e[t+5],m=e[t+6],b=e[t+7],w=e[t+8],v=e[t+9],A=e[t+10],E=e[t+11],T=e[t+12],C=e[t+13],S=e[t+14],I=e[t+15],O=o[0],M=o[1],P=o[2],k=o[3];O=u(O,M,P,k,s,7,a[0]),k=u(k,O,M,P,c,12,a[1]),P=u(P,k,O,M,f,17,a[2]),M=u(M,P,k,O,p,22,a[3]),O=u(O,M,P,k,g,7,a[4]),k=u(k,O,M,P,y,12,a[5]),P=u(P,k,O,M,m,17,a[6]),M=u(M,P,k,O,b,22,a[7]),O=u(O,M,P,k,w,7,a[8]),k=u(k,O,M,P,v,12,a[9]),P=u(P,k,O,M,A,17,a[10]),M=u(M,P,k,O,E,22,a[11]),O=u(O,M,P,k,T,7,a[12]),k=u(k,O,M,P,C,12,a[13]),P=u(P,k,O,M,S,17,a[14]),O=l(O,M=u(M,P,k,O,I,22,a[15]),P,k,c,5,a[16]),k=l(k,O,M,P,m,9,a[17]),P=l(P,k,O,M,E,14,a[18]),M=l(M,P,k,O,s,20,a[19]),O=l(O,M,P,k,y,5,a[20]),k=l(k,O,M,P,A,9,a[21]),P=l(P,k,O,M,I,14,a[22]),M=l(M,P,k,O,g,20,a[23]),O=l(O,M,P,k,v,5,a[24]),k=l(k,O,M,P,S,9,a[25]),P=l(P,k,O,M,p,14,a[26]),M=l(M,P,k,O,w,20,a[27]),O=l(O,M,P,k,C,5,a[28]),k=l(k,O,M,P,f,9,a[29]),P=l(P,k,O,M,b,14,a[30]),O=d(O,M=l(M,P,k,O,T,20,a[31]),P,k,y,4,a[32]),k=d(k,O,M,P,w,11,a[33]),P=d(P,k,O,M,E,16,a[34]),M=d(M,P,k,O,S,23,a[35]),O=d(O,M,P,k,c,4,a[36]),k=d(k,O,M,P,g,11,a[37]),P=d(P,k,O,M,b,16,a[38]),M=d(M,P,k,O,A,23,a[39]),O=d(O,M,P,k,C,4,a[40]),k=d(k,O,M,P,s,11,a[41]),P=d(P,k,O,M,p,16,a[42]),M=d(M,P,k,O,m,23,a[43]),O=d(O,M,P,k,v,4,a[44]),k=d(k,O,M,P,T,11,a[45]),P=d(P,k,O,M,I,16,a[46]),O=h(O,M=d(M,P,k,O,f,23,a[47]),P,k,s,6,a[48]),k=h(k,O,M,P,b,10,a[49]),P=h(P,k,O,M,S,15,a[50]),M=h(M,P,k,O,y,21,a[51]),O=h(O,M,P,k,T,6,a[52]),k=h(k,O,M,P,p,10,a[53]),P=h(P,k,O,M,A,15,a[54]),M=h(M,P,k,O,c,21,a[55]),O=h(O,M,P,k,w,6,a[56]),k=h(k,O,M,P,I,10,a[57]),P=h(P,k,O,M,m,15,a[58]),M=h(M,P,k,O,C,21,a[59]),O=h(O,M,P,k,g,6,a[60]),k=h(k,O,M,P,E,10,a[61]),P=h(P,k,O,M,f,15,a[62]),M=h(M,P,k,O,v,21,a[63]),o[0]=o[0]+O|0,o[1]=o[1]+M|0,o[2]=o[2]+P|0,o[3]=o[3]+k|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;r[i>>>5]|=128<<24-i%32;var o=t.floor(n/4294967296),s=n;r[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),r[14+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,i,o,s){var a=e+(t&r|~t&n)+i+s;return(a<<o|a>>>32-o)+t}function l(e,t,r,n,i,o,s){var a=e+(t&n|r&~n)+i+s;return(a<<o|a>>>32-o)+t}function d(e,t,r,n,i,o,s){var a=e+(t^r^n)+i+s;return(a<<o|a>>>32-o)+t}function h(e,t,r,n,i,o,s){var a=e+(r^(t|~n))+i+s;return(a<<o|a>>>32-o)+t}r.MD5=o._createHelper(c),r.HmacMD5=o._createHmacHelper(c)}(Math),e.MD5},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),q$=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib,n=r.WordArray,i=r.Hasher,o=t.algo,s=[],a=o.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],c=r[4],u=0;u<80;u++){if(u<16)s[u]=0|e[t+u];else{var l=s[u-3]^s[u-8]^s[u-14]^s[u-16];s[u]=l<<1|l>>>31}var d=(n<<5|n>>>27)+c+s[u];d+=u<20?1518500249+(i&o|~i&a):u<40?1859775393+(i^o^a):u<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,c=a,a=o,o=i<<30|i>>>2,i=n,n=d}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA1=i._createHelper(a),t.HmacSHA1=i._createHmacHelper(a),e.SHA1;var t,r,n,i,o,s,a},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),l9=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(a[i]=r(t.pow(n,.5))),c[i]=r(t.pow(n,1/3)),i++),n++}();var u=[],l=s.SHA256=o.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],l=r[5],d=r[6],h=r[7],f=0;f<64;f++){if(f<16)u[f]=0|e[t+f];else{var p=u[f-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=u[f-2],m=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;u[f]=g+u[f-7]+m+u[f-16]}var b=n&i^n&o^i&o,w=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),v=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&d)+c[f]+u[f];h=d,d=l,l=a,a=s+v|0,s=o,o=i,i=n,n=v+(w+b)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+d|0,r[7]=r[7]+h|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=o._createHelper(l),r.HmacSHA256=o._createHmacHelper(l)}(Math),e.SHA256},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),C5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib.WordArray,n=t.algo,i=n.SHA256,o=n.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}}),t.SHA224=i._createHelper(o),t.HmacSHA224=i._createHmacHelper(o),e.SHA224;var t,r,n,i,o},"object"==typeof e?t.exports=e=n(ti(),l9()):"function"==typeof define&&define.amd?define(["./core","./sha256"],n):n(r.CryptoJS)})),j$=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib.Hasher,n=t.x64,i=n.Word,o=n.WordArray,s=t.algo;function a(){return i.create.apply(i,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=a()}();var l=s.SHA512=r.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],s=r[3],a=r[4],l=r[5],d=r[6],h=r[7],f=n.high,p=n.low,g=i.high,y=i.low,m=o.high,b=o.low,w=s.high,v=s.low,A=a.high,E=a.low,T=l.high,C=l.low,S=d.high,I=d.low,O=h.high,M=h.low,P=f,k=p,B=g,x=y,N=m,R=b,_=w,U=v,D=A,W=E,L=T,z=C,F=S,K=I,j=O,H=M,G=0;G<80;G++){var V,q,J=u[G];if(G<16)q=J.high=0|e[t+2*G],V=J.low=0|e[t+2*G+1];else{var Y=u[G-15],X=Y.high,Q=Y.low,Z=(X>>>1|Q<<31)^(X>>>8|Q<<24)^X>>>7,$=(Q>>>1|X<<31)^(Q>>>8|X<<24)^(Q>>>7|X<<25),ee=u[G-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),oe=u[G-7],se=oe.high,ae=oe.low,ce=u[G-16],ue=ce.high,le=ce.low;q=(q=(q=Z+se+((V=$+ae)>>>0<$>>>0?1:0))+ne+((V+=ie)>>>0<ie>>>0?1:0))+ue+((V+=le)>>>0<le>>>0?1:0),J.high=q,J.low=V}var de,he=D&L^~D&F,fe=W&z^~W&K,pe=P&B^P&N^B&N,ge=k&x^k&R^x&R,ye=(P>>>28|k<<4)^(P<<30|k>>>2)^(P<<25|k>>>7),me=(k>>>28|P<<4)^(k<<30|P>>>2)^(k<<25|P>>>7),be=(D>>>14|W<<18)^(D>>>18|W<<14)^(D<<23|W>>>9),we=(W>>>14|D<<18)^(W>>>18|D<<14)^(W<<23|D>>>9),ve=c[G],Ae=ve.high,Ee=ve.low,Te=j+be+((de=H+we)>>>0<H>>>0?1:0),Ce=me+ge;j=F,H=K,F=L,K=z,L=D,z=W,D=_+(Te=(Te=(Te=Te+he+((de+=fe)>>>0<fe>>>0?1:0))+Ae+((de+=Ee)>>>0<Ee>>>0?1:0))+q+((de+=V)>>>0<V>>>0?1:0))+((W=U+de|0)>>>0<U>>>0?1:0)|0,_=N,U=R,N=B,R=x,B=P,x=k,P=Te+(ye+pe+(Ce>>>0<me>>>0?1:0))+((k=de+Ce|0)>>>0<de>>>0?1:0)|0}p=n.low=p+k,n.high=f+P+(p>>>0<k>>>0?1:0),y=i.low=y+x,i.high=g+B+(y>>>0<x>>>0?1:0),b=o.low=b+R,o.high=m+N+(b>>>0<R>>>0?1:0),v=s.low=v+U,s.high=w+_+(v>>>0<U>>>0?1:0),E=a.low=E+W,a.high=A+D+(E>>>0<W>>>0?1:0),C=l.low=C+z,l.high=T+L+(C>>>0<z>>>0?1:0),I=d.low=I+K,d.high=S+F+(I>>>0<K>>>0?1:0),M=h.low=M+H,h.high=O+j+(M>>>0<H>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(l),t.HmacSHA512=r._createHmacHelper(l)}(),e.SHA512},"object"==typeof e?t.exports=e=n(ti(),aO()):"function"==typeof define&&define.amd?define(["./core","./x64-core"],n):n(r.CryptoJS)})),P5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).x64,n=r.Word,i=r.WordArray,o=t.algo,s=o.SHA512,a=o.SHA384=s.extend({_doReset:function(){this._hash=new i.init([new n.init(3418070365,3238371032),new n.init(1654270250,914150663),new n.init(2438529370,812702999),new n.init(355462360,4144912697),new n.init(1731405415,4290775857),new n.init(2394180231,1750603025),new n.init(3675008525,1694076839),new n.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}}),t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a),e.SHA384;var t,r,n,i,o,s,a},"object"==typeof e?t.exports=e=n(ti(),aO(),j$()):"function"==typeof define&&define.amd?define(["./core","./x64-core","./sha512"],n):n(r.CryptoJS)})),M5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(t){var r=e,n=r.lib,i=n.WordArray,o=n.Hasher,s=r.x64.Word,a=r.algo,c=[],u=[],l=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var a=0,d=0,h=0;h<7;h++){if(1&i){var f=(1<<h)-1;f<32?d^=1<<f:a^=1<<f-32}128&i?i=i<<1^113:i<<=1}l[o]=s.create(a,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=s.create()}();var h=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,i=0;i<n;i++){var o=e[t+2*i],s=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(M=r[i]).high^=s,M.low^=o}for(var a=0;a<24;a++){for(var h=0;h<5;h++){for(var f=0,p=0,g=0;g<5;g++)f^=(M=r[h+5*g]).high,p^=M.low;var y=d[h];y.high=f,y.low=p}for(h=0;h<5;h++){var m=d[(h+4)%5],b=d[(h+1)%5],w=b.high,v=b.low;for(f=m.high^(w<<1|v>>>31),p=m.low^(v<<1|w>>>31),g=0;g<5;g++)(M=r[h+5*g]).high^=f,M.low^=p}for(var A=1;A<25;A++){var E=(M=r[A]).high,T=M.low,C=c[A];C<32?(f=E<<C|T>>>32-C,p=T<<C|E>>>32-C):(f=T<<C-32|E>>>64-C,p=E<<C-32|T>>>64-C);var S=d[u[A]];S.high=f,S.low=p}var I=d[0],O=r[0];for(I.high=O.high,I.low=O.low,h=0;h<5;h++)for(g=0;g<5;g++){var M=r[A=h+5*g],P=d[A],k=d[(h+1)%5+5*g],B=d[(h+2)%5+5*g];M.high=P.high^~k.high&B.high,M.low=P.low^~k.low&B.low}M=r[0];var x=l[a];M.high^=x.high,M.low^=x.low}},_doFinalize:function(){var e=this._data,r=e.words,n=(this._nDataBytes,8*e.sigBytes),o=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(t.ceil((n+1)/o)*o>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,u=[],l=0;l<c;l++){var d=s[l],h=d.high,f=d.low;h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),u.push(f),u.push(h)}return new i.init(u,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=o._createHelper(h),r.HmacSHA3=o._createHmacHelper(h)}(Math),e.SHA3},"object"==typeof e?t.exports=e=n(ti(),aO()):"function"==typeof define&&define.amd?define(["./core","./x64-core"],n):n(r.CryptoJS)})),_5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.Hasher,o=t.algo,s=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=n.create([0,1518500249,1859775393,2400959708,2840853838]),d=n.create([1352829926,1548603684,1836072691,2053994217,0]),h=o.RIPEMD160=i.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,h,w,v,A,E,T,C,S,I,O,M=this._hash.words,P=l.words,k=d.words,B=s.words,x=a.words,N=c.words,R=u.words;for(E=o=M[0],T=h=M[1],C=w=M[2],S=v=M[3],I=A=M[4],r=0;r<80;r+=1)O=o+e[t+B[r]]|0,O+=r<16?f(h,w,v)+P[0]:r<32?p(h,w,v)+P[1]:r<48?g(h,w,v)+P[2]:r<64?y(h,w,v)+P[3]:m(h,w,v)+P[4],O=(O=b(O|=0,N[r]))+A|0,o=A,A=v,v=b(w,10),w=h,h=O,O=E+e[t+x[r]]|0,O+=r<16?m(T,C,S)+k[0]:r<32?y(T,C,S)+k[1]:r<48?g(T,C,S)+k[2]:r<64?p(T,C,S)+k[3]:f(T,C,S)+k[4],O=(O=b(O|=0,R[r]))+I|0,E=I,I=S,S=b(C,10),C=T,T=O;O=M[1]+w+S|0,M[1]=M[2]+v+I|0,M[2]=M[3]+A+E|0,M[3]=M[4]+o+T|0,M[4]=M[0]+h+C|0,M[0]=O},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return i},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,r){return e^t^r}function p(e,t,r){return e&t|~e&r}function g(e,t,r){return(e|~t)^r}function y(e,t,r){return e&r|t&~r}function m(e,t,r){return e^(t|~r)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),e.RIPEMD160},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),m9=W(((e,t)=>{var r,n;m(),r=e,n=function(e){var t,r,n;r=(t=e).lib.Base,n=t.enc.Utf8,t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,c=s.words,u=0;u<r;u++)a[u]^=1549556828,c[u]^=909522486;o.sigBytes=s.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})},"object"==typeof e?t.exports=e=n(ti()):"function"==typeof define&&define.amd?define(["./core"],n):n(r.CryptoJS)})),D5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.SHA256,a=o.HMAC,c=o.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=a.create(r.hasher,e),o=i.create(),s=i.create([1]),c=o.words,u=s.words,l=r.keySize,d=r.iterations;c.length<l;){var h=n.update(t).finalize(s);n.reset();for(var f=h.words,p=f.length,g=h,y=1;y<d;y++){g=n.finalize(g),n.reset();for(var m=g.words,b=0;b<p;b++)f[b]^=m[b]}o.concat(h),u[0]++}return o.sigBytes=4*l,o}}),t.PBKDF2=function(e,t,r){return c.create(r).compute(e,t)},e.PBKDF2;var t,r,n,i,o,s,a,c},"object"==typeof e?t.exports=e=n(ti(),l9(),m9()):"function"==typeof define&&define.amd?define(["./core","./sha256","./hmac"],n):n(r.CryptoJS)})),tm=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib,n=r.Base,i=r.WordArray,o=t.algo,s=o.MD5,a=o.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:s,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,o=n.hasher.create(),s=i.create(),a=s.words,c=n.keySize,u=n.iterations;a.length<c;){r&&o.update(r),r=o.update(e).finalize(t),o.reset();for(var l=1;l<u;l++)r=o.finalize(r),o.reset();s.concat(r)}return s.sigBytes=4*c,s}}),t.EvpKDF=function(e,t,r){return a.create(r).compute(e,t)},e.EvpKDF;var t,r,n,i,o,s,a},"object"==typeof e?t.exports=e=n(ti(),q$(),m9()):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],n):n(r.CryptoJS)})),Ea=W(((e,t)=>{var r,n;m(),r=e,n=function(e){var t,r,n,i,o,s,a,c,u,l,d,h,f,p,g,y,m,b;e.lib.Cipher||(r=(t=e).lib,n=r.Base,i=r.WordArray,o=r.BufferedBlockAlgorithm,(s=t.enc).Utf8,a=s.Base64,c=t.algo.EvpKDF,u=r.Cipher=o.extend({cfg:n.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:y}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),r.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),l=t.mode={},d=r.BlockCipherMode=n.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=l.CBC=function(){var e=d.extend();function t(e,t,r){var n,i=this._iv;i?(n=i,this._iv=void 0):n=this._prevBlock;for(var o=0;o<r;o++)e[t+o]^=n[o]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i),n.encryptBlock(e,r),this._prevBlock=e.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,o=e.slice(r,r+i);n.decryptBlock(e,r),t.call(this,e,r,i),this._prevBlock=o}}),e}(),f=(t.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,o=n<<24|n<<16|n<<8|n,s=[],a=0;a<n;a+=4)s.push(o);var c=i.create(s,n);e.concat(c)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.BlockCipher=u.extend({cfg:u.cfg.extend({mode:h,padding:f}),reset:function(){var e;u.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),p=r.CipherParams=n.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?i.create([1398893684,1701076831]).concat(r).concat(t):t).toString(a)},parse:function(e){var t,r=a.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=i.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),p.create({ciphertext:r,salt:t})}},y=r.SerializableCipher=n.extend({cfg:n.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),o=i.finalize(t),s=i.cfg;return p.create({ciphertext:o,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),m=(t.kdf={}).OpenSSL={execute:function(e,t,r,n,o){if(n||(n=i.random(8)),o)var s=c.create({keySize:t+r,hasher:o}).compute(e,n);else s=c.create({keySize:t+r}).compute(e,n);var a=i.create(s.words.slice(t),4*r);return s.sigBytes=4*t,p.create({key:s,iv:a,salt:n})}},b=r.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:m}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var o=y.encrypt.call(this,e,t,i.key,n);return o.mixIn(i),o},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=i.iv,y.decrypt.call(this,e,t,i.key,n)}}))},"object"==typeof e?t.exports=e=n(ti(),tm()):"function"==typeof define&&define.amd?define(["./core","./evpkdf"],n):n(r.CryptoJS)})),W5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,n){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var s=0;s<r;s++)e[t+s]^=i[s]}return t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize;r.call(this,e,t,i,n),this._prevBlock=e.slice(t,t+i)}}),t.Decryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=e.slice(t,t+i);r.call(this,e,t,i,n),this._prevBlock=o}}),t}(),e.mode.CFB},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),K5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.mode.CTR=(t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var s=o.slice(0);r.encryptBlock(s,0),o[n-1]=o[n-1]+1|0;for(var a=0;a<n;a++)e[t+a]^=s[a]}}),t.Decryptor=r,t),e.mode.CTR;var t,r},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),q5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}return e}var n=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=r(e[0]))&&(e[1]=r(e[1]))}(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c<i;c++)e[t+c]^=a[c]}});return t.Decryptor=n,t}(),e.mode.CTRGladman},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),G5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.mode.OFB=(t=e.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(e,t){var r=this._cipher,n=r.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(o,0);for(var s=0;s<n;s++)e[t+s]^=o[s]}}),t.Decryptor=r,t),e.mode.OFB;var t,r},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),J5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),t.Decryptor=t.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),t),e.mode.ECB;var t},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),Y5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,n=4*t,i=n-r%n,o=r+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),Z5e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.pad.Iso10126={pad:function(t,r){var n=4*r,i=n-t.sigBytes%n;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),ePe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),rPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),iPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),sPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return r=(t=e).lib.CipherParams,n=t.enc.Hex,t.format.Hex={stringify:function(e){return e.ciphertext.toString(n)},parse:function(e){var t=n.parse(e);return r.create({ciphertext:t})}},e.format.Hex;var t,r,n},"object"==typeof e?t.exports=e=n(ti(),Ea()):"function"==typeof define&&define.amd?define(["./core","./cipher-core"],n):n(r.CryptoJS)})),cPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib.BlockCipher,n=t.algo,i=[],o=[],s=[],a=[],c=[],u=[],l=[],d=[],h=[],f=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,i[r]=p,o[p]=r;var g=e[r],y=e[g],m=e[y],b=257*e[p]^16843008*p;s[r]=b<<24|b>>>8,a[r]=b<<16|b>>>16,c[r]=b<<8|b>>>24,u[r]=b,b=16843009*m^65537*y^257*g^16843008*r,l[p]=b<<24|b>>>8,d[p]=b<<16|b>>>16,h[p]=b<<8|b>>>24,f[p]=b,r?(r=g^e[e[e[m^g]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),o=this._keySchedule=[],s=0;s<n;s++)s<r?o[s]=t[s]:(u=o[s-1],s%r?r>6&&s%r==4&&(u=i[u>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u]):(u=i[(u=u<<8|u>>>24)>>>24]<<24|i[u>>>16&255]<<16|i[u>>>8&255]<<8|i[255&u],u^=p[s/r|0]<<24),o[s]=o[s-r]^u);for(var a=this._invKeySchedule=[],c=0;c<n;c++){if(s=n-c,c%4)var u=o[s];else u=o[s-4];a[c]=c<4||s<=4?u:l[i[u>>>24]]^d[i[u>>>16&255]]^h[i[u>>>8&255]]^f[i[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,u,i)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,d,h,f,o),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,o,s,a){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],d=e[t+2]^r[2],h=e[t+3]^r[3],f=4,p=1;p<c;p++){var g=n[u>>>24]^i[l>>>16&255]^o[d>>>8&255]^s[255&h]^r[f++],y=n[l>>>24]^i[d>>>16&255]^o[h>>>8&255]^s[255&u]^r[f++],m=n[d>>>24]^i[h>>>16&255]^o[u>>>8&255]^s[255&l]^r[f++],b=n[h>>>24]^i[u>>>16&255]^o[l>>>8&255]^s[255&d]^r[f++];u=g,l=y,d=m,h=b}g=(a[u>>>24]<<24|a[l>>>16&255]<<16|a[d>>>8&255]<<8|a[255&h])^r[f++],y=(a[l>>>24]<<24|a[d>>>16&255]<<16|a[h>>>8&255]<<8|a[255&u])^r[f++],m=(a[d>>>24]<<24|a[h>>>16&255]<<16|a[u>>>8&255]<<8|a[255&l])^r[f++],b=(a[h>>>24]<<24|a[u>>>16&255]<<16|a[l>>>8&255]<<8|a[255&d])^r[f++],e[t]=g,e[t+1]=y,e[t+2]=m,e[t+3]=b},keySize:8});t.AES=r._createHelper(g)}(),e.AES},"object"==typeof e?t.exports=e=n(ti(),xv(),Av(),tm(),Ea()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],n):n(r.CryptoJS)})),lPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib,n=r.WordArray,i=r.BlockCipher,o=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=s[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var u=i[o]=[],l=c[o];for(r=0;r<24;r++)u[r/6|0]|=t[(a[r]-1+l)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(a[r+24]-1+l)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var d=this._invSubKeys=[];for(r=0;r<16;r++)d[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),f.call(this,2,858993459),f.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],o=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=u[c][((s^i[c])&l[c])>>>0];this._lBlock=s,this._rBlock=o^a}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),f.call(this,8,16711935),f.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<<e}function f(e,t){var r=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<<e}t.DES=i._createHelper(d);var p=o.TripleDES=i.extend({_doReset:function(){var e=this._key.words;if(2!==e.length&&4!==e.length&&e.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=d.createEncryptor(n.create(t)),this._des2=d.createEncryptor(n.create(r)),this._des3=d.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=i._createHelper(p)}(),e.TripleDES},"object"==typeof e?t.exports=e=n(ti(),xv(),Av(),tm(),Ea()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],n):n(r.CryptoJS)})),dPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=n.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var o=0;i<256;i++){var s=i%r,a=t[s>>>2]>>>24-s%4*8&255;o=(o+n[i]+a)%256;var c=n[i];n[i]=n[o],n[o]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[r],e[r]=o,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}t.RC4=r._createHelper(i);var s=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});t.RC4Drop=r._createHelper(s)}(),e.RC4},"object"==typeof e?t.exports=e=n(ti(),xv(),Av(),tm(),Ea()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],n):n(r.CryptoJS)})),pPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],o=[],s=[],a=n.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=u>>>16|4294901760&l,h=l<<16|65535&u;for(i[0]^=u,i[1]^=d,i[2]^=l,i[3]^=h,i[4]^=u,i[5]^=d,i[6]^=l,i[7]^=h,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(a)}(),e.Rabbit},"object"==typeof e?t.exports=e=n(ti(),xv(),Av(),tm(),Ea()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],n):n(r.CryptoJS)})),yPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib.StreamCipher,n=t.algo,i=[],o=[],s=[],a=n.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)c.call(this);for(i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var o=t.words,s=o[0],a=o[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),d=u>>>16|4294901760&l,h=l<<16|65535&u;for(n[0]^=u,n[1]^=d,n[2]^=l,n[3]^=h,n[4]^=u,n[5]^=d,n[6]^=l,n[7]^=h,i=0;i<4;i++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)o[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<o[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<o[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<o[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<o[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<o[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<o[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<o[6]>>>0?1:0)|0,this._b=t[7]>>>0<o[7]>>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,a=n>>>16,c=((i*i>>>17)+i*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(a)}(),e.RabbitLegacy},"object"==typeof e?t.exports=e=n(ti(),xv(),Av(),tm(),Ea()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],n):n(r.CryptoJS)})),bPe=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return function(){var t=e,r=t.lib.BlockCipher,n=t.algo;let i=16,o=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],s=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var a={pbox:[],sbox:[]};function c(e,t){let r=t>>24&255,n=t>>16&255,i=t>>8&255,o=255&t,s=e.sbox[0][r]+e.sbox[1][n];return s^=e.sbox[2][i],s+=e.sbox[3][o],s}function u(e,t,r){let n,o=t,s=r;for(let t=0;t<i;++t)o^=e.pbox[t],s=c(e,o)^s,n=o,o=s,s=n;return n=o,o=s,s=n,s^=e.pbox[i],o^=e.pbox[17],{left:o,right:s}}var l=n.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4;!function(e,t,r){for(let t=0;t<4;t++){e.sbox[t]=[];for(let r=0;r<256;r++)e.sbox[t][r]=s[t][r]}let n=0;for(let i=0;i<18;i++)e.pbox[i]=o[i]^t[n],n++,n>=r&&(n=0);let i=0,a=0,c=0;for(let t=0;t<18;t+=2)c=u(e,i,a),i=c.left,a=c.right,e.pbox[t]=i,e.pbox[t+1]=a;for(let t=0;t<4;t++)for(let r=0;r<256;r+=2)c=u(e,i,a),i=c.left,a=c.right,e.sbox[t][r]=i,e.sbox[t][r+1]=a}(a,t,r)}},encryptBlock:function(e,t){var r=u(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},decryptBlock:function(e,t){var r=function(e,t,r){let n,i=t,o=r;for(let t=17;t>1;--t)i^=e.pbox[t],o=c(e,i)^o,n=i,i=o,o=n;return n=i,i=o,o=n,o^=e.pbox[1],i^=e.pbox[0],{left:i,right:o}}(a,e[t],e[t+1]);e[t]=r.left,e[t+1]=r.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=r._createHelper(l)}(),e.Blowfish},"object"==typeof e?t.exports=e=n(ti(),xv(),Av(),tm(),Ea()):"function"==typeof define&&define.amd?define(["./core","./enc-base64","./md5","./evpkdf","./cipher-core"],n):n(r.CryptoJS)})),G$=W(((e,t)=>{var r,n;m(),r=e,n=function(e){return e},"object"==typeof e?t.exports=e=n(ti(),aO(),y5e(),b5e(),xv(),x5e(),Av(),q$(),l9(),C5e(),j$(),P5e(),M5e(),_5e(),m9(),D5e(),tm(),Ea(),W5e(),K5e(),q5e(),G5e(),J5e(),Y5e(),Z5e(),ePe(),rPe(),iPe(),sPe(),cPe(),lPe(),dPe(),pPe(),yPe(),bPe()):"function"==typeof define&&define.amd?define(["./core","./x64-core","./lib-typedarrays","./enc-utf16","./enc-base64","./enc-base64url","./md5","./sha1","./sha256","./sha224","./sha512","./sha384","./sha3","./ripemd160","./hmac","./pbkdf2","./evpkdf","./cipher-core","./mode-cfb","./mode-ctr","./mode-ctr-gladman","./mode-ofb","./mode-ecb","./pad-ansix923","./pad-iso10126","./pad-iso97971","./pad-zeropadding","./pad-nopadding","./format-hex","./aes","./tripledes","./rc4","./rabbit","./rabbit-legacy","./blowfish"],n):r.CryptoJS=r.CryptoJS})),Zf=W((e=>{"use strict";m();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.chainIdToStandardChainIdMap=e.chainName2IdMap=e.isValidObject=e.RANDOM_LENGTH=e.isBrowser=e.resolveLocalStorage=e.hasLocalStorage=e.hasBuiltInWebSocket=e.resolveWebSocketImplementation=void 0,e.hexToByteArray=function(e){if(e.length%2!=0)throw new Error(`Cannot convert ${e} to bytesArray`);let t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2)t[r/2]=parseInt(e.slice(r,r+2),16);return t},e.getChainId=function(e){return e.includes(":")?e.split(":")[1]:e},e.toHexString=function(e){let t="";return e.forEach((e=>{t+=("0"+(255&e).toString(16)).slice(-2)})),t},e.concatUint8Arrays=function(e,t){let r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r},e.splitToUint8Arrays=function(e,t){if(t>=e.length)throw new Error("Index is out of buffer");let r=e.slice(0,t),n=e.slice(t);return[r,n]},e.base64encode=function(e,t){let r;return e instanceof Uint8Array?r=e:("string"!=typeof e&&(e=(0,s.safeJsonStringify)(e)),r=n.default.decodeUTF8(e)),function(e,t){let r=n.default.encodeBase64(e);return t?encodeURIComponent(r):r}(r,t)},e.base64decode=function(e,t){let r=function(e,t){return t&&(e=decodeURIComponent(e)),n.default.decodeBase64(e)}(e,t);return{toString:()=>n.default.encodeUTF8(r),toObject(){try{return(0,s.safeJsonParse)(n.default.encodeUTF8(r))}catch{return null}},toUint8Array:()=>r}},e.checkWSUrl=function(e){let t=e.match(new RegExp(/^\w+:/,"gi"));if(!t||!t.length)return!1;let r=t[0];return void 0!==r&&new RegExp("^wss?:").test(r)},e.hashKey=h,e.generateRandomBytes32=f,e.generateTopic=function(){let e=f();return(0,a.logDebug)(`generate topic called ${e}`),h((0,i.toString)(e,d))},e.generateGroupId=function(){let e=r.default.randomBytes(16);return(0,a.logDebug)(`generate groupid called ${e}`),h((0,i.toString)(e,d))},e.isInIOSLine=function(){return navigator.userAgent.includes("Safari Line/")&&p()},e.isInIOSLark=function(){return navigator.userAgent.includes("Lark/")&&p()},e.isInIOSChrome=function(){return navigator.userAgent.includes("CriOS/")&&p()},e.isInIOSWeChat=function(){return navigator.userAgent.includes("MicroMessenger/")&&p()},e.isIos=p,e.getLastSixMd5Hash=function(e){return u.default.MD5(e).toString().slice(-6)},e.toSafeBase64FromBase64=function(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.useShortLink=function(){return!0},e.replaceChainNameToChainId=function(t){return e.chainName2IdMap.forEach(((e,r)=>{t.includes(r)&&(t=t.replace(r,e))})),t},e.replaceChainIdToChainName=function(t){return e.chainName2IdMap.forEach(((e,r)=>{t.includes(e)&&(t=t.replace(e,r))})),t},e.getNamespaceKeyByChain=function(e){for(let[t,r]of Object.entries(l.NAMES_CHAINS))if(Object.values(r).includes(e))return t;return e},e.scopePollingDetectionStrategy=function(e){if(typeof window>"u"||typeof document>"u")return;let t=[];function r(){if(e())for(let e of t)e()}let n=setInterval(r,1e3);t.push((()=>clearInterval(n))),"loading"===document.readyState&&(document.addEventListener("DOMContentLoaded",r,{once:!0}),t.push((()=>document.removeEventListener("DOMContentLoaded",r)))),"complete"!==document.readyState&&(window.addEventListener("load",r,{once:!0}),t.push((()=>window.removeEventListener("load",r)))),r()};var r=t(oh()),n=t(AIe()),i=(tOe(),tN(eOe)),o=uOe(),s=bv(),a=Ks(),c=H$(),u=t(G$()),l=zi(),d="base16";e.resolveWebSocketImplementation=()=>typeof WebSocket<"u"?WebSocket:typeof global<"u"&&typeof global.WebSocket<"u"?global.WebSocket:typeof window<"u"&&typeof window.WebSocket<"u"?window.WebSocket:typeof self<"u"&&typeof self.WebSocket<"u"?self.WebSocket:WebSocket;e.hasBuiltInWebSocket=()=>typeof WebSocket<"u"||typeof global<"u"&&typeof global.WebSocket<"u"||typeof window<"u"&&typeof window.WebSocket<"u"||typeof self<"u"&&typeof self.WebSocket<"u";e.hasLocalStorage=()=>typeof global<"u"&&typeof global.localStorage<"u"||typeof window<"u"&&typeof window.localStorage<"u";e.resolveLocalStorage=()=>typeof global<"u"&&typeof global.localStorage<"u"?global.localStorage:typeof window<"u"&&typeof window.localStorage<"u"?window.localStorage:localStorage;function h(e,t=d){(0,a.logDebug)(`hash key called ${e}`);let r=(0,o.hash)((0,c.okxfromString)(e,t));return(0,i.toString)(r,t)}function f(){return r.default.randomBytes(e.RANDOM_LENGTH)}e.isBrowser=()=>typeof window<"u",e.RANDOM_LENGTH=32;function p(){let e=navigator.userAgent,t=navigator.maxTouchPoints||0,r=/iPad|iPhone|iPod/.test(e)&&!window.MSStream,n=e.includes("Mac")&&t>1;return(0,a.logDebug)(`utils isIos >>>isIOSDevice: ${r}    >> isIPadOS: ${n}`),r||n}e.isValidObject=e=>Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length,e.chainName2IdMap=new Map,e.chainName2IdMap.set("aptos:mainnet","aptos:637"),e.chainName2IdMap.set("movement:testnet","aptos:70000060"),e.chainName2IdMap.set("movement:mainnet","aptos:70000066"),e.chainName2IdMap.set("soon:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","svm:70000069"),e.chainName2IdMap.set("soon:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z","svm:70000067"),e.chainName2IdMap.set("eclipse:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","svm:70000068"),e.chainName2IdMap.set("sonic:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","svm:70000073"),e.chainIdToStandardChainIdMap=new Map,e.chainIdToStandardChainIdMap.set(l.SOLANA_CHAINS.MAINNET,l.SOLANA_CHAINS_STANDARD.MAINNET),e.chainIdToStandardChainIdMap.set(l.SOLANA_CHAINS.TESTNET,l.SOLANA_CHAINS_STANDARD.TESTNET)})),fO=W((e=>{"use strict";m();var t,r=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||(t=function(e){return(t=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var o=t(e),s=0;s<o.length;s++)"default"!==o[s]&&r(i,e,o[s]);return n(i,e),i}),o=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.Storage=void 0;var s=PT(),a=o(oh()),c=Zf(),u=Ao(),l=i(Ks()),d=Ao(),h=G$(),f=class e{constructor(e,t=void 0){let r=(0,c.resolveLocalStorage)();this.storeKey="",this.cipherIV="",this.subKey=e,l.logDebug("--------get current local storage --------"),l.logDebug(r),this.synchronizedCache()}checkAndUpgradeCache(t,r){if(t&&t.length>0&&r&&r.length>0){l.logDebug("--------get current local storage --------"),l.logDebug(localStorage);let n=localStorage.getItem(e.cacheKey+t);if(typeof n>"u"||null===n)return void l.logDebug("no pre cache content");l.logDebug(n),n?.length>0&&(l.logDebug("write in cache content: ",t,"->",r),localStorage.setItem(e.cacheKey+r,n),l.logDebug("clean in cache content: ",t),localStorage.removeItem(e.cacheKey+t))}else l.logDebug("no pre cache key:",t)}saveContent(e,t,r="-"){let n={id:r,timestamp:Date.now().toString(),content:e};this.saveItem(n,t)}saveItem(t,r){let n=e.cacheKey+this.subKey,i=(0,c.resolveLocalStorage)();l.logDebug(this.cache),l.logDebug(`get cache obj: ${this.cache}, ${r}, ${t}`),this.cache[r]=t;let o=(0,u.safeJsonStringify)(this.cache);l.logDebug(`STORAGE: ${r} @ ${this.cache}`),i.setItem(n,o)}getItem(e){return l.logDebug(`STORAGE >> getItem: ${e} @ ${this.cache}`),this.cache[e]}synchronizedCache(){let t=localStorage.getItem(e.cacheKey+this.subKey);if(typeof t>"u"||null===t)return l.logDebug("with no cache"),void(this.cache={});if(l.logDebug(t),t?.length>0){var r=(0,u.safeJsonParse)(t);this.cache=r}l.logDebug(`get cache obj: ${this.cache}`),(typeof this.cache>"u"||null==this.cache)&&(this.cache={})}getCachedPBKDF2InfoKey(){var e,t,r,n;if(this.storeKey.length>0&&(null===(e=this.cipherIV)||void 0===e?void 0:e.length)>0)return{pw:this.storeKey,iv:this.cipherIV};let i=null===(t=this.getItem(s.OKXCONNECTOR_STORAGER_CRYPTO_SALT))||void 0===t?void 0:t.content;i||(i=(0,c.toHexString)(a.default.randomBytes(24)),this.saveContent(i,s.OKXCONNECTOR_STORAGER_CRYPTO_SALT));let o=null===(r=this.getItem(s.OKXCONNECTOR_STORAGE_CRYPTO_PASSWORD))||void 0===r?void 0:r.content;o||(o=(0,c.toHexString)(a.default.randomBytes(32)),this.saveContent(o,s.OKXCONNECTOR_STORAGE_CRYPTO_PASSWORD));let u=null===(n=this.getItem(s.OKXCONNECTOR_STORAGE_CRYPTO_CIPHERIV))||void 0===n?void 0:n.content;if(!u){let e=a.default.randomBytes(16);u=(0,c.toHexString)(e),this.saveContent(u,s.OKXCONNECTOR_STORAGE_CRYPTO_CIPHERIV)}return this.cipherIV=u,this.storeKey=(0,h.PBKDF2)(o,i,{iterations:10}).toString(),{pw:this.storeKey,iv:this.cipherIV}}encryptStoreMsg(e,t){(0,d.logDebug)(`encryptStoreMsg  encryptStoreMsg start ${Date.now()}`);let r=this.getCachedPBKDF2InfoKey();(0,d.logDebug)(`encryptStoreMsg  encryptStoreMsg mid ${Date.now()}`);var n=h.AES.encrypt(e,r.pw).toString();this.saveContent(n,t),(0,d.logDebug)(`encryptStoreMsg  encryptStoreMsg end ${Date.now()}`)}getAndDecrypt(e){(0,d.logDebug)(`encryptStoreMsg  getAndDecrypt start ${Date.now()}`);let t=this.getItem(e);if(t&&t.content){let e=this.getCachedPBKDF2InfoKey();(0,d.logDebug)(`encryptStoreMsg  getAndDecrypt mid ${Date.now()}`);let r=h.AES.decrypt(t.content,e.pw).toString(h.enc.Utf8);return(0,d.logDebug)(`encryptStoreMsg  getAndDecrypt end ${Date.now()}`),r}return null}clearCache(t=void 0){if(void 0===t){let t=(0,c.resolveLocalStorage)();this.cache={};let r=e.cacheKey+this.subKey;t.setItem(r,"")}else{let r=e.cacheKey+this.subKey,n=(0,c.resolveLocalStorage)();l.logDebug(this.cache),this.cache[t]=null;let i=(0,u.safeJsonStringify)(this.cache);l.logDebug(`STORAGE: clean key ${t} @ ${this.cache}`),n.setItem(r,i)}}};e.Storage=f,f.cacheKey="OKXStorageKey"})),H9=W((e=>{"use strict";m();var t,r=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||(t=function(e){return(t=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var o=t(e),s=0;s<o.length;s++)"default"!==o[s]&&r(i,e,o[s]);return n(i,e),i}),o=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXWalletConnector=void 0;var s=OT(),a=PT(),c=fO(),u=Ao(),l=Zf(),d=Qf(),h=i(Ks()),f=zi(),p=oO(),g=(0,l.resolveWebSocketImplementation)();e.OKXWalletConnector=class{constructor(e){if(this.events=new d.EventEmitter,this.state=s.ConnectorState.InitState,this.selectedUrlIndex=0,this.retryCount=0,this.timeOutLimit=8e3,!(0,l.checkWSUrl)(e))throw new Error(`CONNECTOR: invalid url ${e}`);this.url=e,this.heartbeatTimer=null,this.connectionTimeoutTimer=null,this.connectURLStorage=new c.Storage(a.OKXCONNECTOR_CACHE_KEY+a.OKXCONNECTOR_CACHE_KEY)}get connecting(){return this.state==s.ConnectorState.Connecting}onPayload(e){if(!(typeof e.data>"u")){if(h.logDebug("get received data"),h.logDebug(e),"string"==typeof e.data&&"pong"===e.data)return void h.logDebug(`CONNECT: receive pong ${Date.now().toString()}`);this.events.emit("payload",e.data)}}onClose(e){var t;h.logDebug("socket get closed: ",null===(t=this.socket)||void 0===t?void 0:t.url,e.code),this.socket=void 0,this.events.emit("close",e)}onError(e,t){let r={id:e,msg:t.toString()};this.events.emit("payload",r)}onopen(e){e.onmessage=e=>this.onPayload(e),e.onclose=e=>this.onClose(e),this.socket=e,this.state=s.ConnectorState.Connected,this.events.emit("open")}emitError(e){this.events.emit("fail",e)}heartbeat(){return o(this,void 0,void 0,(function*(){if(this.heartbeatTimer&&clearTimeout(this.heartbeatTimer),this.state==s.ConnectorState.Connected||this.state==s.ConnectorState.OnError){if(this.socket){if(this.socket.readyState===WebSocket.OPEN)h.logDebug(`send ping heart beat: ${Date.now().toString()}, ${this.socket}`),this.socket.send("ping"),this.heartbeatTimer=setTimeout(this.heartbeat.bind(this),5e3);else if(h.logDebug("socket not ready"),this.state==s.ConnectorState.Connected||this.state==s.ConnectorState.OnError){h.logDebug("socket reconnect by heartbeat with state",this.state,this.socket.readyState);try{yield this.tryRegistOpen()}catch{h.logError("regist open failed"),this.heartbeatTimer=setTimeout(this.heartbeat.bind(this),5e3)}}}else if(h.logDebug("socket not exist"),this.state==s.ConnectorState.Connected||this.state==s.ConnectorState.OnError){h.logDebug("socket reconnect by heartbeat");try{yield this.tryRegistOpen()}catch{h.logError("regist open failed"),this.heartbeatTimer=setTimeout(this.heartbeat.bind(this),5e3)}}}else h.logDebug("heart beat close")}))}registOpen(e=this.url,t=!1){if(!(0,l.checkWSUrl)(e))throw new Error(`CONNECTOR: invalid url ${e}`);this.url=e,t||h.logDebug("Connection connect:",this.url,(new Date).toUTCString()),this.state=s.ConnectorState.Connecting;new URLSearchParams(e).get("origin");return new Promise(((t,r)=>{let n=new g(e,[]);h.logDebug("Connection connect Begin:",this.url,(new Date).toUTCString()),this.startTimeOutTimer(n),(0,l.hasBuiltInWebSocket)()?(h.logDebug("Add socket error handler"),n.onerror=()=>{r(new Error("socket error")),n.close()}):(h.logDebug("Add socket error handler"),n.on("error",(()=>{r(new Error("socket error")),n.close()}))),n.onopen=()=>{h.logDebug("socket opened"),this.resetTimeOutTimer(s.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.FINISHED),this.onopen(n),this.heartbeat(),t(n)}}))}checkMaxRetry(){return h.logDebug("current retry count:",this.retryCount,"of",s.OKXCONNECTOR_WS_URL_LIST.length),this.retryCount>3*s.OKXCONNECTOR_WS_URL_LIST.length}connectionTryNext(){return o(this,void 0,void 0,(function*(){if(!this.checkMaxRetry()){this.retryCount+=1;let e=this.getNextSelectUrl();return h.logDebug("Connection retry:",e,(new Date).toUTCString()),this.registOpen(e,!0)}h.logDebug("Max Connection retry ",this.retryCount,(new Date).toUTCString())}))}startTimeOutTimer(e){this.connectionTimeoutTimer&&this.resetTimeOutTimer(s.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.CANCELED),this.pendingSocket=e,this.connectionTimeoutTimer=setTimeout((()=>{this.pendingSocket&&this.resetTimeOutTimer(s.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.TIME_OUT)}),this.timeOutLimit)}resetTimeOutTimer(e){var t;if(e==s.OKXCONNECTOR_WS_URL_PENDING_CLOSE_CODE.TIME_OUT)throw clearTimeout(this.connectionTimeoutTimer),null===(t=this.pendingSocket)||void 0===t||t.close(),this.pendingSocket=void 0,h.reportEvent(p.OKXReportType.LOG,"timeout",this.retryCount.toString()),new Error("socket timeout");this.pendingSocket=void 0,clearTimeout(this.connectionTimeoutTimer)}cacheSuccessUrlSelect(){this.connectURLStorage.saveContent(this.selectedUrlIndex.toString(),a.OKXCONNECTOR_CACHE_KEY)}getNextSelectUrl(){return this.selectedUrlIndex+=1,this.selectedUrlIndex=this.selectedUrlIndex%s.OKXCONNECTOR_WS_URL_LIST.length,s.OKXCONNECTOR_WS_URL_LIST[this.selectedUrlIndex]}onVisibleChanged(){return o(this,void 0,void 0,(function*(){if("visible"===document.visibilityState&&(h.logDebug(`get changed ${this.state}, ${this.socket}`),this.state==s.ConnectorState.Connected&&typeof this.socket>"u")){h.logDebug("CONNECTION need reopen");try{yield this.tryRegistOpen()}catch{h.logError("regist open failed")}}else;}))}tryRegistOpen(){return o(this,arguments,void 0,(function*(e=this.url){if(this.connecting)return h.logDebug("tryRegistOpen => connecting state"),new Promise(((e,t)=>{this.events.once("fail",(e=>(h.logDebug("tryRegistOpen => connecting fail listener",e),t(e)))),this.events.once("open",(()=>typeof this.socket>"u"?t(new Error("Connect lost")):e(this.socket)))}));h.logDebug("tryRegistOpen => try registOpen until retry limit is hit");let t=!1;for(;!this.checkMaxRetry()&&!this.socket;)try{h.logDebug("tryRegistOpen => call registOpen, try count:",this.retryCount,t),yield this.registOpen(e,t)}catch(r){h.logDebug("tryRegistOpen => registOpen failed",r),this.retryCount+=1,e=this.getNextSelectUrl(),t=!0}if(h.logDebug("tryRegistOpen => exit while loop",this.retryCount,this.socket),!this.socket&&this.checkMaxRetry())throw h.logDebug("tryRegistOpen => failed to open a socket",this.retryCount,this.socket),this.retryCount=0,this.state=s.ConnectorState.OnError,this.emitError(new Error("tryRegistOpen failed")),new f.OKXConnectError(f.OKX_CONNECT_ERROR_CODES.CONNECTION_ERROR,"Failed to connect")}))}connect(){return o(this,void 0,void 0,(function*(){try{yield this.tryRegistOpen(),document.removeEventListener("visibilitychange",this.onVisibleChanged.bind(this)),document.addEventListener("visibilitychange",this.onVisibleChanged.bind(this))}catch(e){throw h.logDebug("connect => failed to connect",e),e}}))}disconnect(){return o(this,void 0,void 0,(function*(){return this.state=s.ConnectorState.Disconnected,new Promise(((e,t)=>{typeof this.socket>"u"?e():(this.socket.onclose=t=>{this.onClose(t),e()},this.socket.close(),this.heartbeatTimer&&clearTimeout(this.heartbeatTimer))}))}))}currentStatus(){return{state:this.state,url:this.url}}addListener(e,t,r,n,i){this.listenPayloadHandler&&this.events.removeListener("payload",this.listenPayloadHandler),this.listenPayloadHandler=s=>o(this,void 0,void 0,(function*(){var o;h.logDebug(`<<< get payload ${s}`);let a=(0,u.safeJsonParse)(s);if(a.params&&a.params.data){let s=null===(o=a.params.data)||void 0===o?void 0:o.message,c=!1;if(s&&i){let e=yield i(a.params.data);c=e.isSplitPackage&&!e.finalMessage,e.isSplitPackage&&(e.finalMessage&&e.finalMessage.length>0?(h.logDebug("CONNECT: update raw msg content"),s=e.finalMessage):(h.logDebug("CONNECT: skip raw msg content"),c=!0))}if(!c)try{let i=t(s);void 0===i?(h.logDebug("CONNECT: decrypt undefined"),n(e,"Decrypt undefined")):r(e,i)}catch(t){h.logDebug(`CONNECT: decrypt failed: ${t}`),n(e,t.message)}}})),this.events.on("payload",this.listenPayloadHandler),this.failHandler&&this.events.removeListener("fail",this.failHandler),this.failHandler=t=>{t?(h.logDebug(`CONNECT failed: ${t}`),n(e,t.message)):n(e,"Unkonow error")},this.events.on("fail",this.failHandler)}addPackageParse(e){this.payloadHandler&&this.events.removeListener("payload",this.payloadHandler),this.payloadHandler=t=>o(this,void 0,void 0,(function*(){h.logDebug(`CONNECTION @[${(new Date).toUTCString()}] <<<< received e:${t}`);let r=(0,u.safeJsonParse)(t);yield e(r)})),this.events.on("payload",this.payloadHandler)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}send(e,t){return o(this,void 0,void 0,(function*(){try{typeof this.socket>"u"&&(h.logDebug(`>>> send payload undefined ${t}`),yield e()),h.logDebug(`CONNECTION @[${(new Date).toUTCString()}]>>> send payload ${(0,u.safeJsonStringify)(t)}`),this.socket&&this.socket.send((0,u.safeJsonStringify)(t))}catch(e){this.onError(t.id,e)}}))}getMsgPayloadFromHistory(e){return o(this,void 0,void 0,(function*(){if(typeof e>"u")return;let t={params:{data:e}},r=(0,u.safeJsonStringify)(e);h.logDebug("get received data from history"),h.logDebug(r),r=(0,u.safeJsonStringify)(t),this.events.emit("payload",r)}))}onOpen(e){this.openHandler&&this.events.removeListener("open",this.openHandler),this.openHandler=()=>o(this,void 0,void 0,(function*(){h.logDebug(`CONNECTION @[${(new Date).toUTCString()}] >>> ws opened: `),yield e()})),this.events.on("open",this.openHandler),this.cacheSuccessUrlSelect()}}})),tee=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CONNECT_METHOD_RECV_DISCONNECT=e.CONNECT_METHOD_DISCONNECT=e.CONNECT_METHOD_BATCH_FETCHMSG=e.CONNECT_METHOD_FETCHMSG=e.CONNECT_METHOD_RECEIVE=e.CONNECT_METHOD_UNSUB=e.CONNECT_METHOD_SUB=e.CONNECT_METHOD_PUBLISH=e.CONNECT_METHOD_LOGIN=e.CONNECT_METHOD_PUSH=void 0,e.CONNECT_METHOD_PUSH="push",e.CONNECT_METHOD_LOGIN="login",e.CONNECT_METHOD_PUBLISH="publish",e.CONNECT_METHOD_SUB="subscribe",e.CONNECT_METHOD_UNSUB="unsubscribe",e.CONNECT_METHOD_RECEIVE="receive",e.CONNECT_METHOD_FETCHMSG="fetchMessages",e.CONNECT_METHOD_BATCH_FETCHMSG="batchFetchMessages",e.CONNECT_METHOD_DISCONNECT="disconnect",e.CONNECT_METHOD_RECV_DISCONNECT="receiveDisconnect"})),ree=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXCONNECTOR_JWT_TTL=e.OKXCONNECTOR_JWT_WALLET_SIDE=e.OKXCONNECTOR_JWT_SIDE=void 0,e.OKXCONNECTOR_JWT_SIDE="wallet",e.OKXCONNECTOR_JWT_WALLET_SIDE="dapp",e.OKXCONNECTOR_JWT_TTL=864e5})),iee=W((e=>{"use strict";m();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.SessionCrypto=void 0;var r=t(oh()),n=Zf();e.SessionCrypto=class{constructor(e=void 0){this.nonceLength=24,this.sessionKeyPair=e?this.createKeypairFromString(e):this.createKeypair()}createKeypair(){return r.default.box.keyPair()}createKeypairFromString(e){return{publicKey:(0,n.hexToByteArray)(e.publicKey),secretKey:(0,n.hexToByteArray)(e.secretKey)}}createNonce(){return r.default.randomBytes(this.nonceLength)}get keyPair(){return this.sessionKeyPair}encrypt(e,t){let i=(new TextEncoder).encode(e),o=this.createNonce(),s=r.default.box(i,o,(0,n.hexToByteArray)(t),this.keyPair.secretKey),a=(0,n.concatUint8Arrays)(o,s);var c=(0,n.toHexString)(a),u=(new TextEncoder).encode(c);return(0,n.base64encode)(u,!1)}encryptWallet(e,t){let i=(new TextEncoder).encode(e),o=this.createNonce(),s=r.default.box(i,o,(0,n.hexToByteArray)(t),this.keyPair.secretKey),a=(0,n.concatUint8Arrays)(o,s);return(0,n.base64encode)(a,!1)}decrypt(e,t){let i=(0,n.base64decode)(e,!0).toUint8Array(),[o,s]=(0,n.splitToUint8Arrays)(i,this.nonceLength),a=r.default.box.open(s,o,(0,n.hexToByteArray)(t),this.keyPair.secretKey);if(!a)throw new Error(`Decryption error: \n message: ${e.toString()} \n sender pubkey: ${t.toString()} \n keypair pubkey: ${(0,n.toHexString)(this.keyPair.publicKey)} \n keypair secretkey: ${(0,n.toHexString)(this.keyPair.secretKey)}`);return(new TextDecoder).decode(a)}decryptWallet(e,t){let i=(0,n.base64decode)(e,!0),o=(0,n.hexToByteArray)(i.toString()),[s,a]=(0,n.splitToUint8Arrays)(o,this.nonceLength),c=r.default.box.open(a,s,(0,n.hexToByteArray)(t),this.keyPair.secretKey);if(!c)throw new Error(`Decryption error: \n message: ${e.toString()} \n sender pubkey: ${t.toString()} \n keypair pubkey: ${(0,n.toHexString)(this.keyPair.publicKey)} \n keypair secretkey: ${(0,n.toHexString)(this.keyPair.secretKey)}`);return(new TextDecoder).decode(c)}stringifyKeypair(){return{publicKey:(0,n.toHexString)(this.keyPair.publicKey),secretKey:(0,n.toHexString)(this.keyPair.secretKey)}}}})),SPe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserRandomSource=void 0;e.BrowserRandomSource=class{constructor(){this.isAvailable=!1,this.isInstantiated=!1;let e=typeof self<"u"?self.crypto||self.msCrypto:null;e&&void 0!==e.getRandomValues&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Browser random byte generator is not available.");let t=new Uint8Array(e);for(let e=0;e<t.length;e+=65536)this._crypto.getRandomValues(t.subarray(e,e+Math.min(t.length-e,65536)));return t}}})),CPe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.NodeRandomSource=void 0;var t=PS();e.NodeRandomSource=class{constructor(){if(this.isAvailable=!1,this.isInstantiated=!1,typeof r0<"u"){let e=II();e&&e.randomBytes&&(this._crypto=e,this.isAvailable=!0,this.isInstantiated=!0)}}randomBytes(e){if(!this.isAvailable||!this._crypto)throw new Error("Node.js random byte generator is not available.");let r=this._crypto.randomBytes(e);if(r.length!==e)throw new Error("NodeRandomSource: got fewer bytes than requested");let n=new Uint8Array(e);for(let e=0;e<n.length;e++)n[e]=r[e];return(0,t.wipe)(r),n}}})),IPe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.SystemRandomSource=void 0;var t=SPe(),r=CPe();e.SystemRandomSource=class{constructor(){return this.isAvailable=!1,this.name="",this._source=new t.BrowserRandomSource,this._source.isAvailable?(this.isAvailable=!0,void(this.name="Browser")):(this._source=new r.NodeRandomSource,this._source.isAvailable?(this.isAvailable=!0,void(this.name="Node")):void 0)}randomBytes(e){if(!this.isAvailable)throw new Error("System random byte generator is not available.");return this._source.randomBytes(e)}}})),MPe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.randomStringForEntropy=e.randomString=e.randomUint32=e.randomBytes=e.defaultRandomSource=void 0;var t=IPe(),r=BU(),n=PS();function i(t,r=e.defaultRandomSource){return r.randomBytes(t)}e.defaultRandomSource=new t.SystemRandomSource,e.randomBytes=i,e.randomUint32=function(t=e.defaultRandomSource){let o=i(4,t),s=(0,r.readUint32LE)(o);return(0,n.wipe)(o),s};var o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function s(t,r=o,s=e.defaultRandomSource){if(r.length<2)throw new Error("randomString charset is too short");if(r.length>256)throw new Error("randomString charset is too long");let a="",c=r.length,u=256-256%c;for(;t>0;){let e=i(Math.ceil(256*t/u),s);for(let n=0;n<e.length&&t>0;n++){let i=e[n];i<u&&(a+=r.charAt(i%c),t--)}(0,n.wipe)(e)}return a}e.randomString=s,e.randomStringForEntropy=function(t,r=o,n=e.defaultRandomSource){return s(Math.ceil(t/(Math.log(r.length)/Math.LN2)),r,n)}})),RPe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var t=BU(),r=PS();e.DIGEST_LENGTH=64,e.BLOCK_SIZE=128;var n=function(){function n(){this.digestLength=e.DIGEST_LENGTH,this.blockSize=e.BLOCK_SIZE,this._stateHi=new Int32Array(8),this._stateLo=new Int32Array(8),this._tempHi=new Int32Array(16),this._tempLo=new Int32Array(16),this._buffer=new Uint8Array(256),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this.reset()}return n.prototype._initState=function(){this._stateHi[0]=1779033703,this._stateHi[1]=3144134277,this._stateHi[2]=1013904242,this._stateHi[3]=2773480762,this._stateHi[4]=1359893119,this._stateHi[5]=2600822924,this._stateHi[6]=528734635,this._stateHi[7]=1541459225,this._stateLo[0]=4089235720,this._stateLo[1]=2227873595,this._stateLo[2]=4271175723,this._stateLo[3]=1595750129,this._stateLo[4]=2917565137,this._stateLo[5]=725511199,this._stateLo[6]=4215389547,this._stateLo[7]=327033209},n.prototype.reset=function(){return this._initState(),this._bufferLength=0,this._bytesHashed=0,this._finished=!1,this},n.prototype.clean=function(){r.wipe(this._buffer),r.wipe(this._tempHi),r.wipe(this._tempLo),this.reset()},n.prototype.update=function(t,r){if(void 0===r&&(r=t.length),this._finished)throw new Error("SHA512: can't update because hash was finished.");var n=0;if(this._bytesHashed+=r,this._bufferLength>0){for(;this._bufferLength<e.BLOCK_SIZE&&r>0;)this._buffer[this._bufferLength++]=t[n++],r--;this._bufferLength===this.blockSize&&(o(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,this.blockSize),this._bufferLength=0)}for(r>=this.blockSize&&(n=o(this._tempHi,this._tempLo,this._stateHi,this._stateLo,t,n,r),r%=this.blockSize);r>0;)this._buffer[this._bufferLength++]=t[n++],r--;return this},n.prototype.finish=function(e){if(!this._finished){var r=this._bytesHashed,n=this._bufferLength,i=r/536870912|0,s=r<<3,a=r%128<112?128:256;this._buffer[n]=128;for(var c=n+1;c<a-8;c++)this._buffer[c]=0;t.writeUint32BE(i,this._buffer,a-8),t.writeUint32BE(s,this._buffer,a-4),o(this._tempHi,this._tempLo,this._stateHi,this._stateLo,this._buffer,0,a),this._finished=!0}for(c=0;c<this.digestLength/8;c++)t.writeUint32BE(this._stateHi[c],e,8*c),t.writeUint32BE(this._stateLo[c],e,8*c+4);return this},n.prototype.digest=function(){var e=new Uint8Array(this.digestLength);return this.finish(e),e},n.prototype.saveState=function(){if(this._finished)throw new Error("SHA256: cannot save finished state");return{stateHi:new Int32Array(this._stateHi),stateLo:new Int32Array(this._stateLo),buffer:this._bufferLength>0?new Uint8Array(this._buffer):void 0,bufferLength:this._bufferLength,bytesHashed:this._bytesHashed}},n.prototype.restoreState=function(e){return this._stateHi.set(e.stateHi),this._stateLo.set(e.stateLo),this._bufferLength=e.bufferLength,e.buffer&&this._buffer.set(e.buffer),this._bytesHashed=e.bytesHashed,this._finished=!1,this},n.prototype.cleanSavedState=function(e){r.wipe(e.stateHi),r.wipe(e.stateLo),e.buffer&&r.wipe(e.buffer),e.bufferLength=0,e.bytesHashed=0},n}();e.SHA512=n;var i=new Int32Array([1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591]);function o(e,r,n,o,s,a,c){for(var u,l,d,h,f,p,g,y,m=n[0],b=n[1],w=n[2],v=n[3],A=n[4],E=n[5],T=n[6],C=n[7],S=o[0],I=o[1],O=o[2],M=o[3],P=o[4],k=o[5],B=o[6],x=o[7];c>=128;){for(var N=0;N<16;N++){var R=8*N+a;e[N]=t.readUint32BE(s,R),r[N]=t.readUint32BE(s,R+4)}for(N=0;N<80;N++){var _,U,D=m,W=b,L=w,z=v,F=A,K=E,j=T,H=S,G=I,V=O,q=M,J=P,Y=k,X=B;if(f=65535&(l=x),p=l>>>16,g=65535&(u=C),y=u>>>16,f+=65535&(l=(P>>>14|A<<18)^(P>>>18|A<<14)^(A>>>9|P<<23)),p+=l>>>16,g+=65535&(u=(A>>>14|P<<18)^(A>>>18|P<<14)^(P>>>9|A<<23)),y+=u>>>16,f+=65535&(l=P&k^~P&B),p+=l>>>16,g+=65535&(u=A&E^~A&T),y+=u>>>16,u=i[2*N],f+=65535&(l=i[2*N+1]),p+=l>>>16,g+=65535&u,y+=u>>>16,u=e[N%16],p+=(l=r[N%16])>>>16,g+=65535&u,y+=u>>>16,g+=(p+=(f+=65535&l)>>>16)>>>16,f=65535&(l=h=65535&f|p<<16),p=l>>>16,g=65535&(u=d=65535&g|(y+=g>>>16)<<16),y=u>>>16,f+=65535&(l=(S>>>28|m<<4)^(m>>>2|S<<30)^(m>>>7|S<<25)),p+=l>>>16,g+=65535&(u=(m>>>28|S<<4)^(S>>>2|m<<30)^(S>>>7|m<<25)),y+=u>>>16,p+=(l=S&I^S&O^I&O)>>>16,g+=65535&(u=m&b^m&w^b&w),y+=u>>>16,_=65535&(g+=(p+=(f+=65535&l)>>>16)>>>16)|(y+=g>>>16)<<16,U=65535&f|p<<16,f=65535&(l=q),p=l>>>16,g=65535&(u=z),y=u>>>16,p+=(l=h)>>>16,g+=65535&(u=d),y+=u>>>16,b=D,w=W,v=L,A=z=65535&(g+=(p+=(f+=65535&l)>>>16)>>>16)|(y+=g>>>16)<<16,E=F,T=K,C=j,m=_,I=H,O=G,M=V,P=q=65535&f|p<<16,k=J,B=Y,x=X,S=U,N%16==15)for(R=0;R<16;R++)u=e[R],f=65535&(l=r[R]),p=l>>>16,g=65535&u,y=u>>>16,u=e[(R+9)%16],f+=65535&(l=r[(R+9)%16]),p+=l>>>16,g+=65535&u,y+=u>>>16,d=e[(R+1)%16],f+=65535&(l=((h=r[(R+1)%16])>>>1|d<<31)^(h>>>8|d<<24)^(h>>>7|d<<25)),p+=l>>>16,g+=65535&(u=(d>>>1|h<<31)^(d>>>8|h<<24)^d>>>7),y+=u>>>16,d=e[(R+14)%16],p+=(l=((h=r[(R+14)%16])>>>19|d<<13)^(d>>>29|h<<3)^(h>>>6|d<<26))>>>16,g+=65535&(u=(d>>>19|h<<13)^(h>>>29|d<<3)^d>>>6),y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,e[R]=65535&g|y<<16,r[R]=65535&f|p<<16}f=65535&(l=S),p=l>>>16,g=65535&(u=m),y=u>>>16,u=n[0],p+=(l=o[0])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[0]=m=65535&g|y<<16,o[0]=S=65535&f|p<<16,f=65535&(l=I),p=l>>>16,g=65535&(u=b),y=u>>>16,u=n[1],p+=(l=o[1])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[1]=b=65535&g|y<<16,o[1]=I=65535&f|p<<16,f=65535&(l=O),p=l>>>16,g=65535&(u=w),y=u>>>16,u=n[2],p+=(l=o[2])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[2]=w=65535&g|y<<16,o[2]=O=65535&f|p<<16,f=65535&(l=M),p=l>>>16,g=65535&(u=v),y=u>>>16,u=n[3],p+=(l=o[3])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[3]=v=65535&g|y<<16,o[3]=M=65535&f|p<<16,f=65535&(l=P),p=l>>>16,g=65535&(u=A),y=u>>>16,u=n[4],p+=(l=o[4])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[4]=A=65535&g|y<<16,o[4]=P=65535&f|p<<16,f=65535&(l=k),p=l>>>16,g=65535&(u=E),y=u>>>16,u=n[5],p+=(l=o[5])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[5]=E=65535&g|y<<16,o[5]=k=65535&f|p<<16,f=65535&(l=B),p=l>>>16,g=65535&(u=T),y=u>>>16,u=n[6],p+=(l=o[6])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[6]=T=65535&g|y<<16,o[6]=B=65535&f|p<<16,f=65535&(l=x),p=l>>>16,g=65535&(u=C),y=u>>>16,u=n[7],p+=(l=o[7])>>>16,g+=65535&u,y+=u>>>16,y+=(g+=(p+=(f+=65535&l)>>>16)>>>16)>>>16,n[7]=C=65535&g|y<<16,o[7]=x=65535&f|p<<16,a+=128,c-=128}return a}e.hash=function(e){var t=new n;t.update(e);var r=t.digest();return t.clean(),r}})),JPe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.convertSecretKeyToX25519=e.convertPublicKeyToX25519=e.verify=e.sign=e.extractPublicKeyFromSecretKey=e.generateKeyPair=e.generateKeyPairFromSeed=e.SEED_LENGTH=e.SECRET_KEY_LENGTH=e.PUBLIC_KEY_LENGTH=e.SIGNATURE_LENGTH=void 0;var t=MPe(),r=RPe(),n=PS();function i(e){let t=new Float64Array(16);if(e)for(let r=0;r<e.length;r++)t[r]=e[r];return t}e.SIGNATURE_LENGTH=64,e.PUBLIC_KEY_LENGTH=32,e.SECRET_KEY_LENGTH=64,e.SEED_LENGTH=32,new Uint8Array(32)[0]=9;var o=i(),s=i([1]),a=i([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),c=i([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),u=i([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),l=i([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),d=i([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function h(e,t){for(let r=0;r<16;r++)e[r]=0|t[r]}function f(e){let t=1;for(let r=0;r<16;r++){let n=e[r]+t+65535;t=Math.floor(n/65536),e[r]=n-65536*t}e[0]+=t-1+37*(t-1)}function p(e,t,r){let n=~(r-1);for(let r=0;r<16;r++){let i=n&(e[r]^t[r]);e[r]^=i,t[r]^=i}}function g(e,t){let r=i(),n=i();for(let e=0;e<16;e++)n[e]=t[e];f(n),f(n),f(n);for(let e=0;e<2;e++){r[0]=n[0]-65517;for(let e=1;e<15;e++)r[e]=n[e]-65535-(r[e-1]>>16&1),r[e-1]&=65535;r[15]=n[15]-32767-(r[14]>>16&1);let e=r[15]>>16&1;r[14]&=65535,p(n,r,1-e)}for(let t=0;t<16;t++)e[2*t]=255&n[t],e[2*t+1]=n[t]>>8}function y(e,t){let r=0;for(let n=0;n<32;n++)r|=e[n]^t[n];return(1&r-1>>>8)-1}function b(e,t){let r=new Uint8Array(32),n=new Uint8Array(32);return g(r,e),g(n,t),y(r,n)}function w(e){let t=new Uint8Array(32);return g(t,e),1&t[0]}function v(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]+r[n]}function A(e,t,r){for(let n=0;n<16;n++)e[n]=t[n]-r[n]}function E(e,t,r){let n,i,o=0,s=0,a=0,c=0,u=0,l=0,d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n*K,O+=n*j,M+=n*H,P+=n*G,k+=n*V,B+=n*q,x+=n*J,N+=n*Y,R+=n*X,_+=n*Q,o+=38*A,s+=38*E,a+=38*T,c+=38*C,u+=38*S,l+=38*I,d+=38*O,h+=38*M,f+=38*P,p+=38*k,g+=38*B,y+=38*x,m+=38*N,b+=38*R,w+=38*_,i=1,n=o+i+65535,i=Math.floor(n/65536),o=n-65536*i,n=s+i+65535,i=Math.floor(n/65536),s=n-65536*i,n=a+i+65535,i=Math.floor(n/65536),a=n-65536*i,n=c+i+65535,i=Math.floor(n/65536),c=n-65536*i,n=u+i+65535,i=Math.floor(n/65536),u=n-65536*i,n=l+i+65535,i=Math.floor(n/65536),l=n-65536*i,n=d+i+65535,i=Math.floor(n/65536),d=n-65536*i,n=h+i+65535,i=Math.floor(n/65536),h=n-65536*i,n=f+i+65535,i=Math.floor(n/65536),f=n-65536*i,n=p+i+65535,i=Math.floor(n/65536),p=n-65536*i,n=g+i+65535,i=Math.floor(n/65536),g=n-65536*i,n=y+i+65535,i=Math.floor(n/65536),y=n-65536*i,n=m+i+65535,i=Math.floor(n/65536),m=n-65536*i,n=b+i+65535,i=Math.floor(n/65536),b=n-65536*i,n=w+i+65535,i=Math.floor(n/65536),w=n-65536*i,n=v+i+65535,i=Math.floor(n/65536),v=n-65536*i,o+=i-1+37*(i-1),i=1,n=o+i+65535,i=Math.floor(n/65536),o=n-65536*i,n=s+i+65535,i=Math.floor(n/65536),s=n-65536*i,n=a+i+65535,i=Math.floor(n/65536),a=n-65536*i,n=c+i+65535,i=Math.floor(n/65536),c=n-65536*i,n=u+i+65535,i=Math.floor(n/65536),u=n-65536*i,n=l+i+65535,i=Math.floor(n/65536),l=n-65536*i,n=d+i+65535,i=Math.floor(n/65536),d=n-65536*i,n=h+i+65535,i=Math.floor(n/65536),h=n-65536*i,n=f+i+65535,i=Math.floor(n/65536),f=n-65536*i,n=p+i+65535,i=Math.floor(n/65536),p=n-65536*i,n=g+i+65535,i=Math.floor(n/65536),g=n-65536*i,n=y+i+65535,i=Math.floor(n/65536),y=n-65536*i,n=m+i+65535,i=Math.floor(n/65536),m=n-65536*i,n=b+i+65535,i=Math.floor(n/65536),b=n-65536*i,n=w+i+65535,i=Math.floor(n/65536),w=n-65536*i,n=v+i+65535,i=Math.floor(n/65536),v=n-65536*i,o+=i-1+37*(i-1),e[0]=o,e[1]=s,e[2]=a,e[3]=c,e[4]=u,e[5]=l,e[6]=d,e[7]=h,e[8]=f,e[9]=p,e[10]=g,e[11]=y,e[12]=m,e[13]=b,e[14]=w,e[15]=v}function T(e,t){E(e,t,t)}function C(e,t){let r,n=i();for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)T(n,n),2!==r&&4!==r&&E(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function S(e,t){let r=i(),n=i(),o=i(),s=i(),a=i(),u=i(),l=i(),d=i(),h=i();A(r,e[1],e[0]),A(h,t[1],t[0]),E(r,r,h),v(n,e[0],e[1]),v(h,t[0],t[1]),E(n,n,h),E(o,e[3],t[3]),E(o,o,c),E(s,e[2],t[2]),v(s,s,s),A(a,n,r),A(u,s,o),v(l,s,o),v(d,n,r),E(e[0],a,u),E(e[1],d,l),E(e[2],l,u),E(e[3],a,d)}function I(e,t,r){for(let n=0;n<4;n++)p(e[n],t[n],r)}function O(e,t){let r=i(),n=i(),o=i();C(o,t[2]),E(r,t[0],o),E(n,t[1],o),g(e,n),e[31]^=w(r)<<7}function M(e,t,r){h(e[0],o),h(e[1],s),h(e[2],s),h(e[3],o);for(let n=255;n>=0;--n){let i=r[n/8|0]>>(7&n)&1;I(e,t,i),S(t,e),S(e,e),I(e,t,i)}}function P(e,t){let r=[i(),i(),i(),i()];h(r[0],u),h(r[1],l),h(r[2],s),E(r[3],u,l),M(e,r,t)}function k(t){if(t.length!==e.SEED_LENGTH)throw new Error(`ed25519: seed must be ${e.SEED_LENGTH} bytes`);let n=(0,r.hash)(t);n[0]&=248,n[31]&=127,n[31]|=64;let o=new Uint8Array(32),s=[i(),i(),i(),i()];P(s,n),O(o,s);let a=new Uint8Array(64);return a.set(t),a.set(o,32),{publicKey:o,secretKey:a}}e.generateKeyPairFromSeed=k,e.generateKeyPair=function(e){let r=(0,t.randomBytes)(32,e),i=k(r);return(0,n.wipe)(r),i},e.extractPublicKeyFromSecretKey=function(t){if(t.length!==e.SECRET_KEY_LENGTH)throw new Error(`ed25519: secret key must be ${e.SECRET_KEY_LENGTH} bytes`);return new Uint8Array(t.subarray(32))};var B=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function x(e,t){let r,n,i,o;for(n=63;n>=32;--n){for(r=0,i=n-32,o=n-12;i<o;++i)t[i]+=r-16*t[n]*B[i-(n-32)],r=Math.floor((t[i]+128)/256),t[i]-=256*r;t[i]+=r,t[n]=0}for(r=0,i=0;i<32;i++)t[i]+=r-(t[31]>>4)*B[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*B[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function N(e){let t=new Float64Array(64);for(let r=0;r<64;r++)t[r]=e[r];for(let t=0;t<64;t++)e[t]=0;x(e,t)}function R(e,t){let r=i(),n=i(),c=i(),u=i(),l=i(),f=i(),p=i();return h(e[2],s),function(e,t){for(let r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}(e[1],t),T(c,e[1]),E(u,c,a),A(c,c,e[2]),v(u,e[2],u),T(l,u),T(f,l),E(p,f,l),E(r,p,c),E(r,r,u),function(e,t){let r,n=i();for(r=0;r<16;r++)n[r]=t[r];for(r=250;r>=0;r--)T(n,n),1!==r&&E(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}(r,r),E(r,r,c),E(r,r,u),E(r,r,u),E(e[0],r,u),T(n,e[0]),E(n,n,u),b(n,c)&&E(e[0],e[0],d),T(n,e[0]),E(n,n,u),b(n,c)?-1:(w(e[0])===t[31]>>7&&A(e[0],o,e[0]),E(e[3],e[0],e[1]),0)}e.sign=function(e,t){let n=new Float64Array(64),o=[i(),i(),i(),i()],s=(0,r.hash)(e.subarray(0,32));s[0]&=248,s[31]&=127,s[31]|=64;let a=new Uint8Array(64);a.set(s.subarray(32),32);let c=new r.SHA512;c.update(a.subarray(32)),c.update(t);let u=c.digest();c.clean(),N(u),P(o,u),O(a,o),c.reset(),c.update(a.subarray(0,32)),c.update(e.subarray(32)),c.update(t);let l=c.digest();N(l);for(let e=0;e<32;e++)n[e]=u[e];for(let e=0;e<32;e++)for(let t=0;t<32;t++)n[e+t]+=l[e]*s[t];return x(a.subarray(32),n),a},e.verify=function(t,n,o){let s=new Uint8Array(32),a=[i(),i(),i(),i()],c=[i(),i(),i(),i()];if(o.length!==e.SIGNATURE_LENGTH)throw new Error(`ed25519: signature must be ${e.SIGNATURE_LENGTH} bytes`);if(R(c,t))return!1;let u=new r.SHA512;u.update(o.subarray(0,32)),u.update(t),u.update(n);let l=u.digest();return N(l),M(a,c,l),P(c,o.subarray(32)),S(a,c),O(s,a),!y(o,s)},e.convertPublicKeyToX25519=function(e){let t=[i(),i(),i(),i()];if(R(t,e))throw new Error("Ed25519: invalid public key");let r=i(),n=i(),o=t[1];v(r,s,o),A(n,s,o),C(n,n),E(r,r,n);let a=new Uint8Array(32);return g(a,r),a},e.convertSecretKeyToX25519=function(e){let t=(0,r.hash)(e.subarray(0,32));t[0]&=248,t[31]&=127,t[31]|=64;let i=new Uint8Array(t.subarray(0,32));return(0,n.wipe)(t),i}})),mee=W((e=>{"use strict";m();var t,r=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||(t=function(e){return(t=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var o=t(e),s=0;s<o.length;s++)"default"!==o[s]&&r(i,e,o[s]);return n(i,e),i}),o=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},s=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.MULTICODEC_ED25519_LENGTH=e.MULTICODEC_ED25519_HEADER=e.MULTICODEC_ED25519_BASE=e.MULTICODEC_ED25519_ENCODING=e.DID_METHOD=e.DID_PREFIX=e.DID_DELIMITER=e.KEY_PAIR_SEED_LENGTH=e.DATA_ENCODING=e.JSON_ENCODING=e.JWT_ENCODING=e.JWT_DELIMITER=e.JWT_IRIDIUM_TYP=e.JWT_IRIDIUM_ALG=e.JWTHeaderType=void 0,e.generateKeyPair=function(){return l.default.sign.keyPair()},e.decodeJSON=f,e.encodeJSON=p,e.encodeIss=g,e.decodeIss=y,e.encodeSig=b,e.decodeSig=w,e.encodeData=v,e.decodeData=function(t){var r,n;let i=(0,h.okxtoString)(t,e.DATA_ENCODING).split(e.JWT_DELIMITER),o=f(null!==(r=i[0])&&void 0!==r?r:"{}"),s=f(null!==(n=i[1])&&void 0!==n?n:"{}");return{header:o,payload:s}},e.encodeJWT=A,e.decodeJWT=E,e.signJWT=function(t,r,n,i){return o(this,arguments,void 0,(function*(t,r,n,i,o=Math.floor(Date.now())){let s={alg:e.JWT_IRIDIUM_ALG,typ:e.JWT_IRIDIUM_TYP},a={iss:g(i.publicKey),sub:t,aud:r,act:"authenticate user",iat:o,exp:o+n},c=v({header:s,payload:a});return d.logDebug(`get sec kp: ${i.secretKey} {${i.secretKey.length}}`),A({header:s,payload:a,signature:l.default.sign.detached(c,i.secretKey)})}))},e.verifyJWT=function(t){return o(this,void 0,void 0,(function*(){let{header:r,payload:n,data:i,signature:o}=E(t);if(r.alg!==e.JWT_IRIDIUM_ALG||r.typ!==e.JWT_IRIDIUM_TYP)throw new Error("JWT must use EdDSA algorithm");let s=y(n.iss);return a.verify(s,i,o)}))};var a=i(JPe()),c=bv(),u=Zf(),l=s(oh()),d=i(Ks()),h=H$();function f(t){return(0,c.safeJsonParse)((0,h.okxtoString)((0,h.okxfromString)(t,e.JWT_ENCODING),e.JSON_ENCODING))}function p(t){return(0,h.okxtoString)((0,h.okxfromString)((0,c.safeJsonStringify)(t),e.JSON_ENCODING),e.JWT_ENCODING)}function g(t){d.logDebug(`publicKey: ${(0,u.toHexString)(t)}`);var r=(0,h.okxtoString)(t,e.MULTICODEC_ED25519_ENCODING);return[e.DID_PREFIX,e.DID_METHOD,r].join(e.DID_DELIMITER)}function y(t){let[r,n,i]=t.split(e.DID_DELIMITER);if(r!==e.DID_PREFIX||n!==e.DID_METHOD)throw new Error('Issuer must be a DID with method "key"');if(void 0===i)throw new Error("multicodec is undefined");let o=(0,h.okxfromString)(i,e.MULTICODEC_ED25519_ENCODING);if(void 0===o||o.length!==e.MULTICODEC_ED25519_LENGTH)throw new Error("Issuer must be a public key with length 32 bytes");return o}function b(t){return(0,h.okxtoString)(t,e.JWT_ENCODING)}function w(t){return(0,h.okxfromString)(t,e.JWT_ENCODING)}function v(t){return(0,h.okxfromString)([p(t.header),p(t.payload)].join(e.JWT_DELIMITER),e.DATA_ENCODING)}function A(t){return[p(t.header),p(t.payload),b(t.signature)].join(e.JWT_DELIMITER)}function E(t){var r,n,i;let o=t.split(e.JWT_DELIMITER);return{header:f(null!==(r=o[0])&&void 0!==r?r:"{}"),payload:f(null!==(n=o[1])&&void 0!==n?n:"{}"),signature:w(null!==(i=o[2])&&void 0!==i?i:"{}"),data:(0,h.okxfromString)(o.slice(0,2).join(e.JWT_DELIMITER),e.DATA_ENCODING)}}e.JWTHeaderType="dapp",e.JWT_IRIDIUM_ALG="EdDSA",e.JWT_IRIDIUM_TYP="JWT",e.JWT_DELIMITER=".",e.JWT_ENCODING="base64url",e.JSON_ENCODING="utf8",e.DATA_ENCODING="utf8",e.KEY_PAIR_SEED_LENGTH=32,e.DID_DELIMITER=":",e.DID_PREFIX="did",e.DID_METHOD="key",e.MULTICODEC_ED25519_ENCODING="base58btc",e.MULTICODEC_ED25519_BASE="z",e.MULTICODEC_ED25519_HEADER="K36",e.MULTICODEC_ED25519_LENGTH=32})),vee=W((e=>{"use strict";m();var t,r=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||(t=function(e){return(t=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var o=t(e),s=0;s<o.length;s++)"default"!==o[s]&&r(i,e,o[s]);return n(i,e),i}),o=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},s=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectionSplitPackages=void 0;var a=PT(),c=s(QU()),u=Zf(),l=bv(),d=i(Ks()),h=Ks(),f="ConnectionReceiveKey",p="ConnectionSendKey",g="ConnectionSenderVersionKey";e.ConnectionSplitPackages=class{constructor(e){this.splitMessageSendArray=new Map,this.splitMessageReceivedArray=new Map,this.splitMessageSenderVersionMap=new Map,this.splitPackageCache=c.default.createInstance({name:a.OKXCONNECTOR_STORAGE_PROTOCOL_CACHE+e})}init(e){return o(this,void 0,void 0,(function*(){if(yield this.recoverFromCache(),this.splitMessageSendArray.size>0){for(let[t,r]of this.splitMessageSendArray.entries())for(let n=0;n<r.length;){let i=r[n];try{yield e((0,l.safeJsonStringify)(i),t),d.logDebug(`Successfully sent payload: ${(0,l.safeJsonStringify)(i)} to topic: ${t}`),r.splice(n,1)}catch(e){d.logError(`Failed to send payload: ${(0,l.safeJsonStringify)(i)} to topic: ${t}`,e),i.retryCount=(i.retryCount||0)+1,i.retryCount>3?(d.logError(`Payload failed after 3 retries: ${(0,l.safeJsonStringify)(i)}`),r.splice(n,1)):n++}}yield this.syncCache()}}))}tryParseMessageSplitPayload(e){var t;let r;try{if(e.trimStart().startsWith("{")){let n=(0,l.safeJsonParse)(e);if(n&&n.protocol_version&&n.protocol_version>=2){let e=n;e.package_group_id&&(null===(t=e.package_group_id)||void 0===t?void 0:t.length)>0&&(r=n)}}else(0,h.logDebug)("not split packages")}catch{(0,h.logDebug)("not split packages")}return r}updateTopicSenderVersion(e,t){return o(this,void 0,void 0,(function*(){this.splitMessageSenderVersionMap.set(e,t),yield this.syncCache(),(0,h.logDebug)("get update topic sender version: ",e,t)}))}sendSplitPackages(e,t,r,n){return o(this,void 0,void 0,(function*(){if(!e)return void d.logError("sendSplitPackages invalid topic");let i=this.splitMessageSenderVersionMap.get(e),o=t.length;try{if(o<63e3)throw new Error(`no need to split (size:${o})`);if(!i||i&&i<2)throw new Error(`version not support split (version: ${i})`);let r=[],s=63e3;for(let e=0;e<t.length;e+=s)e+s<t.length?r.push(t.slice(e,e+s)):r.push(t.slice(e));let a=(0,u.generateGroupId)(),c=r.map(((t,n)=>({topicId:e,protocol_version:2,total_count:r.length,package_index:n,package_group_id:a,content:t})));this.mergePackageArray(!0,c);for(let t=0;t<c.length;){let r=c[t],i=(0,l.safeJsonStringify)(r);try{yield n(i,e),d.logDebug(`Successfully sent payload: ${i} to topic: ${e}`),c.splice(t,1)}catch(n){d.logError(`Failed to send payload: ${i} to topic: ${e}`,n),r.retryCount=(r.retryCount||0)+1,r.retryCount>3?(d.logError(`Payload failed after 3 retries: ${i}`),c.splice(t,1)):t++}}this.splitMessageSendArray.set(e,[]),yield this.syncCache()}catch(n){(0,h.logDebug)("send split packages no split"),(0,h.logDebug)(n),yield r(e,t)}}))}onReceivedPackageCheck(e){return o(this,void 0,void 0,(function*(){this.mergePackageArray(!1,[e]);let t=new Map,r=e.topicId;this.splitMessageReceivedArray.forEach(((r,n)=>{n==e.topicId&&r.forEach((e=>{if(e.messageObject.package_group_id){let r=t.get(e.messageObject.package_group_id);r||(r=new Array),r.push(e),t.set(e.messageObject.package_group_id,r)}}))})),(0,h.logDebug)("on received message, check message cache");let n={isSplitPackage:!1};if(e.messageObject.package_group_id){n.isSplitPackage=!0;let i=t.get(e.messageObject.package_group_id);if(i?.length){let t=new Set;if(i.forEach((e=>{void 0!==e.messageObject.package_index&&t.add(e.messageObject.package_index)})),t.size==e.messageObject.total_count){i.sort(((e,t)=>!e.messageObject.package_index&&0!==e.messageObject.package_index||!t.messageObject.package_index&&0!==t.messageObject.package_index?0:e.messageObject.package_index-t.messageObject.package_index));let e=i.reduce(((e,t)=>(e.push(t.messageObject.content),e)),[]),t=i.reduce(((e,t)=>(e.push(t.messageId),e)),[]);n.isSplitPackage=!0,n.finalMessage=e.join(""),n.completeMessageIdList=t;let o=this.splitMessageReceivedArray.get(r);o&&(o=o.filter((e=>!t.includes(e.messageId))),this.splitMessageReceivedArray.set(r,o)),yield this.syncCache()}}}return n}))}mergePackageArray(e,t){return o(this,void 0,void 0,(function*(){if((0,h.logDebug)("append sending array"),e){let e=t.filter((e=>{let t=e.topicId,r=!0,n=this.splitMessageSendArray.get(t);return n?.forEach((t=>{t.package_group_id==e.package_group_id&&t.total_count==e.total_count&&t.package_index==e.package_index&&(r=!1)})),r}));if(e.length>0){let t=e[0].topicId,r=this.splitMessageSendArray.get(t);r||(r=new Array),r=r.concat(e),this.splitMessageSendArray.set(t,r),(0,h.logDebug)("append sending array (after filted): ",r)}}else{let e=t.filter((e=>{let t=e.topicId,r=!0,n=this.splitMessageReceivedArray.get(t);return n?.forEach((t=>{t.messageId==e.messageId&&(r=!1)})),r}));if(e.length>0){let t=e[0].topicId,r=this.splitMessageReceivedArray.get(t);r||(r=new Array),r=r.concat(e),this.splitMessageReceivedArray.set(t,r),(0,h.logDebug)("append received array (after filted): ",r)}}}))}syncCache(){return o(this,void 0,void 0,(function*(){(0,h.logDebug)("sync split message cache"),yield this.splitPackageCache.setItem(f,this.splitMessageReceivedArray),yield this.splitPackageCache.setItem(p,this.splitMessageSendArray),yield this.splitPackageCache.setItem(g,this.splitMessageSenderVersionMap)}))}recoverFromCache(){return o(this,void 0,void 0,(function*(){let e=yield this.splitPackageCache.getItem(f);this.splitMessageReceivedArray=e||new Map;let t=yield this.splitPackageCache.getItem(p);this.splitMessageSendArray=t||new Map;let r=yield this.splitPackageCache.getItem(g);this.splitMessageSenderVersionMap=r||new Map}))}}})),Eee=W((e=>{"use strict";m();var t,r=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||(t=function(e){return(t=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var o=t(e),s=0;s<o.length;s++)"default"!==o[s]&&r(i,e,o[s]);return n(i,e),i}),o=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.ConnectionManager=void 0;var s=H9(),a=tee(),c=PT(),u=ree(),l=OT(),d=Qf(),h=fO(),f=Zf(),p=iee(),g=mee(),y=bv(),b=i(Ks()),w=Ks(),v=oO(),A=US(),E=vee();e.ConnectionManager=class{constructor(e=void 0){this.events=new d.EventEmitter,this.splitManager=new E.ConnectionSplitPackages("dapp"),this.connectorEnable=!1,this.connectStorage=new h.Storage(c.OKXCONNECTOR_CACHE_KEY_DAPP+e,c.OKXCONNECTOR_CACHE_KEY_DAPP),this.tonsdkConnectStorage=new h.Storage(c.OKXCONNECTOR_TON_KEY+e,c.OKXCONNECTOR_TON_KEY),this.crypto=new p.SessionCrypto;let t=(0,A.isInTMA)();if((0,w.logDebug)("do init:",t),b.reportLog("connection manager do init"),t)try{let e=this.getCachedCryptoKeyPair();(0,w.logDebug)("use same pk:",e),this.crypto=new p.SessionCrypto(e)}catch{this.connectStorage.clearCache(),b.reportEvent(v.OKXReportType.LOG,"cache_fail","cache failed")}this.jwtKeyPair=this.getCachedJWTKeyPair(),this.saveJWTKeyPair(this.jwtKeyPair),this.connector=new s.OKXWalletConnector(l.OKXCONNECTOR_WS_URL_1),this.packageId=Date.now(),this.connectedWalletPK="",this.currentTopic="",b.logDebug(`this.connectedWalletPK  constructor   ${this.connectedWalletPK}`)}refreshPackageId(){let e=Date.now();e==this.packageId&&(this.packageId=e+1),this.packageId=e}saveCryptoKeyPair(e){let t=(0,y.safeJsonStringify)(e);this.connectStorage.encryptStoreMsg(t,c.OKXCONNECTOR_CRYPTO_KEY)}getCachedCryptoKeyPair(){let e=this.connectStorage.getAndDecrypt(c.OKXCONNECTOR_CRYPTO_KEY);return"string"==typeof e?(b.logDebug("get cached crypto key:"),b.logDebug(e),(0,y.safeJsonParse)(e)):(this.connectStorage.clearCache(),null)}saveJWTKeyPair(e){var t={publicKey:(0,f.toHexString)(e.publicKey),secretKey:(0,f.toHexString)(e.secretKey)};b.logDebug("save jwt kp");let r=(0,y.safeJsonStringify)(t);b.logDebug(r),this.connectStorage.encryptStoreMsg(r,c.OKXCONNECTOR_JWT_KEY)}getCachedJWTKeyPair(){try{let e=this.connectStorage.getAndDecrypt(c.OKXCONNECTOR_JWT_KEY);if("string"==typeof e){b.logDebug("get cached jwt kp:"),b.logDebug(e);let t=(0,y.safeJsonParse)(e);return b.logDebug("save jwt kp"),b.logDebug(t),{publicKey:(0,f.hexToByteArray)(t.publicKey),secretKey:(0,f.hexToByteArray)(t.secretKey)}}return(0,g.generateKeyPair)()}catch{return b.reportEvent(v.OKXReportType.LOG,"cache_fail","cache failed"),(0,g.generateKeyPair)()}}isWalletPKReady(){return b.logDebug(`isWalletPKReady  ===> ${this.connectedWalletPK}`),this.connectedWalletPK.length>0}makeJWT(e){return o(this,void 0,void 0,(function*(){return yield(0,g.signJWT)(e,u.OKXCONNECTOR_JWT_SIDE,u.OKXCONNECTOR_JWT_TTL,this.jwtKeyPair)}))}parsePackage(e){return o(this,arguments,void 0,(function*(e,t=!1){var r,n,i,s,u,l,d,h,f,p,g,y,m;if(this.events.emit(e.id,e),!t){yield this.sendACK(e.id,!0);let t=null===(r=this.connectStorage.getItem(c.OKXCONNECTOR_TOKEN_CACHE))||void 0===r?void 0:r.content;if(t){let r=e;if(null!==(i=null===(n=r.params)||void 0===n?void 0:n.data)&&void 0!==i&&i.messageId){r.method&&r.method===a.CONNECT_METHOD_PUSH&&((0,w.logDebug)("checkExpire: update expire when get push"),this.updateExpireLimit(t));let e=this.splitManager.tryParseMessageSplitPayload(null===(u=null===(s=r.params)||void 0===s?void 0:s.data)||void 0===u?void 0:u.message);if(e){let n={topicId:null===(d=null===(l=r.params)||void 0===l?void 0:l.data)||void 0===d?void 0:d.topic,messageId:null===(f=null===(h=r.params)||void 0===h?void 0:h.data)||void 0===f?void 0:f.messageId,messageObject:e,publishedAt:null===(g=null===(p=r.params)||void 0===p?void 0:p.data)||void 0===g?void 0:g.publishedAt},i=yield this.splitManager.onReceivedPackageCheck(n);i.completeMessageIdList&&i.completeMessageIdList.forEach((e=>o(this,void 0,void 0,(function*(){this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),e,t)}))))}else this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),null===(m=null===(y=r.params)||void 0===y?void 0:y.data)||void 0===m?void 0:m.messageId,t)}}}}))}restoreConnect(e){return o(this,void 0,void 0,(function*(){if(b.reportLog("connection manager restore connection"),b.logDebug(`connectionManager  restoreConenct   ${e}`),"string"!=typeof e||0===e.length)throw new Error("CONNECTION: invalid topic");b.logDebug("connectionManager  restoreConenct   disconnect"),yield this.disconnect(!0),this.connectStorage.saveContent(e,c.OKXCONNECTOR_TOKEN_CACHE),b.logDebug("connectionManager  restoreConenct   conect"),yield this.connect(!0)}))}getConnectInfo(){var e=(0,f.generateTopic)();return b.logDebug(`generate topic token: ${e}`),b.reportLog("connection manager generate connection info"),this.currentTopic=e,{channelId:e,clientId:this.crypto.stringifyKeypair().publicKey}}connect(){return o(this,arguments,void 0,(function*(e=!1){this.timeLog=(new Date).getTime(),(0,w.logDebug)("ConnectTime---enter->",this.timeLog),b.reportLog("connection manager begin connect");let t=this.connectStorage.getItem(c.OKXCONNECTOR_TOKEN_CACHE);var r=this.currentTopic;if(b.logDebug(`generate topic token: ${r}`),e){typeof t<"u"&&null!==t&&(b.logDebug(`read last connect id: ${t}`),r=t.content);var n=this.connectStorage.getItem(c.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE);n&&(this.connectedWalletPK=n.content,(0,w.logDebug)(`connectionManager connect() this.connectedWalletPK : ${this.connectedWalletPK}`)),b.reportLog("connection manager do restore connection")}if(e)try{let e=this.getCachedCryptoKeyPair();e&&(this.crypto=new p.SessionCrypto(e))}catch{throw b.logError("get crypto key pair from cache failed"),b.reportEvent(v.OKXReportType.LOG,"cache_fail","cache failed"),this.connectStorage.clearCache(),new Error("crypto cache failed")}b.logDebug(`use crypto client id: ${this.crypto.stringifyKeypair().publicKey}`),this.connectStorage.saveContent(r,c.OKXCONNECTOR_TOKEN_CACHE);var i=yield this.makeJWT(r);return b.logDebug(`generate jwt token: ${i}`),this.connectStorage.saveContent(i,"jwt"),new Promise(((t,n)=>{this.connector.onOpen((()=>o(this,void 0,void 0,(function*(){b.logDebug("1. connector on open"),b.reportLog("1. connect ws open");let s=(new Date).getTime();(0,w.logDebug)("ConnectTime---open->",s-this.timeLog),this.events.once(this.packageId.toString(),(i=>o(this,void 0,void 0,(function*(){if(i&&i.error){b.logError("failed when login"),b.reportLog("2. connect login failed"),yield this.connector.disconnect();var s=new Error;s.message=i.error.message,s.name=i.error.code.toString(),n(s)}this.refreshPackageId(),this.events.once(this.packageId.toString(),(i=>o(this,void 0,void 0,(function*(){if(i&&i.error){b.logError("failed when subscribe"),b.reportLog("3. connect subscribe failed"),yield this.connector.disconnect();var o=new Error;o.message=i.error.message,o.name=i.error.code.toString(),n(o)}this.refreshPackageId(),b.logDebug(`4. subscribe callback then send fetch: ${this.packageId}`),b.reportLog("4. subscribe callback then send fetch");let s=(new Date).getTime();(0,w.logDebug)("ConnectTime--subscribe callback->",s-this.timeLog),yield this.sendFetchAndConsumeMessages(this.packageId.toString(),r),b.logDebug(`5. splitmanager init: ${this.packageId}`),b.reportLog("5. splitmanager init"),yield this.splitManager.init(this.sendRaw.bind(this)),e&&(this.checkExpire(r)?((0,w.logDebug)("disconnect From topic expire"),setTimeout((()=>{this.activateDisconnect()}),1e3)):((0,w.logDebug)("extends expire check"),this.updateExpireLimit(r))),t()})))),b.logDebug(`3. login callback then send subscribe: ${this.packageId}`),b.reportLog("3. connect subscribe failed");let c=(new Date).getTime();(0,w.logDebug)("ConnectTime---login callback->",c-this.timeLog),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect().catch((e=>{(0,w.logDebug)("ConnectionManager connect error",e),n(e)}))}))),{id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_SUB,params:{topic:r}})})))),b.logDebug("2. login called"),b.reportLog("2. connection manager connect call login"),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect().catch((e=>{(0,w.logDebug)("ConnectionManager connect error",e),n(e)}))}))),{id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_LOGIN,params:{token:i}}),this.connector.addPackageParse((e=>{var t;if(b.logDebug("connect: parse package"),b.logDebug(e),!("params"in e)||!("data"in e.params))return void this.parsePackage(e,!0);let r=null===(t=e.params.data)||void 0===t?void 0:t.message;if(typeof r<"u"&&r.length>0){r=r.replace(/'/g,'"');let e=(0,y.safeJsonParse)(r);"string"!=typeof e&&"clientId"in e&&e.clientId&&e.clientId.length>0&&(this.connectedWalletPK=e.clientId,b.logDebug(`this.connectedWalletPK  addPackageParse   ${this.connectedWalletPK}`),this.connectStorage.saveContent(this.connectedWalletPK,c.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE),this.saveCryptoKeyPair(this.crypto.stringifyKeypair()))}this.parsePackage(e,e.method===a.CONNECT_METHOD_RECEIVE)}))})))),this.connector.connect().catch((e=>{(0,w.logDebug)("ConnectionManager connect error",e),n(e)})),this.connectorEnable=!0}))}))}sendSubscribe(e){return o(this,void 0,void 0,(function*(){this.refreshPackageId(),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){}))),{id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_SUB,params:{topic:e}})}))}sendDisconnect(e){return o(this,void 0,void 0,(function*(){return new Promise(((t,r)=>o(this,void 0,void 0,(function*(){if(this.refreshPackageId(),!this.connectorEnable)return b.logDebug("skip disconnect before connected relay"),void t();this.events.once(this.packageId.toString(),(e=>o(this,void 0,void 0,(function*(){b.logDebug("CONNECT: disconnect command send"),this.connectorEnable=!1,t()}))));let r={id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_DISCONNECT,params:{message:{topic:e,ttl:l.OKXCONNECTOR_MESSAGE_DISCONNECT_TTL}}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){b.logDebug("CONNECT: skip reconnect send")}))),r)}))))}))}sendRecvDisconnect(e){return o(this,void 0,void 0,(function*(){this.refreshPackageId();let t={id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_RECV_DISCONNECT,params:{topic:e}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),t)}))}disconnect(){return o(this,arguments,void 0,(function*(e=!1){try{yield this.sendDisconnect(this.currentTopic)}catch(e){b.logError("send disconnect command failed",e)}yield this.connector.disconnect(),b.reportLog("connect disconnect"),this.connectStorage.clearCache(c.OKXCONNECTOR_TOKEN_CACHE),e||(this.connectStorage.clearCache(c.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE),this.connectedWalletPK="",(0,w.logDebug)(`connectionManager disconnect() this.connectedWalletPK : ${this.connectedWalletPK}`))}))}updateProtocolVersion(e,t){this.splitManager.updateTopicSenderVersion(e,t)}addListener(e,t,r){this.connector.addListener((0,y.safeJsonStringify)(e),(e=>{if(e=e.replace(/'/g,'"'),b.logDebug(`addListener ===> ${e}`),typeof e<"u"&&e.length>0){var t=(0,y.safeJsonParse)(e),r=t.message;let n;return r.trimStart().startsWith("{")?n=r:(t.clientId&&t.clientId.length>0&&(this.connectedWalletPK=t.clientId,this.connectStorage.saveContent(this.connectedWalletPK,c.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE),b.logDebug(`this.connectedWalletPK  addListener   ${this.connectedWalletPK}`),b.logDebug(`this.cryptoKey  addListener   ${(0,f.toHexString)(this.crypto.keyPair.publicKey)}`),this.saveCryptoKeyPair(this.crypto.stringifyKeypair())),n=this.crypto.decrypt(r,this.connectedWalletPK)),b.logDebug(`addListener ===> ${n}`),n}}),t,r,(e=>new Promise(((t,r)=>o(this,void 0,void 0,(function*(){let r=this.splitManager.tryParseMessageSplitPayload(e.message);if(r){let n={topicId:e.topic,messageId:e?.messageId,messageObject:r,publishedAt:e?.publishedAt},i=yield this.splitManager.onReceivedPackageCheck(n);t(i)}else t({isSplitPackage:!1})}))))))}sendRaw(e){return o(this,void 0,void 0,(function*(){b.logDebug(`message send =====> ${e}`),b.reportLog("connect send raw msg");let t=e;b.logDebug(`message send =====encrypt message.length>>>> ${t.length}`);let r=this.connectStorage.getItem(c.OKXCONNECTOR_TOKEN_CACHE);b.logDebug(`message send =====topic>>>> ${r?.content}`),this.refreshPackageId();let n={id:this.packageId.toString(),method:a.CONNECT_METHOD_PUBLISH,jsonrpc:l.CONNECT_JSONRPC_VER,params:{message:{topic:r?.content,message:t,ttl:l.OKXCONNECTOR_MESSAGE_TTL}}};return this.events.once(this.packageId.toString(),(e=>o(this,void 0,void 0,(function*(){e&&e.error?b.logError(`@${(new Date).toUTCString()} >>> failed when send msg`):e&&!e.error&&b.logDebug(`CONNECTION @[${(new Date).toUTCString()}] >>> send msg with id ${this.packageId} successed`)})))),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n),this.packageId}))}sendEncryptedMsg(e,t){return o(this,arguments,void 0,(function*(e,t,r=l.OKXCONNECTOR_MESSAGE_TTL){this.refreshPackageId();let n={id:this.packageId.toString(),method:a.CONNECT_METHOD_PUBLISH,jsonrpc:l.CONNECT_JSONRPC_VER,params:{message:{topic:e,message:t,ttl:r}}};this.events.once(this.packageId.toString(),(e=>o(this,void 0,void 0,(function*(){e&&e.error?b.logError(`@${(new Date).toUTCString()} >>> failed when send msg`):e&&!e.error&&b.logDebug(`CONNECTION @[${(new Date).toUTCString()}] >>> send msg with id ${this.packageId} successed`)})))),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n)}))}send(e){return o(this,arguments,void 0,(function*(e,t=l.OKXCONNECTOR_MESSAGE_TTL){if(b.logDebug(`message send =====> ${e}`),b.reportLog("connect send msg"),!this.isWalletPKReady())throw new Error("connection not finish");let r=this.crypto.encrypt(e,this.connectedWalletPK);b.logDebug(`message send =====encrypt message.length>>>> ${r.length}`),b.reportEvent(v.OKXReportType.LOG,"msg_size",r.length.toString());let n=this.connectStorage.getItem(c.OKXCONNECTOR_TOKEN_CACHE);return b.logDebug(`message send =====topic>>>> ${n?.content}`),yield this.splitManager.sendSplitPackages(n?.content,r,this.sendEncryptedMsg.bind(this),this.sendRaw.bind(this)),this.packageId}))}sendACK(e,t){return o(this,arguments,void 0,(function*(e,t,r=void 0){if(!0===t){let t={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,result:!0};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),t)}else if(r){let t={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,error:{code:r.code,message:r.message}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),t)}}))}sendReceive(e,t,r){return o(this,void 0,void 0,(function*(){let n={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_RECEIVE,params:{data:{messageId:t,topic:r}}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n)}))}sendFetchAndConsumeMessages(e,t){return o(this,void 0,void 0,(function*(){this.events.once(e,(e=>o(this,void 0,void 0,(function*(){var r,n;if(e.result){var i=e.result.hasMore,o=e.result.data;let r=e.result.disconnectedTopics;if(r)try{for(let e=0;e<r.length;e++){let t=r[e];if(t.topic){(0,w.logDebug)("send receive disconnect:",t.topic),yield this.sendRecvDisconnect(t.topic);let e=(0,y.safeJsonStringify)({requestId:t.publishedAt.toString(),method:"disconnect"}),r={messageId:t.publishedAt.toString(),message:(0,y.safeJsonStringify)({message:e}),topic:t.topic,publishedAt:t.publishedAt};yield this.connector.getMsgPayloadFromHistory(r)}}}catch(e){b.logError("disconnect topic fails",e)}if(o)for(let e=0;e<o.length;e++){let r=o[e];if(r&&r.topic==t){let e=r.messageId;b.reportLog("5. get fetch result"),this.splitManager.tryParseMessageSplitPayload(r.message)?(yield this.connector.getMsgPayloadFromHistory(r),b.logDebug("skip receive")):(yield this.connector.getMsgPayloadFromHistory(r),this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),e,t))}}i&&(this.refreshPackageId(),yield this.sendFetchAndConsumeMessages(this.packageId.toString(),t))}else b.logDebug(`CONNECT: get error rsp ${null===(r=e.error)||void 0===r?void 0:r.code} : ${null===(n=e.error)||void 0===n?void 0:n.message}`)})))),b.logDebug("5. send fetch more"),b.reportLog("5. send fetch more");let r=(new Date).getTime();(0,w.logDebug)("ConnectTime---5->",r-this.timeLog);let n={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_FETCHMSG,params:{data:{topic:t}}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return b.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n)}))}cleanCache(){b.reportLog("connection cache clean called"),this.connectStorage.clearCache()}saveSessionContent(e,t){t||this.connectStorage.clearCache(c.OKXCONNECTOR_SESSION_PREFIX_KEY+e);let r=(0,y.safeJsonStringify)(t);this.connectStorage.encryptStoreMsg(r,c.OKXCONNECTOR_SESSION_PREFIX_KEY+e)}getSessionContent(e){try{let t=this.connectStorage.getAndDecrypt(c.OKXCONNECTOR_SESSION_PREFIX_KEY+e);if(t)return(0,y.safeJsonParse)(t)}catch{this.connectStorage.clearCache(c.OKXCONNECTOR_SESSION_PREFIX_KEY+e)}}getCurrentConnectionReady(){let e=!1;try{this.getCachedCryptoKeyPair()&&(e=!0)}catch{b.logError("check connection ready failed")}return this.isWalletPKReady()&&e}getCryptoKeyEnable(){let e=!1;try{this.getCachedCryptoKeyPair()&&(e=!0)}catch{b.logError("check connection ready failed")}return e}checkExpire(e){let t=!1;if(0==e.length)return(0,w.logDebug)("checkExpire: invalid topic"),t;let r=this.getSessionContent(c.OKXCONNECTOR_STORAGE_TOPIC_EXPIRE_CACHE);return r&&r.topic?r.topic==e?Date.now()>r.timestamp&&((0,w.logDebug)("checkExpire: connection is Expired"),t=!0):((0,w.logDebug)("checkExpire: not same connection"),t=!1):((0,w.logDebug)("checkExpire: not topic records"),this.updateExpireLimit(e),t=!1),t}updateExpireLimit(e){(0,w.logDebug)(`update expire limit for topic: ${e}`);let t={topic:e,timestamp:Date.now()+l.OKXCONNECTOR_SESSION_LIVE_TTL};this.saveSessionContent(c.OKXCONNECTOR_STORAGE_TOPIC_EXPIRE_CACHE,t)}activateDisconnect(){return o(this,void 0,void 0,(function*(){let e=(0,y.safeJsonStringify)({requestId:"",method:"disconnect"}),t={messageId:"",message:(0,y.safeJsonStringify)({message:e}),topic:this.currentTopic,publishedAt:0};yield this.connector.getMsgPayloadFromHistory(t)}))}}})),pBe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.WalletConnectionManagerEvent=e.WalletConnectionManagerTopicInfoCacheKey=void 0,e.WalletConnectionManagerTopicInfoCacheKey="wcmtic",e.WalletConnectionManagerEvent={RECEIVE_REQUEST:"payload"}})),xBe=W((e=>{"use strict";m();var t,r=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||(t=function(e){return(t=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var o=t(e),s=0;s<o.length;s++)"default"!==o[s]&&r(i,e,o[s]);return n(i,e),i}),o=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.WalletConnectionManager=void 0;var s=H9(),a=tee(),c=PT(),u=ree(),l=OT(),d=pBe(),h=vee(),f=Qf(),p=fO(),g=Zf(),y=iee(),b=mee(),w=bv(),v=i(Ks()),A=Ks(),E=Ao();e.WalletConnectionManager=class{constructor(){this.events=new f.EventEmitter,this.communicateEvents=new f.EventEmitter,this.splitManager=new h.ConnectionSplitPackages("wallet"),v.logDebug("connect manager construct"),this.connectStorage=new p.Storage(c.OKXCONNECTOR_CACHE_KEY),this.jwtKeyPair=this.getCachedJWTKeyPair(),this.saveJWTKeyPair(this.jwtKeyPair),this.connector=new s.OKXWalletConnector(l.OKXCONNECTOR_WS_URL_1),this.packageId=Date.now(),this.sessionCryptoInfoMap=new Map,this.inLogin=!1,this.isLogined=!1}refreshPackageId(e=0){let t=Date.now()+e;t==this.packageId&&(this.packageId=t+1),this.packageId=t}saveCryptoKeyPair(e,t){let r=(0,w.safeJsonStringify)(t);this.connectStorage.encryptStoreMsg(r,c.OKXCONNECTOR_CRYPTO_KEY+e)}getCachedCryptoKeyPair(e){let t=this.connectStorage.getAndDecrypt(c.OKXCONNECTOR_CRYPTO_KEY+e);return"string"==typeof t?(v.logDebug("get cached crypto key:"),v.logDebug(t),(0,w.safeJsonParse)(t)):(this.connectStorage.clearCache(),null)}saveJWTKeyPair(e){var t={publicKey:(0,g.toHexString)(e.publicKey),secretKey:(0,g.toHexString)(e.secretKey)};v.logDebug("save jwt kp");let r=(0,w.safeJsonStringify)(t);v.logDebug(r),this.connectStorage.encryptStoreMsg(r,c.OKXCONNECTOR_JWT_KEY),v.logDebug("after save jwt kp")}getCachedJWTKeyPair(){let e=this.connectStorage.getAndDecrypt(c.OKXCONNECTOR_JWT_KEY);if("string"==typeof e){v.logDebug("get cached jwt kp:"),v.logDebug(e);let t=(0,w.safeJsonParse)(e);return v.logDebug("save jwt kp"),v.logDebug(t),{publicKey:(0,g.hexToByteArray)(t.publicKey),secretKey:(0,g.hexToByteArray)(t.secretKey)}}return(0,b.generateKeyPair)()}isTopicPublicKeyExist(e){return v.logDebug(`isTopicPublicKeyExist  ===> ${e}`),this.sessionCryptoInfoMap.get(e)}makeJWT(e){return o(this,void 0,void 0,(function*(){return yield(0,b.signJWT)(e,u.OKXCONNECTOR_JWT_WALLET_SIDE,u.OKXCONNECTOR_JWT_TTL,this.jwtKeyPair)}))}parseInternalMsg(e){try{let t=(0,w.safeJsonParse)(e)["ivur-igbfft-ptjip"];if(t&&t.length>0)return(0,E.base64decode)(t,!0).toString()}catch(e){v.logError("parse internal msg",e)}}updateClientId(e,t){let r=this.sessionCryptoInfoMap.get(e);if((0,A.logDebug)("updateClientId",r,e,t),r&&t&&t.length>0){if(r.cid){let n=(0,g.getLastSixMd5Hash)(t);r.cid==n?r.dappPublicKey=t:v.logError("cid check failed",r,e,t)}else r.dappPublicKey=t;this.syncCacheSessionInfo()}return!1}parsePackage(e,t){return o(this,arguments,void 0,(function*(e,t,r=!1){var n,i,s,c,u,l,d,h,f,p,g,y,m,b,T,C,S;this.events.emit(t.id,t);let I=this.sessionCryptoInfoMap.get(e);v.logDebug("get sessionInfo for decrypt topic:",e),v.logDebug("get sessionInfo for decrypt:",t.id,e,I,this.sessionCryptoInfoMap);let O=!1;if(I&&t.params.data&&null!==(n=t.params.data)&&void 0!==n&&n.message)if(null!==(i=t.params.data)&&void 0!==i&&i.isInternalData){let e=null===(s=t.params.data)||void 0===s?void 0:s.message,r=null===(c=t.params.data)||void 0===c?void 0:c.topic,n=this.parseInternalMsg(e);(0,A.logDebug)("parse internal origin: ",n),n&&n.length>0&&this.communicateEvents.emit("origin",n,r)}else try{let r=null===(u=t.params.data)||void 0===u?void 0:u.message;if(t.method&&t.method===a.CONNECT_METHOD_PUSH&&((0,A.logDebug)("checkExpire: update expire when get push"),this.updateExpireLimit(e)),r.trimStart().startsWith("{")){let n=this.splitManager.tryParseMessageSplitPayload(r);if(n){(0,A.logDebug)("parse split msg object: ",n),O=!0;let r={topicId:null===(d=null===(l=t.params)||void 0===l?void 0:l.data)||void 0===d?void 0:d.topic,messageId:null===(f=null===(h=t.params)||void 0===h?void 0:h.data)||void 0===f?void 0:f.messageId,messageObject:n,publishedAt:null===(g=null===(p=t.params)||void 0===p?void 0:p.data)||void 0===g?void 0:g.publishedAt},i=yield this.splitManager.onReceivedPackageCheck(r);if(i.completeMessageIdList&&i.completeMessageIdList.forEach((t=>o(this,void 0,void 0,(function*(){this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),t,e)})))),i.finalMessage){let t=I.crypto.decryptWallet(i.finalMessage,I.dappPublicKey);(0,A.logDebug)("<<< receive msg from split:",e,t),this.communicateEvents.emit(e,t)}}else{let t=(0,w.safeJsonParse)(r);if(t.method){if("session_info"==t.method){let r=t.params.sessionInfo,n=(0,E.base64decode)(r,!1);(0,A.logDebug)("wallet connection manager requset base64Content:",n),(0,A.logDebug)("base64Content:"+n);let i=n.toObject();this.updateClientId(e,i.clientId)}(0,A.logDebug)("<<< parse raw msg:",e,t),this.communicateEvents.emit(e,r)}}}else{let r=I.crypto.decryptWallet(null===(y=t.params.data)||void 0===y?void 0:y.message,I.dappPublicKey);(0,A.logDebug)("<<< receive msg:",e,r),this.communicateEvents.emit(e,r)}}catch{let r=I.crypto.decryptWallet(null===(m=t.params.data)||void 0===m?void 0:m.message,I.dappPublicKey);(0,A.logDebug)("<<< receive msg:",e,r),this.communicateEvents.emit(e,r)}if(!r&&(yield this.sendACK(t.id,!0),e&&!O)){let r=t;null!==(T=null===(b=r.params)||void 0===b?void 0:b.data)&&void 0!==T&&T.messageId&&(this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),null===(S=null===(C=r.params)||void 0===C?void 0:C.data)||void 0===S?void 0:S.messageId,e))}}))}recovrySessionInfoFromCache(){let e=this.connectStorage.getAndDecrypt(d.WalletConnectionManagerTopicInfoCacheKey);if(v.logDebug("get cached sessionInfos:",e),e){let t=(0,w.safeJsonParse)(e);for(let e in t){let r=t[e];v.logDebug("make topicItem:",r);let n={topic:e,crypto:new y.SessionCrypto({publicKey:r.cryptoKeyPair.publicKey,secretKey:r.cryptoKeyPair.secretKey}),dappPublicKey:r.dappPublicKey,cid:r.cid};this.sessionCryptoInfoMap.set(e,n)}}v.logDebug("get cached sessionInfos map:",this.sessionCryptoInfoMap)}syncCacheSessionInfo(){let e={};for(let[t,r]of this.sessionCryptoInfoMap)v.logDebug("for each Keys",t),r&&(e[t]={cryptoKeyPair:r.crypto.stringifyKeypair(),dappPublicKey:r.dappPublicKey,cid:r.cid});let t=(0,w.safeJsonStringify)(e);v.logDebug("sync cache sessionInfos:",t),this.connectStorage.encryptStoreMsg(t,d.WalletConnectionManagerTopicInfoCacheKey)}cacheSessionInfo(e,t,r=!0){let n=t.dappPublicKey,i=[];for(let[e,t]of this.sessionCryptoInfoMap)v.logDebug("for each Keys",e),t.dappPublicKey==n&&(v.logDebug("duplicated dapp public key:",e,n),i.push(e));for(let[e,t]of this.sessionCryptoInfoMap)i.includes(e)&&this.sessionCryptoInfoMap.delete(e);return v.logDebug("cleaned connect session cache:",this.sessionCryptoInfoMap),this.sessionCryptoInfoMap.set(e,t),v.logDebug("cache sessionInfo:",e,t,this.sessionCryptoInfoMap),r&&this.syncCacheSessionInfo(),i}updateProtocolVersion(e,t){this.splitManager.updateTopicSenderVersion(e,t)}appendTopic(e,t,r){return o(this,void 0,void 0,(function*(){return(0,A.logDebug)("4.1. get append Topic:",e),new Promise(((n,i)=>o(this,void 0,void 0,(function*(){if(!this.isLogined){var o=new Error;return o.message="connection is not logined",o.name="append error",void i(o)}let s={topic:e,crypto:new y.SessionCrypto,dappPublicKey:t||"",cid:r},a=this.cacheSessionInfo(e,s,!1);yield this.subscribeTopics(Array.from([e])),this.refreshPackageId(),v.logDebug(`5. subscribe callback then fetch append message: ${this.packageId}, ${e}`),v.reportLog("5. subscribe callback then fetch append message");let c=(new Date).getTime();(0,A.logDebug)("Append --subscribe callback->",c-this.timeLog),n(a)}))))}))}confirmAppendingTopics(){this.syncCacheSessionInfo()}connect(){return o(this,void 0,void 0,(function*(){this.timeLog=(new Date).getTime(),(0,A.logDebug)("[Wallet] ConnectTime---enter->",this.timeLog),v.reportLog("wallet connect connect called");let e=Date.now().toString();var t=yield this.makeJWT(e);return v.logDebug(`generate jwt token: ${t}`),this.connectStorage.saveContent(t,"jwt"),this.recovrySessionInfoFromCache(),new Promise(((e,r)=>{this.inLogin=!0,this.connector.onOpen((()=>o(this,void 0,void 0,(function*(){v.logDebug("1. connector on open"),v.reportLog("1. wallet connect connect on open");let n=(new Date).getTime();(0,A.logDebug)("ConnectTime---open->",n-this.timeLog),this.events.once(this.packageId.toString(),(t=>o(this,void 0,void 0,(function*(){if(t&&t.error){v.logError("failed when login"),yield this.connector.disconnect();var n=new Error;n.message=t.error.message,n.name=t.error.code.toString(),r(n)}else this.isLogined=!0,e(),v.logDebug("3. subscribe cached topics",this.sessionCryptoInfoMap),v.reportLog("3. wallet connect connect subscribe cached topics"),this.sessionCryptoInfoMap.size>0&&(yield this.subscribeTopics(Array.from(this.sessionCryptoInfoMap.keys())))})))),v.logDebug("2. login called"),v.reportLog("2. wallet connect login called"),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),{id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_LOGIN,params:{token:t}})})))),this.connector.connect().catch((e=>{(0,A.logDebug)("WalletConnectionManager connect error",e),r(e)})),this.connector.addPackageParse((e=>{var t,r;v.logDebug("connect: parse package"),v.logDebug(e),"params"in e&&"data"in e.params?null!==(t=e.params.data)&&void 0!==t&&t.topic&&this.parsePackage(null===(r=e.params.data)||void 0===r?void 0:r.topic,e,e.method===a.CONNECT_METHOD_RECEIVE):this.parsePackage("",e,!0)}))}))}))}getSessionPublicKey(e){if(this.isTopicPublicKeyExist(e)){let t=this.sessionCryptoInfoMap.get(e);if(t)return(0,g.toHexString)(t.crypto.keyPair.publicKey)}}getCurrentCachedTopicIdList(){return Array.from(this.sessionCryptoInfoMap.keys())}sendDisconnect(e){return o(this,void 0,void 0,(function*(){this.refreshPackageId();let t={id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_DISCONNECT,params:{message:{topic:e,ttl:l.OKXCONNECTOR_MESSAGE_DISCONNECT_TTL}}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),t)}))}sendRecvDisconnect(e){return o(this,void 0,void 0,(function*(){this.refreshPackageId();let t={id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_RECV_DISCONNECT,params:{topic:e}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),t)}))}disconnect(){return o(this,arguments,void 0,(function*(e=!1){yield this.connector.disconnect(),this.connectStorage.clearCache(c.OKXCONNECTOR_TOKEN_CACHE),e||this.connectStorage.clearCache(c.OKXCONNECTOR_CRYPTO_SENDER_PK_CACHE)}))}sendRaw(e,t){return o(this,void 0,void 0,(function*(){t&&(yield this.sendMsg(t,e,l.OKXCONNECTOR_MESSAGE_TTL))}))}sendMsg(e,t,r){return o(this,void 0,void 0,(function*(){if(t){this.refreshPackageId();let n={id:this.packageId.toString(),method:a.CONNECT_METHOD_PUBLISH,jsonrpc:l.CONNECT_JSONRPC_VER,params:{message:{topic:e,message:t,ttl:r}}};this.events.once(this.packageId.toString(),(e=>o(this,void 0,void 0,(function*(){e&&e.error?v.logError(`@${(new Date).toUTCString()} >>> failed when send msg`):e&&!e.error&&v.logDebug(`CONNECTION @[${(new Date).toUTCString()}] >>> send msg with id ${this.packageId} successed`)})))),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n)}}))}send(e,t){return o(this,arguments,void 0,(function*(e,t,r=!1,n=l.OKXCONNECTOR_MESSAGE_TTL,i=!1){var o,s;if(v.logDebug(`message send =====> ${t}`),!this.isTopicPublicKeyExist(e))throw new Error("connection not finish");let a,c=null===(o=this.sessionCryptoInfoMap.get(e))||void 0===o?void 0:o.dappPublicKey,u=null===(s=this.sessionCryptoInfoMap.get(e))||void 0===s?void 0:s.crypto;i&&(a={message:t});let d=!1;if(u&&c&&!i){d=!0,a={message:u.encryptWallet(t,c)}}if(a){r&&u&&(a.clientId=(0,g.toHexString)(u.keyPair.publicKey));let t=(0,w.safeJsonStringify)(a);!i&&d?yield this.splitManager.sendSplitPackages(e,t,this.sendMsg.bind(this),this.sendRaw.bind(this)):yield this.sendMsg(e,t,n)}}))}sendACK(e,t){return o(this,arguments,void 0,(function*(e,t,r=void 0){if(!0===t){let t={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,result:!0};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),t)}else if(r){let t={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,error:{code:r.code,message:r.message}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),t)}}))}sendReceive(e,t,r){return o(this,void 0,void 0,(function*(){let n={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_RECEIVE,params:{data:{messageId:t,topic:r}}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n)}))}sendUnsubscribe(e){return o(this,void 0,void 0,(function*(){yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),{id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_UNSUB,params:{topic:e}});try{yield this.sendDisconnect(e)}catch(e){v.logError("send disconnect command failed",e)}this.sessionCryptoInfoMap.delete(e),this.syncCacheSessionInfo()}))}sendFetchAndConsumeMessages(e,t){return o(this,void 0,void 0,(function*(){this.events.once(e,(e=>o(this,void 0,void 0,(function*(){var r,n;if(e.result){var i=e.result.hasMore,o=e.result.data;if(o)for(let e=0;e<o.length;e++){let r=o[e];if(r&&r.topic==t){let e=r.messageId;yield this.connector.getMsgPayloadFromHistory(r),this.refreshPackageId(),yield this.sendReceive(this.packageId.toString(),e,t)}}i&&(this.refreshPackageId(),yield this.sendFetchAndConsumeMessages(this.packageId.toString(),t))}else v.logDebug(`CONNECT: get error rsp ${null===(r=e.error)||void 0===r?void 0:r.code} : ${null===(n=e.error)||void 0===n?void 0:n.message}`)})))),v.logDebug("5. send fetch more");let r=(new Date).getTime();(0,A.logDebug)("ConnectTime---5->",r-this.timeLog);let n={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_FETCHMSG,params:{data:{topic:t}}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n)}))}sendBatchFetchAndConsumeMessages(e,t){return o(this,void 0,void 0,(function*(){this.events.once(e,(e=>o(this,void 0,void 0,(function*(){var r,n;if(e.result){var i=e.result.hasMore,o=e.result.data;let r=e.result.disconnectedTopics;if(r)try{for(let e=0;e<r.length;e++){let t=r[e];if(t.topic){(0,A.logDebug)("send receive disconnect:",t.topic),yield this.sendRecvDisconnect(t.topic);let e=(0,w.safeJsonStringify)({requestId:t.publishedAt.toString(),method:a.CONNECT_METHOD_DISCONNECT}),r={messageId:t.publishedAt.toString(),message:(0,w.safeJsonStringify)({message:e}),topic:t.topic,publishedAt:t.publishedAt};yield this.connector.getMsgPayloadFromHistory(r)}}}catch(e){v.logError("disconnect topic fails",e)}if(o)for(let e=0;e<o.length;e++){let t=o[e];if(t&&t.topic)if(this.splitManager.tryParseMessageSplitPayload(t.message))yield this.connector.getMsgPayloadFromHistory(t);else{let r=t.messageId;yield this.connector.getMsgPayloadFromHistory(t),this.refreshPackageId(e),yield this.sendReceive(this.packageId.toString(),r,t.topic)}}i&&(this.refreshPackageId(),yield this.sendBatchFetchAndConsumeMessages(this.packageId.toString(),t))}else v.logDebug(`CONNECT: get error rsp ${null===(r=e.error)||void 0===r?void 0:r.code} : ${null===(n=e.error)||void 0===n?void 0:n.message}`)})))),v.logDebug("5. send fetch more"),v.reportLog("5. send fetch more");let r=(new Date).getTime();(0,A.logDebug)("ConnectTime---5->",r-this.timeLog);let n={id:e,jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_BATCH_FETCHMSG,params:{topics:t,withInternalData:!0}};yield this.connector.send((()=>o(this,void 0,void 0,(function*(){v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),n)}))}cleanCache(){return o(this,void 0,void 0,(function*(){this.connectStorage.clearCache()}))}saveSessionContent(e,t){t||this.connectStorage.clearCache(c.OKXCONNECTOR_SESSION_PREFIX_KEY+e);let r=(0,w.safeJsonStringify)(t);this.connectStorage.encryptStoreMsg(r,c.OKXCONNECTOR_SESSION_PREFIX_KEY+e)}getSessionContent(e){let t=this.connectStorage.getAndDecrypt(c.OKXCONNECTOR_SESSION_PREFIX_KEY+e);if(t)return(0,w.safeJsonParse)(t)}subscribeTopics(e){return o(this,void 0,void 0,(function*(){(0,A.logDebug)("4. topicid list",e),v.reportLog("4. topicid list"),this.refreshPackageId();let t=(new Date).getTime();return(0,A.logDebug)("ConnectTime--subscribe callback->",t-this.timeLog),new Promise(((t,r)=>o(this,void 0,void 0,(function*(){let r=0;for(let n=0;n<e.length;++n){let i=e[n];this.refreshPackageId(n),this.events.once(this.packageId.toString(),(s=>o(this,void 0,void 0,(function*(){if(s&&s.error){v.logError("failed when subscribe"),yield this.connector.disconnect();var o=new Error;o.message=s.error.message,o.name=s.error.code.toString(),r+=1,r==e.length&&t()}this.refreshPackageId(n);let a=(new Date).getTime();(0,A.logDebug)("ConnectTime--subscribe callback->",a-this.timeLog),r+=1,r==e.length&&(v.logDebug(`5. send fetch msg: ${this.packageId}, ${i}`),yield this.sendBatchFetchAndConsumeMessages(this.packageId.toString(),e),yield this.splitManager.init(this.sendRaw.bind(this)),this.checkExpire(i)?((0,A.logDebug)("disconnect From topic expire"),yield this.activateDisconnect(i)):((0,A.logDebug)("extends expire check"),this.updateExpireLimit(i)),t())})))),v.logDebug(`3. login callback then send subscribe: ${this.packageId}, ${i}`),v.reportLog("3. login callback then send subscribe");let s=(new Date).getTime();(0,A.logDebug)("ConnectTime---login callback->",s-this.timeLog),yield this.connector.send((()=>o(this,void 0,void 0,(function*(){return v.logDebug("CONNECT: reconnect before send"),yield this.connector.connect()}))),{id:this.packageId.toString(),jsonrpc:l.CONNECT_JSONRPC_VER,method:a.CONNECT_METHOD_SUB,params:{topic:i}})}}))))}))}checkExpire(e){let t=!1;if(0==e.length)return(0,A.logDebug)("checkExpire: invalid topic"),t;let r=this.getSessionContent(c.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE);if(r&&r instanceof Object)try{let n=new Map(Object.entries(r)).get(e);n?Date.now()>n&&((0,A.logDebug)("checkExpire: connection is Expired"),t=!0):((0,A.logDebug)("checkExpire: not same connection"),t=!1)}catch{(0,A.logDebug)("checkExpire: cache error"),t=!1}else(0,A.logDebug)("checkExpire: not topic records"),this.updateExpireLimit(e),t=!1;return t}updateExpireLimit(e){(0,A.logDebug)(`update expire limit for topic: ${e}`);try{let t=this.getSessionContent(c.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE),r=new Map;t&&(r=new Map(Object.entries(t)));let n=Date.now()+l.OKXCONNECTOR_SESSION_LIVE_TTL;r.set(e,n),this.saveSessionContent(c.OKXCONNECTOR_STORAGE_TOPIC_WALLET_EXPIRE_CACHE,Object.fromEntries(r))}catch{(0,A.logDebug)("update cache failed")}}activateDisconnect(e){return o(this,void 0,void 0,(function*(){let t=(0,w.safeJsonStringify)({requestId:"",method:a.CONNECT_METHOD_DISCONNECT}),r={messageId:"",message:(0,w.safeJsonStringify)({message:t}),topic:e,publishedAt:0};yield this.connector.getMsgPayloadFromHistory(r)}))}}})),E0=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CONNECTOR_TYPE=e.STANDARD_INJECT_WALLET=e.OKX_TG_WALLET=e.OKX_APP_COMMON_WALLET=e.OKX_WALLET_APP_WALLET=e.OKX_APP_WALLET=e.OKX_INJECT_WALLET=void 0;var t=zi(),r=zU();e.OKX_INJECT_WALLET=r.OKXInjectWalletName,e.OKX_APP_WALLET=t.OKXWalletName,e.OKX_WALLET_APP_WALLET=t.OKXWalletName,e.OKX_APP_COMMON_WALLET=t.OKXWalletName,e.OKX_TG_WALLET=r.OKXMiniWalletName,e.STANDARD_INJECT_WALLET="standard_inject_wallet",e.CONNECTOR_TYPE={NOT_INSTALLED:-1,WS:{OKX_APP_WALLET:100,OKX_TG_WALLET:110,OKX_WALLET_APP_WALLET:120,OKX_APP_COMMON:130},INJECT:{OKX_INJECT_WALLET:200,STANDARD_INJECT_WALLET:210},KEYLESS:{APPLE_WALLET:300,GOOGLE_WALLET:310}}})),Cee=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.buildNameSpacesByConnectResponse=function(e){return r(e)},e.buildRequestAccountNameSpacesByConnectResponse=r,e.buildAccountNameSpaces=n,e.findConnectorBySession=function(e,t,r){let n;if(r&&r.connectWalletType&&(n=e.find((e=>e.getType()===r.connectWalletType))),!n){let r=t?.appName;r&&(n=e.find((e=>e.getTag()===r)))}return n};var t=Ks();function r(e){let r={};(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse start connectResponse111>>",JSON.stringify(e));let i=e.payload.responses.find((e=>"requestAccounts"===e.name));if(i&&i.accounts){let e=[];for(let r of i.accounts)"ton"===r.namespace?r.data&&r.data.ton_addr&&r.data.ton_addr.address&&r.data.ton_addr.address.length>0&&((0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse start TON>>",JSON.stringify(r)),e.push(r)):((0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse start other>>",JSON.stringify(r)),e.push(r));i.accounts=e}let o=e.payload.responses.find((e=>"ton_addr"===e.name)),s=e.payload.responses.find((e=>"ton_proof"===e.name));if(o&&!i){(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse adapt ton data >>");let e=o.address;e="ton:"+o.network+":"+e;let r={ton_addr:o};s&&(r.ton_proof=s),i={name:"requestAccounts",accounts:[{namespace:"ton",addresses:[e],methods:["ton_sendTransaction"],extra:{},data:r}]}}return(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse end universalResponse>>>",JSON.stringify(i)),n(i.accounts,r),r}function n(e,r){e.forEach((e=>{var n=[],i=[];e.addresses.forEach((e=>{var r=e.split(":");if((0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse addressArr>>",r.length),r.length>=3){let o=r.slice(0,2).join(":");n.push(o),i.push(e),(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse chain:>>",o,"addressItem:",e)}})),e.data&&e.data.ton_addr&&(e.data.ton_addr.name="ton_addr"),e.data&&e.data.ton_proof&&(e.data.ton_proof.name="ton_proof"),r[e.namespace]={chains:n,accounts:i,methods:e.methods,extra:e.extra,payload:e.data},(0,t.logDebug)("buildRequestAccountNameSpacesByConnectResponse result>>",JSON.stringify(r))}))}})),CBe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Engine=void 0;var r=zi(),n=OT(),i=Ao(),o=E0(),s=Eee(),a=Cee();e.Engine=class{constructor(e){this.connectors=[],this.useConnector=void 0,this.wsOpenWalletConnector=void 0,this.sessionRetryTimer=null,this.connectionManager=new s.ConnectionManager(e),this.addConnectionListener()}getConnector(){if(this.useConnector)return this.useConnector}setAccountChangeListener(e){this.accountChangeListener=e,(0,i.logDebug)("setAccountChangeListener: engine",e);for(let t of this.connectors)t.setAccountChangeListener(e)}registerConnector(e){this.connectors=e;for(let t of e)t.setConnectionManager(this.connectionManager);this.accountChangeListener&&this.setAccountChangeListener(this.accountChangeListener)}getAllConnectors(){return this.connectors}hasWsConnector(){for(let e of this.connectors)if(this.isWsConnector(e))return!0;return!1}isWsConnector(e){return!!e&&Object.values(o.CONNECTOR_TYPE.WS).includes(e.getType())}isInjectedConnector(e){return!!e&&(Object.values(o.CONNECTOR_TYPE.INJECT).includes(e.getType())||Object.values(o.CONNECTOR_TYPE.KEYLESS).includes(e.getType()))}universalConnect(e,n,s){return t(this,void 0,void 0,(function*(){return this.addConnectionListener(),this.wsOpenWalletConnector=void 0,new Promise(((c,u)=>t(this,void 0,void 0,(function*(){var t,l,d,h,f;try{(0,i.logDebug)("engine universalConnect request :",JSON.stringify(e)),(0,i.logDebug)("engine universalConnect sessionConfig :",JSON.stringify(n));let p=[];e.forEach((e=>{let t=e.name;(t.startsWith("requestAccounts")||t.startsWith("ton"))&&p.push(e)})),(0,i.logDebug)("engine universalConnect universalRequest :",JSON.stringify(p));let g=this.connectionManager.getConnectInfo(),y=Date.now().toString(),m=null!==(t=n.openUniversalUrl)&&void 0!==t&&t,b=null!==(l=n.openAppLinkType)&&void 0!==l?l:r.OpenAppLinkType.UniversalLink,w={protocolVer:Number(r.tonConnectSdkVersion),topic:g.channelId,clientId:g.clientId,requestId:y,dAppInfo:this.fixDappName(n.dappInfo),requests:p,redirect:null!==(d=n?.redirect)&&void 0!==d?d:"none"},v=(0,i.encodeConnectParams)(w);w.redirect=null!==(h=n?.redirect)&&void 0!==h?h:"none",(0,i.logDebug)("engine universalConnect ==>>universalConnectRequest:",JSON.stringify(w));let A=()=>{let e;return e=1==this.connectors.length&&this.connectors[0].getType()===o.CONNECTOR_TYPE.INJECT.OKX_INJECT_WALLET?this.connectors[0]:this.connectors.find((e=>e.getType()===n.connectWalletType)),e?.openWallet({connectRequest:w},b)};this.setWsOpenWallet();let E=(0,i.isIos)();if(E&&m&&((0,i.logDebug)(`engine universalConnect ==>>isIOS: ${E}   openUniversalLink: ${m}`),A()),this.addOnConnectResultListener(((e,t)=>{var o,s,l,d;try{this.stopSendSessionRetry(),this.addOnConnectResultListener(void 0);let u=e;if("connect"==u.method){(0,i.logDebug)("engin  universalConnect success connectResponse:>>>",JSON.stringify(u));let e=(0,a.buildNameSpacesByConnectResponse)(u);if(!e)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR);{let a;null!==(s=null===(o=u.payload)||void 0===o?void 0:o.responses)&&void 0!==s&&s[0]&&"walletName"in u.payload.responses[0]&&(a=u.payload.responses[0].walletName);var h,f=null===(l=u.payload)||void 0===l?void 0:l.wallet.appName;h=t,null==n.connectWalletType&&t.getTag()==r.OKXWalletName&&(n.connectWalletType=t.getType());let d=Object.assign({topic:g.channelId,sessionConfig:n,namespaces:e},u.payload&&{wallet:Object.assign(Object.assign({},u.payload.wallet),{walletName:a})}),p=u.payload.responses.find((e=>"requestAccounts"===e.name));p&&p.connectRequestMethods&&(d.signResponse=p.connectRequestMethods),(0,i.logDebug)("engin  universalConnect success session:>>>",JSON.stringify(d)),this.isWsConnector(h)&&((0,i.logDebug)("engine update protocol version"),this.connectionManager.updateProtocolVersion(g.channelId,u.payload.wallet.maxProtocolVersion)),this.deviceInfo=Object.assign({},d.wallet),c(d),this.setUseConnector(h),(0,i.reportEvent)(i.OKXReportType.PAGE_IN,i.Report_OKXConnectSDKExtension_ConnectDapp_ConnectSuccess_View,f,this.getChainIdsFromSession(d))}}else if("connect_error"==u.method&&null!=(null===(d=u.payload)||void 0===d?void 0:d.code))throw new r.OKXConnectError(u.payload.code)}catch(e){u(e)}})),this.hasWsConnector()){yield null===(f=this.connectionManager)||void 0===f?void 0:f.disconnect(!1);try{yield this.connectionManager.connect()}catch(e){throw(0,i.logDebug)("Engine universalConnect error",e),e}(0,i.logDebug)("engin  universalConnect ==>> connectInfoAndUrl:",s),this.sendSession(v,w.topic,m)}if(!E&&m&&A(),(0,i.logDebug)("engin  universalConnect ==>> connectInfoAndUrl:",s),s){let e={connectRequest:w,redirect:n.redirect,tmaReturnUrl:n.tmaReturnUrl};(0,i.logDebug)("universalConnect connectInfoAndUrl info :",JSON.stringify(e)),s(e)}}catch(e){(0,i.logDebug)("Engine universalConnect catch error",e),u(e)}}))))}))}fixDappName(e){try{if("dapp portal"===e.name.toLowerCase()){let t=document.title;if(t||(t=this.getOGSiteName()),t)return Object.assign(Object.assign({},e),{name:e.name+" - "+t})}return e}catch{return e}}setWsOpenWallet(){this.connectors.filter((e=>this.isWsConnector(e))).forEach((e=>{e.setOpenWalletCalled((e=>{this.wsOpenWalletConnector=e}))}))}getOGSiteName(){let e=document.getElementsByTagName("meta"),t=["og:site_name","og:title","twitter:title"];for(let r of e){let e=r.getAttribute("property");for(let n of t)if(e==n)return r.getAttribute("content")}}addOnConnectResultListener(e){for(let t of this.connectors)this.isInjectedConnector(t)&&t.setOnConnectResultListener(e);this.connectResultListener=e}openWallet(e,t,r){var n;t?t.openWallet(e,r):null===(n=this.getConnector())||void 0===n||n.openWallet(e,r)}send(e,n,o){return t(this,void 0,void 0,(function*(){var t,o,s,a,c,u,l,d,h;let f;"chainId"in e&&null!=e.chainId&&(f=e.chainId.toString());try{if((0,i.reportEvent)(i.OKXReportType.LOG,i.Report_OKXConnectSDK_RequestStart_Log,"",null!==(o=null===(t=this.getConnector())||void 0===t?void 0:t.getTag())&&void 0!==o?o:"",e.method,null!==(a=null===(s=this.deviceInfo)||void 0===s?void 0:s.platform)&&void 0!==a?a:"",f),!this.getConnector())throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);null===(c=this.getConnector())||void 0===c||c.send(e,{resolve:t=>{var r,o,s,a,c,u,l,d,h;null===(r=n?.resolve)||void 0===r||r.call(n,t),"error"in t&&t.error?(0,i.reportEvent)(i.OKXReportType.LOG,i.Report_OKXConnectSDK_RequestError_Log,"",null!==(s=null===(o=this.getConnector())||void 0===o?void 0:o.getTag())&&void 0!==s?s:"",e.method,null!==(c=null===(a=this.deviceInfo)||void 0===a?void 0:a.platform)&&void 0!==c?c:"",f):(0,i.reportEvent)(i.OKXReportType.LOG,i.Report_OKXConnectSDK_RequestSuccess_Log,"",null!==(l=null===(u=this.getConnector())||void 0===u?void 0:u.getTag())&&void 0!==l?l:"",e.method,null!==(h=null===(d=this.deviceInfo)||void 0===d?void 0:d.platform)&&void 0!==h?h:"",f)},onAck:()=>{var e;null===(e=n?.onAck)||void 0===e||e.call(n)}})}catch(t){throw(0,i.reportEvent)(i.OKXReportType.LOG,i.Report_OKXConnectSDK_RequestError_Log,"",null!==(l=null===(u=this.getConnector())||void 0===u?void 0:u.getTag())&&void 0!==l?l:"",e.method,null!==(h=null===(d=this.deviceInfo)||void 0===d?void 0:d.platform)&&void 0!==h?h:"",f),t}}))}clearData(){var e;null===(e=this.getConnector())||void 0===e||e.clearData()}addDisconnectListener(e){var t;null===(t=this.getConnector())||void 0===t||t.addDisconnectListener(e)}saveSessionContent(e,t){this.connectionManager.saveSessionContent(e,t)}getSessionContent(e){var t=this.connectionManager.getSessionContent(e);if(t){if("object"==typeof t&&(0,a.findConnectorBySession)(this.connectors,t.wallet,t.sessionConfig))return t}}setConnectConnector(e,t){var r=e?.appName;r&&this.setUseConnector((0,a.findConnectorBySession)(this.connectors,e,t))}setUseConnector(e){this.useConnector=e,this.isWsConnector(e)&&e.addConnectionListener()}setSessionConnectingListener(e){this.sessionConnectingListener=e}restoreconnect(e,r){return t(this,void 0,void 0,(function*(){this.getConnector()?this.getConnector().restoreconnect(e,(e=>{var t,n;r(e),e&&(this.deviceInfo=Object.assign({},e.wallet),(0,i.reportEvent)(i.OKXReportType.PAGE_IN,i.Report_OKXConnectSDKExtension_ConnectDapp_ConnectSuccess_View,null!==(n=null===(t=this.getConnector())||void 0===t?void 0:t.getTag())&&void 0!==n?n:"",this.getChainIdsFromSession(e)))})):r(null)}))}restoreconnectFromTopic(e){return t(this,void 0,void 0,(function*(){this.isWsConnector(this.getConnector())&&(yield this.getConnector().restoreconnectFromTopic(e))}))}getCurrentConnectionReady(e){var t;return!(null===(t=this.getConnector())||void 0===t||!t.getCurrentConnectionReady(e))}getChainIdsFromSession(e){if(!e.namespaces)return"";let t=new Set;return Object.values(e.namespaces).forEach((e=>{e.chains&&e.chains.forEach((e=>{t.add(e)}))})),Array.from(t).join(",")}connectManagerDisconnect(){return t(this,arguments,void 0,(function*(e=!1){var t,r;this.getConnector()?null===(t=this.getConnector())||void 0===t||t.connectManagerDisconnect(e):yield null===(r=this.connectors.find((e=>this.isWsConnector(e))))||void 0===r?void 0:r.connectManagerDisconnect(e),this.stopSendSessionRetry(),this.setUseConnector(void 0)}))}sendSession(e,r,o){return t(this,void 0,void 0,(function*(){(0,i.logDebug)("[Connect] sendSession called:",e);let s=Date.now().toString(),a={method:"session_info",params:{protocolVersion:n.CONNECT_PROTOCOL_VER,sessionInfo:e}};yield this.connectionManager.sendRaw(JSON.stringify(Object.assign(Object.assign({},a),{requestId:s}))),this.sessionRetryTimer&&clearInterval(this.sessionRetryTimer),o||(this.sessionRetryTimer=setInterval((()=>t(this,void 0,void 0,(function*(){let e=Date.now().toString();(0,i.logDebug)("[Connect] Retrying sendSession..."),yield this.connectionManager.sendSubscribe(r),yield this.connectionManager.sendRaw(JSON.stringify(Object.assign(Object.assign({},a),{requestId:e})))}))),n.OKXCONNECTOR_MESSAGE_TTL))}))}stopSendSessionRetry(){this.sessionRetryTimer&&(clearInterval(this.sessionRetryTimer),this.sessionRetryTimer=null,(0,i.logDebug)("[Connect] Stopped retry for session"))}getDefaultWsConnector(){return this.connectors.find((e=>this.isWsConnector(e)))}addConnectionListener(){var e;null===(e=this.connectionManager)||void 0===e||e.addListener("sdk_response",((e,t)=>{var r=(0,i.safeJsonParse)(t);(0,i.logDebug)(`Engine ==>> addListener ==> success ==> ${r}`),null==this.wsOpenWalletConnector&&(this.wsOpenWalletConnector=this.getDefaultWsConnector()),"connect"===r.method?this.connectResultListener&&this.wsOpenWalletConnector&&this.connectResultListener(r,this.wsOpenWalletConnector):"connect_error"===r.method?this.connectManagerDisconnect(!1).catch((()=>{})).finally((()=>{this.connectResultListener&&this.wsOpenWalletConnector&&this.connectResultListener(r,this.wsOpenWalletConnector)})):"session_connecting"===r.method&&((0,i.logDebug)("Engine ==>> handleResponse_4  ===> sessionConnectingListener"),this.sessionConnectingListener&&((0,i.logDebug)("Engine ==>> handleResponse_4  ===> sessionConnectingListener not null"),this.sessionConnectingListener(),this.sessionConnectingListener=void 0))}),(function(){}))}}})),IBe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.Storage=e.Engine=e.WalletConnectionManager=e.ConnectionManager=e.OKXWalletConnector=void 0;var t=H9();Object.defineProperty(e,"OKXWalletConnector",{enumerable:!0,get:function(){return t.OKXWalletConnector}});var r=Eee();Object.defineProperty(e,"ConnectionManager",{enumerable:!0,get:function(){return r.ConnectionManager}});var n=xBe();Object.defineProperty(e,"WalletConnectionManager",{enumerable:!0,get:function(){return n.WalletConnectionManager}});var i=CBe();Object.defineProperty(e,"Engine",{enumerable:!0,get:function(){return i.Engine}});var o=fO();Object.defineProperty(e,"Storage",{enumerable:!0,get:function(){return o.Storage}})})),Ov=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.BtcMethods=e.SuiMethods=e.TONMethods=e.AptosMethods=e.SOLANAMethods=e.Eip55Methods=void 0,e.hasOKXInjectedProvider=function(){return typeof function(e){let t=(e,r)=>{let[n,...i]=r.split("."),o=e[n];if(o)return 0===i.length?o:t(o,i.join("."))};if(typeof window<"u")return t(window,e)}("okxwallet")<"u"},e.Eip55Methods=["personal_sign","eth_signTypedData_v4","eth_sendTransaction","wallet_addEthereumChain","wallet_watchAsset","wallet_switchEthereumChain","eth_requestAccounts","eth_accounts","eth_chainId"],e.SOLANAMethods=["solana_signTransaction","solana_signMessage","solana_signAllTransactions","solana_signAndSendTransaction"],e.AptosMethods=["aptos_signMessage","aptos_signTransaction","aptos_signAndSubmitTransaction"],e.TONMethods=["ton_sendTransaction"],e.SuiMethods=["sui_signMessage","sui_signPersonalMessage","sui_signTransactionBlock","sui_signAndExecuteTransactionBlock"],e.BtcMethods=["btc_signMessage","btc_signPsbts","btc_send","btc_sendInscription","btc_signAndPushPsbt","btc_inscribeTransfer","btc_sendRunes"]})),rg=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.mediaNotTouch=e.mediaTouch=e.maxWidth=void 0,e.isDevice=function(o){var s;let a=(0,n.getWindow)();if(!a)return"desktop"===o;if((0,r.isTmaPlatform)("weba"))return!0;let c=a.innerWidth;switch(o){case"desktop":return c>e.maxWidth.tablet;case"tablet":return c>e.maxWidth.mobile;default:let r=c<=e.maxWidth.mobile||(0,t.isOS)("ios","android","ipad");if(r){let e=!(null===(s=(0,n.getWindow)())||void 0===s||!s.TelegramWebviewProxy),t=navigator.maxTouchPoints||0;e&&0===t&&(r=!1),(0,i.logDebug)("isDevice mobile isTelegram and maxTouchPoints:",r,e,t)}return r}},e.media=function(t){switch(t){case"mobile":return`@media (max-width: ${e.maxWidth.mobile}px)`;case"tablet":return`@media (max-width: ${e.maxWidth.tablet}px) (min-width: ${e.maxWidth.mobile}px)`;default:return`@media (min-width: ${e.maxWidth.tablet}px)`}},e.mediaMin=function(e){return`@media (min-width: ${e}px)`},e.mediaMax=function(e){return`@media (max-width: ${e}px)`},e.mediaMinMax=function(e,t){return`@media (min-width: ${e}px) and (max-width: ${t}px)`};var t=jU(),r=tO(),n=US(),i=Ks();e.maxWidth={mobile:440,tablet:1020},e.mediaTouch="@media (hover: none)",e.mediaNotTouch="@media not all and (hover: none)"})),PBe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Eip155Provider=void 0;var r=zi(),n=Ao(),i=rg(),o=Ov();e.Eip155Provider=class{constructor(){this.accountChangedEVMHandler=null}send(e){return t(this,void 0,void 0,(function*(){var t;try{(0,n.logDebug)("Eip155Provider send request:",(0,n.safeJsonStringify)(e)),yield this.restoreConnect();let i=null;switch(e.method){case"personal_sign":e.params&&"message"in e.params&&(i={method:e.method,params:[e.params.message,e.address]});break;case"eth_sendTransaction":case"wallet_addEthereumChain":case"wallet_switchEthereumChain":e.params&&(i={method:e.method,params:[e.params]});break;case"eth_signTypedData_v4":e.params&&"typedDataJson"in e.params&&null!==(t=e.params)&&void 0!==t&&t.typedDataJson&&"string"==typeof e.params.typedDataJson&&(i={method:e.method,params:[e.address,e.params.typedDataJson]});break;case"wallet_watchAsset":e.params&&(i={method:e.method,params:e.params});break;default:i={method:e.method,params:e.injectParams}}if(!i)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);if(("wallet_switchEthereumChain"===e.method||"wallet_addEthereumChain"===e.method)&&e.params&&"chainId"in e.params){(0,n.logDebug)("Eip155Provider send request switch requestParams:",(0,n.safeJsonStringify)(i));let t=parseInt(e.params.chainId,16).toString();yield window.okxwallet.request(i);let r=`eip155:${t}:${e.address}`;return(0,n.logDebug)("Eip155Provider send request switch result:",r),{result:r,method:e.method}}{let t=(0,n.getChainId)(e.chainId),r=`0x${Number(t).toString(16)}`;if((0,n.logDebug)("Eip155Provider current chainId:",t,r),r){yield window.okxwallet.request({method:"wallet_switchEthereumChain",params:[{chainId:r}]}),(0,n.logDebug)("Eip155Provider send request requestParams:",r,(0,n.safeJsonStringify)(i));let t=yield window.okxwallet.request(i);return(0,n.logDebug)("Eip155Provider send request result:",(0,n.safeJsonStringify)(t)),{result:t,method:e.method}}}}catch(e){throw(0,n.logDebug)("Eip155Provider encountered an error:",e),e}}))}restoreConnect(){return(0,i.isDevice)("mobile")?window.okxwallet.request({method:"eth_requestAccounts"}):Promise.resolve()}parseConnectResponse(e,i,s,a,c,u){return t(this,void 0,void 0,(function*(){try{let e=[];a.forEach((t=>{t.namespace===r.NameSpaceKeyEip155&&e.push(...t.chains)}));let t=[],i={};return e.forEach((e=>{let r=(0,n.getChainId)(e),o=c.address.find((t=>t.chainId===r&&60===t.coinType||t.namespaceChainId===e));o&&(t.push(e+":"+o.address),i[e]={publicKey:o.publicKey})})),t&&t.length>0?{namespace:r.NameSpaceKeyEip155,addresses:t,methods:[...o.Eip55Methods],extra:i}:void 0}catch(e){throw e}}))}connect(){return t(this,void 0,void 0,(function*(){return window.okxwallet.request({method:"eth_requestAccounts"})}))}singleConnect(){return this.connect()}addAccountChangedListener(e){console.log("window.okxwallet configEventWithKey: eip155"),this.accountChangedEVMHandler=t=>{console.log("window.okxwallet configEventWithKey_evm:",Date.now(),"eip155",t),t&&t.length>0&&e()},window.okxwallet.on("accountsChanged",this.accountChangedEVMHandler)}removeListener(){this.accountChangedEVMHandler&&window.okxwallet.removeListener("accountsChanged",this.accountChangedEVMHandler)}}})),BBe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(PBe(),e)})),kBe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})})),RBe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})})),DBe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(kBe(),e),r(RBe(),e)})),LBe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.SuiStandardProvider=void 0;var r=zi(),n=Ao(),i=rg();e.SuiStandardProvider=class{constructor(e){this.wallet=e}getVersion(){return this.wallet.version}supportChains(e){return 1===e.length&&e[0]===r.SUI_CHAINS.MAINNET}send(e){return t(this,void 0,void 0,(function*(){try{(0,n.logDebug)("suiProvider send request:",JSON.stringify(e));let t,i=e.method;if(e.injectParams&&this.wallet){let n=e.injectParams;switch(i){case"sui_signTransactionBlock":let e;if(this.wallet.features["sui:signTransaction"])e=yield this.wallet.features["sui:signTransaction"].signTransaction(n);else{if(!this.wallet.features["sui:signTransactionBlock"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);e=yield this.wallet.features["sui:signTransactionBlock"].signTransactionBlock(n)}t={method:"sui_signTransactionBlock",result:e?.signature};break;case"sui_signAndExecuteTransactionBlock":let i;if(this.wallet.features["sui:signAndExecuteTransaction"])i=yield this.wallet.features["sui:signAndExecuteTransaction"].signAndExecuteTransaction(n);else{if(!this.wallet.features["sui:signAndExecuteTransactionBlock"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);i=yield this.wallet.features["sui:signAndExecuteTransactionBlock"].signAndExecuteTransactionBlock(n)}t={method:"sui_signAndExecuteTransactionBlock",result:i.digest};break;case"sui_signMessage":t={method:"sui_signMessage",result:(yield this.wallet.features["sui:signMessage"].signMessage(n)).signature};break;case"sui_signPersonalMessage":t={method:"sui_signPersonalMessage",result:(yield this.wallet.features["sui:signPersonalMessage"].signPersonalMessage(n)).signature}}}return t}catch(e){throw(0,n.logDebug)("suiProvider send error:",e),e}}))}addAccountChangedListener(){}removeListener(){}disconnect(){return t(this,void 0,void 0,(function*(){}))}connect(){return t(this,void 0,void 0,(function*(){return this.wallet.features["standard:connect"].connect()}))}restoreConnect(){return(0,i.isDevice)("mobile")?this.connect():Promise.resolve()}getAccount(e){return t(this,void 0,void 0,(function*(){var e,t;let n=yield this.connect();if(!n)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR);e=n?.address;let i=null!==(t=n?.publicKey)&&void 0!==t?t:"";i instanceof Uint8Array&&(i=this.normalizeUint8Array(i),i=btoa(String.fromCharCode(...i)));let o={};return o[r.SUI_CHAINS.MAINNET]={publicKey:i},{namespace:r.NameSpaceKeySui,addresses:[`${r.SUI_CHAINS.MAINNET}:${n.address}`],methods:n.features,extra:o}}))}normalizeUint8Array(e){return 33===e.length&&0===e[0]?e.slice(1):e}}})),_ee=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.AptosNetwork=e.UserResponseStatus=void 0,e.getArgs=function(e){if("object"==typeof e&&null!==e&&"status"in e){if(e.status===t.REJECTED)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR);return e.args}return e};var t,r,n,i=zi();(r=t||(e.UserResponseStatus=t={})).APPROVED="Approved",r.REJECTED="Rejected",function(e){e.MAINNET="mainnet",e.TESTNET="testnet",e.DEVNET="devnet"}(n||(e.AptosNetwork=n={}))})),zBe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.AptosStandardProvider=void 0;var r=zi(),n=Ao(),i=_ee();e.AptosStandardProvider=class{constructor(e){this.wallet=e,this.mainNetWorkInfo={chainId:"1",name:i.AptosNetwork.MAINNET}}getVersion(){return this.wallet.version}supportChains(e){return 1===e.length&&e[0]===r.APTOS_CHAINS.MAINNET}send(e){return t(this,void 0,void 0,(function*(){var t,o,s,a,c;try{try{(0,n.logDebug)("AptosStandardProvider send request:",JSON.stringify(e))}catch{}yield this.confirmNetwrok(e.chainId);let u,l=e.method;if(e.injectParams&&this.wallet){let n=e.injectParams;switch(l){case"aptos_signTransaction":let l;if(!this.wallet.features["aptos:signTransaction"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);if("rawTransaction"in n){let e=yield this.wallet.features["aptos:signTransaction"].signTransaction(n);l=(0,i.getArgs)(e)}else{if("1.1"!==this.wallet.features["aptos:signTransaction"].version)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);{let e=n,r={payload:e.data,expirationTimestamp:null===(t=e.options)||void 0===t?void 0:t.expirationTimestamp,expirationSecondsFromNow:null===(o=e.options)||void 0===o?void 0:o.expirationSecondsFromNow,gasUnitPrice:null===(s=e?.options)||void 0===s?void 0:s.gasUnitPrice,maxGasAmount:null===(a=e?.options)||void 0===a?void 0:a.maxGasAmount,sequenceNumber:null===(c=e?.options)||void 0===c?void 0:c.accountSequenceNumber,sender:e.sender};yield this.wallet.features["aptos:signTransaction"].signTransaction(r);l=(0,i.getArgs)(u)}}u={method:"aptos_signTransaction",injectResult:l};break;case"aptos_signMessage":let d;if(!this.wallet.features["aptos:signMessage"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);{let e=yield this.wallet.features["aptos:signMessage"].signMessage(n);d=(0,i.getArgs)(e)}u={method:"aptos_signMessage",injectResult:d};break;case"aptos_signAndSubmitTransaction":let h;if(!this.wallet.features["aptos:signAndSubmitTransaction"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);if("1.0.0"==this.wallet.features["aptos:signAndSubmitTransaction"].version){if("standardV1Transaction"in n){let e=yield this.wallet.features["aptos:signAndSubmitTransaction"].signAndSubmitTransaction(n.standardV1Transaction);h=(0,i.getArgs)(e)}}else{if("1.1.0"!=this.wallet.features["aptos:signAndSubmitTransaction"].version)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);if("standardV11Transaction"in n){e.params;let t=yield this.wallet.features["aptos:signAndSubmitTransaction"].signAndSubmitTransaction(n.standardV11Transaction);h=(0,i.getArgs)(t)}}u={method:"aptos_signAndSubmitTransaction",result:h.hash.toString()}}}return u}catch(e){throw(0,n.logDebug)("aptosProvider send error:",e),e}}))}removeListener(){this.previousAccountChangedListener=void 0}addAccountChangedListener(e){this.accountChangedListener=e}setAccountChangedListener(){if(this.previousAccountChangedListener!=this.accountChangedListener&&this.wallet.features["aptos:onAccountChange"]&&this.accountChangedListener)try{this.wallet.features["aptos:onAccountChange"].onAccountChange((e=>{var t,r,n,o;try{let s=null===(r=null===(t=(0,i.getArgs)(e))||void 0===t?void 0:t.address)||void 0===r?void 0:r.toString();this.address!=s&&(this.accountChangedListener(null===(o=null===(n=(0,i.getArgs)(e))||void 0===n?void 0:n.address)||void 0===o?void 0:o.toString()),this.address=s)}catch{this.address&&(this.accountChangedListener(void 0),this.address=void 0)}})),this.previousAccountChangedListener=this.accountChangedListener}catch(e){(0,n.logDebug)(`aptosStandardProvider addAccountChangedListener: error ${e.toString()}`)}}connect(){return t(this,void 0,void 0,(function*(){return this.wallet.features["aptos:connect"].connect()}))}getAccount(e){return t(this,void 0,void 0,(function*(){let e=(0,i.getArgs)(yield this.connect()),t=e.address;"object"==typeof t&&t.toString&&(t=t.toString()),t instanceof Uint8Array&&(t=this.normalizeUint8Array(t),t=btoa(String.fromCharCode(...t)));let n=e.publicKey.toString();this.address!==t&&(this.setAccountChangedListener(),this.address=t);let o={};return o[r.APTOS_CHAINS.MAINNET]={publicKey:n},{namespace:r.NameSpaceKeyAptos,addresses:[`${r.APTOS_CHAINS.MAINNET}:${t}`],methods:[],extra:o}}))}normalizeUint8Array(e){return 33===e.length&&0===e[0]?e.slice(1):e}disconnect(){return t(this,void 0,void 0,(function*(){if(this.wallet.features["aptos:disconnect"])return this.wallet.features["aptos:disconnect"].disconnect()}))}confirmNetwrok(e){return t(this,void 0,void 0,(function*(){if(e!==n.chainName2IdMap.get(r.APTOS_CHAINS.MAINNET))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);if(!this.wallet.features["aptos:network"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);{let e=yield this.wallet.features["aptos:network"].network();if(1==e.chainId&&e.name.toLowerCase()==i.AptosNetwork.MAINNET)return Promise.resolve();yield this.changeMainNetwork()}}))}changeMainNetwork(){return t(this,void 0,void 0,(function*(){if(!this.wallet.features["aptos:changeNetwork"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);{let e=yield this.wallet.features["aptos:changeNetwork"].changeNetwork(this.mainNetWorkInfo);if((0,i.getArgs)(e).success)return Promise.resolve()}}))}}})),$9=W((e=>{"use strict";var t,r;m(),Object.defineProperty(e,"__esModule",{value:!0}),e.WalletReadyState=void 0,(r=t||(e.WalletReadyState=t={})).Installed="Installed",r.NotDetected="NotDetected",r.Loadable="Loadable",r.Unsupported="Unsupported"})),Dee=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.BaseAptosWalletAdapter=void 0;var t=Qf(),r=class extends t.EventEmitter{get connected(){return!!this.publicAccount.publicKey}};e.BaseAptosWalletAdapter=r})),qBe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.MartainWalletAdapter=void 0;var r=Dee(),n=$9(),i=zi(),o=Zf(),s=Ao(),a=class extends r.BaseAptosWalletAdapter{get readyState(){throw new Error("Method not implemented.")}constructor(){super(),this.name="Martian",this.icon="https://raw.githubusercontent.com/hippospace/aptos-wallet-adapter/main/logos/martian.png",this.url="",this._version="unknown",this._readyState=typeof window>"u"||typeof document>"u"?n.WalletReadyState.Unsupported:n.WalletReadyState.NotDetected,this._provider=typeof window<"u"?window.martian:void 0,this._network=void 0,this._connecting=!1,this._wallet=null,typeof window<"u"&&this._readyState!==n.WalletReadyState.Unsupported&&(0,o.scopePollingDetectionStrategy)((()=>!!window.martian&&(this._readyState=n.WalletReadyState.Installed,this.emit("readyStateChange",this._readyState),!0)))}get publicAccount(){var e,t,r;return{publicKey:(null===(e=this._wallet)||void 0===e?void 0:e.publicKey)||null,address:(null===(t=this._wallet)||void 0===t?void 0:t.address)||null,authKey:(null===(r=this._wallet)||void 0===r?void 0:r.authKey)||null}}get connecting(){return this._connecting}get version(){return this._version}get network(){return{name:this._network,chainId:this._chainId}}onAccountChange(e){return t(this,void 0,void 0,(function*(){try{let e=this._wallet,r=this._provider||window.martian;if(!e||!r)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let n=e=>t(this,void 0,void 0,(function*(){let{publicKey:t}=yield r?.account();this._wallet=Object.assign(Object.assign({},this._wallet),{address:e,publicKey:t})}));yield r?.onAccountChange(n)}catch(e){e.message;throw e}(0,s.logDebug)("MartainWalletAdapter.onAccountChange()")}))}onNetworkChange(){return t(this,void 0,void 0,(function*(){(0,s.logDebug)("MartainWalletAdapter.onNetworkChange()")}))}connect(){return t(this,void 0,void 0,(function*(){try{if(this._readyState!==n.WalletReadyState.Loadable&&this._readyState!==n.WalletReadyState.Installed)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if(this.connecting)return;if(this.connected)return void(yield this.initNetWork());this._connecting=!0;let e=this._provider||window.martian;if((yield e?.isConnected())&&(yield e?.disconnect()),!(yield e?.connect()))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR);yield this.initNetWork()}catch(e){throw e}finally{this._connecting=!1}}))}initNetWork(){return t(this,void 0,void 0,(function*(){let e=this._provider||window.martian,t=yield e?.account();if(t){this._wallet=Object.assign(Object.assign({},t),{isConnected:!0});let r=yield e?.network(),{chainId:n}=yield e.getChainId();this._network=r,this._chainId=n.toString()}}))}disconnect(){return t(this,void 0,void 0,(function*(){let e=this._wallet,t=this._provider||window.martian;if(e){this._wallet=null;try{yield t?.disconnect()}catch{}}}))}signAndSubmitTransaction(e,r){return t(this,void 0,void 0,(function*(){try{let t=this._wallet,n=this._provider||window.martian;if(!t||!n)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let o=yield n.generateTransaction(t.address||"",e,r);if(!o)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"generate transaction error");let s=yield n?.signAndSubmitTransaction(o);if(!s)throw new Error("No response");return{hash:s}}catch(e){throw e}}))}signTransaction(e,r){return t(this,void 0,void 0,(function*(){try{let t=this._wallet,n=this._provider||window.martian;if(!t||!n)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let o=yield n.generateTransaction(t.address||"",e,r);if(!o)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"generate transaction error");let s=yield n?.signTransaction(o);if(!s)throw new Error("No response");return s}catch(e){throw e}}))}signMessage(e){return t(this,void 0,void 0,(function*(){try{let t=this._wallet,r=this._provider||window.martian;if(!t||!r)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if("object"!=typeof e||!e.nonce)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"Invalid signMessage Payload");let n=yield r?.signMessage(e);if(n)return n;throw new Error("Sign Message failed")}catch(e){throw e}}))}};e.MartainWalletAdapter=a})),jBe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.PetraWalletAdapter=void 0;var r=Dee(),n=$9(),i=Zf(),o=zi(),s=class extends r.BaseAptosWalletAdapter{get readyState(){return this._readyState}getPerta(){var e;if(this._provider)return this._provider;if(!window.petra)return;let t=window.petra;return t&&(t.isOKExWallet||t.isOkxWallet||(null===(e=window.okxwallet)||void 0===e?void 0:e.aptos)===t)?void 0:(this._provider=t,t)}constructor(){super(),this.name="Petra",this.icon="https://raw.githubusercontent.com/hippospace/aptos-wallet-adapter/main/logos/petra.png",this.url="",this._version="unknown",this._readyState=typeof window>"u"||typeof document>"u"?n.WalletReadyState.Unsupported:n.WalletReadyState.NotDetected,this._network=void 0,this._connecting=!1,this._wallet=null,typeof window<"u"&&this._readyState!==n.WalletReadyState.Unsupported&&(0,i.scopePollingDetectionStrategy)((()=>!!this.getPerta()&&(this._readyState=n.WalletReadyState.Installed,!0)))}get publicAccount(){var e,t,r;return{publicKey:(null===(e=this._wallet)||void 0===e?void 0:e.publicKey)||null,address:(null===(t=this._wallet)||void 0===t?void 0:t.address)||null,authKey:(null===(r=this._wallet)||void 0===r?void 0:r.authKey)||null}}get connecting(){return this._connecting}get version(){return this._version}get network(){return{name:this._network}}connect(){return t(this,void 0,void 0,(function*(){try{if(this._readyState!==n.WalletReadyState.Loadable&&this._readyState!==n.WalletReadyState.Installed)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if(this.connected)return void(yield this.initNetWork());this._connecting=!0;let e=this.getPerta(),t=yield e?.connect();this._wallet={address:t?.address,publicKey:t?.publicKey,isConnected:!0},yield this.initNetWork()}catch(e){throw e}finally{this._connecting=!1}}))}initNetWork(){return t(this,void 0,void 0,(function*(){let e=this.getPerta(),t=yield e?.network();this._network=t}))}disconnect(){return t(this,void 0,void 0,(function*(){let e=this._wallet,t=this.getPerta();if(e){this._wallet=null;try{yield t?.disconnect()}catch{}}}))}signAndSubmitTransaction(e,r){return t(this,void 0,void 0,(function*(){try{let t=this._wallet,n=this.getPerta();if(!t||!n)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let i=yield n.signAndSubmitTransaction(e,r);if(i.code)throw new Error(i.message);return i}catch(e){throw e}}))}signTransaction(e,r){return t(this,void 0,void 0,(function*(){try{let t=this._wallet,r=this.getPerta();if(!t||!r)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let n=yield r?.signTransaction(e);if(n.code)throw new Error(n.message);return n}catch(e){throw e}}))}signMessage(e){return t(this,void 0,void 0,(function*(){try{let t=this._wallet,r=this.getPerta();if(!t||!r)throw new o.OKXConnectError(o.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);let n=yield r?.signMessage(e);if(n)return n;throw new Error("Sign Message failed")}catch(e){throw e}}))}onAccountChange(e){return t(this,void 0,void 0,(function*(){try{this._wallet;let r=this.getPerta(),n=n=>t(this,void 0,void 0,(function*(){var t,i,o,s,a,c;if(n?.publicKey)this._wallet=Object.assign(Object.assign({},this._wallet),{publicKey:n.publicKey||(null===(t=this._wallet)||void 0===t?void 0:t.publicKey),authKey:n.authKey||(null===(i=this._wallet)||void 0===i?void 0:i.authKey),address:n.address||(null===(o=this._wallet)||void 0===o?void 0:o.address)});else{let e=yield r?.connect();this._wallet=Object.assign(Object.assign({},this._wallet),{authKey:e?.authKey||(null===(s=this._wallet)||void 0===s?void 0:s.authKey),address:e?.address||(null===(a=this._wallet)||void 0===a?void 0:a.address),publicKey:e?.publicKey||(null===(c=this._wallet)||void 0===c?void 0:c.publicKey)})}e?.(this._wallet)}));r?.onAccountChange(n)}catch(e){throw e}}))}onNetworkChange(){return t(this,void 0,void 0,(function*(){try{this._wallet,this.getPerta()}catch(e){throw e}}))}};e.PetraWalletAdapter=s})),Wee=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r($9(),e),r(qBe(),e),r(jBe(),e)})),GBe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.AptosThirdpartInjectProvider=void 0;var r=zi(),n=Wee(),i=Ao(),o=_ee();e.AptosThirdpartInjectProvider=class{constructor(e){this.walletAdapter=e}disconnect(){return t(this,void 0,void 0,(function*(){yield this.walletAdapter.disconnect()}))}getVersion(){return this.walletAdapter.version}getAccount(e){return t(this,void 0,void 0,(function*(){yield this.walletAdapter.connect();let e=this.walletAdapter.publicAccount,t=e.address,n=e.publicKey.toString(),i={};return i[r.APTOS_CHAINS.MAINNET]={publicKey:n},{namespace:r.NameSpaceKeyAptos,addresses:[`${r.APTOS_CHAINS.MAINNET}:${t}`],methods:[],extra:i}}))}supportChains(e){return this.walletAdapter.readyState===n.WalletReadyState.Installed&&(1===e.length&&e[0]===r.APTOS_CHAINS.MAINNET)}send(e){return t(this,void 0,void 0,(function*(){try{try{(0,i.logDebug)("AptosStandardProvider send request:",JSON.stringify(e))}catch{}this.confirmNetwrok(e.chainId);let t,r=e.method;if(e.injectParams&&this.walletAdapter){let n=e.injectParams;switch(r){case"aptos_signTransaction":t={method:"aptos_signTransaction",result:yield this.walletAdapter.signTransaction(e.params)};break;case"aptos_signMessage":let r=yield this.walletAdapter.signMessage(n);"object"==typeof r&&"signature"in r&&(r=r.signature),t={method:"aptos_signMessage",result:r};break;case"aptos_signAndSubmitTransaction":t={method:"aptos_signAndSubmitTransaction",result:(yield this.walletAdapter.signAndSubmitTransaction(e.params)).hash}}}return t}catch(e){throw(0,i.logDebug)("aptosProvider send error:",e),e}}))}removeListener(){}addAccountChangedListener(e){this.walletAdapter.onAccountChange((t=>{e?.(t?.address)}))}confirmNetwrok(e){var t;if(e!==i.chainName2IdMap.get(r.APTOS_CHAINS.MAINNET))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);if((null===(t=this.walletAdapter.network.name)||void 0===t?void 0:t.toLowerCase())!=o.AptosNetwork.MAINNET)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED)}}})),VBe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(zBe(),e),r(GBe(),e),r(Wee(),e)})),YBe=W((e=>{"use strict";m();var t,r=e&&e.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},n=e&&e.__classPrivateFieldSet||function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r};Object.defineProperty(e,"__esModule",{value:!0}),e.DEPRECATED_getWallets=e.getWallets=void 0;var i,o=new Set;var s,a={};function c(){if(i||(i=Object.freeze({register:u,get:l,on:d}),typeof window>"u"))return i;let e=Object.freeze({register:u});try{window.addEventListener("wallet-standard:register-wallet",(({detail:t})=>t(e)))}catch(e){console.error("wallet-standard:register-wallet event listener could not be added\n",e)}try{window.dispatchEvent(new f(e))}catch(e){console.error("wallet-standard:app-ready event could not be dispatched\n",e)}return i}function u(...e){var t;return(e=e.filter((e=>!o.has(e)))).length?(e.forEach((e=>function(e){s=void 0,o.add(e)}(e))),null===(t=a.register)||void 0===t||t.forEach((t=>h((()=>t(...e))))),function(){var t;e.forEach((e=>function(e){s=void 0,o.delete(e)}(e))),null===(t=a.unregister)||void 0===t||t.forEach((t=>h((()=>t(...e)))))}):()=>{}}function l(){return s||(s=[...o]),s}function d(e,t){var r;return!(null===(r=a[e])||void 0===r)&&r.push(t)||(a[e]=[t]),function(){var r;a[e]=null===(r=a[e])||void 0===r?void 0:r.filter((e=>t!==e))}}function h(e){try{e()}catch(e){console.error(e)}}e.getWallets=c;var f=class extends Event{get detail(){return r(this,t,"f")}get type(){return"wallet-standard:app-ready"}constructor(e){super("wallet-standard:app-ready",{bubbles:!1,cancelable:!1,composed:!1}),t.set(this,void 0),n(this,t,e,"f")}preventDefault(){throw new Error("preventDefault cannot be called")}stopImmediatePropagation(){throw new Error("stopImmediatePropagation cannot be called")}stopPropagation(){throw new Error("stopPropagation cannot be called")}};t=new WeakMap,e.DEPRECATED_getWallets=function(){if(i||(i=c(),typeof window>"u"))return i;let e=window.navigator.wallets||[];if(!Array.isArray(e))return console.error("window.navigator.wallets is not an array"),i;let{register:t}=i,r=(...e)=>e.forEach((e=>h((()=>e({register:t})))));try{Object.defineProperty(window.navigator,"wallets",{value:Object.freeze({push:r})})}catch{return console.error("window.navigator.wallets could not be set"),i}return r(...e),i}})),QBe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(YBe(),e)})),$Be=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})})),tMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})})),nMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})})),oMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0})})),sMe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r($Be(),e),r(tMe(),e),r(nMe(),e),r(oMe(),e)})),Vee=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.WALLET_STANDARD_ERROR__FEATURES__WALLET_FEATURE_UNIMPLEMENTED=e.WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_FEATURE_UNIMPLEMENTED=e.WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_CHAIN_UNSUPPORTED=e.WALLET_STANDARD_ERROR__USER__REQUEST_REJECTED=e.WALLET_STANDARD_ERROR__REGISTRY__WALLET_ACCOUNT_NOT_FOUND=e.WALLET_STANDARD_ERROR__REGISTRY__WALLET_NOT_FOUND=void 0,e.WALLET_STANDARD_ERROR__REGISTRY__WALLET_NOT_FOUND=3834e3,e.WALLET_STANDARD_ERROR__REGISTRY__WALLET_ACCOUNT_NOT_FOUND=3834001,e.WALLET_STANDARD_ERROR__USER__REQUEST_REJECTED=4001e3,e.WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_CHAIN_UNSUPPORTED=616e4,e.WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_FEATURE_UNIMPLEMENTED=6160001,e.WALLET_STANDARD_ERROR__FEATURES__WALLET_FEATURE_UNIMPLEMENTED=6160002})),cMe=W((e=>{"use strict";function t(e){return Array.isArray(e)?"%5B"+e.map(t).join("%2C%20")+"%5D":"bigint"==typeof e?`${e}n`:encodeURIComponent(String(null!=e&&null===Object.getPrototypeOf(e)?Object.assign({},e):e))}function r([e,r]){return`${e}=${t(r)}`}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.encodeContextObject=e.decodeEncodedContext=void 0,e.decodeEncodedContext=function(e){let t=atob(e);return Object.fromEntries(new URLSearchParams(t).entries())},e.encodeContextObject=function(e){let t=Object.entries(e).map(r).join("&");return btoa(t)}})),uMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.WalletStandardErrorMessages=void 0;var t=Vee();e.WalletStandardErrorMessages={[t.WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_CHAIN_UNSUPPORTED]:"The wallet account $address does not support the chain `$chain`",[t.WALLET_STANDARD_ERROR__FEATURES__WALLET_ACCOUNT_FEATURE_UNIMPLEMENTED]:"The wallet account $address does not support the `$featureName` feature",[t.WALLET_STANDARD_ERROR__FEATURES__WALLET_FEATURE_UNIMPLEMENTED]:"The wallet '$walletName' does not support the `$featureName` feature",[t.WALLET_STANDARD_ERROR__REGISTRY__WALLET_ACCOUNT_NOT_FOUND]:"No account with address $address could be found in the '$walletName' wallet",[t.WALLET_STANDARD_ERROR__REGISTRY__WALLET_NOT_FOUND]:"No underlying Wallet Standard wallet could be found for this handle. This can happen if the wallet associated with the handle has been unregistered.",[t.WALLET_STANDARD_ERROR__USER__REQUEST_REJECTED]:"The user rejected the request"}})),fMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.getErrorMessage=e.getHumanReadableErrorMessage=void 0;var t,r,n=cMe(),i=uMe();(r=t||(t={}))[r.EscapeSequence=0]="EscapeSequence",r[r.Text=1]="Text",r[r.Variable=2]="Variable";var o="i",s="t";function a(e,r={}){let n,a=i.WalletStandardErrorMessages[e];if(0===a.length)return"";function c(e){if(n[s]===t.Variable){let t=a.slice(n[o]+1,e);u.push(t in r?`${r[t]}`:`$${t}`)}else n[s]===t.Text&&u.push(a.slice(n[o],e))}let u=[];return a.split("").forEach(((e,r)=>{if(0===r)return void(n={[o]:0,[s]:"\\"===a[0]?t.EscapeSequence:"$"===a[0]?t.Variable:t.Text});let i;switch(n[s]){case t.EscapeSequence:i={[o]:r,[s]:t.Text};break;case t.Text:"\\"===e?i={[o]:r,[s]:t.EscapeSequence}:"$"===e&&(i={[o]:r,[s]:t.Variable});break;case t.Variable:"\\"===e?i={[o]:r,[s]:t.EscapeSequence}:"$"===e?i={[o]:r,[s]:t.Variable}:e.match(/\w/)||(i={[o]:r,[s]:t.Text})}i&&(n!==i&&c(r),n=i)})),c(),u.join("")}e.getHumanReadableErrorMessage=a,e.getErrorMessage=function(e,t={}){if("production"!==I.default.env.NODE_ENV)return a(e,t);{let r=`Wallet Standard error #${e}; Decode this error by running \`npx @wallet-standard/errors decode -- ${e}`;return Object.keys(t).length&&(r+=` '${(0,n.encodeContextObject)(t)}'`),`${r}\``}}})),dMe=W((e=>{"use strict";m();var t=e&&e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};Object.defineProperty(e,"__esModule",{value:!0}),e.WalletStandardError=e.isWalletStandardError=void 0;var r=fMe();e.isWalletStandardError=function(e,t){return e instanceof Error&&"WalletStandardError"===e.name&&(void 0===t||e.context.__code===t)};var n=class extends Error{constructor(...[e,n]){let i,o;if(n){let{cause:e}=n,r=t(n,["cause"]);e&&(o={cause:e}),Object.keys(r).length>0&&(i=r)}super((0,r.getErrorMessage)(e,i),o),this.context=Object.assign({__code:e},i),this.name="WalletStandardError"}};e.WalletStandardError=n})),hMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.safeCaptureStackTrace=void 0,e.safeCaptureStackTrace=function(...e){"captureStackTrace"in Error&&"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(...e)}})),pMe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(Vee(),e),r(dMe(),e),r(hMe(),e)})),gMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.Connect=e.StandardConnect=void 0,e.StandardConnect="standard:connect",e.Connect=e.StandardConnect})),yMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.Disconnect=e.StandardDisconnect=void 0,e.StandardDisconnect="standard:disconnect",e.Disconnect=e.StandardDisconnect})),mMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.Events=e.StandardEvents=void 0,e.StandardEvents="standard:events",e.Events=e.StandardEvents})),bMe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(gMe(),e),r(yMe(),e),r(mMe(),e)})),wMe=W((e=>{"use strict";m();var t,r=e&&e.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},n=e&&e.__classPrivateFieldSet||function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r};function i(e){let t=({register:t})=>t(e);try{window.dispatchEvent(new o(t))}catch(e){console.error("wallet-standard:register-wallet event could not be dispatched\n",e)}try{window.addEventListener("wallet-standard:app-ready",(({detail:e})=>t(e)))}catch(e){console.error("wallet-standard:app-ready event listener could not be added\n",e)}}Object.defineProperty(e,"__esModule",{value:!0}),e.DEPRECATED_registerWallet=e.registerWallet=void 0,e.registerWallet=i;var o=class extends Event{get detail(){return r(this,t,"f")}get type(){return"wallet-standard:register-wallet"}constructor(e){super("wallet-standard:register-wallet",{bubbles:!1,cancelable:!1,composed:!1}),t.set(this,void 0),n(this,t,e,"f")}preventDefault(){throw new Error("preventDefault cannot be called")}stopImmediatePropagation(){throw new Error("stopImmediatePropagation cannot be called")}stopPropagation(){throw new Error("stopPropagation cannot be called")}};t=new WeakMap,e.DEPRECATED_registerWallet=function(e){var t;i(e);try{((t=window.navigator).wallets||(t.wallets=[])).push((({register:t})=>t(e)))}catch(e){console.error("window.navigator.wallets could not be pushed\n",e)}}})),AMe=W((e=>{"use strict";m();var t,r,n,i,o,s,a=e&&e.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},c=e&&e.__classPrivateFieldSet||function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r};Object.defineProperty(e,"__esModule",{value:!0}),e.guard=e.pick=e.concatBytes=e.bytesEqual=e.arraysEqual=e.ReadonlyWalletAccount=void 0;function u(e,t){if(e===t)return!0;let r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}e.ReadonlyWalletAccount=class e{get address(){return a(this,t,"f")}get publicKey(){return a(this,r,"f").slice()}get chains(){return a(this,n,"f").slice()}get features(){return a(this,i,"f").slice()}get label(){return a(this,o,"f")}get icon(){return a(this,s,"f")}constructor(a){t.set(this,void 0),r.set(this,void 0),n.set(this,void 0),i.set(this,void 0),o.set(this,void 0),s.set(this,void 0),new.target===e&&Object.freeze(this),c(this,t,a.address,"f"),c(this,r,a.publicKey.slice(),"f"),c(this,n,a.chains.slice(),"f"),c(this,i,a.features.slice(),"f"),c(this,o,a.label,"f"),c(this,s,a.icon,"f")}},t=new WeakMap,r=new WeakMap,n=new WeakMap,i=new WeakMap,o=new WeakMap,s=new WeakMap,e.arraysEqual=u,e.bytesEqual=function(e,t){return u(e,t)},e.concatBytes=function(e,...t){let r=t.reduce(((e,t)=>e+t.length),e.length),n=new Uint8Array(r);n.set(e,0);for(let e of t)n.set(e,n.length);return n},e.pick=function(e,...t){let r={};for(let n of t)r[n]=e[n];return r},e.guard=function(e){try{e()}catch(e){console.error(e)}}})),TMe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(wMe(),e),r(AMe(),e)})),h7=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(QBe(),e),r(sMe(),e),r(pMe(),e),r(bMe(),e),r(TMe(),e)})),CMe=W((e=>{"use strict";m();var t,r,n=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},i=e&&e.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},o=e&&e.__classPrivateFieldSet||function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r};Object.defineProperty(e,"__esModule",{value:!0}),e.SolanaStandardProvider=void 0;var s=zi(),a=Ao(),c=h7();e.SolanaStandardProvider=class{constructor(e){this.wallet=e,t.set(this,void 0),r.set(this,void 0)}getVersion(){return this.wallet.version}supportChains(e){return 1===e.length&&e[0]===s.SOLANA_CHAINS.MAINNET}send(e){return n(this,void 0,void 0,(function*(){try{try{(0,a.logDebug)("SolanaStandardProvider send request:",JSON.stringify(e))}catch{}let t=a.chainIdToStandardChainIdMap.get(e.chainId);if(!t)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);let r,n=e.method;if(e.injectParams&&this.wallet){let i=e.injectParams;switch(n){case"solana_signMessage":let e,n=this.wallet.features["solana:signMessage"],o=i.message,s=(new TextEncoder).encode(o);if(n)switch(n.version){case"1.0.0":case"1.1.0":let t={message:s,account:this.wallet.accounts[0]};e=yield n.signMessage(t)}e&&(r={method:"solana_signMessage",injectResult:e});break;case"solana_signTransaction":if("transactionBuffer"in i){let e=yield this.signTransaction(i.transactionBuffer,t);e&&(r={method:"solana_signTransaction",injectResult:e})}break;case"solana_signAndSendTransaction":let a,c=this.wallet.features["solana:signAndSendTransaction"];if(c&&"transactionBuffer"in i&&"1.0.0"===c.version){let e={transaction:i.transactionBuffer,account:this.wallet.accounts[0],chain:t};a=yield c.signAndSendTransaction(e)}a&&(r={method:"solana_signAndSendTransaction",injectResult:a});break;case"solana_signAllTransactions":let u=[];if("transactionBufferArray"in i&&Array.isArray(i.transactionBufferArray))for(let e of i.transactionBufferArray){let r=yield this.signTransaction(e,t);u.push(r)}u&&(r={method:"solana_signAllTransactions",injectResult:u})}}if(!r)throw new s.OKXConnectError(s.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);return r}catch(e){throw(0,a.logDebug)("solana request send error:",e),e}}))}signTransaction(e,t){return n(this,void 0,void 0,(function*(){let r,n=this.wallet.features["solana:signTransaction"];if(n&&"1.0.0"===n.version){let i={transaction:e,account:this.wallet.accounts[0],chain:t};r=yield n.signTransaction(i)}return r}))}removeListener(){let e=i(this,t,"f");e&&(o(this,t,null,"f"),e())}addAccountChangedListener(e){if(this.wallet.features["standard:events"]){let n=this.wallet.features["standard:events"];if(n&&"1.0.0"===n.version)o(this,t,this.wallet.features[c.StandardEvents].on("change",(t=>{if("accounts"in t){let t=this.wallet.accounts[0];i(this,r,"f")&&t!==i(this,r,"f")&&e(t?t.address:void 0)}"features"in t&&e(void 0)})),"f")}}connect(e){return n(this,void 0,void 0,(function*(){this.wallet.features["bitkeep:"]&&(yield new Promise((e=>{setTimeout(e,400)}))),this.wallet.accounts.length||(yield this.wallet.features[c.StandardConnect].connect(e))}))}getAccount(e){return n(this,void 0,void 0,(function*(){yield this.connect(e);let t=this.wallet.accounts[0];o(this,r,t,"f");let n=t.address;return{namespace:s.NameSpaceKeySOL,addresses:[`${s.SOLANA_CHAINS.MAINNET}:${n}`],methods:[],extra:{}}}))}disconnect(){return n(this,void 0,void 0,(function*(){if(this.wallet.features["standard:disconnect"])return this.wallet.features["standard:disconnect"].disconnect()}))}},t=new WeakMap,r=new WeakMap})),IMe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(CMe(),e)})),OMe=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(LBe(),e),r(VBe(),e),r(IMe(),e)})),BMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.wallets=e.WalletNames=void 0;var t=zi();e.WalletNames={BitKeep:"Bitget Wallet",Nightly:"Nightly",Petra:"Petra",Pontem:"Pontem Wallet",BackPack:"Backpack",Coin98:"Coin98",MagicEden:"Magic Eden",Phantom:"Phantom",Solflare:"Solflare",Trust:"Trust",AptosGoole:t.AptosGoogleWalletName,AptosApple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fhK0atbESxMU79k4KCk1yu41ZStfnZJtcFKL4qY9drnudrrHayx2Lu7sWd2JyWZjkkk+plbbcndu7Ny06cacVCCUYpWSXBJLRWOCQZRBAgCAIAgCAIAgCAIAgkQQIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgCAIAgH/9k=",downloadUrl:"https://chrome.google.com/webstore/detail/bitkeep-bitcoin-crypto-wa/jiidiaalihmmhddjgbnbgdfflelocpak"},[e.WalletNames.Petra]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAABHNCSVQICAgIfAhkiAAACChJREFUeJztnW1oHNUagJ8zuzbRGI1BW7BN/GhaK2otaIN4iz8tCHoLIlKV23wIhaJc6C8vgvjH6B/RC4JgbbrFIuhFof2jBjSgrdVoUVEhaio12SStTVNNbTapu3PujzfTpOlXPmY7Z07eB4bt7s5u3+TJe2bOnPPOMcwC29RUibW3kc0+grUNWNuIMXWz+Q5llljbC/QQBF0Ui++YnTu/nc3HzUW/v7U1oFRaRibThLX/BmrnGKoSD/0Y8zal0mtkswPmzTeLF9r5goJtc/MSjHkceBYV6xongFcIw+3kcr3nE3nO121ra5YwXIsxzwP3lytCJRY6sLaNINhntm8/K5vPEmxbWjLAQ8BLwMpLEKAyf34GngH2mPb20tQ3gqlPbHNzFpHbhspNEysRZw/Z1tbs1DdOC7aFAhjzDyRzV13a+JQYWAW8RBiunfri6SbaNjfXY8w29JibdjoIw3+ZXO4ITGSwffLJLMa0onJ94H4ymcftli0BRE10sXg9sDXJqJQYsfZZCoVlEAnOZJ4GrkwyJiVWaoEmmDgG25aWPLA0wYCU+BkmDJcGtqlpDSrXR2qB2wKMeTTpSJQyYcwjAdCYdBxK2VgRYExD0lEoZcKYtQFQn3QcStmoCy6+j5JmVLDnqGDPUcGeo4I9RwV7jgr2nIUhuFSa2Wse4q/gMIRCAf76C268ETKZyfeCAOrqYGgIxsZkX0/JX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g/2HBXsOSrYc1Sw57gjuFiUTYkVNwQbIxcaCoWkI/EOFew5bgiOOHxYRm6U2HBHcCYDAwNO3efRB9wSnM+r4JhxR3B0HB4YkOE6JRbcEQySxQcOyLwnJRbcE9zfL1NST51KOhovcEswyNDd/v0ynKfMG/cEZ7NSzPX113IzE2VeuCcYRHJnp9wmf4GsMVgu3BQcTav54APpOilzxk3BIJXyBw/KlNWhoaSjSS3uCgZpqru7Ydu2yYUllVnhtmCQTO7uhhde0EyeA+4LBsnkwUF47jl5VGZMOgSDTEIfHYXHHpM6IWVGpEcwyJWum2+WhaeeekqWlSuVnLo3pGukc150VZXUEL38MjQ0wAMPyGNNjTTn00s7HV8htJykUzBINldXy7XrV1+Fq66S1b9XrZJVvaurJ9cEHhlZsFlubEuLW0t1zRVrpahsfFz+vXixZHRVlTw/dGhBSk5vBk/HGOlSRbcSHB2Vq2HRUnMpqciPG39/asduKZgU+lvwHBXsOSrYc1Sw56hgz1HBnqOCPScAdPqiv/QGGPNV0lEoZcLanoAw/CXpOJSy0RVg7f+SjkIpE9a+EwA/AsNJx6LETr/J5b4NTC43hrX/TToaJXbehsluUg7NYp84gbWvQSQ4DPNY25ZoSEqcvIIxAzAh2OzcGQK7gI4ko1JioYMw3G7a24sw5UqW2bHjCNY+D2i3Kb38jLUvksudrqA/81JlEHwFPAP8dIkDU+bPT8B/CIK9U+ePnjWX1La0ZIB/Ai8CKy9RcMr8+AVJzN2mvf2MetuzBhtMe3sJY/Zg7Wb0mJwGOrB2E8bsmS4XzpHBERagubkeaMWYrYCft0RPL8MTPZ9dZseOI+fb6aLT/W1TUxZjrgeexpiNwNIYg1Rmz/DEhakcYZif6AGdl1nXc9impjUY8yjQCDRgTP0cA1VmgrV9GNOFtT0T4wY/mlxubKYf/z/Dhnu5uHkRfgAAAABJRU5ErkJggg==",downloadUrl:"https://chrome.google.com/webstore/detail/petra-aptos-wallet/ejjladinnckdgjemekebdpeokbikhfci"},[e.WalletNames.Pontem]:{icon:"data:image/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RIuVyL5ITDS9QlEv+tND3htNWfjoRfk71hWI2zS6+PrXXh/ZNhu7Qw76P5v1G/4R/GL+Lo+tsSNdXb67Cn8+brjdL84+v96PRy2N6deTBa57uvb3tZGfu2CPTZ1KvYAt4M+hmoFOow/IGvHRTvg7Mg+bAs8BfsmcszmMmrTCR0OTg2U8uw1sr2jq4eyzuuHG7B45gIbf6uF7xH8x+qII6qfVbAAAAAElFTkSuQmCC",downloadUrl:"https://chrome.google.com/webstore/detail/pontem-wallet/phkbamefinggmakgklpkljjmgibohnba"},[e.WalletNames.Nightly]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAABHNCSVQICAgIfAhkiAAAHXlJREFUeJztnXl4HOWd5z9vVbVarfuWb8k2trFsY2xjbG5jsNcJIUCwB0MYpkOA5swmu8kkbHZmszub2c1mJjMJC0xnAvQD4QqBDRCHAAbMYYg5jAGf+LYsyZIlWbdV6q5694+3W63W2d3qUsuG7/O0j+6qet96v+/xe3/XKzgN4PWZbmAucCZwBlABTAbKgHwgD/D0u60baAt/GoBa4DCwH9gD7Az43Z1jUX8nIdJdgXjh9ZkCyAB0YBJwYfizFJgX/j7V2AV8CLwT/hwCbKAn4HfbDpSXcoxrgsOk5qJG4EXAamAhsChNVfos/NkIvAU0AW3jmexxSbDXZ+YAJSgivxb+lKW1UgPRCrwE/AH4AGgM+N1t6a3SQIwrgr0+sww4G7gENVrPSW+N4sZnwKvAG8DWgN9dm+b69GJcEOz1mROB5cDVwFdRo/dURCvwCvAc8G7A7z6S5vqkl2Cvz5wArAK+Ev77VCW2P9pQ6/QG4PWA330oXRVJG8Fen3ktsB41Feelqx4O4yTwGvAU8FTA77bGugJjTrDXZ14AXAdcA0wZ6/LThOPAiyiSXx3LgseMYK/PzAK+Hf4sHKtyxxl2A48DDwb87qaxKHBMCPb6zHOBHwGXcfpOx/HiJEra/nnA797kdGGOE+z1mTcD3wPmO13WKYZ9wIPA/QG/23SqE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jh2H9k5YslBQNVuoZGwSNF2y/4DkLx9JPBlQXgY5OaI3RHQMYQEvAj9IRokRDxxV0Xh9ZhbwXZSUPd3JsvpDoAQk21bxyZ0dMhpUL9WBGtlZ4fN+SctaW4dayv4x4Hc3O1XImOjgvD5zNfCfUcfYjrnaQPT+EYs0bX9slFvyfQG/+1mnCxszJavXZ04A7kG54s4cq3LHGY6iLEL/HPC7D4xFgWOuRff6zCtQIapXAnkjXH664CTwR+AZ4Jn+4SVOIi1mkvDafD1qNK8kfN78aYp3UJ6pTwT87paRLk410moH8/rM2SiCrwQuxaEjftIAC+U3tQHYGPC7P01XRdJu6ATw+syZwIWoEb2CU5foEEqAehJ4e6hwkrHEuCAYwOszBVABLAFWAasZ463VKFCL8jr9M/AhcCDs/ZJ2jBuCIwgTXQhMAC4ArgHWMA7ripqG/x8qbVE10DxeiI1gPDZaL7w+00BJ2pWotfpi4BxgYpqqdBz4CNiMCtn8HGhPhdXHKYxrgvsiTLYLZQE7F7VmXwQsBoodKrYN5Zb0dvizGaX46onkoRrvOGUIHgpen6mh1u55QBUwC5gKFKGiIj3hT//NZw9qf3oSRWQzShGxH+XBuB3YP1qDe7rx/wE6BbqXqL0k3AAAAABJRU5ErkJggg==",downloadUrl:"https://chrome.google.com/webstore/detail/nightly/fiikommddbeccaoicoejoniammnalkfa/related?hl=en&authuser=0"},[e.WalletNames.AptosGoole]:{icon:"",downloadUrl:""},[e.WalletNames.AptosApple]:{icon:"",downloadUrl:""},[e.WalletNames.MagicEden]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAACGdJREFUaIHtmnuMXFUdxz+/c18zs8u2MLO02Gntg26jKVA1hviPoUBsDBhiIn+YQNB/MEEQEQMGESpqozGCbxODAWKUYJr6SBMDEdMGq5AoCEGSLoLAbltImW07szuP+zg//5i77bKdndfOrpjsd3NyZ+89557v7/4e5/c798IKVrCCFaxgBe8ayGIGb8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SOK40W4Xogz29xmC/yQF8oxeF1y7kHgs3C+ZLhx+mmei45TJ+H1uMId5b9R1hivCw27CNiIL5/6C+PxSaoaMT3bbNhsGjFjqsyYaWbMDFWpMSN1ZqhTocETx0OuflZZk+mVfR9By0cI1bLr1OMgAWiDIcmwrofkoCguj8Vv8quTr8OCaaMBdcCaZoS2Akl6dIU1mYXq//bobwMAoSg5LIqRXD+3YC0OSK6z2w8uyQI6m3Tb6/P3JP4f0OHNg0wtF5EBotLuYluBHfTsQvVdD2nLuaNNFvNjg6u+lwGTpfFFL0t7B8RlObC/U4eOAhv0zsFwWXoYlds79ekY9E/Vpk6M5AoCXDYIUksFQe6dmDq8r1O/rla5cq10YFWusAnYsWhmS4D0s6Xbuunb9bJerpV+typXUGBn38yWBl+fLI13/UlVT3lMuVY6uDpbeFSFTcBYz9QGi70G/cRE6eXf9jJoUanS+vy2XaDb008j3vlOe/AflxpFphz0xTdK408uhvcKVrCCFaxgBe8S/BenczprG54PsAAAAABJRU5ErkJggg==",downloadUrl:"https://chromewebstore.google.com/detail/magic-eden-wallet/mkpegjkblkkefacfnmkajcjmabijhclg"},[e.WalletNames.BackPack]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABBZJREFUaIHtmktoXFUYx3/fTEpNSoNaQYpzZ6hVwUdEs2nVeM+krYLBiotW8QWhmyyEgAsREXHjSlEwuBKxghYkvh9VEUzmXHVRC11YUIylJnOnlGLBByilOvdzkUayqMw595HEcX7b+/++7/+fe+fcOfeOUDDzdbOppOwR5Q7gWuBSYCMAwk8oLeAQwruBtZ8V7UeKanx8tN6/LtGXUe73KPtD4OFKZF8tylchgVthWFPkCHBxyhZvBpG9J09PS5TybvjDrvp6RQ6TPizA3mZoXsnL03JyP8NxaN4H7gJ+Bk4AvwCJwywFBoALgRqwDmF3YO1Hefrry7NZ69b6RQm8hzCpyOmanf3dt8fczl3l/nZ7I5psReWyP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5WP3Iqpzto8+Tar7IVJb3l9nrEpYaDAByslEP14N/sTRMBEhQ9y5aywsqSxe/qtUBneS2vKBSJM4a7Cc+svKH3ueyvFPIir6FC1qI9UTDyF2lmTnr80bK4VKLX7PDYrHKR3+g7BiKfEXasOvh2J1Uxn8OKVX/oF6RfL5cEe+R/Hw74BJsvB9SUC1U3ntfkqvfA4TxMuW3JHvMnXwtzD+5NIFiHr8G35bqsEEZ1HJ7aS678VZd300NuoK/vgRKicewR//FmJtZunHNAN6FLFbSXR8lET7u1CpWrF+WsMv4I0donryywRTT9deJ+PXsqbxhh0OWXgYPQwMopwbEacTdAFd/SlGC2L1NPjgFWCCPJiXEXsnKtEDKhXWvtxnwXQiVtcFPZlemMPzyIZpp6rtqfhll/qYTmNNzWbjs1kPF/ggPhfWRSMVQjV0GDVg9a2Ft6TD8UoFlweqCnhxtVmsII4o4PHVZrGCeFwBX11tFiuIL6lcb/95YN+yqm9+fD3X2z80fUo/QPhvMJcr8sC9UAtLud7+AvBeoLpEpzcrAuA3ait5Ng7nevufBW4m+hvCNzsmgFtyvf3904JI4pHr7R8ArgKeXGFilwL/DuzO9fb/11zhohl+YaBvB3A/4VLfcGm5XTTkgSeAh3O9/S/VU/g/Ug9BgiKWjjgAAAAASUVORK5CYII=",downloadUrl:"https://chromewebstore.google.com/detail/coin98-wallet-extension-c/aeachknmefphepccionboohckonoeemg"},[e.WalletNames.Phantom]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAABWxJREFUaIHtmltsFFUYx39nWkCigtxEmG4JF43WSzSAMTXEUHnQgBhvCRqNQZTOghgNGthZGyHiTqFRHtR2FpCYmICoiBGiEnkyTbzgJZaAKEhIYKdcQzByk+58PjQr2+3Odre7M1tMf097vvPN/3z/nLOzs3MO9NNPP5czqtwF5KIl5oxSSkaAGoHIVYCGUheBv4FjtdPHHLjtrsIs9CnD8cb2GnHd6ShVh0gtMA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0qgcQb4q4D8PYapz/Pq1ICbiy7JA9V5xKFIZDGdx5fy4azGhSm5EjRgbNE1ZUGQhwUVKlJmFUrL9WI9nZOum5w435xwLleShve2RDFsDJtVWyhud+Irw9SXCOosPS/pVldLhha8Wt3jV0ij9Ocv2gxTTz2TX+ilxreGqd8PEI6MOYXiFY+844BhmPq0BUurc85sCo3Oc4ul4k/XTaa/Km3rhcYGw9Rr0wNGRF+DohZoQqkNwEqQ+0TOhwxTj2eXyY6yY4mfKc3+bkLEnRqOhv7bA4q/fmikVGjH81YQWWhEq5pLUIsnGvBDCXQOIu7kdLMA9Q2hEwoW5XH9ViXueL/NAmgoNveclpPvNEneakRDR7N11pv6OyB1KFozun4HmnGT4wxTn10fDR0sso68UAB2LPEbcGMvrl5uRLpvSvdlNAAl7r10nj3Ol1aVvDj6cjMLaad4WhoTw5VLE/AIMDQj7wKdj4lbkeTbRrT6jwBrLCndtlpa3jgwWNMG1YgwHKhUSp1OIgcXRHSnDPX1008//XThX9DTrmAycJa1AAAAAElFTkSuQmCC",downloadUrl:"https://chromewebstore.google.com/detail/phantom/bfnaelmomeimhlpmgjnjophhpkkoljpa"},[e.WalletNames.Solflare]:{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAABHNCSVQICAgIfAhkiAAADWhJREFUaIHdm318VNWZx7/n3LmTF17CJCHhJQkiUN6F0PCyLch7EAFRFxYXRbqlrt39UKhuFfmsi1ZdXCkFqmjXqtW2KkqrwrIYIgWWAoKIQBBcEJNCCBBJYEJCkpm5M/fsH+dOQjAvM3nrZ/v7Y/64c889z+8+z3nezrmCJqC80zPAvhfUOGAY0B0QTY1rJyigCPgC2Anqd8Kz/WJjAxoUXHmnDQG1BpjaujK2OQ6BWCw8uZ/U96es76LyZq8G9Tn//8gCZIE6oLzZa+v7s46GlTfbBHKBie0hWTtgB8RMF54tVvjCjRrO4a+HLMBk8Odef6GGsGMCk9tdpLbHRL1ENQSA8k4bDer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N69mVVHtVrl5s2b36S/d57+5DjO6R08qeWBzeQ5s5Mmt8TTlrKdwdOr2dnZ467rruyAiWne3NxcZjN3tpLlOM6053myDVMPTTx5ZaDfl6mn+czNzZ0cGRl5dnR09Amt9SNbjSnfr0QkNMa8V6/Xr/q+/3rS/I2hhhpqqKGG2mX6P5N27g+5ExmzAAAAAElFTkSuQmCC",downloadUrl:"https://chromewebstore.google.com/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph"}}})),ite=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(Ov(),e),r(BBe(),e),r(DBe(),e),r(OMe(),e),r(BMe(),e)})),m3=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.WsConnector=void 0;var r=bv(),n=Ks();e.WsConnector=class{constructor(){this.disconnectListener=[],this.walletName="",this.walletNameKey="",this.enable=!0,this.icon="",this.pendingRequests=new Map,(0,n.getDefaultReporter)().beginReport()}setOpenWalletCalled(e){this.openWalletCalledListener=e}setAccountChangeListener(e){this.accountChangeListener=e}setConnectionManager(e){this.connectionManager=e}addConnectionListener(){var e;null===(e=this.connectionManager)||void 0===e||e.addListener("sdk_response",((e,t)=>{var i=(0,r.safeJsonParse)(t);(0,n.logDebug)(`Engine ==>> addListener ==> success ==> ${i}`),this.handleResponse(e,i)}),(function(){}))}addDisconnectListener(e){this.disconnectListener.push(e)}connectManagerDisconnect(){return t(this,arguments,void 0,(function*(e=!1){var t;yield null===(t=this.connectionManager)||void 0===t?void 0:t.disconnect(e)}))}openWallet(e,t){var r;null===(r=this.openWalletCalledListener)||void 0===r||r.call(this,this)}bindRequestForPromise(e,t){this.pendingRequests.set(e,t)}send(e,i,o){return t(this,void 0,void 0,(function*(){var t,s;try{delete e.injectParams}catch{}(0,n.logDebug)("Engine ==>> send  request==>",JSON.stringify(e));let a=this.getRequestId();try{let c=yield null===(t=this.connectionManager)||void 0===t?void 0:t.send(JSON.stringify(Object.assign(Object.assign({},e),{requestId:a})),o);c&&(null===(s=this.connectionManager)||void 0===s||s.events.once(c.toString(),(e=>{var t;(0,n.logDebug)(`Engine ==> send => onAck => ${(0,r.safeJsonStringify)(e)}`),e&&e.result&&(null===(t=i.onAck)||void 0===t||t.call(i))}))),i.resolve&&this.bindRequestForPromise(a,i.resolve)}catch(e){return Promise.reject(e)}}))}restoreconnect(e,r){return t(this,void 0,void 0,(function*(){var t;yield null===(t=this.connectionManager)||void 0===t?void 0:t.restoreConnect(e.topic),r(e)}))}restoreconnectFromTopic(e){return t(this,void 0,void 0,(function*(){var t;yield null===(t=this.connectionManager)||void 0===t?void 0:t.restoreConnect(e)}))}getRequestId(){let e=Date.now().toString();return(0,n.logDebug)("Engine ==>> getRequestId ==>",e),e}handleResponse(e,t){if((0,n.logDebug)(`Engine ==>> handleResponse_1  ======>response: ${(0,r.safeJsonStringify)(t)}`,e),"requestId"in t){(0,n.logDebug)("Engine ==>> handleResponse_2  ===> in response");let e=t.requestId,r=this.pendingRequests.get(e);r?((0,n.logDebug)("Engine ==>> handleResponse_3  ===> find resolve:",r),r(t),this.pendingRequests.delete(e)):((0,n.logDebug)("Engine ==>> handleResponse_3  ===> not find resolve:"),"disconnect"===t.method&&(this.disconnectListener.forEach((e=>e())),this.disconnectListener=[],this.clearData()))}}getCurrentConnectionReady(){var e;return!(null===(e=this.connectionManager)||void 0===e||!e.getCurrentConnectionReady())}saveSessionContent(e,t){var r;null===(r=this.connectionManager)||void 0===r||r.saveSessionContent(e,t)}getSessionContent(e){var t;return null===(t=this.connectionManager)||void 0===t?void 0:t.getSessionContent(e)}setOnConnectResultListener(e){this.connectResultListener=e}getTag(){return""}toJSON(){return"ws-connector"}clearData(){this.pendingRequests.clear()}}})),_Me=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAppConnector=void 0;var t=E0(),r=Ao(),n=kS(),i=zi(),o=m3(),s=class extends o.WsConnector{getType(){return t.CONNECTOR_TYPE.WS.OKX_APP_WALLET}constructor(){super(),this.walletName="OKX App",this.walletNameKey=""}getTag(){return t.OKX_APP_WALLET}openWallet(e,t){super.openWallet(e);let o=t??i.OpenAppLinkType.UniversalLink;if(e&&e.connectRequest||!(0,r.isOS)("android")){(0,r.logDebug)(`appwallet-connector openwallet before useSHortLink engineConnectInfo.connectRequest JSON ${JSON.stringify(e)}`);let t=e?.connectRequest,{universalLink:n,deepLink:s}=(0,r.getOKXLink)(t,i.ConnectWalletType.OKX_APP);(0,r.openOKXDeeplinkWithFallback)(s,n,o)}else(0,r.openDeeplinkWithFallback)(n.okxAppStackDeepLink,(()=>{}))}};e.OKXAppConnector=s})),y7=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.InjectConnector=void 0;var r=zi(),n=Ao(),i=E0();e.InjectConnector=class{constructor(){this.disconnectListener=[],this.providerMap=new Map,this.disconnectHandler=null,this.walletName="",this.icon="",this.walletNameKey="",this.enable=!0}setAccountChangeListener(e){(0,n.logDebug)("setAccountChangeListener: inject",e),this.accountChangeListener=e}setConnectionManager(e){this.connectionManager=e}getInjectProvider(e){if(e)for(let[t,r]of this.providerMap.entries())if(e.includes(t))return r}send(e,i){return t(this,void 0,void 0,(function*(){var t;try{(0,n.logDebug)("InjectEngine send  > request:",(0,n.safeJsonStringify)(e));let o=e;if("disconnect"===o.method)return yield this.disconnect(),this.disconnectListener.forEach((e=>e())),this.disconnectListener=[],void(null===(t=i.onAck)||void 0===t||t.call(i));yield this.checkWalletMatch();let s=this.getInjectProvider((0,n.getNamespaceKeyByChain)(o.chainId));if(s)return void s.send(o).then((e=>{var t;(0,n.logDebug)("InjectEngine ==>> send > result:",e),null===(t=i.resolve)||void 0===t||t.call(i,e)})).catch((t=>{var o;let s=r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,a="";t&&(s=t.code,a=t.message),4001===s&&(s=r.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR);let c={requestId:Date.now().toString(),method:e.method,error:{code:s,message:a}};(0,n.logDebug)("InjectEngine ==>> send > errorResponse:",JSON.stringify(c)),null===(o=i.resolve)||void 0===o||o.call(i,c)}));throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED)}catch(e){return(0,n.logDebug)("InjectEngine ==>> send  ===> error:",e),Promise.reject(e)}}))}checkWalletMatch(){return t(this,void 0,void 0,(function*(){return new Promise(((e,t)=>{var n;let i=null===(n=this.connectionManager)||void 0===n?void 0:n.getSessionContent("connectSession");i||t(new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED)),this.restoreconnect(i,(n=>{n?e():t(new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED))}))}))}))}clearData(){this.connectResultListener=void 0}addDisconnectListener(e){this.disconnectListener.push(e)}setOnConnectResultListener(e){this.connectResultListener=e}connectManagerDisconnect(){return t(this,arguments,void 0,(function*(e=!1){}))}getCurrentConnectionReady(e){return!!e}getTag(){return i.OKX_INJECT_WALLET}toJSON(){return"inject-connector"}getSupportNameSpaces(){return Array.from(this.providerMap.keys())}}})),DMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.TgwalletConnector=void 0;var t=m3(),r=E0(),n=zi(),i=Ao(),o=class extends t.WsConnector{getType(){return r.CONNECTOR_TYPE.WS.OKX_TG_WALLET}constructor(){super(),this.walletName="OKX Mini Wallet",this.walletNameKey=""}getTag(){return r.OKX_TG_WALLET}openWallet(e,t){var r;super.openWallet(e);var o=(0,i.getOKXLink)(e?.connectRequest,n.ConnectWalletType.OKX_MINI,null!==(r=e?.tmaReturnUrl)&&void 0!==r?r:"back");(0,i.openOKXTMAWalletlinkWithFallback)(o.universalLink)}};e.TgwalletConnector=o})),LMe=W(((e,t)=>{"use strict";m(),t.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r<t.length;r++)t[r]=255;for(var n=0;n<e.length;n++){var i=e.charAt(n),o=i.charCodeAt(0);if(255!==t[o])throw new TypeError(i+" is ambiguous");t[o]=n}var s=e.length,a=e.charAt(0),c=Math.log(s)/Math.log(256),u=Math.log(256)/Math.log(s);function l(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;for(var r=0,n=0,i=0;e[r]===a;)n++,r++;for(var o=(e.length-r)*c+1>>>0,u=new Uint8Array(o);e[r];){var l=e.charCodeAt(r);if(l>255)return;var d=t[l];if(255===d)return;for(var h=0,f=o-1;(0!==d||h<i)&&-1!==f;f--,h++)d+=s*u[f]>>>0,u[f]=d%256>>>0,d=d/256>>>0;if(0!==d)throw new Error("Non-zero carry");i=h,r++}for(var p=o-i;p!==o&&0===u[p];)p++;for(var g=new Uint8Array(n+(o-p)),y=n;p!==o;)g[y++]=u[p++];return g}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var r=0,n=0,i=0,o=t.length;i!==o&&0===t[i];)i++,r++;for(var c=(o-i)*u+1>>>0,l=new Uint8Array(c);i!==o;){for(var d=t[i],h=0,f=c-1;(0!==d||h<n)&&-1!==f;f--,h++)d+=256*l[f]>>>0,l[f]=d%s>>>0,d=d/s>>>0;if(0!==d)throw new Error("Non-zero carry");n=h,i++}for(var p=c-n;p!==c&&0===l[p];)p++;for(var g=a.repeat(r);p<c;++p)g+=e.charAt(l[p]);return g},decodeUnsafe:l,decode:function(e){var t=l(e);if(t)return t;throw new Error("Non-base"+s+" character")}}}})),WMe=W(((e,t)=>{m();var r=LMe();t.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")})),zMe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},r=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.SolProvider=void 0;var n=zi(),i=Ao(),o=r(WMe()),s=rg(),a=Ov();e.SolProvider=class{constructor(){this.accountChangedSolanaPublicKeyHandler=null}send(e){return t(this,void 0,void 0,(function*(){var t;try{yield this.restoreConnect(),(0,i.logDebug)("SolProvider send request:",JSON.stringify(e));let a,c=e.method;if(e.injectParams){switch(c){case"solana_signMessage":if(e.injectParams&&"object"==typeof e.injectParams&&"message"in e.injectParams){var r=null===(t=e.injectParams)||void 0===t?void 0:t.message;let n=(new TextEncoder).encode(r),s=yield window.okxwallet.solana.signMessage(n,"utf8");return a={method:e.method,result:o.default.encode(s.signature)},(0,i.logDebug)("SolProvider send result:",JSON.stringify(s)),a}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`param is error method: '${c}'`);case"solana_signTransaction":if(e.injectParams&&"transaction"in e.injectParams){let t=yield window.okxwallet.solana.signTransaction(e.injectParams.transaction);return(0,i.logDebug)("SolProvider send bufferResult:",JSON.stringify(t)),a={method:e.method,injectResult:t},(0,i.logDebug)("SolProvider send result:",(0,i.safeJsonStringify)(a)),a}break;case"solana_signAllTransactions":if(e.injectParams&&"transactions"in e.injectParams){let t=yield window.okxwallet.solana.signAllTransactions(e.injectParams.transactions);return(0,i.logDebug)("SolProvider send result:",(0,i.safeJsonStringify)(t)),a={method:e.method,injectResult:t},a}break;case"solana_signAndSendTransaction":if(e.injectParams&&"transaction"in e.injectParams){var s=yield window.okxwallet.solana.signAndSendTransaction(e.injectParams.transaction);return(0,i.logDebug)("SolProvider send result:",(0,i.safeJsonStringify)(s)),a={method:e.method,injectResult:s},a}break;default:throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`method: '${c}'`)}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`method: '${c}'`)}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`param is error method: '${c}'`)}catch(e){throw(0,i.logDebug)("SolProvider send error:",e),e}}))}disconnect(){}restoreConnect(){return(0,s.isDevice)("mobile")?this.connect():Promise.resolve()}parseConnectResponse(e,r,o,s,c,u){return t(this,void 0,void 0,(function*(){let e=[];s.forEach((t=>{t.namespace===n.NameSpaceKeySOL&&e.push(...t.chains)}));let t=[],r={},o={};if(e.forEach((e=>{let n=c.address.find((t=>"501"===t.chainId&&501===t.coinType||t.namespaceChainId===e));n&&(t.push(e+":"+n.address),r[e]=o&&"publicKey"in o?o:{publicKey:n.publicKey})})),t&&t.length>0){let e={namespace:n.NameSpaceKeySOL,addresses:t,methods:[...a.SOLANAMethods],extra:r};return(0,i.logDebug)("parseConnectResponse nameSpaceResponse :",JSON.stringify(e)),e}}))}connect(){return t(this,void 0,void 0,(function*(){return window.okxwallet.solana.connect()}))}singleConnect(){return this.connect()}addAccountChangedListener(e){console.log("window.okxwallet configEventWithKey:","sol"),this.accountChangedSolanaPublicKeyHandler=t=>{console.log("window.okxwallet configEventWithKey_solana:",Date.now(),"sol",t),t&&e()},window.okxwallet.solana.on("accountChanged",this.accountChangedSolanaPublicKeyHandler)}removeListener(){this.accountChangedSolanaPublicKeyHandler&&window.okxwallet.solana.removeListener("accountChanged",this.accountChangedSolanaPublicKeyHandler)}}})),HMe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.AptosProvider=void 0;var r=zi(),n=Ao(),i=Ov(),o=rg(),s=QU(),a=Object.freeze(["637","70000060","70000066"]),c=new Map;c.set("aptos:637","Mainnet"),c.set("aptos:70000060","Movement Testnet"),c.set("aptos:70000066","Movement Mainnet");e.AptosProvider=class{send(e){return t(this,void 0,void 0,(function*(){try{(0,n.logDebug)("AptosProvider send request:",(0,n.safeJsonStringify)(e)),yield this.restoreConnect();let t=yield window.okxwallet.aptos.network(),i=this.searchChainIdToInjectChainName(e.chainId);if((0,n.logDebug)("AptosProvider send network and searchNetwork:",t,"-----",i),!t||!i||t.toLowerCase()!==i.toLowerCase())throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Please switch your wallet link to '${i}'`);let o,s=e.method;switch(s){case"aptos_signMessage":if(e.injectParams){let t=yield window.okxwallet.aptos.signMessage(e.injectParams);return o={method:e.method,result:t.signature,injectResult:t},(0,n.logDebug)("AptosProvider send result:",(0,n.safeJsonStringify)(o)),o}throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`param is error method: '${s}'`);case"aptos_signTransaction":{(0,n.logDebug)("AptosProvider Method>>>> :",s);let t=yield window.okxwallet.aptos.signTransaction(e.params);return o={method:e.method,result:t},(0,n.logDebug)("AptosProvider send result:",(0,n.safeJsonStringify)(o)),o}case"aptos_signAndSubmitTransaction":{(0,n.logDebug)("AptosProvider Method>>>> :",s);let t=yield window.okxwallet.aptos.signAndSubmitTransaction(e.params);return o={method:e.method,result:t.hash},(0,n.logDebug)("AptosProvider send result:",(0,n.safeJsonStringify)(o)),o}default:throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,` method: '${s}'`)}}catch(e){throw(0,n.logDebug)("AptosProvider send error:",e),e}}))}searchChainIdToInjectChainName(e){let t=e;return c.forEach(((r,n)=>{e.includes(n)&&(t=r)})),t}disconnect(){}restoreConnect(){return(0,o.isDevice)("mobile")?this.connect():Promise.resolve()}parseConnectResponse(e,s,c,u,l,d){return t(this,void 0,void 0,(function*(){let e=[];u.forEach((t=>{t.namespace===r.NameSpaceKeyAptos&&e.push(...t.chains)}));let t,s=[],c={};if((0,n.logDebug)("AptosProvider parseConnectResponse connectChain",JSON.stringify(e)),!(0,o.isDevice)("mobile")&&e&&e.length>0&&(t=(yield window.okxwallet.aptos.connect()).publicKey),e.forEach((e=>{let r=l.address.find((t=>a.includes(t.chainId)&&637===t.coinType||t.namespaceChainId===e));r&&(s.push(e+":"+r.address),c[e]={publicKey:r.publicKey?r.publicKey:t})})),(0,n.logDebug)("AptosProvider parseConnectResponse addresses",JSON.stringify(s)),s&&s.length>0)return{namespace:r.NameSpaceKeyAptos,addresses:s,methods:[...i.AptosMethods],extra:c}}))}connect(){return t(this,void 0,void 0,(function*(){return window.okxwallet.aptos.connect()}))}singleConnect(){return this.connect()}addAccountChangedListener(e){window.okxwallet.aptos.onAccountChange((t=>{console.log("window.okxwallet configEventWithKey_aptos:",Date.now(),s.key,JSON.stringify(t)),t&&e()}))}removeListener(){}}})),qMe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.TONProvider=void 0;var r=zi(),n=Ao(),i=rg(),o=Ov();e.TONProvider=class{constructor(){this.signalChainConnectResult=void 0,this.accountChangedTONHandler=null}send(e){return t(this,void 0,void 0,(function*(){try{(0,n.logDebug)("TONProvider send request:",(0,n.safeJsonStringify)(e));let t=null;if("ton_sendTransaction"!==e.method)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);if(e.params&&(t={method:"sendTransaction",params:[JSON.stringify(e.params)],id:Date.now().toString()},(0,n.logDebug)("TONProvider tonParams first:",JSON.stringify(t))),t){let i=yield window.okxTonWallet.tonconnect.send(t);if((0,n.logDebug)("TONProvider send request result:",(0,n.safeJsonStringify)(i)),i.error)throw new r.OKXConnectError(i.error.code,i.error.message);return{result:i.result,method:e.method}}throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}catch(e){throw(0,n.logDebug)("TONProvider encountered an error:",e),e}}))}restoreConnect(){return Promise.resolve()}parseConnectResponse(e,s,a,c,u,l){return t(this,void 0,void 0,(function*(){try{let t=[];c.forEach((e=>{e.namespace===r.NameSpaceKeyTON&&t.push(...e.chains)}));let d=[],h={};if(t.forEach((e=>{(0,n.getChainId)(e);let t=u.address.find((t=>"607"===t.chainId&&607===t.coinType||t.namespaceChainId===e));t&&(d.push(e+":"+t.address),h[e]={publicKey:t.publicKey})})),(0,n.logDebug)("tonprovider parseConnectResponse needPop and addresses: ",e,JSON.stringify(d)),d&&d.length>0){let t,u=c.find((e=>e.namespace===r.NameSpaceKeyTON));if((0,n.logDebug)("tonprovider parseConnectResponse ton: ",JSON.stringify(u)),!(u&&u.params&&l&&l.manifestUrl))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"manifestUrl is nil");{this.dappInfo=l;let r=[u.params.ton_addr],o={manifestUrl:l.manifestUrl,items:r};(e||s)&&u.params.ton_proof&&r.push(u.params.ton_proof),(0,n.logDebug)("parseConnectResponse ton connect params: ",JSON.stringify(o)),t=(0,i.isDevice)("mobile")||e||s?yield window.okxTonWallet.tonconnect.connect(2,o):yield window.okxTonWallet.tonconnect.restoreConnection()}if(a&&this.signalChainConnectResult&&(t=this.signalChainConnectResult,this.signalChainConnectResult=void 0),(0,n.logDebug)("parseConnectResponse ton connect result: ",JSON.stringify(t)),t&&u){if("connect_error"===t.event)throw new r.OKXConnectError(t.payload.code,t.payload.message);{let e=t.payload.items.find((e=>"ton_addr"===e.name)),i=t.payload.items.find((e=>"ton_proof"===e.name));return(0,n.logDebug)("tonprovider connect isSignalChain: ",a),{namespace:r.NameSpaceKeyTON,addresses:d,methods:[...o.TONMethods],extra:h,data:{ton_addr:e,ton_proof:i,manifestUrl:l.manifestUrl}}}}}return}catch(e){throw(0,n.logDebug)("tonprovider parseConnectResponse error: ",JSON.stringify(e)),e}}))}connect(e,i){return t(this,void 0,void 0,(function*(){if(!(e&&i&&i.manifestUrl&&e.params))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"manifestUrl or params is nil");{this.dappInfo=i;let t=[e.params.ton_addr],o={manifestUrl:i.manifestUrl,items:t};e.params.ton_proof&&t.push(e.params.ton_proof),(0,n.logDebug)("tonprovider connect params: ",JSON.stringify(o));try{let e=yield window.okxTonWallet.tonconnect.connect(2,o);return(0,n.logDebug)("tonprovider connect tonResult: ",JSON.stringify(e)),this.signalChainConnectResult=e,e}catch(e){throw(0,n.logDebug)("tonprovider connect error: ",JSON.stringify(e)),new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"tonconnect error")}}}))}singleConnect(e,t){return this.connect(e,t)}addAccountChangedListener(e){console.log("window.okxwallet configEventWithKey:","ton"),this.accountChangedTONHandler=()=>{console.log("window.okxwallet configEventWithKey_TON:",Date.now(),"ton"),e()},window.okxTonWallet.tonconnect.on("accountChanged",this.accountChangedTONHandler)}removeListener(){this.accountChangedTONHandler&&window.okxTonWallet.tonconnect.off("accountChanged",this.accountChangedTONHandler)}}})),jMe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.SuiProvider=void 0;var r=zi(),n=Ao(),i=rg(),o=Ov();e.SuiProvider=class{constructor(e=window.okxwallet.sui){this.accountChangedHandler=null,this.wallet=e}getSuiPublicKey(){return t(this,void 0,void 0,(function*(){return(yield this.connect()).accounts[0].publicKey}))}parseConnectResponse(e,i,s,a,c,u){return t(this,void 0,void 0,(function*(){try{let e=[];a.forEach((t=>{t.namespace===r.NameSpaceKeySui&&e.push(...t.chains)}));let t=[],i={};if(0==e.length)return;let s=yield this.getSuiPublicKey();return e.forEach((e=>{var r;(0,n.getChainId)(e);let o=c.address.find((t=>784===t.coinType||t.namespaceChainId===e));o&&(t.push(e+":"+o.address),i[e]={publicKey:null!==(r=o.publicKey)&&void 0!==r?r:s})})),t&&t.length>0?{namespace:r.NameSpaceKeySui,addresses:t,methods:[...o.SuiMethods],extra:i}:void 0}catch(e){throw e}}))}restoreConnect(){return(0,i.isDevice)("mobile")?this.connect():Promise.resolve()}getSuiWallet(){return this.wallet}send(e){return t(this,void 0,void 0,(function*(){try{yield this.restoreConnect(),(0,n.logDebug)("suiProvider send request:",JSON.stringify(e));let t,i=e.method;if(e.injectParams&&this.getSuiWallet()){let n=e.injectParams;switch(i){case"sui_signTransactionBlock":let e;if(this.getSuiWallet().features["sui:signTransaction"])e=yield this.getSuiWallet().features["sui:signTransaction"].signTransaction(n);else{if(!this.getSuiWallet().features["sui:signTransactionBlock"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);e=yield this.getSuiWallet().features["sui:signTransactionBlock"].signTransactionBlock(n)}t={method:"sui_signTransactionBlock",result:e?.signature};break;case"sui_signAndExecuteTransactionBlock":let i;if(this.getSuiWallet().features["sui:signAndExecuteTransaction"])i=yield this.getSuiWallet().features["sui:signAndExecuteTransaction"].signAndExecuteTransaction(n);else{if(!this.getSuiWallet().features["sui:signAndExecuteTransactionBlock"])throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);i=yield this.getSuiWallet().features["sui:signAndExecuteTransactionBlock"].signAndExecuteTransactionBlock(n)}t={method:"sui_signAndExecuteTransactionBlock",result:i.digest};break;case"sui_signMessage":t={method:"sui_signMessage",result:(yield this.getSuiWallet().features["sui:signMessage"].signMessage(n)).signature};break;case"sui_signPersonalMessage":t={method:"sui_signPersonalMessage",result:(yield this.getSuiWallet().features["sui:signPersonalMessage"].signPersonalMessage(n)).signature}}}return t}catch(e){throw(0,n.logDebug)("suiProvider send error:",e),e}}))}connect(){return t(this,void 0,void 0,(function*(){var e;return null===(e=this.getSuiWallet())||void 0===e?void 0:e.features["standard:connect"].connect()}))}singleConnect(){return this.connect()}addStandardEventListener(e){var t,r;null!==(t=this.getSuiWallet())&&void 0!==t&&t.features["standard:events"]?((0,n.logDebug)("sui-provider standard:events change"),null===(r=this.getSuiWallet())||void 0===r||r.features["standard:events"].on("change",(t=>{e(t)}))):(0,n.logDebug)("sui-provider standard:events null")}addAccountChangedListener(e){var t;console.log("configEventWithKey:","sui"),this.getSuiWallet().on&&(this.accountChangedHandler=t=>{console.log("configEventWithKey_sui:",Date.now(),"sui",t),t&&e()},null===(t=this.getSuiWallet())||void 0===t||t.on("accountChanged",this.accountChangedHandler))}removeListener(){var e;this.accountChangedHandler&&(null===(e=this.getSuiWallet())||void 0===e||e.removeListener("accountChanged",this.accountChangedHandler))}}})),GMe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.BtcProvider=void 0;var r=zi(),n=Ao(),i=Ov(),o=rg();e.BtcProvider=class{constructor(){this.accountChangedBtcHandler=null}connect(){return window.okxwallet.unisat.connect()}switchChain(e){return t(this,void 0,void 0,(function*(){let t=window.okxwallet.unisat;switch(e){case r.BTC_CHAINS.MAINNET:yield t.switchChain("BITCOIN_MAINNET");break;case r.BTC_CHAINS.FRACTAL:yield t.switchChain("FRACTAL_BITCOIN_MAINNET")}}))}parseConnectResponse(e,n,o,s,a){return t(this,void 0,void 0,(function*(){try{let e=[];s.forEach((t=>{t.namespace===r.NameSpaceKeyBtc&&e.push(...t.chains)}));let n=[],o={};if(0==e.length)return;let c=(e,t)=>e.find((e=>{let n="bitcoin"===e.name&&t===r.BTC_CHAINS.MAINNET||"fractalbitcoin"===e.name&&t===r.BTC_CHAINS.FRACTAL;return 0===e.coinType&&n||e.namespaceChainId===t})),u=e=>t(this,void 0,void 0,(function*(){let t=c(a.address,e);if(!t)return;n.push(e+":"+t.address);let r=yield this.connect();o[e]={publicKey:r.publicKey,compressedPublicKey:r.compressedPublicKey}})),l=e.map(u);return yield Promise.all(l),n&&n.length>0?{namespace:r.NameSpaceKeyBtc,addresses:n,methods:[...i.BtcMethods],extra:o}:void 0}catch(e){throw e}}))}restoreConnect(){return t(this,void 0,void 0,(function*(){return(0,o.isDevice)("mobile")?this.connect():Promise.resolve()}))}send(e){return t(this,void 0,void 0,(function*(){try{(0,n.logDebug)("btcProvider send request:",JSON.stringify(e));let t=e.method,i=e.chainId;if(yield this.restoreConnect(),yield this.switchChain(i),!e.params)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,`param is error method: '${t}'`);switch(t){case"btc_signMessage":{let{signStr:t,type:r}=e.params||{},n=yield window.okxwallet.unisat.signMessage(t,r);return{method:e.method,result:n}}case"btc_send":{let{from:t,to:r,value:n,satBytes:i}=e.params||{},o=yield window.okxwallet.unisat.send({from:t,to:r,value:n,satBytes:i});return{method:e.method,result:o}}case"btc_signPsbts":{let t,{psbtHexs:r,options:i}=e.params||{};if(Array.isArray(r)&&1===r.length){let e;e=Array.isArray(i)?yield window.okxwallet.unisat.signPsbt(r[0],i.length>0&&"object"==typeof i[0]?i[0]:void 0):yield window.okxwallet.unisat.signPsbt(r[0]),t=[e]}else t=yield window.okxwallet.unisat.signPsbts(r,i);return{method:e.method,result:(0,n.safeJsonStringify)(t)}}case"btc_signAndPushPsbt":{let{psbtHex:t,options:r}=e.params||{},i=yield window.okxwallet.unisat.signPsbt(t,r),o=yield window.okxwallet.unisat.pushPsbt(i);return{method:e.method,result:(0,n.safeJsonStringify)({signedPsbt:i,txHash:o})}}case"btc_sendInscription":{let{address:t,inscriptionId:r,options:n}=e.injectParams||{},i=yield window.okxwallet.unisat.sendInscription(t,r,n);return{method:e.method,result:i}}case"btc_inscribeTransfer":if(this.hasFunction("inscribeTransfer")){let{ticker:t,amount:r}=e.params||{},n=yield window.okxwallet.unisat.inscribeTransfer(t,r);return{method:e.method,result:n}}case"btc_sendRunes":if(this.hasFunction("sendRunes")){let{address:t,runeid:r,amount:n,options:i}=e.injectParams||{},o=yield window.okxwallet.unisat.sendRunes(t,r,n,i);return{method:e.method,result:o}}default:throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`method: '${t}' not support`)}}catch(e){throw(0,n.logDebug)("BtcProvider send error:",e),e}}))}hasFunction(e){return!(!window.okxwallet||!window.okxwallet.unisat||"function"!=typeof window.okxwallet.unisat[e])}singleConnect(e){return t(this,void 0,void 0,(function*(){return 1==e.chains.length&&this.connect()}))}addAccountChangedListener(e){this.accountChangedBtcHandler=t=>{console.log("window.okxwallet btc:",Date.now(),"btc",t),t&&t.length>0&&e()},window.okxwallet.unisat.on("accountsChanged",this.accountChangedBtcHandler)}removeListener(){window.okxwallet.unisat.removeListener("accountsChanged",this.accountChangedBtcHandler)}}})),xte=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OkxwalletInjectConnector=void 0;var r=y7(),n=zi(),i=ite(),o=zMe(),s=HMe(),a=qMe(),c=jMe(),u=GMe(),l=Ao(),d=zU(),h=rg(),f=Cee(),p=E0(),g=class extends r.InjectConnector{getType(){return p.CONNECTOR_TYPE.INJECT.OKX_INJECT_WALLET}constructor(){super(),this.walletName="OKX Wallet",this.walletNameKey="walletModal.mobileConnectionModal.connectInjected",this.providerMap.set(n.NameSpaceKeyEip155,new i.Eip155Provider),this.providerMap.set(n.NameSpaceKeySOL,new o.SolProvider),this.providerMap.set(n.NameSpaceKeyAptos,new s.AptosProvider),this.providerMap.set(n.NameSpaceKeyTON,new a.TONProvider),this.providerMap.set(n.NameSpaceKeySui,new c.SuiProvider),this.providerMap.set(n.NameSpaceKeyBtc,new u.BtcProvider)}openWallet(e,r){return t(this,void 0,void 0,(function*(){var t,r,i;if((0,l.logDebug)("InjectEngine connect begin:",JSON.stringify(e)),!e)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR);this.dappInfo=e.connectRequest.dAppInfo;var o=e.connectRequest;try{if(!window||!window.okxwallet)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR);if(o.requests){let e=o.requests.find((e=>"requestAccounts"===e.name)),a=yield window.okxwallet.getVersion(),c={method:"connect",requestId:o.requestId,payload:{wallet:{platform:null!==(t=navigator.platform)&&void 0!==t?t:"/",appName:d.OKXInjectWalletName,appVersion:a??"1.0.0",maxProtocolVersion:1},responses:[]}},u={name:"requestAccounts",accounts:[]};c.payload.responses.push(u),yield this.disconnect();let l=null!==(r=e.requiredNamespaces)&&void 0!==r?r:[],f=null!==(i=e.optionalNamespaces)&&void 0!==i?i:[],p=!0,g=!1;if(l.length+f.length===1&&!(0,h.isDevice)("mobile")){let e=1===l.length?l[0]:f[0],t=this.getInjectProvider(e.namespace);(yield t?.singleConnect(e,this.dappInfo))&&(g=!0,p=!1)}var s=yield this.getAccountByRequestWallets(p,!1,g,l,f);if(!s)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connect requestWallets is null");if(u.accounts.push(...s),0===u.accounts.length)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connect connectAccounts is null");this.connectResultListener&&(this.disconnectHandler&&window.okxwallet.removeListener("disconnect",this.disconnectHandler),this.disconnectHandler=()=>{console.log("window.okxwallet disconnect:"),this.disconnectListener.forEach((e=>e())),this.disconnectListener=[]},window.okxwallet.on("disconnect",this.disconnectHandler),this.connectResultListener(c,this))}}catch(e){var a=n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR;e instanceof n.OKXConnectError&&(a=e.code,e.message),this.connectResultListener&&this.connectResultListener({requestId:"-1",method:"connect_error",payload:{code:a}},this)}}))}checkAccountChanged(){return t(this,void 0,void 0,(function*(){var e;try{let t=null===(e=this.connectionManager)||void 0===e?void 0:e.getSessionContent("connectSession");if(!t)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);(0,l.logDebug)("inject-connector checkAccountChanged --sessionInfo:",JSON.stringify(t));let r=this.getRequireNameSpaceFromSession(t);(0,l.logDebug)("inject-connector checkAccountChanged --requiredNamespaces:",JSON.stringify(r));let i=yield this.getAccountByRequestWallets(!1,!0,!1,r,[]);if((0,l.logDebug)("inject-connector checkAccountChanged --accounts:",JSON.stringify(i)),!i)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connect requestWallets is null");{let e={};(0,f.buildAccountNameSpaces)(i,e),this.compareAndModifyNamespaces(t.namespaces,e)||((0,l.logDebug)("inject-connector checkAccountChanged --result sessionLocal:",JSON.stringify(t)),this.accountChangeListener?((0,l.logDebug)("inject-connector checkAccountChanged -accountChangeListener:",this.accountChangeListener),this.accountChangeListener(t)):((0,l.logDebug)("inject-connector checkAccountChanged disconnect:"),yield this.disconnect()))}}catch(e){throw(0,l.logDebug)("inject-connector restoreconnect catch error",JSON.stringify(e)),e}}))}compareAndModifyNamespaces(e,t){let r=!0;for(let n in e)if(t[n]){let i=e[n],o=t[n];(0,l.logDebug)("inject-connector checkAccountChanged ns1:",JSON.stringify(i)),(0,l.logDebug)("inject-connector checkAccountChanged ns2:",JSON.stringify(o)),JSON.stringify([...i.accounts].sort())===JSON.stringify([...o.accounts].sort())||(r=!1,i.accounts=[...o.accounts],i.extra=Object.assign({},o.extra),i.payload=Object.assign({},o.payload)),(0,l.logDebug)("inject-connector checkAccountChanged new ns1:",JSON.stringify(i))}return(0,l.logDebug)(`inject-connector checkAccountChanged compareAndModifyNamespaces ===> ${r}`),r}restoreconnect(e,t){var r;if(window.okxwallet){this.dappInfo=null===(r=e.sessionConfig)||void 0===r?void 0:r.dappInfo,(0,l.logDebug)("inject-connector restoreconnect --sessionInfo:",JSON.stringify(e));var i=this.getRequireNameSpaceFromSession(e);(0,l.logDebug)("inject-connector restoreconnect --requiredNamespaces:",JSON.stringify(i)),this.getAccountByRequestWallets(!1,!1,!1,i,[]).then((r=>{(0,l.logDebug)("inject-connector restoreconnect --accounts:",JSON.stringify(r));let i=!0;for(let t in e.namespaces){var o=r.find((e=>e.namespace===t)),s=e.namespaces[t].accounts;if(!o)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"resotreconnect error: accountItem error");let a=s;t===n.NameSpaceKeyAptos&&a&&a.length>0&&(a=s.map((e=>(0,l.replaceChainNameToChainId)(e)))),o.addresses.length===a.length&&o.addresses.slice().sort().every(((e,r)=>{if(t===n.NameSpaceKeyAptos){let t=a.slice().sort()[r];return(0,l.logDebug)("check aptos address -value and aptosAdd--",e,t),t===e}return e===a.slice().sort()[r]}))||(i=!1)}if(!i)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,"resotreconnect error: address not as same as session");t(e)})).catch((e=>{(0,l.logDebug)("inject-connector restoreconnect catch error",JSON.stringify(e)),t(null)}))}else t(null)}getRequireNameSpaceFromSession(e){var t,r,i=[];for(let o in e.namespaces){let s=e.namespaces[o],a={namespace:o,chains:s.chains};if(o===n.NameSpaceKeyAptos){let e=[];s.chains.forEach((t=>{let r=(0,l.replaceChainNameToChainId)(t);e.push(r)})),a={namespace:o,chains:e}}else if(o===n.NameSpaceKeyTON){let e,n;!(null===(t=s.payload)||void 0===t)&&t.ton_proof&&(e=null===(r=s.payload)||void 0===r?void 0:r.ton_proof,e.proof.payload&&(n={name:"ton_proof",payload:e.proof.payload})),a={namespace:o,chains:s.chains,params:{ton_addr:{name:"ton_addr"},ton_proof:n}}}i.push(a)}return i}getAccountByRequestWallets(e,r,i,o,s){return t(this,void 0,void 0,(function*(){try{var t=[],a=[];if((0,h.isDevice)("mobile")){var c=yield window.okxwallet.connectWallet(e,{requiredNamespaces:o,optionalNamespaces:s});t.push(c)}else t=yield window.okxwallet.requestWallets(e);var u=[...o??[],...s??[]];let d,f=t[0];if((0,l.logDebug)(" InjectEngine connect connectAccounts:",JSON.stringify(f)),u&&f&&f.address)for(let[t,n]of this.providerMap.entries()){let o=yield n.parseConnectResponse(e,r,i,u,f,this.dappInfo);o&&(d=t,a.push(o))}let p=o.every((e=>{let t=a.find((t=>t.namespace===e.namespace));return!!t&&e.chains.every((e=>!!t.addresses.find((t=>t.startsWith(e+":")))))}));if((0,l.logDebug)("InjectEngine connect requiredNamespaces:",JSON.stringify(o)),(0,l.logDebug)("InjectEngine connect accountResult:",JSON.stringify(a)),!p)throw yield this.disconnect(),new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);return(0,h.isDevice)("mobile")||(this.configEventWithKey(d),yield window.okxwallet.requestWallets(e)),a}catch(e){throw e&&"object"==typeof e&&"code"in e&&4001===e.code?new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR):new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR)}}))}configEventWithKey(e){var t,r;for(let e in this.providerMap)null===(t=this.providerMap.get(e))||void 0===t||t.removeListener();null===(r=this.getInjectProvider(e))||void 0===r||r.addAccountChangedListener((()=>{this.checkAccountChanged().catch((e=>{console.log("window.okxwallet configEventWithKey error: ",e)}))}))}disconnect(){return t(this,void 0,void 0,(function*(){(0,l.logDebug)("InjectEngine ==>> disconnect  okxwallet.disconnect()"),window.okxwallet&&(yield window.okxwallet.disconnect(),(0,l.logDebug)("InjectEngine ==>> disconnect end okxwallet.disconnect()"))}))}};e.OkxwalletInjectConnector=g})),VMe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OkxwalletInjectTonsdkConnector=void 0;var r=zi(),n=Ao(),i=rg(),o=xte(),s=E0(),a=class extends o.OkxwalletInjectConnector{getType(){return s.CONNECTOR_TYPE.INJECT.OKX_INJECT_WALLET}constructor(){super(),this.walletName="OKX Wallet extension",this.walletNameKey="walletModal.mobileConnectionModal.connectInjected"}checkWalletMatch(){return t(this,void 0,void 0,(function*(){var e,t,o;null===(e=this.connectionManager)||void 0===e||e.tonsdkConnectStorage.synchronizedCache();let s=null===(t=this.connectionManager)||void 0===t?void 0:t.tonsdkConnectStorage.getItem("ton_connect_info_adapter_universal");if(!s||!s?.content)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);let a,c=s?.content,u=JSON.parse(c),l=u.connectEvent.payload.items.find((e=>"name"in e&&"ton_addr"===e.name));if(this.dappInfo=u.dappInfo,l&&"address"in l&&(a=l.address),!a)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED);if((0,n.logDebug)(`inject-connector localTonaddress : ${a}`),(0,i.isDevice)("mobile")){let e;e={namespace:r.NameSpaceKeyTON,chains:[r.TON_CHAINS.MAINNET],params:{ton_addr:{name:"ton_addr"}}};let t=yield this.getAccountByRequestWallets(!1,!1,!1,[e],[]);if(t&&1==t.length){let e=null===(o=t[0].data)||void 0===o?void 0:o.ton_addr,r=e?.address;if(a===r)return}}else{let e=yield window.okxTonWallet.tonconnect.restoreConnection();if("connect"===e.event&&e.payload.items.find((e=>"ton_addr"===e.name)).address==a)return}throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.WALLET_NOT_SUPPORTED)}))}};e.OkxwalletInjectTonsdkConnector=a})),JMe=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.ThirdpartInjectConnector=void 0;var r=y7(),n=zi(),i=E0(),o=Ao(),s=class extends r.InjectConnector{getType(){return this.walletName===n.AptosGoogleWalletName?i.CONNECTOR_TYPE.KEYLESS.GOOGLE_WALLET:this.walletName===n.AptosAppleWalletName?i.CONNECTOR_TYPE.KEYLESS.APPLE_WALLET:i.CONNECTOR_TYPE.INJECT.STANDARD_INJECT_WALLET}constructor(e){super(),this.walletName=e.walletName,e.wallets.forEach(((e,t)=>{this.providerMap.set(t,e)})),this.icon=e.icon}registerWallet(e,t){this.providerMap.set(e,t)}getTag(){var e;return i.STANDARD_INJECT_WALLET+(null!==(e=this.walletName)&&void 0!==e?e:"")}getWalletVersion(){return t(this,void 0,void 0,(function*(){let e=this.providerMap.values().next().value;if(!e)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR);return e.getVersion()}))}openWallet(e,r){return t(this,void 0,void 0,(function*(){var t,r;if((0,o.logDebug)("InjectEngine connect begin:",JSON.stringify(e)),!e)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR);this.dappInfo=e.connectRequest.dAppInfo;var i=e.connectRequest;try{if(i.requests){let e,o=i.requests.find((e=>"requestAccounts"===e.name)),s=null!==(t=o.requiredNamespaces)&&void 0!==t?t:[],a=null!==(r=o.optionalNamespaces)&&void 0!==r?r:[];if(s.length+a.length===1){let t=1===s.length?s[0]:a[0],r=this.providerMap.get(t.namespace);if(this.addListener(t.namespace),!r)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"openWallet: provider not found");e=yield this.getResponseByConnect(r)}this.connectResultListener&&e&&this.connectResultListener(e,this)}}catch(e){var s=n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR;e instanceof n.OKXConnectError&&(s=e.code,e.message),this.connectResultListener&&this.connectResultListener({requestId:"-1",method:"connect_error",payload:{code:s}},this)}}))}getResponseByConnect(e){return t(this,void 0,void 0,(function*(){var t,r;let n={method:"connect",requestId:Date.now().toString(),payload:{wallet:{platform:null!==(t=navigator.platform)&&void 0!==t?t:"/",appName:i.STANDARD_INJECT_WALLET+this.walletName,appVersion:null!==(r=this.getWalletVersion())&&void 0!==r?r:"1.0.0",maxProtocolVersion:1},responses:[]}},o={name:"requestAccounts",accounts:[]};return n.payload.responses.push(o),o.accounts.push(yield this.getAccount(e)),n}))}getAccount(e){return t(this,void 0,void 0,(function*(){return e.getAccount()}))}disconnect(){return t(this,void 0,void 0,(function*(){yield Promise.all([...this.providerMap.values()].map((e=>e.disconnect())))}))}onDisconnect(){this.disconnectListener.forEach((e=>e())),this.disconnectListener=[]}restoreconnect(e,t){let r=Object.keys(e.namespaces);if(1!==r.length)return void t(null);this.addListener(r[0]);let n=this.getInjectProvider(r[0]);if(!n)return t(null);n.getAccount({silent:!0}).then((n=>{var i;let o=null!==(i=n?.addresses)&&void 0!==i?i:[""];e.namespaces[r[0]].accounts[0].includes(o[0])?t(e):t(null)})).catch((e=>{t(null)}))}checkAccountChanged(e,r){return t(this,void 0,void 0,(function*(){var t,n;try{let i=null===(t=this.connectionManager)||void 0===t?void 0:t.getSessionContent("connectSession");if(!i||r&&i.namespaces[e].accounts.some((e=>e.includes(r))))return;let o=this.getInjectProvider(e);if(o){let t=yield this.getResponseByConnect(o);if(t&&i){let r=t.payload.responses[0].accounts[0];i.namespaces[e].accounts=r.addresses,i.namespaces[e].extra=r.extra,i.namespaces[e].rpcMap=void 0,i.namespaces[e].methods=r.methods,null===(n=this.accountChangeListener)||void 0===n||n.call(this,i)}}}catch{yield this.disconnect()}}))}addListener(e){var t,r;for(let e in this.providerMap)null===(t=this.providerMap.get(e))||void 0===t||t.removeListener();null===(r=this.getInjectProvider(e))||void 0===r||r.addAccountChangedListener((t=>{t?this.checkAccountChanged(e,t).catch((e=>{})):this.onDisconnect()}))}supportNamespaceAndChains(e,t){let r=this.providerMap.get(e);return!!r&&r.supportChains(t)}};e.ThirdpartInjectConnector=s})),QMe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXWalletAppConnector=void 0;var t=E0(),r=Ao(),n=kS(),i=zi(),o=m3(),s=class extends o.WsConnector{getType(){return t.CONNECTOR_TYPE.WS.OKX_WALLET_APP_WALLET}constructor(){super(),this.walletName="OKX Wallet App"}getTag(){return t.OKX_WALLET_APP_WALLET}openWallet(e,t){super.openWallet(e);let o=t??i.OpenAppLinkType.UniversalLink;if(e&&e.connectRequest||!(0,r.isOS)("android")){(0,r.logDebug)(`appwallet-connector openwallet before useSHortLink engineConnectInfo.connectRequest JSON ${JSON.stringify(e)}`);let t=e?.connectRequest,{universalLink:n,deepLink:s}=(0,r.getOKXLink)(t,i.ConnectWalletType.OKX_WALLET);(0,r.openOKXDeeplinkWithFallback)(s,n,o)}else(0,r.openDeeplinkWithFallback)(n.okxWalletStackDeepLink,(()=>{}))}};e.OKXWalletAppConnector=s})),eke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAppCommonConnector=void 0;var t=E0(),r=Ao(),n=kS(),i=zi(),o=m3(),s=class extends o.WsConnector{getType(){return t.CONNECTOR_TYPE.WS.OKX_APP_COMMON}constructor(){super(),this.walletName=""}getTag(){return t.OKX_APP_COMMON_WALLET}openWallet(e,t){super.openWallet(e);let o=t??i.OpenAppLinkType.UniversalLink;if(e&&e.connectRequest||!(0,r.isOS)("android")){(0,r.logDebug)(`okxAppCommonConnector openwallet before useSHortLink engineConnectInfo.connectRequest JSON ${JSON.stringify(e)}`);let t=e?.connectRequest,{universalLink:n,deepLink:s}=(0,r.getOKXLink)(t,i.ConnectWalletType.OKX_APP_COMMON);(0,r.openOKXDeeplinkWithFallback)(s,n,o)}else(0,r.openDeeplinkWithFallback)(n.okxCommonStackDeepLink,(()=>{}))}};e.OKXAppCommonConnector=s})),tke=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAppCommonConnector=e.OKXWalletAppConnector=e.ThirdpartInjectConnector=e.OkxwalletInjectTonsdkConnector=e.OkxwalletInjectConnector=e.WsConnector=e.TgwalletConnector=e.InjectConnector=e.OKXAppConnector=void 0;var n=_Me();Object.defineProperty(e,"OKXAppConnector",{enumerable:!0,get:function(){return n.OKXAppConnector}}),r(E0(),e);var i=y7();Object.defineProperty(e,"InjectConnector",{enumerable:!0,get:function(){return i.InjectConnector}});var o=DMe();Object.defineProperty(e,"TgwalletConnector",{enumerable:!0,get:function(){return o.TgwalletConnector}});var s=m3();Object.defineProperty(e,"WsConnector",{enumerable:!0,get:function(){return s.WsConnector}});var a=xte();Object.defineProperty(e,"OkxwalletInjectConnector",{enumerable:!0,get:function(){return a.OkxwalletInjectConnector}});var c=VMe();Object.defineProperty(e,"OkxwalletInjectTonsdkConnector",{enumerable:!0,get:function(){return c.OkxwalletInjectTonsdkConnector}});var u=JMe();Object.defineProperty(e,"ThirdpartInjectConnector",{enumerable:!0,get:function(){return u.ThirdpartInjectConnector}});var l=QMe();Object.defineProperty(e,"OKXWalletAppConnector",{enumerable:!0,get:function(){return l.OKXWalletAppConnector}});var d=eke();Object.defineProperty(e,"OKXAppCommonConnector",{enumerable:!0,get:function(){return d.OKXAppCommonConnector}})})),ho=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(IBe(),e),r(zi(),e),r(Ao(),e),r(ite(),e),r(tke(),e)})),nke=W(((e,t)=>{"use strict";m(),t.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r<t.length;r++)t[r]=255;for(var n=0;n<e.length;n++){var i=e.charAt(n),o=i.charCodeAt(0);if(255!==t[o])throw new TypeError(i+" is ambiguous");t[o]=n}var s=e.length,a=e.charAt(0),c=Math.log(s)/Math.log(256),u=Math.log(256)/Math.log(s);function l(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;for(var r=0,n=0,i=0;e[r]===a;)n++,r++;for(var o=(e.length-r)*c+1>>>0,u=new Uint8Array(o);e[r];){var l=e.charCodeAt(r);if(l>255)return;var d=t[l];if(255===d)return;for(var h=0,f=o-1;(0!==d||h<i)&&-1!==f;f--,h++)d+=s*u[f]>>>0,u[f]=d%256>>>0,d=d/256>>>0;if(0!==d)throw new Error("Non-zero carry");i=h,r++}for(var p=o-i;p!==o&&0===u[p];)p++;for(var g=new Uint8Array(n+(o-p)),y=n;p!==o;)g[y++]=u[p++];return g}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var r=0,n=0,i=0,o=t.length;i!==o&&0===t[i];)i++,r++;for(var c=(o-i)*u+1>>>0,l=new Uint8Array(c);i!==o;){for(var d=t[i],h=0,f=c-1;(0!==d||h<n)&&-1!==f;f--,h++)d+=256*l[f]>>>0,l[f]=d%s>>>0,d=d/s>>>0;if(0!==d)throw new Error("Non-zero carry");n=h,i++}for(var p=c-n;p!==c&&0===l[p];)p++;for(var g=a.repeat(r);p<c;++p)g+=e.charAt(l[p]);return g},decodeUnsafe:l,decode:function(e){var t=l(e);if(t)return t;throw new Error("Non-base"+s+" character")}}}})),oke=W(((e,t)=>{m();var r=nke();t.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")})),cke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.getRpcUrl=function(e,t,r){var i;let o=n(e);return(null===(i=t.rpcMap)||void 0===i?void 0:i[o.reference])||""},e.getChainId=function(e){return e.includes(":")?e.split(":")[1]:e},e.fromAccountToAddress=function(e){if(!e)return"";try{let r=e.split(":").slice(2),n=r.length>0?r.join(":"):"";return(0,t.logDebug)("fromAccountToAddress address and account:",n,e),n}catch{return(0,t.logError)("fromAccountToAddress error:",e),""}},e.convertChainIdToNumber=function(e){return"number"==typeof e?e:e.includes("0x")?parseInt(e,16):(e=e.includes(":")?e.split(":")[1]:e,isNaN(Number(e))?e:Number(e))},e.parseChainId=n,e.mergeArrays=function(e=[],t=[]){return[...new Set([...e,...t])]},e.syncAddressAvailable=function(e){return!(!e||"OKX Wallet"!==e.appName||(0,t.versionCompare)("6.97.0",e.appVersion)>0)&&i()},e.syncAddressHostAvailable=i;var t=ho();var r=":";function n(e){let[t,n]=e.split(r);return{namespace:t,reference:n}}function i(){try{return!!window.okxGlobal}catch{return!1}}})),lke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.setGlobal=e.getGlobal=void 0;var t={};e.getGlobal=e=>t[e];e.setGlobal=(e,r)=>{t[e]=r}})),ph=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(cke(),e),r(lke(),e)})),Ite=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(sN(),e),r(ph(),e)})),Bte=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},r=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectSupportMethods=void 0,e.creatNotSupportMethodItemReplay=function(e){let t=new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);return{method:e.method,chainId:e.chainId,error:{code:t.code,message:t.message}}},e.isMobileDiscover=function(){return!!window.okxwallet&&window.okxwallet.mobileDiscoverWallet},e.connectMethodsAdaptOldVersion=function(e,r){return t(this,void 0,void 0,(function*(){var t,s,a,c,u;try{(0,n.logDebug)("connectMethodsAdaptOldVersion start params :",JSON.stringify(e));let d={};if("solana_signMessage"===e.method){let a=null===(t=r.namespaces[n.NameSpaceKeySOL])||void 0===t?void 0:t.accounts.filter((function(t){return t.startsWith(e.chainId)}))[0],c=(0,o.fromAccountToAddress)(a);if(e.params&&c&&"message"in e.params){let t=e.params.message;if("OKX Wallet"==(null===(s=r.wallet)||void 0===s?void 0:s.appName)){let e=(new TextEncoder).encode(t);t=i.default.encode(e)}return e.params={message:t,pubkey:c},e.injectParams=e.params,d={publicKey:c},(0,n.logDebug)("solana_signMessage account and address:",JSON.stringify(a),c),(0,n.logDebug)("solana_signMessage callBackParams:",JSON.stringify(d)),d}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}if("sui_signMessage"===e.method||"sui_signPersonalMessage"===e.method){if("message"in e.params&&e.params.message){let t=JSON.parse(JSON.stringify(e.params.message)),r=Object.values(t),i=new Uint8Array(r),o=new TextDecoder("utf8"),s=btoa(o.decode(i));return e.params={message:atob(s)},e.injectParams={message:i},console.log("sui_signMessag suiMessagee suiMessageb64:>>>>",JSON.stringify(e.params),s),"sui_signMessage"===e.method?d={messageBytes:s,signature:""}:"sui_signPersonalMessage"===e.method&&(d={bytes:s,signature:""}),(0,n.logDebug)("sui_signMessage/sui_signPersonalMessage callBackParams:",JSON.stringify(d)),d}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}if("btc_signMessage"===e.method){let t=(null===(a=r.namespaces[n.NameSpaceKeyBtc])||void 0===a?void 0:a.accounts.filter((function(t){return t.startsWith(e.chainId)})))[0],i=(0,o.fromAccountToAddress)(t);if((0,n.logDebug)("btc_signMessage account and address:",JSON.stringify(t),i),i){if(!("message"in e.params)||!e.params.message||"string"!=typeof e.params.message)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);return e.params={from:i,signStr:e.params.message},e.params.from=i,(0,n.logDebug)("btc_signMessage callBackParams:",JSON.stringify(d)),d}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}if("aptos_signMessage"===e.method){let t=e.params,i=null===(c=r.namespaces[n.NameSpaceKeyAptos])||void 0===c?void 0:c.accounts.filter((function(t){return t.startsWith(e.chainId)}))[0],s=(0,o.fromAccountToAddress)(i);if(t&&s){let r="APTOS",i="",o="";var l=r;let a=window.location.protocol+"//"+window.location.hostname;"address"in t&&t.address&&(l+="\naddress: "+s),"application"in t&&t.application&&(l+="\napplication: "+a);let c=1;"chainId"in t&&t.chainId&&("aptos:mainnet"==t.chainId?c=1:"movement:testnet"==t.chainId&&(c=2),l+="\nchainId: "+c),"message"in t&&(l+="\nmessage: "+t.message,i=t.message),"nonce"in t&&(l+="\nnonce: "+t.nonce,o=t.nonce);let u=(new TextEncoder).encode(l),h=Array.from(u).map((e=>e.toString(16).padStart(2,"0"))).join("");return e.params={message:h},e.injectParams=t,(0,n.logDebug)("aptos_signMessage requestParams:",JSON.stringify(e)),d={address:s,application:a,chainId:c,fullMessage:l,message:i,nonce:o,prefix:r,signature:""},(0,n.logDebug)("aptos_signMessage callBackParams:",JSON.stringify(d)),d}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}if("cosmos_signArbitrary"===e.method){let t=null===(u=r?.namespaces[n.NameSpaceKeyCosmos])||void 0===u?void 0:u.accounts.filter((function(t){return t.startsWith(e.chainId)}))[0],i=(0,o.fromAccountToAddress)(t),s=e.params.message,a=btoa(s);if((0,n.logDebug)("cosmos_signArbitrary account and address:",JSON.stringify(t),i),(0,n.logDebug)("cosmos_signArbitrary cosmosBase64Encoded:",a),s&&i){let t={chain_id:"",account_number:"0",sequence:"0",fee:{gas:"0",amount:[]},msgs:[{type:"sign/MsgSignData",value:{signer:i,data:a}}],memo:""};return e.params={signer:i,chain_id:e.chainId.split(":")[1],data:t},(0,n.logDebug)("cosmos_signArbitrary callBackParams:",JSON.stringify(d)),d}throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}(0,n.logDebug)("sol_handleSignatureData end params:",JSON.stringify(e))}catch(e){throw e}}))},e.connectMethodsResponseUpdate=function(e,r){return t(this,void 0,void 0,(function*(){var t;try{if(e.signResponse){(0,n.logDebug)("connectMethodsResponseUpdate signResponse:",JSON.stringify(e.signResponse)),(0,n.logDebug)("connectMethodsResponseUpdate session.namespaces:",JSON.stringify(e.namespaces));for(let s of e.signResponse)if((0,n.logDebug)("connectMethodsResponseUpdate methodItem:",JSON.stringify(s)),"result"in s)if("solana_signMessage"===s.method){let r=s.result;(0,n.logDebug)("solana_signMessage methodItem.chainId:",s.chainId);let a=null===(t=e.namespaces[n.NameSpaceKeySOL])||void 0===t?void 0:t.accounts.filter((function(e){return(0,n.logDebug)("solana_signMessage account:",e),e.startsWith(s.chainId)}))[0];(0,n.logDebug)("solana_signMessage result account:",r,a),r&&a&&(s.result={signature:i.default.decode(r),publicKey:(0,o.fromAccountToAddress)(a)})}else if("sui_signMessage"===s.method||"sui_signPersonalMessage"===s.method){let e=r.filter((function(e){return e.method===s.method}))[0];if(e&&e.params&&"message"in e.params){let t=e.params.message,r=btoa(t);console.log("sui_signMessag suiMessagee suiMessageb64:>>>>",t,r),"sui_signMessage"===s.method?s.result={messageBytes:r,signature:s.result}:"sui_signPersonalMessage"===s.method&&(s.result={bytes:r,signature:s.result})}}else if("aptos_signMessage"===s.method){if(s.chainId=(0,n.replaceChainIdToChainName)(s.chainId),s.result=JSON.parse(s.result),console.log("aptos_signMessage result methodItem.result before:>>>>",JSON.stringify(s.result)),s.result&&"signature"in s.result){let e=s.result.signature;e&&e.startsWith("0x")&&(e=e.slice(2,e.length),s.result.signature=e)}console.log("aptos_signMessage result methodItem.result after:>>>>",JSON.stringify(s.result))}else if("cosmos_signArbitrary"===s.method)s.result=JSON.parse(s.result);else if("starknet_signMessage"==s.method){let e=s.result;"string"==typeof e&&(e=JSON.parse(e)),s.result=[e.signedDataR,e.signedDataS]}else"sync_all_addresses"==s.method&&(s.result=u(s.result))}}catch(e){throw(0,n.logDebug)("connectMethodsResponseUpdate signResponse Error:",JSON.stringify(e)),e}}))},e.connectMethodsToConnectWalletMethods=function(r,u){return t(this,void 0,void 0,(function*(){try{(0,n.logDebug)("connectMethodsToConnectWalletMethods requestMethods:",JSON.stringify(r));let h=[];if(r&&r.length>1)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"connectAndSign/openModalAndSign signRequest only support one data");if(!u&&r&&r.length>0)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Connect request params error , RequestMethods cannot be added when the NameSpace is empty");for(let e of r)if("aptos_signMessage"===e.method&&(e.chainId=(0,n.replaceChainNameToChainId)(e.chainId)),"wallet_addEthereumChain"===e.method){var t=u?.some((e=>e.namespace.includes("eip155")));if(!t)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Connect request params error, When using '${e.method}', the EVM chain needs to be included in the NameSpace`)}else if("sync_all_addresses"===e.method){if(!(0,o.syncAddressHostAvailable)())throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED);e.chainId=""}else if(!u?.some((t=>t.chains.some((t=>t.includes(`${e.chainId}`))))))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Connect request params error, When using '${e.method}', NameSpace must contain '${e.chainId}'`);for(let t of r){if(!e.connectSupportMethods.includes(t.method))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect requestMethods not support method, method: '${t.method}'`);if("wallet_addEthereumChain"===t.method){if(Array.isArray(t.params)){let e=t.params;if(!e||1!==e.length)throw e&&e.length>1?new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params only support one data, method: '${t.method}'`):new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is nil, method: '${t.method}'`);{let r=e[0];a(r)&&(t.params=r)}}}else if("personal_sign"===t.method){if(s(t.params)){if(t.params&&1!==t.params.length)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params error,  method: '${t.method}' `);let e=t.params[0];if(!e||"string"!=typeof e)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);t.params={message:e}}}else if("sui_signMessage"===t.method||"sui_signPersonalMessage"===t.method){if(!a(t.params)||!("message"in t.params))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);if(!t.params.message)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);{(0,n.logDebug)("sui_signMessage item.params.message :",t.params.message);let e=JSON.parse(JSON.stringify(t.params.message)),r=Object.values(e),i=new Uint8Array(r),o=new TextDecoder("utf8"),s=btoa(o.decode(i));t.params.message=atob(s)}}else if("solana_signMessage"===t.method){if(!a(t.params)||!("message"in t.params))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);if(!t.params.message||"string"!=typeof t.params.message)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);{let e=(new TextEncoder).encode(t.params.message);t.params.bs58Message=i.default.encode(e)}}else if("aptos_signMessage"===t.method){if(!a(t.params))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);if(!t.chainId)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params chainId is error,  method: '${t.method}' `);{var l=t.params,d=window.location.protocol+"//"+window.location.hostname;let e=1;"aptos:637"===t.chainId||"aptos:70000060"===t.chainId&&(e=2),t.params={data:l,applicationUrl:d,prefix:"APTOS",aptosChainId:e}}}else if("cosmos_signArbitrary"===t.method){if(!a(t.params))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);if(!t.params.message||"string"!=typeof t.params.message)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params message is error,  method: '${t.method}' `);{let e=btoa(t.params.message),r=t.chainId.split(":")[1];if(!r)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params chainId is error,  method: '${t.method}' `);t.params={chain_id:r,data:{chain_id:"",account_number:"0",sequence:"0",fee:{gas:"0",amount:[]},msgs:[{type:"sign/MsgSignData",value:{signer:"",data:e}}],memo:""}}}}else if("tron_signMessage"==t.method){if(!a(t.params))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);if(!("message"in t.params)||!t.params.message||"string"!=typeof t.params.message)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);t.params.message=c(t.params.message)}else if("btc_signMessage"==t.method){if(!a(t.params))throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);if(!("message"in t.params)||!t.params.message||"string"!=typeof t.params.message)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`connect request params is error,  method: '${t.method}' `);t.params={signStr:t.params.message}}(0,n.logDebug)("connectMethodsToConnectWalletMethods item:",JSON.stringify(t)),h.push(t)}return h}catch(e){throw e}}))},e.syncResoonseToRequire=u;var n=ho(),i=r(oke()),o=Ite();function s(e){return"object"==typeof e&&null!==e&&Array.isArray(e)}function a(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function c(e){let t="";for(let r=0;r<e.length;r++)t+=e.charCodeAt(r).toString(16).padStart(2,"0");return t}function u(e){let t=JSON.parse(e);return{type:t.type,isEvm:t.isEvm,walletName:t.walletName,deriveName:t.deriveName,addresses:t.addresses.map((e=>({coinId:e.ci,address:e.a&&"null"!==e.a?e.a:t.evmAddress})))}}e.connectSupportMethods=Object.freeze(["personal_sign","sui_signMessage","sui_signPersonalMessage","btc_signMessage","aptos_signMessage","cosmos_signArbitrary","tron_signMessage","tron_signMessageV2","starknet_signMessage","sync_all_addresses"])})),pke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isMobileDiscover=e.creatNotSupportMethodItemReplay=e.connectMethodsAdaptOldVersion=void 0;var t=Bte();Object.defineProperty(e,"connectMethodsAdaptOldVersion",{enumerable:!0,get:function(){return t.connectMethodsAdaptOldVersion}}),Object.defineProperty(e,"creatNotSupportMethodItemReplay",{enumerable:!0,get:function(){return t.creatNotSupportMethodItemReplay}}),Object.defineProperty(e,"isMobileDiscover",{enumerable:!0,get:function(){return t.isMobileDiscover}})})),kte=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(pke(),e)})),gke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.GENERIC_SUBPROVIDER_NAME=e.RPC_URL=e.STORAGE=e.CONTEXT=e.WC_VERSION=e.PROTOCOL=e.RELAY_URL=e.LOGGER=void 0,e.LOGGER="error",e.RELAY_URL="wss://relay.walletconnect.com",e.PROTOCOL="wc",e.WC_VERSION=2,e.CONTEXT="universal_provider",e.STORAGE=`${e.PROTOCOL}@${e.WC_VERSION}:${e.CONTEXT}:`,e.RPC_URL="https://rpc.walletconnect.com/v1/",e.GENERIC_SUBPROVIDER_NAME="generic"})),yke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.PROVIDER_EVENTS=void 0,e.PROVIDER_EVENTS={DEFAULT_CHAIN_CHANGED:"default_chain_changed",UPDATE_NAMESPACES:"update_name_spaces",SESSION_CONNECTING:"session_connecting"}})),gh=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(gke(),e),r(yke(),e)})),pg=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.JsonRpcProvider=void 0;var r=Qf(),n=sN(),i=ho(),o=ho(),s=class extends n.IJSONRpcProvider{constructor(e){super(e),this.events=new r.EventEmitter,this.connected=!1,this.connecting=!1,this.hasRegisteredEventListeners=!1,this.connection=this.setConnection(e),this.connection.connected&&this.registerEventListeners()}connect(){return t(this,arguments,void 0,(function*(e=this.connection){yield this.open(e)}))}disconnect(){return t(this,void 0,void 0,(function*(){yield this.close()}))}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}request(e,r){return t(this,void 0,void 0,(function*(){return this.requestStrict((0,i.formatJsonRpcRequest)(e.method,e.params||[],(0,i.getBigIntRpcId)().toString()),r)}))}requestStrict(e,r){return t(this,void 0,void 0,(function*(){return new Promise(((n,s)=>t(this,void 0,void 0,(function*(){if(!this.connection.connected)try{yield this.open()}catch(e){s(e)}this.events.on(`${e.id}`,(e=>{(0,i.isJsonRpcError)(e)?s(e.error):n(e.result)}));try{(0,o.logDebug)("[RPC] >>> send request",e,r),yield this.connection.send(e,r)}catch(e){s(e)}}))))}))}setConnection(e=this.connection){return e}onPayload(e){this.events.emit("payload",e),(0,i.isJsonRpcResponse)(e)?this.events.emit(`${e.id}`,e):this.events.emit("message",{type:e.method,data:e.params})}onClose(e){e&&3e3===e.code&&this.events.emit("error",new Error(`WebSocket connection closed abnormally with code: ${e.code} ${e.reason?`(${e.reason})`:""}`)),this.events.emit("disconnect")}open(){return t(this,arguments,void 0,(function*(e=this.connection){this.connection===e&&this.connection.connected||(this.connection.connected&&this.close(),"string"==typeof e&&(yield this.connection.open(e),e=this.connection),this.connection=this.setConnection(e),yield this.connection.open(),this.registerEventListeners(),this.events.emit("connect"))}))}close(){return t(this,void 0,void 0,(function*(){yield this.connection.close()}))}registerEventListeners(){this.hasRegisteredEventListeners||(this.connection.on("payload",(e=>this.onPayload(e))),this.connection.on("close",(e=>this.onClose(e))),this.connection.on("error",(e=>this.events.emit("error",e))),this.connection.on("register_error",(e=>this.onClose())),this.hasRegisteredEventListeners=!0)}};e.JsonRpcProvider=s})),vke=W(((e,t)=>{m();var r,n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();r=i,function(e){var t=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},n="URLSearchParams"in t,i="Symbol"in t&&"iterator"in Symbol,o="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),s="FormData"in t,a="ArrayBuffer"in t;if(a)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function p(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function g(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function y(e){var t=new FileReader,r=g(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&function(e){return e&&DataView.prototype.isPrototypeOf(e)}(e)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return p(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(o)return this.blob().then(y);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e=p(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=g(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8";return t.readAsText(e,i),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=l(e),t=d(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},f.prototype.delete=function(e){delete this.map[l(e)]},f.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},f.prototype.set=function(e,t){this.map[l(e)]=d(t)},f.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),h(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),h(e)},i&&(f.prototype[Symbol.iterator]=f.prototype.entries);var w=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(e,r){if(!(this instanceof v))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(r=r||{}).body;if(e instanceof v){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,r.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!n&&null!=e._bodyInit&&(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=r.credentials||this.credentials||"same-origin",(r.headers||!this.headers)&&(this.headers=new f(r.headers)),this.method=function(e){var t=e.toUpperCase();return w.indexOf(t)>-1?t:e}(r.method||this.method||"GET"),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||function(){if("AbortController"in t)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==r.cache&&"no-cache"!==r.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function A(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function E(e){var t=new f;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}})),t}function T(e,t){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},b.call(v.prototype),b.call(T.prototype),T.prototype.clone=function(){return new T(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},T.error=function(){var e=new T(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var C=[301,302,303,307,308];T.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new T(null,{status:t,headers:{location:e}})},e.DOMException=t.DOMException;try{new e.DOMException}catch{e.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function S(r,n){return new Promise((function(i,s){var c=new v(r,n);if(c.signal&&c.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function h(){u.abort()}if(u.onload=function(){var e={statusText:u.statusText,headers:E(u.getAllResponseHeaders()||"")};0===c.url.indexOf("file://")&&(u.status<200||u.status>599)?e.status=200:e.status=u.status,e.url="responseURL"in u?u.responseURL:e.headers.get("X-Request-URL");var t="response"in u?u.response:u.responseText;setTimeout((function(){i(new T(t,e))}),0)},u.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},u.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request timed out"))}),0)},u.onabort=function(){setTimeout((function(){s(new e.DOMException("Aborted","AbortError"))}),0)},u.open(c.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch{return e}}(c.url),!0),"include"===c.credentials?u.withCredentials=!0:"omit"===c.credentials&&(u.withCredentials=!1),"responseType"in u&&(o?u.responseType="blob":a&&(u.responseType="arraybuffer")),n&&"object"==typeof n.headers&&!(n.headers instanceof f||t.Headers&&n.headers instanceof t.Headers)){var p=[];Object.getOwnPropertyNames(n.headers).forEach((function(e){p.push(l(e)),u.setRequestHeader(e,d(n.headers[e]))})),c.headers.forEach((function(e,t){-1===p.indexOf(t)&&u.setRequestHeader(t,e)}))}else c.headers.forEach((function(e,t){u.setRequestHeader(t,e)}));c.signal&&(c.signal.addEventListener("abort",h),u.onreadystatechange=function(){4===u.readyState&&c.signal.removeEventListener("abort",h)}),u.send(typeof c._bodyInit>"u"?null:c._bodyInit)}))}S.polyfill=!0,t.fetch||(t.fetch=S,t.Headers=f,t.Request=v,t.Response=T),e.Headers=f,e.Request=v,e.Response=T,e.fetch=S,Object.defineProperty(e,"__esModule",{value:!0})}({}),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=n.fetch?n:i;(e=o.fetch).default=o.fetch,e.fetch=o.fetch,e.Headers=o.Headers,e.Request=o.Request,e.Response=o.Response,t.exports=e})),gg=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},r=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.JsonRpcConnection=void 0;var n=Qf(),i=r(vke()),o=ho(),s=ho(),a={headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST"};e.JsonRpcConnection=class{constructor(e,t=!1){if(this.url=e,this.disableProviderPing=t,this.events=new n.EventEmitter,this.isAvailable=!1,this.registering=!1,!(0,s.isHttpUrl)(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);this.url=e,this.disableProviderPing=t}get connected(){return this.isAvailable}get connecting(){return this.registering}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}off(e,t){this.events.off(e,t)}removeListener(e,t){this.events.removeListener(e,t)}open(){return t(this,arguments,void 0,(function*(e=this.url){yield this.register(e)}))}close(){return t(this,void 0,void 0,(function*(){if(!this.isAvailable)throw new Error("Connection already closed");this.onClose()}))}send(e){return t(this,void 0,void 0,(function*(){this.isAvailable||(yield this.register());try{let t=(0,o.safeJsonStringify)(e),r=yield(yield(0,i.default)(this.url,Object.assign(Object.assign({},a),{body:t}))).json();this.onPayload({data:r})}catch(t){this.onError(e.id,t)}}))}register(){return t(this,arguments,void 0,(function*(e=this.url){if(!(0,s.isHttpUrl)(e))throw new Error(`Provided URL is not compatible with HTTP connection: ${e}`);if(this.registering)return new Promise(((e,t)=>{this.events.once("register_error",(e=>{t(e)})),this.events.once("open",(()=>{if(typeof this.isAvailable>"u")return t(new Error("HTTP connection is missing or invalid"));e()}))}));this.url=e,this.registering=!0;try{if(!this.disableProviderPing){let t=(0,o.safeJsonStringify)({id:1,jsonrpc:"2.0",method:"test",params:[]});yield(0,i.default)(e,Object.assign(Object.assign({},a),{body:t}))}this.onOpen()}catch(e){let t=this.parseError(e);throw this.events.emit("register_error",t),this.onClose(),t}}))}onOpen(){this.isAvailable=!0,this.registering=!1,this.events.emit("open")}onClose(){this.isAvailable=!1,this.registering=!1,this.events.emit("close")}onPayload(e){if(typeof e.data>"u")return;let t="string"==typeof e.data?(0,o.safeJsonParse)(e.data):e.data;this.events.emit("payload",t)}onError(e,t){let r=this.parseError(t),n=r.message||r.toString(),i=(0,s.formatJsonRpcError)(e,n);this.events.emit("payload",i)}parseError(e,t=this.url){return(0,s.parseConnectionError)(e,t,"HTTP")}}})),Eke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Eip155Provider=void 0;var r=ph(),n=gh(),i=ho(),o=pg(),s=gg(),a=class{constructor(e,t,r){this.name="eip155",this.namespace=e.namespace,this.events=r,this.client=t,this.chainId=parseInt(this.getDefaultChain()),this.httpProviders=this.createHttpProviders(),(0,i.logDebug)("eip155 constructor --opts.namespace--\x3e",e.namespace)}isRecord(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}isArray(e){return"object"==typeof e&&null!==e&&Array.isArray(e)}updateRequestParams(e){let t=e.params&&"object"==typeof e.params&&!Array.isArray(e.params);if("wallet_switchEthereumChain"===e.method){let r=e.chainId.split(":")[1],n=parseInt(r,10);if(isNaN(n))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Invalid decimal number,  chainId: '${r}' `);if(e.params){if(!t)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Request params error ,  method: '${e.method}' `);{let t=e.params;"chainId"in t||(t.chainId="0x"+n.toString(16),e.params=t)}}else e.params={chainId:"0x"+n.toString(16)}}else if("personal_sign"===e.method||"eth_signTypedData_v4"===e.method||"eth_sendTransaction"===e.method||"wallet_watchAsset"===e.method){if(!e.params)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Request params is nil, method: '${e.method}'`);if(!this.isRecord(e.params))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Invalid request params type, method: '${e.method}'`);{let t=e.params;if((0,i.logDebug)("eip155 updateRequestParams params>",JSON.stringify(t)),"chainId"in t){let r,n=e.chainId.split(":")[1],o=parseInt(n,10),s=String(t.chainId);if(s.startsWith(this.name)&&e.chainId===s)r=o;else if(s.startsWith("0x"))r=parseInt(s,16);else{if(isNaN(Number(s)))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Invalid params.chainId format, method: '${e.method}'`);r=parseInt(s,10)}if(o!==r)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Request params.chainId not equal chain,  method: '${e.method}' `)}}}}adaptArray(e){if("wallet_switchEthereumChain"===e.method||"wallet_addEthereumChain"===e.method||"wallet_watchAsset"===e.method||"eth_sendTransaction"===e.method||"kaia_signTransaction"===e.method||"klay_signTransaction"===e.method){if(this.isArray(e.params)){let t=e.params;if(t){if(1!==t.length)throw t.length>1?new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params only Support one data,  method: '${e.method}' `):new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is nil,  method: '${e.method}' `);{let t=e.params[0];this.isRecord(t)&&(e.params=t)}}}}else if("eth_signTypedData_v4"===e.method){if(this.isArray(e.params)){let t=e.params;if(t&&t.length>2)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params only Support one data,  method: '${e.method}' `);if(t&&0===t.length)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is nil,  method: '${e.method}' `);let n={};if(t&&2===t.length){let t=e.params[0];if(!t||"string"!=typeof t)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params address error , not string,  method: '${e.method}' `);{let o=!1;if(this.namespace.accounts.forEach((e=>{(0,r.fromAccountToAddress)(e).toLowerCase()===t.toLowerCase()&&(o=!0)})),(0,i.logDebug)("eip155 adaptArray eth_signTypedData_v4 >>>isEqual: ",o),!o)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params address error, not equal,  method: '${e.method}' `);if(!this.isRecord(e.params[1]))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params message data error,  method: '${e.method}' `);n=e.params[1]}}else if(t&&1===t.length){if(!this.isRecord(e.params[0]))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params message data error,  method: '${e.method}' `);n=e.params[0]}try{let t=JSON.stringify(n);e.params={typedDataJson:t}}catch{throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params call JSON.stringify() failed,  method: '${e.method}' `)}}}else if("personal_sign"===e.method&&this.isArray(e.params)){if(e.params&&e.params.length>2)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params error,  method: '${e.method}' `);if(e.params&&0===e.params.length)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is nil,  method: '${e.method}' `);let t=e.params[0],n=e.params[1];if(n&&"string"==typeof n){let t=!1;if(this.namespace.accounts.forEach((e=>{(0,r.fromAccountToAddress)(e).toLowerCase()===n.toLowerCase()&&(t=!0)})),(0,i.logDebug)("eip155 adaptArray personal_sign >>>isEqual: ",t),!t)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params address error,  method: '${e.method}' `)}if(!t||"string"!=typeof t)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`Request params is error,  method: '${e.method}' `);e.params={message:t}}}showRequestModal(e){switch(e.method){case"eth_requestAccounts":case"eth_accounts":case"eth_chainId":default:return!1;case"eth_sendTransaction":case"eth_signTransaction":case"eth_sign":case"personal_sign":case"eth_signTypedData":case"wallet_addEthereumChain":case"wallet_watchAsset":case"eth_signTypedData_v4":return!0;case"wallet_switchEthereumChain":{this.adaptArray(e),this.updateRequestParams(e);let{parsedChainId:t,hexChainId:r}=this.getHexChainIdFromRequest(e);return!this.isChainApproved(t)}}return!1}configAddressAdaptInjectWallet(e){this.namespace.accounts.forEach((t=>{t.includes(e.chainId)&&(e.address=(0,r.fromAccountToAddress)(t))}))}request(e){return t(this,void 0,void 0,(function*(){if("eth_signLegacy"===e.method||"eth_sign"===e.method)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,`${e.method} method not supported`);switch(e.injectParams=e.params,this.adaptArray(e),this.client.needCheckRequestMethod()&&"klay_signTransaction"===e.method&&(e.method="kaia_signTransaction"),(0,i.logDebug)("eip155 request --args--string>",JSON.stringify(e)),this.updateRequestParams(e),(0,i.logDebug)("eip155 request --params--string>",JSON.stringify(e)),this.configAddressAdaptInjectWallet(e),e.method){case"eth_requestAccounts":case"eth_accounts":return this.getAccounts();case"eth_chainId":return parseInt(this.getDefaultChain());case"wallet_switchEthereumChain":return yield this.handleSwitchChain(e);case"wallet_addEthereumChain":return this.addEthereumChain(e)}if(this.client.needCheckRequestMethod()&&!this.namespace.methods.includes(e.method))return(0,i.logDebug)("[RPC] request begin"),yield this.getHttpProvider().request(e);if(this.client.needCheckRequestMethod()&&("eth_sendTransaction"===e.method||"kaia_signTransaction"===e.method))try{if(e.params&&"object"==typeof e.params&&!Array.isArray(e.params)){let t=e.params;"string"==typeof t.input&&""!==t.input.trim()?!t.data||"string"==typeof t.data&&""===t.data.trim()?(t.data=t.input,(0,i.logDebug)("eip155 sendTransaction:  replace data with input")):(0,i.logDebug)("eip155 sendTransaction:  data not empty"):(0,i.logDebug)("eip155 sendTransaction:  input empty")}}catch{(0,i.logDebug)("eip155 sendTransaction:  replace error")}try{let t=yield this.client.request(e);if((0,i.logDebug)("eip155 request --response----string>",JSON.stringify(t)),this.isRecord(t)&&"result"in t){let e=t.result;return!e||"string"!=typeof e||"true"!==e&&"false"!==e?t.result:((0,i.logDebug)("eip155 request --wallet_watchAsset>>>>","true"===e),"true"===e)}return t}catch(e){throw(0,i.logDebug)(`eip155 request --response --error--string> e instanceof OKXConnectError ${e instanceof i.OKXConnectError}`,JSON.stringify(e)),e}}))}addEthereumChain(e){return t(this,void 0,void 0,(function*(){let t=yield this.client.request(e);try{if("result"in t){let r=t.result;if(r){let t=r.split(":")[0],i=r.split(":")[1],o=t+":"+i;this.namespace;if(this.namespace.accounts.push(r),this.namespace.chains.push(o),this.isRecord(e.params)&&"rpcUrls"in e.params){let t=e.params.rpcUrls,r=t?t[0]:void 0;r&&(this.namespace.rpcMap?this.namespace.rpcMap[i]=r:this.namespace.rpcMap={[i]:r},this.setHttpProvider(i,r))}this.events.emit(n.PROVIDER_EVENTS.UPDATE_NAMESPACES,{eip155:this.namespace})}}else new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method ${e.method} request error`)}catch{throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method ${e.method} request  error`)}return null}))}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}setDefaultChain(e,t){if(this.chainId=parseInt(e),!this.httpProviders[e]){let n=t||(0,r.getRpcUrl)(`${this.name}:${e}`,this.namespace);n?this.setHttpProvider(e,n):(0,i.logDebug)(`No RPC url provided for chainId: ${e}`)}this.events.emit(n.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}requestAccounts(){return this.getAccounts()}getDefaultChain(){if(this.chainId)return this.chainId.toString();if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return(0,i.logDebug)("eip155 getAccounts ",e,this.chainId),e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>(0,r.fromAccountToAddress)(e))))]:[]}getHexChainIdFromRequest(e){let t=e.params,r="0x0";t&&"chainId"in t&&(r=t.chainId),r=r.startsWith("0x")?r:`0x${r}`,(0,i.logDebug)("handleSwitchChain --\x3eargs ",e),(0,i.logDebug)("handleSwitchChain --\x3ehexChainId ",r);let n=parseInt(r,16);return(0,i.logDebug)("handleSwitchChain --\x3eparsedChainId ",n),{parsedChainId:n,hexChainId:r}}handleSwitchChain(e){return t(this,void 0,void 0,(function*(){let{parsedChainId:t,hexChainId:r}=this.getHexChainIdFromRequest(e);if(!this.isChainApproved(t))throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED,`the method ${e.method} request  error`);this.setDefaultChain(`${t}`)}))}isChainApproved(e){return this.namespace.chains.includes(`${this.name}:${e}`)}createHttpProvider(e,t){let n=t;if(n)return new o.JsonRpcProvider(new s.JsonRpcConnection(n,(0,r.getGlobal)("disableProviderPing")));(0,i.logDebug)(`No RPC url provided for chainId: ${e}`)}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let n=(0,r.getChainId)(t),o=(0,r.getRpcUrl)(t,this.namespace);(0,i.logDebug)("get parsed chain and rpc:",n,o);let s=this.createHttpProvider(n,o);s&&(e[n]=s)})),(0,i.logDebug)("get http providermap:",e),e}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&(this.httpProviders[e]=r)}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if((0,i.logDebug)("[RPC] get http provider:",e,t),typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}};e.Eip155Provider=a,e.default=a})),Tke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.SuiProvider=void 0;var r=gh(),n=ho(),i=ph(),o=gg(),s=pg(),a=class{constructor(e,t,r){this.name=n.NameSpaceKeySui,this.namespace=e.namespace,this.events=r,this.client=t,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}request(e){return t(this,void 0,void 0,(function*(){if((0,n.logDebug)("sui request --args--string>",JSON.stringify(e)),(0,n.logDebug)("sui provider namespace: ",this.namespace),e.injectParams){if("chain"in e&&n.SUI_CHAINS.MAINNET!=e.chain)throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED);if(e.injectParams.chain=n.SUI_CHAINS.MAINNET,"account"in e&&e.account.address!=this.getAccounts[0])throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR);e.injectParams.account={address:this.getAccounts()[0]}}return!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method)?this.client.request(e):this.getHttpProvider().request(e)}))}requestAccounts(){return this.getAccounts()}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>e.split(":")[2])))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,i.getChainId)(t),n=(0,i.getRpcUrl)(t,this.namespace),o=this.createHttpProvider(r,n);o&&(e[r]=o)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if((0,n.logDebug)("[RPC] get http provider:",e,t),typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&((0,n.logDebug)("setHttpProvider",e,t),this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new s.JsonRpcProvider(new o.JsonRpcConnection(r,(0,i.getGlobal)("disableProviderPing")));(0,n.logDebug)(`No RPC url provided for chainId: ${e}`)}getPubkey(e){return this.getWalletAddress(e)}getWalletAddress(e){return e||(e=this.namespace.defaultChain,e?.startsWith("sui")||(e=`sui:${e}`)),this.namespace.accounts.filter((function(t){return t.split(":").length>2&&t.startsWith(e)})).map((function(e){return e.split(":")[2]}))[0]}showRequestModal(e){switch(e.method){case"sui_signMessage":case"sui_signPersonalMessage":case"sui_signTransactionBlock":case"sui_signAndExecuteTransactionBlock":return!0;default:return!1}return!1}};e.SuiProvider=a,e.default=a})),Lte=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.getAccountsChains=function(e){let t=[];return e.forEach((e=>{let[r,n]=e.split(":");t.push(`${r}:${n}`)})),t},e.nameSpaceToConnectWalletNameSpace=function(e){var r=[];return e&&Object.keys(e).forEach((n=>{(n===t.NameSpaceKeyEip155||n===t.NameSpaceKeySOL||n===t.NameSpaceKeySui||n===t.NameSpaceKeyAptos||n==t.NameSpaceKeyBtc||n===t.NameSpaceKeyTON||n===t.NameSpaceKeyCosmos||n===t.NameSpaceKeyTron||n===t.NameSpaceKeyStarknet)&&e[n].chains&&r.push({namespace:n,chains:e[n].chains,params:e[n].params})})),r},e.fillParamsToSession=function(e,r,n,i){let o=(e,t)=>{Object.assign(e,t)},s=(e,t)=>{for(let r in t)t.hasOwnProperty(r)&&t[r].rpcMap&&(t[r].rpcMap&&(e[r].rpcMap||(e[r].rpcMap={}),o(e[r].rpcMap,t[r].rpcMap)),t[r].defaultChain&&void 0===e[r].defaultChain&&e[r].chains.some((e=>e.split(":")[1]===t[r].defaultChain))&&(e[r].defaultChain=t[r].defaultChain))};r&&s(e.namespaces,r),n&&s(e.namespaces,n);for(let t in e.namespaces){let r=e.namespaces[t];(!r?.accounts||0===r.accounts.length)&&delete e.namespaces[t]}e.namespaces[t.NameSpaceKeyBtc]&&e.wallet.appName===t.OKXWalletName&&function(e){try{if(e&&e.extra){var r=e.extra;Object.keys(r).forEach((e=>{let t=r[e];6===Number(t.addressType)?t.publicKey=t.compressedPublicKey.slice(2):t.publicKey=t.compressedPublicKey}))}}catch{(0,t.logDebug)("namespaces fixMobileBtcSession error")}}(e.namespaces[t.NameSpaceKeyBtc]),null==i.connectWalletType&&null!=e.sessionConfig.connectWalletType&&(i.connectWalletType=e.sessionConfig.connectWalletType),e.sessionConfig=i},e.isCaipNamespace=r,e.parseNamespaceKey=function(e){return r(e)?e.split(":")[0]:e};var t=ho();function r(e){return e.includes(":")}})),Cke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.SignClient=void 0;var r=ho(),n=Lte(),i=Bte(),o=gh(),s=class extends r.ISignClient{constructor(e,s,a){super(e),this.connect=e=>t(this,void 0,void 0,(function*(){return new Promise(((s,a)=>t(this,void 0,void 0,(function*(){try{var c=[];(0,r.logDebug)("client connect params >>>",JSON.stringify(e));var u={name:"requestAccounts",requiredNamespaces:(0,n.nameSpaceToConnectWalletNameSpace)(e.namespaces),optionalNamespaces:(0,n.nameSpaceToConnectWalletNameSpace)(e.optionalNamespaces)};this.engine.setSessionConnectingListener((()=>{(0,r.logDebug)("sessionConnectingListener >>>"),this.events.emit(o.PROVIDER_EVENTS.SESSION_CONNECTING)})),e.signRequest&&(u.connectRequestMethods=yield(0,i.connectMethodsToConnectWalletMethods)(e.signRequest,u.requiredNamespaces)),c.push(u),(0,r.logDebug)("client connect connectRequest >>>",JSON.stringify(c)),this.engine.universalConnect(c,Object.assign({dappInfo:this.metadata},e.sessionConfig),(e=>{if(e&&e.connectRequest){(0,r.logDebug)("universalConect info.connectRequest :",e.connectRequest);let t=(0,r.getOKXLink)(e.connectRequest,this.sessionConfig.connectWalletType).universalLink;(0,r.logDebug)("universalConect url:",t),this.events.emit("display_uri",t),this.events.emit("short_display_uri",t),(0,r.logDebug)(`universalConect EngineConnectInfo  ${JSON.stringify(e)}`),this.events.emit("okx_engine_connect_params",e)}})).then((o=>t(this,void 0,void 0,(function*(){(0,n.fillParamsToSession)(o,e.namespaces,e.optionalNamespaces,this.sessionConfig),(0,r.logDebug)(`signClient: connect: session ${JSON.stringify(o)}`),e.signRequest&&(yield(0,i.connectMethodsResponseUpdate)(o,e.signRequest)),s(o)})))).catch((e=>{(0,r.logDebug)(`signClient: connect: catch ${JSON.stringify(e)}`),this.events.emit("connect_error",e),a(e)}))}catch(e){(0,r.logDebug)(`signClient: connect:  ${JSON.stringify(e)}`),a(e)}}))))})),this.restoreconnect=e=>t(this,void 0,void 0,(function*(){return new Promise(((t,r)=>{this.engine.restoreconnect(e,(e=>{e?t(e):r()}))}))})),this.reject=e=>t(this,void 0,void 0,(function*(){})),this.request=e=>t(this,void 0,void 0,(function*(){return new Promise(((n,i)=>t(this,void 0,void 0,(function*(){var t,o;(0,r.logDebug)("clint request --params>>>> >",null===(t=this.sessionConfig)||void 0===t?void 0:t.openUniversalUrl,(0,r.safeJsonStringify)(e));try{!(null===(o=this.sessionConfig)||void 0===o)&&o.openUniversalUrl&&(0,r.isIos)()&&this.openOKXWallet(),yield this.engine.send(e,{resolve:e=>{if(delete e.requestId,(0,r.logDebug)("clint request --response >",(0,r.safeJsonStringify)(e)),"error"in e&&e.error){let t=e.error;i(new r.OKXConnectError(e.error.code,e.method+":"+t.message))}else n(e)},onAck:()=>{var e;!(0,r.isIos)()&&null!==(e=this.sessionConfig)&&void 0!==e&&e.openUniversalUrl&&this.openOKXWallet()}})}catch(e){(0,r.logDebug)("clint request --error:",e),i(e)}}))))})),this.disconnect=()=>t(this,void 0,void 0,(function*(){return new Promise(((e,t)=>{this.engine.send({method:"disconnect"},{onAck:()=>{e()}},864e5).catch((e=>{console.log(`disconnect : ${JSON.stringify(e)}`),t(e)}))}))})),this.engine=new r.Engine(e.name),this.events=s,this.metadata=e,this.openAppLineType=a??r.OpenAppLinkType.UniversalLink}setAccountChangeListener(e){this.engine.setAccountChangeListener(e)}openOKXWallet(){(0,r.logDebug)("bridge-provider ==>> connect_5"),this.engine.openWallet({tmaReturnUrl:this.sessionConfig.tmaReturnUrl},null,this.openAppLineType)}syncAllAddress(){return t(this,void 0,void 0,(function*(){return new Promise(((e,t)=>{this.engine.send({method:"sync_all_addresses"},{resolve:n=>{if(delete n.requestId,(0,r.logDebug)("clint syncAllAddress --response >",JSON.stringify(n)),"error"in n&&n.error){let e=n.error;t(new r.OKXConnectError(n.error.code,n.method+":"+e.message))}else{let t=n.result;e((0,i.syncResoonseToRequire)(t))}}}).catch((e=>{console.log(`disconnect : ${JSON.stringify(e)}`),t(e)}))}))}))}registerConnector(e){this.engine.registerConnector(e)}openWallet(e,t){this.engine.openWallet(e,t,this.openAppLineType)}setConnectConnector(e){this.engine.setConnectConnector(e?.wallet,e?.sessionConfig)}needCheckRequestMethod(){try{return!Object.values(r.CONNECTOR_TYPE.INJECT).includes(this.engine.getConnector().getType())&&!Object.values(r.CONNECTOR_TYPE.KEYLESS).includes(this.engine.getConnector().getType())}catch{return!0}}};e.SignClient=s})),Ike=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.SolanaProvider=void 0;var r=gh(),n=ho(),i=ph(),o=gg(),s=pg(),a=class{constructor(e,t,r,n){this.name="solana",this.namespace=e.namespace,this.events=n,this.client=r,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=t}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return t(this,void 0,void 0,(function*(){if((0,n.logDebug)("solana request --args--string>",JSON.stringify(e)),(0,n.logDebug)("solana provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method))return this.client.request(e);throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")}))}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>e.split(":")[2])))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,i.getChainId)(t),n=(0,i.getRpcUrl)(t,this.namespace),o=this.createHttpProvider(r,n);o&&(e[r]=o)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&(this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new s.JsonRpcProvider(new o.JsonRpcConnection(r,(0,i.getGlobal)("disableProviderPing")))}getPubkey(e){return this.getWalletAddress(e)}getWalletAddress(e){return e||(e=this.namespace.defaultChain,e?.startsWith("solana")||(e=`solana:${e}`)),this.namespace.accounts.filter((function(t){return t.split(":").length>2&&t.startsWith(e)})).map((function(e){return e.split(":")[2]}))[0]}showRequestModal(e){return!0}};e.SolanaProvider=a,e.default=a})),Oke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),n=ho(),i=ph(),o=gg(),s=pg();e.default=class{constructor(e,t,r,i){this.name=n.NameSpaceKeyBtc,this.namespace=e.namespace,this.events=i,this.client=r,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=t}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return t(this,void 0,void 0,(function*(){return(0,n.logDebug)("btc request --args--string>",JSON.stringify(e)),(0,n.logDebug)("btc provider namespace: ",JSON.stringify(this.namespace)),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method)?this.client.request(e):this.getHttpProvider().request(e)}))}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>e.split(":")[2])))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,i.getChainId)(t),n=(0,i.getRpcUrl)(t,this.namespace),o=this.createHttpProvider(r,n);o&&(e[r]=o)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&(this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new s.JsonRpcProvider(new o.JsonRpcConnection(r,(0,i.getGlobal)("disableProviderPing")));(0,n.logDebug)(`No RPC url provided for chainId: ${e}`)}showRequestModal(e){return!0}}})),Pke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),n=ho(),i=ph(),o=gg(),s=pg();e.default=class{constructor(e,t,r,n){this.name="aptos",this.namespace=e.namespace,this.events=n,this.client=r,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=t}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return t(this,void 0,void 0,(function*(){if((0,n.logDebug)("aptos request --args--string>",(0,n.safeJsonStringify)(e)),(0,n.logDebug)("aptos provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method))return this.client.request(e);throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")}))}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>e.split(":")[2])))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,i.getChainId)(t),n=(0,i.getRpcUrl)(t,this.namespace),o=this.createHttpProvider(r,n);o&&(e[r]=o)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&(this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new s.JsonRpcProvider(new o.JsonRpcConnection(r,(0,i.getGlobal)("disableProviderPing")))}showRequestModal(e){return!0}}})),Bke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},r=e&&e.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};Object.defineProperty(e,"__esModule",{value:!0});var n=gh(),i=ho(),o=ph(),s=gg(),a=pg();e.default=class{constructor(e,t,r){this.name=i.NameSpaceKeyTON,this.namespace=e.namespace,this.events=r,this.client=t,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}isRecord(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}request(e){return t(this,void 0,void 0,(function*(){var t,n,o,s;if((0,i.logDebug)("TONProvider request --args--string>",JSON.stringify(e)),(0,i.logDebug)("TONProvider request provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method)){if(!e.params)throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"ton request params is nil");if(this.isRecord(e.params)){let a=e.params,{validUntil:c}=a,u=r(a,["validUntil"]),l=null===(n=null===(t=this.namespace.payload)||void 0===t?void 0:t.ton_addr)||void 0===n?void 0:n.address;"from"in u&&(l=u.from||(null===(s=null===(o=this.namespace.payload)||void 0===o?void 0:o.ton_addr)||void 0===s?void 0:s.address)),e.params.from=l,e.params.network=this.getDefaultChain(),e.params.valid_until=c;let d=yield this.client.request(e);if(this.isRecord(d)&&"result"in d){let e={boc:d.result.toString()};return(0,i.logDebug)("TONProvider request provider response: ",JSON.stringify(d)),(0,i.logDebug)("TONProvider request provider result: ",JSON.stringify(e)),e}throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"ton_send request response is nil")}throw new i.OKXConnectError(i.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"ton request params type add nil")}return this.getHttpProvider().request(e)}))}requestAccounts(){return this.getAccounts()}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(n.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){var e,t;let r=this.namespace.accounts;if((0,i.logDebug)("ton getAccounts accounts :",r),(0,i.logDebug)("ton getAccounts .namespace :",JSON.stringify(this.namespace)),!r)return[];let n=null===(t=null===(e=this.namespace.payload)||void 0===e?void 0:e.ton_addr)||void 0===t?void 0:t.address;return(0,i.logDebug)("ton getAccounts address :",n),n?[n]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,o.getChainId)(t),n=(0,o.getRpcUrl)(t,this.namespace),i=this.createHttpProvider(r,n);i&&(e[r]=i)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if((0,i.logDebug)("[RPC] get http provider:",e,t),typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&((0,i.logDebug)("setHttpProvider",e,t),this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new a.JsonRpcProvider(new s.JsonRpcConnection(r,(0,o.getGlobal)("disableProviderPing")));(0,i.logDebug)(`No RPC url provided for chainId: ${e}`)}showRequestModal(e){return"ton_sendTransaction"===e.method}}})),Mke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),n=ho(),i=ph(),o=gg(),s=pg();e.default=class{constructor(e,t,r){this.name=n.NameSpaceKeyCosmos,this.namespace=e.namespace,this.events=r,this.client=t,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return t(this,void 0,void 0,(function*(){if((0,n.logDebug)("cosmos request --args--string>",JSON.stringify(e)),(0,n.logDebug)("cosmos provider namespace: ",JSON.stringify(this.namespace)),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method))return this.client.request(e);throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")}))}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>e.split(":")[2])))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,i.getChainId)(t),n=(0,i.getRpcUrl)(t,this.namespace),o=this.createHttpProvider(r,n);o&&(e[r]=o)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&(this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new s.JsonRpcProvider(new o.JsonRpcConnection(r,(0,i.getGlobal)("disableProviderPing")))}showRequestModal(e){return!0}}})),kke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),n=ho(),i=ph(),o=gg(),s=pg();e.default=class{constructor(e,t,r){this.name=n.NameSpaceKeyTron,this.namespace=e.namespace,this.events=r,this.client=t,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders()}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return t(this,void 0,void 0,(function*(){if((0,n.logDebug)("tron request --args--string>",JSON.stringify(e)),(0,n.logDebug)("tron provider namespace: ",JSON.stringify(this.namespace)),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method))return this.client.request(e);throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Please upgrade OKX APP")}))}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>e.split(":")[2])))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,i.getChainId)(t),n=(0,i.getRpcUrl)(t,this.namespace),o=this.createHttpProvider(r,n);o&&(e[r]=o)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&(this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new s.JsonRpcProvider(new o.JsonRpcConnection(r,(0,i.getGlobal)("disableProviderPing")))}showRequestModal(e){return!0}}})),_ke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0});var r=gh(),n=ho(),i=ph(),o=gg(),s=pg();e.default=class{constructor(e,t,r,n){this.name="starknet",this.namespace=e.namespace,this.events=n,this.client=r,this.chainId=this.getDefaultChain(),this.httpProviders=this.createHttpProviders(),this.name=t}updateNamespace(e){this.namespace=Object.assign(this.namespace,e)}requestAccounts(){return this.getAccounts()}request(e){return t(this,void 0,void 0,(function*(){if((0,n.logDebug)("starknet request --args--string>",JSON.stringify(e)),(0,n.logDebug)("starknet provider namespace: ",this.namespace),!this.client.needCheckRequestMethod()||this.namespace.methods.includes(e.method))return this.client.request(e);throw new n.OKXConnectError(n.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED,"Wallet doesn't support"+e.method)}))}setDefaultChain(e,t){this.httpProviders[e]||this.setHttpProvider(e,t),this.chainId=e,this.events.emit(r.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,`${this.name}:${e}`)}getDefaultChain(){if(this.chainId)return this.chainId;if(this.namespace.defaultChain)return this.namespace.defaultChain;let e=this.namespace.chains[0];if(!e)throw new Error("ChainId not found");return e.split(":")[1]}getAccounts(){let e=this.namespace.accounts;return e?[...new Set(e.filter((e=>e.split(":")[1]===this.chainId.toString())).map((e=>e.split(":")[2])))]:[]}createHttpProviders(){let e={};return this.namespace.chains.forEach((t=>{let r=(0,i.getChainId)(t),n=(0,i.getRpcUrl)(t,this.namespace),o=this.createHttpProvider(r,n);o&&(e[r]=o)})),e}getHttpProvider(){let e=`${this.chainId}`,t=this.httpProviders[e];if(typeof t>"u")throw new Error(`JSON-RPC provider for ${e} not found`);return t}setHttpProvider(e,t){let r=this.createHttpProvider(e,t);r&&(this.httpProviders[e]=r)}createHttpProvider(e,t){let r=t;if(r)return new s.JsonRpcProvider(new o.JsonRpcConnection(r,(0,i.getGlobal)("disableProviderPing")))}showRequestModal(e){return!0}}})),Lke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},r=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXUniversalProvider=void 0;var n=Eke(),i=Tke(),o=gh(),s=r(Qf()),a=Cke(),c=ho(),u=Lte(),l=r(Ike()),d=r(Oke()),h=r(Pke()),f=r(Bke()),p=r(Mke()),g=r(kke()),y=ph(),b=kte(),w=Ite(),v=r(_ke()),A=class e{static init(r){return t(this,void 0,void 0,(function*(){let t;return(0,c.logDebug)("OKXUniversalProvider init() called"),(0,c.checkMetaData)(r.dappMetaData),(0,y.setGlobal)("disableProviderPing",!0),(0,c.getDefaultReporter)().configVersionAndSide("universalprovider","dapp",r.dappMetaData.name),window&&window.okxConnectUniversalinwindow&&window.okxConnectUniversalinwindow instanceof e?((0,c.logDebug)("OKXUniversalConnect init() old called"),t=window.okxConnectUniversalinwindow):((0,c.logDebug)("OKXUniversalConnect init() new called"),t=new e(r),window&&(window.okxConnectUniversalinwindow=t),yield t.initialize()),t}))}constructor(e){this.rpcProviders={},this.events=new s.default,(!e.connector||0==e.connector.length)&&((0,b.isMobileDiscover)()?e.connector=[new c.OkxwalletInjectConnector]:e.connector=[new c.OKXAppConnector,new c.OKXWalletAppConnector,new c.OKXAppCommonConnector]),this.providerOpts=e,this.specialDAppLineType(this.providerOpts),(0,c.logDebug)("constructor this.providerOpts>>",JSON.stringify(this.providerOpts));let t=c.OpenAppLinkType.UniversalLink;switch(e.openAppLinkType){case"universallink":default:t=c.OpenAppLinkType.UniversalLink;break;case"deeplink":t=c.OpenAppLinkType.DeepLink}this.providerOpts.openAppLinkType=t,(0,c.logDebug)("OKXUniversalProvider constructor() linkType:",t)}specialDAppLineType(e){let t=window.location.host;t&&(t.includes("dappportal.io")||t.includes("connect.oker.vip"))&&!e.openAppLinkType&&((0,c.logDebug)("specialDAppLineType --\x3e host:",t),e.openAppLinkType=c.OpenAppLinkType.DeepLink)}getOpenAppLinkType(){var e;return null!==(e=this.providerOpts.openAppLinkType)&&void 0!==e?e:c.OpenAppLinkType.UniversalLink}request(e,r){return t(this,void 0,void 0,(function*(){if((0,c.logDebug)("OKXUniversalProvider request() called"),(0,c.reportLog)("OKXUniversalProvider request() called"),!this.connected())throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);(0,c.logDebug)("OKXUniversalProvider request()  connected ");let{namespace:t,requestParam:n}=this.buildRequestParamFromRequest(e,r);return yield this.getProvider(t).request(n)}))}buildRequestParamFromRequest(e,t){var r;(0,c.logDebug)("UniversalProvider request args >>>>>>>: ",t,(0,c.safeJsonStringify)(e));let[n,i]=this.validateChain(t);if(!this.session)throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Please call connect() before request()");let o=Object.keys(this.session.namespaces);if(!t&&o&&o.length>1)throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,"Multiple chains have been linked, the request method requires chain");let s=(0,c.replaceChainNameToChainId)(`${n}:${i}`);return null!=s&&(n=s.split(":")[0],i=s.split(":")[1]),{namespace:n,requestParam:Object.assign(Object.assign({},e),{chainId:`${n}:${i}`,redirect:null!==(r=e.redirect)&&void 0!==r?r:this.sessionConfig.redirect})}}enable(){return t(this,void 0,void 0,(function*(){if(!this.client)throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");if(!this.session){if(!this.connectOpts)throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");yield this.connect(this.connectOpts)}return yield this.requestAccounts()}))}disconnect(){return t(this,void 0,void 0,(function*(){return(0,c.logDebug)("OKXUniversalProvider disconnect() called"),(0,c.reportLog)("provider disconnect called"),new Promise((e=>t(this,void 0,void 0,(function*(){let r=!1,n=()=>t(this,void 0,void 0,(function*(){r||(r=!0,yield this.disconnectAndEmit(),yield this.cleanup(),e(),(0,c.logDebug)("UniversalProvider disconnect Disconnected"),(0,c.reportLog)("provider disconnect disconnected"))}));try{yield this.client.disconnect(),yield n()}catch{yield n()}}))))}))}disconnectAndEmit(){var e,t,r;this.client.engine.connectManagerDisconnect(),null!==(e=this.session)&&void 0!==e&&e.topic&&(this.events.emit("disconnect",{topic:null===(t=this.session)||void 0===t?void 0:t.topic}),this.events.emit("session_delete",{topic:null===(r=this.session)||void 0===r?void 0:r.topic}))}replaceNamespace(e,t){var r,n;let i=null===(r=e.namespaces)||void 0===r?void 0:r[t];if(null!=i){let r=this.replaceNamespaceInner(i);null!=e.namespaces&&t in e.namespaces&&null!=r&&(e.namespaces[t]=r)}let o=null===(n=e.optionalNamespaces)||void 0===n?void 0:n[t];if(null!=o){let r=this.replaceNamespaceInner(o);null!=e.optionalNamespaces&&t in e.optionalNamespaces&&null!=r&&(e.optionalNamespaces[t]=r)}return e}replaceNamespaceInner(e){var t;return null!=e&&(e.chains=null===(t=e.chains)||void 0===t?void 0:t.map((e=>(0,c.replaceChainNameToChainId)(e))),null!=e.defaultChain&&(e.defaultChain=(0,c.replaceChainNameToChainId)(e.defaultChain))),e}replaceSessionAptos(e,t){var r;let n=null===(r=e?.namespaces)||void 0===r?void 0:r[t];if(null!=n&&null!=n.chains){n.chains=n.chains.map((e=>(0,c.replaceChainIdToChainName)(e))),n.accounts=n.accounts.map((e=>(0,c.replaceChainIdToChainName)(e)));let r={};Object.keys(n.extra||{}).forEach(((n,i)=>{(0,c.replaceChainIdToChainName)(n);r[(0,c.replaceChainIdToChainName)(n)]=Object.values(e?.namespaces[t].extra||{})[i]})),n.extra=r}(0,c.logDebug)("replaceSessionAptos",e)}connected(){(0,c.logDebug)("OKXUniversalProvider connected() called"),(0,c.reportLog)("provider connected called");let e=()=>{try{this.cleanup(),this.client.engine.connectManagerDisconnect()}catch(e){(0,c.logDebug)("Error during disconnect:",e)}};try{return!!this.session&&(!!this.client.engine.getCurrentConnectionReady(Object.keys(this.session.namespaces))||(e(),!1))}catch{return e(),!1}}connectAndSign(e,r){return t(this,void 0,void 0,(function*(){(0,c.logDebug)("OKXUniversalProvider connectAndSign() called");let t=Object.assign(Object.assign({},e),r);return(0,c.logDebug)("OKXUniversalProvider connectAndSign() opts:",JSON.stringify(e)),(0,c.logDebug)("OKXUniversalProvider connectAndSign() signRequest:",JSON.stringify(r)),yield this.connect(t)}))}connect(e){return t(this,void 0,void 0,(function*(){if((0,c.logDebug)("OKXUniversalProvider connect() called"),(0,c.reportLog)("provider connect called"),null==e.sessionConfig&&(e.sessionConfig={}),!this.client)throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");if(this.connected())return this.session;e=this.replaceNamespace(e,"aptos"),(e=this.replaceNamespace(e,"solana")).sessionConfig.useMini&&(e.sessionConfig.useMini=void 0),null==e.sessionConfig.connectWalletType&&(e.sessionConfig.connectWalletType=c.ConnectWalletType.OKX_APP_COMMON),e.sessionConfig.connectWalletType==c.ConnectWalletType.OKX_MINI&&(e.sessionConfig.connectWalletType=c.ConnectWalletType.OKX_APP_COMMON),(0,c.logDebug)("OKXUniversalProvider connect >>>>",JSON.stringify(e)),void 0===e.sessionConfig.openUniversalUrl&&(e.sessionConfig.openUniversalUrl=(0,c.isMobileUserAgent)()),e.sessionConfig.openAppLinkType=this.providerOpts.openAppLinkType,this.setNamespaces(e);try{(0,c.logDebug)(`UniversalProvider connect opts.stringify ====> ${JSON.stringify(e)}`);let t=yield this.client.connect(e);if((0,c.logDebug)(`UniversalProvider connect success ====> ${JSON.stringify(t)}`),t){if(this.replaceSessionAptos(t,"aptos"),this.replaceSessionAptos(t,"solana"),this.session=t,this.client.session=t,this.setConnectConnector(),(0,c.logDebug)("OKXUniversalProvider connect success opts>>>>",JSON.stringify(e)),this.onConnect(),e.signRequest&&e.signRequest.length>0){let t=e.signRequest[0],r=[];typeof window<"u"&&window&&window.okxConnectUniversalUIinwindow?((0,c.logDebug)("OKXUniversalProvider connect success, us UI SDK>>>>"),this.session.signResponse&&this.session.signResponse.length>0&&(r=this.session.signResponse)):((0,c.logDebug)("OKXUniversalProvider connect success, us Universal SDK>>>>"),this.session.signResponse&&this.session.signResponse.length>0?r=this.session.signResponse:r.push((0,b.creatNotSupportMethodItemReplay)(t))),(0,c.logDebug)(`UniversalProvider connect success connectRequestReply ====> ${JSON.stringify(r)}`),setTimeout((()=>{this.events.emit("connect_signResponse",r)}),100)}return t}return}catch(e){throw(0,c.logDebug)("UniversalProvider connect error ====> ",JSON.stringify(e)),e}}))}syncAllAddresses(){return t(this,void 0,void 0,(function*(){if((0,w.syncAddressAvailable)(this.session.wallet))return this.client.syncAllAddress();throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED)}))}setConnectConnector(){this.client.setConnectConnector(this.session)}on(e,t){this.events.on(e,t)}once(e,t){this.events.once(e,t)}removeListener(e,t){this.events.removeListener(e,t)}off(e,t){this.events.off(e,t)}setDefaultChain(e,t){(0,c.logDebug)("OKXUniversalProvider setDefaultChain() called");try{if(!this.connected())return;let[r,n]=this.validateChain(e);this.getProvider(r).setDefaultChain(n,t)}catch(e){if(!/Please call connect/.test(e.message))throw e}}tryToReconnect(){return t(this,void 0,void 0,(function*(){yield this.checkStorage()}))}checkStorage(){return t(this,void 0,void 0,(function*(){if(this.connected())return;let e=yield this.getFromStore("connectSession");if((0,c.logDebug)(e),e){(0,c.logDebug)("checkStorage error start");try{let t=e;if(this.session=t,this.client.session=this.session,this.setConnectConnector(),yield this.client.restoreconnect(t),!this.connected())throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR);this.sessionConfig=t.sessionConfig,this.client.sessionConfig=this.sessionConfig,(0,c.logDebug)("[evm u-provider] do reconnection",this.session),this.createProviders(),this.registerEventListeners(),setTimeout((()=>{this.events.emit("reconnect",{session:this.session})}),100)}catch(e){yield this.cleanup(!1),(0,c.logDebug)(`checkStorage error ${JSON.stringify(e)}`)}}}))}initialize(){return t(this,void 0,void 0,(function*(){(0,c.logDebug)("OKXUniversalProvider initialize() called"),(0,c.reportLog)("provider initialize called");let e=Object.assign({url:window.location.hostname,origin:window.location.origin},this.providerOpts.dappMetaData);this.client=new a.SignClient(e,this.events,this.providerOpts.openAppLinkType),this.registerConnector(this.providerOpts.connector),yield this.tryToReconnect()}))}createProviders(){if(!this.client)throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client not initialized");if(!this.connected())throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Session not initialized. Please call connect() before enable()");let e=[...new Set(Object.keys(this.session.namespaces).filter((e=>{var t,r;return(null===(r=null===(t=this.session.namespaces[e])||void 0===t?void 0:t.accounts)||void 0===r?void 0:r.length)>0})).map((e=>(0,u.parseNamespaceKey)(e))))];this.rpcProviders={},e.forEach((e=>{if(!this.session)return;let t=this.session.namespaces[e];switch((0,c.logDebug)("init eip155 >> ",t),e){case"eip155":let r={namespace:t};this.rpcProviders[e]=new n.Eip155Provider(r,this.client,this.events);break;case"solana":let o={namespace:t},s=new l.default(o,"solana",this.client,this.events);this.rpcProviders[e]=s;let a=new l.default(o,"sonic",this.client,this.events);this.rpcProviders.sonic=a;let c=new l.default(o,"svm",this.client,this.events);this.rpcProviders.svm=c;let u=new l.default(o,"soon",this.client,this.events);this.rpcProviders.soon=u;let y=new l.default(o,"eclipse",this.client,this.events);this.rpcProviders.eclipse=y;break;case"ton":let m={namespace:t},b=new f.default(m,this.client,this.events);this.rpcProviders[e]=b;break;case"sui":let w={namespace:t},A=new i.SuiProvider(w,this.client,this.events);A.name="sui",this.rpcProviders[e]=A;break;case"btc":let E={namespace:t},T=new d.default(E,"btc",this.client,this.events);this.rpcProviders.btc=T;let C=new d.default(E,"fractal",this.client,this.events);this.rpcProviders.fractal=C;break;case"aptos":let S=new h.default({namespace:t},"aptos",this.client,this.events);this.rpcProviders[e]=S;let I=new h.default({namespace:t},"movement",this.client,this.events);this.rpcProviders.movement=I;break;case"cosmos":let O=new p.default({namespace:t},this.client,this.events);this.rpcProviders[e]=O;break;case"tron":let M=new g.default({namespace:t},this.client,this.events);this.rpcProviders[e]=M;break;case"starknet":let P=new v.default({namespace:t},"starknet",this.client,this.events);this.rpcProviders[e]=P}}))}registerEventListeners(){if(typeof this.client>"u")throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"Sign Client is not initialized");this.client.engine.addDisconnectListener((()=>{this.disconnectAndEmit(),this.cleanup()})),this.on(o.PROVIDER_EVENTS.DEFAULT_CHAIN_CHANGED,(e=>{this.onChainChanged(e)})),this.on(o.PROVIDER_EVENTS.UPDATE_NAMESPACES,(e=>{if(e){let t=Object.keys(e)[0];this.session&&(this.session.namespaces[t]=e[t],this.session&&(this.persist("connectSession",this.session),this.events.emit("session_update",this.session)),(0,c.logDebug)("PROVIDER_EVENTS.UPDATE_NAMESPACES this.session... ->>>",JSON.stringify(this.session)))}}))}getProvider(e){return(0,c.logDebug)("current get providers",this.rpcProviders),(0,c.logDebug)("query namespace: ",e),this.rpcProviders[e]}setNamespaces(e){this.connectOpts=e;let{namespaces:t,sessionConfig:r}=e,n={origin:window.location.origin,url:window.location.hostname,name:this.providerOpts.dappMetaData.name,icon:this.providerOpts.dappMetaData.icon,manifestUrl:this.providerOpts.dappMetaData.manifestUrl};this.sessionConfig=Object.assign({dappInfo:n},r),(0,c.logDebug)("setNamespaces sessionConfig>>>",this.sessionConfig),this.client.sessionConfig=this.sessionConfig,this.persist("sessionConfig",r)}validateChain(e){var t;let[r,n]=e?.split(":")||["",""];if(!this.session||!this.session.namespaces||!Object.keys(this.session.namespaces).length)return(0,c.logDebug)("get name & chain",r,n),[r,n];if(r){if(!this.isChainNamespaceInSession(r))throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Namespace '${r}' is not configured. Please call connect() first with namespace config.`);if(n&&e){(0,c.logDebug)("this.session.namespaces --\x3e> ",r,JSON.stringify(this.session.namespaces));let n=null===(t=this.session.namespaces[r])||void 0===t?void 0:t.chains;if((0,c.logDebug)("get chainsArr & chain",JSON.stringify(n),e),n&&!n.includes(e))throw new c.OKXConnectError(c.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR,`Namespace not include the chain '${e}'`)}}if(r&&n)return(0,c.logDebug)("get name & chain",r,n),[r,n];let i=(0,u.parseNamespaceKey)(Object.keys(this.session.namespaces)[0]),o=this.rpcProviders[i].getDefaultChain();return(0,c.logDebug)("get default chain:",o),[i,o]}isChainNamespaceInSession(e){var t,r;if(Object.keys((null===(t=this.session)||void 0===t?void 0:t.namespaces)||{}).map((e=>(0,u.parseNamespaceKey)(e))).includes(e))return!0;let n=!1;return Object.values((null===(r=this.session)||void 0===r?void 0:r.namespaces)||{}).forEach((t=>{t.chains.forEach((t=>{t.split(":")[0]==e&&(n=!0)}))})),n}requestAccountsWithNamespace(e){return this.getProvider(e).requestAccounts()}requestDefaultChainWithNamespace(e){return this.getProvider(e).getDefaultChain()}requestAccounts(){return t(this,void 0,void 0,(function*(){let[e]=this.validateChain();return yield this.getProvider(e).requestAccounts()}))}onChainChanged(e){var t;if(null===(t=this.session)||void 0===t||!t.namespaces)return;let[r,n]=this.validateChain(e);n&&(this.session.namespaces[r]&&(this.session.namespaces[r].defaultChain=n,this.persist("connectSession",this.session)),this.events.emit("chainChanged",n))}onConnect(){this.createProviders(),this.session&&(this.persist("connectSession",this.session),console.log("window.okxwallet save session:",Date.now())),this.events.emit("connect",{session:this.session}),this.registerEventListeners()}cleanup(){return t(this,arguments,void 0,(function*(e=!0){this.session=void 0,this.client.session=void 0,this.setConnectConnector(),this.sessionProperties=void 0,this.persist("optionalNamespaces",void 0),this.persist("sessionProperties",void 0),e&&this.persist("connectSession",void 0)}))}persist(e,t){return(0,c.logDebug)("[evm u-provider] persisit data",e,t),this.client.engine.saveSessionContent(e,t)}getFromStore(e){return t(this,void 0,void 0,(function*(){return this.client.engine.getSessionContent(e)}))}showRequestModal(e,t){try{let{namespace:r,requestParam:n}=this.buildRequestParamFromRequest(e,t);return this.getProvider(r).showRequestModal(n)}catch{return!1}}openWallet(e,t){this.client.openWallet(e,t)}registerConnector(e){this.client.registerConnector(e),this.client.setAccountChangeListener((e=>{(0,c.logDebug)("accountChangeListener session：",this.events.listenerCount("accountChanged"),JSON.stringify(e));try{e&&this.events.listenerCount("accountChanged")&&(this.replaceSessionAptos(e,"aptos"),this.replaceSessionAptos(e,"solana"),this.session=e,this.client.session=e,this.session&&(this.persist("connectSession",this.session),console.log("window.okxwallet save session:",Date.now())),this.setConnectConnector(),this.createProviders(),this.events.emit("accountChanged",this.session))}catch(e){(0,c.logDebug)("setAccountChangeListener error:",JSON.stringify(e))}}))}getEngine(){return this.client.engine}};e.OKXUniversalProvider=A,e.default=A})),Wke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXBtcProvider=void 0;var r=yg(),n=ho(),i=class{constructor(e){this.caip=["btc:mainnet","fractal:mainnet"],this.provider=e}getAddressForChainId(e){var t,n;if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let i=null===(n=null===(t=this.provider.session)||void 0===t?void 0:t.namespaces.btc)||void 0===n?void 0:n.accounts.filter((function(t){return t.startsWith(e)}));if(null==i||i.length<0)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"no connected account");return i[0].split(":")[2]}getAccount(e){var t,n,i;if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let o=null===(i=null===(n=null===(t=this.provider.session)||void 0===t?void 0:t.namespaces.btc)||void 0===n?void 0:n.extra)||void 0===i?void 0:i[e],s="";return null!=o&&(s=o.compressedPublicKey),{address:this.getAddressForChainId(e),publicKey:s}}signMessage(e,n,i){return t(this,void 0,void 0,(function*(){if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if("undefined"===n)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signMessage parmas error");let t={signStr:n,from:this.getAddressForChainId(e)};i&&(t.type=i);try{let r=yield this.provider.request({method:"btc_signMessage",params:t},e);return"result"in r?r.result:r.error}catch(e){throw e instanceof r.OKXConnectError?e:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signTransaction request error")}}))}sendBitcoin(e,n,i,o){return t(this,void 0,void 0,(function*(){if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let t={from:this.getAddressForChainId(e),to:n,value:(i/1e8).toString()};o?.feeRate&&(t.satBytes=o.feeRate.toString());let s=yield this.send(e,t);return void 0!==s&&"txhash"in s?s.txhash:s}))}send(e,n){return t(this,void 0,void 0,(function*(){if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if(!this.checkParameters(n,"to","value"))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method send parmas  error");n.from=this.getAddressForChainId(e);try{let t=yield this.provider.request({method:"btc_send",params:n},e);return"result"in t?{txhash:t.result}:t.error}catch(e){throw e instanceof r.OKXConnectError?e:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method send request error: ${e}`)}}))}signPsbt(e,r,n){return t(this,void 0,void 0,(function*(){return new Promise(((t,i)=>{this.signPsbts(e,[r],[n]).then((e=>{let r=JSON.parse(e);t(r[0])})).catch((e=>{i(e)}))}))}))}signPsbts(e,n,i){return t(this,void 0,void 0,(function*(){if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if(void 0===n)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signPsbts params error");let t={psbtHexs:n,options:i};t.from=this.getAddressForChainId(e);try{let r=yield this.provider.request({method:"btc_signPsbts",params:t},e);if("result"in r)return r.result}catch(e){throw e instanceof r.OKXConnectError?e:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method send request error: ${e}`)}}))}signAndPushPsbt(e,n,i){return t(this,void 0,void 0,(function*(){if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if(void 0===n)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signPsbts params error");let t={psbtHex:n,options:i};t.from=this.getAddressForChainId(e);try{let r=yield this.provider.request({method:"btc_signAndPushPsbt",params:t},e);return"result"in r?JSON.parse(r.result):r.error}catch(e){throw e instanceof r.OKXConnectError?e:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,`the method send request error: ${e}`)}}))}sendInscription(e,n,i,o){return t(this,void 0,void 0,(function*(){let t={address:n,inscriptionId:i,options:o};if(null==this.checkChainId(e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");if("undefined"===n)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method sendInscription params error");var s=0;o&&"feeRate"in o&&(s=o.feeRate);let a=this.getAddressForChainId(e);var c=7;if("undefined"!==i){let e="-Atomicals",t="-Ordinals";i?.toLowerCase().endsWith(e.toLowerCase())?(c=8,i=this.removeSuffix(i,e)):i?.toLowerCase().endsWith(t.toLowerCase())&&(i=this.removeSuffix(i,t))}let u={scenario:5,feeRate:s,txType:"20",to:n,batchBean:[{coinAmount:"1",nftId:i,protocolId:c,coinId:"",inscriptionId:"",from:a}],extension:t};try{let t=yield this.provider.request({method:"btc_sendInscription",params:u,injectParams:{address:n,inscriptionId:i,options:o}},e);return"result"in t?t.result:t.error}catch(e){throw e instanceof r.OKXConnectError?e:new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"the method signTransaction request error")}}))}sendRunes(e,i,o,s,a){return t(this,void 0,void 0,(function*(){try{if(!(e&&i&&o&&s))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"The parameter is empty. Please check");let t,c=this.checkChainId(e);if(null!=c&&(c.startsWith("btc")?t=13:c.startsWith("fractal")&&(t=16)),null==c||null==t)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let u={fromAddress:this.getAddressForChainId(e),protocolId:t,address:i,runeid:o,amount:s,options:a};return(0,n.logDebug)("OKXBtcProvider sendRunes --\x3e",JSON.stringify(u)),(yield this.provider.request({method:"btc_sendRunes",params:u,injectParams:{address:i,runeid:o,amount:s,options:a}},e)).result}catch(e){throw e}}))}inscribeTransfer(e,i,o){return t(this,void 0,void 0,(function*(){try{if(!e||!i||!o)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"The parameter is empty. Please check");let t,s=this.checkChainId(e);if(null!=s&&(s.startsWith("btc")?t=1:s.startsWith("fractal")&&(t=14)),null==s||null==t)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"invalid chainId");let a={fromAddress:this.getAddressForChainId(e),protocolId:t,ticker:i,amount:o};(0,n.logDebug)("OKXBtcProvider inscribeTransfer --\x3e",JSON.stringify(a));yield this.provider.request({method:"btc_inscribeTransfer",params:a},e)}catch(e){throw e}}))}removeSuffix(e,t){return e.endsWith(t)?e.slice(0,e.length-t.length):e}checkParameters(e,...t){var r=[];return t.forEach((t=>{`${t}`in e||r.push(t)})),!(r.length>0)||(console.log("not find key: ",r.join(",")),!1)}checkChainId(e){if(this.caip.includes(e)){let[t,r]=e.split(":");return t}}};e.OKXBtcProvider=i,e.default=i})),zke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXCosmosProvider=void 0;var r=ho();e.OKXCosmosProvider=class{constructor(e){this.provider=e}getAccount(e){var t,n,i,o,s,a;(0,r.logDebug)("OKXCosmosProvider getAccount chainId:",e),(0,r.logDebug)("OKXCosmosProvider getAccount namespaces:",JSON.stringify(null===(t=this.provider.session)||void 0===t?void 0:t.namespaces));let c=null===(i=null===(n=this.provider.session)||void 0===n?void 0:n.namespaces[r.NameSpaceKeyCosmos])||void 0===i?void 0:i.accounts.filter((function(t){return t.startsWith(e)}))[0];if((0,r.logDebug)("OKXCosmosProvider getAccount account:",JSON.stringify(c)),!c)return;let u=c.split(":"),l=c.split(":")[2];(0,r.logDebug)("OKXCosmosProvider getAccount address:",l);let d=null===(a=null===(s=null===(o=this.provider.session)||void 0===o?void 0:o.namespaces[r.NameSpaceKeyCosmos])||void 0===s?void 0:s.extra)||void 0===a?void 0:a[`${u[0]}:${u[1]}`],h="";return null!=d&&(h=d.publicKey,console.log("aptos_publicKey",h)),l?{algo:"secp256k1",address:l,bech32Address:l,pubKey:this.hexToUint8Array(h)}:void 0}signArbitrary(e,r,n){return t(this,void 0,void 0,(function*(){let t=window.btoa(n),i={chain_id:"",account_number:"0",sequence:"0",fee:{gas:"0",amount:[]},msgs:[{type:"sign/MsgSignData",value:{signer:r,data:t}}],memo:""},o={chainId:e,method:"cosmos_signArbitrary",params:{signer:r,chain_id:e.split(":")[1],data:i}};try{let t=yield this.provider.request(o,e);return"result"in t?"string"==typeof t.result?JSON.parse(t.result):t.result:t.error}catch(e){return e}}))}signAmino(e,r,n,i){return t(this,void 0,void 0,(function*(){if("sign/MsgSignData"==n.msgs[0].type){let t={chainId:e,method:"cosmos_signArbitrary",params:{signer:r,chain_id:e.split(":")[1],data:n}};try{let r=yield this.provider.request(t,e);return"result"in r?r.result:r.error}catch(e){return e}}else{let t={chainId:e,method:"cosmos_signAmino",params:{signer:r,chainId:e.split(":")[1],sign_doc:n,signOptions:i}};try{let r=yield this.provider.request(t,e);if("result"in r){let e=JSON.parse(r.result);return console.log("signdoc",n,e.signDoc),n.fee=e.signDoc.fee,{signed:n,signature:e.signature}}return r.error}catch(e){return e}}}))}signDirect(e,r,n,i){return t(this,void 0,void 0,(function*(){let t={bodyBytes:this.bufferToHex(n.bodyBytes),authInfoBytes:this.bufferToHex(n.authInfoBytes),chainId:n.chainId,accountNumber:n.accountNumber?n.accountNumber.toString():null,signOptions:i||null},o={chainId:e,method:"cosmos_signDirect",params:{signer:r,chainId:e.split(":")[1],sign_doc:t}};try{let t=yield this.provider.request(o,e);if("result"in t){let e=JSON.parse(t.result);return console.log("signdirect result",e),n.authInfoBytes=this.messageToBuffer(e.signDoc.authInfoBytes),{signed:n,signature:e.signature}}}catch(e){return e}}))}messageToBuffer(e){var t=Uint8Array.from([]);try{t="string"==typeof e?this.hexToUint8Array(e.replace("0x","")):Uint8Array.from(e)}catch(e){console.log(`messageToBuffer error: ${e}`)}return t}bufferToHex(e){return"0x"+[...new Uint8Array(e)].map((e=>e.toString(16).padStart(2,"0"))).join("")}hexToUint8Array(e){if(e.length%2!=0)throw"Invalid hexString";for(var t=new Uint8Array(e.length/2),r=0;r<e.length;r+=2){var n=parseInt(e.substr(r,2),16);if(isNaN(n))throw"Invalid hexString";t[r/2]=n}return t}}})),Hke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXTonProvider=void 0;var r=yg(),n=ho(),i=class{constructor(e){this.statusChangeSubscriptions=[],this.statusChangeErrorSubscriptions=[],this.provider=e,this.provider.on("connect",(()=>{let e=this.wallet();(0,n.logDebug)("OKXTONProvider event connect:",JSON.stringify(e)),this.statusChangeSubscriptions.forEach((t=>t(e)))})),this.provider.on("reconnect",(()=>{let e=this.wallet();(0,n.logDebug)("OKXTONProvider event reconnect:",JSON.stringify(e)),this.statusChangeSubscriptions.forEach((t=>t(e)))})),this.provider.on("disconnect",(()=>{(0,n.logDebug)("OKXTONProvider event disconnect:"),this.statusChangeSubscriptions.forEach((e=>e(null)))})),this.provider.on("connect_error",(e=>{(0,n.logDebug)("OKXTONProvider event connect_error:",JSON.stringify(e)),this.statusChangeErrorSubscriptions.forEach((t=>t(e)))}))}connected(){return!!this.provider.connected()&&!!this.provider.session.namespaces.ton}account(){try{if(!this.provider.session)return null;let e=this.provider.session.namespaces.ton;if(!e||!e.payload||!e.payload.ton_addr)return null;let t=e.payload.ton_addr;return{address:t.address,chain:t.network,walletStateInit:t.walletStateInit,publicKey:t.publicKey}}catch(e){return(0,n.logDebug)("OKXTONProvider account  error:",JSON.stringify(e)),null}}wallet(){if(this.connected())try{let e=this.provider.session.wallet,t={device:{platform:e.platform,appName:e.appName,appVersion:e.appVersion,maxProtocolVersion:e.maxProtocolVersion,features:["ton_sendTransaction"]},provider:"http",account:this.account()},r=this.provider.session.namespaces.ton;return r&&r.payload&&r.payload.ton_proof&&(t.connectItems={tonProof:r.payload.ton_proof}),(0,n.logDebug)("OKXTONProvider wallet :",JSON.stringify(t)),t}catch(e){return(0,n.logDebug)("OKXTONProvider wallet  error:",JSON.stringify(e)),null}return null}onStatusChange(e,t){return this.statusChangeSubscriptions.push(e),t&&this.statusChangeErrorSubscriptions.push(t),()=>{this.statusChangeSubscriptions=this.statusChangeSubscriptions.filter((t=>t!==e)),t&&(this.statusChangeErrorSubscriptions=this.statusChangeErrorSubscriptions.filter((e=>e!==t)))}}sendTransaction(e){return t(this,void 0,void 0,(function*(){if(e.network&&e.network!==n.TONCHAIN.MAINNET)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"OKXTONProvider sendTransaction network error");if(e.network||(e.network=n.TONCHAIN.MAINNET),this.provider.session&&!e.from){let t=this.provider.requestAccountsWithNamespace("ton");e.from=t[0]}let t={method:"ton_sendTransaction",params:e},i="ton:"+n.TONCHAIN.MAINNET;return(0,n.logDebug)("OKXTONProvider sendTransaction transaction----:",i,JSON.stringify(t)),this.provider.request(t,i)}))}};e.OKXTonProvider=i,e.default=i})),qke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXTronProvider=void 0;var r=ho();e.OKXTronProvider=class{constructor(e){this.TRON_CHAIN_ID="tron:mainnet",this.provider=e}getChain(e){if(null==e&&(e=this.TRON_CHAIN_ID),e!=this.TRON_CHAIN_ID)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED,"The chainId:"+e+"is wrong for OKXTronProvider");return e}getAccount(e){var t,n,i,o,s;e=this.getChain(e);let a=null===(n=null===(t=this.provider.session)||void 0===t?void 0:t.namespaces[r.NameSpaceKeyTron])||void 0===n?void 0:n.accounts.filter((function(t){return t.startsWith(e)}))[0];if(!a)return;let c=a.split(":"),u=a.split(":")[2],l=null===(s=null===(o=null===(i=this.provider.session)||void 0===i?void 0:i.namespaces[r.NameSpaceKeyTron])||void 0===o?void 0:o.extra)||void 0===s?void 0:s[`${c[0]}:${c[1]}`],d="";return null!=l&&l.publicKey,u?{address:u}:void 0}stringToHex(e){let t="";for(let r=0;r<e.length;r++)t+=e.charCodeAt(r).toString(16).padStart(2,"0");return t}signMessage(e,r){return t(this,void 0,void 0,(function*(){let t={chainId:r=this.getChain(r),method:"tron_signMessage",params:{message:this.stringToHex(e)}};try{let e=yield this.provider.request(t,r);return"result"in e?e.result:e.error}catch(e){return e}}))}signMessageV2(e,r){return t(this,void 0,void 0,(function*(){let t={chainId:r=this.getChain(r),method:"tron_signMessageV2",params:{message:e}};try{let e=yield this.provider.request(t,r);return"result"in e?e.result:e.error}catch(e){return e}}))}signTransaction(e,r){return t(this,void 0,void 0,(function*(){r=this.getChain(r);let t={method:"tron_signTransaction",params:e};try{let e=yield this.provider.request(t,r);if("result"in e){let t;t="string"==typeof e.result?JSON.parse(e.result):e.result;let r={};r.visible=t.visible,r.txID=t.txID;let n={};return n.contract=t.raw_data.contract,n.expiration=t.raw_data.expiration,n.ref_block_bytes=t.raw_data.ref_block_bytes,n.fee_limit=t.raw_data.fee_limit,n.ref_block_hash=t.raw_data.ref_block_hash,n.timestamp=t.raw_data.timestamp,r.raw_data=n,r.raw_data_hex=t.raw_data_hex,r.signature=t.signature,r}}catch(e){return e}}))}signAndSendTransaction(e,r){return t(this,void 0,void 0,(function*(){r=this.getChain(r);let t={method:"tron_signAndSendTransaction",params:e};try{let e=yield this.provider.request(t,r);if("result"in e)return e.result}catch(e){return e}}))}}})),jke=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXStarknetProvider=void 0;var r=ho();e.OKXStarknetProvider=class{constructor(e){this.STARKNET_CHAIN_ID="starknet:mainnet",this.provider=e}getChain(e){if(null==e&&(e=this.STARKNET_CHAIN_ID),e!=this.STARKNET_CHAIN_ID)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED,"The chainId:"+e+"is wrong for OKXStarknetProvider");return e}getAccount(e){var t,n,i,o,s;let a=null===(n=null===(t=this.provider.session)||void 0===t?void 0:t.namespaces[r.NameSpaceKeyStarknet])||void 0===n?void 0:n.accounts.filter((function(t){return t.startsWith(e)}))[0];if(!a)return;let c=a.split(":"),u=a.split(":")[2],l=null===(s=null===(o=null===(i=this.provider.session)||void 0===i?void 0:i.namespaces[r.NameSpaceKeyStarknet])||void 0===o?void 0:o.extra)||void 0===s?void 0:s[`${c[0]}:${c[1]}`],d="";return null!=l&&(d=l.publicKey),u?{address:u,pubKey:d}:void 0}signMessage(e,r,n){return t(this,void 0,void 0,(function*(){n=this.getChain(n),0==e.length&&(e=this.getAccount(n).address);let t={chainId:n,method:"starknet_signMessage",params:{accountAddress:e,typedData:r}};try{let e=yield this.provider.request(t,n);if("result"in e){let t=e.result;return"string"==typeof t&&(t=JSON.parse(t)),[t.signedDataR,t.signedDataS]}return e.error}catch(e){return e}}))}sendTransaction(e,r,n){return t(this,void 0,void 0,(function*(){n=this.getChain(n);let t={method:"starknet_sendTransaction",params:{data:JSON.stringify({accountAddress:e,executionRequest:r}),from:e}};try{let e=yield this.provider.request(t,n);return"result"in e?{transaction_hash:e.result}:e.error}catch(e){return e}}))}signMessageDeclareContractPayload(e,r){return t(this,void 0,void 0,(function*(){r=this.getChain(r);try{let t={method:"starknet_signMessage",params:e},n=yield this.provider.request(t,r);return"result"in n?{transaction_hash:n.result.txHash,class_hash:n.result.classHash}:n.error}catch(e){return e}}))}sendMessageExecuteTransactionDetail(e,r,n,i,o){return t(this,void 0,void 0,(function*(){o=this.getChain(o);let t={calls:Array.isArray(r)?r:[r],abis:n,transactionsDetail:{nonce:i?.nonce,maxFee:i?.nonce,version:i?.version}};return this.sendTransaction(e,t,o)}))}}})),yg=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__exportStar||function(e,r){for(var n in e)"default"!==n&&!Object.prototype.hasOwnProperty.call(r,n)&&t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXStarknetProvider=e.OKXTronProvider=e.OKXTonProvider=e.OKXCosmosProvider=e.OKXBtcProvider=e.OKXUniversalProvider=void 0,r(sN(),e),r(kte(),e);var n=Lke();Object.defineProperty(e,"OKXUniversalProvider",{enumerable:!0,get:function(){return n.OKXUniversalProvider}});var i=Wke();Object.defineProperty(e,"OKXBtcProvider",{enumerable:!0,get:function(){return i.OKXBtcProvider}});var o=zke();Object.defineProperty(e,"OKXCosmosProvider",{enumerable:!0,get:function(){return o.OKXCosmosProvider}});var s=Hke();Object.defineProperty(e,"OKXTonProvider",{enumerable:!0,get:function(){return s.OKXTonProvider}});var a=qke();Object.defineProperty(e,"OKXTronProvider",{enumerable:!0,get:function(){return a.OKXTronProvider}});var c=jke();Object.defineProperty(e,"OKXStarknetProvider",{enumerable:!0,get:function(){return c.OKXStarknetProvider}}),r(ho(),e)})),Xke=W(((e,t)=>{var r,n,i,o;m(),r=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:e,n=function(){"use strict";var e,t="3.7.7",r=t,n="function"==typeof P.Buffer,i="function"==typeof TextDecoder?new TextDecoder:void 0,o="function"==typeof TextEncoder?new TextEncoder:void 0,s=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),a=(e={},s.forEach((function(t,r){return e[t]=r})),e),c=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,u=String.fromCharCode.bind(String),l="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):function(e){return new Uint8Array(Array.prototype.slice.call(e,0))},d=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"}))},h=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},f=function(e){for(var t,r,n,i,o="",a=e.length%3,c=0;c<e.length;){if((r=e.charCodeAt(c++))>255||(n=e.charCodeAt(c++))>255||(i=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");o+=s[(t=r<<16|n<<8|i)>>18&63]+s[t>>12&63]+s[t>>6&63]+s[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},p="function"==typeof btoa?function(e){return btoa(e)}:n?function(e){return P.Buffer.from(e,"binary").toString("base64")}:f,g=n?function(e){return P.Buffer.from(e).toString("base64")}:function(e){for(var t=[],r=0,n=e.length;r<n;r+=4096)t.push(u.apply(null,e.subarray(r,r+4096)));return p(t.join(""))},y=function(e,t){return void 0===t&&(t=!1),t?d(g(e)):g(e)},m=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},b=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,w=function(e){return e.replace(b,m)},v=n?function(e){return P.Buffer.from(e,"utf8").toString("base64")}:o?function(e){return g(o.encode(e))}:function(e){return p(w(e))},A=function(e,t){return void 0===t&&(t=!1),t?d(v(e)):v(e)},E=function(e){return A(e,!0)},T=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,C=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return u(55296+(t>>>10))+u(56320+(1023&t));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},S=function(e){return e.replace(T,C)},I=function(e){if(e=e.replace(/\s+/g,""),!c.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));for(var t,r,n,i="",o=0;o<e.length;)t=a[e.charAt(o++)]<<18|a[e.charAt(o++)]<<12|(r=a[e.charAt(o++)])<<6|(n=a[e.charAt(o++)]),i+=64===r?u(t>>16&255):64===n?u(t>>16&255,t>>8&255):u(t>>16&255,t>>8&255,255&t);return i},O="function"==typeof atob?function(e){return atob(h(e))}:n?function(e){return P.Buffer.from(e,"base64").toString("binary")}:I,M=n?function(e){return l(P.Buffer.from(e,"base64"))}:function(e){return l(O(e).split("").map((function(e){return e.charCodeAt(0)})))},k=function(e){return M(x(e))},B=n?function(e){return P.Buffer.from(e,"base64").toString("utf8")}:i?function(e){return i.decode(M(e))}:function(e){return S(O(e))},x=function(e){return h(e.replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})))},N=function(e){return B(x(e))},R=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},_=function(){var e=function(e,t){return Object.defineProperty(String.prototype,e,R(t))};e("fromBase64",(function(){return N(this)})),e("toBase64",(function(e){return A(this,e)})),e("toBase64URI",(function(){return A(this,!0)})),e("toBase64URL",(function(){return A(this,!0)})),e("toUint8Array",(function(){return k(this)}))},U=function(){var e=function(e,t){return Object.defineProperty(Uint8Array.prototype,e,R(t))};e("toBase64",(function(e){return y(this,e)})),e("toBase64URI",(function(){return y(this,!0)})),e("toBase64URL",(function(){return y(this,!0)}))},D={version:t,VERSION:r,atob:O,atobPolyfill:I,btoa:p,btoaPolyfill:f,fromBase64:N,toBase64:A,encode:A,encodeURI:E,encodeURL:E,utob:w,btou:S,decode:N,isValid:function(e){if("string"!=typeof e)return!1;var t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:y,toUint8Array:k,extendString:_,extendUint8Array:U,extendBuiltins:function(){_(),U()},Base64:{}};return Object.keys(D).forEach((function(e){return D.Base64[e]=D[e]})),D},"object"==typeof e&&typeof t<"u"?t.exports=n():"function"==typeof define&&define.amd?define(n):(i=r.Base64,(o=n()).noConflict=function(){return r.Base64=i,o},r.Meteor&&(Base64=o),r.Base64=o)})),Qke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0});var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Xke();var i=e.g=(e,t)=>e/10**t,o=e=>{let t="";for(let r=2;r<e.length;r+=2)t+=String.fromCharCode(parseInt(e.substring(r,r+2),16));return t},s=e.h=e=>{let{account_address:t,module_name:r,struct_name:n}=e;return`${t}::${o(r)}::${o(n)}`},a=e.i=e=>"object"==typeof e&&!Array.isArray(e)&&null!==e&&"account_address"in e&&"module_name"in e&&"struct_name"in e&&"string"==typeof e.account_address&&"string"==typeof e.module_name&&"string"==typeof e.struct_name;e.a=(e,n,i,o)=>{for(var s,a=o>1?void 0:o?r(n,i):n,c=e.length-1;c>=0;c--)(s=e[c])&&(a=(o?s(n,i,a):s(a))||a);return o&&a&&t(n,i,a),a},e.b=async function(e){return new Promise((t=>{setTimeout(t,e)}))},e.c=()=>Math.floor(Date.now()/1e3),e.d=function(e){let t=new Date(1e3*e);return t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),Math.floor(t.getTime()/1e3)},e.e=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"==".substring(0,(3-t.length%3)%3);return n.decode.call(void 0,r)},e.f=(e,t)=>e*10**t,e.g=i,e.h=s,e.i=a})),Zke=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.crypto=void 0,e.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0})),gm=W((e=>{"use strict";function t(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function r(e,...t){if(!function(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.anumber=t,e.abytes=r,e.ahash=function(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");t(e.outputLen),t(e.blockLen)},e.aexists=function(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")},e.aoutput=function(e,t){r(e);let n=t.outputLen;if(e.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}})),Au=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.Hash=e.nextTick=e.byteSwapIfBE=e.isLE=void 0,e.isBytes=function(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name},e.u8=function(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)},e.u32=function(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))},e.createView=function(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)},e.rotr=function(e,t){return e<<32-t|e>>>t},e.rotl=function(e,t){return e<<t|e>>>32-t>>>0},e.byteSwap=n,e.byteSwap32=function(e){for(let t=0;t<e.length;t++)e[t]=n(e[t])},e.bytesToHex=function(e){(0,r.abytes)(e);let t="";for(let r=0;r<e.length;r++)t+=i[e[r]];return t},e.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=s(e.charCodeAt(i)),o=s(e.charCodeAt(i+1));if(void 0===r||void 0===o){let t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}n[t]=16*r+o}return n},e.asyncLoop=async function(t,r,n){let i=Date.now();for(let o=0;o<t;o++){n(o);let t=Date.now()-i;t>=0&&t<r||(await(0,e.nextTick)(),i+=t)}},e.utf8ToBytes=a,e.toBytes=c,e.concatBytes=function(...e){let t=0;for(let n=0;n<e.length;n++){let i=e[n];(0,r.abytes)(i),t+=i.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n},e.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!=={}.toString.call(t))throw new Error("Options should be object or undefined");return Object.assign(e,t)},e.wrapConstructor=function(e){let t=t=>e().update(c(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t},e.wrapConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(c(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},e.wrapXOFConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(c(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},e.randomBytes=function(e=32){if(t.crypto&&"function"==typeof t.crypto.getRandomValues)return t.crypto.getRandomValues(new Uint8Array(e));if(t.crypto&&"function"==typeof t.crypto.randomBytes)return t.crypto.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")};var t=Zke(),r=gm();function n(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}e.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],e.byteSwapIfBE=e.isLE?e=>e:e=>n(e);var i=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));var o={_0:48,_9:57,A:65,F:70,a:97,f:102};function s(e){return e>=o._0&&e<=o._9?e-o._0:e>=o.A&&e<=o.F?e-(o.A-10):e>=o.a&&e<=o.f?e-(o.a-10):void 0}function a(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function c(e){return"string"==typeof e&&(e=a(e)),(0,r.abytes)(e),e}e.nextTick=async()=>{};e.Hash=class{clone(){return this._cloneInto()}}})),j7=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.HashMD=void 0,e.setBigUint64=n,e.Chi=function(e,t,r){return e&t^~e&r},e.Maj=function(e,t,r){return e&t^e&r^t&r};var t=gm(),r=Au();function n(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),o=BigInt(4294967295),s=Number(r>>i&o),a=Number(r&o),c=n?4:0,u=n?0:4;e.setUint32(t+c,s,n),e.setUint32(t+u,a,n)}var i=class extends r.Hash{constructor(e,t,n,i){super(),this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){(0,t.aexists)(this);let{view:n,buffer:i,blockLen:o}=this,s=(e=(0,r.toBytes)(e)).length;for(let t=0;t<s;){let a=Math.min(o-this.pos,s-t);if(a!==o)i.set(e.subarray(t,t+a),this.pos),this.pos+=a,t+=a,this.pos===o&&(this.process(n,0),this.pos=0);else{let n=(0,r.createView)(e);for(;o<=s-t;t+=o)this.process(n,t)}}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,t.aexists)(this),(0,t.aoutput)(e,this),this.finished=!0;let{buffer:i,view:o,blockLen:s,isLE:a}=this,{pos:c}=this;i[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>s-c&&(this.process(o,0),c=0);for(let e=c;e<s;e++)i[e]=0;n(o,s-8,BigInt(8*this.length),a),this.process(o,0);let u=(0,r.createView)(e),l=this.outputLen;if(l%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let d=l/4,h=this.get();if(d>h.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e<d;e++)u.setUint32(4*e,h[e],a)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:o,pos:s}=this;return e.length=n,e.pos=s,e.finished=i,e.destroyed=o,n%t&&e.buffer.set(r),e}};e.HashMD=i})),V7=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.add5L=e.add5H=e.add4H=e.add4L=e.add3H=e.add3L=e.rotlBL=e.rotlBH=e.rotlSL=e.rotlSH=e.rotr32L=e.rotr32H=e.rotrBL=e.rotrBH=e.rotrSL=e.rotrSH=e.shrSL=e.shrSH=e.toBig=void 0,e.fromBig=n,e.split=i,e.add=w;var t=BigInt(2**32-1),r=BigInt(32);function n(e,n=!1){return n?{h:Number(e&t),l:Number(e>>r&t)}:{h:0|Number(e>>r&t),l:0|Number(e&t)}}function i(e,t=!1){let r=new Uint32Array(e.length),i=new Uint32Array(e.length);for(let o=0;o<e.length;o++){let{h:s,l:a}=n(e[o],t);[r[o],i[o]]=[s,a]}return[r,i]}var o=(e,t)=>BigInt(e>>>0)<<r|BigInt(t>>>0);e.toBig=o;var s=(e,t,r)=>e>>>r;e.shrSH=s;var a=(e,t,r)=>e<<32-r|t>>>r;e.shrSL=a;var c=(e,t,r)=>e>>>r|t<<32-r;e.rotrSH=c;var u=(e,t,r)=>e<<32-r|t>>>r;e.rotrSL=u;var l=(e,t,r)=>e<<64-r|t>>>r-32;e.rotrBH=l;var d=(e,t,r)=>e>>>r-32|t<<64-r;e.rotrBL=d;var h=(e,t)=>t;e.rotr32H=h;var f=(e,t)=>e;e.rotr32L=f;var p=(e,t,r)=>e<<r|t>>>32-r;e.rotlSH=p;var g=(e,t,r)=>t<<r|e>>>32-r;e.rotlSL=g;var y=(e,t,r)=>t<<r-32|e>>>64-r;e.rotlBH=y;var b=(e,t,r)=>e<<r-32|t>>>64-r;function w(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:0|i}}e.rotlBL=b;var v=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);e.add3L=v;var A=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;e.add3H=A;var E=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);e.add4L=E;var T=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0;e.add4H=T;var C=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0);e.add5L=C;var S=(e,t,r,n,i,o)=>t+r+n+i+o+(e/2**32|0)|0;e.add5H=S;var I={fromBig:n,split:i,toBig:o,shrSH:s,shrSL:a,rotrSH:c,rotrSL:u,rotrBH:l,rotrBL:d,rotr32H:h,rotr32L:f,rotlSH:p,rotlSL:g,rotlBH:y,rotlBL:b,add:w,add3L:v,add3H:A,add4L:E,add4H:T,add5H:S,add5L:C};e.default=I})),FO=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.sha384=e.sha512_256=e.sha512_224=e.sha512=e.SHA384=e.SHA512_256=e.SHA512_224=e.SHA512=void 0;var t=j7(),r=V7(),n=Au(),[i,o]=r.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))),s=new Uint32Array(80),a=new Uint32Array(80),c=class extends t.HashMD{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:o,Dh:s,Dl:a,Eh:c,El:u,Fh:l,Fl:d,Gh:h,Gl:f,Hh:p,Hl:g}=this;return[e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g]}set(e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|d,this.Gh=0|h,this.Gl=0|f,this.Hh=0|p,this.Hl=0|g}process(e,t){for(let r=0;r<16;r++,t+=4)s[r]=e.getUint32(t),a[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|s[e-15],n=0|a[e-15],i=r.default.rotrSH(t,n,1)^r.default.rotrSH(t,n,8)^r.default.shrSH(t,n,7),o=r.default.rotrSL(t,n,1)^r.default.rotrSL(t,n,8)^r.default.shrSL(t,n,7),c=0|s[e-2],u=0|a[e-2],l=r.default.rotrSH(c,u,19)^r.default.rotrBH(c,u,61)^r.default.shrSH(c,u,6),d=r.default.rotrSL(c,u,19)^r.default.rotrBL(c,u,61)^r.default.shrSL(c,u,6),h=r.default.add4L(o,d,a[e-7],a[e-16]),f=r.default.add4H(h,i,l,s[e-7],s[e-16]);s[e]=0|f,a[e]=0|h}let{Ah:n,Al:c,Bh:u,Bl:l,Ch:d,Cl:h,Dh:f,Dl:p,Eh:g,El:y,Fh:m,Fl:b,Gh:w,Gl:v,Hh:A,Hl:E}=this;for(let e=0;e<80;e++){let t=r.default.rotrSH(g,y,14)^r.default.rotrSH(g,y,18)^r.default.rotrBH(g,y,41),T=r.default.rotrSL(g,y,14)^r.default.rotrSL(g,y,18)^r.default.rotrBL(g,y,41),C=g&m^~g&w,S=y&b^~y&v,I=r.default.add5L(E,T,S,o[e],a[e]),O=r.default.add5H(I,A,t,C,i[e],s[e]),M=0|I,P=r.default.rotrSH(n,c,28)^r.default.rotrBH(n,c,34)^r.default.rotrBH(n,c,39),k=r.default.rotrSL(n,c,28)^r.default.rotrBL(n,c,34)^r.default.rotrBL(n,c,39),B=n&u^n&d^u&d,x=c&l^c&h^l&h;A=0|w,E=0|v,w=0|m,v=0|b,m=0|g,b=0|y,({h:g,l:y}=r.default.add(0|f,0|p,0|O,0|M)),f=0|d,p=0|h,d=0|u,h=0|l,u=0|n,l=0|c;let N=r.default.add3L(M,k,x);n=r.default.add3H(N,O,P,B),c=0|N}({h:n,l:c}=r.default.add(0|this.Ah,0|this.Al,0|n,0|c)),({h:u,l:l}=r.default.add(0|this.Bh,0|this.Bl,0|u,0|l)),({h:d,l:h}=r.default.add(0|this.Ch,0|this.Cl,0|d,0|h)),({h:f,l:p}=r.default.add(0|this.Dh,0|this.Dl,0|f,0|p)),({h:g,l:y}=r.default.add(0|this.Eh,0|this.El,0|g,0|y)),({h:m,l:b}=r.default.add(0|this.Fh,0|this.Fl,0|m,0|b)),({h:w,l:v}=r.default.add(0|this.Gh,0|this.Gl,0|w,0|v)),({h:A,l:E}=r.default.add(0|this.Hh,0|this.Hl,0|A,0|E)),this.set(n,c,u,l,d,h,f,p,g,y,m,b,w,v,A,E)}roundClean(){s.fill(0),a.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}};e.SHA512=c;var u=class extends c{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}};e.SHA512_224=u;var l=class extends c{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}};e.SHA512_256=l;var d=class extends c{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}};e.SHA384=d,e.sha512=(0,n.wrapConstructor)((()=>new c)),e.sha512_224=(0,n.wrapConstructor)((()=>new u)),e.sha512_256=(0,n.wrapConstructor)((()=>new l)),e.sha384=(0,n.wrapConstructor)((()=>new d))})),B0=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.notImplemented=e.bitMask=void 0,e.isBytes=i,e.abytes=o,e.abool=function(e,t){if("boolean"!=typeof t)throw new Error(e+" boolean expected, got "+t)},e.bytesToHex=a,e.numberToHexUnpadded=c,e.hexToNumber=u,e.hexToBytes=h,e.bytesToNumberBE=function(e){return u(a(e))},e.bytesToNumberLE=function(e){return o(e),u(a(Uint8Array.from(e).reverse()))},e.numberToBytesBE=f,e.numberToBytesLE=function(e,t){return f(e,t).reverse()},e.numberToVarBytesBE=function(e){return h(c(e))},e.ensureBytes=function(e,t,r){let n;if("string"==typeof t)try{n=h(t)}catch(t){throw new Error(e+" must be hex string or Uint8Array, cause: "+t)}else{if(!i(t))throw new Error(e+" must be hex string or Uint8Array");n=Uint8Array.from(t)}let o=n.length;if("number"==typeof r&&o!==r)throw new Error(e+" of length "+r+" expected, got "+o);return n},e.concatBytes=p,e.equalBytes=function(e,t){if(e.length!==t.length)return!1;let r=0;for(let n=0;n<e.length;n++)r|=e[n]^t[n];return 0===r},e.utf8ToBytes=function(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))},e.inRange=y,e.aInRange=function(e,t,r,n){if(!y(t,r,n))throw new Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)},e.bitLen=function(e){let n;for(n=0;e>t;e>>=r,n+=1);return n},e.bitGet=function(e,t){return e>>BigInt(t)&r},e.bitSet=function(e,n,i){return e|(i?r:t)<<BigInt(n)},e.createHmacDrbg=function(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let n=b(e),i=b(e),o=0,s=()=>{n.fill(1),i.fill(0),o=0},a=(...e)=>r(i,n,...e),c=(e=b())=>{i=a(w([0]),e),n=a(),0!==e.length&&(i=a(w([1]),e),n=a())},u=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let e=0,r=[];for(;e<t;){n=a();let t=n.slice();r.push(t),e+=n.length}return p(...r)};return(e,t)=>{let r;for(s(),c(e);!(r=t(u()));)c();return s(),r}},e.validateObject=function(e,t,r={}){let n=(t,r,n)=>{let i=v[r];if("function"!=typeof i)throw new Error("invalid validator function");let o=e[t];if(!(n&&void 0===o||i(o,e)))throw new Error("param "+String(t)+" is invalid. Expected "+r+", got "+o)};for(let[e,r]of Object.entries(t))n(e,r,!1);for(let[e,t]of Object.entries(r))n(e,t,!0);return e},e.memoized=function(e){let t=new WeakMap;return(r,...n)=>{let i=t.get(r);if(void 0!==i)return i;let o=e(r,...n);return t.set(r,o),o}};var t=BigInt(0),r=BigInt(1),n=BigInt(2);function i(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function o(e){if(!i(e))throw new Error("Uint8Array expected")}var s=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function a(e){o(e);let t="";for(let r=0;r<e.length;r++)t+=s[e[r]];return t}function c(e){let t=e.toString(16);return 1&t.length?"0"+t:t}function u(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return""===e?t:BigInt("0x"+e)}var l={_0:48,_9:57,A:65,F:70,a:97,f:102};function d(e){return e>=l._0&&e<=l._9?e-l._0:e>=l.A&&e<=l.F?e-(l.A-10):e>=l.a&&e<=l.f?e-(l.a-10):void 0}function h(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=d(e.charCodeAt(i)),o=d(e.charCodeAt(i+1));if(void 0===r||void 0===o){let t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}n[t]=16*r+o}return n}function f(e,t){return h(e.toString(16).padStart(2*t,"0"))}function p(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];o(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}var g=e=>"bigint"==typeof e&&t<=e;function y(e,t,r){return g(e)&&g(t)&&g(r)&&t<=e&&e<r}e.bitMask=e=>(n<<BigInt(e-1))-r;var b=e=>new Uint8Array(e),w=e=>Uint8Array.from(e);var v={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||i(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};e.notImplemented=()=>{throw new Error("not implemented")}})),bm=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isNegativeLE=void 0,e.mod=u,e.pow=l,e.pow2=function(e,t,n){let i=e;for(;t-- >r;)i*=i,i%=n;return i},e.invert=d,e.tonelliShanks=h,e.FpSqrt=f,e.validateField=function(e){let r=p.reduce(((e,t)=>(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,t.validateObject)(e,r)},e.FpPow=g,e.FpInvertBatch=y,e.FpDiv=function(e,t,r){return e.mul(t,"bigint"==typeof r?d(r,e.ORDER):e.inv(r))},e.FpLegendre=b,e.FpIsSquare=function(e){let t=b(e.ORDER);return r=>{let n=t(e,r);return e.eql(n,e.ZERO)||e.eql(n,e.ONE)}},e.nLength=w,e.Field=function(e,i,o=!1,s={}){if(e<=r)throw new Error("invalid field: expected ORDER > 0, got "+e);let{nBitLength:a,nByteLength:c}=w(e,i);if(c>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let l,h=Object.freeze({ORDER:e,isLE:o,BITS:a,BYTES:c,MASK:(0,t.bitMask)(a),ZERO:r,ONE:n,create:t=>u(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("invalid field element: expected bigint, got "+typeof t);return r<=t&&t<e},is0:e=>e===r,isOdd:e=>(e&n)===n,neg:t=>u(-t,e),eql:(e,t)=>e===t,sqr:t=>u(t*t,e),add:(t,r)=>u(t+r,e),sub:(t,r)=>u(t-r,e),mul:(t,r)=>u(t*r,e),pow:(e,t)=>g(h,e,t),div:(t,r)=>u(t*d(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>d(t,e),sqrt:s.sqrt||(t=>(l||(l=f(e)),l(h,t))),invertBatch:e=>y(h,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>o?(0,t.numberToBytesLE)(e,c):(0,t.numberToBytesBE)(e,c),fromBytes:e=>{if(e.length!==c)throw new Error("Field.fromBytes: expected "+c+" bytes, got "+e.length);return o?(0,t.bytesToNumberLE)(e):(0,t.bytesToNumberBE)(e)}});return Object.freeze(h)},e.FpSqrtOdd=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");let r=e.sqrt(t);return e.isOdd(r)?r:e.neg(r)},e.FpSqrtEven=function(e,t){if(!e.isOdd)throw new Error("Field doesn't have isOdd");let r=e.sqrt(t);return e.isOdd(r)?e.neg(r):r},e.hashToPrivateScalar=function(e,r,i=!1){let o=(e=(0,t.ensureBytes)("privateHash",e)).length,s=w(r).nByteLength+8;if(s<24||o<s||o>1024)throw new Error("hashToPrivateScalar: expected "+s+"-1024 bytes of input, got "+o);return u(i?(0,t.bytesToNumberLE)(e):(0,t.bytesToNumberBE)(e),r-n)+n},e.getFieldBytesLength=v,e.getMinHashLength=A,e.mapHashToField=function(e,r,i=!1){let o=e.length,s=v(r),a=A(r);if(o<16||o<a||o>1024)throw new Error("expected "+a+"-1024 bytes of input, got "+o);let c=u(i?(0,t.bytesToNumberLE)(e):(0,t.bytesToNumberBE)(e),r-n)+n;return i?(0,t.numberToBytesLE)(c,s):(0,t.numberToBytesBE)(c,s)};var t=B0(),r=BigInt(0),n=BigInt(1),i=BigInt(2),o=BigInt(3),s=BigInt(4),a=BigInt(5),c=BigInt(8);BigInt(9),BigInt(16);function u(e,t){let n=e%t;return n>=r?n:t+n}function l(e,t,i){if(t<r)throw new Error("invalid exponent, negatives unsupported");if(i<=r)throw new Error("invalid modulus");if(i===n)return r;let o=n;for(;t>r;)t&n&&(o=o*e%i),e=e*e%i,t>>=n;return o}function d(e,t){if(e===r)throw new Error("invert: expected non-zero number");if(t<=r)throw new Error("invert: expected positive modulus, got "+t);let i=u(e,t),o=t,s=r,a=n,c=n,l=r;for(;i!==r;){let e=o/i,t=o%i,r=s-c*e,n=a-l*e;o=i,i=t,s=c,a=l,c=r,l=n}if(o!==n)throw new Error("invert: does not exist");return u(s,t)}function h(e){let t,o,a,c=(e-n)/i;for(t=e-n,o=0;t%i===r;t/=i,o++);for(a=i;a<e&&l(a,c,e)!==e-n;a++)if(a>1e3)throw new Error("Cannot find square root: likely non-prime P");if(1===o){let t=(e+n)/s;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}let u=(t+n)/i;return function(e,r){if(e.pow(r,c)===e.neg(e.ONE))throw new Error("Cannot find square root");let i=o,s=e.pow(e.mul(e.ONE,a),t),l=e.pow(r,u),d=e.pow(r,t);for(;!e.eql(d,e.ONE);){if(e.eql(d,e.ZERO))return e.ZERO;let t=1;for(let r=e.sqr(d);t<i&&!e.eql(r,e.ONE);t++)r=e.sqr(r);let r=e.pow(s,n<<BigInt(i-t-1));s=e.sqr(r),l=e.mul(l,r),d=e.mul(d,s),i=t}return l}}function f(e){if(e%s===o){let t=(e+n)/s;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}if(e%c===a){let t=(e-a)/c;return function(e,r){let n=e.mul(r,i),o=e.pow(n,t),s=e.mul(r,o),a=e.mul(e.mul(s,i),o),c=e.mul(s,e.sub(a,e.ONE));if(!e.eql(e.sqr(c),r))throw new Error("Cannot find square root");return c}}return h(e)}e.isNegativeLE=(e,t)=>(u(e,t)&n)===n;var p=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function g(e,t,i){if(i<r)throw new Error("invalid exponent, negatives unsupported");if(i===r)return e.ONE;if(i===n)return t;let o=e.ONE,s=t;for(;i>r;)i&n&&(o=e.mul(o,s)),s=e.sqr(s),i>>=n;return o}function y(e,t){let r=new Array(t.length),n=t.reduce(((t,n,i)=>e.is0(n)?t:(r[i]=t,e.mul(t,n))),e.ONE),i=e.inv(n);return t.reduceRight(((t,n,i)=>e.is0(n)?t:(r[i]=e.mul(t,r[i]),e.mul(t,n))),i),r}function b(e){let t=(e-n)/i;return(e,r)=>e.pow(r,t)}function w(e,t){let r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function v(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");let t=e.toString(2).length;return Math.ceil(t/8)}function A(e){let t=v(e);return t+Math.ceil(t/2)}})),oL=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.wNAF=function(e,t){return{constTimeNegate:o,hasPrecomputes:e=>1!==h(e),unsafeLadder(t,r,o=e.ZERO){let s=t;for(;r>n;)r&i&&(o=o.add(s)),s=s.double(),r>>=i;return o},precomputeWindow(e,r){let{windows:n,windowSize:i}=a(r,t),o=[],s=e,c=s;for(let e=0;e<n;e++){c=s,o.push(c);for(let e=1;e<i;e++)c=c.add(s),o.push(c);s=c.double()}return o},wNAF(r,n,s){let{windows:c,windowSize:u}=a(r,t),l=e.ZERO,d=e.BASE,h=BigInt(2**r-1),f=2**r,p=BigInt(r);for(let e=0;e<c;e++){let t=e*u,r=Number(s&h);s>>=p,r>u&&(r-=f,s+=i);let a=t,c=t+Math.abs(r)-1,g=e%2!=0,y=r<0;0===r?d=d.add(o(g,n[a])):l=l.add(o(y,n[c]))}return{p:l,f:d}},wNAFUnsafe(r,o,s,c=e.ZERO){let{windows:u,windowSize:l}=a(r,t),d=BigInt(2**r-1),h=2**r,f=BigInt(r);for(let e=0;e<u;e++){let t=e*l;if(s===n)break;let r=Number(s&d);if(s>>=f,r>l&&(r-=h,s+=i),0===r)continue;let a=o[t+Math.abs(r)-1];r<0&&(a=a.negate()),c=c.add(a)}return c},getPrecomputes(e,t,r){let n=l.get(t);return n||(n=this.precomputeWindow(t,e),1!==e&&l.set(t,r(n))),n},wNAFCached(e,t,r){let n=h(e);return this.wNAF(n,this.getPrecomputes(n,e,r),t)},wNAFCachedUnsafe(e,t,r,n){let i=h(e);return 1===i?this.unsafeLadder(e,t,n):this.wNAFUnsafe(i,this.getPrecomputes(i,e,r),t,n)},setWindowSize(e,r){s(r,t),d.set(e,r),l.delete(e)}}},e.pippenger=function(e,t,n,i){if(c(n,e),u(i,t),n.length!==i.length)throw new Error("arrays of points and scalars must have equal length");let o=e.ZERO,s=(0,r.bitLen)(BigInt(n.length)),a=s>12?s-3:s>4?s-2:s?2:1,l=(1<<a)-1,d=new Array(l+1).fill(o),h=Math.floor((t.BITS-1)/a)*a,f=o;for(let e=h;e>=0;e-=a){d.fill(o);for(let t=0;t<i.length;t++){let r=i[t],o=Number(r>>BigInt(e)&BigInt(l));d[o]=d[o].add(n[t])}let t=o;for(let e=d.length-1,r=o;e>0;e--)r=r.add(d[e]),t=t.add(r);if(f=f.add(t),0!==e)for(let e=0;e<a;e++)f=f.double()}return f},e.precomputeMSMUnsafe=function(e,t,r,n){s(n,t.BITS),c(r,e);let i=e.ZERO,o=2**n-1,a=Math.ceil(t.BITS/n),l=BigInt((1<<n)-1),d=r.map((e=>{let t=[];for(let r=0,n=e;r<o;r++)t.push(n),n=n.add(e);return t}));return e=>{if(u(e,t),e.length>r.length)throw new Error("array of scalars must be smaller than array of points");let o=i;for(let t=0;t<a;t++){if(o!==i)for(let e=0;e<n;e++)o=o.double();let r=BigInt(a*n-(t+1)*n);for(let t=0;t<e.length;t++){let n=e[t],i=Number(n>>r&l);i&&(o=o.add(d[t][i-1]))}}return o}},e.validateBasic=function(e){return(0,t.validateField)(e.Fp),(0,r.validateObject)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,t.nLength)(e.n,e.nBitLength),...e,p:e.Fp.ORDER})};var t=bm(),r=B0(),n=BigInt(0),i=BigInt(1);function o(e,t){let r=t.negate();return e?r:t}function s(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function a(e,t){return s(e,t),{windows:Math.ceil(t/e)+1,windowSize:2**(e-1)}}function c(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach(((e,r)=>{if(!(e instanceof t))throw new Error("invalid point at index "+r)}))}function u(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach(((e,r)=>{if(!t.isValid(e))throw new Error("invalid scalar at index "+r)}))}var l=new WeakMap,d=new WeakMap;function h(e){return d.get(e)||1}})),G_e=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.twistedEdwards=function(e){let l=function(e){let r=(0,t.validateBasic)(e);return n.validateObject(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...r})}(e),{Fp:d,n:h,prehash:f,hash:p,randomBytes:g,nByteLength:y,h:m}=l,b=a<<BigInt(8*y)-s,w=d.create,v=(0,r.Field)(l.n,l.nBitLength),A=l.uvRatio||((e,t)=>{try{return{isValid:!0,value:d.sqrt(e*d.inv(t))}}catch{return{isValid:!1,value:o}}}),E=l.adjustScalarBytes||(e=>e),T=l.domain||((e,t,r)=>{if((0,i.abool)("phflag",r),t.length||r)throw new Error("Contexts/pre-hash are not supported");return e});function C(e,t){n.aInRange("coordinate "+e,t,o,b)}function S(e){if(!(e instanceof M))throw new Error("ExtendedPoint expected")}let I=(0,i.memoized)(((e,t)=>{let{ex:r,ey:n,ez:i}=e,a=e.is0();null==t&&(t=a?c:d.inv(i));let u=w(r*t),l=w(n*t),h=w(i*t);if(a)return{x:o,y:s};if(h!==s)throw new Error("invZ was invalid");return{x:u,y:l}})),O=(0,i.memoized)((e=>{let{a:t,d:r}=l;if(e.is0())throw new Error("bad point: ZERO");let{ex:n,ey:i,ez:o,et:s}=e,a=w(n*n),c=w(i*i),u=w(o*o),d=w(u*u),h=w(a*t);if(w(u*w(h+c))!==w(d+w(r*w(a*c))))throw new Error("bad point: equation left != right (1)");if(w(n*i)!==w(o*s))throw new Error("bad point: equation left != right (2)");return!0}));class M{constructor(e,t,r,n){this.ex=e,this.ey=t,this.ez=r,this.et=n,C("x",e),C("y",t),C("z",r),C("t",n),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof M)throw new Error("extended point not allowed");let{x:t,y:r}=e||{};return C("x",t),C("y",r),new M(t,r,s,w(t*r))}static normalizeZ(e){let t=d.invertBatch(e.map((e=>e.ez)));return e.map(((e,r)=>e.toAffine(t[r]))).map(M.fromAffine)}static msm(e,r){return(0,t.pippenger)(M,v,e,r)}_setWindowSize(e){B.setWindowSize(this,e)}assertValidity(){O(this)}equals(e){S(e);let{ex:t,ey:r,ez:n}=this,{ex:i,ey:o,ez:s}=e,a=w(t*s),c=w(i*n),u=w(r*s),l=w(o*n);return a===c&&u===l}is0(){return this.equals(M.ZERO)}negate(){return new M(w(-this.ex),this.ey,this.ez,w(-this.et))}double(){let{a:e}=l,{ex:t,ey:r,ez:n}=this,i=w(t*t),o=w(r*r),s=w(a*w(n*n)),c=w(e*i),u=t+r,d=w(w(u*u)-i-o),h=c+o,f=h-s,p=c-o,g=w(d*f),y=w(h*p),m=w(d*p),b=w(f*h);return new M(g,y,b,m)}add(e){S(e);let{a:t,d:r}=l,{ex:n,ey:i,ez:s,et:c}=this,{ex:u,ey:d,ez:h,et:f}=e;if(t===BigInt(-1)){let e=w((i-n)*(d+u)),t=w((i+n)*(d-u)),r=w(t-e);if(r===o)return this.double();let l=w(s*a*f),p=w(c*a*h),g=p+l,y=t+e,m=p-l,b=w(g*r),v=w(y*m),A=w(g*m),E=w(r*y);return new M(b,v,E,A)}let p=w(n*u),g=w(i*d),y=w(c*r*f),m=w(s*h),b=w((n+i)*(u+d)-p-g),v=m-y,A=m+y,E=w(g-t*p),T=w(b*v),C=w(A*E),I=w(b*E),O=w(v*A);return new M(T,C,O,I)}subtract(e){return this.add(e.negate())}wNAF(e){return B.wNAFCached(this,e,M.normalizeZ)}multiply(e){let t=e;n.aInRange("scalar",t,s,h);let{p:r,f:i}=this.wNAF(t);return M.normalizeZ([r,i])[0]}multiplyUnsafe(e,t=M.ZERO){let r=e;return n.aInRange("scalar",r,o,h),r===o?k:this.is0()||r===s?this:B.wNAFCachedUnsafe(this,r,M.normalizeZ,t)}isSmallOrder(){return this.multiplyUnsafe(m).is0()}isTorsionFree(){return B.unsafeLadder(this,h).is0()}toAffine(e){return I(this,e)}clearCofactor(){let{h:e}=l;return e===s?this:this.multiplyUnsafe(e)}static fromHex(e,t=!1){let{d:r,a:a}=l,c=d.BYTES;e=(0,i.ensureBytes)("pointHex",e,c),(0,i.abool)("zip215",t);let u=e.slice(),h=e[c-1];u[c-1]=-129&h;let f=n.bytesToNumberLE(u),p=t?b:d.ORDER;n.aInRange("pointHex.y",f,o,p);let g=w(f*f),y=w(g-s),m=w(r*g-a),{isValid:v,value:E}=A(y,m);if(!v)throw new Error("Point.fromHex: invalid y coordinate");let T=(E&s)===s,C=!!(128&h);if(!t&&E===o&&C)throw new Error("Point.fromHex: x=0 and x_0=1");return C!==T&&(E=w(-E)),M.fromAffine({x:E,y:f})}static fromPrivateKey(e){return R(e).point}toRawBytes(){let{x:e,y:t}=this.toAffine(),r=n.numberToBytesLE(t,d.BYTES);return r[r.length-1]|=e&s?128:0,r}toHex(){return n.bytesToHex(this.toRawBytes())}}M.BASE=new M(l.Gx,l.Gy,s,w(l.Gx*l.Gy)),M.ZERO=new M(o,s,s,o);let{BASE:P,ZERO:k}=M,B=(0,t.wNAF)(M,8*y);function x(e){return(0,r.mod)(e,h)}function N(e){return x(n.bytesToNumberLE(e))}function R(e){let t=d.BYTES;e=(0,i.ensureBytes)("private key",e,t);let r=(0,i.ensureBytes)("hashed private key",p(e),2*t),n=E(r.slice(0,t)),o=r.slice(t,2*t),s=N(n),a=P.multiply(s),c=a.toRawBytes();return{head:n,prefix:o,scalar:s,point:a,pointBytes:c}}function _(e=new Uint8Array,...t){let r=n.concatBytes(...t);return N(p(T(r,(0,i.ensureBytes)("context",e),!!f)))}let U=u;return P._setWindowSize(8),{CURVE:l,getPublicKey:function(e){return R(e).pointBytes},sign:function(e,t,r={}){e=(0,i.ensureBytes)("message",e),f&&(e=f(e));let{prefix:s,scalar:a,pointBytes:c}=R(t),u=_(r.context,s,e),l=P.multiply(u).toRawBytes(),p=x(u+_(r.context,l,c,e)*a);n.aInRange("signature.s",p,o,h);let g=n.concatBytes(l,n.numberToBytesLE(p,d.BYTES));return(0,i.ensureBytes)("result",g,2*d.BYTES)},verify:function(e,t,r,o=U){let{context:s,zip215:a}=o,c=d.BYTES;e=(0,i.ensureBytes)("signature",e,2*c),t=(0,i.ensureBytes)("message",t),r=(0,i.ensureBytes)("publicKey",r,c),void 0!==a&&(0,i.abool)("zip215",a),f&&(t=f(t));let u,l,h,p=n.bytesToNumberLE(e.slice(c,2*c));try{u=M.fromHex(r,a),l=M.fromHex(e.slice(0,c),a),h=P.multiplyUnsafe(p)}catch{return!1}if(!a&&u.isSmallOrder())return!1;let g=_(s,l.toRawBytes(),u.toRawBytes(),t);return l.add(u.multiplyUnsafe(g)).subtract(h).clearCofactor().equals(M.ZERO)},ExtendedPoint:M,utils:{getExtendedPublicKey:R,randomPrivateKey:()=>g(d.BYTES),precompute:(e=8,t=M.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}};var t=oL(),r=bm(),n=B0(),i=B0(),o=BigInt(0),s=BigInt(1),a=BigInt(2),c=BigInt(8),u={zip215:!0}})),Rre=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.expand_message_xmd=a,e.expand_message_xof=c,e.hash_to_field=u,e.isogenyMap=function(e,t){let r=t.map((e=>Array.from(e).reverse()));return(t,n)=>{let[i,o,s,a]=r.map((r=>r.reduce(((r,n)=>e.add(e.mul(r,t),n)))));return t=e.div(i,o),n=e.mul(n,e.div(s,a)),{x:t,y:n}}},e.createHasher=function(e,t,r){if("function"!=typeof t)throw new Error("mapToCurve() must be defined");return{hashToCurve(n,i){let o=u(n,2,{...r,DST:r.DST,...i}),s=e.fromAffine(t(o[0])),a=e.fromAffine(t(o[1])),c=s.add(a).clearCofactor();return c.assertValidity(),c},encodeToCurve(n,i){let o=u(n,1,{...r,DST:r.encodeDST,...i}),s=e.fromAffine(t(o[0])).clearCofactor();return s.assertValidity(),s},mapToCurve(r){if(!Array.isArray(r))throw new Error("mapToCurve: expected array of bigints");for(let e of r)if("bigint"!=typeof e)throw new Error("mapToCurve: expected array of bigints");let n=e.fromAffine(t(r)).clearCofactor();return n.assertValidity(),n}}};var t=bm(),r=B0(),n=r.bytesToNumberBE;function i(e,t){if(s(e),s(t),e<0||e>=1<<8*t)throw new Error("invalid I2OSP input: "+e);let r=Array.from({length:t}).fill(0);for(let n=t-1;n>=0;n--)r[n]=255&e,e>>>=8;return new Uint8Array(r)}function o(e,t){let r=new Uint8Array(e.length);for(let n=0;n<e.length;n++)r[n]=e[n]^t[n];return r}function s(e){if(!Number.isSafeInteger(e))throw new Error("number expected")}function a(e,t,n,a){(0,r.abytes)(e),(0,r.abytes)(t),s(n),t.length>255&&(t=a((0,r.concatBytes)((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-"),t)));let{outputLen:c,blockLen:u}=a,l=Math.ceil(n/c);if(n>65535||l>255)throw new Error("expand_message_xmd: invalid lenInBytes");let d=(0,r.concatBytes)(t,i(t.length,1)),h=i(0,u),f=i(n,2),p=new Array(l),g=a((0,r.concatBytes)(h,e,f,i(0,1),d));p[0]=a((0,r.concatBytes)(g,i(1,1),d));for(let e=1;e<=l;e++){let t=[o(g,p[e-1]),i(e+1,1),d];p[e]=a((0,r.concatBytes)(...t))}return(0,r.concatBytes)(...p).slice(0,n)}function c(e,t,n,o,a){if((0,r.abytes)(e),(0,r.abytes)(t),s(n),t.length>255){let e=Math.ceil(2*o/8);t=a.create({dkLen:e}).update((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(t).digest()}if(n>65535||t.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return a.create({dkLen:n}).update(e).update(i(n,2)).update(t).update(i(t.length,1)).digest()}function u(e,i,o){(0,r.validateObject)(o,{DST:"stringOrUint8Array",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});let{p:u,k:l,m:d,hash:h,expand:f,DST:p}=o;(0,r.abytes)(e),s(i);let g,y="string"==typeof p?(0,r.utf8ToBytes)(p):p,m=u.toString(2).length,b=Math.ceil((m+l)/8),w=i*d*b;if("xmd"===f)g=a(e,y,w,h);else if("xof"===f)g=c(e,y,w,l,h);else{if("_internal_pass"!==f)throw new Error('expand must be "xmd" or "xof"');g=e}let v=new Array(i);for(let e=0;e<i;e++){let r=new Array(d);for(let i=0;i<d;i++){let o=b*(i+e*d),s=g.subarray(o,o+b);r[i]=(0,t.mod)(n(s),u)}v[e]=r}return v}})),Y_e=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.montgomery=function(e){let o=function(e){return(0,r.validateObject)(e,{a:"bigint"},{montgomeryBits:"isSafeInteger",nByteLength:"isSafeInteger",adjustScalarBytes:"function",domain:"function",powPminus2:"function",Gu:"bigint"}),Object.freeze({...e})}(e),{P:s}=o,a=e=>(0,t.mod)(e,s),c=o.montgomeryBits,u=Math.ceil(c/8),l=o.nByteLength,d=o.adjustScalarBytes||(e=>e),h=o.powPminus2||(e=>(0,t.pow)(e,s-BigInt(2),s));function f(e,t,r){let n=a(e*(t-r));return[t=a(t-n),r=a(r+n)]}let p=(o.a-BigInt(2))/BigInt(4);function g(e){return(0,r.numberToBytesLE)(a(e),u)}function y(e,t){let o=function(e){let t=(0,r.ensureBytes)("u coordinate",e,u);return 32===l&&(t[31]&=127),(0,r.bytesToNumberLE)(t)}(t),y=function(e){let t=(0,r.ensureBytes)("scalar",e),n=t.length;if(n!==u&&n!==l)throw new Error("invalid scalar, expected "+u+" or "+l+" bytes, got "+n);return(0,r.bytesToNumberLE)(d(t))}(e),m=function(e,t){(0,r.aInRange)("u",e,n,s),(0,r.aInRange)("scalar",t,n,s);let o,u=t,l=e,d=i,g=n,y=e,m=i,b=n;for(let e=BigInt(c-1);e>=n;e--){let t=u>>e&i;b^=t,o=f(b,d,y),d=o[0],y=o[1],o=f(b,g,m),g=o[0],m=o[1],b=t;let r=d+g,n=a(r*r),s=d-g,c=a(s*s),h=n-c,w=y+m,v=a((y-m)*r),A=a(w*s),E=v+A,T=v-A;y=a(E*E),m=a(l*a(T*T)),d=a(n*c),g=a(h*(n+a(p*h)))}o=f(b,d,y),d=o[0],y=o[1],o=f(b,g,m),g=o[0],m=o[1];let w=h(g);return a(d*w)}(o,y);if(m===n)throw new Error("invalid private or public key received");return g(m)}let m=g(o.Gu);function b(e){return y(e,m)}return{scalarMult:y,scalarMultBase:b,getSharedSecret:(e,t)=>y(e,t),getPublicKey:e=>b(e),utils:{randomPrivateKey:()=>o.randomBytes(o.nByteLength)},GuBytes:m}};var t=bm(),r=B0(),n=BigInt(0),i=BigInt(1)})),qre=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.hash_to_ristretto255=e.hashToRistretto255=e.RistrettoPoint=e.encodeToCurve=e.hashToCurve=e.edwardsToMontgomery=e.x25519=e.ed25519ph=e.ed25519ctx=e.ed25519=e.ED25519_TORSION_SUBGROUP=void 0,e.edwardsToMontgomeryPub=C,e.edwardsToMontgomeryPriv=function(e){let t=E.hash(e.subarray(0,32));return E.adjustScalarBytes(t).subarray(0,32)};var t=FO(),r=Au(),n=oL(),i=G_e(),o=Rre(),s=bm(),a=Y_e(),c=B0(),u=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),l=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),d=BigInt(0),h=BigInt(1),f=BigInt(2),p=BigInt(3),g=BigInt(5),y=BigInt(8);function b(e){let t=BigInt(10),r=BigInt(20),n=BigInt(40),i=BigInt(80),o=u,a=e*e%o*e%o,c=(0,s.pow2)(a,f,o)*a%o,l=(0,s.pow2)(c,h,o)*e%o,d=(0,s.pow2)(l,g,o)*l%o,p=(0,s.pow2)(d,t,o)*d%o,y=(0,s.pow2)(p,r,o)*p%o,m=(0,s.pow2)(y,n,o)*y%o,b=(0,s.pow2)(m,i,o)*m%o,w=(0,s.pow2)(b,i,o)*m%o,v=(0,s.pow2)(w,t,o)*d%o;return{pow_p_5_8:(0,s.pow2)(v,f,o)*e%o,b2:a}}function w(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function v(e,t){let r=u,n=(0,s.mod)(t*t*t,r),i=b(e*(0,s.mod)(n*n*t,r)).pow_p_5_8,o=(0,s.mod)(e*n*i,r),a=(0,s.mod)(t*o*o,r),c=o,d=(0,s.mod)(o*l,r),h=a===e,f=a===(0,s.mod)(-e,r),p=a===(0,s.mod)(-e*l,r);return h&&(o=c),(f||p)&&(o=d),(0,s.isNegativeLE)(o,r)&&(o=(0,s.mod)(-o,r)),{isValid:h||f,value:o}}e.ED25519_TORSION_SUBGROUP=["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"];var A=(0,s.Field)(u,void 0,!0),E={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:A,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:y,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:t.sha512,randomBytes:r.randomBytes,adjustScalarBytes:w,uvRatio:v};function T(e,t,n){if(t.length>255)throw new Error("Context is too big");return(0,r.concatBytes)((0,r.utf8ToBytes)("SigEd25519 no Ed25519 collisions"),new Uint8Array([n?1:0,t.length]),t,e)}function C(t){let{y:r}=e.ed25519.ExtendedPoint.fromHex(t),n=BigInt(1);return A.toBytes(A.create((n+r)*A.inv(n-r)))}e.ed25519=(0,i.twistedEdwards)(E),e.ed25519ctx=(0,i.twistedEdwards)({...E,domain:T}),e.ed25519ph=(0,i.twistedEdwards)(Object.assign({},E,{domain:T,prehash:t.sha512})),e.x25519=(0,a.montgomery)({P:u,a:BigInt(486662),montgomeryBits:255,nByteLength:32,Gu:BigInt(9),powPminus2:e=>{let t=u,{pow_p_5_8:r,b2:n}=b(e);return(0,s.mod)((0,s.pow2)(r,p,t)*n,t)},adjustScalarBytes:w,randomBytes:r.randomBytes}),e.edwardsToMontgomery=C;var S=(A.ORDER+p)/y,I=A.pow(f,S),O=A.sqrt(A.neg(A.ONE));var M=(0,s.FpSqrtEven)(A,A.neg(BigInt(486664)));function P(e){let{xMn:t,xMd:r,yMn:n,yMd:i}=function(e){let t=(A.ORDER-g)/y,r=BigInt(486662),n=A.sqr(e);n=A.mul(n,f);let i=A.add(n,A.ONE),o=A.neg(r),s=A.sqr(i),a=A.mul(s,i),c=A.mul(n,r);c=A.mul(c,o),c=A.add(c,s),c=A.mul(c,o);let u=A.sqr(a);s=A.sqr(u),u=A.mul(u,a),u=A.mul(u,c),s=A.mul(s,u);let l=A.pow(s,t);l=A.mul(l,u);let d=A.mul(l,O);s=A.sqr(l),s=A.mul(s,a);let p=A.eql(s,c),m=A.cmov(d,l,p),b=A.mul(o,n),w=A.mul(l,e);w=A.mul(w,I);let v=A.mul(w,O),E=A.mul(c,n);s=A.sqr(w),s=A.mul(s,a);let T=A.eql(s,E),C=A.cmov(v,w,T);s=A.sqr(m),s=A.mul(s,a);let S=A.eql(s,c),M=A.cmov(b,o,S),P=A.cmov(C,m,S),k=A.isOdd(P);return P=A.cmov(P,A.neg(P),S!==k),{xMn:M,xMd:i,yMn:P,yMd:h}}(e),o=A.mul(t,i);o=A.mul(o,M);let s=A.mul(r,n),a=A.sub(t,r),c=A.add(t,r),u=A.mul(s,c),l=A.eql(u,A.ZERO);o=A.cmov(o,A.ZERO,l),s=A.cmov(s,A.ONE,l),a=A.cmov(a,A.ONE,l),c=A.cmov(c,A.ONE,l);let d=A.invertBatch([s,c]);return{x:A.mul(o,d[0]),y:A.mul(a,d[1])}}var k=(0,o.createHasher)(e.ed25519.ExtendedPoint,(e=>P(e[0])),{DST:"edwards25519_XMD:SHA-512_ELL2_RO_",encodeDST:"edwards25519_XMD:SHA-512_ELL2_NU_",p:A.ORDER,m:1,k:128,expand:"xmd",hash:t.sha512});function B(e){if(!(e instanceof F))throw new Error("RistrettoPoint expected")}e.hashToCurve=k.hashToCurve,e.encodeToCurve=k.encodeToCurve;var x=l,N=BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),R=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),_=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),U=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),D=e=>v(h,e),W=BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),L=t=>e.ed25519.CURVE.Fp.create((0,c.bytesToNumberLE)(t)&W);function z(t){let{d:r}=e.ed25519.CURVE,n=e.ed25519.CURVE.Fp.ORDER,i=e.ed25519.CURVE.Fp.create,o=i(x*t*t),a=i((o+h)*_),c=BigInt(-1),u=i((c-r*o)*i(o+r)),{isValid:l,value:d}=v(a,u),f=i(d*t);(0,s.isNegativeLE)(f,n)||(f=i(-f)),l||(d=f),l||(c=o);let p=i(c*(o-h)*U-u),g=d*d,y=i((d+d)*u),m=i(p*N),b=i(h-g),w=i(h+g);return new e.ed25519.ExtendedPoint(i(y*w),i(b*m),i(m*w),i(y*b))}var F=class t{constructor(e){this.ep=e}static fromAffine(r){return new t(e.ed25519.ExtendedPoint.fromAffine(r))}static hashToCurve(e){e=(0,c.ensureBytes)("ristrettoHash",e,64);let r=z(L(e.slice(0,32))),n=z(L(e.slice(32,64)));return new t(r.add(n))}static fromHex(r){r=(0,c.ensureBytes)("ristrettoHex",r,32);let{a:n,d:i}=e.ed25519.CURVE,o=e.ed25519.CURVE.Fp.ORDER,a=e.ed25519.CURVE.Fp.create,u="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",l=L(r);if(!(0,c.equalBytes)((0,c.numberToBytesLE)(l,32),r)||(0,s.isNegativeLE)(l,o))throw new Error(u);let f=a(l*l),p=a(h+n*f),g=a(h-n*f),y=a(p*p),m=a(g*g),b=a(n*i*y-m),{isValid:w,value:v}=D(a(b*m)),A=a(v*g),E=a(v*A*b),T=a((l+l)*A);(0,s.isNegativeLE)(T,o)&&(T=a(-T));let C=a(p*E),S=a(T*C);if(!w||(0,s.isNegativeLE)(S,o)||C===d)throw new Error(u);return new t(new e.ed25519.ExtendedPoint(T,C,h,S))}static msm(r,i){let o=(0,s.Field)(e.ed25519.CURVE.n,e.ed25519.CURVE.nBitLength);return(0,n.pippenger)(t,o,r,i)}toRawBytes(){let t,{ex:r,ey:n,ez:i,et:o}=this.ep,a=e.ed25519.CURVE.Fp.ORDER,u=e.ed25519.CURVE.Fp.create,l=u(u(i+n)*u(i-n)),d=u(r*n),h=u(d*d),{value:f}=D(u(l*h)),p=u(f*l),g=u(f*d),y=u(p*g*o);if((0,s.isNegativeLE)(o*y,a)){let e=u(n*x),i=u(r*x);r=e,n=i,t=u(p*R)}else t=g;(0,s.isNegativeLE)(r*y,a)&&(n=u(-n));let m=u((i-n)*t);return(0,s.isNegativeLE)(m,a)&&(m=u(-m)),(0,c.numberToBytesLE)(m,32)}toHex(){return(0,c.bytesToHex)(this.toRawBytes())}toString(){return this.toHex()}equals(t){B(t);let{ex:r,ey:n}=this.ep,{ex:i,ey:o}=t.ep,s=e.ed25519.CURVE.Fp.create,a=s(r*o)===s(n*i),c=s(n*o)===s(r*i);return a||c}add(e){return B(e),new t(this.ep.add(e.ep))}subtract(e){return B(e),new t(this.ep.subtract(e.ep))}multiply(e){return new t(this.ep.multiply(e))}multiplyUnsafe(e){return new t(this.ep.multiplyUnsafe(e))}double(){return new t(this.ep.double())}negate(){return new t(this.ep.negate())}};e.RistrettoPoint=(F.BASE||(F.BASE=new F(e.ed25519.ExtendedPoint.BASE)),F.ZERO||(F.ZERO=new F(e.ed25519.ExtendedPoint.ZERO)),F);e.hashToRistretto255=(e,n)=>{let i=n.DST,s="string"==typeof i?(0,r.utf8ToBytes)(i):i,a=(0,o.expand_message_xmd)(e,s,64,t.sha512);return F.hashToCurve(a)},e.hash_to_ristretto255=e.hashToRistretto255})),K3=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.shake256=e.shake128=e.keccak_512=e.keccak_384=e.keccak_256=e.keccak_224=e.sha3_512=e.sha3_384=e.sha3_256=e.sha3_224=e.Keccak=void 0,e.keccakP=b;var t=gm(),r=V7(),n=Au(),i=[],o=[],s=[],a=BigInt(0),c=BigInt(1),u=BigInt(2),l=BigInt(7),d=BigInt(256),h=BigInt(113);for(let e=0,t=c,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],i.push(2*(5*n+r)),o.push((e+1)*(e+2)/2%64);let f=a;for(let e=0;e<7;e++)t=(t<<c^(t>>l)*h)%d,t&u&&(f^=c<<(c<<BigInt(e))-c);s.push(f)}var[f,p]=(0,r.split)(s,!0),g=(e,t,n)=>n>32?(0,r.rotlBH)(e,t,n):(0,r.rotlSH)(e,t,n),y=(e,t,n)=>n>32?(0,r.rotlBL)(e,t,n):(0,r.rotlSL)(e,t,n);function b(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],s=r[i+1],a=g(o,s,1)^r[n],c=y(o,s,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=c}let t=e[2],s=e[3];for(let r=0;r<24;r++){let n=o[r],a=g(t,s,n),c=y(t,s,n),u=i[r];t=e[u],s=e[u+1],e[u]=a,e[u+1]=c}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=f[n],e[1]^=p[n]}r.fill(0)}var w=class e extends n.Hash{constructor(e,r,i,o=!1,s=24){if(super(),this.blockLen=e,this.suffix=r,this.outputLen=i,this.enableXOF=o,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,t.anumber)(i),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,n.u32)(this.state)}keccak(){n.isLE||(0,n.byteSwap32)(this.state32),b(this.state32,this.rounds),n.isLE||(0,n.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,t.aexists)(this);let{blockLen:r,state:i}=this,o=(e=(0,n.toBytes)(e)).length;for(let t=0;t<o;){let n=Math.min(r-this.pos,o-t);for(let r=0;r<n;r++)i[this.pos++]^=e[t++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,128&t&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,t.aexists)(this,!1),(0,t.abytes)(e),this.finish();let r=this.state,{blockLen:n}=this;for(let t=0,i=e.length;t<i;){this.posOut>=n&&this.keccak();let o=Math.min(n-this.posOut,i-t);e.set(r.subarray(this.posOut,this.posOut+o),t),this.posOut+=o,t+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,t.anumber)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,t.aoutput)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:i,rounds:o,enableXOF:s}=this;return t||(t=new e(r,n,i,s,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=s,t.destroyed=this.destroyed,t}};e.Keccak=w;var v=(e,t,r)=>(0,n.wrapConstructor)((()=>new w(t,e,r)));e.sha3_224=v(6,144,28),e.sha3_256=v(6,136,32),e.sha3_384=v(6,104,48),e.sha3_512=v(6,72,64),e.keccak_224=v(1,144,28),e.keccak_256=v(1,136,32),e.keccak_384=v(1,104,48),e.keccak_512=v(1,72,64);var A=(e,t,r)=>(0,n.wrapXOFConstructorWithOpts)(((n={})=>new w(t,e,void 0===n.dkLen?r:n.dkLen,!0)));e.shake128=A(31,168,16),e.shake256=A(31,136,32)})),JO=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.hmac=e.HMAC=void 0;var t=gm(),r=Au(),n=class extends r.Hash{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,(0,t.ahash)(e);let i=(0,r.toBytes)(n);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,s=new Uint8Array(o);s.set(i.length>o?e.create().update(i).digest():i);for(let e=0;e<s.length;e++)s[e]^=54;this.iHash.update(s),this.oHash=e.create();for(let e=0;e<s.length;e++)s[e]^=106;this.oHash.update(s),s.fill(0)}update(e){return(0,t.aexists)(this),this.iHash.update(e),this}digestInto(e){(0,t.aexists)(this),(0,t.abytes)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:r,finished:n,destroyed:i,blockLen:o,outputLen:s}=this;return e.finished=n,e.destroyed=i,e.blockLen=o,e.outputLen=s,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}};e.HMAC=n;e.hmac=(e,t,r)=>new n(e,t).update(r).digest(),e.hmac.create=(e,t)=>new n(e,t)})),bRe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.pbkdf2=function(e,t,r,s){let a,{c:c,dkLen:u,DK:l,PRF:d,PRFSalt:h}=i(e,t,r,s),f=new Uint8Array(4),p=(0,n.createView)(f),g=new Uint8Array(d.outputLen);for(let e=1,t=0;t<u;e++,t+=d.outputLen){let r=l.subarray(t,t+d.outputLen);p.setInt32(0,e,!1),(a=h._cloneInto(a)).update(f).digestInto(g),r.set(g.subarray(0,r.length));for(let e=1;e<c;e++){d._cloneInto(a).update(g).digestInto(g);for(let e=0;e<r.length;e++)r[e]^=g[e]}}return o(d,h,l,a,g)},e.pbkdf2Async=async function(e,t,r,s){let a,{c:c,dkLen:u,asyncTick:l,DK:d,PRF:h,PRFSalt:f}=i(e,t,r,s),p=new Uint8Array(4),g=(0,n.createView)(p),y=new Uint8Array(h.outputLen);for(let e=1,t=0;t<u;e++,t+=h.outputLen){let r=d.subarray(t,t+h.outputLen);g.setInt32(0,e,!1),(a=f._cloneInto(a)).update(p).digestInto(y),r.set(y.subarray(0,r.length)),await(0,n.asyncLoop)(c-1,l,(()=>{h._cloneInto(a).update(y).digestInto(y);for(let e=0;e<r.length;e++)r[e]^=y[e]}))}return o(h,f,d,a,y)};var t=gm(),r=JO(),n=Au();function i(e,i,o,s){(0,t.ahash)(e);let a=(0,n.checkOpts)({dkLen:32,asyncTick:10},s),{c:c,dkLen:u,asyncTick:l}=a;if((0,t.anumber)(c),(0,t.anumber)(u),(0,t.anumber)(l),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let d=(0,n.toBytes)(i),h=(0,n.toBytes)(o),f=new Uint8Array(u),p=r.hmac.create(e,d),g=p._cloneInto().update(h);return{c:c,dkLen:u,asyncTick:l,DK:f,PRF:p,PRFSalt:g}}function o(e,t,r,n,i){return e.destroy(),t.destroy(),n&&n.destroy(),i.fill(0),r}})),YO=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.sha224=e.sha256=e.SHA256=void 0;var t=j7(),r=Au(),n=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),i=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),o=new Uint32Array(64),s=class extends t.HashMD{constructor(){super(64,32,8,!1),this.A=0|i[0],this.B=0|i[1],this.C=0|i[2],this.D=0|i[3],this.E=0|i[4],this.F=0|i[5],this.G=0|i[6],this.H=0|i[7]}get(){let{A:e,B:t,C:r,D:n,E:i,F:o,G:s,H:a}=this;return[e,t,r,n,i,o,s,a]}set(e,t,r,n,i,o,s,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|o,this.G=0|s,this.H=0|a}process(e,i){for(let t=0;t<16;t++,i+=4)o[t]=e.getUint32(i,!1);for(let e=16;e<64;e++){let t=o[e-15],n=o[e-2],i=(0,r.rotr)(t,7)^(0,r.rotr)(t,18)^t>>>3,s=(0,r.rotr)(n,17)^(0,r.rotr)(n,19)^n>>>10;o[e]=s+o[e-7]+i+o[e-16]|0}let{A:s,B:a,C:c,D:u,E:l,F:d,G:h,H:f}=this;for(let e=0;e<64;e++){let i=f+((0,r.rotr)(l,6)^(0,r.rotr)(l,11)^(0,r.rotr)(l,25))+(0,t.Chi)(l,d,h)+n[e]+o[e]|0,p=((0,r.rotr)(s,2)^(0,r.rotr)(s,13)^(0,r.rotr)(s,22))+(0,t.Maj)(s,a,c)|0;f=h,h=d,d=l,l=u+i|0,u=c,c=a,a=s,s=i+p|0}s=s+this.A|0,a=a+this.B|0,c=c+this.C|0,u=u+this.D|0,l=l+this.E|0,d=d+this.F|0,h=h+this.G|0,f=f+this.H|0,this.set(s,a,c,u,l,d,h,f)}roundClean(){o.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}};e.SHA256=s;var a=class extends s{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}};e.sha256=(0,r.wrapConstructor)((()=>new s)),e.sha224=(0,r.wrapConstructor)((()=>new a))})),Zre=W((e=>{"use strict";function t(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function r(e,t){return!!Array.isArray(t)&&(0===t.length||(e?t.every((e=>"string"==typeof e)):t.every((e=>Number.isSafeInteger(e)))))}function n(e){if("function"!=typeof e)throw new Error("function expected");return!0}function i(e,t){if("string"!=typeof t)throw new Error(`${e}: string expected`);return!0}function o(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function s(e){if(!Array.isArray(e))throw new Error("array expected")}function a(e,t){if(!r(!0,t))throw new Error(`${e}: array of strings expected`)}function c(e,t){if(!r(!1,t))throw new Error(`${e}: array of numbers expected`)}function u(...e){let t=e=>e,r=(e,t)=>r=>e(t(r));return{encode:e.map((e=>e.encode)).reduceRight(r,t),decode:e.map((e=>e.decode)).reduce(r,t)}}function l(e){let t="string"==typeof e?e.split(""):e,r=t.length;a("alphabet",t);let n=new Map(t.map(((e,t)=>[e,t])));return{encode:n=>(s(n),n.map((n=>{if(!Number.isSafeInteger(n)||n<0||n>=r)throw new Error(`alphabet.encode: digit index outside alphabet "${n}". Allowed: ${e}`);return t[n]}))),decode:t=>(s(t),t.map((t=>{i("alphabet.decode",t);let r=n.get(t);if(void 0===r)throw new Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})))}}function d(e=""){return i("join",e),{encode:t=>(a("join.decode",t),t.join(e)),decode:t=>(i("join.decode",t),t.split(e))}}function h(e,t="="){return o(e),i("padding",t),{encode(r){for(a("padding.encode",r);r.length*e%8;)r.push(t);return r},decode(r){a("padding.decode",r);let n=r.length;if(n*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if((n-1)*e%8==0)throw new Error("padding: invalid, string has too much padding");return r.slice(0,n)}}}function f(e){return n(e),{encode:e=>e,decode:t=>e(t)}}function p(e,t,r){if(t<2)throw new Error(`convertRadix: invalid from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: invalid to=${r}, base cannot be less than 2`);if(s(e),!e.length)return[];let n=0,i=[],a=Array.from(e,(e=>{if(o(e),e<0||e>=t)throw new Error(`invalid integer: ${e}`);return e})),c=a.length;for(;;){let e=0,o=!0;for(let i=n;i<c;i++){let s=a[i],c=t*e,u=c+s;if(!Number.isSafeInteger(u)||c/t!==e||u-s!==c)throw new Error("convertRadix: carry overflow");let l=u/r;e=u%r;let d=Math.floor(l);if(a[i]=d,!Number.isSafeInteger(d)||d*r+e!==u)throw new Error("convertRadix: carry overflow");o&&(d?o=!1:n=i)}if(i.push(e),o)break}for(let t=0;t<e.length-1&&0===e[t];t++)i.push(0);return i.reverse()}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.bytes=e.stringToBytes=e.str=e.bytesToString=e.hex=e.utf8=e.bech32m=e.bech32=e.base58check=e.createBase58check=e.base58xmr=e.base58xrp=e.base58flickr=e.base58=e.base64urlnopad=e.base64url=e.base64nopad=e.base64=e.base32crockford=e.base32hexnopad=e.base32hex=e.base32nopad=e.base32=e.base16=e.utils=e.assertNumber=void 0,e.assertNumber=o;var g=(e,t)=>0===t?e:g(t,e%t),y=(e,t)=>e+(t-g(e,t)),b=(()=>{let e=[];for(let t=0;t<40;t++)e.push(2**t);return e})();function w(e,t,r,n){if(s(e),t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(y(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${y(t,r)}`);let i=0,a=0,c=b[t],u=b[r]-1,l=[];for(let n of e){if(o(n),n>=c)throw new Error(`convertRadix2: invalid data word=${n} from=${t}`);if(i=i<<t|n,a+t>32)throw new Error(`convertRadix2: carry overflow pos=${a} from=${t}`);for(a+=t;a>=r;a-=r)l.push((i>>a-r&u)>>>0);let e=b[a];if(void 0===e)throw new Error("invalid carry");i&=e-1}if(i=i<<r-a&u,!n&&a>=t)throw new Error("Excess padding");if(!n&&i>0)throw new Error(`Non-zero padding: ${i}`);return n&&a>0&&l.push(i>>>0),l}function v(e){o(e);return{encode:r=>{if(!t(r))throw new Error("radix.encode input should be Uint8Array");return p(Array.from(r),256,e)},decode:t=>(c("radix.decode",t),Uint8Array.from(p(t,e,256)))}}function A(e,r=!1){if(o(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(y(8,e)>32||y(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!t(n))throw new Error("radix2.encode input should be Uint8Array");return w(Array.from(n),8,e,!r)},decode:t=>(c("radix2.decode",t),Uint8Array.from(w(t,e,8,r)))}}function E(e){return n(e),function(...t){try{return e.apply(null,t)}catch{}}}function T(e,r){return o(e),n(r),{encode(n){if(!t(n))throw new Error("checksum.encode: input should be Uint8Array");let i=r(n).slice(0,e),o=new Uint8Array(n.length+e);return o.set(n),o.set(i,n.length),o},decode(n){if(!t(n))throw new Error("checksum.decode: input should be Uint8Array");let i=n.slice(0,-e),o=n.slice(-e),s=r(i).slice(0,e);for(let t=0;t<e;t++)if(s[t]!==o[t])throw new Error("Invalid checksum");return i}}}e.utils={alphabet:l,chain:u,checksum:T,convertRadix:p,convertRadix2:w,radix:v,radix2:A,join:d,padding:h},e.base16=u(A(4),l("0123456789ABCDEF"),d("")),e.base32=u(A(5),l("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),h(5),d("")),e.base32nopad=u(A(5),l("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),d("")),e.base32hex=u(A(5),l("0123456789ABCDEFGHIJKLMNOPQRSTUV"),h(5),d("")),e.base32hexnopad=u(A(5),l("0123456789ABCDEFGHIJKLMNOPQRSTUV"),d("")),e.base32crockford=u(A(5),l("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),d(""),f((e=>e.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")))),e.base64=u(A(6),l("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),h(6),d("")),e.base64nopad=u(A(6),l("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),d("")),e.base64url=u(A(6),l("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),h(6),d("")),e.base64urlnopad=u(A(6),l("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),d(""));var C=e=>u(v(58),l(e),d(""));e.base58=C("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),e.base58flickr=C("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),e.base58xrp=C("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");var S=[0,2,3,5,6,7,9,10,11];e.base58xmr={encode(t){let r="";for(let n=0;n<t.length;n+=8){let i=t.subarray(n,n+8);r+=e.base58.encode(i).padStart(S[i.length],"1")}return r},decode(t){let r=[];for(let n=0;n<t.length;n+=11){let i=t.slice(n,n+11),o=S.indexOf(i.length),s=e.base58.decode(i);for(let e=0;e<s.length-o;e++)if(0!==s[e])throw new Error("base58xmr: wrong padding");r=r.concat(Array.from(s.slice(s.length-o)))}return Uint8Array.from(r)}};e.createBase58check=t=>u(T(4,(e=>t(t(e)))),e.base58),e.base58check=e.createBase58check;var I=u(l("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),d("")),O=[996825010,642813549,513874426,1027748829,705979059];function M(e){let t=e>>25,r=(33554431&e)<<5;for(let e=0;e<O.length;e++)1==(t>>e&1)&&(r^=O[e]);return r}function P(e,t,r=1){let n=e.length,i=1;for(let t=0;t<n;t++){let r=e.charCodeAt(t);if(r<33||r>126)throw new Error(`Invalid prefix (${e})`);i=M(i)^r>>5}i=M(i);for(let t=0;t<n;t++)i=M(i)^31&e.charCodeAt(t);for(let e of t)i=M(i)^e;for(let e=0;e<6;e++)i=M(i);return i^=r,I.encode(w([i%b[30]],30,5,!1))}function k(e){let r="bech32"===e?1:734539939,n=A(5),o=n.decode,s=n.encode,a=E(o);function u(e,n,o=90){i("bech32.encode prefix",e),t(n)&&(n=Array.from(n)),c("bech32.encode",n);let s=e.length;if(0===s)throw new TypeError(`Invalid prefix length ${s}`);let a=s+7+n.length;if(!1!==o&&a>o)throw new TypeError(`Length ${a} exceeds limit ${o}`);let u=e.toLowerCase(),l=P(u,n,r);return`${u}1${I.encode(n)}${l}`}function l(e,t=90){i("bech32.decode input",e);let n=e.length;if(n<8||!1!==t&&n>t)throw new TypeError(`invalid string length: ${n} (${e}). Expected (8..${t})`);let o=e.toLowerCase();if(e!==o&&e!==e.toUpperCase())throw new Error("String must be lowercase or uppercase");let s=o.lastIndexOf("1");if(0===s||-1===s)throw new Error('Letter "1" must be present between prefix and data only');let a=o.slice(0,s),c=o.slice(s+1);if(c.length<6)throw new Error("Data must be at least 6 characters long");let u=I.decode(c).slice(0,-6),l=P(a,u,r);if(!c.endsWith(l))throw new Error(`Invalid checksum in ${e}: expected "${l}"`);return{prefix:a,words:u}}return{encode:u,decode:l,encodeFromBytes:function(e,t){return u(e,s(t))},decodeToBytes:function(e){let{prefix:t,words:r}=l(e,!1);return{prefix:t,words:r,bytes:o(r)}},decodeUnsafe:E(l),fromWords:o,fromWordsUnsafe:a,toWords:s}}e.bech32=k("bech32"),e.bech32m=k("bech32m"),e.utf8={encode:e=>(new TextDecoder).decode(e),decode:e=>(new TextEncoder).encode(e)},e.hex=u(A(4),l("0123456789abcdef"),d(""),f((e=>{if("string"!=typeof e||e.length%2!=0)throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()})));var B={utf8:e.utf8,hex:e.hex,base16:e.base16,base32:e.base32,base64:e.base64,base64url:e.base64url,base58:e.base58,base58xmr:e.base58xmr},x="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";e.bytesToString=(e,r)=>{if("string"!=typeof e||!B.hasOwnProperty(e))throw new TypeError(x);if(!t(r))throw new TypeError("bytesToString() expects Uint8Array");return B[e].encode(r)},e.str=e.bytesToString;e.stringToBytes=(e,t)=>{if(!B.hasOwnProperty(e))throw new TypeError(x);if("string"!=typeof t)throw new TypeError("stringToBytes() expects string");return B[e].decode(t)},e.bytes=e.stringToBytes})),FRe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.generateMnemonic=function(e,r=128){if((0,t.anumber)(r),r%32!=0||r>256)throw new TypeError("Invalid entropy");return p((0,o.randomBytes)(r/8),e)},e.mnemonicToEntropy=f,e.entropyToMnemonic=p,e.validateMnemonic=function(e,t){try{f(e,t)}catch{return!1}return!0},e.mnemonicToSeed=function(e,t=""){return(0,r.pbkdf2Async)(i.sha512,u(e).nfkd,g(t),{c:2048,dkLen:64})},e.mnemonicToSeedSync=function(e,t=""){return(0,r.pbkdf2)(i.sha512,u(e).nfkd,g(t),{c:2048,dkLen:64})};var t=gm(),r=bRe(),n=YO(),i=FO(),o=Au(),s=Zre(),a=e=>"あいこくしん"===e[0];function c(e){if("string"!=typeof e)throw new TypeError("invalid mnemonic type: "+typeof e);return e.normalize("NFKD")}function u(e){let t=c(e),r=t.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:r}}function l(e){(0,t.abytes)(e,16,20,24,28,32)}var d=e=>{let t=8-e.length/4;return new Uint8Array([(0,n.sha256)(e)[0]>>t<<t])};function h(e){if(!Array.isArray(e)||2048!==e.length||"string"!=typeof e[0])throw new Error("Wordlist: expected array of 2048 strings");return e.forEach((e=>{if("string"!=typeof e)throw new Error("wordlist: non-string element: "+e)})),s.utils.chain(s.utils.checksum(1,d),s.utils.radix2(11,!0),s.utils.alphabet(e))}function f(e,t){let{words:r}=u(e),n=h(t).decode(r);return l(n),n}function p(e,t){return l(e),h(t).encode(e).join(a(t)?"　":" ")}var g=e=>c("mnemonic"+e)})),ene=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.DER=e.DERErr=void 0,e.weierstrassPoints=p,e.weierstrass=function(s){let a=function(e){let r=(0,t.validateBasic)(e);return n.validateObject(r,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...r})}(s),{Fp:c,n:d}=a,h=c.BYTES+1,f=2*c.BYTES+1;function g(e){return(0,r.mod)(e,d)}function y(e){return(0,r.invert)(e,d)}let{ProjectivePoint:m,normPrivateKeyToScalar:b,weierstrassEquation:w,isWithinCurveOrder:v}=p({...a,toBytes(e,t,r){let o=t.toAffine(),s=c.toBytes(o.x),a=n.concatBytes;return(0,i.abool)("isCompressed",r),r?a(Uint8Array.from([t.hasEvenY()?2:3]),s):a(Uint8Array.from([4]),s,c.toBytes(o.y))},fromBytes(e){let t=e.length,r=e[0],i=e.subarray(1);if(t!==h||2!==r&&3!==r){if(t===f&&4===r){return{x:c.fromBytes(i.subarray(0,c.BYTES)),y:c.fromBytes(i.subarray(c.BYTES,2*c.BYTES))}}throw new Error("invalid Point, expected length of "+h+", or uncompressed "+f+", got "+t)}{let e=n.bytesToNumberBE(i);if(!n.inRange(e,l,c.ORDER))throw new Error("Point is not on curve");let t,o=w(e);try{t=c.sqrt(o)}catch(e){let t=e instanceof Error?": "+e.message:"";throw new Error("Point is not on curve"+t)}return!(1&~r)!==((t&l)===l)&&(t=c.neg(t)),{x:e,y:t}}}}),A=e=>n.bytesToHex(n.numberToBytesBE(e,a.nByteLength));function E(e){return e>d>>l}let T=(e,t,r)=>n.bytesToNumberBE(e.slice(t,r));class C{constructor(e,t,r){this.r=e,this.s=t,this.recovery=r,this.assertValidity()}static fromCompact(e){let t=a.nByteLength;return e=(0,i.ensureBytes)("compactSignature",e,2*t),new C(T(e,0,t),T(e,t,2*t))}static fromDER(t){let{r:r,s:n}=e.DER.toSig((0,i.ensureBytes)("DER",t));return new C(r,n)}assertValidity(){n.aInRange("r",this.r,l,d),n.aInRange("s",this.s,l,d)}addRecoveryBit(e){return new C(this.r,this.s,e)}recoverPublicKey(e){let{r:t,s:r,recovery:n}=this,o=M((0,i.ensureBytes)("msgHash",e));if(null==n||![0,1,2,3].includes(n))throw new Error("recovery id invalid");let s=2===n||3===n?t+a.n:t;if(s>=c.ORDER)throw new Error("recovery id 2 or 3 invalid");let u=1&n?"03":"02",l=m.fromHex(u+A(s)),d=y(s),h=g(-o*d),f=g(r*d),p=m.BASE.multiplyAndAddUnsafe(l,h,f);if(!p)throw new Error("point at infinify");return p.assertValidity(),p}hasHighS(){return E(this.s)}normalizeS(){return this.hasHighS()?new C(this.r,g(-this.s),this.recovery):this}toDERRawBytes(){return n.hexToBytes(this.toDERHex())}toDERHex(){return e.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return n.hexToBytes(this.toCompactHex())}toCompactHex(){return A(this.r)+A(this.s)}}let S={isValidPrivateKey(e){try{return b(e),!0}catch{return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{let e=(0,r.getMinHashLength)(a.n);return(0,r.mapHashToField)(a.randomBytes(e),a.n)},precompute:(e=8,t=m.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)};function I(e){let t=n.isBytes(e),r="string"==typeof e,i=(t||r)&&e.length;return t?i===h||i===f:r?i===2*h||i===2*f:e instanceof m}let O=a.bits2int||function(e){if(e.length>8192)throw new Error("input is too large");let t=n.bytesToNumberBE(e),r=8*e.length-a.nBitLength;return r>0?t>>BigInt(r):t},M=a.bits2int_modN||function(e){return g(O(e))},P=n.bitMask(a.nBitLength);function k(e){return n.aInRange("num < 2^"+a.nBitLength,e,u,P),n.numberToBytesBE(e,a.nByteLength)}function B(e,t,r=x){if(["recovered","canonical"].some((e=>e in r)))throw new Error("sign() legacy options not supported");let{hash:s,randomBytes:d}=a,{lowS:h,prehash:f,extraEntropy:p}=r;null==h&&(h=!0),e=(0,i.ensureBytes)("msgHash",e),o(r),f&&(e=(0,i.ensureBytes)("prehashed msgHash",s(e)));let w=M(e),A=b(t),T=[k(A),k(w)];if(null!=p&&!1!==p){let e=!0===p?d(c.BYTES):p;T.push((0,i.ensureBytes)("extraEntropy",e))}let S=n.concatBytes(...T),I=w;return{seed:S,k2sig:function(e){let t=O(e);if(!v(t))return;let r=y(t),n=m.BASE.multiply(t).toAffine(),i=g(n.x);if(i===u)return;let o=g(r*g(I+i*A));if(o===u)return;let s=(n.x===i?0:2)|Number(n.y&l),a=o;return h&&E(o)&&(a=function(e){return E(e)?g(-e):e}(o),s^=1),new C(i,a,s)}}}let x={lowS:a.lowS,prehash:!1},N={lowS:a.lowS,prehash:!1};return m.BASE._setWindowSize(8),{CURVE:a,getPublicKey:function(e,t=!0){return m.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,r=!0){if(I(e))throw new Error("first arg must be private key");if(!I(t))throw new Error("second arg must be public key");return m.fromHex(t).multiply(b(e)).toRawBytes(r)},sign:function(e,t,r=x){let{seed:i,k2sig:o}=B(e,t,r),s=a;return n.createHmacDrbg(s.hash.outputLen,s.nByteLength,s.hmac)(i,o)},verify:function(t,r,s,c=N){let u=t;r=(0,i.ensureBytes)("msgHash",r),s=(0,i.ensureBytes)("publicKey",s);let{lowS:l,prehash:d,format:h}=c;if(o(c),"strict"in c)throw new Error("options.strict was renamed to lowS");if(void 0!==h&&"compact"!==h&&"der"!==h)throw new Error("format must be compact or der");let f,p,b="string"==typeof u||n.isBytes(u),w=!b&&!h&&"object"==typeof u&&null!==u&&"bigint"==typeof u.r&&"bigint"==typeof u.s;if(!b&&!w)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");try{if(w&&(f=new C(u.r,u.s)),b){try{"compact"!==h&&(f=C.fromDER(u))}catch(t){if(!(t instanceof e.DER.Err))throw t}!f&&"der"!==h&&(f=C.fromCompact(u))}p=m.fromHex(s)}catch{return!1}if(!f||l&&f.hasHighS())return!1;d&&(r=a.hash(r));let{r:v,s:A}=f,E=M(r),T=y(A),S=g(E*T),I=g(v*T),O=m.BASE.multiplyAndAddUnsafe(p,S,I)?.toAffine();return!!O&&g(O.x)===v},ProjectivePoint:m,Signature:C,utils:S}},e.SWUFpSqrtRatio=g,e.mapToCurveSimpleSWU=function(e,t){if((0,r.validateField)(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");let n=g(e,t.Z);if(!e.isOdd)throw new Error("Fp.isOdd is not implemented!");return r=>{let i,o,s,a,c,u,l,d;i=e.sqr(r),i=e.mul(i,t.Z),o=e.sqr(i),o=e.add(o,i),s=e.add(o,e.ONE),s=e.mul(s,t.B),a=e.cmov(t.Z,e.neg(o),!e.eql(o,e.ZERO)),a=e.mul(a,t.A),o=e.sqr(s),u=e.sqr(a),c=e.mul(u,t.A),o=e.add(o,c),o=e.mul(o,s),u=e.mul(u,a),c=e.mul(u,t.B),o=e.add(o,c),l=e.mul(i,s);let{isValid:h,value:f}=n(o,u);d=e.mul(i,r),d=e.mul(d,f),l=e.cmov(l,s,h),d=e.cmov(d,f,h);let p=e.isOdd(r)===e.isOdd(d);return d=e.cmov(e.neg(d),d,p),l=e.div(l,a),{x:l,y:d}}};var t=oL(),r=bm(),n=B0(),i=B0();function o(e){void 0!==e.lowS&&(0,i.abool)("lowS",e.lowS),void 0!==e.prehash&&(0,i.abool)("prehash",e.prehash)}var{bytesToNumberBE:s,hexToBytes:a}=n,c=class extends Error{constructor(e=""){super(e)}};e.DERErr=c,e.DER={Err:c,_tlv:{encode:(t,r)=>{let{Err:i}=e.DER;if(t<0||t>256)throw new i("tlv.encode: wrong tag");if(1&r.length)throw new i("tlv.encode: unpadded data");let o=r.length/2,s=n.numberToHexUnpadded(o);if(s.length/2&128)throw new i("tlv.encode: long form length too big");let a=o>127?n.numberToHexUnpadded(s.length/2|128):"";return n.numberToHexUnpadded(t)+a+s+r},decode(t,r){let{Err:n}=e.DER,i=0;if(t<0||t>256)throw new n("tlv.encode: wrong tag");if(r.length<2||r[i++]!==t)throw new n("tlv.decode: wrong tlv");let o=r[i++],s=0;if(!!(128&o)){let e=127&o;if(!e)throw new n("tlv.decode(long): indefinite length not supported");if(e>4)throw new n("tlv.decode(long): byte length is too big");let t=r.subarray(i,i+e);if(t.length!==e)throw new n("tlv.decode: length bytes not complete");if(0===t[0])throw new n("tlv.decode(long): zero leftmost byte");for(let e of t)s=s<<8|e;if(i+=e,s<128)throw new n("tlv.decode(long): not minimal encoding")}else s=o;let a=r.subarray(i,i+s);if(a.length!==s)throw new n("tlv.decode: wrong value length");return{v:a,l:r.subarray(i+s)}}},_int:{encode(t){let{Err:r}=e.DER;if(t<u)throw new r("integer: negative integers are not allowed");let i=n.numberToHexUnpadded(t);if(8&Number.parseInt(i[0],16)&&(i="00"+i),1&i.length)throw new r("unexpected DER parsing assertion: unpadded hex");return i},decode(t){let{Err:r}=e.DER;if(128&t[0])throw new r("invalid signature integer: negative");if(0===t[0]&&!(128&t[1]))throw new r("invalid signature integer: unnecessary leading zero");return s(t)}},toSig(t){let{Err:r,_int:i,_tlv:o}=e.DER,s="string"==typeof t?a(t):t;n.abytes(s);let{v:c,l:u}=o.decode(48,s);if(u.length)throw new r("invalid signature: left bytes after parsing");let{v:l,l:d}=o.decode(2,c),{v:h,l:f}=o.decode(2,d);if(f.length)throw new r("invalid signature: left bytes after parsing");return{r:i.decode(l),s:i.decode(h)}},hexFromSig(t){let{_tlv:r,_int:n}=e.DER,i=r.encode(2,n.encode(t.r))+r.encode(2,n.encode(t.s));return r.encode(48,i)}};var u=BigInt(0),l=BigInt(1),d=BigInt(2),h=BigInt(3),f=BigInt(4);function p(e){let o=function(e){let r=(0,t.validateBasic)(e);n.validateObject(r,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:i,Fp:o,a:s}=r;if(i){if(!o.eql(s,o.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if("object"!=typeof i||"bigint"!=typeof i.beta||"function"!=typeof i.splitScalar)throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...r})}(e),{Fp:s}=o,a=(0,r.Field)(o.n,o.nBitLength),c=o.toBytes||((e,t,r)=>{let i=t.toAffine();return n.concatBytes(Uint8Array.from([4]),s.toBytes(i.x),s.toBytes(i.y))}),d=o.fromBytes||(e=>{let t=e.subarray(1);return{x:s.fromBytes(t.subarray(0,s.BYTES)),y:s.fromBytes(t.subarray(s.BYTES,2*s.BYTES))}});function f(e){let{a:t,b:r}=o,n=s.sqr(e),i=s.mul(n,e);return s.add(s.add(i,s.mul(e,t)),r)}if(!s.eql(s.sqr(o.Gy),f(o.Gx)))throw new Error("bad generator point: equation left != right");function p(e){let t,{allowedPrivateKeyLengths:s,nByteLength:a,wrapPrivateKey:c,n:u}=o;if(s&&"bigint"!=typeof e){if(n.isBytes(e)&&(e=n.bytesToHex(e)),"string"!=typeof e||!s.includes(e.length))throw new Error("invalid private key");e=e.padStart(2*a,"0")}try{t="bigint"==typeof e?e:n.bytesToNumberBE((0,i.ensureBytes)("private key",e,a))}catch{throw new Error("invalid private key, expected hex or "+a+" bytes, got "+typeof e)}return c&&(t=(0,r.mod)(t,u)),n.aInRange("private key",t,l,u),t}function g(e){if(!(e instanceof b))throw new Error("ProjectivePoint expected")}let y=(0,i.memoized)(((e,t)=>{let{px:r,py:n,pz:i}=e;if(s.eql(i,s.ONE))return{x:r,y:n};let o=e.is0();null==t&&(t=o?s.ONE:s.inv(i));let a=s.mul(r,t),c=s.mul(n,t),u=s.mul(i,t);if(o)return{x:s.ZERO,y:s.ZERO};if(!s.eql(u,s.ONE))throw new Error("invZ was invalid");return{x:a,y:c}})),m=(0,i.memoized)((e=>{if(e.is0()){if(o.allowInfinityPoint&&!s.is0(e.py))return;throw new Error("bad point: ZERO")}let{x:t,y:r}=e.toAffine();if(!s.isValid(t)||!s.isValid(r))throw new Error("bad point: x or y not FE");let n=s.sqr(r),i=f(t);if(!s.eql(n,i))throw new Error("bad point: equation left != right");if(!e.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0}));class b{constructor(e,t,r){if(this.px=e,this.py=t,this.pz=r,null==e||!s.isValid(e))throw new Error("x required");if(null==t||!s.isValid(t))throw new Error("y required");if(null==r||!s.isValid(r))throw new Error("z required");Object.freeze(this)}static fromAffine(e){let{x:t,y:r}=e||{};if(!e||!s.isValid(t)||!s.isValid(r))throw new Error("invalid affine point");if(e instanceof b)throw new Error("projective point not allowed");let n=e=>s.eql(e,s.ZERO);return n(t)&&n(r)?b.ZERO:new b(t,r,s.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=s.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(b.fromAffine)}static fromHex(e){let t=b.fromAffine(d((0,i.ensureBytes)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return b.BASE.multiply(p(e))}static msm(e,r){return(0,t.pippenger)(b,a,e,r)}_setWindowSize(e){v.setWindowSize(this,e)}assertValidity(){m(this)}hasEvenY(){let{y:e}=this.toAffine();if(s.isOdd)return!s.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){g(e);let{px:t,py:r,pz:n}=this,{px:i,py:o,pz:a}=e,c=s.eql(s.mul(t,a),s.mul(i,n)),u=s.eql(s.mul(r,a),s.mul(o,n));return c&&u}negate(){return new b(this.px,s.neg(this.py),this.pz)}double(){let{a:e,b:t}=o,r=s.mul(t,h),{px:n,py:i,pz:a}=this,c=s.ZERO,u=s.ZERO,l=s.ZERO,d=s.mul(n,n),f=s.mul(i,i),p=s.mul(a,a),g=s.mul(n,i);return g=s.add(g,g),l=s.mul(n,a),l=s.add(l,l),c=s.mul(e,l),u=s.mul(r,p),u=s.add(c,u),c=s.sub(f,u),u=s.add(f,u),u=s.mul(c,u),c=s.mul(g,c),l=s.mul(r,l),p=s.mul(e,p),g=s.sub(d,p),g=s.mul(e,g),g=s.add(g,l),l=s.add(d,d),d=s.add(l,d),d=s.add(d,p),d=s.mul(d,g),u=s.add(u,d),p=s.mul(i,a),p=s.add(p,p),d=s.mul(p,g),c=s.sub(c,d),l=s.mul(p,f),l=s.add(l,l),l=s.add(l,l),new b(c,u,l)}add(e){g(e);let{px:t,py:r,pz:n}=this,{px:i,py:a,pz:c}=e,u=s.ZERO,l=s.ZERO,d=s.ZERO,f=o.a,p=s.mul(o.b,h),y=s.mul(t,i),m=s.mul(r,a),w=s.mul(n,c),v=s.add(t,r),A=s.add(i,a);v=s.mul(v,A),A=s.add(y,m),v=s.sub(v,A),A=s.add(t,n);let E=s.add(i,c);return A=s.mul(A,E),E=s.add(y,w),A=s.sub(A,E),E=s.add(r,n),u=s.add(a,c),E=s.mul(E,u),u=s.add(m,w),E=s.sub(E,u),d=s.mul(f,A),u=s.mul(p,w),d=s.add(u,d),u=s.sub(m,d),d=s.add(m,d),l=s.mul(u,d),m=s.add(y,y),m=s.add(m,y),w=s.mul(f,w),A=s.mul(p,A),m=s.add(m,w),w=s.sub(y,w),w=s.mul(f,w),A=s.add(A,w),y=s.mul(m,A),l=s.add(l,y),y=s.mul(E,A),u=s.mul(v,u),u=s.sub(u,y),y=s.mul(v,m),d=s.mul(E,d),d=s.add(d,y),new b(u,l,d)}subtract(e){return this.add(e.negate())}is0(){return this.equals(b.ZERO)}wNAF(e){return v.wNAFCached(this,e,b.normalizeZ)}multiplyUnsafe(e){let{endo:t,n:r}=o;n.aInRange("scalar",e,u,r);let i=b.ZERO;if(e===u)return i;if(this.is0()||e===l)return this;if(!t||v.hasPrecomputes(this))return v.wNAFCachedUnsafe(this,e,b.normalizeZ);let{k1neg:a,k1:c,k2neg:d,k2:h}=t.splitScalar(e),f=i,p=i,g=this;for(;c>u||h>u;)c&l&&(f=f.add(g)),h&l&&(p=p.add(g)),g=g.double(),c>>=l,h>>=l;return a&&(f=f.negate()),d&&(p=p.negate()),p=new b(s.mul(p.px,t.beta),p.py,p.pz),f.add(p)}multiply(e){let t,r,{endo:i,n:a}=o;if(n.aInRange("scalar",e,l,a),i){let{k1neg:n,k1:o,k2neg:a,k2:c}=i.splitScalar(e),{p:u,f:l}=this.wNAF(o),{p:d,f:h}=this.wNAF(c);u=v.constTimeNegate(n,u),d=v.constTimeNegate(a,d),d=new b(s.mul(d.px,i.beta),d.py,d.pz),t=u.add(d),r=l.add(h)}else{let{p:n,f:i}=this.wNAF(e);t=n,r=i}return b.normalizeZ([t,r])[0]}multiplyAndAddUnsafe(e,t,r){let n=b.BASE,i=(e,t)=>t!==u&&t!==l&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=i(this,t).add(i(e,r));return o.is0()?void 0:o}toAffine(e){return y(this,e)}isTorsionFree(){let{h:e,isTorsionFree:t}=o;if(e===l)return!0;if(t)return t(b,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:t}=o;return e===l?this:t?t(b,this):this.multiplyUnsafe(o.h)}toRawBytes(e=!0){return(0,i.abool)("isCompressed",e),this.assertValidity(),c(b,this,e)}toHex(e=!0){return(0,i.abool)("isCompressed",e),n.bytesToHex(this.toRawBytes(e))}}b.BASE=new b(o.Gx,o.Gy,s.ONE),b.ZERO=new b(s.ZERO,s.ONE,s.ZERO);let w=o.nBitLength,v=(0,t.wNAF)(b,o.endo?Math.ceil(w/2):w);return{CURVE:o,ProjectivePoint:b,normPrivateKeyToScalar:p,weierstrassEquation:f,isWithinCurveOrder:function(e){return n.inRange(e,l,o.n)}}}function g(e,t){let r=e.ORDER,n=u;for(let e=r-l;e%d===u;e/=d)n+=l;let i=n,o=d<<i-l-l,s=o*d,a=(r-l)/s,c=(a-l)/d,p=s-l,g=o,y=e.pow(t,a),m=e.pow(t,(a+l)/d),b=(t,r)=>{let n=y,o=e.pow(r,p),s=e.sqr(o);s=e.mul(s,r);let a=e.mul(t,s);a=e.pow(a,c),a=e.mul(a,o),o=e.mul(a,r),s=e.mul(a,t);let u=e.mul(s,o);a=e.pow(u,g);let h=e.eql(a,e.ONE);o=e.mul(s,m),a=e.mul(u,n),s=e.cmov(o,s,h),u=e.cmov(a,u,h);for(let t=i;t>l;t--){let r=t-d;r=d<<r-l;let i=e.pow(u,r),a=e.eql(i,e.ONE);o=e.mul(s,n),n=e.mul(n,n),i=e.mul(u,n),s=e.cmov(o,s,a),u=e.cmov(i,u,a)}return{isValid:h,value:s}};if(e.ORDER%f===h){let r=(e.ORDER-h)/f,n=e.sqrt(e.neg(t));b=(t,i)=>{let o=e.sqr(i),s=e.mul(t,i);o=e.mul(o,s);let a=e.pow(o,r);a=e.mul(a,s);let c=e.mul(a,n),u=e.mul(e.sqr(a),i),l=e.eql(u,t);return{isValid:l,value:e.cmov(c,a,l)}}}return b}})),GRe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.getHash=i,e.createCurve=function(e,t){let r=t=>(0,n.weierstrass)({...e,...i(t)});return{...r(t),create:r}};var t=JO(),r=Au(),n=ene();function i(e){return{hash:e,hmac:(n,...i)=>(0,t.hmac)(e,n,(0,r.concatBytes)(...i)),randomBytes:r.randomBytes}}})),IL=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.encodeToCurve=e.hashToCurve=e.schnorr=e.secp256k1=void 0;var t=YO(),r=Au(),n=GRe(),i=Rre(),o=bm(),s=B0(),a=ene(),c=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),u=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),l=BigInt(1),d=BigInt(2),h=(e,t)=>(e+t/d)/t;function f(e){let t=c,r=BigInt(3),n=BigInt(6),i=BigInt(11),s=BigInt(22),a=BigInt(23),u=BigInt(44),l=BigInt(88),h=e*e*e%t,f=h*h*e%t,g=(0,o.pow2)(f,r,t)*f%t,y=(0,o.pow2)(g,r,t)*f%t,m=(0,o.pow2)(y,d,t)*h%t,b=(0,o.pow2)(m,i,t)*m%t,w=(0,o.pow2)(b,s,t)*b%t,v=(0,o.pow2)(w,u,t)*w%t,A=(0,o.pow2)(v,l,t)*v%t,E=(0,o.pow2)(A,u,t)*w%t,T=(0,o.pow2)(E,r,t)*f%t,C=(0,o.pow2)(T,a,t)*b%t,S=(0,o.pow2)(C,n,t)*h%t,I=(0,o.pow2)(S,d,t);if(!p.eql(p.sqr(I),e))throw new Error("Cannot find square root");return I}var p=(0,o.Field)(c,void 0,void 0,{sqrt:f});e.secp256k1=(0,n.createCurve)({a:BigInt(0),b:BigInt(7),Fp:p,n:u,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=u,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-l*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=r,a=BigInt("0x100000000000000000000000000000000"),c=h(s*e,t),d=h(-n*e,t),f=(0,o.mod)(e-c*r-d*i,t),p=(0,o.mod)(-c*n-d*s,t),g=f>a,y=p>a;if(g&&(f=t-f),y&&(p=t-p),f>a||p>a)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:g,k1:f,k2neg:y,k2:p}}}},t.sha256);var g=BigInt(0),y={};function b(e,...r){let n=y[e];if(void 0===n){let r=(0,t.sha256)(Uint8Array.from(e,(e=>e.charCodeAt(0))));n=(0,s.concatBytes)(r,r),y[e]=n}return(0,t.sha256)((0,s.concatBytes)(n,...r))}var w=e=>e.toRawBytes(!0).slice(1),v=e=>(0,s.numberToBytesBE)(e,32),A=e=>(0,o.mod)(e,c),E=e=>(0,o.mod)(e,u),T=e.secp256k1.ProjectivePoint;function C(t){let r=e.secp256k1.utils.normPrivateKeyToScalar(t),n=T.fromPrivateKey(r);return{scalar:n.hasEvenY()?r:E(-r),bytes:w(n)}}function S(e){(0,s.aInRange)("x",e,l,c);let t=A(e*e),r=f(A(t*e+BigInt(7)));r%d!==g&&(r=A(-r));let n=new T(e,r,l);return n.assertValidity(),n}var I=s.bytesToNumberBE;function O(...e){return E(I(b("BIP0340/challenge",...e)))}function M(e,t,r){let n=(0,s.ensureBytes)("signature",e,64),i=(0,s.ensureBytes)("message",t),o=(0,s.ensureBytes)("publicKey",r,32);try{let e=S(I(o)),t=I(n.subarray(0,32));if(!(0,s.inRange)(t,l,c))return!1;let r=I(n.subarray(32,64));if(!(0,s.inRange)(r,l,u))return!1;let a=O(v(t),w(e),i),d=((e,t,r)=>T.BASE.multiplyAndAddUnsafe(e,t,r))(e,r,E(-a));return!(!d||!d.hasEvenY()||d.toAffine().x!==t)}catch{return!1}}e.schnorr={getPublicKey:function(e){return C(e).bytes},sign:function(e,t,n=(0,r.randomBytes)(32)){let i=(0,s.ensureBytes)("message",e),{bytes:o,scalar:a}=C(t),c=(0,s.ensureBytes)("auxRand",n,32),u=v(a^I(b("BIP0340/aux",c))),l=b("BIP0340/nonce",u,o,i),d=E(I(l));if(d===g)throw new Error("sign failed: k is zero");let{bytes:h,scalar:f}=C(d),p=O(h,o,i),y=new Uint8Array(64);if(y.set(h,0),y.set(v(E(f+p*a)),32),!M(y,i,o))throw new Error("sign: Invalid signature produced");return y},verify:M,utils:{randomPrivateKey:e.secp256k1.utils.randomPrivateKey,lift_x:S,pointToBytes:w,numberToBytesBE:s.numberToBytesBE,bytesToNumberBE:s.bytesToNumberBE,taggedHash:b,mod:o.mod}};var P=(0,i.isogenyMap)(p,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map((e=>e.map((e=>BigInt(e)))))),k=(0,a.mapToCurveSimpleSWU)(p,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:p.create(BigInt("-11"))}),B=(0,i.createHasher)(e.secp256k1.ProjectivePoint,(e=>{let{x:t,y:r}=k(p.create(e[0]));return P(t,r)}),{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:p.ORDER,m:1,k:128,expand:"xmd",hash:t.sha256});e.hashToCurve=B.hashToCurve,e.encodeToCurve=B.encodeToCurve})),oNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.ripemd160=e.RIPEMD160=void 0;var t=j7(),r=Au(),n=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),i=new Uint8Array(new Array(16).fill(0).map(((e,t)=>t))),o=i.map((e=>(9*e+5)%16)),s=[i],a=[o];for(let e=0;e<4;e++)for(let t of[s,a])t.push(t[e].map((e=>n[e])));var c=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>new Uint8Array(e))),u=s.map(((e,t)=>e.map((e=>c[t][e])))),l=a.map(((e,t)=>e.map((e=>c[t][e])))),d=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),h=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function f(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}var p=new Uint32Array(16),g=class extends t.HashMD{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){let{h0:e,h1:t,h2:r,h3:n,h4:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)p[r]=e.getUint32(t,!0);let n=0|this.h0,i=n,o=0|this.h1,c=o,g=0|this.h2,y=g,m=0|this.h3,b=m,w=0|this.h4,v=w;for(let e=0;e<5;e++){let t=4-e,A=d[e],E=h[e],T=s[e],C=a[e],S=u[e],I=l[e];for(let t=0;t<16;t++){let i=(0,r.rotl)(n+f(e,o,g,m)+p[T[t]]+A,S[t])+w|0;n=w,w=m,m=0|(0,r.rotl)(g,10),g=o,o=i}for(let e=0;e<16;e++){let n=(0,r.rotl)(i+f(t,c,y,b)+p[C[e]]+E,I[e])+v|0;i=v,v=b,b=0|(0,r.rotl)(y,10),y=c,c=n}}this.set(this.h1+g+b|0,this.h2+m+v|0,this.h3+w+i|0,this.h4+n+c|0,this.h0+o+y|0)}roundClean(){p.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}};e.RIPEMD160=g,e.ripemd160=(0,r.wrapConstructor)((()=>new g))})),lNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.HDKey=e.HARDENED_OFFSET=void 0;var t=JO(),r=oNe(),n=YO(),i=FO(),o=gm(),s=Au(),a=IL(),c=bm(),u=Zre(),l=a.secp256k1.ProjectivePoint,d=(0,u.createBase58check)(n.sha256);function h(e){(0,o.abytes)(e);let t=0===e.length?"0":(0,s.bytesToHex)(e);return BigInt("0x"+t)}var f=(0,s.utf8ToBytes)("Bitcoin seed"),p={private:76066276,public:76067358};e.HARDENED_OFFSET=2147483648;var g=e=>{if(!Number.isSafeInteger(e)||e<0||e>2**32-1)throw new Error("invalid number, should be from 0 to 2**32-1, got "+e);let t=new Uint8Array(4);return(0,s.createView)(t).setUint32(0,e,!1),t};e.HDKey=class u{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return(e=>(0,s.createView)(e).getUint32(0,!1))(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){let e=this.privateKey;if(!e)throw new Error("No private key");return d.encode(this.serialize(this.versions.private,(0,s.concatBytes)(new Uint8Array([0]),e)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return d.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(e,r=p){if((0,o.abytes)(e),8*e.length<128||8*e.length>512)throw new Error("HDKey: seed length must be between 128 and 512 bits; 256 bits is advised, got "+e.length);let n=(0,t.hmac)(i.sha512,f,e);return new u({versions:r,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(e,t=p){let r=d.decode(e),n=(0,s.createView)(r),i=n.getUint32(0,!1),o={versions:t,depth:r[4],parentFingerprint:n.getUint32(5,!1),index:n.getUint32(9,!1),chainCode:r.slice(13,45)},a=r.slice(45),c=0===a[0];if(i!==t[c?"private":"public"])throw new Error("Version mismatch");return new u(c?{...o,privateKey:a.slice(1)}:{...o,publicKey:a})}static fromJSON(e){return u.fromExtendedKey(e.xpriv)}constructor(e){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!e||"object"!=typeof e)throw new Error("HDKey.constructor must not be called directly");if(this.versions=e.versions||p,this.depth=e.depth||0,this.chainCode=e.chainCode||null,this.index=e.index||0,this.parentFingerprint=e.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(e.publicKey&&e.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(e.privateKey){if(!a.secp256k1.utils.isValidPrivateKey(e.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof e.privateKey?e.privateKey:h(e.privateKey),this.privKeyBytes=function(e){if("bigint"!=typeof e)throw new Error("bigint expected");return(0,s.hexToBytes)(e.toString(16).padStart(64,"0"))}(this.privKey),this.pubKey=a.secp256k1.getPublicKey(e.privateKey,!0)}else{if(!e.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=l.fromHex(e.publicKey).toRawBytes(!0)}this.pubHash=(e=>(0,r.ripemd160)((0,n.sha256)(e)))(this.pubKey)}derive(t){if(!/^[mM]'?/.test(t))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(t))return this;let r=t.replace(/^[mM]'?\//,"").split("/"),n=this;for(let t of r){let r=/^(\d+)('?)$/.exec(t),i=r&&r[1];if(!r||3!==r.length||"string"!=typeof i)throw new Error("invalid child index: "+t);let o=+i;if(!Number.isSafeInteger(o)||o>=e.HARDENED_OFFSET)throw new Error("Invalid index");"'"===r[2]&&(o+=e.HARDENED_OFFSET),n=n.deriveChild(o)}return n}deriveChild(r){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let n=g(r);if(r>=e.HARDENED_OFFSET){let e=this.privateKey;if(!e)throw new Error("Could not derive hardened child key");n=(0,s.concatBytes)(new Uint8Array([0]),e,n)}else n=(0,s.concatBytes)(this.pubKey,n);let o=(0,t.hmac)(i.sha512,this.chainCode,n),d=h(o.slice(0,32)),f=o.slice(32);if(!a.secp256k1.utils.isValidPrivateKey(d))throw new Error("Tweak bigger than curve order");let p={versions:this.versions,chainCode:f,depth:this.depth+1,parentFingerprint:this.fingerprint,index:r};try{if(this.privateKey){let e=(0,c.mod)(this.privKey+d,a.secp256k1.CURVE.n);if(!a.secp256k1.utils.isValidPrivateKey(e))throw new Error("The tweak was out of range or the resulted private key is invalid");p.privateKey=e}else{let e=l.fromHex(this.pubKey).add(l.fromPrivateKey(d));if(e.equals(l.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");p.publicKey=e.toRawBytes(!0)}return new u(p)}catch{return this.deriveChild(r+1)}}sign(e){if(!this.privateKey)throw new Error("No privateKey set!");return(0,o.abytes)(e,32),a.secp256k1.sign(e,this.privKey).toCompactRawBytes()}verify(e,t){if((0,o.abytes)(e,32),(0,o.abytes)(t,64),!this.publicKey)throw new Error("No publicKey set!");let r;try{r=a.secp256k1.Signature.fromCompact(t)}catch{return!1}return a.secp256k1.verify(r,e,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(e,t){if(!this.chainCode)throw new Error("No chainCode set");return(0,o.abytes)(t,33),(0,s.concatBytes)(g(e),new Uint8Array([this.depth]),g(this.parentFingerprint),g(this.index),this.chainCode,t)}}})),fNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.jwtDecode=e.InvalidTokenError=void 0;var t=class extends Error{};function r(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(t)}catch{return atob(t)}}e.InvalidTokenError=t,t.prototype.name="InvalidTokenError",e.jwtDecode=function(e,n){if("string"!=typeof e)throw new t("Invalid token specified: must be a string");n||(n={});let i,o=!0===n.header?0:1,s=e.split(".")[o];if("string"!=typeof s)throw new t(`Invalid token specified: missing part #${o+1}`);try{i=r(s)}catch(e){throw new t(`Invalid token specified: invalid base64 for part #${o+1} (${e.message})`)}try{return JSON.parse(i)}catch(e){throw new t(`Invalid token specified: invalid json for part #${o+1} (${e.message})`)}}})),_c=W(((e,t)=>{"use strict";m();var r=BigInt("21888242871839275222246405745257275088548364400416034343698204186575808495617"),n=[56,57,56,60,60,63,64,63,60,66,60,65,70,60,64,68],i=e=>{let t=e*e;return e*t*t%r};function o(e,t){let n=[];for(let i=0;i<e.length;i++){let o=0n;for(let r=0;r<e.length;r++)o+=t[i][r]*e[r];n.push(o%r)}return n}t.exports=function(e,t){let r=e.map((e=>BigInt(e)));if(r.length<=0)throw new Error("poseidon-lite: Not enough inputs");if(r.length>n.length)throw new Error("poseidon-lite: Too many inputs");let s=r.length+1,a=n[s-2],{C:c,M:u}=t;if(u.length!==s)throw new Error(`poseidon-lite: Incorrect M length, expected ${s} got ${u.length}`);let l=[0n,...r];for(let e=0;e<8+a;e++){for(let t=0;t<l.length;t++)l[t]=l[t]+c[e*s+t],(e<4||e>=4+a||0===t)&&(l[t]=i(l[t]));l=o(l,u)}return l[0]}})),Rc=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function e(t){if(Array.isArray(t))return t.map(e);if("object"==typeof t){let r={};for(let[n,i]of Object.entries(t))r[n]=e(i);return r}let r=[...Uint8Array.from(atob(t),(e=>e.charCodeAt(0)))].map((e=>e.toString(16).padStart(2,"0"))).join("");return BigInt(`0x${r}`)}})),yNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["CcRunsaOm9T+H6q6KUy6OKcaoXdTTN0bbH3A29Cr16c=","DANWUwiW7sQql+2TfzE1z8UUKzrkBbg0PB2D/6YEy4E=","Hiih2TVpitEULlEYK7VM9KAOpaq9Ymi9MX6pd8wVSjA=","J68tgxqdJ0gICWXbMOKY5A5XV8PgCNuWTPnisSuRJR8=","Hm8RzmD8j1E6ajz+Fq4XWkEpFGLyFM0Iear0NUW3TgM=","Kmc4TTu9XkOFQYGctoHwvgRGLtFMNhPY9xkgYmjRQtM=","C2b981YJOmEWCfjhL7/s8LmF44HwJRiJNkCPXVyfRdA=","AS7j7B541HCDDGEJPCreNwsmyDzFzr7t2qaFLb2wniE=","AlK6X2dgv739iPZ/gXXj/WzRxDGwmba7LRCOe0Rbsbk=","F5R0zOyl/2dsa+w871QpY1Q5Gok1/3HW71rqrXypMvE=","LCQmE3mlG/qSKP9KUD/U7Zwfl0om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I6Oq8H84r4yVKnvOynC9KvetU=","K51LQRDJrpl3guFQmx0P2yCnwCu9i+pzBUYrn4Elseg="],["DMV827CFB9Yr9npEk8wmL7bAnVVwE//x9XP0MSIfj/k=","EnTmSaMu01WjGm7WlyThra3oV+hutcOhIbzRR5QyA8g="]]}})),mNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon1=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(yNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),bNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["DumlkrqalRjQWYbWVvQMIRTEmTwRuymTjSHUcwTNjm4=","APFEUjXyFIxZhlhxafwbzYh7CNTQCGjfVpb/9AlW6GQ=","CN/zSH6KyZ4fKaBY0PqAuTDHKHMLerNs6HnziQ7Pc/U=","Lye+aQ/a7kbDzij3UysTyFbDU0LIS9puIJZjEPrcAdA=","KyrhrPaLe40kFr6/PU9iNLdj/gS4BD7ki4MnvryhbPI=","AxnQYgcr737MperAb5fU1VlSwXWrawPq5ktEx9vxHPo=","KIE9yuuuqoKKN234evSmO8i3vyetScYpjvezh78oUm0=","JydnOyzLyQPxgb844cHUDSAzhlIAw1K8FQkord35y3g=","I07EXKJ3J8LnSr0rKhSUzW771D40BYfWuPueMeZcxjI=","FbUlNAMa4Y9/hiyyz3z3YKsQqBUKM3sczZn/boeX1Cg=","Dcj61tnks19e2aPRhrec444Oio0bWLEy1wHU7s9o0fY=","G82V/8IR+8pgD3BfrT+1Z+pOs3j2Lh/sl4BVGKR+TZw=","EFILCrchyt/p7/gbAW/DTcdto2wleJN4F8uXjQad5Vk=","H21IFJuOf32bJX2O1fu69CkySYB1/tCs6IqeuB9WJ/Y=","HZZV9lIwkBTSngDvNaIIm//43ByBbw3JyjS9tUYMhwU=","BN9aVv+VvK+wUfexzUOpm6cx/2fkcDIFj+PUGFaXzH0=","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I9Mgxop2s5MD4vl8=","BU76H2Ww/OKDgIllJ12He0ONojzlsT4ZY3mMsUR9JaQ=","GxYvg9kX6T7bMwjCmALeudiqaQETsuFIZMz24Y5BZfE=","IeUkHhJWTdb9nxzdKg3jnu3+/BRmzFaOxc63RaBQbtw=","HPtWYujPWskiaoDuF7Nqvstzq1+H4WGSe0NJ4Q5L3wg=","DyEXfjAqdxu65tjR7LNztiyZrzRiIKwBKcU/Zm6yQQA=","FnFSI3RgaZKv+w3X9xsSvsQjau3mKQVGvO9+H1FcIyA=","D6PsW5SIJZwutM8kUBv62b4uyeQsXMjM1BnSppLK2HA=","GTwOBOC9KYNXyyZsFQYIDtNu3OhcZIzAhejFexq1S7o=","ECrfjvdHNaJ+kSgwbcvDyZ9vcpHNQGV4zhTqKtq6aPg=","D+CveFjkmFnipU1vGtlFsTFqokv73SOuQKbQy3DD6rE=","IW9nF7vH3tsIU2oiIIQ/Ti2l8dqp69796KXqc0R5jSI=","HaVcyQDw0h9KPmlDkZGKGzwjsqx3PGs++I4uQigyUWE="],M:[["EJt/QRug5MmytwyvXDansZS+fBGtJDeL/ttoWSuoEYs=","Fu1B4Tu5wMZq4RlCT928vJMU3J/b3upV1sZFQ9xJA+A=","K5C7oA/KBYn2F+fcv+guDfcGq2QM6yR7eRqTt042c20="],["KWnyfu0xpIC5w2x2Q3nbyizI/dFBXD3e1ilAvN4L13E=","LiQZ+ewC7DlMmHHIMpY9wbiddDyMe5ZAKbIxFoex/iM=","EBBx8AMjebaXMVh2aQ8FPRSNThCfX7BlyKrMVaD4m/o="],["FDAh7GhqPzMNX55lRjgGXObNeeKMWzdTMmJE7mWhsac=","F2zAKWla0CWCpw7/CKb9mdBX4S5Y59e2sWzfq8juKRE=","GaP8ClZwK/QXun/uOAJZP6ZERwMHBD93cyec1x0l1eA="]]}})),vNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon2=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(bNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),wNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["GbhJ9pRQsGhI2h05vV5KQwK7hnRO3CYjiwh44mntI+U=","Jl3f4SfdUb1yOTR7dY8KEyDrLMdFCswdrUf4DI3PNNY=","GZdQ7EcvGAng9mpUXh5RYkEIrIRQFcKqPfw2urSX2Ko=","FX/z/mWscggRDwal90MCsU10PqJQZ/D/0DL3h8fxzfg=","LknEPEVp3Zxf01rEX8oz8QsVxZBpL4vu/hj0iWrJSQI=","DjX7iZgYkFINSu8rbWUGw8svC2lzwk+oJzE0X/otHx4=","JRrUfLFcTxEF8QmuXpRPG6nZ54BtZn/+xv5yMALguZY=","E9oH3GTUKDaYc+lxYCNGQfi+tW/dBeXzVj+jnZwi304=","DACbhOZQ5tI9wAx9zO90g6VTk5aJ01DNRue4kFX9Rzg=","AR8WscY6hU8BmS45VvQtiwTrZQxtU16wID3sdL79ygY=","DtaeXjg6aI8gnZpWHap5YS8/eNBGetRUhd8HCT82dUk=","BNupSnsM6eIhrK1BRytrvjrsUH9es9M/RjZyJkyfeJs=","Cj8mN9hA86FusJQnHJ0je2A2dX1LtQv3znMv8dT6KOg=","JZpmbxKe6hmPihxQL9s4+jmx8HVWlWS25UpIXRGCMj8=","KL90Wcmy9MbY59BqTuOkf3dF1CcQOOUVejL99+3g1qE=","ChypQfBXA3Um6iAPSJvo1MN8hbvM5qKu7JG9aUFDJEc=","DG+PlYvg6TBT1/1PxUUShVU17RU58FHctDom/ZJjYc8=","EjEGqTzRdXjUJugSisnZCqnooAcI4pbghN1X5pyq+BE=","JuG6Uq2Shdl906tS+OhACF6PqD/x6PGHewdIZ80t7nU=","HLVcrXvRM94YpkxcR7nJfL5Ni3v54JWGRHFTfmpK4sU=","Hc1z5GrNj44OLHzgS95/bSpTBD1QYKQccUPwjm6QVdA=","ARAD4y9tnGb1hS8FR0pN7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+wQ7p4uyjDvsLApt5G2MWtYGfE6/1CUNo=","JI2X1/dig9Y77DDnpYdsEcBvypsnXGccXjPZW7fo1yk=","GjBtQ51GOwgW/G/WTMk5MYtF63Wd3eSqEG0V2b2bqqo=","KKj4Ny48ONrO18AEIctGIfTxtU3cJ4IbDWLT1ux8Vs8=","AJSXVxf5qKi7NRUvJNQylAcc4yDIKfOIvIUhg+Hizn4=","BNXuTDqnj32A/eYNcWSA01k/dNT2U66D9BAyRtsujWU=","Kmz16aoD1DNjSa1vuO0iace+9UuIIsx20ISVwS794Yc=","IwTTHqq5YLqSdNpD4Z3et/eSGAgI/W5Duq5I1+/Lo/M=","A/2ayGWksqbV5wCXhYFySb/win4HJvy04cEdOdGZ8LA=","ALclje1Su9oiSEBNVe5QRHmK/DogkZMHP3lU1NY7C2Q=","FZ+BraB3F5nsOPyi1L9l67E9OnTzKY2zYnLFymXpLZo=","HvkOZ0N/vIVQI3p1vCjju5AAEw6iXwxUceFEz0JkQx8=","HmX4OFFeX/AZa0mqQaLSVo33ObwXawjslaee2Cky4w0=","KxsEXe86FmzsbOdo0Hm6dLGMhE5XDh+CZXXBBoyUwz8=","CDLldTzrD/ZAJUOxEJIpwWXcLXO+9xXj8cbgfBaLsXM=","AvYU6c7fs9xrdirgo31BurG4QcLotkUbxajjw5C2rRY=","DiQn04vUamDdZAuONiytlnNw67d3vt/0D2oL4n5+1wU=","BJNjC3xnC23rfITUFOfOeQSfDsCYw8fFB2i74pIUpTo=","IurRAOjkgmdN7NqxcGbFomuxUVNV1UYaPcBsyFMnzqk=","JbPlbmVbQs2q4mJu0lVNSFg/GuNWJtBN5QhOC20qbxY=","HjJ1KtqINu9YN6bN6P8T27WZwzY0nkxYS0/cCgz2+dA=","L6KoccFaOHzFD2j288NFWyPACZXwUHj2cqmGQHTUEuU=","L1abippEJMknjh23MR6In1TMvxBmG6t/zRjnx6fYNQU=","BEy0VREKj91TGt5TAjTFGKffk/czL/0hRBZTdLJGtD0=","IngI3pOQbV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L4LKalzKcM7k6An9YkvnrV0=","GBN0eDgqrbpEHrl/4nkBmJwGc4FlIVMZk56xewH6l1w=","K8B+or+taOjcck9f7ys3wtNPdhk1/9O3Oc7sRmjzfog=","LdsuN29U1kpWOEBIDfmT/rQXMgPCvZStDmAgd675oD4=","J361DyuqcGEGtByyTGAmCeiiD41y9hNwitslNzWWw/c=","DU3kfhq6NCadDGIJBPAaVrM/xLRQwNtQu3+Hc0yaH+U=","C4RCv+nkobRChnO2vT7qb59EVpcFjxNKrpCNAnminww=","Ef5bGPu+oahuBpMMuJ99SibhhqZZRelldCR/3bcg+PU=","IkAm9t+vceJNJdj22fkAId9bd03K1NiDFw5K2JwzoNY=","CyymqZn+aIfgcE2tWNA0ZalryeN9EJH2G8n5xiu+uCQ=","Ihtj1m8LRfnUDFQFOiigax0KTOQdNkeXoafgyWUp9CE=","MBhcSLey8dU9QSCAGwR9CHSTvOZNTSSu3OL0g2u4StQ=","I/XTcqPw48upieIjBWIn01MzVvD6pI8n+CZzGGMqYfA=","JxZoOzLHVf0b+CNeoWKx84jh4AkNBhYujm375DKPPjs=","CXdUWDaGb6IEyh2FPsCQnj0UB3DICsZ9yTDGl0jV1Lw=","FETo9ZK9v9gCXZGrSYLdQl9RaC0xRysF6BxDwPlDSzE=","JuBLZenKgnC+t0ocXLj+6L4/+/5YP3ASoA+HTncY++M=","IqXC+oYNEf407kelzZ+GmAD0j0/r4prW32mBb7GpFNI=","F0tU2ZB9j1xq/Wcqc49Cc37DOPOglkxin3R03UTFyNc=","HbHbiqRSg/MRaPpmaUzygI0hibh8jIFD1WyHGQezm4c=","FTC/D0ZSfoiQMLjHt9/eEm9l+vjM4KtmOHNB2BPRv9E=","C3P2E5kyKfWfAcHOyHYOmTbq2e3I8oFIiTMKLyut5Fc=","KcJaIv4hZGBFUqrqN39EjVh6uXf8gid4e9LcDza89B4=","KzDVPtF1m/uFA9pmySz0B3q+gnldwnKzd99X13yHVSY=","EvbXA7VwKqt7e35pNZ1TonVsCM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8obBLVDWY7rnM/l4rwjNvWMBfFezp1ZG/zgsE="],["KnWhcVY7gH21Jb4llpmrKP6bx/sfcJQ/8Em8lw6EGgw=","CDq/9eEAUfB44oJ9CS4a6Ai03T4VzMNwbzjOQVe2dw4=","GlrXG7vs2Kl9xJz9uuMDrSTVxHQeq4t1aKn/glOh628=","DXRf0A3RZ/uGdyEzZA8CzpRQBKe8LFnoeQ9yXF2E8K8="],["IHBnnnmHgu9ZKlLKnO+CDUl60u7Lqn5C82az5SHE7UI=","LhjIVw0gv134AHOaU9p12Qbs4xjNIkq2s6K+l54tfqs=","D6hvDyfk091/M2fOhvaE8fLkOG0+W584+ig8aqcjtgg=","A/Pm+reR8WYoFo5LFNuutlcDXuPaayyoPwwkkeC0A+s="],["L1ReV4ICyXMkiFQOQfeDto/wYT/Xk3X4uos9MJWOdnc=","I4EL+Ch3/Bm/9+7+rj+vS7gQTDK6TNcBWWoVYj0BR24=","AU/NXrC+bVvur8SUQDTPMhwGjvkw8QviIH7VjSo0zdY=","AMFfw6HVcz3YNerggj43f4ukqLYnYnzCu2YcJdIPtSo="]]}})),xNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon3=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(wNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),ANe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["DrVE/uKBXdp/U+KcysmO19iJu069R8OGTzwr2BptqJE=","BVTXNjFbhmLwL9un3XN/vKGXrrEupkcTunM/KEdRKMs=","L4O53yWbK2i810gFYwfDd1SQffDA+wA19Qh8WNXowtQ=","LKcOLo1/OaEkR6yDBSRRtGHxX4tBp17zGRUgj1q6loM=","HLX5MZvmpF6RsE1yIicclJlBlvEu0ixdTscZy4Ps/qk=","LrT5nGn5Zuv4pCGS3n/2FiHHu0e5N1DCueoI0YRGwSI=","Ikoo5aN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2RWSSyjN1cx04dTlpk=","GY0HGS20+sKoKkp5g51qK5fE3U03tOjztTAJ95s05qQ=","Kesd5Co604GyO0ExQmiXoycJsp1Tu5Rt/RV4TR9j5XI="],M:[["JR5/35lZEIAICwrxM7nkNp8i5XrOPNf2T8b9vPONfaE=","JftQtlrPT7BHy9OxwX2Xx/4m6pyiONbjSFUEhukcd2U=","KT1hfX2nIQI1Xznr9i+RsG3rUyXzZ6RVbqHjHtV2eDM=","EE0ClasAyF6WARGsJdpHQ2ZZnldam37fYUXxS6bTwcQ=","Cqo14shLrxF96j4zbNlqOXkrOBOVT+m/PtW5Dy9pyXc="],["KnC58dS7zNvAPhfB0dzbAgUpA9xmCeppafZhsut0yDk=","KBFUZRySHnRjFamTTxuKG7qfkq2O9Ll5EVuOLpkczXo=","KMK+L4Jk+V8LU8cyE076M4zNj9ue4rRfuGqJT32zbDc=","IYiAQeb+vVRtQnyJCxiDu5tibYy03BjcxOyPp15TChM=","FN21+toBcduAGVuVktjPK+gQkw4+pFdKNQ1l4sv/SUE="],["L2mnGY4fvMfepDJlMGo37VW5G/9lKtaapPqEeJcNQB0=","ABwe3WJkW3Otkxq4Dje7sme6MSs0FA5xbWo3R1lNMFI=","FbmM6T5HvGTOLyyWxpZjxDnEDGAwSUZvp/mksii/wys=","EsfirfpSTllY9lvi+6yAn8uoRYso5E2SZQUd4zFjz5w=","LvwrkNaIE0hJAYIi57iSLq9nznmBbvRoUx7C3lO70Wc="],["DD8FCmv1rxUZgeVePhopoTw/+kVQvSUU8a/Wxfch+DA=","DexU5tv3UgX6dbp5kr008Isu/i7NQkpz7ad4QyCho24=","HEgqJacp9d8gIlgVA0sZYJg2ShH02Yj7fMdc8y2BNvo=","JiXOSKezmkJScyYk5KuUNggSrC/JoUpfuLYHrp/YUUo=","B/AXp+vVbdCG981P1xDFCe1++OMAuai7n7nyivcQJR8="],["KiDjpKDlfZL5fJ1hhsbD6nxeVcIBRiWb4veMLMwuNZU=","EEn4IQVmtR+q+x6aXWPA7nAWc67YINnEQDsB/rcnpUk=","AuysaH71tLVoACvZ0blrS+81emnj6GtVYbkpm4LWnI4=","LToa6i5tREZoCPiMm6kD073La1i6QEQe1OvPEbvh43s=","FAdLsUyYLIHJrRceTzX+SbOcSnpy27bZyY2AO/7WXmQ="]]}})),ENe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon4=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(ANe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),TNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["FEhhRZjgD5jnrn3qRfvYO9loZT74OQzeLoa3Bq1AxlE=","CreykTiOXJ5DwNwfWR+4Ps22UCLhtwr0O4p7QMHf98M=","K3y7IXiW9SyajAiOZUryHoTN51SjzvWxXE1UZmEtat8=","K8aw3b4dcBtlcEKL3Byhvw2ln/O7u5X8K8ccDG5nplw=","EjpVoxmAOE89ILLOy8RO1gw4wR99IOknHvq5qQXu/Tw=","A3UBzIydyBkwmnafTfCY5YiwGFi8jrfieeKIO+n7jFM=","HCEW5H4DqGuxFpWwpfbatrmkYLHrlRqwHCWeyj/UfVE=","LBghNIkDLoWpyMuOmmWDm/rtE+V7wPrknb2uv1T1b5M=","Luj+09TSxxoEKer9jl2xcY8p4iJ5hf3yrYcDyDW54DE=","KMZNj17XqsAEySAp2em/kbqUNtHM6UuTFtERxwoMFxQ=","GKAdn/t0euDePoPHB/iyT2gshPFav1cbNCVKA0eGZeA=","HCHZK+8ZfnOyNOR3e2DbFOZCpWzucVFdVOGscc3nK9M=","CtQEzLyx4ZWJfLYMgJgeu51mpmd9u+2ti2RV/mLYB7E=","Cptt6DMGT5O2rbma9sAFlFy2VMt70UyLl6+LYMwfs4c=","ExKeP5MK7W1HaQMx/wncUWDvpY3c4sPmGA1FvsOqOm8=","DXphTImRUIqxzkiVgTuxyC8Yv3v8nigMzKG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3rJV45W30w1Co=","BiPzImtUcLJ4m4pTBA5ERDOF6Wuc+gvk01AVFYpGhGU=","FjIwhojCXnkPV9aKU1AkEkKlYwU0feSlAJzka4zcuR8=","LeR5Om+ZzRTj9mQiEfTQt7z6NhWXxUT/y1pWfpB29H8=","HU0G0Z6hsJyteQhtUb3hFyWlVPqZVZyi8J87tz1yjGY=","BIDnR5pmp82ephyLKJdDiZCDUKvEqvwYzXXjPdEwwUQ=","MEMLAzaOvKqRJGlgSQvPkX14aBRj4ufXRL+0QzXawk0=","C1ezcyASfUxQ8mkSSw29yysfE1IkGl0SEDKD4InAx0I=","LPSJBlDSckDhlfYKT2mO2iSbjdYUsjN2tQF40t9tK48=","HiIcVSaJi/0S3oaFGg2XA3UaLyOQCKtfm307aRHGQYQ=","KOB0ha19mS7RpY8ynKEq3OTsaT6927KVLlTTOfLuvaU=","L0TWT4TeFtxnvV6tUe+x3IOByEUgwShU3V7zoHms1OA=","BQp2vDLr0d/ivjMPME7ces5xZ6t7oVFvQCHGLPDU+sI=","L1jEXl1lmmfXgTZyQfbDXYy0Y2HZeyiUfSlCHCcFlKk=","JejamuDkLoQOBLIwNw54K9tnU0hEMlujb8fl4WDGanQ=","L+xzTaIP4yAD6gTxJ/hEck84o2i6EMKVRCUr55YED38=","KIpnePOoOYio7Rcn8V6TtMsU9OOju7kd1tH6yv/9Xu8=","INzGx1/Yklm+f0BnULPbZ5olqM0nFdJFuRdTkKySLIQ=","F/QroQlC3yXLilQXgqGLb9Mc+WXREXjHsErEW03qXdM=","Ao7rhdEVqQQCDgxhSO7GYD6c7avGZKvudkqv1FWYa6U=","Cx187POnmyrT+imPbOp66V2AwCmezJGOn4ycPTjVnUA=","BEAznJdkzsecFu/bg0omJh244/Es4c9yLSPA4R/0zwc=","BspkfClyfBlioAIXfaLVBPSwel9+tXx5uI5reru9rVw=","LqEgqGT1xAk90ali6PATx7jvd4sE0rpb/DyrKGGbqeM=","K7c3VGxK7nwMwrqHwRV+KnfEeev7Xcd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Oplzjj+1pWm5TvcbPkn5D7h09hYXMwcvQ=","IX1m22x/s+/6UIgAWH0us8bQPYOFEy8vzOfzXycFzM8=","CBX7hZH+AQOM06OziyNvnvynfGGNO/xsKn+okpbH5k8=","K7lDtAwr1FamwXhTscqI6w/zb1l0sv+aX1CT6b9joW8=","EaUVP85llRPufLmXSubLpYHjtM0UVwxXCf7D2NP8guk=","G3K/0HY12FAbLv+HhaJJW650x2U8+Q5tXJ8URCaDbfQ=","FJAsBwDuyJeuF4uoyvhQ15Px2HUSvqDs6jnPax/uIz0=","CcE4xuCmFqSf+Q1DprBD87dFt4hlhW3EwaReL9hMs/Q=","BbWKPc5XsoGicdaYlQUtiHRYpxV4PoMX4CSmGjXsELw=","K+jSlSXAz91eazEl473jv1WOVfvoZ/AkRXqWdlR00Dc=","Bh1y948bqdxrTX93hCJdaoG9/Bta1sJDafnAVgUj2a0=","C/GK78rP+r30ES7drcphRXOLSAOzYUW7lRbbUBoGkuk=","LnPdEF+osuyTHYzfKexnnjqYAakwcafV6jBlklXwO8Y=","D4RA72Z8mugTN7pdjJJ6U0fecpaGCyEcrR7L+101mO8=","AE0wOy3qYnsnMb6D+TrDTn0U0XihOABVjKc5Y5XrEY8=","I0VBrXIECnDaKZajUmkjDJRpnu8xOk1IBQgAjLw9N8E=","DRI/HnLSa5K92P1z0UKGwxKtTCOstGsuCMFXEEQJ4XQ=","L7Ngd28N551wmO56pBI8Be5rBai+Rgp3TzoEjhOFRbs=","A2hcB5Q04WcnbFfTzHlwO339xBwVbqHot/mbaValUyY=","Jgrw4P/8yXcsFjGxeTRFZrR6qto2geuQNMb3XDcFwcc=","KGK0E3T4m2lSdLM7dz8lVJFuK/+f9nJUX8L0lWP2J2c=","AqmRL+FwMQInGJ6h5pHQNi8Ys4tACw7/GSyllRPrqNU=","COUTreaUoNisHz6/GpZEDTLHE9UFjhIk4HA0jCgfSm8=","FApKQx4u55QA7XRll42EdzITxigmT/gPIax6a2c9Cas=","KWr00BnLXffZWbKdVJw/BxICtOuotT3F7pee0UM3eSc=","AYMuKEp/TIFhSIK2k5/A8YVXO9ICPj5QV2VHC7gSs0k=","GoTVame/3T2WWr3NMpqnjU/pNDRJby0QOGH9GdZtcmA=","BAy4KEd3OSfSrv3AdIkDep0fdjHsp1yfsN2gy5294UM=","AQ3PCEzCnLfK7PJqpjO85O0rAZ8oh87nsaePidP6vi8=","B+3CKgkR6iFEJe9UK3dtsjsP5YF4ENQMcsqYqr2a+oM=","LupKsIrsd18hSEeeo2+7lpNtpYuki9HS06zUgXOqq+c=","HkDA6CV/5KYQBc3PrRSM9/R9G1z936oIJzhpVRgkXxk=","I6J4CVg70epR9DbeVEPhCPadRM31HcHwPiGUi0mAuHY=","LkZSsETb/kDmO2sjL81fPzmr+9IFHuaK3HVAgNSSUKk=","Eeer227Lr8Ln2M3v6ce5xQR160dds8LK9/fWf0hXdfI=","GZ1SNQzDDoxzgh+AIJbw5UehNVGye/a4mTlvY6xc+Oc=","D1ddbuZ8vs2YNFYk4DKjfIWafL7zCz/dyUnNCXhIQQE=","HEtvmiritBjmJlrLqclrBhhNBwKOX7eE80da53cv8Fc=","Lctc+Ilt458ijhV8DFWT9GJvubwiUgY4PbIDYKvwySU=","E0CrufThExhr3CbL30vMpQtTGhB/hjylRFdePPhw+OE=","I2jmkrcnh8uIcOqIjnFOAG9Z0rRGDPt0xIqMxzsdGls=","H6ua3ZuqSk9W8jFld1xvLZIqdjKpT5Y3S33IUnVvVLY=","DH97gjANPGzj+JV7oeSt1UxMAV4g2XZdIgVxwWq4aA8=","FdY+hr6s2Txgg2iOXZyPPGlHkp+fH5mrV4pMOpIu/wM=","C+hDrl+bB+UlcheK99ro7QXTaxLAYHhikpNV6nQCPZ4=","EzJ0nFI2lMtpNeCWOgfoGwWWfOHZUMC3MQWOySp6DJo=","JUOUCIEOB0wL3UWYuYFf7okruVylECns8Am/+lubloI=","BX6NGd2ZmpGNopsJQLODup/RXbCw9kmW3/Z/61X5p0I=","HgFON+mxF887SHDZmfK1XTU00Ka+mOnjV/pD8B5wop0=","Gk7STm4DrrzWvbEAUz3JZll6/hXIUbS4Y/boiQhMZHk=","JTQgAHCD8aqGOtR2CQXBA57UERyfBT8ncQRS+DzjapA=","InahRBlxcJr/5tKpkyAAHsRexyFVxXXd7srA4ydZqwY=","KJV90SGOp5n9NBHrGTJYU633rorhKB91MwL+fTHfp7A=","L9klcmq3lMiL11eWqj5/HmaS8pFM+AImfd8B43kCoAg=","HPilycdqhLFHyCONklPNVbR8DEPYKWbEY2ooZ0cF/Zo=","A3PLvDBuG6uecHc2hxXmIwtLLi5KHbnGdLjDWaQekQg=","BgKD0v5/I9/1E9kRCz3GJEi8SPUxzgweq1kgvyMpCkA=","DatGXW2RB0DzPvbMDq3HG/gRm9/Vo1J9yLv636pAJjw=","DLp7y8giSyqOSroXl3IwpobNZCHcDKU0bzRGtiQ5xMM=","HkNl2weQycT0RbBlPEZv8h25bDi0B2uovWi8tN6mkR0=","G7LbohmamrO8hu9fnef2xcoT1g6rQs7WjemPxkOACo0=","CtPBhwxtbvQO661SEjzRopE9nWLoC/usroEuCCAh+co=","AbCYyR57DLtcNFiAd8Dd+VMA3fYUk1YwwM46JickUwg=","Gf1cDqwU+udZi9TO6jseKZiwwWhJO21yrkG1duVbnD8=","DUdJ15zBY/FxEKQEpG/kJ8ZDTz/me357TM+mq5W9fhg=","Hrv+gRSkG7gJ4LMzmSQSMuuUCthyjIpRbUCtpEDb/c8=","JwTlthM9l2TW0/F9SdgzIj45N/gOufrqu/upuvS0wbg=","IWXhyAJzBbGuDjI1cWNeXVQNE9cQw/mjkLaRPxTQNeM=","LjSX5NNf2llsBq+mO8Og8uVdTuukrOtg5lCBrWOqi4o=","Ax2kNF7s1ttsD3sHx4Fdet0f4FRtc49NeatcV6qEHt8=","CJ7OVOR6pckI5D5fCHN8FDaWcIkAasqxyc0Z6sSiCHY=","L1PBXire0zxH9VoHBIPmzH84Ifv4qkBnfQVS7Z0Q2Ec=","FCqjT0suitDfeiGz45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+Za+JHrNbdSsrWDTi1pHHmMiGI0CwTfny0hDd+w=","AkAXbuDnmC7r6Spo0+OjjCaCGswPXQWM+ME3vKLSbxs=","JjbglzyGXBvZdN142qqNCoTNr2vhrUfs8qDRjxFzGPI=","GehPTyWnmUlgQWYdxdl1toH24GdEzuibe+XZ/eF0SsA=","Dr+JBko68kfKHzb281cBiOJx4LMmxPsmZk6J4UVMoRA=","Jcfpe0db4A6LVZo4xFI2T0ycUx/suKxpj3/XPOIucew=","BETJnlkjU+WuyqMCrdkBwU2MVScKFgr+1EKe9VmK108=","E424iHgwVl8mk9Dg8C5OeeFEln8LpTsDUZq6dktcmUo=","JNQPRiEU/p7gKq/PdLT8ok4a42XcdcO1K7E8u7LyHt0=","IeZdbY7kN2C8pA5zC130xM86inMtsUj0spUbTGHWjow=","JI3XlmnsCdvwNQoV1sdcapvarO/KFNUTAJePE9GrbRw=","K4I4wVSPnL4p/TXPkee0jw69p+Y57faf6NWrp5JNU2I=","JDn9I5JX84GBx7489RPxv3I166lPa4lCqUy93s9vYvc=","IAlYI1KBphuixL4KoygqGMdLbSYvXefC4z0rs+iT3+w=","Dh7KXfiO5fYM+n4f5b77txn62CEfqbLQL8wjMZDBfxI=","JrU0J/mz6ix2nZxmD8YIgaFpwScy0AG3FY7ksbhCyiQ=","IPOz9Kyv6fivPgZmGzqPd4+igSUiudcKZ0As/42ysbQ=","IR5dKznWJSCnpifs6MrLrJ+XUG3vTsKGkoumwn1GOxc=","C7dD7jSAISnFVnMa7Z0wLc0IUxPOVy9iQtE4MuU2tLQ=","I8smYbSI7nHkx1P/I65L0l2KRAlPZrZTKXfiIUDrpcs=","A6NaoxI5Ec20U1uu0zWfX2pSBbnJPvMdNTI6R4B7i8k=","J4A4SKCu2WqT+pQ7ZjXkUCF+E39K3nSmLXkXMicUtpc=","DLN4OcLJp/95iEy+x19B6b5eR8dtYVOCMb2BYpltb2c=","HwAm0L8fjh3VQjzC/sH7XNqh7NxMPLIY287vd8ANL5M=","AqfX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kpuk=","MDT7JDZhI+xtyvytNXJtv7FhlMA23NZI+mlDm/zQDNQ=","Gqfo9Bicqd/z2yq3ZIvgojkplc5GBB4EaA3KitcjLfA=","H6GV+DSmnmI3L2DrSX2hZ2RurhQVPYA7OdxdEfXXgAs=","DyPxx01fv2GVrVpq7l5WmTxUd+hFP1uToNe6/TMwNtM=","AWVW+sk0inNatQqgiclxUbPKrwogo0+52TcFBaFRVyk=","I9kreTZIEQ/Fru8GM/DHfKyw27yhh5uKb25d9EXl9ws=","LkwQ7F5l4vI5u8Q8EwMd8mhqtA/XmjBLBdYRuCPyO3M=","EkGLv9d7Y61eFoZK2cMv+/xaPdm3jsK3kyn+XgqNKVM=","HkqKrOFavB1bdqnoSEMdLAanj3K2vrsSk+bFjlGFaW0=","Dz6WEH3s29aHLCDqCaz5LN8Xo+4dEzFIgJLZYXbet1U=","ASw3gCB/OVzCHesKvZUWge6jJJjdumzol6j58MI1cGc=","E+qxtOZyuhscG7kBdpMB8eVlnQPqEMYd4kd/8KwiFCE=","INxmSrsgt0VsBmKc43oeyxonpOiyTjG0i5xGNaowMj4=","LGseLP6njiw2eF52qM+xsFfpRx8k9bORF1w97LAeAA8=","GIySYlX1t689qWNVcpwqhnCrTCxwQASBsqyQN0Dgxas=","L5kTII4J49bp5vumOE/QdquJ8mYpduPjDghwuzDrVPI=","KzOAPZCIlwbnFPcgtWKNJvtgtUWh8+nOSaaukSsCQIY=","JsyrwQ6wQyfLXMPd4quzbwlwhsl+c4wTPJ9XB350iwk=","GxauDXxUQIy3X9kx8kZ1HysMPcINeegqJTG3bCK01d8=","EdC7RhvYryhE9J8PhAyU75UYslETRHQtH1Q4/j1BWuQ=","IzAxhHtHa+rQEY09szjokTPsQg1nPlBK1kclnfZVVx4=","H4TpeJW+5DjrPJLcmxhGya0pwWQ4ewautu0YQe2MTco=","J39/m1QvDCu19FvtBU8JYkU2AQw8+UUtInMZMyf4AdY=","HvyckGnlBouqwT0uZkVkG30n6A/CMHcWFTXERoLu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U+nTqnyvnZiw=","Jzg1WVYpgTiUnkQhcdak5LdO8gZXQNt8/DoLYP1XOss=","E9Nq0KTr64GWl3hkllnGXLfQxBzFGYcf23Gp6moMqlY=","CKLBi6QTgTSMGs+/lhdxaAa0YqFpG8LjQ7ebgIXjdrA=","BZCS/Dla7ShYB7v1V62aEEH1nAeYIrEIhFeIL+57YSw=","FhkkFRtaWtLYysEZUiqZGpBvFehTHccFZ/ayg3HMJOM=","HGjKj3qhdlkHVAXvY0G45popi5pNcvO7hUswnkuoehs=","J/XQO8ocggf3I5pLLPc65VmhWqN+e93fOqsF7sXOVZI=","Dsv/SEaWKpddNH6pqPxGX7RoYVV2IvLCVkp+Y5gzwWk=","J3xN4jY9i1tFbPxaf/jkb/LsjapZhV9a1kvAUh86xWc=","GxGGLFKs01G3pGR5P0+7V/7Jn4MrYyJvldF1yNL8CLI=","BqcZxYTHT/vdchjrVly0yL2GyS49+zxz4VJyAapRI04=","Iw5K3uy3mYd/fOmljINrmdUzWEoZXB13oxOr4cfRJr0=","ELEJuGSAnEdnoTPM5sutbIhigXO46lHozKhYMMp95SI=","DiEReXDc+9SxUmslNjbzd1ONO0+q61qLJL9iANFMxZE=","Jmc0mXhAE2L2sXk57rDmT/VWB+vbNccHHbRrs+e6R3g=","BQAPpf2lBeApoTv+MEwmew2GxywDm6v20/8C7iRr4C4=","Jk2eCUrtX0GmAkIiCjSihAiQh7JDapv86BdMyb6MLiA=","CAdvnEdD3mEw/2Is9AHt0skvJL/hFPPF5ySJF0YxXEc=","EyNwq927Cx3VfypSDCUza9fO3pS5W79cIVHW2I5kG2Q=","CP8RFreiJ7/f1EZaZ4kIgrYVyMTBfyjY0klY7fYC3cs=","K8sLDbi54+ArfpwclGD92cbNmFYjMuZI2KPgq5RZdSA=","EupozmiBvsrX+KaxF7A6uXb3q9WX+QOwvyMNINIalDo=","J0OcmKdmiAZ6CXsZtv3X141fiOJ04Nj+peprdAb92n8=","AvQNCtBfVlLjHvlECtcevIQZ45NJOT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GMMy0y++/xcp3lBWomq7w6Nfo=","COzXpvFzXu2GuqCU5gj0iPONuzmPz+1LmUODoMqORkc=","HD9dhuWSH96YkBifHYxhh1QohgDmkovBgqxNXkyfDMs=","KcYRhO2dRg8zdVihr2Oap+PAl15AFO2OvK1KJdUeq/M=","De/UWyiVhygiituy29rval6bGmSQKnNPQCuM77irO1Y=","CnTqItigkzYGBhAXmsHYL/+pSS33be7U6mDgEzsIEag=","A6N78S2vFADSl6xKwTuiTBfcJi2xbIUj3u5ODM3ppoA=","Ef4XkNWrv1k1/yIxjk9//mmWatovkTa1T4MOrLCmU2g=","AYFlhC9AY3XyNGaGkVr7FL8f4FZMiFjuO94Kuj3l9o8=","Jh2yXnz/Wp+3LydrH5JgtmcwD7fTYbUP1cDotplbBfk=","KjrDMUsrZueW++Nt93jF5GlyMgzEPsgHBIgmtnBLp8Q=","I8qkuA7PqZ6dP+orvB2782nRv8iTfQPQdAYcMP2M12s=","J9smAIXiJImN8UXyP2NfIGbY5OEk5YHoxiYZKbHf4Qc=","J09sX9NKeE1rkV7wXUJO5sC6u/Np55qxOLgWe1YY7H8=","LDop4TqE0moJEckona8apM9YQKraBwHVfiPfx5babaE=","HqIQ8gAaM00+gB9OUycNQtp6rzF6VTtCgqp46qIoLm0=","JU2+tSiEtpnBun+g1ugNYQkDsYo+UJw2NRzMOwJJRuM=","BZ54HWWJbr4OS6JtwvKZB/R7ze2kososcT2FBeox/V0=","C1sc7GPULV5hXcJpuIWiTO8wPseMly3RfNuz6RXMT/s=","KnwBXpw7LFfKi30m05obzIXW/6y32fvWbSqPHWTtDJI=","Kbc2uRHXGnnPY9im94bxG9Wr7iQWHcVnp8hR6uHkO1E=","KFdFqQp/49Ca9agIcEvGnG8XAeVzkS31zB4mXVlsQUE=","LZAbgZXDyWyMNuuZ/sATTsK4MEroEL0w2lVOMICCZxU=","GQXTUYNV6rp4WbWR7XuMnCU5gPBFDb31TXp3groFg5I=","I+gTAm/AuABk0ZtcVCiUL99+/qgL+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=","G67xy1UJtSakIGH7U2V/mbMjJQDoVRksvoyUDgaMR18=","EyRWSse9+eIhZOmFjX+o42ixZerqPa9Otn7lnA3y5dQ=","AFdhuMauyxqMpOpN/CyDdgZKSoAEzu2iEKVSQFYt3BM=","EMnigxWdWMtMsuNf3oOjuh/cKAAu2ZY9KpnxhheKFI0="],["DDmen2eqQHB6ID/u+wuVi72tzsXKNJAdJT0CaiQZ9qI=","CD8N8/GgNR0DMOw/9gLKjMNTt/bnYscQcYTNe0I0SfY=","Gmdk1ZQ/xKcgtMChn9uMcRmEMHKHpYubX59dWCEssmM=","ARpjom/qv4f6Zr3mbMJakiyWOC12xqf/SPFTe+rtaDo=","CMp7ZGV8NUjzK+9bY60kKIpBwLJRCZrSf5Q0MH4+ZNQ=","AZmCcEcek2GVVEawzbi+qRXsBnXxzWSN3LBDA1B6RIk="],["HWs9X26jacJvgl0jYpM+qjHqNewKd8H72eAcoVI+RDI=","EZ7xiLs90NMjBpdsGZQehmS+aH56aWkton2iFabwbUA=","LZ4KtcBok9/f0DSBOBuoa25ikt9WCdcfLGSy2aefgJ4=","JfFmMb93Bg9+o0CHwCW/E1eEMZ7wjNouMUGe4KUp5lg=","FEx6EdpafF2rrj8z+9A8rYbRi8WUx5pJfsuYlO21VPE=","D5cRYmJ3I/P+rayyiwwQTLj3TeUIdS+o18DbKvE96O4="],["JL5RAJVDYgbdCr0LDLuVyIOrMEqlJZixppMG7JgaaI0=","IRYQ4q1KN3Qm+t9waLDBpsKZoWTBwaYD6u2USHDQubk=","FaZ9mBBBsfbwnz+evv2GTnedOvCBV3hqwHdQXlDsefw=","BJMn+nnSjBKiyCQGlH938Gd1sCh0aLMTaHdwHb58lZg=","IwlA3MUjJlj/nClpej/UFtFw6MmY8aqF3qDELXn5Uao=","GxIcBJzRFZ4okAfgydqZlcxLq0wm+4iOw5cqii5laWQ="]]}})),SNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon5=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(TNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),CNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["IZdwP860y/B8bb9GxK2T59FOVU22bQkQL/hIJHQ/5Oc=","EyLw//x+SFS9i1/CPnEGtR9ZvVBh2LVlrKL9Pv5RL3k=","GeQU+AOAqi0iITMRjDN9gqjFiUwviIYe5G9Ej6nWE1k=","IiQRmaTfnLfWUknZViytbGXxZGDnmnk5y/3W17kgnZo=","AwEGFzU4Tfzs+aMRwireMntRx4shFhX0HHf22F6KQbY=","Ip4dhsHygQ9KJjO3tLW7YbfcXRmslf2NN5VI/ytoUO4=","DjHc+cUyCagX7rKS6YlyfD9Wv/ZYg6/l/cKKw9++pnU=","IixzGOvpYwbJ15rBEjcmPGuOslJy64hAfowpo1i0Dyo=","DLQWtCxTqCnPT8gjvo9P7dElkzlM1SkFP/TjYEl0osY=","CJJynQlZSo2LGt+/Li7XU5ne5hKEK22z0tLCqt22wKo=","GOOemuRfFLqXoVvWcnEa4SQ3XZ9IKkSHoOM03uLSfHE=","JWDJ/2cubqaduzOETQ0ihwRh0Y6vD4mS1NesZJ7dZhA=","Ib7iuO1UtybvF/dzZrHc+9p8zx5If5kW5flj6BTFcxI=","MA4bKNq+vcDUvbwZvimj3uTtqEJd0MfG6C/sFHywcLo=","LESl/0Xe6mndKWHWcBGvSYK5QF+f443kpzLSrq6IzCM=","DI1Z/ht/VQleaqrZ47Tnsck9h2ujI03RrF7GQQgpG/0=","Bs+CvF/RFdNIowsMRTeNkMyhZgRGugSXWfpTED/NeLU=","L4DtAaIRjQLiFFERw/5spw79+V2Kvq7ogpKTNH3JBhw=","C9/n9oA+Te57Am4HkHWQjLhBTj1lHdEv2mffCN3tnkI=","BsxI7YgkBVlbNNOROPULtbMaljoNumau8XwZrWIuKbE=","Kmfzum0VlJkyrFYiz54rSTgBvxalAzakUYJ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a7ko=","Lo92sntHQYDwDFpsLWWFC7+WAZvw1227R0OpcPQqEw8=","HjOYQWX0fCBKM/7jH2E1RLfYRqfV6kUoDt5LNiwyqqQ=","F/IuJyUr3PkacrWesnamZs5P6nrfussuqf3yhSS3tD0=","AFR+fHDuTj+0pNOGyLqlXYI6DwK8ljtDA5uIR8/25sk=","COpMy/gVvjJczRVJTzjz+XFTqwnFSoeoUrKplIByTiU=","J3y0Xz5jJxhnO6BdSMcS/nQE357/VAHOvkXRlMZ/qNs=","AVnsfqSarbOosKI8HboAI4B7DQmdPEC2nfhmqS3Iezc=","DDNIkpfiRJVt5XnFwRKrQMf7LYmGaihBj2YKhu4YUk4=","AbtPy64oovM5lWjGs4Sdon1t30/mrau1kRUWee030h8=","KiM0PSSpz6O49BP1LuGyM85MHVub80sD28bXM9UjBck=","Bwem1RWzutA6mwbWvgSN76hQE0qs0SDzj6kyZAFrd4Y=","GDfbVAHdbsMLprhmGE2lbo20Of/QQVTsRptiEgzjXLQ=","JEhyoNJ2a4VH5ralr+q/GY4UCaDwAm3jbBAXk5UvbPs=","IE+xeSfOhzx2EZY5X32kb2ecozGDKln93SrjHoTrofU=","BW9TA31djvx89qb+uhjRAr+Bi7unC4bdm3Y6EgcvTC4=","HfS8XXMjn17DuJ761T35zYrY/KVDvgH19A/qKVIHG9Y=","H/tsy7oAEVXUbhZ9H60cE78okqyHzZw0fHNKte9lg2c=","CO426IFJZTmwq9ZH01PlG2P++R/JRIgABvLCbC7PKiQ=","HDCAwlREMzKj5ig9W6tvf86KqmhIe57k43LLxswXJmU=","LcYEBQDnMp91o876TbSfm0cIWxZg+Ic7PoG3sa+Cr1M=","LIvKndKTu2fbH2b/LoIEeuk4XOZ9fzNWjNTCFqiZlLc=","KhV7l4b5Ikz2Nkiq7BufYcenCH7W64qyDGxUadQBt98=","Hg+wzdilRZHELnwmuQJ7d0F+TmUitHK/5h/4nDm8QOk=","JQFE0c6gM/14vXPuTqTP3NakL3wA4tfuZ5TUZCB9K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qgR7L4i6aMw=","HCgDdm3ZCWVnozZgYXZPjJFvKi3WQLbuwJQsy3XUB2c=","EgF01TulfRoUG/QOTHBWg2aL1VgAAAqrbzR2a3tldaI=","DDeyUCD4x26lU23lTHIuR9AXldMbXtc0ZufYuK03bUY=","ClCPNFzJqLDDC6J2UbocOtg5gCWkAApcJQAijET6kbg=","Eq+kn/TYtMbDcvfgZYQHg8uUl+6syEejQPYfGCPLKo0=","Kfw3617HzQBICVFreqPHFvT39ud3L0Q+BzCwHdUHGlU=","IEj7nB/aztD9xRWUkNspd+V9vL/3UUrR5SonG/hN0ag=","AKbEIjqr5YPombvNAxSkdDGB8dXgPbwRyKTQJVD6tk8=","FfRiq1shwxVX4l2cItjcagzKk8jtaKNWVc/3RWhnZNA=","J7wcmvaO3443MBlxJL5VnxRy5+O7oNNeB5stG55Cce8=","Gi7BSPkA7q44wNPW79pk4UaSnHHrgtoxOaOoWWjsbrw=","BP9By1U8phbQYWVFki8gMLcbI1S80cVdfqvK6okEwi4=","LyxOexioRfzWrdZwCfwjexSphGGSYKez04cS4DoISbc=","IpJcYGofCRwdXHEi+OGo/+pqFAAxEGgmrFOpxp2EwKs=","EOKox7Er9wJmwldXPKJZTYgRYz93gi18IysynFtOcnk=","FxIxlZWuRkmSUkv45Ii3g/pFs1SM0/Fi1Ya84x7HGEw=","LpYWmH0zMziOpaHLVrTBYfJ5/xlFSmSt5D2u1NzaXAs=","LGghDXVmDfXZqDkqKAXqFhL8YTfPWzWmj8HwOs+/5Mo=","BTzzcHKD34cwtuH2N9I8Z7CzUzBho1vLDLD5u+TorcI=","B1d0kUg9A9d2nazHlge5iXCBwAld7Nzj0ifAWd3t22Y=","BWObIyTAsK+BxbJWymstRrler4Vfwmztv5BBExLeShI=","DskJROuPw2xS8/0TdjcU9BzqH/SH6jnXC9lOm3+PFtU=","HpbNOsNFuy5b0+dVki+Er68wPW+yJ/xo9wO5NmX16pY=","BAhCVAXGa6p9SYWObVhx5bQv/rsN+IWoJJQtoe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bXe10jwk=","H1LW6awol2xab78WjIGEeGRckNcuNnYJ19eAWmNnSC0=","Kg5gNWh11qzhBVkys92e85w92HEJHpajI8FZbO2zXms=","AgiWM6YZTz7Tju7CyPVNDH9DSTj967nA4YMNvlMRw48=","F4xz0naXZdhTgyg/2w12lFfP7wYSuqljM2usEkC2BMI=","L8ILyrqePZbrzdcQ47NBg31dDbhJ54nyjEvlAEr6GaA=","FRpCO+5n+xTVrSefQlIT234PIUlJgt+HI1TAHw9Kciw=","JdYWGeE1aQxOEOSv609VeK0PjiXCBzU2aJWzHuvN9H4=","Fd1Xm70HVCkwHXKV0+aF2DK/nzbFEnfQnyw6ZksEXNc=","I2+im4FnjIoQn9NhwcqQrfRCPBPPW4zBAytyg7zJWbE=","KoDLrJuITiA2hpG/FWfLcyBTepd9oQ5TxbrqNEbAHR0=","EdTLiVeTezYoo7P00n8nbMDBebDCKywT//vehf2RI3g=","Eom/jsUHv3UqB8m3HvwPgApS++sWN8UBD6VOratAKUY=","JvhCsamTlCl9JXmfLwPcnkkD530t3APsL7FVRm2m8wM=","FZRLmVS2GCMU6Hj6L54JHcxA6txI0305vdXwmQXDo2k=","B0IWbc2OvYV2pr/g8f7RN5OSj4RELHRloAEvWEQm+t8=","CGA9Wg6Te1NTtWsFdo/VC955LnL9YcBjRMvXNXB7aP8=","DKoXEcZukwG28l4hoxaD2Av1jYYDLQO/0luXd+23SnU=","LWUG2mldIIff+HtfY27mdvqwDDKuRcdbPbNF8/50oxE=","DZJEsHr5turv9vhAScsuAdddxMtoUzYG6Xa4swB1jIQ=","JDq8PDOC+qXd4/HDtDIELT8DDvah9UAao3rNFcscjEY=","FoQW4KbSddMO2jmJJC4HIwJHJ9OweRsG+OG/6O/kAZg=","G83u8DaT0a0OqAxlaIZUr/5jSqFMsRrjpJFoHZxfjus=","AvZr/aPSob3tsKuL9+scTlUb71jZT61/fCMRB+VlOQk=","AZ9oAhcauCpZIvAj/ezAl+uKwf0KHtNJr+mnuUKYl1o=","GVocc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dQfp8DCkLG8pzPHJzE8+WlsNvwWHTV7a3AP+dLlHQ=","G99mux1X/XiOVO8p8G81/bJym3GM6BFSzzqvxklmEQs=","J1wz0H+eczjd9QeDvxWNUb5hm/d6EgIM9WMLeOfg0Lk=","FkEVVOVf5gSh/xs7W3r7aiv9DzLEBwtVvxrSNOiygRY=","Bz5qx+avInVXJJyhpcVSIqNsZBvChRoN/Ptggx9nWag=","EKb96IxfYh10hUPHaiGPlcICu8O6ygaDjzEzGwVW4S8=","KcWGWiZYjKiogSigcshDTMl6G87CPhNvA40p3PlrDrY=","Iz4O9q0TLtIRsZEc3VaVdv6owXymTk1d1Rb8ygchLBo=","CW+bkrnPLH1mRAiimGA2X1tq3CONh4pHa97T5NLguEA=","L8eI/oqtTCi5Q7tXy5Dt9tex8eg13h+/MZLjldt4VVQ=","G6wO1gkjMUhQN5X8XhFAdu98nXIrxkjdAzjZaJ9uAjo=","ABw1JoqgMNbNFI4Qbj/CMJTlYVc9jHKmn8ODZD4q3II=","K7H4/l2ZjQuLkoN/+ye/56Oc45/5T8Fn3cyVpyAuNLI=","GphXZFCkPl5wW5r2jNDBRUItojlFYwsQuOgh3WH5orI=","JxTTfuUG77wrqZQQQ/sj8Wr5ZvEj1lPzg4i8vdUOYDc=","F10EgLoUq/C8uAdaA/SioB/37XVBORe1PlDqAMwqStA=","ID3kWgN7de9jdhdQ3OCNor53CXAeyBWMF/wCb9CE1UE=","Jlqr/Hi3DKmFwykIDWMpoSVg92sBzD1DGnKDAiGTq/g=","E1Ro3763Dowu2v+shlimwisq0VIKwIGcEnry6l86h6g=","IWpB4kMp3tplqKggAchM6ChsYXWER/8b+p2Sk7ZxH90=","KIftSXl71mUr7Yu5muNFrXDRonzbIblGC7b9DU/kguY=","A+K/gmkMgEu27jx52r0YkupTqYEeJCShn65Ea4rknK0=","Dm3OG75unkZcvhTcxhVhGGdBRnbdiozplGZJscToERY="],M:[["Kr2eFre0gomqGc3+xyb6P6FcwWJRAq5RG8pF850zfp0=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MY5qVB6M9moXQ=","JUcROoGHefE+NEhxnH7xALgDa7Pogt1eZFbDUxHBvVs=","AM8Uj4BFzb57sQE/cuvUEmo+NcupqXBEG6jVvHaUOws=","MAhCHu12egkzIqCcNzOXOgOBaMsozS4fcJB2wAuGlZk="],["FGP1HUpMseuhbbwRVWaqSP53tDwkTJmIo8ZY0vVkk9Y=","Fq/Y9MOQOLgAalnSkq6oRzHA+DgyphuCJQ7ZARjo/sI=","IpY2HzvxVO+6uZaSGTbpsd/4NScR+VhjgXIFUzPgdXk=","HDFg666xD4CfaYQ8+NW7rKGY0fjjQ5vim+uS2QnsiRw=","CUxmvc/1Q4LNkhOr5DMS7bW01BTG4JrMokkSp2NUBMY=","Log71AjEyCbQBP93fXwJOENKtbuE80IOXZS4U7F0b4k=","Ior21CXpGng90Y/Ymms4vaBT8vI8CUuHXyfLOruiAws="],["IU5BeIvSuZA0fH8qj0dhLU386xoebaOBZYc99mzlH1k=","A/uoLT94NiCHPalOn06EyLUp129U5LXX1IBScq+bl3U=","BmeC/j6GneLOvX679g+0NXhTKd+xKtm9G05G7TYolRE=","HFzWsj7zNr4B76N6J+a3quXRZD/O6yEs3/UViINftTc=","LztL8PEF+I4nJIrwlOKf7tn/P62aeU4VgwvSsxFTlFM=","L0CF6qn4Cmm3Ofwj8v5AV/ZHKbMReD/PqzoKNvwf9DI=","I2NgM0npT1IPofmP4lB/aq42GTQHiqWaFiFMCIGFY4s="],["BUhUFyT2TiASgmCJmr6PvN/xhKGVepOF+3FZI78Px50=","IcXiWmmRNk5ZogXlsByBHe6wlWgKcpKDac/S3nGxT5g=","EcXMU/YzjIJYF6/3eSou+86P/xcTANQUVaLtrDdmPQI=","J6CUn9yfEElcTuchSqDt0q2O72j1d9qLlvnYejlQS/k=","HH/Gjz+95KI8RV7w0NvODOVWoBlObVUsBFXLtbDCMOI=","EdD1b8AOfYWzopOf0zmR3Iq8HO0MPzxTDL+0UA1j3pw=","AbLp0g2bVd6wSMq+Fjbw6WNjvsiGZ5y9kfMy+yut5E8="]]}})),INe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon6=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(CNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),ONe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["EjmS3zudqmUTnsE/u1L300jhNDM2hMFZb+sOjYw61ZY=","L6RvXbqZCc6ZhKAeKvMLVQ3+yXi+krSRGaOVnH9iNwM=","Idj5TTvZjwtjp6rLF1ssyhOy3YqM9o/DbZSuKUAbLSw=","GowGxhBG4Pjcajm8V66g0H/X2zTmj3NXnaieEWr4frg=","KYzXBG9YwMq3dSOlim/f0UAbieeuXu9JlEQtFn960dM=","DqxzeWZxXfSiCzGraT7ahqB/PoMPykdaZXTWf8Xxn2M=","Brm3GLs7bUXgy+bV2aLwlqd76wVoIXUNByJirypwoz4=","C8za1uix/fuoRqlVP8eQWz+W5DXWU+7DlyVl4fu8MCo=","Gz/0pryEkJk6u3oAI5PNHBwAf0kkD/wq4fEFfPzYx60=","AX8MlFLXDuzfXMi2sLIF7C2h3ll1DW0XCXUYMbfkziY=","DPGrgFvEehA0mudxNeqVpBRKbtBxj97tQpccFgeRsmk=","GNysrGExivZEqw8uYe9IwpqK7PoCgun8MltcAocQPOA=","FvuzvfQGbisvBQuJtoXUCHEWhdt+RjjeyQqxzHlDUP4=","Du/QuGF6Hs13Ef/V9sTNBJZIehsRRunz1TJ1rxj8bG8=","A8cH0YNQZvow5ylaCXpv9GO4W3eMoR2b0piNQbYAquI=","BjrT9uP4RD4JCK+ZzjLSwJYG6EquXjrTDtYNemYHOMs=","LPZ8yc06UxPZkuMVAQ2Qy1AfeQu+NaFmOSpR2Q0Rc1M=","Km56e/fBkNTk9/JY2JDdQXgOKPa3Hok3FvcBQPRAazQ=","JhQEIACbbYxzFHI+ZpJbrc+YRA2mwrl7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Yhko=","JGiU9gcfyWMPaRh8tatQbAUIQRTS788jF4C11LXEoMY=","BCJAgbkKZ3dNFf+Y5hNEk8AZJvfsJQU95WIVwUXl2mc=","DZnP52SdHf0pLxF3O//xzjZFzkISeH7TacCga2ArqyE=","H8dgIzM7pNwPKo26+7ob/zO3U/135rG9xMeWoDG3gVo=","L2DgX6H3RGc1o3F6nXNyilsgFmU3/+tlcH5fdQPorPM=","Git1CJIfoFT1jKTW7rEzRTZjyJedYhbsnuEkC4yJToA=","CgrKSSS+ppeaVuR68L+hnB2311a7Sq3gpY5b3dfdy00=","JiojZcx4D2JVfIVFZvosiCLm/f+OrbkJSfqlq9Y6f4I=","Ga1aiC8dxJcUKVRd2j2xhXscoKJGdos6KwAUulowJDk=","Jh4zYPsjwI6HuPWIvVnwjO8Hu0im8SJqZM3H1N5+lco=","BpzGfK5G3tGP3HJcnK2d1k5EXJkCcbDi0szEL9zgv1k=","Fi4hiWyNH2wrfsFvt65++MjuGSFq4Ymm7y1+vbHOYsg=","Eo1CwIRE2JVoeZlaEFozbEJI/5WBE5Ei7ZydVUZO6bM=","Euk5H38THxPDlyXEQUZpvMZMekG2dk5ofO6OUHQz4+k=","HemI5GwsmhwA2F36+x2nUJvLNkIqq2BS/R+SffdBwXA=","IALLinefk96LRNf7CM/1CCjgdx1lAR+ZVLQk5ngCzw0=","KPblrydSx50Bo8bH0pMP37FkmJwg+QXM/AmCwpNl1jE=","GeustTVPfycvXBLWxxs52J4UqqTvv5hzdzN/+jwCays=","Bd1HxpXMbJXirNG/wM4zXLMEo8M4CpTot8BwaCyoaaE=","JGvDwDejya4run5zV4sagl4WcqdBiAHMB0OVRTTZwMc=","G37iVYFbpwIPDPeM65hggVwO66Jopyzs+eP9Gmhws64=","HOBPZDvJUTMWIR/cC8I8mlK9r0vM2coYWQwXA6LRIOE=","LjplMq+pU4i0GtWdfCcFRF184QyI1zQRtycfUu1MRMs=","H5ESHyy9Hq0vcPT3RymiVyNyGolah9czlMycGAn8z7s=","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z1wA5u9H5D/dPw=","HWY2npXC52Aw44DWU4qTJ4+R6l3WDloxaz3O0n/BN6M=","Ke+RArXmce3AX4e8zrbZAEhOfudAKjLMx3/eLnhmoIM=","IQOwTBc191Eet3XHM0oLttYm+2CTe6N2Ha1zqER4490=","DdG2uoSjwptikjdlBoz2PHEbwda7KO7+OKDkhhrROWM=","HqtMf6q+xYq5tzsrqvIeQogLd7Dw39MNOOHJVendchs=","AC4aP2ad/JKbnMhNltSJ7OEU1b5duFcUafd0z29sgCI=","EhTKQk6hUXhRUNfbV7k8xrvI110ZKZOEYKfGfwx5HxE=","LhdN1Kr/9hAxZNkWX/gxnZJgyGIYUQpNkQNB8LTgHTg=","ILMvSkI2F/7xRtpfGiaV/P9kl/+row3s9v/mKulSxDU=","KfTdRo2whzSRRotwCduvx5lR87g6tk77jdLlbMmzGo4=","JRmAHeTljkFk9/DYaZQxHIfyeaOK/EyzxNJs9BxkKvA=","LKEj+vh13k6q2A66c8sqAPIur1thCe9Bpl0tKG9gLME=","Dv7WUaYfowtwk3venQK5tqMCoaq3Bmh7IjOumyAzEmc=","E+Idu/1+VSa9xQdec97grvRaDtLIgLKbfb1cnmQ57j8=","LCSG2FqtvDWLEGXdexSVfoz1v3RRr8s5Rll0HPa+WCE=","LJel1bl1GUO8EeBMLWClbEPZRblrCYLIo/XmO3NVDWs=","DTh2sFU2lDgK3AhsyScuF3Di+Gszb/eAQEGeXtzNjPU=","EjZcfN1hbSWPmuNQSzfUTpWMgWoLujdCeOi3rXmrlnk=","G2A1TRawGENUC4/Glh/4Sljr5eQrRtIq62GOLbSt5l8=","A3ePxyPM0DrYyQwxHBQZY96mOdJSStly2EltEp4cJDQ=","Luch3ehSh54SOMt6eSBxR7PYZObIoUoyfi5Vi531dmI=","EQINBYH/jnnI9apNUL4tx5KgOLy2GuxMzqLsTfLQr0w=","Hg6SEZPjWzxC3tAD3Lvtjq5GcS4V5jrscV8/cDHPT48=","KmwT16/WY2wtTV029CwJrDKGtncDrE0sJ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","IaIRQHzvewRCFgrMnb/OGh4dWMnpjzgafrSPe9oPHgU=","CF7x53+Sm8/60ak/kgwdjIs2MuHhoczU7LAWAnWeCH4=","K295beNQnqcDyNpiduPqFUtQQXDFmo7EWB6XV9dLp1k=","H9pQdPpbrl4W+08tGNWJpyMLmhweTQioBp/I1Fsd480=","AtIqPA0yR1DTvjEhmvMqgoLDct/eSGHvhu8VwxVdzxQ=","DCH09L2uB6ebs6mM+zUapinzI5xNJK75Lqeb+snC+iU=","G3IewcHfgcg6zXqVrOFrPi/0KXqrtvWBALXasG09xAQ=","J+yenpI+3uWBidbH8wPuPlJJxa73h1jH9RHPh7lTVh8=","Hs8QYDZt6pUG/aDQHLoBbbliAJChYNWnYKddEtXXLng=","JdQy3zEuAFxpoGofAE7ImVdQNNomOSdg0XrMgMOVBs0=","F6DqUfmiAboqD4V8mWmn9rxvXVvA5JV+HA3+SyAuSiQ=","AtNMR7hH1nybTcMTvHFP8iOrARJ4Bv9ski2HY/FCAks=","Ag5Z5eW7CVGmYBIvwa7+opTnzNX5x5g5KC69nhGflso=","JJychQFz26D/6jVowoQWAgEhw9mZDf4ukXN3RndZJns=","AejsV7doHWMaAtUwya7vk3dYae8JPekgFM34XuLUWdo=","APc53Lnz7m57VRl3S1QLKJi7bLo2KbtsYOQjt+trX/w=","DgFvByT/+F14GusVSNdsVm5cJqp5lu31BOQWcoX9pm4=","J1Jwgoud3JZLuNaKYlhUNWjIRJR+1e2UsxgMuHTGgyU=","APHKP8KKrLisIaW0S76wrmTMM53hPgTHT86CD0+T5I0=","IWsvickBBfVw4JEb0c4g4GZP/gGBHLd3+QN2cZwOIPM=","GpHt+QlQyyaJ0sKcsi+N6mHsQfsGHxtgAvciZWlMeE4=","LaM0Lq85orJCcTSERilxr+U99VvtX11Q1n2ROM14/oQ=","KfechvWpyW/K8ilr42Qltyr6rUhly5CQhIJJFY4upLE=","BRlCahWlmfINKXkwIGfb0UVLRlOclJnGX2GVtVx2Azc=","D5xHXNcrfi44ZelrrviaFJ6s06s0AhCpxeDeb8CC6J0=","FfHXEZed/hPkXuuXWaifUds9J1lJhYkLiMm/J2kiFzo=","Hwg6wFSaGrANS8kGbwVJQUj2DJVp55iZQcP1D9as92A=","FQXuT3m8gYeFbV8/WiTel6oIK41FLGOxesOlkUUbdH4=","DyCHbXEvFH4vufe+alHzRuooRH31KetBNClI/C2PCWs=","FpbRLZrneckhIO5xX2uNoR6pOvJnNxWi33cx25HjYNw=","KEhfQ47sEzsL42sy+ugtpX+0AGvX9bsVomfndGs3utE=","J4BDb52hJGH74x2Xllbm0aEzhuDmpTCbBQyoGeEK2UU=","Jx6oY2czMt8r8kcebIk1sDfqgxjqWzI3lYP2EeBrPaY=","KfG6SynB2uy5g5vcCEMbyr5oORylQPaLSEpPjpap3GE=","KU9MxyjdQj/a83N34Gmrpm9NMADxpVm/TESRAzBgMeM=","FGtSGxwIyRgSE+vbwqNPw+/Yfd6xv8Xl0XypUfVavRc=","Da4K+XPqCw/N2BWOpRue/e7V62ZLhO9n6qJV/k5V8+I=","JgTMzDcPClDz9ybt8SQrzBMd3fJpeFMnbAeev7iD2MI=","KHOxnbHQOJbT1S1vk2Hj/a3l57Lmgz5NXORmEYa7u58=","CwTQkLzEz6v6R/YAQ4Wa618zpt4gXf3w49CZ1Kg5Tgg=","BQihlcDKWD7BAVbyBcobtvaRcxi47W67c0e3fXLc90g=","CSYt+oCqoLxhxYkcI3pRnTgIxT/AXc49cfF8Dj8qXus=","DObSWxxsG4n6AFwjYZ2Hfyqy/ecI0wkjZppJ/iWzx9w=","LmloW0bIBQJo28EEDiPHOdchayxedhCBNtaJXe093EQ=","Anj7PfP+kTZXvMzrVTE4+nuKtuBipd3q393dWzBf+CI=","FtqJKt41dU5X2PA/Pm9BEKncFjnZtt5l5HkWXKSfek4=","FZdUkk5zNIVP+AOheC/8BZkno8JtxD5mHgmhJhvXyUo=","IhLKZIe4RbpNFsCeIkKX1LGhbjQebFk9f6utraOSnXo=","LdCI3oMYUtFpruH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e928En1DFUfB9qj1zt0=","Eqh9DFQZ9EhBmEDl5aktJ2rOAJY9mH8qEAiRPZiicRQ=","CvPO/yyGWpAblAbV2bL8WIM9ZC9Gxkk8oDDvWVBh7Gw=","J/QthoQvTYqMOv8vR//B4Xnwl6rszlW7oLD9/VsZCqc=","K2s7w0DUEZ5Xgx5KIYcBPxIWqztjmUXdkqmElDJB8dA="]]}})),PNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon7=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(ONe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),BNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["IIjOlTRXe/OL57xFfydW1VjWbgwHucwAGlgL1CzaDnc=","G4bmOQjEsSr0POxoEDVslNIcnjfXPf/5dCpY4Ow1a+E=","CcoCK6EULRcPdVIS4u3J0KSs4z4Wgl9UDV1Q1aAhoWk=","J35p1HoTOAQkH2rr6USb5uIshJxtitjJOOr2E7wa7NQ=","F7V+oDdU4krg70Jaoq2TGqybpUV6GM7FlFRaI122smk=","EcdAmDOV4PSgJuLHyTkjY3XJB3dV6xo3p31aH9dKusY=","HNhVKQEN1+L7fqQDUVurVydVakecWbgi78WoHrN7xb0=","LLk1QALOxLy/qYXeNPQ9cCztg9GXqjdLWh+W+HsS8pI=","H3r5jgj2h3kj8no9rUDFJaxS9W+72HhQZUT5rNYaoy0=","KxUXaSXfM6RcnpmnxPJq2UaxB13ljHBkwP+SxDHTHdU=","IsiYWbTTmdOmCjItazmbiAYTWEk/PLNlP9qUDpiMHKM=","Gp8nMMgIVNj23ZgQk2PUBVlwOTc69QVapn/BjlsZOP4=","BAuuLFf8aOPOXilJmOoGDiVj67rFj/j8ShoKQFdfDtM=","Fr9PViJylGful0nMOAYF0rxNiFy5lpmqLdhWXE+vi34=","EEXs6gRLocscO/B/9JaDkKPqB1ABshY37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vzUfKW3Bw=","Chx2ZB7e0Vfqob9KrclWeR2eeynrFNB2VK8FJoa3Dik=","Coqfnujs+K0LXNhCF68m/c4soWwHvHR9EDq8tIqyH8I=","JtaFK1kX9OIpxGgk0AtERCt32OVm/js5Abpt4gEd6tY=","GWAXNMMMsqRO5KMjs18sFx7Wfg88H87HCW5fAfuuaIU=","B4lffwKfhMPxfjWbDukm1AJQVYfzhsu3EHC8F8yH0EQ=","BYB+Ciskc/O4cTBYbHhoIo602VA78lzCsPNak54O9IM=","Gsm6jrni/eCnmIaqjH29NiqkkKNV4HmCgovj5QmdL94=","Ixx1lfdv6lgoZyr8W7tkY80A56BzRuJYivVjjjsyG0A=","Lj0WdzECF85fzFj0A5Uy/5RuLv8rgNF/WBynjwBoZy0=","CXQWNEFxKXWjO0CT+SLX3xeyvc57frAseDDFmARkAA4=","HPXBpCgIIqWd7suCpkuqtO24eXfpjuKRObtRZxuZGbI=","Ea1G4TeSFQz1eTOqlHbskYS/1fI95G8d947X6UzIEok=","CCj7/AlRweoMDz1a8v5Xlu15Kpw8xAArQeehu45j2uc=","AscgqEhucSIwUwTs86APmYVFNcT/QE/oLjDpnoUA/PY=","Cb38lC+6iCTAo41vUl+RdjYNKIGqQlAo8c06f8PvcsI=","HZVKD5MlDlWBxriX+9cvTyqUPd5R4mLn3MShssqC4rs=","K4KTUuKXqyEG50+f5wL2ljXt8356sOGn+S8UyYrtVus=","EtO5F+WPH0ThurqjQdHaySPfrHVILhCK8cMzaHNKkE4=","KKnmxl0G7W6kd5W96bF3tVCTBfhTJgYq1QFQd6/ku/s=","K9PDOuMRwvjUrYJQi3bfiQwxH8jSMvvC3FNfpZMiHKg=","Jy0A16j7FGO7Yk8d13TtyPOgkjv5BZuuPYTaI3Z9aHM=","E1WnlqvfqpA7gd+uMhAaEwaPUHBEBVLu4KzypNB9A70=","BzS8vOQYCuFtSmaJublPKwLMfXTKjvFZLNFq/ioDNyg=","B3jUphTC924oGZ2YmpBS4mJ0ZLYg2R57bT0V29R5nVQ=","FrvJgKZ7KmVDTQh8UBhZ0SfbN3rhRP9jTLhXT+i/hpw=","EqPn4ZewUExolDZiRb7WXjJtt8eq8sHA1Z5LrBDWM88=","HzX4xEMfsNv0LZ0HM0/Wf5kWD6n34g2BH0uP6n3V0z8=","JdW/GoY6CmRBz1XnyFuPIy/xVW53+8xtcei980m/37w=","Fea42at+Bjo2OCFq5HEXbofuTOMMwkytGVh6IzMjIKo=","AZKe9HxzIrd+vQ0aQPnsTUHrJkG/ujWpy6e3CKU0yco=","GE9R55Htqi3qeREVEke61LDoZNeo9njHcIrGXFHju3k=","JgWt9VYtUFX/soTfHsDU43Hu4Flc4UIqxTWkEFl82GY=","BubUH+uDLC/gB+G8zIFEJYW8nq4WEri8PSpJJcI5rVE=","E3632gaJVc3ijbauXngLeuHA1jPN0RO/D95DRayclU0=","LpeTDrQZ9zU7onslh5dT/mTX0YcCPOLeS/nnDrpum7Y=","E69Ak2IIeGbmLWhg/asVkgdAW/nHWp79kyFzah2BJBM=","D9L5VASp6S9G1XyAUHN1cklmJkVg66+z/y/RklnUfWI=","C92TrCGu3zGCb8MBL8j/8UOErdUh2YE13zznDkfTgRY=","CD6meNWlPoqbYBkGvvvvI4EaYTd4i7hz/v1VIffZnwM=","CKmQa+bpq5PL8blPCQ3y0C32xsz/Y2TC7WmG1h8Wryk=","GHscgs+viARJM3z6d/YY4+0ZxgTmX7dosDM9jVNeqkc=","JFAF+BTjglB1EUMRf14n1cFz8MpOoqgbG48+kNf+xPM=","JapaU+xecfP0f7HPjqjHV/q2mmEnT7Nuracd6vFhTbI=","AcJEou0ZInU7Oexrd18HytkbFM2bZXi2RJLCzEsMi7k=","AWZOXIYSFsTLEM86O9Ua+g8+WeriT81+faqoU9RsOC4=","KvABopbBEeQeMnrSEu0wI02ivq2gRJ6h0uDwoA5CQHQ=","FgIr3WfSreFfZhooff4jkVQzsnDyjCTmBm5FA5rtgTs=","Ey18pfk18+iGQmitcj6HgN82kWOEpUuBLHSnSaJoJvY=","IL2rmCnkjImpnQ6LDWm3mkonOAiAet5OxduV/RhMTzc=","KNtJQ1CunIGrUtcZ6gX5jcKv6HvBr+VWFh5hdyJYqVE=","GfyS8dLB3AQ680J7d+p06Aq59gQeDlHRsk2cufP7PtA=","Fr6nEmuPByq2yGr8qAtgbLkMfl/QK726Hdczw8uIRwU=","H8V7FopbrcoVpBfrtL9b6yj9CeDf+IlVChJvWDPx/V0=","GtINGj7lWbYzS+S6kR3slX1WaZzzfde5fSPcvGW9mv0=","IXNDCmhCBh8Cc5OkQ7biXlmj5bzSCJWt4PzXvrzYiIU=","EWcxcwQ+FRNzYdsFoLBnFHoj1/MANoDz4VNLGD/ifNg=","A3yAr17VHBwiGB8+dziAaYRJPrmYrdBVVu/2USkln/I=","HXC5YSRtImLKzYwJVAQFSLY/vSXzA4KFw29rROm5/18=","IYREinu4DRdtvj3nPzg6kJY15GEMJYZLLGMlIYa2xEs=","A73KayL7gM+eezFxkOu7n2x9PJbBv31QE/NlIaXbp9A=","K2WHMxPVv/pE1RDcs/VQSENvTuqRoQDsDRr5Uutkskc=","Kn/QLvENscncA8nL6C6FfPBvN+oQ5+P1ObU3eMonRhY=","HLiAzqGSFThlcTVl7kJVznLaI7PSFC0mX7whlvuLVp8=","FmKLb4P8NrvB1gApppyEPSdIT1lKfjuo1HzfpUipGlY=","JvqbhOhV8QaeduA3EE+Ihrdg1JGb7XmOLkuNvgCA8W4=","Duhsh73w7NUm42psSsn8m/BbkWGFbWWMG57NgNqeloc=","CKUXmZOoBWQFUny4K29hmYTGPNEV/+06ZzT/qFJnGR8=","BHqmHkvwchrE4KLykeYhJLzCrTlJ3Pluh19F337rVDc=","JjpRHwM+H73G0oK1JxKgm/XR/sIeqLv+LrHvW8TyEUg=","ImUgv3MEhuLYyFm0SbvadjG4ZDKiwQDdc4bJsfmT804=","K67ycQelKFR4jwxalA9aTfDRjTi4k8uxFXs4an01Y1c=","GAIsyhfyaBjVTmDjALXJSdnJISL33lZRpgz3DI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ktrV2Q72XSjewn3nFHzlC47f/spdcAIKQ=","Fm52KnO1GQAddTc319kI7yJiN7B3y3btn2u/zOmYkxc=","HcW+5kd9fnh5+i8zuprc6Hilf604RefJ6vS+VKuET2E=","Hxb38c1h2VY+BkyGtQiv7EHWFKvHs0u0UXS0DTh3FVw=","KN8Ezdf3nLBvvwROYxqxH635aR5OpfYgn4dRr1jI6xU=","GKpkkAR6tSEF3B5g9Eh2JGG3B104p8CyupVkZSZYj7Y=","AHargUOikHkhR8amRlyag73fT2U4jK6DV7xr2UAKuZs=","JhYhepT0BwU87zsjTMEay70uNEtAO72KJvghvLbx+N4=","IpaGLLmhRCSjTToRCA1u1b/hvE4DAewcvU4mDYFnVoQ=","CChCgCKimZA0BjFMFZcyvA/aIno+ekCkg05RPz75fFM=","B3H/nzl0ad2m8gzxhB5wLBeAoHGbP1kBdbOU84J5x3s=","DcSJ3PYauhEEkl65Q5pPRCKNBt1FZ/zhREllp0lWeXU=","EERw+Skj07na+jnqvffqojtv8Rsuu2SmO9uRLUOGX6E=","FKSQzgnJKVBa0iPi85cYYTWqZYayfMnM1PeO++yZOm0=","IGiTu3R8olBEYfskovcurkzzMINYJfuKyVY/7Zp4U+o=","A8KnOOdT81sGjGrIFxJEwj+9TzfIC6UIYYyACs9iZUY=","Ep7begEwKb6A78dAAhLNevEwgQDTSlae82RrUs+wbhY=","CHSw7f7gXYzdrInntWL5F8fs4ewuJi8ib00VJKHdwVg=","EKC6snhs2jBTfGlrsf+viYB4hBiW975BzfMK0lF7Kq4=","C6tmHCoX++AiH0NbqQUgvO2Sg2TKyYThemxypH4T/Cs=","IEIBbmhsmEBXooqirhPJga2N0CrH1GYwBeE4DFT4Q7I=","H8KVrHGRGlmoHQh/ln8Wo6iHc5187mY//11uBxDPSkI=","BZIml7BK5gjMO7DZ00XK3q9PopHeiI6bHdMsGcsah3c=","JxuH2LiVxuHYZLnNAwcp5SO8kLRpzuN7URRLs7Dkuds=","JKpAE0PkcF8ikA/uiSzKJp0MD/q49VwhxnTtude7pVI=","GwcGjK/he1W14A9wN8msN+8CaNXSt21yccYXAE8Fki0=","HjW60xmgNsxqIJTyob8tGYSit0qvPlsTpu4wyQCXyzM=","KrkbmoXOaee+po9PtbH6CQOUXgOcTdvgXv8tXnVPwhk=","Iel5+jollNI2XscLWz4N3F7bjij6fsMHqrFLVHhY9mY=","GHz/12xfspeVUj6+BlycIRXnN4SsaxXFlv3WhGnRrQ4=","GNL/iCxSs5aowGj4jD0j+dEdn5HA9/3p72ryGAoAc5I=","CoeKd95hXoPD1DDxHzJreFwawRTlmcJOWtwdn7kbMfM=","KGucY4FwAoi8x10CDqCcRZV6YVV212IKC5ryYJ05r8w=","HE5e19uW21IFmuLacJh51ImhrFAxw17htsQi2QgMPxI=","JxQWebuSYKaTuIB4T/X7xdWUV7lmMOClwEkSCSpNKr0=","FeM3xl+ljttqdP2+fN0ZAbXQGc591BRKi0nroCvwhf4=","CCVnkiGMgifsqJ9RFPHn8JHYilV8abKpVv0tyQyuNjE=","DAjRmvnDCjGs05KP+1pX3l6DNnIE7mcgnuftG8pRhdo=","GRmDmtkWBMNw8jfSoKqY76wpJG+Twkob0PnStgcJtvo=","Fb9lsCuS9AufDqiT3bsFcvSTday1lYv5RMd/9sNWGkE=","Ei4C8uAWmAmyLe8AGsx5eyAtM1r3vSzwMuOnx17wM7U=","EgdRAN3bgJhlTnGGBSEff2oh9RdtOAFB+zmXcwUYJGk=","La27uP7PXM3wH3PQzGCxXxu+8BimP1D2jQC3LYrfCHg=","FDNOzgWmMas3Xnz+e4n6DYCS7AzuJMn6MAntzWLqi3E=","CaUYVtSexlT31ErKV7F0NlulR52HFKCfD23gizTjlCw=","BI6P7qm4KFKNvGPNPYEe0Fzp3gGPSkZHrB9oW7j2cVs=","IEum8YGT90f/EJgJVwIuyqj6TBPn+k6Jcwp2JTybB/Y=","AHnhvhYi7cV0Lk+BHqLAN5v/T6gref3l0Mmg0XTfEw4=","J+SOq7DvOyIwWrcg7kx/QU6NTb9DYMgdH/rk12g/Y3o=","FVcb7Mf1RU5FrkFqazV2J0dnIV9lnJG6NUNy2ZmIHVo=","LmpFRev3wuRK+RynGS7sSu3dvSrB309RAff4zdMWZV4=","LeGfzHiAACexkyzfb56VkghgbL+KB1JEV0koZ/j2vKU=","Lhyo79GHbiCfwtYssURG6PPEvdU9Y4LKhrET8yCdVfI=","FUs/herti2VxjnM8osp8ivA8+PI778TXxhd6wA6602g=","KeWPOVVdnd57rD3xjY6usqWlBQOGDSDFzQuios9jc70=","Ay0yAy5SEDrXmPs273wGgVBM0thqEsfZN/9Rjle0w/A=","KB3gGR0wr3MQXjncF0AV1l3H/xLSCIjQLOxlDhokWjo=","D352r4AOurFCgWRdKQYH6rsGK/Cv4UGRM+H/3PcMgI8=","J+pAW9/GVXpN0ziivKmBlUdQH293pYinXAFNRig/dbM=","BXCvVD7+/f3atj+wXTHtytOVrII4FJGoDIJcYhx6wis=","Anp5fgAUMCR4pBPO3npFzYlLCiKcjon1brrsTEZpK/4=","HdDig6jvfQ9JZqUXaH/FMkNVSo08fkHZFxmza6zoFRY=","IAZERpWYdWCGnfbc3iZz5bc+5bzLtDoFwti+bFmXkkI=","JxkmOS5fHJRDev4sKWm+pP8/bYPucTlACIMdJLsbbLY=","G2B+0vEwWA2ajCDqJrM7R41uHwDMgvABdpNai1TKv44=","C3puM4CNIXqeVcI4cc/f5JXBDWK4uYF4SwSH5j3wPgo=","KKx5DUYrs0WrgM0WcEA5Q1mbee3vF89wI27LHvhyy8k=","L410WxtHUP0vky95EwlVFcSYvjFCEBgMbDB3IxImu5Q=","Kj7yDmAULxfS87gu72E1B5UjlW2LxoQJLuy3p9Vtcb4=","CBGbFLg5IuSyJGl8LGU2z3ctBnSJ1CZyuYjLY4xxoPA=","GkuubJz3PqInOaJ1vHIsjMg9kefd/VEQYUpS2EznMgU=","HWWa6+Sze4iL46fX8j42LCUARsCdUyYxLY2UzbOE0b4=","KOL7kr9tpOa5ZzBHnxcHYFZEWNlfcyquJAav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ZIVtwfXd4P9i2nsYLaJpCPa6blkK3r+RtAw=","K7RWWJO2/8V5kTnNwVEVh0nCxl20hnKrryTFs4E8Dis=","JQgaAPwgrjZrH+fqawnmKlH2/Td/YINowSuk47+Jk18=","G0NxnNELYMVkfAl9H6hLjzwSycR1reE7OIx+xHJAvhE=","It0gHsurlKLuOTeW/vzKY6pU2aGaucfyCgvtz7nRkfI=","C455g4zTBweZnGIWIed+acD0M9VDt5xmjPN5tmI7rIQ=","AggtVkdljq5kiTbO++360s0FOFcqphIspozM7Wj0MvQ=","J3uuL8WXpTatvpwkvI7oFzHt21dMalFCwcWkjFH4LoE=","MDVMnynJIMBemdfMdHUQ529/pppxWUopDq5yk8WkhEE="],["IvM+ruPEgeZYAbdhpygykI8Gb+Idq1+l7B1Mbpndbfw=","HFznd3aJPUgUdES59tZqTaKclXB96DJ1bHOeq46HZY8=","Krjt0i++KhzTzppCEtDvsoLMrCivTYdvyUYgMHDJIL0=","JuSRVKzKJEJNX40p9lD5gk3oLreIcynLyDpWrgHe5KI=","C63Xf1FtT6Mh0QmbweUZCQAVka2ZGfCM6XGK7rK8pNY=","I2ccXR+1VgY6ZLX2ZDQJNtxf/t1L26ouliBXBNpYZPU=","Ag1yAszeJJAdbOLRB+eeH9eNbJOYunpJlvEWre8U3vM=","HYZJaZXxQmTnoFTMgiSQA2h3XD5axrX1QoX0pzwhca4=","E2lhdG00/RlgJRc8TXm/iz0dBSkcWEko2XJY/V+0+04="],["B1+E6ccZu43o5hCDKQ2v8ZqqQzdFTluoBCV3h0cPL1Q=","F1UFORxhm3VTD6g+UTGEOB5gPYRJ0eBwAX7o7ApNJfk=","KcXOl3EMFXigmQ2GLPiBut8Q5Pa95ikZnoA80cQmvk4=","LK+Gz/YFIczF7G4uLIO0cHu5D5SGRL+qj4Cwr81M3hA=","JPknk9Z2OLSr/fSM47YqtdDhslDcJ010by99BUQYW2I=","AoCd/iTH/XzUm5eycVD004o0C2Dwcz/UUwzUJptIEeQ=","JnCWiBU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nCo0=","I6csJ/T15upTJdWzaPmLQGk7LbHoyj0JZzl1PcVngwM=","Dgex0i7tVP35Zv/fvOu2U7Xaw7KpH1AnKHbvsXFYviw=","BfpW1DHUvQliWobTYjRk3JC9VB6kF0jyAm9lAl6p0vI=","LW8+DphBPV1qEQGyRcnnEbsulW4npYcHhP1UA7OYZ8w=","ITF2vBoEk5/n1rwwaRqr1hUu0k8wm/85OaDZHVTGemY=","CloRSNrUVi6rGBYrORS2TVdT6WF6UVTpP35D5oYGh+o="],["HF/ZBg1ODZmSZEKaUATBZVcL0WdbCfl3cIscpI5hY4g=","Ep8GyTDt02/C+3BEpjMnUaLjvNvnVtiDcWzq1rxwY8s=","FKXOFgMijW5vreV8HaU2ZZukbRslVm8Swo3ry+3FtPQ=","FDYX7827wNJ6CR8oA566irs5OS4qRihQsfnNhTL1B18=","KIXy1Evg7P9X2SpDhO21vr+1hbsj6uKi6lCAa6uLe9c=","BHFdtthrUT0AJYnx+VIvfeOxqL1wLBZ1We3pfaLAB20=","CIiHlmwHnS5omo1te9kT6S0yaVm62lm5mmU/6q32xGc=","Et7UH4BH2j5sIr/tPsW7UtAn5WAEjbTA+Wyp+oXhe8M=","H0fGekMlZy8XuL0d29gOTp5sYkGanCBMx+iCGJJDGq4="]]}})),MNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon8=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(BNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),kNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["DhliwjL9Cmu1StiWKoK5g4z+8Z0pClX8SdbevQYc0vY=","AeH0XP8+dBaKzNCpRTb8pjFxKJU+tH2NLXm4R7NVz1E=","E2fuw7IMt0lTYY/ZJhBHdV73+Krl/+lvyPfZoC43vRo=","L/atQFM6+irLeMm5FlDXzL0nSwn3jBAEefOk1ylW1wY=","FS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Yy/db5OPsPMHUToRZ4=","DshbIsYmhuUst5qymgGB3I403fMWfR41NRTsho5yml4=","FJ4kNcINSKPsVsTkXbvFg7hb1kMRoldv81JmiWLCGGY=","HUQUDctFl8chSm7YW/8aO1+tM/18UwaZu9YQ479SQN4=","A8+wVw+CSFb79BUTvgHtMnHhw4oW9hCoCXzSehMl1NM=","DyI7OWQj7cKdUeWIcrLat+o6rolRe8QZV+rHnOl2E3k=","H+bcLm6Dq4joQzekUTCWMzd0bM0BwvK+EACAvjKllSA=","BHMQ67RZ/oYMlUUXJJRA02fG78W5P3DEELx2+AiLSj8=","IYWM5poBnkzUYJamF5C/fgPhDj7cGimI33aEmK1mfN8=","DaT4faGW2syWT7aSilHzrO8EIDfbdB8xe02AqBz5io4=","GY7uqYHrJWtPpD8F+k4a7JCOV2E+79NQJjWAgOMpvBI=","EZZO/SHqB5NAxmrZL9tiuKGO4IqZkvEzpBfSO3jLGww=","BLB7GWBRgSL1clzq3AwfBgkovfD17ELhb4wpNId7QUM=","Akb1+7X3GbCJbge0wj/PHSRIe0x3WYPOpJUA+GN3Cew=","JNeNrt6TJ/SeumeVOfhdCZ1lgwYJOMsFLc5QElsBzdA=","I96TJljS8YH1nXI0pn4XR2P/eQ05BM+z3RCvivTYhls=","DE9UMdqqmU3fXz/msd8MDEIoejjJpcTHWPcmOOO9tAM=","F1mZWJiVtpR9OG2Dpeb1+vnGWI1SPHhGQzISIz9k0Es=","AtVM7148rRqARxvG7wxuTnTC5WiGox15JXsnYu56tRc=","FTnNxp/ZPy6lDdEuuwQ3wj307Nopx2rrCUN//b8Bx3g=","I1mkVFKCS6l9vAUAhruRDBLO4KkI2xwoCJed7cjymUI=","CIDl2iElsIQiA7uY5fJK4mIopa9abv1UYfY0pEdqFfI=","FhEPxsgWeTC94jDV35VPEHz9DaAFruROxf9kKHJ2TBk=","ExDIRLcNalhW9tGGaeUywta9XQHmox6ATYGi9a3GP98=","LqhoIXqZpsvnm0QuIVKFPHMw/Y3nV+t1V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=","DTFT1tFECqjo3AvxBYZnoY5ZMa/iT6kKwZEf4yLT2fc=","GYpvF5+SukJ0kPuQuM80VfafArdW6Y6wfUYBpSx3ozw=","KcK+B+MNk92SfoCqScRN8Nu18FBulmdtLUsakVcLx+Q=","E+dbCVrSGsnRB7Kn8eYgiJdCQFScC7Tn2DzkYwzavc0=","GG0eJsTkFciqswXxYvANindUzBp6Sl8vMYt0N0ZcqGk=","JEYuF7Kz/zkS0OQfF1DP8WmAa8FYZI2oIuG8n2ISiGw=","BMj/O5oXT8BtOzMC/1fFEK04WAw19OO1r3niQFVmK8I=","F0om958m+nxMJoLOwU2nCu1J/nx1dw+HpStaZyQTKJ8=","F5TID6IG6Zhi1+GnU9d1T28XeVgahSAf1Gpb+3uqlS8=","AltGMtKXcGZ9CfecM7sqilr2akSdbTn2/b5jyXbhyhE=","Ea333vlsU9vf/QaoXWMUXw3SOVBj6NMyvkLqmco2hUc=","Abkot/KTvqsDI1DdPqTEtIxKBP3/CCtPVC4JTZc6OZs=","KBGHv5ikxaa/kCAwksauy5/C5WGXT3n3SBqm0pkYMro=","JHFozY/A7izJ/qVhvE4BrT6leHR1b52dc0p/vEXAALk=","Iwl9dBJeBCeOX9DhT1LuGTa5AcLeZKBbK4CZGh8/Geg=","LK/f/2QiI5OZdTqWEQ/qqKFWJku/WQE/HYGVowg45kk=","GlggKA0cxm4su5kyCinYDnhEV2N3Y22MwipbiYOLXoE=","BDmvGRyCR3W4a2rpzd7WngrFJNLXlTvOZdxU4RZUakc=","BZIW3OBr15ephwmtK5DBXR+feBd/CtZtUACXJe1oZLM=","F0U/2M6XxgB589AKopvoubkMvMmiFht871LFmcYobNI=","AjoayPOgfIbpMYTF8IK+UamPcGttFGfc40S/4mY5fsc=","E7e/061RkZDUm+snsA3zCZH61AppTvDfEuidYXJj65g=","A9N1RhRyKLX6+VuggLK0AialiBBGMgi5s5Vm8HMWPf0=","BfO8+43ckXg1Qwoi5Qz7UTlvFSQqX9DH46wVOABNGe4=","C3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BzCTV79lDRTUtFTyJgJc=","G1HVC58qHOA54b8zpDlfaT4Sy6mqXOr1/AxiZepEa98=","Ctori/BpsKhiK+hb7FzBUCR1vMmVpWhwI+oz06lJOC0=","CDJiCjVeExpHnRY71wLi6WqrNoj4GLVK03h2SuGi08w=","Ad189REC6osQSNPfymSTCNWfZfTzcL4Acmz1yOOnL8U=","Is+erdlYCTXwLNiniJeMU7tM14CyYseqC+tn3vXRl14=","F+O1YFUW2xG2JRI0j45/IGwucf1Xp72f6Wgyr2v3IVs=","Gq0cvdGFvForvc7vVw7bmGUg65K84rJlq4hkxRrEidM=","KNXs7Z2eVRXQwpuADjM79mZiqLW5g5hW5AlCIt+049M=","FWYNjJNuHu7tsQQ3xMrlRNvBub4P3WOf7/0CRqMT6IY=","H16PP3Fcug26bxJx4cyJQLNzBSRv6mKqfhbDAcif4+Y=","A7w6ExvOpbL03bXNWPcaksVJc9pn87au65wrKx7TJig=","EJicIYFegV42lbHobqwK1eaEaPNwZhQtBC2VGvoBNgk=","E6FHlr4sYr/O84msy1CVKkbHVp4AkgGWXxMiOnf+/4g=","DzBxSLdp1aOqDXC1RRTR3lCY4HDauYbALNkQBcN6k4U=","HnIMVCuDGpeIYOyogK1SIhBWWgZYhLgv3Zq67T0iS5k=","E2mB/E83pd29V6KEOOsAPKf/AQmzScKzEURHv+ZCDV8=","I8D03KeXp//u1hhbYnAEWulg+A4f+97SNJ94V978xeY=","DK3sNTLu9uQ1ZWQ2vffsVoU+3y7MHcqzPlhdf58z8hU=","HT/QzdypZ0nA52sQlHR/ZugiuwehoBFQbRmOuAuDFCE=","D6S/V1HgXLGHmn6dG+GMDPsHCuLlQ2UDe/FStFrAhe8=","CAHEUApRG1+bbwvLbestCJij7p2XJ88Ce7F7zteZImM=","E7JXyLcZTwzPzYWbA/dFHN6DFHmBFawd5Zgcy+6ljlY=","DI6MsTXdOBEgCHN2oDw4bmeHEADaKxvAK+lRMw96VnA=","FldirIuuZvPzgH3ZJaQzTocKm4hWKM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7conL71fjxE=","J/GDMinDpZmGhpA+gkuz4+ELyWnxNCqw0C3mNf3a/xE=","DE7zX/n5BtC+pInSAcIQxTq71HoVGp5O+9uSICn7ZK8=","C6Wrkkavcjv/RXq4IovgZISvPjVF27TJMspJEV+VfSc=","IcVyvUJk2CHF4q75kwBkmciLMkXO6Vk/AsJQFJroesA=","BNHMR5UAhxkyb4EGyc6aSw3eT03gHSQpojURsf0P0XE=","CjeffW7tynxPB7td8tjqDdh/Hu/irCJxNwp/O+JwZc8=","KNrvfTekPyukQGXyITkS6rbIxg4/dWD8qZC+D/RjlyA=","KQbomWRYUE8sBE8FPErSTTWw4O03OyfgLlI1o9NPZcM=","Jgc4s9CnRvsGEtym21O7loxVIhOy+aE03zQbrz4TecM=","BfF3roxu7IuXEs+gQndmkOkkv0IkMAEe8nr4LfCrsjc=","JoEQJ/RF6GwZLorjcdLoP7c1YcjP0Qu/Wymnf1ax2V8=","Et717lnBtKlrUKs942F1ZAy3A2P++JmV80km7oS+UU8=","BptYpqpBmUoRzH3TpCj2xM5iG1sGeT9elbQDTi736bs=","DbsWL84YEr8qFq62qsfxc38tJ2YMpM3255Eh+/u2xeY=","KHuoSqUIfYzJ+JRQ8f45HMOoTyiiSyYc0dzasDmjCfg=","HoeKHy/HfL4jKup2g9RtiZbeu5ywavADhJ/QmenFBOk=","HI0e8kbddfQt4Txb/gacCNavmUPNfyM28xyJZFbLovE=","B08aZ4ywKUiDVty0d6iDA9De1fLV7OVHafFavBmUU4w=","J2blWBcqxwsfPdhfTIBRe6bhhVa/UdIPaHtmnngV1H0=","IGNjU+KfrOuu5fBO3kL8Pq0NB3J+3nqArxxQXG/11TQ=","Ee2XWqPT+brB4LqxIwQWcfjbaV/gdgH+WnHg/MqRa0Y=","GBABYEGP2Fjz5P6NXWuA4u83Zhi/5aVW8kvDJHCZxEE=","KryhjZs/JSLiHuV6HGY07BJ3TQQeZe+EMCJM8x+WDxQ=","FmJSQVM8WCubV/bglj37uppwJhOdqrMXT75xs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BVXYNuKo=","IBNf8mOGf3CO4CdRcMyXiGicCIspM6Nhx3XPQwdI7x8=","IOFg93KZii99AGTH76FYhOvG2LcYIc1TNuLfFDQcle4=","FQ3xEpG2gOO6kloEccf7sw5wSrS1VOpdjAe3CyuWICo=","F1cgKejolyAtDmXCFyxXHUuRyoVuetPxGK2SISe4cFQ=","Cv8VZQuAW/9vizUV1eKc+RS3NJr4kk55YAn4pPG3Jkw=","GpGPwRfZpkReNj7lgz3AFBEDS5U4TZju5HrolvkqfWc=","LlYYQR7+owzH3jENSHJZfQh8HhIuAuuxF9sMLf8E/Aw="],["I7AtAP4mNIiWc6fQRzb+Fbn2JlKxwGJqGa+NYIXXCCI=","L/TQuHmKgmZ3k1M3MAg8JSI9WJzdB5Ni8ejC4B1UR2o=","HYl/YOh/zlzu2Np/L0pj/e5/+dzxecCOBenlzdgjisc=","C6bUzu4hgtPyqy5KOtCPwx9/TMD+yRrVPpK/ito+J48=","Bc6UuOmmCyiUdxBGHYfHdXJGJmro+l068+qBd2tbjAc=","DDRrBGrwPLkEjCk1PhEH1rdeWQuy1CLqg8CaXaG6DGU=","L7+Mxux++zAQZCPy5nsKqUAzYOVuiLbFy67DSoC9x/Q=","DQZOckSe/BHR6QuXdJ3jkJSQuRK7H3L1QvQdYqsthHo=","AqiODDVhdmXzzC/HfZCvx6jRABxx3rzyczygxxoZ4eo=","Fe6z4FQbzwENoMR62xL231QLl01DnJPhnqTQL5l11EY="]]}})),_Ne=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon9=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(kNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),RNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["B1KvPG/cyvOGgnZoXwppuXSeFwaoKRe2TsLvhH+ARVk=","BpUD1BfiX0Vox4WLqDNDAcD6GcGzSLx+GKTB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HltR1POVk51RZHLG64Cot1Uh4KBrG56PAac0=","GkWgF/2+U2GaKdjTHyfkCPZL4QvwXOFskK89HxOIai0=","G0oNaOVDErn6Z1UMXA/w2I/leCLd351Y2dIhUFeqlK8=","HUXTaewDmZBbsCndn+C5elztHSnHtaOdo1itImaR27A=","JhVMnFHfgFl0W7LZfZqbjMjz09gT3Er0FK3OHWmSDo8=","K3SK09pDxcuUEsxkMTyNRxElGnCA7FtZIG56yMcBcw4=","F6VGj9seX9rNnJ/Qp/X7dW4F8vL7QQSyy0jYMP7RN1g=","Jpel4iVCEj8JI7hrFSmlQF74Cd4D7kEpsrruXLO9lOY=","CbB61DNw/Ev5reYQ4a3dONnZYuhNjdsQnv26aZFt1Ik=","BpwZS1ufIwG8SNY2PI5a+kp1yi+KAJ4VrUyhGhfIGh4=","Ghl0rUGMs3LVVeya8PNIuXKc3uaB6w5EebkLtyD1Qsk=","GKnY00zyxjMTip656ymCDIW3CYiVgm7N8uG/BA3PAoc=","LgVUg53XCkuZmP2RUyf64UaF7KYj1mJYUYbS8SS6i7A=","Hm0CFsi2eL2eiQzNctI7wmeUith/qyWupiV/jLcBKAM=","CSCTKmxAWx7oca4XOUlzHmFpokRC2PjJ7XnMx6JKSV0=","FCxC3mq//1gFT2pL2o66X38Qzzn76vuNOa7zDohPo7g=","FBjt2I5k092tA/M8oJNhckRLsHEtZGqLzmey5FHuDYE=","BcXc8r1eBOplZU+0c8TUaS6ZWKWZmr1+XN1wbLfggrE=","EURkMR/foR7sFm0gKu78YB5NFpWeyTap6PGy+X/TXd8=","IbcTsP2yOPOwU/bVlsrwciOyqdH8ynWDIaHZF1wyfvU=","Fe9nyuWDilC8Zxpep46HtIvJjjzXv3bV+gMwk93JdYE=","C/iJF8t8Vw9os5Qp2P7g/P5YMwamymkzjDSQJv5mv+k=","GIHwEppkt/hhCF9rNmnc71flaNY0l5gngHcLS8O0N/k=","IFXrcypy03ytqD8E73QXhTaNZI0Jy1AUJXVDChEOic4=","GbhIwzs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Afg5fP2OruukeY6YY3N+xUVy9qNV7kfNuCen8g3Dick=","EX25zJFA5GcLx05/06b+mbh+F4HSrhkdARxtZOAtz4s=","EeDM41to3vfe1VIvQ0xIbyh9sLa648r7Ix3PlRWY+J8=","Jb9K4wxE3fyHAOI2mu1/VomAxtSOM7bGNzfIL5QrkjA=","EVP1wW1WCKF9z6L8xf+S0KQdD9E4C1jS93wFgzmIb28=","BBvtOcKa+3AEzumT/CImBc3f5kH6OglsgBPzi1zYW38=","BHzVxbDCpgSumchCVA+jfUTmq+w2V2maEWuE/EKtXT0=","FU7yXmcUhtuOiCGBozGCba57lzny62yPdIowZJqkGA4=","G0g+dPQcJlj6/QgbnLdwnfKImZRUSWoppJLu5577liI=","EtuINC0BS1b9v5Pb+dnAghlss04M7d/soKQJBOK4yy0=","CUQmP8rXY1p+jt529P46+yBc+DX0KpXAM23mxC6lqZA=","LnrG+p3/r4Op67aWbvVGTkQpuYt4uPFBZcUBVGlwtzQ=","BLygehW1hc0neQdoyqOC6Z0Uz/j6V+L9qhFaRy3U7BI=","CiMKtIXngUaP2/7fMkE6pADIOeqFWlDxkWsDxnYcA0s=","FiHcPIw9uG+oMFn0o8QSmK7I7ZPEnFO90lhzObIW7HQ=","G05LxPAo/e0NqlwaCU/soNBQlPr+vWYZNI4d2fzhaMo=","GnOeVcpkTpyg/ygGIyCXfZc4s1cof+bYcn4Q/0RSx5k=","KSgA6EUqVmbNArF1aVD4BIw2eiQ5reo9lC7jwxhc/ZI=","H6Nx2RBrgapmTBH1DNQdJIGpFDmjnA+hMR/8KMRITdg=","KnhpQbirYxpFXx8L270+uaGc2l12xGO/9O8SIAvWzfE=","FSHzA/1BUJ4SLWt2YdYskR+67u6CH6LhHinnDIQ/yFk=","JCr3oQfMe9nBxbJTfl7reUxneCfFZjQYu5osnc7ykVc=","HMMNSBO7/0uRdAzIuiC9Bq+p0hfqASzhLRTgJxMB530=","I70pIrQlr02L21h7HMCMzf8BCrAwQxZkiZpKMjspc18=","FQ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g+E=","CydWbOAr1M0ic/1TEzbA6/5lpbDaEjyzG7yJUz5Rizs=","Gp4VPOgr8qb6DXHRiJwktfER0mLILPNFD5yoBgjsFf8=","B8p5TVrE9A8P7E1p46PNH0csdEbk4n/B+kzc3IYFrMc=","L9r0THB9gonak3NTam9htmSU+p6eeC4OQQQF77r1BK0=","FU18fpTuBqQ2/fWbUBt2O+jcfxKu7AdSt5F5Jn1kOnQ=","LHU7d3mjkJ+gywaVqfM6ZzUyv1zzlPQLuNtexft6ZO4=","FE70DfeiYv9BeV0JWQES1j/q51w1M8CrS7muQ9YSAag=","IsaNbNS7GBY3kSdKKLozsNE44UjW2AtGnW6VGX0WSIM=","J8o4y+iy7IqSe2+gEemCMj5W2pMsJNcwlRd/5/iql5s=","A2mUwWlz6gEkQduueS+z0GsTmt3XzMDA81O+M9iHPqA=","JC19G7jtNlgDUDS1Xii0MTjFbH+pwFhpeAVqp33s/To=","GUV2VHAnxCJOnPbedipRacpcGKxduQEIvXYCG7mwzvI=","DoI6oRYk7lcfI9oCHU15kFY/yYmKfQzmhOU1/sefzdg=","CChYpNsoORm1bAvAi4k4ZyS5CGikuhcLscz14RIgXEw=","AheCJnWvrD2kqRN+CxclMohKpnDxQtpolWnbJPWw1lA=","J0xhTC45LO6Ja3hQqntv6VK3aBlZ+/15E7Q68PWFi7Y=","J9NVcoldYe93mUWS/HUlH0QOXRIBMyUgSThe4b4lquM=","KzkazJyORSs18xyRvH3ifgDT5iVBPSf21gw50Ax0v3o=","G2MgzIrNmMksqEmls65S8t42hHTc5yegBp6XzApUa1w=","IoYHXmqW8aVfum+Es8pJdOhwFoZK7WJzX/DUKMCskfQ=","GKraFxgi6OHcPadpF/7RY6Uju/ghI9yY9MCX4X4R3qo=","D8P6tF1AX6cV7jrEonnHADiF5SAj5uNuXXHwXPXzA1o=","HOmVCa8k4EiSXqrSbSlM1VXNEuHWWIF3fs2mlKXlKjI=","LibBfJIRY7W7Oq0j/63UfdDcREm5TJDqPrTk/vE49yc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qkxht/5I+LCFMUKFFUYg3orAcqQA=","JxKoIDl2kxfCGyJaTgukXfY8r7SCEwNmTVszHSIhjYM=","HX0JaHOHNNBxCuhRN340DbsQFCjXIAtzGt87HCIPOwI=","GAUCuuLaA52F9TchK63j7bVvs7alVn+rHkBhuG+j5m0=","HD8aMp8A9vcRWl+ru3Ome910ys6sDlpMzyWuA3PpITo=","C4iAOL8eivouREufR86/KPQoVNGpFgjjnbzahyvelgw=","KgNucOKYfYVFPtej2aaNV0rfVurhIU3HdLqhBliWLBI=","A/EavVUeRNm2oPRED0cAbpjNkAFFnJZy5vlqkuUCPTw=","Hw+gS81jt6K/3IcO+7NpZvVD4jXJ3Vs3HF6lwmqnuc4=","AVTiu9eWaSuJQtw3q9lTTEhrpwvHe+IedMThU4Hhy0w=","CgUls/lqdQeJDn9l57WTiG0YyxR09duGUBpNsfugSwo=","BKRzky5ST8DmBNXunPO6nvjVtGOhN5/NfWrxTb3rVNw=","IRUNEccjL2FWKOc5L2oMk0jHARWhoHuIc20ErrheD40=","DHGxKo6KfY/StOqbWH8ccie+HE6XQNs2z3x8Xo8xMIc=","LZTNvgT393xa8tNsN7u4FynZUav715H+4Ko6MjIaxmE=","FORcXisJ1tYxzGDFn7XCSwpXBBqsZLSoLbC2NgD1WBo=","CrxcXISJeAKDwTnDbd36OfiO4GAWNu09bkzBS7Ox3/U=","C5N7oVE12+9zZEb7SSMgbIQDpCqADCbmKEqTuyM9XDk=","E4aa/O+DCb/UN1JhADG9DRVfD40Rv+mnFURS4r8IQFc=","BtQs71ri7DTkl8WWE57x1QSgzaJA8XYjNfAtzVjDg5U=","FVQwjMcSTMvcBP+xu5f+HoJ3s4b2XM8si1YU40MDGjE=","Hk+8TD5PV+kK1QvG56ELRo/PmgqHopDEhziX5JeRORw=","CNLKW88A6Xad/IaNHIbyiOQKMcqDloUvOXc2mvJNcLc=","H1u+vkoYhDSsaZM/uN9QULqJBwh5l4+kt3h7+uf4O1Y=","EaLc9F10BEXdHoLviIKY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1Im5clcReWyVBM0+U39k7Ig8=","DRRjbXt6/RGG8LnVyPjvVRvqx7stNrJUNvBL99y2Dec=","HbyBAC2KXK4f2RBTLwikMjw1eBwrkBvXIrq+Cl9txhM=","JBBXsNmXfqpQ4Euok3AroYLNsziMxjKQf0wggYNNjaU=","B8p1ydUcZb/CypnJx3O8orrXtJg3C11Q4nWojLawYzk=","Ffq280ro0ive3XYGEN1GPYgc74zoL+SgwPhgUC9tPMU=","DPhG5nq4Fbe/slUAhzP4tF2Dk45usNvRnm1TfqpYHgA="],M:[["Am26WK3ozaGI9J5S/OcWe48hnb2STXeGsPmPt5n++i4=","ARoTGjd4w3dCM7xUCWQZ1GPTq7rhgyKn53pRGIFmX5M=","KhirTcR3fhPLg1jBxCMVNXDRy5CVRCQ6vazUVHyOw6o=","FuvXgsvPbWPDi4eyfbKkpa9YR6mmCInEz2qjGNaGax4=","ArftR/rCddNPhC8JsB75QhAU3gQMJqWRWVsie6e8b7I=","DF5J4xn7lTUHPwf54FWsyvPj8ko13LRsq2ffxkjvrzA=","AWHkrlstJM1ji6XDK8Ixe/kNQE434APxBV2aluQG0w0=","Ijx/xtJPxT0bQo7bjxxS0gzuxZIYfSx6awsUe2KSuB4=","GuBg45szjQmEXi6evrcL+3TNSvkmIX9XMr4rbLf+cqY=","BGGRq0HpOSnqUfGQ/U53OsjVCDMo1LLwSCjco+aQmMM=","FLobU4Pjczxj0Awywrv/2OVFB+0zv3VEyGOIGR7KPkA="],["AJgTyAP/hKNpTu2vSxwhcmFSddwYymVMeZpwRAlGzPA=","FJWvA9yRgMiG8OG9r50Y4y5rDRuANw58vldF2vxDNSM=","DZXoz4pmtWwy59EeAQfkHhKXEi0azEEzLxtJiVo8l/w=","CwXxYQjEYWqXOwHYLlDU/J3NzOZ9LSH4UoFr0jTphys=","IwtiMVswvEnXPf+KneecYg4Dx0exTEMvFwcV5YjWBao=","FdIXoxeEdBBI8ybhVa+W6QtarnNPBneeaYhkA5yS4SM=","Cvmvvsrhdhz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7580lek39akJkDgsl4Z8RbeUAHE=","JS50dGZ3/XWEzrD4qmk2vQT5Uo72AHN+mRP+S1aY6yg="],["FhTQJUcncf2HCp6dQis1ccVJTn1nmCTY/hISF31fouw=","L2xOCXu1hRvhK74scSwvqQbzELeASNaVtKrTAf/A0mg=","CKHvZfUhKOs7It8rasowUJsK+K8veIju52bAwkhxGIs=","L28UUC8g2Vip/yO2lsrDriSWdReuiy6Vktr0UYQLuY4=","F860KhnebdMuOzjMKZDmQnO1KlYYJj7r+knYRRjqO+8=","KtveXHtz6afiK5E/meQNleaJxlxCjCOXzSc5I89o3b0=","FL/jMRXfKTZwOT4dyNpNaUesxLYCSeWxyMrjdmZc1YA=","K/UjzYqjviDOfYkfhyensktypNSDhITehCrMeC/YvTI=","AzuTpc8V/7r6JybyUngkoRr45C4B06fuFZsnPKCmUgw=","JJ9Bb65atSpDXWUgEAbdiujVQmbk1WQzB1UZAkI/fMY=","GakHmpiXojcHQlJ2eRK+17djWujKDt4t06QqdcHGuBo="],["ATWL3Wt6UbH1tdCU29juCGzNz7nCf6rQgG6O9xjQ4rE=","HAbHgvvAmAueSTsppeSgSu/GaM1CVdbP4gjp58i5ocQ=","JFKWOOvN8m3ogWKH/sY3BhThEuEMA5GQwQOnXO0RtCY=","EmQcw89Qyme8k7yMGe2J1GE+nigaUc3zE8vIERkiJCw=","KQEt7/sRLrFANBWcWRYvhm1KGAO00ZKkMpNZ8PkDJm8=","GouK0ey2y4iCc6kL74saLPwD3UTgsosY4QdOQEqeD0w=","F+oZjzqyYdoAAVLyaw6w6+CIpwnosGoYo9whCMIJaGQ=","BFqqmc4eBqPAIVCASpEIf1ekO3l5d3PoMhbKlp6HM4A=","JU46zbx1rFkmebAytlqckdLgkqteVxlVG12mNbE+lHE=","EqmWq8hXcCGseIDBbwWNngbpURGH8Krf9rtkDkMW0mw=","B3ft702RUg/NSQoi3Faal+VAoP21J7Sxo6hU/jRrjn8="],["HCAH66TRYphGu2lASsyEVl3l0kYg91z82fE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W54wJ/mva5MTyPGT+SmsniTRDXo28=","FvxI5V1k2DAQrVczd+okIjl/w6fmyIr4CKVm3gIj8MA=","LbGsTCscI6AAJ/3PD2Y6+JbYdBW7A1sUnSitPamMb8w=","FwwFpfilXVyf3F6COLNnvjWJF6GaKLTEfkbz5z1CoIU=","Hrf25VICFcFeJ0NVsZu/cau/BKpCbNB9pTbLP5Cfblc=","FBEadL0kcwyDNpnrQbOPHU7Rb88P7MFlW3byQ31KDJo=","LUa0jlCQwMVqOQ3jc/TJogCNsxH+MQY89P7VRikRNYU=","FfMOvfuLjuZEJBA5omtAjceo3nfyzG/tdUtwPqkt3lM=","HulQxFoML0pLZGiKeTXtK2PU/ltBSvoFwaKEZ0QJ8WU="]]}})),NNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon10=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(RNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),DNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["FRLfATW2aSWJ8HEUCmB0nPd1xkKzANovtK1cbiOtTl8=","KxCa4DftMDYc9lRLL0zljzVliYltaohJSC7T+bZuEZg=","Alhb7OBu/1U9SFR4oZ6xSeIRGuTh7LHWH8EM/hwHfzQ=","Af+Jb0wGYvSyrZJnQbSB0DuBOozDQ7nC0rxIGccLLzw=","GwyvAvQ0+j1M1PuxPTEWrItzhqWv1sZwduy8NwSqRdw=","D8t8nxPIVRengFiUrIK1fAby8VOm9R9g+OUIaE3+W80=","LcK99/Q4EuOc7yEOQukrSWiti/VUVBGCNUUE0yy/mVQ=","Ba3Z3yDBiY2ka790WUQ4vrB8mmVjXJD0XAoI/rrRNmQ=","IcraZkFmTaqZf9VazouIGRzcQZT727bKWJVEfIpYhZ8=","GWI1BFiaYPBYsESJsVMyTRbtZmZ6BN9XKxA1kLhIvwQ=","F3ZELYUKQ2oAXgLGR1ty/S1fhEUokMREFihI7h1X3sI=","BsFpH9bS7pg5ZhDzyGjXCHTyTv+FOTjYf6zokjSgmpg=","IsOroV86Fwob0RdhzCF5Snr7NIpF2F4wvFIniBST9Fs=","H3exjwbhRYh3wrGMrk6SwZbAvg93m55jsGxI6QsCdPo=","Imw9/npqZzGcHa3aG07wTkX2uAp43bC9Z+Nj5juFxUY=","BW7746reaOaIarkumKPSimjKidL7dXBvaUagCB8B9iE=","KWQGRR8gHA0JWHt/TgCn0OGUAmDUgxPegH/C3w91XX8=","IADgtgErIPCd+O7SWwlb8i514qnIfkeCh3ALWTNW+Es=","In83ZrZkLUTG2DahfDDOz/ZUtUSuhjaBjbjifbEkrTE=","JARkGy9drZciVCvxUdSX6RmYBySbiGyXXyY4XfslSnQ=","A3STrGTR3rNLm4NJDzUXDEIS0sMJJtTk7+5XuqZSun8=","GOoHSI8CxpJfSwHQG4CcmmMl7MfZx5CSK2jOXnlBWV0=","EZUr/LoGRCs8Hr2Vnx1MUfmC8h+ZThBcJXj8Sv/5HJE=","Er4qMvJ6TiA1F6sgKOZblJ+JbFvs/lfiTArwT6xyBUQ=","I+gJf2m75F8C+uxeJtxSOgIVO5756LucXxed/jA2w1g=","B2P8S32pS629l7qTNhPDU07yFTaucIXhI8jT4jI1E24=","J6T70cQ+CsFerJdODOLiU0TEbDIy7nExQZOMsBmz+Qc=","Le5K2lk9dWZU3sErhr+wQa14WlZwdhH8SEX02Enn+G0=","C1FR0N32GyKRdy65Ok4+IR9SEkM4zHDz0e2VsOnaM1U=","IRbibHCG5wyAZgWhZxOX18BzvQFtNwqzzOfGlafu+Ws=","CUGEkUerLNjRicT4sXtalzHlXy0UPwp20AAjo45O/l4=","K6B6b4TS0twvGxfiNS3qvbXR47kuQkzWWXx32f5nLpE=","Gq/vei0vBRa074zuM7To+joXdv0pVah4710ifSFagHE=","GUNMyG4vU+XbPOv9LbUrQC+ibinBO8E/MVeG0Q6gHa0=","B1UZwL16bm/kv732Gt3elNuE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=","LserTUOeItHZfv8lAelFd2kdKGmEQOe0EZCouODJhSU=","HBtZ/5ISIkQilo52Fs6ucVc7BcmeS8smITEm/k27XeQ=","H9+qTaVA5Q0rzRoqCXU1D5aeNJJYQIX33T//nYgUzUk=","DMjvaj3CUNekyUu4kL55e5HwiGmpk5HK9w4u/99/CGY=","CeWV+uyFBnAKQqWkEZDLa595+um2AcxlZ1aejuniSBM=","BgR83A/4vZTGq2Dj/+ohkS8BAaYL9sLpY3G+VOY9c0Y=","LkAoikpoHh/1MY+/t5bot/Cy+s+lyeaRocSST/+6SVA=","EmFpkr9vr1FEyM5YNV7CtuIKfSXH37E0YLByJoFZaAc=","CnhCXVY3KvmV2JMNSM1kWm5rRUhbTAb8OOBSgYtbPK8=","D+nGCmTc6LRbU0YspuaL4yXYF00GdHEpWpg867HJoPo=","LnqpzudiT3H6SQKXHQfNMDMZv0EAe9xOoP6kDvl8uh0=","EEaQzwSgZm9JIaTvn4CPuaO+5hkt8ObNsVtvMC9HbI0=","LmPEISpAIoTe3fnvJgvP56OVAC4iyaYVWTBTOymVlHE=","I94MlSfU7eUWuVbJIAMVhmN4UQYVgVNRvFjTtdateCY=","JUOe0XN0QNeeS+AJQDlJ7J0yoLpszX/FFY7JfJ0yxEc=","FONQgOjakLF+crb7//4Sawnd8MDL0LIm31SVjmgK/pA=","Lg6HygogkNmuGCTOyKOJ4AGzwK/3PoG9JYR/8KRdH6Y=","Exng9gihL6Abd0Co4UBmuIDwtlCDHY9CS2rz+zYcbes=","JiuC8dHQe7GLmSBZfDklpBwKYUNrcdJO53I8f7iHWvk=","J3c9euftAIKWpXKttk9PtcIpc1slnAPUxDnsKuRot38=","BaZRiKxtZGfgKNvkuUG6xagSQOgIN6UZFS1lQqX0B0w=","AKKosHcZ7PsslOkPjgRbGOxFX2cyUyTEURnAMpGV784=","Eswxamac7QKQvslnV26OKp6bYIG7Cb/aZFbc0/2AJaI=","JaBbqaP33MKaQ99F78QEvtQIdJt9IWUDjXArMD6/EDc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ZaVUI5wiC3VagIukS44bbRtvg2AZOEciudKISI=","Cia7/VCmj/nxYi40TiC/iQwqGYtqWL2CLHIvfkLuLFM=","JVHjURwRQDXfSY4H2DVMBC3zGwvT7lAsjCCri8qCb9c=","F8YgPesKgDJyBD1bqSe1mEwHjACikALmVTpiXvzwsKw=","DepNTFK97CFO5OC4i87wPgYu4t3attBQsUUMC5WlHH4=","BeZgsVUtNP8/YtvFsatn6OEVbfUGw5wKsdbasfb5piw=","C5hwwtF7yyu4siWeyy5U7hYjYs+bGCQ8iGQhqQpkbDA=","DYPvk79VFVBDTcB2PP61wKthTUfLDLPHkYDOVRhJmTo=","K9RIRYmNiaAF9cG7v19bjphdSOkWKFpk5naoEdVzO6A=","JVch4S+8giNeZKEGcxwSkQkgxxv+s5vmvIIpHTIufzQ=","EbQZEO0zrgFsfQWaNzZX9Wqx7Tr6iE9q6qw+hle1LW8=","FjSv4buuF2a3/3sRsBHvn4j/Df2INPywhZaKNYcMls0=","F+mSKENZ6SNTbu1BvWHjCChTmaErbB3yL2VwvQDlojc=","GYCMflQ2iMokNxnfwtoTAUcSew1EHYjf9TRD09fbnZA=","KqGcFFSKT87hcMAZbTY+iGUGS/yYIiXVlGx+v/eUWXk=","LmorAjrHZudIW9g8uroBahMMAKcxE0v2ZpLNXXRgYW0=","BOEyEwl8skoqizgZAZoLZ2vLyB0v9Jr02ox8sM6NUSU=","BDbbiLT2beOEuupzxQW4ccecI1JgD1hZsw4hjwcyatg=","AMl+lWiO4H/6eQVngW4x1qt7sObo+dPpzQmpsbFqkJQ=","LwTIxyyKABgK5tDCny36vYPQ1mDr615688YCTT5Xd0c=","FQcM3Zm5tc3AaUaFvbBkicVvLJmWHhrplmCFFs/Qh5E=","E0444YwfQrhXuiFL51zktdMxVboQ+YNOlfOpbiXi9w4=","FxFikFPVAhuvoRGsIKyFFhzeyFT8FwoGS+dFRxq13u4=","DQcuHI/xchOyeEhVekJnAarYvzUBxqVe8B3UshrPAX4=","DWy6gYzJsPTi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Bh6gMeLji72a0iIKgkTgFg/PBSleXw+v70=","GVsQURAu1pPiYob670B0afDCM+po+3S+W4uAHfT+OXI=","JFT1O6T/HAmyplDN/MMnNRBcAxFrJUwgvYoZYoXPbuM=","AtD+FUqFW9aD1GdsNgd3TFBa4zsGVkJeLdIaYQRcSqk=","Gpwapl0F6QdjI3toalny1zisHuv0M5k+JzdrzcbaOY8=","A4DG/+w12RsmgFLoV1By2lELX6l2QAIhET3wrcIoPgo=","L0g1t8iTjm49Wo2FPNpeJMh5peDnp5tjqK+OPAI1l2k=","EngRHbuqRquUR5SFaD5HPv30W+JJCDw/ZXYtre212rc=","L20OIFkWkZzXxTgauSY+m/2XWqfPpFzp60tnmf+QNTg=","CYe3lWHQ0kxfzWxr8RibE/E6oKr++5imwRMF5waPmhU=","IKH5TqOdlnS+sOI3t02ScGuPG+/1j0IP6xoGKZOOpEo=","BGYklE9nKBpggtMOMaLXgiXeoAv6Vf8uvWtLaku8+g0=","Dsht9OJAS01MXBx/K3z0/8riuq7JbxyTtXGMRuMvS14=","F6mIti80MxvCPFxm/lVV3Cr2gPkXXE6VJp/yZWQafCg=","L5M6QAnDhAbBA4dM3pHsAtYiBnx8rFaJBAPHRAih78M=","KcYKbufiLAuNilHPhyFdTj3VLCPIxROoyFwhIFra9OI=","Hi483XEsasA5rrPU3KTpLeUSShqSiTqPG4tt0X3QINU=","HMDPG1pne7Vq+pKNcITJ4x1PVGkam5Ci9IIg+yb7U04=","A/X1PLNMpbZHb2HUtMwB4dEjuQ3/mOBEfIAQB+ZASGU=","Jk9SNAegdrBPcuJoNM6L1FuMkNxKkV+lUfOuVtUNtQM=","F5Axl0X3kyr8gm+MKW+SssD39rPP20v9x2PQofKPNws=","AwmacqnDU7MpobxLqrt4RQHJA3unNsSYBvHaSCkQQbU=","FgSqpBvOBy9Etq28wHV1QuTKq8rxCer3r3GOussJD+U=","EO61mhb6E5Jn48Rc7wG1POfcqPiAjMwkj9tXKKeZ22c=","Euq4z/zAbO+NESu+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QIIHzsSUFVa71h8tbSzB9cwwbzRUa3sqlMwL8Lue/0=","ELqmwxjH5qOjYodWrULspmqSvlH0des4b5bAJncuHLU=","Ad/kUB6LLvQYThpNDwycx2qJSXZmNjCLAsZqyYI+3GU=","GnLTIPrq8F4M9E25ML29ju0loJvBR1RmXn+18o6j/L0=","JmszNAqL9mE255mbpHNFW9kPiqU/RVNDM57VtTILBpE=","AkSOUuBpxrREAtWVc4IsO1cDCQIW1gfeS/tnjhNXuVg=","KqJeRZBlUytlqyeAtjz28D2HLqdZZke/lResYot5oiY=","ALHVTniYtjo62v7m46NrKquB45vzoVqbH0ebdJmy79c=","JG9/fY5e6AAi1FNIpa7bqGEsPPRiOmJg3ckxlSUSxM8=","AnkHrTafxLg3LHjmqznUo/qkRVHwC4PSSp4z4B3we6A=","K2e9J3vcTAjHkIuxWtOXJW78YuAyUyf4GQx62bCepeg=","CKXpSNHbFF4gvwq/1BnnBwiyAX6PixFwRZwsdnp+41Q=","BJHJOBE4G78IDN3aIDV7vQF1XVDrhprFDr+3dbSVmf0=","C75YEMM5UF8ZFlnFH+6sTW3YvIOW8wweSz2JiEA1lGw=","A7BlvSkeKIoXfxYeNcNlLFfvcORuF0LvdQzmPSKySBA=","EfJbhduEH/dkj/DjWsC2xGPHFPsrxfKIlwYIqzU6au0=","LxT3USMhDPadOPLzK4M8rgqjEOdjSGEm0NNsKeaAFK4=","JnF58fBQqiTRd340ipnazkWq2/FkINgo6R99i6XWtqs=","AtdgqczZWPcj4ILIBN/CkGhgdnzDq6iLNdR9lVUaEoM=","BCVAEz/CVIdpZ9JznxAUk0aVdh2kZH0zCxgHKNnbl8E=","ANT81YYTUyaXXhIFfN4ZMkTK0VBMThRxFWEMOv+wZVc=","J6I1L4xfiPZD1t6nJRsCfNOqBDZPrmDj5xT2hNBaiWY=","HH6VXH3qPeFEmeGwDGRRKx0N9gPFSS8ddXRxYcIRLs8=","BQ57y/2fqcHE0pQVsDwNAKUcK8zvWxxEHYMB/cczWVY=","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ck2CXIVwF7hSST1w=","ANkDSL10XlzXeaamtcS2JeG4ZVnXHFWhO0qSq6IYeqQ=","FBwwhARNK8/pWU2mv4F1uVCrNrRDOn5huBW2EBpbtwM=","BnwyQXmePIlALRBIujADAoO1B1U6BsprN6OHIABBLig=","FI85/TWla8fSC6HIki5K1cIVZg2tjURrD1l+3EKh/gc=","HdH9YIvkdk7h3OBQZ4md5T//xrAPvkdaLgIipjxoxU8=","FbsPht0KN4ArEVqB1OP2j5odP+WJ5YSLu8X1pdd77vQ=","JkL99d8fr3qmovN7M6Zl8WOn33DIatqth9+rBkk+xys=","JccmuyChugjHOAjgD4Kb0/2VOB54yIux0/NH3H3FQ6o=","HKWAjD1otRr8WG7UT0QYmk9NDlbLSWzRD13jaJZrhns=","HNquoXoteDhaVumYSWN+3X512FVr/Y8kGhH9kDr0+oc=","JVsG1IUj+X0tML3K6TzpgDJWoHI+wWG5h87wYod5SK8=","HLP/IPdDqEXENf0+LRDpMS9h2kE3Q8SnnmerbDLbr8Y=","BHoyI4Uyp6c03auxUCS4oVRFX8JIHTHDVI0eclSIZR4=","CZWyEBMZEPAd+Jdq50LpXgpatJCkq+sw/ONI5U3MTng=","G/Fu5TDJyUpAjy/9Sazn3eY1CZvP3cHuQd7x2Gra3Jg=","ExB6XqKjQGrNtlY6Xj8ICaHGt+qaBJKFMyZidfpvUh8=","LVYswGUAKN9uMMB72+wH9z7r52ahktEwpsc3/Jzj2zk=","Lv0SteT6EC+9YL7cEgsdwCL4xDovzoZCiTaY31PCNSk=","EQCYyRa1IyEeGLmF+PzH6KgEvLx2K/62wlyBDO1VIWI=","IKnVIWyqwX21q0X8trRd/s1gpwgpH1yGq4TaIspZatM=","BIyCVAkJTQViWd08p+FaCFlL6C9IjWb5G0OvZg3POLY=","GYRHn/ymtko7lQNydHwbkmrDan3U9w5H4Yi/e0EN7SA=","IJzsfuN9R6ilb4SEuU9dsgU1tVLBHV/azIAwX9glyPg=","LammkrCJFbe2GTDwEfdrCb637c/Wo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PCu9Ww=","JnqABMCkpltKwzuGWLG2g1ee14RkezeHcrS2bMTBifk=","JdZ6dg8qF6lDXluk10hrznoAEPdx6QncOMtAEX5AEwg=","HhTC0yCdQ+c/clJO/aOWDhbI0W2sbfuuc8fnUYnyDRE=","HBJBDQmzNkNArFcbQLwddKm0KrEAH564nNyDoyZWtEg=","J5e3nGekjE5SEOk0Avf3OdHk9ENmTmmB3xtCMqmRb1U=","L2/ueArFpYza+2U/8lCsluAsZxP9xT7lMBERMa/S3KM=","AJbYddd2QlecqRcIxbzO9hrNafyUHOLhJsOsOUylsaM=","CckYsfEoThI69KQnlZja5cROXCAUdasIPaqicOQ1maA=","FMCwYZaVvwdaI3lHvEJa3xfDW+ddRE5UKIo83IW47Rk=","JtjynMQarD4OOeNUVHxTswYn7Cbk+6M72NYJeb4ny3Q=","CdnwQ5S0svW6XC5Pg+Tw9j5MF5HvARFIyyGWkB3scM8=","FwTECFg+kt62NlXDa5DLpqmixAMmH6IgG0/muhDc3LA=","AwcCtk0KdssMnmUetXkmNxizXP5i4TZHLghhaTj/Dsc=","Gd7Pg97ONQBTCYl6PrgdXiXLzk614v7+xc9o2QODKX8=","A4xiX1Tk0uxJw4EcNwY6HRCMDVN2z5eUTKEHSWT36pU=","DNcm0IWaVcgGMFbYNWrSm0ELHh3R7Q4oKuSE1rlMM+o=","DpoNsUoYKC1DmUfvdBL+Hmru/MlrSsUOf0MNmAtH+9I=","HTsA5nASWR8/5b3cHrNldN56A1ehvig1nBUY0H1c+YU=","CXRexdJM8YN2lvWoZ8PGEpoNRMA32WYS6ZuC7vPb2Hw=","LdXi6kFYjbewHMYRUohQEUrfyFE7N7F/sqRvKwm/axs=","Cz2tcxuR7Uwq7rEEEMUabpJTYMvKsgw93s+D26p+TJc=","BJmYspT4rru/L7vsaV5NLVapkE7gUchLDuH+yXmM+0I="],M:[["LLExedbopK0bn+w3N2JTz2Q4atkF4kBXX8qGU5snLcY=","D9VHhA86MKUzqZTR/bP2CuUHP0SE80vp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BX74EG9rZWtF52NhgeETos3zI=","CWaiG5YVryt1Y9/kG4ufwGA5US3JyOEZaJHrd/hWtgg=","CCBGCBSY7uY8KHxvo+/N7+uhtScqd7upz921avpTyC0=","LH7L8UstYEmmQ50PKfEOJuyXWsw+Pt23fIMaUJr1kZY=","FEAi5+B3/yKizj3+mSMQfVrvBG0KHyy182GRqwTq5O0=","FwQD1BQUj0aBuCE1UJUeI47cAJ9GsAaTzj2cWAD63Qo=","KZfZKl6bxmyE9jXoy/CA63IOzUyj5Cw6uNCIYRiAhho=","IUJ7Opos3x4ubGKJBrIeJCcdcsGLAmG+aMykSGXezhE=","JLulgIanhUGo6/1TXBB8NpRteLpssm0ifmFRMfcdM30=","Af1abrpS6eods4mh/I3T0Cg9c3wY6wbgkLb9LciOChQ=","EnZELZODxS1Q/Jtaw0RCpOyOnNeu5tbOrMGm9SGq5KQ="],["GA6STXV9C+QGb+sUbtViEuOKz530lXQyZT83D5Bbiwc=","Ks0544kqxCntgShj76Be2nRrVbuXRpSk53uaGau1UAE=","F7GGIdvWHfCF2kz4oDOV43ACacffTZjOSFH5Cry7NjE=","AqQpwtBtzzTTRzDDr4vBmwSr1lJGjeWoW11cv9nCPm4=","GX37ZBicCarvlKH1QtjDSuon//unBCAtUobWK9Du03I=","D9O9t5ytkTQyt9OCjgctrcJs9JA9VriXYgByOEbGV34=","Kbn/4F2yxS3dG/DlxTLu/nBJfH30uX2y8GJINldqayk=","CioAbjsIa/UCxbFUDqrsFLnBW/iEccttR5+0Vj8BZJc=","I3qeAgkIzQ7b2erodyNQ4Ocx4yKLiS/F9k/fqbnapnA=","AG00nWGC7DDWjJvgEFh8cH9+HhdcDTJOat3tYzenLCs=","Cqu6OdIg8wYE0MRN1Hw8cN47efW6pwo6egygKuGwgMU=","Fu6YCixn3iT6GjQILxHHG3xFlmpui8aqGh28fvapurI="],["L30HFdE5EZDnsUoSQrZ5nqwxQuIfCMoCwhdV6ud6Vbw=","KXiLts2Ufqnvru/Q7rf9Vj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E9Y=","HbmKVi/NGl5EluYSZKrV6jtFX0bqvYlXumcenDHlCSs=","LzCADA7kYQEFadNrYGhaOLApEqAgvEcIWYhU9lgi8Vw=","HjKx4ua1knOhE9YJZjr2swyVs2iE/l+vNx3j1WQhPDs=","GxUjRjpFopgoiQSGgaQiwC6jc/i4wb8Wx0o3XVBgxmI=","BSRu54VLLiDoYS2gIbMHmOXw0Cpb/V550/msbHn6YJs=","Bs34BVQ5rIQkxDXn6b6j8K6T6rFxrDg+0s7bRg/LBMQ=","L5pc23lkXjRUxhfXendP6vJO9gNFTAIHb8TJ11SMxFU=","AbFiXXV3hqGak7N6338iyopQKqRGLKePfaLXwis31/k=","KL9UiKUl9VFEANznIkMCh/6OTIEBVAVusPTW/mEJHPU=","IYkb7jH7e9ifDkQis8j1s5MpmvDZgl25vnPnsgCXkjw=","IoLoat6FhV1OoGV8St0gYlxtqpC8k5Q7Waktu3e2NoE="],["HN6CrO5guEQk6bzuSaVGTuBdHPC3BGkgimdWNaxxVJU=","HE3eB9D5TRqqgyrC9XEtQ4tOGAS1IJzlWULXr7JMZAE=","EWxF5NiM6uRWXA6U2oROryd11fW0NdlNLT04tYP6eEE=","GIIDZIBNIhGTR7coE1tAmVb3kz3voQWdY0uXfZ06vN4=","DISdB7HZ5uy6xRf8GSN/9zQkoGePlGmbI/dpUq+kUUw=","K2Ck1D0SzzEHbgaQ6TFxbEeobncow0stPLDLz5W7t08=","AxYde5ThsEEfwB3PvXSKbfMVb/BFNrPdMQH3suvDgRs=","BkOOiwIgRkA5p7gCLwa+ruUCxd4mnbgvkdiP4bcoNPo=","FImLq8iBDLxiZohTFRGoRz7YmiJWnUe6WGwoTkW9CuA=","AJDfzAMnpUFnLPwmx+E3BYPF+SFBdwkwEP0/vyear9Q=","A44MLinHnM9GteobxYknauyVt06LuC5DhcBYVjfIhfg=","KDMdDTHKhnWtR2fEkCYbv+W4SttMosVZmofzMZCBMPQ="],["EYokUQohU/gY8KmWyH3pE1h4BfFs2xk52UB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e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon11=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(DNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),LNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["E3PHcc3xUSGiJPMw2EtmiO+f4AOKO8JqKOMZZXigAA0=","Kfn72jyZmDYBf3bhIa86ylzni7SPqGemqV5bnbOHUzo=","HH61EWogB1wWm3htnchqJO56JSW1ZbvCYiCajNpJBSg=","IaVJ61VPD4WfYdaPG2u+mqNEmmI4VGu98qHDCMnMUuY=","C1P/9wE0fRud+YtGF1gA4NMlCsbUoa+nGjSe0ZWHNQg=","AhKaxHQkFcAg2yRzmZs039urujytRxNxj5XmNG4Vg7c=","AdKPMF6LDsiNo3yCUbDI0jC2i+qUAaFfUSTWTFRUvCk=","HtMB4C4/yTCZn85tN0TCNZZwDANyBwWTnWHO5FH6/5M=","LtsYMpZuNOru4JA4WK/tsT27qffIAsg+5ihTDQ4mrhs=","Ej2q3ckwxl/Ge8d8qL9BI/6B+9BQHo+JrDGmmHVth9k=","K8w2NiyQIQrPZ9X+IdUxBOnVR40FcUHTsXJZ/tjkqPw=","H6koyrWTggfomOYdmcfWFiaRRPeQCBWxcJX3/3bjydU=","KcLxz6cqD7j1OmMehM/fXMGPtCbCVPWpBf0+gx/HyDc=","F6cyrRPxtqGv9CZkw5C5AXxBghAnPH0Ei/MAqnvpxl4=","DBjG53PqfrQ7mMrGZyLenRNUhMbPoITCpRLqGXemAmg=","GVTFwjjYowyfG6T7lj4JGsrLw+17SY3PZgD1MLZUXkk=","JZGrd4E/NNig4LewyqzW7xed0xRZfP3ni3SGnXTa1gA=","F525+4qrRhnmemqGZ8e0sy9A7YSNjjO3VsmnlLWTL+w=","MF0BQhS0EHwR/YOHBFhzjgT7jcTnRwd8DkYvUdHFlXU=","KYcj1waUV4/ikWNYmHYrzryprEVjsSuQ4f7092+be78=","ArM26bOLUExBKmgzCa6AJNCAKkXQbmSaXlNxmqspqRM=","CGh+aZtSexNB+at/FxE9ng7KBEMlHvNfCpBXBPFV0zk=","Cl/599RbPKm3mxjXnbQwfufErE3eqajaGjarO+BXyb0=","IORHR2ATGSI1NfRWbNyGylQyTFZXJlNTrdfb9PJQRlY=","AlTcMeOv0wToXJ74+rwaHNGkx7m8hgzpzkNsM6ICqW0=","Ec1kktxSDFfcPlXjP4o4fLwe2joUkLakvOvZTgdCy/A=","L5ixAmWjBHW7A0jUp4fPtmAxGaGk/hXDbcmGy0+MfPE=","FT2BTk5VrXgrzO+ZjJdCUMBzRl73B3VQJG9pxYupifo=","BNsRqeoBSu0u0I5GwGMG6HExdE1l0onlmWT5MNE7ntY=","Dpqabe6TOfXecTXKMiL9IjDD8/PgHu3TYz5gaqCxod0=","Dm2ORkv824+e5g+x8vMweZEeegc4VvrueDmIEcuXZ1c=","Ajf+IVEYZDehzxkBEGriWqwW6YRvnUH9aHlteijtcoo=","Hj09HuqLdhWpiX74Yil3bL2h2EiqWmgJNYJec/H1qoQ=","CXJBRMekrsDdy7qfmp6eybzfaIyj9YcPHubhdBeftEA=","EROZh+EUdGfZJ9sl7siPDB4CMuNIbNmgFL4/yM8GYSk=","FSTlvs73LCaX40yAVeyBl0rwSRLXyh34PmWggOqWJp0=","Bk0SmbEbGmu1Cz5ax1kqBU/XI4CvpMCSzijsjDHoDJk=","Etn70nviTrYgt3Q8/FKWVny0gECRoYA92Xd4ip9Yjkw=","CI0ibmnhsnProx1NqFdghcwP0NquFUa+8wB5+EtlG8M=","FRJt4YchPrtA3OXaGrOtxYoxOZIMGUl8P0cRm6pQZw8=","EWnB/nObxSjqwWpSY9It7kpmqZYfAe71FoTveSEmhZ0=","KnAGxoMJT2+E0SKtV3StLwyfqAtslj4vo6Hq09dPOqo=","JgfCLKmu/ozeow//BbBcT+x+2OkwLQ+VDNlAWulLslg=","JFMLCG9EHjg082wrE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ov8XgEVcMtjTWYz7kbJN8=","Gc8NyiJ4GpvVYXNJHr69GOyERtZxdWO9OoDMUqG+aWE=","BODgtSkjv/i2exIQ8joRJ3M3mWzlAYDrqXd1YYsANVg=","FasKX9orUZHMK9BIWjDC51tUC8OXw0NtLmS2otqaxJ4=","AY6D96a79Ff957i6T8U61IEO4HGUGWn4e2K2xuqPVe8=","FxsFOc8dboUZeJ++sxKStr5gw/k+K0UwmrVZqFTmM1U=","LqdqFODRd/NV9oHIIt4rNxQq5uk3EkkiZdKZJHPaECE=","FEKSYntkO1GAxxDrptdKB2zaXT/4NldumD2pt9k1ZLM=","B60r83zh70qPrFtEMF8aXSEn2Mb/Fz7ELw5CHqU/fBw=","BVUU3JsBSArle6JP1d0S8im7VZftz/yhRRVq8zJLDYQ=","CwWkW7k3fhWXUH/eDbv6LWQvbDWOIz7LjtfldexqNKU=","GYs2nwJKBWGvmtegz3rBBwQrQvkwG6/i4bTCrZ5G+oY=","JT+CshrdqoZyRne61KTEZKxex1x4dV++xvRtnvc8LwQ=","DvJW6dXp49ofVtfSEV/fEO12dOPOy8yc28tGx8+8dCk=","LYkmVwsIAmAWTmtmr6+609klpGTpldeh0C+QxyZPezg=","Gc5MNsUSEHh/ccuwgMw0Dy+3MswZFhjVJUALL9xRaJY=","BZ35B8n+UknUhBg/LonxAuH5l4WFyItXuah+jYzfxss=","KvwnpBgy4L072OlHKE2azRrHBQKVs4i2tcwxeahC+AM=","BulgpbI4VBdCnfqJzRTXeHwHeOTFQh26LrppSwhUohs=","Hot5DKLQgWJEhqz9YTJF79cQ56epCKIz7Fr+EUhHYJg=","L2jXjfTgiyPJb6lZere6WheFMpo3AFMwDXkqBCHPOuk=","Ci6C8ML540Vomy8tohCNAYzOMITuhdyD1Xk3+s8+VsM=","EIsq9l2KK474FDTXNkbP9sJf6Ou4i7do3ENcqhkUMRE=","DC+Q63f7KFXTm3RahdPJYMPQwe50DYd3lxyTbdziZgE=","A9rdxZA949UwLHoH1MVGA5+oTD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GDiMgoLBWEX/i1IaL/LaRrMnSM=","GxqIa5V7W3rzYIMzw02hJMaOE3aX7gguIdbp9TSt2j4=","Ghzsl7PmN2NhDz/unl+IQxPWbz/aGTmF//+iY4iotTY=","JOtYZcI5P36dbaegRg+f4KERLEETcAf3H/xT6Q/SzV4=","Ba1zn0rnOF0YrpYZkP247T6AjeAQjK50PXmVojI5v+0=","IOpN9kPDGzrsDIwstET/7A8jUYQYJ6ghA6Nv74HCtaM=","B+Qm18+40O2PFQ124RxCvX0NC+ho98yAdA0U1rbZheM=","DChBcBOaPTL+uJPi45O+IvxXErSxNOEXycv5HAbHoVY=","GY6JLgtulpQnefwjrIbtPq9caMefj4gTON37OBvKs+w=","BPcnS0xGDMDV141jkXAKtwaxiNaky8vcxspjHGF6QUY=","JXogfJrwF/UMJMgobpmgBvWpoGaZf+pNY8vER50VPP4=","L5GV6HeSzt4x+CfdQIFgaXwXSoSpzdB81ptEQ6RfDIE=","AsMkV/HIpIEI8cFkkejaHnSuH7WYZCrOu3bQIQ0K998=","DRYGLqmltRhK4CLFaOiH4v0xwtLxMgrNkVuE3xzXfD0=","JzghtZ/CP1hfQj4WxdlXHni0KORGrarnicFZhmwVqao=","KNWBOMqOHh9BAUbshAF5b3yr9J1B5Z9LiulC3G/grDI=","DLurSiKWPtUBUK436K6cwTk1X4PeTzjwEXlzVjOuP4U=","Lym4OftXWSctFRmhffAzEOua+rElQGk7eByTl8DaSJw=","ISUF8dtzra396mNTs4uFdP1S3oqzy+MxD1JiqUlqV14=","BRFxftEEGY0LZzh7V2sCC2tkXZTyBfcAXrsEFh6glZw=","LNF6P9/xsu4VO2VVT8BqTtq3yy2HDBzawOllHCFZPYA=","JCHs7WXkD1vXt84UerCEWIiFPOnZ6QJC7w7L5N+U9Kk=","K3uxwTpgXgYiYnGxVn2AcFdrcfvPvg6KDObtmmC+S2A=","IN6TsJsQ9vQNKWDzrn9wPUr/fU4qMJSBY1aT/B57V8s=","FfOdppR9BwADYJARG5RjzTInEv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xnrS/AeTghtQUY1LXYrDOvJtptLOd86/gCkr0n4=","KJE1KsYP+wnpyIZguESd75mG+UY/WoHGFafLn0vgcks=","IG6e/MRsriz8foZsraCkxywp8jXwRNVsgkSpLogvRks=","LnxEk+dwBfSUB/LVy0bN1tBPIqBhrI/K4E0tk9fI39I=","C56UTVus2Im+71kJoTn157fyOhznoeVabEucOCpRFSQ=","JjW4RxEmUjRI0LG85dj1T/W8mIoKb+U9ynITBPj2Iss=","EN9zv92rmUzcB5IWy1heqFMME9pY1jga4MUX8t3IjgI=","LaVPenv9ePQMmObsrbZl8mRLCpU5sndl3yProkH//Xo=","Gc41xqEE7jl11KlJCPWx4ERNdwm9p8X8WaUnyywWZQk=","GkfbveLVAEob4O18IfV6OIochvi0Zm1NEY7pmrwRWj0=","LwN+c8eIjO+dcEbljZmIg3vo+so0xYvFDwIehzTFOZ8=","J6tycZjZt6YuDZmy0REnEBAkZMP1+o3v8nYq+Khpnnw=","MBF2NZvptmWryN2meD0713MMS0k2ob2DzFV0xpQIBmg=","Aw6HIEzOQD7k6S4FB+jpnK4wlZnc4YkpqUMBAPxcCGk=","IY6GU3YWlM9JofPideziiGam6ZY8PubupGwrGTaI07E=","KyGWh6RUnrF+KdufzLV5ahHdtvsnG1pUeUbw3jJpijY=","Ih54STnSnrVEL9FhKzCli55VWjmLrpbWotbZphbs4Ks=","CA+9ubxLToqDsq2JODslUm4zBnjAV/fDSZPyfu0uFMQ=","FgHmV6IriigNRFLVJ77M/bnYw+38t70DctDfQ+k+kSM=","BlLR2Hja2df4VOSAZlMf/9R3PopcYTAfWBZRtQ41l1E=","ENuIFojj21i7YI7Jk9NuyFMa06tYDmXVN/Tzfk2iYCc=","HYoGtRkn8DeSUOc1n52rk6qcz692TdcKzM7HF3pMcDc=","GcvC6lC3v78An3CdFZqp7yosD2ily60fXhyZ6iyiYj8=","GlJ544iDtT8xP4aufrsH17sM1li+WQqjrDtBNBX+Po4=","GvE21TzfZ2woQQBwXQSpdmRSNPQ5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Hf06FdAD/hSY=","AU5zJT47XSyQ8ZmVnr8HGxiTJvOdF3KYbeG6edty8KE=","D3aqignNBCVZ4h7fZElVV+gGWSodct/oyj1YOgT+vQY=","B+l+GXf4c6BYHtp1eVXJMnSodFSmXm3++UQLvhLwFIk=","L9U0r53zEQnJSNWl2TNrjXvFGJXDS/zerEj4tW2ss2I=","G3lxxkS3/VFwM7jfIyXfgvoio7eanuADMje7Q/34dyM=","DIMJacqR74e+EJr0bQrWLJPoCxypMH1ycJUIyx/qZKI=","H9uG80Euuxh1Sh+c9N8wlssRuonnmJYilcyiVMVl8ug=","LJpcgkgcrc3qa/vaMDQ9mBUiHimuYXow+VDSmDStJlQ=","I7GavB2+NKl5NTfx85o9gZRNG4z8TyawY5yk+uzZjSs=","DNaSLzMEpNA4gzxpewd0FHlyUWvcj5ZWeymmR2lxVIM=","GDIS8uQn/BCAwje/rkID7xJHKgbIJ/k9ul1a8k7DNqY=","BEF6DdbT2M1tLvgcyDMzItcPJk9RAIdKTBYD0db4OdA=","Huf9hq5r/pFvvYfPCnKkvkM9TT9bO5ZwftoMR6Qiw6I=","Djht3dhw+AQd/mGdTdju+FGmORz0nu728fFEPuoXPRA=","CzGknpV6w7x/8PZe5v27TPSxRd2KI08NfmwGOb6gB0c=","F77fnxOrnOim4oGQR5k5zSeGO4kv/NrgVHighZx+7cE=","HCj7M9md0bOuN/iE81UlRqT1r65WL0hi/h6S5wJAnhU=","FcbQo5QWaWfLw5KAUF65UozasOpS8VlcXnhxgV/9Asw=","I2MDFQ+edlA8zxvlyQw6SF+Q98H/rrscT8uqgqBRm80=","H7vgdHvSu8PMu3Us7ZiXcxlC952adh06ukoWloHjD+A=","FHFG+m9GT35YoTBEQdK39kMz4hd5zXH4gJYqUOpjhbo=","IX4CySiUFRb1qaeOulFGjZO/snjRx5Bh5mbfSjIJLAM=","JGATtCPMiToWtowiiwG5OAtHsK++Tb6xtDQPWAG6TBw=","K1IlSWweb6zVt08ScFyg1Ke3fDDByDEcPIG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zYk=","BuA8oRRnBVIrtencc1YO7ua5tL9R1I+VP70fAG11inU=","AUxJnuUZJbIx2hfue1WnX5b0YuQxZ17jbHvk6bBp4mA=","BhHs0fN5oAYrBcSu2xALwBUkTGqI8WMaRWzCrMqJMMw=","Iq83wOSojerp9/rYOBmRBzXLS0kxHgquEct1NNC87m4=","KZ75Wu2MdUlNuC6GefvG1aPS4prs3PaXmpsnKmB91d8=","EDzIOEvhvhCHubtHwOtgSfheBBP3tAjx3C+h5vxK+Rs=","IGz0KQrJhENPp3S7D4kBojOQVjK3k8gLHVmWbpanODI=","Ddhdzwj9ONIvMW2R2BLLKohDCHda+p9mfGyoCVQ5fIY=","JM4Ky1ItpSfT6rcoZc8HPZVLq77TzRcGqmnXZ+mv580="],["GLuwArRvLl/sKxIPr4eCLKjnes6U4DqrXBbEuTFzncg=","HbICHso6NiSn1FuxbPSkTir0+uDcKAAw5+vlU5T2nYw=","CXxhM66o/kjzpfxBa99eRtBd4HI7xJ5Tufteg9NQwpU=","FQ756TKnS43r9nAIBkEzmxJoT/WjA7L7fB2NVvVqth8=","Ejf0TwNrLaAGepSUczTjr6KsTPEAmJZ2b1sZHN4oSXI=","LZ6pnS0jcygmbVndfgGLvWvMeUHZ/18HoXuvAJn2FNI=","BHf5UeGfUxuENK11W2eD1htnnvu4f9lW45TbnENOI1I=","HYuLp3LEzacujvmxnEJNVdVyUbJHxjK+olUnGvz8cLY=","IGqi824ysrBta+SK1JPTVMp0aHU/Um5r2CVJ/DbNQQk=","KNqTCazKED7PGd9ypyITTVMLrmxmDbPDZNDrsgDCrqo=","AblDWFXWzEM5JA6fo4GcL/QgmA1s8Ucht15Msf5X4Rg=","I4gy5kMVjpZom1gDsLd2AbWb37SSYROjRV8f9N9uK0Y=","C0O4+sxDz8BntVE6vM6EZQS5OVzcFN+WhhpSilKuLsU="],["Ar+uGwVO8ukk11qKASg9opEDxXutEp7IOWzidLpFJN8=","GkaiZpGEHCYQmjKuB+tYSmuK9lcnPNxNihEt6gvMhc8=","EH2geE37MU2ChZvkTTe00rY0XBdLkWUcZcmESWgqUgQ=","K0WzviZ0/YIFFqzWzGGDxPrg9+36mvzQLf7szQK/7UY=","IILpEDzEUkWSQokRFScxKGD25+6UV48BGPSpIND41SU=","MDqeIoVdldB+gXLzoFNtS5UUL5YrAGqKsJ57tjNehIc=","KWNRQxPwRvhE+VD/6oD15bQktwfxZZlmLlouNmjL5fs=","BLf40dXsi/aJrfEtZWuU4VsLIpwWOMnEdX+vDRj6ZDM=","JZVHFotksqIolBpULzlKJpnAgcFJRj3Cw9If2LLk8xw=","J5Gd0vnT3J/L2hojuVzyPjYw5v1SEPrKas9GKbiOX/E=","K5I35ZQeFlfvpQe4ksO43Vf8jVKHbstZndXhBStrHy8=","IC445mmINhnsvGpqRTaLm5o+mrZ+/vUPiW3+SLeNPaw=","JidY+z4HaTaZX/MUDvfRsKHg/kJApQdH4sPBINl386w="],["BtEBsZR30WJ7lUJYG/DN+rOLBc3v3LgZZcW+ANeA8ZI=","DK6AzAWu22bW5kmwV9vFrpdZ2l17Q9XiWkAOH5Lp0ao=","EiVrO5nTHYo3KYb5XWbME53SPpNUh9oms+JJ6ny/ka4=","I4ll1liWevorzlD/GMu+U1MnxlsLduUNowc53tJetJI=","I6bhQyhOjyOMS2Mq14rOWw3NlKiXywXR4pe0iA50M7I=","JOE6OPBNXg/Atrbg94KmpSOos7ASciS44jdRucufiWA=","CQENc2d2IKrhsPqAI/8cgSMTrpw79DBm6mC8GrR3p/g=","CkHlpEId79Xtes/UhAE5WkCaZ8Pt9MFozjNo7ZRCEtc=","L8fRfzqa/B3iia0PlBJq7sg0SYEgYpzIfEWGxid4AHU=","H4bj6dFH7WBMceH7bvhFnPxAABu0/FzMJmFmmxVavro=","GC2Pke4qmiYhWzXzwO7PjsXMNgEkz2uQPnDKgxJpddw=","Bn0rYS119Pl0MS0Erg/vQ6NbYO8FTA9HUwLFX8EL2rA=","Dqs/JkF+a1PFMgct6S1Kp4zN8dqRZgpGGr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0qoZB6kE1Ax9Nl6ei9nmoy8pWK6aqVOrn0y/30E29I=","IaCkPIjOJu/7+LmtZoBWtbA2LlAJ89gAM9tHMij7f8g=","Axs2nQEfIZ5Kj7Id+TUoeNk/+ANbzag0w9zEHDwt+F0=","AgpyCDV5BZy2WZUtPyoB7ZDSEAInW16hHyCcdjuqhFc=","GfEXcQSbW+gbQ8qB42EfQQikudwwzRIkQfdDGcOtzek="]]}})),FNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon12=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(LNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),WNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["MEwprrbxhzhHh5V20w8fboo85BCCwVx2Mt+SDW21Fk0=","K3OA2LJbymSbP4u9CoauQXEJBpvicGb0b90cfIfUxAw=","BMdyAOVJSxy4o9M09prluvp+h3W6GSTlY+/lke/zAvc=","BsC4lm35MIDDrBV2SG5hqw0CdjeqxBuzXkgr+hDjT8U=","JMc/QlkDkE9A2/9ZAiXyUc4ZgKWlzi0HrkNuHQkHeNc=","I99vb0RIJzx0XOU9XXq7XSbEZySljWiETTw+5F6bkks=","HcGxrDiSgBiOk3VmBxuEv4GJuVXQV5tt5eqKUTa8Luk=","J/ccXKd0ziACi4FA8URHIEORfNSRnP9k2EinRb1WkYA=","IrLuU7MCui6Da5h4PhXrbenRWnLMfKo3TmG1HdDS4sc=","JU2FBl+HJx6G17QR1qzCgPntJXwJjJ/bBKLKTffH12Y=","KGIHk/N4v+iB4Ji9LsYr60aJnzelSr0FPPsLO7jV51Q=","LBnybQg2Y1sE84+jDuXGSPoOobIC6whGghrNPGmc8GE=","D57Yfpobp+58KL/XrDj/O6EISfsE0zIomLqf4BBPtEU=","DR3v9CJjt8rooSOhZBtyWAFUdhYauIHh3CDhZbPwRXk=","BbJ14HqeI/R3qfDiKUInKGUo3dptx0SE125qqnFNtaQ=","G8JVBSrtnc43dlvFqV3neSc6lvS/QBNUJYiwl4Pqf6A=","DsIobLqZmE04w9+4DMCK6/eaSvjsuY/8U+xKvveepug=","GwW+9x/DlvG+l8gsCC0vek2LMuzzDBmHVAkFDjrTWIY=","Fuk8fu0NwABpWNGCTQ3HQLXPuMmG//zxth0QDynraag=","GsSevADjdPxkfGWYHdk624mY1hKLkXpiNapWI+pGEoI=","Bye+u4RfbUdE093xLCqvbywqWOBFcf8Xrf2QXNV8YPM=","HVZZvk+p5xPT5CjCnTT5/6muDyrKNHRUOiDWJUsvAZk=","ExbkcLVPDc1TEbapMDR7/9uDOQHgJEipQZ8Sf4ZC/Xc=","H3GCkG4YS9iFlMolif+EnrLaowyvjL9SE+0/pHR+RYE=","ExlxTs3H5rqyt89X2LCICUoAPy1PiO2w0L2EQbTO8xg=","CIwQb9rrMjp2+UoJEq3RtmviFghKQuFL7FlySOAX2I4=","D7irW9xhaNGth2kiVkHQtetP+PtcYJxmHajug+oqBIg=","Ld7d5ASFjE8JfGyN22agA4FjXE8VUBTTASrR2veQNF4=","EtkrfHqIyYafefxh5OocHIgbsTIMC3eHxkN+IwtY7aY=","IcrVIcGr7EZL6Zp38MD3kqWq76EEu3wDa2yKQFBQqk0=","EQR/un3ipVPD7FUlF2gxRABwjmF8m9/zOklmPKLesxk=","KQRSn0/AKRRJw68Y/J9UcirSx1FiDY9uDh8qE4LKxac=","Eh/mLFP2hHWqLMvijViqdKKr67JlhCLNbxRcJmLMlqA=","DdseTqem82cFbu2s95O5Sl0336Ag5lXpBxEwbccULRk=","JotEh18Z/1ihXdhPS7ZOqLrMffwE0a2GGRD7mUKjce0=","CcF4KEJd5ek8nuuC0yX3cJNd6MJFhFkbdEgIMWWQMZs=","IwFE0pRfFHU3a95+u0N81zWNUBuclU9n4GwKbpCrPEQ=","BYUaiEfN+8gCiJreNESldyY9k3GLIDigWwW76JCpiJE=","KbWtLGKClUzjVqp8MQheu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My43XgMgI0/ux6yIiw2SgoxKQSCWdKdw=","LZzcOzyiRnwjfe5mbze34txY28WeC+R3JIlh79Z4KyA=","D0N9jzzE3Eh+iXGwOKETJLephMhcv2mNKCOyw7cfSFs=","EkE6pj3gOMwEJ7GsvSTuLObNGbNxScbKdhUE/B45kE8=","HkLMCytL9YAXPfrGO6YhDRleB4iARnza2HdJgKGGdW8=","CNYrTs41SZtg0b7KTyOpw9Ob1nmN2YGPlanwLnB1esU=","KSSYhCKzzxPumMUT9P4knDw/uUSAUoi1CGTCbC45iHU=","Cnl+kBb49SeGBX8bKjz1D+IPH82YNGqVjkvBxQ7otoU=","Bj2CIrryVNrRZn9r2yTIYOoXozEhdjkI6KsenD6kj6g=","GBXY6c3LnDt9GXWciYsHijPfo6OPPCLx/0VQNjYDy7Y=","EAVB4+qL9ZIetmlRlDtftEUwB2Mw0ZxszEnV/t74FYk=","E+1KD31aJsBSZlNfjuseymPjRv1+8g24jt0dGwWsH+w=","IX+0mmAdB6bnchIgdPe64Rb+IGExWWbuOeezy09R4ts=","HrkIDg97tvAbOwX5xgxi4L+naCdunlnurrY7vwb14Sc=","AhHQLp1FPehCxuJ0TVzmVXo/qmRny5I3VdVDq/0wIJQ=","DL1ffLYJx+Wtzbsl9vDLdNpiakJUr6QJudLBlhtN1LU=","E+xtBVAlj6kQV7DcBtjwCkfUDAWqEk3NESTFn04iY1o=","EljKHnfPnWeougLR9mW7QFs4hVOlzZ1sQwN9CCSsS9I=","KMWngkORtSnprbBi05g4Ju4ee7vc8gUKokBFstWs+O8=","Gc9zpUqx8uRCHPiKy6RHdt4XQaCzF8teHiAS31coe64=","MBFFXRHEoUM+ap9uqaxVlSfXoXoBkWhpcbeDajFwcxo=","F7c3OsXD8+INcbNJr/RJxz1B808dAIFA7VgpyyZVSOc=","IEqWNTU4/gjagHKz/ZfWSyReBk2byQHwwKGO+6rgmVw=","KFpymH0PDyKMxpTRDe+F0iujWOdEglUiGC2q+xT0wlg=","JHS7n5H29UAfq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","Fkt8Doez43zQJ2UuL+84sIl2da00uqx6d3p4pZKGYPo=","A6LFxS80udYDrdtjI4NHwgTpux5l/tKy2M0JQozLBgE=","FDEHvvpIA7GgQmnQMCM/aNknZ2gyARx1Erv+KyLDV4U=","BgbOJqGjt9i8+t8A8w1P8N/L/rFDfqD7NfkYUQscN8g=","JM8TN7Q8gn6pdjPjh8eUjfkKPEKo9/J6HvpeB5A2+YI=","HCYCiz/3q3PdLMmd8Kw8quSp+BvkCRrH+uV2fkQ22oc=","Hg5NJD3ZgsYRY31RD0P/ModOpmgMiCRqBTEh+g4wKo8=","AEBPORgWVzBuHq6KzVECEjiXE2mGBrPIxlaybNTyu3M=","ETiqJOQryIOZPUxfbreFqMWct7sSABhrUZOvvhwq5Hg=","I7Em/N5QLfVpoDb51l5lGAXKBAsOAXNVxqqZDh9I6KY=","AudhI5o4mlMUk/ppncyz2GElUzpGCGiK0vFZJ43KyQg=","GOCHBZ3g6q2148XEuSec123D9tig0GBVixnDz97WptI=","JzZPJ3cPWLbbo9PxZm5QSqRehnswruWRRKU8soFSiWU=","D+AM4WeeOqX01re4Do4gIrwvgEXrQ6T4/p8EzU6u6U4=","Gv7elIn1q5RnHSDRq0mlrgrupPop047iEuCpyvr13gU=","L9sNfnVzHtqT/JMejY9Zdi4MvhW89uCj7h2g6JlUalA=","C3R5KtTlYk+Uza9SKNj3t2QedZol704w6ALjB2rQkAc=","BAeVCyRTyXRYC5ujFK69SdiQUqHY6ypgb620BS8tnd0=","KbjR7IiPJ921L442bLB6OCmoIb/VcpbfZntJaZ4klZM=","JdDCCpAGu6vU9RYPqeq8ZIx+QVUqB2K101DMFR1sQCA=","LzVAreLlfybONqzbu0GYzwoX/PBMbJJrwyg6EaZh31E=","FGlf+NogkE4H/vVFqxBP3w3Lr1tpo7g0hQSKAFflgxI=","FsfyhTGn3GdOjyQONddbCMZnOZWka6dGvHGPQpEv9po=","LiwmFva8AgG+kIlByDw43Xz3nEeAX/k71kDrxVLEygo=","BjvKL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zc=","BOF1qaVoyaNHMib79n88jb33GJGDP+tRbtjx3JUtFD0=","Fu/FPqDJYOa7tnpJMLdxSlBNus6nhQMD1mKlYYlojJw=","FjZCs235ybmdalNQIiE5QG/1WMSGRFpXqMIABlo/hfM=","FohfLWfdLqprbm5KHLd4/ls40knR1mgVbAM+NvjzW84=","IVTW8krNDNoRMm4nnun56E3bTKS8Ee/XE2rF1UVzqTM=","Fiz5jAggX7X0oOnLdsZURbMAgAAh2x7zsteRn5wgL6A=","Cm+2fCwPMyDiK0EktP63bOEzD4XauJxEd6zXghT0crQ=","JgIc90oCsZLwxO53k45PRSmF8CHEabboT33z29hlNdQ=","LIuXBMa0F2nJBZI49R+zgnqfsUa6Qk4xirNZNYuuDXc=","KPtshDt+iSWcE+UViYBMpAoQ9bl/xBhUSbGmGmMhUY0=","HiNMF0BYdhVOGvccLOQDMHgJlwXPy3GIZrNH2A3tCYs=","IoNuNxYu/Ih4mtSlYV+OMuFqBfsneABkkKL6+zdDp7U=","KKcNKv9nnfckbbpfxdjkAccmESnooZZcXF7Vfy7lp6Q=","IKWkFsQQH7HMrLTxAeyTwIuK2fS8wM00xRjWvBNtTWI=","CEBXo6OdyS2h89oaG+4pZ580MJYofRBE3uL+KcyIsGg=","Dt9E2inuQYbD663RFI4QEbUIqpSlRJFfl0b3XFffd34=","H3XzyzJaU3sRwWACySf/XYx1GJxjK/5meTJS0kIiDUs=","AgrLaPAVvWiXed5qbHAYnkD5KaxIQ9HfHXjmzyX2dT8=","FWwGjzLg18qqMOhuqXP37MS8LVMEmXDJVrCu2jr4iNc=","DrXGbIYwocOxtnoofcMuuHTXuJRPfi5LbV+BupqGNR4=","CGQyymwQPL52RJ/yes3Axy71U1s99etyjh1Mqs04Z7M=","JZGhKhuy6FUm8rARCw/alwM3v/PEKw0OCSH88S4T6R4=","BN3I4VIULFfHZrUMTIuu6raBNGfBy9Q65XyVsPS3TLI=","Fr7zANh8ZYKVTwsuX7dLsEt4UrLQmvU327h/TAN9EU8=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/AE/AOzA2p2IAIY=","CAlt232sXKvdAnlOBlPe94e9y76nNmGRWyCyM7E7STg=","LKDGXt3qZDxs3Sthd1L3HFs2MUr7VuLXczxU7X392MY=","AHIO8Rt4aN5hclQZZVYJUeMPnqyvldoYPnk6xEBceu4=","FXdRaCEa4slQXN085hiHgtAxZIz4EtnrorJM7KNid8A=","Db1zWFBUeeyj/nzns8dWFQGJltAJks1DvSc2vY7g+ms=","FRphQ6C9l2MpKmrq98CZKrZd2rXTXy5xMof71nK59uk=","EZgwp/HhblOf2XYC3cln5BGdmkjW6EKBrQ5yE5wKVOU=","Fm1JVfbHQi9T51AIRGK7gs5WUWHHinH2jAar/IDF9Xg=","K/f3eRrYSObIgEETy3igptxfGpRzQQBt2/6E2/luy8M=","CbJVDalVwnRus6ABTBFuZ7BhQCByrPLN3chK922iHMU=","A64k5Y+Co+l/rIs5DGRDRyIyWzOMbeFqsH6oPacRW4k=","IuqY2ydQLkFCgkozPZTil+ATR1fzFtutI3HMLwrRjSE=","LUICC48CYX2a/QaT3YzQkADAKpSqoUs12OzYCO38FZY=","DZSMAyjWrens/xORzJJtpzEbtLMRzYk6n+kXZAsm58E=","HqHCyMKCSAm95j3MYvawahSf0rm9raY1pMNe3iannoI=","LpCIcnem5ujZY3mXmMmZO0Hh1lhFwXhAvBZpw0MsZLA=","DIUKhml9mmCdJvAqmeEWwWTz2DldO9aZ+DIfdigHcWU=","FtiQmducMtkOZ6dDCLhciGfRzfC6PJfHo8BQMi+RIyk=","EiuLt0obiyKcSRrTFjLajguQxm9Svhz/uh9QvXQBSK8=","LLuy2mKpUlKD/aX8V4Lk4RwPTvVZxxV7g8WZ+lHBG9Y=","FkTC0K85DHg1v5of7AGuCHvd8aIaPZiKdcnF2mAGrNg=","FHzSuuLptxeWPKYjzy8rf8uVZy0FbB1z0q83LY3NbPM=","C6pNDOYzHZK5i+ucKPavr6C5wsosGUufcKbTtijj6iU=","BG+aSq+2VPSmuRA9IIFOSFsKAIGfIA+LL8SETu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=","DALsZOkSpS+YvJZ/Z9dOpTN0oZXmuN8tocCr+V/tHJY=","ELNU+wXge3LX1lVETMlkEw4+57Y3RJgePFplJ5roBfY=","GBNaNUdEOt24CeVtKZ1qtxYAympn1z+5A8RuofiKeKA=","FpstHJUz/eKPW2FyXrHbLfUjyKfzJoFqSKBrSS99CXE=","BwbMaEaZG/pQqlJ0fGOrG7NXx86qSzigtr39xIzHRdI=","DyOi3weaOn85Cf/onyouXUjgjIH1arqGm4oHOxNMJ2Y=","G7LtTNaBBHp9RJpDWxQSoaVFdtGimdgwfJMl0NlXZlg=","KNQaKsezxxl07gWMciOgp84LtaHkhdvSaGvBMAtH4h4=","JatQ8g3TkbO62D//DulpIlhTbaIoGQtyMHPVUxDEvR8=","J7JLNG3hb08oagVqJCOYla3eERh+1cfRHnxTW6XKYwA=","D/Fq/dnaAoFbmPuSxXY7SbDr+xa87WKbj/LWNxCQxJU=","CKEyn+tU8ICS0Y2yKR6RxOF8fAmRP+1MATD8jn91ybQ=","DNa9cyMH7FMUoUJZ01S/fSd/BbrbHNByU4ZkctfpB2k=","EBvaHygxHCl3zTtFLfaqQpQkuHz0fJI2bNRdmSagq8g=","AsOTGURZmfgOe4C1o4Y5oM681bB2b2QjAif2gJKA724=","I+ev/9DG/i7JWjlK8stySusIglAhTAmTQyib30ZdRvI=","IXbnpUWiRM5LwafCvcqVMS2mL73Su/ja40fGEWcOp9o=","HGBncxx30B0/qGfo3+wriKy8F+fOrdcGxYquOCVOouI=","FYiyWCEx0F7iC+yhzkBclJ/BYpIhlEfStzxij6wAzFg=","Iy9lg4R24BvhKHty+Il5OPB4PtqSufTB6+ggLrKdyIk=","AitvLGJLY36EPnSnbDJbBf/CrkYUOE4POgzBhWViRnY=","EgLiwKc7iitDRpSV3ZUx3MgHLRbmOtwCkjxQsUGhhO4=","AU4gPKZNwFc1szB4rYO5aUIblqqeg0fOLlIus4iG2yQ=","BAkjISsbfjfJN3k67MIz8gLWt1ePxvUndLFl7WeE5HE=","D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","GHLAz6zyv25C0R1S0owwb8zVPCV1qaJTS4PdJxhiE6Y=","CegCBjq4wLABJlzPnlvNmoPeD1b969OFzL9cu12oVms=","LQF32el64W6pI7wpw7NPQ7l0O7BOCvOF/kAQ65Kz+u8=","IPZO+fO5FDpNynfNssEacvjjvvjK03puB9FW2YLTatk=","FAheMV/RG9QxFhO1Y2WOGUqN5dzoKNC0AZdNpiqPWVM=","Hq45B3cijAPr1WP8TMEe4N7XGNCtqO0yfUzAmjMH7ek=","BkctOprdrbfKVa2NKG1+8GMM6E+mMYMgCfLc2twxXaY=","APzf2zU9Opm/LCE9mmh9AyGETiNxpcpIvUH3sl6Wtqc=","IkxFH3Z0V5vgRWiVfa74auv6uHRrjY1oy7XU4sUwGeU=","DjePILcczf+wsgFJ30HigyxXu/OF6VPyyPVf1UEpGhs=","AF7etqTKemy/9cXZJpS7RmmNLUduzBeHkEhj9JkU5J8=","EVvda1yThZVaiiDSRMQGKwjut462kurXiTSCsAvv/ug=","D2panDnnYjxFg9m3IV3U48yX5ajiQKzg6MX6g0MGDvU=","KuvnN3Qa2g3PmYDoTwIVBtX1L3pAgvDpfTeUASOtC/g=","GxzpI/7GH/jaKsSsXTwnksmhrfkDldjHYaqWc1o4omY=","HCIWccp48A9Y1dVDnA0Rv/O590ti5Adwp5ja6XCl2yQ=","FXcKkwFuh2FYm21uW8V9yoTLkRViImOROazG8lZozrE=","DFMNn7DYSisE1P1dI0XFxYfoYDYfgI5dXmDX9hdbMbA=","Ccko3dMQ8BOgF24xTS126Uh8VjEILcTIMrGDsUNjB4I=","B1kZp3QmXvYki66AcEkpRWMUsqJ0pE2L4iwaF0fs6Ec=","HMAls6WfvZkzGNvWXyK0QY+vill/vp2cRiYvW5n+EEw=","ECRPDpW/k+gy/lLknhwFgw8Q+6kTYie8e+6coQq3Jmc=","J/xIxf2P7OSFHrX6sojU/UGz6wzOVoJ9rMejUJ5PpMc=","IZQEz4x/7vdR255dLE2x7JbuZnAeeEIvV7c2+vJZM5g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X6Lr6aClHHFgdUyvxC+faHokXpfcKdyThM=","IrxowIVe7frvVRRI2jtjknEAjQYzqp54P65SQE593LQ=","E0DVts4GAHVFmoT/f0eSDNUxj50Sf55STdH3rB0IK4w=","CULJrX3lVd2XYniuu/HSLxvq6g5cortbDm5nnyx7ayI=","DmW7y16/I6QNbiVwOuApoxcitkoNIQSW3BfJAU+d9FE=","ARKpGb0M64RVd17kniFltSkbnk5ACnXpd8plZuagvWk=","G5HE2KVENpsNrureJ6DClmt0Gi1GEx0xBXQfMd8g6hE=","At2FeX4WjSH6fluWYidm7AwCJGv57jKKkV/y4sjZdCo=","FiJHJDFBR9R5rgy9JqOB1FhKis/TGF1EObUnYZ065MQ=","L+hOWXG/06kZ+tBCFKy8UNB/MBXZfChAXd6SgnwCU/M=","LLZzThmz4CxGqAPVYWcwrWND09kj/pq5hJKSHb4Uw8g=","GoV+F/LsG0whCt+2q3DHs90M5v9gO3dB3Sp+7UdEU9I=","FM5jo1DSnl3HD56i4d0JEvjXNNMoM3I6r+2r9BvrW5I=","ATHS4VLH/D5lqJ9KIuc3M17U9oyCxdzrQ4tRnDUhMrs=","HkEK8uDE8tITyzRkFNkWnL9IHpuk1EMeI1kRnXlnEPY=","LJPBRU0MyG60HfEiTZhpcA7eeDZHVhHrHwagNgcC0eQ=","C9WDWBOt391/5S9MijsQsVfKYwc+4ngvdPQ1BqtY/FI=","IJRN4b/Be6keek5X6syxKoZPDwP0l5u0oxqEQlzEwOY=","IXh7VM5UPppx0RvgPh7jrJzN1iIfQ64NJhYkrcK9mC4=","Il50oLwCPIC7Ja3xEdUquDPqTkaWcoEGQGHt4PPXDjo=","GfYYlHMAtWHcPUajzWKp0l9+mzPzATh9gasSCf6wpUE=","IzpGKH1RmsVorfmbuGlHB3dbmZptCjq8qNbKZOAYSEE=","GNDbqqmNtnO0csitEbSQ+sdvYgieEN7B4lOG49BNz/M=","F3qmvoZFSttORfZJZyQjGJ6u3zRDkzyl2M8tpLwIb+U=","AaAoEKxq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huuf4JDFN23pJ1Z4kQ81iDg568ILnJGpyXpw=","EoWM6lHu7C5PulByqQSTGN5A6ppBefp0x7/B4VcGgB8=","CM9AQJH07l/cBo/1Gifnmhj4rpOt2iO0Et437tFk+9U=","B2OPdVg0sF5tuvG5kqur4bV1iX53bq00caT+aNnnD3o=","JGEFVY9FR56M1Ul9kkCm3ZjZboER7U5v6K5IHMIhOUs=","KZTk3iP0c3HGjNH2AucSlaNqNluXBwTHCyL4qBaFC18=","IsjTv73zY3qWMenRsIUG1g/uaUWwA466jy2oXxD+8Mc=","KBwvryosRJu0CkvEc46mTv7BGNNL37OGUvyG5VKXoz4=","GMBFzdqrQziTRLTv6VJU3OfSX305KwUlbCuUnkfKo/0=","APiafxrJ+zeydTx1itAmXJTv/n54OMXwNpb74eoZzWI=","F6qqa8cbLRqg2ISwCTTxKDxZkBHpbv1G1NYC2V2Gn4o=","KRNFcXUkElXZTwAuxQpRg4YW8nWNaXI6kb8K3Eb60Os=","EuujTFLJN2Ui+ACKZmCKtPCEAaq4XRY2R5H9+RumYfw=","E16TeWk/Ttvp/IaESTilJRjonbn+E+RXWRMoco8V3Ag=","L2u06RggseE2f4MTTtYygwMHBlrfda7uFmbTpZvqp2o=","E1Q6mOWLG235gkf0UuAA/gcas/zbCz5rGpGa41I1KBg=","L9gffYRLmaxh6PCT3GX+DPRdwqXN6+lvALD0O9C32c4=","LVVSIiztTiDMgDcaAhBBHpUYDMSzEOtmIJwqRmgafwc=","I8FTOIvhIZa8HJfYjZoY3trgmbyw8f+ldphTeQIqGyE=","B/DSaes03Wmt3V3vWQK5p6ltzRc7/kYIKO05jvs6Ovo=","DVEWkbbvezLWtku3DiGYJtEFwOPfuQWouIFkuOM/Ldw=","KH3DYJd0CW0rnZjG8lMJRpANnc0F8APeHS+LPLjn0a4=","EVMbFN20mwZvESmAjwQ+PJ0/MgieOuvP4pzknZPQ11k=","JwwH+4WHHzAXxGiz9HAcQsViu3miy3Shtj+FcJCTMYE=","CRz9eQ1J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Y4=","COE8LmHERrUwJNIRarF2yENgDQDmdkAsRkF0UVjCQ/g=","AfoCYWAkzZvt9kPqNtJi0bJPOKVXp3qCxoZhjDwz7fk="],["DX4eriz+xAZALTTCWeWWb24usmHU8I4pCIMlprtmmmM=","GE5YJGieT4FDhWffQ1854dNagZBB1+rzr5CEKb6yvC8=","GP3mRRBiAW7eqjLkCo/DB1HhfpusGS+MqJHBHznr/4E=","BKVyuGEF26UlPX7R5201oSbmcYVRuXayCPWT8IFY3qk=","HZSOh3SxgPpeGjkyQ53+jF8ypDdlfSEnfkJhS0yaPcM=","IEQapfTVY45k162ZgrG/z94Vj2o81q9ilB4FzI5TMVE=","F4pY/xItFozU/xGkcoCkuOXNsxNBG29umpR8f7V3pR8=","JW4UU3jSYE24xQndpFUkUrbEqJH6xdoZnHVgdo2UiDY=","JfZNQqdQlxr8uAIwcPbsl7sjYrGWparir2pw8uezV68=","AvgSEh4urMx9Ub8mY5jVuo9gGiqm0zXrafeGRkIXdmc=","AMj4ciiSovBsWrRU5Ae9VX6cLqd++AfuDj2JxnhbDTM=","BAfVhaan77VhN35fOXIxmj5yheFGxUme9shQSj0LYuM=","EcuD4B/1gDsEmitZrpkVs+AEXh22lKbfnenE5xUtGR0=","LhwpLga3+KbkNE8QVAZ1pjyknkUvaVZfz7zUO6wPOvQ="],["B5aiOtbtKsmVEEoNPmx16XfOKauh0l5iqaiiA2TqG+A=","EATF7Lq2t9Eva7TK6rM91Wwfgp7ij0fCn7+7FH6IRlQ=","B3VZRzc3VJ37IBbfpyVYuywcgW1zGHY6Xk/VFrBJFOg=","G8vmftX7dSKt6v0dmhUPjVetohjbNGkVyG5sAMAOOLg=","G2GgPiGDYiBP0gtnU25ebKe5bbtT1T7RYCMCmIYUh28=","LT0mnuMk58Q8EaqEzRW61lRE74Np3xV0moprLIEh4rk=","DqRdIkee9Xc+WLD+dAho/B6LUL/3YEnVtu1ecjcRhns=","IoAlDiEr4qSNKTeWqIrGKwVBEBL0amb4egIgo9/z950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A7g9mQgRYUe4sttF7yTzFWuPGFU="],["BGRiUzgPS/ZClyroGXd3lFSqCDP9o2sYIsucCXGePdE=","AmRiXHTyo7u9wZSBt4ZnV+Y5wSS061YNpTH875l3OQM=","CXFOcX2qPOs+l5TSSrzRcoMcuhgGbEwEiwmV6ebfHew=","FNrJBZyeeNlsfvgHujQrlGhwZ5eCIx0q8Pbkq3bL0QE=","Ep3Wd8H4qi020qfVNAZF36w0pkrkVvkbl96fjpExNhU=","EIec6rw60EXXb2zVsmtW3Ee1EtZQlFj5/96Np55mSc0=","D3w/PMls7aA55DyGwbaAx31vSfUOlN4j5NtC+OnK99M=","EL14JPwbiDs9oActLGGUxKHllXFWWU6Qitv25rGRK5s=","CQ2hLhWVVR0lAPkDELdwHfl2dkBBE8M+R1sud0mtthM=","JM6wdm3iX8IniShqCSh750AxDEF0cyC98utclW4EA1Y=","HH3OzqWeb3vrbXAuL+dFiEFdMOXcCZcLstVqzI4IMo8=","EQpehN4JIJ6TY8A8IrU3rGp6q6L2qdGh9r+rcalgpYM=","E4ItzD9icbcVScLNkXuFnNrDavaEiATRWjVNTeD2fvk=","CF44CQXrLLfnU9CrD/SRiyMsc0QYtr/hMx3kkvx2shw="]]}})),zNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon13=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(WNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),KNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["FI2eRUIGaxJdptaf8/tnbr0n5qOKH/QoG9Y5yXr2/9U=","C2CiiAUyQpX8r1G7iNlpI3LL9O7xy6i4XLwFk0ZpGog=","LTj4Eq0desecMv3VelbtuGGIXyD6S8bQ2ULC9B6OSn0=","JXOKzRFjWAAzNn/Y8e4ZnX6zw3iR4GvCDmtHagNXWIs=","JH9pZ/ykJomujiC1p6GY1jCGVJt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I=","JkLO4jQIESeyi07bA4SXp5oqMTobdJ/S62fjd5QoNkU=","JACzmCyS9/whgYiacIfA3JRtsrLo2G00ULwlT2UY2zc=","JNqItPLC3HBV9KVfeDIjktgIwHby3my2oDiB8jVOkQY=","GjlRzWklMWSBSErDmzG4NielSEwlnIGO4jonAMbOrJ8=","LOyif7mWzbptbuHhBfpd+LprZ7hlkxwBdRX7QpCN4BA=","FggdBL1lvBnkGt72/Y2ngU0rsM/fsuzOXfgqi+qHnm4=","BO7UuJwO3hvViFGpMeTeeR5Mac8rERb4o2srxVkADkY=","HWACG0E3sgd7MRc3hwBCAfILBwFBHEirnhRBj+Ju9Ls=","FjbCnYVof+w6pBJbtm5dXxVWVXpIYMHfhRJ3kPCaYaE=","JccW5epc4saitnGoY9Wss7LdSWOHn0wWPaagb7JlzEI=","HezgAoS8aY6ir5fePUJs+QEQu0m+caOTwc5w6pcdtGA=","KSoYVprtPChoUAHUDLQt2BU/qZABy9UnKcpvjixGbu4=","Ju2qCrf37qyHdr/xILRIPOmmvOhdCZkx7JMiuh+/OIE=","BdI/0HQ+DjcIlYg5LG3wsE1a7y5SaKsZwunps6OvSSE=","MAu+wwLJuLfkuqBpkFcf712tJq9hjQd5tpl3okTFifU=","Jp8tnOCY7uieaU1T07LZhhSQzxhOoJuvZA8Ao5rHKj0=","ESKjf6DDeGNDEYK7gne9DoSbIXioFtMcdgT8UhnRqmI=","FOLbvrMKOld6CyKZzprwU50I6uB0inIYgKrKr+GGRTg=","L5JsZ3OoxBG4fcUZjDCZA9n0kq9vCkOlryAo5Un2yAE=","EWnxEM/0lwC7X+6eUkpJ41iJxGieOEuSeYTplXxYf+M=","AD/shj9AMnsGbmgFTIfSDO+h6xMUBSDUOmebnkoUemE=","LodkDOtAEqmtoxSCx5oI9kurLiwBDLA2u6weSofIAb0=","A+B6jo6GqGOxRxlHvS6WKRSbVVAqas2r9gntr6C8nZg=","Izl9og/h3QX/Ico9IT/AznzkbEaVN8GiqvUilNL9ba4=","F5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qF+vNU9Hs66fwnYGrXAb/n3j7nBNgWD50=","DrYUK9oqXya0n23tq9y3qX8gkx/BQlaqheajsFmcg4M=","H449ibXJcyWnBjxwMBQUSvGV7DfLiwnVRHhutnIejvQ=","GgJ1g+Laet/7NTQJVwDcb31v8qehmwbX1p1+tj2kFYw=","KCPTgiGQFx9ZJLT/5TgwUMswH7rNdFwuB0+JFSpTRww=","F/znogX0LxfIChRqo1KOdKPPxEShKJz1NUB/72z6Ho0=","IRt6EfHTbJwQqbPnjuUymuh+fv+8zlloJgtkyk3NBu0=","GGE2i7mOoyKQdfSsjOrFERIOw/zoTq5jKwMTikS0vV8=","ERtN+arYG0La1QTPB80pVsxISOft6M4QB1U494y391g=","Et9uCEfbjQGziWOWA8h42RoZ9EYRf5pK78qQOMydFH0=","LV5HQRTHxgIL16224VM3xOcvbvFTJBBudYXKP4wRbE8=","Im5lWAikBi+LtHwTHOElus/mjnhA9LpkdoQQQcKAiYE=","HwGp2YqtPZplpTc+1tK2cgMNwcqbRhSbv58ISn0k9OQ=","LzV4y6g6rIqD80qvXGUbBXEZnjpN457AV55e4zmT/gM=","GDkdQjxFQBlALPDsezbMEzJH65i5u0OcnBib6uv91aw=","Jvz2yoEe3yZ72ADgsA9rSeYOWhPKlEgQo2YyWV14gYE=","FA+bWFmE2TH+hWvfRRgF/KZK3+NNVbpPQUBIC9epes8=","Eeh44X8fhnrek+kU5YAkRkOFq/ZAP9SmIuQfsdwi49w=","H5l8beZk6c6wQsVb0iySMrhY5A/07+tAgsdvvWLd2OI=","J3MoS26xxH8U3nHyMpicqb1qcKrhhn7glSmfZBnO5So=","EGa4cwCvQ5yrg2YFIe6dA7BqF8mgC1t6jVa/xAH6W90=","LxMJZEZ5MH6Y1iB2aihhzuWJ5tVd2XDIxD3nrYTX0RA=","LxBDt/nktuw5qgdkAH5QMgYX2XqHvp37jwC0zCfFuus=","GzrFUL/cb89O+YObZrMiO6257Mdq45/pXJpHwqEQLKs=","BwvjDkN4Tc99meQzQQ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cIj7u2uy6SeQ=","KYawujo+IyEp48RE6UglhP2D1tan2b9DEgpMVu5dsDs=","GhiFN7eM6fZj1ktXVdpTz4jsruhSRCdn/BYCX/emZ4A=","CGGRNHSYQZFb9fkswgRev7EkUGubJSVb6BSjso++EY0=","ATXPbDzQxpRYH8Lkd9ZTinsjP4nSJjc2IngbApNA8MY=","BPmlJU3/dlygQD76oqzZCWt/WfvCADkThmC4ksgIBoo=","KbzdbGcvChhwcI036FEwIlxfyCbp5iFGMT++HuLHTR8=","DB13f47tkR1MwOUMP0MM6aHV1xdoAL7cNvkrfkpoX+A=","H/6Kn/vHbUbC6iq8Dh+zgx8YyBFEvOYCgR3jliPUpJM=","IWzT5m7oKx2mWFSfTfE+w/OM6TQWc8SYWf8Ogxgnp+E=","BrgGiDv2k4ixSK/XO0iA/2O8V+CJ7yVuSla+/nir27M=","GGj2UhTOhZlGoqhusJJaZQzE1HqVuYijvZilQG+q7Is=","IBsss/sAAlhL7/afqoooloznMgf3MTNqPVaGC8jTPT0=","DxyZj/1lfVr189FQD5ghRTdD+s4Dri/9BVvt9iS3Zpk=","HY1YT9OT0qjF+p+yhAASpOXP0fypf4O/bMpGiLOTH08=","HUxex5LQ+eEhwX/1dU7/mAokd/FC+7gVkBtsWX9fUQE=","BYKD2agsv9jwFnU3OqY9knnpu0Y8IlrniVqMUaeUvxU=","J5e+SMmcGaFB5XzuMreEX1U5I7CEdHlsvg6555sF+OE=","K1SJYRbMRd+qRyBNUVYHXR3smM/KdEevTpNFfsHZ7G8=","Gy+tLte67j+z0hl9ap7cow7OQpJfE0geD3gBchGfsT0=","BrVOP914XgmfeRyU+r/GLDz3WWPCGnWmDmXaiW6jfcg=","LzyJYzZaQFiovnqR5uRR3LHXkzqoSEpapzWWg8z6h+g=","L9mSnciVkw6wmGYe0NFS8oaL/qE+iZLQimklO56a/H0=","JdHr6OnsD8bRgrkG10dJjLn6VaKY+Pn2ybTMLrMmrck=","C25lNrowILviWfRascOLL102hluErIJBcg0ozf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lkskanFHvrv0=","DFsobkanD4EmGheZwDbP86E43TGvhH7qN5v9zoz/3cw=","KM6xMRrj8hEsWe/y8d428Cf+dI45jmHi37X0FgUZW3Y=","ArqjxCjU854d1RFyhAzsr8k4aaXU0sRR7yYbkdgz6xg=","Ev3fy6TtxI/6Cvkn5dKdZ4ytQ7HliJ5JZRJCPFHHUZQ=","H/5KQldlrLtN2PZx8Rw6vtHkPMhynI1yWKeHNm5pNb0=","BRjhFnY513Jt6BTlc/jW5kTeJAGQ6yLaB6wqbdGkn8U=","EIgIjKOy7F7zQG2LGUmECSU0I6DLqlebeM/iK40v/dg=","AUETLmOb45D1T7RtrxvDOmmNoxtuISQawlupG0p6I0Q=","LTDkB1eWBQwPQARABZs7CBQaPAlpVcAHIPN+M0mxADc=","BsD40gUEENeXl046IrSNe0qg9MEtt8caMZrexDYZQbM=","AncUBZs8olMeOmXgJNO9RoaehUtoiEprFoaRCallMzo=","EUPpYAM7KDfjWRGyJZZvs1Wfhphop1h2hM1yEOys6dA=","JFYQIrM1I0Evt4US45YXIm7IdAIZOdPQ6bekAXlGMrU=","Ilo6I5BU7wYeZktW1l79Yt2+XP759VvUAqMni5TJvB8=","BL4WWlM9GbSaAVHnGDhopRIKLmQitQBEEFC0HEhjBbI=","FyWFcaqHxj1HfRDmTQaf3yMabkfUox3dpNbl8ZM/k98=","KppriTQ/xBbil9u6b2vD0oTbGAzd5mzpSwuupf9xa54=","FOBZWI+PivIil913u7ARL1flbDt9PqR0cTNNNOIYG2w=","CMCc9nv00P0MIRKY/kftIz5qtS68uhtST2ba0BNm70M=","GRbtS4pfl5FUqRmVZqizYcwQB1Ua2dtFUV+KbA4bJwU=","Eax6hg15P5eHDpUrMkZMtfUB4hXmaRql1LecHEz8zzM=","J3DFpbg+9AfLefyeVWoxC9aqPwgea0XZinaD9gwyJ7Y=","HUEtFc3990jzqX2tgph2YN05pOqTL8vFGggiM8FW1ps=","MD3vLq8Wd7XHuc+2eYKYBNZzTavNetOndLv7moM3v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OQrG1UFOk/Jbuev/aIyZ5IKiOh/FiKf0TI=","GuamqMm+9HfRWiEXautCK+JOXQ8MvYycs39LkURRDjg=","JODmoAsXXiJAfeZoFb3dCWtC3XP7VR64EPhOAb4wTAo=","LxarVnEIn33gu9HhR45FufpihP9ERM78i0NGkYe4Pl4=","Gdysnc8Hi2poUj07zDQSmA5VGc5tuNErbas5B7vX4Ow=","ILC7HykBNq6IvbwVs8hkYksH7T3/V5BVwWgLChhfawY=","COiT2K+Xig+6KkL2v/fy/jp003Zerf9JqCBW0BTb40Y=","DqyZ16903hrR/6qbX0Pso11gg0lVNsCsvpjLry177Co=","Genm1WkjczkjoVzX+KQ1A1LqMI1hYEc9WTfpxLULfP4=","GOQXZNu10g+FgxqJ/cFAlO0DQyFvYCZh+lpU2+vAScc=","Jm38bp0xBAz90QiIQPwLZRcpdvWOBkDqb16tso6ryqs=","CfGsH12A0UPZzQhyc6lX8Tye4m9bds8w0/tzw5L5HPk=","FJU4TFk+xNokiheqRXvb6M+VAgFZ/0brlzprVYptRt0=","ChGmPlGR66FvbMtOkr1jickprRU8U6EwyTOkH0a2tMg=","IxoiouD2qyBGZEUSnZakD+7BsplQmUlYjA9Yp2bZs/Y=","ADo+sRENdblmjQ2KSNoHbn3NLtD83rnMNTjBF3MEe6U=","KLUr9t2NDFQTrnvaXx5rXT5FSKRQXQjjb3e3JinZd5A=","G6GIMUM8sVQF7nJLtCgbulQSmc+t1IXGsX90/OQ2z1c=","HSlZZwhChKISuEHqLr9/8p3c+ujb7r2d9Ytfhi5/2Ag=","DoY1Z9eI2sHdXzJEVkrtkox5I7q4liRSvHiFckqTRy4=","DCFKUFPqYJ5WCOmm1UNDoyzQLTJPYFPjOLNNwHAatcg=","Fv+w2bXz+9a98dUDg3I83XLzUw0+fe0piDuQAIPGCP4=","IOBYNVUOajYmBvUCUdisBwbi++V+RrSXflLhrfNIni4=","GJGo0bB4ZQUhsIxBYhbKoIbg6YNlqh1bpB1K4HaAet4=","Ab0TGeqB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ldxs06NTEIIhFhzXD73xGMOVTKuck=","GAURXx1bYBkexahzPMxbG1tKMtgccPI5gt8qJZlSiRY=","KTTXPb/aRmazMaDMLzj36D7YCTzynREe90p6jXByxeg=","AEiOw6ZWNTZpYTTYoKUahyz8Su3EWMROtqcjWvkmPJU=","ExnZtPs70BQm/8sm8la0+GNODxj5WX2sN6D1+aAMu0c=","CrXoLjReMEsaig9lf98/4D77AGsuU/yOd2UGeWwzWBw=","A/1o/3RyKwnKxNWLN34IGGcdn/UqIR5EmrFiw9DPh1s=","HnxVLlqPNgVgnDZnvB+BUwmfRuyO3/eL3c/35CNy0Ak=","BplS6csm2N3Y74RIT0//hJVgFInd+c+8hnMcoVvCtCs=","Bp3kMi85D7SzxBFllvmo9RsA8uzJ7VO4zocDel2Ms2w=","Ei5TU1HQN5C5oUEevNWViha69hsBwQb18VhGHbpCclg=","Iv8i8BH4wibs55fR42sSAUSTOPvVI/xGulL6SLMie2Q=","EWHTBJDxpQffGnW+hqXflNRIoiQRHzwxOsP9JzFlOIw=","KuL6L8OWLyL/a71DdrZHeyrOP6ljWGY31wCuk22Svgk=","Kp3Am78sQ/Lcdatvm/7TZXA6Q7nDWBAffrzKIIJlOyA=","L0AuYK7Zxf6FufrOEsKncEg6zoETL83J+7x+/0h0wws=","FPNS6dykbWXv6L7De4mlc/ZfCqjgx1O80Q0k/QRf0PU=","E8cMO/Qs40w2iTOQUAuC+xSGow05IbTssfpHwIXyD9k=","EYYZuxSlOiGh7O+RE7EOfGt6NtOzj35s5auql/6Wv1I=","I2pFsnIyDOpqdCgPKpVOOxVxdLiS1fOyrEtuXE2684w=","IP14qfZi074HwHuZ5NTLgEl0s/rhreY42IAOg0kLMaE=","BJkq+LkDA0+sykACWGRmE2pnUiIJOsNIp3hMi/vN2aA=","I1Sy7Ix+jm0ak/cwc0LHtm3WzJMT5ds9BsOA/rJJGTw=","GsjJVYiF36fX30kOEbEChU3z3lsUxfv/8veqPzH9Lig=","BjZ1l6t6LlM9maREdyY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STVRdBzECMMFGmvoDsoO4x+2To=","EOe62VLIpjKt4dB3SQv4CxJcGgWuTveRLmnxUtZAbeI=","KNSrMJf+jQN39KJngmEWa1uyTFHwTXaAguzus8ax+0M=","B3KxwUy5WqazneHUwk7LfwjSY0OxSthYIbopv1mDsmM=","GFb6NW/pSEf1dgL1/UHanUykBPhY4p5yN1aKjx9SygU=","JFe4Ip29tJwgfloSCLECsPhsnyp2tKSiPA1CMwS/6dQ=","BF+/5rLIdZqCNOFvD0w39TMSWW+pCyt70n8LVdxa73c=","F/Til1gjlZbnBHiqqLY/8SanQFWsW4DHdcD5JNgPLGM=","FGzal9Qf6ji8Y8lVFEplIj1PVlLFG+4WDa27xoElJxc=","FczLKR47dWc7qo0sSEbuVtoz3bSXZhdgxL8Z1SUD7C4=","DbVgxek+zRMbeyakt3fCgjTJ0VWIzF5fIASID17XbZg=","J3CR9NaMTbwbi5NXDMJJlz6JL0jbPDVqllgWojsoaEE=","IwwIeLjmcGcvI1mLdxfO8bcipEjZ0U4EuB73IucrtQU=","HXquPNjdP5HifKtvFbopdP2/cngoJfmUBaUME6AERGo=","LIfkuBFzzo/ZnJvfLwxL054yRdhMvYnXnY6fp96WNYk=","KzE3s6dk1fNgQjLMF90uirltRqffnmhBm058GOv9Wo4=","HZLRAvT0MNDhiUi5cBtUTlQT0LW7HgVu4mchZb9SRZ0=","C/90ygTmVouP62oDSUMRM510kKddBzNoJCeE6nHwUg8=","EE+zqn/ID3zTVqlkAbQVqrkcQHdCb7CI8qqXKCL5eG8=","IdXFMn+cCsZut9qHunpjok5H2OA+tJgXq58QcNhk9gM=","Lym+soEg2b3E4UeUbPfMJgu7vl6mQh19O62Zr587FuQ=","FmHZ06uY5yBLI1XgV2jWz0Nn8w8URtjLV1dscdj4PLM=","K0BvK58TWF4OXkTbUhCt1pfL0/C1IySaIe1jSUCXvPM=","CdUHtQByZQsP/Fw2pjo1loBjdHvXCmVcnw4HtYrkqIE=","F+ONt2fP99+vyBPptnc+ddnxJ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FQRpjnjvw6Q9uP3QPFBWZr45qQ6IGlXL5U=","FN5Ei+y6bKCtshsHRV0sKGTHuFOCJnAm4o8JeIItZaw="],["GYF9tm/bghXs9wR2xARMP0HXisWlScaE41hFlH3KCxE=","CPMo5eZsC4ebNsIz9Zi9hXjRji2p8BnwQRcxUk9C2Qs=","JZoqHwRoRHJM+ZKu3CY19mgPVeig/axpXs0F+8LLvRk=","Bn2SlLQHKxLDaMKBalO7Frfn4qeZeaQW8tAq+GKr7fs=","Dh1+wqVLEbNuZddVHpqHWojMx6bARw58JuGZZwoIWbI=","Fzs7NJ7oiNk0runBToic19eF0ePk8etypcLlbEj9VMk=","KXdlihDebnkhq540vPB7vKYaclSa5X0MFWkb0UPU0t4=","A5YJdzPeWh+kpUh0m3P/fEJvmNnlrRaSBhTTN4l/ax8=","Kmbe/PSJwj7sUHmg7OHFNBAnpZ58WS52AYS4JtcNupw=","EPQzaMBWf0Bapqr882fj5ovv+VfEsMuhfDDGKz+VSQw=","JaKkPuYSZj29YYFPLesG7QBadBT5mCX4vmb1Qvlaey8=","GC8ck8brKYZ7FVnFggemrq9Atm6q9XnKa9fKQKrrer0=","BC7qYW2QUCUUekgutDajt1U1yYabdtbNrOEY4VyR+3c=","Bc5/WS3KIUjhmFVP1k24xHnynSPx8W2vPLiTDZRW5MU=","GESoHU+rV67btMRiji5H/LKSKIPqsLLh3hbySN5LuQI="],["Bzll96m6jLM6lV1C2lX9fDej8CJrAp023LP76pXWQvM=","KEovCD7jKmZjCByABxPg8jleNI3OzIn8gap1pdsroSs=","CPeObcWc1GlMQau8oIZWmpCDyozIAL2RNOTUjtnYncM=","KTyooGxfF52TgGXqR/gPZf8hlpqUKeQAqhd+z2tq6FM=","Apto5lLerIGIJNoMKhG0CNeoOaLoV2xVv6XxM1/8W5M=","Cbw+QL/l9hb71SDziUoP3Tf+spQp/TpQFZUxcd46cPk=","KEGBCT5DQZeJJjc25USBcRH9y1WaQ3c/BRhmCKzFQuQ=","C51aOpV+7yUa6cJuU0I/m+by78JLsYdWiTqdgOVqCCU=","BKqOkdww+coxj+JHGP5ZWHH3iX6S1X8th9SxvPmmNeE=","JToRxmRjptyv2Dmfyli6J/67wwfYgzxmbg2N8HLF9p8=","Dk/UmHeMLHagLQ2R2PiYJYVucG9Zgzff6788ozOXlo8=","Em7IwgAmLEXREzv52l8eX9YrzqHkk6CArxvSg6uG8SI=","DPAwsQobQpHlduurs5xYP+oPpt7PqYz/epbcBst32lE=","EQKY/n8rz9rAvNw6/+60Ntezo3dFOud4+r03qayymac=","Du8E8kriEO4KlLxWIVdHg+SdTZM2Wis90Gn6/UMFVFI="],["CaVQQxQwhGtmlBJbVkKwBgfzahopSFNho89Cfad+zNA=","GXcug4FvwsSblkJ8atBXM0f6SaXfaRJSWSrrw5AFWjU=","LY7Gra06ZGhDyIzaAShfjzLSnGsQJctUIUIr+L26f84=","JVuWJY3I4WRPG8rs7nc2MvJabqgDzTKh4B+CVzd19vw=","GG4TYAQRk+EvOAmbDjXnZ6/8NBD2qN/Om8dVZ+ObxAI=","Kcsx4a/vTyUleKq9dvI6EyCqyQ1KCmbCIl49lMxI0i8=","IA+iDtG4cTE5AMAfi2l3YNAw2MwBUP3FjgSg2KKzRLE=","GmOlidFxCqcFE2y1IMLxxE13jkkMIS1LcunxU45VVc8=","EzNps7zHPueT6Gk2DNUNjfYP45jtnZwNDQPmafeW6H8=","HplRbCQNQryqrZxz8hpGGT24QzNJIDA17qMDmPnfeJM=","E9hMp/NYqv+x7o666Bwy4BrcAekNCclFGvNuMa+CFw4=","BaeEZKS2u8pultg5gnv926qdkkhArvZVXeZD3xZ9TKo=","Jg7xOsfoD9LbPenrlC7e7z9eJS1MBFCLHhsTAZGtDfY=","FIKfCdS+675vwwVFBHJD+z2rmcYqq3Nkp6W0J0V6AsA=","EyhGfIe6cwKJIaiTM7q5f4sk/Kpy9Dg3y8/l37epRf4="],["Bo606dbgpYi2GmrVAfOA2g8AkGdmbAhT0VbjPVnENRU=","LcWQADnUyF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hKk=","DMj5C6to5t6EhF2hiZv8UkQL3duUCyCDAa6UqVd3y3I=","DA3PKxNVLsVclxZr40fKL5OwfioQFkCW01P6KAx5aCE=","AB8SYRepSd/5APpdERoM4mYb2dVERXfEkamVHPtYGS0=","E49n+9nLke9SBtSMq7JprEK9NSzzceQzEbzK2JrMUJ4=","EUkrpAZDXzViOQb/Rd8Rw577Wf/wn1AfuJPXF+NPnWE="]]}})),HNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon14=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(KNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),qNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["EeJ9p7fvlklIozKXTQfM7qd4vDOu280J3iIvoirQsQE=","H2A4G4O0So/mWg9BQvqq/F+/VfeRM8V0DFPwNqMGW2U=","D8HhrIrTUk69v6RdzFFXZUgjTQKSrf4c1wpwahttrdg=","CkB5jq06EreLzY8QuxXLDEJrvSKCqB3NwHAITOeLjXY=","LcCdM1cFEVWYfqlVlENrbL85OwE19R4vZ16l9GL0qcU=","EEuSQdU0JkUy7aGB3hoVTdF17hUPNJAz5G3cVBgdoIg=","EnpiCNmPbNOHuAL6RMqyA3s7kfBiLxcITxuNisnRJpg=","LQdc7rq1Q0HcAvsfUNk4zh39zeZZlVqTDsGPhiX4bU0=","BE/VwhAaIL4q2SO+vhWkd/QMYDmj3Q10Q/5ydYBCAQw=","KzAshRH703ArgVVkxTmay4qPKo63f5bH8ISWKOCfm8g=","B8vjOduQWZRV0e3tHoqHC9MCySp5sdD07ociLM6Z4is=","EyZ0kxLG6L1O8kyXyAn3iuVIOUyUw98vKP+oEF3r4hE=","BUAhQGuNH4xwgOfCRTBOS3p5fNI22tktkpsiPyaXgOA=","BcDgM7WJ+N2yOp1Vnq7s+YaRqNAY8Seb9AbQjyeHzEI=","JQiozdRQ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GvLTVrksZ72nEBBnRqteWoYk=","DU/ZlNvMFSYt9fPAya3+wmg+Pv+/UG5TCdvYwrmIq44=","K6a+XNea/3RiUR71o4pPjHjHT9BJ5rhlfNBE6Cq9lLM=","CXZ6LZ36OeZ8lUAEANqWoZLab+XA8CzfG5w53I6Whko=","AQUhxyP0fcX+/DW/4M5+M9LgRbKgGOEJNmLshPEEwF4=","FE8JuANGzPvAhl+mTSINbbt7Pou/A2PmL9jMtFe94e0=","H8C5ky90tNtW0JMVzGqOhiBSdso+OxJJY9roPbXta6o=","B3bS2XKgBMBKi+e18vzrsC4aOxt4cDbjUUu4+XLINh4=","Ih1uVg5U6ydmUSjzfhwxJSi+Sa867sydfFZ1XwdnWNY=","FkGJzf2YM7ccH4Ny6Zm6J7vSDeYvllrUBtiu5nuI4fw=","Hj5zbs+XRbSr9xpNhj2LbQNSPq+C2SdFJjk+EDsIo8s=","H/PTCzKGuYj1AeySCxYi0qC6LPqd/FicU/Y503nBAFE=","ClDZgk/MlanSK8CKWSsabTls02GUCrw/hzpyUjAIOn4=","LbUKHha+Y7tj1C3lFonZkNLkchuToH7fuijyCJZXQO0=","EoJZT/ICEuilgaIo+0QF8u59NERVZvyd6gEdibICu5I=","Ct4nwHeVHNM1/3ibe01j/10Lzq7MRtzO/gaAwOxu8Js=","JzdK3xs4rGLQePpOcTaSvjJMok8u5D4k62Ktzi8+Z+M=","Lv91+jbocWybasCst42pKXDPespqDsOzfYbpdTgkLhE=","GigiVYKh7dRkeEsR7H7/GQ+uM6YaeDuEUydkLoL65o4=","DhET6B3hvPIE5RqMw/IABH89jYVwTET19axu6GLJ9Dk=","IQV10g88KBa4BwdOcqZypQc47QxPoJtvlmIjkDpHn1w=","IeiX90nISsL6/6niZKxhuYPwO/nzN726TcSMWXGhQ1E=","GlaH3LusYpcq7YXFDnDL61AZPYMcB5Due7zefZc4pmo=","BBBUmdXP6vEV/gpA10KEToBrEHKWswbE1VbS8kTklXc=","GvlJenKA4UFJVugPTwcuLya1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FTs2gKKbcmjh6veN3u+fjRrAhmWVzZUDuDY=","IaZDg5vjUaTzj7uxc7Ww617KxPeLd/aDDaaA71q6EcI=","BTsHxxzYZLIROr0HBf3yQs88oBayzlRc0Yd6tEujXMo=","GInHBQLj7fs/IMizL77arVH8atHKoUdVx+3eUuHUujk=","FoZrZkqj9ijOnhp5iHr3H/G/INTfbnB9UeBf7HuO32E=","CrR8IBrTFcciBBLhwwS4ElRtSj2E0P9xx6VwGOfceDQ=","BXe/yTsatQ7GIiV87ts9L0pUhgAvdYHJ/zzSLzpd22U=","B5AKo1K/lZ5xjlKEpEhfJBp0oLt/cwFmwpfkSHMtbMs=","JjXflWt98/feKYzp4Y0xCQfmXByWUCxpPRvpVUurRfk=","LnEV8da7df1a38hyYTkiqhcvrZopSDtIcuX9Icg3QwY=","KOMwtuQTrPM02+rxlp1WaXfcpna0YYrCelMLbIWeVyg=","J+ghwgUoaBPhMK2ZGsvixx3lUs6yzDTucnZm+Taw6C4=","CCImhNgBVJMPli3feLLFZWilnl2dohro8GOtrMnCw4s=","D/t8w8Be1KMITb10MRLAXyVPz5tZOr24LiXfxbTbj9o=","DW4R2bUe+PoSsDT9hwaP3CLwpKP3k9xslmLrnrkV0nk=","LF1t3hjSiwjZGfOYHl8nqZ8sENmvUmd9JEzPZIDGlgw=","EFgt/F9TmcTJUlUBKO/uIRaaRyftnhwUC5oi227LwPk=","HFj9pounS9U01RkAbK5xgEwuYHSrph2V99ishKPe8L8=","JxBEyNVOGmQ9xG3bkJ/0B46VNOjSOowqGRbJxcKx2Mw=","GGxeJAFfsLahQNf17OwTKxS4WWZ2jOGznCA2XNP10zU=","HvUoEkO9I+Gh0/DqqGU+KmQlVq+BZkhZyBbF9psTZa0=","Dpr1MhXiNkk1oCclibXDsMgK8VTPps9klpiF03z6aLM=","DApcm/EYoHVASFoCTxz3x88GiIJ/bB1tk/YxXGKgIzc=","AnUuo830EBaaK599lAuTAfhVy4iP9V3KjV+g8UzPtMY=","H0hNThSvOxH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cSmfFJCZ8Rag97lKBMNTEQ=","CxGXmfbuZ+J3XNSnGoxdRVuCQm4Armzs6jK19Eg7bUU=","JtRo1V3DHNXqFBbcoPfqUZBkK3fK+ndB8SMyE3lsFls=","J2/P4X74IYGAEElL4K7SSrwaQerKUxx/XS9xKeroAyU=","I41AyDbbchW+oUVcySttc/UQBWjXGm0egavvwYwh6Ts=","BkxP0cUO9Yffx9yszUq3rVx82wIwzI4ONNds45n7Sbk=","A3GGafFv4wrcOEdKdUBq8pQx7LV/PbG6e2aZeweypCU=","GfEE+Qu8A3YtYhonSjJcSfUHP8UMR9uIXpRWZiQhCY8=","JIbJPv+iSJC+pO+a5subj2X9dZG9hNU1t2AinAzie6c=","Ke99PqMtljImn7Aik3x4qR17yqBjqBjFkkt7ktAey/U=","JtkefM4dje6ryNfFScuxvv8MFSy4gZ6GhM8gUEoCUvc=","AkjQiZO167JU7Iha8qONPkFcStFU61Nha5sJw5NK0Wc=","IK5G6itwHTebynQx3NIx1aBTin320l396czX3QJRjbA=","CkhNb0uGV41JGT5cAkhoC5YUlQ2OOR9SffD0eOxR2ww=","BnF/W4adJlbCs1wB4oxWlysEv5fsp3YT5bjKkrz4Tz4=","A3g8cTA45UiS3Sp2/M8BGaMp1jOsUz6BHlEYF8TEo1A=","DxO7/sHH+puUEjVXGded63N2r94NoOcOLLMfdS5PnTQ=","JRrczOUxfJiTdw8WlKN4h8/rJvH6rPm//2yuyTphgqA=","D4JaBvxpAXyp5XLHMueqhZW+b2yqof3Jg7mvEoT2Pb8=","Cjzy+zCtLHNYl12W/7iV3o/c1h9067JNPxzW0lHrqTM=","AlGy4GGxLFYBnsBMVNdEbBO7199G0f2RI9b5G5v3ekI=","KVFwLfoSb1C6bQRjvkyjThLsjeKBgHX7BDykcbzC03k=","GCyfCICaKVPmRlzNNhtXyiilKbuVGjVWQ7cInqtxVpg=","DeofZA4J3NaftFAIjNsGHfRjDbYpLx1ghcEdWua2+FA=","FXQQ6+DooMgexwJTvBYCLdq8zn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=","I6/CAEFPI+dJa0BGKU22kKYLz1y3LEGmHsc1E2XIhcE=","JqXObqY7/Z5uGjcxiTjU3aDc1f6dbCrPGr3SfOFFN5k=","In/AQS9x++SQIlIjeFnwuKaUmQMWkYrWcMNFTvJV+c4=","DGtEin3q5Ir7/PNMt1jYR1aPddcknepNoJqQ+WxnK+w=","IYyS455i38EZxMst7ZUS3CF6mQepqLDtuWonUWn46dk=","EGv5KgF8MI8Pcm3z0FFapv7sHBgCDDgDM892wlAWu6U=","Hyg/6hckTwQ7fDXqHnGTFknPcABpJUasVDplsYyjrao=","H8X1jloG4ccOvz/Sosjf/nvfLCwXm4F/wfQdGibufa4=","ItDXfwrkzZOWz82KJ6JGMDzscP7dVL7vbdhskZOP1WA=","HOURIS2GiFN6XgOZVydumTWz6NW9RwRcbVg1EI7sXw0=","HIPKXfasR3rnQjbEn5MJ3fUqQpD5x8HTCSwRMBLRw/Y=","LnLaDh0dHKzJX4qRPYehBoivCtESlLNQzubRKKl0Qu4=","BFXujnVSvna458JZfZeHHWECtJ6yzx3bb2gbfgWw0Pw=","EHhj2vTKwxjdBqsU8TIVl5SQLjuNoXG4hI0+2gTmxEk=","ATKrr4DjOsSJgtqdXS/pEZHxfxkQ+9wGcxcXtrxjqdg=","E05FZ7KQ7ZTEexY/owSsjRTwD54mN19imahGdw9KrCE=","DmwQCKbWzzBKHdnmGUo2DB6aptdlouUyihvitSNRZPs=","L428D4bNMwij1ZipND1jijwvVulzbpHw931Qi/04KKI=","Hu2pqcbYoDw82e/RvqfkaEDWxw1/qC4IW65nNH5dp9E=","Hivco1idIrwJMVYig3/riVVyBah3FM2AEfsm26GuD8Q=","H+uVkRIXW6byq9nWBR86/zKpxNpFn8XzuqFmt+ASBKU=","G2pL8vsyAxuYN2VLH7qKygS2RyqR0F+WMgu1vdOt1m8=","C8IHYmDbeX8E7y+mDGz10BTYl9MgK+AJ/F2Opg3BjLw=","A5pf8yTKqdzWW4xEvdHUI7bALkBQrYrpMa3m27InPMU=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46XErvOMvF49ZB0o1qM8HcQYcoHZLaxkPoTk=","LHoRgVpCADj3H9IBuqZBKsKSpj3Z99MJC6FVc7ujxdY=","GMljgJRibbfli//XF7EofIrOcGgjJTv2+Rygajf3+zU=","E2+0q8TglPtLW/8j3g1Bu0dkSB3nk/govz2fnfGqHMc=","A+wPeb93ML2hiKARCJuS0mr6pbrWdyTY4ZMlcsZXlqg=","BinzBtixoGgsd5TDLala2uoL5IP+T2McK53CUFQSV9A=","HwhU7mhhSRchaEJwh532h6EsKKCnk1wLrAly6jmEENY=","BYko98e4UDolhaxDmuTtqTENh/lQQkAv+v6Y70jqcTw=","L+Wk+siIz436ms/O4kn3iOhsBDRBzTYj+5cu5Rms4XI=","KelUBFzMq5YS/4QCrSIsId1c07NNQVZUHVAk3IhbjZg=","JRo5YroPPp+N6IHRBGQ8nDknIJIxKip3HxF5HmOVeyA=","DrBPiVmcuhAO5bvEcE7GONECxnAQg8av7o0mzcZLEB0=","LSBX67SHjEcxMwD4oWHG1rMAjCY+c47Rt39uLSNosII=","D1N8doHqrXUgYfWUahDySPiv4C76pyTZfnY8yMCXFVY=","HkC5qgANcNbuaA8j00ugfqBDVht56LbDBvp4eCMvHPs=","GqOPShGfqcPj/5nQrlSqbLEYDEHXWF704DNnj6yEsvc=","BWYcAjzI/63EJa+O28WkWl2vZJZ7qwO5HG8jg6YZSak=","AjxNnYCbDTr8HCfLax3sZj6WJf1E8fE4nNGyni2xUOA=","CfrA65IxhQ3nllOTqL/RXdy78mWWJ43HibPkBwPbQrY=","BAuEqwBzcQPtWsMS9dROJ9R0nNGRBRv4piMbtHgONU0=","Li60uDVFcsJnzoRsnrIj44GWKLJkVtckSJnlfXDf+Ts=","GYco7Jlq0JU8+Hv+uIEL5cWIrBC3OMytex+LrVDJfjU=","L4qO5B2QqsKpHBzHB3Ltb5g0AFJRazpUvY3ziIcMWyQ="],M:[["K2/XvDo7WVwgbEParHUrdloSJVw3q1GuGDkzc3qLgJk=","BpsXed7D6t7T8H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=","Eh0rpb2PIy7PRKrPEETNarb5Px5TfX0VQXVP1J9RsiU=","DwkT607n08AtjOc9HOwrbLsXapISmzSilK3wZiQ/9r0=","Cg/mbA1N4AzHdhAIcyoAl/sU1kZfnR34NeBCP7IH2Xk=","CJjtHsGkNof/aroy3l+BlDRSigdSs5KDMYmbBkay8GE=","EeCyND7zcdLW0igFl08lObblENdh4NoXDQ2pAJWhMmI=","HVnVwQsMndNHiZN32jW35nfH057xtJFmuXSn8ryZyUY=","GhW34t4nEl8uanT07HzSRV8bv66xFV8a+Bm9tf5UJB0="],["BUKDKrI7bHpLVHoQZgNxUqJELpmMU4G6l2mEExU7pvE=","BMXrx3E0TMBhJ2VxC/yxwuYJerw9NG8ElJX317fwbLE=","GlF0DNpeRepNS9e/XOVGamahGvtbyTzxDVMJ4H1BDk4=","LrbtVoN3tpatPLI3Bk7GjjkMJIhuHxItIdfPMpDcbQg=","GBWJsUDJEJ5JL8PsfYyo48JafOWN8G8T70NWHVjFkm4=","IFptWqstIktmjHD8tBWC7p6+H/CZKStLxQr4spLA6kI=","KCOaiC3HsvP/e5qo3p49ga9zbU7m7ZkdXGtPpUAUj0M=","GrFfL95vU1535hXIwmAhk9RYYMwBWEnfV4+f75pbsoM=","AytiZvJAF/3hsoHQ/iBt/zC1OdXFuhO1MS5IjY1vGUs=","BONY8lmjMkT0BYoFYRCiaBa77Dx2q2pfe+k8ngyS8+s=","JamsLR74Sr2YkntSwk84eW6mDmOFjsW1AZbX4WnJO4Q=","L1IfJLwCKGriv4SE+7w5hDiGdV9Sv+x9PdXfeNNAch0=","HcP3pllTChOsytGBtuJlR0EI2LFGkmZVLfvDjLZ50G0=","K6OYRTk/zHdv04PlNdVnYhx/ZABag6b39IIivJAgkqg=","BHMP4E4BCMmlFFpcSOYMVFfkcIUiFXv+D4KvXGZNbqI=","B1oJ5B503ooqx/7ydZHnanfIUeGlEYXzHpm14I8BzHQ="],["C6H3ZDZzYJUpQsy27fBRyPk3kGqBZkHg0eni7Sa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ohyPfC7S3rrO2bixstpGHLw=","EWgMxugLDkMKTNNgcBf6gzHYbE0DqW38GHZ8l8vgoZc=","ExS1T4eGCWJEUyyfBUs3ljbitYv9zrPUjfsiELUptOU=","EzayCOANjrrIMkapbr3eNRBj+j9jWIfnU6DOPinH7t0=","GIe+h/ejUkEEgu873PfvF5duCH64mQx21+lxxEwEgjk=","H0BalIMxHhSXVo8b3NbVjNa8gTmCoOcVYbYgADuIggQ=","IJV2vnLbewyf4rgykSXn3/BImo6QCl8UwebkhgQTQmQ=","ACeXArE10UTt6UMZUmnAC/Yg8Fi/AYbOn/88s4siJFo=","AsnDE1z2S4nrW3FNey682B/H7a5jfMYRZZHfIItrJYM=","JS54tIOK1QB/UYu5xqTOUBhx9xEo7uPwyXhM1ksYP78=","KafVVOn/vuY5hnhC/Q59QeqbG8liG2VPyzmPcclbZo4=","MFoMLCxNNZmOmROCn1YCUENj8hvXIDRzULYEGT55vD8=","Bh144ZU9GUPi2WgzW3PhX+zviQdelslD05cCshTdxfo=","Jh+XW6vXaSgiRzuOOflIuc+YcwqXhd45MXnUu5nazcg=","Hj1s7zf5vawj0bOBpsWNDs8Gpuv1jfp6mVpEPtffaOk=","HWZX15GDEWnFa26aIB+LeyQCRqLQ+FRDBIm5g0VAMtQ="],["HYAF30jIVlmH27RCtILK5b/BDuSG7MW2cM6GE0WXnR0=","H6dy695vNzJERiPWf+mREWKY+PMKLRAQyK5hMqPWkH8=","BWqOzSMqZ0xj17YD74zQYyHFYN8v0/bCZJr1dkZ/15g=","JkY0HrRLSADVYITLSFAPrEj8UziR9VfpZ4TMYATYkos=","Ix8smL2o1Iu0ptnJi7vBYCcjWiKh7U+IvI06blgiCfI=","HK/Ptikm+8BIV7C9fXOSuNit0WtcvvtUtNUxKCbomUI=","C3qx7xf/YjX3c38EQWGQLwPVlM9KDMZ7T/tHEa3h6w8=","F5qCt38sy5SzjrWCrEq7sW30KezCJHG+c8x3ZvltmUg=","GLY2hfb+0qoZBIVjeEQhUd0fo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ffaBMo5opYLSOy3P/Veajmru1sYQUOBc0=","EgLjSdHXuAWEbpCDTvyRHraxDCoJ6uqintKIvXebFPE=","AkuW2+v6ttI/oywsjndYyyQLrNgUMyPFPNtI3Itl+OQ=","KjyfVa+s7nNaG1FVJkJjhK0EQpH3aRl02cBcY0tDlH4=","D3v8+rF9s0wUTO5EY2verfq0Smv0/I7zhOyJpK6e0gk=","FyA8TS4aQooXviwn0cTFlg38aqNvIr3ei+VqDNROcas=","IqjudDZ0E+zPeqA/3UIMa7YlWm3YIIHWsU7ampdSMps=","IeJfCn+O3DjeJbpgWobMCOCMywPnfF4Lntq+dHaLYMA=","BqeN/eFFjuNBoInBX5U6IZNSff+0P1Us2tWV2nxv7MY=","A/2U5Ru9poQ9MaKCUw1UJAqklhZdZE1ddzex5afWDVI=","Au/lKdsd48Adb+f7inHx6qtq8WQfsfeq1PK4jNE8n+U=","DKtQSyKjVz0JUJ+F0/vZTpRBesslOSNCus1oQAbDcYU=","HLM60rp90MIGNENDKoR7zM53Wo2vho4MR0kFpPo21w4=","Cq830fU90FVuNH7HBZYjeQd81UMZjhwnWT9EVFISYfc=","KmB/rNOTb90OhOm8PktLrIboECwrWtFcrlUNKLNlTnM=","FKK9Wlb4cAnbmBVGUzIC86+BLS701rA38oMIU7n5A5w="],["L3EMctbaGcfYfL/9VWZbRysCZdE+IyapozuW6V03RrY=","Fo/cMtSqjckDStSk+v7onw7VyYDT20JNOPjOXNBMI3w=","FbvVYZ8NWXkIBPK5s34Gn8kJonltH3fQxiYJ3totAng=","HhbpyiUC1pYCO840JyRK1lU86Gu8TDSaNLphBnxrbWo=","Ad0KVQJ0OqqfWDvQrTXeE62NX8mPGWHyYSrUwo/Z+fo=","DtLPrns29HCn0faUD5FOjs0yK/1rUPmtn2oiJuepXbQ=","LHhfnYg09c9dCPEG1fmRg0D9QUq+JPCp/yuOBJK0TYM=","DY28P8hUwGZcMMSIRte7DrGNPXik9w/vB/JC5FuGXqo=","IvYuReUAhGlqwlEqJ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c38="],["KWSQGitC6a6hplk2Yq654SB3oodDS9pOwgEuNqGdyVw=","BsIZSvcvrFjKE6Kl4yIxBO9JpUD9Lq6g1nqSDYVnBAo=","ClSUybz6Bqpyw2/SLZj+ctwU3A5OdOA9F1XzisNAUK0=","JlyiERgLASw3jgGY8LX3dYwVXjZ1+t+SynkVa9Vv4zk=","IfZZ/tr2wmF/F9Y3zW9UoneC9OhDH4evXIWRkyzn2rc=","HkY64/TDvQR6oQSfTwkaLx1dNVDj1YAfz/aPml5oKPQ=","J0EhkforLlMnoR0pDktDmkEk9IFFxh/07OhEikNz6t8=","Czp2nIs3FWImA5XuTzSPiLsFai8OwPmOTmM799lDYV8=","GttMh0M9hm6P5a4m0BR345YoecIMjDoXDAcnFnwG0Lg=","H8Ju0Cfbe55yQcLHYBdmYvY0ugWpynqFDhhK5YjL4hU=","EBdftvgbFkNq8waC82+6s5bt23gppQ6UbHXyfiYJh8c=","I9MANzu46/fbzzFKPAsf3s1criP357uRW822pngrV/s=","DwQX+mI3Fn50FSUmEwbBdmTcPvqSR6oNS8//OOid7e4=","Ho/SCoAw/dlOLENT2PgrSyEr+Ie8WWFYFIkLD5KkfZA=","GFcoJjhd/G7spNPHHRELBKuuATxUUNnklHo9AZu0G28=","IIt8jB/4Qi1KG9E6AqlGgc4hfZJfQNKHX3Pe8U3noiA="]]}})),jNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon15=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(qNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),GNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={C:["L7WDdis3WSxsWpXrHQZpS2xvncTxrUhi3Y9eZ8t6P1w=","Eun0bNgjG7A9QCi/ehHXwOMx3AXAiObcPR0AHaWLhaU=","EnXNcDJvUvgWp8U/5i4yPv5hpbjTdH9t7Fg3qCWHOvw=","BufRZbV7ApnSPnUKdeouEsnHoWlUxApNEJBKYeh3NUE=","L2fyOpPvHiFaSt0uy0G+9LnYXvkTUGXZkoAONPqYEIs=","Fp65lS4qhiPvON5X4V4kLfOIAZSJ4Bt8hPqDnYZNzRo=","D0zUBLQCTKE6UTujFW1N6cs6okDGg7Pg63JTvJjItfY=","HEhr+uOrAy/1GejcptxB6gYLDvkIMSe9fCxOCJ/UWso=","EC50WGQlHOlAxnseL0vE0n/ThRVxzmgTuqxmXozAx50=","HmptYgQz0iKTBE/+NqXypynBKczj7rC9r9zQ1SvDurU=","CPOr+XrY0Bz9hlH/LVduPWjsxHqtgrQYjZITi65gO20=","KD2j8c+Ed9mCHuYDeLHDnHJChRGhudZoPAMCk4wkjOY=","LZnNjYjknguryEy9WK28FDp1omuhb5ZGai5BYpc0Q30=","Fx7danRWpMJf74qm2LdI6thpNp9ypOUChh/QN92o93k=","L6tkaUNp46K9VzwMw4NpXAKjgeeFeSo/q9bhyo3y06E=","DGFVlE9k92lPyOzSormiNwVow8iY25Ux3BjHJHT5r+c=","HuDlz64DBiIkkhDNzacUN/KPCxcwZTwJFe+/wIYHw8c=","J0Hhp7xrossWKFjE6EVNug0OEtzZVtEnvtBxc5ul74Y=","MBGUpmMwmrjYCkNIIqb2VSWF6IjUmFgYRfVL5jTryTo=","GIrSU0fsJeaoobWZGz6W34H1XL4sUrpIdBwE79Rx8pY=","LRoKAyVUxQsiaZSW3sSHsBQB8lKC9YfhtXX8mMn71kg=","LEf+ZTO9NKdgCE6NTEiMTKKzvRHCJJMXmsgamfikSp0=","L9tBTrgGm1Vz21wR7eBFpgCfJnqNkI29fZDWoPAo8o4=","AJzr+ettBvsnj+c21roJ+T4N8qBA392l/n2a0PuUv2I=","AdVaOACmTugnA6sVkdGK2wAlnRaCduGw+tRxjL/gWWY=","Ci9rBZJV7e1truR0PAj6hNw8UbrjF5BABWs6jfOJgq0=","F89JwFaDhOk3+BtBxixHbburh7vW9NkiiwRCkpnMgbU=","Kyj2C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lZbk=","LMyCARXxc9bfGQY3+GD3VZg41i2khHaKqRR+OHGP5PU=","FseMAD2xet5JZAJtnIBfmPa8wY9asIS/bbR4MktMu/E=","LO1z/vwsyvZbKJ6dvFZetxGPlKHlW0McF2ZZpOIDALs=","CANV0mdEbmV/T6SERda765K9ByIiS2I1QQL6+ZXIzw4=","HXsDXi40RxELVpoKKF/MdYSOntsF8mB5CxhCgnyqacg=","De99aTIZZXTfqju5PkVeswc688b1sjUQrzBORK+dRes=","HXvul7g6UIqvq8/CFelL5sMZyRoGpEbv7qXS62Qz0B8=","KX3yDxFo3zUqwvby66N8AfLh3OjGyatv30vU9zqKphs=","JwTaahciNWNVUD0saP4bTMgcfsjseeYCk8br4s0Pu+Y=","LuHJNiFWkEL8tXh5hrFix3E8P0a6mA+Ew1YF85xr0Jw=","FD2tsnApQ/DBq19NvFRHQScbX+rMQQd4ORu9Md8n1Xo=","CStIgNYpdRyIDFKlg+fIl7lvjkAX0DYVJAtYsJlxA0c=","Lfu54w391qYQn/YJb6eIC73KYwr1hamN3cJsPAugax8=","GD9e+rzQuztbzcMHowAECP+iJ9fqCdHkZyi4pB3BCxs=","GI7BG45Cef5daIXK5otHsOLzsbFJGCPVbUW37guBm+8=","A7ky9C8FdFLPfmO+HXkd8TWxIDoFoe6HGBt5Vp3Zyvk=","DwBOQRhmvzgn7od/8muQMOgjSvkc7Bq/Sx5j7DdstPs=","B7KaK/JsMlNVmskYZuGL0kIxhzxijGxUCFAg6dlOTgY=","DdSTMkR32rP7guv5u17LJhsWBT/94HgMehA/UiTtDZs=","FaJIHZoC8PZg8m9zGABnLU8BOGqIs5pIEwBST/fW138=","Ag/Kjemx7BsTBgaUWRNDhexzbOPUf8/jHJA23kZlmdU=","E/EwBswhxEE9EmuQNDDH0PkYQ/zIyp1vKeCI1T5tVtA=","FWInAyHzUdGf8DDNsQYZBuyvHVRahCYR39L2K1F/rcw=","KhusDRN2J3FKZNJc/4A7Vjl+t8SfkW8hLDJeNuCZohs=","Cm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nWj6LjLktOYprrk+zLVSyflvvaPd0=","ApHWzH6OUVKQL1sFwTACu6lctUZX7zk+krzCO5u/f/w=","LiIar0BwwsDXNbWwpSCZxllNOJNpFMk5PY7NIycIjEI=","ED1mn8RrB6r2zESJ6FckGBUDAAgX+MH7XUcbKzYXnyI=","ENvjc+1wZ0ATqTm0agfuT4wZHj+2OfjQp4HR/7qC/pA=","EWIpuhz1gP+G7QBrkgcDbmnMDxtV1AiKs04Bo/JfpTE=","F5uzk7m+6O+RiiuiI5/x5r1j1tSMrUq28tMZ8pmb5PA=","JXqN0BULElS1hRIph+O/zd5/kU03TSvsBZXEavvAmXo=","EBX3+IcdurDRIVcLC6ZBeYCi0RspL7KjesdMim4Zjfw=","FgrPPcmNnR/7FersIofVzHQ+89FvuL1AlGokYz0jgl8=","BjxzVSsZ/m9o6d+UOKWBgn7ObDFSARfCNTxnzwcU1bE=","A+jIDa+IeTjNNV7HEKnjL0TEdSCqul3P+cYsS8BBKoI=","GsP3gc2WdsQeoh/St80/OMx5Xra6RaUlspHGa4znumg=","GJ1xIUkybXGwMn+bcQLKD5MEP9vPQAwY479wEGSTNUo=","JakSdh+Ni938+8CZvJlKNVF2xUoYMfjupVcsR2WSwco=","EVjJdY/bvWVR/SzNYV274L7elpps0PKAQOk7UjntouY=","KOe1bNKbFhM+Zjg6IO2qanebavuCdyNEzSwll5qaXu4=","AsNZf+rxA67wzw2pbHgXv+VxOCjGE+MmyXXKEwmSdwA=","HEy2AxVUovQPzRtxIjqXl13en09cJsoIZ4hwoTntk8k=","Lsco/ntpzEIfGNlr96gmyhsEJh8kqY/pweigpBtktYo=","B54zH2XIqCuHWSLIRJu96joRGmgXnl0t//9gXhykfco=","AmzYE/JIBwM9fAJEyfB5D7gNow5ePB5F18cDLyqqGDE=","Bb0RwrZN4ac2+TrI/34MFm+MVwpvBo3tr3IifoXBFFE=","JeFuxb5ojhN7LMzug1Qo2rk5NRsyJ+i+v66F86H5wnA=","CzgHOYGwr0GP5p6lXtob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kub4M6uAWZ4lanZOBocDebThk0ijo7FU=","C6CudfPHYunvoReUyBIdK3vG6+448QX+wANZWZJBlYA=","EKFqv9azg2DU8yV/PFHJ+5TsX4Rd2D4MSsT3eY8tkHc=","CdzZsAfQRQfAvHcsDr+WTUluaXRhdTvRu4G7w5WD3jw=","CxuyoQlmGO47riJWP2P89+hagX9jRVAUJsJxos8ZdeQ=","BEx2UgaPuwmRrtaURUAyG9awmh8NbpGlS4r026GEccs=","IU6pVcSypRB9iFo3c03lya/O90TEgVWT+XC72sUdtV8=","FoTTbc2GQItoIwyp+Y54SVe/t1UqklPq7odoIL7jEKo=","AWZs652c+ky+0VmuaslFUWsJPOWJxZ39Wr7/bGwu4Gs=","IVGpnve8B3B+9+IjhkyejFCDYwLymarQXeNa10xAna8=","L1bhUyYpW9cBpAMU5CzP1cpOCBT6VNMS53F+SI2gWVU=","EWrgCabEu0wowBZxY2T7fnvjshcjdV4WB7GiYrkaFq4=","L9vnH1PVTls7y4UM5hdD1nW+YB10Qw2euAc/aBQgUYk=","ARqR875CS5VbIkHXU+PW1bDEj/nGi6ho+KYRIyukQvU=","HHyc93USVQcOvdDj23+X5dlVZNM9KzKTyv+gQ05teI8=","Hrl5Ihwx9peNQ+dWinzudwnWi4blbXfsiVh9+qeCYbU=","JjtI5G7f+J8t5dzSWIUNIAVD7l3eMUWbb7UkGmvO/XY=","B4W5VZxdoL1XqAFQwim7LXX1EJTI4aEb/qU44hfS7PU=","I88a1axXZYXsz5cJG+V88Oo7uy06+RdPgEJYJCQyHZo=","J9TbS9sw6k4HVQ2eB3uoqdXKodQYwadqEtxx7FWIEYA=","EV9iQv1UErEgjNQCPYz4f7YtM6gpKyMcr42CVwGraBo=","CJu8gwlPZOKTyRrnmot+AJ0PZ5xn3BnGJZewThQVxCQ=","HUobPnptJqjIHX6fS/CK8L8TcNzQ0hAUae2H1GnSRq4=","KGhYPpvesQU4Ni1/7YmX6c60tDq421sKSy8UCUOuUqg=","C3lFnqgOcVOegHnPs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ALRZ6jG3LDq8KqDM1xrdouwBlolcmy+abDU=","B33YpUYUG+CNrKFkYA410Q1NTp9TYWPUHCcMev7bWOc=","MGHlVZBBHp+BFHbW7ni9r9iPT8PUvmC1Yet54OF4MeA=","D1AAwm5zgkpFMA0EIOgdjP8+hYA4fpMQ1PRpCM3pqS8=","CR2DHPFerUdRG5OvdcgwW1VhCzEW0HoWT+62rush96M=","HTo+c11JmRAwWQebWViNtfoHa5TqjHCsfqbNun96lVM=","HonSs+MOxmTukpw4hCchwHRFCgy7QqSpKWVLN1bQu7o=","HEu9X3Lzun0UhOUX2lwK9yI2NBtqjpkf6eAqGcskv3E=","KnyB94E7guOyY/xXOcqyPF6zXYTH2CEj8IYl23tPuWM=","ANSOQGLPJe1gfRebw9hOH0nTDiH3g4OGrDsgNwGumIQ=","F/QzBZQvNWYmWXK6VUPUqIRdrAyA4svLVqqxedKFQVc=","CNh3F9Xqzz5bs/tHN3alzEfS74Bb2h53BZAmx8Zil0E=","GebidVAL0OgCA6ogwP9l95hUVcsAlgiKW5uN4xSQCkc=","CW0PO238XpIz26qs9pvHCgqqob9sDgTgLew7XPiIn4Y=","ALmlZDSbrk/82wRTy3IwrsWhXxjszfGRDBDdetOu+wg=","I31EnBVI24mHkXV0zlQLHM0k7v2Q4oEHhmoXXHwWrwA=","Eu0I97nRK8MEVr9CTywFxryRKZDecxjiJX2YpBPkfes=","KWEWAavhjSb1wZgmivXzKbJfQrjwemWEn9vfkAOECOA=","Dhcofut30IX+egsQ/hZUA2jksbRXQlv8qGOO0Q9isgE=","KdFYE9tmZQ1ftjPP4PxW4kKsPQOdHeIFsKJheMRkNOM=","B/5/e+H8s2quFaMxcenQ1/Lg4ZPnieV7y48BbggRYYI=","H6h74Zb5ONoinOrETuND2o8sP5VsjlAJXTa3MSO36w0=","JP/bUvT0Q+38BrjzGpNXJTxqFXqg7TURlDcZbCMI/S0=","LUvKd0VxIyCP5FCOpOtJxhcDK2vHNfxTmbDC/W4Lb3c=","AjEdfwz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b6I=","KloYPALsR8AisvZWQqSTcw64bZd+WZwNV7HVfiHLq7Y=","JzTMM2cCZFpXaeF2tiYnsK2Jno0+8k6ENXIU3qBnXho=","GaC8Wk7WW1GJDGCZRib4bXytNxmHngD9F7Tbby7wmqs=","HbYIfqn0JoUmWEfeE93xjcRGsVj4S/ogpSfWLsmEE5g=","HVRL3zwvELSu7rhUOvVDCXBfeidfCT7cdpAZe6Oly6E=","KxqHYSeSG3Xb9Nfadaa+23QUvF1VyZjb7kn0fOIA87g=","J2qzNQYuNhl/5EJET52UUMt24XHADD6/t2F78K+67qg=","Av7VjVkgsFvHQstlodflDdjmobrtwntt461qT7vCWbU=","H2AKUp361v9i7xcZdK1w5283M/DJjg6xsQyV8TZ2CVo=","K6NersLDj0+qrOUrvMBo0wshFJpgiNBGeVJULp3YMds=","FmMOQqqrwCAWPofBv3RjwQB9/c4+HOnFwo/mTBt98JM=","FYXjxpKyfn40K/u0vUIY5+0B7+E8ldqqymLS9UVfZQY=","GNfPnAmPc02ioE+Town3dIIOFB+aqS6M/KQtjiLGHZ8=","BkanMqfVLoq8BEHsmwTSr2/36qCFoiwM/YKtAkO25k0=","BP+pV4ReHgHykW8iQ4Ffjl48djYfNoDiWSGMDSjznxQ=","I9PIkP1lJbeBT9PDJd7i/6EfZ+FMuL894ispBYJ20dA=","IAAxVyOlbL1naSFGz0Kc7kCVLrxgezEA8hNUvgYFwt8=","Dwkr2zmVMF6/5ydRLr7sHqSNKazJd8/RFpWIMm9Q+Zk=","G4BZ5hYie5qDYJnp7jcyn7WiQX47W6/tcx2q7hK5saY=","HY5gsl8fsdC5faDxfglCWK6qQLFCyXqGOyRfeHx12uM=","HNc41lGdPoIqZ2en2/0jQo42HjclqVv2LTByOkFO0dw=","IyyF1JJZbTJDzXIInFDzppH9efvWC2y7rOFmGibHpek=","DeYL21ik58fvvZW1UBfTIBt0bnippvS+vrUcHW7k5ko=","AvwQGgIwYFQDXvWbYOHj76ssP2UCf5PaIHVuir7xIFc=","A/U+us3vVytzvqmVUAZHgtKRlDag8rXZIjstqXTjygk=","DieDTMj76jiBzkPZiW5gebjoydtNdxktqria3TJq7sg=","JNQGFscTuQmffI86q7xzHvUuDpZpOnRqOH2M5nbW9w4=","FJ0n0MsBTlzpxBp4p2qP96N1Ad72A7Vr8Dl+3RduDGg=","ALzJeO9pqAUXOnvx0dVlGIEwMlAuSh13Ktkammp+cAw=","BpZKCvuryGovSR6GJw6tRPSfmGIriPTET/hoMPzOFkA=","GTQhInE7ZiMbCny6GZPF2QTUJ56XhzX6B85oMtpNbmE=","JvU1wgQkJnqRAF/SJCMKSu69OsB5pYp4pjUg1YcW9x4=","K8Q+kwkFIWdkiBRFTL13lW9zqmmyAclPtReEWoxxmLY=","DZkio2Q7TJ4XW1ffWX8QtwpG6e2kGVZMM2dbavt/6/E=","EbQ4+x3wpFV/5rFAW2cgrUoVN/4bQviEuEEAf1XGGv8=","FJXer6G9Hye3VBE46uIHc7oB0NnsELdxcHlV54/a6jM=","Jqc9ShBahmEaAb0i2Q4OtS3QNAunR293EZDP5YerfZM=","Ft2rzm5t3TKp+KOmdIUe2JduD1PB9/bG9aKMywDZcxc=","BYHrplWgON5JbHhdMdZakZQEvCXwkip3S8OZpn/hIvc=","BldippdOt87YD/QrU0vFRe1s3ghD0lg+5wIrnOQP5vk=","F7/xpw42toSi7Z29lVMMvps4uH126utjNZ/9JQt4xeI=","GOaCie01IZSRcvBuilndmwdNw8nbyCA9j884GMcKGp0=","AqjY7gPV8DppwLDSsfNXknR7NCnwC24BH0oUE0Xlcks=","AwAkOr7UsY4GH7ERCrrGMo/1XcUxYjiPnbx1N0mUa48=","DyrOIYdxJc8ueKvpavt5/bXVcqNp8dpPLde1d29mUq8=","JrfpK59Ph3ayua8x7YUPyB3/GPcLFlyERydfbqXBuoc=","GHizpPrh05glOG+uXxmaGztfj1BFWrUAJRfL0ut7X6c=","AGLQ2J6We7b6TJh8CoP2W8x5XA6pd7bdY9Yl4G/7ClU=","CgOyeLJa4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2Y5p8oGVynYem0=","DRe9pbDysI8spHYPvI/sGclhwOuCGVZaIBfBm4/q3c8=","IpT9ILYqGFSBlUDlVgMCtFQDFI226YkL3gsKiD/hkJs=","K8qhIW1XN0dcAT28PYxU42vgGW3HHqCYGwFgk2nSBLw=","D/xi1Zy473HwPVt8/73z8eios5Bsj9Jbm6hbdW93TlI=","KCsplkSICQaMJfs0MNu1vbA46cOBDVVNerPKH7JbCOU=","Ixt3Z6TLsAiPzxVv/4xxy98Csn4x37z3WXr0n8yZ1hA=","DVLpcD1P0LQkY51LgXO8jucwvD2zyVncHx42c3ur6GU=","Do0SBfdokOlL60RglVrpe1vylWccsdCcWBuA0Mlyl1U=","CbXivIKKvvqTpQG/dcCmdob9igzxBv3PrWWo8guos2M=","CO5iC7c0IsazyVBqlz7Q91T52BBhSP1ibNWgTUOGgA4=","FN62iYOvK9s3a4czA+B/RnLXd5j4+opIGiLCI+s1fRk=","De2yMNlVy5sCuopYYBAETkxuyoNzGStf/9ElKSfOCbE=","FqbpAIDqGqTg0ZKqE/cBp4EUI3PA2amFpMpacObKIPo=","F8/kbtZEHu4ems+/z2ae+zhvJw0UJCmz0cao89mEz5M=","CdQ8vVQ0hrMWlLsfhW2HbPPxNbhqoOL0WImWaRIoDzE=","GBRXZC5pFlfVskFLeoG+tYQyqxyau1iMfhstofHoqpY=","FAUEYUg5/Rb5DxpaKknxnIsuCjoKxn0foqMc7UPzons=","EgSHBhyn0fo0DxGy1scRXq+5cVaVKUJBcbsdPxD7Kv0=","FnjqHJqfY/H/DR62X/fH1ccEsqDaw7FVBftFIkzM44c=","KYlkwoKNUqF2S0G1+0YHUq4birEI+8BwvRvhW7b67XM=","DOl7byd3w6Xrhv7GoOplqCPLm+5lJTFXoLlzOsakTAE=","Ao6BkjG1VB57UkPP9vBEti5uxfuK3t0rar+Hmt1fj9I=","HQSikXB3MHPDaAoNc7oHWegGMLuyeY9KbnfAA6FFttc=","KsMuXZB7ySF3lSW8ua1K4ajHgv8Kvu3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7iVgcdmYi/8bzChO1op2FGIjkuU0ZabqkSWLw=","LfMdhH2//LBEQljmmHbtO3RjpJRUvmq2JQqERsagFwM=","G9IkU9NpUP8bobSbzEP5ydS6OIt4DEP0rTIWudqNoSY=","ITq+J5y4l/p0m26YGAocgiVVis2IZnvfoUBwuqZdyBI=","BIU6jq55DDTldRiT40upMgJNnFScendR1Ta+nMmva5Q=","FSQvvjFHfZ3gxDHSXQyONdSJ3NTJn933LE8K1MSS3U8=","EvYyPzHhRXYyiVep85NFHdyGiqV2ksoye8Whaek6ujk=","HdogNbdYDmO6soU13DkvJAhdWdC7+7VJkbo+6VY6GJk=","EyUbtzoo2ua9SYUB255sWMT51FjoaVWWZpss6QAHYp8=","AjHs7dKCgTag923c3cWPnLOnfKBcTA+5XdtpYEA5Eyg=","IAKnGpJvziah537kn2iEbDcbdMp63dZtp+xShrt8VKs=","LKtvD5i/EH80XiLb7xaxXq2UQHCYqTOtBZGzxFACOKU=","BAGnShe1FPBTLhubSqRCGt3+xyafk0h1s01Pc8+eh2w=","J8eL+j0kbahPzHZcqLAOzfa6yiyWd5ao6MjhxQG/W0M=","GO2YrNLI8UCtPVZifZ8Oi0HoTjDdHBZeQEPBxD4y9mM=","GI1R995w4hiFPESkDlBbOPRcrKjJLVCQ1HTy0BUw2xg=","GTC4mzMDE08fkAiA/Xw5x7oAqWqXL8T0Oxfhnj8fPUo=","H8yEJqSTZzYZnuaCnF872UfPYt0KkuetSvTLr7SQsKg=","LThHlx4zaETWJrbDntJT1plAAr0H7JRrUh4G6Zk6LUg=","JCF9aDuYydYwpwTDvEVQy/cOoU3U3XcKukW0H/OsAwE=","KK7yaeCj3uZaHfQ00bKtTcr46ECxodBns1OimG2U01o=","I4s9InoBKuE9/LbwsGURuaHX3d8AkymfBACoh6kOBw4=","GX16Y0k/Ies+mREZRMwTAmlGH3vYjTAvizV7t9aGgX0=","G9ysmI7bAKNQVWfe1vlEClQt8J4grrATxDlyu/s8p7Y=","EWkXEWO9zCwMi9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bEA5K9X0WLwYe+VAmTEqD+//RLRBY3Ag65JnCm/PM=","C5gXZeyuad1687EP+kJLiusgbMT0klcmXGdTscxU688=","Dk+wRKn8tAh+NRNB8l2YsTmbV24tZlRTTzSCGaCs34Y=","MD45yojo2m5cljVkcS34p/hQGnr0qZDkzOwZ5fj8gF0=","Abd5ldvzDMVfnUzUhJztlJNJ2oEjmgFUQP2zi4dqvuU=","I2Q63TC+IEc00CnPA0yVgURVEGDBkBxCCijJaI7DaoA=","GUaiariVP5vlWBBfpRefF152okQp2tXVMsLOs8/qBck=","JItTP4deXujnUc76Sx0HMvzTAVHDpcxKu7sek7RlXUU=","LnocUdph3SFKF4nW8e4pV/adIbHxbR+UWOslpAZQC9M=","IGXjdO2x88u9KRncBNFK2wcGLdAewVAbhVIufg+vkl4=","LzZTWoOgnPCfw4ogpyVHeuxWZo8DSjZKn0pWBf/9M8w=","ESPTyX/45rWJ0Ri8QMoLmsEq6QlVjyWCVR96QjRbRiE=","FgswyHTZwGcEySwmbHpbf9lmpipdsAjxv/30Q7EJmoI=","E2HSfEKntL1urrmKM5WSYWwNTY/Orf2xZGgWK9+ojUY=","APHo+Ghgw7XHi8FN+2fSLGvriZISNliELyP3WuOpLpk="],["LJyR9IZhdxuu72d0V4p49pw1XI6QcVb98m2znSRGQT8=","LGsTPoCr74SQT6SnX5aPuqvviQKG1f0RuHoeUrfrbQ0=","LOhUbLWfQg7eYWkudk4On2cVsWosgEfNgTHJdkb1DSQ=","Ctrq8od2uBPVGPZFx5Ple/FgZ/2A65Id1aZ+iVZGycQ=","IIagG4FkOKKkHFnkPXP6mqzwwk5Pa6winWX7pZkiVUo=","I0hYDeSarAHOj8taorRn9nh92Klszs1vtH331aQwc5g=","H7a9bfZQ0n6MrAWsC0Xu8HAOMIsptL1B7s/1gCftxFw=","A+lxgjfBcA190hPgJvMH6AALOFFGf+2eb1H6UCDCNpw=","AJJa81ozZoAayAox1j90X6gHvaEFYDRa1XK+9M8s4NY=","D4aS1kpbaal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SJ/HeaSwBmUg+kqskulk=","HlB5Ib58dhJIef/OW2LdDpYlnpjMZMJyCNYrQL/j5II=","BoGtrqec9FfbVwGTHw7i8V7LsVntUM90ahW4XG+KU3A=","HmGWFHUIvy7chyxOiXqWd3ixGfaftDGn9kbSAY6rQBA=","Bo76NbxiASSrfYiZAXG65BAq0h3937OH3w3gyKOhiek=","GwEiJKTwUN+EESLRfF6k7e18jsIDR0OkMqLO6JOXbyk=","II2BQVG83N38+DWpWMJZpkd7/kszknEO352AeHolxdA=","KPkB/KqGCw3EGSre+OpK5Vr2zkMsheDOTQc+UUqyQlI=","G9Y5h5cxgjyHH5zUcU48xWpusZiEtzZk7tJLEZKRGaA=","HT7oXwePvuzaJHPvwr7dG6fsb0eV+q6uOw3kjTCAxiU="]]}})),VNe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.poseidon16=function(e){return(0,t.default)(e,o)};var t=i(_c()),r=i(Rc()),n=i(GNe());function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)(n.default)})),jne=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"poseidon1",{enumerable:!0,get:function(){return t.poseidon1}}),Object.defineProperty(e,"poseidon10",{enumerable:!0,get:function(){return l.poseidon10}}),Object.defineProperty(e,"poseidon11",{enumerable:!0,get:function(){return d.poseidon11}}),Object.defineProperty(e,"poseidon12",{enumerable:!0,get:function(){return h.poseidon12}}),Object.defineProperty(e,"poseidon13",{enumerable:!0,get:function(){return f.poseidon13}}),Object.defineProperty(e,"poseidon14",{enumerable:!0,get:function(){return p.poseidon14}}),Object.defineProperty(e,"poseidon15",{enumerable:!0,get:function(){return g.poseidon15}}),Object.defineProperty(e,"poseidon16",{enumerable:!0,get:function(){return y.poseidon16}}),Object.defineProperty(e,"poseidon2",{enumerable:!0,get:function(){return r.poseidon2}}),Object.defineProperty(e,"poseidon3",{enumerable:!0,get:function(){return n.poseidon3}}),Object.defineProperty(e,"poseidon4",{enumerable:!0,get:function(){return i.poseidon4}}),Object.defineProperty(e,"poseidon5",{enumerable:!0,get:function(){return o.poseidon5}}),Object.defineProperty(e,"poseidon6",{enumerable:!0,get:function(){return s.poseidon6}}),Object.defineProperty(e,"poseidon7",{enumerable:!0,get:function(){return a.poseidon7}}),Object.defineProperty(e,"poseidon8",{enumerable:!0,get:function(){return c.poseidon8}}),Object.defineProperty(e,"poseidon9",{enumerable:!0,get:function(){return u.poseidon9}});var t=mNe(),r=vNe(),n=xNe(),i=ENe(),o=SNe(),s=INe(),a=PNe(),c=MNe(),u=_Ne(),l=NNe(),d=UNe(),h=FNe(),f=zNe(),p=HNe(),g=jNe(),y=VNe()})),iF=W(((e,t)=>{"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}m();var n,{toString:i}=Object.prototype,{getPrototypeOf:o}=Object,s=(n=Object.create(null),e=>{let t=i.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),a=e=>(e=e.toLowerCase(),t=>s(t)===e),c=e=>t=>typeof t===e,{isArray:u}=Array,l=c("undefined");var d=a("ArrayBuffer");var h=c("string"),f=c("function"),p=c("number"),g=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==s(e))return!1;let t=o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},b=a("Date"),w=a("File"),v=a("Blob"),A=a("FileList"),E=a("URLSearchParams"),[T,C,S,O]=["ReadableStream","Request","Response","Headers"].map(a);function M(e,t,{allOwnKeys:r=!1}={}){if(null===e||typeof e>"u")return;let n,i;if("object"!=typeof e&&(e=[e]),u(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i,o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;for(n=0;n<s;n++)i=o[n],t.call(null,e[i],i,e)}}function k(e,t){t=t.toLowerCase();let r,n=Object.keys(e),i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}var B=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,x=e=>!l(e)&&e!==B;var N=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&o(Uint8Array)),R=a("HTMLFormElement"),_=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),U=a("RegExp"),D=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};M(r,((r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)})),Object.defineProperties(e,n)},W="abcdefghijklmnopqrstuvwxyz",L="0123456789",z={DIGIT:L,ALPHA:W,ALPHA_DIGIT:W+W.toUpperCase()+L};var F=a("AsyncFunction"),K=((e,t)=>{return e?setImmediate:t?(r=`axios@${Math.random()}`,n=[],B.addEventListener("message",(({source:e,data:t})=>{e===B&&t===r&&n.length&&n.shift()()}),!1),e=>{n.push(e),B.postMessage(r,"*")}):e=>setTimeout(e);var r,n})("function"==typeof setImmediate,f(B.postMessage)),j=typeof queueMicrotask<"u"?queueMicrotask.bind(B):typeof I.default<"u"&&I.default.nextTick||K,H={isArray:u,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&f(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||f(e.append)&&("formdata"===(t=s(e))||"object"===t&&f(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer),t},isString:h,isNumber:p,isBoolean:e=>!0===e||!1===e,isObject:g,isPlainObject:y,isReadableStream:T,isRequest:C,isResponse:S,isHeaders:O,isUndefined:l,isDate:b,isFile:w,isBlob:v,isRegExp:U,isFunction:f,isStream:e=>g(e)&&f(e.pipe),isURLSearchParams:E,isTypedArray:N,isFileList:A,forEach:M,merge:function e(){let{caseless:t}=x(this)&&this||{},r={},n=(n,i)=>{let o=t&&k(r,i)||i;y(r[o])&&y(n)?r[o]=e(r[o],n):y(n)?r[o]=e({},n):u(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],n);return r},extend:(e,t,n,{allOwnKeys:i}={})=>(M(t,((t,i)=>{n&&f(t)?e[i]=r(t,n):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,s,a,c={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!n||n(a,e,t))&&!c[a]&&(t[a]=e[a],c[a]=!0);e=!1!==r&&o(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:a,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!p(t))return null;let r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:R,hasOwnProperty:_,hasOwnProp:_,reduceDescriptors:D,freezeMethods:e=>{D(e,((t,r)=>{if(f(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;let n=e[r];if(f(n)){if(t.enumerable=!1,"writable"in t)return void(t.writable=!1);t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}}))},toObjectSet:(e,t)=>{let r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return u(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:k,global:B,isContextDefined:x,ALPHABET:z,generateString:(e=16,t=z.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&f(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=new Array(10),r=(e,n)=>{if(g(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=u(e)?[]:{};return M(e,((e,t)=>{let o=r(e,n+1);!l(o)&&(i[t]=o)})),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:F,isThenable:e=>e&&(g(e)||f(e))&&f(e.then)&&f(e.catch),setImmediate:K,asap:j};function G(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}H.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var V=G.prototype,q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{q[e]={value:e}})),Object.defineProperties(G,q),Object.defineProperty(V,"isAxiosError",{value:!0}),G.from=(e,t,r,n,i,o)=>{let s=Object.create(V);return H.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),G.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};function J(e){return H.isPlainObject(e)||H.isArray(e)}function Y(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,r){return e?e.concat(t).map((function(e,t){return e=Y(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var Q=H.toFlatObject(H,{},null,(function(e){return/^is[A-Z]/.test(e)}));function Z(e,t,r){if(!H.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;let n=(r=H.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!H.isUndefined(t[e])}))).metaTokens,i=r.visitor||u,o=r.dots,s=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(t);if(!H.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(H.isDate(e))return e.toISOString();if(!a&&H.isBlob(e))throw new G("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(e)||H.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):P.Buffer.from(e):e}function u(e,r,i){let a=e;if(e&&!i&&"object"==typeof e)if(H.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(H.isArray(e)&&function(e){return H.isArray(e)&&!e.some(J)}(e)||(H.isFileList(e)||H.endsWith(r,"[]"))&&(a=H.toArray(e)))return r=Y(r),a.forEach((function(e,n){!H.isUndefined(e)&&null!==e&&t.append(!0===s?X([r],n,o):null===s?r:r+"[]",c(e))})),!1;return!!J(e)||(t.append(X(i,r,o),c(e)),!1)}let l=[],d=Object.assign(Q,{defaultVisitor:u,convertValue:c,isVisitable:J});if(!H.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!H.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),H.forEach(r,(function(r,o){!0===(!(H.isUndefined(r)||null===r)&&i.call(t,r,H.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])})),l.pop()}}(e),t}function $(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ee(e,t){this._pairs=[],e&&Z(e,this,t)}var te=ee.prototype;function re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ne(e,t,r){if(!t)return e;let n,i=r&&r.encode||re,o=r&&r.serialize;if(n=o?o(t,r):H.isURLSearchParams(t)?t.toString():new ee(t,r).toString(i),n){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}te.append=function(e,t){this._pairs.push([e,t])},te.toString=function(e){let t=e?function(t){return e.call(this,t,$)}:$;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ie=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},oe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},se={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:ee,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ae=typeof window<"u"&&typeof document<"u",ce=(e=>ae&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),ue=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,le=ae&&window.location.href||"http://localhost",de={...Object.freeze({__proto__:null,hasBrowserEnv:ae,hasStandardBrowserWebWorkerEnv:ue,hasStandardBrowserEnv:ce,origin:le}),...se};function he(e){function t(e,r,n,i){let o=e[i++];if("__proto__"===o)return!0;let s=Number.isFinite(+o),a=i>=e.length;return o=!o&&H.isArray(n)?n.length:o,a?(H.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!s):((!n[o]||!H.isObject(n[o]))&&(n[o]=[]),t(e,r,n[o],i)&&H.isArray(n[o])&&(n[o]=function(e){let t,r,n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r=i[t],n[r]=e[r];return n}(n[o])),!s)}if(H.isFormData(e)&&H.isFunction(e.entries)){let r={};return H.forEachEntry(e,((e,n)=>{t(function(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}var fe={transitional:oe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=H.isObject(e);if(o&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return i?JSON.stringify(he(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e)||H.isReadableStream(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Z(e,new de.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return de.isNode&&H.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=H.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return Z(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,r){if(H.isString(e))try{return(t||JSON.parse)(e),H.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||fe.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(H.isResponse(e)||H.isReadableStream(e))return e;if(e&&H.isString(e)&&(r&&!this.responseType||n)){let r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r)throw"SyntaxError"===e.name?G.from(e,G.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:de.classes.FormData,Blob:de.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],(e=>{fe.headers[e]={}}));var pe=fe,ge=H.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ye=Symbol("internals");function me(e){return e&&String(e).trim().toLowerCase()}function be(e){return!1===e||null==e?e:H.isArray(e)?e.map(be):String(e)}function we(e,t,r,n,i){if(H.isFunction(n))return n.call(this,t,r);if(i&&(t=r),H.isString(t)){if(H.isString(n))return-1!==t.indexOf(n);if(H.isRegExp(n))return n.test(t)}}var ve=class{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=me(t);if(!i)throw new Error("header name must be a non-empty string");let o=H.findKey(n,i);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=be(e))}let o=(e,t)=>H.forEach(e,((e,r)=>i(e,r,t)));if(H.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(H.isString(e)&&(e=e.trim())&&!(e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))(e))o((e=>{let t,r,n,i={};return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!(!t||i[t]&&ge[t])&&("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)})),i})(e),t);else if(H.isHeaders(e))for(let[t,n]of e.entries())i(n,t,r);else null!=e&&i(t,e,r);return this}get(e,t){if(e=me(e)){let r=H.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(H.isFunction(t))return t.call(this,e,r);if(H.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=me(e)){let r=H.findKey(this,e);return!(!r||void 0===this[r]||t&&!we(0,this[r],r,t))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=me(e)){let i=H.findKey(r,e);i&&(!t||we(0,r[i],i,t))&&(delete r[i],n=!0)}}return H.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||we(0,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return H.forEach(this,((n,i)=>{let o=H.findKey(r,i);if(o)return t[o]=be(n),void delete t[i];let s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(i):String(i).trim();s!==i&&delete t[i],t[s]=be(n),r[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return H.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&H.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){let t=(this[ye]=this[ye]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=me(e);t[n]||(function(e,t){let r=H.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})}))}(r,e),t[n]=!0)}return H.isArray(e)?e.forEach(n):n(e),this}};ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.reduceDescriptors(ve.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),H.freezeMethods(ve);var Ae=ve;function Ee(e,t){let r=this||pe,n=t||r,i=Ae.from(n.headers),o=n.data;return H.forEach(e,(function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Te(e){return!(!e||!e.__CANCEL__)}function Ce(e,t,r){G.call(this,e??"canceled",G.ERR_CANCELED,t,r),this.name="CanceledError"}function Se(e,t,r){let n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new G("Request failed with status code "+r.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}H.inherits(Ce,G,{__CANCEL__:!0});var Ie=(e,t,r=3)=>{let n=0,i=function(e,t){e=e||10;let r,n=new Array(e),i=new Array(e),o=0,s=0;return t=void 0!==t?t:1e3,function(a){let c=Date.now(),u=i[s];r||(r=c),n[o]=a,i[o]=c;let l=s,d=0;for(;l!==o;)d+=n[l++],l%=e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-r<t)return;let h=u&&c-u;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(e,t){let r,n,i=0,o=1e3/t,s=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),a=t-i;a>=o?s(e,t):(r=e,n||(n=setTimeout((()=>{n=null,s(r)}),o-a)))},()=>r&&s(r)]}((r=>{let o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,c=i(a);n=o,e({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&o<=s?(s-o)/c:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),r)},Oe=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Me=e=>(...t)=>H.asap((()=>e(...t))),Pe=de.hasStandardBrowserEnv?function(){let e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=H.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},ke=de.hasStandardBrowserEnv?{write(e,t,r,n,i,o){let s=[e+"="+encodeURIComponent(t)];H.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),H.isString(n)&&s.push("path="+n),H.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Be(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var xe=e=>e instanceof Ae?{...e}:e;function Ne(e,t){t=t||{};let r={};function n(e,t,r){return H.isPlainObject(e)&&H.isPlainObject(t)?H.merge.call({caseless:r},e,t):H.isPlainObject(t)?H.merge({},t):H.isArray(t)?t.slice():t}function i(e,t,r){return H.isUndefined(t)?H.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!H.isUndefined(t))return n(void 0,t)}function s(e,t){return H.isUndefined(t)?H.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}let c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>i(xe(e),xe(t),!0)};return H.forEach(Object.keys(Object.assign({},e,t)),(function(n){let o=c[n]||i,s=o(e[n],t[n],n);H.isUndefined(s)&&o!==a||(r[n]=s)})),r}var Re=e=>{let t,r=Ne({},e),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:c}=r;if(r.headers=a=Ae.from(a),r.url=ne(Be(r.baseURL,r.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),H.isFormData(n))if(de.hasStandardBrowserEnv||de.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(t=a.getContentType())){let[e,...r]=t?t.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...r].join("; "))}if(de.hasStandardBrowserEnv&&(i&&H.isFunction(i)&&(i=i(r)),i||!1!==i&&Pe(r.url))){let e=o&&s&&ke.read(s);e&&a.set(o,e)}return r},_e=typeof XMLHttpRequest<"u"&&function(e){return new Promise((function(t,r){let n,i,o,s,a,c=Re(e),u=c.data,l=Ae.from(c.headers).normalize(),{responseType:d,onUploadProgress:h,onDownloadProgress:f}=c;function p(){s&&s(),a&&a(),c.cancelToken&&c.cancelToken.unsubscribe(n),c.signal&&c.signal.removeEventListener("abort",n)}let g=new XMLHttpRequest;function y(){if(!g)return;let n=Ae.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Se((function(e){t(e),p()}),(function(e){r(e),p()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:e,request:g}),g=null}g.open(c.method.toUpperCase(),c.url,!0),g.timeout=c.timeout,"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||4!==g.readyState||0===g.status&&(!g.responseURL||0!==g.responseURL.indexOf("file:"))||setTimeout(y)},g.onabort=function(){g&&(r(new G("Request aborted",G.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new G("Network Error",G.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",n=c.transitional||oe;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),r(new G(t,n.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,g)),g=null},void 0===u&&l.setContentType(null),"setRequestHeader"in g&&H.forEach(l.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),H.isUndefined(c.withCredentials)||(g.withCredentials=!!c.withCredentials),d&&"json"!==d&&(g.responseType=c.responseType),f&&([o,a]=Ie(f,!0),g.addEventListener("progress",o)),h&&g.upload&&([i,s]=Ie(h),g.upload.addEventListener("progress",i),g.upload.addEventListener("loadend",s)),(c.cancelToken||c.signal)&&(n=t=>{g&&(r(!t||t.type?new Ce(null,e,g):t),g.abort(),g=null)},c.cancelToken&&c.cancelToken.subscribe(n),c.signal&&(c.signal.aborted?n():c.signal.addEventListener("abort",n)));let m=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c.url);m&&-1===de.protocols.indexOf(m)?r(new G("Unsupported protocol "+m+":",G.ERR_BAD_REQUEST,e)):g.send(u||null)}))},Ue=(e,t)=>{let r,n=new AbortController,i=function(e){if(!r){r=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof G?t:new Ce(t instanceof Error?t.message:t))}},o=t&&setTimeout((()=>{i(new G(`timeout ${t} of ms exceeded`,G.ETIMEDOUT))}),t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",i)));let{signal:a}=n;return a.unsubscribe=s,[a,()=>{o&&clearTimeout(o),o=null}]},De=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},We=(e,t,r,n,i)=>{let o,s=async function*(e,t,r){for await(let n of e)yield*De(ArrayBuffer.isView(n)?n:await r(String(n)),t)}(e,t,i),a=0,c=e=>{o||(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await s.next();if(t)return c(),void e.close();let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw c(e),e}},cancel:e=>(c(e),s.return())},{highWaterMark:2})},Le="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,ze=Le&&"function"==typeof ReadableStream,Fe=Le&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ke=(e,...t)=>{try{return!!e(...t)}catch{return!1}},je=ze&&Ke((()=>{let e=!1,t=new Request(de.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),He=ze&&Ke((()=>H.isReadableStream(new Response("").body))),Ge={stream:He&&(e=>e.body)};Le&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Ge[t]&&(Ge[t]=H.isFunction(e[t])?e=>e[t]():(e,r)=>{throw new G(`Response type '${t}' is not supported`,G.ERR_NOT_SUPPORT,r)})}))})(new Response);var Ve=async(e,t)=>H.toFiniteNumber(e.getContentLength())??(async e=>null==e?0:H.isBlob(e)?e.size:H.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:H.isArrayBufferView(e)||H.isArrayBuffer(e)?e.byteLength:(H.isURLSearchParams(e)&&(e+=""),H.isString(e)?(await Fe(e)).byteLength:void 0))(t),qe=Le&&(async e=>{let{url:t,method:r,data:n,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:h}=Re(e);u=u?(u+"").toLowerCase():"text";let f,p,g,[y,m]=i||o||s?Ue([i,o],s):[],b=()=>{!f&&setTimeout((()=>{y&&y.unsubscribe()})),f=!0};try{if(c&&je&&"get"!==r&&"head"!==r&&0!==(g=await Ve(l,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});if(H.isFormData(n)&&(e=r.headers.get("content-type"))&&l.setContentType(e),r.body){let[e,t]=Oe(g,Ie(Me(c)));n=We(r.body,65536,e,t,Fe)}}H.isString(d)||(d=d?"include":"omit"),p=new Request(t,{...h,signal:y,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:d});let i=await fetch(p),o=He&&("stream"===u||"response"===u);if(He&&(a||o)){let e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));let t=H.toFiniteNumber(i.headers.get("content-length")),[r,n]=a&&Oe(t,Ie(Me(a),!0))||[];i=new Response(We(i.body,65536,r,(()=>{n&&n(),o&&b()}),Fe),e)}u=u||"text";let s=await Ge[H.findKey(Ge,u)||"text"](i,e);return!o&&b(),m&&m(),await new Promise(((t,r)=>{Se(t,r,{data:s,headers:Ae.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(t){throw b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message)?Object.assign(new G("Network Error",G.ERR_NETWORK,e,p),{cause:t.cause||t}):G.from(t,t&&t.code,e,p)}}),Je={http:null,xhr:_e,fetch:qe};H.forEach(Je,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}}));var Ye=e=>`- ${e}`,Xe=e=>H.isFunction(e)||null===e||!1===e,Qe=e=>{e=H.isArray(e)?e:[e];let t,r,{length:n}=e,i={};for(let o=0;o<n;o++){let n;if(t=e[o],r=t,!Xe(t)&&(r=Je[(n=String(t)).toLowerCase()],void 0===r))throw new G(`Unknown adapter '${n}'`);if(r)break;i[n||"#"+o]=r}if(!r){let e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new G("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(Ye).join("\n"):" "+Ye(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function Ze(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ce(null,e)}function $e(e){return Ze(e),e.headers=Ae.from(e.headers),e.data=Ee.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Qe(e.adapter||pe.adapter)(e).then((function(t){return Ze(e),t.data=Ee.call(e,e.transformResponse,t),t.headers=Ae.from(t.headers),t}),(function(t){return Te(t)||(Ze(e),t&&t.response&&(t.response.data=Ee.call(e,e.transformResponse,t.response),t.response.headers=Ae.from(t.response.headers))),Promise.reject(t)}))}var et="1.7.4",tt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{tt[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var rt={};tt.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.4] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new G(n(i," has been removed"+(t?" in "+t:"")),G.ERR_DEPRECATED);return t&&!rt[i]&&(rt[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}};var nt={assertOptions:function(e,t,r){if("object"!=typeof e)throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],s=t[o];if(s){let t=e[o],r=void 0===t||s(t,o,e);if(!0!==r)throw new G("option "+o+" must be "+r,G.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new G("Unknown option "+o,G.ERR_BAD_OPTION)}},validators:tt},it=nt.validators,ot=class{constructor(e){this.defaults=e,this.interceptors={request:new ie,response:new ie}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch{}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ne(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;void 0!==r&&nt.assertOptions(r,{silentJSONParsing:it.transitional(it.boolean),forcedJSONParsing:it.transitional(it.boolean),clarifyTimeoutError:it.transitional(it.boolean)},!1),null!=n&&(H.isFunction(n)?t.paramsSerializer={serialize:n}:nt.assertOptions(n,{encode:it.function,serialize:it.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&H.merge(i.common,i[t.method]);i&&H.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Ae.concat(o,i);let s=[],a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));let c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,l,d=0;if(!a){let e=[$e.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);d<l;)u=u.then(e[d++],e[d++]);return u}l=s.length;let h=t;for(d=0;d<l;){let e=s[d++],t=s[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{u=$e.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,l=c.length;d<l;)u=u.then(c[d++],c[d++]);return u}getUri(e){return ne(Be((e=Ne(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}};H.forEach(["delete","get","head","options"],(function(e){ot.prototype[e]=function(t,r){return this.request(Ne(r||{},{method:e,url:t,data:(r||{}).data}))}})),H.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(Ne(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ot.prototype[e]=t(),ot.prototype[e+"Form"]=t(!0)}));var st=ot,at=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));let r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t,n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,i){r.reason||(r.reason=new Ce(e,n,i),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}};var ct={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ct).forEach((([e,t])=>{ct[t]=e}));var ut=ct;var lt=function e(t){let n=new st(t),i=r(st.prototype.request,n);return H.extend(i,st.prototype,n,{allOwnKeys:!0}),H.extend(i,n,null,{allOwnKeys:!0}),i.create=function(r){return e(Ne(t,r))},i}(pe);lt.Axios=st,lt.CanceledError=Ce,lt.CancelToken=at,lt.isCancel=Te,lt.VERSION=et,lt.toFormData=Z,lt.AxiosError=G,lt.Cancel=lt.CanceledError,lt.all=function(e){return Promise.all(e)},lt.spread=function(e){return function(t){return e.apply(null,t)}},lt.isAxiosError=function(e){return H.isObject(e)&&!0===e.isAxiosError},lt.mergeConfig=Ne,lt.AxiosHeaders=Ae,lt.formToJSON=e=>he(H.isHTMLForm(e)?new FormData(e):e),lt.getAdapter=Qe,lt.HttpStatusCode=ut,lt.default=lt,t.exports=lt})),fie=W(((e,t)=>{"use strict";m();var r,n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of s(t))!c.call(e,a)&&a!==r&&i(e,a,{get:()=>t[a],enumerable:!(n=o(t,a))||n.enumerable});return e},l={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(l,{default:()=>h}),t.exports=(r=l,u(i({},"__esModule",{value:!0}),r));var d=((e,t,r)=>(r=null!=e?n(a(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(iF());async function h(e){var t;let{params:r,method:n,url:i,headers:o,body:s,overrides:a}=e,c={headers:o,method:n,url:i,params:r,data:s,withCredentials:null==(t=a?.WITH_CREDENTIALS)||t};try{let e=await(0,d.default)(c);return{status:e.status,statusText:e.statusText,data:e.data,headers:e.headers,config:e.config}}catch(e){let t=e;if(t.response)return t.response;throw e}}})),Nr=W((e=>{"use strict";function t(e){return e&&e.__esModule?e:{default:e}}function r(e,t){return e??t()}function n(e){let t,r=e[0],n=1;for(;n<e.length;){let i=e[n],o=e[n+1];if(n+=2,("optionalAccess"===i||"optionalCall"===i)&&null==r)return;"access"===i||"optionalAccess"===i?(t=r,r=o(r)):("call"===i||"optionalCall"===i)&&(r=o(((...e)=>r.call(t,...e))),t=void 0)}return r}m(),Object.defineProperty(e,"__esModule",{value:!0});var i,o=Qke(),s=4294967295,a=18446744073709551615n,c=340282366920938463463374607431768211455n,u=115792089237316195423570985008687907853269984665640564039457584007913129639935n,l=class{constructor(e){this.buffer=new ArrayBuffer(e.length),new Uint8Array(this.buffer).set(e,0),this.offset=0}read(e){if(this.offset+e>this.buffer.byteLength)throw new Error("Reached to the end of buffer");let t=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,t}remaining(){return this.buffer.byteLength-this.offset}deserializeStr(){let e=this.deserializeBytes();return(new TextDecoder).decode(e)}deserializeOptionStr(){return this.deserializeBool()?this.deserializeStr():void 0}deserializeOption(e){return this.deserializeBool()?this.deserialize(e):void 0}deserializeBytes(){let e=this.deserializeUleb128AsU32();return new Uint8Array(this.read(e))}deserializeFixedBytes(e){return new Uint8Array(this.read(e))}deserializeBool(){let e=new Uint8Array(this.read(1))[0];if(1!==e&&0!==e)throw new Error("Invalid boolean value");return 1===e}deserializeU8(){return new DataView(this.read(1)).getUint8(0)}deserializeU16(){return new DataView(this.read(2)).getUint16(0,!0)}deserializeU32(){return new DataView(this.read(4)).getUint32(0,!0)}deserializeU64(){let e=this.deserializeU32(),t=this.deserializeU32();return BigInt(BigInt(t)<<BigInt(32)|BigInt(e))}deserializeU128(){let e=this.deserializeU64(),t=this.deserializeU64();return BigInt(t<<BigInt(64)|e)}deserializeU256(){let e=this.deserializeU128(),t=this.deserializeU128();return BigInt(t<<BigInt(128)|e)}deserializeUleb128AsU32(){let e=BigInt(0),t=0;for(;e<s;){let r=this.deserializeU8();if(e|=BigInt(127&r)<<BigInt(t),!(128&r))break;t+=7}if(e>s)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(e)}deserialize(e){return e.deserialize(this)}deserializeVector(e){let t=this.deserializeUleb128AsU32(),r=new Array;for(let n=0;n<t;n+=1)r.push(this.deserialize(e));return r}},d=Au(),h=class extends Error{constructor(e,t){super(e),this.invalidReason=t}},f=((i=f||{}).TOO_SHORT="too_short",i.INVALID_LENGTH="invalid_length",i.INVALID_HEX_CHARS="invalid_hex_chars",i),p=e.Hex=class e{constructor(e){this.data=e}toUint8Array(){return this.data}toStringWithoutPrefix(){return d.bytesToHex.call(void 0,this.data)}toString(){return`0x${this.toStringWithoutPrefix()}`}static fromHexString(t){let r=t;if(r.startsWith("0x")&&(r=r.slice(2)),0===r.length)throw new h("Hex string is too short, must be at least 1 char long, excluding the optional leading 0x.","too_short");if(r.length%2!=0)throw new h("Hex string must be an even number of hex characters.","invalid_length");try{return new e(d.hexToBytes.call(void 0,r))}catch(e){throw new h(`Hex string contains invalid hex characters: ${n([e,"optionalAccess",e=>e.message])}`,"invalid_hex_chars")}}static fromHexInput(t){return t instanceof Uint8Array?new e(t):e.fromHexString(t)}static isValid(t){try{return e.fromHexString(t),{valid:!0}}catch(e){return{valid:!1,invalidReason:n([e,"optionalAccess",e=>e.invalidReason]),invalidReasonMessage:n([e,"optionalAccess",e=>e.message])}}}equals(e){return this.data.length===e.data.length&&this.data.every(((t,r)=>t===e.data[r]))}},g=class{bcsToBytes(){let e=new y;return this.serialize(e),e.toUint8Array()}bcsToHex(){let e=this.bcsToBytes();return p.fromHexInput(e)}toStringWithoutPrefix(){return this.bcsToHex().toStringWithoutPrefix()}toString(){return`0x${this.toStringWithoutPrefix()}`}},y=e.Serializer=class{constructor(e=64){if(e<=0)throw new Error("Length needs to be greater than 0");this.buffer=new ArrayBuffer(e),this.offset=0}ensureBufferWillHandleSize(e){for(;this.buffer.byteLength<this.offset+e;){let e=new ArrayBuffer(2*this.buffer.byteLength);new Uint8Array(e).set(new Uint8Array(this.buffer)),this.buffer=e}}appendToBuffer(e){this.ensureBufferWillHandleSize(e.length),new Uint8Array(this.buffer,this.offset).set(e),this.offset+=e.length}serializeWithFunction(e,t,r){this.ensureBufferWillHandleSize(t);let n=new DataView(this.buffer,this.offset);e.apply(n,[0,r,!0]),this.offset+=t}serializeStr(e){let t=new TextEncoder;this.serializeBytes(t.encode(e))}serializeBytes(e){this.serializeU32AsUleb128(e.length),this.appendToBuffer(e)}serializeFixedBytes(e){this.appendToBuffer(e)}serializeBool(e){b(e);let t=e?1:0;this.appendToBuffer(new Uint8Array([t]))}serializeU8(e){this.appendToBuffer(new Uint8Array([e]))}serializeU16(e){this.serializeWithFunction(DataView.prototype.setUint16,2,e)}serializeU32(e){this.serializeWithFunction(DataView.prototype.setUint32,4,e)}serializeU64(e){let t=BigInt(e)&BigInt(s),r=BigInt(e)>>BigInt(32);this.serializeU32(Number(t)),this.serializeU32(Number(r))}serializeU128(e){let t=BigInt(e)&a,r=BigInt(e)>>BigInt(64);this.serializeU64(t),this.serializeU64(r)}serializeU256(e){let t=BigInt(e)&c,r=BigInt(e)>>BigInt(128);this.serializeU128(t),this.serializeU128(r)}serializeU32AsUleb128(e){let t=e,r=[];for(;t>>>7;)r.push(127&t|128),t>>>=7;r.push(t),this.appendToBuffer(new Uint8Array(r))}toUint8Array(){return new Uint8Array(this.buffer).slice(0,this.offset)}serialize(e){e.serialize(this)}serializeVector(e){this.serializeU32AsUleb128(e.length),e.forEach((e=>{e.serialize(this)}))}serializeOption(e){let t=void 0!==e;this.serializeBool(t),t&&e.serialize(this)}serializeOptionStr(e){void 0===e?this.serializeU32AsUleb128(0):(this.serializeU32AsUleb128(1),this.serializeStr(e))}};function b(e){if("boolean"!=typeof e)throw new Error(`${e} is not a boolean value`)}o.a.call(void 0,[A(0,255)],y.prototype,"serializeU8",1),o.a.call(void 0,[A(0,65535)],y.prototype,"serializeU16",1),o.a.call(void 0,[A(0,s)],y.prototype,"serializeU32",1),o.a.call(void 0,[A(BigInt(0),a)],y.prototype,"serializeU64",1),o.a.call(void 0,[A(BigInt(0),c)],y.prototype,"serializeU128",1),o.a.call(void 0,[A(BigInt(0),u)],y.prototype,"serializeU256",1),o.a.call(void 0,[A(0,s)],y.prototype,"serializeU32AsUleb128",1);var w=(e,t,r)=>`${e} is out of range: [${t}, ${r}]`;function v(e,t,r){let n=BigInt(e);if(n>BigInt(r)||n<BigInt(t))throw new Error(w(e,t,r))}function A(e,t){return(r,n,i)=>{let o=i.value;return i.value=function(r){return v(r,e,t),o.apply(this,[r])},i}}var E=class e extends g{constructor(e){super(),this.value=p.fromHexInput(e).toUint8Array()}serialize(e){e.serializeFixedBytes(this.value)}serializeForEntryFunction(e){e.serialize(this)}serializeForScriptFunction(e){e.serialize(this)}static deserialize(t,r){let n=t.deserializeFixedBytes(r);return new e(n)}},T=class e extends g{constructor(e){super(),this.value=new E(e)}serialize(e){e.serialize(this.value)}serializeForEntryFunction(e){e.serializeU32AsUleb128(this.value.value.length),e.serialize(this)}static deserialize(t,r){let n=E.deserialize(t,r);return new e(n.value)}},C=(e=>(e.JSON="application/json",e.BCS="application/x-bcs",e.BCS_SIGNED_TRANSACTION="application/x.aptos.signed_transaction+bcs",e.BCS_VIEW_FUNCTION="application/x.aptos.view_function+bcs",e))(C||{}),S=e.TypeTagVariants=(e=>(e[e.Bool=0]="Bool",e[e.U8=1]="U8",e[e.U64=2]="U64",e[e.U128=3]="U128",e[e.Address=4]="Address",e[e.Signer=5]="Signer",e[e.Vector=6]="Vector",e[e.Struct=7]="Struct",e[e.U16=8]="U16",e[e.U32=9]="U32",e[e.U256=10]="U256",e[e.Reference=254]="Reference",e[e.Generic=255]="Generic",e))(S||{}),I=e.ScriptTransactionArgumentVariants=(e=>(e[e.U8=0]="U8",e[e.U64=1]="U64",e[e.U128=2]="U128",e[e.Address=3]="Address",e[e.U8Vector=4]="U8Vector",e[e.Bool=5]="Bool",e[e.U16=6]="U16",e[e.U32=7]="U32",e[e.U256=8]="U256",e[e.Serialized=9]="Serialized",e))(I||{}),O=e.TransactionPayloadVariants=(e=>(e[e.Script=0]="Script",e[e.EntryFunction=2]="EntryFunction",e[e.Multisig=3]="Multisig",e))(O||{}),M=e.TransactionVariants=(e=>(e[e.MultiAgentTransaction=0]="MultiAgentTransaction",e[e.FeePayerTransaction=1]="FeePayerTransaction",e))(M||{}),k=e.TransactionAuthenticatorVariant=(e=>(e[e.Ed25519=0]="Ed25519",e[e.MultiEd25519=1]="MultiEd25519",e[e.MultiAgent=2]="MultiAgent",e[e.FeePayer=3]="FeePayer",e[e.SingleSender=4]="SingleSender",e))(k||{}),B=e.AccountAuthenticatorVariant=(e=>(e[e.Ed25519=0]="Ed25519",e[e.MultiEd25519=1]="MultiEd25519",e[e.SingleKey=2]="SingleKey",e[e.MultiKey=3]="MultiKey",e))(B||{}),x=e.AnyPublicKeyVariant=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1=1]="Secp256k1",e[e.Keyless=3]="Keyless",e[e.FederatedKeyless=4]="FederatedKeyless",e))(x||{}),N=e.AnySignatureVariant=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1=1]="Secp256k1",e[e.Keyless=3]="Keyless",e))(N||{}),R=e.EphemeralPublicKeyVariant=(e=>(e[e.Ed25519=0]="Ed25519",e))(R||{}),_=e.EphemeralSignatureVariant=(e=>(e[e.Ed25519=0]="Ed25519",e))(_||{}),U=e.EphemeralCertificateVariant=(e=>(e[e.ZkProof=0]="ZkProof",e))(U||{}),D=e.ZkpVariant=(e=>(e[e.Groth16=0]="Groth16",e))(D||{}),W=e.TransactionResponseType=(e=>(e.Pending="pending_transaction",e.User="user_transaction",e.Genesis="genesis_transaction",e.BlockMetadata="block_metadata_transaction",e.StateCheckpoint="state_checkpoint_transaction",e.Validator="validator_transaction",e.BlockEpilogue="block_epilogue_transaction",e))(W||{});var L=(e=>(e.PRIVATE="private",e.PUBLIC="public",e.FRIEND="friend",e))(L||{}),z=e.MoveAbility=(e=>(e.STORE="store",e.DROP="drop",e.KEY="key",e.COPY="copy",e))(z||{}),F=e.RoleType=(e=>(e.VALIDATOR="validator",e.FULL_NODE="full_node",e))(F||{}),K=e.SigningScheme=(e=>(e[e.Ed25519=0]="Ed25519",e[e.MultiEd25519=1]="MultiEd25519",e[e.SingleKey=2]="SingleKey",e[e.MultiKey=3]="MultiKey",e))(K||{}),j=e.SigningSchemeInput=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1Ecdsa=2]="Secp256k1Ecdsa",e))(j||{}),H=e.DeriveScheme=(e=>(e[e.DeriveAuid=251]="DeriveAuid",e[e.DeriveObjectAddressFromObject=252]="DeriveObjectAddressFromObject",e[e.DeriveObjectAddressFromGuid=253]="DeriveObjectAddressFromGuid",e[e.DeriveObjectAddressFromSeed=254]="DeriveObjectAddressFromSeed",e[e.DeriveResourceAccountAddress=255]="DeriveResourceAccountAddress",e))(H||{}),G=class e extends g{constructor(e){super(),b(e),this.value=e}serialize(e){e.serializeBool(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(5),e.serialize(this)}deserialize(e){return new Q(e.deserializeU256())}static deserialize(t){return new e(t.deserializeBool())}},V=e.U8=class e extends g{constructor(e){super(),v(e,0,255),this.value=e}serialize(e){e.serializeU8(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(0),e.serialize(this)}static deserialize(t){return new e(t.deserializeU8())}},q=e.U16=class e extends g{constructor(e){super(),v(e,0,65535),this.value=e}serialize(e){e.serializeU16(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(6),e.serialize(this)}static deserialize(t){return new e(t.deserializeU16())}},J=e.U32=class e extends g{constructor(e){super(),v(e,0,s),this.value=e}serialize(e){e.serializeU32(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(7),e.serialize(this)}static deserialize(t){return new e(t.deserializeU32())}},Y=e.U64=class e extends g{constructor(e){super(),v(e,BigInt(0),a),this.value=BigInt(e)}serialize(e){e.serializeU64(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(1),e.serialize(this)}static deserialize(t){return new e(t.deserializeU64())}},X=e.U128=class e extends g{constructor(e){super(),v(e,BigInt(0),c),this.value=BigInt(e)}serialize(e){e.serializeU128(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(2),e.serialize(this)}static deserialize(t){return new e(t.deserializeU128())}},Q=e.U256=class e extends g{constructor(e){super(),v(e,BigInt(0),u),this.value=BigInt(e)}serialize(e){e.serializeU256(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(8),e.serialize(this)}static deserialize(t){return new e(t.deserializeU256())}},Z=class e extends g{constructor(e){super(),this.values=e}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){void 0===this.values[0]||this.values[0]instanceof V?(e.serializeU32AsUleb128(4),e.serialize(this)):new $(this.bcsToBytes()).serializeForScriptFunction(e)}static U8(t){let r;if(Array.isArray(t)&&0===t.length)r=[];else if(Array.isArray(t)&&"number"==typeof t[0])r=t;else if("string"==typeof t){let e=p.fromHexInput(t);r=Array.from(e.toUint8Array())}else{if(!(t instanceof Uint8Array))throw new Error("Invalid input type, must be an number[], Uint8Array, or hex string");r=Array.from(t)}return new e(r.map((e=>new V(e))))}static U16(t){return new e(t.map((e=>new q(e))))}static U32(t){return new e(t.map((e=>new J(e))))}static U64(t){return new e(t.map((e=>new Y(e))))}static U128(t){return new e(t.map((e=>new X(e))))}static U256(t){return new e(t.map((e=>new Q(e))))}static Bool(t){return new e(t.map((e=>new G(e))))}static MoveString(t){return new e(t.map((e=>new ee(e))))}serialize(e){e.serializeVector(this.values)}static deserialize(t,r){let n=t.deserializeUleb128AsU32(),i=new Array;for(let e=0;e<n;e+=1)i.push(r.deserialize(t));return new e(i)}},$=e.Serialized=class e extends g{constructor(e){super(),this.value=p.fromHexInput(e).toUint8Array()}serialize(e){e.serializeBytes(this.value)}serializeForEntryFunction(e){this.serialize(e)}serializeForScriptFunction(e){e.serializeU32AsUleb128(9),this.serialize(e)}static deserialize(t){return new e(t.deserializeBytes())}toMoveVector(e){let t=new l(this.bcsToBytes());t.deserializeUleb128AsU32();let r=t.deserializeVector(e);return new Z(r)}},ee=e.MoveString=class e extends g{constructor(e){super(),this.value=e}serialize(e){e.serializeStr(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){let t=(new TextEncoder).encode(this.value);Z.U8(t).serializeForScriptFunction(e)}static deserialize(t){return new e(t.deserializeStr())}},te=e.MoveOption=class e extends g{constructor(e){super(),this.vec=new Z(typeof e<"u"&&null!==e?[e]:[]),[this.value]=this.vec.values}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}unwrap(){if(this.isSome())return this.vec.values[0];throw new Error("Called unwrap on a MoveOption with no value")}isSome(){return 1===this.vec.values.length}serialize(e){this.vec.serialize(e)}static U8(t){return new e(null!=t?new V(t):void 0)}static U16(t){return new e(null!=t?new q(t):void 0)}static U32(t){return new e(null!=t?new J(t):void 0)}static U64(t){return new e(null!=t?new Y(t):void 0)}static U128(t){return new e(null!=t?new X(t):void 0)}static U256(t){return new e(null!=t?new Q(t):void 0)}static Bool(t){return new e(null!=t?new G(t):void 0)}static MoveString(t){return new e(null!=t?new ee(t):void 0)}static deserialize(t,r){let n=Z.deserialize(t,r);return new e(n.values[0])}},re=qre(),ne=K3(),ie=(e=>(e.INCORRECT_NUMBER_OF_BYTES="incorrect_number_of_bytes",e.INVALID_HEX_CHARS="invalid_hex_chars",e.TOO_SHORT="too_short",e.TOO_LONG="too_long",e.LEADING_ZERO_X_REQUIRED="leading_zero_x_required",e.LONG_FORM_REQUIRED_UNLESS_SPECIAL="long_form_required_unless_special",e.INVALID_PADDING_ZEROES="INVALID_PADDING_ZEROES",e))(ie||{}),oe=class e extends g{constructor(t){if(super(),t.length!==e.LENGTH)throw new h("AccountAddress data should be exactly 32 bytes long","incorrect_number_of_bytes");this.data=t}isSpecial(){return this.data.slice(0,this.data.length-1).every((e=>0===e))&&this.data[this.data.length-1]<16}toString(){return`0x${this.toStringWithoutPrefix()}`}toStringWithoutPrefix(){let e=d.bytesToHex.call(void 0,this.data);return this.isSpecial()&&(e=e[e.length-1]),e}toStringLong(){return`0x${this.toStringLongWithoutPrefix()}`}toStringLongWithoutPrefix(){return d.bytesToHex.call(void 0,this.data)}toUint8Array(){return this.data}serialize(e){e.serializeFixedBytes(this.data)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(3),e.serialize(this)}static deserialize(t){let r=t.deserializeFixedBytes(e.LENGTH);return new e(r)}static fromStringStrict(t){if(!t.startsWith("0x"))throw new h("Hex string must start with a leading 0x.","leading_zero_x_required");let r=e.fromString(t);if(t.length!==e.LONG_STRING_LENGTH+2){if(!r.isSpecial())throw new h(`The given hex string ${t} is not a special address, it must be represented as 0x + 64 chars.`,"long_form_required_unless_special");if(3!==t.length)throw new h(`The given hex string ${t} is a special address not in LONG form, it must be 0x0 to 0xf without padding zeroes.`,"INVALID_PADDING_ZEROES")}return r}static fromString(t){let r,i=t;if(t.startsWith("0x")&&(i=t.slice(2)),0===i.length)throw new h("Hex string is too short, must be 1 to 64 chars long, excluding the leading 0x.","too_short");if(i.length>64)throw new h("Hex string is too long, must be 1 to 64 chars long, excluding the leading 0x.","too_long");try{r=d.hexToBytes.call(void 0,i.padStart(64,"0"))}catch(e){throw new h(`Hex characters are invalid: ${n([e,"optionalAccess",e=>e.message])}`,"invalid_hex_chars")}return new e(r)}static from(t){return"string"==typeof t?e.fromString(t):t instanceof Uint8Array?new e(t):t}static fromStrict(t){return"string"==typeof t?e.fromStringStrict(t):t instanceof Uint8Array?new e(t):t}static isValid(t){try{return t.strict?e.fromStrict(t.input):e.from(t.input),{valid:!0}}catch(e){return{valid:!1,invalidReason:n([e,"optionalAccess",e=>e.invalidReason]),invalidReasonMessage:n([e,"optionalAccess",e=>e.message])}}}equals(e){return this.data.length===e.data.length&&this.data.every(((t,r)=>t===e.data[r]))}};oe.LENGTH=32,oe.LONG_STRING_LENGTH=64,oe.ZERO=oe.from("0x0"),oe.ONE=oe.from("0x1"),oe.TWO=oe.from("0x2"),oe.THREE=oe.from("0x3"),oe.FOUR=oe.from("0x4"),oe.A=oe.from("0xA");var se=oe,ae=class e extends g{constructor(t){super();let{data:r}=t,n=p.fromHexInput(r);if(n.toUint8Array().length!==e.LENGTH)throw new Error(`Authentication Key length should be ${e.LENGTH}`);this.data=n}serialize(e){e.serializeFixedBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeFixedBytes(e.LENGTH);return new e({data:r})}toUint8Array(){return this.data.toUint8Array()}static fromSchemeAndBytes(t){let{scheme:r,input:n}=t,i=p.fromHexInput(n).toUint8Array(),o=new Uint8Array([...i,r]),s=ne.sha3_256.create();s.update(o);let a=s.digest();return new e({data:a})}static fromPublicKeyAndScheme(e){let{publicKey:t}=e;return t.authKey()}static fromPublicKey(e){let{publicKey:t}=e;return t.authKey()}derivedAddress(){return new se(this.data.toUint8Array())}};ae.LENGTH=32;var ce=ae,ue=JO(),le=FO(),de=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(FRe()),he=/^m\/44'\/637'\/[0-9]+'\/[0-9]+'\/[0-9]+'?$/,fe=e.APTOS_BIP44_REGEX=/^m\/44'\/637'\/[0-9]+'\/[0-9]+\/[0-9]+$/,pe=e.KeyType=(e=>(e.ED25519="ed25519 seed",e))(pe||{}),ge=e.HARDENED_OFFSET=2147483648;function ye(e){return fe.test(e)}function me(e){return he.test(e)}var be=(e,t)=>{let r=ue.hmac.create(le.sha512,e).update(t).digest();return{key:r.slice(0,32),chainCode:r.slice(32)}},we=e.CKDPriv=({key:e,chainCode:t},r)=>{let n=new ArrayBuffer(4);new DataView(n).setUint32(0,r);let i=new Uint8Array(n),o=new Uint8Array([0]),s=new Uint8Array([...o,...e,...i]);return be(t,s)},ve=e=>e.replace(/'/g,""),Ae=e.splitPath=e=>e.split("/").slice(1).map(ve),Ee=e.mnemonicToSeed=e=>{let t=e.trim().split(/\s+/).map((e=>e.toLowerCase())).join(" ");return de.mnemonicToSeedSync(t)},Te=class extends g{toUint8Array(){return this.bcsToBytes()}toString(){let e=this.toUint8Array();return p.fromHexInput(e).toString()}},Ce=e.AccountPublicKey=class extends Te{},Se=class extends g{toUint8Array(){return this.bcsToBytes()}toString(){let e=this.toUint8Array();return p.fromHexInput(e).toString()}},Ie=e=>"string"==typeof e?p.isValid(e).valid?e:(new TextEncoder).encode(e):e,Oe=[237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16];function Me(e){let t=e.toUint8Array().slice(32);for(let e=Oe.length-1;e>=0;e-=1){if(t[e]<Oe[e])return!0;if(t[e]>Oe[e])return!1}return!1}var Pe=class e extends Ce{constructor(t){super();let r=p.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`PublicKey length should be ${e.LENGTH}`);this.key=r}verifySignature(e){let{message:t,signature:r}=e;if(!Me(r))return!1;let n=Ie(t),i=p.fromHexInput(n).toUint8Array(),o=r.toUint8Array(),s=this.key.toUint8Array();return re.ed25519.verify(o,i,s)}authKey(){return ce.fromSchemeAndBytes({scheme:0,input:this.toUint8Array()})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}static isPublicKey(t){return t instanceof e}static isInstance(t){return"key"in t&&n([t,"access",e=>e.key,"optionalAccess",e=>e.data,"optionalAccess",e=>e.length])===e.LENGTH}};Pe.LENGTH=32;var ke=Pe,Be=class e extends g{constructor(t){super();let r=p.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`PrivateKey length should be ${e.LENGTH}`);this.signingKey=r}static generate(){let t=re.ed25519.utils.randomPrivateKey();return new e(t)}static fromDerivationPath(t,r){if(!me(t))throw new Error(`Invalid derivation path ${t}`);return e.fromDerivationPathInner(t,Ee(r))}static fromDerivationPathInner(t,r,n=ge){let{key:i,chainCode:o}=be(e.SLIP_0010_SEED,r),s=Ae(t).map((e=>parseInt(e,10))),{key:a}=s.reduce(((e,t)=>we(e,t+n)),{key:i,chainCode:o});return new e(a)}publicKey(){let e=re.ed25519.getPublicKey(this.signingKey.toUint8Array());return new ke(e)}sign(e){let t=Ie(e),r=p.fromHexInput(t).toUint8Array(),n=re.ed25519.sign(r,this.signingKey.toUint8Array());return new Re(n)}toUint8Array(){return this.signingKey.toUint8Array()}toString(){return this.signingKey.toString()}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}static isPrivateKey(t){return t instanceof e}};Be.LENGTH=32,Be.SLIP_0010_SEED="ed25519 seed";var xe=Be,Ne=class e extends Se{constructor(t){super();let r=p.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`Signature length should be ${e.LENGTH}`);this.data=r}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}};Ne.LENGTH=64;var Re=Ne,_e=class e extends Ce{constructor(t){super();let{publicKeys:r,threshold:n}=t;if(r.length>e.MAX_KEYS||r.length<e.MIN_KEYS)throw new Error(`Must have between ${e.MIN_KEYS} and ${e.MAX_KEYS} public keys, inclusive`);if(n<e.MIN_THRESHOLD||n>r.length)throw new Error(`Threshold must be between ${e.MIN_THRESHOLD} and ${r.length}, inclusive`);this.publicKeys=r,this.threshold=n}verifySignature(e){let{message:t,signature:r}=e;if(!(r instanceof We))return!1;let n=[];for(let e=0;e<4;e+=1)for(let t=0;t<8;t+=1)if(r.bitmap[e]&1<<7-t){let r=8*e+t;n.push(r)}if(n.length!==r.signatures.length)throw new Error("Bitmap and signatures length mismatch");if(n.length<this.threshold)throw new Error("Not enough signatures");for(let e=0;e<n.length;e+=1)if(!this.publicKeys[n[e]].verifySignature({message:t,signature:r.signatures[e]}))return!1;return!0}authKey(){return ce.fromSchemeAndBytes({scheme:1,input:this.toUint8Array()})}toUint8Array(){let e=new Uint8Array(this.publicKeys.length*ke.LENGTH+1);return this.publicKeys.forEach(((t,r)=>{e.set(t.toUint8Array(),r*ke.LENGTH)})),e[this.publicKeys.length*ke.LENGTH]=this.threshold,e}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes(),n=r[r.length-1],i=[];for(let e=0;e<r.length-1;e+=ke.LENGTH){let t=e;i.push(new ke(r.subarray(t,t+ke.LENGTH)))}return new e({publicKeys:i,threshold:n})}};_e.MAX_KEYS=32,_e.MIN_KEYS=2,_e.MIN_THRESHOLD=1;var Ue=_e,De=class e extends Se{constructor(t){super();let{signatures:r,bitmap:n}=t;if(r.length>e.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${e.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=r,n instanceof Uint8Array){if(n.length!==e.BITMAP_LEN)throw new Error(`"bitmap" length should be ${e.BITMAP_LEN}`);this.bitmap=n}else this.bitmap=e.createBitmap({bits:n})}toUint8Array(){let t=new Uint8Array(this.signatures.length*Re.LENGTH+e.BITMAP_LEN);return this.signatures.forEach(((e,r)=>{t.set(e.toUint8Array(),r*Re.LENGTH)})),t.set(this.bitmap,this.signatures.length*Re.LENGTH),t}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes(),n=r.subarray(r.length-4),i=[];for(let e=0;e<r.length-n.length;e+=Re.LENGTH){let t=e;i.push(new Re(r.subarray(t,t+Re.LENGTH)))}return new e({signatures:i,bitmap:n})}static createBitmap(t){let{bits:r}=t,n=new Uint8Array([0,0,0,0]),i=new Set;return r.forEach(((t,o)=>{if(t>=e.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${e.MAX_SIGNATURES_SUPPORTED-1}.`);if(i.has(t))throw new Error("Duplicate bits detected.");if(o>0&&t<=r[o-1])throw new Error("The bits need to be sorted in ascending order.");i.add(t);let s=Math.floor(t/8),a=n[s];a|=128>>t%8,n[s]=a})),n}};De.MAX_SIGNATURES_SUPPORTED=32,De.BITMAP_LEN=4;var We=De,Le=IL(),ze=lNe(),Fe=class e extends Te{constructor(t){super();let r=p.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`PublicKey length should be ${e.LENGTH}`);this.key=r}verifySignature(e){let{message:t,signature:r}=e,n=Ie(t),i=p.fromHexInput(n).toUint8Array(),o=ne.sha3_256.call(void 0,i),s=r.toUint8Array();return Le.secp256k1.verify(s,o,this.key.toUint8Array(),{lowS:!0})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}deserialize(e){let t=e.deserializeBytes();return new Ve(t)}static deserialize(t){let r=t.deserializeBytes();return new e(r)}static isPublicKey(t){return t instanceof e}static isInstance(t){return"key"in t&&n([t,"access",e=>e.key,"optionalAccess",e=>e.data,"optionalAccess",e=>e.length])===e.LENGTH}};Fe.LENGTH=65;var Ke=Fe,je=class e extends g{constructor(t){super();let r=p.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`PrivateKey length should be ${e.LENGTH}`);this.key=r}static generate(){let t=Le.secp256k1.utils.randomPrivateKey();return new e(t)}static fromDerivationPath(t,r){if(!ye(t))throw new Error(`Invalid derivation path ${t}`);return e.fromDerivationPathInner(t,Ee(r))}static fromDerivationPathInner(t,r){let{privateKey:n}=ze.HDKey.fromMasterSeed(r).derive(t);if(null===n)throw new Error("Invalid key");return new e(n)}sign(e){let t=Ie(e),r=p.fromHexInput(t),n=ne.sha3_256.call(void 0,r.toUint8Array()),i=Le.secp256k1.sign(n,this.key.toUint8Array(),{lowS:!0});return new Ve(i.toCompactRawBytes())}publicKey(){let e=Le.secp256k1.getPublicKey(this.key.toUint8Array(),!1);return new Ke(e)}toUint8Array(){return this.key.toUint8Array()}toString(){return this.key.toString()}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}static isPrivateKey(t){return t instanceof e}};je.LENGTH=32;var He=je,Ge=class e extends Se{constructor(t){super();let r=p.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`Signature length should be ${e.LENGTH}, received ${r.toUint8Array().length}`);this.data=r}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}};Ge.LENGTH=64;var Ve=Ge,qe=fNe(),Je=class e extends Te{constructor(e){super();let t=e.constructor.name;if(t!==ke.name)throw new Error(`Unsupported key for EphemeralPublicKey - ${t}`);this.publicKey=e,this.variant=0}verifySignature(e){let{message:t,signature:r}=e;return this.publicKey.verifySignature({message:t,signature:r.signature})}serialize(e){if(!(this.publicKey instanceof ke))throw new Error("Unknown public key type");e.serializeU32AsUleb128(0),this.publicKey.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e(ke.deserialize(t));throw new Error(`Unknown variant index for EphemeralPublicKey: ${r}`)}static isPublicKey(t){return t instanceof e}},Ye=e.EphemeralSignature=class e extends Se{constructor(e){super();let t=e.constructor.name;if(t!==Re.name)throw new Error(`Unsupported signature for EphemeralSignature - ${t}`);this.signature=e}static fromHex(t){let r=p.fromHexInput(t),n=new l(r.toUint8Array());return e.deserialize(n)}serialize(e){if(!(this.signature instanceof Re))throw new Error("Unknown signature type");e.serializeU32AsUleb128(0),this.signature.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e(Re.deserialize(t));throw new Error(`Unknown variant index for EphemeralSignature: ${r}`)}},Xe=jne(),Qe=[Xe.poseidon1,Xe.poseidon2,Xe.poseidon3,Xe.poseidon4,Xe.poseidon5,Xe.poseidon6,Xe.poseidon7,Xe.poseidon8,Xe.poseidon9,Xe.poseidon10,Xe.poseidon11,Xe.poseidon12,Xe.poseidon13,Xe.poseidon14,Xe.poseidon15,Xe.poseidon16],Ze=465;function $e(e,t){return function(e,t){if(e.length>t)throw new Error(`Inputted bytes of length ${e} is longer than ${t}`);let r=tt(e,t);return it(r)}((new TextEncoder).encode(e),t)}function et(e,t){if(e.length>t)throw new Error(`Input bytes of length ${e} is longer than ${t}`);let r=function(e,t){if(t<e.length)throw new Error("Padded size must be greater than or equal to the input array size.");let r=new Uint8Array(t);r.set(e);for(let n=e.length;n<t;n+=1)r[n]=0;return r}(e,t);return function(e){if(e.length>Ze)throw new Error(`Can't pack more than 465.  Was given ${e.length} bytes`);return function(e,t){let r=[];for(let n=0;n<e.length;n+=t)r.push(e.subarray(n,n+t));return r}(e,31).map((e=>rt(e)))}(r)}function tt(e,t){if(e.length>t)throw new Error(`Input bytes of length ${e} is longer than ${t}`);return et(e,t).concat([BigInt(e.length)])}function rt(e){let t=BigInt(0);for(let r=e.length-1;r>=0;r-=1)t=t<<BigInt(8)|BigInt(e[r]);return t}function nt(e,t){let r=BigInt(e),n=new Uint8Array(t);for(let e=0;e<t;e+=1)n[e]=Number(r&BigInt(255)),r>>=BigInt(8);return n}function it(e){if(e.length>Qe.length)throw new Error(`Unable to hash input of length ${e.length}.  Max input length is ${Qe.length}`);return Qe[e.length-1](e)}var ot=class extends g{},st=(e=>(e.FULLNODE="Fullnode",e.INDEXER="Indexer",e.FAUCET="Faucet",e.PEPPER="Pepper",e.PROVER="Prover",e))(st||{}),at=e.DEFAULT_MAX_GAS_AMOUNT=2e5,ct=e.DEFAULT_TXN_EXP_SEC_FROM_NOW=20,ut=e.DEFAULT_TXN_TIMEOUT_SEC=20,lt=e.APTOS_COIN="0x1::aptos_coin::AptosCoin",dt=e.APTOS_FA="0x000000000000000000000000000000000000000000000000000000000000000a",ht=e.RAW_TRANSACTION_SALT="APTOS::RawTransaction",ft=e.RAW_TRANSACTION_WITH_DATA_SALT="APTOS::RawTransactionWithData",pt=e.ProcessorType=(e=>(e.ACCOUNT_TRANSACTION_PROCESSOR="account_transactions_processor",e.DEFAULT="default_processor",e.EVENTS_PROCESSOR="events_processor",e.FUNGIBLE_ASSET_PROCESSOR="fungible_asset_processor",e.STAKE_PROCESSOR="stake_processor",e.TOKEN_V2_PROCESSOR="token_v2_processor",e.USER_TRANSACTION_PROCESSOR="user_transaction_processor",e.OBJECT_PROCESSOR="objects_processor",e))(pt||{}),gt=class extends Error{constructor({apiType:e,aptosRequest:t,aptosResponse:i}){super(function({apiType:e,aptosRequest:t,aptosResponse:i}){let o=n([i,"access",e=>e.headers,"optionalAccess",e=>e.traceparent,"optionalAccess",e=>e.split,"call",e=>e("-"),"access",e=>e[1]]),s=o?`(trace_id:${o}) `:"",a=`Request to [${e}]: ${t.method} ${r(i.url,(()=>t.url))} ${s}failed with`;return"Indexer"===e&&null!=n([i,"access",e=>e.data,"optionalAccess",e=>e.errors,"optionalAccess",e=>e[0],"optionalAccess",e=>e.message])?`${a}: ${i.data.errors[0].message}`:null!=n([i,"access",e=>e.data,"optionalAccess",e=>e.message])&&null!=n([i,"access",e=>e.data,"optionalAccess",e=>e.error_code])?`${a}: ${JSON.stringify(i.data)}`:`${a} status: ${i.statusText}(code:${i.status}) and response body: ${function(e){let t=JSON.stringify(e);return t.length<=yt?t:`truncated(original_size:${t.length}): ${t.slice(0,yt/2)}...${t.slice(-yt/2)}`}(i.data)}`}({apiType:e,aptosRequest:t,aptosResponse:i})),this.name="AptosApiError",this.url=i.url,this.status=i.status,this.statusText=i.statusText,this.data=i.data,this.request=t}};var yt=400;var mt={mainnet:"https://api.mainnet.aptoslabs.com/v1/graphql",testnet:"https://api.testnet.aptoslabs.com/v1/graphql",devnet:"https://api.devnet.aptoslabs.com/v1/graphql",local:"http://127.0.0.1:8090/v1/graphql"},bt=e.NetworkToNodeAPI={mainnet:"https://api.mainnet.aptoslabs.com/v1",testnet:"https://api.testnet.aptoslabs.com/v1",devnet:"https://api.devnet.aptoslabs.com/v1",local:"http://127.0.0.1:8080/v1"},wt=e.NetworkToFaucetAPI={mainnet:"https://faucet.mainnet.aptoslabs.com",testnet:"https://faucet.testnet.aptoslabs.com",devnet:"https://faucet.devnet.aptoslabs.com",local:"http://127.0.0.1:8081"},vt=e.NetworkToPepperAPI={mainnet:"https://api.mainnet.aptoslabs.com/keyless/pepper/v0",testnet:"https://api.testnet.aptoslabs.com/keyless/pepper/v0",devnet:"https://api.devnet.aptoslabs.com/keyless/pepper/v0",local:"https://api.devnet.aptoslabs.com/keyless/pepper/v0"},At=e.NetworkToProverAPI={mainnet:"https://api.mainnet.aptoslabs.com/keyless/prover/v0",testnet:"https://api.testnet.aptoslabs.com/keyless/prover/v0",devnet:"https://api.devnet.aptoslabs.com/keyless/prover/v0",local:"https://api.devnet.aptoslabs.com/keyless/prover/v0"},Et=e.Network=(e=>(e.MAINNET="mainnet",e.TESTNET="testnet",e.DEVNET="devnet",e.LOCAL="local",e.CUSTOM="custom",e))(Et||{}),Tt=e.NetworkToChainId={mainnet:1,testnet:2,local:4},Ct=e.NetworkToNetworkName={mainnet:"mainnet",testnet:"testnet",devnet:"devnet",local:"local",custom:"custom"};function St(e,t){let r=t.bcsToBytes(),n=new l(r);return e.deserialize(n)}async function It(e,t){let{url:i,method:o,body:s,contentType:a,params:c,overrides:u,originMethod:l}=e,d={...n([u,"optionalAccess",e=>e.HEADERS]),"x-aptos-client":"aptos-typescript-sdk/1.30.0","content-type":r(a,(()=>"application/json")),"x-aptos-typescript-sdk-origin-method":l};return n([u,"optionalAccess",e=>e.AUTH_TOKEN])&&(d.Authorization=`Bearer ${n([u,"optionalAccess",e=>e.AUTH_TOKEN])}`),n([u,"optionalAccess",e=>e.API_KEY])&&(d.Authorization=`Bearer ${n([u,"optionalAccess",e=>e.API_KEY])}`),t.provider({url:i,method:o,body:s,params:c,headers:d,overrides:u})}async function Ot(e,t,n){let{url:i,path:o}=e,s=o?`${i}/${o}`:i,a=await It({...e,url:s},t.client),c={status:a.status,statusText:r(a.statusText,(()=>"No status text provided")),data:a.data,headers:a.headers,config:a.config,request:a.request,url:s};if(401===c.status)throw new gt({apiType:n,aptosRequest:e,aptosResponse:c});if("Indexer"===n){let t=c.data;if(t.errors)throw new gt({apiType:n,aptosRequest:e,aptosResponse:c});c.data=t.data}else if(("Pepper"===n||"Prover"===n)&&c.status>=400)throw new gt({apiType:n,aptosRequest:e,aptosResponse:c});if(c.status>=200&&c.status<300)return c;throw new gt({apiType:n,aptosRequest:e,aptosResponse:c})}async function Mt(e){let{aptosConfig:t,overrides:r,params:n,contentType:i,acceptType:o,path:s,originMethod:a,type:c}=e;return Ot({url:t.getRequestUrl(c),method:"GET",originMethod:a,path:s,contentType:i,acceptType:o,params:n,overrides:{...t.clientConfig,...r}},t,e.type)}async function Pt(e){let{aptosConfig:t}=e;return Mt({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...n([t,"access",e=>e.clientConfig,"optionalAccess",e=>e.HEADERS]),...n([t,"access",e=>e.fullnodeConfig,"optionalAccess",e=>e.HEADERS])}}})}async function kt(e){let t,r=[],n=e.params;do{let i=await Mt({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:n,overrides:e.overrides});t=i.headers["x-aptos-cursor"],delete i.headers,r.push(...i.data),n.start=t}while(null!=t);return r}async function Bt(e){let{type:t,originMethod:r,path:n,body:i,acceptType:o,contentType:s,params:a,aptosConfig:c,overrides:u}=e;return Ot({url:c.getRequestUrl(t),method:"POST",originMethod:r,path:n,body:i,contentType:s,acceptType:o,params:a,overrides:u},c,e.type)}async function xt(e){let{aptosConfig:t}=e;return Bt({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...n([t,"access",e=>e.clientConfig,"optionalAccess",e=>e.HEADERS]),...n([t,"access",e=>e.fullnodeConfig,"optionalAccess",e=>e.HEADERS])}}})}async function Nt(e){let{aptosConfig:t}=e;return Bt({...e,type:"Indexer",overrides:{...t.clientConfig,...t.indexerConfig,...e.overrides,HEADERS:{...n([t,"access",e=>e.clientConfig,"optionalAccess",e=>e.HEADERS]),...n([t,"access",e=>e.indexerConfig,"optionalAccess",e=>e.HEADERS])}}})}async function Rt(e){let{aptosConfig:t}=e,r={...t,clientConfig:{...t.clientConfig}};return function(e){n(e)}([r,"optionalAccess",e=>e.clientConfig,"optionalAccess",e=>delete e.API_KEY]),Bt({...e,type:"Faucet",overrides:{...r.clientConfig,...r.faucetConfig,...e.overrides,HEADERS:{...n([r,"access",e=>e.clientConfig,"optionalAccess",e=>e.HEADERS]),...n([r,"access",e=>e.faucetConfig,"optionalAccess",e=>e.HEADERS])}}})}async function _t(e){return Bt({...e,type:"Pepper"})}async function Ut(e){return Bt({...e,type:"Prover"})}var Dt=new Map;function Wt(e,t,r){return async(...n)=>{if(Dt.has(t)){let{value:e,timestamp:n}=Dt.get(t);if(void 0===r||Date.now()-n<=r)return e}let i=await e(...n);return Dt.set(t,{value:i,timestamp:Date.now()}),i}}var Lt=e.MAX_AUD_VAL_BYTES=120,zt=e.MAX_UID_KEY_BYTES=30,Ft=e.MAX_UID_VAL_BYTES=330,Kt=e.MAX_ISS_VAL_BYTES=120,jt=e.MAX_EXTRA_FIELD_BYTES=350,Ht=e.MAX_JWT_HEADER_B64_BYTES=300,Gt=e.MAX_COMMITED_EPK_BYTES=93,Vt=class e extends Ce{constructor(t,r){super();let n=p.fromHexInput(r).toUint8Array();if(n.length!==e.ID_COMMITMENT_LENGTH)throw new Error(`Id Commitment length in bytes should be ${e.ID_COMMITMENT_LENGTH}`);this.iss=t,this.idCommitment=n}authKey(){let e=new y;return e.serializeU32AsUleb128(3),e.serializeFixedBytes(this.bcsToBytes()),ce.fromSchemeAndBytes({scheme:2,input:e.toUint8Array()})}verifySignature(e){throw new Error("Not yet implemented")}serialize(e){e.serializeStr(this.iss),e.serializeBytes(this.idCommitment)}static deserialize(t){let r=t.deserializeStr(),n=t.deserializeBytes();return new e(r,n)}static load(t){let r=t.deserializeStr(),n=t.deserializeBytes();return new e(r,n)}static isPublicKey(t){return t instanceof e}static create(t){return Jt(t),new e(t.iss,Jt(t))}static fromJwtAndPepper(t){let{jwt:r,pepper:n,uidKey:i="sub"}=t,o=qe.jwtDecode.call(void 0,r);if("string"!=typeof o.iss)throw new Error("iss was not found");if("string"!=typeof o.aud)throw new Error("aud was not found or an array of values");let s=o[i];return e.create({iss:o.iss,uidKey:i,uidVal:s,aud:o.aud,pepper:n})}static isInstance(e){return"iss"in e&&"string"==typeof e.iss&&"idCommitment"in e&&e.idCommitment instanceof Uint8Array}};Vt.ID_COMMITMENT_LENGTH=32;var qt=Vt;function Jt(e){let{uidKey:t,uidVal:r,aud:n,pepper:i}=e;return nt(it([rt(p.fromHexInput(i).toUint8Array()),$e(n,Lt),$e(r,Ft),$e(t,zt)]),qt.ID_COMMITMENT_LENGTH)}var Yt=class e extends Se{constructor(e){super();let{jwtHeader:t,ephemeralCertificate:r,expiryDateSecs:n,ephemeralPublicKey:i,ephemeralSignature:o}=e;this.jwtHeader=t,this.ephemeralCertificate=r,this.expiryDateSecs=n,this.ephemeralPublicKey=i,this.ephemeralSignature=o}serialize(e){this.ephemeralCertificate.serialize(e),e.serializeStr(this.jwtHeader),e.serializeU64(this.expiryDateSecs),this.ephemeralPublicKey.serialize(e),this.ephemeralSignature.serialize(e)}static deserialize(t){let r=Xt.deserialize(t),n=t.deserializeStr(),i=t.deserializeU64(),o=Je.deserialize(t),s=Ye.deserialize(t);return new e({jwtHeader:n,expiryDateSecs:Number(i),ephemeralCertificate:r,ephemeralPublicKey:o,ephemeralSignature:s})}static getSimulationSignature(){return new e({jwtHeader:"{}",ephemeralCertificate:new Xt(new tr({proof:new er(new $t({a:new Uint8Array(32),b:new Uint8Array(64),c:new Uint8Array(32)}),0),expHorizonSecs:0}),0),expiryDateSecs:0,ephemeralPublicKey:new Je(new ke(new Uint8Array(32))),ephemeralSignature:new Ye(new Re(new Uint8Array(64)))})}static isSignature(t){return t instanceof e}},Xt=e.EphemeralCertificate=class e extends Se{constructor(e,t){super(),this.signature=e,this.variant=t}toUint8Array(){return this.signature.toUint8Array()}serialize(e){e.serializeU32AsUleb128(this.variant),this.signature.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e(tr.deserialize(t),r);throw new Error(`Unknown variant index for EphemeralCertificate: ${r}`)}},Qt=class e extends g{constructor(e){if(super(),this.data=p.fromHexInput(e).toUint8Array(),32!==this.data.length)throw new Error("Input needs to be 32 bytes")}serialize(e){e.serializeFixedBytes(this.data)}static deserialize(t){let r=t.deserializeFixedBytes(32);return new e(r)}},Zt=class e extends g{constructor(e){if(super(),this.data=p.fromHexInput(e).toUint8Array(),64!==this.data.length)throw new Error("Input needs to be 64 bytes")}serialize(e){e.serializeFixedBytes(this.data)}static deserialize(t){let r=t.deserializeFixedBytes(64);return new e(r)}},$t=e.Groth16Zkp=class e extends ot{constructor(e){super();let{a:t,b:r,c:n}=e;this.a=new Qt(t),this.b=new Zt(r),this.c=new Qt(n)}serialize(e){this.a.serialize(e),this.b.serialize(e),this.c.serialize(e)}static deserialize(t){let r=Qt.deserialize(t).bcsToBytes(),n=Zt.deserialize(t).bcsToBytes(),i=Qt.deserialize(t).bcsToBytes();return new e({a:r,b:n,c:i})}},er=e.ZkProof=class e extends g{constructor(e,t){super(),this.proof=e,this.variant=t}serialize(e){e.serializeU32AsUleb128(this.variant),this.proof.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e($t.deserialize(t),r);throw new Error(`Unknown variant index for ZkProof: ${r}`)}},tr=e.ZeroKnowledgeSig=class e extends Se{constructor(e){super();let{proof:t,expHorizonSecs:r,trainingWheelsSignature:n,extraField:i,overrideAudVal:o}=e;this.proof=t,this.expHorizonSecs=r,this.trainingWheelsSignature=n,this.extraField=i,this.overrideAudVal=o}static fromBytes(t){return e.deserialize(new l(t))}serialize(e){this.proof.serialize(e),e.serializeU64(this.expHorizonSecs),e.serializeOptionStr(this.extraField),e.serializeOptionStr(this.overrideAudVal),e.serializeOption(this.trainingWheelsSignature)}static deserialize(t){let r=er.deserialize(t),n=Number(t.deserializeU64()),i=t.deserializeOptionStr(),o=t.deserializeOptionStr(),s=t.deserializeOption(Ye);return new e({proof:r,expHorizonSecs:n,trainingWheelsSignature:s,extraField:i,overrideAudVal:o})}},rr=e.KeylessConfiguration=class e{constructor(e,t){this.verficationKey=e,this.maxExpHorizonSecs=t}static create(t,r){return new e(new nr({alphaG1:t.alpha_g1,betaG2:t.beta_g2,deltaG2:t.delta_g2,gammaAbcG1:t.gamma_abc_g1,gammaG2:t.gamma_g2}),r)}},nr=class e{constructor(e){let{alphaG1:t,betaG2:r,deltaG2:n,gammaAbcG1:i,gammaG2:o}=e;this.alphaG1=new Qt(t),this.betaG2=new Zt(r),this.deltaG2=new Zt(n),this.gammaAbcG1=[new Qt(i[0]),new Qt(i[1])],this.gammaG2=new Zt(o)}static fromGroth16VerificationKeyResponse(t){return new e({alphaG1:t.alpha_g1,betaG2:t.beta_g2,deltaG2:t.delta_g2,gammaAbcG1:t.gamma_abc_g1,gammaG2:t.gamma_g2})}};async function ir(e){let{aptosConfig:t}=e;return Wt((async()=>{let t=await async function(e){let{aptosConfig:t,options:r}=e,i="0x1::keyless_account::Configuration",{data:o}=await Pt({aptosConfig:t,originMethod:"getKeylessConfigurationResource",path:`accounts/${se.from("0x1").toString()}/resource/${i}`,params:{ledger_version:n([r,"optionalAccess",e=>e.ledgerVersion])}});return o.data}(e),r=await async function(e){let{aptosConfig:t,options:r}=e,i="0x1::keyless_account::Groth16VerificationKey",{data:o}=await Pt({aptosConfig:t,originMethod:"getGroth16VerificationKeyResource",path:`accounts/${se.from("0x1").toString()}/resource/${i}`,params:{ledger_version:n([r,"optionalAccess",e=>e.ledgerVersion])}});return o.data}(e);return rr.create(r,Number(t.max_exp_horizon_secs))}),`keyless-configuration-${t.network}`,3e5)()}var or=class e extends Ce{constructor(e,t){super(),this.jwkAddress=se.from(e),this.keylessPublicKey=t}authKey(){let e=new y;return e.serializeU32AsUleb128(4),e.serializeFixedBytes(this.bcsToBytes()),ce.fromSchemeAndBytes({scheme:2,input:e.toUint8Array()})}verifySignature(e){throw new Error("Not yet implemented")}serialize(e){this.jwkAddress.serialize(e),this.keylessPublicKey.serialize(e)}static deserialize(t){let r=se.deserialize(t),n=qt.deserialize(t);return new e(r,n)}static isPublicKey(t){return t instanceof e}static create(t){return new e(t.jwkAddress,qt.create(t))}static fromJwtAndPepper(t){return new e(t.jwkAddress,qt.fromJwtAndPepper(t))}static isInstance(e){return"jwkAddress"in e&&e.jwkAddress instanceof se&&"keylessPublicKey"in e&&e.keylessPublicKey instanceof qt}},sr=class e extends Ce{constructor(e){if(super(),this.publicKey=e,e instanceof ke)this.variant=0;else if(e instanceof Ke)this.variant=1;else if(e instanceof qt)this.variant=3;else{if(!(e instanceof or))throw new Error("Unsupported public key type");this.variant=4}}verifySignature(e){let{message:t,signature:r}=e;return!!ar.isInstance(r)&&this.publicKey.verifySignature({message:t,signature:r.signature})}authKey(){return ce.fromSchemeAndBytes({scheme:2,input:this.toUint8Array()})}toUint8Array(){return this.bcsToBytes()}serialize(e){e.serializeU32AsUleb128(this.variant),this.publicKey.serialize(e)}static deserialize(t){let r,n=t.deserializeUleb128AsU32();switch(n){case 0:r=ke.deserialize(t);break;case 1:r=Ke.deserialize(t);break;case 3:r=qt.deserialize(t);break;case 4:r=or.deserialize(t);break;default:throw new Error(`Unknown variant index for AnyPublicKey: ${n}`)}return new e(r)}static isPublicKey(t){return t instanceof e}isEd25519(){return this.publicKey instanceof ke}isSecp256k1PublicKey(){return this.publicKey instanceof Ke}static isInstance(e){return"publicKey"in e&&"variant"in e}},ar=e.AnySignature=class e extends Se{constructor(e){if(super(),this.signature=e,e instanceof Re)this.variant=0;else if(e instanceof Ve)this.variant=1;else{if(!(e instanceof Yt))throw new Error("Unsupported signature type");this.variant=3}}toUint8Array(){return console.warn("[Aptos SDK] Calls to AnySignature.toUint8Array() will soon return the underlying signature bytes. Use AnySignature.bcsToBytes() instead."),this.bcsToBytes()}serialize(e){e.serializeU32AsUleb128(this.variant),this.signature.serialize(e)}static deserialize(t){let r,n=t.deserializeUleb128AsU32();switch(n){case 0:r=Re.deserialize(t);break;case 1:r=Ve.deserialize(t);break;case 3:r=Yt.deserialize(t);break;default:throw new Error(`Unknown variant index for AnySignature: ${n}`)}return new e(r)}static isInstance(e){return"signature"in e&&"object"==typeof e.signature&&null!==e.signature&&"toUint8Array"in e.signature}};var cr=class e extends Ce{constructor(e){super();let{publicKeys:t,signaturesRequired:r}=e;if(r<1)throw new Error("The number of required signatures needs to be greater than 0");if(t.length<r)throw new Error(`Provided ${t.length} public keys is smaller than the ${r} required signatures`);this.publicKeys=t.map((e=>e instanceof sr?e:new sr(e))),this.signaturesRequired=r}verifySignature(e){throw new Error("not implemented")}authKey(){return ce.fromSchemeAndBytes({scheme:3,input:this.toUint8Array()})}serialize(e){e.serializeVector(this.publicKeys),e.serializeU8(this.signaturesRequired)}static deserialize(t){let r=t.deserializeVector(sr),n=t.deserializeU8();return new e({publicKeys:r,signaturesRequired:n})}createBitmap(e){let{bits:t}=e,r=new Uint8Array([0,0,0,0]),n=new Set;return t.forEach(((e,t)=>{if(t+1>this.publicKeys.length)throw new Error(`Signature index ${t+1} is out of public keys range, ${this.publicKeys.length}.`);if(n.has(e))throw new Error(`Duplicate bit ${e} detected.`);n.add(e);let i=Math.floor(e/8),o=r[i];o|=128>>e%8,r[i]=o})),r}getIndex(e){let t=e instanceof sr?e:new sr(e),r=this.publicKeys.findIndex((e=>e.toString()===t.toString()));if(-1!==r)return r;throw new Error("Public key not found in MultiKey")}static isInstance(e){return"publicKeys"in e&&"signaturesRequired"in e}},ur=class e extends Se{constructor(t){super();let{signatures:r,bitmap:n}=t;if(r.length>e.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${e.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=r.map((e=>e instanceof ar?e:new ar(e))),n instanceof Uint8Array){if(n.length!==e.BITMAP_LEN)throw new Error(`"bitmap" length should be ${e.BITMAP_LEN}`);this.bitmap=n}else this.bitmap=e.createBitmap({bits:n});let i=this.bitmap.reduce(((e,t)=>e+function(e){let t=e;return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),16843009*(t+(t>>4)&252645135)>>24}(t)),0);if(i!==this.signatures.length)throw new Error(`Expecting ${i} signatures from the bitmap, but got ${this.signatures.length}`)}static createBitmap(t){let{bits:r}=t,n=new Uint8Array([0,0,0,0]),i=new Set;return r.forEach((t=>{if(t>=e.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${e.MAX_SIGNATURES_SUPPORTED-1}.`);if(i.has(t))throw new Error("Duplicate bits detected.");i.add(t);let r=Math.floor(t/8),o=n[r];o|=128>>t%8,n[r]=o})),n}serialize(e){e.serializeVector(this.signatures),e.serializeBytes(this.bitmap)}static deserialize(t){let r=t.deserializeVector(ar),n=t.deserializeBytes();return new e({signatures:r,bitmap:n})}};ur.BITMAP_LEN=4,ur.MAX_SIGNATURES_SUPPORTED=8*ur.BITMAP_LEN;var lr=ur,dr=class extends g{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return hr.load(e);case 1:return fr.load(e);case 2:return pr.load(e);case 3:return gr.load(e);default:throw new Error(`Unknown variant index for AccountAuthenticator: ${t}`)}}isEd25519(){return this instanceof hr}isMultiEd25519(){return this instanceof fr}isSingleKey(){return this instanceof pr}isMultiKey(){return this instanceof gr}},hr=e.AccountAuthenticatorEd25519=class e extends dr{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(0),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=ke.deserialize(t),n=Re.deserialize(t);return new e(r,n)}},fr=e.AccountAuthenticatorMultiEd25519=class e extends dr{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(1),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Ue.deserialize(t),n=We.deserialize(t);return new e(r,n)}},pr=e.AccountAuthenticatorSingleKey=class e extends dr{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(2),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=sr.deserialize(t),n=ar.deserialize(t);return new e(r,n)}},gr=e.AccountAuthenticatorMultiKey=class e extends dr{constructor(e,t){super(),this.public_keys=e,this.signatures=t}serialize(e){e.serializeU32AsUleb128(3),this.public_keys.serialize(e),this.signatures.serialize(e)}static load(t){let r=cr.deserialize(t),n=lr.deserialize(t);return new e(r,n)}},yr=class e extends g{constructor(e){super(),this.chainId=e}serialize(e){e.serializeU8(this.chainId)}static deserialize(t){let r=t.deserializeU8();return new e(r)}},mr=class e extends g{constructor(e){super(),this.identifier=e}serialize(e){e.serializeStr(this.identifier)}static deserialize(t){let r=t.deserializeStr();return new e(r)}},br=(e,t)=>{let r=e.bcsToBytes(),n="string"==typeof t?P.Buffer.from(t,"utf8"):t,i=new Uint8Array([...r,...n,254]);return new se(ne.sha3_256.call(void 0,i))},wr=e.createResourceAddress=(e,t)=>{let r=e.bcsToBytes(),n="string"==typeof t?P.Buffer.from(t,"utf8"):t,i=new Uint8Array([...r,...n,255]);return new se(ne.sha3_256.call(void 0,i))},vr=e.createTokenAddress=(e,t,r)=>br(e,`${t}::${r}`),Ar=class e extends g{constructor(e,t){super(),this.address=e,this.name=t}static fromStr(t){let r=t.split("::");if(2!==r.length)throw new Error("Invalid module id.");return new e(se.fromString(r[0]),new mr(r[1]))}serialize(e){this.address.serialize(e),this.name.serialize(e)}static deserialize(t){let r=se.deserialize(t),n=mr.deserialize(t);return new e(r,n)}},Er=class e extends g{deserialize(t){let r=se.deserialize(t),n=mr.deserialize(t),i=mr.deserialize(t),o=t.deserializeVector(e);return new Ur(r,n,i,o)}static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Tr.load(e);case 1:return Cr.load(e);case 2:return Or.load(e);case 3:return Mr.load(e);case 4:return kr.load(e);case 5:return Br.load(e);case 6:return Rr.load(e);case 7:return _r.load(e);case 8:return Sr.load(e);case 9:return Ir.load(e);case 10:return Pr.load(e);case 255:return Nr.load(e);default:throw new Error(`Unknown variant index for TypeTag: ${t}`)}}isBool(){return this instanceof Tr}isAddress(){return this instanceof kr}isGeneric(){return this instanceof Nr}isSigner(){return this instanceof Br}isVector(){return this instanceof Rr}isStruct(){return this instanceof _r}isU8(){return this instanceof Cr}isU16(){return this instanceof Sr}isU32(){return this instanceof Ir}isU64(){return this instanceof Or}isU128(){return this instanceof Mr}isU256(){return this instanceof Pr}isPrimitive(){return this instanceof Br||this instanceof kr||this instanceof Tr||this instanceof Cr||this instanceof Sr||this instanceof Ir||this instanceof Or||this instanceof Mr||this instanceof Pr}},Tr=e.TypeTagBool=class e extends Er{toString(){return"bool"}serialize(e){e.serializeU32AsUleb128(0)}static load(t){return new e}},Cr=e.TypeTagU8=class e extends Er{toString(){return"u8"}serialize(e){e.serializeU32AsUleb128(1)}static load(t){return new e}},Sr=e.TypeTagU16=class e extends Er{toString(){return"u16"}serialize(e){e.serializeU32AsUleb128(8)}static load(t){return new e}},Ir=e.TypeTagU32=class e extends Er{toString(){return"u32"}serialize(e){e.serializeU32AsUleb128(9)}static load(t){return new e}},Or=e.TypeTagU64=class e extends Er{toString(){return"u64"}serialize(e){e.serializeU32AsUleb128(2)}static load(t){return new e}},Mr=e.TypeTagU128=class e extends Er{toString(){return"u128"}serialize(e){e.serializeU32AsUleb128(3)}static load(t){return new e}},Pr=e.TypeTagU256=class e extends Er{toString(){return"u256"}serialize(e){e.serializeU32AsUleb128(10)}static load(t){return new e}},kr=e.TypeTagAddress=class e extends Er{toString(){return"address"}serialize(e){e.serializeU32AsUleb128(4)}static load(t){return new e}},Br=e.TypeTagSigner=class e extends Er{toString(){return"signer"}serialize(e){e.serializeU32AsUleb128(5)}static load(t){return new e}},xr=e.TypeTagReference=class e extends Er{constructor(e){super(),this.value=e}toString(){return`&${this.value.toString()}`}serialize(e){e.serializeU32AsUleb128(254)}static load(t){let r=Er.deserialize(t);return new e(r)}},Nr=e.TypeTagGeneric=class e extends Er{constructor(e){if(super(),this.value=e,e<0)throw new Error("Generic type parameter index cannot be negative")}toString(){return`T${this.value}`}serialize(e){e.serializeU32AsUleb128(255),e.serializeU32(this.value)}static load(t){let r=t.deserializeU32();return new e(r)}},Rr=e.TypeTagVector=class e extends Er{constructor(e){super(),this.value=e}toString(){return`vector<${this.value.toString()}>`}static u8(){return new e(new Cr)}serialize(e){e.serializeU32AsUleb128(6),this.value.serialize(e)}static load(t){let r=Er.deserialize(t);return new e(r)}},_r=e.TypeTagStruct=class e extends Er{constructor(e){super(),this.value=e}toString(){let e="";return this.value.typeArgs.length>0&&(e=`<${this.value.typeArgs.map((e=>e.toString())).join(", ")}>`),`${this.value.address.toString()}::${this.value.moduleName.identifier}::${this.value.name.identifier}${e}`}serialize(e){e.serializeU32AsUleb128(7),this.value.serialize(e)}static load(t){let r=Ur.deserialize(t);return new e(r)}isTypeTag(e,t,r){return this.value.moduleName.identifier===t&&this.value.name.identifier===r&&this.value.address.equals(e)}isString(){return this.isTypeTag(se.ONE,"string","String")}isOption(){return this.isTypeTag(se.ONE,"option","Option")}isObject(){return this.isTypeTag(se.ONE,"object","Object")}},Ur=e.StructTag=class e extends g{constructor(e,t,r,n){super(),this.address=e,this.moduleName=t,this.name=r,this.typeArgs=n}serialize(e){e.serialize(this.address),e.serialize(this.moduleName),e.serialize(this.name),e.serializeVector(this.typeArgs)}static deserialize(t){let r=se.deserialize(t),n=mr.deserialize(t),i=mr.deserialize(t),o=t.deserializeVector(Er);return new e(r,n,i,o)}};function Dr(){return new Ur(se.ONE,new mr("string"),new mr("String"),[])}function Wr(e){return new Ur(se.ONE,new mr("object"),new mr("Object"),[e])}function Lr(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return V.deserialize(e);case 1:return Y.deserialize(e);case 2:return X.deserialize(e);case 3:return se.deserialize(e);case 4:return Z.deserialize(e,V);case 5:return G.deserialize(e);case 6:return q.deserialize(e);case 7:return J.deserialize(e);case 8:return Q.deserialize(e);case 9:return $.deserialize(e);default:throw new Error(`Unknown variant index for ScriptTransactionArgument: ${t}`)}}var zr=class extends g{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Fr.load(e);case 2:return Kr.load(e);case 3:return jr.load(e);default:throw new Error(`Unknown variant index for TransactionPayload: ${t}`)}}},Fr=e.TransactionPayloadScript=class e extends zr{constructor(e){super(),this.script=e}serialize(e){e.serializeU32AsUleb128(0),this.script.serialize(e)}static load(t){let r=Gr.deserialize(t);return new e(r)}},Kr=e.TransactionPayloadEntryFunction=class e extends zr{constructor(e){super(),this.entryFunction=e}serialize(e){e.serializeU32AsUleb128(2),this.entryFunction.serialize(e)}static load(t){let r=Hr.deserialize(t);return new e(r)}},jr=e.TransactionPayloadMultiSig=class e extends zr{constructor(e){super(),this.multiSig=e}serialize(e){e.serializeU32AsUleb128(3),this.multiSig.serialize(e)}static load(t){let r=Vr.deserialize(t);return new e(r)}},Hr=e.EntryFunction=class e{constructor(e,t,r,n){this.module_name=e,this.function_name=t,this.type_args=r,this.args=n}static build(t,r,n,i){return new e(Ar.fromStr(t),new mr(r),n,i)}serialize(e){this.module_name.serialize(e),this.function_name.serialize(e),e.serializeVector(this.type_args),e.serializeU32AsUleb128(this.args.length),this.args.forEach((t=>{t.serializeForEntryFunction(e)}))}static deserialize(t){let r=Ar.deserialize(t),n=mr.deserialize(t),i=t.deserializeVector(Er),o=t.deserializeUleb128AsU32(),s=new Array;for(let e=0;e<o;e+=1){let e=t.deserializeUleb128AsU32(),r=T.deserialize(t,e);s.push(r)}return new e(r,n,i,s)}},Gr=e.Script=class e{constructor(e,t,r){this.bytecode=e,this.type_args=t,this.args=r}serialize(e){e.serializeBytes(this.bytecode),e.serializeVector(this.type_args),e.serializeU32AsUleb128(this.args.length),this.args.forEach((t=>{t.serializeForScriptFunction(e)}))}static deserialize(t){let r=t.deserializeBytes(),n=t.deserializeVector(Er),i=t.deserializeUleb128AsU32(),o=new Array;for(let e=0;e<i;e+=1){let e=Lr(t);o.push(e)}return new e(r,n,o)}},Vr=e.MultiSig=class e{constructor(e,t){this.multisig_address=e,this.transaction_payload=t}serialize(e){this.multisig_address.serialize(e),void 0===this.transaction_payload?e.serializeBool(!1):(e.serializeBool(!0),this.transaction_payload.serialize(e))}static deserialize(t){let r,n=se.deserialize(t);return t.deserializeBool()&&(r=qr.deserialize(t)),new e(n,r)}},qr=e.MultiSigTransactionPayload=class e extends g{constructor(e){super(),this.transaction_payload=e}serialize(e){e.serializeU32AsUleb128(0),this.transaction_payload.serialize(e)}static deserialize(t){return t.deserializeUleb128AsU32(),new e(Hr.deserialize(t))}},Jr=class e extends g{constructor(e,t,r,n,i,o,s){super(),this.sender=e,this.sequence_number=t,this.payload=r,this.max_gas_amount=n,this.gas_unit_price=i,this.expiration_timestamp_secs=o,this.chain_id=s}serialize(e){this.sender.serialize(e),e.serializeU64(this.sequence_number),this.payload.serialize(e),e.serializeU64(this.max_gas_amount),e.serializeU64(this.gas_unit_price),e.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize(e)}static deserialize(t){let r=se.deserialize(t),n=t.deserializeU64(),i=zr.deserialize(t),o=t.deserializeU64(),s=t.deserializeU64(),a=t.deserializeU64(),c=yr.deserialize(t);return new e(r,n,i,o,s,a,c)}},Yr=e.RawTransactionWithData=class extends g{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Xr.load(e);case 1:return Qr.load(e);default:throw new Error(`Unknown variant index for RawTransactionWithData: ${t}`)}}},Xr=e.MultiAgentRawTransaction=class e extends Yr{constructor(e,t){super(),this.raw_txn=e,this.secondary_signer_addresses=t}serialize(e){e.serializeU32AsUleb128(0),this.raw_txn.serialize(e),e.serializeVector(this.secondary_signer_addresses)}static load(t){let r=Jr.deserialize(t),n=t.deserializeVector(se);return new e(r,n)}},Qr=e.FeePayerRawTransaction=class e extends Yr{constructor(e,t,r){super(),this.raw_txn=e,this.secondary_signer_addresses=t,this.fee_payer_address=r}serialize(e){e.serializeU32AsUleb128(1),this.raw_txn.serialize(e),e.serializeVector(this.secondary_signer_addresses),this.fee_payer_address.serialize(e)}static load(t){let r=Jr.deserialize(t),n=t.deserializeVector(se),i=se.deserialize(t);return new e(r,n,i)}},Zr=class extends g{constructor(e){super(),this.accountAddress=se.ONE,this.moduleName=new ee("account"),this.structName=new ee("RotationProofChallenge"),this.sequenceNumber=new Y(e.sequenceNumber),this.originator=e.originator,this.currentAuthKey=e.currentAuthKey,this.newPublicKey=Z.U8(e.newPublicKey.toUint8Array())}serialize(e){e.serialize(this.accountAddress),e.serialize(this.moduleName),e.serialize(this.structName),e.serialize(this.sequenceNumber),e.serialize(this.originator),e.serialize(this.currentAuthKey),e.serialize(this.newPublicKey)}},$r=class extends g{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return en.load(e);case 1:return tn.load(e);case 2:return rn.load(e);case 3:return nn.load(e);case 4:return on.load(e);default:throw new Error(`Unknown variant index for TransactionAuthenticator: ${t}`)}}},en=e.TransactionAuthenticatorEd25519=class e extends $r{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(0),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=ke.deserialize(t),n=Re.deserialize(t);return new e(r,n)}},tn=e.TransactionAuthenticatorMultiEd25519=class e extends $r{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(1),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Ue.deserialize(t),n=We.deserialize(t);return new e(r,n)}},rn=e.TransactionAuthenticatorMultiAgent=class e extends $r{constructor(e,t,r){super(),this.sender=e,this.secondary_signer_addresses=t,this.secondary_signers=r}serialize(e){e.serializeU32AsUleb128(2),this.sender.serialize(e),e.serializeVector(this.secondary_signer_addresses),e.serializeVector(this.secondary_signers)}static load(t){let r=dr.deserialize(t),n=t.deserializeVector(se),i=t.deserializeVector(dr);return new e(r,n,i)}},nn=e.TransactionAuthenticatorFeePayer=class e extends $r{constructor(e,t,r,n){super(),this.sender=e,this.secondary_signer_addresses=t,this.secondary_signers=r,this.fee_payer=n}serialize(e){e.serializeU32AsUleb128(3),this.sender.serialize(e),e.serializeVector(this.secondary_signer_addresses),e.serializeVector(this.secondary_signers),this.fee_payer.address.serialize(e),this.fee_payer.authenticator.serialize(e)}static load(t){let r=dr.deserialize(t),n=t.deserializeVector(se),i=t.deserializeVector(dr),o=se.deserialize(t),s=dr.deserialize(t);return new e(r,n,i,{address:o,authenticator:s})}},on=e.TransactionAuthenticatorSingleSender=class e extends $r{constructor(e){super(),this.sender=e}serialize(e){e.serializeU32AsUleb128(4),this.sender.serialize(e)}static load(t){let r=dr.deserialize(t);return new e(r)}},sn=class e extends g{constructor(e,t){super(),this.raw_txn=e,this.authenticator=t}serialize(e){this.raw_txn.serialize(e),this.authenticator.serialize(e)}static deserialize(t){let r=Jr.deserialize(t),n=$r.deserialize(t);return new e(r,n)}},an=class e extends g{constructor(e,t){super(),this.rawTransaction=e,this.feePayerAddress=t}serialize(e){this.rawTransaction.serialize(e),void 0===this.feePayerAddress?e.serializeBool(!1):(e.serializeBool(!0),this.feePayerAddress.serialize(e))}static deserialize(t){let r,n=Jr.deserialize(t);return t.deserializeBool()&&(r=se.deserialize(t)),new e(n,r)}},cn=class e extends g{constructor(e,t,r){super(),this.rawTransaction=e,this.feePayerAddress=r,this.secondarySignerAddresses=t}serialize(e){this.rawTransaction.serialize(e),e.serializeVector(this.secondarySignerAddresses),void 0===this.feePayerAddress?e.serializeBool(!1):(e.serializeBool(!0),this.feePayerAddress.serialize(e))}static deserialize(t){let r,n=Jr.deserialize(t),i=t.deserializeVector(se);return t.deserializeBool()&&(r=se.deserialize(t)),new e(n,i,r)}};function un(e){return e.feePayerAddress?new Qr(e.rawTransaction,r(e.secondarySignerAddresses,(()=>[])),e.feePayerAddress):e.secondarySignerAddresses?new Xr(e.rawTransaction,e.secondarySignerAddresses):e.rawTransaction}function ln(e,t){let r=ne.sha3_256.create();if(!t.startsWith("APTOS::"))throw new Error(`Domain separator needs to start with 'APTOS::'.  Provided - ${t}`);r.update(t);let n=r.digest(),i=e,o=new Uint8Array(n.length+i.length);return o.set(n),o.set(i,n.length),o}function dn(e){let t=un(e);return e.feePayerAddress||e.secondarySignerAddresses?ln(t.bcsToBytes(),ft):ln(t.bcsToBytes(),ht)}var hn=class e{constructor(e){this.signingScheme=0;let{privateKey:t,address:r}=e;this.privateKey=t,this.publicKey=t.publicKey(),this.accountAddress=r?se.from(r):this.publicKey.authKey().derivedAddress()}static generate(){let t=xe.generate();return new e({privateKey:t})}static fromDerivationPath(t){let{path:r,mnemonic:n}=t,i=xe.fromDerivationPath(r,n);return new e({privateKey:i})}verifySignature(e){return this.publicKey.verifySignature(e)}signWithAuthenticator(e){return new hr(this.publicKey,this.privateKey.sign(e))}signTransactionWithAuthenticator(e){return new hr(this.publicKey,this.signTransaction(e))}sign(e){return this.privateKey.sign(e)}signTransaction(e){return this.sign(dn(e))}},fn=class e{constructor(e){this.signingScheme=2;let{privateKey:t,address:r}=e;this.privateKey=t,this.publicKey=new sr(t.publicKey()),this.accountAddress=r?se.from(r):this.publicKey.authKey().derivedAddress()}static generate(t={}){let r,{scheme:n=0}=t;switch(n){case 0:r=xe.generate();break;case 2:r=He.generate();break;default:throw new Error(`Unsupported signature scheme ${n}`)}return new e({privateKey:r})}static fromDerivationPath(t){let r,{scheme:n=0,path:i,mnemonic:o}=t;switch(n){case 0:r=xe.fromDerivationPath(i,o);break;case 2:r=He.fromDerivationPath(i,o);break;default:throw new Error(`Unsupported signature scheme ${n}`)}return new e({privateKey:r})}verifySignature(e){return this.publicKey.verifySignature(e)}signWithAuthenticator(e){return new pr(this.publicKey,this.sign(e))}signTransactionWithAuthenticator(e){return new pr(this.publicKey,this.signTransaction(e))}sign(e){return new ar(this.privateKey.sign(e))}signTransaction(e){return this.sign(dn(e))}},pn=class{static generate(e={}){let{scheme:t=0,legacy:r=!0}=e;return 0===t&&r?hn.generate():fn.generate({scheme:t})}static fromPrivateKey(e){let{privateKey:t,address:r,legacy:n=!0}=e;return t instanceof xe&&n?new hn({privateKey:t,address:r}):new fn({privateKey:t,address:r})}static fromPrivateKeyAndAddress(e){return this.fromPrivateKey(e)}static fromDerivationPath(e){let{scheme:t=0,mnemonic:r,path:n,legacy:i=!0}=e;return 0===t&&i?hn.fromDerivationPath({mnemonic:r,path:n}):fn.fromDerivationPath({scheme:t,mnemonic:r,path:n})}static authKey(e){let{publicKey:t}=e;return t.authKey()}verifySignature(e){return this.publicKey.verifySignature(e)}},gn=class e extends g{constructor(e){super();let{privateKey:t,expiryDateSecs:r,blinder:n}=e;this.privateKey=t,this.publicKey=new Je(t.publicKey()),this.expiryDateSecs=r||o.d.call(void 0,o.c.call(void 0)+1209600),this.blinder=void 0!==n?p.fromHexInput(n).toUint8Array():d.randomBytes.call(void 0,yn.BLINDER_LENGTH);let i=tt(this.publicKey.bcsToBytes(),93);i.push(BigInt(this.expiryDateSecs)),i.push(rt(this.blinder));let s=it(i);this.nonce=s.toString()}getPublicKey(){return this.publicKey}isExpired(){return Math.floor(Date.now()/1e3)>this.expiryDateSecs}serialize(e){e.serializeU32AsUleb128(this.publicKey.variant),e.serializeBytes(this.privateKey.toUint8Array()),e.serializeU64(this.expiryDateSecs),e.serializeFixedBytes(this.blinder)}static deserialize(t){let r,n=t.deserializeUleb128AsU32();if(0!==n)throw new Error(`Unknown variant index for EphemeralPublicKey: ${n}`);r=xe.deserialize(t);let i=t.deserializeU64(),o=t.deserializeFixedBytes(31);return new e({privateKey:r,expiryDateSecs:Number(i),blinder:o})}static fromBytes(t){return e.deserialize(new l(t))}static generate(t){let r;return n([t,"optionalAccess",e=>e.scheme]),r=xe.generate(),new e({privateKey:r,expiryDateSecs:n([t,"optionalAccess",e=>e.expiryDateSecs])})}sign(e){if(this.isExpired())throw new Error("EphemeralKeyPair has expired");return new Ye(this.privateKey.sign(e))}};gn.BLINDER_LENGTH=31;var yn=gn;var mn=t(Qf()),bn=class e extends g{constructor(t){super();let{address:r,ephemeralKeyPair:n,publicKey:i,uidKey:o,uidVal:s,aud:a,pepper:c,proof:u,proofFetchCallback:l,jwt:d}=t;if(this.ephemeralKeyPair=n,this.publicKey=i,this.accountAddress=r?se.from(r):this.publicKey.authKey().derivedAddress(),this.uidKey=o,this.uidVal=s,this.aud=a,this.jwt=d,this.emitter=new mn.default,this.proofOrPromise=u,u instanceof tr)this.proof=u;else{if(void 0===l)throw new Error("Must provide callback for async proof fetch");this.emitter.on("proofFetchFinish",(async e=>{await l(e),this.emitter.removeAllListeners()})),this.init(u)}this.signingScheme=2;let h=p.fromHexInput(c).toUint8Array();if(h.length!==e.PEPPER_LENGTH)throw new Error(`Pepper length in bytes should be ${e.PEPPER_LENGTH}`);this.pepper=h}async init(e){try{this.proof=await e,this.emitter.emit("proofFetchFinish",{status:"Success"})}catch(e){e instanceof Error?this.emitter.emit("proofFetchFinish",{status:"Failed",error:e.toString()}):this.emitter.emit("proofFetchFinish",{status:"Failed",error:"Unknown"})}}serialize(e){if(e.serializeStr(this.jwt),e.serializeStr(this.uidKey),e.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(e),void 0===this.proof)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(e)}isExpired(){return this.ephemeralKeyPair.isExpired()}signWithAuthenticator(e){let t=new ar(this.sign(e)),r=new sr(this.publicKey);return new pr(r,t)}signTransactionWithAuthenticator(e){let t=new ar(this.signTransaction(e)),r=new sr(this.publicKey);return new pr(r,t)}async waitForProofFetch(){this.proofOrPromise instanceof Promise&&await this.proofOrPromise}sign(e){let{expiryDateSecs:t}=this.ephemeralKeyPair;if(this.isExpired())throw new Error("EphemeralKeyPair is expired");if(void 0===this.proof)throw new Error("Proof not found - make sure to call `await account.waitForProofFetch()` before signing.");let r=this.ephemeralKeyPair.getPublicKey(),n=this.ephemeralKeyPair.sign(e);return new Yt({jwtHeader:o.e.call(void 0,this.jwt.split(".")[0]),ephemeralCertificate:new Xt(this.proof,0),expiryDateSecs:t,ephemeralPublicKey:r,ephemeralSignature:n})}signTransaction(e){if(void 0===this.proof)throw new Error("Proof not found - make sure to call `await account.waitForProofFetch()` before signing.");let t=un(e),r=new vn(t,this.proof.proof).hash();return this.sign(r)}verifySignature(e){let{message:t,signature:r}=e;return!(this.isExpired()||!this.ephemeralKeyPair.getPublicKey().verifySignature({message:t,signature:r.ephemeralSignature}))}};bn.PEPPER_LENGTH=31;var wn=bn,vn=e.TransactionAndProof=class extends g{constructor(e,t){super(),this.domainSeparator="APTOS::TransactionAndProof",this.transaction=e,this.proof=t}serialize(e){e.serializeFixedBytes(this.transaction.bcsToBytes()),e.serializeOption(this.proof)}hash(){return ln(this.bcsToBytes(),this.domainSeparator)}},An=class e extends wn{constructor(e){let t=qt.create(e);super({publicKey:t,...e}),this.publicKey=t}serialize(e){if(e.serializeStr(this.jwt),e.serializeStr(this.uidKey),e.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(e),void 0===this.proof)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(e)}static deserialize(t){let r=t.deserializeStr(),n=t.deserializeStr(),i=t.deserializeFixedBytes(31),o=yn.deserialize(t),s=tr.deserialize(t);return e.create({proof:s,pepper:i,uidKey:n,jwt:r,ephemeralKeyPair:o})}static fromBytes(t){return e.deserialize(new l(t))}static create(t){let{address:r,proof:n,jwt:i,ephemeralKeyPair:o,pepper:s,uidKey:a="sub",proofFetchCallback:c}=t,u=qe.jwtDecode.call(void 0,i);if("string"!=typeof u.iss)throw new Error("iss was not found");if("string"!=typeof u.aud)throw new Error("aud was not found or an array of values");let l=u[a];return new e({address:r,proof:n,ephemeralKeyPair:o,iss:u.iss,uidKey:a,uidVal:l,aud:u.aud,pepper:s,jwt:i,proofFetchCallback:c})}},En=class e extends wn{constructor(e){let t=or.create(e);super({publicKey:t,...e}),this.publicKey=t}serialize(e){if(void 0===this.proof)throw new Error("Cannot serialize - proof undefined");e.serializeStr(this.jwt),e.serializeStr(this.uidKey),e.serializeFixedBytes(this.pepper),this.publicKey.jwkAddress.serialize(e),this.ephemeralKeyPair.serialize(e),this.proof.serialize(e)}static deserialize(t){let r=t.deserializeStr(),n=t.deserializeStr(),i=t.deserializeFixedBytes(31),o=se.deserialize(t),s=yn.deserialize(t),a=tr.deserialize(t);return e.create({proof:a,pepper:i,jwkAddress:o,uidKey:n,jwt:r,ephemeralKeyPair:s})}static fromBytes(t){return e.deserialize(new l(t))}static create(t){let{address:r,proof:n,jwt:i,ephemeralKeyPair:o,pepper:s,jwkAddress:a,uidKey:c="sub",proofFetchCallback:u}=t,l=qe.jwtDecode.call(void 0,i);if("string"!=typeof l.iss)throw new Error("iss was not found");if("string"!=typeof l.aud)throw new Error("aud was not found or an array of values");let d=l[c];return new e({address:r,proof:n,ephemeralKeyPair:o,iss:l.iss,uidKey:c,uidVal:d,aud:l.aud,pepper:s,jwkAddress:se.from(a),jwt:i,proofFetchCallback:u})}},Tn=class e{constructor(e){let{multiKey:t,signers:r,address:n}=e;this.publicKey=t,this.signingScheme=3,this.accountAddress=n?se.from(n):this.publicKey.authKey().derivedAddress();let i=[];for(let e of r)i.push(this.publicKey.getIndex(e.publicKey));let o=r.map(((e,t)=>[e,i[t]]));o.sort(((e,t)=>e[1]-t[1])),this.signers=o.map((e=>e[0])),this.signerIndicies=o.map((e=>e[1])),this.signaturesBitmap=this.publicKey.createBitmap({bits:i})}static fromPublicKeysAndSigners(t){let{publicKeys:r,signaturesRequired:n,signers:i}=t,o=new cr({publicKeys:r,signaturesRequired:n});return new e({multiKey:o,signers:i})}static isMultiKeySigner(t){return t instanceof e}signWithAuthenticator(e){return new gr(this.publicKey,this.sign(e))}signTransactionWithAuthenticator(e){return new gr(this.publicKey,this.signTransaction(e))}async waitForProofFetch(){let e=this.signers.filter((e=>e instanceof wn)).map((async e=>e.waitForProofFetch()));await Promise.all(e)}sign(e){let t=[];for(let r of this.signers)t.push(r.sign(e));return new lr({signatures:t,bitmap:this.signaturesBitmap})}signTransaction(e){let t=[];for(let r of this.signers)t.push(r.signTransaction(e));return new lr({signatures:t,bitmap:this.signaturesBitmap})}verifySignature(e){let{message:t,signature:r}=e;if(!this.signerIndicies.every(((e,t)=>0===t||e>=this.signerIndicies[t-1])))return!1;for(let e=0;e<r.signatures.length;e+=1){let n=r.signatures[e];if(!this.publicKey.publicKeys[this.signerIndicies[e]].verifySignature({message:t,signature:n}))return!1}return!0}},Cn="\n    fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 {\n  token_standard\n  token_properties_mutated_v1\n  token_data_id\n  table_type_v1\n  storage_id\n  property_version_v1\n  owner_address\n  last_transaction_version\n  last_transaction_timestamp\n  is_soulbound_v2\n  is_fungible_v2\n  amount\n  current_token_data {\n    collection_id\n    description\n    is_fungible_v2\n    largest_property_version_v1\n    last_transaction_timestamp\n    last_transaction_version\n    maximum\n    supply\n    token_data_id\n    token_name\n    token_properties\n    token_standard\n    token_uri\n    decimals\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      max_supply\n      mutable_description\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n  }\n}\n    ",Sn=`\n    query getAccountOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Cn}`,In=`\n    query getAccountOwnedTokensFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Cn}`,On="\n    query getNames($offset: Int, $limit: Int, $where_condition: current_aptos_names_bool_exp, $order_by: [current_aptos_names_order_by!]) {\n  current_aptos_names(\n    limit: $limit\n    where: $where_condition\n    order_by: $order_by\n    offset: $offset\n  ) {\n    ...AnsTokenFragment\n  }\n}\n    \n    fragment AnsTokenFragment on current_aptos_names {\n  domain\n  expiration_timestamp\n  registered_address\n  subdomain\n  token_standard\n  is_primary\n  owner_address\n  subdomain_expiration_policy\n  domain_expiration_timestamp\n}\n    ",Mn="\n    query getNumberOfDelegators($where_condition: num_active_delegator_per_pool_bool_exp, $order_by: [num_active_delegator_per_pool_order_by!]) {\n  num_active_delegator_per_pool(where: $where_condition, order_by: $order_by) {\n    num_active_delegator\n    pool_address\n  }\n}\n    ",Pn="\n    query getObjectData($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) {\n  current_objects(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    allow_ungated_transfer\n    state_key_hash\n    owner_address\n    object_address\n    last_transaction_version\n    last_guid_creation_num\n    is_deleted\n  }\n}\n    ",kn="\n    query getProcessorStatus($where_condition: processor_status_bool_exp) {\n  processor_status(where: $where_condition) {\n    last_success_version\n    processor\n    last_updated\n  }\n}\n    ",Bn=`\n    query getCurrentTokenOwnership($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Cn}`;async function xn(e){let{aptosConfig:t}=e,{data:r}=await Pt({aptosConfig:t,originMethod:"getLedgerInfo",path:""});return r}async function Nn(e){let{aptosConfig:t,query:n,originMethod:i}=e,{data:o}=await Nt({aptosConfig:t,originMethod:r(i,(()=>"queryIndexer")),path:"",body:n,overrides:{WITH_CREDENTIALS:!1}});return o}async function Rn(e){let t=await async function(e){let{aptosConfig:t}=e;return(await Nn({aptosConfig:t,query:{query:kn},originMethod:"getProcessorStatuses"})).processor_status}({aptosConfig:e.aptosConfig});return BigInt(t[0].last_success_version)}async function _n(e){let{aptosConfig:t,processorType:r}=e;return(await Nn({aptosConfig:t,query:{query:kn,variables:{where_condition:{processor:{_eq:r}}}},originMethod:"getProcessorStatus"})).processor_status[0]}async function Un(e){let{aptosConfig:t,handle:r,data:i,options:o}=e;return(await xt({aptosConfig:t,originMethod:"getTableItem",path:`tables/${r}/item`,params:{ledger_version:n([o,"optionalAccess",e=>e.ledgerVersion])},body:i})).data}async function Dn(e){let{aptosConfig:t,accountAddress:r}=e,{data:n}=await Pt({aptosConfig:t,originMethod:"getInfo",path:`accounts/${se.from(r).toString()}`});return n}async function Wn(e){return void 0!==n([e,"access",e=>e.options,"optionalAccess",e=>e.ledgerVersion])?Ln(e):Wt((async()=>Ln(e)),`module-${e.accountAddress}-${e.moduleName}`,3e5)()}async function Ln(e){let{aptosConfig:t,accountAddress:r,moduleName:i,options:o}=e,{data:s}=await Pt({aptosConfig:t,originMethod:"getModule",path:`accounts/${se.from(r).toString()}/module/${i}`,params:{ledger_version:n([o,"optionalAccess",e=>e.ledgerVersion])}});return s}async function zn(e){let{aptosConfig:t,accountAddress:r,resourceType:i,options:o}=e,{data:s}=await Pt({aptosConfig:t,originMethod:"getResource",path:`accounts/${se.from(r).toString()}/resource/${i}`,params:{ledger_version:n([o,"optionalAccess",e=>e.ledgerVersion])}});return s.data}async function Fn(e){let{aptosConfig:t,authenticationKey:r,options:n}=e,i=await zn({aptosConfig:t,accountAddress:"0x1",resourceType:"0x1::account::OriginatingAddress",options:n}),{address_map:{handle:o}}=i,s=se.from(r);try{let e=await Un({aptosConfig:t,handle:o,data:{key:s.toString(),key_type:"address",value_type:"address"},options:n});return se.from(e)}catch(e){if(e instanceof gt&&"table_item_not_found"===e.data.error_code)return s;throw e}}async function Kn(e){let{aptosConfig:t,authKey:r}=e,n=await Fn({aptosConfig:t,authenticationKey:r.derivedAddress()});try{return await Dn({aptosConfig:t,accountAddress:n}),!0}catch(e){if(404===e.status)return!1;throw new Error(`Error while looking for an account info ${n.toString()}`)}}async function jn(e){let{aptosConfig:t,options:r}=e;return kt({aptosConfig:t,originMethod:"getTransactions",path:"transactions",params:{start:n([r,"optionalAccess",e=>e.offset]),limit:n([r,"optionalAccess",e=>e.limit])}})}async function Hn(e){let{aptosConfig:t}=e;return Wt((async()=>{let{data:e}=await Pt({aptosConfig:t,originMethod:"getGasPriceEstimation",path:"estimate_gas_price"});return e}),`gas-price-${t.network}`,3e5)()}async function Gn(e){let{aptosConfig:t,transactionHash:r}=e,{data:n}=await Pt({aptosConfig:t,path:`transactions/by_hash/${r}`,originMethod:"getTransactionByHash"});return n}async function Vn(e){let t,i,{aptosConfig:s,transactionHash:a,options:c}=e,u=r(n([c,"optionalAccess",e=>e.timeoutSecs]),(()=>20)),l=r(n([c,"optionalAccess",e=>e.checkSuccess]),(()=>!0)),d=!0,h=0,f=200;function p(e){if(!(e instanceof gt)||(i=e,404!==e.status&&e.status>=400&&e.status<500))throw e}try{t=await Gn({aptosConfig:s,transactionHash:a}),d="pending_transaction"===t.type}catch(e){p(e)}if(d){let e=Date.now();try{t=await async function(e){let{aptosConfig:t,transactionHash:r}=e,{data:n}=await Pt({aptosConfig:t,path:`transactions/wait_by_hash/${r}`,originMethod:"longWaitForTransaction"});return n}({aptosConfig:s,transactionHash:a}),d="pending_transaction"===t.type}catch(e){p(e)}h=(Date.now()-e)/1e3}for(;d&&!(h>=u);){try{if(t=await Gn({aptosConfig:s,transactionHash:a}),d="pending_transaction"===t.type,!d)break}catch(e){p(e)}await o.b.call(void 0,f),h+=f/1e3,f*=1.5}if(void 0===t)throw i||new Jn(`Fetching transaction ${a} failed and timed out after ${u} seconds`,t);if("pending_transaction"===t.type)throw new Jn(`Transaction ${a} timed out in pending state after ${u} seconds`,t);if(!l)return t;if(!t.success)throw new Yn(`Transaction ${a} failed with an error: ${t.vm_status}`,t);return t}async function qn(e){let{aptosConfig:t,processorType:r}=e,n=BigInt(e.minimumLedgerVersion),i=(new Date).getTime(),s=BigInt(-1);for(;s<n;){if((new Date).getTime()-i>3e3)throw new Error("waitForLastSuccessIndexerVersionSync timeout");if(s=void 0===r?await Rn({aptosConfig:t}):(await _n({aptosConfig:t,processorType:r})).last_success_version,s>=n)break;await o.b.call(void 0,200)}}var Jn=class extends Error{constructor(e,t){super(e),this.lastSubmittedTransaction=t}},Yn=class extends Error{constructor(e,t){super(e),this.transaction=t}};async function Xn(e){let{aptosConfig:t,block:i,options:o}=e;if(n([o,"optionalAccess",e=>e.withTransactions])){i.transactions=r(i.transactions,(()=>[]));let e,o=i.transactions[i.transactions.length-1],s=BigInt(i.first_version),a=BigInt(i.last_version),c=n([o,"optionalAccess",e=>e.version]);if(e=void 0===c?s-1n:BigInt(c),e===a)return i;let u=[],l=100n;for(let r=e+1n;r<a;r+=BigInt(100))u.push(jn({aptosConfig:t,options:{offset:r,limit:Math.min(Number(l),Number(a-r+1n))}}));let d=await Promise.all(u);for(let e of d)i.transactions.push(...e)}return i}async function Qn(e){void 0!==e.minimumLedgerVersion&&await qn({aptosConfig:e.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:e.processorType})}function Zn(e){return"boolean"==typeof e}function $n(e){return"string"==typeof e}function ei(e){return"number"==typeof e}function ti(e){return ei(e)?e:$n(e)&&""!==e?Number.parseInt(e,10):void 0}function ri(e){return"number"==typeof e||"bigint"==typeof e||"string"==typeof e}function ni(e){return null==e}function ii(e){return oi(e)||ui(e)||li(e)||di(e)||hi(e)||fi(e)||pi(e)||si(e)||ai(e)||ci(e)||e instanceof Z||e instanceof te}function oi(e){return e instanceof G}function si(e){return e instanceof se}function ai(e){return e instanceof ee}function ci(e){return e instanceof E}function ui(e){return e instanceof V}function li(e){return e instanceof q}function di(e){return e instanceof J}function hi(e){return e instanceof Y}function fi(e){return e instanceof X}function pi(e){return e instanceof Q}function gi(e){return"bytecode"in e}function yi(e,t){throw new Error(`Type mismatch for argument ${t}, expected '${e}'`)}function mi(e){let t=e.params.findIndex((e=>"signer"!==e&&"&signer"!==e));return t<0?e.params.length:t}function bi(e){let t=e.split("::");if(3!==t.length)throw new Error(`Invalid function ${e}`);return{moduleAddress:t[0],moduleName:t[1],functionName:t[2]}}function wi(e){return!!e.match(/^[_a-zA-Z0-9]+$/)}function vi(e){return!!e.match(/\s/)}function Ai(e,t){let r=t;for(;r<e.length;r+=1){if(!vi(e[r]))break}return r}var Ei=(e=>(e.InvalidTypeTag="unknown type",e.UnexpectedGenericType="unexpected generic type",e.UnexpectedTypeArgumentClose="unexpected '>'",e.UnexpectedWhitespaceCharacter="unexpected whitespace character",e.UnexpectedComma="unexpected ','",e.TypeArgumentCountMismatch="type argument count doesn't match expected amount",e.MissingTypeArgumentClose="no matching '>' for '<'",e.MissingTypeArgument="no type argument before ','",e.UnexpectedPrimitiveTypeArguments="primitive types not expected to have type arguments",e.UnexpectedVectorTypeArgumentCount="vector type expected to have exactly one type argument",e.UnexpectedStructFormat="unexpected struct format, must be of the form 0xaddress::module_name::struct_name",e.InvalidModuleNameCharacter="module name must only contain alphanumeric or '_' characters",e.InvalidStructNameCharacter="struct name must only contain alphanumeric or '_' characters",e.InvalidAddress="struct address must be valid",e))(Ei||{}),Ti=e.TypeTagParserError=class extends Error{constructor(e,t){super(`Failed to parse typeTag '${e}', ${t}`)}};function Ci(e,t){let i=r(n([t,"optionalAccess",e=>e.allowGenerics]),(()=>!1)),o=[],s=[],a=[],c=0,u="",l=1;for(;c<e.length;){let t=e[c];if("<"===t)o.push({savedExpectedTypes:l,savedStr:u,savedTypes:a}),u="",a=[],l=1;else if(">"===t){if(""!==u){let e=Si(u,s,i);a.push(e)}let t=o.pop();if(void 0===t)throw new Ti(e,"unexpected '>'");if(l!==a.length)throw new Ti(e,"type argument count doesn't match expected amount");let{savedStr:r,savedTypes:n,savedExpectedTypes:c}=t;s=a,a=n,u=r,l=c}else if(","===t){if(0===o.length)throw new Ti(e,"unexpected ','");if(0===u.length)throw new Ti(e,"no type argument before ','");let t=Si(u,s,i);s=[],a.push(t),u="",l+=1}else{if(vi(t)){let t=!1;if(0!==u.length){let e=Si(u,s,i);s=[],a.push(e),u="",t=!0}c=Ai(e,c);let r=e[c];if(c<e.length&&t&&","!==r&&">"!==r)throw new Ti(e,"unexpected whitespace character");continue}u+=t}c+=1}if(o.length>0)throw new Ti(e,"no matching '>' for '<'");switch(a.length){case 0:return Si(u,s,i);case 1:if(""===u)return a[0];throw new Ti(e,"unexpected ','");default:throw new Ti(e,"unexpected whitespace character")}}function Si(e,t,r){let n=e.trim();if(function(e){switch(e){case"signer":case"address":case"bool":case"u8":case"u16":case"u32":case"u64":case"u128":case"u256":return!0;default:return!1}}(n.toLowerCase())&&t.length>0)throw new Ti(e,"primitive types not expected to have type arguments");switch(n.toLowerCase()){case"signer":return new Br;case"bool":return new Tr;case"address":return new kr;case"u8":return new Cr;case"u16":return new Sr;case"u32":return new Ir;case"u64":return new Or;case"u128":return new Mr;case"u256":return new Pr;case"vector":if(1!==t.length)throw new Ti(e,"vector type expected to have exactly one type argument");return new Rr(t[0]);default:if(function(e){return!!e.match(/^&.+$/)}(n)){let e=n.substring(1);return new xr(Si(e,t,r))}if(function(e){return!!e.match(/^T[0-9]+$/)}(n)){if(r)return new Nr(Number(n.split("T")[1]));throw new Ti(e,"unexpected generic type")}if(!n.match(/:/))throw new Ti(e,"unknown type");let i,o=n.split("::");if(3!==o.length)throw new Ti(e,"unexpected struct format, must be of the form 0xaddress::module_name::struct_name");try{i=se.fromString(o[0])}catch{throw new Ti(e,"struct address must be valid")}if(!wi(o[1]))throw new Ti(e,"module name must only contain alphanumeric or '_' characters");if(!wi(o[2]))throw new Ti(e,"struct name must only contain alphanumeric or '_' characters");return new _r(new Ur(i,new mr(o[1]),new mr(o[2]),t))}}var Ii=new TextEncoder;function Oi(e){return r(n([e,"optionalAccess",e=>e.map,"call",e=>e((e=>$n(e)?Ci(e):e))]),(()=>[]))}async function Mi(e,t,r,n){let i=await Wn({aptosConfig:n,accountAddress:e,moduleName:t});if(i.abi)return i.abi.exposed_functions.find((e=>e.name===r))}async function Pi(e,t,r,n){let i=await Mi(e,t,r,n);if(!i)throw new Error(`Could not find entry function ABI for '${e}::${t}::${r}'`);if(!i.is_entry)throw new Error(`'${e}::${t}::${r}' is not an entry function`);let o=mi(i),s=[];for(let e=o;e<i.params.length;e+=1)s.push(Ci(i.params[e],{allowGenerics:!0}));return{signers:o,typeParameters:i.generic_type_params,parameters:s}}async function ki(e,t,r,n){let i=await Mi(e,t,r,n);if(!i)throw new Error(`Could not find view function ABI for '${e}::${t}::${r}'`);if(!i.is_view)throw new Error(`'${e}::${t}::${r}' is not an view function`);let o=[];for(let e=0;e<i.params.length;e+=1)o.push(Ci(i.params[e],{allowGenerics:!0}));let s=[];for(let e=0;e<i.return.length;e+=1)s.push(Ci(i.return[e],{allowGenerics:!0}));return{typeParameters:i.generic_type_params,parameters:o,returnTypes:s}}function Bi(e,t,r,n,i){if(n>=t.parameters.length)throw new Error(`Too many arguments for '${e}', expected ${t.parameters.length}`);return xi(r,t.parameters[n],n,i)}function xi(e,t,r,n){return ii(e)?(Ni(t,e,r),e):function(e,t,r,n){if(t.isBool()){if(Zn(e))return new G(e);if($n(e)){if("true"===e)return new G(!0);if("false"===e)return new G(!1)}yi("boolean",r)}if(t.isAddress()){if($n(e))return se.fromString(e);yi("string | AccountAddress",r)}if(t.isU8()){let t=ti(e);if(void 0!==t)return new V(t);yi("number | string",r)}if(t.isU16()){let t=ti(e);if(void 0!==t)return new q(t);yi("number | string",r)}if(t.isU32()){let t=ti(e);if(void 0!==t)return new J(t);yi("number | string",r)}if(t.isU64()){if(ri(e))return new Y(BigInt(e));yi("bigint | number | string",r)}if(t.isU128()){if(ri(e))return new X(BigInt(e));yi("bigint | number | string",r)}if(t.isU256()){if(ri(e))return new Q(BigInt(e));yi("bigint | number | string",r)}if(t.isGeneric()){let i=t.value;if(i<0||i>=n.length)throw new Error(`Generic argument ${t.toString()} is invalid for argument ${r}`);return xi(e,n[i],r,n)}if(t.isVector()){if(t.value.isU8()){if($n(e))return Z.U8(Ii.encode(e));if(e instanceof Uint8Array)return Z.U8(e);if(e instanceof ArrayBuffer)return Z.U8(new Uint8Array(e))}if(Array.isArray(e))return new Z(e.map((e=>xi(e,t.value,r,n))));throw new Error(`Type mismatch for argument ${r}, type '${t.toString()}'`)}if(t.isStruct()){if(t.isString()){if($n(e))return new ee(e);yi("string",r)}if(t.isObject()){if($n(e))return se.fromString(e);yi("string | AccountAddress",r)}if(t.isOption()){if(ni(e)){t.value.typeArgs[0];return new te(null)}return new te(xi(e,t.value.typeArgs[0],r,n))}throw new Error(`Unsupported struct input type for argument ${r}, type '${t.toString()}'`)}throw new Error(`Type mismatch for argument ${r}, type '${t.toString()}'`)}(e,t,r,n)}function Ni(e,t,r){if(e.isBool()){if(oi(t))return;yi("Bool",r)}if(e.isAddress()){if(si(t))return;yi("AccountAddress",r)}if(e.isU8()){if(ui(t))return;yi("U8",r)}if(e.isU16()){if(li(t))return;yi("U16",r)}if(e.isU32()){if(di(t))return;yi("U32",r)}if(e.isU64()){if(hi(t))return;yi("U64",r)}if(e.isU128()){if(fi(t))return;yi("U128",r)}if(e.isU256()){if(pi(t))return;yi("U256",r)}if(e.isVector()){if(t instanceof Z)return void(t.values.length>0&&Ni(e.value,t.values[0],r));yi("MoveVector",r)}if(e instanceof _r){if(e.isString()){if(ai(t))return;yi("MoveString",r)}if(e.isObject()){if(si(t))return;yi("AccountAddress",r)}if(e.isOption()){if(t instanceof te)return void(void 0!==t.value&&Ni(e.value.typeArgs[0],t.value,r));yi("MoveOption",r)}}throw new Error(`Type mismatch for argument ${r}, expected '${e.toString()}'`)}async function Ri(e){if(gi(e))return function(e){return new Fr(new Gr(p.fromHexInput(e.bytecode).toUint8Array(),Oi(e.typeArguments),e.functionArguments))}(e);let{moduleAddress:t,moduleName:r,functionName:n}=bi(e.function),i=await Gi({key:"entry-function",moduleAddress:t,moduleName:r,functionName:n,aptosConfig:e.aptosConfig,abi:e.abi,fetch:Pi});return _i({...e,abi:i})}function _i(e){let t=e.abi,{moduleAddress:r,moduleName:n,functionName:i}=bi(e.function),o=Oi(e.typeArguments);if(o.length!==t.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${t.typeParameters.length}, received ${o.length}`);let s=e.functionArguments.map(((r,n)=>Bi(e.function,t,r,n,o)));if(s.length!==t.parameters.length)throw new Error(`Too few arguments for '${r}::${n}::${i}', expected ${t.parameters.length} but got ${s.length}`);let a=Hr.build(`${r}::${n}`,i,o,s);if("multisigAddress"in e){let t=se.from(e.multisigAddress);return new jr(new Vr(t,new qr(a)))}return new Kr(a)}async function Ui(e){let{moduleAddress:t,moduleName:r,functionName:n}=bi(e.function);return Di({abi:await Gi({key:"view-function",moduleAddress:t,moduleName:r,functionName:n,aptosConfig:e.aptosConfig,abi:e.abi,fetch:ki}),...e})}function Di(e){let t=e.abi,{moduleAddress:i,moduleName:o,functionName:s}=bi(e.function),a=Oi(e.typeArguments);if(a.length!==t.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${t.typeParameters.length}, received ${a.length}`);let c=r(n([e,"optionalAccess",e=>e.functionArguments,"optionalAccess",e=>e.map,"call",r=>r(((r,n)=>Bi(e.function,t,r,n,a)))]),(()=>[]));if(c.length!==t.parameters.length)throw new Error(`Too few arguments for '${i}::${o}::${s}', expected ${t.parameters.length} but got ${c.length}`);return Hr.build(`${i}::${o}`,s,a,c)}async function Wi(e){let{aptosConfig:t,sender:i,payload:o,options:s,feePayerAddress:a}=e,[{chainId:c},{gasEstimate:u},l]=await Promise.all([(async()=>Tt[t.network]?{chainId:Tt[t.network]}:{chainId:(await xn({aptosConfig:t})).chain_id})(),(async()=>n([s,"optionalAccess",e=>e.gasUnitPrice])?{gasEstimate:s.gasUnitPrice}:{gasEstimate:(await Hn({aptosConfig:t})).gas_estimate})(),(async()=>{let e=async()=>void 0!==n([s,"optionalAccess",e=>e.accountSequenceNumber])?s.accountSequenceNumber:(await Dn({aptosConfig:t,accountAddress:i})).sequence_number;if(!a||!se.from(a).equals(se.ZERO))return e();try{return await e()}catch{return 0}})()]),{maxGasAmount:d,gasUnitPrice:h,expireTimestamp:f}={maxGasAmount:n([s,"optionalAccess",e=>e.maxGasAmount])?BigInt(s.maxGasAmount):BigInt(2e5),gasUnitPrice:r(n([s,"optionalAccess",e=>e.gasUnitPrice]),(()=>BigInt(u))),expireTimestamp:r(n([s,"optionalAccess",e=>e.expireTimestamp]),(()=>BigInt(Math.floor(Date.now()/1e3)+20)))};return new Jr(se.from(i),BigInt(l),o,BigInt(d),BigInt(h),BigInt(f),new yr(c))}async function Li(e){let{aptosConfig:t,sender:i,payload:o,options:s,feePayerAddress:a}=e,c=await Wi({aptosConfig:t,sender:i,payload:o,options:s,feePayerAddress:a});if("secondarySignerAddresses"in e){let t=r(n([e,"access",e=>e.secondarySignerAddresses,"optionalAccess",e=>e.map,"call",e=>e((e=>se.from(e)))]),(()=>[]));return new cn(c,t,e.feePayerAddress?se.from(e.feePayerAddress):void 0)}return new an(c,e.feePayerAddress?se.from(e.feePayerAddress):void 0)}function zi(e){let t,{signerPublicKey:n,transaction:i,secondarySignersPublicKeys:o,feePayerPublicKey:s}=e,a=Fi(n);if(i.feePayerAddress){let e=new Qr(i.rawTransaction,r(i.secondarySignerAddresses,(()=>[])),i.feePayerAddress),t=[];if(o&&(t=o.map((e=>Fi(e)))),!s)throw new Error("Must provide a feePayerPublicKey argument to generate a signed fee payer transaction for simulation");let n=Fi(s),c=new nn(a,r(i.secondarySignerAddresses,(()=>[])),t,{address:i.feePayerAddress,authenticator:n});return new sn(e.raw_txn,c).bcsToBytes()}if(i.secondarySignerAddresses){let e=new Xr(i.rawTransaction,i.secondarySignerAddresses),t=[];if(!o)throw new Error("Must provide a secondarySignersPublicKeys argument to generate a signed multi agent transaction for simulation");t=o.map((e=>Fi(e)));let r=new rn(a,i.secondarySignerAddresses,t);return new sn(e.raw_txn,r).bcsToBytes()}if(a instanceof hr)t=new en(a.public_key,a.signature);else{if(!(a instanceof pr||a instanceof gr))throw new Error("Invalid public key");t=new on(a)}return new sn(i.rawTransaction,t).bcsToBytes()}function Fi(e){let t=qt.isInstance(e)||or.isInstance(e)||Ke.isInstance(e)?new sr(e):e,r=new Re(new Uint8Array(64));if(ke.isInstance(t))return new hr(t,r);if(sr.isInstance(t))return qt.isInstance(t.publicKey)?new pr(t,new ar(Yt.getSimulationSignature())):new pr(t,new ar(r));if(cr.isInstance(t))return new gr(t,new lr({signatures:t.publicKeys.map((()=>new ar(r))),bitmap:t.createBitmap({bits:Array(t.publicKeys.length).fill(0).map(((e,t)=>t))})}));throw new Error("Unsupported PublicKey used for simulations")}function Ki(e){let t,{transaction:n,feePayerAuthenticator:i,additionalSignersAuthenticators:o}=e,s=St(dr,e.senderAuthenticator);if(n.feePayerAddress){if(!i)throw new Error("Must provide a feePayerAuthenticator argument to generate a signed fee payer transaction");t=new nn(s,r(n.secondarySignerAddresses,(()=>[])),r(o,(()=>[])),{address:n.feePayerAddress,authenticator:i})}else if(n.secondarySignerAddresses){if(!o)throw new Error("Must provide a additionalSignersAuthenticators argument to generate a signed multi agent transaction");t=new rn(s,n.secondarySignerAddresses,o)}else t=s instanceof hr?new en(s.public_key,s.signature):new on(s);return new sn(n.rawTransaction,t).bcsToBytes()}function ji(e){let t=ne.sha3_256.create();for(let r of e)t.update(r);return t.digest()}var Hi=ji(["APTOS::Transaction"]);async function Gi({key:e,moduleAddress:t,moduleName:r,functionName:n,aptosConfig:i,abi:o,fetch:s}){return void 0!==o?o:Wt((async()=>s(t,r,n,i)),`${e}-${i.network}-${t}-${r}-${n}`,3e5)()}async function Vi(e){let{aptosConfig:t,payload:r,options:i}=e,o=await Ui({...r,aptosConfig:t}),s=new y;o.serialize(s);let a=s.toUint8Array(),{data:c}=await xt({aptosConfig:t,path:"view",originMethod:"view",contentType:"application/x.aptos.view_function+bcs",params:{ledger_version:n([i,"optionalAccess",e=>e.ledgerVersion])},body:a});return c}var qi=class{constructor(e){this.config=e}async getAccountInfo(e){return Dn({aptosConfig:this.config,...e})}async getAccountModules(e){return async function(e){let{aptosConfig:t,accountAddress:i,options:o}=e;return kt({aptosConfig:t,originMethod:"getModules",path:`accounts/${se.from(i).toString()}/modules`,params:{ledger_version:n([o,"optionalAccess",e=>e.ledgerVersion]),start:n([o,"optionalAccess",e=>e.offset]),limit:r(n([o,"optionalAccess",e=>e.limit]),(()=>1e3))}})}({aptosConfig:this.config,...e})}async getAccountModule(e){return Wn({aptosConfig:this.config,...e})}async getAccountTransactions(e){return async function(e){let{aptosConfig:t,accountAddress:r,options:i}=e;return kt({aptosConfig:t,originMethod:"getTransactions",path:`accounts/${se.from(r).toString()}/transactions`,params:{start:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit])}})}({aptosConfig:this.config,...e})}async getAccountResources(e){return async function(e){let{aptosConfig:t,accountAddress:i,options:o}=e;return kt({aptosConfig:t,originMethod:"getResources",path:`accounts/${se.from(i).toString()}/resources`,params:{ledger_version:n([o,"optionalAccess",e=>e.ledgerVersion]),start:n([o,"optionalAccess",e=>e.offset]),limit:r(n([o,"optionalAccess",e=>e.limit]),(()=>999))}})}({aptosConfig:this.config,...e})}async getAccountResource(e){return zn({aptosConfig:this.config,...e})}async lookupOriginalAccountAddress(e){return Fn({aptosConfig:this.config,...e})}async getAccountTokensCount(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"account_transactions_processor"}),async function(e){let{aptosConfig:t,accountAddress:r}=e,n={owner_address:{_eq:se.from(r).toStringLong()},amount:{_gt:0}},i=await Nn({aptosConfig:t,query:{query:"\n    query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) {\n  current_token_ownerships_v2_aggregate(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n  ) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",variables:{where_condition:n}},originMethod:"getAccountTokensCount"});return i.current_token_ownerships_v2_aggregate.aggregate?i.current_token_ownerships_v2_aggregate.aggregate.count:0}({aptosConfig:this.config,...e})}async getAccountOwnedTokens(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,accountAddress:r,options:i}=e,o={owner_address:{_eq:se.from(r).toStringLong()},amount:{_gt:0}};n([i,"optionalAccess",e=>e.tokenStandard])&&(o.token_standard={_eq:n([i,"optionalAccess",e=>e.tokenStandard])});let s={query:Sn,variables:{where_condition:o,offset:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit]),order_by:n([i,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:s,originMethod:"getAccountOwnedTokens"})).current_token_ownerships_v2}({aptosConfig:this.config,...e})}async getAccountOwnedTokensFromCollectionAddress(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,accountAddress:r,collectionAddress:i,options:o}=e,s={owner_address:{_eq:se.from(r).toStringLong()},current_token_data:{collection_id:{_eq:se.from(i).toStringLong()}},amount:{_gt:0}};n([o,"optionalAccess",e=>e.tokenStandard])&&(s.token_standard={_eq:n([o,"optionalAccess",e=>e.tokenStandard])});let a={query:In,variables:{where_condition:s,offset:n([o,"optionalAccess",e=>e.offset]),limit:n([o,"optionalAccess",e=>e.limit]),order_by:n([o,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:a,originMethod:"getAccountOwnedTokensFromCollectionAddress"})).current_token_ownerships_v2}({aptosConfig:this.config,...e})}async getAccountCollectionsWithOwnedTokens(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,accountAddress:r,options:i}=e,o={owner_address:{_eq:se.from(r).toStringLong()}};n([i,"optionalAccess",e=>e.tokenStandard])&&(o.current_collection={token_standard:{_eq:n([i,"optionalAccess",e=>e.tokenStandard])}});let s={query:"\n    query getAccountCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) {\n  current_collection_ownership_v2_view(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      mutable_description\n      max_supply\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n    collection_id\n    collection_name\n    collection_uri\n    creator_address\n    distinct_tokens\n    last_transaction_version\n    owner_address\n    single_token_uri\n  }\n}\n    ",variables:{where_condition:o,offset:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit]),order_by:n([i,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:s,originMethod:"getAccountCollectionsWithOwnedTokens"})).current_collection_ownership_v2_view}({aptosConfig:this.config,...e})}async getAccountTransactionsCount(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"account_transactions_processor"}),async function(e){let{aptosConfig:t,accountAddress:r}=e,n=se.from(r).toStringLong(),i=await Nn({aptosConfig:t,query:{query:"\n    query getAccountTransactionsCount($address: String) {\n  account_transactions_aggregate(where: {account_address: {_eq: $address}}) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",variables:{address:n}},originMethod:"getAccountTransactionsCount"});return i.account_transactions_aggregate.aggregate?i.account_transactions_aggregate.aggregate.count:0}({aptosConfig:this.config,...e})}async getAccountCoinsData(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"fungible_asset_processor"}),async function(e){let{aptosConfig:t,accountAddress:r,options:i}=e,o=se.from(r).toStringLong(),s={query:"\n    query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) {\n  current_fungible_asset_balances(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    amount\n    asset_type\n    is_frozen\n    is_primary\n    last_transaction_timestamp\n    last_transaction_version\n    owner_address\n    storage_id\n    token_standard\n    metadata {\n      token_standard\n      symbol\n      supply_aggregator_table_key_v1\n      supply_aggregator_table_handle_v1\n      project_uri\n      name\n      last_transaction_version\n      last_transaction_timestamp\n      icon_uri\n      decimals\n      creator_address\n      asset_type\n    }\n  }\n}\n    ",variables:{where_condition:{...n([i,"optionalAccess",e=>e.where]),owner_address:{_eq:o}},offset:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit]),order_by:n([i,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:s,originMethod:"getAccountCoinsData"})).current_fungible_asset_balances}({aptosConfig:this.config,...e})}async getAccountCoinsCount(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"fungible_asset_processor"}),async function(e){let{aptosConfig:t,accountAddress:r}=e,n=se.from(r).toStringLong(),i=await Nn({aptosConfig:t,query:{query:"\n    query getAccountCoinsCount($address: String) {\n  current_fungible_asset_balances_aggregate(\n    where: {owner_address: {_eq: $address}}\n  ) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",variables:{address:n}},originMethod:"getAccountCoinsCount"});if(!i.current_fungible_asset_balances_aggregate.aggregate)throw Error("Failed to get the count of account coins");return i.current_fungible_asset_balances_aggregate.aggregate.count}({aptosConfig:this.config,...e})}async getAccountAPTAmount(e){return this.getAccountCoinAmount({coinType:lt,faMetadataAddress:dt,...e})}async getAccountCoinAmount(e){let t,{accountAddress:r,coinType:n,faMetadataAddress:i}=e,s=n;if(void 0===n&&void 0!==i&&(s=await Wt((async()=>{try{let e=(await Vi({aptosConfig:this.config,payload:{function:"0x1::coin::paired_coin",functionArguments:[i]}})).at(0);if(e.vec.length>0&&o.i.call(void 0,e.vec[0]))return o.h.call(void 0,e.vec[0])}catch{}}),`coin-mapping-${i.toString()}`,3e5)()),void 0!==n&&void 0!==i)t=se.from(i).toStringLong();else if(void 0!==n&&void 0===i)t=n===lt?se.A.toStringLong():br(se.A,n).toStringLong();else{if(void 0!==n||void 0===i)throw new Error("Either coinType, faMetadataAddress, or both must be provided");{let e=se.from(i);t=e.toStringLong(),e===se.A&&(s=lt)}}if(void 0!==s){let[e]=await Vi({aptosConfig:this.config,payload:{function:"0x1::coin::balance",typeArguments:[s],functionArguments:[r]}});return parseInt(e,10)}let[a]=await Vi({aptosConfig:this.config,payload:{function:"0x1::primary_fungible_store::balance",typeArguments:["0x1::object::ObjectCore"],functionArguments:[r,t]}});return parseInt(a,10)}async getAccountOwnedObjects(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),async function(e){let{aptosConfig:t,accountAddress:r,options:i}=e,o={owner_address:{_eq:se.from(r).toStringLong()}},s={query:Pn,variables:{where_condition:o,offset:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit]),order_by:n([i,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:s,originMethod:"getAccountOwnedObjects"})).current_objects}({aptosConfig:this.config,...e})}async deriveAccountFromPrivateKey(e){return async function(e){let{aptosConfig:t,privateKey:r}=e,n=new sr(r.publicKey());if(r instanceof He){let e=ce.fromPublicKey({publicKey:n}).derivedAddress();return pn.fromPrivateKey({privateKey:r,address:e})}if(r instanceof xe){let e=ce.fromPublicKey({publicKey:n});if(await Kn({authKey:e,aptosConfig:t})){let t=e.derivedAddress();return pn.fromPrivateKey({privateKey:r,address:t,legacy:!1})}let i=ce.fromPublicKey({publicKey:n.publicKey});if(await Kn({authKey:i,aptosConfig:t})){let e=i.derivedAddress();return pn.fromPrivateKey({privateKey:r,address:e,legacy:!0})}}throw new Error(`Can't derive account from private key ${r}`)}({aptosConfig:this.config,...e})}},Ji=t(fie()),Yi=class{constructor(e){this.network=r(n([e,"optionalAccess",e=>e.network]),(()=>"devnet")),this.fullnode=n([e,"optionalAccess",e=>e.fullnode]),this.faucet=n([e,"optionalAccess",e=>e.faucet]),this.pepper=n([e,"optionalAccess",e=>e.pepper]),this.prover=n([e,"optionalAccess",e=>e.prover]),this.indexer=n([e,"optionalAccess",e=>e.indexer]),this.client=r(n([e,"optionalAccess",e=>e.client]),(()=>({provider:Ji.default}))),this.clientConfig=r(n([e,"optionalAccess",e=>e.clientConfig]),(()=>({}))),this.fullnodeConfig=r(n([e,"optionalAccess",e=>e.fullnodeConfig]),(()=>({}))),this.indexerConfig=r(n([e,"optionalAccess",e=>e.indexerConfig]),(()=>({}))),this.faucetConfig=r(n([e,"optionalAccess",e=>e.faucetConfig]),(()=>({})))}getRequestUrl(e){switch(e){case"Fullnode":if(void 0!==this.fullnode)return this.fullnode;if("custom"===this.network)throw new Error("Please provide a custom full node url");return bt[this.network];case"Faucet":if(void 0!==this.faucet)return this.faucet;if("custom"===this.network)throw new Error("Please provide a custom faucet url");return wt[this.network];case"Indexer":if(void 0!==this.indexer)return this.indexer;if("custom"===this.network)throw new Error("Please provide a custom indexer url");return mt[this.network];case"Pepper":if(void 0!==this.pepper)return this.pepper;if("custom"===this.network)throw new Error("Please provide a custom pepper service url");return vt[this.network];case"Prover":if(void 0!==this.prover)return this.prover;if("custom"===this.network)throw new Error("Please provide a custom prover service url");return At[this.network];default:throw Error(`apiType ${e} is not supported`)}}isPepperServiceRequest(e){return vt[this.network]===e}isProverServiceRequest(e){return At[this.network]===e}};async function Xi(e){let t=await async function(e){let t,r,{aptosConfig:n,data:i}=e;return"bytecode"in i?r=await Ri(i):"multisigAddress"in i?(t={aptosConfig:n,multisigAddress:i.multisigAddress,function:i.function,functionArguments:i.functionArguments,typeArguments:i.typeArguments,abi:i.abi},r=await Ri(t)):(t={aptosConfig:n,function:i.function,functionArguments:i.functionArguments,typeArguments:i.typeArguments,abi:i.abi},r=await Ri(t)),r}(e);return async function(e,t){let r,{aptosConfig:n,sender:i,options:o}=e;if(function(e){return!0===e.withFeePayer}(e)&&(r=se.ZERO.toString()),function(e){return"secondarySignerAddresses"in e}(e)){let{secondarySignerAddresses:s}=e;return Li({aptosConfig:n,sender:i,payload:t,options:o,secondarySignerAddresses:s,feePayerAddress:r})}return Li({aptosConfig:n,sender:i,payload:t,options:o,feePayerAddress:r})}(e,t)}function Qi(e){let{signer:t,transaction:r}=e;return t.signTransactionWithAuthenticator(r)}function Zi(e){let{signer:t,transaction:r}=e;if(!r.feePayerAddress)throw new Error(`Transaction ${r} is not a Fee Payer transaction`);return r.feePayerAddress=t.accountAddress,Qi({signer:t,transaction:r})}async function $i(e){let{aptosConfig:t,transaction:i,signerPublicKey:o,secondarySignersPublicKeys:s,feePayerPublicKey:a,options:c}=e,u=zi({transaction:i,signerPublicKey:o,secondarySignersPublicKeys:s,feePayerPublicKey:a,options:c}),{data:l}=await xt({aptosConfig:t,body:u,path:"transactions/simulate",params:{estimate_gas_unit_price:r(n([e,"access",e=>e.options,"optionalAccess",e=>e.estimateGasUnitPrice]),(()=>!1)),estimate_max_gas_amount:r(n([e,"access",e=>e.options,"optionalAccess",e=>e.estimateMaxGasAmount]),(()=>!1)),estimate_prioritized_gas_unit_price:r(n([e,"access",e=>e.options,"optionalAccess",e=>e.estimatePrioritizedGasUnitPrice]),(()=>!1))},originMethod:"simulateTransaction",contentType:"application/x.aptos.signed_transaction+bcs"});return l}async function eo(e){let{aptosConfig:t}=e,r=Ki({...e}),{data:n}=await xt({aptosConfig:t,body:r,path:"transactions",originMethod:"submitTransaction",contentType:"application/x.aptos.signed_transaction+bcs"});return n}async function to(e){let{aptosConfig:t,signer:r,feePayer:n,transaction:i}=e;(r instanceof wn||r instanceof Tn)&&await r.waitForProofFetch(),(n instanceof wn||n instanceof Tn)&&await n.waitForProofFetch();let o=e.feePayerAuthenticator||n&&Zi({signer:n,transaction:i});return eo({aptosConfig:t,transaction:i,senderAuthenticator:Qi({signer:r,transaction:i}),feePayerAuthenticator:o})}var ro={typeParameters:[],parameters:[Rr.u8(),new Rr(Rr.u8())]};var no={typeParameters:[],parameters:[new Cr,Rr.u8(),new Cr,Rr.u8(),Rr.u8(),Rr.u8()]};var io={typeParameters:[{constraints:[]}],parameters:[new kr,new Or]};var oo=class{constructor(e){this.config=e}async transferCoinTransaction(e){return async function(e){let{aptosConfig:t,sender:n,recipient:i,amount:o,coinType:s,options:a}=e;return Xi({aptosConfig:t,sender:n,data:{function:"0x1::aptos_account::transfer_coins",typeArguments:[r(s,(()=>lt))],functionArguments:[i,o],abi:io},options:a})}({aptosConfig:this.config,...e})}},so={BOOLEAN:"bool",U8:"u8",U16:"u16",U32:"u32",U64:"u64",U128:"u128",U256:"u256",ADDRESS:"address",STRING:"0x1::string::String",ARRAY:"vector<u8>"},ao="0x4::token::Token";var co={typeParameters:[],parameters:[new _r(Dr()),new Or,new _r(Dr()),new _r(Dr()),new Tr,new Tr,new Tr,new Tr,new Tr,new Tr,new Tr,new Tr,new Tr,new Or,new Or]};async function uo(e){let{aptosConfig:t,options:i}=e,o=n([i,"optionalAccess",e=>e.where]);n([i,"optionalAccess",e=>e.tokenStandard])&&(o.token_standard={_eq:r(n([i,"optionalAccess",e=>e.tokenStandard]),(()=>"v2"))});let s={query:"\n    query getCollectionData($where_condition: current_collections_v2_bool_exp!) {\n  current_collections_v2(where: $where_condition) {\n    uri\n    total_minted_v2\n    token_standard\n    table_handle_v1\n    mutable_uri\n    mutable_description\n    max_supply\n    collection_id\n    collection_name\n    creator_address\n    current_supply\n    description\n    last_transaction_timestamp\n    last_transaction_version\n    cdn_asset_uris {\n      cdn_image_uri\n      asset_uri\n      animation_optimizer_retry_count\n      cdn_animation_uri\n      cdn_json_uri\n      image_optimizer_retry_count\n      json_parser_retry_count\n      raw_animation_uri\n      raw_image_uri\n    }\n  }\n}\n    ",variables:{where_condition:o,offset:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit])}};return(await Nn({aptosConfig:t,query:s,originMethod:"getCollectionData"})).current_collections_v2[0]}var lo={typeParameters:[],parameters:[new _r(Dr()),new _r(Dr()),new _r(Dr()),new _r(Dr()),new Rr(new _r(Dr())),new Rr(new _r(Dr())),new Rr(Rr.u8())]};var ho={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0))),new kr]};var fo={typeParameters:[],parameters:[new _r(Dr()),new _r(Dr()),new _r(Dr()),new _r(Dr()),new Rr(new _r(Dr())),new Rr(new _r(Dr())),new Rr(Rr.u8()),new kr]};var po={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0)))]};var go={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0)))]};var yo={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0)))]};var mo={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr())]};var bo={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr())]};var wo={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr())]};var vo={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr()),new _r(Dr()),Rr.u8()]};var Ao={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr())]};var Eo={typeParameters:[{constraints:["key"]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr()),new _r(Dr()),Rr.u8()]};var To={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr()),new Nr(1)]};var Co={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new _r(Wr(new Nr(0))),new _r(Dr()),new Nr(1)]};function So(e,t){let r=new Array;return t.forEach(((t,n)=>{r.push(Io(e[n],t))})),r}function Io(e,t){return xi(e,Ci(t),0,[]).bcsToBytes()}var Oo=class{constructor(e){this.config=e}async getCollectionData(e){await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"});let{creatorAddress:t,collectionName:i,options:o}=e,s={collection_name:{_eq:i},creator_address:{_eq:se.from(t).toStringLong()}};return n([o,"optionalAccess",e=>e.tokenStandard])&&(s.token_standard={_eq:r(n([o,"optionalAccess",e=>e.tokenStandard]),(()=>"v2"))}),uo({aptosConfig:this.config,options:{where:s}})}async getCollectionDataByCreatorAddressAndCollectionName(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,creatorAddress:i,collectionName:o,options:s}=e,a={collection_name:{_eq:o},creator_address:{_eq:se.from(i).toStringLong()}};return n([s,"optionalAccess",e=>e.tokenStandard])&&(a.token_standard={_eq:r(n([s,"optionalAccess",e=>e.tokenStandard]),(()=>"v2"))}),uo({aptosConfig:t,options:{...s,where:a}})}({aptosConfig:this.config,...e})}async getCollectionDataByCreatorAddress(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,creatorAddress:i,options:o}=e,s={creator_address:{_eq:se.from(i).toStringLong()}};return n([o,"optionalAccess",e=>e.tokenStandard])&&(s.token_standard={_eq:r(n([o,"optionalAccess",e=>e.tokenStandard]),(()=>"v2"))}),uo({aptosConfig:t,options:{...o,where:s}})}({aptosConfig:this.config,...e})}async getCollectionDataByCollectionId(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,collectionId:i,options:o}=e,s={collection_id:{_eq:se.from(i).toStringLong()}};return n([o,"optionalAccess",e=>e.tokenStandard])&&(s.token_standard={_eq:r(n([o,"optionalAccess",e=>e.tokenStandard]),(()=>"v2"))}),uo({aptosConfig:t,options:{...o,where:s}})}({aptosConfig:this.config,...e})}async getCollectionId(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{creatorAddress:t,collectionName:i,options:o,aptosConfig:s}=e,a={collection_name:{_eq:i},creator_address:{_eq:se.from(t).toStringLong()}};return n([o,"optionalAccess",e=>e.tokenStandard])&&(a.token_standard={_eq:r(n([o,"optionalAccess",e=>e.tokenStandard]),(()=>"v2"))}),(await uo({aptosConfig:s,options:{where:a}})).collection_id}({aptosConfig:this.config,...e})}async getDigitalAssetData(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,digitalAssetAddress:r}=e,n={token_data_id:{_eq:se.from(r).toStringLong()}};return(await Nn({aptosConfig:t,query:{query:"\n    query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) {\n  current_token_datas_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    collection_id\n    description\n    is_fungible_v2\n    largest_property_version_v1\n    last_transaction_timestamp\n    last_transaction_version\n    maximum\n    supply\n    token_data_id\n    token_name\n    token_properties\n    token_standard\n    token_uri\n    decimals\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      max_supply\n      mutable_description\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n  }\n}\n    ",variables:{where_condition:n}},originMethod:"getDigitalAssetData"})).current_token_datas_v2[0]}({aptosConfig:this.config,...e})}async getCurrentDigitalAssetOwnership(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,digitalAssetAddress:r}=e,n={token_data_id:{_eq:se.from(r).toStringLong()},amount:{_gt:0}};return(await Nn({aptosConfig:t,query:{query:Bn,variables:{where_condition:n}},originMethod:"getCurrentDigitalAssetOwnership"})).current_token_ownerships_v2[0]}({aptosConfig:this.config,...e})}async getOwnedDigitalAssets(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,ownerAddress:r,options:i}=e,o={owner_address:{_eq:se.from(r).toStringLong()},amount:{_gt:0}},s={query:Bn,variables:{where_condition:o,offset:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit]),order_by:n([i,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:s,originMethod:"getOwnedDigitalAssets"})).current_token_ownerships_v2}({aptosConfig:this.config,...e})}async getDigitalAssetActivity(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),async function(e){let{aptosConfig:t,digitalAssetAddress:r,options:i}=e,o={query:"\n    query getTokenActivity($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) {\n  token_activities_v2(\n    where: $where_condition\n    order_by: $order_by\n    offset: $offset\n    limit: $limit\n  ) {\n    ...TokenActivitiesFields\n  }\n}\n    \n    fragment TokenActivitiesFields on token_activities_v2 {\n  after_value\n  before_value\n  entry_function_id_str\n  event_account_address\n  event_index\n  from_address\n  is_fungible_v2\n  property_version_v1\n  to_address\n  token_amount\n  token_data_id\n  token_standard\n  transaction_timestamp\n  transaction_version\n  type\n}\n    ",variables:{where_condition:{token_data_id:{_eq:se.from(r).toStringLong()}},offset:n([i,"optionalAccess",e=>e.offset]),limit:n([i,"optionalAccess",e=>e.limit]),order_by:n([i,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:o,originMethod:"getDigitalAssetActivity"})).token_activities_v2}({aptosConfig:this.config,...e})}async createCollectionTransaction(e){return async function(e){let{aptosConfig:t,options:n,creator:i}=e;return Xi({aptosConfig:t,sender:i.accountAddress,data:{function:"0x4::aptos_token::create_collection",functionArguments:[new ee(e.description),new Y(r(e.maxSupply,(()=>a))),new ee(e.name),new ee(e.uri),new G(r(e.mutableDescription,(()=>!0))),new G(r(e.mutableRoyalty,(()=>!0))),new G(r(e.mutableURI,(()=>!0))),new G(r(e.mutableTokenDescription,(()=>!0))),new G(r(e.mutableTokenName,(()=>!0))),new G(r(e.mutableTokenProperties,(()=>!0))),new G(r(e.mutableTokenURI,(()=>!0))),new G(r(e.tokensBurnableByCreator,(()=>!0))),new G(r(e.tokensFreezableByCreator,(()=>!0))),new Y(r(e.royaltyNumerator,(()=>0))),new Y(r(e.royaltyDenominator,(()=>1)))],abi:co},options:n})}({aptosConfig:this.config,...e})}async mintDigitalAssetTransaction(e){return async function(e){let{aptosConfig:t,options:i,creator:o,collection:s,description:a,name:c,uri:u,propertyKeys:l,propertyTypes:d,propertyValues:h}=e,f=n([d,"optionalAccess",e=>e.map,"call",e=>e((e=>so[e]))]);return Xi({aptosConfig:t,sender:o.accountAddress,data:{function:"0x4::aptos_token::mint",functionArguments:[new ee(s),new ee(a),new ee(c),new ee(u),Z.MoveString(r(l,(()=>[]))),Z.MoveString(r(f,(()=>[]))),So(r(h,(()=>[])),r(f,(()=>[])))],abi:lo},options:i})}({aptosConfig:this.config,...e})}async transferDigitalAssetTransaction(e){return async function(e){let{aptosConfig:t,sender:n,digitalAssetAddress:i,recipient:o,digitalAssetType:s,options:a}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x1::object::transfer",typeArguments:[r(s,(()=>ao))],functionArguments:[se.from(i),se.from(o)],abi:ho},options:a})}({aptosConfig:this.config,...e})}async mintSoulBoundTransaction(e){return async function(e){let{aptosConfig:t,account:i,collection:o,description:s,name:a,uri:c,recipient:u,propertyKeys:l,propertyTypes:d,propertyValues:h,options:f}=e;if(n([l,"optionalAccess",e=>e.length])!==n([h,"optionalAccess",e=>e.length]))throw new Error("Property keys and property values counts do not match");if(n([d,"optionalAccess",e=>e.length])!==n([h,"optionalAccess",e=>e.length]))throw new Error("Property types and property values counts do not match");let p=n([d,"optionalAccess",e=>e.map,"call",e=>e((e=>so[e]))]);return Xi({aptosConfig:t,sender:i.accountAddress,data:{function:"0x4::aptos_token::mint_soul_bound",functionArguments:[o,s,a,c,Z.MoveString(r(l,(()=>[]))),Z.MoveString(r(p,(()=>[]))),So(r(h,(()=>[])),r(p,(()=>[]))),u],abi:fo},options:f})}({aptosConfig:this.config,...e})}async burnDigitalAssetTransaction(e){return async function(e){let{aptosConfig:t,creator:n,digitalAssetAddress:i,digitalAssetType:o,options:s}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::burn",typeArguments:[r(o,(()=>ao))],functionArguments:[se.from(i)],abi:po},options:s})}({aptosConfig:this.config,...e})}async freezeDigitalAssetTransaferTransaction(e){return async function(e){let{aptosConfig:t,creator:n,digitalAssetAddress:i,digitalAssetType:o,options:s}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::freeze_transfer",typeArguments:[r(o,(()=>ao))],functionArguments:[i],abi:go},options:s})}({aptosConfig:this.config,...e})}async unfreezeDigitalAssetTransaferTransaction(e){return async function(e){let{aptosConfig:t,creator:n,digitalAssetAddress:i,digitalAssetType:o,options:s}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::unfreeze_transfer",typeArguments:[r(o,(()=>ao))],functionArguments:[i],abi:yo},options:s})}({aptosConfig:this.config,...e})}async setDigitalAssetDescriptionTransaction(e){return async function(e){let{aptosConfig:t,creator:n,description:i,digitalAssetAddress:o,digitalAssetType:s,options:a}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::set_description",typeArguments:[r(s,(()=>ao))],functionArguments:[se.from(o),new ee(i)],abi:mo},options:a})}({aptosConfig:this.config,...e})}async setDigitalAssetNameTransaction(e){return async function(e){let{aptosConfig:t,creator:n,name:i,digitalAssetAddress:o,digitalAssetType:s,options:a}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::set_name",typeArguments:[r(s,(()=>ao))],functionArguments:[se.from(o),new ee(i)],abi:bo},options:a})}({aptosConfig:this.config,...e})}async setDigitalAssetURITransaction(e){return async function(e){let{aptosConfig:t,creator:n,uri:i,digitalAssetAddress:o,digitalAssetType:s,options:a}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::set_uri",typeArguments:[r(s,(()=>ao))],functionArguments:[se.from(o),new ee(i)],abi:wo},options:a})}({aptosConfig:this.config,...e})}async addDigitalAssetPropertyTransaction(e){return async function(e){let{aptosConfig:t,creator:n,propertyKey:i,propertyType:o,propertyValue:s,digitalAssetAddress:a,digitalAssetType:c,options:u}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::add_property",typeArguments:[r(c,(()=>ao))],functionArguments:[se.from(a),new ee(i),new ee(so[o]),Z.U8(Io(s,so[o]))],abi:vo},options:u})}({aptosConfig:this.config,...e})}async removeDigitalAssetPropertyTransaction(e){return async function(e){let{aptosConfig:t,creator:n,propertyKey:i,digitalAssetAddress:o,digitalAssetType:s,options:a}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::remove_property",typeArguments:[r(s,(()=>ao))],functionArguments:[se.from(o),new ee(i)],abi:Ao},options:a})}({aptosConfig:this.config,...e})}async updateDigitalAssetPropertyTransaction(e){return async function(e){let{aptosConfig:t,creator:n,propertyKey:i,propertyType:o,propertyValue:s,digitalAssetAddress:a,digitalAssetType:c,options:u}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::update_property",typeArguments:[r(c,(()=>ao))],functionArguments:[se.from(a),new ee(i),new ee(so[o]),Io(s,so[o])],abi:Eo},options:u})}({aptosConfig:this.config,...e})}async addDigitalAssetTypedPropertyTransaction(e){return async function(e){let{aptosConfig:t,creator:n,propertyKey:i,propertyType:o,propertyValue:s,digitalAssetAddress:a,digitalAssetType:c,options:u}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::add_typed_property",typeArguments:[r(c,(()=>ao)),so[o]],functionArguments:[se.from(a),new ee(i),s],abi:To},options:u})}({aptosConfig:this.config,...e})}async updateDigitalAssetTypedPropertyTransaction(e){return async function(e){let{aptosConfig:t,creator:n,propertyKey:i,propertyType:o,propertyValue:s,digitalAssetAddress:a,digitalAssetType:c,options:u}=e;return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::update_typed_property",typeArguments:[r(c,(()=>ao)),so[o]],functionArguments:[se.from(a),new ee(i),s],abi:Co},options:u})}({aptosConfig:this.config,...e})}};async function Mo(e){let{aptosConfig:t,options:r}=e;(e=>{if(e&&e.length>300)throw new Error("Event type length exceeds the maximum length of 300")})(n([r,"optionalAccess",e=>e.where,"optionalAccess",e=>e.indexed_type,"optionalAccess",e=>e._eq]));let i={query:"\n    query getEvents($where_condition: events_bool_exp, $offset: Int, $limit: Int, $order_by: [events_order_by!]) {\n  events(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    account_address\n    creation_number\n    data\n    event_index\n    sequence_number\n    transaction_block_height\n    transaction_version\n    type\n    indexed_type\n  }\n}\n    ",variables:{where_condition:n([r,"optionalAccess",e=>e.where]),offset:n([r,"optionalAccess",e=>e.offset]),limit:n([r,"optionalAccess",e=>e.limit]),order_by:n([r,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:i,originMethod:"getEvents"})).events}var Po=class{constructor(e){this.config=e}async getModuleEventsByEventType(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),async function(e){let{aptosConfig:t,eventType:r,options:n}=e;return Mo({aptosConfig:t,options:{...n,where:{_or:[{account_address:{_eq:r.split("::")[0]}},{account_address:{_eq:"0x0000000000000000000000000000000000000000000000000000000000000000"},sequence_number:{_eq:0},creation_number:{_eq:0}}],indexed_type:{_eq:r}}}})}({aptosConfig:this.config,...e})}async getAccountEventsByCreationNumber(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),async function(e){let{accountAddress:t,aptosConfig:r,creationNumber:n,options:i}=e;return Mo({aptosConfig:r,options:{...i,where:{account_address:{_eq:se.from(t).toStringLong()},creation_number:{_eq:n}}}})}({aptosConfig:this.config,...e})}async getAccountEventsByEventType(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),async function(e){let{accountAddress:t,aptosConfig:r,eventType:n,options:i}=e;return Mo({aptosConfig:r,options:{...i,where:{account_address:{_eq:se.from(t).toStringLong()},indexed_type:{_eq:n}}}})}({aptosConfig:this.config,...e})}async getEvents(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"events_processor"}),Mo({aptosConfig:this.config,...e})}};var ko=class{constructor(e){this.config=e}async fundAccount(e){let t=await async function(e){let{aptosConfig:t,accountAddress:r,amount:i,options:o}=e,s=n([o,"optionalAccess",e=>e.timeoutSecs])||20,{data:a}=await Rt({aptosConfig:t,path:"fund",body:{address:se.from(r).toString(),amount:i},originMethod:"fundAccount"}),c=a.txn_hashes[0],u=await Vn({aptosConfig:t,transactionHash:c,options:{timeoutSecs:s,checkSuccess:n([o,"optionalAccess",e=>e.checkSuccess])}});if("user_transaction"===u.type)return u;throw new Error(`Unexpected transaction received for fund account: ${u.type}`)}({aptosConfig:this.config,...e});return(void 0===n([e,"access",e=>e.options,"optionalAccess",e=>e.waitForIndexer])||n([e,"access",e=>e.options,"optionalAccess",e=>e.waitForIndexer]))&&await qn({aptosConfig:this.config,minimumLedgerVersion:BigInt(t.version),processorType:"fungible_asset_processor"}),t}};async function Bo(e){let{aptosConfig:t,options:r}=e,i={query:"\n    query getFungibleAssetMetadata($where_condition: fungible_asset_metadata_bool_exp, $offset: Int, $limit: Int) {\n  fungible_asset_metadata(where: $where_condition, offset: $offset, limit: $limit) {\n    icon_uri\n    project_uri\n    supply_aggregator_table_handle_v1\n    supply_aggregator_table_key_v1\n    creator_address\n    asset_type\n    decimals\n    last_transaction_timestamp\n    last_transaction_version\n    name\n    symbol\n    token_standard\n    supply_v2\n    maximum_v2\n  }\n}\n    ",variables:{where_condition:n([r,"optionalAccess",e=>e.where]),limit:n([r,"optionalAccess",e=>e.limit]),offset:n([r,"optionalAccess",e=>e.offset])}};return(await Nn({aptosConfig:t,query:i,originMethod:"getFungibleAssetMetadata"})).fungible_asset_metadata}var xo={typeParameters:[{constraints:[]}],parameters:[Ci("0x1::object::Object"),new kr,new Or]};var No=class{constructor(e){this.config=e}async getFungibleAssetMetadata(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),Bo({aptosConfig:this.config,...e})}async getFungibleAssetMetadataByAssetType(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),(await Bo({aptosConfig:this.config,options:{where:{asset_type:{_eq:e.assetType}}}}))[0]}async getFungibleAssetMetadataByCreatorAddress(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),await Bo({aptosConfig:this.config,options:{where:{creator_address:{_eq:se.from(e.creatorAddress).toStringLong()}}}})}async getFungibleAssetActivities(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),async function(e){let{aptosConfig:t,options:r}=e,i={query:"\n    query getFungibleAssetActivities($where_condition: fungible_asset_activities_bool_exp, $offset: Int, $limit: Int) {\n  fungible_asset_activities(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n  ) {\n    amount\n    asset_type\n    block_height\n    entry_function_id_str\n    event_index\n    gas_fee_payer_address\n    is_frozen\n    is_gas_fee\n    is_transaction_success\n    owner_address\n    storage_id\n    storage_refund_amount\n    token_standard\n    transaction_timestamp\n    transaction_version\n    type\n  }\n}\n    ",variables:{where_condition:n([r,"optionalAccess",e=>e.where]),limit:n([r,"optionalAccess",e=>e.limit]),offset:n([r,"optionalAccess",e=>e.offset])}};return(await Nn({aptosConfig:t,query:i,originMethod:"getFungibleAssetActivities"})).fungible_asset_activities}({aptosConfig:this.config,...e})}async getCurrentFungibleAssetBalances(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"fungible_asset_processor"}),async function(e){let{aptosConfig:t,options:r}=e,i={query:"\n    query getCurrentFungibleAssetBalances($where_condition: current_fungible_asset_balances_bool_exp, $offset: Int, $limit: Int) {\n  current_fungible_asset_balances(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n  ) {\n    amount\n    asset_type\n    is_frozen\n    is_primary\n    last_transaction_timestamp\n    last_transaction_version\n    owner_address\n    storage_id\n    token_standard\n  }\n}\n    ",variables:{where_condition:n([r,"optionalAccess",e=>e.where]),limit:n([r,"optionalAccess",e=>e.limit]),offset:n([r,"optionalAccess",e=>e.offset])}};return(await Nn({aptosConfig:t,query:i,originMethod:"getCurrentFungibleAssetBalances"})).current_fungible_asset_balances}({aptosConfig:this.config,...e})}async transferFungibleAsset(e){return async function(e){let{aptosConfig:t,sender:r,fungibleAssetMetadataAddress:n,recipient:i,amount:o,options:s}=e;return Xi({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::primary_fungible_store::transfer",typeArguments:["0x1::fungible_asset::Metadata"],functionArguments:[n,i,o],abi:xo},options:s})}({aptosConfig:this.config,...e})}},Ro=class{constructor(e){this.config=e}async getLedgerInfo(){return xn({aptosConfig:this.config})}async getChainId(){return(await this.getLedgerInfo()).chain_id}async getBlockByVersion(e){return async function(e){let{aptosConfig:t,ledgerVersion:r,options:i}=e,{data:o}=await Pt({aptosConfig:t,originMethod:"getBlockByVersion",path:`blocks/by_version/${r}`,params:{with_transactions:n([i,"optionalAccess",e=>e.withTransactions])}});return Xn({block:o,...e})}({aptosConfig:this.config,...e})}async getBlockByHeight(e){return async function(e){let{aptosConfig:t,blockHeight:r,options:i}=e,{data:o}=await Pt({aptosConfig:t,originMethod:"getBlockByHeight",path:`blocks/by_height/${r}`,params:{with_transactions:n([i,"optionalAccess",e=>e.withTransactions])}});return Xn({block:o,...e})}({aptosConfig:this.config,...e})}async view(e){return Vi({aptosConfig:this.config,...e})}async viewJson(e){return async function(e){let{aptosConfig:t,payload:i,options:o}=e,{data:s}=await xt({aptosConfig:t,originMethod:"viewJson",path:"view",params:{ledger_version:n([o,"optionalAccess",e=>e.ledgerVersion])},body:{function:i.function,type_arguments:r(i.typeArguments,(()=>[])),arguments:r(i.functionArguments,(()=>[]))}});return s}({aptosConfig:this.config,...e})}async getChainTopUserTransactions(e){return async function(e){let{aptosConfig:t,limit:r}=e;return(await Nn({aptosConfig:t,query:{query:"\n    query getChainTopUserTransactions($limit: Int) {\n  user_transactions(limit: $limit, order_by: {version: desc}) {\n    version\n  }\n}\n    ",variables:{limit:r}},originMethod:"getChainTopUserTransactions"})).user_transactions}({aptosConfig:this.config,...e})}async queryIndexer(e){return Nn({aptosConfig:this.config,...e})}async getIndexerLastSuccessVersion(){return Rn({aptosConfig:this.config})}async getProcessorStatus(e){return _n({aptosConfig:this.config,processorType:e})}},_o=["A name must be between 3 and 63 characters long,","and can only contain lowercase a-z, 0-9, and hyphens.","A name may not start or end with a hyphen."].join(" ");function Uo(e){return!(!e||e.length<3||e.length>63||!/^[a-z\d][a-z\d-]{1,61}[a-z\d]$/.test(e))}function Do(e){let[t,r,...n]=e.replace(/\.apt$/,"").split(".");if(n.length>0)throw new Error(`${e} is invalid. A name can only have two parts, a domain and a subdomain separated by a "."`);if(!Uo(t))throw new Error(`${t} is not valid. ${_o}`);if(r&&!Uo(r))throw new Error(`${r} is not valid. ${_o}`);return{domainName:r||t,subdomainName:r?t:void 0}}function Wo(e){if(!e)return!1;let t=new Date(e.domain_expiration_timestamp).getTime()<Date.now(),r=new Date(e.expiration_timestamp).getTime()<Date.now();return(!e.subdomain||!t)&&(!(!e.subdomain||1!==e.subdomain_expiration_policy)||!r)}var Lo={testnet:"0x5f8fd2347449685cf41d4db97926ec3a096eaf381332be4f1318ad4d16a8497c",mainnet:"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c",local:"0x585fc9f0f0c54183b039ffc770ca282ebd87307916c215a3e692f2f8e4305e82",custom:null,devnet:null};function zo(e){let t=Lo[e.network];if(!t)throw new Error(`The ANS contract is not deployed to ${e.network}`);return t}var Fo=e=>{if(e&&"object"==typeof e&&"vec"in e&&Array.isArray(e.vec))return e.vec[0]};async function Ko(e){let{aptosConfig:t,name:r}=e,n=zo(t),{domainName:i,subdomainName:o}=Do(r);try{let e=await Vi({aptosConfig:t,payload:{function:`${n}::router::get_expiration`,functionArguments:[i,o]}});return 1e3*Number(e[0])}catch{return}}async function jo(e){let{aptosConfig:t}=e,r=zo(t),[n]=await Vi({aptosConfig:t,payload:{function:`${r}::config::reregistration_grace_sec`,functionArguments:[]}}),i=n/60/60/24,o=()=>new Date;return new Date(o().setDate(o().getDate()-i)).toISOString()}function Ho(e){return{...e,expiration_timestamp:new Date(e.expiration_timestamp).getTime()}}var Go=class{constructor(e){this.config=e}async getOwnerAddress(e){return async function(e){let{aptosConfig:t,name:r}=e,n=zo(t),{domainName:i,subdomainName:o}=Do(r),s=await Vi({aptosConfig:t,payload:{function:`${n}::router::get_owner_addr`,functionArguments:[i,o]}}),a=Fo(s[0]);return a?se.from(a):void 0}({aptosConfig:this.config,...e})}async getExpiration(e){return Ko({aptosConfig:this.config,...e})}async getTargetAddress(e){return async function(e){let{aptosConfig:t,name:r}=e,n=zo(t),{domainName:i,subdomainName:o}=Do(r),s=await Vi({aptosConfig:t,payload:{function:`${n}::router::get_target_addr`,functionArguments:[i,o]}}),a=Fo(s[0]);return a?se.from(a):void 0}({aptosConfig:this.config,...e})}async setTargetAddress(e){return async function(e){let{aptosConfig:t,sender:r,name:n,address:i,options:o}=e,s=zo(t),{domainName:a,subdomainName:c}=Do(n);return await Xi({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${s}::router::set_target_addr`,functionArguments:[a,c,i]},options:o})}({aptosConfig:this.config,...e})}async getPrimaryName(e){return async function(e){let{aptosConfig:t,address:r}=e,n=zo(t),i=await Vi({aptosConfig:t,payload:{function:`${n}::router::get_primary_name`,functionArguments:[se.from(r).toString()]}}),o=Fo(i[1]),s=Fo(i[0]);if(o)return[s,o].filter(Boolean).join(".")}({aptosConfig:this.config,...e})}async setPrimaryName(e){return async function(e){let{aptosConfig:t,sender:r,name:n,options:i}=e,o=zo(t);if(!n)return await Xi({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${o}::router::clear_primary_name`,functionArguments:[]},options:i});let{domainName:s,subdomainName:a}=Do(n);return await Xi({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${o}::router::set_primary_name`,functionArguments:[s,a]},options:i})}({aptosConfig:this.config,...e})}async registerName(e){return async function(e){let{aptosConfig:t,expiration:n,name:i,sender:o,targetAddress:s,toAddress:a,options:c,transferable:u}=e,l=zo(t),{domainName:d,subdomainName:h}=Do(i),f="subdomain:independent"===n.policy||"subdomain:follow-domain"===n.policy;if(h&&!f)throw new Error("Subdomains must have an expiration policy of either 'subdomain:independent' or 'subdomain:follow-domain'");if(f&&!h)throw new Error(`Policy is set to ${n.policy} but no subdomain was provided`);if("domain"===n.policy){let e=r(n.years,(()=>1));if(1!==e)throw new Error("For now, names can only be registered for 1 year at a time");let i=31536e3*e;return await Xi({aptosConfig:t,sender:o.accountAddress.toString(),data:{function:`${l}::router::register_domain`,functionArguments:[d,i,s,a]},options:c})}if(!h)throw new Error(`${n.policy} requires a subdomain to be provided.`);let p=await Ko({aptosConfig:t,name:d});if(!p)throw new Error("The domain does not exist");let g="subdomain:independent"===n.policy?n.expirationDate:p;if(g>p)throw new Error("The subdomain expiration time cannot be greater than the domain expiration time");return await Xi({aptosConfig:t,sender:o.accountAddress.toString(),data:{function:`${l}::router::register_subdomain`,functionArguments:[d,h,Math.round(g/1e3),"subdomain:follow-domain"===n.policy?1:0,!!u,s,a]},options:c})}({aptosConfig:this.config,...e})}async renewDomain(e){return async function(e){let{aptosConfig:t,sender:r,name:n,years:i=1,options:o}=e,s=zo(t),a=31536e3*i,{domainName:c,subdomainName:u}=Do(n);if(u)throw new Error("Subdomains cannot be renewed");if(1!==i)throw new Error("Currently, only 1 year renewals are supported");return await Xi({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${s}::router::renew_domain`,functionArguments:[c,a]},options:o})}({aptosConfig:this.config,...e})}async getName(e){return async function(e){let{aptosConfig:t,name:r}=e,{domainName:n,subdomainName:i=""}=Do(r),o=(await Nn({aptosConfig:t,query:{query:On,variables:{where_condition:{domain:{_eq:n},subdomain:{_eq:i}},limit:1}},originMethod:"getName"})).current_aptos_names[0];return o&&(o=Ho(o)),Wo(o)?o:void 0}({aptosConfig:this.config,...e})}async getAccountNames(e){return async function(e){let{aptosConfig:t,options:i,accountAddress:o}=e,s=await jo({aptosConfig:t});return(await Nn({aptosConfig:t,originMethod:"getAccountNames",query:{query:On,variables:{limit:n([i,"optionalAccess",e=>e.limit]),offset:n([i,"optionalAccess",e=>e.offset]),order_by:n([i,"optionalAccess",e=>e.orderBy]),where_condition:{...r(n([e,"access",e=>e.options,"optionalAccess",e=>e.where]),(()=>({}))),owner_address:{_eq:o.toString()},expiration_timestamp:{_gte:s}}}}})).current_aptos_names.map(Ho)}({aptosConfig:this.config,...e})}async getAccountDomains(e){return async function(e){let{aptosConfig:t,options:i,accountAddress:o}=e,s=await jo({aptosConfig:t});return(await Nn({aptosConfig:t,originMethod:"getAccountDomains",query:{query:On,variables:{limit:n([i,"optionalAccess",e=>e.limit]),offset:n([i,"optionalAccess",e=>e.offset]),order_by:n([i,"optionalAccess",e=>e.orderBy]),where_condition:{...r(n([e,"access",e=>e.options,"optionalAccess",e=>e.where]),(()=>({}))),owner_address:{_eq:o.toString()},expiration_timestamp:{_gte:s},subdomain:{_eq:""}}}}})).current_aptos_names.map(Ho)}({aptosConfig:this.config,...e})}async getAccountSubdomains(e){return async function(e){let{aptosConfig:t,options:i,accountAddress:o}=e,s=await jo({aptosConfig:t});return(await Nn({aptosConfig:t,originMethod:"getAccountSubdomains",query:{query:On,variables:{limit:n([i,"optionalAccess",e=>e.limit]),offset:n([i,"optionalAccess",e=>e.offset]),order_by:n([i,"optionalAccess",e=>e.orderBy]),where_condition:{...r(n([e,"access",e=>e.options,"optionalAccess",e=>e.where]),(()=>({}))),owner_address:{_eq:o.toString()},expiration_timestamp:{_gte:s},subdomain:{_neq:""}}}}})).current_aptos_names.map(Ho)}({aptosConfig:this.config,...e})}async getDomainSubdomains(e){return async function(e){let{aptosConfig:t,options:i,domain:o}=e;return(await Nn({aptosConfig:t,originMethod:"getDomainSubdomains",query:{query:On,variables:{limit:n([i,"optionalAccess",e=>e.limit]),offset:n([i,"optionalAccess",e=>e.offset]),order_by:n([i,"optionalAccess",e=>e.orderBy]),where_condition:{...r(n([e,"access",e=>e.options,"optionalAccess",e=>e.where]),(()=>({}))),domain:{_eq:o},subdomain:{_neq:""}}}}})).current_aptos_names.map(Ho).filter(Wo)}({aptosConfig:this.config,...e})}};var Vo=class{constructor(e){this.config=e}async getNumberOfDelegators(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"stake_processor"}),async function(e){let{aptosConfig:t,poolAddress:r}=e,n=se.from(r).toStringLong(),i=await Nn({aptosConfig:t,query:{query:Mn,variables:{where_condition:{pool_address:{_eq:n}}}}});return i.num_active_delegator_per_pool[0]?i.num_active_delegator_per_pool[0].num_active_delegator:0}({aptosConfig:this.config,...e})}async getNumberOfDelegatorsForAllPools(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"stake_processor"}),async function(e){let{aptosConfig:t,options:r}=e,i={query:Mn,variables:{order_by:n([r,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:i})).num_active_delegator_per_pool}({aptosConfig:this.config,...e})}async getDelegatedStakingActivities(e){return await Qn({config:this.config,minimumLedgerVersion:n([e,"optionalAccess",e=>e.minimumLedgerVersion]),processorType:"stake_processor"}),async function(e){let{aptosConfig:t,delegatorAddress:r,poolAddress:n}=e,i={query:"\n    query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) {\n  delegated_staking_activities(\n    where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}}\n  ) {\n    amount\n    delegator_address\n    event_index\n    event_type\n    pool_address\n    transaction_version\n  }\n}\n    ",variables:{delegatorAddress:se.from(r).toStringLong(),poolAddress:se.from(n).toStringLong()}};return(await Nn({aptosConfig:t,query:i})).delegated_staking_activities}({aptosConfig:this.config,...e})}},qo=class{constructor(e){this.config=e}async simple(e){return Xi({aptosConfig:this.config,...e})}async multiAgent(e){return Xi({aptosConfig:this.config,...e})}};function Jo(e,t,r){let n=r.value;return r.value=async function(...e){let[t]=e;if(t.transaction.feePayerAddress&&!t.feePayerAuthenticator)throw new Error("You are submitting a Fee Payer transaction but missing the feePayerAuthenticator");return n.apply(this,e)},r}function Yo(e,t,r){let n=r.value;return r.value=async function(...e){let[t]=e;if(t.transaction.feePayerAddress&&!t.feePayerPublicKey)throw new Error("You are simulating a Fee Payer transaction but missing the feePayerPublicKey");return n.apply(this,e)},r}var Xo=class{constructor(e){this.config=e}async simple(e){return $i({aptosConfig:this.config,...e})}async multiAgent(e){return $i({aptosConfig:this.config,...e})}};o.a.call(void 0,[Yo],Xo.prototype,"simple",1),o.a.call(void 0,[Yo],Xo.prototype,"multiAgent",1);var Qo=class{constructor(e){this.config=e}async simple(e){return eo({aptosConfig:this.config,...e})}async multiAgent(e){return eo({aptosConfig:this.config,...e})}};o.a.call(void 0,[Jo],Qo.prototype,"simple",1),o.a.call(void 0,[Jo],Qo.prototype,"multiAgent",1);var Zo=class{constructor(e,t,r,n,i){this.lastUncommintedNumber=null,this.currentNumber=null,this.lock=!1,this.aptosConfig=e,this.account=t,this.maxWaitTime=r,this.maximumInFlight=n,this.sleepTime=i}async nextSequenceNumber(){for(;this.lock;)await o.b.call(void 0,this.sleepTime);this.lock=!0;let e=BigInt(0);try{if((null===this.lastUncommintedNumber||null===this.currentNumber)&&await this.initialize(),this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight){await this.update();let e=o.c.call(void 0);for(;this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight;)await o.b.call(void 0,this.sleepTime),o.c.call(void 0)-e>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, re-syncing ${this.account.accountAddress.toString()}`),await this.initialize()):await this.update()}e=this.currentNumber,this.currentNumber+=BigInt(1)}catch(e){console.error("error in getting next sequence number for this account",e)}finally{this.lock=!1}return e}async initialize(){let{sequence_number:e}=await Dn({aptosConfig:this.aptosConfig,accountAddress:this.account.accountAddress});this.currentNumber=BigInt(e),this.lastUncommintedNumber=BigInt(e)}async update(){let{sequence_number:e}=await Dn({aptosConfig:this.aptosConfig,accountAddress:this.account.accountAddress});return this.lastUncommintedNumber=BigInt(e),this.lastUncommintedNumber}async synchronize(){if(this.lastUncommintedNumber!==this.currentNumber){for(;this.lock;)await o.b.call(void 0,this.sleepTime);this.lock=!0;try{await this.update();let e=o.c.call(void 0);for(;this.lastUncommintedNumber!==this.currentNumber;)o.c.call(void 0)-e>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, re-syncing ${this.account.accountAddress.toString()}`),await this.initialize()):(await o.b.call(void 0,this.sleepTime),await this.update())}catch(e){console.error("error in synchronizing this account sequence number with the one on chain",e)}finally{this.lock=!1}}}},$o=class{constructor(){this.queue=[],this.pendingDequeue=[],this.cancelled=!1}enqueue(e){this.cancelled=!1,this.pendingDequeue.length>0?n([this,"access",e=>e.pendingDequeue,"access",e=>e.shift,"call",e=>e(),"optionalAccess",e=>e.resolve,"call",t=>t(e)]):this.queue.push(e)}async dequeue(){return this.queue.length>0?Promise.resolve(this.queue.shift()):new Promise(((e,t)=>{this.pendingDequeue.push({resolve:e,reject:t})}))}isEmpty(){return 0===this.queue.length}cancel(){this.cancelled=!0,this.pendingDequeue.forEach((async({reject:e})=>{e(new es("Task cancelled"))})),this.pendingDequeue=[],this.queue.length=0}isCancelled(){return this.cancelled}pendingDequeueLength(){return this.pendingDequeue.length}},es=class extends Error{},ts="fulfilled",rs=e.TransactionWorkerEventsEnum=(e=>(e.TransactionSent="transactionSent",e.TransactionSendFailed="transactionSendFailed",e.TransactionExecuted="transactionExecuted",e.TransactionExecutionFailed="transactionExecutionFailed",e.ExecutionFinish="executionFinish",e))(rs||{}),ns=e.TransactionWorker=class extends mn.default{constructor(e,t,r=30,n=100,i=10){super(),this.taskQueue=new $o,this.transactionsQueue=new $o,this.outstandingTransactions=new $o,this.sentTransactions=[],this.executedTransactions=[],this.aptosConfig=e,this.account=t,this.started=!1,this.accountSequnceNumber=new Zo(e,t,r,n,i)}async submitNextTransaction(){try{for(;;){let e=await this.accountSequnceNumber.nextSequenceNumber();if(null===e)return;let t=await this.generateNextTransaction(this.account,e);if(!t)return;let r=to({aptosConfig:this.aptosConfig,transaction:t,signer:this.account});await this.outstandingTransactions.enqueue([r,e])}}catch(e){if(e instanceof es)return;throw new Error(`Submit transaction failed for ${this.account.accountAddress.toString()} with error ${e}`)}}async processTransactions(){try{for(;;){let e=[],t=[],[r,n]=await this.outstandingTransactions.dequeue();for(e.push(r),t.push(n);!this.outstandingTransactions.isEmpty();)[r,n]=await this.outstandingTransactions.dequeue(),e.push(r),t.push(n);let i=await Promise.allSettled(e);for(let e=0;e<i.length&&e<t.length;e+=1){let r=i[e];n=t[e],r.status===ts?(this.sentTransactions.push([r.value.hash,n,null]),this.emit("transactionSent",{message:`transaction hash ${r.value.hash} has been committed to chain`,transactionHash:r.value.hash}),await this.checkTransaction(r,n)):(this.sentTransactions.push([r.status,n,r.reason]),this.emit("transactionSendFailed",{message:`failed to commit transaction ${this.sentTransactions.length} with error ${r.reason}`,error:r.reason}))}this.emit("executionFinish",{message:`execute ${i.length} transactions finished`})}}catch(e){if(e instanceof es)return;throw new Error(`Process execution failed for ${this.account.accountAddress.toString()} with error ${e}`)}}async checkTransaction(e,t){try{let r=[];r.push(Vn({aptosConfig:this.aptosConfig,transactionHash:e.value.hash}));let n=await Promise.allSettled(r);for(let r=0;r<n.length;r+=1){let i=n[r];i.status===ts?(this.executedTransactions.push([i.value.hash,t,null]),this.emit("transactionExecuted",{message:`transaction hash ${i.value.hash} has been executed on chain`,transactionHash:e.value.hash})):(this.executedTransactions.push([i.status,t,i.reason]),this.emit("transactionExecutionFailed",{message:`failed to execute transaction ${this.executedTransactions.length} with error ${i.reason}`,error:i.reason}))}}catch(e){throw new Error(`Check transaction failed for ${this.account.accountAddress.toString()} with error ${e}`)}}async push(e,t){this.transactionsQueue.enqueue([e,t])}async generateNextTransaction(e,t){if(this.transactionsQueue.isEmpty())return;let[r,n]=await this.transactionsQueue.dequeue();return Xi({aptosConfig:this.aptosConfig,sender:e.accountAddress,data:r,options:{...n,accountSequenceNumber:t}})}async run(){try{for(;!this.taskQueue.isCancelled();)await(await this.taskQueue.dequeue())()}catch(e){throw new Error(`Unable to start transaction batching: ${e}`)}}start(){if(this.started)throw new Error("worker has already started");this.started=!0,this.taskQueue.enqueue((()=>this.submitNextTransaction())),this.taskQueue.enqueue((()=>this.processTransactions())),this.run()}stop(){if(this.taskQueue.isCancelled())throw new Error("worker has already stopped");this.started=!1,this.taskQueue.cancel()}},is=class extends mn.default{constructor(e){super(),this.config=e}start(e){let{sender:t}=e;this.account=t,this.transactionWorker=new ns(this.config,t),this.transactionWorker.start(),this.registerToEvents()}push(e){let{data:t,options:r}=e;for(let e of t)this.transactionWorker.push(e,r)}registerToEvents(){this.transactionWorker.on("transactionSent",(async e=>{this.emit("transactionSent",e)})),this.transactionWorker.on("transactionSendFailed",(async e=>{this.emit("transactionSendFailed",e)})),this.transactionWorker.on("transactionExecuted",(async e=>{this.emit("transactionExecuted",e)})),this.transactionWorker.on("transactionExecutionFailed",(async e=>{this.emit("transactionExecutionFailed",e)})),this.transactionWorker.on("executionFinish",(async e=>{this.emit("executionFinish",e)}))}forSingleAccount(e){try{let{sender:t,data:r,options:n}=e;this.start({sender:t}),this.push({data:r,options:n})}catch(e){throw new Error(`failed to submit transactions with error: ${e}`)}}},os=class{constructor(e){this.config=e,this.build=new qo(this.config),this.simulate=new Xo(this.config),this.submit=new Qo(this.config),this.batch=new is(this.config)}async getTransactions(e){return jn({aptosConfig:this.config,...e})}async getTransactionByVersion(e){return async function(e){let{aptosConfig:t,ledgerVersion:r}=e,{data:n}=await Pt({aptosConfig:t,originMethod:"getTransactionByVersion",path:`transactions/by_version/${r}`});return n}({aptosConfig:this.config,...e})}async getTransactionByHash(e){return Gn({aptosConfig:this.config,...e})}async isPendingTransaction(e){return async function(e){let{aptosConfig:t,transactionHash:r}=e;try{return"pending_transaction"===(await Gn({aptosConfig:t,transactionHash:r})).type}catch(e){if(404===n([e,"optionalAccess",e=>e.status]))return!0;throw e}}({aptosConfig:this.config,...e})}async waitForTransaction(e){return Vn({aptosConfig:this.config,...e})}async getGasPriceEstimation(){return Hn({aptosConfig:this.config})}getSigningMessage(e){return function(e){let{transaction:t}=e;return dn(t)}(e)}async publishPackageTransaction(e){return async function(e){let{aptosConfig:t,account:r,metadataBytes:n,moduleBytecode:i,options:o}=e,s=i.map((e=>Z.U8(e)));return Xi({aptosConfig:t,sender:se.from(r),data:{function:"0x1::code::publish_package_txn",functionArguments:[Z.U8(n),new Z(s)],abi:ro},options:o})}({aptosConfig:this.config,...e})}async rotateAuthKey(e){return async function(e){let{aptosConfig:t,fromAccount:r,toNewPrivateKey:n}=e,i=await Dn({aptosConfig:t,accountAddress:r.accountAddress}),o=pn.fromPrivateKey({privateKey:n,legacy:!0}),s=new Zr({sequenceNumber:BigInt(i.sequence_number),originator:r.accountAddress,currentAuthKey:se.from(i.authentication_key),newPublicKey:o.publicKey}).bcsToBytes(),a=r.sign(s),c=o.sign(s),u=await Xi({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::account::rotate_authentication_key",functionArguments:[new V(r.signingScheme),Z.U8(r.publicKey.toUint8Array()),new V(o.signingScheme),Z.U8(o.publicKey.toUint8Array()),Z.U8(a.toUint8Array()),Z.U8(c.toUint8Array())],abi:no}});return to({aptosConfig:t,signer:r,transaction:u})}({aptosConfig:this.config,...e})}sign(e){return Qi({...e})}signAsFeePayer(e){return Zi({...e})}async batchTransactionsForSingleAccount(e){try{let{sender:t,data:r,options:n}=e;this.batch.forSingleAccount({sender:t,data:r,options:n})}catch(e){throw new Error(`failed to submit transactions with error: ${e}`)}}async signAndSubmitTransaction(e){return to({aptosConfig:this.config,...e})}async signAndSubmitAsFeePayer(e){return async function(e){let{aptosConfig:t,senderAuthenticator:r,feePayer:n,transaction:i}=e;return(n instanceof wn||n instanceof Tn)&&await n.waitForProofFetch(),eo({aptosConfig:t,transaction:i,senderAuthenticator:r,feePayerAuthenticator:Zi({signer:n,transaction:i})})}({aptosConfig:this.config,...e})}},ss=class{constructor(e){this.config=e}async getTableItem(e){return Un({aptosConfig:this.config,...e})}async getTableItemsData(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),async function(e){let{aptosConfig:t,options:r}=e,i={query:"\n    query getTableItemsData($where_condition: table_items_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_items_order_by!]) {\n  table_items(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    decoded_key\n    decoded_value\n    key\n    table_handle\n    transaction_version\n    write_set_change_index\n  }\n}\n    ",variables:{where_condition:n([r,"optionalAccess",e=>e.where]),offset:n([r,"optionalAccess",e=>e.offset]),limit:n([r,"optionalAccess",e=>e.limit]),order_by:n([r,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:i,originMethod:"getTableItemsData"})).table_items}({aptosConfig:this.config,...e})}async getTableItemsMetadata(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),async function(e){let{aptosConfig:t,options:r}=e,i={query:"\n    query getTableItemsMetadata($where_condition: table_metadatas_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_metadatas_order_by!]) {\n  table_metadatas(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    handle\n    key_type\n    value_type\n  }\n}\n    ",variables:{where_condition:n([r,"optionalAccess",e=>e.where]),offset:n([r,"optionalAccess",e=>e.offset]),limit:n([r,"optionalAccess",e=>e.limit]),order_by:n([r,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:i,originMethod:"getTableItemsMetadata"})).table_metadatas}({aptosConfig:this.config,...e})}};async function as(e){let{aptosConfig:t,jwt:r,ephemeralKeyPair:n,uidKey:i="sub",derivationPath:o}=e,s={jwt_b64:r,epk:n.getPublicKey().bcsToHex().toStringWithoutPrefix(),exp_date_secs:n.expiryDateSecs,epk_blinder:p.fromHexInput(n.blinder).toStringWithoutPrefix(),uid_key:i,derivation_path:o},{data:a}=await _t({aptosConfig:t,path:"fetch",body:s,originMethod:"getPepper",overrides:{WITH_CREDENTIALS:!1}});return p.fromHexInput(a.pepper).toUint8Array()}async function cs(e){let{aptosConfig:t,jwt:r,ephemeralKeyPair:n,pepper:i=await as(e),uidKey:o="sub"}=e;if(p.fromHexInput(i).toUint8Array().length!==An.PEPPER_LENGTH)throw new Error(`Pepper needs to be ${An.PEPPER_LENGTH} bytes`);let{maxExpHorizonSecs:s}=await ir({aptosConfig:t}),a=qe.jwtDecode.call(void 0,r);if("number"!=typeof a.iat)throw new Error("iat was not found");if(s<n.expiryDateSecs-a.iat)throw Error(`The EphemeralKeyPair is too long lived.  It's lifespan must be less than ${s}`);let c={jwt_b64:r,epk:n.getPublicKey().bcsToHex().toStringWithoutPrefix(),epk_blinder:p.fromHexInput(n.blinder).toStringWithoutPrefix(),exp_date_secs:n.expiryDateSecs,exp_horizon_secs:s,pepper:p.fromHexInput(i).toStringWithoutPrefix(),uid_key:o},{data:u}=await Ut({aptosConfig:t,path:"prove",body:c,originMethod:"getProof",overrides:{WITH_CREDENTIALS:!1}}),l=u.proof,d=new $t({a:l.a,b:l.b,c:l.c});return new tr({proof:new er(d,0),trainingWheelsSignature:Ye.fromHex(u.training_wheels_signature),expHorizonSecs:s})}var us=class{constructor(e){this.config=e}async getPepper(e){return as({aptosConfig:this.config,...e})}async getProof(e){return cs({aptosConfig:this.config,...e})}async deriveKeylessAccount(e){return async function(e){let{aptosConfig:t,jwt:r,jwkAddress:n,uidKey:i,proofFetchCallback:o,pepper:s=await as(e)}=e,a=cs({...e,pepper:s}),c=o?a:await a;if(void 0!==n){let a=or.fromJwtAndPepper({jwt:r,pepper:s,jwkAddress:n,uidKey:i}),u=await Fn({aptosConfig:t,authenticationKey:a.authKey().derivedAddress()});return En.create({...e,address:u,proof:c,pepper:s,proofFetchCallback:o,jwkAddress:n})}let u=qt.fromJwtAndPepper({jwt:r,pepper:s,uidKey:i}),l=await Fn({aptosConfig:t,authenticationKey:u.authKey().derivedAddress()});return An.create({...e,address:l,proof:c,pepper:s,proofFetchCallback:o})}({aptosConfig:this.config,...e})}async updateFederatedKeylessJwkSetTransaction(e){return async function(e){let{aptosConfig:t,sender:n,iss:i}=e,o=r(e.jwksUrl,(()=>i.endsWith("/")?`${i}.well-known/jwks.json`:`${i}/.well-known/jwks.json`)),s=await fetch(o);if(!s.ok)throw new Error(`Failed to fetch JWKS: ${s.status} ${s.statusText}`);let a=await s.json();return Xi({aptosConfig:t,sender:n.accountAddress,data:{function:"0x1::jwks::update_federated_jwk_set",functionArguments:[i,Z.MoveString(a.keys.map((e=>e.kid))),Z.MoveString(a.keys.map((e=>e.alg))),Z.MoveString(a.keys.map((e=>e.e))),Z.MoveString(a.keys.map((e=>e.n)))]}})}({aptosConfig:this.config,...e})}};async function ls(e){let{aptosConfig:t,objectAddress:r,options:i}=e,o={object_address:{_eq:se.from(r).toStringLong()}};return(await async function(e){let{aptosConfig:t,options:r}=e,i={query:Pn,variables:{where_condition:n([r,"optionalAccess",e=>e.where]),offset:n([r,"optionalAccess",e=>e.offset]),limit:n([r,"optionalAccess",e=>e.limit]),order_by:n([r,"optionalAccess",e=>e.orderBy])}};return(await Nn({aptosConfig:t,query:i,originMethod:"getObjectData"})).current_objects}({aptosConfig:t,options:{...i,where:o}}))[0]}var ds=class{constructor(e){this.config=e}async getObjectDataByObjectAddress(e){return await Qn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"objects_processor"}),ls({aptosConfig:this.config,...e})}},hs=class{constructor(e){this.config=new Yi(e),this.account=new qi(this.config),this.ans=new Go(this.config),this.coin=new oo(this.config),this.digitalAsset=new Oo(this.config),this.event=new Po(this.config),this.faucet=new ko(this.config),this.fungibleAsset=new No(this.config),this.general=new Ro(this.config),this.staking=new Vo(this.config),this.transaction=new os(this.config),this.table=new ss(this.config),this.keyless=new us(this.config),this.object=new ds(this.config)}};function fs(e,t,r){Object.getOwnPropertyNames(t.prototype).forEach((n=>{let i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&(i.value=function(...e){return this[r][n](...e)},Object.defineProperty(e.prototype,n,i))}))}fs(hs,qi,"account"),fs(hs,Go,"ans"),fs(hs,oo,"coin"),fs(hs,Oo,"digitalAsset"),fs(hs,Po,"event"),fs(hs,ko,"faucet"),fs(hs,No,"fungibleAsset"),fs(hs,Ro,"general"),fs(hs,Vo,"staking"),fs(hs,os,"transaction"),fs(hs,ss,"table"),fs(hs,us,"keyless"),fs(hs,ds,"object"),e.APTOS_BIP44_REGEX=fe,e.APTOS_COIN=lt,e.APTOS_FA=dt,e.APTOS_HARDENED_REGEX=he,e.AbstractKeylessAccount=wn,e.Account=pn,e.AccountAddress=se,e.AccountAuthenticator=dr,e.AccountAuthenticatorEd25519=hr,e.AccountAuthenticatorMultiEd25519=fr,e.AccountAuthenticatorMultiKey=gr,e.AccountAuthenticatorSingleKey=pr,e.AccountAuthenticatorVariant=B,e.AccountPublicKey=Ce,e.AccountSequenceNumber=Zo,e.AddressInvalidReason=ie,e.AnyPublicKey=sr,e.AnyPublicKeyVariant=x,e.AnySignature=ar,e.AnySignatureVariant=N,e.Aptos=hs,e.AptosApiError=gt,e.AptosApiType=st,e.AptosConfig=Yi,e.AuthenticationKey=ce,e.Bool=G,e.CKDPriv=we,e.ChainId=yr,e.DEFAULT_MAX_GAS_AMOUNT=at,e.DEFAULT_TXN_EXP_SEC_FROM_NOW=ct,e.DEFAULT_TXN_TIMEOUT_SEC=ut,e.DeriveScheme=H,e.Deserializer=l,e.EPK_HORIZON_SECS=1e7,e.Ed25519Account=hn,e.Ed25519PrivateKey=xe,e.Ed25519PublicKey=ke,e.Ed25519Signature=Re,e.EntryFunction=Hr,e.EntryFunctionBytes=T,e.EphemeralCertificate=Xt,e.EphemeralCertificateVariant=U,e.EphemeralKeyPair=yn,e.EphemeralPublicKey=Je,e.EphemeralPublicKeyVariant=R,e.EphemeralSignature=Ye,e.EphemeralSignatureVariant=_,e.FederatedKeylessAccount=En,e.FederatedKeylessPublicKey=or,e.FeePayerRawTransaction=Qr,e.FixedBytes=E,e.Groth16Zkp=$t,e.HARDENED_OFFSET=ge,e.Hex=p,e.HexInvalidReason=f,e.Identifier=mr,e.KeyType=pe,e.KeylessAccount=An,e.KeylessConfiguration=rr,e.KeylessPublicKey=qt,e.KeylessSignature=Yt,e.MAX_AUD_VAL_BYTES=Lt,e.MAX_COMMITED_EPK_BYTES=Gt,e.MAX_EXTRA_FIELD_BYTES=jt,e.MAX_ISS_VAL_BYTES=Kt,e.MAX_JWT_HEADER_B64_BYTES=Ht,e.MAX_UID_KEY_BYTES=zt,e.MAX_UID_VAL_BYTES=Ft,e.MimeType=C,e.ModuleId=Ar,e.MoveAbility=z,e.MoveFunctionVisibility=L,e.MoveOption=te,e.MoveString=ee,e.MoveVector=Z,e.MultiAgentRawTransaction=Xr,e.MultiAgentTransaction=cn,e.MultiEd25519PublicKey=Ue,e.MultiEd25519Signature=We,e.MultiKey=cr,e.MultiKeyAccount=Tn,e.MultiKeySignature=lr,e.MultiSig=Vr,e.MultiSigTransactionPayload=qr,e.Network=Et,e.NetworkToChainId=Tt,e.NetworkToFaucetAPI=wt,e.NetworkToIndexerAPI=mt,e.NetworkToNetworkName=Ct,e.NetworkToNodeAPI=bt,e.NetworkToPepperAPI=vt,e.NetworkToProverAPI=At,e.ParsingError=h,e.ProcessorType=pt,e.PublicKey=Te,e.RAW_TRANSACTION_SALT=ht,e.RAW_TRANSACTION_WITH_DATA_SALT=ft,e.RawTransaction=Jr,e.RawTransactionWithData=Yr,e.RoleType=F,e.RotationProofChallenge=Zr,e.Script=Gr,e.ScriptTransactionArgumentVariants=I,e.Secp256k1PrivateKey=He,e.Secp256k1PublicKey=Ke,e.Secp256k1Signature=Ve,e.Serializable=g,e.Serialized=$,e.Serializer=y,e.Signature=Se,e.SignedTransaction=sn,e.SigningScheme=K,e.SigningSchemeInput=j,e.SimpleTransaction=an,e.SingleKeyAccount=fn,e.StructTag=Ur,e.TransactionAndProof=vn,e.TransactionAuthenticator=$r,e.TransactionAuthenticatorEd25519=en,e.TransactionAuthenticatorFeePayer=nn,e.TransactionAuthenticatorMultiAgent=rn,e.TransactionAuthenticatorMultiEd25519=tn,e.TransactionAuthenticatorSingleSender=on,e.TransactionAuthenticatorVariant=k,e.TransactionPayload=zr,e.TransactionPayloadEntryFunction=Kr,e.TransactionPayloadMultiSig=jr,e.TransactionPayloadScript=Fr,e.TransactionPayloadVariants=O,e.TransactionResponseType=W,e.TransactionVariants=M,e.TransactionWorker=ns,e.TransactionWorkerEventsEnum=rs,e.TypeTag=Er,e.TypeTagAddress=kr,e.TypeTagBool=Tr,e.TypeTagGeneric=Nr,e.TypeTagParserError=Ti,e.TypeTagParserErrorType=Ei,e.TypeTagReference=xr,e.TypeTagSigner=Br,e.TypeTagStruct=_r,e.TypeTagU128=Mr,e.TypeTagU16=Sr,e.TypeTagU256=Pr,e.TypeTagU32=Ir,e.TypeTagU64=Or,e.TypeTagU8=Cr,e.TypeTagVariants=S,e.TypeTagVector=Rr,e.U128=X,e.U16=q,e.U256=Q,e.U32=J,e.U64=Y,e.U8=V,e.ZeroKnowledgeSig=tr,e.ZkProof=er,e.ZkpVariant=D,e.aptosCoinStructTag=function(){return new Ur(se.ONE,new mr("aptos_coin"),new mr("AptosCoin"),[])},e.aptosRequest=Ot,e.base64UrlDecode=o.e,e.bigIntToBytesLE=nt,e.buildTransaction=Li,e.bytesToBigIntLE=rt,e.checkOrConvertArgument=xi,e.convertAmountFromHumanReadableToOnChain=o.f,e.convertAmountFromOnChainToHumanReadable=o.g,e.convertArgument=Bi,e.convertNumber=ti,e.createObjectAddress=br,e.createResourceAddress=wr,e.createTokenAddress=vr,e.deriveKey=be,e.deriveTransactionType=un,e.deserializeFromScriptArgument=Lr,e.ensureBoolean=b,e.fetchEntryFunctionAbi=Pi,e.fetchFunctionAbi=Mi,e.fetchViewFunctionAbi=ki,e.findFirstNonSignerArg=mi,e.floorToWholeHour=o.d,e.generateRawTransaction=Wi,e.generateSignedTransaction=Ki,e.generateSignedTransactionForSimulation=zi,e.generateSigningMessage=ln,e.generateSigningMessageForSerializable=function(e){return ln(e.bcsToBytes(),`APTOS::${e.constructor.name}`)},e.generateSigningMessageForTransaction=dn,e.generateTransactionPayload=Ri,e.generateTransactionPayloadWithABI=_i,e.generateUserTransactionHash=function(e){let t=Ki(e);return new p(ji([Hi,new Uint8Array([0]),t])).toString()},e.generateViewFunctionPayload=Ui,e.generateViewFunctionPayloadWithABI=Di,e.get=Mt,e.getAptosFullNode=Pt,e.getAptosPepperService=async function(e){return Mt({...e,type:"Pepper"})},e.getAuthenticatorForSimulation=Fi,e.getFunctionParts=bi,e.getKeylessConfig=ir,e.hashStrToField=$e,e.hashValues=ji,e.isBcsAddress=si,e.isBcsBool=oi,e.isBcsFixedBytes=ci,e.isBcsString=ai,e.isBcsU128=fi,e.isBcsU16=li,e.isBcsU256=pi,e.isBcsU32=di,e.isBcsU64=hi,e.isBcsU8=ui,e.isBlockEpilogueTransactionResponse=function(e){return"block_epilogue_transaction"===e.type},e.isBlockMetadataTransactionResponse=function(e){return"block_metadata_transaction"===e.type},e.isBool=Zn,e.isCanonicalEd25519Signature=Me,e.isEd25519Signature=function(e){return"signature"in e&&"ed25519_signature"===e.signature},e.isEmptyOption=ni,e.isEncodedEntryFunctionArgument=ii,e.isEncodedStruct=o.i,e.isFeePayerSignature=function(e){return"fee_payer_signature"===e.type},e.isGenesisTransactionResponse=function(e){return"genesis_transaction"===e.type},e.isLargeNumber=ri,e.isMultiAgentSignature=function(e){return"multi_agent_signature"===e.type},e.isMultiEd25519Signature=function(e){return"multi_ed25519_signature"===e.type},e.isNumber=ei,e.isPendingTransactionResponse=function(e){return"pending_transaction"===e.type},e.isScriptDataInput=gi,e.isSecp256k1Signature=function(e){return"signature"in e&&"secp256k1_ecdsa_signature"===e.signature},e.isStateCheckpointTransactionResponse=function(e){return"state_checkpoint_transaction"===e.type},e.isString=$n,e.isUserTransactionResponse=function(e){return"user_transaction"===e.type},e.isValidBIP44Path=ye,e.isValidHardenedPath=me,e.isValidatorTransactionResponse=function(e){return"validator_transaction"===e.type},e.mnemonicToSeed=Ee,e.normalizeBundle=St,e.nowInSeconds=o.c,e.objectStructTag=Wr,e.optionStructTag=function(e){return new Ur(se.ONE,new mr("option"),new mr("Option"),[e])},e.outOfRangeErrorMessage=w,e.padAndPackBytesWithLen=tt,e.paginateWithCursor=kt,e.parseEncodedStruct=o.h,e.parseTypeTag=Ci,e.poseidonHash=it,e.post=Bt,e.postAptosFaucet=Rt,e.postAptosFullNode=xt,e.postAptosIndexer=Nt,e.postAptosPepperService=_t,e.postAptosProvingService=Ut,e.promiseFulfilledStatus=ts,e.request=It,e.sleep=o.b,e.splitPath=Ae,e.standardizeTypeTags=Oi,e.stringStructTag=Dr,e.throwTypeMismatch=yi,e.validateNumberInRange=v})),y1=W((e=>{"use strict";function t(e,t){return e??t()}function r(e){let t,r=e[0],n=1;for(;n<e.length;){let i=e[n],o=e[n+1];if(n+=2,("optionalAccess"===i||"optionalCall"===i)&&null==r)return;"access"===i||"optionalAccess"===i?(t=r,r=o(r)):("call"===i||"optionalCall"===i)&&(r=o(((...e)=>r.call(t,...e))),t=void 0)}return r}m(),Object.defineProperty(e,"__esModule",{value:!0});var n,i=h7();n=i,Object.keys(n).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((t=>{e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>n[t]})}));var o=Nr(),s=class e extends o.Serializable{constructor({address:e,publicKey:t,ansName:r}){super(),this.address=o.AccountAddress.from(e),this.publicKey=t,this.ansName=r}serialize(e){if(this.address.serialize(e),this.publicKey instanceof o.Ed25519PublicKey)e.serializeU32AsUleb128(o.SigningScheme.Ed25519);else if(this.publicKey instanceof o.MultiEd25519PublicKey)e.serializeU32AsUleb128(o.SigningScheme.MultiEd25519);else if(this.publicKey instanceof o.AnyPublicKey)e.serializeU32AsUleb128(o.SigningScheme.SingleKey);else{if(!(this.publicKey instanceof o.MultiKey))throw new Error("Unsupported public key");e.serializeU32AsUleb128(o.SigningScheme.MultiKey)}this.publicKey.serialize(e),e.serializeStr(t(this.ansName,(()=>"")))}static deserialize(t){let r,n=o.AccountAddress.deserialize(t),i=t.deserializeUleb128AsU32();switch(i){case o.SigningScheme.Ed25519:r=o.Ed25519PublicKey.deserialize(t);break;case o.SigningScheme.MultiEd25519:r=o.MultiEd25519PublicKey.deserialize(t);break;case o.SigningScheme.SingleKey:r=o.AnyPublicKey.deserialize(t);break;case o.SigningScheme.MultiKey:r=o.MultiKey.deserialize(t);break;default:throw new Error(`Unknown variant index for WrappedPublicKey: ${i}`)}let s=t.deserializeStr()||void 0;return new e({address:n,publicKey:r,ansName:s})}},a="aptos:devnet",c=e.APTOS_TESTNET_CHAIN="aptos:testnet",u=e.APTOS_LOCALNET_CHAIN="aptos:localnet",l=e.APTOS_MAINNET_CHAIN="aptos:mainnet",d=e.APTOS_CHAINS=[a,c,u,l],h=["aptos:account","aptos:connect","aptos:disconnect","aptos:network","aptos:onAccountChange","aptos:onNetworkChange","aptos:signMessage","aptos:signTransaction"];function f(e,t=[]){return[...h,...t].every((t=>t in e.features))}var p=(e=>(e[e.Unauthorized=4100]="Unauthorized",e[e.Unsupported=4200]="Unsupported",e[e.InternalError=-30001]="InternalError",e))(p||{}),g=e.AptosWalletErrors=Object.freeze({4100:{status:"Unauthorized",message:"The requested method and/or account has not been authorized by the user."},[-30001]:{status:"Internal error",message:"Something went wrong within the wallet."},4200:{status:"Unsupported",message:"The requested feature is not supported."}}),y=e.AptosWalletError=class e extends Error{constructor(n,i){super(t(t(i,(()=>r([g,"access",e=>e[n],"optionalAccess",e=>e.message]))),(()=>"Unknown error occurred"))),this.code=n,this.status=t(r([g,"access",e=>e[n],"optionalAccess",e=>e.status]),(()=>"Unknown error")),this.name="AptosWalletError",Object.setPrototypeOf(this,e.prototype)}},b=(e=>(e.APPROVED="Approved",e.REJECTED="Rejected",e))(b||{});e.APTOS_CHAINS=d,e.APTOS_DEVNET_CHAIN=a,e.APTOS_LOCALNET_CHAIN=u,e.APTOS_MAINNET_CHAIN=l,e.APTOS_TESTNET_CHAIN=c,e.AccountInfo=s,e.AptosChangeNetworkNamespace="aptos:changeNetwork",e.AptosConnectNamespace="aptos:connect",e.AptosDisconnectNamespace="aptos:disconnect",e.AptosGetAccountNamespace="aptos:account",e.AptosGetNetworkNamespace="aptos:network",e.AptosOnAccountChangeNamespace="aptos:onAccountChange",e.AptosOnNetworkChangeNamespace="aptos:onNetworkChange",e.AptosOpenInMobileAppNamespace="aptos:openInMobileApp",e.AptosSignAndSubmitTransactionNamespace="aptos:signAndSubmitTransaction",e.AptosSignInNamespace="aptos:signIn",e.AptosSignMessageNamespace="aptos:signMessage",e.AptosSignTransactionNamespace="aptos:signTransaction",e.AptosWalletError=y,e.AptosWalletErrorCode=p,e.AptosWalletErrors=g,e.UserResponseStatus=b,e.getAptosWallets=function(){let{get:e,on:t}=i.getWallets.call(void 0),r=e(),n=[];return r.map((e=>{f(e)&&n.push(e)})),{aptosWallets:n,on:t}},e.isWalletWithRequiredFeatureSet=f})),OLe=W(((e,t)=>{m(),function(e,r){"use strict";typeof t<"u"&&t.exports?t.exports=r(oh()):e.ed2curve=r(e.nacl)}(e,(function(e){"use strict";if(!e)throw new Error("tweetnacl not loaded");var t=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},r=t(),n=t([1]),i=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),o=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function s(e){var t,r;for(r=0;r<16;r++)e[r]+=65536,t=Math.floor(e[r]/65536),e[(r+1)*(r<15?1:0)]+=t-1+37*(t-1)*(15===r?1:0),e[r]-=65536*t}function a(e,t,r){for(var n,i=~(r-1),o=0;o<16;o++)n=i&(e[o]^t[o]),e[o]^=n,t[o]^=n}function c(e,t,r){var n;for(n=0;n<16;n++)e[n]=t[n]+r[n]|0}function u(e,t,r){var n;for(n=0;n<16;n++)e[n]=t[n]-r[n]|0}function l(e,t,r){var n,i,o=new Float64Array(31);for(n=0;n<31;n++)o[n]=0;for(n=0;n<16;n++)for(i=0;i<16;i++)o[n+i]+=t[n]*r[i];for(n=0;n<15;n++)o[n]+=38*o[n+16];for(n=0;n<16;n++)e[n]=o[n];s(e),s(e)}function d(e,t){l(e,t,t)}function h(e,r){var n,i,o,c=t(),u=t();for(n=0;n<16;n++)u[n]=r[n];for(s(u),s(u),s(u),i=0;i<2;i++){for(c[0]=u[0]-65517,n=1;n<15;n++)c[n]=u[n]-65535-(c[n-1]>>16&1),c[n-1]&=65535;c[15]=u[15]-32767-(c[14]>>16&1),o=c[15]>>16&1,c[14]&=65535,a(u,c,1-o)}for(n=0;n<16;n++)e[2*n]=255&u[n],e[2*n+1]=u[n]>>8}function f(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return h(r,e),h(n,t),function(e,t,r,n){return function(e,t,r,n,i){var o,s=0;for(o=0;o<i;o++)s|=e[t+o]^r[n+o];return(1&s-1>>>8)-1}(e,t,r,n,32)}(r,0,n,0)}function p(e,s){var a=t(),p=t(),g=t(),y=t(),m=t(),b=t(),w=t();return function(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}(e[2],n),function(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}(e[1],s),d(g,e[1]),l(y,g,i),u(g,g,e[2]),c(y,e[2],y),d(m,y),d(b,m),l(w,b,m),l(a,w,g),l(a,a,y),function(e,r){var n,i=t();for(n=0;n<16;n++)i[n]=r[n];for(n=250;n>=0;n--)d(i,i),1!==n&&l(i,i,r);for(n=0;n<16;n++)e[n]=i[n]}(a,a),l(a,a,g),l(a,a,y),l(a,a,y),l(e[0],a,y),d(p,e[0]),l(p,p,y),f(p,g)&&l(e[0],e[0],o),d(p,e[0]),l(p,p,y),f(p,g)?-1:(function(e){var t=new Uint8Array(32);return h(t,e),1&t[0]}(e[0])===s[31]>>7&&u(e[0],r,e[0]),l(e[3],e[0],e[1]),0)}function g(e){var r=new Uint8Array(32),i=[t(),t(),t(),t()],o=t(),s=t();if(p(i,e))return null;var a=i[1];return c(o,n,a),u(s,n,a),function(e,r){var n,i=t();for(n=0;n<16;n++)i[n]=r[n];for(n=253;n>=0;n--)d(i,i),2!==n&&4!==n&&l(i,i,r);for(n=0;n<16;n++)e[n]=i[n]}(s,s),l(o,o,s),h(r,o),r}function y(t){var r,n=new Uint8Array(64),i=new Uint8Array(32);for(e.lowlevel.crypto_hash(n,t,32),n[0]&=248,n[31]&=127,n[31]|=64,r=0;r<32;r++)i[r]=n[r];for(r=0;r<64;r++)n[r]=0;return i}return{convertPublicKey:g,convertSecretKey:y,convertKeyPair:function(e){var t=g(e.publicKey);return t?{publicKey:t,secretKey:y(e.secretKey)}:null}}}))})),WLe=W((e=>{"use strict";function t(e,t){return e??t()}function r(e){let t,r=e[0],n=1;for(;n<e.length;){let i=e[n],o=e[n+1];if(n+=2,("optionalAccess"===i||"optionalCall"===i)&&null==r)return;"access"===i||"optionalAccess"===i?(t=r,r=o(r)):("call"===i||"optionalCall"===i)&&(r=o(((...e)=>r.call(t,...e))),t=void 0)}return r}m(),Object.defineProperty(e,"__esModule",{value:!0});var n,i=h7();n=i,Object.keys(n).filter((e=>"default"!==e&&"__esModule"!==e)).forEach((t=>{e.hasOwnProperty(t)||Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>n[t]})}));var o=Nr(),s=class e extends o.Serializable{constructor({address:e,publicKey:t,ansName:r}){super(),this.address=o.AccountAddress.from(e),this.publicKey=t,this.ansName=r}serialize(e){if(this.address.serialize(e),this.publicKey instanceof o.Ed25519PublicKey)e.serializeU32AsUleb128(o.SigningScheme.Ed25519);else if(this.publicKey instanceof o.MultiEd25519PublicKey)e.serializeU32AsUleb128(o.SigningScheme.MultiEd25519);else if(this.publicKey instanceof o.AnyPublicKey)e.serializeU32AsUleb128(o.SigningScheme.SingleKey);else{if(!(this.publicKey instanceof o.MultiKey))throw new Error("Unsupported public key");e.serializeU32AsUleb128(o.SigningScheme.MultiKey)}this.publicKey.serialize(e),e.serializeStr(t(this.ansName,(()=>"")))}static deserialize(t){let r,n=o.AccountAddress.deserialize(t),i=t.deserializeUleb128AsU32();switch(i){case o.SigningScheme.Ed25519:r=o.Ed25519PublicKey.deserialize(t);break;case o.SigningScheme.MultiEd25519:r=o.MultiEd25519PublicKey.deserialize(t);break;case o.SigningScheme.SingleKey:r=o.AnyPublicKey.deserialize(t);break;case o.SigningScheme.MultiKey:r=o.MultiKey.deserialize(t);break;default:throw new Error(`Unknown variant index for WrappedPublicKey: ${i}`)}let s=t.deserializeStr()||void 0;return new e({address:n,publicKey:r,ansName:s})}},a="aptos:devnet",c=e.APTOS_TESTNET_CHAIN="aptos:testnet",u=e.APTOS_LOCALNET_CHAIN="aptos:localnet",l=e.APTOS_MAINNET_CHAIN="aptos:mainnet",d=e.APTOS_CHAINS=[a,c,u,l],h=["aptos:account","aptos:connect","aptos:disconnect","aptos:network","aptos:onAccountChange","aptos:onNetworkChange","aptos:signMessage","aptos:signTransaction"];function f(e,t=[]){return[...h,...t].every((t=>t in e.features))}var p=(e=>(e[e.Unauthorized=4100]="Unauthorized",e[e.Unsupported=4200]="Unsupported",e[e.InternalError=-30001]="InternalError",e))(p||{}),g=e.AptosWalletErrors=Object.freeze({4100:{status:"Unauthorized",message:"The requested method and/or account has not been authorized by the user."},[-30001]:{status:"Internal error",message:"Something went wrong within the wallet."},4200:{status:"Unsupported",message:"The requested feature is not supported."}}),y=e.AptosWalletError=class e extends Error{constructor(n,i){super(t(t(i,(()=>r([g,"access",e=>e[n],"optionalAccess",e=>e.message]))),(()=>"Unknown error occurred"))),this.code=n,this.status=t(r([g,"access",e=>e[n],"optionalAccess",e=>e.status]),(()=>"Unknown error")),this.name="AptosWalletError",Object.setPrototypeOf(this,e.prototype)}},b=(e=>(e.APPROVED="Approved",e.REJECTED="Rejected",e))(b||{});e.APTOS_CHAINS=d,e.APTOS_DEVNET_CHAIN=a,e.APTOS_LOCALNET_CHAIN=u,e.APTOS_MAINNET_CHAIN=l,e.APTOS_TESTNET_CHAIN=c,e.AccountInfo=s,e.AptosChangeNetworkNamespace="aptos:changeNetwork",e.AptosConnectNamespace="aptos:connect",e.AptosDisconnectNamespace="aptos:disconnect",e.AptosGetAccountNamespace="aptos:account",e.AptosGetNetworkNamespace="aptos:network",e.AptosOnAccountChangeNamespace="aptos:onAccountChange",e.AptosOnNetworkChangeNamespace="aptos:onNetworkChange",e.AptosOpenInMobileAppNamespace="aptos:openInMobileApp",e.AptosSignAndSubmitTransactionNamespace="aptos:signAndSubmitTransaction",e.AptosSignInNamespace="aptos:signIn",e.AptosSignMessageNamespace="aptos:signMessage",e.AptosSignTransactionNamespace="aptos:signTransaction",e.AptosWalletError=y,e.AptosWalletErrorCode=p,e.AptosWalletErrors=g,e.UserResponseStatus=b,e.getAptosWallets=function(){let{get:e,on:t}=i.getWallets.call(void 0),r=e(),n=[];return r.map((e=>{f(e)&&n.push(e)})),{aptosWallets:n,on:t}},e.isWalletWithRequiredFeatureSet=f})),yFe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(e){let t=atob(e);return Uint8Array.from(t,(e=>e.charCodeAt(0)))}function u(e){let t=String.fromCharCode(...e);return btoa(t)}function l(e){return c(e.replace(/-/g,"+").replace(/_/g,"/"))}function d(e){return u(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{ConnectRequest:()=>L,ConnectResponse:()=>te,DisconnectRequest:()=>re,DisconnectResponse:()=>ne,EntryFunctionArgumentVariant:()=>N,GetConnectedAccountsRequest:()=>le,GetConnectedAccountsResponse:()=>de,IsConnectedRequest:()=>he,IsConnectedResponse:()=>fe,PromptApprovalResponseMessage:()=>xe,PromptConnectionRequestMessage:()=>Me,PromptConnectionResponseMessage:()=>ke,PromptUnauthorizedErrorMessage:()=>Re,SignAndSubmitTransactionRequest:()=>ge,SignAndSubmitTransactionResponse:()=>ye,SignInRequest:()=>ie,SignInResponse:()=>ue,SignMessageRequest:()=>be,SignMessageResponse:()=>we,SignTransactionRequest:()=>Ae,SignTransactionResponse:()=>Te,TransactionPayloadInputVariant:()=>F,base64ToBytes:()=>c,base64urlToBytes:()=>l,bytesToBase64:()=>u,bytesToBase64url:()=>d,chainIdToNetwork:()=>f,decodePopupWalletRequest:()=>Fe,decodeWalletRequestBody:()=>Le,deserializeAccountAuthenticatorInput:()=>v,deserializeAccountInfo:()=>I,deserializeAccountInput:()=>P,deserializeDappInfo:()=>B,deserializeEntryFunctionArgument:()=>_,deserializePublicKey:()=>C,deserializeSignature:()=>W,deserializeTransactionPayloadInput:()=>q,deserializeWalletRequest:()=>Y,deserializeWalletRequestWithArgs:()=>Q,deserializeWalletResponse:()=>ae,encodePopupWalletRequest:()=>ze,encodeWalletRequestBody:()=>We,isSupportedNetwork:()=>p,isTypedMessage:()=>Se,makePopupWalletRequestChallenge:()=>Ke,makeUserApproval:()=>Z,makeUserResponseDeserializeFn:()=>ee,makeUserResponseSerializeFn:()=>$,serializeAccountAuthenticatorInput:()=>w,serializeAccountInfo:()=>S,serializeAccountInput:()=>M,serializeDappInfo:()=>k,serializeEntryFunctionArgument:()=>R,serializePublicKey:()=>T,serializeSignature:()=>D,serializeTransactionPayloadInput:()=>V,serializeWalletRequest:()=>J,serializeWalletRequestWithArgs:()=>X,serializeWalletResponse:()=>se,urlDecodeWalletRequest:()=>Ue,urlEncodeWalletRequest:()=>_e}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var h=Nr();function f(e){switch(e){case h.NetworkToChainId.mainnet:return h.Network.MAINNET;case h.NetworkToChainId.testnet:return h.Network.TESTNET;default:return h.Network.DEVNET}}function p(e){return[h.Network.MAINNET,h.Network.TESTNET,h.Network.DEVNET].includes(e)}var g=Nr(),y=Nr(),b=Nr();function w(e,t){e.serialize(t.address),e.serialize(t.authenticator)}function v(e){return{address:e.deserialize(b.AccountAddress),authenticator:e.deserialize(b.AccountAuthenticator)}}var A=Nr(),E=Nr();function T(e,t){if(t instanceof E.Ed25519PublicKey)e.serializeU32AsUleb128(E.SigningScheme.Ed25519);else if(t instanceof E.MultiEd25519PublicKey)e.serializeU32AsUleb128(E.SigningScheme.MultiEd25519);else if(t instanceof E.AnyPublicKey)e.serializeU32AsUleb128(E.SigningScheme.SingleKey);else{if(!(t instanceof E.MultiKey))throw new Error("Unexpected public key type");e.serializeU32AsUleb128(E.SigningScheme.MultiKey)}e.serialize(t)}function C(e){let t=e.deserializeUleb128AsU32();switch(t){case E.SigningScheme.Ed25519:return e.deserialize(E.Ed25519PublicKey);case E.SigningScheme.MultiEd25519:return e.deserialize(E.MultiEd25519PublicKey);case E.SigningScheme.SingleKey:return e.deserialize(E.AnyPublicKey);case E.SigningScheme.MultiKey:return e.deserialize(E.MultiKey);default:throw new Error(`Unknown signing scheme: ${t}`)}}function S(e,t){e.serialize(t.address),T(e,t.publicKey),e.serializeStr(t.name??"")}function I(e){let t=e.deserialize(A.AccountAddress),r=C(e),n=e.deserializeStr();return{address:t,publicKey:r,...n.length>0?{name:n}:void 0}}var O=Nr();function M(e,t){e.serialize(t.address),e.serializeBool(void 0!==t.publicKey),t.publicKey&&T(e,t.publicKey)}function P(e){return{address:e.deserialize(O.AccountAddress),publicKey:e.deserializeBool()?C(e):void 0}}function k(e,t){e.serializeStr(t.domain),e.serializeStr(t.name),e.serializeBool(void 0!==t.imageURI),void 0!==t.imageURI&&e.serializeStr(t.imageURI)}function B(e){let t=e.deserializeStr(),r=e.deserializeStr();return{domain:t,imageURI:e.deserializeBool()?e.deserializeStr():void 0,name:r}}var x=Nr(),N=(e=>(e[e.Undefined=0]="Undefined",e[e.Array=1]="Array",e[e.String=2]="String",e[e.Uint8Array=3]="Uint8Array",e[e.AccountAddress=4]="AccountAddress",e[e.FixedBytes=5]="FixedBytes",e))(N||{});function R(e,t){if(null!=t)if(Array.isArray(t)){e.serializeU32AsUleb128(1),e.serializeU32AsUleb128(t.length);for(let r of t)R(e,r)}else{if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return e.serializeU32AsUleb128(2),void e.serializeStr(t.toString());if(t instanceof Uint8Array)return e.serializeU32AsUleb128(3),void e.serializeBytes(t);if(t instanceof ArrayBuffer)return e.serializeU32AsUleb128(3),void e.serializeBytes(new Uint8Array(t));if(!("values"in t))return"data"in t?(e.serializeU32AsUleb128(4),void e.serialize(t)):void 0===t.value?(e.serializeU32AsUleb128(0),void e.serialize(t)):t.value instanceof Uint8Array?(e.serializeU32AsUleb128(5),void e.serializeBytes(t.value)):(e.serializeU32AsUleb128(2),void e.serializeStr(t.value.toString()));e.serializeU32AsUleb128(1),e.serializeU32AsUleb128(t.values.length);for(let r of t.values)R(e,r)}else e.serializeU32AsUleb128(0)}function _(e){switch(e.deserializeUleb128AsU32()){case 0:return;case 1:{let t=e.deserializeUleb128AsU32(),r=[];for(let n=0;n<t;n+=1){let t=_(e);r.push(t)}return r}case 3:return e.deserializeBytes();case 4:return e.deserialize(x.AccountAddress);case 2:return e.deserializeStr();case 5:{let t=e.deserializeBytes();return new x.FixedBytes(t)}default:throw new Error("Unexpected variant")}}var U=Nr();function D(e,t){if(t instanceof U.Ed25519Signature)e.serializeU32AsUleb128(U.SigningScheme.Ed25519);else if(t instanceof U.MultiEd25519Signature)e.serializeU32AsUleb128(U.SigningScheme.MultiEd25519);else{if(!(t instanceof U.AnySignature))throw new Error("Unexpected signature type");e.serializeU32AsUleb128(U.SigningScheme.SingleKey)}e.serialize(t)}function W(e){let t=e.deserializeUleb128AsU32();switch(t){case U.SigningScheme.Ed25519:return e.deserialize(U.Ed25519Signature);case U.SigningScheme.MultiEd25519:return e.deserialize(U.MultiEd25519Signature);case U.SigningScheme.SingleKey:return e.deserialize(U.AnySignature);default:throw new Error(`Unknown signing scheme: ${t}`)}}var L,z=Nr(),F=(e=>(e[e.EntryFunction=0]="EntryFunction",e[e.Script=1]="Script",e[e.Multisig=2]="Multisig",e))(F||{});function K(e,t){e.serializeU32AsUleb128(t.length);for(let r of t){let t="string"==typeof r?(0,z.parseTypeTag)(r,{allowGenerics:!0}):r;e.serialize(t)}}function j(e){let t=[],r=e.deserializeUleb128AsU32();for(let n=0;n<r;n+=1){let r=e.deserialize(z.TypeTag);t.push(r)}return t}function H(e,t){e.serializeU32AsUleb128(t.length);for(let r of t)R(e,r)}function G(e){let t=e.deserializeUleb128AsU32(),r=[];for(let n=0;n<t;n+=1){let t=_(e);r.push(t)}return r}function V(e,t){if("multisigAddress"in t){e.serializeU32AsUleb128(2),e.serializeStr(t.function),H(e,t.functionArguments),K(e,t.typeArguments??[]);let r=z.AccountAddress.from(t.multisigAddress);e.serialize(r)}else if("function"in t)e.serializeU32AsUleb128(0),e.serializeStr(t.function),H(e,t.functionArguments),K(e,t.typeArguments??[]);else{e.serializeU32AsUleb128(1);let r=z.Hex.fromHexInput(t.bytecode);e.serializeBytes(r.toUint8Array()),e.serializeU32AsUleb128(t.functionArguments.length);for(let r of t.functionArguments)r.serializeForScriptFunction(e);K(e,t.typeArguments??[])}}function q(e){switch(e.deserializeUleb128AsU32()){case 2:{let t=e.deserializeStr(),r=G(e),n=j(e);return{function:t,functionArguments:r,multisigAddress:e.deserialize(z.AccountAddress),typeArguments:n}}case 0:return{function:e.deserializeStr(),functionArguments:G(e),typeArguments:j(e)};case 1:{let t=e.deserializeBytes(),r=e.deserializeUleb128AsU32(),n=[];for(let t=0;t<r;t+=1){let t=(0,z.deserializeFromScriptArgument)(e);n.push(t)}return{bytecode:t,functionArguments:n,typeArguments:j(e)}}default:throw new Error("Unexpected variant")}}function J({dappInfo:e,name:t,version:r}){let n=new y.Serializer;return k(n,e),{data:n.toUint8Array(),name:t,version:r}}function Y({data:e,name:t,version:r}){return{dappInfo:B(new y.Deserializer(e)),name:t,version:r}}function X({args:e,dappInfo:t,name:r,version:n},i){let o=new y.Serializer;return k(o,t),i(o,e),{data:o.toUint8Array(),name:r,version:n}}function Q({data:e,name:t,version:r},n){let i=new y.Deserializer(e),o=B(i);return{args:n(i),dappInfo:o,name:t,version:r}}function Z(e){return{args:e,status:"approved"}}function $(e){return(t,r)=>{t.serializeBool("approved"===r.status),"approved"===r.status&&e(t,r.args)}}function ee(e){return t=>t.deserializeBool()?{args:e(t),status:"approved"}:{status:"dismissed"}}(e=>{function t(e,t){if(e.serializeOptionStr(t.dappId),e.serializeOptionStr(t.dappEd25519PublicKeyB64),e.serializeOptionStr(t.preferredWalletName),e.serializeBool(void 0!==t.claimOptions),t.claimOptions&&(e.serialize(t.claimOptions.secretKey),e.serializeStr(t.claimOptions.network),e.serializeOptionStr(t.claimOptions.asset),!p(t.claimOptions.network)))throw new Error(`Unsupported network '${t.claimOptions.network}'`)}function r(e,t){if(1===t)return{};let r,n=e.deserializeOption("string"),i=e.deserializeOption("string"),o=t>=3?e.deserializeOption("string"):void 0;if(t>=4&&e.deserializeBool()){let t=e.deserialize(g.Ed25519PrivateKey),n=e.deserializeStr(),i=e.deserializeOption("string");if(!p(n))throw new Error(`Unsupported network '${n}'`);r={asset:i,network:n,secretKey:t}}return{claimOptions:r,dappEd25519PublicKeyB64:i,dappId:n,preferredWalletName:o}}e.name="connect",e.supportedVersions=[1,2,3,4],e.currentVersion=4,e.serializeArgs=t,e.deserializeArgs=r,e.serialize=function(r,n={}){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>r(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(L||(L={}));var te,re,ne,ie,oe=Nr();function se(e,t){let r=new oe.Serializer;return t(r,e),{data:r.toUint8Array()}}function ae({data:e},t){return{args:t(new oe.Deserializer(e))}}function ce(e){return JSON.parse(e.deserializeStr())}(e=>{e.supportedVersions=[1,2],e.currentVersion=2;let t=$((function(e,t){S(e,t.account)})),r=$((function(e,t){S(e,t.account),e.serializeOptionStr(void 0!==t.pairing?JSON.stringify(t.pairing):void 0)})),n=ee((function(e){let t=I(e),r=e.deserializeOption("string");return{account:t,pairing:void 0!==r?JSON.parse(r):void 0}}));e.serialize=function(n,i=e.currentVersion){return se(n,1===i?t:r)},e.deserialize=function(e){return ae(e,n)}})(te||(te={})),(e=>{e.name="disconnect",e.currentVersion=1,e.serialize=function(t){return J({dappInfo:t,name:e.name,version:e.currentVersion})},e.deserialize=function(e){return Y(e)},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(re||(re={})),(e=>{e.serialize=function(e){return se(e,(()=>{}))},e.deserialize=function(e){return ae(e,(()=>({})))}})(ne||(ne={})),(e=>{function t(e,t){if(void 0!==t.network&&!p(t.network))throw new Error(`Unsupported network '${t.network}' in SignInRequest.serializeArgs`);(function(e,t){e.serializeStr(JSON.stringify(t))})(e,t),e.serializeStr(t.network)}function r(e,t){return{...ce(e),network:e.deserializeStr()}}e.name="signIn",e.supportedVersions=[1,2],e.currentVersion=2,e.serializeArgs=t,e.deserializeArgs=r,e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>r(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(ie||(ie={}));var ue,le,de,he,fe,pe=WLe();(e=>{e.supportedVersions=[1,2],e.currentVersion=2;let t=$((function(e,t){!function(e,t){S(e,t.account),e.serializeStr(JSON.stringify(t.input)),e.serializeStr(t.plainText),D(e,t.signature),e.serializeBytes(t.signingMessage),e.serializeStr(t.type)}(e,t)})),r=$((function(e,t){!function(e,t){S(e,t.account),e.serializeStr(JSON.stringify(t.input)),D(e,t.signature),e.serializeStr(t.type)}(e,t)})),n=ee((function(e){return function(e){return{account:new pe.AccountInfo(I(e)),input:JSON.parse(e.deserializeStr()),plainText:e.deserializeStr(),signature:W(e),signingMessage:e.deserializeBytes(),type:e.deserializeStr()}}(e)})),i=ee((function(e){return function(e){return{account:new pe.AccountInfo(I(e)),input:JSON.parse(e.deserializeStr()),signature:W(e),type:e.deserializeStr()}}(e)}));e.serialize=function(n,i=e.currentVersion){return se(n,1===i?t:r)},e.deserialize=function(t,r=e.currentVersion){return ae(t,1===r?n:i)}})(ue||(ue={})),(e=>{e.name="getConnectedAccounts",e.currentVersion=1,e.serialize=function(t){return J({dappInfo:t,name:e.name,version:e.currentVersion})},e.deserialize=function(e){return Y(e)},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(le||(le={})),(e=>{function t(e,t){e.serializeU32AsUleb128(t.length);for(let r of t)S(e,r)}function r(e){let t=e.deserializeUleb128AsU32(),r=[];for(let n=0;n<t;n+=1)r.push(I(e));return r}e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(de||(de={})),(e=>{e.name="isConnected",e.currentVersion=1,e.serialize=function(t){return J({dappInfo:t,name:e.name,version:e.currentVersion})},e.deserialize=function(e){return Y(e)},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(he||(he={})),(e=>{function t(e,t){e.serializeBool(t)}function r(e){return e.deserializeBool()}e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(fe||(fe={}));var ge,ye,me=Nr();(e=>{function t(e,t){if(void 0!==t.network&&!p(t.network))throw new Error(`Unsupported network '${t.network}'`);e.serializeBool(void 0!==t.signerAddress),void 0!==t.signerAddress&&e.serialize(t.signerAddress),e.serializeOptionStr(t.network),"bcsToBytes"in t.payload?(e.serializeBool(!0),e.serialize(t.payload)):(e.serializeBool(!1),V(e,t.payload)),e.serializeU64(t.expirationTimestamp??0),e.serializeU32AsUleb128(t.gasUnitPrice??0),e.serializeU32AsUleb128(t.maxGasAmount??0),e.serializeU32AsUleb128(t.feePayer?1:0),t.feePayer&&w(e,t.feePayer)}function r(e,t){let r=t>=3&&e.deserializeBool()?e.deserialize(me.AccountAddress):void 0,n=1===t?e.deserializeStr():e.deserializeOption("string");if(void 0!==n&&!p(n))throw new Error(`Unsupported network '${n}'`);let i=1===t||e.deserializeBool()?e.deserialize(me.TransactionPayload):q(e),o=Number(e.deserializeU64()),s=e.deserializeUleb128AsU32(),a=e.deserializeUleb128AsU32();return{expirationTimestamp:o>0?o:void 0,feePayer:e.deserializeUleb128AsU32()?v(e):void 0,gasUnitPrice:s>0?s:void 0,maxGasAmount:a>0?a:void 0,network:n,payload:i,signerAddress:r}}e.name="signAndSubmitTransaction",e.supportedVersions=[1,2,3],e.currentVersion=3,e.serializeArgs=t,e.deserializeArgs=r,e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>r(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(ge||(ge={})),(e=>{let t=$((function(e,t){e.serializeStr(t.txnHash)})),r=ee((function(e){return{txnHash:e.deserializeStr()}}));e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(ye||(ye={}));var be,we,ve=Nr();(e=>{function t(e,t){e.serializeBool(void 0!==t.signerAddress),void 0!==t.signerAddress&&e.serialize(t.signerAddress),e.serializeU8(t.chainId),e.serializeBytes(t.nonce),e.serializeBytes(t.message)}e.name="signMessage",e.supportedVersions=[1,2],e.currentVersion=2,e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>function(e,t){let r=t>=2&&e.deserializeBool()?e.deserialize(ve.AccountAddress):void 0,n=e.deserializeU8(),i=e.deserializeBytes();return{chainId:n,message:e.deserializeBytes(),nonce:i,signerAddress:r}}(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(be||(be={})),(e=>{let t=$((function(e,t){e.serializeStr(t.fullMessage),D(e,t.signature)})),r=ee((function(e){return{fullMessage:e.deserializeStr(),signature:W(e)}}));e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(we||(we={}));var Ae,Ee=Nr();(e=>{function t(e,t){if(void 0!==t.network&&!p(t.network))throw new Error(`Unsupported network '${t.network}'`);e.serializeBool(void 0!==t.signerAddress),void 0!==t.signerAddress&&e.serialize(t.signerAddress),e.serializeOptionStr(t.network),e.serializeBool(void 0!==t.sender),void 0!==t.sender&&M(e,t.sender),"bcsToBytes"in t.payload?(e.serializeBool(!0),e.serialize(t.payload)):(e.serializeBool(!1),V(e,t.payload)),e.serializeU32AsUleb128(t.expirationSecondsFromNow??0),e.serializeU64(t.expirationTimestamp??0),e.serializeU32AsUleb128(t.gasUnitPrice??0),e.serializeU32AsUleb128(t.maxGasAmount??0),e.serializeBool(void 0!==t.feePayer),void 0!==t.feePayer&&M(e,t.feePayer);let r=t.secondarySigners??[];e.serializeU32AsUleb128(r.length);for(let t of r)M(e,t)}e.name="signTransaction",e.supportedVersions=[1,2,3,4],e.currentVersion=4,e.normalizeArgs=function(e){let{feePayer:t,secondarySigners:r,senderPublicKey:n,signerAddress:i,transaction:o}=e,s={address:o.sender,publicKey:n},a=f(e.transaction.chain_id.chainId);return{expirationTimestamp:Number(o.expiration_timestamp_secs),feePayer:t,gasUnitPrice:Number(o.gas_unit_price),maxGasAmount:Number(o.max_gas_amount),network:a,payload:o.payload,secondarySigners:r,sender:s,signerAddress:i}},e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>function(e,t){let r=t>=3&&e.deserializeBool()?e.deserialize(Ee.AccountAddress):void 0,n=1===t?e.deserializeStr():e.deserializeOption("string");if(void 0!==n&&!p(n))throw new Error(`Unsupported network '${n}'`);let i=e.deserializeBool()?P(e):void 0,o=t<4||e.deserializeBool()?e.deserialize(Ee.TransactionPayload):q(e),s=e.deserializeUleb128AsU32(),a=Number(e.deserializeU64()),c=e.deserializeUleb128AsU32(),u=e.deserializeUleb128AsU32(),l=e.deserializeBool()?P(e):void 0,d=e.deserializeUleb128AsU32(),h=[];for(let t=0;t<d;t+=1)h.push(P(e));return{expirationSecondsFromNow:s>0?s:void 0,expirationTimestamp:a>0?a:void 0,feePayer:l,gasUnitPrice:c>0?c:void 0,maxGasAmount:u>0?u:void 0,network:n,payload:o,secondarySigners:h,sender:i,signerAddress:r}}(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(Ae||(Ae={}));var Te,Ce=Nr();function Se(e,t){return t?.__messageType===e.TYPE}(e=>{let t=$((function(e,t){e.serialize(t.authenticator),e.serializeBool(void 0!==t.rawTransaction),void 0!==t.rawTransaction&&e.serialize(t.rawTransaction)})),r=ee((function(e){return{authenticator:e.deserialize(Ce.AccountAuthenticator),rawTransaction:e.deserializeBool()?e.deserialize(Ce.RawTransaction):void 0}}));e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(Te||(Te={}));var Ie=Nr(),Oe=class e{constructor(){this.__messageType=e.TYPE}};Oe.TYPE="PromptConnectionRequest";var Me=Oe,Pe=class e{constructor(t){this.serializedRequest=t,this.__messageType=e.TYPE}};Pe.TYPE="PromptConnectionResponse";var ke=Pe,Be=class e{constructor(t){this.serializedValue=t,this.__messageType=e.TYPE}};Be.TYPE="PromptApprovalResponse";var xe=Be,Ne=class e{constructor(){this.__messageType=e.TYPE}};Ne.TYPE="PromptUnauthorizedError";var Re=Ne;function _e(e){let t=new Ie.Serializer;return t.serializeStr(e.name),t.serializeBytes(e.data),t.serializeStr(e.version.toString()),u(t.toUint8Array())}function Ue(e){let t,r=new Ie.Deserializer(c(e)),n=r.deserializeStr(),i=r.deserializeBytes();try{t=Number(r.deserializeStr())}catch{t=1}return{data:i,name:n,version:t}}var De=Nr();function We({data:e,...t}){let r=JSON.stringify({data:e,...t},((e,t)=>"data"===e?u(t):t));return u((new TextEncoder).encode(r))}function Le(e){let t=c(e),r=(new TextDecoder).decode(t);return JSON.parse(r,((e,t)=>"data"===e?c(t):t))}function ze(e){let t=JSON.stringify(e,((e,t)=>{switch(e){case"body":return We(t);case"clientIdentityKey":case"signature":return u(t.toUint8Array());default:return t}}));return d((new TextEncoder).encode(t))}function Fe(e){let t=l(e),r=(new TextDecoder).decode(t);return JSON.parse(r,((e,t)=>{switch(e){case"body":return Le(t);case"clientIdentityKey":return new De.Ed25519PublicKey(c(t));case"signature":return new De.Ed25519Signature(c(t));default:return t}}))}function Ke({accountAddress:e,body:t,id:r,timestamp:n}){let i=new De.Serializer;return i.serializeStr("SignedPopupWalletRequest"),i.serializeStr(r),i.serializeU64(n),i.serializeBool(void 0!==e),void 0!==e&&i.serialize(De.AccountAddress.from(e)),i.serializeStr(t.name),i.serializeU8(t.version),i.serializeBytes(t.data),i.toUint8Array()}})),B5=W(((e,t)=>{"use strict";m();var r,n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of s(t))!c.call(e,a)&&a!==r&&i(e,a,{get:()=>t[a],enumerable:!(n=o(t,a))||n.enumerable});return e},l=(e,t,r)=>(r=null!=e?n(a(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),d={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(d,{AccountConnectionAction:()=>Ee,DecryptionError:()=>w,EncryptionEnvelopeError:()=>y,EnvelopeMessageMismatchError:()=>b,KeyTypes:()=>A,REQUIRED_FIELDS:()=>te,SIGNATURE_PREFIX:()=>N,aptosAccountToEd25519Keypair:()=>O,aptosAccountToSerializedInfo:()=>Se,concatUint8array:()=>x,constructMetadata:()=>se,convertEd25519PublicKeyToX25519PublicKey:()=>R,convertEd25519SecretKeyToX25519SecretKey:()=>_,createEd25519KeyPair:()=>T,createSerializedAccountInfo:()=>Ce,createX25519KeyPair:()=>E,dangerouslyEncryptAndSignEnvelopeUnvalidated:()=>ae,decodeBase64:()=>k,decryptEnvelope:()=>le,decryptMessage:()=>H,decryptMessageDirect:()=>G,decryptObject:()=>V,decryptObjectDirect:()=>q,decryptSerializedEncryptionResult:()=>W,decryptSerializedEncryptionResultDirect:()=>L,deriveAccountTransportEd25519Keypair:()=>Te,deserializeEd25519PublicKeyB64:()=>ge,deserializeEd25519SignatureB64:()=>be,deserializeEncryptionResult:()=>D,deserializePublicKeyB64:()=>pe,deserializeSignatureB64:()=>me,deserializeTransportEnvelope:()=>ie,ed25519KeypairFromSecret:()=>M,encodeBase64:()=>B,encryptAndSignEnvelope:()=>oe,encryptMessage:()=>z,encryptMessageDirect:()=>F,encryptObject:()=>K,encryptObjectDirect:()=>j,ensureMetadataFields:()=>ne,ensurePrivatePublicFieldsDisjoint:()=>re,hashAndVerifySignature:()=>Z,keypairToEd25519:()=>S,keypairToX25519:()=>I,makeEd25519SecretKeySignCallbackNoDomainSeparation:()=>X,messageHash:()=>J,publicKeyB64FromEd25519PublicKeyB64:()=>we,serializeEncryptionResult:()=>U,serializePublicKeyB64:()=>fe,serializeSignatureB64:()=>ye,signWithEd25519SecretKey:()=>Y,toKey:()=>C,verifyEnvelopeSignature:()=>ue,verifySignature:()=>Q}),t.exports=(r=d,u(i({},"__esModule",{value:!0}),r));var h=Nr(),f=K3(),p=l(oh()),g=l(OLe()),y=class extends Error{},b=class e extends y{constructor(t,r){super(t),this.field=r,this.name="EnvelopeMessageMismatchError",Object.setPrototypeOf(this,e.prototype)}},w=class e extends y{constructor(t){super(t),this.name="DecryptionError",Object.setPrototypeOf(this,e.prototype)}},v=l(oh()),A=(e=>(e.Ed25519PublicKey="Ed25519PublicKey",e.Ed25519SecretKey="Ed25519SecretKey",e.X25519PublicKey="X25519PublicKey",e.X25519SecretKey="X25519SecretKey",e))(A||{});function E(){return I(v.default.box.keyPair())}function T(){return S(v.default.sign.keyPair())}function C(e,t){return{key:e,type:t}}function S(e){return{publicKey:C(e.publicKey,"Ed25519PublicKey"),secretKey:C(e.secretKey,"Ed25519SecretKey")}}function I(e){return{publicKey:C(e.publicKey,"X25519PublicKey"),secretKey:C(e.secretKey,"X25519SecretKey")}}function O(e){return M(e.signingKey.secretKey)}function M(e){return S(v.default.sign.keyPair.fromSeed(e.slice(0,32)))}function k(e){return globalThis.Buffer?new Uint8Array(P.Buffer.from(e,"base64")):Uint8Array.from(atob(e),(e=>e.codePointAt(0)))}function B(e){return globalThis.Buffer?P.Buffer.from(e).toString("base64"):btoa(Array.from(e,(e=>String.fromCodePoint(e))).join(""))}function x(e,t){let r=new Uint8Array(e.length+t.length);return r.set(e),r.set(t,e.length),r}var N="APTOS::IDENTITY_CONNECT";function R(e,t){let r=g.default.convertPublicKey(e.key.slice(0,32));if(!r)throw new Error(`${t} is not a valid Ed25519 public key`);return C(r,"X25519PublicKey")}function _(e){return C(g.default.convertSecretKey(e.key.slice(0,32)),"X25519SecretKey")}function U(e){return{nonceB64:B(e.nonce),securedB64:B(e.secured)}}function D(e){return{nonce:k(e.nonceB64),secured:k(e.securedB64)}}function W(e,t,r){let n=D(r);return V(e,t,n.secured,n.nonce)}function L(e,t,r){let n=D(r);return q(e,t,n.secured,n.nonce)}function z(e,t,r){return F(e,R(t,"receiver public key"),r)}function F(e,t,r){let n=p.default.randomBytes(p.default.box.nonceLength),i=(new TextEncoder).encode(r);return{nonce:n,secured:p.default.box(i,n,t.key,e.key.slice(0,32))}}function K(e,t,r){return j(e,R(t,"receiver public key"),r)}function j(e,t,r){return F(e,t,JSON.stringify(r))}function H(e,t,r,n){return G(e,_(t),r,n)}function G(e,t,r,n){let i;try{i=p.default.box.open(r,n,e.key.slice(0,32),t.key.slice(0,32))}catch(e){throw new w(`Could not decrypt message: ${e.message}`)}if(!i)throw new w("Could not decrypt message");return(new TextDecoder).decode(i)}function V(e,t,r,n){return q(e,_(t),r,n)}function q(e,t,r,n){let i=G(e,t,r,n);return JSON.parse(i)}function J(e,t){let r=new Uint8Array((0,f.sha3_256)(`${N}::${t}::`));return new Uint8Array((0,f.sha3_256)(x(r,e)))}function Y(e,t,r){return p.default.sign.detached(J(e,r),t.key)}function X(e){return async t=>new h.Ed25519Signature(p.default.sign.detached(t,e.key))}function Q(e,t,r,n){return r.verifySignature({message:J(e,n),signature:t})}function Z(e,t,r,n){let i=e instanceof Uint8Array?e:(new TextEncoder).encode(e);return Q((0,f.sha3_256)(i),t,r,n)}var $=Nr(),ee=K3(),te=["receiverEd25519PublicKeyB64","senderEd25519PublicKeyB64","senderX25519PublicKeyB64","sequence","timestampMillis"].sort();function re(e,t){let r=Object.keys(e).filter((e=>Object.keys(t).includes(e)));if(r.length>0){let e=r[0];throw new b(`Field ${e} appears in both private and public message fields`,e)}}function ne(e){let t=Object.keys(e).sort(),r=t.filter((e=>!te.includes(e))),n=te.filter((e=>!t.includes(e)));if(r.length>0||n.length>0){let e=r.length>0?`extra(${r.join(", ")})`:"",t=n.length>0?`missing(${n.join(", ")})`:"";throw e=e.length>0&&t.length>0?`${e}, `:e,new b(`PublicMessage metadata fields do not conform to spec: ${e}${t}`,"_metadata")}}function ie(e){let t=JSON.parse(e.serializedPublicMessage);return{...e,publicMessage:t}}function oe(e,t,r,n,i,o){let s=E(),a=se(t,r,n,s.publicKey);return ne(a),re(o,i),ae(e,r,a,o,i,s)}function se(e,t,r,n){return{receiverEd25519PublicKeyB64:B(t.key),senderEd25519PublicKeyB64:B(e.key),senderX25519PublicKeyB64:B(n.key),sequence:r,timestampMillis:Date.now()}}function ae(e,t,r,n,i,o){let s=U(K(o.secretKey,t,n)),a=k(s.securedB64),c=JSON.stringify({...i,_metadata:r}),u=function(e,t,r){let n=ce(e,t),i=Y(n,r,"SECURED_ENVELOPE");return $.Hex.fromHexInput(i).toString()}((new TextEncoder).encode(c),a,e);return{encryptedPrivateMessage:s,messageSignature:u,serializedPublicMessage:c}}function ce(e,t){let r=(0,ee.sha3_256)(e),n=(0,ee.sha3_256)(t),i=new Uint8Array(r.length+n.length);return i.set(r),i.set(n,r.length),(0,ee.sha3_256)(i)}function ue(e,t,r,n){let i=new $.Ed25519Signature($.Hex.fromHexInput(r).toUint8Array()),o=new $.Ed25519PublicKey(n.key);if(!Q(ce(e,t),i,o,"SECURED_ENVELOPE"))throw new b("Could not verify SecuredEnvelope signature","messageSignature")}function le(e,t,r){let{encryptedPrivateMessage:n,messageSignature:i,serializedPublicMessage:o}=r,s=JSON.parse(o),a=k(n.securedB64);if(ue((new TextEncoder).encode(o),a,i,e),B(e.key)!==s._metadata.senderEd25519PublicKeyB64)throw new b("senderEd25519PublicKey in envelope does not match provided receiverEd25519SecretKey","senderPublicKey");let c=C(k(s._metadata.senderX25519PublicKeyB64),"X25519PublicKey"),u=D(n),l=V(c,t,u.secured,u.nonce);return ne(s._metadata),re(l,s),{messageSignature:i,privateMessage:l,publicMessage:s}}var de=yFe(),he=Nr();function fe(e){let t=new he.Serializer;return(0,de.serializePublicKey)(t,e),(0,de.bytesToBase64)(t.toUint8Array())}function pe(e){let t=(0,de.base64ToBytes)(e),r=new he.Deserializer(t);return(0,de.deserializePublicKey)(r)}function ge(e){return new he.Ed25519PublicKey(k(e))}function ye(e){let t=new he.Serializer;return(0,de.serializeSignature)(t,e),(0,de.bytesToBase64)(t.toUint8Array())}function me(e){let t=(0,de.base64ToBytes)(e),r=new he.Deserializer(t);return(0,de.deserializeSignature)(r)}function be(e){let t=he.Hex.fromHexInput(e).toUint8Array();return new he.Ed25519Signature(t)}function we(e){return fe(ge(e))}var ve=Nr(),Ae=K3(),Ee=(e=>(e.ADD="add",e.REMOVE="remove",e))(Ee||{});function Te(e,t){let r=t instanceof ve.PublicKey?t.toUint8Array():t.key;if(e instanceof Function){let t=e(J(r,"TRANSPORT_KEYPAIR"));return t instanceof Promise?t.then((e=>M(e.toUint8Array()))):M(t.toUint8Array())}return M(Y(r,e,"TRANSPORT_KEYPAIR"))}function Ce(...[e,t,r,n,i,o]){let s=t.authKey(),a={accountAddress:o||s.derivedAddress().toString(),action:n,intentId:i,publicKeyB64:fe(t),timestampMillis:Date.now(),transportEd25519PublicKeyB64:B(r.key)},c=JSON.stringify(a),u=(new TextEncoder).encode(c),l=e(J((0,Ae.sha3_256)(u),"ACCOUNT_INFO"));return l instanceof Promise?l.then((e=>({accountInfoSerialized:c,signatureB64:ye(e)}))):{accountInfoSerialized:c,signatureB64:ye(l)}}async function Se(e,t){let r=async t=>e.sign(t),n=await Te(r,e.publicKey);return Ce(r,e.publicKey,n.publicKey,"add",t)}})),km=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(e){let t=atob(e);return Uint8Array.from(t,(e=>e.charCodeAt(0)))}function u(e){let t=String.fromCharCode(...e);return btoa(t)}function l(e){return c(e.replace(/-/g,"+").replace(/_/g,"/"))}function d(e){return u(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{ConnectRequest:()=>L,ConnectResponse:()=>te,DisconnectRequest:()=>re,DisconnectResponse:()=>ne,EntryFunctionArgumentVariant:()=>N,GetConnectedAccountsRequest:()=>le,GetConnectedAccountsResponse:()=>de,IsConnectedRequest:()=>he,IsConnectedResponse:()=>fe,PromptApprovalResponseMessage:()=>xe,PromptConnectionRequestMessage:()=>Me,PromptConnectionResponseMessage:()=>ke,PromptUnauthorizedErrorMessage:()=>Re,SignAndSubmitTransactionRequest:()=>ge,SignAndSubmitTransactionResponse:()=>ye,SignInRequest:()=>ie,SignInResponse:()=>ue,SignMessageRequest:()=>be,SignMessageResponse:()=>we,SignTransactionRequest:()=>Ae,SignTransactionResponse:()=>Te,TransactionPayloadInputVariant:()=>F,base64ToBytes:()=>c,base64urlToBytes:()=>l,bytesToBase64:()=>u,bytesToBase64url:()=>d,chainIdToNetwork:()=>f,decodePopupWalletRequest:()=>Fe,decodeWalletRequestBody:()=>Le,deserializeAccountAuthenticatorInput:()=>v,deserializeAccountInfo:()=>I,deserializeAccountInput:()=>P,deserializeDappInfo:()=>B,deserializeEntryFunctionArgument:()=>_,deserializePublicKey:()=>C,deserializeSignature:()=>W,deserializeTransactionPayloadInput:()=>q,deserializeWalletRequest:()=>Y,deserializeWalletRequestWithArgs:()=>Q,deserializeWalletResponse:()=>ae,encodePopupWalletRequest:()=>ze,encodeWalletRequestBody:()=>We,isSupportedNetwork:()=>p,isTypedMessage:()=>Se,makePopupWalletRequestChallenge:()=>Ke,makeUserApproval:()=>Z,makeUserResponseDeserializeFn:()=>ee,makeUserResponseSerializeFn:()=>$,serializeAccountAuthenticatorInput:()=>w,serializeAccountInfo:()=>S,serializeAccountInput:()=>M,serializeDappInfo:()=>k,serializeEntryFunctionArgument:()=>R,serializePublicKey:()=>T,serializeSignature:()=>D,serializeTransactionPayloadInput:()=>V,serializeWalletRequest:()=>J,serializeWalletRequestWithArgs:()=>X,serializeWalletResponse:()=>se,urlDecodeWalletRequest:()=>Ue,urlEncodeWalletRequest:()=>_e}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var h=Nr();function f(e){switch(e){case h.NetworkToChainId.mainnet:return h.Network.MAINNET;case h.NetworkToChainId.testnet:return h.Network.TESTNET;default:return h.Network.DEVNET}}function p(e){return[h.Network.MAINNET,h.Network.TESTNET,h.Network.DEVNET].includes(e)}var g=Nr(),y=Nr(),b=Nr();function w(e,t){e.serialize(t.address),e.serialize(t.authenticator)}function v(e){return{address:e.deserialize(b.AccountAddress),authenticator:e.deserialize(b.AccountAuthenticator)}}var A=Nr(),E=Nr();function T(e,t){if(t instanceof E.Ed25519PublicKey)e.serializeU32AsUleb128(E.SigningScheme.Ed25519);else if(t instanceof E.MultiEd25519PublicKey)e.serializeU32AsUleb128(E.SigningScheme.MultiEd25519);else if(t instanceof E.AnyPublicKey)e.serializeU32AsUleb128(E.SigningScheme.SingleKey);else{if(!(t instanceof E.MultiKey))throw new Error("Unexpected public key type");e.serializeU32AsUleb128(E.SigningScheme.MultiKey)}e.serialize(t)}function C(e){let t=e.deserializeUleb128AsU32();switch(t){case E.SigningScheme.Ed25519:return e.deserialize(E.Ed25519PublicKey);case E.SigningScheme.MultiEd25519:return e.deserialize(E.MultiEd25519PublicKey);case E.SigningScheme.SingleKey:return e.deserialize(E.AnyPublicKey);case E.SigningScheme.MultiKey:return e.deserialize(E.MultiKey);default:throw new Error(`Unknown signing scheme: ${t}`)}}function S(e,t){e.serialize(t.address),T(e,t.publicKey),e.serializeStr(t.name??"")}function I(e){let t=e.deserialize(A.AccountAddress),r=C(e),n=e.deserializeStr();return{address:t,publicKey:r,...n.length>0?{name:n}:void 0}}var O=Nr();function M(e,t){e.serialize(t.address),e.serializeBool(void 0!==t.publicKey),t.publicKey&&T(e,t.publicKey)}function P(e){return{address:e.deserialize(O.AccountAddress),publicKey:e.deserializeBool()?C(e):void 0}}function k(e,t){e.serializeStr(t.domain),e.serializeStr(t.name),e.serializeBool(void 0!==t.imageURI),void 0!==t.imageURI&&e.serializeStr(t.imageURI)}function B(e){let t=e.deserializeStr(),r=e.deserializeStr();return{domain:t,imageURI:e.deserializeBool()?e.deserializeStr():void 0,name:r}}var x=Nr(),N=(e=>(e[e.Undefined=0]="Undefined",e[e.Array=1]="Array",e[e.String=2]="String",e[e.Uint8Array=3]="Uint8Array",e[e.AccountAddress=4]="AccountAddress",e[e.FixedBytes=5]="FixedBytes",e))(N||{});function R(e,t){if(null!=t)if(Array.isArray(t)){e.serializeU32AsUleb128(1),e.serializeU32AsUleb128(t.length);for(let r of t)R(e,r)}else{if("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return e.serializeU32AsUleb128(2),void e.serializeStr(t.toString());if(t instanceof Uint8Array)return e.serializeU32AsUleb128(3),void e.serializeBytes(t);if(t instanceof ArrayBuffer)return e.serializeU32AsUleb128(3),void e.serializeBytes(new Uint8Array(t));if(!("values"in t))return"data"in t?(e.serializeU32AsUleb128(4),void e.serialize(t)):void 0===t.value?(e.serializeU32AsUleb128(0),void e.serialize(t)):t.value instanceof Uint8Array?(e.serializeU32AsUleb128(5),void e.serializeBytes(t.value)):(e.serializeU32AsUleb128(2),void e.serializeStr(t.value.toString()));e.serializeU32AsUleb128(1),e.serializeU32AsUleb128(t.values.length);for(let r of t.values)R(e,r)}else e.serializeU32AsUleb128(0)}function _(e){switch(e.deserializeUleb128AsU32()){case 0:return;case 1:{let t=e.deserializeUleb128AsU32(),r=[];for(let n=0;n<t;n+=1){let t=_(e);r.push(t)}return r}case 3:return e.deserializeBytes();case 4:return e.deserialize(x.AccountAddress);case 2:return e.deserializeStr();case 5:{let t=e.deserializeBytes();return new x.FixedBytes(t)}default:throw new Error("Unexpected variant")}}var U=Nr();function D(e,t){if(t instanceof U.Ed25519Signature)e.serializeU32AsUleb128(U.SigningScheme.Ed25519);else if(t instanceof U.MultiEd25519Signature)e.serializeU32AsUleb128(U.SigningScheme.MultiEd25519);else{if(!(t instanceof U.AnySignature))throw new Error("Unexpected signature type");e.serializeU32AsUleb128(U.SigningScheme.SingleKey)}e.serialize(t)}function W(e){let t=e.deserializeUleb128AsU32();switch(t){case U.SigningScheme.Ed25519:return e.deserialize(U.Ed25519Signature);case U.SigningScheme.MultiEd25519:return e.deserialize(U.MultiEd25519Signature);case U.SigningScheme.SingleKey:return e.deserialize(U.AnySignature);default:throw new Error(`Unknown signing scheme: ${t}`)}}var L,z=Nr(),F=(e=>(e[e.EntryFunction=0]="EntryFunction",e[e.Script=1]="Script",e[e.Multisig=2]="Multisig",e))(F||{});function K(e,t){e.serializeU32AsUleb128(t.length);for(let r of t){let t="string"==typeof r?(0,z.parseTypeTag)(r,{allowGenerics:!0}):r;e.serialize(t)}}function j(e){let t=[],r=e.deserializeUleb128AsU32();for(let n=0;n<r;n+=1){let r=e.deserialize(z.TypeTag);t.push(r)}return t}function H(e,t){e.serializeU32AsUleb128(t.length);for(let r of t)R(e,r)}function G(e){let t=e.deserializeUleb128AsU32(),r=[];for(let n=0;n<t;n+=1){let t=_(e);r.push(t)}return r}function V(e,t){if("multisigAddress"in t){e.serializeU32AsUleb128(2),e.serializeStr(t.function),H(e,t.functionArguments),K(e,t.typeArguments??[]);let r=z.AccountAddress.from(t.multisigAddress);e.serialize(r)}else if("function"in t)e.serializeU32AsUleb128(0),e.serializeStr(t.function),H(e,t.functionArguments),K(e,t.typeArguments??[]);else{e.serializeU32AsUleb128(1);let r=z.Hex.fromHexInput(t.bytecode);e.serializeBytes(r.toUint8Array()),e.serializeU32AsUleb128(t.functionArguments.length);for(let r of t.functionArguments)r.serializeForScriptFunction(e);K(e,t.typeArguments??[])}}function q(e){switch(e.deserializeUleb128AsU32()){case 2:{let t=e.deserializeStr(),r=G(e),n=j(e);return{function:t,functionArguments:r,multisigAddress:e.deserialize(z.AccountAddress),typeArguments:n}}case 0:return{function:e.deserializeStr(),functionArguments:G(e),typeArguments:j(e)};case 1:{let t=e.deserializeBytes(),r=e.deserializeUleb128AsU32(),n=[];for(let t=0;t<r;t+=1){let t=(0,z.deserializeFromScriptArgument)(e);n.push(t)}return{bytecode:t,functionArguments:n,typeArguments:j(e)}}default:throw new Error("Unexpected variant")}}function J({dappInfo:e,name:t,version:r}){let n=new y.Serializer;return k(n,e),{data:n.toUint8Array(),name:t,version:r}}function Y({data:e,name:t,version:r}){return{dappInfo:B(new y.Deserializer(e)),name:t,version:r}}function X({args:e,dappInfo:t,name:r,version:n},i){let o=new y.Serializer;return k(o,t),i(o,e),{data:o.toUint8Array(),name:r,version:n}}function Q({data:e,name:t,version:r},n){let i=new y.Deserializer(e),o=B(i);return{args:n(i),dappInfo:o,name:t,version:r}}function Z(e){return{args:e,status:"approved"}}function $(e){return(t,r)=>{t.serializeBool("approved"===r.status),"approved"===r.status&&e(t,r.args)}}function ee(e){return t=>t.deserializeBool()?{args:e(t),status:"approved"}:{status:"dismissed"}}(e=>{function t(e,t){if(e.serializeOptionStr(t.dappId),e.serializeOptionStr(t.dappEd25519PublicKeyB64),e.serializeOptionStr(t.preferredWalletName),e.serializeBool(void 0!==t.claimOptions),t.claimOptions&&(e.serialize(t.claimOptions.secretKey),e.serializeStr(t.claimOptions.network),e.serializeOptionStr(t.claimOptions.asset),!p(t.claimOptions.network)))throw new Error(`Unsupported network '${t.claimOptions.network}'`)}function r(e,t){if(1===t)return{};let r,n=e.deserializeOption("string"),i=e.deserializeOption("string"),o=t>=3?e.deserializeOption("string"):void 0;if(t>=4&&e.deserializeBool()){let t=e.deserialize(g.Ed25519PrivateKey),n=e.deserializeStr(),i=e.deserializeOption("string");if(!p(n))throw new Error(`Unsupported network '${n}'`);r={asset:i,network:n,secretKey:t}}return{claimOptions:r,dappEd25519PublicKeyB64:i,dappId:n,preferredWalletName:o}}e.name="connect",e.supportedVersions=[1,2,3,4],e.currentVersion=4,e.serializeArgs=t,e.deserializeArgs=r,e.serialize=function(r,n={}){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>r(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(L||(L={}));var te,re,ne,ie,oe=Nr();function se(e,t){let r=new oe.Serializer;return t(r,e),{data:r.toUint8Array()}}function ae({data:e},t){return{args:t(new oe.Deserializer(e))}}function ce(e){return JSON.parse(e.deserializeStr())}(e=>{e.supportedVersions=[1,2],e.currentVersion=2;let t=$((function(e,t){S(e,t.account)})),r=$((function(e,t){S(e,t.account),e.serializeOptionStr(void 0!==t.pairing?JSON.stringify(t.pairing):void 0)})),n=ee((function(e){let t=I(e),r=e.deserializeOption("string");return{account:t,pairing:void 0!==r?JSON.parse(r):void 0}}));e.serialize=function(n,i=e.currentVersion){return se(n,1===i?t:r)},e.deserialize=function(e){return ae(e,n)}})(te||(te={})),(e=>{e.name="disconnect",e.currentVersion=1,e.serialize=function(t){return J({dappInfo:t,name:e.name,version:e.currentVersion})},e.deserialize=function(e){return Y(e)},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(re||(re={})),(e=>{e.serialize=function(e){return se(e,(()=>{}))},e.deserialize=function(e){return ae(e,(()=>({})))}})(ne||(ne={})),(e=>{function t(e,t){if(void 0!==t.network&&!p(t.network))throw new Error(`Unsupported network '${t.network}' in SignInRequest.serializeArgs`);(function(e,t){e.serializeStr(JSON.stringify(t))})(e,t),e.serializeStr(t.network)}function r(e,t){return{...ce(e),network:e.deserializeStr()}}e.name="signIn",e.supportedVersions=[1],e.currentVersion=1,e.serializeArgs=t,e.deserializeArgs=r,e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>r(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(ie||(ie={}));var ue,le,de,he,fe,pe=y1();(e=>{e.supportedVersions=[1],e.currentVersion=1;let t=$((function(e,t){!function(e,t){S(e,t.account),e.serializeStr(JSON.stringify(t.input)),e.serializeStr(t.plainText),D(e,t.signature),e.serializeBytes(t.signingMessage),e.serializeStr(t.type)}(e,t)})),r=ee((function(e){return function(e){return{account:new pe.AccountInfo(I(e)),input:JSON.parse(e.deserializeStr()),plainText:e.deserializeStr(),signature:W(e),signingMessage:e.deserializeBytes(),type:e.deserializeStr()}}(e)}));e.serialize=function(r,n=e.currentVersion){return se(r,t)},e.deserialize=function(e){return ae(e,r)}})(ue||(ue={})),(e=>{e.name="getConnectedAccounts",e.currentVersion=1,e.serialize=function(t){return J({dappInfo:t,name:e.name,version:e.currentVersion})},e.deserialize=function(e){return Y(e)},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(le||(le={})),(e=>{function t(e,t){e.serializeU32AsUleb128(t.length);for(let r of t)S(e,r)}function r(e){let t=e.deserializeUleb128AsU32(),r=[];for(let n=0;n<t;n+=1)r.push(I(e));return r}e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(de||(de={})),(e=>{e.name="isConnected",e.currentVersion=1,e.serialize=function(t){return J({dappInfo:t,name:e.name,version:e.currentVersion})},e.deserialize=function(e){return Y(e)},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(he||(he={})),(e=>{function t(e,t){e.serializeBool(t)}function r(e){return e.deserializeBool()}e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(fe||(fe={}));var ge,ye,me=Nr();(e=>{function t(e,t){if(void 0!==t.network&&!p(t.network))throw new Error(`Unsupported network '${t.network}'`);e.serializeBool(void 0!==t.signerAddress),void 0!==t.signerAddress&&e.serialize(t.signerAddress),e.serializeOptionStr(t.network),"bcsToBytes"in t.payload?(e.serializeBool(!0),e.serialize(t.payload)):(e.serializeBool(!1),V(e,t.payload)),e.serializeU64(t.expirationTimestamp??0),e.serializeU32AsUleb128(t.gasUnitPrice??0),e.serializeU32AsUleb128(t.maxGasAmount??0),e.serializeU32AsUleb128(t.feePayer?1:0),t.feePayer&&w(e,t.feePayer)}function r(e,t){let r=t>=3&&e.deserializeBool()?e.deserialize(me.AccountAddress):void 0,n=1===t?e.deserializeStr():e.deserializeOption("string");if(void 0!==n&&!p(n))throw new Error(`Unsupported network '${n}'`);let i=1===t||e.deserializeBool()?e.deserialize(me.TransactionPayload):q(e),o=Number(e.deserializeU64()),s=e.deserializeUleb128AsU32(),a=e.deserializeUleb128AsU32();return{expirationTimestamp:o>0?o:void 0,feePayer:e.deserializeUleb128AsU32()?v(e):void 0,gasUnitPrice:s>0?s:void 0,maxGasAmount:a>0?a:void 0,network:n,payload:i,signerAddress:r}}e.name="signAndSubmitTransaction",e.supportedVersions=[1,2,3],e.currentVersion=3,e.serializeArgs=t,e.deserializeArgs=r,e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>r(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(ge||(ge={})),(e=>{let t=$((function(e,t){e.serializeStr(t.txnHash)})),r=ee((function(e){return{txnHash:e.deserializeStr()}}));e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(ye||(ye={}));var be,we,ve=Nr();(e=>{function t(e,t){e.serializeBool(void 0!==t.signerAddress),void 0!==t.signerAddress&&e.serialize(t.signerAddress),e.serializeU8(t.chainId),e.serializeBytes(t.nonce),e.serializeBytes(t.message)}e.name="signMessage",e.supportedVersions=[1,2],e.currentVersion=2,e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>function(e,t){let r=t>=2&&e.deserializeBool()?e.deserialize(ve.AccountAddress):void 0,n=e.deserializeU8(),i=e.deserializeBytes();return{chainId:n,message:e.deserializeBytes(),nonce:i,signerAddress:r}}(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&t.version===e.currentVersion}})(be||(be={})),(e=>{let t=$((function(e,t){e.serializeStr(t.fullMessage),D(e,t.signature)})),r=ee((function(e){return{fullMessage:e.deserializeStr(),signature:W(e)}}));e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(we||(we={}));var Ae,Ee=Nr();(e=>{function t(e,t){if(void 0!==t.network&&!p(t.network))throw new Error(`Unsupported network '${t.network}'`);e.serializeBool(void 0!==t.signerAddress),void 0!==t.signerAddress&&e.serialize(t.signerAddress),e.serializeOptionStr(t.network),e.serializeBool(void 0!==t.sender),void 0!==t.sender&&M(e,t.sender),"bcsToBytes"in t.payload?(e.serializeBool(!0),e.serialize(t.payload)):(e.serializeBool(!1),V(e,t.payload)),e.serializeU32AsUleb128(t.expirationSecondsFromNow??0),e.serializeU64(t.expirationTimestamp??0),e.serializeU32AsUleb128(t.gasUnitPrice??0),e.serializeU32AsUleb128(t.maxGasAmount??0),e.serializeBool(void 0!==t.feePayer),void 0!==t.feePayer&&M(e,t.feePayer);let r=t.secondarySigners??[];e.serializeU32AsUleb128(r.length);for(let t of r)M(e,t)}e.name="signTransaction",e.supportedVersions=[1,2,3,4],e.currentVersion=4,e.normalizeArgs=function(e){let{feePayer:t,secondarySigners:r,senderPublicKey:n,signerAddress:i,transaction:o}=e,s={address:o.sender,publicKey:n},a=f(e.transaction.chain_id.chainId);return{expirationTimestamp:Number(o.expiration_timestamp_secs),feePayer:t,gasUnitPrice:Number(o.gas_unit_price),maxGasAmount:Number(o.max_gas_amount),network:a,payload:o.payload,secondarySigners:r,sender:s,signerAddress:i}},e.serialize=function(r,n){return X({args:n,dappInfo:r,name:e.name,version:e.currentVersion},t)},e.deserialize=function(e){return Q(e,(t=>function(e,t){let r=t>=3&&e.deserializeBool()?e.deserialize(Ee.AccountAddress):void 0,n=1===t?e.deserializeStr():e.deserializeOption("string");if(void 0!==n&&!p(n))throw new Error(`Unsupported network '${n}'`);let i=e.deserializeBool()?P(e):void 0,o=t<4||e.deserializeBool()?e.deserialize(Ee.TransactionPayload):q(e),s=e.deserializeUleb128AsU32(),a=Number(e.deserializeU64()),c=e.deserializeUleb128AsU32(),u=e.deserializeUleb128AsU32(),l=e.deserializeBool()?P(e):void 0,d=e.deserializeUleb128AsU32(),h=[];for(let t=0;t<d;t+=1)h.push(P(e));return{expirationSecondsFromNow:s>0?s:void 0,expirationTimestamp:a>0?a:void 0,feePayer:l,gasUnitPrice:c>0?c:void 0,maxGasAmount:u>0?u:void 0,network:n,payload:o,secondarySigners:h,sender:i,signerAddress:r}}(t,e.version)))},e.isSerialized=function(t){return t.name===e.name&&e.supportedVersions.includes(t.version)}})(Ae||(Ae={}));var Te,Ce=Nr();function Se(e,t){return t?.__messageType===e.TYPE}(e=>{let t=$((function(e,t){e.serialize(t.authenticator),e.serializeBool(void 0!==t.rawTransaction),void 0!==t.rawTransaction&&e.serialize(t.rawTransaction)})),r=ee((function(e){return{authenticator:e.deserialize(Ce.AccountAuthenticator),rawTransaction:e.deserializeBool()?e.deserialize(Ce.RawTransaction):void 0}}));e.serialize=function(e){return se(e,t)},e.deserialize=function(e){return ae(e,r)}})(Te||(Te={}));var Ie=Nr(),Oe=class e{constructor(){this.__messageType=e.TYPE}};Oe.TYPE="PromptConnectionRequest";var Me=Oe,Pe=class e{constructor(t){this.serializedRequest=t,this.__messageType=e.TYPE}};Pe.TYPE="PromptConnectionResponse";var ke=Pe,Be=class e{constructor(t){this.serializedValue=t,this.__messageType=e.TYPE}};Be.TYPE="PromptApprovalResponse";var xe=Be,Ne=class e{constructor(){this.__messageType=e.TYPE}};Ne.TYPE="PromptUnauthorizedError";var Re=Ne;function _e(e){let t=new Ie.Serializer;return t.serializeStr(e.name),t.serializeBytes(e.data),t.serializeStr(e.version.toString()),u(t.toUint8Array())}function Ue(e){let t,r=new Ie.Deserializer(c(e)),n=r.deserializeStr(),i=r.deserializeBytes();try{t=Number(r.deserializeStr())}catch{t=1}return{data:i,name:n,version:t}}var De=Nr();function We({data:e,...t}){let r=JSON.stringify({data:e,...t},((e,t)=>"data"===e?u(t):t));return u((new TextEncoder).encode(r))}function Le(e){let t=c(e),r=(new TextDecoder).decode(t);return JSON.parse(r,((e,t)=>"data"===e?c(t):t))}function ze(e){let t=JSON.stringify(e,((e,t)=>{switch(e){case"body":return We(t);case"clientIdentityKey":case"signature":return u(t.toUint8Array());default:return t}}));return d((new TextEncoder).encode(t))}function Fe(e){let t=l(e),r=(new TextDecoder).decode(t);return JSON.parse(r,((e,t)=>{switch(e){case"body":return Le(t);case"clientIdentityKey":return new De.Ed25519PublicKey(c(t));case"signature":return new De.Ed25519Signature(c(t));default:return t}}))}function Ke({accountAddress:e,body:t,id:r,timestamp:n}){let i=new De.Serializer;return i.serializeStr("SignedPopupWalletRequest"),i.serializeStr(r),i.serializeU64(n),i.serializeBool(void 0!==e),void 0!==e&&i.serialize(De.AccountAddress.from(e)),i.serializeStr(t.name),i.serializeU8(t.version),i.serializeBytes(t.data),i.toUint8Array()}})),jWe=W((e=>{"use strict";m(),Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});var t=class e extends Error{constructor(t,r,n){super("object"==typeof r?r.message:r||t,{cause:"object"==typeof r?r.cause:n}),this.type=t,Object.setPrototypeOf(this,e.prototype)}};function r(e){return e.replace(/[A-Z]/g,(e=>`_${e.toLowerCase()}`))}var n="ERR_PARSE";function i(e,r){let i={};for(let o in e){let s,a,c=e[o];if(c){"function"==typeof c?(s=o,a=c):[s,a]=c;try{let e=a(r(s));void 0!==e&&(i[o]=e)}catch(e){throw new t(n,`Parser for "${o}" property failed${s===o?"":`. Source field: "${s}"`}`,e)}}}return i}function o(e){let r=e;if("string"==typeof r)try{r=JSON.parse(r)}catch(e){throw new t("ERR_INVALID_VALUE",{cause:e})}if("object"!=typeof r||!r||Array.isArray(r))throw new t("ERR_UNEXPECTED_VALUE");return r}function s(e,r){return i=>{let o=o=>{if(!i||void 0!==o)try{return r(o)}catch(r){throw new t(n,{message:`"${e}" transformer failed to parse the value`,cause:r})}};return Object.assign(o,{isValid(e){try{return o(e),!0}catch{return!1}}})}}function a(e,t){return s(t||"object",(t=>{let r=o(t);return i(e,(e=>r[e]))}))}function c(e){throw new t("ERR_UNEXPECTED_TYPE",`Unexpected value received: ${JSON.stringify(e)}`)}var u=s("boolean",(e=>{if("boolean"==typeof e)return e;let t=String(e);return"1"===t||"true"===t||"0"!==t&&"false"!==t&&void c(e)})),l=s("string",(e=>{if("string"==typeof e||"number"==typeof e)return e.toString();c(e)})),d=s("number",(e=>{if("number"==typeof e)return e;if("string"==typeof e){let t=Number(e);if(!Number.isNaN(t))return t}c(e)})),h=s("date",(e=>e instanceof Date?e:new Date(1e3*d()(e))));function f(e,t){return s(t||"searchParams",(t=>{"string"!=typeof t&&!(t instanceof URLSearchParams)&&c(t);let r="string"==typeof t?new URLSearchParams(t):t;return i(e,(e=>{let t=r.get(e);return null===t?void 0:t}))}))}function p(e){for(let t in e)e[t]=[r(t),e[t]];return e}var g=e=>{let t=d(),r=d(!0),n=l(),i=l(!0),o=u(!0),s=a(p({addedToAttachmentMenu:o,allowsWriteToPm:o,firstName:n,id:t,isBot:o,isPremium:o,languageCode:i,lastName:i,photoUrl:i,username:i}),"User")(!0);return f(p({authDate:h(),canSendAfter:r,chat:a(p({id:t,type:n,title:n,photoUrl:i,username:i}),"Chat")(!0),chatInstance:i,chatType:i,hash:n,queryId:i,receiver:s,startParam:i,user:s}),"initData")(e)};var y=s("rgb",(e=>function(e){let t=e.replace(/\s/g,"").toLowerCase();if(function(e){return/^#[\da-f]{6}$/i.test(e)}(t))return t;if(function(e){return/^#[\da-f]{3}$/i.test(e)}(t)){let e="#";for(let r=0;r<3;r+=1)e+=t[1+r].repeat(2);return e}let r=t.match(/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/)||t.match(/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),\d{1,3}\)$/);if(!r)throw new Error(`Value "${e}" does not satisfy any of known RGB formats.`);return r.slice(1).reduce(((e,t)=>{let r=parseInt(t,10).toString(16);return e+(1===r.length?"0":"")+r}),"#")}(l()(e)))),b=s("themeParams",(e=>{let t=y(!0);return Object.entries(o(e)).reduce(((e,[r,n])=>(e[function(e){return e.replace(/_[a-z]/g,(e=>e[1].toUpperCase()))}(r)]=t(n),e)),{})}));function w(e){return JSON.stringify(Object.fromEntries(Object.entries(e).map((([e,t])=>[r(e),t]))))}var v=a({eventType:l(),eventData:e=>e},"miniAppsMessage"),A=s("fn",(e=>{if("function"==typeof e)return e;c(e)}));var E=a({TelegramWebviewProxy:a({postEvent:A()})()});function T(e){return E().isValid(e)}function C(){try{return window.self!==window.top}catch{return!0}}var S=Object.defineProperty,I=(e,t,r)=>((e,t,r)=>t in e?S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),O=class e extends Error{constructor(t,r,n){super("object"==typeof r?r.message:r||t,{cause:"object"==typeof r?r.cause:n}),this.type=t,Object.setPrototypeOf(this,e.prototype)}};function M(e,t,r){return e.addEventListener(t,r),()=>e.removeEventListener(t,r)}function P(...e){let t=e.flat(1);return[t.push.bind(t),()=>{t.forEach((e=>{e()}))}]}function k(e){return t=>function(e,t){return e instanceof O&&e.type===t}(t,e)}var B="ERR_ABORTED",x="ERR_CANCELED",N="ERR_TIMED_OUT";function R(e){return new O(B,{cause:e})}var _=k(N),U=k(B),D=k(x);function W(e,t){return e.reject=t.reject,e}var L=class e extends Promise{constructor(e,t){let r,n,i,o;"function"==typeof e?(r=e,n=t):n=e,super(((e,t)=>{n||(n={});let{abortSignal:s}=n;if(s&&s.aborted)return t(R(s.reason));let[a,c]=P(),u=e=>(...t)=>(c(),e(...t)),l=new AbortController,{signal:d}=l;o=u((e=>{l.abort(e),t(e)})),i=u(e),s&&a(M(s,"abort",(()=>{o(R(s.reason))})));let{timeout:h}=n;if(h){let e=setTimeout((()=>{o(new O(N,`Timeout reached: ${h}ms`))}),h);a((()=>{clearTimeout(e)}))}r&&r(i,o,d)})),I(this,"reject"),this.reject=o}static withFn(t,r){return new e(((e,r,n)=>{try{let i=t(n);return i instanceof Promise?i.then(e,r):e(i)}catch(e){r(e)}}),r)}static resolve(t){return new e((e=>{e(t)}))}static reject(t){return new e(((e,r)=>{r(t)}))}cancel(){this.reject(new O(x))}catch(e){return this.then(void 0,e)}finally(e){return W(super.finally(e),this)}then(e,t){return W(super.then(e,t),this)}};function z(e,t){return e.resolve=t.resolve,e}function F(e){return`tapps/${e}`}function K(e,t){sessionStorage.setItem(F(e),JSON.stringify(t))}function j(e){let t=sessionStorage.getItem(F(e));try{return t?JSON.parse(t):void 0}catch{}}function H(e,t){t||(t={});let{textColor:r,bgColor:n,shouldLog:i=!0}=t;function o(t,...o){if(!i||"function"==typeof i&&!i())return;let s="font-weight:bold;padding:0 5px;border-radius:5px";console[t](`%c${Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3,timeZone:"UTC"}).format(new Date)}%c / %c${e}`,`${s};background-color: lightblue;color:black`,"",`${s};${r?`color:${r};`:""}${n?`background-color:${n}`:""}`,...o)}return[function(...e){o("log",...e)},function(...e){o("error",...e)}]}function G(e,t){t||(t={});let r=t.equals||Object.is,n=[],i=e,o=e=>{if(!r(i,e)){let t=i;i=e,function(e,t){t()}(0,(()=>{[...n].forEach((([r,n])=>{r(e,t),n&&a(r,!0)}))}))}};function s(e){let t="object"!=typeof e?{once:e}:e;return{once:t.once||!1,signal:t.signal||!1}}let a=(e,t)=>{let r=s(t),i=n.findIndex((([t,n])=>t===e&&n.once===r.once&&n.signal===r.signal));i>=0&&n.splice(i,1)},c=Object.assign((function(){return function(e){V.length&&V[V.length-1].add(e)}(c),i}),{destroy(){n=[]},set:o,reset(){o(e)},sub:(e,t)=>(n.push([e,s(t)]),()=>a(e,t)),unsub:a,unsubAll(){n=n.filter((e=>e[1].signal))}});return c}var V=[];var q=G(!1),[J,Y]=H("Bridge",{bgColor:"#9147ff",textColor:"white",shouldLog:q}),X={clipboard_text_received:a({req_id:l(),data:e=>null===e?e:l(!0)(e)},"clipboard_text_received"),custom_method_invoked:a({req_id:l(),result:e=>e,error:l(!0)},"custom_method_invoked"),popup_closed:s("popup_closed",(e=>e?a({button_id:e=>null==e?void 0:l()(e)})()(e):{})),viewport_changed:a({height:d(),width:e=>null==e?window.innerWidth:d()(e),is_state_stable:u(),is_expanded:u()},"viewport_changed")};var Q=G(),Z=G();function $(){return Z()||Z.set(function(e){let t=window,[,r]=P(M(t,"resize",(()=>{e(["viewport_changed",{width:window.innerWidth,height:window.innerHeight,is_state_stable:!0,is_expanded:!0}])})),M(t,"message",(r=>{if(r.source!==t.parent)return;let n;try{n=v()(r.data)}catch{return}let{eventType:i,eventData:o}=n,s=X[i];try{let t=s?s()(o):o;J("Event received:",t?{eventType:i,eventData:t}:{eventType:i}),e([i,t])}catch(e){Y([`An error occurred processing the "${i}" event from the Telegram application.`,"Please, file an issue here:","https://github.com/Telegram-Mini-Apps/telegram-apps/issues/new/choose"].join("\n"),n,e)}})));return r}(Q.set)),Q}var ee=G({});function te(e){let t=ee()[e];return t||(t=G(void 0,{equals:()=>!1}),$().sub((r=>{r&&r[0]===e&&t.set(r[1])})),ee.set({...ee(),[e]:t})),t}function re(e,t,r){return te(e).sub(t,r)}var ne="ERR_METHOD_UNSUPPORTED",ie="ERR_RETRIEVE_LP_FAILED",oe="ERR_METHOD_PARAMETER_UNSUPPORTED",se="ERR_UNKNOWN_ENV",ae="ERR_INVOKE_CUSTOM_METHOD_RESPONSE",ce=G("https://web.telegram.org");function ue(e,t){J("Posting event:",t?{eventType:e,eventData:t}:{eventType:e});let r=window;if(T(r))return void r.TelegramWebviewProxy.postEvent(e,JSON.stringify(t));let n=JSON.stringify({eventType:e,eventData:t});if(C())return r.parent.postMessage(n,ce());let{external:i}=r;if(!a({notify:A()})().isValid(i))throw new O(se);i.notify(n)}function le(e,t,r){r||(r={});let{capture:n}=r,[i,o]=P();return new L((o=>{(Array.isArray(t)?t:[t]).forEach((e=>{i(re(e,(r=>{(!n||(Array.isArray(t)?n({event:e,payload:r}):n(r)))&&o(r)})))})),(r.postEvent||ue)(e,r.params)}),r).finally(o)}function de(e){return(e=>{let t=l(),r=l(!0),n=u(!0);return f({botInline:["tgWebAppBotInline",n],initData:["tgWebAppData",g(!0)],initDataRaw:["tgWebAppData",r],platform:["tgWebAppPlatform",t],showSettings:["tgWebAppShowSettings",n],startParam:["tgWebAppStartParam",r],themeParams:["tgWebAppThemeParams",b()],version:["tgWebAppVersion",t]},"launchParams")(e)})()(e)}function he(e){return de(e.replace(/^[^?#]*[?#]/,"").replace(/[?#]/g,"&"))}function fe(){return he(window.location.href)}function pe(){let e=performance.getEntriesByType("navigation")[0];if(!e)throw new Error("Unable to get first navigation entry.");return he(e.name)}function ge(){return de(j("launchParams")||"")}function ye(e){K("launchParams",function(e){let{initDataRaw:t,startParam:r,showSettings:n,botInline:i}=e,o=new URLSearchParams;return o.set("tgWebAppPlatform",e.platform),o.set("tgWebAppThemeParams",w(e.themeParams)),o.set("tgWebAppVersion",e.version),t&&o.set("tgWebAppData",t),r&&o.set("tgWebAppStartParam",r),"boolean"==typeof n&&o.set("tgWebAppShowSettings",n?"1":"0"),"boolean"==typeof i&&o.set("tgWebAppBotInline",i?"1":"0"),o.toString()}(e))}function me(e){return e instanceof Error?e.message+(e.cause?`\n  ${me(e.cause)}`:""):JSON.stringify(e)}function be(){let e=[];for(let t of[fe,pe,ge])try{let e=t();return ye(e),e}catch(t){e.push(t)}throw new O(ie,["Unable to retrieve launch parameters from any known source. Perhaps, you have opened your app outside Telegram?","📖 Refer to docs for more information:","https://docs.telegram-mini-apps.com/packages/telegram-apps-sdk/environment","Collected errors:",...e.map((e=>`— ${me(e)}`))].join("\n"))}function we(e,t){window.dispatchEvent(new MessageEvent("message",{data:JSON.stringify({eventType:e,eventData:t}),source:window.parent}))}function ve(e){return({req_id:t})=>t===e}function Ae(e){return e.split(".").map(Number)}function Ee(e,t){let r=Ae(e),n=Ae(t),i=Math.max(r.length,n.length);for(let e=0;e<i;e+=1){let t=r[e]||0,i=n[e]||0;if(t!==i)return t>i?1:-1}return 0}function Te(e,t){return Ee(e,t)<=0}function Ce(e,t,r){if("string"==typeof r){if("web_app_open_link"===e){if("try_instant_view"===t)return Te("6.4",r);if("try_browser"===t)return Te("7.6",r)}if("web_app_set_header_color"===e&&"color"===t)return Te("6.9",r);if("web_app_close"===e&&"return_back"===t)return Te("7.6",r);if("web_app_setup_main_button"===e&&"has_shine_effect"===t)return Te("7.10",r)}switch(e){case"web_app_open_tg_link":case"web_app_open_invoice":case"web_app_setup_back_button":case"web_app_set_background_color":case"web_app_set_header_color":case"web_app_trigger_haptic_feedback":return Te("6.1",t);case"web_app_open_popup":return Te("6.2",t);case"web_app_close_scan_qr_popup":case"web_app_open_scan_qr_popup":case"web_app_read_text_from_clipboard":return Te("6.4",t);case"web_app_switch_inline_query":return Te("6.7",t);case"web_app_invoke_custom_method":case"web_app_request_write_access":case"web_app_request_phone":return Te("6.9",t);case"web_app_setup_settings_button":return Te("6.10",t);case"web_app_biometry_get_info":case"web_app_biometry_open_settings":case"web_app_biometry_request_access":case"web_app_biometry_request_auth":case"web_app_biometry_update_token":return Te("7.2",t);case"web_app_setup_swipe_behavior":return Te("7.7",t);case"web_app_setup_secondary_button":return Te("7.10",t);default:return["iframe_ready","iframe_will_reload","web_app_close","web_app_data_send","web_app_expand","web_app_open_link","web_app_ready","web_app_request_theme","web_app_request_viewport","web_app_setup_main_button","web_app_setup_closing_behavior"].includes(e)}}function Se(e){e.unsubAll(),e.reset()}e.$debug=q,e.$targetOrigin=ce,e.CancelablePromise=L,e.ERR_ABORTED=B,e.ERR_CANCELED=x,e.ERR_CUSTOM_METHOD_ERR_RESPONSE=ae,e.ERR_METHOD_PARAMETER_UNSUPPORTED=oe,e.ERR_METHOD_UNSUPPORTED=ne,e.ERR_RETRIEVE_LP_FAILED=ie,e.ERR_TIMED_OUT=N,e.ERR_UNKNOWN_ENV=se,e.EnhancedPromise=class e extends L{constructor(e,t){let r,n,i;"function"==typeof e?(r=e,n=t):n=e,super(((e,t,n)=>{i=e,r&&r(e,t,n)}),n),I(this,"resolve"),this.resolve=i}static withFn(t,r){return new e(((e,r,n)=>L.withFn(t,{abortSignal:n}).then(e,r)),r)}static resolve(t){return new e((e=>{e(t)}))}static reject(t){return new e(((e,r)=>{r(t)}))}catch(e){return this.then(void 0,e)}finally(e){return z(super.finally(e),this)}then(e,t){return z(super.then(e,t),this)}},e.TypedError=O,e.addEventListener=M,e.camelToKebab=function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))},e.camelToSnake=function(e){return e.replace(/[A-Z]/g,(e=>`_${e.toLowerCase()}`))},e.captureSameReq=ve,e.compareVersions=Ee,e.createAbortError=R,e.createCbCollector=P,e.createLogger=H,e.createPostEvent=function(e,t){t||(t="strict");let r="function"==typeof t?t:e=>{let r,n,{method:i,version:o}=e;if("param"in e?(r=`Parameter "${e.param}" of "${i}" method is unsupported in Mini Apps version ${o}`,n=oe):(r=`Method "${i}" is unsupported in Mini Apps version ${o}`,n=ne),"strict"===t)throw new O(n,r);return console.warn(r)};return(t,n)=>Ce(t,e)?function(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}(n)&&"web_app_set_header_color"===t&&"color"in n&&!Ce(t,"color",e)?r({version:e,method:t,param:"color"}):ue(t,n):r({version:e,method:t})},e.createTypedErrorPredicate=k,e.defineEventHandlers=function(){[["TelegramGameProxy_receiveEvent"],["TelegramGameProxy","receiveEvent"],["Telegram","WebView","receiveEvent"]].forEach((e=>{let t=window;e.forEach(((e,r,n)=>{r!==n.length-1?(e in t||(t[e]={}),t=t[e]):t[e]=we}))}))},e.deleteCssVar=function(e){document.documentElement.style.removeProperty(e)},e.emitMiniAppsEvent=we,e.getStorageValue=j,e.hasWebviewProxy=T,e.invokeCustomMethod=function(e,t,r,n){return le("web_app_invoke_custom_method","custom_method_invoked",{...n||{},params:{method:e,params:t,req_id:r},capture:ve(r)}).then((({result:e,error:t})=>{if(t)throw new O(ae,t);return e}))},e.isAbortError=U,e.isCanceledError=D,e.isIframe=C,e.isTMA=function(e){if("simple"===e)try{return be(),!0}catch{return!1}return L.withFn((async()=>{if(T(window))return!0;try{return await le("web_app_request_theme","theme_changed",{timeout:100}),!0}catch{return!1}}),e)},e.isTimeoutError=_,e.mockTelegramEnv=function(e){var t;let r="string"==typeof e?de(e):e;ye(r);let n=null==(t=window.TelegramWebviewProxy)?void 0:t.postEvent;window.TelegramWebviewProxy={postEvent(e,t){(function(e,t){if("string"==typeof t)try{let{eventType:r}=v()(t);"web_app_request_theme"===r&&we("theme_changed",{theme_params:JSON.parse(w(e))}),"web_app_request_viewport"===r&&we("viewport_changed",{width:window.innerWidth,height:window.innerHeight,is_state_stable:!0,is_expanded:!0})}catch{}})(r.themeParams,JSON.stringify({eventType:e,eventData:t})),n?.(e,t)}},J("Environment was mocked by the mockTelegramEnv function")},e.off=function(e,t,r){te(e).unsub(t,r)},e.on=re,e.postEvent=ue,e.removeEventHandlers=function(){["TelegramGameProxy_receiveEvent","TelegramGameProxy","Telegram"].forEach((e=>{delete window[e]}))},e.request=le,e.resetPackageState=function(){var e;null==(e=Z())||e(),[...Object.values(ee()),ee,Q,Z,ce,q].forEach(Se)},e.retrieveLaunchParams=be,e.setCssVar=function(e,t){document.documentElement.style.setProperty(e,t)},e.setStorageValue=K,e.sleep=function(e,t){return new L((t=>{setTimeout(t,e)}),{abortSignal:t})},e.snakeToCamel=function(e){return e.replace(/_[a-z]/g,(e=>e[1].toUpperCase()))},e.subscribe=function(e,t){return $().sub(e,t)},e.supports=Ce,e.unsubscribe=function(e,t){Q.unsub(e,t)}})),fae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!t&&!(t=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return t(r)};var t,r=new Uint8Array(16)})),GWe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i})),D5=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,r=(t=GWe())&&t.__esModule?t:{default:t};var n=function(e){return"string"==typeof e&&r.default.test(e)};e.default=n})),L5=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.unsafeStringify=i;var t,r=(t=D5())&&t.__esModule?t:{default:t};var n=[];for(let e=0;e<256;++e)n.push((e+256).toString(16).slice(1));function i(e,t=0){return n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]}var o=function(e,t=0){let n=i(e,t);if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n};e.default=o})),XWe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,r=(t=fae())&&t.__esModule?t:{default:t},n=L5();var i,o,s=0,a=0;var c=function(e,t,c){let u=t&&c||0,l=t||new Array(16),d=(e=e||{}).node||i,h=void 0!==e.clockseq?e.clockseq:o;if(null==d||null==h){let t=e.random||(e.rng||r.default)();null==d&&(d=i=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==h&&(h=o=16383&(t[6]<<8|t[7]))}let f=void 0!==e.msecs?e.msecs:Date.now(),p=void 0!==e.nsecs?e.nsecs:a+1,g=f-s+(p-a)/1e4;if(g<0&&void 0===e.clockseq&&(h=h+1&16383),(g<0||f>s)&&void 0===e.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,a=p,o=h,f+=122192928e5;let y=(1e4*(268435455&f)+p)%4294967296;l[u++]=y>>>24&255,l[u++]=y>>>16&255,l[u++]=y>>>8&255,l[u++]=255&y;let m=f/4294967296*1e4&268435455;l[u++]=m>>>8&255,l[u++]=255&m,l[u++]=m>>>24&15|16,l[u++]=m>>>16&255,l[u++]=h>>>8|128,l[u++]=255&h;for(let e=0;e<6;++e)l[u+e]=d[e];return t||(0,n.unsafeStringify)(l)};e.default=c})),gae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,r=(t=D5())&&t.__esModule?t:{default:t};var n=function(e){if(!(0,r.default)(e))throw TypeError("Invalid UUID");let t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};e.default=n})),yae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.URL=e.DNS=void 0,e.default=function(e,t,s){function a(e,i,o,a){var c;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof i&&(i=(0,n.default)(i)),16!==(null===(c=i)||void 0===c?void 0:c.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let u=new Uint8Array(16+e.length);if(u.set(i),u.set(e,i.length),u=s(u),u[6]=15&u[6]|t,u[8]=63&u[8]|128,o){a=a||0;for(let e=0;e<16;++e)o[a+e]=u[e];return o}return(0,r.unsafeStringify)(u)}try{a.name=e}catch{}return a.DNS=i,a.URL=o,a};var t,r=L5(),n=(t=gae())&&t.__esModule?t:{default:t};var i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";e.DNS=i;var o="6ba7b811-9dad-11d1-80b4-00c04fd430c8";e.URL=o})),$We=W((e=>{"use strict";function t(e){return 14+(e+64>>>9<<4)+1}function r(e,t){let r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function n(e,t,n,i,o,s){return r(function(e,t){return e<<t|e>>>32-t}(r(r(t,e),r(i,s)),o),n)}function i(e,t,r,i,o,s,a){return n(t&r|~t&i,e,t,o,s,a)}function o(e,t,r,i,o,s,a){return n(t&i|r&~i,e,t,o,s,a)}function s(e,t,r,i,o,s,a){return n(t^r^i,e,t,o,s,a)}function a(e,t,r,i,o,s,a){return n(r^(t|~i),e,t,o,s,a)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=function(e){if("string"==typeof e){let t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){let t=[],r=32*e.length,n="0123456789abcdef";for(let i=0;i<r;i+=8){let r=e[i>>5]>>>i%32&255,o=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);t.push(o)}return t}(function(e,n){e[n>>5]|=128<<n%32,e[t(n)-1]=n;let c=1732584193,u=-271733879,l=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){let n=c,h=u,f=l,p=d;c=i(c,u,l,d,e[t],7,-680876936),d=i(d,c,u,l,e[t+1],12,-389564586),l=i(l,d,c,u,e[t+2],17,606105819),u=i(u,l,d,c,e[t+3],22,-1044525330),c=i(c,u,l,d,e[t+4],7,-176418897),d=i(d,c,u,l,e[t+5],12,1200080426),l=i(l,d,c,u,e[t+6],17,-1473231341),u=i(u,l,d,c,e[t+7],22,-45705983),c=i(c,u,l,d,e[t+8],7,1770035416),d=i(d,c,u,l,e[t+9],12,-1958414417),l=i(l,d,c,u,e[t+10],17,-42063),u=i(u,l,d,c,e[t+11],22,-1990404162),c=i(c,u,l,d,e[t+12],7,1804603682),d=i(d,c,u,l,e[t+13],12,-40341101),l=i(l,d,c,u,e[t+14],17,-1502002290),u=i(u,l,d,c,e[t+15],22,1236535329),c=o(c,u,l,d,e[t+1],5,-165796510),d=o(d,c,u,l,e[t+6],9,-1069501632),l=o(l,d,c,u,e[t+11],14,643717713),u=o(u,l,d,c,e[t],20,-373897302),c=o(c,u,l,d,e[t+5],5,-701558691),d=o(d,c,u,l,e[t+10],9,38016083),l=o(l,d,c,u,e[t+15],14,-660478335),u=o(u,l,d,c,e[t+4],20,-405537848),c=o(c,u,l,d,e[t+9],5,568446438),d=o(d,c,u,l,e[t+14],9,-1019803690),l=o(l,d,c,u,e[t+3],14,-187363961),u=o(u,l,d,c,e[t+8],20,1163531501),c=o(c,u,l,d,e[t+13],5,-1444681467),d=o(d,c,u,l,e[t+2],9,-51403784),l=o(l,d,c,u,e[t+7],14,1735328473),u=o(u,l,d,c,e[t+12],20,-1926607734),c=s(c,u,l,d,e[t+5],4,-378558),d=s(d,c,u,l,e[t+8],11,-2022574463),l=s(l,d,c,u,e[t+11],16,1839030562),u=s(u,l,d,c,e[t+14],23,-35309556),c=s(c,u,l,d,e[t+1],4,-1530992060),d=s(d,c,u,l,e[t+4],11,1272893353),l=s(l,d,c,u,e[t+7],16,-155497632),u=s(u,l,d,c,e[t+10],23,-1094730640),c=s(c,u,l,d,e[t+13],4,681279174),d=s(d,c,u,l,e[t],11,-358537222),l=s(l,d,c,u,e[t+3],16,-722521979),u=s(u,l,d,c,e[t+6],23,76029189),c=s(c,u,l,d,e[t+9],4,-640364487),d=s(d,c,u,l,e[t+12],11,-421815835),l=s(l,d,c,u,e[t+15],16,530742520),u=s(u,l,d,c,e[t+2],23,-995338651),c=a(c,u,l,d,e[t],6,-198630844),d=a(d,c,u,l,e[t+7],10,1126891415),l=a(l,d,c,u,e[t+14],15,-1416354905),u=a(u,l,d,c,e[t+5],21,-57434055),c=a(c,u,l,d,e[t+12],6,1700485571),d=a(d,c,u,l,e[t+3],10,-1894986606),l=a(l,d,c,u,e[t+10],15,-1051523),u=a(u,l,d,c,e[t+1],21,-2054922799),c=a(c,u,l,d,e[t+8],6,1873313359),d=a(d,c,u,l,e[t+15],10,-30611744),l=a(l,d,c,u,e[t+6],15,-1560198380),u=a(u,l,d,c,e[t+13],21,1309151649),c=a(c,u,l,d,e[t+4],6,-145523070),d=a(d,c,u,l,e[t+11],10,-1120210379),l=a(l,d,c,u,e[t+2],15,718787259),u=a(u,l,d,c,e[t+9],21,-343485551),c=r(c,n),u=r(u,h),l=r(l,f),d=r(d,p)}return[c,u,l,d]}(function(e){if(0===e.length)return[];let r=8*e.length,n=new Uint32Array(t(r));for(let t=0;t<r;t+=8)n[t>>5]|=(255&e[t/8])<<t%32;return n}(e),8*e.length))};e.default=c})),tze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(yae()),r=n($We());function n(e){return e&&e.__esModule?e:{default:e}}var i=(0,t.default)("v3",48,r.default);e.default=i})),rze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};e.default=t})),oze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(rze()),r=i(fae()),n=L5();function i(e){return e&&e.__esModule?e:{default:e}}var o=function(e,i,o){if(t.default.randomUUID&&!i&&!e)return t.default.randomUUID();let s=(e=e||{}).random||(e.rng||r.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,i){o=o||0;for(let e=0;e<16;++e)i[o+e]=s[e];return i}return(0,n.unsafeStringify)(s)};e.default=o})),sze=W((e=>{"use strict";function t(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function r(e,t){return e<<t|e>>>32-t}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(e){let n=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){let t=unescape(encodeURIComponent(e));e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);let o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s);for(let t=0;t<s;++t){let r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=e[64*t+4*n]<<24|e[64*t+4*n+1]<<16|e[64*t+4*n+2]<<8|e[64*t+4*n+3];a[t]=r}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<s;++e){let o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=a[e][t];for(let e=16;e<80;++e)o[e]=r(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let s=i[0],c=i[1],u=i[2],l=i[3],d=i[4];for(let e=0;e<80;++e){let i=Math.floor(e/20),a=r(s,5)+t(i,c,u,l)+d+n[i]+o[e]>>>0;d=l,l=u,u=r(c,30)>>>0,c=s,s=a}i[0]=i[0]+s>>>0,i[1]=i[1]+c>>>0,i[2]=i[2]+u>>>0,i[3]=i[3]+l>>>0,i[4]=i[4]+d>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]};e.default=n})),cze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(yae()),r=n(sze());function n(e){return e&&e.__esModule?e:{default:e}}var i=(0,t.default)("v5",80,r.default);e.default=i})),uze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default="00000000-0000-0000-0000-000000000000"})),lze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,r=(t=D5())&&t.__esModule?t:{default:t};var n=function(e){if(!(0,r.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)};e.default=n})),fze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return s.default}});var t=l(XWe()),r=l(tze()),n=l(oze()),i=l(cze()),o=l(uze()),s=l(lze()),a=l(D5()),c=l(L5()),u=l(gae());function l(e){return e&&e.__esModule?e:{default:e}}})),Eae=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{WebWalletTransport:()=>B}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=km(),u=km(),l={height:695,width:465},d=u.ConnectResponse.serialize({status:"dismissed"}),h=class extends Error{constructor(){super("Unauthorized")}};var f=km(),p=Nr(),g="@aptos-connect/dapp-local-state";function y(){let e=window.localStorage.getItem(g);return e?function(e){let t=new p.Deserializer(e),r=t.deserializeUleb128AsU32(),n=[];for(let e=0;e<r;e+=1)n.push((0,f.deserializeAccountInfo)(t));return{connectedAccounts:n}}((0,f.base64ToBytes)(e)):{connectedAccounts:[]}}function b(e){let t=function(e){let t=new p.Serializer;t.serializeU32AsUleb128(e.connectedAccounts.length);for(let r of e.connectedAccounts)(0,f.serializeAccountInfo)(t,r);return t.toUint8Array()}(e),r=(0,f.bytesToBase64)(t);window.localStorage.setItem(g,r)}function w(){return y().connectedAccounts}function v(e){let{connectedAccounts:t,...r}=y();t.push(e),b({...r,connectedAccounts:t})}var A=km(),E=jWe(),T=fze(),C=km();var S=Nr(),I="@aptos-connect/client-identity-key";var O=km();function M(e){let t,r=()=>{},n=new Promise((n=>{t=setTimeout(n,e),r=()=>{clearTimeout(t),n()}}));return n.cancel=r,n}async function P(e,t,r){let n=(0,O.bytesToBase64url)(t.toUint8Array()),i=new URL(`${e}/v1/dapp/clients/${n}/requests/${r}/response/`),o=await(await async function(e){let t,r=!1,n=3e3,i=()=>{r=!0,n=2e3,t?.cancel()};window.addEventListener("focus",i),window.addEventListener("blur",(()=>{n=3e3}));try{let i=Date.now();for(;Date.now()-i<3e5;){t=M(n),await t,r&&(t=M(300),await t);let i=await e();if(200===i.status)return i;r=!1}throw new Error("Timeout")}finally{window.removeEventListener("focus",i),window.removeEventListener("blur",i)}}((()=>fetch(i,{headers:{Accept:"application/json"},method:"get"})))).json();return{data:(0,O.base64ToBytes)(o.data.body)}}async function k(e){let{baseUrl:t,request:r,tgWebAppUrl:n="/AptosConnectBot/AptosConnect"}=e,i=function(){let e=window.localStorage.getItem(I);if(e)return new S.Ed25519PrivateKey(e);let t=S.Ed25519PrivateKey.generate();return window.localStorage.setItem(I,t.toString()),t}(),o=i.publicKey(),s=(0,T.v4)(),a=Date.now(),c=(0,A.makePopupWalletRequestChallenge)({body:r,id:s,timestamp:a}),u=i.sign(c),l={body:r,clientIdentityKey:o,id:s,signature:u,timestamp:a},d=(0,A.encodePopupWalletRequest)(l);return d.length>1024&&(async function(e,t){let r=(0,C.bytesToBase64url)(t.clientIdentityKey.toUint8Array());if(!(await fetch(`${e}/v1/dapp/clients/${r}/requests/`,{body:JSON.stringify({body:(0,C.encodeWalletRequestBody)(t.body),id:t.id,signature:(0,C.bytesToBase64)(t.signature.toUint8Array()),timestamp:t.timestamp}),headers:{Accept:"application/json","Content-Type":"application/json"},method:"post"})).ok)throw new Error("Failed creating the wallet request")}(t,l),d=(0,A.encodePopupWalletRequest)({clientIdentityKey:o,id:s,signature:u,timestamp:a})),(0,E.postEvent)("web_app_open_tg_link",{path_full:`${n}?startapp=${d}`}),P(t,o,s)}var B=class{constructor(e,t="google",r){this.baseUrl=e,this.provider=t,this.tgWebAppUrl=r,this.baseUrl=e}async sendPromptRequest(e){if(void 0!==window.TelegramWebviewProxy)return k({baseUrl:this.baseUrl,request:e,tgWebAppUrl:this.tgWebAppUrl});let t=new URL(`${this.baseUrl}/prompt/`);t.searchParams.set("provider",this.provider);let r=function(e,t=l){let{height:r,width:n}=t,i={height:r,left:window.screenLeft+Math.round((window.outerWidth-n)/2),popup:!0,top:window.screenTop+Math.round((window.outerHeight-r)/2),width:n},o=Object.entries(i).map((([e,t])=>`${e}=${JSON.stringify(t)}`)).reduce(((e,t)=>`${e}, ${t}`)),s=e instanceof URL?e.href:e,a=window.open(s,void 0,o);if(null===a)throw new Error("Couldn't open prompt");return a}(t);return async function(e,t,r){return new Promise(((n,i)=>{let o={onMessage:s=>{if(s.source===t&&s.origin===e){if((0,u.isTypedMessage)(u.PromptUnauthorizedErrorMessage,s.data))return window.removeEventListener("message",o.onMessage),clearTimeout(o.promptPollerId),void i(new h);if((0,u.isTypedMessage)(u.PromptConnectionRequestMessage,s.data))return void t.postMessage(new u.PromptConnectionResponseMessage(r),e);(0,u.isTypedMessage)(u.PromptApprovalResponseMessage,s.data)&&(window.removeEventListener("message",o.onMessage),clearTimeout(o.promptPollerId),n(s.data.serializedValue))}},promptPollerId:setInterval((()=>{t.closed&&(window.removeEventListener("message",o.onMessage),clearTimeout(o.promptPollerId),n(d))}),500)};window.addEventListener("message",o.onMessage)}))}(this.baseUrl,r,e)}async sendRequest(e){switch(e.name){case c.IsConnectedRequest.name:{let e=w();return c.IsConnectedResponse.serialize(e.length>0)}case c.GetConnectedAccountsRequest.name:{let e=w();return c.GetConnectedAccountsResponse.serialize(e)}case c.ConnectRequest.name:{let t=await this.sendPromptRequest(e),r=c.ConnectResponse.deserialize(t);if("approved"===r.args.status){let{account:e,pairing:t}=r.args.args;void 0===t&&v(e)}return t}case c.SignInRequest.name:{let t=await this.sendPromptRequest(e),r=c.SignInResponse.deserialize(t);if("approved"===r.args.status){let{account:e}=r.args.args;v(e)}return t}case c.DisconnectRequest.name:{let[e]=w();return e&&function(e){let{connectedAccounts:t,...r}=y(),n=t.findIndex((t=>t.address.equals(e)));n>=0&&t.splice(n,1),b({...r,connectedAccounts:t})}(e.address),c.DisconnectResponse.serialize({})}case c.SignMessageRequest.name:case c.SignTransactionRequest.name:case c.SignAndSubmitTransactionRequest.name:return this.sendPromptRequest(e);default:throw new Error("Unexpected request")}}}})),GW=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{DEFAULT_BACKEND_URL:()=>c,NetworkName:()=>u,PairingStatus:()=>l,SigningRequestStatus:()=>h,SigningRequestTypes:()=>d,WalletOSEnum:()=>f,WalletPlatformEnum:()=>p}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c="https://identityconnect.com",u=(e=>(e.DEVNET="devnet",e.MAINNET="mainnet",e.TESTNET="testnet",e))(u||{}),l=(e=>(e.Finalized="FINALIZED",e.Pending="PENDING",e))(l||{}),d=(e=>(e.SIGN_AND_SUBMIT_TRANSACTION="SIGN_AND_SUBMIT_TRANSACTION",e.SIGN_MESSAGE="SIGN_MESSAGE",e.SIGN_TRANSACTION="SIGN_TRANSACTION",e))(d||{}),h=(e=>(e.APPROVED="APPROVED",e.CANCELLED="CANCELLED",e.INVALID="INVALID",e.PENDING="PENDING",e.REJECTED="REJECTED",e))(h||{}),f=(e=>(e.Android="android",e.IdentityConnect="ic",e.Linux="linux",e.Macos="osx",e.Windows="win",e.iOS="ios",e))(f||{}),p=(e=>(e.BraveExtension="brave-extension",e.ChromeExtension="chrome-extension",e.FirefoxExtension="firefox-extension",e.IcDappWallet="ic-dapp-wallet",e.KiwiExtension="kiwi-extension",e.NativeApp="native-app",e.OperaExtension="opera-extension",e.SafariExtension="safari-extension",e))(p||{})})),B6=W((e=>{"use strict";function t(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function r(e){if("boolean"!=typeof e)throw new Error(`Expected boolean, not ${e}`)}function n(e,...t){if(!function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function i(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");t(e.outputLen),t(e.blockLen)}function o(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function s(e,t){n(e);let r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.output=e.exists=e.hash=e.bytes=e.bool=e.number=void 0,e.number=t,e.bool=r,e.bytes=n,e.hash=i,e.exists=o,e.output=s;var a={number:t,bool:r,bytes:n,hash:i,exists:o,output:s};e.default=a})),Nze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.crypto=void 0,e.crypto="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0})),K0=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.randomBytes=e.wrapXOFConstructorWithOpts=e.wrapConstructorWithOpts=e.wrapConstructor=e.checkOpts=e.Hash=e.concatBytes=e.toBytes=e.utf8ToBytes=e.asyncLoop=e.nextTick=e.hexToBytes=e.bytesToHex=e.isLE=e.rotr=e.createView=e.u32=e.u8=void 0;var t=Nze();e.u8=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength);function r(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}e.u32=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4));e.createView=e=>new DataView(e.buffer,e.byteOffset,e.byteLength);if(e.rotr=(e,t)=>e<<32-t|e>>>t,e.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!e.isLE)throw new Error("Non little-endian hardware is not supported");var n=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));e.bytesToHex=function(e){if(!r(e))throw new Error("Uint8Array expected");let t="";for(let r=0;r<e.length;r++)t+=n[e[r]];return t};var i=48,o=57,s=65,a=70,c=97,u=102;function l(e){return e>=i&&e<=o?e-i:e>=s&&e<=a?e-(s-10):e>=c&&e<=u?e-(c-10):void 0}e.hexToBytes=function(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=l(e.charCodeAt(i)),o=l(e.charCodeAt(i+1));if(void 0===r||void 0===o){let t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}n[t]=16*r+o}return n};function d(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function h(e){if("string"==typeof e&&(e=d(e)),!r(e))throw new Error("expected Uint8Array, got "+typeof e);return e}e.nextTick=async()=>{},e.asyncLoop=async function(t,r,n){let i=Date.now();for(let o=0;o<t;o++){n(o);let t=Date.now()-i;t>=0&&t<r||(await(0,e.nextTick)(),i+=t)}},e.utf8ToBytes=d,e.toBytes=h,e.concatBytes=function(...e){let t=0;for(let n=0;n<e.length;n++){let i=e[n];if(!r(i))throw new Error("Uint8Array expected");t+=i.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n};e.Hash=class{clone(){return this._cloneInto()}};var f={}.toString;e.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!==f.call(t))throw new Error("Options should be object or undefined");return Object.assign(e,t)},e.wrapConstructor=function(e){let t=t=>e().update(h(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t},e.wrapConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(h(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},e.wrapXOFConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(h(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},e.randomBytes=function(e=32){if(t.crypto&&"function"==typeof t.crypto.getRandomValues)return t.crypto.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}})),Pae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.hmac=e.HMAC=void 0;var t=B6(),r=K0(),n=class extends r.Hash{constructor(e,n){super(),this.finished=!1,this.destroyed=!1,(0,t.hash)(e);let i=(0,r.toBytes)(n);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,s=new Uint8Array(o);s.set(i.length>o?e.create().update(i).digest():i);for(let e=0;e<s.length;e++)s[e]^=54;this.iHash.update(s),this.oHash=e.create();for(let e=0;e<s.length;e++)s[e]^=106;this.oHash.update(s),s.fill(0)}update(e){return(0,t.exists)(this),this.iHash.update(e),this}digestInto(e){(0,t.exists)(this),(0,t.bytes)(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:r,finished:n,destroyed:i,blockLen:o,outputLen:s}=this;return e.finished=n,e.destroyed=i,e.blockLen=o,e.outputLen=s,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}};e.HMAC=n;e.hmac=(e,t,r)=>new n(e,t).update(r).digest(),e.hmac.create=(e,t)=>new n(e,t)})),zze=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.pbkdf2Async=e.pbkdf2=void 0;var t=B6(),r=Pae(),n=K0();function i(e,i,o,s){(0,t.hash)(e);let a=(0,n.checkOpts)({dkLen:32,asyncTick:10},s),{c:c,dkLen:u,asyncTick:l}=a;if((0,t.number)(c),(0,t.number)(u),(0,t.number)(l),c<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let d=(0,n.toBytes)(i),h=(0,n.toBytes)(o),f=new Uint8Array(u),p=r.hmac.create(e,d),g=p._cloneInto().update(h);return{c:c,dkLen:u,asyncTick:l,DK:f,PRF:p,PRFSalt:g}}function o(e,t,r,n,i){return e.destroy(),t.destroy(),n&&n.destroy(),i.fill(0),r}e.pbkdf2=function(e,t,r,s){let a,{c:c,dkLen:u,DK:l,PRF:d,PRFSalt:h}=i(e,t,r,s),f=new Uint8Array(4),p=(0,n.createView)(f),g=new Uint8Array(d.outputLen);for(let e=1,t=0;t<u;e++,t+=d.outputLen){let r=l.subarray(t,t+d.outputLen);p.setInt32(0,e,!1),(a=h._cloneInto(a)).update(f).digestInto(g),r.set(g.subarray(0,r.length));for(let e=1;e<c;e++){d._cloneInto(a).update(g).digestInto(g);for(let e=0;e<r.length;e++)r[e]^=g[e]}}return o(d,h,l,a,g)},e.pbkdf2Async=async function(e,t,r,s){let a,{c:c,dkLen:u,asyncTick:l,DK:d,PRF:h,PRFSalt:f}=i(e,t,r,s),p=new Uint8Array(4),g=(0,n.createView)(p),y=new Uint8Array(h.outputLen);for(let e=1,t=0;t<u;e++,t+=h.outputLen){let r=d.subarray(t,t+h.outputLen);g.setInt32(0,e,!1),(a=f._cloneInto(a)).update(p).digestInto(y),r.set(y.subarray(0,r.length)),await(0,n.asyncLoop)(c-1,l,(()=>{h._cloneInto(a).update(y).digestInto(y);for(let e=0;e<r.length;e++)r[e]^=y[e]}))}return o(h,f,d,a,y)}})),kae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.SHA2=void 0;var t=B6(),r=K0();var n=class extends r.Hash{constructor(e,t,n,i){super(),this.blockLen=e,this.outputLen=t,this.padOffset=n,this.isLE=i,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){(0,t.exists)(this);let{view:n,buffer:i,blockLen:o}=this,s=(e=(0,r.toBytes)(e)).length;for(let t=0;t<s;){let a=Math.min(o-this.pos,s-t);if(a!==o)i.set(e.subarray(t,t+a),this.pos),this.pos+=a,t+=a,this.pos===o&&(this.process(n,0),this.pos=0);else{let n=(0,r.createView)(e);for(;o<=s-t;t+=o)this.process(n,t)}}return this.length+=e.length,this.roundClean(),this}digestInto(e){(0,t.exists)(this),(0,t.output)(e,this),this.finished=!0;let{buffer:n,view:i,blockLen:o,isLE:s}=this,{pos:a}=this;n[a++]=128,this.buffer.subarray(a).fill(0),this.padOffset>o-a&&(this.process(i,0),a=0);for(let e=a;e<o;e++)n[e]=0;(function(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),o=BigInt(4294967295),s=Number(r>>i&o),a=Number(r&o),c=n?4:0,u=n?0:4;e.setUint32(t+c,s,n),e.setUint32(t+u,a,n)})(i,o-8,BigInt(8*this.length),s),this.process(i,0);let c=(0,r.createView)(e),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let l=u/4,d=this.get();if(l>d.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e<l;e++)c.setUint32(4*e,d[e],s)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:o,pos:s}=this;return e.length=n,e.pos=s,e.finished=i,e.destroyed=o,n%t&&e.buffer.set(r),e}};e.SHA2=n})),Rae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.sha224=e.sha256=void 0;var t=kae(),r=K0(),n=(e,t,r)=>e&t^~e&r,i=(e,t,r)=>e&t^e&r^t&r,o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),s=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),a=new Uint32Array(64),c=class extends t.SHA2{constructor(){super(64,32,8,!1),this.A=0|s[0],this.B=0|s[1],this.C=0|s[2],this.D=0|s[3],this.E=0|s[4],this.F=0|s[5],this.G=0|s[6],this.H=0|s[7]}get(){let{A:e,B:t,C:r,D:n,E:i,F:o,G:s,H:a}=this;return[e,t,r,n,i,o,s,a]}set(e,t,r,n,i,o,s,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let r=0;r<16;r++,t+=4)a[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=a[e-15],n=a[e-2],i=(0,r.rotr)(t,7)^(0,r.rotr)(t,18)^t>>>3,o=(0,r.rotr)(n,17)^(0,r.rotr)(n,19)^n>>>10;a[e]=o+a[e-7]+i+a[e-16]|0}let{A:s,B:c,C:u,D:l,E:d,F:h,G:f,H:p}=this;for(let e=0;e<64;e++){let t=p+((0,r.rotr)(d,6)^(0,r.rotr)(d,11)^(0,r.rotr)(d,25))+n(d,h,f)+o[e]+a[e]|0,g=((0,r.rotr)(s,2)^(0,r.rotr)(s,13)^(0,r.rotr)(s,22))+i(s,c,u)|0;p=f,f=h,h=d,d=l+t|0,l=u,u=c,c=s,s=t+g|0}s=s+this.A|0,c=c+this.B|0,u=u+this.C|0,l=l+this.D|0,d=d+this.E|0,h=h+this.F|0,f=f+this.G|0,p=p+this.H|0,this.set(s,c,u,l,d,h,f,p)}roundClean(){a.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},u=class extends c{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}};e.sha256=(0,r.wrapConstructor)((()=>new c)),e.sha224=(0,r.wrapConstructor)((()=>new u))})),Uae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.add5L=e.add5H=e.add4H=e.add4L=e.add3H=e.add3L=e.add=e.rotlBL=e.rotlBH=e.rotlSL=e.rotlSH=e.rotr32L=e.rotr32H=e.rotrBL=e.rotrBH=e.rotrSL=e.rotrSH=e.shrSL=e.shrSH=e.toBig=e.split=e.fromBig=void 0;var t=BigInt(2**32-1),r=BigInt(32);function n(e,n=!1){return n?{h:Number(e&t),l:Number(e>>r&t)}:{h:0|Number(e>>r&t),l:0|Number(e&t)}}function i(e,t=!1){let r=new Uint32Array(e.length),i=new Uint32Array(e.length);for(let o=0;o<e.length;o++){let{h:s,l:a}=n(e[o],t);[r[o],i[o]]=[s,a]}return[r,i]}e.fromBig=n,e.split=i;var o=(e,t)=>BigInt(e>>>0)<<r|BigInt(t>>>0);e.toBig=o;var s=(e,t,r)=>e>>>r;e.shrSH=s;var a=(e,t,r)=>e<<32-r|t>>>r;e.shrSL=a;var c=(e,t,r)=>e>>>r|t<<32-r;e.rotrSH=c;var u=(e,t,r)=>e<<32-r|t>>>r;e.rotrSL=u;var l=(e,t,r)=>e<<64-r|t>>>r-32;e.rotrBH=l;var d=(e,t,r)=>e>>>r-32|t<<64-r;e.rotrBL=d;var h=(e,t)=>t;e.rotr32H=h;var f=(e,t)=>e;e.rotr32L=f;var p=(e,t,r)=>e<<r|t>>>32-r;e.rotlSH=p;var g=(e,t,r)=>t<<r|e>>>32-r;e.rotlSL=g;var y=(e,t,r)=>t<<r-32|e>>>64-r;e.rotlBH=y;var b=(e,t,r)=>e<<r-32|t>>>64-r;function w(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:0|i}}e.rotlBL=b,e.add=w;var v=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);e.add3L=v;var A=(e,t,r,n)=>t+r+n+(e/2**32|0)|0;e.add3H=A;var E=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);e.add4L=E;var T=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0;e.add4H=T;var C=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0);e.add5L=C;var S=(e,t,r,n,i,o)=>t+r+n+i+o+(e/2**32|0)|0;e.add5H=S;var I={fromBig:n,split:i,toBig:o,shrSH:s,shrSL:a,rotrSH:c,rotrSL:u,rotrBH:l,rotrBL:d,rotr32H:h,rotr32L:f,rotlSH:p,rotlSL:g,rotlBH:y,rotlBL:b,add:w,add3L:v,add3H:A,add4L:E,add4H:T,add5H:S,add5L:C};e.default=I})),zae=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.sha384=e.sha512_256=e.sha512_224=e.sha512=e.SHA512=void 0;var t=kae(),r=Uae(),n=K0(),[i,o]=r.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))),s=new Uint32Array(80),a=new Uint32Array(80),c=class extends t.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:o,Dh:s,Dl:a,Eh:c,El:u,Fh:l,Fl:d,Gh:h,Gl:f,Hh:p,Hl:g}=this;return[e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g]}set(e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|d,this.Gh=0|h,this.Gl=0|f,this.Hh=0|p,this.Hl=0|g}process(e,t){for(let r=0;r<16;r++,t+=4)s[r]=e.getUint32(t),a[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|s[e-15],n=0|a[e-15],i=r.default.rotrSH(t,n,1)^r.default.rotrSH(t,n,8)^r.default.shrSH(t,n,7),o=r.default.rotrSL(t,n,1)^r.default.rotrSL(t,n,8)^r.default.shrSL(t,n,7),c=0|s[e-2],u=0|a[e-2],l=r.default.rotrSH(c,u,19)^r.default.rotrBH(c,u,61)^r.default.shrSH(c,u,6),d=r.default.rotrSL(c,u,19)^r.default.rotrBL(c,u,61)^r.default.shrSL(c,u,6),h=r.default.add4L(o,d,a[e-7],a[e-16]),f=r.default.add4H(h,i,l,s[e-7],s[e-16]);s[e]=0|f,a[e]=0|h}let{Ah:n,Al:c,Bh:u,Bl:l,Ch:d,Cl:h,Dh:f,Dl:p,Eh:g,El:y,Fh:m,Fl:b,Gh:w,Gl:v,Hh:A,Hl:E}=this;for(let e=0;e<80;e++){let t=r.default.rotrSH(g,y,14)^r.default.rotrSH(g,y,18)^r.default.rotrBH(g,y,41),T=r.default.rotrSL(g,y,14)^r.default.rotrSL(g,y,18)^r.default.rotrBL(g,y,41),C=g&m^~g&w,S=y&b^~y&v,I=r.default.add5L(E,T,S,o[e],a[e]),O=r.default.add5H(I,A,t,C,i[e],s[e]),M=0|I,P=r.default.rotrSH(n,c,28)^r.default.rotrBH(n,c,34)^r.default.rotrBH(n,c,39),k=r.default.rotrSL(n,c,28)^r.default.rotrBL(n,c,34)^r.default.rotrBL(n,c,39),B=n&u^n&d^u&d,x=c&l^c&h^l&h;A=0|w,E=0|v,w=0|m,v=0|b,m=0|g,b=0|y,({h:g,l:y}=r.default.add(0|f,0|p,0|O,0|M)),f=0|d,p=0|h,d=0|u,h=0|l,u=0|n,l=0|c;let N=r.default.add3L(M,k,x);n=r.default.add3H(N,O,P,B),c=0|N}({h:n,l:c}=r.default.add(0|this.Ah,0|this.Al,0|n,0|c)),({h:u,l:l}=r.default.add(0|this.Bh,0|this.Bl,0|u,0|l)),({h:d,l:h}=r.default.add(0|this.Ch,0|this.Cl,0|d,0|h)),({h:f,l:p}=r.default.add(0|this.Dh,0|this.Dl,0|f,0|p)),({h:g,l:y}=r.default.add(0|this.Eh,0|this.El,0|g,0|y)),({h:m,l:b}=r.default.add(0|this.Fh,0|this.Fl,0|m,0|b)),({h:w,l:v}=r.default.add(0|this.Gh,0|this.Gl,0|w,0|v)),({h:A,l:E}=r.default.add(0|this.Hh,0|this.Hl,0|A,0|E)),this.set(n,c,u,l,d,h,f,p,g,y,m,b,w,v,A,E)}roundClean(){s.fill(0),a.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}};e.SHA512=c;var u=class extends c{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}},l=class extends c{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}},d=class extends c{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}};e.sha512=(0,n.wrapConstructor)((()=>new c)),e.sha512_224=(0,n.wrapConstructor)((()=>new u)),e.sha512_256=(0,n.wrapConstructor)((()=>new l)),e.sha384=(0,n.wrapConstructor)((()=>new d))})),vKe=W((e=>{"use strict";function t(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function r(...e){let t=e=>e,r=(e,t)=>r=>e(t(r));return{encode:e.map((e=>e.encode)).reduceRight(r,t),decode:e.map((e=>e.decode)).reduce(r,t)}}function n(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("alphabet.encode input should be an array of numbers");return t.map((t=>{if(t<0||t>=e.length)throw new Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]}))},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("alphabet.decode input should be array of strings");return t.map((t=>{if("string"!=typeof t)throw new Error(`alphabet.decode: not string element=${t}`);let r=e.indexOf(t);if(-1===r)throw new Error(`Unknown letter: "${t}". Allowed: ${e}`);return r}))}}}function i(e=""){if("string"!=typeof e)throw new Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw new Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw new Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw new Error("join.decode input should be string");return t.split(e)}}}function o(e,t="="){if("string"!=typeof t)throw new Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw new Error(`padding.encode: non-string input=${e}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw new Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw new Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw new Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw new Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function s(e){if("function"!=typeof e)throw new Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function a(e,t,r){if(t<2)throw new Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(e))throw new Error("convertRadix: data should be array");if(!e.length)return[];let n=0,i=[],o=Array.from(e);for(o.forEach((e=>{if(e<0||e>=t)throw new Error(`Wrong integer: ${e}`)}));;){let e=0,s=!0;for(let i=n;i<o.length;i++){let a=o[i],c=t*e+a;if(!Number.isSafeInteger(c)||t*e/t!==e||c-a!=t*e)throw new Error("convertRadix: carry overflow");e=c%r;let u=Math.floor(c/r);if(o[i]=u,!Number.isSafeInteger(u)||u*r+e!==c)throw new Error("convertRadix: carry overflow");s&&(u?s=!1:n=i)}if(i.push(e),s)break}for(let t=0;t<e.length-1&&0===e[t];t++)i.push(0);return i.reverse()}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.bytes=e.stringToBytes=e.str=e.bytesToString=e.hex=e.utf8=e.bech32m=e.bech32=e.base58check=e.createBase58check=e.base58xmr=e.base58xrp=e.base58flickr=e.base58=e.base64urlnopad=e.base64url=e.base64nopad=e.base64=e.base32crockford=e.base32hexnopad=e.base32hex=e.base32nopad=e.base32=e.base16=e.utils=void 0,e.assertNumber=function(e){if(!Number.isSafeInteger(e))throw new Error(`Wrong integer: ${e}`)};var c=(e,t)=>t?c(t,e%t):e,u=(e,t)=>e+(t-c(e,t));function l(e,t,r,n){if(!Array.isArray(e))throw new Error("convertRadix2: data should be array");if(t<=0||t>32)throw new Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw new Error(`convertRadix2: wrong to=${r}`);if(u(t,r)>32)throw new Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${u(t,r)}`);let i=0,o=0,s=2**r-1,a=[];for(let n of e){if(n>=2**t)throw new Error(`convertRadix2: invalid data word=${n} from=${t}`);if(i=i<<t|n,o+t>32)throw new Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=r;o-=r)a.push((i>>o-r&s)>>>0);i&=2**o-1}if(i=i<<r-o&s,!n&&o>=t)throw new Error("Excess padding");if(!n&&i)throw new Error(`Non-zero padding: ${i}`);return n&&o>0&&a.push(i>>>0),a}function d(e){return{encode:r=>{if(!t(r))throw new Error("radix.encode input should be Uint8Array");return a(Array.from(r),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("radix.decode input should be array of numbers");return Uint8Array.from(a(t,e,256))}}}function h(e,r=!1){if(e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if(u(8,e)>32||u(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!t(n))throw new Error("radix2.encode input should be Uint8Array");return l(Array.from(n),8,e,!r)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw new Error("radix2.decode input should be array of numbers");return Uint8Array.from(l(t,e,8,r))}}}function f(e){if("function"!=typeof e)throw new Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch{}}}function p(e,r){if("function"!=typeof r)throw new Error("checksum fn should be function");return{encode(n){if(!t(n))throw new Error("checksum.encode: input should be Uint8Array");let i=r(n).slice(0,e),o=new Uint8Array(n.length+e);return o.set(n),o.set(i,n.length),o},decode(n){if(!t(n))throw new Error("checksum.decode: input should be Uint8Array");let i=n.slice(0,-e),o=r(i).slice(0,e),s=n.slice(-e);for(let t=0;t<e;t++)if(o[t]!==s[t])throw new Error("Invalid checksum");return i}}}e.utils={alphabet:n,chain:r,checksum:p,convertRadix:a,convertRadix2:l,radix:d,radix2:h,join:i,padding:o},e.base16=r(h(4),n("0123456789ABCDEF"),i("")),e.base32=r(h(5),n("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),o(5),i("")),e.base32nopad=r(h(5),n("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),i("")),e.base32hex=r(h(5),n("0123456789ABCDEFGHIJKLMNOPQRSTUV"),o(5),i("")),e.base32hexnopad=r(h(5),n("0123456789ABCDEFGHIJKLMNOPQRSTUV"),i("")),e.base32crockford=r(h(5),n("0123456789ABCDEFGHJKMNPQRSTVWXYZ"),i(""),s((e=>e.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1")))),e.base64=r(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o(6),i("")),e.base64nopad=r(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),i("")),e.base64url=r(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),o(6),i("")),e.base64urlnopad=r(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),i(""));var g=e=>r(d(58),n(e),i(""));e.base58=g("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),e.base58flickr=g("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),e.base58xrp=g("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");var y=[0,2,3,5,6,7,9,10,11];e.base58xmr={encode(t){let r="";for(let n=0;n<t.length;n+=8){let i=t.subarray(n,n+8);r+=e.base58.encode(i).padStart(y[i.length],"1")}return r},decode(t){let r=[];for(let n=0;n<t.length;n+=11){let i=t.slice(n,n+11),o=y.indexOf(i.length),s=e.base58.decode(i);for(let e=0;e<s.length-o;e++)if(0!==s[e])throw new Error("base58xmr: wrong padding");r=r.concat(Array.from(s.slice(s.length-o)))}return Uint8Array.from(r)}};e.createBase58check=t=>r(p(4,(e=>t(t(e)))),e.base58),e.base58check=e.createBase58check;var b=r(n("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),i("")),w=[996825010,642813549,513874426,1027748829,705979059];function v(e){let t=e>>25,r=(33554431&e)<<5;for(let e=0;e<w.length;e++)1==(t>>e&1)&&(r^=w[e]);return r}function A(e,t,r=1){let n=e.length,i=1;for(let t=0;t<n;t++){let r=e.charCodeAt(t);if(r<33||r>126)throw new Error(`Invalid prefix (${e})`);i=v(i)^r>>5}i=v(i);for(let t=0;t<n;t++)i=v(i)^31&e.charCodeAt(t);for(let e of t)i=v(i)^e;for(let e=0;e<6;e++)i=v(i);return i^=r,b.encode(l([i%2**30],30,5,!1))}function E(e){let t="bech32"===e?1:734539939,r=h(5),n=r.decode,i=r.encode,o=f(n);function s(e,r,n=90){if("string"!=typeof e)throw new Error("bech32.encode prefix should be string, not "+typeof e);if(r instanceof Uint8Array&&(r=Array.from(r)),!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw new Error("bech32.encode words should be array of numbers, not "+typeof r);if(0===e.length)throw new TypeError(`Invalid prefix length ${e.length}`);let i=e.length+7+r.length;if(!1!==n&&i>n)throw new TypeError(`Length ${i} exceeds limit ${n}`);let o=e.toLowerCase(),s=A(o,r,t);return`${o}1${b.encode(r)}${s}`}function a(e,r=90){if("string"!=typeof e)throw new Error("bech32.decode input should be string, not "+typeof e);if(e.length<8||!1!==r&&e.length>r)throw new TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${r})`);let n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw new Error("String must be lowercase or uppercase");let i=n.lastIndexOf("1");if(0===i||-1===i)throw new Error('Letter "1" must be present between prefix and data only');let o=n.slice(0,i),s=n.slice(i+1);if(s.length<6)throw new Error("Data must be at least 6 characters long");let a=b.decode(s).slice(0,-6),c=A(o,a,t);if(!s.endsWith(c))throw new Error(`Invalid checksum in ${e}: expected "${c}"`);return{prefix:o,words:a}}return{encode:s,decode:a,encodeFromBytes:function(e,t){return s(e,i(t))},decodeToBytes:function(e){let{prefix:t,words:r}=a(e,!1);return{prefix:t,words:r,bytes:n(r)}},decodeUnsafe:f(a),fromWords:n,fromWordsUnsafe:o,toWords:i}}e.bech32=E("bech32"),e.bech32m=E("bech32m"),e.utf8={encode:e=>(new TextDecoder).decode(e),decode:e=>(new TextEncoder).encode(e)},e.hex=r(h(4),n("0123456789abcdef"),i(""),s((e=>{if("string"!=typeof e||e.length%2)throw new TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()})));var T={utf8:e.utf8,hex:e.hex,base16:e.base16,base32:e.base32,base64:e.base64,base64url:e.base64url,base58:e.base58,base58xmr:e.base58xmr},C="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";e.bytesToString=(e,r)=>{if("string"!=typeof e||!T.hasOwnProperty(e))throw new TypeError(C);if(!t(r))throw new TypeError("bytesToString() expects Uint8Array");return T[e].encode(r)},e.str=e.bytesToString;e.stringToBytes=(e,t)=>{if(!T.hasOwnProperty(e))throw new TypeError(C);if("string"!=typeof t)throw new TypeError("stringToBytes() expects string");return T[e].decode(t)},e.bytes=e.stringToBytes})),PKe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.mnemonicToSeedSync=e.mnemonicToSeed=e.validateMnemonic=e.entropyToMnemonic=e.mnemonicToEntropy=e.generateMnemonic=void 0;var t=B6(),r=zze(),n=Rae(),i=zae(),o=K0(),s=vKe();function a(e){if("string"!=typeof e)throw new TypeError("Invalid mnemonic type: "+typeof e);return e.normalize("NFKD")}function c(e){let t=a(e),r=t.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:r}}function u(e){t.default.bytes(e,16,20,24,28,32)}e.generateMnemonic=function(e,r=128){if(t.default.number(r),r%32!=0||r>256)throw new TypeError("Invalid entropy");return f((0,o.randomBytes)(r/8),e)};var l=e=>{let t=8-e.length/4;return new Uint8Array([(0,n.sha256)(e)[0]>>t<<t])};function d(e){if(!Array.isArray(e)||2048!==e.length||"string"!=typeof e[0])throw new Error("Worlist: expected array of 2048 strings");return e.forEach((e=>{if("string"!=typeof e)throw new Error(`Wordlist: non-string element: ${e}`)})),s.utils.chain(s.utils.checksum(1,l),s.utils.radix2(11,!0),s.utils.alphabet(e))}function h(e,t){let{words:r}=c(e),n=d(t).decode(r);return u(n),n}function f(e,t){return u(e),d(t).encode(e).join((e=>"あいこくしん"===e[0])(t)?"　":" ")}e.mnemonicToEntropy=h,e.entropyToMnemonic=f,e.validateMnemonic=function(e,t){try{h(e,t)}catch{return!1}return!0};var p=e=>a(`mnemonic${e}`);e.mnemonicToSeed=function(e,t=""){return(0,r.pbkdf2Async)(i.sha512,c(e).nfkd,p(t),{c:2048,dkLen:64})},e.mnemonicToSeedSync=function(e,t=""){return(0,r.pbkdf2)(i.sha512,c(e).nfkd,p(t),{c:2048,dkLen:64})}})),J5=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.shake256=e.shake128=e.keccak_512=e.keccak_384=e.keccak_256=e.keccak_224=e.sha3_512=e.sha3_384=e.sha3_256=e.sha3_224=e.Keccak=e.keccakP=void 0;var t=B6(),r=Uae(),n=K0(),[i,o,s]=[[],[],[]],a=BigInt(0),c=BigInt(1),u=BigInt(2),l=BigInt(7),d=BigInt(256),h=BigInt(113);for(let e=0,t=c,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],i.push(2*(5*n+r)),o.push((e+1)*(e+2)/2%64);let f=a;for(let e=0;e<7;e++)t=(t<<c^(t>>l)*h)%d,t&u&&(f^=c<<(c<<BigInt(e))-c);s.push(f)}var[f,p]=(0,r.split)(s,!0),g=(e,t,n)=>n>32?(0,r.rotlBH)(e,t,n):(0,r.rotlSH)(e,t,n),y=(e,t,n)=>n>32?(0,r.rotlBL)(e,t,n):(0,r.rotlSL)(e,t,n);function b(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],s=r[i+1],a=g(o,s,1)^r[n],c=y(o,s,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=c}let t=e[2],s=e[3];for(let r=0;r<24;r++){let n=o[r],a=g(t,s,n),c=y(t,s,n),u=i[r];t=e[u],s=e[u+1],e[u]=a,e[u+1]=c}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=f[n],e[1]^=p[n]}r.fill(0)}e.keccakP=b;var w=class e extends n.Hash{constructor(e,r,i,o=!1,s=24){if(super(),this.blockLen=e,this.suffix=r,this.outputLen=i,this.enableXOF=o,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,t.number)(i),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,n.u32)(this.state)}keccak(){b(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){(0,t.exists)(this);let{blockLen:r,state:i}=this,o=(e=(0,n.toBytes)(e)).length;for(let t=0;t<o;){let n=Math.min(r-this.pos,o-t);for(let r=0;r<n;r++)i[this.pos++]^=e[t++];this.pos===r&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,128&t&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){(0,t.exists)(this,!1),(0,t.bytes)(e),this.finish();let r=this.state,{blockLen:n}=this;for(let t=0,i=e.length;t<i;){this.posOut>=n&&this.keccak();let o=Math.min(n-this.posOut,i-t);e.set(r.subarray(this.posOut,this.posOut+o),t),this.posOut+=o,t+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,t.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,t.output)(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:i,rounds:o,enableXOF:s}=this;return t||(t=new e(r,n,i,s,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=s,t.destroyed=this.destroyed,t}};e.Keccak=w;var v=(e,t,r)=>(0,n.wrapConstructor)((()=>new w(t,e,r)));e.sha3_224=v(6,144,28),e.sha3_256=v(6,136,32),e.sha3_384=v(6,104,48),e.sha3_512=v(6,72,64),e.keccak_224=v(1,144,28),e.keccak_256=v(1,136,32),e.keccak_384=v(1,104,48),e.keccak_512=v(1,72,64);var A=(e,t,r)=>(0,n.wrapXOFConstructorWithOpts)(((n={})=>new w(t,e,void 0===n.dkLen?r:n.dkLen,!0)));e.shake128=A(31,168,16),e.shake256=A(31,136,32)})),Hje=W(((e,t)=>{"use strict";m();var r,n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})},l=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of s(t))!c.call(e,a)&&a!==r&&i(e,a,{get:()=>t[a],enumerable:!(n=o(t,a))||n.enumerable});return e},d=(e,t,r)=>(r=null!=e?n(a(e)):{},l(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),h=(e,t,r,n)=>{for(var s,a=n>1?void 0:n?o(t,r):t,c=e.length-1;c>=0;c--)(s=e[c])&&(a=(n?s(t,r,a):s(a))||a);return n&&a&&i(t,r,a),a},f={};u(f,{APTOS_COIN:()=>R,AccountSequenceNumber:()=>Zr,Account_Transactions_Select_Column:()=>ln,Address_Events_Summary_Select_Column:()=>dn,Address_Version_From_Events_Select_Column:()=>hn,Address_Version_From_Move_Resources_Select_Column:()=>fn,AnsClient:()=>Xr,ApiError:()=>Cr,AptosAccount:()=>Jt,AptosApiError:()=>z,AptosClient:()=>Ar,AptosToken:()=>Kr,BCS:()=>$,Block_Metadata_Transactions_Select_Column:()=>pn,CKDPriv:()=>O,COIN_TRANSFER:()=>Hr,CoinClient:()=>Gr,Coin_Activities_Select_Column:()=>gn,Coin_Balances_Select_Column:()=>yn,Coin_Infos_Select_Column:()=>mn,Coin_Supply_Select_Column:()=>bn,Collection_Datas_Select_Column:()=>wn,Current_Ans_Lookup_Select_Column:()=>vn,Current_Ans_Lookup_V2_Select_Column:()=>An,Current_Aptos_Names_Select_Column:()=>En,Current_Coin_Balances_Select_Column:()=>Tn,Current_Collection_Datas_Select_Column:()=>Cn,Current_Collection_Ownership_V2_View_Select_Column:()=>Sn,Current_Collections_V2_Select_Column:()=>In,Current_Delegated_Staking_Pool_Balances_Select_Column:()=>On,Current_Delegated_Voter_Select_Column:()=>Mn,Current_Delegator_Balances_Select_Column:()=>Pn,Current_Fungible_Asset_Balances_Select_Column:()=>kn,Current_Objects_Select_Column:()=>Bn,Current_Staking_Pool_Voter_Select_Column:()=>xn,Current_Table_Items_Select_Column:()=>Nn,Current_Token_Datas_Select_Column:()=>Rn,Current_Token_Datas_V2_Select_Column:()=>_n,Current_Token_Ownerships_Select_Column:()=>Un,Current_Token_Ownerships_V2_Select_Column:()=>Dn,Current_Token_Pending_Claims_Select_Column:()=>Wn,Cursor_Ordering:()=>Ln,Delegated_Staking_Activities_Select_Column:()=>zn,Delegated_Staking_Pools_Select_Column:()=>Fn,Delegator_Distinct_Pool_Select_Column:()=>Kn,Events_Select_Column:()=>jn,FailedTransactionError:()=>Tr,FaucetClient:()=>Vr,FungibleAssetClient:()=>zr,Fungible_Asset_Activities_Select_Column:()=>Hn,Fungible_Asset_Metadata_Select_Column:()=>Gn,HexString:()=>Q,IndexerClient:()=>Ir,Indexer_Status_Select_Column:()=>Vn,Ledger_Infos_Select_Column:()=>qn,Move_Resources_Select_Column:()=>Jn,Network:()=>Y,NetworkToIndexerAPI:()=>V,NetworkToNodeAPI:()=>q,Nft_Marketplace_V2_Current_Nft_Marketplace_Auctions_Select_Column:()=>Yn,Nft_Marketplace_V2_Current_Nft_Marketplace_Collection_Offers_Select_Column:()=>Xn,Nft_Marketplace_V2_Current_Nft_Marketplace_Listings_Select_Column:()=>Qn,Nft_Marketplace_V2_Current_Nft_Marketplace_Token_Offers_Select_Column:()=>Zn,Nft_Marketplace_V2_Nft_Marketplace_Activities_Select_Column:()=>$n,Nft_Metadata_Crawler_Parsed_Asset_Uris_Select_Column:()=>ei,NodeAPIToNetwork:()=>J,Num_Active_Delegator_Per_Pool_Select_Column:()=>ti,Order_By:()=>ri,Processor_Status_Select_Column:()=>ni,PropertyMap:()=>kr,PropertyValue:()=>Pr,Proposal_Votes_Select_Column:()=>ii,Provider:()=>Or,TRANSFER_COINS:()=>jr,Table_Items_Select_Column:()=>oi,Table_Metadatas_Select_Column:()=>si,TokenClient:()=>Lr,TokenTypes:()=>Ur,Token_Activities_Select_Column:()=>ai,Token_Activities_V2_Select_Column:()=>ci,Token_Datas_Select_Column:()=>ui,Token_Ownerships_Select_Column:()=>li,Tokens_Select_Column:()=>di,TransactionBuilder:()=>gr,TransactionBuilderABI:()=>br,TransactionBuilderEd25519:()=>yr,TransactionBuilderMultiEd25519:()=>mr,TransactionBuilderRemoteABI:()=>wr,TransactionWorker:()=>on,TransactionWorkerEvents:()=>nn,TxnBuilderTypes:()=>Z,TypeTagParser:()=>st,Types:()=>sn,User_Transactions_Select_Column:()=>hi,WaitForTransactionError:()=>Er,ansContractsMap:()=>qr,aptosRequest:()=>K,argToTransactionArgument:()=>fr,derivePath:()=>k,deserializePropertyMap:()=>Rr,deserializeValueBasedOnTypeTag:()=>_r,ensureBigInt:()=>ur,ensureBoolean:()=>ar,ensureNumber:()=>cr,get:()=>j,getAddressFromAccountOrAddress:()=>Yt,getMasterKeyFromSeed:()=>I,getPropertyType:()=>Br,getPropertyValueRaw:()=>xr,getPublicKey:()=>M,getSinglePropertyValueRaw:()=>Nr,isValidPath:()=>P,nameComponentPattern:()=>Jr,namePattern:()=>Yr,post:()=>H,serializeArg:()=>lr}),t.exports=(r=f,l(i({},"__esModule",{value:!0}),r));var p=d(oh()),g=d(PKe()),y=K0(),b=Rae(),w=J5(),v=d(oh()),A=Pae(),E=zae(),T=K0(),C=/^m(\/[0-9]+')+$/,S=e=>e.replace("'",""),I=e=>{let t=A.hmac.create(E.sha512,"ed25519 seed").update((0,T.hexToBytes)(e)).digest();return{key:t.slice(0,32),chainCode:t.slice(32)}},O=({key:e,chainCode:t},r)=>{let n=new ArrayBuffer(4);new DataView(n).setUint32(0,r);let i=new Uint8Array(n),o=new Uint8Array([0]),s=new Uint8Array([...o,...e,...i]),a=A.hmac.create(E.sha512,t).update(s).digest();return{key:a.slice(0,32),chainCode:a.slice(32)}},M=(e,t=!0)=>{let r=v.default.sign.keyPair.fromSeed(e).secretKey.subarray(32),n=new Uint8Array([0]);return t?new Uint8Array([...n,...r]):r},P=e=>!!C.test(e)&&!e.split("/").slice(1).map(S).some(Number.isNaN),k=(e,t,r=2147483648)=>{if(!P(e))throw new Error("Invalid derivation path");let{key:n,chainCode:i}=I(t);return e.split("/").slice(1).map(S).map((e=>parseInt(e,10))).reduce(((e,t)=>O(e,t+r)),{key:n,chainCode:i})},B="1.21.0";async function x(e){return new Promise((t=>{setTimeout(t,e)}))}var N=2e5,R="0x1::aptos_coin::AptosCoin";function _(e){let t,r,n;return"object"==typeof e?(t=e.hashFunction,r=e.ttlMs,n=e.tags):t=e,(e,i,o)=>{if(null!=o.value)o.value=W(o.value,t,r,n);else{if(null==o.get)throw new Error("Only put a Memoize() decorator on a method or get accessor.");o.get=W(o.get,t,r,n)}}}function U(e,t){return _({ttlMs:e,hashFunction:t})}var D=new Map;function W(e,t,r=0,n){let i=Symbol("__memoized_map__");return function(...o){let s,a=this;a.hasOwnProperty(i)||Object.defineProperty(a,i,{configurable:!1,enumerable:!1,writable:!1,value:new Map});let c=a[i];if(Array.isArray(n))for(let e of n)D.has(e)?D.get(e).push(c):D.set(e,[c]);if(t||o.length>0||r>0){let n;n=!0===t?o.map((e=>e.toString())).join("!"):t?t.apply(a,o):o[0];let i=`${n}__timestamp`,u=!1;if(r>0)if(c.has(i)){let e=c.get(i);u=Date.now()-e>r}else u=!0;c.has(n)&&!u?s=c.get(n):(s=e.apply(a,o),c.set(n,s),r>0&&c.set(i,Date.now()))}else{let t=a;c.has(t)?s=c.get(t):(s=e.apply(a,o),c.set(t,s))}return s}}var L=d(fie()),z=class extends Error{constructor(e,t,r){super(r),this.name="AptosApiError",this.url=t.url,this.status=t.status,this.statusText=t.statusText,this.data=t.data,this.request=e}},F={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",429:"Too Many Requests",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable"};async function K(e){let{url:t,endpoint:r,method:n,body:i,contentType:o,params:s,overrides:a}=e,c=`${t}/${r??""}`,u=await async function(e,t,r,n,i,o){let s={...o?.HEADERS,"x-aptos-client":`aptos-ts-sdk/${B}`,"content-type":n??"application/json"};return o?.TOKEN&&(s.Authorization=`Bearer ${o?.TOKEN}`),await(0,L.default)({url:e,method:t,body:r,params:i,headers:s,overrides:o})}(c,n,i,o,s,a),l={status:u.status,statusText:u.statusText,data:u.data,headers:u.headers,config:u.config,url:c};if(l.status>=200&&l.status<300)return l;let d=F[l.status];throw new z(e,l,d??"Generic Error")}async function j(e){return await K({...e,method:"GET"})}async function H(e){return await K({...e,method:"POST"})}async function G(e){let t,r=[],n=e.params;for(;;){n.start=t;let i=await j({url:e.url,endpoint:e.endpoint,params:n,originMethod:e.originMethod,overrides:e.overrides});if(t=i.headers["x-aptos-cursor"],delete i.headers,r.push(...i.data),null==t)break}return r}var V={mainnet:"https://indexer.mainnet.aptoslabs.com/v1/graphql",testnet:"https://indexer-testnet.staging.gcp.aptosdev.com/v1/graphql",devnet:"https://indexer-devnet.staging.gcp.aptosdev.com/v1/graphql",local:"http://127.0.0.1:8090/v1/graphql"},q={mainnet:"https://fullnode.mainnet.aptoslabs.com/v1",testnet:"https://fullnode.testnet.aptoslabs.com/v1",devnet:"https://fullnode.devnet.aptoslabs.com/v1",local:"http://127.0.0.1:8080/v1"},J={"https://fullnode.mainnet.aptoslabs.com/v1":"mainnet","https://fullnode.testnet.aptoslabs.com/v1":"testnet","https://fullnode.devnet.aptoslabs.com/v1":"devnet","http://127.0.0.1:8080/v1":"local"},Y=(e=>(e.MAINNET="mainnet",e.TESTNET="testnet",e.DEVNET="devnet",e.LOCAL="local",e))(Y||{}),X=K0(),Q=class e{static fromBuffer(t){return e.fromUint8Array(t)}static fromUint8Array(t){return new e((0,X.bytesToHex)(t))}static ensure(t){return"string"==typeof t?new e(t):t}constructor(e){e.startsWith("0x")?this.hexString=e:this.hexString=`0x${e}`}hex(){return this.hexString}noPrefix(){return this.hexString.slice(2)}toString(){return this.hex()}toShortString(){return`0x${this.hexString.replace(/^0x0*/,"")}`}toUint8Array(){return Uint8Array.from((0,X.hexToBytes)(this.noPrefix()))}},Z={};u(Z,{AccountAddress:()=>Te,AccountAuthenticator:()=>Ue,AccountAuthenticatorEd25519:()=>De,AccountAuthenticatorMultiEd25519:()=>We,ArgumentABI:()=>Lt,AuthenticationKey:()=>Gt,ChainId:()=>St,ChangeSet:()=>gt,Ed25519PublicKey:()=>Se,Ed25519Signature:()=>Oe,EntryFunction:()=>lt,EntryFunctionABI:()=>Kt,FeePayerRawTransaction:()=>vt,Identifier:()=>Le,Module:()=>ft,ModuleId:()=>pt,MultiAgentRawTransaction:()=>wt,MultiEd25519PublicKey:()=>Me,MultiEd25519Signature:()=>ke,MultiSig:()=>ht,MultiSigTransactionPayload:()=>dt,RawTransaction:()=>ct,RawTransactionWithData:()=>bt,RotationProofChallenge:()=>Vt,Script:()=>ut,ScriptABI:()=>zt,SignedTransaction:()=>mt,StructTag:()=>Ze,Transaction:()=>Ut,TransactionArgument:()=>It,TransactionArgumentAddress:()=>Nt,TransactionArgumentBool:()=>_t,TransactionArgumentU128:()=>Bt,TransactionArgumentU16:()=>Mt,TransactionArgumentU256:()=>xt,TransactionArgumentU32:()=>Pt,TransactionArgumentU64:()=>kt,TransactionArgumentU8:()=>Ot,TransactionArgumentU8Vector:()=>Rt,TransactionAuthenticator:()=>Be,TransactionAuthenticatorEd25519:()=>xe,TransactionAuthenticatorFeePayer:()=>_e,TransactionAuthenticatorMultiAgent:()=>Re,TransactionAuthenticatorMultiEd25519:()=>Ne,TransactionPayload:()=>At,TransactionPayloadEntryFunction:()=>Tt,TransactionPayloadMultisig:()=>Ct,TransactionPayloadScript:()=>Et,TransactionScriptABI:()=>Ft,TypeArgumentABI:()=>Wt,TypeTag:()=>ze,TypeTagAddress:()=>Je,TypeTagBool:()=>Fe,TypeTagParser:()=>st,TypeTagParserError:()=>at,TypeTagSigner:()=>Ye,TypeTagStruct:()=>Qe,TypeTagU128:()=>Ve,TypeTagU16:()=>je,TypeTagU256:()=>qe,TypeTagU32:()=>He,TypeTagU64:()=>Ge,TypeTagU8:()=>Ke,TypeTagVector:()=>Xe,UserTransaction:()=>Dt,WriteSet:()=>yt,objectStructTag:()=>tt,optionStructTag:()=>et,stringStructTag:()=>$e});var $={};u($,{Deserializer:()=>se,Serializer:()=>ie,bcsSerializeBool:()=>me,bcsSerializeBytes:()=>we,bcsSerializeFixedBytes:()=>ve,bcsSerializeStr:()=>be,bcsSerializeU128:()=>ge,bcsSerializeU16:()=>fe,bcsSerializeU256:()=>ye,bcsSerializeU32:()=>pe,bcsSerializeU8:()=>he,bcsSerializeUint64:()=>de,bcsToBytes:()=>le,deserializeVector:()=>ue,serializeVector:()=>ae,serializeVectorWithFunc:()=>ce});var ee=2**32-1,te=BigInt(2**64)-BigInt(1),re=BigInt(2**128)-BigInt(1),ne=BigInt(2**256)-BigInt(1),ie=class{constructor(){this.buffer=new ArrayBuffer(64),this.offset=0}ensureBufferWillHandleSize(e){for(;this.buffer.byteLength<this.offset+e;){let e=new ArrayBuffer(2*this.buffer.byteLength);new Uint8Array(e).set(new Uint8Array(this.buffer)),this.buffer=e}}serialize(e){this.ensureBufferWillHandleSize(e.length),new Uint8Array(this.buffer,this.offset).set(e),this.offset+=e.length}serializeWithFunction(e,t,r){this.ensureBufferWillHandleSize(t);let n=new DataView(this.buffer,this.offset);e.apply(n,[0,r,!0]),this.offset+=t}serializeStr(e){let t=new TextEncoder;this.serializeBytes(t.encode(e))}serializeBytes(e){this.serializeU32AsUleb128(e.length),this.serialize(e)}serializeFixedBytes(e){this.serialize(e)}serializeBool(e){if("boolean"!=typeof e)throw new Error("Value needs to be a boolean");let t=e?1:0;this.serialize(new Uint8Array([t]))}serializeU8(e){this.serialize(new Uint8Array([e]))}serializeU16(e){this.serializeWithFunction(DataView.prototype.setUint16,2,e)}serializeU32(e){this.serializeWithFunction(DataView.prototype.setUint32,4,e)}serializeU64(e){let t=BigInt(e.toString())&BigInt(ee),r=BigInt(e.toString())>>BigInt(32);this.serializeU32(Number(t)),this.serializeU32(Number(r))}serializeU128(e){let t=BigInt(e.toString())&te,r=BigInt(e.toString())>>BigInt(64);this.serializeU64(t),this.serializeU64(r)}serializeU256(e){let t=BigInt(e.toString())&re,r=BigInt(e.toString())>>BigInt(128);this.serializeU128(t),this.serializeU128(r)}serializeU32AsUleb128(e){let t=e,r=[];for(;t>>>7;)r.push(127&t|128),t>>>=7;r.push(t),this.serialize(new Uint8Array(r))}getBytes(){return new Uint8Array(this.buffer).slice(0,this.offset)}};function oe(e,t,r){return(n,i,o)=>{let s=o.value;return o.value=function(n){let i=BigInt(n.toString());if(i>BigInt(t.toString())||i<BigInt(e.toString()))throw new Error(r||"Value is out of range");s.apply(this,[n])},o}}h([oe(0,255)],ie.prototype,"serializeU8",1),h([oe(0,65535)],ie.prototype,"serializeU16",1),h([oe(0,ee)],ie.prototype,"serializeU32",1),h([oe(BigInt(0),te)],ie.prototype,"serializeU64",1),h([oe(BigInt(0),re)],ie.prototype,"serializeU128",1),h([oe(BigInt(0),ne)],ie.prototype,"serializeU256",1),h([oe(0,ee)],ie.prototype,"serializeU32AsUleb128",1);var se=class{constructor(e){this.buffer=new ArrayBuffer(e.length),new Uint8Array(this.buffer).set(e,0),this.offset=0}read(e){if(this.offset+e>this.buffer.byteLength)throw new Error("Reached to the end of buffer");let t=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,t}deserializeStr(){let e=this.deserializeBytes();return(new TextDecoder).decode(e)}deserializeBytes(){let e=this.deserializeUleb128AsU32();return new Uint8Array(this.read(e))}deserializeFixedBytes(e){return new Uint8Array(this.read(e))}deserializeBool(){let e=new Uint8Array(this.read(1))[0];if(1!==e&&0!==e)throw new Error("Invalid boolean value");return 1===e}deserializeU8(){return new DataView(this.read(1)).getUint8(0)}deserializeU16(){return new DataView(this.read(2)).getUint16(0,!0)}deserializeU32(){return new DataView(this.read(4)).getUint32(0,!0)}deserializeU64(){let e=this.deserializeU32(),t=this.deserializeU32();return BigInt(BigInt(t)<<BigInt(32)|BigInt(e))}deserializeU128(){let e=this.deserializeU64(),t=this.deserializeU64();return BigInt(t<<BigInt(64)|e)}deserializeU256(){let e=this.deserializeU128(),t=this.deserializeU128();return BigInt(t<<BigInt(128)|e)}deserializeUleb128AsU32(){let e=BigInt(0),t=0;for(;e<ee;){let r=this.deserializeU8();if(e|=BigInt(127&r)<<BigInt(t),!(128&r))break;t+=7}if(e>ee)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(e)}};function ae(e,t){t.serializeU32AsUleb128(e.length),e.forEach((e=>{e.serialize(t)}))}function ce(e,t){let r=new ie;r.serializeU32AsUleb128(e.length);let n=r[t];return e.forEach((e=>{n.call(r,e)})),r.getBytes()}function ue(e,t){let r=e.deserializeUleb128AsU32(),n=[];for(let i=0;i<r;i+=1)n.push(t.deserialize(e));return n}function le(e){let t=new ie;return e.serialize(t),t.getBytes()}function de(e){let t=new ie;return t.serializeU64(e),t.getBytes()}function he(e){let t=new ie;return t.serializeU8(e),t.getBytes()}function fe(e){let t=new ie;return t.serializeU16(e),t.getBytes()}function pe(e){let t=new ie;return t.serializeU32(e),t.getBytes()}function ge(e){let t=new ie;return t.serializeU128(e),t.getBytes()}function ye(e){let t=new ie;return t.serializeU256(e),t.getBytes()}function me(e){let t=new ie;return t.serializeBool(e),t.getBytes()}function be(e){let t=new ie;return t.serializeStr(e),t.getBytes()}function we(e){let t=new ie;return t.serializeBytes(e),t.getBytes()}function ve(e){let t=new ie;return t.serializeFixedBytes(e),t.getBytes()}var Ae=J5(),Ee=class e{constructor(t){if(t.length!==e.LENGTH)throw new Error("Expected address of length 32");this.address=t}static fromHex(t){let r=Q.ensure(t);r.noPrefix().length%2!=0&&(r=new Q(`0${r.noPrefix()}`));let n=r.toUint8Array();if(n.length>e.LENGTH)throw new Error("Hex string is too long. Address's length is 32 bytes.");if(n.length===e.LENGTH)return new e(n);let i=new Uint8Array(e.LENGTH);return i.set(n,e.LENGTH-n.length),new e(i)}static isValid(t){if(""===t)return!1;let r=Q.ensure(t);return r.noPrefix().length%2!=0&&(r=new Q(`0${r.noPrefix()}`)),r.toUint8Array().length<=e.LENGTH}toHexString(){return Q.fromUint8Array(this.address).hex()}serialize(e){e.serializeFixedBytes(this.address)}static deserialize(t){return new e(t.deserializeFixedBytes(e.LENGTH))}static standardizeAddress(e){let t=e.toLowerCase();return`0x${(t.startsWith("0x")?t.slice(2):t).padStart(64,"0")}`}};Ee.LENGTH=32,Ee.CORE_CODE_ADDRESS=Ee.fromHex("0x1");var Te=Ee,Ce=class e{constructor(t){if(t.length!==e.LENGTH)throw new Error(`Ed25519PublicKey length should be ${e.LENGTH}`);this.value=t}toBytes(){return this.value}serialize(e){e.serializeBytes(this.value)}static deserialize(t){let r=t.deserializeBytes();return new e(r)}};Ce.LENGTH=32;var Se=Ce,Ie=class e{constructor(t){if(this.value=t,t.length!==e.LENGTH)throw new Error(`Ed25519Signature length should be ${e.LENGTH}`)}serialize(e){e.serializeBytes(this.value)}static deserialize(t){let r=t.deserializeBytes();return new e(r)}};Ie.LENGTH=64;var Oe=Ie,Me=class e{constructor(e,t){if(this.public_keys=e,this.threshold=t,t>32)throw new Error('"threshold" cannot be larger than 32')}toBytes(){let e=new Uint8Array(this.public_keys.length*Se.LENGTH+1);return this.public_keys.forEach(((t,r)=>{e.set(t.value,r*Se.LENGTH)})),e[this.public_keys.length*Se.LENGTH]=this.threshold,e}serialize(e){e.serializeBytes(this.toBytes())}static deserialize(t){let r=t.deserializeBytes(),n=r[r.length-1],i=[];for(let e=0;e<r.length-1;e+=Se.LENGTH){let t=e;i.push(new Se(r.subarray(t,t+Se.LENGTH)))}return new e(i,n)}},Pe=class e{constructor(t,r){if(this.signatures=t,this.bitmap=r,r.length!==e.BITMAP_LEN)throw new Error(`"bitmap" length should be ${e.BITMAP_LEN}`)}toBytes(){let t=new Uint8Array(this.signatures.length*Oe.LENGTH+e.BITMAP_LEN);return this.signatures.forEach(((e,r)=>{t.set(e.value,r*Oe.LENGTH)})),t.set(this.bitmap,this.signatures.length*Oe.LENGTH),t}static createBitmap(e){let t=new Uint8Array([0,0,0,0]),r=new Set;return e.forEach((e=>{if(e>=32)throw new Error(`Invalid bit value ${e}.`);if(r.has(e))throw new Error("Duplicated bits detected.");r.add(e);let n=Math.floor(e/8),i=t[n];i|=128>>e%8,t[n]=i})),t}serialize(e){e.serializeBytes(this.toBytes())}static deserialize(t){let r=t.deserializeBytes(),n=r.subarray(r.length-4),i=[];for(let e=0;e<r.length-n.length;e+=Oe.LENGTH){let t=e;i.push(new Oe(r.subarray(t,t+Oe.LENGTH)))}return new e(i,n)}};Pe.BITMAP_LEN=4;var ke=Pe,Be=class{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return xe.load(e);case 1:return Ne.load(e);case 2:return Re.load(e);case 3:return _e.load(e);default:throw new Error(`Unknown variant index for TransactionAuthenticator: ${t}`)}}},xe=class e extends Be{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(0),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Se.deserialize(t),n=Oe.deserialize(t);return new e(r,n)}},Ne=class e extends Be{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(1),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Me.deserialize(t),n=ke.deserialize(t);return new e(r,n)}},Re=class e extends Be{constructor(e,t,r){super(),this.sender=e,this.secondary_signer_addresses=t,this.secondary_signers=r}serialize(e){e.serializeU32AsUleb128(2),this.sender.serialize(e),ae(this.secondary_signer_addresses,e),ae(this.secondary_signers,e)}static load(t){let r=Ue.deserialize(t),n=ue(t,Te),i=ue(t,Ue);return new e(r,n,i)}},_e=class e extends Be{constructor(e,t,r,n){super(),this.sender=e,this.secondary_signer_addresses=t,this.secondary_signers=r,this.fee_payer=n}serialize(e){e.serializeU32AsUleb128(3),this.sender.serialize(e),ae(this.secondary_signer_addresses,e),ae(this.secondary_signers,e),this.fee_payer.address.serialize(e),this.fee_payer.authenticator.serialize(e)}static load(t){let r=Ue.deserialize(t),n=ue(t,Te),i=ue(t,Ue),o=Te.deserialize(t),s=Ue.deserialize(t);return new e(r,n,i,{address:o,authenticator:s})}},Ue=class{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return De.load(e);case 1:return We.load(e);default:throw new Error(`Unknown variant index for AccountAuthenticator: ${t}`)}}},De=class e extends Ue{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(0),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Se.deserialize(t),n=Oe.deserialize(t);return new e(r,n)}},We=class e extends Ue{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(1),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Me.deserialize(t),n=ke.deserialize(t);return new e(r,n)}},Le=class e{constructor(e){this.value=e}serialize(e){e.serializeStr(this.value)}static deserialize(t){let r=t.deserializeStr();return new e(r)}},ze=class{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Fe.load(e);case 1:return Ke.load(e);case 2:return Ge.load(e);case 3:return Ve.load(e);case 4:return Je.load(e);case 5:return Ye.load(e);case 6:return Xe.load(e);case 7:return Qe.load(e);case 8:return je.load(e);case 9:return He.load(e);case 10:return qe.load(e);default:throw new Error(`Unknown variant index for TypeTag: ${t}`)}}},Fe=class e extends ze{serialize(e){e.serializeU32AsUleb128(0)}static load(t){return new e}},Ke=class e extends ze{serialize(e){e.serializeU32AsUleb128(1)}static load(t){return new e}},je=class e extends ze{serialize(e){e.serializeU32AsUleb128(8)}static load(t){return new e}},He=class e extends ze{serialize(e){e.serializeU32AsUleb128(9)}static load(t){return new e}},Ge=class e extends ze{serialize(e){e.serializeU32AsUleb128(2)}static load(t){return new e}},Ve=class e extends ze{serialize(e){e.serializeU32AsUleb128(3)}static load(t){return new e}},qe=class e extends ze{serialize(e){e.serializeU32AsUleb128(10)}static load(t){return new e}},Je=class e extends ze{serialize(e){e.serializeU32AsUleb128(4)}static load(t){return new e}},Ye=class e extends ze{serialize(e){e.serializeU32AsUleb128(5)}static load(t){return new e}},Xe=class e extends ze{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(6),this.value.serialize(e)}static load(t){let r=ze.deserialize(t);return new e(r)}},Qe=class e extends ze{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(7),this.value.serialize(e)}static load(t){let r=Ze.deserialize(t);return new e(r)}isStringTypeTag(){return"string"===this.value.module_name.value&&"String"===this.value.name.value&&this.value.address.toHexString()===Te.CORE_CODE_ADDRESS.toHexString()}},Ze=class e{constructor(e,t,r,n){this.address=e,this.module_name=t,this.name=r,this.type_args=n}static fromString(t){let r=new st(t).parseTypeTag();return new e(r.value.address,r.value.module_name,r.value.name,r.value.type_args)}serialize(e){this.address.serialize(e),this.module_name.serialize(e),this.name.serialize(e),ae(this.type_args,e)}static deserialize(t){let r=Te.deserialize(t),n=Le.deserialize(t),i=Le.deserialize(t),o=ue(t,ze);return new e(r,n,i,o)}},$e=new Ze(Te.fromHex("0x1"),new Le("string"),new Le("String"),[]);function et(e){return new Ze(Te.fromHex("0x1"),new Le("option"),new Le("Option"),[e])}function tt(e){return new Ze(Te.fromHex("0x1"),new Le("object"),new Le("Object"),[e])}function rt(e){throw new at(e)}function nt(e){return!!e.match(/\s/)}function it(e){return!!e.match(/[_A-Za-z0-9]/g)}function ot(e,t){let r=e[t];if(":"===r){if("::"===e.slice(t,t+2))return[["COLON","::"],2];rt("Unrecognized token.")}else{if("<"===r)return[["LT","<"],1];if(">"===r)return[["GT",">"],1];if(","===r)return[["COMMA",","],1];if(nt(r)){let r="";for(let n=t;n<e.length;n+=1){let t=e[n];if(!nt(t))break;r=`${r}${t}`}return[["SPACE",r],r.length]}if(it(r)){let r="";for(let n=t;n<e.length;n+=1){let t=e[n];if(!it(t))break;r=`${r}${t}`}return function(e){return!!e.match(/T\d+/g)}(r)?[["GENERIC",r],r.length]:[["IDENT",r],r.length]}}throw new Error("Unrecognized token.")}var st=class e{constructor(e,t){this.typeTags=[],this.tokens=function(e){let t=0,r=[];for(;t<e.length;){let[n,i]=ot(e,t);"SPACE"!==n[0]&&r.push(n),t+=i}return r}(e),this.typeTags=t||[]}consume(e){let t=this.tokens.shift();(!t||t[1]!==e)&&rt("Invalid type tag.")}consumeWholeGeneric(){for(this.consume("<");">"!==this.tokens[0][1];)"<"===this.tokens[0][1]?this.consumeWholeGeneric():this.tokens.shift();this.consume(">")}parseCommaList(e,t){let r=[];for(this.tokens.length<=0&&rt("Invalid type tag.");this.tokens[0][1]!==e&&(r.push(this.parseTypeTag()),!(this.tokens.length>0&&this.tokens[0][1]===e||(this.consume(","),this.tokens.length>0&&this.tokens[0][1]===e&&t)));)this.tokens.length<=0&&rt("Invalid type tag.");return r}parseTypeTag(){0===this.tokens.length&&rt("Invalid type tag.");let[t,r]=this.tokens.shift();if("u8"===r)return new Ke;if("u16"===r)return new je;if("u32"===r)return new He;if("u64"===r)return new Ge;if("u128"===r)return new Ve;if("u256"===r)return new qe;if("bool"===r)return new Fe;if("address"===r)return new Je;if("vector"===r){this.consume("<");let e=this.parseTypeTag();return this.consume(">"),new Xe(e)}if("string"===r)return new Qe($e);if("IDENT"===t&&(r.startsWith("0x")||r.startsWith("0X"))){let e=Te.fromHex(r);this.consume("::");let[t,n]=this.tokens.shift();"IDENT"!==t&&rt("Invalid type tag."),this.consume("::");let[i,o]=this.tokens.shift();if("IDENT"!==i&&rt("Invalid type tag."),Te.CORE_CODE_ADDRESS.toHexString()===e.toHexString()&&"object"===n&&"Object"===o)return this.consumeWholeGeneric(),new Je;let s=[];this.tokens.length>0&&"<"===this.tokens[0][1]&&(this.consume("<"),s=this.parseCommaList(">",!0),this.consume(">"));let a=new Ze(e,new Le(n),new Le(o),s);return new Qe(a)}if("GENERIC"===t){0===this.typeTags.length&&rt("Can't convert generic type since no typeTags were specified.");let t=parseInt(r.substring(1),10);return new e(this.typeTags[t]).parseTypeTag()}throw new Error("Invalid type tag.")}},at=class extends Error{constructor(e){super(e),this.name="TypeTagParserError"}},ct=class e{constructor(e,t,r,n,i,o,s){this.sender=e,this.sequence_number=t,this.payload=r,this.max_gas_amount=n,this.gas_unit_price=i,this.expiration_timestamp_secs=o,this.chain_id=s}serialize(e){this.sender.serialize(e),e.serializeU64(this.sequence_number),this.payload.serialize(e),e.serializeU64(this.max_gas_amount),e.serializeU64(this.gas_unit_price),e.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize(e)}static deserialize(t){let r=Te.deserialize(t),n=t.deserializeU64(),i=At.deserialize(t),o=t.deserializeU64(),s=t.deserializeU64(),a=t.deserializeU64(),c=St.deserialize(t);return new e(r,n,i,o,s,a,c)}},ut=class e{constructor(e,t,r){this.code=e,this.ty_args=t,this.args=r}serialize(e){e.serializeBytes(this.code),ae(this.ty_args,e),ae(this.args,e)}static deserialize(t){let r=t.deserializeBytes(),n=ue(t,ze),i=ue(t,It);return new e(r,n,i)}},lt=class e{constructor(e,t,r,n){this.module_name=e,this.function_name=t,this.ty_args=r,this.args=n}static natural(t,r,n,i){return new e(pt.fromStr(t),new Le(r),n,i)}static natual(t,r,n,i){return e.natural(t,r,n,i)}serialize(e){this.module_name.serialize(e),this.function_name.serialize(e),ae(this.ty_args,e),e.serializeU32AsUleb128(this.args.length),this.args.forEach((t=>{e.serializeBytes(t)}))}static deserialize(t){let r=pt.deserialize(t),n=Le.deserialize(t),i=ue(t,ze),o=t.deserializeUleb128AsU32(),s=[];for(let e=0;e<o;e+=1)s.push(t.deserializeBytes());return new e(r,n,i,s)}},dt=class e{constructor(e){this.transaction_payload=e}serialize(e){e.serializeU32AsUleb128(0),this.transaction_payload.serialize(e)}static deserialize(t){return t.deserializeUleb128AsU32(),new e(lt.deserialize(t))}},ht=class e{constructor(e,t){this.multisig_address=e,this.transaction_payload=t}serialize(e){this.multisig_address.serialize(e),void 0===this.transaction_payload?e.serializeBool(!1):(e.serializeBool(!0),this.transaction_payload.serialize(e))}static deserialize(t){let r,n=Te.deserialize(t);return t.deserializeBool()&&(r=dt.deserialize(t)),new e(n,r)}},ft=class e{constructor(e){this.code=e}serialize(e){e.serializeBytes(this.code)}static deserialize(t){let r=t.deserializeBytes();return new e(r)}},pt=class e{constructor(e,t){this.address=e,this.name=t}static fromStr(t){let r=t.split("::");if(2!==r.length)throw new Error("Invalid module id.");return new e(Te.fromHex(new Q(r[0])),new Le(r[1]))}serialize(e){this.address.serialize(e),this.name.serialize(e)}static deserialize(t){let r=Te.deserialize(t),n=Le.deserialize(t);return new e(r,n)}},gt=class{serialize(e){throw new Error("Not implemented.")}static deserialize(e){throw new Error("Not implemented.")}},yt=class{serialize(e){throw new Error("Not implmented.")}static deserialize(e){throw new Error("Not implmented.")}},mt=class e{constructor(e,t){this.raw_txn=e,this.authenticator=t}serialize(e){this.raw_txn.serialize(e),this.authenticator.serialize(e)}static deserialize(t){let r=ct.deserialize(t),n=Be.deserialize(t);return new e(r,n)}},bt=class{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return wt.load(e);case 1:return vt.load(e);default:throw new Error(`Unknown variant index for RawTransactionWithData: ${t}`)}}},wt=class e extends bt{constructor(e,t){super(),this.raw_txn=e,this.secondary_signer_addresses=t}serialize(e){e.serializeU32AsUleb128(0),this.raw_txn.serialize(e),ae(this.secondary_signer_addresses,e)}static load(t){let r=ct.deserialize(t),n=ue(t,Te);return new e(r,n)}},vt=class e extends bt{constructor(e,t,r){super(),this.raw_txn=e,this.secondary_signer_addresses=t,this.fee_payer_address=r}serialize(e){e.serializeU32AsUleb128(1),this.raw_txn.serialize(e),ae(this.secondary_signer_addresses,e),this.fee_payer_address.serialize(e)}static load(t){let r=ct.deserialize(t),n=ue(t,Te),i=Te.deserialize(t);return new e(r,n,i)}},At=class{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Et.load(e);case 2:return Tt.load(e);case 3:return Ct.load(e);default:throw new Error(`Unknown variant index for TransactionPayload: ${t}`)}}},Et=class e extends At{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(0),this.value.serialize(e)}static load(t){let r=ut.deserialize(t);return new e(r)}},Tt=class e extends At{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(2),this.value.serialize(e)}static load(t){let r=lt.deserialize(t);return new e(r)}},Ct=class e extends At{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(3),this.value.serialize(e)}static load(t){let r=ht.deserialize(t);return new e(r)}},St=class e{constructor(e){this.value=e}serialize(e){e.serializeU8(this.value)}static deserialize(t){let r=t.deserializeU8();return new e(r)}},It=class{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Ot.load(e);case 1:return kt.load(e);case 2:return Bt.load(e);case 3:return Nt.load(e);case 4:return Rt.load(e);case 5:return _t.load(e);case 6:return Mt.load(e);case 7:return Pt.load(e);case 8:return xt.load(e);default:throw new Error(`Unknown variant index for TransactionArgument: ${t}`)}}},Ot=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(0),e.serializeU8(this.value)}static load(t){let r=t.deserializeU8();return new e(r)}},Mt=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(6),e.serializeU16(this.value)}static load(t){let r=t.deserializeU16();return new e(r)}},Pt=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(7),e.serializeU32(this.value)}static load(t){let r=t.deserializeU32();return new e(r)}},kt=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(1),e.serializeU64(this.value)}static load(t){let r=t.deserializeU64();return new e(r)}},Bt=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(2),e.serializeU128(this.value)}static load(t){let r=t.deserializeU128();return new e(r)}},xt=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(8),e.serializeU256(this.value)}static load(t){let r=t.deserializeU256();return new e(r)}},Nt=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(3),this.value.serialize(e)}static load(t){let r=Te.deserialize(t);return new e(r)}},Rt=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(4),e.serializeBytes(this.value)}static load(t){let r=t.deserializeBytes();return new e(r)}},_t=class e extends It{constructor(e){super(),this.value=e}serialize(e){e.serializeU32AsUleb128(5),e.serializeBool(this.value)}static load(t){let r=t.deserializeBool();return new e(r)}},Ut=class{getHashSalt(){let e=Ae.sha3_256.create();return e.update("APTOS::Transaction"),e.digest()}static deserialize(e){let t=e.deserializeUleb128AsU32();if(0===t)return Dt.load(e);throw new Error(`Unknown variant index for Transaction: ${t}`)}},Dt=class e extends Ut{constructor(e){super(),this.value=e}hash(){let e=Ae.sha3_256.create();return e.update(this.getHashSalt()),e.update(le(this)),e.digest()}serialize(e){e.serializeU32AsUleb128(0),this.value.serialize(e)}static load(t){return new e(mt.deserialize(t))}},Wt=class e{constructor(e){this.name=e}serialize(e){e.serializeStr(this.name)}static deserialize(t){let r=t.deserializeStr();return new e(r)}},Lt=class e{constructor(e,t){this.name=e,this.type_tag=t}serialize(e){e.serializeStr(this.name),this.type_tag.serialize(e)}static deserialize(t){let r=t.deserializeStr(),n=ze.deserialize(t);return new e(r,n)}},zt=class{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Ft.load(e);case 1:return Kt.load(e);default:throw new Error(`Unknown variant index for TransactionPayload: ${t}`)}}},Ft=class e extends zt{constructor(e,t,r,n,i){super(),this.name=e,this.doc=t,this.code=r,this.ty_args=n,this.args=i}serialize(e){e.serializeU32AsUleb128(0),e.serializeStr(this.name),e.serializeStr(this.doc),e.serializeBytes(this.code),ae(this.ty_args,e),ae(this.args,e)}static load(t){let r=t.deserializeStr(),n=t.deserializeStr(),i=t.deserializeBytes(),o=ue(t,Wt),s=ue(t,Lt);return new e(r,n,i,o,s)}},Kt=class e extends zt{constructor(e,t,r,n,i){super(),this.name=e,this.module_name=t,this.doc=r,this.ty_args=n,this.args=i}serialize(e){e.serializeU32AsUleb128(1),e.serializeStr(this.name),this.module_name.serialize(e),e.serializeStr(this.doc),ae(this.ty_args,e),ae(this.args,e)}static load(t){let r=t.deserializeStr(),n=pt.deserialize(t),i=t.deserializeStr(),o=ue(t,Wt),s=ue(t,Lt);return new e(r,n,i,o,s)}},jt=J5(),Ht=class e{constructor(t){if(t.length!==e.LENGTH)throw new Error("Expected a byte array of length 32");this.bytes=t}static fromMultiEd25519PublicKey(t){let r=t.toBytes(),n=new Uint8Array(r.length+1);n.set(r),n.set([e.MULTI_ED25519_SCHEME],r.length);let i=jt.sha3_256.create();return i.update(n),new e(i.digest())}static fromEd25519PublicKey(t){let r=t.value,n=new Uint8Array(r.length+1);n.set(r),n.set([e.ED25519_SCHEME],r.length);let i=jt.sha3_256.create();return i.update(n),new e(i.digest())}derivedAddress(){return Q.fromUint8Array(this.bytes)}};Ht.LENGTH=32,Ht.MULTI_ED25519_SCHEME=1,Ht.ED25519_SCHEME=0,Ht.DERIVE_RESOURCE_ACCOUNT_SCHEME=255;var Gt=Ht,Vt=class{constructor(e,t,r,n,i,o,s){this.accountAddress=e,this.moduleName=t,this.structName=r,this.sequenceNumber=n,this.originator=i,this.currentAuthKey=o,this.newPublicKey=s}serialize(e){this.accountAddress.serialize(e),e.serializeStr(this.moduleName),e.serializeStr(this.structName),e.serializeU64(this.sequenceNumber),this.originator.serialize(e),this.currentAuthKey.serialize(e),e.serializeBytes(this.newPublicKey)}},qt=class e{static fromAptosAccountObject(t){return new e(Q.ensure(t.privateKeyHex).toUint8Array(),t.address)}static isValidPath(e){return/^m\/44'\/637'\/[0-9]+'\/[0-9]+'\/[0-9]+'+$/.test(e)}static fromDerivePath(t,r){if(!e.isValidPath(t))throw new Error("Invalid derivation path");let n=r.trim().split(/\s+/).map((e=>e.toLowerCase())).join(" "),{key:i}=k(t,(0,y.bytesToHex)(g.mnemonicToSeedSync(n)));return new e(i)}constructor(e,t){this.signingKey=e?p.default.sign.keyPair.fromSeed(e.slice(0,32)):p.default.sign.keyPair(),this.accountAddress=Q.ensure(t||this.authKey().hex())}address(){return this.accountAddress}authKey(){let e=new Se(this.signingKey.publicKey);return Gt.fromEd25519PublicKey(e).derivedAddress()}static getResourceAccountAddress(e,t){let r=le(Te.fromHex(e)),n=new Uint8Array([...r,...t,Gt.DERIVE_RESOURCE_ACCOUNT_SCHEME]),i=w.sha3_256.create();return i.update(n),Q.fromUint8Array(i.digest())}static getCollectionID(e,t){let r=(new TextEncoder).encode(`${e}::${t}`),n=b.sha256.create();return n.update(r),Q.fromUint8Array(n.digest())}pubKey(){return Q.fromUint8Array(this.signingKey.publicKey)}signBuffer(e){let t=p.default.sign.detached(e,this.signingKey.secretKey);return Q.fromUint8Array(t)}signHexString(e){let t=Q.ensure(e).toUint8Array();return this.signBuffer(t)}verifySignature(e,t){let r=Q.ensure(e).toUint8Array(),n=Q.ensure(t).toUint8Array();return p.default.sign.detached.verify(r,n,this.signingKey.publicKey)}toPrivateKeyObject(){return{address:this.address().hex(),publicKeyHex:this.pubKey().hex(),privateKeyHex:Q.fromUint8Array(this.signingKey.secretKey.slice(0,32)).hex()}}};h([_()],qt.prototype,"authKey",1);var Jt=qt;function Yt(e){return e instanceof Jt?e.address():Q.ensure(e)}var Xt="\n    fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 {\n  token_standard\n  token_properties_mutated_v1\n  token_data_id\n  table_type_v1\n  storage_id\n  property_version_v1\n  owner_address\n  last_transaction_version\n  last_transaction_timestamp\n  is_soulbound_v2\n  is_fungible_v2\n  amount\n  current_token_data {\n    collection_id\n    description\n    is_fungible_v2\n    largest_property_version_v1\n    last_transaction_timestamp\n    last_transaction_version\n    maximum\n    supply\n    token_data_id\n    token_name\n    token_properties\n    token_standard\n    token_uri\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      max_supply\n      mutable_description\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n  }\n}\n    ",Qt="\n    fragment TokenActivitiesFields on token_activities_v2 {\n  after_value\n  before_value\n  entry_function_id_str\n  event_account_address\n  event_index\n  from_address\n  is_fungible_v2\n  property_version_v1\n  to_address\n  token_amount\n  token_data_id\n  token_standard\n  transaction_timestamp\n  transaction_version\n  type\n}\n    ",Zt=`\n    query getAccountTransactionsData($where_condition: account_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [account_transactions_order_by!]) {\n  account_transactions(\n    where: $where_condition\n    order_by: $order_by\n    limit: $limit\n    offset: $offset\n  ) {\n    token_activities_v2 {\n      ...TokenActivitiesFields\n    }\n    transaction_version\n    account_address\n  }\n}\n    ${Qt}`,$t=`\n    query getOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Xt}`,er=`\n    query getOwnedTokensByTokenData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Xt}`,tr=`\n    query getTokenActivities($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) {\n  token_activities_v2(\n    where: $where_condition\n    order_by: $order_by\n    offset: $offset\n    limit: $limit\n  ) {\n    ...TokenActivitiesFields\n  }\n}\n    ${Qt}`,rr=`\n    query getTokenCurrentOwnerData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Xt}`,nr=`\n    query getTokenOwnedFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Xt}`,ir=`\n    query getTokenOwnersData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${Xt}`,or=J5();function sr(e,t,r){if(!t?.includes(typeof e))throw new Error(r||`Invalid arg: ${e} type should be ${t instanceof Array?t.join(" or "):t}`)}function ar(e){if(sr(e,["boolean","string"]),"boolean"==typeof e)return e;if("true"===e)return!0;if("false"===e)return!1;throw new Error("Invalid boolean string.")}function cr(e){if(sr(e,["number","string"]),"number"==typeof e)return e;let t=Number.parseInt(e,10);if(Number.isNaN(t))throw new Error("Invalid number string.");return t}function ur(e){return sr(e,["number","bigint","string"]),BigInt(e)}function lr(e,t,r){dr(e,t,r,0)}function dr(e,t,r,n){if(t instanceof Fe)r.serializeBool(ar(e));else if(t instanceof Ke)r.serializeU8(cr(e));else if(t instanceof je)r.serializeU16(cr(e));else if(t instanceof He)r.serializeU32(cr(e));else if(t instanceof Ge)r.serializeU64(ur(e));else if(t instanceof Ve)r.serializeU128(ur(e));else if(t instanceof qe)r.serializeU256(ur(e));else if(t instanceof Je)hr(e,r);else if(t instanceof Xe)!function(e,t,r,n){if(t.value instanceof Ke){if(e instanceof Uint8Array)return void r.serializeBytes(e);if(e instanceof Q)return void r.serializeBytes(e.toUint8Array());if("string"==typeof e)return void r.serializeStr(e)}if(!Array.isArray(e))throw new Error("Invalid vector args.");r.serializeU32AsUleb128(e.length),e.forEach((e=>dr(e,t.value,r,n+1)))}(e,t,r,n);else{if(!(t instanceof Qe))throw new Error("Unsupported arg type.");!function(e,t,r,n){let{address:i,module_name:o,name:s,type_args:a}=t.value,c=`${Q.fromUint8Array(i.address).toShortString()}::${o.value}::${s.value}`;if("0x1::string::String"===c)sr(e,["string"]),r.serializeStr(e);else if("0x1::object::Object"===c)hr(e,r);else{if("0x1::option::Option"!==c)throw new Error("Unsupported struct type in function argument");if(1!==a.length)throw new Error(`Option has the wrong number of type arguments ${a.length}`);!function(e,t,r,n){null==e?r.serializeU32AsUleb128(0):(r.serializeU32AsUleb128(1),dr(e,t,r,n+1))}(e,a[0],r,n)}}(e,t,r,n)}}function hr(e,t){let r;if("string"==typeof e||e instanceof Q)r=Te.fromHex(e);else{if(!(e instanceof Te))throw new Error("Invalid account address.");r=e}r.serialize(t)}function fr(e,t){if(t instanceof Fe)return new _t(ar(e));if(t instanceof Ke)return new Ot(cr(e));if(t instanceof je)return new Mt(cr(e));if(t instanceof He)return new Pt(cr(e));if(t instanceof Ge)return new kt(ur(e));if(t instanceof Ve)return new Bt(ur(e));if(t instanceof qe)return new xt(ur(e));if(t instanceof Je){let t;if("string"==typeof e||e instanceof Q)t=Te.fromHex(e);else{if(!(e instanceof Te))throw new Error("Invalid account address.");t=e}return new Nt(t)}if(t instanceof Xe&&t.value instanceof Ke){if(!(e instanceof Uint8Array))throw new Error(`${e} should be an instance of Uint8Array`);return new Rt(e)}throw new Error("Unknown type for TransactionArgument.")}var pr="APTOS::RawTransactionWithData",gr=class{constructor(e,t){this.rawTxnBuilder=t,this.signingFunction=e}build(e,t,r){if(!this.rawTxnBuilder)throw new Error("this.rawTxnBuilder doesn't exist.");return this.rawTxnBuilder.build(e,t,r)}static getSigningMessage(e){let t=or.sha3_256.create();if(e instanceof ct)t.update("APTOS::RawTransaction");else if(e instanceof wt)t.update(pr);else{if(!(e instanceof vt))throw new Error("Unknown transaction type.");t.update(pr)}let r=t.digest(),n=le(e),i=new Uint8Array(r.length+n.length);return i.set(r),i.set(n,r.length),i}},yr=class extends gr{constructor(e,t,r){super(e,r),this.publicKey=t}rawToSigned(e){let t=gr.getSigningMessage(e),r=this.signingFunction(t),n=new xe(new Se(this.publicKey),r);return new mt(e,n)}sign(e){return le(this.rawToSigned(e))}},mr=class extends gr{constructor(e,t){super(e),this.publicKey=t}rawToSigned(e){let t=gr.getSigningMessage(e),r=this.signingFunction(t),n=new Ne(this.publicKey,r);return new mt(e,n)}sign(e){return le(this.rawToSigned(e))}},br=class e{constructor(e,t){this.abiMap=new Map,e.forEach((e=>{let t,r=new se(e),n=zt.deserialize(r);if(n instanceof Kt){let e=n,{address:r,name:i}=e.module_name;t=`${Q.fromUint8Array(r.address).toShortString()}::${i.value}::${e.name}`}else t=n.name;if(this.abiMap.has(t))throw new Error("Found conflicting ABI interfaces");this.abiMap.set(t,n)})),this.builderConfig={maxGasAmount:BigInt(N),expSecFromNow:20,...t}}static toBCSArgs(e,t){if(e.length!==t.length)throw new Error("Wrong number of args provided.");return t.map(((t,r)=>{let n=new ie;return lr(t,e[r].type_tag,n),n.getBytes()}))}static toTransactionArguments(e,t){if(e.length!==t.length)throw new Error("Wrong number of args provided.");return t.map(((t,r)=>fr(t,e[r].type_tag)))}setSequenceNumber(e){this.builderConfig.sequenceNumber=BigInt(e)}buildTransactionPayload(t,r,n){let i,o=r.map((e=>new st(e).parseTypeTag()));if(!this.abiMap.has(t))throw new Error(`Cannot find function: ${t}`);let s=this.abiMap.get(t);if(s instanceof Kt){let t=s,r=e.toBCSArgs(t.args,n);i=new Tt(new lt(t.module_name,new Le(t.name),o,r))}else{if(!(s instanceof Ft))throw new Error("Unknown ABI format.");{let t=s,r=e.toTransactionArguments(t.args,n);i=new Et(new ut(t.code,o,r))}}return i}build(e,t,r){let{sender:n,sequenceNumber:i,gasUnitPrice:o,maxGasAmount:s,expSecFromNow:a,chainId:c}=this.builderConfig;if(!o)throw new Error("No gasUnitPrice provided.");let u=n instanceof Te?n:Te.fromHex(n),l=BigInt(Math.floor(Date.now()/1e3)+Number(a)),d=this.buildTransactionPayload(e,t,r);if(d)return new ct(u,BigInt(i),d,BigInt(s),BigInt(o),l,new St(Number(c)));throw new Error("Invalid ABI.")}},wr=class{constructor(e,t){this.aptosClient=e,this.builderConfig=t}async fetchABI(e){let t=(await this.aptosClient.getAccountModules(e)).map((e=>e.abi)).flatMap((e=>e.exposed_functions.filter((e=>e.is_entry)).map((t=>({fullName:`${e.address}::${e.name}::${t.name}`,...t}))))),r=new Map;return t.forEach((e=>{r.set(e.fullName,e)})),r}async build(e,t,r){if(3!==(e=e.replace(/^0[xX]0*/g,"0x")).split("::").length)throw new Error("'func' needs to be a fully qualified function name in format <address>::<module>::<function>, e.g. 0x1::coin::transfer");let[n,i]=e.split("::"),o=await this.fetchABI(n);if(!o.has(e))throw new Error(`${e} doesn't exist.`);let s=o.get(e),a=s.params.filter((e=>"signer"!==e&&"&signer"!==e)).map(((e,r)=>new Lt(`var${r}`,new st(e,t).parseTypeTag()))),c=new Kt(s.name,pt.fromStr(`${n}::${i}`),"",s.generic_type_params.map(((e,t)=>new Wt(`${t}`))),a),{sender:u,...l}=this.builderConfig,d=u instanceof Te?Q.fromUint8Array(u.address):u,[{sequence_number:h},f,{gas_estimate:p}]=await Promise.all([l?.sequenceNumber?Promise.resolve({sequence_number:l?.sequenceNumber}):this.aptosClient.getAccount(d),l?.chainId?Promise.resolve(l?.chainId):this.aptosClient.getChainId(),l?.gasUnitPrice?Promise.resolve({gas_estimate:l?.gasUnitPrice}):this.aptosClient.estimateGasPrice()]);return new br([le(c)],{sender:u,sequenceNumber:h,chainId:f,gasUnitPrice:BigInt(p),...l}).build(e,t,r)}};h([U(6e5)],wr.prototype,"fetchABI",1);var vr=class e{constructor(e,t,r=!1){if(!e)throw new Error("Node URL cannot be empty.");this.nodeUrl=r?e:function(e){let t=`${e}`;return t.endsWith("/")&&(t=t.substring(0,t.length-1)),t.endsWith("/v1")||(t=`${t}/v1`),t}(e),this.config=null==t?{}:{...t}}async getAccount(e){let{data:t}=await j({url:this.nodeUrl,endpoint:`accounts/${Q.ensure(e).hex()}`,originMethod:"getAccount",overrides:{...this.config}});return t}async getAccountTransactions(e,t){let{data:r}=await j({url:this.nodeUrl,endpoint:`accounts/${Q.ensure(e).hex()}/transactions`,originMethod:"getAccountTransactions",params:{start:t?.start,limit:t?.limit},overrides:{...this.config}});return r}async getAccountModules(e,t){return await G({url:this.nodeUrl,endpoint:`accounts/${e}/modules`,params:{ledger_version:t?.ledgerVersion,limit:1e3},originMethod:"getAccountModules",overrides:{...this.config}})}async getAccountModule(e,t,r){let{data:n}=await j({url:this.nodeUrl,endpoint:`accounts/${Q.ensure(e).hex()}/module/${t}`,originMethod:"getAccountModule",params:{ledger_version:r?.ledgerVersion},overrides:{...this.config}});return n}async getAccountResources(e,t){return await G({url:this.nodeUrl,endpoint:`accounts/${e}/resources`,params:{ledger_version:t?.ledgerVersion,limit:9999},originMethod:"getAccountResources",overrides:{...this.config}})}async getAccountResource(e,t,r){let{data:n}=await j({url:this.nodeUrl,endpoint:`accounts/${Q.ensure(e).hex()}/resource/${t}`,originMethod:"getAccountResource",params:{ledger_version:r?.ledgerVersion},overrides:{...this.config}});return n}static generateBCSTransaction(e,t){return new yr((t=>{let r=e.signBuffer(t);return new Z.Ed25519Signature(r.toUint8Array())}),e.pubKey().toUint8Array()).sign(t)}static generateBCSSimulation(e,t){return new yr((e=>{let t=new Uint8Array(64);return new Z.Ed25519Signature(t)}),e.pubKey().toUint8Array()).sign(t)}async generateTransaction(e,t,r){let n={sender:e};if(r?.sequence_number&&(n.sequenceNumber=r.sequence_number),r?.gas_unit_price&&(n.gasUnitPrice=r.gas_unit_price),r?.max_gas_amount&&(n.maxGasAmount=r.max_gas_amount),r?.expiration_timestamp_secs){let e=Number.parseInt(r.expiration_timestamp_secs,10);n.expSecFromNow=e-Math.floor(Date.now()/1e3)}return new wr(this,n).build(t.function,t.type_arguments,t.arguments)}async generateFeePayerTransaction(e,t,r,n=[],i){let o=await this.generateTransaction(e,t,i),s=n.map((e=>Te.fromHex(e)));return new Z.FeePayerRawTransaction(o,s,Te.fromHex(r))}async submitFeePayerTransaction(e,t,r,n=[]){let i=new Z.TransactionAuthenticatorFeePayer(t,e.secondary_signer_addresses,n,{address:e.fee_payer_address,authenticator:r}),o=le(new Z.SignedTransaction(e.raw_txn,i));return await this.submitSignedBCSTransaction(o)}async signMultiTransaction(e,t){let r=new Z.Ed25519Signature(e.signBuffer(gr.getSigningMessage(t)).toUint8Array()),n=new Z.AccountAuthenticatorEd25519(new Z.Ed25519PublicKey(e.signingKey.publicKey),r);return Promise.resolve(n)}async signTransaction(t,r){return Promise.resolve(e.generateBCSTransaction(t,r))}async getEventsByCreationNumber(e,t,r){let{data:n}=await j({url:this.nodeUrl,endpoint:`accounts/${Q.ensure(e).hex()}/events/${t}`,originMethod:"getEventsByCreationNumber",params:{start:r?.start,limit:r?.limit},overrides:{...this.config}});return n}async getEventsByEventHandle(e,t,r,n){let{data:i}=await j({url:this.nodeUrl,endpoint:`accounts/${Q.ensure(e).hex()}/events/${t}/${r}`,originMethod:"getEventsByEventHandle",params:{start:n?.start,limit:n?.limit},overrides:{...this.config}});return i}async submitTransaction(e){return this.submitSignedBCSTransaction(e)}async simulateTransaction(t,r,n){let i;return i=t instanceof Jt?e.generateBCSSimulation(t,r):t instanceof Me?new mr((()=>{let{threshold:e}=t,r=[],n=[];for(let t=0;t<e;t+=1)r.push(t),n.push(new Z.Ed25519Signature(new Uint8Array(64)));let i=Z.MultiEd25519Signature.createBitmap(r);return new Z.MultiEd25519Signature(n,i)}),t).sign(r):new yr((()=>{let e=new Uint8Array(64);return new Z.Ed25519Signature(e)}),t.toBytes()).sign(r),this.submitBCSSimulation(i,n)}async submitSignedBCSTransaction(e){let{data:t}=await H({url:this.nodeUrl,body:e,endpoint:"transactions",originMethod:"submitSignedBCSTransaction",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return t}async submitBCSSimulation(e,t){var r,n,i;let o={estimate_gas_unit_price:null!=(r=t?.estimateGasUnitPrice)&&r,estimate_max_gas_amount:null!=(n=t?.estimateMaxGasAmount)&&n,estimate_prioritized_gas_unit_price:null!=(i=t?.estimatePrioritizedGasUnitPrice)&&i},{data:s}=await H({url:this.nodeUrl,body:e,endpoint:"transactions/simulate",params:o,originMethod:"submitBCSSimulation",contentType:"application/x.aptos.signed_transaction+bcs",overrides:{...this.config}});return s}async getTransactions(e){var t;let{data:r}=await j({url:this.nodeUrl,endpoint:"transactions",originMethod:"getTransactions",params:{start:null==(t=e?.start)?void 0:t.toString(),limit:e?.limit},overrides:{...this.config}});return r}async getTransactionByHash(e){let{data:t}=await j({url:this.nodeUrl,endpoint:`transactions/by_hash/${e}`,originMethod:"getTransactionByHash",overrides:{...this.config}});return t}async getTransactionByVersion(e){let{data:t}=await j({url:this.nodeUrl,endpoint:`transactions/by_version/${e}`,originMethod:"getTransactionByVersion",overrides:{...this.config}});return t}async transactionPending(e){try{return"pending_transaction"===(await this.getTransactionByHash(e)).type}catch(e){if(404===e?.status)return!0;throw e}}async waitForTransactionWithResult(e,t){var r,n;let i,o=null!=(r=t?.timeoutSecs)?r:20,s=null!=(n=t?.checkSuccess)&&n,a=!0,c=0;for(;a&&!(c>=o);){try{if(i=await this.getTransactionByHash(e),a="pending_transaction"===i.type,!a)break}catch(e){let t=e instanceof Cr,r=t&&404!==e.status&&e.status>=400&&e.status<500;if(!t||r)throw e}await x(1e3),c+=1}if(void 0===i)throw new Error(`Waiting for transaction ${e} failed`);if(a)throw new Er(`Waiting for transaction ${e} timed out after ${o} seconds`,i);if(!s)return i;if(!i?.success)throw new Tr(`Transaction ${e} failed with an error: ${i.vm_status}`,i);return i}async waitForTransaction(e,t){await this.waitForTransactionWithResult(e,t)}async getLedgerInfo(){let{data:e}=await j({url:this.nodeUrl,originMethod:"getLedgerInfo",overrides:{...this.config}});return e}async getChainId(){return(await this.getLedgerInfo()).chain_id}async getTableItem(e,t,r){var n;return(await H({url:this.nodeUrl,body:t,endpoint:`tables/${e}/item`,originMethod:"getTableItem",params:{ledger_version:null==(n=r?.ledgerVersion)?void 0:n.toString()},overrides:{...this.config}})).data}async generateRawTransaction(e,t,r){let[{sequence_number:n},i,{gas_estimate:o}]=await Promise.all([r?.providedSequenceNumber?Promise.resolve({sequence_number:r.providedSequenceNumber}):this.getAccount(e),this.getChainId(),r?.gasUnitPrice?Promise.resolve({gas_estimate:r.gasUnitPrice}):this.estimateGasPrice()]),{maxGasAmount:s,gasUnitPrice:a,expireTimestamp:c}={maxGasAmount:BigInt(N),gasUnitPrice:BigInt(o),expireTimestamp:BigInt(Math.floor(Date.now()/1e3)+20),...r};return new Z.RawTransaction(Z.AccountAddress.fromHex(e),BigInt(n),t,s,a,c,new Z.ChainId(i))}async generateSignSubmitTransaction(t,r,n){let i=await this.generateRawTransaction(t.address(),r,n),o=e.generateBCSTransaction(t,i);return(await this.submitSignedBCSTransaction(o)).hash}async signAndSubmitTransaction(t,r){let n=e.generateBCSTransaction(t,r);return(await this.submitSignedBCSTransaction(n)).hash}async publishPackage(e,t,r,n){let i=new ie;ae(r,i);let o=new Z.TransactionPayloadEntryFunction(Z.EntryFunction.natural("0x1::code","publish_package_txn",[],[we(t),i.getBytes()]));return this.generateSignSubmitTransaction(e,o,n)}async createResourceAccountAndPublishPackage(e,t,r,n,i){let o=new ie;ae(n,o);let s=new Z.TransactionPayloadEntryFunction(Z.EntryFunction.natural("0x1::resource_account","create_resource_account_and_publish_package",[],[we(t),we(r),o.getBytes()]));return this.generateSignSubmitTransaction(e,s,i)}async generateSignSubmitWaitForTransaction(e,t,r){let n=await this.generateSignSubmitTransaction(e,t,r);return this.waitForTransactionWithResult(n,r)}async estimateGasPrice(){let{data:e}=await j({url:this.nodeUrl,endpoint:"estimate_gas_price",originMethod:"estimateGasPrice",overrides:{...this.config}});return e}async estimateMaxGasAmount(e){let t=`0x1::coin::CoinStore<${R}>`,[{gas_estimate:r},n]=await Promise.all([this.estimateGasPrice(),this.getAccountResources(e)]),i=n.find((e=>e.type===t));return BigInt(i.data.coin.value)/BigInt(r)}async rotateAuthKeyEd25519(t,r,n){let{sequence_number:i,authentication_key:o}=await this.getAccount(t.address()),s=new Jt(r),a=new Z.RotationProofChallenge(Z.AccountAddress.CORE_CODE_ADDRESS,"account","RotationProofChallenge",BigInt(i),Z.AccountAddress.fromHex(t.address()),new Z.AccountAddress(new Q(o).toUint8Array()),s.pubKey().toUint8Array()),c=Q.fromUint8Array(le(a)),u=t.signHexString(c),l=s.signHexString(c),d=new Z.TransactionPayloadEntryFunction(Z.EntryFunction.natural("0x1::account","rotate_authentication_key",[],[he(0),we(t.pubKey().toUint8Array()),he(0),we(s.pubKey().toUint8Array()),we(u.toUint8Array()),we(l.toUint8Array())])),h=await this.generateRawTransaction(t.address(),d,n),f=e.generateBCSTransaction(t,h);return this.submitSignedBCSTransaction(f)}async lookupOriginalAddress(e){let t=await this.getAccountResource("0x1","0x1::account::OriginatingAddress"),{address_map:{handle:r}}=t.data,n=await this.getTableItem(r,{key_type:"address",value_type:"address",key:Q.ensure(e).hex()});return new Q(n)}async getBlockByHeight(e,t){let{data:r}=await j({url:this.nodeUrl,endpoint:`blocks/by_height/${e}`,originMethod:"getBlockByHeight",params:{with_transactions:t},overrides:{...this.config}});return r}async getBlockByVersion(e,t){let{data:r}=await j({url:this.nodeUrl,endpoint:`blocks/by_version/${e}`,originMethod:"getBlockByVersion",params:{with_transactions:t},overrides:{...this.config}});return r}async view(e,t){let{data:r}=await H({url:this.nodeUrl,body:e,endpoint:"view",originMethod:"getTableItem",params:{ledger_version:t},overrides:{...this.config}});return r}clearCache(e){!function(e){let t=new Set;for(let r of e){let e=D.get(r);if(e)for(let r of e)t.has(r)||(r.clear(),t.add(r))}t.size}(e)}};h([Sr],vr.prototype,"getAccount",1),h([Sr],vr.prototype,"getAccountTransactions",1),h([Sr,U(6e5)],vr.prototype,"getAccountModules",1),h([Sr],vr.prototype,"getAccountModule",1),h([Sr],vr.prototype,"getAccountResources",1),h([Sr],vr.prototype,"getAccountResource",1),h([Sr],vr.prototype,"getEventsByCreationNumber",1),h([Sr],vr.prototype,"getEventsByEventHandle",1),h([Sr],vr.prototype,"submitSignedBCSTransaction",1),h([Sr],vr.prototype,"submitBCSSimulation",1),h([Sr],vr.prototype,"getTransactions",1),h([Sr],vr.prototype,"getTransactionByHash",1),h([Sr],vr.prototype,"getTransactionByVersion",1),h([Sr],vr.prototype,"getLedgerInfo",1),h([_()],vr.prototype,"getChainId",1),h([Sr],vr.prototype,"getTableItem",1),h([Sr,_({ttlMs:3e5,tags:["gas_estimates"]})],vr.prototype,"estimateGasPrice",1),h([Sr],vr.prototype,"estimateMaxGasAmount",1),h([Sr],vr.prototype,"getBlockByHeight",1),h([Sr],vr.prototype,"getBlockByVersion",1),h([Sr],vr.prototype,"view",1);var Ar=vr,Er=class extends Error{constructor(e,t){super(e),this.lastSubmittedTransaction=t}},Tr=class extends Error{constructor(e,t){super(e),this.transaction=t}},Cr=class extends Error{constructor(e,t,r,n){super(t),this.status=e,this.message=t,this.errorCode=r,this.vmErrorCode=n}};function Sr(e,t,r){let n=r.value;return r.value=async function(...e){var t,r;try{return await n.apply(this,[...e])}catch(e){throw e instanceof z?new Cr(e.status,JSON.stringify({message:e.message,...e.data}),null==(t=e.data)?void 0:t.error_code,null==(r=e.data)?void 0:r.vm_error_code):e}},r}var Ir=class e{constructor(e,t){this.endpoint=e,this.config=t}static validateAddress(e){if(e.length<66)throw new Error(`${e} is less than 66 chars long.`)}async queryIndexer(e){let t=await H({url:this.endpoint,body:e,overrides:{WITH_CREDENTIALS:!1,...this.config}});if(t.data.errors)throw new Cr(t.data.errors[0].extensions.code,JSON.stringify({message:t.data.errors[0].message,error_code:t.data.errors[0].extensions.code}));return t.data.data}async getIndexerLedgerInfo(){let e={query:"\n    query getIndexerLedgerInfo {\n  ledger_infos {\n    chain_id\n  }\n}\n    "};return this.queryIndexer(e)}async getAccountNFTs(t,r){let n=Q.ensure(t).hex();e.validateAddress(n);let i={query:"\n    query getAccountCurrentTokens($address: String!, $offset: Int, $limit: Int) {\n  current_token_ownerships(\n    where: {owner_address: {_eq: $address}, amount: {_gt: 0}}\n    order_by: [{last_transaction_version: desc}, {creator_address: asc}, {collection_name: asc}, {name: asc}]\n    offset: $offset\n    limit: $limit\n  ) {\n    amount\n    current_token_data {\n      ...TokenDataFields\n    }\n    current_collection_data {\n      ...CollectionDataFields\n    }\n    last_transaction_version\n    property_version\n  }\n}\n    \n    fragment TokenDataFields on current_token_datas {\n  creator_address\n  collection_name\n  description\n  metadata_uri\n  name\n  token_data_id_hash\n  collection_data_id_hash\n}\n    \n\n    fragment CollectionDataFields on current_collection_datas {\n  metadata_uri\n  supply\n  description\n  collection_name\n  collection_data_id_hash\n  table_handle\n  creator_address\n}\n    ",variables:{address:n,offset:r?.offset,limit:r?.limit}};return this.queryIndexer(i)}async getTokenActivities(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={token_data_id:{_eq:o}};r?.tokenStandard&&(s.token_standard={_eq:r?.tokenStandard});let a={query:tr,variables:{where_condition:s,offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(a)}async getTokenActivitiesCount(e){let t={query:"\n    query getTokenActivitiesCount($token_id: String) {\n  token_activities_v2_aggregate(where: {token_data_id: {_eq: $token_id}}) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",variables:{token_id:e}};return this.queryIndexer(t)}async getAccountTokensCount(t,r){var n,i;let o={owner_address:{_eq:t},amount:{_gt:"0"}};r?.tokenStandard&&(o.token_standard={_eq:r?.tokenStandard});let s=Q.ensure(t).hex();e.validateAddress(s);let a={query:"\n    query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) {\n  current_token_ownerships_v2_aggregate(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n  ) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",variables:{where_condition:o,offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit}};return this.queryIndexer(a)}async getTokenData(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={token_data_id:{_eq:o}};r?.tokenStandard&&(s.token_standard={_eq:r?.tokenStandard});let a={query:"\n    query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) {\n  current_token_datas_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    collection_id\n    description\n    is_fungible_v2\n    largest_property_version_v1\n    last_transaction_timestamp\n    last_transaction_version\n    maximum\n    supply\n    token_data_id\n    token_name\n    token_properties\n    token_standard\n    token_uri\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      max_supply\n      mutable_description\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n  }\n}\n    ",variables:{where_condition:s,offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(a)}async getTokenOwnersData(t,r,n){var i,o;let s=Q.ensure(t).hex();e.validateAddress(s);let a={token_data_id:{_eq:s},amount:{_gt:"0"}};r&&(a.property_version_v1={_eq:r}),n?.tokenStandard&&(a.token_standard={_eq:n?.tokenStandard});let c={query:ir,variables:{where_condition:a,offset:null==(i=n?.options)?void 0:i.offset,limit:null==(o=n?.options)?void 0:o.limit,order_by:n?.orderBy}};return this.queryIndexer(c)}async getTokenCurrentOwnerData(t,r,n){var i,o;let s=Q.ensure(t).hex();e.validateAddress(s);let a={token_data_id:{_eq:s},amount:{_gt:"0"}};r&&(a.property_version_v1={_eq:r}),n?.tokenStandard&&(a.token_standard={_eq:n?.tokenStandard});let c={query:rr,variables:{where_condition:a,offset:null==(i=n?.options)?void 0:i.offset,limit:null==(o=n?.options)?void 0:o.limit,order_by:n?.orderBy}};return this.queryIndexer(c)}async getOwnedTokens(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={owner_address:{_eq:o},amount:{_gt:0}};r?.tokenStandard&&(s.token_standard={_eq:r?.tokenStandard});let a={query:$t,variables:{where_condition:s,offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(a)}async getOwnedTokensByTokenData(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={token_data_id:{_eq:o},amount:{_gt:0}};r?.tokenStandard&&(s.token_standard={_eq:r?.tokenStandard});let a={query:er,variables:{where_condition:s,offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(a)}async getTokenOwnedFromCollectionAddress(t,r,n){var i,o;let s=Q.ensure(t).hex();e.validateAddress(s);let a=Q.ensure(r).hex();e.validateAddress(a);let c={owner_address:{_eq:s},current_token_data:{collection_id:{_eq:a}},amount:{_gt:0}};n?.tokenStandard&&(c.token_standard={_eq:n?.tokenStandard});let u={query:nr,variables:{where_condition:c,offset:null==(i=n?.options)?void 0:i.offset,limit:null==(o=n?.options)?void 0:o.limit,order_by:n?.orderBy}};return this.queryIndexer(u)}async getTokenOwnedFromCollectionNameAndCreatorAddress(e,t,r,n){let i=await this.getCollectionAddress(r,t,n);return await this.getTokenOwnedFromCollectionAddress(e,i,n)}async getCollectionData(t,r,n){var i,o;let s=Q.ensure(t).hex();e.validateAddress(s);let a={collection_name:{_eq:r},creator_address:{_eq:s}};n?.tokenStandard&&(a.token_standard={_eq:n?.tokenStandard});let c={query:"\n    query getCollectionData($where_condition: current_collections_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collections_v2_order_by!]) {\n  current_collections_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    collection_id\n    collection_name\n    creator_address\n    current_supply\n    description\n    last_transaction_timestamp\n    last_transaction_version\n    max_supply\n    mutable_description\n    mutable_uri\n    table_handle_v1\n    token_standard\n    total_minted_v2\n    uri\n  }\n}\n    ",variables:{where_condition:a,offset:null==(i=n?.options)?void 0:i.offset,limit:null==(o=n?.options)?void 0:o.limit,order_by:n?.orderBy}};return this.queryIndexer(c)}async getCollectionAddress(e,t,r){return(await this.getCollectionData(e,t,r)).current_collections_v2[0].collection_id}async getCollectionsWithOwnedTokens(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={owner_address:{_eq:o}};r?.tokenStandard&&(s.current_collection={token_standard:{_eq:r?.tokenStandard}});let a={query:"\n    query getCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) {\n  current_collection_ownership_v2_view(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      mutable_description\n      max_supply\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n    collection_id\n    collection_name\n    collection_uri\n    creator_address\n    distinct_tokens\n    last_transaction_version\n    owner_address\n    single_token_uri\n  }\n}\n    ",variables:{where_condition:s,offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(a)}async getAccountTransactionsCount(t){let r=Q.ensure(t).hex();e.validateAddress(r);let n={query:"\n    query getAccountTransactionsCount($address: String) {\n  account_transactions_aggregate(where: {account_address: {_eq: $address}}) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",variables:{address:r}};return this.queryIndexer(n)}async getAccountTransactionsData(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={query:Zt,variables:{where_condition:{account_address:{_eq:o}},offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(s)}async getTopUserTransactions(e){let t={query:"\n    query getTopUserTransactions($limit: Int) {\n  user_transactions(limit: $limit, order_by: {version: desc}) {\n    version\n  }\n}\n    ",variables:{limit:e}};return this.queryIndexer(t)}async getUserTransactions(e){var t,r;let n={query:"\n    query getUserTransactions($where_condition: user_transactions_bool_exp!, $offset: Int, $limit: Int, $order_by: [user_transactions_order_by!]) {\n  user_transactions(\n    order_by: $order_by\n    where: $where_condition\n    limit: $limit\n    offset: $offset\n  ) {\n    version\n  }\n}\n    ",variables:{where_condition:{version:{_lte:e?.startVersion}},offset:null==(t=e?.options)?void 0:t.offset,limit:null==(r=e?.options)?void 0:r.limit,order_by:e?.orderBy}};return this.queryIndexer(n)}async getDelegatedStakingActivities(t,r){let n=Q.ensure(t).hex(),i=Q.ensure(r).hex();e.validateAddress(n),e.validateAddress(i);let o={query:"\n    query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) {\n  delegated_staking_activities(\n    where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}}\n  ) {\n    amount\n    delegator_address\n    event_index\n    event_type\n    pool_address\n    transaction_version\n  }\n}\n    ",variables:{delegatorAddress:n,poolAddress:i}};return this.queryIndexer(o)}async getNumberOfDelegators(t){let r=Q.ensure(t).hex();e.validateAddress(r);let n={query:'\n    query getNumberOfDelegators($poolAddress: String) {\n  num_active_delegator_per_pool(\n    where: {pool_address: {_eq: $poolAddress}, num_active_delegator: {_gt: "0"}}\n    distinct_on: pool_address\n  ) {\n    num_active_delegator\n    pool_address\n  }\n}\n    ',variables:{poolAddress:r}};return this.queryIndexer(n)}async getAccountCoinsData(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={query:"\n    query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) {\n  current_fungible_asset_balances(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    amount\n    asset_type\n    is_frozen\n    is_primary\n    last_transaction_timestamp\n    last_transaction_version\n    owner_address\n    storage_id\n    token_standard\n    metadata {\n      token_standard\n      symbol\n      supply_aggregator_table_key_v1\n      supply_aggregator_table_handle_v1\n      project_uri\n      name\n      last_transaction_version\n      last_transaction_timestamp\n      icon_uri\n      decimals\n      creator_address\n      asset_type\n    }\n  }\n}\n    ",variables:{where_condition:{owner_address:{_eq:o}},offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(s)}async getAccountCoinsDataCount(t){let r=Q.ensure(t).hex();e.validateAddress(r);let n={query:"\n    query getAccountCoinsDataCount($address: String) {\n  current_fungible_asset_balances_aggregate(\n    where: {owner_address: {_eq: $address}}\n  ) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",variables:{address:r}};return this.queryIndexer(n)}async getAccountOwnedObjects(t,r){var n,i;let o=Q.ensure(t).hex();e.validateAddress(o);let s={query:"\n    query getCurrentObjects($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) {\n  current_objects(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    allow_ungated_transfer\n    state_key_hash\n    owner_address\n    object_address\n    last_transaction_version\n    last_guid_creation_num\n    is_deleted\n  }\n}\n    ",variables:{where_condition:{owner_address:{_eq:o}},offset:null==(n=r?.options)?void 0:n.offset,limit:null==(i=r?.options)?void 0:i.limit,order_by:r?.orderBy}};return this.queryIndexer(s)}},Or=class{constructor(e,t,r=!1){let n=null,i=null;if("object"==typeof e&&function(e){return void 0!==e.fullnodeUrl&&"string"==typeof e.fullnodeUrl}(e)?(n=e.fullnodeUrl,i=e.indexerUrl,this.network="CUSTOM"):(n=q[e],i=V[e],this.network=e),"CUSTOM"===this.network&&!n)throw new Error("fullnode url is not provided");i&&(this.indexerClient=new Ir(i,t)),this.aptosClient=new Ar(n,t,r)}};function Mr(e,t,r){Object.getOwnPropertyNames(t.prototype).forEach((n=>{let i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&(i.value=function(...e){return this[r][n](...e)},Object.defineProperty(e.prototype,n,i))})),Object.getOwnPropertyNames(t).forEach((n=>{let i=Object.getOwnPropertyDescriptor(t,n);i&&(i.value=function(...e){return this[r][n](...e)},!e.hasOwnProperty.call(e,n)&&Object.defineProperty(e,n,i))}))}Mr(Or,Ar,"aptosClient"),Mr(Or,Ir,"indexerClient");var Pr=class{constructor(e,t){this.type=e,this.value=t}},kr=class{constructor(){this.data={}}setProperty(e,t){this.data[e]=t}};function Br(e){let t;return t="string"===e||"String"===e?new Qe($e):new st(e).parseTypeTag(),t}function xr(e,t){if(e.length!==t.length)throw new Error("Length of property values and types not match");let r=new Array;return t.forEach(((t,n)=>{try{let i=Br(t),o=new ie;lr(e[n],i,o),r.push(o.getBytes())}catch{r.push((new TextEncoder).encode(e[n]))}})),r}function Nr(e,t){if(!e||!t)throw new Error("value or type can not be empty");try{let r=Br(t),n=new ie;return lr(e,r,n),n.getBytes()}catch{return(new TextEncoder).encode(e)}}function Rr(e){let t=e.map.data,r=new kr;return t.forEach((e=>{let{key:t}=e,n=e.value.value,i=e.value.type,o=_r(Br(i),n),s=new Pr(i,o);r.setProperty(t,s)})),r}function _r(e,t){let r=new se(new Q(t).toUint8Array()),n="";return n=e instanceof Ke?r.deserializeU8().toString():e instanceof Ge?r.deserializeU64().toString():e instanceof Ve?r.deserializeU128().toString():e instanceof Fe?r.deserializeBool()?"true":"false":e instanceof Je?Q.fromUint8Array(r.deserializeFixedBytes(32)).hex():e instanceof Qe&&e.isStringTypeTag()?r.deserializeStr():t,n}var Ur={};u(Ur,{PropertyMap:()=>kr,PropertyValue:()=>Pr,Token:()=>Wr,TokenData:()=>Dr});var Dr=class{constructor(e,t,r,n,i,o,s,a){this.collection=e,this.description=t,this.name=r,this.maximum=n,this.supply=i,this.uri=o,this.default_properties=Rr(s),this.mutability_config=a}},Wr=class{constructor(e,t,r){this.id=e,this.amount=t,this.token_properties=Rr(r)}},Lr=class{constructor(e){this.aptosClient=e}async createCollection(e,t,r,n,i=te,o){let s=await new wr(this.aptosClient,{sender:e.address(),...o}).build("0x3::token::create_collection_script",[],[t,r,n,i,[!1,!1,!1]]),a=Ar.generateBCSTransaction(e,s);return(await this.aptosClient.submitSignedBCSTransaction(a)).hash}async createToken(e,t,r,n,i,o,s=te,a=e.address(),c=0,u=0,l=[],d=[],h=[],f){let p=await new wr(this.aptosClient,{sender:e.address(),...f}).build("0x3::token::create_token_script",[],[t,r,n,i,s,o,a,c,u,[!1,!1,!1,!1,!1],l,xr(d,h),h]),g=Ar.generateBCSTransaction(e,p);return(await this.aptosClient.submitSignedBCSTransaction(g)).hash}async createTokenWithMutabilityConfig(e,t,r,n,i,o,s=te,a=e.address(),c=0,u=0,l=[],d=[],h=[],f=[!1,!1,!1,!1,!1],p){let g=await new wr(this.aptosClient,{sender:e.address(),...p}).build("0x3::token::create_token_script",[],[t,r,n,i,s,o,a,c,u,f,l,d,h]),y=Ar.generateBCSTransaction(e,g);return(await this.aptosClient.submitSignedBCSTransaction(y)).hash}async offerToken(e,t,r,n,i,o,s=0,a){let c=await new wr(this.aptosClient,{sender:e.address(),...a}).build("0x3::token_transfers::offer_script",[],[t,r,n,i,s,o]),u=Ar.generateBCSTransaction(e,c);return(await this.aptosClient.submitSignedBCSTransaction(u)).hash}async claimToken(e,t,r,n,i,o=0,s){let a=await new wr(this.aptosClient,{sender:e.address(),...s}).build("0x3::token_transfers::claim_script",[],[t,r,n,i,o]),c=Ar.generateBCSTransaction(e,a);return(await this.aptosClient.submitSignedBCSTransaction(c)).hash}async cancelTokenOffer(e,t,r,n,i,o=0,s){let a=await new wr(this.aptosClient,{sender:e.address(),...s}).build("0x3::token_transfers::cancel_offer_script",[],[t,r,n,i,o]),c=Ar.generateBCSTransaction(e,a);return(await this.aptosClient.submitSignedBCSTransaction(c)).hash}async directTransferToken(e,t,r,n,i,o,s=0,a){let c=await new wr(this.aptosClient,{sender:e.address(),...a}).build("0x3::token::direct_transfer_script",[],[r,n,i,s,o]),u=new Z.MultiAgentRawTransaction(c,[Z.AccountAddress.fromHex(t.address())]),l=new Z.Ed25519Signature(e.signBuffer(gr.getSigningMessage(u)).toUint8Array()),d=new Z.AccountAuthenticatorEd25519(new Z.Ed25519PublicKey(e.signingKey.publicKey),l),h=new Z.Ed25519Signature(t.signBuffer(gr.getSigningMessage(u)).toUint8Array()),f=new Z.AccountAuthenticatorEd25519(new Z.Ed25519PublicKey(t.signingKey.publicKey),h),p=new Z.TransactionAuthenticatorMultiAgent(d,[Z.AccountAddress.fromHex(t.address())],[f]),g=le(new Z.SignedTransaction(c,p));return(await this.aptosClient.submitSignedBCSTransaction(g)).hash}async directTransferTokenWithFeePayer(e,t,r,n,i,o,s,a=0,c){let u=await new wr(this.aptosClient,{sender:e.address(),...c}).build("0x3::token::direct_transfer_script",[],[r,n,i,a,o]),l=new Z.FeePayerRawTransaction(u,[Z.AccountAddress.fromHex(t.address())],Z.AccountAddress.fromHex(s.address())),d=new Z.Ed25519Signature(e.signBuffer(gr.getSigningMessage(l)).toUint8Array()),h=new Z.AccountAuthenticatorEd25519(new Z.Ed25519PublicKey(e.signingKey.publicKey),d),f=new Z.Ed25519Signature(t.signBuffer(gr.getSigningMessage(l)).toUint8Array()),p=new Z.AccountAuthenticatorEd25519(new Z.Ed25519PublicKey(t.signingKey.publicKey),f),g=new Z.Ed25519Signature(s.signBuffer(gr.getSigningMessage(l)).toUint8Array()),y=new Z.AccountAuthenticatorEd25519(new Z.Ed25519PublicKey(s.signingKey.publicKey),g),m=new Z.TransactionAuthenticatorFeePayer(h,[Z.AccountAddress.fromHex(t.address())],[p],{address:Z.AccountAddress.fromHex(s.address()),authenticator:y}),b=le(new Z.SignedTransaction(u,m));return(await this.aptosClient.submitSignedBCSTransaction(b)).hash}async optInTokenTransfer(e,t,r){let n=await new wr(this.aptosClient,{sender:e.address(),...r}).build("0x3::token::opt_in_direct_transfer",[],[t]),i=Ar.generateBCSTransaction(e,n);return(await this.aptosClient.submitSignedBCSTransaction(i)).hash}async transferWithOptIn(e,t,r,n,i,o,s,a){let c=await new wr(this.aptosClient,{sender:e.address(),...a}).build("0x3::token::transfer_with_opt_in",[],[t,r,n,i,o,s]),u=Ar.generateBCSTransaction(e,c);return(await this.aptosClient.submitSignedBCSTransaction(u)).hash}async burnByCreator(e,t,r,n,i,o,s){let a=await new wr(this.aptosClient,{sender:e.address(),...s}).build("0x3::token::burn_by_creator",[],[t,r,n,i,o]),c=Ar.generateBCSTransaction(e,a);return(await this.aptosClient.submitSignedBCSTransaction(c)).hash}async burnByOwner(e,t,r,n,i,o,s){let a=await new wr(this.aptosClient,{sender:e.address(),...s}).build("0x3::token::burn",[],[t,r,n,i,o]),c=Ar.generateBCSTransaction(e,a);return(await this.aptosClient.submitSignedBCSTransaction(c)).hash}async mutateTokenProperties(e,t,r,n,i,o,s,a,c,u,l){let d=await new wr(this.aptosClient,{sender:e.address(),...l}).build("0x3::token::mutate_token_properties",[],[t,r,n,i,o,s,a,c,u]),h=Ar.generateBCSTransaction(e,d);return(await this.aptosClient.submitSignedBCSTransaction(h)).hash}async getCollectionData(e,t){let r=(await this.aptosClient.getAccountResources(e)).find((e=>"0x3::token::Collections"===e.type)),{handle:n}=r.data.collection_data,i={key_type:"0x1::string::String",value_type:"0x3::token::CollectionData",key:t};return await this.aptosClient.getTableItem(n,i)}async getTokenData(e,t,r){let n=e instanceof Q?e.hex():e,i=await this.aptosClient.getAccountResource(n,"0x3::token::Collections"),{handle:o}=i.data.token_data,s={key_type:"0x3::token::TokenDataId",value_type:"0x3::token::TokenData",key:{creator:n,collection:t,name:r}},a=await this.aptosClient.getTableItem(o,s);return new Dr(a.collection,a.description,a.name,a.maximum,a.supply,a.uri,a.default_properties,a.mutability_config)}async getToken(e,t,r,n="0"){let i={creator:e instanceof Q?e.hex():e,collection:t,name:r};return this.getTokenForAccount(e,{token_data_id:i,property_version:n})}async getTokenForAccount(e,t){let r=await this.aptosClient.getAccountResource(e instanceof Q?e.hex():e,"0x3::token::TokenStore"),{handle:n}=r.data.tokens,i={key_type:"0x3::token::TokenId",value_type:"0x3::token::Token",key:t};try{let e=await this.aptosClient.getTableItem(n,i);return new Wr(e.id,e.amount,e.token_properties)}catch(e){return 404===e?.status?{id:t,amount:"0",token_properties:new kr}:e}}},zr=class{constructor(e){this.assetType="0x1::fungible_asset::Metadata",this.provider=e}async transfer(e,t,r,n,i){let o=await this.generateTransfer(e,t,r,n,i);return await this.provider.signAndSubmitTransaction(e,o)}async getPrimaryBalance(e,t){let r={function:"0x1::primary_fungible_store::balance",type_arguments:[this.assetType],arguments:[Q.ensure(e).hex(),Q.ensure(t).hex()]},n=await this.provider.view(r);return BigInt(n[0])}async generateTransfer(e,t,r,n,i){return await new wr(this.provider,{sender:e.address(),...i}).build("0x1::primary_fungible_store::transfer",[this.assetType],[Q.ensure(t).hex(),Q.ensure(r).hex(),n])}},Fr={BOOLEAN:"bool",U8:"u8",U16:"u16",U32:"u32",U64:"u64",U128:"u128",U256:"u256",ADDRESS:"address",VECTOR:"vector<u8>",STRING:"string"},Kr=class{constructor(e){this.tokenType="0x4::token::Token",this.provider=e}async submitTransaction(e,t,r,n,i){let o=await new wr(this.provider,{sender:e.address(),...i}).build(`0x4::aptos_token::${t}`,r,n),s=Ar.generateBCSTransaction(e,o);return(await this.provider.submitSignedBCSTransaction(s)).hash}async createCollection(e,t,r,n,i=te,o,s){var a,c,u,l,d,h,f,p,g,y,m;return this.submitTransaction(e,"create_collection",[],[t,i,r,n,null==(a=o?.mutableDescription)||a,null==(c=o?.mutableRoyalty)||c,null==(u=o?.mutableURI)||u,null==(l=o?.mutableTokenDescription)||l,null==(d=o?.mutableTokenName)||d,null==(h=o?.mutableTokenProperties)||h,null==(f=o?.mutableTokenURI)||f,null==(p=o?.tokensBurnableByCreator)||p,null==(g=o?.tokensFreezableByCreator)||g,null!=(y=o?.royaltyNumerator)?y:0,null!=(m=o?.royaltyDenominator)?m:1],s)}async mint(e,t,r,n,i,o=[],s=[],a=[],c){return this.submitTransaction(e,"mint",[],[t,r,n,i,o,s,xr(a,s)],c)}async mintSoulBound(e,t,r,n,i,o,s=[],a=[],c=[],u){return this.submitTransaction(e,"mint_soul_bound",[],[t,r,n,i,s,a,xr(c,a),o.address().hex()],u)}async burnToken(e,t,r,n){return this.submitTransaction(e,"burn",[r||this.tokenType],[Q.ensure(t).hex()],n)}async freezeTokenTransafer(e,t,r,n){return this.submitTransaction(e,"freeze_transfer",[r||this.tokenType],[Q.ensure(t).hex()],n)}async unfreezeTokenTransafer(e,t,r,n){return this.submitTransaction(e,"unfreeze_transfer",[r||this.tokenType],[Q.ensure(t).hex()],n)}async setTokenDescription(e,t,r,n,i){return this.submitTransaction(e,"set_description",[n||this.tokenType],[Q.ensure(t).hex(),r],i)}async setTokenName(e,t,r,n,i){return this.submitTransaction(e,"set_name",[n||this.tokenType],[Q.ensure(t).hex(),r],i)}async setTokenURI(e,t,r,n,i){return this.submitTransaction(e,"set_uri",[n||this.tokenType],[Q.ensure(t).hex(),r],i)}async addTokenProperty(e,t,r,n,i,o,s){return this.submitTransaction(e,"add_property",[o||this.tokenType],[Q.ensure(t).hex(),r,Fr[n],Nr(i,Fr[n])],s)}async removeTokenProperty(e,t,r,n,i){return this.submitTransaction(e,"remove_property",[n||this.tokenType],[Q.ensure(t).hex(),r],i)}async updateTokenProperty(e,t,r,n,i,o,s){return this.submitTransaction(e,"update_property",[o||this.tokenType],[Q.ensure(t).hex(),r,Fr[n],Nr(i,Fr[n])],s)}async addTypedProperty(e,t,r,n,i,o,s){return this.submitTransaction(e,"add_typed_property",[o||this.tokenType,Fr[n]],[Q.ensure(t).hex(),r,i],s)}async updateTypedProperty(e,t,r,n,i,o,s){return this.submitTransaction(e,"update_typed_property",[o||this.tokenType,Fr[n]],[Q.ensure(t).hex(),r,i],s)}async transferTokenOwnership(e,t,r,n,i){let o=await new wr(this.provider,{sender:e.address(),...i}).build("0x1::object::transfer",[n||this.tokenType],[Q.ensure(t).hex(),Q.ensure(r).hex()]),s=Ar.generateBCSTransaction(e,o);return(await this.provider.submitSignedBCSTransaction(s)).hash}async transfer(e,t){let r=t;if(null==r&&(r=(await this.provider.getTokenData(Q.ensure(e.tokenAddress).hex())).current_token_datas_v2[0].is_fungible_v2),r){let t=e;return await new zr(this.provider).transfer(t.owner,t.tokenAddress,t.recipient,t.amount,t.extraArgs)}let n=e;return await this.transferTokenOwnership(n.owner,n.tokenAddress,n.recipient,n.tokenType,n.extraArgs)}async burnObject(e,t,r,n){let i=await new wr(this.provider,{sender:e.address(),...n}).build("0x1::object::burn",[r||"0x1::object::ObjectCore"],[Q.ensure(t).hex()]),o=Ar.generateBCSTransaction(e,i);return(await this.provider.submitSignedBCSTransaction(o)).hash}},jr="0x1::aptos_account::transfer_coins",Hr="0x1::coin::transfer",Gr=class{constructor(e){this.aptosClient=e}async transfer(e,t,r,n){var i,o,s;let a=(null!=(i=n?.coinType)?i:"").toString().includes("::");if(n?.coinType&&!a&&Te.isValid(n.coinType)){console.warn("to transfer a fungible asset, use `FungibleAssetClient()` class for better support");let i=new Or({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:null!=(o=V[J[this.aptosClient.nodeUrl]])?o:this.aptosClient.nodeUrl});return await new zr(i).transfer(e,n?.coinType,Yt(t),r)}let c,u=null!=(s=n?.coinType)?s:R;c=void 0===n?.createReceiverIfMissing||n?.createReceiverIfMissing?jr:Hr;let l=Yt(t),d=await new wr(this.aptosClient,{sender:e.address(),...n}).build(c,[u],[l,r]),h=Ar.generateBCSTransaction(e,d);return(await this.aptosClient.submitSignedBCSTransaction(h)).hash}async checkBalance(e,t){var r,n,i;let o=(null!=(r=t?.coinType)?r:"").toString().includes("::");if(t?.coinType&&!o&&Te.isValid(t.coinType)){console.warn("to check balance of a fungible asset, use `FungibleAssetClient()` class for better support");let r=new Or({fullnodeUrl:this.aptosClient.nodeUrl,indexerUrl:null!=(n=V[J[this.aptosClient.nodeUrl]])?n:this.aptosClient.nodeUrl});return await new zr(r).getPrimaryBalance(Yt(e),t?.coinType)}let s=`0x1::coin::CoinStore<${null!=(i=t?.coinType)?i:R}>`,a=Yt(e),c=await this.aptosClient.getAccountResource(a,s);return BigInt(c.data.coin.value)}},Vr=class extends Ar{constructor(e,t,r){if(super(e,r),!t)throw new Error("Faucet URL cannot be empty.");this.faucetUrl=t,this.config=r}async fundAccount(e,t,r=20){let{data:n}=await H({url:this.faucetUrl,endpoint:"mint",body:null,params:{address:Q.ensure(e).noPrefix(),amount:t},overrides:{...this.config},originMethod:"fundAccount"}),i=[];for(let e=0;e<n.length;e+=1){let t=n[e];i.push(this.waitForTransaction(t,{timeoutSecs:r}))}return await Promise.all(i),n}},qr={testnet:"0x5f8fd2347449685cf41d4db97926ec3a096eaf381332be4f1318ad4d16a8497c",mainnet:"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c"},Jr=/^[a-z\d][a-z\d-]{1,61}[a-z\d]$/,Yr=new RegExp("^(?:(?<subdomain>[^.]+)\\.(?!apt$))?(?<domain>[^.]+)(?:\\.apt)?$"),Xr=class{constructor(e,t){var r;if(this.provider=e,!qr[this.provider.network]&&!t)throw new Error("Error: For custom providers, you must pass in a contract address");this.contractAddress=null!=(r=qr[this.provider.network])?r:t}async getPrimaryNameByAddress(e){let t=(await this.provider.getAccountResource(this.contractAddress,`${this.contractAddress}::domains::ReverseLookupRegistryV1`)).data,{handle:r}=t.registry,n={key_type:"address",value_type:`${this.contractAddress}::domains::NameRecordKeyV1`,key:e};try{let e=await this.provider.getTableItem(r,n);return e.subdomain_name.vec[0]?`${e.subdomain_name.vec[0]}.${e.domain_name}`:e.domain_name}catch(e){if(404===e.status)return null;throw new Error(e)}}async getAddressByName(e){var t,r;let{domain:n,subdomain:i}=null!=(r=null==(t=e.match(Yr))?void 0:t.groups)?r:{};if(!n)return null;let o=i?await this.getRegistrationForSubdomainName(n,i):await this.getRegistrationForDomainName(n);return null===o?null:o.target}async mintAptosName(e,t,r=1,n){if(null===t.match(Jr))throw new Cr(400,`Name ${t} is not valid`);let i=await this.getRegistrationForDomainName(t);if(i&&Math.ceil(Date.now()/1e3)<i.expirationTimestampSeconds)throw new Cr(400,`Name ${t} is not available`);let o=await new wr(this.provider.aptosClient,{sender:e.address(),...n}).build(`${this.contractAddress}::domains::register_domain`,[],[t,r]),s=Ar.generateBCSTransaction(e,o);return(await this.provider.submitSignedBCSTransaction(s)).hash}async mintAptosSubdomain(e,t,r,n,i){if(null===r.match(Jr))throw new Cr(400,`Domain name ${r} is not valid`);if(null===t.match(Jr))throw new Cr(400,`Subdomain name ${t} is not valid`);let o=await this.getRegistrationForSubdomainName(r,t);if(o&&Math.ceil(Date.now()/1e3)<o.expirationTimestampSeconds)throw new Cr(400,`Name ${t}.${r} is not available`);let s=await this.getRegistrationForDomainName(r);if(null===s)throw new Cr(400,`Domain name ${r} does not exist`);let a=Math.ceil(Date.now()/1e3);if(s.expirationTimestampSeconds<a)throw new Cr(400,`Domain name ${r} expired`);let c=n||s.expirationTimestampSeconds;if(c<a)throw new Cr(400,`Expiration for ${t}.${r} is before now`);let u=await new wr(this.provider.aptosClient,{sender:e.address(),...i}).build(`${this.contractAddress}::domains::register_subdomain`,[],[t,r,c]),l=Ar.generateBCSTransaction(e,u);return(await this.provider.submitSignedBCSTransaction(l)).hash}async setSubdomainAddress(e,t,r,n,i){let o=Te.standardizeAddress(n);if(null===r.match(Jr))throw new Cr(400,`Name ${r} is not valid`);if(null===t.match(Jr))throw new Cr(400,`Name ${t} is not valid`);let s=await new wr(this.provider.aptosClient,{sender:e.address(),...i}).build(`${this.contractAddress}::domains::set_subdomain_address`,[],[t,r,o]),a=Ar.generateBCSTransaction(e,s);return(await this.provider.submitSignedBCSTransaction(a)).hash}async initReverseLookupRegistry(e,t){let r=await new wr(this.provider.aptosClient,{sender:e.address(),...t}).build(`${this.contractAddress}::domains::init_reverse_lookup_registry_v1`,[],[]),n=Ar.generateBCSTransaction(e,r);return(await this.provider.submitSignedBCSTransaction(n)).hash}async getRegistrationForDomainName(e){if(null===e.match(Jr))return null;let t=(await this.provider.getAccountResource(this.contractAddress,`${this.contractAddress}::domains::NameRegistryV1`)).data,{handle:r}=t.registry,n={key_type:`${this.contractAddress}::domains::NameRecordKeyV1`,value_type:`${this.contractAddress}::domains::NameRecordV1`,key:{subdomain_name:{vec:[]},domain_name:e}};try{let e=await this.provider.getTableItem(r,n);return{target:1===e.target_address.vec.length?e.target_address.vec[0]:null,expirationTimestampSeconds:e.expiration_time_sec}}catch(e){if(404===e.status)return null;throw new Error(e)}}async getRegistrationForSubdomainName(e,t){if(null===e.match(Jr)||null===t.match(Jr))return null;let r=(await this.provider.getAccountResource(this.contractAddress,`${this.contractAddress}::domains::NameRegistryV1`)).data,{handle:n}=r.registry,i={key_type:`${this.contractAddress}::domains::NameRecordKeyV1`,value_type:`${this.contractAddress}::domains::NameRecordV1`,key:{subdomain_name:{vec:[t]},domain_name:e}};try{let e=await this.provider.getTableItem(n,i);return{target:1===e.target_address.vec.length?e.target_address.vec[0]:null,expirationTimestampSeconds:e.expiration_time_sec}}catch(e){if(404===e.status)return null;throw new Error(e)}}},Qr=()=>Math.floor(Date.now()/1e3),Zr=class{constructor(e,t,r,n,i){this.lastUncommintedNumber=null,this.currentNumber=null,this.lock=!1,this.provider=e,this.account=t,this.maxWaitTime=r,this.maximumInFlight=n,this.sleepTime=i}async nextSequenceNumber(){for(;this.lock;)await x(this.sleepTime);this.lock=!0;let e=BigInt(0);try{if((null===this.lastUncommintedNumber||null===this.currentNumber)&&await this.initialize(),this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight){await this.update();let e=Qr();for(;this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight;)await x(this.sleepTime),Qr()-e>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, resyncing ${this.account.address()}`),await this.initialize()):await this.update()}e=this.currentNumber,this.currentNumber+=BigInt(1)}catch(e){console.error("error in getting next sequence number for this account",e)}finally{this.lock=!1}return e}async initialize(){let{sequence_number:e}=await this.provider.getAccount(this.account.address());this.currentNumber=BigInt(e),this.lastUncommintedNumber=BigInt(e)}async update(){let{sequence_number:e}=await this.provider.getAccount(this.account.address());return this.lastUncommintedNumber=BigInt(e),this.lastUncommintedNumber}async synchronize(){if(this.lastUncommintedNumber!==this.currentNumber){for(;this.lock;)await x(this.sleepTime);this.lock=!0;try{await this.update();let e=Qr();for(;this.lastUncommintedNumber!==this.currentNumber;)Qr()-e>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, resyncing ${this.account.address()}`),await this.initialize()):(await x(this.sleepTime),await this.update())}catch(e){console.error("error in synchronizing this account sequence number with the one on chain",e)}finally{this.lock=!1}}}},$r=d(Qf()),en=class{constructor(){this.queue=[],this.pendingDequeue=[],this.cancelled=!1}enqueue(e){if(this.cancelled=!1,this.pendingDequeue.length>0){let t=this.pendingDequeue.shift();t?.resolve(e)}else this.queue.push(e)}async dequeue(){return this.queue.length>0?Promise.resolve(this.queue.shift()):new Promise(((e,t)=>{this.pendingDequeue.push({resolve:e,reject:t})}))}isEmpty(){return 0===this.queue.length}cancel(){this.cancelled=!0,this.pendingDequeue.forEach((async({reject:e})=>{e(new tn("Task cancelled"))})),this.pendingDequeue=[],this.queue.length=0}isCancelled(){return this.cancelled}pendingDequeueLength(){return this.pendingDequeue.length}},tn=class extends Error{},rn="fulfilled",nn=(e=>(e.TransactionSent="transactionSent",e.TransactionSendFailed="transactionsendFailed",e.TransactionExecuted="transactionExecuted",e.TransactionExecutionFailed="transactionexecutionFailed",e))(nn||{}),on=class extends $r.default{constructor(e,t,r=30,n=100,i=10){super(),this.taskQueue=new en,this.transactionsQueue=new en,this.outstandingTransactions=new en,this.sentTransactions=[],this.executedTransactions=[],this.provider=e,this.account=t,this.started=!1,this.accountSequnceNumber=new Zr(e,t,r,n,i)}async submitNextTransaction(){try{for(;;){if(this.transactionsQueue.isEmpty())return;let e=await this.accountSequnceNumber.nextSequenceNumber();if(null===e)return;let t=await this.generateNextTransaction(this.account,e);if(!t)return;let r=this.provider.submitSignedBCSTransaction(t);await this.outstandingTransactions.enqueue([r,e])}}catch(e){if(e instanceof tn)return;console.log(e)}}async processTransactions(){try{for(;;){let e=[],t=[],[r,n]=await this.outstandingTransactions.dequeue();for(e.push(r),t.push(n);!this.outstandingTransactions.isEmpty();)[r,n]=await this.outstandingTransactions.dequeue(),e.push(r),t.push(n);let i=await Promise.allSettled(e);for(let e=0;e<i.length&&e<t.length;e+=1){let r=i[e];n=t[e],r.status===rn?(this.sentTransactions.push([r.value.hash,n,null]),this.emit("transactionSent",[this.sentTransactions.length,r.value.hash]),await this.checkTransaction(r,n)):(this.sentTransactions.push([r.status,n,r.reason]),this.emit("transactionsendFailed",[this.sentTransactions.length,r.reason]))}}}catch(e){if(e instanceof tn)return;console.log(e)}}async checkTransaction(e,t){let r=[];r.push(this.provider.waitForTransactionWithResult(e.value.hash,{checkSuccess:!0}));let n=await Promise.allSettled(r);for(let e=0;e<n.length;e+=1){let r=n[e];r.status===rn?(this.executedTransactions.push([r.value.hash,t,null]),this.emit("transactionExecuted",[this.executedTransactions.length,r.value.hash])):(this.executedTransactions.push([r.status,t,r.reason]),this.emit("transactionexecutionFailed",[this.executedTransactions.length,r.reason]))}}async push(e){await this.transactionsQueue.enqueue(e)}async generateNextTransaction(e,t){if(this.transactionsQueue.isEmpty())return;let r=await this.transactionsQueue.dequeue(),n=await this.provider.generateRawTransaction(e.address(),r,{providedSequenceNumber:t});return Ar.generateBCSTransaction(e,n)}async run(){try{for(;!this.taskQueue.isCancelled();)await(await this.taskQueue.dequeue())()}catch(e){throw new Error(e)}}start(){if(this.started)throw new Error("worker has already started");this.started=!0,this.taskQueue.enqueue((()=>this.submitNextTransaction())),this.taskQueue.enqueue((()=>this.processTransactions())),this.run()}stop(){if(this.taskQueue.isCancelled())throw new Error("worker has already stopped");this.started=!1,this.taskQueue.cancel()}},sn={};u(sn,{AptosErrorCode:()=>an,MoveFunctionVisibility:()=>cn,RoleType:()=>un});var an=(e=>(e.ACCOUNT_NOT_FOUND="account_not_found",e.RESOURCE_NOT_FOUND="resource_not_found",e.MODULE_NOT_FOUND="module_not_found",e.STRUCT_FIELD_NOT_FOUND="struct_field_not_found",e.VERSION_NOT_FOUND="version_not_found",e.TRANSACTION_NOT_FOUND="transaction_not_found",e.TABLE_ITEM_NOT_FOUND="table_item_not_found",e.BLOCK_NOT_FOUND="block_not_found",e.STATE_VALUE_NOT_FOUND="state_value_not_found",e.VERSION_PRUNED="version_pruned",e.BLOCK_PRUNED="block_pruned",e.INVALID_INPUT="invalid_input",e.INVALID_TRANSACTION_UPDATE="invalid_transaction_update",e.SEQUENCE_NUMBER_TOO_OLD="sequence_number_too_old",e.VM_ERROR="vm_error",e.HEALTH_CHECK_FAILED="health_check_failed",e.MEMPOOL_IS_FULL="mempool_is_full",e.INTERNAL_ERROR="internal_error",e.WEB_FRAMEWORK_ERROR="web_framework_error",e.BCS_NOT_SUPPORTED="bcs_not_supported",e.API_DISABLED="api_disabled",e))(an||{}),cn=(e=>(e.PRIVATE="private",e.PUBLIC="public",e.FRIEND="friend",e))(cn||{}),un=(e=>(e.VALIDATOR="validator",e.FULL_NODE="full_node",e))(un||{}),ln=(e=>(e.AccountAddress="account_address",e.TransactionVersion="transaction_version",e))(ln||{}),dn=(e=>(e.AccountAddress="account_address",e.MinBlockHeight="min_block_height",e.NumDistinctVersions="num_distinct_versions",e))(dn||{}),hn=(e=>(e.AccountAddress="account_address",e.TransactionVersion="transaction_version",e))(hn||{}),fn=(e=>(e.Address="address",e.TransactionVersion="transaction_version",e))(fn||{}),pn=(e=>(e.BlockHeight="block_height",e.Epoch="epoch",e.FailedProposerIndices="failed_proposer_indices",e.Id="id",e.PreviousBlockVotesBitvec="previous_block_votes_bitvec",e.Proposer="proposer",e.Round="round",e.Timestamp="timestamp",e.Version="version",e))(pn||{}),gn=(e=>(e.ActivityType="activity_type",e.Amount="amount",e.BlockHeight="block_height",e.CoinType="coin_type",e.EntryFunctionIdStr="entry_function_id_str",e.EventAccountAddress="event_account_address",e.EventCreationNumber="event_creation_number",e.EventIndex="event_index",e.EventSequenceNumber="event_sequence_number",e.IsGasFee="is_gas_fee",e.IsTransactionSuccess="is_transaction_success",e.OwnerAddress="owner_address",e.StorageRefundAmount="storage_refund_amount",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e))(gn||{}),yn=(e=>(e.Amount="amount",e.CoinType="coin_type",e.CoinTypeHash="coin_type_hash",e.OwnerAddress="owner_address",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e))(yn||{}),mn=(e=>(e.CoinType="coin_type",e.CoinTypeHash="coin_type_hash",e.CreatorAddress="creator_address",e.Decimals="decimals",e.Name="name",e.SupplyAggregatorTableHandle="supply_aggregator_table_handle",e.SupplyAggregatorTableKey="supply_aggregator_table_key",e.Symbol="symbol",e.TransactionCreatedTimestamp="transaction_created_timestamp",e.TransactionVersionCreated="transaction_version_created",e))(mn||{}),bn=(e=>(e.CoinType="coin_type",e.CoinTypeHash="coin_type_hash",e.Supply="supply",e.TransactionEpoch="transaction_epoch",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e))(bn||{}),wn=(e=>(e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.Description="description",e.DescriptionMutable="description_mutable",e.Maximum="maximum",e.MaximumMutable="maximum_mutable",e.MetadataUri="metadata_uri",e.Supply="supply",e.TableHandle="table_handle",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e.UriMutable="uri_mutable",e))(wn||{}),vn=(e=>(e.Domain="domain",e.ExpirationTimestamp="expiration_timestamp",e.IsDeleted="is_deleted",e.LastTransactionVersion="last_transaction_version",e.RegisteredAddress="registered_address",e.Subdomain="subdomain",e.TokenName="token_name",e))(vn||{}),An=(e=>(e.Domain="domain",e.ExpirationTimestamp="expiration_timestamp",e.IsDeleted="is_deleted",e.LastTransactionVersion="last_transaction_version",e.RegisteredAddress="registered_address",e.Subdomain="subdomain",e.TokenName="token_name",e.TokenStandard="token_standard",e))(An||{}),En=(e=>(e.Domain="domain",e.DomainWithSuffix="domain_with_suffix",e.ExpirationTimestamp="expiration_timestamp",e.IsActive="is_active",e.IsPrimary="is_primary",e.LastTransactionVersion="last_transaction_version",e.OwnerAddress="owner_address",e.RegisteredAddress="registered_address",e.Subdomain="subdomain",e.TokenName="token_name",e.TokenStandard="token_standard",e))(En||{}),Tn=(e=>(e.Amount="amount",e.CoinType="coin_type",e.CoinTypeHash="coin_type_hash",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.OwnerAddress="owner_address",e))(Tn||{}),Cn=(e=>(e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.Description="description",e.DescriptionMutable="description_mutable",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Maximum="maximum",e.MaximumMutable="maximum_mutable",e.MetadataUri="metadata_uri",e.Supply="supply",e.TableHandle="table_handle",e.UriMutable="uri_mutable",e))(Cn||{}),Sn=(e=>(e.CollectionId="collection_id",e.CollectionName="collection_name",e.CollectionUri="collection_uri",e.CreatorAddress="creator_address",e.DistinctTokens="distinct_tokens",e.LastTransactionVersion="last_transaction_version",e.OwnerAddress="owner_address",e.SingleTokenUri="single_token_uri",e))(Sn||{}),In=(e=>(e.CollectionId="collection_id",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.CurrentSupply="current_supply",e.Description="description",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.MaxSupply="max_supply",e.MutableDescription="mutable_description",e.MutableUri="mutable_uri",e.TableHandleV1="table_handle_v1",e.TokenStandard="token_standard",e.TotalMintedV2="total_minted_v2",e.Uri="uri",e))(In||{}),On=(e=>(e.ActiveTableHandle="active_table_handle",e.InactiveTableHandle="inactive_table_handle",e.LastTransactionVersion="last_transaction_version",e.OperatorCommissionPercentage="operator_commission_percentage",e.StakingPoolAddress="staking_pool_address",e.TotalCoins="total_coins",e.TotalShares="total_shares",e))(On||{}),Mn=(e=>(e.DelegationPoolAddress="delegation_pool_address",e.DelegatorAddress="delegator_address",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.PendingVoter="pending_voter",e.TableHandle="table_handle",e.Voter="voter",e))(Mn||{}),Pn=(e=>(e.DelegatorAddress="delegator_address",e.LastTransactionVersion="last_transaction_version",e.ParentTableHandle="parent_table_handle",e.PoolAddress="pool_address",e.PoolType="pool_type",e.Shares="shares",e.TableHandle="table_handle",e))(Pn||{}),kn=(e=>(e.Amount="amount",e.AssetType="asset_type",e.IsFrozen="is_frozen",e.IsPrimary="is_primary",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.OwnerAddress="owner_address",e.StorageId="storage_id",e.TokenStandard="token_standard",e))(kn||{}),Bn=(e=>(e.AllowUngatedTransfer="allow_ungated_transfer",e.IsDeleted="is_deleted",e.LastGuidCreationNum="last_guid_creation_num",e.LastTransactionVersion="last_transaction_version",e.ObjectAddress="object_address",e.OwnerAddress="owner_address",e.StateKeyHash="state_key_hash",e))(Bn||{}),xn=(e=>(e.LastTransactionVersion="last_transaction_version",e.OperatorAddress="operator_address",e.StakingPoolAddress="staking_pool_address",e.VoterAddress="voter_address",e))(xn||{}),Nn=(e=>(e.DecodedKey="decoded_key",e.DecodedValue="decoded_value",e.IsDeleted="is_deleted",e.Key="key",e.KeyHash="key_hash",e.LastTransactionVersion="last_transaction_version",e.TableHandle="table_handle",e))(Nn||{}),Rn=(e=>(e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.DefaultProperties="default_properties",e.Description="description",e.DescriptionMutable="description_mutable",e.LargestPropertyVersion="largest_property_version",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Maximum="maximum",e.MaximumMutable="maximum_mutable",e.MetadataUri="metadata_uri",e.Name="name",e.PayeeAddress="payee_address",e.PropertiesMutable="properties_mutable",e.RoyaltyMutable="royalty_mutable",e.RoyaltyPointsDenominator="royalty_points_denominator",e.RoyaltyPointsNumerator="royalty_points_numerator",e.Supply="supply",e.TokenDataIdHash="token_data_id_hash",e.UriMutable="uri_mutable",e))(Rn||{}),_n=(e=>(e.CollectionId="collection_id",e.Description="description",e.IsFungibleV2="is_fungible_v2",e.LargestPropertyVersionV1="largest_property_version_v1",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Maximum="maximum",e.Supply="supply",e.TokenDataId="token_data_id",e.TokenName="token_name",e.TokenProperties="token_properties",e.TokenStandard="token_standard",e.TokenUri="token_uri",e))(_n||{}),Un=(e=>(e.Amount="amount",e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Name="name",e.OwnerAddress="owner_address",e.PropertyVersion="property_version",e.TableType="table_type",e.TokenDataIdHash="token_data_id_hash",e.TokenProperties="token_properties",e))(Un||{}),Dn=(e=>(e.Amount="amount",e.IsFungibleV2="is_fungible_v2",e.IsSoulboundV2="is_soulbound_v2",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.OwnerAddress="owner_address",e.PropertyVersionV1="property_version_v1",e.StorageId="storage_id",e.TableTypeV1="table_type_v1",e.TokenDataId="token_data_id",e.TokenPropertiesMutatedV1="token_properties_mutated_v1",e.TokenStandard="token_standard",e))(Dn||{}),Wn=(e=>(e.Amount="amount",e.CollectionDataIdHash="collection_data_id_hash",e.CollectionId="collection_id",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.FromAddress="from_address",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Name="name",e.PropertyVersion="property_version",e.TableHandle="table_handle",e.ToAddress="to_address",e.TokenDataId="token_data_id",e.TokenDataIdHash="token_data_id_hash",e))(Wn||{}),Ln=(e=>(e.Asc="ASC",e.Desc="DESC",e))(Ln||{}),zn=(e=>(e.Amount="amount",e.DelegatorAddress="delegator_address",e.EventIndex="event_index",e.EventType="event_type",e.PoolAddress="pool_address",e.TransactionVersion="transaction_version",e))(zn||{}),Fn=(e=>(e.FirstTransactionVersion="first_transaction_version",e.StakingPoolAddress="staking_pool_address",e))(Fn||{}),Kn=(e=>(e.DelegatorAddress="delegator_address",e.PoolAddress="pool_address",e))(Kn||{}),jn=(e=>(e.AccountAddress="account_address",e.CreationNumber="creation_number",e.Data="data",e.EventIndex="event_index",e.IndexedType="indexed_type",e.SequenceNumber="sequence_number",e.TransactionBlockHeight="transaction_block_height",e.TransactionVersion="transaction_version",e.Type="type",e))(jn||{}),Hn=(e=>(e.Amount="amount",e.AssetType="asset_type",e.BlockHeight="block_height",e.EntryFunctionIdStr="entry_function_id_str",e.EventIndex="event_index",e.GasFeePayerAddress="gas_fee_payer_address",e.IsFrozen="is_frozen",e.IsGasFee="is_gas_fee",e.IsTransactionSuccess="is_transaction_success",e.OwnerAddress="owner_address",e.StorageId="storage_id",e.StorageRefundAmount="storage_refund_amount",e.TokenStandard="token_standard",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e.Type="type",e))(Hn||{}),Gn=(e=>(e.AssetType="asset_type",e.CreatorAddress="creator_address",e.Decimals="decimals",e.IconUri="icon_uri",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Name="name",e.ProjectUri="project_uri",e.SupplyAggregatorTableHandleV1="supply_aggregator_table_handle_v1",e.SupplyAggregatorTableKeyV1="supply_aggregator_table_key_v1",e.Symbol="symbol",e.TokenStandard="token_standard",e))(Gn||{}),Vn=(e=>(e.Db="db",e.IsIndexerUp="is_indexer_up",e))(Vn||{}),qn=(e=>(e.ChainId="chain_id",e))(qn||{}),Jn=(e=>(e.Address="address",e.TransactionVersion="transaction_version",e))(Jn||{}),Yn=(e=>(e.BuyItNowPrice="buy_it_now_price",e.CoinType="coin_type",e.CollectionId="collection_id",e.ContractAddress="contract_address",e.CurrentBidPrice="current_bid_price",e.CurrentBidder="current_bidder",e.EntryFunctionIdStr="entry_function_id_str",e.ExpirationTime="expiration_time",e.FeeScheduleId="fee_schedule_id",e.IsDeleted="is_deleted",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.ListingId="listing_id",e.Marketplace="marketplace",e.Seller="seller",e.StartingBidPrice="starting_bid_price",e.TokenAmount="token_amount",e.TokenDataId="token_data_id",e.TokenStandard="token_standard",e))(Yn||{}),Xn=(e=>(e.Buyer="buyer",e.CoinType="coin_type",e.CollectionId="collection_id",e.CollectionOfferId="collection_offer_id",e.ContractAddress="contract_address",e.EntryFunctionIdStr="entry_function_id_str",e.ExpirationTime="expiration_time",e.FeeScheduleId="fee_schedule_id",e.IsDeleted="is_deleted",e.ItemPrice="item_price",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Marketplace="marketplace",e.RemainingTokenAmount="remaining_token_amount",e.TokenStandard="token_standard",e))(Xn||{}),Qn=(e=>(e.CoinType="coin_type",e.CollectionId="collection_id",e.ContractAddress="contract_address",e.EntryFunctionIdStr="entry_function_id_str",e.FeeScheduleId="fee_schedule_id",e.IsDeleted="is_deleted",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.ListingId="listing_id",e.Marketplace="marketplace",e.Price="price",e.Seller="seller",e.TokenAmount="token_amount",e.TokenDataId="token_data_id",e.TokenStandard="token_standard",e))(Qn||{}),Zn=(e=>(e.Buyer="buyer",e.CoinType="coin_type",e.CollectionId="collection_id",e.ContractAddress="contract_address",e.EntryFunctionIdStr="entry_function_id_str",e.ExpirationTime="expiration_time",e.FeeScheduleId="fee_schedule_id",e.IsDeleted="is_deleted",e.LastTransactionTimestamp="last_transaction_timestamp",e.LastTransactionVersion="last_transaction_version",e.Marketplace="marketplace",e.OfferId="offer_id",e.Price="price",e.TokenAmount="token_amount",e.TokenDataId="token_data_id",e.TokenStandard="token_standard",e))(Zn||{}),$n=(e=>(e.Buyer="buyer",e.CoinType="coin_type",e.CollectionId="collection_id",e.CollectionName="collection_name",e.ContractAddress="contract_address",e.CreatorAddress="creator_address",e.EntryFunctionIdStr="entry_function_id_str",e.EventIndex="event_index",e.EventType="event_type",e.FeeScheduleId="fee_schedule_id",e.Marketplace="marketplace",e.OfferOrListingId="offer_or_listing_id",e.Price="price",e.PropertyVersion="property_version",e.Seller="seller",e.TokenAmount="token_amount",e.TokenDataId="token_data_id",e.TokenName="token_name",e.TokenStandard="token_standard",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e))($n||{}),ei=(e=>(e.AnimationOptimizerRetryCount="animation_optimizer_retry_count",e.AssetUri="asset_uri",e.CdnAnimationUri="cdn_animation_uri",e.CdnImageUri="cdn_image_uri",e.CdnJsonUri="cdn_json_uri",e.ImageOptimizerRetryCount="image_optimizer_retry_count",e.JsonParserRetryCount="json_parser_retry_count",e.RawAnimationUri="raw_animation_uri",e.RawImageUri="raw_image_uri",e))(ei||{}),ti=(e=>(e.NumActiveDelegator="num_active_delegator",e.PoolAddress="pool_address",e))(ti||{}),ri=(e=>(e.Asc="asc",e.AscNullsFirst="asc_nulls_first",e.AscNullsLast="asc_nulls_last",e.Desc="desc",e.DescNullsFirst="desc_nulls_first",e.DescNullsLast="desc_nulls_last",e))(ri||{}),ni=(e=>(e.LastSuccessVersion="last_success_version",e.LastUpdated="last_updated",e.Processor="processor",e))(ni||{}),ii=(e=>(e.NumVotes="num_votes",e.ProposalId="proposal_id",e.ShouldPass="should_pass",e.StakingPoolAddress="staking_pool_address",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e.VoterAddress="voter_address",e))(ii||{}),oi=(e=>(e.DecodedKey="decoded_key",e.DecodedValue="decoded_value",e.Key="key",e.TableHandle="table_handle",e.TransactionVersion="transaction_version",e.WriteSetChangeIndex="write_set_change_index",e))(oi||{}),si=(e=>(e.Handle="handle",e.KeyType="key_type",e.ValueType="value_type",e))(si||{}),ai=(e=>(e.CoinAmount="coin_amount",e.CoinType="coin_type",e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.EventAccountAddress="event_account_address",e.EventCreationNumber="event_creation_number",e.EventIndex="event_index",e.EventSequenceNumber="event_sequence_number",e.FromAddress="from_address",e.Name="name",e.PropertyVersion="property_version",e.ToAddress="to_address",e.TokenAmount="token_amount",e.TokenDataIdHash="token_data_id_hash",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e.TransferType="transfer_type",e))(ai||{}),ci=(e=>(e.AfterValue="after_value",e.BeforeValue="before_value",e.EntryFunctionIdStr="entry_function_id_str",e.EventAccountAddress="event_account_address",e.EventIndex="event_index",e.FromAddress="from_address",e.IsFungibleV2="is_fungible_v2",e.PropertyVersionV1="property_version_v1",e.ToAddress="to_address",e.TokenAmount="token_amount",e.TokenDataId="token_data_id",e.TokenStandard="token_standard",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e.Type="type",e))(ci||{}),ui=(e=>(e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.DefaultProperties="default_properties",e.Description="description",e.DescriptionMutable="description_mutable",e.LargestPropertyVersion="largest_property_version",e.Maximum="maximum",e.MaximumMutable="maximum_mutable",e.MetadataUri="metadata_uri",e.Name="name",e.PayeeAddress="payee_address",e.PropertiesMutable="properties_mutable",e.RoyaltyMutable="royalty_mutable",e.RoyaltyPointsDenominator="royalty_points_denominator",e.RoyaltyPointsNumerator="royalty_points_numerator",e.Supply="supply",e.TokenDataIdHash="token_data_id_hash",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e.UriMutable="uri_mutable",e))(ui||{}),li=(e=>(e.Amount="amount",e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.Name="name",e.OwnerAddress="owner_address",e.PropertyVersion="property_version",e.TableHandle="table_handle",e.TableType="table_type",e.TokenDataIdHash="token_data_id_hash",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e))(li||{}),di=(e=>(e.CollectionDataIdHash="collection_data_id_hash",e.CollectionName="collection_name",e.CreatorAddress="creator_address",e.Name="name",e.PropertyVersion="property_version",e.TokenDataIdHash="token_data_id_hash",e.TokenProperties="token_properties",e.TransactionTimestamp="transaction_timestamp",e.TransactionVersion="transaction_version",e))(di||{}),hi=(e=>(e.BlockHeight="block_height",e.EntryFunctionIdStr="entry_function_id_str",e.Epoch="epoch",e.ExpirationTimestampSecs="expiration_timestamp_secs",e.GasUnitPrice="gas_unit_price",e.MaxGasAmount="max_gas_amount",e.ParentSignatureType="parent_signature_type",e.Sender="sender",e.SequenceNumber="sequence_number",e.Timestamp="timestamp",e.Version="version",e))(hi||{})})),rGe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{bcsDeserialize:()=>f,bcsSerialize:()=>h,deserializeJsonTransactionPayload:()=>E,deserializeRawTransaction:()=>S,deserializeSignAndSubmitTransactionRequestArgs:()=>M,deserializeSignTransactionRequestArgs:()=>B,deserializeSignTransactionResponseArgs:()=>R,isBcsSerializable:()=>d,makeFullMessage:()=>U,serializeJsonTransactionPayload:()=>A,serializeRawTransaction:()=>C,serializeSignAndSubmitTransactionRequestArgs:()=>O,serializeSignTransactionRequestArgs:()=>k,serializeSignTransactionResponseArgs:()=>N}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=Nr(),u=Hje();function l(e){return void 0!==e?.serialize&&void 0!==e?.bcsToBytes&&void 0!==e?.bcsToHex}function d(e){return function(e){return void 0!==e?.serialize}(e)||l(e)}function h(e){if(l(e))return e.bcsToHex().toString();let t=u.BCS.bcsToBytes(e);return c.Hex.fromHexInput(t).toString()}function f(e,t){let r=c.Hex.fromHexString(t).toUint8Array(),n=new c.Deserializer(r);return e.deserialize(n)}var p=Nr(),g=class e extends Error{constructor(t){super(t),this.name="UnexpectedValueError",Object.setPrototypeOf(this,e.prototype)}};function y(e){return e instanceof Uint8Array?{type:"Uint8Array",value:p.Hex.fromHexInput(e).toString()}:Array.isArray(e)?e.map(y):e}function b(e){return function(e){return"Uint8Array"===e?.type&&"string"==typeof e?.value}(e)?p.Hex.fromHexInput(e.value).toUint8Array():Array.isArray(e)?e.map(b):e}function w(e){let t=e.arguments.map(y);return{...e,arguments:t,type:"entry_function_payload"}}function v(e){let t=e.arguments.map(b);return{...e,arguments:t,type:"entry_function_payload"}}function A(e){if("entry_function_payload"===e.type||void 0===e.type)return w(e);if("multisig_payload"===e.type){let t=void 0!==e.transaction_payload?w(e.transaction_payload):void 0;return{...e,transaction_payload:t}}throw new g}function E(e){if("entry_function_payload"===e.type||void 0===e.type)return v(e);if("multisig_payload"===e.type){let t=void 0!==e.transaction_payload?v(e.transaction_payload):void 0;return{...e,transaction_payload:t}}throw new g}var T=Nr();function C(e){let t=h(e);if("fee_payer_address"in e)return{type:"fee_payer_raw_txn",value:t};if("secondary_signer_addresses"in e)return{type:"multi_agent_raw_txn",value:t};if("chain_id"in e)return{type:"raw_txn",value:t};throw new g("Invalid raw transaction type")}function S(e){switch(e.type){case"raw_txn":return f(T.RawTransaction,e.value);case"fee_payer_raw_txn":case"multi_agent_raw_txn":return f(T.RawTransactionWithData,e.value);default:throw new g("Invalid raw transaction type")}}var I=Nr();function O(e){if("payload"in e){let t=d(e.payload)?h(e.payload):A(e.payload);return{options:e.options,payload:t}}if("feePayerAuthenticator"in e)return{feePayerAuthenticator:h(e.feePayerAuthenticator),rawTxn:C(e.rawTxn)};if("rawTxn"in e)return{rawTxn:C(e.rawTxn)};throw new g}function M(e){if("payload"in e){let t="string"==typeof e.payload?f(I.TransactionPayload,e.payload):E(e.payload);return{options:e.options,payload:t}}if("feePayerAuthenticator"in e){let t=S(e.rawTxn);return{feePayerAuthenticator:f(I.AccountAuthenticator,e.feePayerAuthenticator),rawTxn:t}}if("rawTxn"in e)return{rawTxn:S(e.rawTxn)};throw new g}var P=Nr();function k(e){if("payload"in e){let t=d(e.payload)?h(e.payload):A(e.payload);return{options:e.options,payload:t}}if("rawTxn"in e)return{rawTxn:C(e.rawTxn)};throw new g}function B(e){if("payload"in e){let t="string"==typeof e.payload?f(P.TransactionPayload,e.payload):E(e.payload);return{options:e.options,payload:t}}if("rawTxn"in e)return{rawTxn:S(e.rawTxn)};throw new g}var x=Nr();function N(e){let t=h(e.accountAuthenticator);if("rawTxn"in e){return{accountAuthenticator:t,rawTxn:h(e.rawTxn)}}return{accountAuthenticator:t}}function R(e){let t=f(x.AccountAuthenticator,e.accountAuthenticator);if("rawTxn"in e){return{accountAuthenticator:t,rawTxn:f(x.RawTransaction,e.rawTxn)}}return{accountAuthenticator:t}}var _="APTOS";function U(e,t){let r=_;return t.address&&(r+=`\naddress: ${e.address}`),t.application&&(r+=`\napplication: ${e.application}`),t.chainId&&(r+=`\nchainId: ${e.chainId}`),r+=`\nmessage: ${e.message}`,r+=`\nnonce: ${e.nonce}`,{fullMessage:r,prefix:_}}})),bGe=W(((e,t)=>{"use strict";m();var r,n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of s(t))!c.call(e,a)&&a!==r&&i(e,a,{get:()=>t[a],enumerable:!(n=o(t,a))||n.enumerable});return e},l={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(l,{ACDappClient:()=>D,ACKeylessClient:()=>q,DAPP_PAIRINGS_WINDOW_STORAGE_KEY:()=>k,ICDappClient:()=>j,windowStateAccessors:()=>B}),t.exports=(r=l,u(i({},"__esModule",{value:!0}),r));var d=km(),h=Eae(),f=Nr(),p=GW(),g=B5(),y="https://aptosconnect.app",b=Nr();function w(e){if(null==e)return e;if(Array.isArray(e))return e.map((e=>w(e)));if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||e instanceof Uint8Array)return e;if("bigint"==typeof e)return e.toString();if(e instanceof ArrayBuffer)return new Uint8Array(e);if("values"in e)return e.values.map((e=>w(e)));if("data"in e)return b.AccountAddress.from(e.data).toString();if(void 0!==e.value){if("string"==typeof e.value||"number"==typeof e.value||"boolean"==typeof e.value||e.value instanceof Uint8Array)return e.value;if("bigint"==typeof e.value)return e.value.toString();throw new Error("Unexpected argument")}}function v(e,t){if("bcsToBytes"in e)return e;if("bytecode"in e)return(0,b.generateTransactionPayload)(e);if(t)return void 0!==e.abi?(0,b.generateTransactionPayloadWithABI)({...e,abi:e.abi}):(0,b.generateTransactionPayload)({aptosConfig:t,...e});let r={arguments:e.functionArguments.map(w),function:e.function,type:"entry_function_payload",type_arguments:(e.typeArguments??[]).map((e=>e.toString()))};return"multisigAddress"in e?{multisig_address:b.AccountAddress.from(e.multisigAddress).toString(),transaction_payload:r,type:"multisig_payload"}:r}var A=Nr(),E=GW(),T=B5(),C=rGe(),S=((e,t,r)=>(r=null!=e?n(a(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(iF()),I=class e extends Error{constructor(t){super(t),this.name="SignatureRequestError",Object.setPrototypeOf(this,e.prototype)}},O=class e extends Error{constructor(t){super(`Missing the following fields: ${t.join(", ")}`),this.name="UnexpectedSignatureResponseError",Object.setPrototypeOf(this,e.prototype)}},M=class e extends Error{constructor(){super(),this.name="PairingExpiredError",Object.setPrototypeOf(this,e.prototype)}},P=class e extends Error{constructor(){super("Dapp ID is invalid or not associated with a registered Dapp."),this.name="UnregisteredDappError",Object.setPrototypeOf(this,e.prototype)}},k="icDappPairings",B={async get(e){return(await this.getAll())[e]},async getAll(){let e=window.localStorage.getItem(k);return e?JSON.parse(e):{}},async update(e,t){let r=await this.getAll();void 0===t?delete r[e]:r[e]=t;let n=JSON.stringify(r);window.localStorage.setItem(k,n)}},x=["address","application","chainId","fullMessage","message","nonce","prefix","signature"];var N=["hash"];var R=/^Sequence number mismatch, expected (?:\S+ to be )?(\d+)/;async function _(e){return new Promise((t=>{setTimeout(t,e)}))}var U=class{constructor({accessors:e=B,axiosConfig:t,defaultNetworkName:r=E.NetworkName.MAINNET}={}){this.onDisconnectListeners=new Set,this.accessors=e,this.defaultNetworkName=r,this.axiosInstance=S.default.create({baseURL:y,...t});let n=typeof window<"u";this.initPromise=n?this.syncFirstPairing():void 0}async getPairing(e){return(await this.axiosInstance.get(`v1/pairing/${e}/`)).data.data.pairing}async syncFirstPairing(){let e=await this.accessors.getAll(),t=Object.values(e)[0];if(void 0!==t)try{let{dappSpecificWallet:e,maxDappSequenceNumber:r}=await this.getPairing(t.pairingId);await this.accessors.update(t.accountAddress,{...t,currSequenceNumber:r,dappWalletId:e?.id})}catch{await this.accessors.update(t.accountAddress,void 0)}}async createSigningRequest(e,t,r,n){let i=(0,T.decodeBase64)(e.dappEd25519SecretKeyB64),o=(0,T.decodeBase64)(e.dappEd25519PublicKeyB64),s=(0,T.decodeBase64)(e.accountTransportEd25519PublicKeyB64),a=e.currSequenceNumber+1;return async function(e,t,r=1){for(let n=0;n<r;n+=1)try{return await e()}catch(e){t(e)}return e()}((async()=>{let c=await(0,T.encryptAndSignEnvelope)((0,T.toKey)(i,T.KeyTypes.Ed25519SecretKey),(0,T.toKey)(o,T.KeyTypes.Ed25519PublicKey),(0,T.toKey)(s,T.KeyTypes.Ed25519PublicKey),a,{apiVersion:"0.2.0",networkName:r,requestType:t},n),u=await this.axiosInstance.post(`v1/pairing/${e.pairingId}/signing-request/`,c);return await this.accessors.update(e.accountAddress,{...e,currSequenceNumber:a}),u.data.data.signingRequest}),(e=>{if((0,S.isAxiosError)(e)){let t=e.response?.data?.message?.match(R)?.[1];if(void 0!==t)return void(a=Number(t))}throw e}))}async getSigningRequest(e){return(await this.axiosInstance.get(`v1/signing-request/${e}/`,{validateStatus:e=>200===e||404===e})).data?.data?.signingRequest}async deletePairing(e,t,r){let n=await(0,T.encryptAndSignEnvelope)(t,r,r,0,{},{});await this.axiosInstance.post(`v1/pairing/${e}/delete/`,n,{validateStatus:e=>204===e||404===e})}async cancelSigningRequest(e,t){let r=e.currSequenceNumber,n=(0,T.decodeBase64)(e.dappEd25519SecretKeyB64),i=(0,T.decodeBase64)(e.dappEd25519PublicKeyB64),o=(0,T.decodeBase64)(e.accountTransportEd25519PublicKeyB64),s=await(0,T.encryptAndSignEnvelope)((0,T.toKey)(n,T.KeyTypes.Ed25519SecretKey),(0,T.toKey)(i,T.KeyTypes.Ed25519PublicKey),(0,T.toKey)(o,T.KeyTypes.Ed25519PublicKey),r+1,{},{}),a=await this.axiosInstance.patch(`v1/signing-request/${t}/cancel/`,s);return await this.accessors.update(e.accountAddress,{...e,currSequenceNumber:r+1}),a.data.data.signingRequest}async signRequest(e,t,r,{cancelToken:n,networkName:i}={}){await this.initPromise;let o,s=await this.accessors.get(e);if(void 0===s)throw new Error("The requested account is not paired");try{for(o=await this.createSigningRequest(s,t,i||this.defaultNetworkName,r);"PENDING"===o.status;){if(await _(2500),n?.cancelled){o.status=E.SigningRequestStatus.CANCELLED;break}o=await this.getSigningRequest(o.id)??o}}catch(t){if((0,S.isAxiosError)(t)&&"404"===t.code){await this.accessors.update(e,void 0);for(let t of this.onDisconnectListeners)t(e);throw new M}throw t}if("APPROVED"!==o.status)throw new I(o.status);return(0,T.decryptEnvelope)((0,T.toKey)((0,T.decodeBase64)(s.accountTransportEd25519PublicKeyB64),T.KeyTypes.Ed25519PublicKey),(0,T.toKey)((0,T.decodeBase64)(s.dappEd25519SecretKeyB64),T.KeyTypes.Ed25519SecretKey),o.responseEnvelope).privateMessage}async addPairing({publicKey:e,secretKey:t},r){await this.accessors.update(r.account.accountAddress,{accountAddress:r.account.accountAddress,accountAlias:r.account.userSubmittedAlias??void 0,accountPublicKeyB64:r.account.publicKeyB64,accountTransportEd25519PublicKeyB64:r.account.transportEd25519PublicKeyB64,currSequenceNumber:r.maxDappSequenceNumber,dappEd25519PublicKeyB64:(0,T.encodeBase64)(e.key),dappEd25519SecretKeyB64:(0,T.encodeBase64)(t.key),dappWalletId:r.dappSpecificWalletId,pairingId:r.id})}async disconnect(e){let t=await this.accessors.get(e);if(void 0===t)throw new Error("The specified account is not paired");let r=(0,T.decodeBase64)(t.dappEd25519SecretKeyB64),n=(0,T.decodeBase64)(t.dappEd25519PublicKeyB64);await this.deletePairing(t.pairingId,(0,T.toKey)(r,T.KeyTypes.Ed25519SecretKey),(0,T.toKey)(n,T.KeyTypes.Ed25519PublicKey)),await this.accessors.update(e,void 0);for(let t of this.onDisconnectListeners)t(e)}async signMessage(e,t,r){let n=await this.signRequest(e,E.SigningRequestTypes.SIGN_MESSAGE,t,r);return function(e){let t=new Set(Object.keys(e)),r=x.filter((e=>!t.has(e)));if(r.length>0)throw new O(r)}(n),n}async signTransaction(e,t,r){let n=(0,C.serializeSignTransactionRequestArgs)(t),i=await this.signRequest(e,E.SigningRequestTypes.SIGN_TRANSACTION,n,r);return(0,C.deserializeSignTransactionResponseArgs)(i)}async signAndSubmitTransaction(e,t,r){let n=(0,C.serializeSignAndSubmitTransactionRequestArgs)(t);try{let t=await this.signRequest(e,E.SigningRequestTypes.SIGN_AND_SUBMIT_TRANSACTION,n,r);return function(e){let t=new Set(Object.keys(e)),r=N.filter((e=>!t.has(e)));if(r.length>0)throw new O(r)}(t),t}catch(e){throw e instanceof S.AxiosError&&e.response?.data?.message?new Error(e.response?.data?.message):e}}async getConnectedAccounts(){await this.initPromise;let e=await this.accessors.getAll();return Object.values(e).map((({accountAddress:e,accountEd25519PublicKeyB64:t,accountPublicKeyB64:r})=>({address:A.AccountAddress.from(e),publicKey:void 0!==r?(0,T.deserializePublicKeyB64)(r):(0,T.deserializeEd25519PublicKeyB64)(t)})))}onDisconnect(e){return this.onDisconnectListeners.add(e),()=>this.onDisconnectListeners.delete(e)}},D=class{constructor({backendBaseURL:e,dappId:t,dappImageURI:r,dappName:n,defaultNetworkName:i=p.NetworkName.MAINNET,frontendBaseURL:o=y,provider:s="google",tgWebAppURL:a}={}){this.defaultNetworkName=i,this.dappInfo={domain:window.location.origin,imageURI:r,name:n??document.title},this.transport=new h.WebWalletTransport(o,s,a),this.dappId=t,this.pairingClient=new U({axiosConfig:{baseURL:e??o},defaultNetworkName:i})}async getKeylessAccounts(){let e=d.GetConnectedAccountsRequest.serialize(this.dappInfo),t=await this.transport.sendRequest(e);return d.GetConnectedAccountsResponse.deserialize(t).args}async getIcAccounts(){return this.pairingClient.getConnectedAccounts()??[]}async isIcAccount(e){return void 0!==(await this.getIcAccounts()).find((t=>t.address.equals(f.AccountAddress.from(e))))}async getConnectedAccounts(){return[...await this.getKeylessAccounts(),...await this.getIcAccounts()]}async disconnect(e){if(await this.isIcAccount(e)){let t=f.AccountAddress.from(e).toString();await this.pairingClient.disconnect(t)}else{let e=d.DisconnectRequest.serialize(this.dappInfo);await this.transport.sendRequest(e)}}async connect({claimOptions:e,preferredWalletName:t}={}){let r=(0,g.createEd25519KeyPair)(),n=typeof window<"u"?window.AC_PREFERRED_WALLET_NAME:void 0,i={claimOptions:e,dappEd25519PublicKeyB64:(0,g.encodeBase64)(r.publicKey.key),dappId:this.dappId,preferredWalletName:t??n},o=d.ConnectRequest.serialize(this.dappInfo,i),s=await this.transport.sendRequest(o),a=d.ConnectResponse.deserialize(s);if("approved"===a.args.status){let{account:e,pairing:t}=a.args.args;return t&&await this.pairingClient.addPairing(r,t),(0,d.makeUserApproval)({account:e})}return a.args}async signIn(e){let t=d.SignInRequest.serialize(this.dappInfo,e),r=await this.transport.sendRequest(t);return d.SignInResponse.deserialize(r).args}async signMessage(e){let{signerAddress:t}=e;if(await this.isIcAccount(t)){let r,n,{chainId:i}=e,o=(0,d.chainIdToNetwork)(i);try{r=(new TextDecoder).decode(e.message),n=(new TextDecoder).decode(e.nonce)}catch{throw new Error("Only UTF-8 encoded text is supported when using IC")}let{fullMessage:s,signature:a}=await this.pairingClient.signMessage(t.toString(),{address:!0,application:!0,chainId:!0,message:r,nonce:n},{networkName:o}),c=f.Hex.fromHexInput(a).toUint8Array(),u=c.length===f.Ed25519Signature.LENGTH?new f.Ed25519Signature(c):f.AnySignature.deserialize(new f.Deserializer(c));return(0,d.makeUserApproval)({fullMessage:s,signature:u})}let r=d.SignMessageRequest.serialize(this.dappInfo,e),n=await this.transport.sendRequest(r);return d.SignMessageResponse.deserialize(n).args}async signTransaction(e){let t="transaction"in e?d.SignTransactionRequest.normalizeArgs(e):e,{signerAddress:r}=e;if(await this.isIcAccount(r)){let{expirationSecondsFromNow:e,expirationTimestamp:n,feePayer:i,gasUnitPrice:o,maxGasAmount:s,network:a,payload:c,secondarySigners:u,sender:l,sequenceNumber:h}=t;if(void 0!==i)throw new Error("Sponsored transaction not currently supported");if(u&&u.length>0)throw new Error("Multi-agent transactions not currently supported");if(!("bcsToBytes"in c))throw new Error("Payload input format is only supported with Keyless accounts.");let f=await this.pairingClient.signTransaction(r.toString(),{options:{expirationSecondsFromNow:e,expirationTimestamp:n,gasUnitPrice:o,maxGasAmount:s,sender:l?.address.toString(),sequenceNumber:void 0!==h?Number(h):void 0},payload:c},{networkName:a});return(0,d.makeUserApproval)({authenticator:f.accountAuthenticator,rawTransaction:f.rawTxn})}let n=d.SignTransactionRequest.serialize(this.dappInfo,t),i=await this.transport.sendRequest(n);return d.SignTransactionResponse.deserialize(i).args}async signAndSubmitTransaction(e){let{signerAddress:t}=e;if(await this.isIcAccount(t)){let r,{expirationTimestamp:n,feePayer:i,gasUnitPrice:o,maxGasAmount:s,network:a}=e,c=new f.AptosConfig({network:a});if(void 0!==i){let n=await v(e.payload,c),a=await(0,f.generateRawTransaction)({aptosConfig:c,feePayerAddress:i.address,options:{gasUnitPrice:o,maxGasAmount:s},payload:n,sender:t});r={feePayerAuthenticator:i.authenticator,rawTxn:new f.FeePayerRawTransaction(a,[],i.address)}}else{r={options:{expirationTimestamp:n,gasUnitPrice:o,maxGasAmount:s},payload:v(e.payload)}}let{hash:u}=await this.pairingClient.signAndSubmitTransaction(t.toString(),r,{networkName:a});return(0,d.makeUserApproval)({txnHash:u})}let r=d.SignAndSubmitTransactionRequest.serialize(this.dappInfo,e),n=await this.transport.sendRequest(r);return d.SignAndSubmitTransactionResponse.deserialize(n).args}},W=B5(),L=iF(),z={height:695,width:465};function F(e,t=z){let{height:r,width:n}=t,i={height:r,left:window.screenLeft+Math.round((window.outerWidth-n)/2),popup:!0,top:window.screenTop+Math.round((window.outerHeight-r)/2),width:n},o=Object.entries(i).map((([e,t])=>`${e}=${JSON.stringify(t)}`)).reduce(((e,t)=>`${e}, ${t}`)),s=e instanceof URL?e.href:e,a=window.open(s,void 0,o);if(null===a)throw new Error("Couldn't open prompt");return a}async function K(e){return new Promise((t=>{let r={onMessage:n=>{n.source===e&&(window.removeEventListener("message",r.onMessage),clearTimeout(r.promptPollerId),t({args:n.data,status:"approved"}))},promptPollerId:setInterval((()=>{e.closed&&(window.removeEventListener("message",r.onMessage),clearTimeout(r.promptPollerId),t({status:"dismissed"}))}),500)};window.addEventListener("message",r.onMessage)}))}var j=class extends U{constructor(e,{frontendBaseURL:t=y,...r}={}){super(r),this.dappId=e,this.frontendBaseURL=t}async createPairingRequest(e){try{return(await this.axiosInstance.post("v1/pairing/",{dappEd25519PublicKeyB64:e,dappId:this.dappId})).data.data.pairing}catch(e){throw(0,L.isAxiosError)(e)&&"Dapp not found"===e.response?.data?.message?new P:e}}async connect(){let e,{publicKey:t,secretKey:r}=(0,W.createEd25519KeyPair)(),n=(0,W.encodeBase64)(t.key),i=new URL(`${this.frontendBaseURL}/pairing`),o=await F(i.href);try{e=(await this.createPairingRequest(n)).id}catch(e){throw o.close(),e}i.searchParams.set("pairingId",e),o.location.href=i.href;let s=await K(o);if("dismissed"===s.status)return void this.deletePairing(e,r,t);let a=s.args;return await this.addPairing({publicKey:t,secretKey:r},a),a.account.accountAddress}async offboard(e){let t=await this.accessors.get(e);if(void 0===t)throw new Error("This account is not paired");let r=t.dappWalletId;if(void 0===r)throw new Error("This account cannot be offboarded");let n=F(new URL(`${this.frontendBaseURL}/offboarding?walletId=${r}`)),i=await K(n);return!("approved"!==i.status||!i.args.offboarded)&&(this.disconnect(e),!0)}},H=km(),G=Eae(),V=GW(),q=class{constructor({dappImageURI:e,dappName:t,defaultNetworkName:r=V.NetworkName.MAINNET,frontendBaseURL:n=y,provider:i="google"}={}){this.defaultNetworkName=r,this.dappInfo={domain:window.location.origin,imageURI:e,name:t??document.title},this.transport=new G.WebWalletTransport(n,i)}async isConnected(){let e=H.IsConnectedRequest.serialize(this.dappInfo),t=await this.transport.sendRequest(e);return H.IsConnectedResponse.deserialize(t).args}async getConnectedAccounts(){let e=H.GetConnectedAccountsRequest.serialize(this.dappInfo),t=await this.transport.sendRequest(e);return H.GetConnectedAccountsResponse.deserialize(t).args}async disconnect(){let e=H.DisconnectRequest.serialize(this.dappInfo);await this.transport.sendRequest(e)}async connect(){let e=H.ConnectRequest.serialize(this.dappInfo),t=await this.transport.sendRequest(e);return H.ConnectResponse.deserialize(t).args}async signMessage(e){let t=H.SignMessageRequest.serialize(this.dappInfo,e),r=await this.transport.sendRequest(t);return H.SignMessageResponse.deserialize(r).args}async signTransaction(e){let t="transaction"in e?H.SignTransactionRequest.normalizeArgs(e):e,r=H.SignTransactionRequest.serialize(this.dappInfo,t),n=await this.transport.sendRequest(r);return H.SignTransactionResponse.deserialize(n).args}async signAndSubmitTransaction(e){let t=H.SignAndSubmitTransactionRequest.serialize(this.dappInfo,e),r=await this.transport.sendRequest(t);return H.SignAndSubmitTransactionResponse.deserialize(r).args}}})),kGe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},c=(e,t,r)=>(a(e,t,"read from private field"),r?r.call(e):t.get(e)),u=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},l=(e,t,r,n)=>(a(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),d={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(d,{AptosConnectAccount:()=>T,AptosConnectAppleWallet:()=>R,AptosConnectGoogleWallet:()=>x,AptosConnectWallet:()=>P,registerAptosConnect:()=>_}),t.exports=(r=d,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var h,f,p=y1(),g=y1(),y=Nr(),b=y1(),w=B5(),v=bGe(),A=Nr(),E=y1(),T=class{constructor({address:e,ansName:t,publicKey:r}){this.chains=E.APTOS_CHAINS,this.features=[],u(this,h,void 0),u(this,f,void 0),l(this,f,r),l(this,h,e),this.label=t}get address(){return c(this,h).toString()}get publicKey(){return c(this,f).toUint8Array()}get signingScheme(){if(c(this,f)instanceof A.Ed25519PublicKey)return A.SigningScheme.Ed25519;if(c(this,f)instanceof A.MultiEd25519PublicKey)return A.SigningScheme.MultiEd25519;if(c(this,f)instanceof A.AnyPublicKey)return A.SigningScheme.SingleKey;if(c(this,f)instanceof A.MultiKey)return A.SigningScheme.MultiKey;throw new Error("Unsupported public key type")}};h=new WeakMap,f=new WeakMap;var C=Nr(),S=y1();function I({address:e,name:t,publicKey:r}){return new S.AccountInfo({address:e,ansName:t,publicKey:r})}function O(e,t){return"dismissed"===e.status?{status:S.UserResponseStatus.REJECTED}:{args:t(e.args),status:S.UserResponseStatus.APPROVED}}var M=class e{constructor({claimSecretKey:e,network:t=y.Network.MAINNET,preferredWalletName:r,...n}){if(this.version="1.0.0",this.chains=b.APTOS_CHAINS,this.client=new v.ACDappClient(n),!y.NetworkToNodeAPI[t])throw new Error("Network not supported");let i=new y.AptosConfig({network:t});this.aptosClient=new y.Aptos(i),this.preferredWalletName=r,this.claimOptions=e?{network:t,secretKey:new y.Ed25519PrivateKey(e)}:void 0}static get connectedAccount(){let t=localStorage.getItem(e.connectedAccountStorageKey);if(t)try{let{address:e,publicKey:r}=JSON.parse(t);return new b.AccountInfo({address:y.AccountAddress.from(e),publicKey:(0,w.deserializePublicKeyB64)(r)})}catch{return console.warn("Inconsistent state, resetting it"),void(this.connectedAccount=void 0)}}static set connectedAccount(t){if(void 0!==t){let r={address:t.address.toString(),publicKey:(0,w.serializePublicKeyB64)(t.publicKey)};localStorage.setItem(e.connectedAccountStorageKey,JSON.stringify(r))}else localStorage.removeItem(e.connectedAccountStorageKey)}get accounts(){let{connectedAccount:t}=e;return t?[new T(t)]:[]}async connect(){let{connectedAccount:t}=e;if(void 0!==t)return{args:t,status:b.UserResponseStatus.APPROVED};let r=await this.client.connect({claimOptions:this.claimOptions,preferredWalletName:this.preferredWalletName});if("dismissed"===r.status)return{status:b.UserResponseStatus.REJECTED};let n=I(r.args.account);return e.connectedAccount=n,{args:n,status:b.UserResponseStatus.APPROVED}}async disconnect(){let{connectedAccount:t}=e;t&&(await this.client.disconnect(t.address),e.connectedAccount=void 0)}async signIn(t){let r=await this.client.signIn({network:this.aptosClient.config.network,...t});if("dismissed"===r.status)return{status:b.UserResponseStatus.REJECTED};let n=r.args;return e.connectedAccount=n.account,{args:n,status:b.UserResponseStatus.APPROVED}}async getAccount(){let{connectedAccount:t}=e;if(!t)throw new b.AptosWalletError(b.AptosWalletErrorCode.Unauthorized);return I(t)}async getNetwork(){let{network:e}=this.aptosClient.config;return{chainId:await this.aptosClient.getChainId(),name:e,url:y.NetworkToNodeAPI[e]}}async signMessage(t){let{connectedAccount:r}=e;if(!r)throw new b.AptosWalletError(b.AptosWalletErrorCode.Unauthorized);let n=function(e){switch(e){case C.Network.MAINNET:return C.NetworkToChainId.mainnet;case C.Network.TESTNET:return C.NetworkToChainId.testnet;default:return C.NetworkToChainId.devnet}}(this.aptosClient.config.network),{message:i,nonce:o}=t,s=new TextEncoder,a=s.encode(i),c=s.encode(o),u=await this.client.signMessage({chainId:n,message:a,nonce:c,signerAddress:r.address});if("dismissed"===u.status)return{status:b.UserResponseStatus.REJECTED};let{fullMessage:l,signature:d}=u.args;return{args:{fullMessage:l,signature:d,...{address:r.address.toString(),application:this.client.dappInfo.domain,chainId:n,message:i,nonce:o,prefix:"APTOS"}},status:b.UserResponseStatus.APPROVED}}async signTransaction(t,r){let{connectedAccount:n}=e;if(!n)throw new b.AptosWalletError(b.AptosWalletErrorCode.Unauthorized);if("bcsToBytes"in t){let e=t,r=e.feePayerAddress?{address:e.feePayerAddress}:void 0,i=e.secondarySignerAddresses?.map((e=>({address:e})));return O(await this.client.signTransaction({feePayer:r,secondarySigners:i,signerAddress:n.address,transaction:e.rawTransaction}),(e=>e.authenticator))}let i=t;return O(await this.client.signTransaction({...i,signerAddress:n.address}),(e=>{let{authenticator:t,rawTransaction:r}=e;if(!r)throw new Error("Expected raw transaction in response args");let n,o=i.secondarySigners??[];return n=o.length>0?new y.MultiAgentTransaction(r,o.map((e=>e.address)),i.feePayer?.address):new y.SimpleTransaction(r,i.feePayer?.address),{authenticator:t,rawTransaction:n}}))}async signAndSubmitTransaction(t){let{gasUnitPrice:r,maxGasAmount:n,payload:i}=t,{connectedAccount:o}=e;if(!o)throw new b.AptosWalletError(b.AptosWalletErrorCode.Unauthorized);let s=await this.client.signAndSubmitTransaction({gasUnitPrice:r,maxGasAmount:n,network:this.aptosClient.config.network,payload:i,signerAddress:o.address});return"dismissed"===s.status?{status:b.UserResponseStatus.REJECTED}:{args:{hash:s.args.txnHash},status:b.UserResponseStatus.APPROVED}}async onAccountChange(e){}async onNetworkChange(e){}};M.connectedAccountStorageKey="@aptos-connect/connectedAccount";var P=M,k={icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxzdHlsZT4KICAgICAgICBwYXRoIHsKICAgICAgICAgICAgZmlsbDogYmxhY2s7CiAgICAgICAgfQoKICAgICAgICBAbWVkaWEgKHByZWZlcnMtY29sb3Itc2NoZW1lOiBkYXJrKSB7CiAgICAgICAgICAgIHBhdGggewogICAgICAgICAgICAgICAgZmlsbDogd2hpdGU7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICA8L3N0eW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VjE3LjY2NDRDNC4xMTQ5MyAyMS40MjI4IDguMDA0MDIgMjMuOTk5OCAxMi40OTk1IDIzLjk5OThaIiBmaWxsPSIjMzRBODUzIj48L3BhdGg+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik02LjA2NTIzIDE0LjY4NTFDNS44MzUyMyAxMy45OTUxIDUuNzA0NTUgMTMuMjU4MSA1LjcwNDU1IDEyLjUwMDFDNS43MDQ1NSAxMS43NDIyIDUuODM1MjMgMTEuMDA1MSA2LjA2NTIzIDEwLjMxNTFWNy4zMzU1N0gyLjIyMzE4QzEuNDQ0MzIgOC44ODgwNyAxIDEwLjY0NDQgMSAxMi41MDAxQzEgMTQuMzU1OCAxLjQ0NDMyIDE2LjExMjIgMi4yMjMxOCAxNy42NjQ3TDYuMDY1MjMgMTQuNjg1MVoiIGZpbGw9IiNGQkJDMDUiPjwvcGF0aD48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjQ5OTUgNS41NzM4NkMxNC4xODc5IDUuNTczODYgMTUuNzAzOCA2LjE1NDA5IDE2Ljg5NTYgNy4yOTM2NEwyMC4xOTQgMy45OTUyM0MxOC4yMDI0IDIuMTM5NTUgMTUuNTk5MiAxIDEyLjQ5OTUgMUM4LjAwNDAyIDEgNC4xMTQ5MyAzLjU3NzA1IDIuMjIyNjYgNy4zMzU0NUw2LjA2NDcgMTAuMzE1QzYuOTY5MDIgNy41OTY4MiA5LjUwNDI1IDUuNTczODYgMTIuNDk5NSA1LjU3Mzg2WiIgZmlsbD0iI0VBNDMzNSI+PC9wYXRoPjwvc3ZnPg==",name:"Continue with Google",url:"https://aptosconnect.app"},x=class extends P{constructor(e){super({...e,provider:"google"}),this.name=B.name,this.icon=B.icon,this.url=B.url}get features(){return{[g.AptosConnectNamespace]:{connect:this.connect.bind(this),version:"1.0.0"},[g.AptosDisconnectNamespace]:{disconnect:this.disconnect.bind(this),version:"1.0.0"},[g.AptosGetAccountNamespace]:{account:this.getAccount.bind(this),version:"1.0.0"},[g.AptosGetNetworkNamespace]:{network:this.getNetwork.bind(this),version:"1.0.0"},[g.AptosOnAccountChangeNamespace]:{onAccountChange:this.onAccountChange.bind(this),version:"1.0.0"},[g.AptosOnNetworkChangeNamespace]:{onNetworkChange:this.onNetworkChange.bind(this),version:"1.0.0"},[g.AptosSignAndSubmitTransactionNamespace]:{signAndSubmitTransaction:this.signAndSubmitTransaction.bind(this),version:"1.1.0"},[g.AptosSignInNamespace]:{signIn:this.signIn.bind(this),version:"0.1.0"},[g.AptosSignMessageNamespace]:{signMessage:this.signMessage.bind(this),version:"1.0.0"},[g.AptosSignTransactionNamespace]:{signTransaction:this.signTransaction.bind(this),version:"1.1"}}}},N=y1(),R=class extends P{constructor(e){super({...e,provider:"apple"}),this.name=k.name,this.icon=k.icon,this.url=k.url}get features(){return{[N.AptosConnectNamespace]:{connect:this.connect.bind(this),version:"1.0.0"},[N.AptosDisconnectNamespace]:{disconnect:this.disconnect.bind(this),version:"1.0.0"},[N.AptosGetAccountNamespace]:{account:this.getAccount.bind(this),version:"1.0.0"},[N.AptosGetNetworkNamespace]:{network:this.getNetwork.bind(this),version:"1.0.0"},[N.AptosOnAccountChangeNamespace]:{onAccountChange:this.onAccountChange.bind(this),version:"1.0.0"},[N.AptosOnNetworkChangeNamespace]:{onNetworkChange:this.onNetworkChange.bind(this),version:"1.0.0"},[N.AptosSignAndSubmitTransactionNamespace]:{signAndSubmitTransaction:this.signAndSubmitTransaction.bind(this),version:"1.1.0"},[N.AptosSignInNamespace]:{signIn:this.signIn.bind(this),version:"0.1.0"},[N.AptosSignMessageNamespace]:{signMessage:this.signMessage.bind(this),version:"1.0.0"},[N.AptosSignTransactionNamespace]:{signTransaction:this.signTransaction.bind(this),version:"1.1"}}}};function _(e={}){let t=new x(e),r=new R(e);(0,p.registerWallet)(t),(0,p.registerWallet)(r)}})),Gce=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isSimpleTransaction=function(e){return"rawTransaction"in e},e.isTransactionPayload=function(e){return"type"in e&&"string"==typeof e.type},e.isInputTransaction=function(e){return"object"==typeof e&&null!==e&&"data"in e&&"object"==typeof e.data&&("function"in e.data||"code"in e.data||"modules"in e.data)},e.convertTransactionPayloadToInputGenerateData=function(e){if(e.function)return{function:e.function,typeArguments:e.type_arguments||[],functionArguments:e.arguments||[]};if(e.code)return{bytecode:e.code.bytecode,typeArguments:e.type_arguments||[],functionArguments:e.arguments||[]}},e.supportTransactionAppVersion=function(e){return e.wallet.appName===r.OKXWalletName&&(0,r.versionCompare)(e.wallet.appVersion,"6.124.0")>=0},e.getTransactionIsComplete=function(e){let{feePayerAddress:t,secondarySignerAddresses:r}=e||{};return!(!t&&!r)},e.deserializeAccountAuthenticatorFromHexString=function(e){let r=t.Hex.fromHexString(e).toUint8Array(),n=new t.Deserializer(r);return t.AccountAuthenticator.deserialize(n)};var t=Nr(),r=ho()})),Xce=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.AptosUtils=void 0;var t=Nr(),r=kGe(),n=Gce();e.AptosUtils=class{static getTransaction(e){if("rawTransaction"in e){let t=e.rawTransaction.payload;if("entryFunction"in t){let e=t.entryFunction,r=e.type_args.map((e=>e.toString())),n=[];this.getTypeArguments(e.args,n);let i={type:"entry_function_payload",function:`${e.module_name.address.data?e.module_name.address.toString():e.module_name.address}::${e.module_name.name.identifier?e.module_name.name.identifier:e.module_name.name}::${e.function_name.identifier?e.function_name.identifier:e.function_name}`,type_arguments:r,arguments:n};return this.getArguments(i)}if("script"in t){let e=t.script;return{type:"script_payload",code:{bytecode:e.bytecode},type_arguments:e.type_args.map((e=>e.toString())),arguments:e.args}}}return e}static getTypeArguments(e,t){for(let r=0;r<e.length;r++){let n=e[r];if("values"in n&&null!=n.values&&n.values instanceof Array){let e=new Array;t.push(e),this.getTypeArguments(n.values,e)}else this.dealArrayElements(n,t)}}static dealArrayElements(e,t){if(!("value"in e)||null==e.value)return"data"in e&&null!=e.data&&(e.data,Uint8Array),t.push(e.toString());t.push(e.value.toString())}static getArguments(e){if("arguments"in e){let t=e.arguments;if(Array.isArray(t)){let r=new Array;t.forEach((e=>{if(e instanceof Uint8Array){let t=new Array;e.forEach((e=>{t.push(e)})),r.push(t)}else r.push(e)})),e={...e,arguments:r}}}return e}static transactionToV11Transaction(e){return"payload"in e?e:(0,n.isTransactionPayload)(e)?{payload:(0,n.convertTransactionPayloadToInputGenerateData)(e)}:(0,n.isInputTransaction)(e)?{payload:e.data}:e}static async payloadToRawTransaction(e,r){let i=new t.AptosConfig({network:t.Network.MAINNET}),o=new t.Aptos(i);if((0,n.isTransactionPayload)(r)){let t=(0,n.convertTransactionPayloadToInputGenerateData)(r);return await o.transaction.build.simple({sender:e,data:t})}if((0,n.isInputTransaction)(r))return await o.transaction.build.simple({sender:e,data:r.data,options:r.options})}static setupRegisterAptosConnectListener(){typeof window>"u"||window.addEventListener("okxConnect:aptos:registerConnect",(async()=>{(0,r.registerAptosConnect)()}))}}})),NGe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAptosProvider=void 0;var t=Go(),r=Xce(),n=ho(),i=Gce(),o=class{constructor(e){this.chainsSet=new Set,this.provider=e,this.getConnectedNamespace()}get defaultNetwork(){return this.provider.requestDefaultChainWithNamespace(n.NameSpaceKeyAptos)}get currentChainId(){return`aptos:${this.defaultNetwork}`}getRealChainId(e){if(null==e){if(1==this.chainsSet.size)return this.currentChainId;throw new Error("connected to multiple aptos chains,chainId can not be null")}return e}getConnectedNamespace(){this.provider.session?.namespaces?.aptos?.chains.forEach((e=>{this.chainsSet.add(e)}))}getAccount(e){e=this.getRealChainId(e);let t=this.provider.session?.namespaces.aptos?.accounts[0];if(null!=e&&(t=this.provider.session?.namespaces.aptos?.accounts.filter((function(t){return t.startsWith(e)}))[0]),(0,n.logDebug)("getAccount",t),!t)return;let r=t.split(":"),i=t.split(":")[2];console.log("aptos_publicKey",this.provider.session?.namespaces.aptos?.extra);let o=this.provider.session?.namespaces.aptos?.extra?.[`${r[0]}:${r[1]}`],s="";return null!=o&&(s=o.publicKey,null!=s&&s.startsWith("0x")&&(s=s.substring(2))),i?{address:i,publicKey:s}:void 0}async signMessage(e,r){let i=this.getRealChainId(r);try{let r="APTOS",n=this.getAccount(i)?.address,s="",a="";var o=r;let c=window.location.protocol+"//"+window.location.hostname;if("address"in e&&e.address&&(o+="\naddress: "+n),"application"in e&&e.application&&(o+="\napplication: "+c),"chainId"in e&&e.chainId){let e=1;"aptos:mainnet"==i?e=1:"movement:testnet"==i&&(e=2),o+="\nchainId: "+e}"message"in e&&(o+="\nmessage: "+e.message,s=e.message),"nonce"in e&&(o+="\nnonce: "+e.nonce,a=e.nonce),console.log("signMessage",o);let u=t.Buffer.from(o),l=this.bufferToHex(u),d={chainId:i,method:"aptos_signMessage",params:{message:l},injectParams:e},h=await this.provider.request(d,i);if("injectResult"in h){let e=h.injectResult;return new Promise(((t,r)=>{t(e)}))}if("result"in h){let e=h.result,t=e;return e.startsWith("0x")&&(t=e.slice(2,e.length)),new Promise(((e,u)=>{e({address:n,application:c,chainId:i,fullMessage:o,message:s,nonce:a,prefix:r,signature:t})}))}return new Promise(((e,t)=>{"error"in h&&e(h.error)}))}catch(e){return(0,n.logDebug)("signMessage error ",e),Promise.reject(e)}}async signTransaction(e,t){let o=r.AptosUtils.getTransaction(e);console.log("signTransaction",o);let s=this.getRealChainId(t);if("aptos:mainnet"==this.getRealChainId(t)&&"rawTransaction"in e&&(0,i.supportTransactionAppVersion)(this.provider.session)){let t=void 0===e.secondarySignerAddresses;o={payload:e.toString(),dataType:"raw_transaction",isSimpleTransaction:t}}try{let t=await this.provider.request({method:"aptos_signTransaction",params:o,injectParams:e},s);if("injectResult"in t){let e=t.injectResult;return Promise.resolve(e)}if("result"in t&&"string"==typeof t.result){let{accAuthenticator:e}=JSON.parse(t.result),r=(0,i.deserializeAccountAuthenticatorFromHexString)(e);return(0,n.logDebug)("accountAuthenticator",JSON.stringify(r)),Promise.resolve(r)}return Promise.resolve(t)}catch(e){return(0,n.logDebug)("getSignedTransaction",e),Promise.reject(e)}}async signAndSubmitTransaction(e,t){let o,s,a=r.AptosUtils.getTransaction(e),c=this.getRealChainId(t);if("aptos:mainnet"==c){if("rawTransaction"in e)o=e,s=r.AptosUtils.transactionToV11Transaction(a);else{let t=this.getAccount(c)?.address;o=await r.AptosUtils.payloadToRawTransaction(t,e),s=r.AptosUtils.transactionToV11Transaction(e)}if(o&&(0,i.supportTransactionAppVersion)(this.provider.session)){let e=void 0===o.secondarySignerAddresses;a={payload:o.toString(),dataType:"raw_transaction",isSimpleTransaction:e}}}console.log("signAndSubmitTransaction",a);let u=this.getRealChainId(t);try{let e=await this.provider.request({method:"aptos_signAndSubmitTransaction",params:a,injectParams:{standardV1Transaction:o,standardV11Transaction:s}},u);if("result"in e){let t=e.result;return new Promise(((e,r)=>{e(t)}))}return new Promise(((t,r)=>{r(e)}))}catch(e){return(0,n.logDebug)("getSignedTransaction",e),new Promise(((t,r)=>{t(e)}))}}bufferToHex(e){return"0x"+t.Buffer.from(e).toString("hex")}};e.OKXAptosProvider=o,e.default=o})),DGe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXAptosProvider=void 0;var t=Xce(),r=NGe();Object.defineProperty(e,"OKXAptosProvider",{enumerable:!0,get:function(){return r.OKXAptosProvider}}),t.AptosUtils.setupRegisterAptosConnectListener()})),m$e=W(((e,t)=>{"use strict";m();var r=vn().Buffer;t.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),n=0;n<t.length;n++)t[n]=255;for(var i=0;i<e.length;i++){var o=e.charAt(i),s=o.charCodeAt(0);if(255!==t[s])throw new TypeError(o+" is ambiguous");t[s]=i}var a=e.length,c=e.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function d(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return r.alloc(0);for(var n=0,i=0,o=0;e[n]===c;)i++,n++;for(var s=(e.length-n)*u+1>>>0,l=new Uint8Array(s);n<e.length;){var d=t[e.charCodeAt(n)];if(255===d)return;for(var h=0,f=s-1;(0!==d||h<o)&&-1!==f;f--,h++)d+=a*l[f]>>>0,l[f]=d%256>>>0,d=d/256>>>0;if(0!==d)throw new Error("Non-zero carry");o=h,n++}for(var p=s-o;p!==s&&0===l[p];)p++;var g=r.allocUnsafe(i+(s-p));g.fill(0,0,i);for(var y=i;p!==s;)g[y++]=l[p++];return g}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=r.from(t)),!r.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var n=0,i=0,o=0,s=t.length;o!==s&&0===t[o];)o++,n++;for(var u=(s-o)*l+1>>>0,d=new Uint8Array(u);o!==s;){for(var h=t[o],f=0,p=u-1;(0!==h||f<i)&&-1!==p;p--,f++)h+=256*d[p]>>>0,d[p]=h%a>>>0,h=h/a>>>0;if(0!==h)throw new Error("Non-zero carry");i=f,o++}for(var g=u-i;g!==u&&0===d[g];)g++;for(var y=c.repeat(n);g<u;++g)y+=e.charAt(d[g]);return y},decodeUnsafe:d,decode:function(e){var t=d(e);if(t)return t;throw new Error("Non-base"+a+" character")}}}})),v$e=W(((e,t)=>{m();var r=m$e();t.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")})),x$e=W(((e,t)=>{"use strict";m();var r=vn().Buffer;t.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),n=0;n<t.length;n++)t[n]=255;for(var i=0;i<e.length;i++){var o=e.charAt(i),s=o.charCodeAt(0);if(255!==t[s])throw new TypeError(o+" is ambiguous");t[s]=i}var a=e.length,c=e.charAt(0),u=Math.log(a)/Math.log(256),l=Math.log(256)/Math.log(a);function d(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return r.alloc(0);for(var n=0,i=0,o=0;e[n]===c;)i++,n++;for(var s=(e.length-n)*u+1>>>0,l=new Uint8Array(s);n<e.length;){var d=t[e.charCodeAt(n)];if(255===d)return;for(var h=0,f=s-1;(0!==d||h<o)&&-1!==f;f--,h++)d+=a*l[f]>>>0,l[f]=d%256>>>0,d=d/256>>>0;if(0!==d)throw new Error("Non-zero carry");o=h,n++}for(var p=s-o;p!==s&&0===l[p];)p++;var g=r.allocUnsafe(i+(s-p));g.fill(0,0,i);for(var y=i;p!==s;)g[y++]=l[p++];return g}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=r.from(t)),!r.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var n=0,i=0,o=0,s=t.length;o!==s&&0===t[o];)o++,n++;for(var u=(s-o)*l+1>>>0,d=new Uint8Array(u);o!==s;){for(var h=t[o],f=0,p=u-1;(0!==h||f<i)&&-1!==p;p--,f++)h+=256*d[p]>>>0,d[p]=h%a>>>0,h=h/a>>>0;if(0!==h)throw new Error("Non-zero carry");i=f,o++}for(var g=u-i;g!==u&&0===d[g];)g++;for(var y=c.repeat(n);g<u;++g)y+=e.charAt(d[g]);return y},decodeUnsafe:d,decode:function(e){var t=d(e);if(t)return t;throw new Error("Non-base"+a+" character")}}}})),E$e=W(((e,t)=>{m();var r=x$e();t.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")})),T$e=W((e=>{"use strict";function t(e,t,r){return t<=e&&e<=r}function r(e){if(void 0===e)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}m();function n(e){this.tokens=[].slice.call(e)}n.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():-1},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.pop());else this.tokens.unshift(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.shift());else this.tokens.push(e)}};var i=-1;function o(e,t){if(e)throw TypeError("Decoder error");return t||65533}var s="utf-8";function a(e,t){if(!(this instanceof a))return new a(e,t);if((e=void 0!==e?String(e).toLowerCase():s)!==s)throw new Error("Encoding not supported. Only utf-8 is supported");t=r(t),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!t.fatal,this._ignoreBOM=!!t.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}function c(e,t){if(!(this instanceof c))return new c(e,t);if((e=void 0!==e?String(e).toLowerCase():s)!==s)throw new Error("Encoding not supported. Only utf-8 is supported");t=r(t),this._streaming=!1,this._encoder=null,this._options={fatal:!!t.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}function u(e){var r=e.fatal,n=0,s=0,a=0,c=128,u=191;this.handler=function(e,l){if(-1===l&&0!==a)return a=0,o(r);if(-1===l)return i;if(0===a){if(t(l,0,127))return l;if(t(l,194,223))a=1,n=l-192;else if(t(l,224,239))224===l&&(c=160),237===l&&(u=159),a=2,n=l-224;else{if(!t(l,240,244))return o(r);240===l&&(c=144),244===l&&(u=143),a=3,n=l-240}return n<<=6*a,null}if(!t(l,c,u))return n=a=s=0,c=128,u=191,e.prepend(l),o(r);if(c=128,u=191,n+=l-128<<6*(a-(s+=1)),s!==a)return null;var d=n;return n=a=s=0,d}}function l(e){e.fatal;this.handler=function(e,r){if(-1===r)return i;if(t(r,0,127))return r;var n,o;t(r,128,2047)?(n=1,o=192):t(r,2048,65535)?(n=2,o=224):t(r,65536,1114111)&&(n=3,o=240);for(var s=[(r>>6*n)+o];n>0;){var a=r>>6*(n-1);s.push(128|63&a),n-=1}return s}}a.prototype={decode:function(e,t){var o;o="object"==typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"==typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=r(t),this._streaming||(this._decoder=new u({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!t.stream;for(var s,a=new n(o),c=[];!a.endOfStream()&&(s=this._decoder.handler(a,a.read()))!==i;)null!==s&&(Array.isArray(s)?c.push.apply(c,s):c.push(s));if(!this._streaming){do{if((s=this._decoder.handler(a,a.read()))===i)break;null!==s&&(Array.isArray(s)?c.push.apply(c,s):c.push(s))}while(!a.endOfStream());this._decoder=null}return c.length&&-1!==["utf-8"].indexOf(this.encoding)&&!this._ignoreBOM&&!this._BOMseen&&(65279===c[0]?(this._BOMseen=!0,c.shift()):this._BOMseen=!0),function(e){for(var t="",r=0;r<e.length;++r){var n=e[r];n<=65535?t+=String.fromCharCode(n):(n-=65536,t+=String.fromCharCode(55296+(n>>10),56320+(1023&n)))}return t}(c)}},c.prototype={encode:function(e,t){e=e?String(e):"",t=r(t),this._streaming||(this._encoder=new l(this._options)),this._streaming=!!t.stream;for(var o,s=[],a=new n(function(e){for(var t=String(e),r=t.length,n=0,i=[];n<r;){var o=t.charCodeAt(n);if(o<55296||o>57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(n===r-1)i.push(65533);else{var s=e.charCodeAt(n+1);if(56320<=s&&s<=57343){var a=1023&o,c=1023&s;i.push(65536+(a<<10)+c),n+=1}else i.push(65533)}n+=1}return i}(e));!a.endOfStream()&&(o=this._encoder.handler(a,a.read()))!==i;)Array.isArray(o)?s.push.apply(s,o):s.push(o);if(!this._streaming){for(;(o=this._encoder.handler(a,a.read()))!==i;)Array.isArray(o)?s.push.apply(s,o):s.push(o);this._encoder=null}return new Uint8Array(s)}},e.TextEncoder=c,e.TextDecoder=a})),P$e=W((e=>{"use strict";m();var t=e&&e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=e&&e.__decorate||function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},o=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.deserializeUnchecked=e.deserialize=e.serialize=e.BinaryReader=e.BinaryWriter=e.BorshError=e.baseDecode=e.baseEncode=void 0;var s=o(sS()),a=o(E$e()),c=i(T$e()),u=new("function"!=typeof TextDecoder?c.TextDecoder:TextDecoder)("utf-8",{fatal:!0});e.baseEncode=function(e){return"string"==typeof e&&(e=P.Buffer.from(e,"utf8")),a.default.encode(P.Buffer.from(e))},e.baseDecode=function(e){return P.Buffer.from(a.default.decode(e))};var l=1024,d=class extends Error{constructor(e){super(e),this.fieldPath=[],this.originalMessage=e}addToFieldPath(e){this.fieldPath.splice(0,0,e),this.message=this.originalMessage+": "+this.fieldPath.join(".")}};e.BorshError=d;var h=class{constructor(){this.buf=P.Buffer.alloc(l),this.length=0}maybeResize(){this.buf.length<16+this.length&&(this.buf=P.Buffer.concat([this.buf,P.Buffer.alloc(l)]))}writeU8(e){this.maybeResize(),this.buf.writeUInt8(e,this.length),this.length+=1}writeU16(e){this.maybeResize(),this.buf.writeUInt16LE(e,this.length),this.length+=2}writeU32(e){this.maybeResize(),this.buf.writeUInt32LE(e,this.length),this.length+=4}writeU64(e){this.maybeResize(),this.writeBuffer(P.Buffer.from(new s.default(e).toArray("le",8)))}writeU128(e){this.maybeResize(),this.writeBuffer(P.Buffer.from(new s.default(e).toArray("le",16)))}writeU256(e){this.maybeResize(),this.writeBuffer(P.Buffer.from(new s.default(e).toArray("le",32)))}writeU512(e){this.maybeResize(),this.writeBuffer(P.Buffer.from(new s.default(e).toArray("le",64)))}writeBuffer(e){this.buf=P.Buffer.concat([P.Buffer.from(this.buf.subarray(0,this.length)),e,P.Buffer.alloc(l)]),this.length+=e.length}writeString(e){this.maybeResize();let t=P.Buffer.from(e,"utf8");this.writeU32(t.length),this.writeBuffer(t)}writeFixedArray(e){this.writeBuffer(P.Buffer.from(e))}writeArray(e,t){this.maybeResize(),this.writeU32(e.length);for(let r of e)this.maybeResize(),t(r)}toArray(){return this.buf.subarray(0,this.length)}};function f(e,t,r){let n=r.value;r.value=function(...e){try{return n.apply(this,e)}catch(e){if(e instanceof RangeError){let t=e.code;if(["ERR_BUFFER_OUT_OF_BOUNDS","ERR_OUT_OF_RANGE"].indexOf(t)>=0)throw new d("Reached the end of buffer when deserializing")}throw e}}}e.BinaryWriter=h;var p=class{constructor(e){this.buf=e,this.offset=0}readU8(){let e=this.buf.readUInt8(this.offset);return this.offset+=1,e}readU16(){let e=this.buf.readUInt16LE(this.offset);return this.offset+=2,e}readU32(){let e=this.buf.readUInt32LE(this.offset);return this.offset+=4,e}readU64(){let e=this.readBuffer(8);return new s.default(e,"le")}readU128(){let e=this.readBuffer(16);return new s.default(e,"le")}readU256(){let e=this.readBuffer(32);return new s.default(e,"le")}readU512(){let e=this.readBuffer(64);return new s.default(e,"le")}readBuffer(e){if(this.offset+e>this.buf.length)throw new d(`Expected buffer length ${e} isn't within bounds`);let t=this.buf.slice(this.offset,this.offset+e);return this.offset+=e,t}readString(){let e=this.readU32(),t=this.readBuffer(e);try{return u.decode(t)}catch(e){throw new d(`Error decoding UTF-8 string: ${e}`)}}readFixedArray(e){return new Uint8Array(this.readBuffer(e))}readArray(e){let t=this.readU32(),r=Array();for(let n=0;n<t;++n)r.push(e());return r}};function g(e){return e.charAt(0).toUpperCase()+e.slice(1)}function y(e,t,r,n,i){try{if("string"==typeof n)i[`write${g(n)}`](r);else if(n instanceof Array)if("number"==typeof n[0]){if(r.length!==n[0])throw new d(`Expecting byte array of length ${n[0]}, but got ${r.length} bytes`);i.writeFixedArray(r)}else if(2===n.length&&"number"==typeof n[1]){if(r.length!==n[1])throw new d(`Expecting byte array of length ${n[1]}, but got ${r.length} bytes`);for(let t=0;t<n[1];t++)y(e,null,r[t],n[0],i)}else i.writeArray(r,(r=>{y(e,t,r,n[0],i)}));else if(void 0!==n.kind)switch(n.kind){case"option":null==r?i.writeU8(0):(i.writeU8(1),y(e,t,r,n.type,i));break;case"map":i.writeU32(r.size),r.forEach(((r,o)=>{y(e,t,o,n.key,i),y(e,t,r,n.value,i)}));break;default:throw new d(`FieldType ${n} unrecognized`)}else b(e,r,i)}catch(e){throw e instanceof d&&e.addToFieldPath(t),e}}function b(e,t,r){if("function"==typeof t.borshSerialize)return void t.borshSerialize(r);let n=e.get(t.constructor);if(!n)throw new d(`Class ${t.constructor.name} is missing in schema`);if("struct"===n.kind)n.fields.map((([n,i])=>{y(e,n,t[n],i,r)}));else{if("enum"!==n.kind)throw new d(`Unexpected schema kind: ${n.kind} for ${t.constructor.name}`);{let i=t[n.field];for(let o=0;o<n.values.length;++o){let[s,a]=n.values[o];if(s===i){r.writeU8(o),y(e,s,t[s],a,r);break}}}}}function w(e,t,r,n){try{if("string"==typeof r)return n[`read${g(r)}`]();if(r instanceof Array){if("number"==typeof r[0])return n.readFixedArray(r[0]);if("number"==typeof r[1]){let t=[];for(let i=0;i<r[1];i++)t.push(w(e,null,r[0],n));return t}return n.readArray((()=>w(e,t,r[0],n)))}if("option"===r.kind)return n.readU8()?w(e,t,r.type,n):void 0;if("map"===r.kind){let i=new Map,o=n.readU32();for(let s=0;s<o;s++){let o=w(e,t,r.key,n),s=w(e,t,r.value,n);i.set(o,s)}return i}return v(e,r,n)}catch(e){throw e instanceof d&&e.addToFieldPath(t),e}}function v(e,t,r){if("function"==typeof t.borshDeserialize)return t.borshDeserialize(r);let n=e.get(t);if(!n)throw new d(`Class ${t.name} is missing in schema`);if("struct"===n.kind){let n={};for(let[i,o]of e.get(t).fields)n[i]=w(e,i,o,r);return new t(n)}if("enum"===n.kind){let i=r.readU8();if(i>=n.values.length)throw new d(`Enum index: ${i} is out of range`);let[o,s]=n.values[i],a=w(e,o,s,r);return new t({[o]:a})}throw new d(`Unexpected schema kind: ${n.kind} for ${t.constructor.name}`)}n([f],p.prototype,"readU8",null),n([f],p.prototype,"readU16",null),n([f],p.prototype,"readU32",null),n([f],p.prototype,"readU64",null),n([f],p.prototype,"readU128",null),n([f],p.prototype,"readU256",null),n([f],p.prototype,"readU512",null),n([f],p.prototype,"readString",null),n([f],p.prototype,"readFixedArray",null),n([f],p.prototype,"readArray",null),e.BinaryReader=p,e.serialize=function(e,t,r=h){let n=new r;return b(e,t,n),n.toArray()},e.deserialize=function(e,t,r,n=p){let i=new n(r),o=v(e,t,i);if(i.offset<r.length)throw new d(`Unexpected ${r.length-i.offset} bytes after deserialized data`);return o},e.deserializeUnchecked=function(e,t,r,n=p){return v(e,t,new n(r))}})),B$e=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.s16=e.s8=e.nu64be=e.u48be=e.u40be=e.u32be=e.u24be=e.u16be=e.nu64=e.u48=e.u40=e.u32=e.u24=e.u16=e.u8=e.offset=e.greedy=e.Constant=e.UTF8=e.CString=e.Blob=e.Boolean=e.BitField=e.BitStructure=e.VariantLayout=e.Union=e.UnionLayoutDiscriminator=e.UnionDiscriminator=e.Structure=e.Sequence=e.DoubleBE=e.Double=e.FloatBE=e.Float=e.NearInt64BE=e.NearInt64=e.NearUInt64BE=e.NearUInt64=e.IntBE=e.Int=e.UIntBE=e.UInt=e.OffsetLayout=e.GreedyCount=e.ExternalLayout=e.bindConstructorLayout=e.nameWithProperty=e.Layout=e.uint8ArrayToBuffer=e.checkUint8Array=void 0,e.constant=e.utf8=e.cstr=e.blob=e.unionLayoutDiscriminator=e.union=e.seq=e.bits=e.struct=e.f64be=e.f64=e.f32be=e.f32=e.ns64be=e.s48be=e.s40be=e.s32be=e.s24be=e.s16be=e.ns64=e.s48=e.s40=e.s32=e.s24=void 0;var t=Go();function r(e){if(!(e instanceof Uint8Array))throw new TypeError("b must be a Uint8Array")}function n(e){return r(e),t.Buffer.from(e.buffer,e.byteOffset,e.length)}e.checkUint8Array=r,e.uint8ArrayToBuffer=n;var i=class{constructor(e,t){if(!Number.isInteger(e))throw new TypeError("span must be an integer");this.span=e,this.property=t}makeDestinationObject(){return{}}getSpan(e,t){if(0>this.span)throw new RangeError("indeterminate span");return this.span}replicate(e){let t=Object.create(this.constructor.prototype);return Object.assign(t,this),t.property=e,t}fromArray(e){}};function o(e,t){return t.property?e+"["+t.property+"]":e}e.Layout=i,e.nameWithProperty=o,e.bindConstructorLayout=function(e,t){if("function"!=typeof e)throw new TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(e,"layout_"))throw new Error("Class is already bound to a layout");if(!(t&&t instanceof i))throw new TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(t,"boundConstructor_"))throw new Error("layout is already bound to a constructor");e.layout_=t,t.boundConstructor_=e,t.makeDestinationObject=()=>new e,Object.defineProperty(e.prototype,"encode",{value(e,r){return t.encode(this,e,r)},writable:!0}),Object.defineProperty(e,"decode",{value:(e,r)=>t.decode(e,r),writable:!0})};var s=class extends i{isCount(){throw new Error("ExternalLayout is abstract")}};e.ExternalLayout=s;var a=class extends s{constructor(e=1,t){if(!Number.isInteger(e)||0>=e)throw new TypeError("elementSpan must be a (positive) integer");super(-1,t),this.elementSpan=e}isCount(){return!0}decode(e,t=0){r(e);let n=e.length-t;return Math.floor(n/this.elementSpan)}encode(e,t,r){return 0}};e.GreedyCount=a;var c=class extends s{constructor(e,t=0,r){if(!(e instanceof i))throw new TypeError("layout must be a Layout");if(!Number.isInteger(t))throw new TypeError("offset must be integer or undefined");super(e.span,r||e.property),this.layout=e,this.offset=t}isCount(){return this.layout instanceof u||this.layout instanceof l}decode(e,t=0){return this.layout.decode(e,t+this.offset)}encode(e,t,r=0){return this.layout.encode(e,t,r+this.offset)}};e.OffsetLayout=c;var u=class extends i{constructor(e,t){if(super(e,t),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(e,t=0){return n(e).readUIntLE(t,this.span)}encode(e,t,r=0){return n(t).writeUIntLE(e,r,this.span),this.span}};e.UInt=u;var l=class extends i{constructor(e,t){if(super(e,t),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(e,t=0){return n(e).readUIntBE(t,this.span)}encode(e,t,r=0){return n(t).writeUIntBE(e,r,this.span),this.span}};e.UIntBE=l;var d=class extends i{constructor(e,t){if(super(e,t),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(e,t=0){return n(e).readIntLE(t,this.span)}encode(e,t,r=0){return n(t).writeIntLE(e,r,this.span),this.span}};e.Int=d;var h=class extends i{constructor(e,t){if(super(e,t),6<this.span)throw new RangeError("span must not exceed 6 bytes")}decode(e,t=0){return n(e).readIntBE(t,this.span)}encode(e,t,r=0){return n(t).writeIntBE(e,r,this.span),this.span}};e.IntBE=h;var f=Math.pow(2,32);function p(e){let t=Math.floor(e/f);return{hi32:t,lo32:e-t*f}}function g(e,t){return e*f+t}var y=class extends i{constructor(e){super(8,e)}decode(e,t=0){let r=n(e),i=r.readUInt32LE(t);return g(r.readUInt32LE(t+4),i)}encode(e,t,r=0){let i=p(e),o=n(t);return o.writeUInt32LE(i.lo32,r),o.writeUInt32LE(i.hi32,r+4),8}};e.NearUInt64=y;var b=class extends i{constructor(e){super(8,e)}decode(e,t=0){let r=n(e);return g(r.readUInt32BE(t),r.readUInt32BE(t+4))}encode(e,t,r=0){let i=p(e),o=n(t);return o.writeUInt32BE(i.hi32,r),o.writeUInt32BE(i.lo32,r+4),8}};e.NearUInt64BE=b;var w=class extends i{constructor(e){super(8,e)}decode(e,t=0){let r=n(e),i=r.readUInt32LE(t);return g(r.readInt32LE(t+4),i)}encode(e,t,r=0){let i=p(e),o=n(t);return o.writeUInt32LE(i.lo32,r),o.writeInt32LE(i.hi32,r+4),8}};e.NearInt64=w;var v=class extends i{constructor(e){super(8,e)}decode(e,t=0){let r=n(e);return g(r.readInt32BE(t),r.readUInt32BE(t+4))}encode(e,t,r=0){let i=p(e),o=n(t);return o.writeInt32BE(i.hi32,r),o.writeUInt32BE(i.lo32,r+4),8}};e.NearInt64BE=v;var A=class extends i{constructor(e){super(4,e)}decode(e,t=0){return n(e).readFloatLE(t)}encode(e,t,r=0){return n(t).writeFloatLE(e,r),4}};e.Float=A;var E=class extends i{constructor(e){super(4,e)}decode(e,t=0){return n(e).readFloatBE(t)}encode(e,t,r=0){return n(t).writeFloatBE(e,r),4}};e.FloatBE=E;var T=class extends i{constructor(e){super(8,e)}decode(e,t=0){return n(e).readDoubleLE(t)}encode(e,t,r=0){return n(t).writeDoubleLE(e,r),8}};e.Double=T;var C=class extends i{constructor(e){super(8,e)}decode(e,t=0){return n(e).readDoubleBE(t)}encode(e,t,r=0){return n(t).writeDoubleBE(e,r),8}};e.DoubleBE=C;var S=class extends i{constructor(e,t,r){if(!(e instanceof i))throw new TypeError("elementLayout must be a Layout");if(!(t instanceof s&&t.isCount()||Number.isInteger(t)&&0<=t))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");let n=-1;!(t instanceof s)&&0<e.span&&(n=t*e.span),super(n,r),this.elementLayout=e,this.count=t}getSpan(e,t=0){if(0<=this.span)return this.span;let r=0,n=this.count;if(n instanceof s&&(n=n.decode(e,t)),0<this.elementLayout.span)r=n*this.elementLayout.span;else{let i=0;for(;i<n;)r+=this.elementLayout.getSpan(e,t+r),++i}return r}decode(e,t=0){let r=[],n=0,i=this.count;for(i instanceof s&&(i=i.decode(e,t));n<i;)r.push(this.elementLayout.decode(e,t)),t+=this.elementLayout.getSpan(e,t),n+=1;return r}encode(e,t,r=0){let n=this.elementLayout,i=e.reduce(((e,i)=>e+n.encode(i,t,r+e)),0);return this.count instanceof s&&this.count.encode(e.length,t,r),i}};e.Sequence=S;var I=class extends i{constructor(e,t,r){if(!Array.isArray(e)||!e.reduce(((e,t)=>e&&t instanceof i),!0))throw new TypeError("fields must be array of Layout instances");"boolean"==typeof t&&void 0===r&&(r=t,t=void 0);for(let t of e)if(0>t.span&&void 0===t.property)throw new Error("fields cannot contain unnamed variable-length layout");let n=-1;try{n=e.reduce(((e,t)=>e+t.getSpan()),0)}catch{}super(n,t),this.fields=e,this.decodePrefixes=!!r}getSpan(e,t=0){if(0<=this.span)return this.span;let r=0;try{r=this.fields.reduce(((r,n)=>{let i=n.getSpan(e,t);return t+=i,r+i}),0)}catch{throw new RangeError("indeterminate span")}return r}decode(e,t=0){r(e);let n=this.makeDestinationObject();for(let r of this.fields)if(void 0!==r.property&&(n[r.property]=r.decode(e,t)),t+=r.getSpan(e,t),this.decodePrefixes&&e.length===t)break;return n}encode(e,t,r=0){let n=r,i=0,o=0;for(let n of this.fields){let s=n.span;if(o=0<s?s:0,void 0!==n.property){let i=e[n.property];void 0!==i&&(o=n.encode(i,t,r),0>s&&(s=n.getSpan(t,r)))}i=r,r+=s}return i+o-n}fromArray(e){let t=this.makeDestinationObject();for(let r of this.fields)void 0!==r.property&&0<e.length&&(t[r.property]=e.shift());return t}layoutFor(e){if("string"!=typeof e)throw new TypeError("property must be string");for(let t of this.fields)if(t.property===e)return t}offsetOf(e){if("string"!=typeof e)throw new TypeError("property must be string");let t=0;for(let r of this.fields){if(r.property===e)return t;0>r.span?t=-1:0<=t&&(t+=r.span)}}};e.Structure=I;var O=class{constructor(e){this.property=e}decode(e,t){throw new Error("UnionDiscriminator is abstract")}encode(e,t,r){throw new Error("UnionDiscriminator is abstract")}};e.UnionDiscriminator=O;var M=class extends O{constructor(e,t){if(!(e instanceof s&&e.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");super(t||e.property||"variant"),this.layout=e}decode(e,t){return this.layout.decode(e,t)}encode(e,t,r){return this.layout.encode(e,t,r)}};e.UnionLayoutDiscriminator=M;var P=class extends i{constructor(e,t,r){let n;if(e instanceof u||e instanceof l)n=new M(new c(e));else if(e instanceof s&&e.isCount())n=new M(e);else{if(!(e instanceof O))throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");n=e}if(void 0===t&&(t=null),!(null===t||t instanceof i))throw new TypeError("defaultLayout must be null or a Layout");if(null!==t){if(0>t.span)throw new Error("defaultLayout must have constant span");void 0===t.property&&(t=t.replicate("content"))}let o=-1;t&&(o=t.span,0<=o&&(e instanceof u||e instanceof l)&&(o+=n.layout.span)),super(o,r),this.discriminator=n,this.usesPrefixDiscriminator=e instanceof u||e instanceof l,this.defaultLayout=t,this.registry={};let a=this.defaultGetSourceVariant.bind(this);this.getSourceVariant=function(e){return a(e)},this.configGetSourceVariant=function(e){a=e.bind(this)}}getSpan(e,t=0){if(0<=this.span)return this.span;let r=this.getVariant(e,t);if(!r)throw new Error("unable to determine span for unrecognized variant");return r.getSpan(e,t)}defaultGetSourceVariant(e){if(Object.prototype.hasOwnProperty.call(e,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(e,this.defaultLayout.property))return;let t=this.registry[e[this.discriminator.property]];if(t&&(!t.layout||t.property&&Object.prototype.hasOwnProperty.call(e,t.property)))return t}else for(let t in this.registry){let r=this.registry[t];if(r.property&&Object.prototype.hasOwnProperty.call(e,r.property))return r}throw new Error("unable to infer src variant")}decode(e,t=0){let r,n=this.discriminator,i=n.decode(e,t),o=this.registry[i];if(void 0===o){let o=this.defaultLayout,s=0;this.usesPrefixDiscriminator&&(s=n.layout.span),r=this.makeDestinationObject(),r[n.property]=i,r[o.property]=o.decode(e,t+s)}else r=o.decode(e,t);return r}encode(e,t,r=0){let n=this.getSourceVariant(e);if(void 0===n){let n=this.discriminator,i=this.defaultLayout,o=0;return this.usesPrefixDiscriminator&&(o=n.layout.span),n.encode(e[n.property],t,r),o+i.encode(e[i.property],t,r+o)}return n.encode(e,t,r)}addVariant(e,t,r){let n=new k(this,e,t,r);return this.registry[e]=n,n}getVariant(e,t=0){let r;return r=e instanceof Uint8Array?this.discriminator.decode(e,t):e,this.registry[r]}};e.Union=P;var k=class extends i{constructor(e,t,r,n){if(!(e instanceof P))throw new TypeError("union must be a Union");if(!Number.isInteger(t)||0>t)throw new TypeError("variant must be a (non-negative) integer");if("string"==typeof r&&void 0===n&&(n=r,r=null),r){if(!(r instanceof i))throw new TypeError("layout must be a Layout");if(null!==e.defaultLayout&&0<=r.span&&r.span>e.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if("string"!=typeof n)throw new TypeError("variant must have a String property")}let o=e.span;0>e.span&&(o=r?r.span:0,0<=o&&e.usesPrefixDiscriminator&&(o+=e.discriminator.layout.span)),super(o,n),this.union=e,this.variant=t,this.layout=r||null}getSpan(e,t=0){if(0<=this.span)return this.span;let r=0;this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span);let n=0;return this.layout&&(n=this.layout.getSpan(e,t+r)),r+n}decode(e,t=0){let r=this.makeDestinationObject();if(this!==this.union.getVariant(e,t))throw new Error("variant mismatch");let n=0;return this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),this.layout?r[this.property]=this.layout.decode(e,t+n):this.property?r[this.property]=!0:this.union.usesPrefixDiscriminator&&(r[this.union.discriminator.property]=this.variant),r}encode(e,t,r=0){let n=0;if(this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(e,this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,t,r);let i=n;if(this.layout&&(this.layout.encode(e[this.property],t,r+n),i+=this.layout.getSpan(t,r+n),0<=this.union.span&&i>this.union.span))throw new Error("encoded variant overruns containing union");return i}fromArray(e){if(this.layout)return this.layout.fromArray(e)}};function B(e){return 0>e&&(e+=4294967296),e}e.VariantLayout=k;var x=class extends i{constructor(e,t,r){if(!(e instanceof u||e instanceof l))throw new TypeError("word must be a UInt or UIntBE layout");if("string"==typeof t&&void 0===r&&(r=t,t=!1),4<e.span)throw new RangeError("word cannot exceed 32 bits");super(e.span,r),this.word=e,this.msb=!!t,this.fields=[];let n=0;this._packedSetValue=function(e){return n=B(e),this},this._packedGetValue=function(){return n}}decode(e,t=0){let r=this.makeDestinationObject(),n=this.word.decode(e,t);this._packedSetValue(n);for(let t of this.fields)void 0!==t.property&&(r[t.property]=t.decode(e));return r}encode(e,t,r=0){let n=this.word.decode(t,r);this._packedSetValue(n);for(let t of this.fields)if(void 0!==t.property){let r=e[t.property];void 0!==r&&t.encode(r)}return this.word.encode(this._packedGetValue(),t,r)}addField(e,t){let r=new N(this,e,t);return this.fields.push(r),r}addBoolean(e){let t=new R(this,e);return this.fields.push(t),t}fieldFor(e){if("string"!=typeof e)throw new TypeError("property must be string");for(let t of this.fields)if(t.property===e)return t}};e.BitStructure=x;var N=class{constructor(e,t,r){if(!(e instanceof x))throw new TypeError("container must be a BitStructure");if(!Number.isInteger(t)||0>=t)throw new TypeError("bits must be positive integer");let n=8*e.span,i=e.fields.reduce(((e,t)=>e+t.bits),0);if(t+i>n)throw new Error("bits too long for span remainder ("+(n-i)+" of "+n+" remain)");this.container=e,this.bits=t,this.valueMask=(1<<t)-1,32===t&&(this.valueMask=4294967295),this.start=i,this.container.msb&&(this.start=n-i-t),this.wordMask=B(this.valueMask<<this.start),this.property=r}decode(e,t){return B(this.container._packedGetValue()&this.wordMask)>>>this.start}encode(e){if("number"!=typeof e||!Number.isInteger(e)||e!==B(e&this.valueMask))throw new TypeError(o("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);let t=this.container._packedGetValue(),r=B(e<<this.start);this.container._packedSetValue(B(t&~this.wordMask)|r)}};e.BitField=N;var R=class extends N{constructor(e,t){super(e,1,t)}decode(e,t){return!!super.decode(e,t)}encode(e){"boolean"==typeof e&&(e=+e),super.encode(e)}};e.Boolean=R;var _=class extends i{constructor(e,t){if(!(e instanceof s&&e.isCount()||Number.isInteger(e)&&0<=e))throw new TypeError("length must be positive integer or an unsigned integer ExternalLayout");let r=-1;e instanceof s||(r=e),super(r,t),this.length=e}getSpan(e,t){let r=this.span;return 0>r&&(r=this.length.decode(e,t)),r}decode(e,t=0){let r=this.span;return 0>r&&(r=this.length.decode(e,t)),n(e).slice(t,t+r)}encode(e,t,r){let i=this.length;if(this.length instanceof s&&(i=e.length),!(e instanceof Uint8Array&&i===e.length))throw new TypeError(o("Blob.encode",this)+" requires (length "+i+") Uint8Array as src");if(r+i>t.length)throw new RangeError("encoding overruns Uint8Array");let a=n(e);return n(t).write(a.toString("hex"),r,i,"hex"),this.length instanceof s&&this.length.encode(i,t,r),i}};e.Blob=_;var U=class extends i{constructor(e){super(-1,e)}getSpan(e,t=0){r(e);let n=t;for(;n<e.length&&0!==e[n];)n+=1;return 1+n-t}decode(e,t=0){let r=this.getSpan(e,t);return n(e).slice(t,t+r-1).toString("utf-8")}encode(e,r,i=0){"string"!=typeof e&&(e=String(e));let o=t.Buffer.from(e,"utf8"),s=o.length;if(i+s>r.length)throw new RangeError("encoding overruns Buffer");let a=n(r);return o.copy(a,i),a[i+s]=0,s+1}};e.CString=U;var D=class extends i{constructor(e,t){if("string"==typeof e&&void 0===t&&(t=e,e=void 0),void 0===e)e=-1;else if(!Number.isInteger(e))throw new TypeError("maxSpan must be an integer");super(-1,t),this.maxSpan=e}getSpan(e,t=0){return r(e),e.length-t}decode(e,t=0){let r=this.getSpan(e,t);if(0<=this.maxSpan&&this.maxSpan<r)throw new RangeError("text length exceeds maxSpan");return n(e).slice(t,t+r).toString("utf-8")}encode(e,r,i=0){"string"!=typeof e&&(e=String(e));let o=t.Buffer.from(e,"utf8"),s=o.length;if(0<=this.maxSpan&&this.maxSpan<s)throw new RangeError("text length exceeds maxSpan");if(i+s>r.length)throw new RangeError("encoding overruns Buffer");return o.copy(n(r),i),s}};e.UTF8=D;var W=class extends i{constructor(e,t){super(0,t),this.value=e}decode(e,t){return this.value}encode(e,t,r){return 0}};e.Constant=W,e.greedy=(e,t)=>new a(e,t),e.offset=(e,t,r)=>new c(e,t,r),e.u8=e=>new u(1,e),e.u16=e=>new u(2,e),e.u24=e=>new u(3,e),e.u32=e=>new u(4,e),e.u40=e=>new u(5,e),e.u48=e=>new u(6,e),e.nu64=e=>new y(e),e.u16be=e=>new l(2,e),e.u24be=e=>new l(3,e),e.u32be=e=>new l(4,e),e.u40be=e=>new l(5,e),e.u48be=e=>new l(6,e),e.nu64be=e=>new b(e),e.s8=e=>new d(1,e),e.s16=e=>new d(2,e),e.s24=e=>new d(3,e),e.s32=e=>new d(4,e),e.s40=e=>new d(5,e),e.s48=e=>new d(6,e),e.ns64=e=>new w(e),e.s16be=e=>new h(2,e),e.s24be=e=>new h(3,e),e.s32be=e=>new h(4,e),e.s40be=e=>new h(5,e),e.s48be=e=>new h(6,e),e.ns64be=e=>new v(e),e.f32=e=>new A(e),e.f32be=e=>new E(e),e.f64=e=>new T(e),e.f64be=e=>new C(e),e.struct=(e,t,r)=>new I(e,t,r),e.bits=(e,t,r)=>new x(e,t,r),e.seq=(e,t,r)=>new S(e,t,r),e.union=(e,t,r)=>new P(e,t,r),e.unionLayoutDiscriminator=(e,t)=>new M(e,t),e.blob=(e,t)=>new _(e,t),e.cstr=e=>new U(e),e.utf8=(e,t)=>new D(e,t),e.constant=(e,t)=>new W(e,t)})),M$e=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.toBigIntLE=function(e){{let t=P.Buffer.from(e);t.reverse();let r=t.toString("hex");return 0===r.length?BigInt(0):BigInt(`0x${r}`)}},e.toBigIntBE=function(e){{let t=e.toString("hex");return 0===t.length?BigInt(0):BigInt(`0x${t}`)}},e.toBufferLE=function(e,t){{let r=e.toString(16),n=P.Buffer.from(r.padStart(2*t,"0").slice(0,2*t),"hex");return n.reverse(),n}},e.toBufferBE=function(e,t){{let r=e.toString(16);return P.Buffer.from(r.padStart(2*t,"0").slice(0,2*t),"hex")}}})),_$e=W(((e,t)=>{var r,n;m(),r=e,n=function(e){"use strict";class t extends TypeError{constructor(e,t){let r,{message:n,explanation:i,...o}=e,{path:s}=e,a=0===s.length?n:`At path: ${s.join(".")} -- ${n}`;super(i??a),null!=i&&(this.cause=a),Object.assign(this,o),this.name=this.constructor.name,this.failures=()=>r??(r=[e,...t()])}}function r(e){return"object"==typeof e&&null!=e}function n(e){return r(e)&&!Array.isArray(e)}function i(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function o(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function s(e,t,r,n){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});let{path:i,branch:s}=t,{type:a}=r,{refinement:c,message:u=`Expected a value of type \`${a}\`${c?` with refinement \`${c}\``:""}, but received: \`${o(n)}\``}=e;return{value:n,type:a,refinement:c,key:i[i.length-1],path:i,branch:s,...e,message:u}}function*a(e,t,n,i){(function(e){return r(e)&&"function"==typeof e[Symbol.iterator]})(e)||(e=[e]);for(let r of e){let e=s(r,t,n,i);e&&(yield e)}}function*c(e,t,n={}){let{path:i=[],branch:o=[e],coerce:s=!1,mask:a=!1}=n,u={path:i,branch:o,mask:a};s&&(e=t.coercer(e,u));let l="valid";for(let r of t.validator(e,u))r.explanation=n.message,l="not_valid",yield[r,void 0];for(let[d,h,f]of t.entries(e,u)){let t=c(h,f,{path:void 0===d?i:[...i,d],branch:void 0===d?o:[...o,h],coerce:s,mask:a,message:n.message});for(let n of t)n[0]?(l=null!=n[0].refinement?"not_refined":"not_valid",yield[n[0],void 0]):s&&(h=n[1],void 0===d?e=h:e instanceof Map?e.set(d,h):e instanceof Set?e.add(h):r(e)&&(void 0!==h||d in e)&&(e[d]=h))}if("not_valid"!==l)for(let r of t.refiner(e,u))r.explanation=n.message,l="not_refined",yield[r,void 0];"valid"===l&&(yield[void 0,e])}class u{constructor(e){let{type:t,schema:r,validator:n,refiner:i,coercer:o=e=>e,entries:s=function*(){}}=e;this.type=t,this.schema=r,this.entries=s,this.coercer=o,this.validator=n?(e,t)=>a(n(e,t),t,this,e):()=>[],this.refiner=i?(e,t)=>a(i(e,t),t,this,e):()=>[]}assert(e,t){return l(e,this,t)}create(e,t){return d(e,this,t)}is(e){return f(e,this)}mask(e,t){return h(e,this,t)}validate(e,t={}){return p(e,this,t)}}function l(e,t,r){let n=p(e,t,{message:r});if(n[0])throw n[0]}function d(e,t,r){let n=p(e,t,{coerce:!0,message:r});if(n[0])throw n[0];return n[1]}function h(e,t,r){let n=p(e,t,{coerce:!0,mask:!0,message:r});if(n[0])throw n[0];return n[1]}function f(e,t){return!p(e,t)[0]}function p(e,r,n={}){let i=c(e,r,n),o=function(e){let{done:t,value:r}=e.next();return t?void 0:r}(i);return o[0]?[new t(o[0],(function*(){for(let e of i)e[0]&&(yield e[0])})),void 0]:[void 0,o[1]]}function g(e,t){return new u({type:e,schema:null,validator:t})}function y(){return g("never",(()=>!1))}function m(e){let t=e?Object.keys(e):[],i=y();return new u({type:"object",schema:e||null,*entries(n){if(e&&r(n)){let r=new Set(Object.keys(n));for(let i of t)r.delete(i),yield[i,n[i],e[i]];for(let e of r)yield[e,n[e],i]}},validator:e=>n(e)||`Expected an object, but received: ${o(e)}`,coercer(t,r){if(!n(t))return t;let i={...t};if(r.mask&&e)for(let t in i)void 0===e[t]&&delete i[t];return i}})}function b(e){return new u({...e,validator:(t,r)=>void 0===t||e.validator(t,r),refiner:(t,r)=>void 0===t||e.refiner(t,r)})}function w(){return g("string",(e=>"string"==typeof e||`Expected a string, but received: ${o(e)}`))}function v(e){let t=Object.keys(e);return new u({type:"type",schema:e,*entries(n){if(r(n))for(let r of t)yield[r,n[r],e[r]]},validator:e=>n(e)||`Expected an object, but received: ${o(e)}`,coercer:e=>n(e)?{...e}:e})}function A(){return g("unknown",(()=>!0))}function E(e,t,r){return new u({...e,coercer:(n,i)=>f(n,t)?e.coercer(r(n,i),i):e.coercer(n,i)})}function T(e){return e instanceof Map||e instanceof Set?e.size:e.length}function C(e,t,r){return new u({...e,*refiner(n,i){yield*e.refiner(n,i);let o=a(r(n,i),i,e,n);for(let e of o)yield{...e,refinement:t}}})}e.Struct=u,e.StructError=t,e.any=function(){return g("any",(()=>!0))},e.array=function(e){return new u({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[r,n]of t.entries())yield[r,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${o(e)}`})},e.assert=l,e.assign=function(...e){let t="type"===e[0].type,r=e.map((e=>e.schema)),n=Object.assign({},...r);return t?v(n):m(n)},e.bigint=function(){return g("bigint",(e=>"bigint"==typeof e))},e.boolean=function(){return g("boolean",(e=>"boolean"==typeof e))},e.coerce=E,e.create=d,e.date=function(){return g("date",(e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${o(e)}`))},e.defaulted=function(e,t,r={}){return E(e,A(),(e=>{let n="function"==typeof t?t():t;if(void 0===e)return n;if(!r.strict&&i(e)&&i(n)){let t={...e},r=!1;for(let e in n)void 0===t[e]&&(t[e]=n[e],r=!0);if(r)return t}return e}))},e.define=g,e.deprecated=function(e,t){return new u({...e,refiner:(t,r)=>void 0===t||e.refiner(t,r),validator:(r,n)=>void 0===r||(t(r,n),e.validator(r,n))})},e.dynamic=function(e){return new u({type:"dynamic",schema:null,*entries(t,r){yield*e(t,r).entries(t,r)},validator:(t,r)=>e(t,r).validator(t,r),coercer:(t,r)=>e(t,r).coercer(t,r),refiner:(t,r)=>e(t,r).refiner(t,r)})},e.empty=function(e){return C(e,"empty",(t=>{let r=T(t);return 0===r||`Expected an empty ${e.type} but received one with a size of \`${r}\``}))},e.enums=function(e){let t={},r=e.map((e=>o(e))).join();for(let r of e)t[r]=r;return new u({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${r}\`, but received: ${o(t)}`})},e.func=function(){return g("func",(e=>"function"==typeof e||`Expected a function, but received: ${o(e)}`))},e.instance=function(e){return g("instance",(t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${o(t)}`))},e.integer=function(){return g("integer",(e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${o(e)}`))},e.intersection=function(e){return new u({type:"intersection",schema:null,*entries(t,r){for(let n of e)yield*n.entries(t,r)},*validator(t,r){for(let n of e)yield*n.validator(t,r)},*refiner(t,r){for(let n of e)yield*n.refiner(t,r)}})},e.is=f,e.lazy=function(e){let t;return new u({type:"lazy",schema:null,*entries(r,n){t??(t=e()),yield*t.entries(r,n)},validator:(r,n)=>(t??(t=e()),t.validator(r,n)),coercer:(r,n)=>(t??(t=e()),t.coercer(r,n)),refiner:(r,n)=>(t??(t=e()),t.refiner(r,n))})},e.literal=function(e){let t=o(e),r=typeof e;return new u({type:"literal",schema:"string"===r||"number"===r||"boolean"===r?e:null,validator:r=>r===e||`Expected the literal \`${t}\`, but received: ${o(r)}`})},e.map=function(e,t){return new u({type:"map",schema:null,*entries(r){if(e&&t&&r instanceof Map)for(let[n,i]of r.entries())yield[n,n,e],yield[n,i,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${o(e)}`})},e.mask=h,e.max=function(e,t,r={}){let{exclusive:n}=r;return C(e,"max",(r=>n?r<t:r<=t||`Expected a ${e.type} less than ${n?"":"or equal to "}${t} but received \`${r}\``))},e.min=function(e,t,r={}){let{exclusive:n}=r;return C(e,"min",(r=>n?r>t:r>=t||`Expected a ${e.type} greater than ${n?"":"or equal to "}${t} but received \`${r}\``))},e.never=y,e.nonempty=function(e){return C(e,"nonempty",(t=>T(t)>0||`Expected a nonempty ${e.type} but received an empty one`))},e.nullable=function(e){return new u({...e,validator:(t,r)=>null===t||e.validator(t,r),refiner:(t,r)=>null===t||e.refiner(t,r)})},e.number=function(){return g("number",(e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${o(e)}`))},e.object=m,e.omit=function(e,t){let{schema:r}=e,n={...r};for(let e of t)delete n[e];return"type"===e.type?v(n):m(n)},e.optional=b,e.partial=function(e){let t=e instanceof u,r=t?{...e.schema}:{...e};for(let e in r)r[e]=b(r[e]);return t&&"type"===e.type?v(r):m(r)},e.pattern=function(e,t){return C(e,"pattern",(r=>t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`))},e.pick=function(e,t){let{schema:r}=e,n={};for(let e of t)n[e]=r[e];return"type"===e.type?v(n):m(n)},e.record=function(e,t){return new u({type:"record",schema:null,*entries(n){if(r(n))for(let r in n){let i=n[r];yield[r,r,e],yield[r,i,t]}},validator:e=>n(e)||`Expected an object, but received: ${o(e)}`,coercer:e=>n(e)?{...e}:e})},e.refine=C,e.regexp=function(){return g("regexp",(e=>e instanceof RegExp))},e.set=function(e){return new u({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(let r of t)yield[r,r,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${o(e)}`})},e.size=function(e,t,r=t){let n=`Expected a ${e.type}`,i=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return C(e,"size",(e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=r||`${n} ${i} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:o}=e;return t<=o&&o<=r||`${n} with a size ${i} but received one with a size of \`${o}\``}{let{length:o}=e;return t<=o&&o<=r||`${n} with a length ${i} but received one with a length of \`${o}\``}}))},e.string=w,e.struct=function(e,t){return console.warn("superstruct@0.11 - The `struct` helper has been renamed to `define`."),g(e,t)},e.trimmed=function(e){return E(e,w(),(e=>e.trim()))},e.tuple=function(e){let t=y();return new u({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){let n=Math.max(e.length,r.length);for(let i=0;i<n;i++)yield[i,r[i],e[i]||t]}},validator:e=>Array.isArray(e)||`Expected an array, but received: ${o(e)}`,coercer:e=>Array.isArray(e)?e.slice():e})},e.type=v,e.union=function(e){let t=e.map((e=>e.type)).join(" | ");return new u({type:"union",schema:null,coercer(t,r){for(let n of e){let[e,i]=n.validate(t,{coerce:!0,mask:r.mask});if(!e)return i}return t},validator(r,n){let i=[];for(let t of e){let[...e]=c(r,t,n),[o]=e;if(!o[0])return[];for(let[t]of e)t&&i.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${o(r)}`,...i]}})},e.unknown=A,e.validate=p},"object"==typeof e&&typeof t<"u"?n(e):"function"==typeof define&&define.amd?define(["exports"],n):n((r=typeof globalThis<"u"?globalThis:r||self).Superstruct={})}));function mB(){if(!Aq&&!(Aq=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Aq(onr)}var Aq,onr,Jde=En((()=>{m(),onr=new Uint8Array(16)})),R$e,N$e=En((()=>{m(),R$e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}));function snr(e){return"string"==typeof e&&R$e.test(e)}var Ow,bB=En((()=>{m(),N$e(),Ow=snr}));function anr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(Gc[e[t+0]]+Gc[e[t+1]]+Gc[e[t+2]]+Gc[e[t+3]]+"-"+Gc[e[t+4]]+Gc[e[t+5]]+"-"+Gc[e[t+6]]+Gc[e[t+7]]+"-"+Gc[e[t+8]]+Gc[e[t+9]]+"-"+Gc[e[t+10]]+Gc[e[t+11]]+Gc[e[t+12]]+Gc[e[t+13]]+Gc[e[t+14]]+Gc[e[t+15]]).toLowerCase();if(!Ow(r))throw TypeError("Stringified UUID is invalid");return r}var Gc,Eq,Pw,vB=En((()=>{for(m(),bB(),Gc=[],Eq=0;Eq<256;++Eq)Gc.push((Eq+256).toString(16).substr(1));Pw=anr}));function cnr(e,t,r){var n=t&&r||0,i=t||new Array(16),o=(e=e||{}).node||D$e,s=void 0!==e.clockseq?e.clockseq:Xde;if(null==o||null==s){var a=e.random||(e.rng||mB)();null==o&&(o=D$e=[1|a[0],a[1],a[2],a[3],a[4],a[5]]),null==s&&(s=Xde=16383&(a[6]<<8|a[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),u=void 0!==e.nsecs?e.nsecs:Qde+1,l=c-Yde+(u-Qde)/1e4;if(l<0&&void 0===e.clockseq&&(s=s+1&16383),(l<0||c>Yde)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Yde=c,Qde=u,Xde=s;var d=(1e4*(268435455&(c+=122192928e5))+u)%4294967296;i[n++]=d>>>24&255,i[n++]=d>>>16&255,i[n++]=d>>>8&255,i[n++]=255&d;var h=c/4294967296*1e4&268435455;i[n++]=h>>>8&255,i[n++]=255&h,i[n++]=h>>>24&15|16,i[n++]=h>>>16&255,i[n++]=s>>>8|128,i[n++]=255&s;for(var f=0;f<6;++f)i[n+f]=o[f];return t||Pw(i)}var D$e,Xde,Yde,Qde,U$e,L$e=En((()=>{m(),Jde(),vB(),Yde=0,Qde=0,U$e=cnr}));function unr(e){if(!Ow(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}var Tq,Zde=En((()=>{m(),bB(),Tq=unr}));function lnr(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}function Sq(e,t,r){function n(e,n,i,o){if("string"==typeof e&&(e=lnr(e)),"string"==typeof n&&(n=Tq(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var s=new Uint8Array(16+e.length);if(s.set(n),s.set(e,n.length),(s=r(s))[6]=15&s[6]|t,s[8]=63&s[8]|128,i){o=o||0;for(var a=0;a<16;++a)i[o+a]=s[a];return i}return Pw(s)}try{n.name=e}catch{}return n.DNS=fnr,n.URL=dnr,n}var fnr,dnr,$de=En((()=>{m(),vB(),Zde(),fnr="6ba7b810-9dad-11d1-80b4-00c04fd430c8",dnr="6ba7b811-9dad-11d1-80b4-00c04fd430c8"}));function hnr(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return pnr(gnr(ynr(e),8*e.length))}function pnr(e){for(var t=[],r=32*e.length,n="0123456789abcdef",i=0;i<r;i+=8){var o=e[i>>5]>>>i%32&255,s=parseInt(n.charAt(o>>>4&15)+n.charAt(15&o),16);t.push(s)}return t}function F$e(e){return 14+(e+64>>>9<<4)+1}function gnr(e,t){e[t>>5]|=128<<t%32,e[F$e(t)-1]=t;for(var r=1732584193,n=-271733879,i=-1732584194,o=271733878,s=0;s<e.length;s+=16){var a=r,c=n,u=i,l=o;r=Wu(r,n,i,o,e[s],7,-680876936),o=Wu(o,r,n,i,e[s+1],12,-389564586),i=Wu(i,o,r,n,e[s+2],17,606105819),n=Wu(n,i,o,r,e[s+3],22,-1044525330),r=Wu(r,n,i,o,e[s+4],7,-176418897),o=Wu(o,r,n,i,e[s+5],12,1200080426),i=Wu(i,o,r,n,e[s+6],17,-1473231341),n=Wu(n,i,o,r,e[s+7],22,-45705983),r=Wu(r,n,i,o,e[s+8],7,1770035416),o=Wu(o,r,n,i,e[s+9],12,-1958414417),i=Wu(i,o,r,n,e[s+10],17,-42063),n=Wu(n,i,o,r,e[s+11],22,-1990404162),r=Wu(r,n,i,o,e[s+12],7,1804603682),o=Wu(o,r,n,i,e[s+13],12,-40341101),i=Wu(i,o,r,n,e[s+14],17,-1502002290),r=zu(r,n=Wu(n,i,o,r,e[s+15],22,1236535329),i,o,e[s+1],5,-165796510),o=zu(o,r,n,i,e[s+6],9,-1069501632),i=zu(i,o,r,n,e[s+11],14,643717713),n=zu(n,i,o,r,e[s],20,-373897302),r=zu(r,n,i,o,e[s+5],5,-701558691),o=zu(o,r,n,i,e[s+10],9,38016083),i=zu(i,o,r,n,e[s+15],14,-660478335),n=zu(n,i,o,r,e[s+4],20,-405537848),r=zu(r,n,i,o,e[s+9],5,568446438),o=zu(o,r,n,i,e[s+14],9,-1019803690),i=zu(i,o,r,n,e[s+3],14,-187363961),n=zu(n,i,o,r,e[s+8],20,1163531501),r=zu(r,n,i,o,e[s+13],5,-1444681467),o=zu(o,r,n,i,e[s+2],9,-51403784),i=zu(i,o,r,n,e[s+7],14,1735328473),r=Ku(r,n=zu(n,i,o,r,e[s+12],20,-1926607734),i,o,e[s+5],4,-378558),o=Ku(o,r,n,i,e[s+8],11,-2022574463),i=Ku(i,o,r,n,e[s+11],16,1839030562),n=Ku(n,i,o,r,e[s+14],23,-35309556),r=Ku(r,n,i,o,e[s+1],4,-1530992060),o=Ku(o,r,n,i,e[s+4],11,1272893353),i=Ku(i,o,r,n,e[s+7],16,-155497632),n=Ku(n,i,o,r,e[s+10],23,-1094730640),r=Ku(r,n,i,o,e[s+13],4,681279174),o=Ku(o,r,n,i,e[s],11,-358537222),i=Ku(i,o,r,n,e[s+3],16,-722521979),n=Ku(n,i,o,r,e[s+6],23,76029189),r=Ku(r,n,i,o,e[s+9],4,-640364487),o=Ku(o,r,n,i,e[s+12],11,-421815835),i=Ku(i,o,r,n,e[s+15],16,530742520),r=Hu(r,n=Ku(n,i,o,r,e[s+2],23,-995338651),i,o,e[s],6,-198630844),o=Hu(o,r,n,i,e[s+7],10,1126891415),i=Hu(i,o,r,n,e[s+14],15,-1416354905),n=Hu(n,i,o,r,e[s+5],21,-57434055),r=Hu(r,n,i,o,e[s+12],6,1700485571),o=Hu(o,r,n,i,e[s+3],10,-1894986606),i=Hu(i,o,r,n,e[s+10],15,-1051523),n=Hu(n,i,o,r,e[s+1],21,-2054922799),r=Hu(r,n,i,o,e[s+8],6,1873313359),o=Hu(o,r,n,i,e[s+15],10,-30611744),i=Hu(i,o,r,n,e[s+6],15,-1560198380),n=Hu(n,i,o,r,e[s+13],21,1309151649),r=Hu(r,n,i,o,e[s+4],6,-145523070),o=Hu(o,r,n,i,e[s+11],10,-1120210379),i=Hu(i,o,r,n,e[s+2],15,718787259),n=Hu(n,i,o,r,e[s+9],21,-343485551),r=Bw(r,a),n=Bw(n,c),i=Bw(i,u),o=Bw(o,l)}return[r,n,i,o]}function ynr(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(F$e(t)),n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}function Bw(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function mnr(e,t){return e<<t|e>>>32-t}function Cq(e,t,r,n,i,o){return Bw(mnr(Bw(Bw(t,e),Bw(n,o)),i),r)}function Wu(e,t,r,n,i,o,s){return Cq(t&r|~t&n,e,t,i,o,s)}function zu(e,t,r,n,i,o,s){return Cq(t&n|r&~n,e,t,i,o,s)}function Ku(e,t,r,n,i,o,s){return Cq(t^r^n,e,t,i,o,s)}function Hu(e,t,r,n,i,o,s){return Cq(r^(t|~n),e,t,i,o,s)}var W$e,z$e=En((()=>{m(),W$e=hnr})),bnr,K$e,H$e=En((()=>{m(),$de(),z$e(),bnr=Sq("v3",48,W$e),K$e=bnr}));function vnr(e,t,r){var n=(e=e||{}).random||(e.rng||mB)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return Pw(n)}var q$e,j$e=En((()=>{m(),Jde(),vB(),q$e=vnr}));function wnr(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}function ehe(e,t){return e<<t|e>>>32-t}function xnr(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i<n.length;++i)e.push(n.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s),c=0;c<s;++c){for(var u=new Uint32Array(16),l=0;l<16;++l)u[l]=e[64*c+4*l]<<24|e[64*c+4*l+1]<<16|e[64*c+4*l+2]<<8|e[64*c+4*l+3];a[c]=u}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<s;++d){for(var h=new Uint32Array(80),f=0;f<16;++f)h[f]=a[d][f];for(var p=16;p<80;++p)h[p]=ehe(h[p-3]^h[p-8]^h[p-14]^h[p-16],1);for(var g=r[0],y=r[1],m=r[2],b=r[3],w=r[4],v=0;v<80;++v){var A=Math.floor(v/20),E=ehe(g,5)+wnr(A,y,m,b)+w+t[A]+h[v]>>>0;w=b,b=m,m=ehe(y,30)>>>0,y=g,g=E}r[0]=r[0]+g>>>0,r[1]=r[1]+y>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+b>>>0,r[4]=r[4]+w>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}var G$e,V$e=En((()=>{m(),G$e=xnr})),Anr,J$e,X$e=En((()=>{m(),$de(),V$e(),Anr=Sq("v5",80,G$e),J$e=Anr})),Y$e,Q$e=En((()=>{m(),Y$e="00000000-0000-0000-0000-000000000000"}));function Enr(e){if(!Ow(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var Z$e,$$e=En((()=>{m(),bB(),Z$e=Enr})),the={};Vr(the,{NIL:()=>Y$e,parse:()=>Tq,stringify:()=>Pw,v1:()=>U$e,v3:()=>K$e,v4:()=>q$e,v5:()=>J$e,validate:()=>Ow,version:()=>Z$e});var rhe=En((()=>{m(),L$e(),H$e(),j$e(),X$e(),Q$e(),$$e(),bB(),vB(),Zde()})),tet=W(((e,t)=>{"use strict";m();var r=(rhe(),tN(the)).v4;t.exports=function(e,t,n,i){if("string"!=typeof e)throw new TypeError(e+" must be a string");let o="number"==typeof(i=i||{}).version?i.version:2;if(1!==o&&2!==o)throw new TypeError(o+" must be 1 or 2");let s={method:e};if(2===o&&(s.jsonrpc="2.0"),t){if("object"!=typeof t&&!Array.isArray(t))throw new TypeError(t+" must be an object, array or omitted");s.params=t}if(typeof n>"u"){let e="function"==typeof i.generator?i.generator:function(){return r()};s.id=e(s,i)}else 2===o&&null===n?i.notificationIdNull&&(s.id=null):s.id=n;return s}})),net=W(((e,t)=>{"use strict";m();var r=(rhe(),tN(the)).v4,n=tet(),i=function(e,t){if(!(this instanceof i))return new i(e,t);t||(t={}),this.options={reviver:typeof t.reviver<"u"?t.reviver:null,replacer:typeof t.replacer<"u"?t.replacer:null,generator:typeof t.generator<"u"?t.generator:function(){return r()},version:typeof t.version<"u"?t.version:2,notificationIdNull:"boolean"==typeof t.notificationIdNull&&t.notificationIdNull},this.callServer=e};t.exports=i,i.prototype.request=function(e,t,r,i){let o,s=this,a=null,c=Array.isArray(e)&&"function"==typeof t;if(1===this.options.version&&c)throw new TypeError("JSON-RPC 1.0 does not support batching");if(c||!c&&e&&"object"==typeof e&&"function"==typeof t)i=t,a=e;else{"function"==typeof r&&(i=r,r=void 0);let o="function"==typeof i;try{a=n(e,t,r,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(e){if(o)return i(e);throw e}if(!o)return a}try{o=JSON.stringify(a,this.options.replacer)}catch(e){return i(e)}return this.callServer(o,(function(e,t){s._parseResponse(e,t,i)})),a},i.prototype._parseResponse=function(e,t,r){if(e)return void r(e);if(!t)return r();let n;try{n=JSON.parse(t,this.options.reviver)}catch(e){return r(e)}if(3===r.length){if(Array.isArray(n)){let e=function(e){return typeof e.error<"u"},t=function(t){return!e(t)};return r(null,n.filter(e),n.filter(t))}return r(null,n.error,n.result)}r(null,n)}})),cet=W((e=>{"use strict";m();var t=Go(),r=Qf(),n=class extends r.EventEmitter{socket;constructor(e,t,r){super(),this.socket=new window.WebSocket(e,r),this.socket.onopen=()=>this.emit("open"),this.socket.onmessage=e=>this.emit("message",e.data),this.socket.onerror=e=>this.emit("error",e),this.socket.onclose=e=>{this.emit("close",e.code,e.reason)}}send(e,t,r){let n=r||t;try{this.socket.send(e),n()}catch(e){n(e)}}close(e,t){this.socket.close(e,t)}addEventListener(e,t,r){this.socket.addEventListener(e,t,r)}};function i(e,t){return new n(e,t)}var o=class{encode(e){return JSON.stringify(e)}decode(e){return JSON.parse(e)}},s=class extends r.EventEmitter{address;rpc_id;queue;options;autoconnect;ready;reconnect;reconnect_timer_id;reconnect_interval;max_reconnects;rest_options;current_reconnects;generate_request_id;socket;webSocketFactory;dataPack;constructor(e,t="ws://localhost:8080",{autoconnect:r=!0,reconnect:n=!0,reconnect_interval:i=1e3,max_reconnects:s=5,...a}={},c,u){super(),this.webSocketFactory=e,this.queue={},this.rpc_id=0,this.address=t,this.autoconnect=r,this.ready=!1,this.reconnect=n,this.reconnect_timer_id=void 0,this.reconnect_interval=i,this.max_reconnects=s,this.rest_options=a,this.current_reconnects=0,this.generate_request_id=c||(()=>"number"==typeof this.rpc_id?++this.rpc_id:Number(this.rpc_id)+1),this.dataPack=u||new o,this.autoconnect&&this._connect(this.address,{autoconnect:this.autoconnect,reconnect:this.reconnect,reconnect_interval:this.reconnect_interval,max_reconnects:this.max_reconnects,...this.rest_options})}connect(){this.socket||this._connect(this.address,{autoconnect:this.autoconnect,reconnect:this.reconnect,reconnect_interval:this.reconnect_interval,max_reconnects:this.max_reconnects,...this.rest_options})}call(e,t,r,n){return!n&&"object"==typeof r&&(n=r,r=null),new Promise(((i,o)=>{if(!this.ready)return o(new Error("socket not ready"));let s=this.generate_request_id(e,t),a={jsonrpc:"2.0",method:e,params:t||void 0,id:s};this.socket.send(this.dataPack.encode(a),n,(e=>{if(e)return o(e);this.queue[s]={promise:[i,o]},r&&(this.queue[s].timeout=setTimeout((()=>{delete this.queue[s],o(new Error("reply timeout"))}),r))}))}))}async login(e){let t=await this.call("rpc.login",e);if(!t)throw new Error("authentication failed");return t}async listMethods(){return await this.call("__listMethods")}notify(e,t){return new Promise(((r,n)=>{if(!this.ready)return n(new Error("socket not ready"));let i={jsonrpc:"2.0",method:e,params:t};this.socket.send(this.dataPack.encode(i),(e=>{if(e)return n(e);r()}))}))}async subscribe(e){"string"==typeof e&&(e=[e]);let t=await this.call("rpc.on",e);if("string"==typeof e&&"ok"!==t[e])throw new Error("Failed subscribing to an event '"+e+"' with: "+t[e]);return t}async unsubscribe(e){"string"==typeof e&&(e=[e]);let t=await this.call("rpc.off",e);if("string"==typeof e&&"ok"!==t[e])throw new Error("Failed unsubscribing from an event with: "+t);return t}close(e,t){this.socket.close(e||1e3,t)}setAutoReconnect(e){this.reconnect=e}setReconnectInterval(e){this.reconnect_interval=e}setMaxReconnects(e){this.max_reconnects=e}_connect(e,r){clearTimeout(this.reconnect_timer_id),this.socket=this.webSocketFactory(e,r),this.socket.addEventListener("open",(()=>{this.ready=!0,this.emit("open"),this.current_reconnects=0})),this.socket.addEventListener("message",(({data:e})=>{e instanceof ArrayBuffer&&(e=t.Buffer.from(e).toString());try{e=this.dataPack.decode(e)}catch{return}if(e.notification&&this.listeners(e.notification).length){if(!Object.keys(e.params).length)return this.emit(e.notification);let t=[e.notification];if(e.params.constructor===Object)t.push(e.params);else for(let r=0;r<e.params.length;r++)t.push(e.params[r]);return Promise.resolve().then((()=>{this.emit.apply(this,t)}))}if(!this.queue[e.id])return e.method?Promise.resolve().then((()=>{this.emit(e.method,e?.params)})):void 0;"error"in e=="result"in e&&this.queue[e.id].promise[1](new Error('Server response malformed. Response must include either "result" or "error", but not both.')),this.queue[e.id].timeout&&clearTimeout(this.queue[e.id].timeout),e.error?this.queue[e.id].promise[1](e.error):this.queue[e.id].promise[0](e.result),delete this.queue[e.id]})),this.socket.addEventListener("error",(e=>this.emit("error",e))),this.socket.addEventListener("close",(({code:t,reason:n})=>{this.ready&&setTimeout((()=>this.emit("close",t,n)),0),this.ready=!1,this.socket=void 0,1e3!==t&&(this.current_reconnects++,this.reconnect&&(this.max_reconnects>this.current_reconnects||0===this.max_reconnects)&&(this.reconnect_timer_id=setTimeout((()=>this._connect(e,r)),this.reconnect_interval)))}))}};e.Client=class extends s{constructor(e="ws://localhost:8080",{autoconnect:t=!0,reconnect:r=!0,reconnect_interval:n=1e3,max_reconnects:o=5}={},s){super(i,e,{autoconnect:t,reconnect:r,reconnect_interval:n,max_reconnects:o},s)}},e.CommonClient=s,e.DefaultDataPack=o,e.WebSocket=i})),ttt=W((e=>{"use strict";m();var t=Go(),r=qre(),n=sS(),i=v$e(),o=YO(),s=P$e(),a=B$e(),c=M$e(),u=_$e(),l=net(),d=cet(),h=K3(),f=IL();function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=p(n),y=p(i),b=function(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}(a),w=p(l),v=r.ed25519.utils.randomPrivateKey,A=()=>{let e=r.ed25519.utils.randomPrivateKey(),t=E(e),n=new Uint8Array(64);return n.set(e),n.set(t,32),{publicKey:t,secretKey:n}},E=r.ed25519.getPublicKey;function T(e){try{return r.ed25519.ExtendedPoint.fromHex(e),!0}catch{return!1}}var C,S=(e,t)=>r.ed25519.sign(e,t.slice(0,32)),I=r.ed25519.verify,O=e=>t.Buffer.isBuffer(e)?e:e instanceof Uint8Array?t.Buffer.from(e.buffer,e.byteOffset,e.byteLength):t.Buffer.from(e),M=class{constructor(e){Object.assign(this,e)}encode(){return t.Buffer.from(s.serialize(P,this))}static decode(e){return s.deserialize(P,this,e)}static decodeUnchecked(e){return s.deserializeUnchecked(P,this,e)}},P=new Map,k=32;var B=1,x=class e extends M{constructor(e){if(super({}),this._bn=void 0,function(e){return void 0!==e._bn}(e))this._bn=e._bn;else{if("string"==typeof e){let t=y.default.decode(e);if(t.length!=k)throw new Error("Invalid public key input");this._bn=new g.default(t)}else this._bn=new g.default(e);if(this._bn.byteLength()>k)throw new Error("Invalid public key input")}}static unique(){let t=new e(B);return B+=1,new e(t.toBuffer())}equals(e){return this._bn.eq(e._bn)}toBase58(){return y.default.encode(this.toBytes())}toJSON(){return this.toBase58()}toBytes(){let e=this.toBuffer();return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}toBuffer(){let e=this._bn.toArrayLike(t.Buffer);if(e.length===k)return e;let r=t.Buffer.alloc(32);return e.copy(r,32-e.length),r}get[Symbol.toStringTag](){return`PublicKey(${this.toString()})`}toString(){return this.toBase58()}static async createWithSeed(r,n,i){let s=t.Buffer.concat([r.toBuffer(),t.Buffer.from(n),i.toBuffer()]),a=o.sha256(s);return new e(a)}static createProgramAddressSync(r,n){let i=t.Buffer.alloc(0);r.forEach((function(e){if(e.length>32)throw new TypeError("Max seed length exceeded");i=t.Buffer.concat([i,O(e)])})),i=t.Buffer.concat([i,n.toBuffer(),t.Buffer.from("ProgramDerivedAddress")]);let s=o.sha256(i);if(T(s))throw new Error("Invalid seeds, address must fall off the curve");return new e(s)}static async createProgramAddress(e,t){return this.createProgramAddressSync(e,t)}static findProgramAddressSync(e,r){let n,i=255;for(;0!=i;){try{let o=e.concat(t.Buffer.from([i]));n=this.createProgramAddressSync(o,r)}catch(e){if(e instanceof TypeError)throw e;i--;continue}return[n,i]}throw new Error("Unable to find a viable program address nonce")}static async findProgramAddress(e,t){return this.findProgramAddressSync(e,t)}static isOnCurve(t){return T(new e(t).toBytes())}};C=x,x.default=new C("11111111111111111111111111111111"),P.set(x,{kind:"struct",fields:[["_bn","u256"]]});var N=new x("BPFLoader1111111111111111111111111111111111"),R=1232,_=127,U=class extends Error{constructor(e){super(`Signature ${e} has expired: block height exceeded.`),this.signature=void 0,this.signature=e}};Object.defineProperty(U.prototype,"name",{value:"TransactionExpiredBlockheightExceededError"});var D=class extends Error{constructor(e,t){super(`Transaction was not confirmed in ${t.toFixed(2)} seconds. It is unknown if it succeeded or failed. Check signature ${e} using the Solana Explorer or CLI tools.`),this.signature=void 0,this.signature=e}};Object.defineProperty(D.prototype,"name",{value:"TransactionExpiredTimeoutError"});var W=class extends Error{constructor(e){super(`Signature ${e} has expired: the nonce is no longer valid.`),this.signature=void 0,this.signature=e}};Object.defineProperty(W.prototype,"name",{value:"TransactionExpiredNonceInvalidError"});var L=class{constructor(e,t){this.staticAccountKeys=void 0,this.accountKeysFromLookups=void 0,this.staticAccountKeys=e,this.accountKeysFromLookups=t}keySegments(){let e=[this.staticAccountKeys];return this.accountKeysFromLookups&&(e.push(this.accountKeysFromLookups.writable),e.push(this.accountKeysFromLookups.readonly)),e}get(e){for(let t of this.keySegments()){if(e<t.length)return t[e];e-=t.length}}get length(){return this.keySegments().flat().length}compileInstructions(e){if(this.length>256)throw new Error("Account index overflow encountered during compilation");let t=new Map;this.keySegments().flat().forEach(((e,r)=>{t.set(e.toBase58(),r)}));let r=e=>{let r=t.get(e.toBase58());if(void 0===r)throw new Error("Encountered an unknown instruction account key during compilation");return r};return e.map((e=>({programIdIndex:r(e.programId),accountKeyIndexes:e.keys.map((e=>r(e.pubkey))),data:e.data})))}},z=(e="publicKey")=>b.blob(32,e),F=(e="signature")=>b.blob(64,e),K=(e="string")=>{let r=b.struct([b.u32("length"),b.u32("lengthPadding"),b.blob(b.offset(b.u32(),-8),"chars")],e),n=r.decode.bind(r),i=r.encode.bind(r),o=r;return o.decode=(e,t)=>n(e,t).chars.toString(),o.encode=(e,r,n)=>{let o={chars:t.Buffer.from(e,"utf8")};return i(o,r,n)},o.alloc=e=>b.u32().span+b.u32().span+t.Buffer.from(e,"utf8").length,o};function j(e,t){let r=e=>{if(e.span>=0)return e.span;if("function"==typeof e.alloc)return e.alloc(t[e.property]);if("count"in e&&"elementLayout"in e){let n=t[e.property];if(Array.isArray(n))return n.length*r(e.elementLayout)}else if("fields"in e)return j({layout:e},t[e.property]);return 0},n=0;return e.layout.fields.forEach((e=>{n+=r(e)})),n}function H(e){let t=0,r=0;for(;;){let n=e.shift();if(t|=(127&n)<<7*r,r+=1,!(128&n))break}return t}function G(e,t){let r=t;for(;;){let t=127&r;if(r>>=7,0==r){e.push(t);break}t|=128,e.push(t)}}function V(e,t){if(!e)throw new Error(t||"Assertion failed")}var q=class e{constructor(e,t){this.payer=void 0,this.keyMetaMap=void 0,this.payer=e,this.keyMetaMap=t}static compile(t,r){let n=new Map,i=e=>{let t=e.toBase58(),r=n.get(t);return void 0===r&&(r={isSigner:!1,isWritable:!1,isInvoked:!1},n.set(t,r)),r},o=i(r);o.isSigner=!0,o.isWritable=!0;for(let e of t){i(e.programId).isInvoked=!0;for(let t of e.keys){let e=i(t.pubkey);e.isSigner||=t.isSigner,e.isWritable||=t.isWritable}}return new e(r,n)}getMessageComponents(){let e=[...this.keyMetaMap.entries()];V(e.length<=256,"Max static account keys length exceeded");let t=e.filter((([,e])=>e.isSigner&&e.isWritable)),r=e.filter((([,e])=>e.isSigner&&!e.isWritable)),n=e.filter((([,e])=>!e.isSigner&&e.isWritable)),i=e.filter((([,e])=>!e.isSigner&&!e.isWritable)),o={numRequiredSignatures:t.length+r.length,numReadonlySignedAccounts:r.length,numReadonlyUnsignedAccounts:i.length};{V(t.length>0,"Expected at least one writable signer key");let[e]=t[0];V(e===this.payer.toBase58(),"Expected first writable signer key to be the fee payer")}return[o,[...t.map((([e])=>new x(e))),...r.map((([e])=>new x(e))),...n.map((([e])=>new x(e))),...i.map((([e])=>new x(e)))]]}extractTableLookup(e){let[t,r]=this.drainKeysFoundInLookupTable(e.state.addresses,(e=>!e.isSigner&&!e.isInvoked&&e.isWritable)),[n,i]=this.drainKeysFoundInLookupTable(e.state.addresses,(e=>!e.isSigner&&!e.isInvoked&&!e.isWritable));if(0!==t.length||0!==n.length)return[{accountKey:e.key,writableIndexes:t,readonlyIndexes:n},{writable:r,readonly:i}]}drainKeysFoundInLookupTable(e,t){let r=new Array,n=new Array;for(let[i,o]of this.keyMetaMap.entries())if(t(o)){let t=new x(i),o=e.findIndex((e=>e.equals(t)));o>=0&&(V(o<256,"Max lookup table index exceeded"),r.push(o),n.push(t),this.keyMetaMap.delete(i))}return[r,n]}},J="Reached end of buffer unexpectedly";function Y(e){if(0===e.length)throw new Error(J);return e.shift()}function X(e,...t){let[r]=t;if(2===t.length?r+(t[1]??0)>e.length:r>=e.length)throw new Error(J);return e.splice(...t)}var Q,Z=class e{constructor(e){this.header=void 0,this.accountKeys=void 0,this.recentBlockhash=void 0,this.instructions=void 0,this.indexToProgramIds=new Map,this.header=e.header,this.accountKeys=e.accountKeys.map((e=>new x(e))),this.recentBlockhash=e.recentBlockhash,this.instructions=e.instructions,this.instructions.forEach((e=>this.indexToProgramIds.set(e.programIdIndex,this.accountKeys[e.programIdIndex])))}get version(){return"legacy"}get staticAccountKeys(){return this.accountKeys}get compiledInstructions(){return this.instructions.map((e=>({programIdIndex:e.programIdIndex,accountKeyIndexes:e.accounts,data:y.default.decode(e.data)})))}get addressTableLookups(){return[]}getAccountKeys(){return new L(this.staticAccountKeys)}static compile(t){let r=q.compile(t.instructions,t.payerKey),[n,i]=r.getMessageComponents(),o=new L(i).compileInstructions(t.instructions).map((e=>({programIdIndex:e.programIdIndex,accounts:e.accountKeyIndexes,data:y.default.encode(e.data)})));return new e({header:n,accountKeys:i,recentBlockhash:t.recentBlockhash,instructions:o})}isAccountSigner(e){return e<this.header.numRequiredSignatures}isAccountWritable(e){let t=this.header.numRequiredSignatures;if(e>=this.header.numRequiredSignatures){return e-t<this.accountKeys.length-t-this.header.numReadonlyUnsignedAccounts}return e<t-this.header.numReadonlySignedAccounts}isProgramId(e){return this.indexToProgramIds.has(e)}programIds(){return[...this.indexToProgramIds.values()]}nonProgramIds(){return this.accountKeys.filter(((e,t)=>!this.isProgramId(t)))}serialize(){let e=this.accountKeys.length,r=[];G(r,e);let n=this.instructions.map((e=>{let{accounts:r,programIdIndex:n}=e,i=Array.from(y.default.decode(e.data)),o=[];G(o,r.length);let s=[];return G(s,i.length),{programIdIndex:n,keyIndicesCount:t.Buffer.from(o),keyIndices:r,dataLength:t.Buffer.from(s),data:i}})),i=[];G(i,n.length);let o=t.Buffer.alloc(R);t.Buffer.from(i).copy(o);let s=i.length;n.forEach((e=>{let t=b.struct([b.u8("programIdIndex"),b.blob(e.keyIndicesCount.length,"keyIndicesCount"),b.seq(b.u8("keyIndex"),e.keyIndices.length,"keyIndices"),b.blob(e.dataLength.length,"dataLength"),b.seq(b.u8("userdatum"),e.data.length,"data")]).encode(e,o,s);s+=t})),o=o.slice(0,s);let a=b.struct([b.blob(1,"numRequiredSignatures"),b.blob(1,"numReadonlySignedAccounts"),b.blob(1,"numReadonlyUnsignedAccounts"),b.blob(r.length,"keyCount"),b.seq(z("key"),e,"keys"),z("recentBlockhash")]),c={numRequiredSignatures:t.Buffer.from([this.header.numRequiredSignatures]),numReadonlySignedAccounts:t.Buffer.from([this.header.numReadonlySignedAccounts]),numReadonlyUnsignedAccounts:t.Buffer.from([this.header.numReadonlyUnsignedAccounts]),keyCount:t.Buffer.from(r),keys:this.accountKeys.map((e=>O(e.toBytes()))),recentBlockhash:y.default.decode(this.recentBlockhash)},u=t.Buffer.alloc(2048),l=a.encode(c,u);return o.copy(u,l),u.slice(0,l+o.length)}static from(r){let n=[...r],i=Y(n);if(i!==(i&_))throw new Error("Versioned messages must be deserialized with VersionedMessage.deserialize()");let o=Y(n),s=Y(n),a=H(n),c=[];for(let e=0;e<a;e++){let e=X(n,0,k);c.push(new x(t.Buffer.from(e)))}let u=X(n,0,k),l=H(n),d=[];for(let e=0;e<l;e++){let e=Y(n),r=X(n,0,H(n)),i=X(n,0,H(n)),o=y.default.encode(t.Buffer.from(i));d.push({programIdIndex:e,accounts:r,data:o})}let h={header:{numRequiredSignatures:i,numReadonlySignedAccounts:o,numReadonlyUnsignedAccounts:s},recentBlockhash:y.default.encode(t.Buffer.from(u)),accountKeys:c,instructions:d};return new e(h)}},$=class e{constructor(e){this.header=void 0,this.staticAccountKeys=void 0,this.recentBlockhash=void 0,this.compiledInstructions=void 0,this.addressTableLookups=void 0,this.header=e.header,this.staticAccountKeys=e.staticAccountKeys,this.recentBlockhash=e.recentBlockhash,this.compiledInstructions=e.compiledInstructions,this.addressTableLookups=e.addressTableLookups}get version(){return 0}get numAccountKeysFromLookups(){let e=0;for(let t of this.addressTableLookups)e+=t.readonlyIndexes.length+t.writableIndexes.length;return e}getAccountKeys(e){let t;if(e&&"accountKeysFromLookups"in e&&e.accountKeysFromLookups){if(this.numAccountKeysFromLookups!=e.accountKeysFromLookups.writable.length+e.accountKeysFromLookups.readonly.length)throw new Error("Failed to get account keys because of a mismatch in the number of account keys from lookups");t=e.accountKeysFromLookups}else if(e&&"addressLookupTableAccounts"in e&&e.addressLookupTableAccounts)t=this.resolveAddressTableLookups(e.addressLookupTableAccounts);else if(this.addressTableLookups.length>0)throw new Error("Failed to get account keys because address table lookups were not resolved");return new L(this.staticAccountKeys,t)}isAccountSigner(e){return e<this.header.numRequiredSignatures}isAccountWritable(e){let t=this.header.numRequiredSignatures,r=this.staticAccountKeys.length;if(e>=r){return e-r<this.addressTableLookups.reduce(((e,t)=>e+t.writableIndexes.length),0)}if(e>=this.header.numRequiredSignatures){return e-t<r-t-this.header.numReadonlyUnsignedAccounts}return e<t-this.header.numReadonlySignedAccounts}resolveAddressTableLookups(e){let t={writable:[],readonly:[]};for(let r of this.addressTableLookups){let n=e.find((e=>e.key.equals(r.accountKey)));if(!n)throw new Error(`Failed to find address lookup table account for table key ${r.accountKey.toBase58()}`);for(let e of r.writableIndexes){if(!(e<n.state.addresses.length))throw new Error(`Failed to find address for index ${e} in address lookup table ${r.accountKey.toBase58()}`);t.writable.push(n.state.addresses[e])}for(let e of r.readonlyIndexes){if(!(e<n.state.addresses.length))throw new Error(`Failed to find address for index ${e} in address lookup table ${r.accountKey.toBase58()}`);t.readonly.push(n.state.addresses[e])}}return t}static compile(t){let r=q.compile(t.instructions,t.payerKey),n=new Array,i={writable:new Array,readonly:new Array},o=t.addressLookupTableAccounts||[];for(let e of o){let t=r.extractTableLookup(e);if(void 0!==t){let[e,{writable:r,readonly:o}]=t;n.push(e),i.writable.push(...r),i.readonly.push(...o)}}let[s,a]=r.getMessageComponents(),c=new L(a,i).compileInstructions(t.instructions);return new e({header:s,staticAccountKeys:a,recentBlockhash:t.recentBlockhash,compiledInstructions:c,addressTableLookups:n})}serialize(){let e=Array();G(e,this.staticAccountKeys.length);let t=this.serializeInstructions(),r=Array();G(r,this.compiledInstructions.length);let n=this.serializeAddressTableLookups(),i=Array();G(i,this.addressTableLookups.length);let o=b.struct([b.u8("prefix"),b.struct([b.u8("numRequiredSignatures"),b.u8("numReadonlySignedAccounts"),b.u8("numReadonlyUnsignedAccounts")],"header"),b.blob(e.length,"staticAccountKeysLength"),b.seq(z(),this.staticAccountKeys.length,"staticAccountKeys"),z("recentBlockhash"),b.blob(r.length,"instructionsLength"),b.blob(t.length,"serializedInstructions"),b.blob(i.length,"addressTableLookupsLength"),b.blob(n.length,"serializedAddressTableLookups")]),s=new Uint8Array(R),a=o.encode({prefix:128,header:this.header,staticAccountKeysLength:new Uint8Array(e),staticAccountKeys:this.staticAccountKeys.map((e=>e.toBytes())),recentBlockhash:y.default.decode(this.recentBlockhash),instructionsLength:new Uint8Array(r),serializedInstructions:t,addressTableLookupsLength:new Uint8Array(i),serializedAddressTableLookups:n},s);return s.slice(0,a)}serializeInstructions(){let e=0,t=new Uint8Array(R);for(let r of this.compiledInstructions){let n=Array();G(n,r.accountKeyIndexes.length);let i=Array();G(i,r.data.length),e+=b.struct([b.u8("programIdIndex"),b.blob(n.length,"encodedAccountKeyIndexesLength"),b.seq(b.u8(),r.accountKeyIndexes.length,"accountKeyIndexes"),b.blob(i.length,"encodedDataLength"),b.blob(r.data.length,"data")]).encode({programIdIndex:r.programIdIndex,encodedAccountKeyIndexesLength:new Uint8Array(n),accountKeyIndexes:r.accountKeyIndexes,encodedDataLength:new Uint8Array(i),data:r.data},t,e)}return t.slice(0,e)}serializeAddressTableLookups(){let e=0,t=new Uint8Array(R);for(let r of this.addressTableLookups){let n=Array();G(n,r.writableIndexes.length);let i=Array();G(i,r.readonlyIndexes.length),e+=b.struct([z("accountKey"),b.blob(n.length,"encodedWritableIndexesLength"),b.seq(b.u8(),r.writableIndexes.length,"writableIndexes"),b.blob(i.length,"encodedReadonlyIndexesLength"),b.seq(b.u8(),r.readonlyIndexes.length,"readonlyIndexes")]).encode({accountKey:r.accountKey.toBytes(),encodedWritableIndexesLength:new Uint8Array(n),writableIndexes:r.writableIndexes,encodedReadonlyIndexesLength:new Uint8Array(i),readonlyIndexes:r.readonlyIndexes},t,e)}return t.slice(0,e)}static deserialize(t){let r=[...t],n=Y(r),i=n&_;V(n!==i,"Expected versioned message but received legacy message");V(0===i,`Expected versioned message with version 0 but found version ${i}`);let o={numRequiredSignatures:Y(r),numReadonlySignedAccounts:Y(r),numReadonlyUnsignedAccounts:Y(r)},s=[],a=H(r);for(let e=0;e<a;e++)s.push(new x(X(r,0,k)));let c=y.default.encode(X(r,0,k)),u=H(r),l=[];for(let e=0;e<u;e++){let e=Y(r),t=X(r,0,H(r)),n=H(r),i=new Uint8Array(X(r,0,n));l.push({programIdIndex:e,accountKeyIndexes:t,data:i})}let d=H(r),h=[];for(let e=0;e<d;e++){let e=new x(X(r,0,k)),t=X(r,0,H(r)),n=X(r,0,H(r));h.push({accountKey:e,writableIndexes:t,readonlyIndexes:n})}return new e({header:o,staticAccountKeys:s,recentBlockhash:c,compiledInstructions:l,addressTableLookups:h})}},ee={deserializeMessageVersion(e){let t=e[0],r=t&_;return r===t?"legacy":r},deserialize:e=>{let t=ee.deserializeMessageVersion(e);if("legacy"===t)return Z.from(e);if(0===t)return $.deserialize(e);throw new Error(`Transaction message version ${t} deserialization is not supported`)}},te=((Q={})[Q.BLOCKHEIGHT_EXCEEDED=0]="BLOCKHEIGHT_EXCEEDED",Q[Q.PROCESSED=1]="PROCESSED",Q[Q.TIMED_OUT=2]="TIMED_OUT",Q[Q.NONCE_INVALID=3]="NONCE_INVALID",Q),re=t.Buffer.alloc(64).fill(0),ne=class{constructor(e){this.keys=void 0,this.programId=void 0,this.data=t.Buffer.alloc(0),this.programId=e.programId,this.keys=e.keys,e.data&&(this.data=e.data)}toJSON(){return{keys:this.keys.map((({pubkey:e,isSigner:t,isWritable:r})=>({pubkey:e.toJSON(),isSigner:t,isWritable:r}))),programId:this.programId.toJSON(),data:[...this.data]}}},ie=class e{get signature(){return this.signatures.length>0?this.signatures[0].signature:null}constructor(e){if(this.signatures=[],this.feePayer=void 0,this.instructions=[],this.recentBlockhash=void 0,this.lastValidBlockHeight=void 0,this.nonceInfo=void 0,this.minNonceContextSlot=void 0,this._message=void 0,this._json=void 0,e)if(e.feePayer&&(this.feePayer=e.feePayer),e.signatures&&(this.signatures=e.signatures),Object.prototype.hasOwnProperty.call(e,"nonceInfo")){let{minContextSlot:t,nonceInfo:r}=e;this.minNonceContextSlot=t,this.nonceInfo=r}else if(Object.prototype.hasOwnProperty.call(e,"lastValidBlockHeight")){let{blockhash:t,lastValidBlockHeight:r}=e;this.recentBlockhash=t,this.lastValidBlockHeight=r}else{let{recentBlockhash:t,nonceInfo:r}=e;r&&(this.nonceInfo=r),this.recentBlockhash=t}}toJSON(){return{recentBlockhash:this.recentBlockhash||null,feePayer:this.feePayer?this.feePayer.toJSON():null,nonceInfo:this.nonceInfo?{nonce:this.nonceInfo.nonce,nonceInstruction:this.nonceInfo.nonceInstruction.toJSON()}:null,instructions:this.instructions.map((e=>e.toJSON())),signers:this.signatures.map((({publicKey:e})=>e.toJSON()))}}add(...e){if(0===e.length)throw new Error("No instructions");return e.forEach((e=>{"instructions"in e?this.instructions=this.instructions.concat(e.instructions):"data"in e&&"programId"in e&&"keys"in e?this.instructions.push(e):this.instructions.push(new ne(e))})),this}compileMessage(){if(this._message&&JSON.stringify(this.toJSON())===JSON.stringify(this._json))return this._message;let e,t,r;if(this.nonceInfo?(e=this.nonceInfo.nonce,t=this.instructions[0]!=this.nonceInfo.nonceInstruction?[this.nonceInfo.nonceInstruction,...this.instructions]:this.instructions):(e=this.recentBlockhash,t=this.instructions),!e)throw new Error("Transaction recentBlockhash required");if(t.length<1&&console.warn("No instructions provided"),this.feePayer)r=this.feePayer;else{if(!(this.signatures.length>0&&this.signatures[0].publicKey))throw new Error("Transaction fee payer required");r=this.signatures[0].publicKey}for(let e=0;e<t.length;e++)if(void 0===t[e].programId)throw new Error(`Transaction instruction index ${e} has undefined program id`);let n=[],i=[];t.forEach((e=>{e.keys.forEach((e=>{i.push({...e})}));let t=e.programId.toString();n.includes(t)||n.push(t)})),n.forEach((e=>{i.push({pubkey:new x(e),isSigner:!1,isWritable:!1})}));let o=[];i.forEach((e=>{let t=e.pubkey.toString(),r=o.findIndex((e=>e.pubkey.toString()===t));r>-1?(o[r].isWritable=o[r].isWritable||e.isWritable,o[r].isSigner=o[r].isSigner||e.isSigner):o.push(e)})),o.sort((function(e,t){if(e.isSigner!==t.isSigner)return e.isSigner?-1:1;if(e.isWritable!==t.isWritable)return e.isWritable?-1:1;return e.pubkey.toBase58().localeCompare(t.pubkey.toBase58(),"en",{localeMatcher:"best fit",usage:"sort",sensitivity:"variant",ignorePunctuation:!1,numeric:!1,caseFirst:"lower"})}));let s=o.findIndex((e=>e.pubkey.equals(r)));if(s>-1){let[e]=o.splice(s,1);e.isSigner=!0,e.isWritable=!0,o.unshift(e)}else o.unshift({pubkey:r,isSigner:!0,isWritable:!0});for(let e of this.signatures){let t=o.findIndex((t=>t.pubkey.equals(e.publicKey)));if(!(t>-1))throw new Error(`unknown signer: ${e.publicKey.toString()}`);o[t].isSigner||(o[t].isSigner=!0,console.warn("Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts should sign a transaction. This behavior is deprecated and will throw an error in the next major version release."))}let a=0,c=0,u=0,l=[],d=[];o.forEach((({pubkey:e,isSigner:t,isWritable:r})=>{t?(l.push(e.toString()),a+=1,r||(c+=1)):(d.push(e.toString()),r||(u+=1))}));let h=l.concat(d),f=t.map((e=>{let{data:t,programId:r}=e;return{programIdIndex:h.indexOf(r.toString()),accounts:e.keys.map((e=>h.indexOf(e.pubkey.toString()))),data:y.default.encode(t)}}));return f.forEach((e=>{V(e.programIdIndex>=0),e.accounts.forEach((e=>V(e>=0)))})),new Z({header:{numRequiredSignatures:a,numReadonlySignedAccounts:c,numReadonlyUnsignedAccounts:u},accountKeys:h,recentBlockhash:e,instructions:f})}_compile(){let e=this.compileMessage(),t=e.accountKeys.slice(0,e.header.numRequiredSignatures);return this.signatures.length===t.length&&this.signatures.every(((e,r)=>t[r].equals(e.publicKey)))||(this.signatures=t.map((e=>({signature:null,publicKey:e})))),e}serializeMessage(){return this._compile().serialize()}async getEstimatedFee(e){return(await e.getFeeForMessage(this.compileMessage())).value}setSigners(...e){if(0===e.length)throw new Error("No signers");let t=new Set;this.signatures=e.filter((e=>{let r=e.toString();return!t.has(r)&&(t.add(r),!0)})).map((e=>({signature:null,publicKey:e})))}sign(...e){if(0===e.length)throw new Error("No signers");let t=new Set,r=[];for(let n of e){let e=n.publicKey.toString();t.has(e)||(t.add(e),r.push(n))}this.signatures=r.map((e=>({signature:null,publicKey:e.publicKey})));let n=this._compile();this._partialSign(n,...r)}partialSign(...e){if(0===e.length)throw new Error("No signers");let t=new Set,r=[];for(let n of e){let e=n.publicKey.toString();t.has(e)||(t.add(e),r.push(n))}let n=this._compile();this._partialSign(n,...r)}_partialSign(e,...t){let r=e.serialize();t.forEach((e=>{let t=S(r,e.secretKey);this._addSignature(e.publicKey,O(t))}))}addSignature(e,t){this._compile(),this._addSignature(e,t)}_addSignature(e,r){V(64===r.length);let n=this.signatures.findIndex((t=>e.equals(t.publicKey)));if(n<0)throw new Error(`unknown signer: ${e.toString()}`);this.signatures[n].signature=t.Buffer.from(r)}verifySignatures(e=!0){return!this._getMessageSignednessErrors(this.serializeMessage(),e)}_getMessageSignednessErrors(e,t){let r={};for(let{signature:n,publicKey:i}of this.signatures)null===n?t&&(r.missing||=[]).push(i):I(n,e,i.toBytes())||(r.invalid||=[]).push(i);return r.invalid||r.missing?r:void 0}serialize(e){let{requireAllSignatures:t,verifySignatures:r}=Object.assign({requireAllSignatures:!0,verifySignatures:!0},e),n=this.serializeMessage();if(r){let e=this._getMessageSignednessErrors(n,t);if(e){let t="Signature verification failed.";throw e.invalid&&(t+=`\nInvalid signature for public key${1===e.invalid.length?"":"(s)"} [\`${e.invalid.map((e=>e.toBase58())).join("`, `")}\`].`),e.missing&&(t+=`\nMissing signature for public key${1===e.missing.length?"":"(s)"} [\`${e.missing.map((e=>e.toBase58())).join("`, `")}\`].`),new Error(t)}}return this._serialize(n)}_serialize(e){let{signatures:r}=this,n=[];G(n,r.length);let i=n.length+64*r.length+e.length,o=t.Buffer.alloc(i);return V(r.length<256),t.Buffer.from(n).copy(o,0),r.forEach((({signature:e},r)=>{null!==e&&(V(64===e.length,"signature has invalid length"),t.Buffer.from(e).copy(o,n.length+64*r))})),e.copy(o,n.length+64*r.length),V(o.length<=R,`Transaction too large: ${o.length} > 1232`),o}get keys(){return V(1===this.instructions.length),this.instructions[0].keys.map((e=>e.pubkey))}get programId(){return V(1===this.instructions.length),this.instructions[0].programId}get data(){return V(1===this.instructions.length),this.instructions[0].data}static from(r){let n=[...r],i=H(n),o=[];for(let e=0;e<i;e++){let e=X(n,0,64);o.push(y.default.encode(t.Buffer.from(e)))}return e.populate(Z.from(n),o)}static populate(t,r=[]){let n=new e;return n.recentBlockhash=t.recentBlockhash,t.header.numRequiredSignatures>0&&(n.feePayer=t.accountKeys[0]),r.forEach(((e,r)=>{let i={signature:e==y.default.encode(re)?null:y.default.decode(e),publicKey:t.accountKeys[r]};n.signatures.push(i)})),t.instructions.forEach((e=>{let r=e.accounts.map((e=>{let r=t.accountKeys[e];return{pubkey:r,isSigner:n.signatures.some((e=>e.publicKey.toString()===r.toString()))||t.isAccountSigner(e),isWritable:t.isAccountWritable(e)}}));n.instructions.push(new ne({keys:r,programId:t.accountKeys[e.programIdIndex],data:y.default.decode(e.data)}))})),n._message=t,n._json=n.toJSON(),n}},oe=new x("SysvarC1ock11111111111111111111111111111111"),se=new x("SysvarEpochSchedu1e111111111111111111111111"),ae=new x("Sysvar1nstructions1111111111111111111111111"),ce=new x("SysvarRecentB1ockHashes11111111111111111111"),ue=new x("SysvarRent111111111111111111111111111111111"),le=new x("SysvarRewards111111111111111111111111111111"),de=new x("SysvarS1otHashes111111111111111111111111111"),he=new x("SysvarS1otHistory11111111111111111111111111"),fe=new x("SysvarStakeHistory1111111111111111111111111"),pe=class extends Error{constructor({action:e,signature:t,transactionMessage:r,logs:n}){let i,o=n?`Logs: \n${JSON.stringify(n.slice(-10),null,2)}. `:"",s="\nCatch the `SendTransactionError` and call `getLogs()` on it for full details.";switch(e){case"send":i=`Transaction ${t} resulted in an error. \n${r}. `+o+s;break;case"simulate":i=`Simulation failed. \nMessage: ${r}. \n`+o+s;break;default:i=`Unknown action '${e}'`}super(i),this.signature=void 0,this.transactionMessage=void 0,this.transactionLogs=void 0,this.signature=t,this.transactionMessage=r,this.transactionLogs=n||void 0}get transactionError(){return{message:this.transactionMessage,logs:Array.isArray(this.transactionLogs)?this.transactionLogs:void 0}}get logs(){let e=this.transactionLogs;if(null==e||"object"!=typeof e||!("then"in e))return e}async getLogs(e){return Array.isArray(this.transactionLogs)||(this.transactionLogs=new Promise(((t,r)=>{e.getTransaction(this.signature).then((e=>{if(e&&e.meta&&e.meta.logMessages){let r=e.meta.logMessages;this.transactionLogs=r,t(r)}else r(new Error("Log messages not found"))})).catch(r)}))),await this.transactionLogs}},ge=class extends Error{constructor({code:e,message:t,data:r},n){super(null!=n?`${n}: ${t}`:t),this.code=void 0,this.data=void 0,this.code=e,this.data=r,this.name="SolanaJSONRPCError"}};async function ye(e,t,r,n){let i,o=n&&{skipPreflight:n.skipPreflight,preflightCommitment:n.preflightCommitment||n.commitment,maxRetries:n.maxRetries,minContextSlot:n.minContextSlot},s=await e.sendTransaction(t,r,o);if(null!=t.recentBlockhash&&null!=t.lastValidBlockHeight)i=(await e.confirmTransaction({abortSignal:n?.abortSignal,signature:s,blockhash:t.recentBlockhash,lastValidBlockHeight:t.lastValidBlockHeight},n&&n.commitment)).value;else if(null!=t.minNonceContextSlot&&null!=t.nonceInfo){let{nonceInstruction:r}=t.nonceInfo,o=r.keys[0].pubkey;i=(await e.confirmTransaction({abortSignal:n?.abortSignal,minContextSlot:t.minNonceContextSlot,nonceAccountPubkey:o,nonceValue:t.nonceInfo.nonce,signature:s},n&&n.commitment)).value}else null!=n?.abortSignal&&console.warn("sendAndConfirmTransaction(): A transaction with a deprecated confirmation strategy was supplied along with an `abortSignal`. Only transactions having `lastValidBlockHeight` or a combination of `nonceInfo` and `minNonceContextSlot` are abortable."),i=(await e.confirmTransaction(s,n&&n.commitment)).value;if(i.err)throw null!=s?new pe({action:"send",signature:s,transactionMessage:`Status: (${JSON.stringify(i)})`}):new Error(`Transaction ${s} failed (${JSON.stringify(i)})`);return s}function me(e){return new Promise((t=>setTimeout(t,e)))}function be(e,r){let n=e.layout.span>=0?e.layout.span:j(e,r),i=t.Buffer.alloc(n),o=Object.assign({instruction:e.index},r);return e.layout.encode(o,i),i}function we(e,t){let r;try{r=e.layout.decode(t)}catch(e){throw new Error("invalid instruction; "+e)}if(r.instruction!==e.index)throw new Error(`invalid instruction; instruction index mismatch ${r.instruction} != ${e.index}`);return r}var ve=b.nu64("lamportsPerSignature"),Ae=b.struct([b.u32("version"),b.u32("state"),z("authorizedPubkey"),z("nonce"),b.struct([ve],"feeCalculator")]),Ee=Ae.span,Te=class e{constructor(e){this.authorizedPubkey=void 0,this.nonce=void 0,this.feeCalculator=void 0,this.authorizedPubkey=e.authorizedPubkey,this.nonce=e.nonce,this.feeCalculator=e.feeCalculator}static fromAccountData(t){let r=Ae.decode(O(t),0);return new e({authorizedPubkey:new x(r.authorizedPubkey),nonce:new x(r.nonce).toString(),feeCalculator:r.feeCalculator})}},Ce=(e=>r=>{let n=a.blob(e,r),{encode:i,decode:o}=(e=>({decode:e.decode.bind(e),encode:e.encode.bind(e)}))(n),s=n;return s.decode=(e,r)=>{let n=o(e,r);return c.toBigIntLE(t.Buffer.from(n))},s.encode=(t,r,n)=>{let o=c.toBufferLE(t,e);return i(o,r,n)},s})(8),Se=Object.freeze({Create:{index:0,layout:b.struct([b.u32("instruction"),b.ns64("lamports"),b.ns64("space"),z("programId")])},Assign:{index:1,layout:b.struct([b.u32("instruction"),z("programId")])},Transfer:{index:2,layout:b.struct([b.u32("instruction"),Ce("lamports")])},CreateWithSeed:{index:3,layout:b.struct([b.u32("instruction"),z("base"),K("seed"),b.ns64("lamports"),b.ns64("space"),z("programId")])},AdvanceNonceAccount:{index:4,layout:b.struct([b.u32("instruction")])},WithdrawNonceAccount:{index:5,layout:b.struct([b.u32("instruction"),b.ns64("lamports")])},InitializeNonceAccount:{index:6,layout:b.struct([b.u32("instruction"),z("authorized")])},AuthorizeNonceAccount:{index:7,layout:b.struct([b.u32("instruction"),z("authorized")])},Allocate:{index:8,layout:b.struct([b.u32("instruction"),b.ns64("space")])},AllocateWithSeed:{index:9,layout:b.struct([b.u32("instruction"),z("base"),K("seed"),b.ns64("space"),z("programId")])},AssignWithSeed:{index:10,layout:b.struct([b.u32("instruction"),z("base"),K("seed"),z("programId")])},TransferWithSeed:{index:11,layout:b.struct([b.u32("instruction"),Ce("lamports"),K("seed"),z("programId")])},UpgradeNonceAccount:{index:12,layout:b.struct([b.u32("instruction")])}}),Ie=class e{constructor(){}static createAccount(e){let t=be(Se.Create,{lamports:e.lamports,space:e.space,programId:O(e.programId.toBuffer())});return new ne({keys:[{pubkey:e.fromPubkey,isSigner:!0,isWritable:!0},{pubkey:e.newAccountPubkey,isSigner:!0,isWritable:!0}],programId:this.programId,data:t})}static transfer(e){let t,r;if("basePubkey"in e){t=be(Se.TransferWithSeed,{lamports:BigInt(e.lamports),seed:e.seed,programId:O(e.programId.toBuffer())}),r=[{pubkey:e.fromPubkey,isSigner:!1,isWritable:!0},{pubkey:e.basePubkey,isSigner:!0,isWritable:!1},{pubkey:e.toPubkey,isSigner:!1,isWritable:!0}]}else{t=be(Se.Transfer,{lamports:BigInt(e.lamports)}),r=[{pubkey:e.fromPubkey,isSigner:!0,isWritable:!0},{pubkey:e.toPubkey,isSigner:!1,isWritable:!0}]}return new ne({keys:r,programId:this.programId,data:t})}static assign(e){let t,r;if("basePubkey"in e){t=be(Se.AssignWithSeed,{base:O(e.basePubkey.toBuffer()),seed:e.seed,programId:O(e.programId.toBuffer())}),r=[{pubkey:e.accountPubkey,isSigner:!1,isWritable:!0},{pubkey:e.basePubkey,isSigner:!0,isWritable:!1}]}else{t=be(Se.Assign,{programId:O(e.programId.toBuffer())}),r=[{pubkey:e.accountPubkey,isSigner:!0,isWritable:!0}]}return new ne({keys:r,programId:this.programId,data:t})}static createAccountWithSeed(e){let t=be(Se.CreateWithSeed,{base:O(e.basePubkey.toBuffer()),seed:e.seed,lamports:e.lamports,space:e.space,programId:O(e.programId.toBuffer())}),r=[{pubkey:e.fromPubkey,isSigner:!0,isWritable:!0},{pubkey:e.newAccountPubkey,isSigner:!1,isWritable:!0}];return e.basePubkey.equals(e.fromPubkey)||r.push({pubkey:e.basePubkey,isSigner:!0,isWritable:!1}),new ne({keys:r,programId:this.programId,data:t})}static createNonceAccount(t){let r=new ie;"basePubkey"in t&&"seed"in t?r.add(e.createAccountWithSeed({fromPubkey:t.fromPubkey,newAccountPubkey:t.noncePubkey,basePubkey:t.basePubkey,seed:t.seed,lamports:t.lamports,space:Ee,programId:this.programId})):r.add(e.createAccount({fromPubkey:t.fromPubkey,newAccountPubkey:t.noncePubkey,lamports:t.lamports,space:Ee,programId:this.programId}));let n={noncePubkey:t.noncePubkey,authorizedPubkey:t.authorizedPubkey};return r.add(this.nonceInitialize(n)),r}static nonceInitialize(e){let t=be(Se.InitializeNonceAccount,{authorized:O(e.authorizedPubkey.toBuffer())}),r={keys:[{pubkey:e.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:ce,isSigner:!1,isWritable:!1},{pubkey:ue,isSigner:!1,isWritable:!1}],programId:this.programId,data:t};return new ne(r)}static nonceAdvance(e){let t=be(Se.AdvanceNonceAccount),r={keys:[{pubkey:e.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:ce,isSigner:!1,isWritable:!1},{pubkey:e.authorizedPubkey,isSigner:!0,isWritable:!1}],programId:this.programId,data:t};return new ne(r)}static nonceWithdraw(e){let t=be(Se.WithdrawNonceAccount,{lamports:e.lamports});return new ne({keys:[{pubkey:e.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:e.toPubkey,isSigner:!1,isWritable:!0},{pubkey:ce,isSigner:!1,isWritable:!1},{pubkey:ue,isSigner:!1,isWritable:!1},{pubkey:e.authorizedPubkey,isSigner:!0,isWritable:!1}],programId:this.programId,data:t})}static nonceAuthorize(e){let t=be(Se.AuthorizeNonceAccount,{authorized:O(e.newAuthorizedPubkey.toBuffer())});return new ne({keys:[{pubkey:e.noncePubkey,isSigner:!1,isWritable:!0},{pubkey:e.authorizedPubkey,isSigner:!0,isWritable:!1}],programId:this.programId,data:t})}static allocate(e){let t,r;if("basePubkey"in e){t=be(Se.AllocateWithSeed,{base:O(e.basePubkey.toBuffer()),seed:e.seed,space:e.space,programId:O(e.programId.toBuffer())}),r=[{pubkey:e.accountPubkey,isSigner:!1,isWritable:!0},{pubkey:e.basePubkey,isSigner:!0,isWritable:!1}]}else{t=be(Se.Allocate,{space:e.space}),r=[{pubkey:e.accountPubkey,isSigner:!0,isWritable:!0}]}return new ne({keys:r,programId:this.programId,data:t})}};Ie.programId=new x("11111111111111111111111111111111");var Oe=class e{constructor(){}static getMinNumSignatures(t){return 2*(Math.ceil(t/e.chunkSize)+1+1)}static async load(r,n,i,o,s){{let e=await r.getMinimumBalanceForRentExemption(s.length),t=await r.getAccountInfo(i.publicKey,"confirmed"),a=null;if(null!==t){if(t.executable)return console.error("Program load failed, account is already executable"),!1;t.data.length!==s.length&&(a=a||new ie,a.add(Ie.allocate({accountPubkey:i.publicKey,space:s.length}))),t.owner.equals(o)||(a=a||new ie,a.add(Ie.assign({accountPubkey:i.publicKey,programId:o}))),t.lamports<e&&(a=a||new ie,a.add(Ie.transfer({fromPubkey:n.publicKey,toPubkey:i.publicKey,lamports:e-t.lamports})))}else a=(new ie).add(Ie.createAccount({fromPubkey:n.publicKey,newAccountPubkey:i.publicKey,lamports:e>0?e:1,space:s.length,programId:o}));null!==a&&await ye(r,a,[n,i],{commitment:"confirmed"})}let a=b.struct([b.u32("instruction"),b.u32("offset"),b.u32("bytesLength"),b.u32("bytesLengthPadding"),b.seq(b.u8("byte"),b.offset(b.u32(),-8),"bytes")]),c=e.chunkSize,u=0,l=s,d=[];for(;l.length>0;){let e=l.slice(0,c),s=t.Buffer.alloc(c+16);a.encode({instruction:0,offset:u,bytes:e,bytesLength:0,bytesLengthPadding:0},s);let h=(new ie).add({keys:[{pubkey:i.publicKey,isSigner:!0,isWritable:!0}],programId:o,data:s});d.push(ye(r,h,[n,i],{commitment:"confirmed"})),r._rpcEndpoint.includes("solana.com")&&await me(250),u+=c,l=l.slice(c)}await Promise.all(d);{let e=b.struct([b.u32("instruction")]),s=t.Buffer.alloc(e.span);e.encode({instruction:1},s);let a=(new ie).add({keys:[{pubkey:i.publicKey,isSigner:!0,isWritable:!0},{pubkey:ue,isSigner:!1,isWritable:!1}],programId:o,data:s}),c="processed",u=await r.sendTransaction(a,[n,i],{preflightCommitment:c}),{context:l,value:d}=await r.confirmTransaction({signature:u,lastValidBlockHeight:a.lastValidBlockHeight,blockhash:a.recentBlockhash},c);if(d.err)throw new Error(`Transaction ${u} failed (${JSON.stringify(d)})`);for(;;){try{if(await r.getSlot({commitment:c})>l.slot)break}catch{}await new Promise((e=>setTimeout(e,Math.round(200))))}}return!0}};Oe.chunkSize=932;var Me,Pe,ke=new x("BPFLoader2111111111111111111111111111111111");var Be=function(){if(Pe)return Me;Pe=1;var e=Object.prototype.toString,t=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};function r(n,i){var o,s,a,c,u,l,d;if(!0===n)return"true";if(!1===n)return"false";switch(typeof n){case"object":if(null===n)return null;if(n.toJSON&&"function"==typeof n.toJSON)return r(n.toJSON(),i);if("[object Array]"===(d=e.call(n))){for(a="[",s=n.length-1,o=0;o<s;o++)a+=r(n[o],!0)+",";return s>-1&&(a+=r(n[o],!0)),a+"]"}if("[object Object]"===d){for(s=(c=t(n).sort()).length,a="",o=0;o<s;)void 0!==(l=r(n[u=c[o]],!1))&&(a&&(a+=","),a+=JSON.stringify(u)+":"+l),o++;return"{"+a+"}"}return JSON.stringify(n);case"function":case"undefined":return i?null:void 0;case"string":return JSON.stringify(n);default:return isFinite(n)?n:null}}return Me=function(e){var t=r(e,!1);if(void 0!==t)return""+t}}(),xe=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Be);function Ne(e){let t=0;for(;e>1;)e/=2,t++;return t}var Re=class{constructor(e,t,r,n,i){this.slotsPerEpoch=void 0,this.leaderScheduleSlotOffset=void 0,this.warmup=void 0,this.firstNormalEpoch=void 0,this.firstNormalSlot=void 0,this.slotsPerEpoch=e,this.leaderScheduleSlotOffset=t,this.warmup=r,this.firstNormalEpoch=n,this.firstNormalSlot=i}getEpoch(e){return this.getEpochAndSlotIndex(e)[0]}getEpochAndSlotIndex(e){if(e<this.firstNormalSlot){let t=Ne(function(e){return 0===e?1:(e--,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,1+(e|=e>>32))}(e+32+1))-Ne(32)-1;return[t,e-(this.getSlotsInEpoch(t)-32)]}{let t=e-this.firstNormalSlot,r=Math.floor(t/this.slotsPerEpoch);return[this.firstNormalEpoch+r,t%this.slotsPerEpoch]}}getFirstSlotInEpoch(e){return e<=this.firstNormalEpoch?32*(Math.pow(2,e)-1):(e-this.firstNormalEpoch)*this.slotsPerEpoch+this.firstNormalSlot}getLastSlotInEpoch(e){return this.getFirstSlotInEpoch(e)+this.getSlotsInEpoch(e)-1}getSlotsInEpoch(e){return e<this.firstNormalEpoch?Math.pow(2,e+Ne(32)):this.slotsPerEpoch}},_e=globalThis.fetch,Ue=class extends d.CommonClient{constructor(e,t,r){super((e=>{let r=d.WebSocket(e,{autoconnect:!0,max_reconnects:5,reconnect:!0,reconnect_interval:1e3,...t});return this.underlyingSocket="socket"in r?r.socket:r,r}),e,t,r),this.underlyingSocket=void 0}call(...e){let t=this.underlyingSocket?.readyState;return 1===t?super.call(...e):Promise.reject(new Error("Tried to call a JSON-RPC method `"+e[0]+"` but the socket was not `CONNECTING` or `OPEN` (`readyState` was "+t+")"))}notify(...e){let t=this.underlyingSocket?.readyState;return 1===t?super.notify(...e):Promise.reject(new Error("Tried to send a JSON-RPC notification `"+e[0]+"` but the socket was not `CONNECTING` or `OPEN` (`readyState` was "+t+")"))}};var De=class{constructor(e){this.key=void 0,this.state=void 0,this.key=e.key,this.state=e.state}isActive(){let e=BigInt("0xffffffffffffffff");return this.state.deactivationSlot===e}static deserialize(e){let t=function(e,t){let r;try{r=e.layout.decode(t)}catch(e){throw new Error("invalid instruction; "+e)}if(r.typeIndex!==e.index)throw new Error(`invalid account data; account type mismatch ${r.typeIndex} != ${e.index}`);return r}(We,e),r=e.length-56;V(r>=0,"lookup table is invalid"),V(r%32==0,"lookup table is invalid");let n=r/32,{addresses:i}=b.struct([b.seq(z(),n,"addresses")]).decode(e.slice(56));return{deactivationSlot:t.deactivationSlot,lastExtendedSlot:t.lastExtendedSlot,lastExtendedSlotStartIndex:t.lastExtendedStartIndex,authority:0!==t.authority.length?new x(t.authority[0]):void 0,addresses:i.map((e=>new x(e)))}}},We={index:1,layout:b.struct([b.u32("typeIndex"),Ce("deactivationSlot"),b.nu64("lastExtendedSlot"),b.u8("lastExtendedStartIndex"),b.u8(),b.seq(z(),b.offset(b.u8(),-1),"authority")])},Le=/^[^:]+:\/\/([^:[]+|\[[^\]]+\])(:\d+)?(.*)/i;var ze=u.coerce(u.instance(x),u.string(),(e=>new x(e))),Fe=u.tuple([u.string(),u.literal("base64")]),Ke=u.coerce(u.instance(t.Buffer),Fe,(e=>t.Buffer.from(e[0],"base64")));function je(e){let t,r;if("string"==typeof e)t=e;else if(e){let{commitment:n,...i}=e;t=n,r=i}return{commitment:t,config:r}}function He(e){return e.map((e=>"memcmp"in e?{...e,memcmp:{...e.memcmp,encoding:e.memcmp.encoding??"base58"}}:e))}function Ge(e){return u.union([u.type({jsonrpc:u.literal("2.0"),id:u.string(),result:e}),u.type({jsonrpc:u.literal("2.0"),id:u.string(),error:u.type({code:u.unknown(),message:u.string(),data:u.optional(u.any())})})])}var Ve=Ge(u.unknown());function qe(e){return u.coerce(Ge(e),Ve,(t=>"error"in t?t:{...t,result:u.create(t.result,e)}))}function Je(e){return qe(u.type({context:u.type({slot:u.number()}),value:e}))}function Ye(e){return u.type({context:u.type({slot:u.number()}),value:e})}function Xe(e,t){return 0===e?new $({header:t.header,staticAccountKeys:t.accountKeys.map((e=>new x(e))),recentBlockhash:t.recentBlockhash,compiledInstructions:t.instructions.map((e=>({programIdIndex:e.programIdIndex,accountKeyIndexes:e.accounts,data:y.default.decode(e.data)}))),addressTableLookups:t.addressTableLookups}):new Z(t)}var Qe=u.type({foundation:u.number(),foundationTerm:u.number(),initial:u.number(),taper:u.number(),terminal:u.number()}),Ze=qe(u.array(u.nullable(u.type({epoch:u.number(),effectiveSlot:u.number(),amount:u.number(),postBalance:u.number(),commission:u.optional(u.nullable(u.number()))})))),$e=u.array(u.type({slot:u.number(),prioritizationFee:u.number()})),et=u.type({total:u.number(),validator:u.number(),foundation:u.number(),epoch:u.number()}),tt=u.type({epoch:u.number(),slotIndex:u.number(),slotsInEpoch:u.number(),absoluteSlot:u.number(),blockHeight:u.optional(u.number()),transactionCount:u.optional(u.number())}),rt=u.type({slotsPerEpoch:u.number(),leaderScheduleSlotOffset:u.number(),warmup:u.boolean(),firstNormalEpoch:u.number(),firstNormalSlot:u.number()}),nt=u.record(u.string(),u.array(u.number())),it=u.nullable(u.union([u.type({}),u.string()])),ot=u.type({err:it}),st=u.literal("receivedSignature"),at=u.type({"solana-core":u.string(),"feature-set":u.optional(u.number())}),ct=u.type({program:u.string(),programId:ze,parsed:u.unknown()}),ut=u.type({programId:ze,accounts:u.array(ze),data:u.string()}),lt=Je(u.type({err:u.nullable(u.union([u.type({}),u.string()])),logs:u.nullable(u.array(u.string())),accounts:u.optional(u.nullable(u.array(u.nullable(u.type({executable:u.boolean(),owner:u.string(),lamports:u.number(),data:u.array(u.string()),rentEpoch:u.optional(u.number())}))))),unitsConsumed:u.optional(u.number()),returnData:u.optional(u.nullable(u.type({programId:u.string(),data:u.tuple([u.string(),u.literal("base64")])}))),innerInstructions:u.optional(u.nullable(u.array(u.type({index:u.number(),instructions:u.array(u.union([ct,ut]))}))))})),dt=Je(u.type({byIdentity:u.record(u.string(),u.array(u.number())),range:u.type({firstSlot:u.number(),lastSlot:u.number()})}));var ht=qe(Qe),ft=qe(et),pt=qe($e),gt=qe(tt),yt=qe(rt),mt=qe(nt),bt=qe(u.number()),wt=Je(u.type({total:u.number(),circulating:u.number(),nonCirculating:u.number(),nonCirculatingAccounts:u.array(ze)})),vt=u.type({amount:u.string(),uiAmount:u.nullable(u.number()),decimals:u.number(),uiAmountString:u.optional(u.string())}),At=Je(u.array(u.type({address:ze,amount:u.string(),uiAmount:u.nullable(u.number()),decimals:u.number(),uiAmountString:u.optional(u.string())}))),Et=Je(u.array(u.type({pubkey:ze,account:u.type({executable:u.boolean(),owner:ze,lamports:u.number(),data:Ke,rentEpoch:u.number()})}))),Tt=u.type({program:u.string(),parsed:u.unknown(),space:u.number()}),Ct=Je(u.array(u.type({pubkey:ze,account:u.type({executable:u.boolean(),owner:ze,lamports:u.number(),data:Tt,rentEpoch:u.number()})}))),St=Je(u.array(u.type({lamports:u.number(),address:ze}))),It=u.type({executable:u.boolean(),owner:ze,lamports:u.number(),data:Ke,rentEpoch:u.number()}),Ot=u.type({pubkey:ze,account:It}),Mt=u.coerce(u.union([u.instance(t.Buffer),Tt]),u.union([Fe,Tt]),(e=>Array.isArray(e)?u.create(e,Ke):e)),Pt=u.type({executable:u.boolean(),owner:ze,lamports:u.number(),data:Mt,rentEpoch:u.number()}),kt=u.type({pubkey:ze,account:Pt}),Bt=u.type({state:u.union([u.literal("active"),u.literal("inactive"),u.literal("activating"),u.literal("deactivating")]),active:u.number(),inactive:u.number()}),xt=qe(u.array(u.type({signature:u.string(),slot:u.number(),err:it,memo:u.nullable(u.string()),blockTime:u.optional(u.nullable(u.number()))}))),Nt=qe(u.array(u.type({signature:u.string(),slot:u.number(),err:it,memo:u.nullable(u.string()),blockTime:u.optional(u.nullable(u.number()))}))),Rt=u.type({subscription:u.number(),result:Ye(It)}),_t=u.type({pubkey:ze,account:It}),Ut=u.type({subscription:u.number(),result:Ye(_t)}),Dt=u.type({parent:u.number(),slot:u.number(),root:u.number()}),Wt=u.type({subscription:u.number(),result:Dt}),Lt=u.union([u.type({type:u.union([u.literal("firstShredReceived"),u.literal("completed"),u.literal("optimisticConfirmation"),u.literal("root")]),slot:u.number(),timestamp:u.number()}),u.type({type:u.literal("createdBank"),parent:u.number(),slot:u.number(),timestamp:u.number()}),u.type({type:u.literal("frozen"),slot:u.number(),timestamp:u.number(),stats:u.type({numTransactionEntries:u.number(),numSuccessfulTransactions:u.number(),numFailedTransactions:u.number(),maxTransactionsPerEntry:u.number()})}),u.type({type:u.literal("dead"),slot:u.number(),timestamp:u.number(),err:u.string()})]),zt=u.type({subscription:u.number(),result:Lt}),Ft=u.type({subscription:u.number(),result:Ye(u.union([ot,st]))}),Kt=u.type({subscription:u.number(),result:u.number()}),jt=u.type({pubkey:u.string(),gossip:u.nullable(u.string()),tpu:u.nullable(u.string()),rpc:u.nullable(u.string()),version:u.nullable(u.string())}),Ht=u.type({votePubkey:u.string(),nodePubkey:u.string(),activatedStake:u.number(),epochVoteAccount:u.boolean(),epochCredits:u.array(u.tuple([u.number(),u.number(),u.number()])),commission:u.number(),lastVote:u.number(),rootSlot:u.nullable(u.number())}),Gt=qe(u.type({current:u.array(Ht),delinquent:u.array(Ht)})),Vt=u.union([u.literal("processed"),u.literal("confirmed"),u.literal("finalized")]),qt=u.type({slot:u.number(),confirmations:u.nullable(u.number()),err:it,confirmationStatus:u.optional(Vt)}),Jt=Je(u.array(u.nullable(qt))),Yt=qe(u.number()),Xt=u.type({accountKey:ze,writableIndexes:u.array(u.number()),readonlyIndexes:u.array(u.number())}),Qt=u.type({signatures:u.array(u.string()),message:u.type({accountKeys:u.array(u.string()),header:u.type({numRequiredSignatures:u.number(),numReadonlySignedAccounts:u.number(),numReadonlyUnsignedAccounts:u.number()}),instructions:u.array(u.type({accounts:u.array(u.number()),data:u.string(),programIdIndex:u.number()})),recentBlockhash:u.string(),addressTableLookups:u.optional(u.array(Xt))})}),Zt=u.type({pubkey:ze,signer:u.boolean(),writable:u.boolean(),source:u.optional(u.union([u.literal("transaction"),u.literal("lookupTable")]))}),$t=u.type({accountKeys:u.array(Zt),signatures:u.array(u.string())}),er=u.type({parsed:u.unknown(),program:u.string(),programId:ze}),tr=u.type({accounts:u.array(ze),data:u.string(),programId:ze}),rr=u.union([tr,er]),nr=u.union([u.type({parsed:u.unknown(),program:u.string(),programId:u.string()}),u.type({accounts:u.array(u.string()),data:u.string(),programId:u.string()})]),ir=u.coerce(rr,nr,(e=>"accounts"in e?u.create(e,tr):u.create(e,er))),or=u.type({signatures:u.array(u.string()),message:u.type({accountKeys:u.array(Zt),instructions:u.array(ir),recentBlockhash:u.string(),addressTableLookups:u.optional(u.nullable(u.array(Xt)))})}),sr=u.type({accountIndex:u.number(),mint:u.string(),owner:u.optional(u.string()),programId:u.optional(u.string()),uiTokenAmount:vt}),ar=u.type({writable:u.array(ze),readonly:u.array(ze)}),cr=u.type({err:it,fee:u.number(),innerInstructions:u.optional(u.nullable(u.array(u.type({index:u.number(),instructions:u.array(u.type({accounts:u.array(u.number()),data:u.string(),programIdIndex:u.number()}))})))),preBalances:u.array(u.number()),postBalances:u.array(u.number()),logMessages:u.optional(u.nullable(u.array(u.string()))),preTokenBalances:u.optional(u.nullable(u.array(sr))),postTokenBalances:u.optional(u.nullable(u.array(sr))),loadedAddresses:u.optional(ar),computeUnitsConsumed:u.optional(u.number())}),ur=u.type({err:it,fee:u.number(),innerInstructions:u.optional(u.nullable(u.array(u.type({index:u.number(),instructions:u.array(ir)})))),preBalances:u.array(u.number()),postBalances:u.array(u.number()),logMessages:u.optional(u.nullable(u.array(u.string()))),preTokenBalances:u.optional(u.nullable(u.array(sr))),postTokenBalances:u.optional(u.nullable(u.array(sr))),loadedAddresses:u.optional(ar),computeUnitsConsumed:u.optional(u.number())}),lr=u.union([u.literal(0),u.literal("legacy")]),dr=u.type({pubkey:u.string(),lamports:u.number(),postBalance:u.nullable(u.number()),rewardType:u.nullable(u.string()),commission:u.optional(u.nullable(u.number()))}),hr=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),transactions:u.array(u.type({transaction:Qt,meta:u.nullable(cr),version:u.optional(lr)})),rewards:u.optional(u.array(dr)),blockTime:u.nullable(u.number()),blockHeight:u.nullable(u.number())}))),fr=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),rewards:u.optional(u.array(dr)),blockTime:u.nullable(u.number()),blockHeight:u.nullable(u.number())}))),pr=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),transactions:u.array(u.type({transaction:$t,meta:u.nullable(cr),version:u.optional(lr)})),rewards:u.optional(u.array(dr)),blockTime:u.nullable(u.number()),blockHeight:u.nullable(u.number())}))),gr=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),transactions:u.array(u.type({transaction:or,meta:u.nullable(ur),version:u.optional(lr)})),rewards:u.optional(u.array(dr)),blockTime:u.nullable(u.number()),blockHeight:u.nullable(u.number())}))),yr=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),transactions:u.array(u.type({transaction:$t,meta:u.nullable(ur),version:u.optional(lr)})),rewards:u.optional(u.array(dr)),blockTime:u.nullable(u.number()),blockHeight:u.nullable(u.number())}))),mr=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),rewards:u.optional(u.array(dr)),blockTime:u.nullable(u.number()),blockHeight:u.nullable(u.number())}))),br=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),transactions:u.array(u.type({transaction:Qt,meta:u.nullable(cr)})),rewards:u.optional(u.array(dr)),blockTime:u.nullable(u.number())}))),wr=qe(u.nullable(u.type({blockhash:u.string(),previousBlockhash:u.string(),parentSlot:u.number(),signatures:u.array(u.string()),blockTime:u.nullable(u.number())}))),vr=qe(u.nullable(u.type({slot:u.number(),meta:u.nullable(cr),blockTime:u.optional(u.nullable(u.number())),transaction:Qt,version:u.optional(lr)}))),Ar=qe(u.nullable(u.type({slot:u.number(),transaction:or,meta:u.nullable(ur),blockTime:u.optional(u.nullable(u.number())),version:u.optional(lr)}))),Er=Je(u.type({blockhash:u.string(),lastValidBlockHeight:u.number()})),Tr=Je(u.boolean()),Cr=u.type({slot:u.number(),numTransactions:u.number(),numSlots:u.number(),samplePeriodSecs:u.number()}),Sr=qe(u.array(Cr)),Ir=Je(u.nullable(u.type({feeCalculator:u.type({lamportsPerSignature:u.number()})}))),Or=qe(u.string()),Mr=qe(u.string()),Pr=u.type({err:it,logs:u.array(u.string()),signature:u.string()}),kr=u.type({result:Ye(Pr),subscription:u.number()}),Br={"solana-client":"js/1.0.0-maintenance"},xr=class e{constructor(e){this._keypair=void 0,this._keypair=e??A()}static generate(){return new e(A())}static fromSecretKey(t,r){if(64!==t.byteLength)throw new Error("bad secret key size");let n=t.slice(32,64);if(!r||!r.skipValidation){let e=t.slice(0,32),r=E(e);for(let e=0;e<32;e++)if(n[e]!==r[e])throw new Error("provided secretKey is invalid")}return new e({publicKey:n,secretKey:t})}static fromSeed(t){let r=E(t),n=new Uint8Array(64);return n.set(t),n.set(r,32),new e({publicKey:r,secretKey:n})}get publicKey(){return new x(this._keypair.publicKey)}get secretKey(){return new Uint8Array(this._keypair.secretKey)}},Nr=Object.freeze({CreateLookupTable:{index:0,layout:b.struct([b.u32("instruction"),Ce("recentSlot"),b.u8("bumpSeed")])},FreezeLookupTable:{index:1,layout:b.struct([b.u32("instruction")])},ExtendLookupTable:{index:2,layout:b.struct([b.u32("instruction"),Ce(),b.seq(z(),b.offset(b.u32(),-8),"addresses")])},DeactivateLookupTable:{index:3,layout:b.struct([b.u32("instruction")])},CloseLookupTable:{index:4,layout:b.struct([b.u32("instruction")])}}),Rr=class{constructor(){}static createLookupTable(e){let[t,r]=x.findProgramAddressSync([e.authority.toBuffer(),c.toBufferLE(BigInt(e.recentSlot),8)],this.programId),n=be(Nr.CreateLookupTable,{recentSlot:BigInt(e.recentSlot),bumpSeed:r}),i=[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:e.authority,isSigner:!0,isWritable:!1},{pubkey:e.payer,isSigner:!0,isWritable:!0},{pubkey:Ie.programId,isSigner:!1,isWritable:!1}];return[new ne({programId:this.programId,keys:i,data:n}),t]}static freezeLookupTable(e){let t=be(Nr.FreezeLookupTable),r=[{pubkey:e.lookupTable,isSigner:!1,isWritable:!0},{pubkey:e.authority,isSigner:!0,isWritable:!1}];return new ne({programId:this.programId,keys:r,data:t})}static extendLookupTable(e){let t=be(Nr.ExtendLookupTable,{addresses:e.addresses.map((e=>e.toBytes()))}),r=[{pubkey:e.lookupTable,isSigner:!1,isWritable:!0},{pubkey:e.authority,isSigner:!0,isWritable:!1}];return e.payer&&r.push({pubkey:e.payer,isSigner:!0,isWritable:!0},{pubkey:Ie.programId,isSigner:!1,isWritable:!1}),new ne({programId:this.programId,keys:r,data:t})}static deactivateLookupTable(e){let t=be(Nr.DeactivateLookupTable),r=[{pubkey:e.lookupTable,isSigner:!1,isWritable:!0},{pubkey:e.authority,isSigner:!0,isWritable:!1}];return new ne({programId:this.programId,keys:r,data:t})}static closeLookupTable(e){let t=be(Nr.CloseLookupTable),r=[{pubkey:e.lookupTable,isSigner:!1,isWritable:!0},{pubkey:e.authority,isSigner:!0,isWritable:!1},{pubkey:e.recipient,isSigner:!1,isWritable:!0}];return new ne({programId:this.programId,keys:r,data:t})}};Rr.programId=new x("AddressLookupTab1e1111111111111111111111111");var _r=Object.freeze({RequestUnits:{index:0,layout:b.struct([b.u8("instruction"),b.u32("units"),b.u32("additionalFee")])},RequestHeapFrame:{index:1,layout:b.struct([b.u8("instruction"),b.u32("bytes")])},SetComputeUnitLimit:{index:2,layout:b.struct([b.u8("instruction"),b.u32("units")])},SetComputeUnitPrice:{index:3,layout:b.struct([b.u8("instruction"),Ce("microLamports")])}}),Ur=class{constructor(){}static requestUnits(e){let t=be(_r.RequestUnits,e);return new ne({keys:[],programId:this.programId,data:t})}static requestHeapFrame(e){let t=be(_r.RequestHeapFrame,e);return new ne({keys:[],programId:this.programId,data:t})}static setComputeUnitLimit(e){let t=be(_r.SetComputeUnitLimit,e);return new ne({keys:[],programId:this.programId,data:t})}static setComputeUnitPrice(e){let t=be(_r.SetComputeUnitPrice,{microLamports:BigInt(e.microLamports)});return new ne({keys:[],programId:this.programId,data:t})}};Ur.programId=new x("ComputeBudget111111111111111111111111111111");var Dr=b.struct([b.u8("numSignatures"),b.u8("padding"),b.u16("signatureOffset"),b.u16("signatureInstructionIndex"),b.u16("publicKeyOffset"),b.u16("publicKeyInstructionIndex"),b.u16("messageDataOffset"),b.u16("messageDataSize"),b.u16("messageInstructionIndex")]),Wr=class e{constructor(){}static createInstructionWithPublicKey(r){let{publicKey:n,message:i,signature:o,instructionIndex:s}=r;V(32===n.length,`Public Key must be 32 bytes but received ${n.length} bytes`),V(64===o.length,`Signature must be 64 bytes but received ${o.length} bytes`);let a=Dr.span,c=a+n.length,u=c+o.length,l=t.Buffer.alloc(u+i.length),d=s??65535;return Dr.encode({numSignatures:1,padding:0,signatureOffset:c,signatureInstructionIndex:d,publicKeyOffset:a,publicKeyInstructionIndex:d,messageDataOffset:u,messageDataSize:i.length,messageInstructionIndex:d},l),l.fill(n,a),l.fill(o,c),l.fill(i,u),new ne({keys:[],programId:e.programId,data:l})}static createInstructionWithPrivateKey(e){let{privateKey:t,message:r,instructionIndex:n}=e;V(64===t.length,`Private key must be 64 bytes but received ${t.length} bytes`);try{let e=xr.fromSecretKey(t),i=e.publicKey.toBytes(),o=S(r,e.secretKey);return this.createInstructionWithPublicKey({publicKey:i,message:r,signature:o,instructionIndex:n})}catch(e){throw new Error(`Error creating instruction; ${e}`)}}};Wr.programId=new x("Ed25519SigVerify111111111111111111111111111");f.secp256k1.utils.isValidPrivateKey;var Lr=f.secp256k1.getPublicKey,zr=b.struct([b.u8("numSignatures"),b.u16("signatureOffset"),b.u8("signatureInstructionIndex"),b.u16("ethAddressOffset"),b.u8("ethAddressInstructionIndex"),b.u16("messageDataOffset"),b.u16("messageDataSize"),b.u8("messageInstructionIndex"),b.blob(20,"ethAddress"),b.blob(64,"signature"),b.u8("recoveryId")]),Fr=class e{constructor(){}static publicKeyToEthAddress(e){V(64===e.length,`Public key must be 64 bytes but received ${e.length} bytes`);try{return t.Buffer.from(h.keccak_256(O(e))).slice(-20)}catch(e){throw new Error(`Error constructing Ethereum address: ${e}`)}}static createInstructionWithPublicKey(t){let{publicKey:r,message:n,signature:i,recoveryId:o,instructionIndex:s}=t;return e.createInstructionWithEthAddress({ethAddress:e.publicKeyToEthAddress(r),message:n,signature:i,recoveryId:o,instructionIndex:s})}static createInstructionWithEthAddress(r){let n,{ethAddress:i,message:o,signature:s,recoveryId:a,instructionIndex:c=0}=r;n="string"==typeof i?i.startsWith("0x")?t.Buffer.from(i.substr(2),"hex"):t.Buffer.from(i,"hex"):i,V(20===n.length,`Address must be 20 bytes but received ${n.length} bytes`);let u=12+n.length,l=u+s.length+1,d=t.Buffer.alloc(zr.span+o.length);return zr.encode({numSignatures:1,signatureOffset:u,signatureInstructionIndex:c,ethAddressOffset:12,ethAddressInstructionIndex:c,messageDataOffset:l,messageDataSize:o.length,messageInstructionIndex:c,signature:O(s),ethAddress:O(n),recoveryId:a},d),d.fill(O(o),zr.span),new ne({keys:[],programId:e.programId,data:d})}static createInstructionWithPrivateKey(e){let{privateKey:r,message:n,instructionIndex:i}=e;V(32===r.length,`Private key must be 32 bytes but received ${r.length} bytes`);try{let e=O(r),o=Lr(e,!1).slice(1),s=t.Buffer.from(h.keccak_256(O(n))),[a,c]=((e,t)=>{let r=f.secp256k1.sign(e,t);return[r.toCompactRawBytes(),r.recovery]})(s,e);return this.createInstructionWithPublicKey({publicKey:o,message:n,signature:a,recoveryId:c,instructionIndex:i})}catch(e){throw new Error(`Error creating instruction; ${e}`)}}};Fr.programId=new x("KeccakSecp256k11111111111111111111111111111");var Kr,jr=new x("StakeConfig11111111111111111111111111111111"),Hr=class{constructor(e,t){this.staker=void 0,this.withdrawer=void 0,this.staker=e,this.withdrawer=t}},Gr=class{constructor(e,t,r){this.unixTimestamp=void 0,this.epoch=void 0,this.custodian=void 0,this.unixTimestamp=e,this.epoch=t,this.custodian=r}};Kr=Gr,Gr.default=new Kr(0,0,x.default);var Vr=Object.freeze({Initialize:{index:0,layout:b.struct([b.u32("instruction"),((e="authorized")=>b.struct([z("staker"),z("withdrawer")],e))(),((e="lockup")=>b.struct([b.ns64("unixTimestamp"),b.ns64("epoch"),z("custodian")],e))()])},Authorize:{index:1,layout:b.struct([b.u32("instruction"),z("newAuthorized"),b.u32("stakeAuthorizationType")])},Delegate:{index:2,layout:b.struct([b.u32("instruction")])},Split:{index:3,layout:b.struct([b.u32("instruction"),b.ns64("lamports")])},Withdraw:{index:4,layout:b.struct([b.u32("instruction"),b.ns64("lamports")])},Deactivate:{index:5,layout:b.struct([b.u32("instruction")])},Merge:{index:7,layout:b.struct([b.u32("instruction")])},AuthorizeWithSeed:{index:8,layout:b.struct([b.u32("instruction"),z("newAuthorized"),b.u32("stakeAuthorizationType"),K("authoritySeed"),z("authorityOwner")])}}),qr=Object.freeze({Staker:{index:0},Withdrawer:{index:1}}),Jr=class{constructor(){}static initialize(e){let{stakePubkey:t,authorized:r,lockup:n}=e,i=n||Gr.default,o=be(Vr.Initialize,{authorized:{staker:O(r.staker.toBuffer()),withdrawer:O(r.withdrawer.toBuffer())},lockup:{unixTimestamp:i.unixTimestamp,epoch:i.epoch,custodian:O(i.custodian.toBuffer())}}),s={keys:[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:ue,isSigner:!1,isWritable:!1}],programId:this.programId,data:o};return new ne(s)}static createAccountWithSeed(e){let t=new ie;t.add(Ie.createAccountWithSeed({fromPubkey:e.fromPubkey,newAccountPubkey:e.stakePubkey,basePubkey:e.basePubkey,seed:e.seed,lamports:e.lamports,space:this.space,programId:this.programId}));let{stakePubkey:r,authorized:n,lockup:i}=e;return t.add(this.initialize({stakePubkey:r,authorized:n,lockup:i}))}static createAccount(e){let t=new ie;t.add(Ie.createAccount({fromPubkey:e.fromPubkey,newAccountPubkey:e.stakePubkey,lamports:e.lamports,space:this.space,programId:this.programId}));let{stakePubkey:r,authorized:n,lockup:i}=e;return t.add(this.initialize({stakePubkey:r,authorized:n,lockup:i}))}static delegate(e){let{stakePubkey:t,authorizedPubkey:r,votePubkey:n}=e,i=be(Vr.Delegate);return(new ie).add({keys:[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!1,isWritable:!1},{pubkey:oe,isSigner:!1,isWritable:!1},{pubkey:fe,isSigner:!1,isWritable:!1},{pubkey:jr,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}],programId:this.programId,data:i})}static authorize(e){let{stakePubkey:t,authorizedPubkey:r,newAuthorizedPubkey:n,stakeAuthorizationType:i,custodianPubkey:o}=e,s=be(Vr.Authorize,{newAuthorized:O(n.toBuffer()),stakeAuthorizationType:i.index}),a=[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:oe,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!0,isWritable:!1}];return o&&a.push({pubkey:o,isSigner:!0,isWritable:!1}),(new ie).add({keys:a,programId:this.programId,data:s})}static authorizeWithSeed(e){let{stakePubkey:t,authorityBase:r,authoritySeed:n,authorityOwner:i,newAuthorizedPubkey:o,stakeAuthorizationType:s,custodianPubkey:a}=e,c=be(Vr.AuthorizeWithSeed,{newAuthorized:O(o.toBuffer()),stakeAuthorizationType:s.index,authoritySeed:n,authorityOwner:O(i.toBuffer())}),u=[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!0,isWritable:!1},{pubkey:oe,isSigner:!1,isWritable:!1}];return a&&u.push({pubkey:a,isSigner:!0,isWritable:!1}),(new ie).add({keys:u,programId:this.programId,data:c})}static splitInstruction(e){let{stakePubkey:t,authorizedPubkey:r,splitStakePubkey:n,lamports:i}=e,o=be(Vr.Split,{lamports:i});return new ne({keys:[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!0,isWritable:!1}],programId:this.programId,data:o})}static split(e,t){let r=new ie;return r.add(Ie.createAccount({fromPubkey:e.authorizedPubkey,newAccountPubkey:e.splitStakePubkey,lamports:t,space:this.space,programId:this.programId})),r.add(this.splitInstruction(e))}static splitWithSeed(e,t){let{stakePubkey:r,authorizedPubkey:n,splitStakePubkey:i,basePubkey:o,seed:s,lamports:a}=e,c=new ie;return c.add(Ie.allocate({accountPubkey:i,basePubkey:o,seed:s,space:this.space,programId:this.programId})),t&&t>0&&c.add(Ie.transfer({fromPubkey:e.authorizedPubkey,toPubkey:i,lamports:t})),c.add(this.splitInstruction({stakePubkey:r,authorizedPubkey:n,splitStakePubkey:i,lamports:a}))}static merge(e){let{stakePubkey:t,sourceStakePubKey:r,authorizedPubkey:n}=e,i=be(Vr.Merge);return(new ie).add({keys:[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!1,isWritable:!0},{pubkey:oe,isSigner:!1,isWritable:!1},{pubkey:fe,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:i})}static withdraw(e){let{stakePubkey:t,authorizedPubkey:r,toPubkey:n,lamports:i,custodianPubkey:o}=e,s=be(Vr.Withdraw,{lamports:i}),a=[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!1,isWritable:!0},{pubkey:oe,isSigner:!1,isWritable:!1},{pubkey:fe,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}];return o&&a.push({pubkey:o,isSigner:!0,isWritable:!1}),(new ie).add({keys:a,programId:this.programId,data:s})}static deactivate(e){let{stakePubkey:t,authorizedPubkey:r}=e,n=be(Vr.Deactivate);return(new ie).add({keys:[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:oe,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}],programId:this.programId,data:n})}};Jr.programId=new x("Stake11111111111111111111111111111111111111"),Jr.space=200;var Yr=class{constructor(e,t,r,n){this.nodePubkey=void 0,this.authorizedVoter=void 0,this.authorizedWithdrawer=void 0,this.commission=void 0,this.nodePubkey=e,this.authorizedVoter=t,this.authorizedWithdrawer=r,this.commission=n}},Xr=Object.freeze({InitializeAccount:{index:0,layout:b.struct([b.u32("instruction"),((e="voteInit")=>b.struct([z("nodePubkey"),z("authorizedVoter"),z("authorizedWithdrawer"),b.u8("commission")],e))()])},Authorize:{index:1,layout:b.struct([b.u32("instruction"),z("newAuthorized"),b.u32("voteAuthorizationType")])},Withdraw:{index:3,layout:b.struct([b.u32("instruction"),b.ns64("lamports")])},UpdateValidatorIdentity:{index:4,layout:b.struct([b.u32("instruction")])},AuthorizeWithSeed:{index:10,layout:b.struct([b.u32("instruction"),((e="voteAuthorizeWithSeedArgs")=>b.struct([b.u32("voteAuthorizationType"),z("currentAuthorityDerivedKeyOwnerPubkey"),K("currentAuthorityDerivedKeySeed"),z("newAuthorized")],e))()])}}),Qr=Object.freeze({Voter:{index:0},Withdrawer:{index:1}}),Zr=class e{constructor(){}static initializeAccount(e){let{votePubkey:t,nodePubkey:r,voteInit:n}=e,i=be(Xr.InitializeAccount,{voteInit:{nodePubkey:O(n.nodePubkey.toBuffer()),authorizedVoter:O(n.authorizedVoter.toBuffer()),authorizedWithdrawer:O(n.authorizedWithdrawer.toBuffer()),commission:n.commission}}),o={keys:[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:ue,isSigner:!1,isWritable:!1},{pubkey:oe,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}],programId:this.programId,data:i};return new ne(o)}static createAccount(e){let t=new ie;return t.add(Ie.createAccount({fromPubkey:e.fromPubkey,newAccountPubkey:e.votePubkey,lamports:e.lamports,space:this.space,programId:this.programId})),t.add(this.initializeAccount({votePubkey:e.votePubkey,nodePubkey:e.voteInit.nodePubkey,voteInit:e.voteInit}))}static authorize(e){let{votePubkey:t,authorizedPubkey:r,newAuthorizedPubkey:n,voteAuthorizationType:i}=e,o=be(Xr.Authorize,{newAuthorized:O(n.toBuffer()),voteAuthorizationType:i.index}),s=[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:oe,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}];return(new ie).add({keys:s,programId:this.programId,data:o})}static authorizeWithSeed(e){let{currentAuthorityDerivedKeyBasePubkey:t,currentAuthorityDerivedKeyOwnerPubkey:r,currentAuthorityDerivedKeySeed:n,newAuthorizedPubkey:i,voteAuthorizationType:o,votePubkey:s}=e,a=be(Xr.AuthorizeWithSeed,{voteAuthorizeWithSeedArgs:{currentAuthorityDerivedKeyOwnerPubkey:O(r.toBuffer()),currentAuthorityDerivedKeySeed:n,newAuthorized:O(i.toBuffer()),voteAuthorizationType:o.index}}),c=[{pubkey:s,isSigner:!1,isWritable:!0},{pubkey:oe,isSigner:!1,isWritable:!1},{pubkey:t,isSigner:!0,isWritable:!1}];return(new ie).add({keys:c,programId:this.programId,data:a})}static withdraw(e){let{votePubkey:t,authorizedWithdrawerPubkey:r,lamports:n,toPubkey:i}=e,o=be(Xr.Withdraw,{lamports:n}),s=[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:i,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!0,isWritable:!1}];return(new ie).add({keys:s,programId:this.programId,data:o})}static safeWithdraw(t,r,n){if(t.lamports>r-n)throw new Error("Withdraw will leave vote account with insufficient funds.");return e.withdraw(t)}static updateValidatorIdentity(e){let{votePubkey:t,authorizedWithdrawerPubkey:r,nodePubkey:n}=e,i=be(Xr.UpdateValidatorIdentity),o=[{pubkey:t,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}];return(new ie).add({keys:o,programId:this.programId,data:i})}};Zr.programId=new x("Vote111111111111111111111111111111111111111"),Zr.space=3762;var $r=new x("Va1idator1nfo111111111111111111111111111111"),en=u.type({name:u.string(),website:u.optional(u.string()),details:u.optional(u.string()),iconUrl:u.optional(u.string()),keybaseUsername:u.optional(u.string())}),tn=new x("Vote111111111111111111111111111111111111111"),rn=b.struct([z("nodePubkey"),z("authorizedWithdrawer"),b.u8("commission"),b.nu64(),b.seq(b.struct([b.nu64("slot"),b.u32("confirmationCount")]),b.offset(b.u32(),-8),"votes"),b.u8("rootSlotValid"),b.nu64("rootSlot"),b.nu64(),b.seq(b.struct([b.nu64("epoch"),z("authorizedVoter")]),b.offset(b.u32(),-8),"authorizedVoters"),b.struct([b.seq(b.struct([z("authorizedPubkey"),b.nu64("epochOfLastAuthorizedSwitch"),b.nu64("targetEpoch")]),32,"buf"),b.nu64("idx"),b.u8("isEmpty")],"priorVoters"),b.nu64(),b.seq(b.struct([b.nu64("epoch"),b.nu64("credits"),b.nu64("prevCredits")]),b.offset(b.u32(),-8),"epochCredits"),b.struct([b.nu64("slot"),b.nu64("timestamp")],"lastTimestamp")]);function nn({authorizedVoter:e,epoch:t}){return{epoch:t,authorizedVoter:new x(e)}}function on({authorizedPubkey:e,epochOfLastAuthorizedSwitch:t,targetEpoch:r}){return{authorizedPubkey:new x(e),epochOfLastAuthorizedSwitch:t,targetEpoch:r}}function sn({buf:e,idx:t,isEmpty:r}){return r?[]:[...e.slice(t+1).map(on),...e.slice(0,t).map(on)]}var an={http:{devnet:"http://api.devnet.solana.com",testnet:"http://api.testnet.solana.com","mainnet-beta":"http://api.mainnet-beta.solana.com/"},https:{devnet:"https://api.devnet.solana.com",testnet:"https://api.testnet.solana.com","mainnet-beta":"https://api.mainnet-beta.solana.com/"}};e.Account=class{constructor(e){if(this._publicKey=void 0,this._secretKey=void 0,e){let t=O(e);if(64!==e.length)throw new Error("bad secret key size");this._publicKey=t.slice(32,64),this._secretKey=t.slice(0,32)}else this._secretKey=O(v()),this._publicKey=O(E(this._secretKey))}get publicKey(){return new x(this._publicKey)}get secretKey(){return t.Buffer.concat([this._secretKey,this._publicKey],64)}},e.AddressLookupTableAccount=De,e.AddressLookupTableInstruction=class{constructor(){}static decodeInstructionType(e){this.checkProgramId(e.programId);let t,r=b.u32("instruction").decode(e.data);for(let[e,n]of Object.entries(Nr))if(n.index==r){t=e;break}if(!t)throw new Error("Invalid Instruction. Should be a LookupTable Instruction");return t}static decodeCreateLookupTable(e){this.checkProgramId(e.programId),this.checkKeysLength(e.keys,4);let{recentSlot:t}=we(Nr.CreateLookupTable,e.data);return{authority:e.keys[1].pubkey,payer:e.keys[2].pubkey,recentSlot:Number(t)}}static decodeExtendLookupTable(e){if(this.checkProgramId(e.programId),e.keys.length<2)throw new Error(`invalid instruction; found ${e.keys.length} keys, expected at least 2`);let{addresses:t}=we(Nr.ExtendLookupTable,e.data);return{lookupTable:e.keys[0].pubkey,authority:e.keys[1].pubkey,payer:e.keys.length>2?e.keys[2].pubkey:void 0,addresses:t.map((e=>new x(e)))}}static decodeCloseLookupTable(e){return this.checkProgramId(e.programId),this.checkKeysLength(e.keys,3),{lookupTable:e.keys[0].pubkey,authority:e.keys[1].pubkey,recipient:e.keys[2].pubkey}}static decodeFreezeLookupTable(e){return this.checkProgramId(e.programId),this.checkKeysLength(e.keys,2),{lookupTable:e.keys[0].pubkey,authority:e.keys[1].pubkey}}static decodeDeactivateLookupTable(e){return this.checkProgramId(e.programId),this.checkKeysLength(e.keys,2),{lookupTable:e.keys[0].pubkey,authority:e.keys[1].pubkey}}static checkProgramId(e){if(!e.equals(Rr.programId))throw new Error("invalid instruction; programId is not AddressLookupTable Program")}static checkKeysLength(e,t){if(e.length<t)throw new Error(`invalid instruction; found ${e.length} keys, expected at least ${t}`)}},e.AddressLookupTableProgram=Rr,e.Authorized=Hr,e.BLOCKHASH_CACHE_TIMEOUT_MS=3e4,e.BPF_LOADER_DEPRECATED_PROGRAM_ID=N,e.BPF_LOADER_PROGRAM_ID=ke,e.BpfLoader=class{static getMinNumSignatures(e){return Oe.getMinNumSignatures(e)}static load(e,t,r,n,i){return Oe.load(e,t,r,i,n)}},e.COMPUTE_BUDGET_INSTRUCTION_LAYOUTS=_r,e.ComputeBudgetInstruction=class{constructor(){}static decodeInstructionType(e){this.checkProgramId(e.programId);let t,r=b.u8("instruction").decode(e.data);for(let[e,n]of Object.entries(_r))if(n.index==r){t=e;break}if(!t)throw new Error("Instruction type incorrect; not a ComputeBudgetInstruction");return t}static decodeRequestUnits(e){this.checkProgramId(e.programId);let{units:t,additionalFee:r}=we(_r.RequestUnits,e.data);return{units:t,additionalFee:r}}static decodeRequestHeapFrame(e){this.checkProgramId(e.programId);let{bytes:t}=we(_r.RequestHeapFrame,e.data);return{bytes:t}}static decodeSetComputeUnitLimit(e){this.checkProgramId(e.programId);let{units:t}=we(_r.SetComputeUnitLimit,e.data);return{units:t}}static decodeSetComputeUnitPrice(e){this.checkProgramId(e.programId);let{microLamports:t}=we(_r.SetComputeUnitPrice,e.data);return{microLamports:t}}static checkProgramId(e){if(!e.equals(Ur.programId))throw new Error("invalid instruction; programId is not ComputeBudgetProgram")}},e.ComputeBudgetProgram=Ur,e.Connection=class{constructor(e,t){let r,n,i,o,s,a;this._commitment=void 0,this._confirmTransactionInitialTimeout=void 0,this._rpcEndpoint=void 0,this._rpcWsEndpoint=void 0,this._rpcClient=void 0,this._rpcRequest=void 0,this._rpcBatchRequest=void 0,this._rpcWebSocket=void 0,this._rpcWebSocketConnected=!1,this._rpcWebSocketHeartbeat=null,this._rpcWebSocketIdleTimeout=null,this._rpcWebSocketGeneration=0,this._disableBlockhashCaching=!1,this._pollingBlockhash=!1,this._blockhashInfo={latestBlockhash:null,lastFetch:0,transactionSignatures:[],simulatedSignatures:[]},this._nextClientSubscriptionId=0,this._subscriptionDisposeFunctionsByClientSubscriptionId={},this._subscriptionHashByClientSubscriptionId={},this._subscriptionStateChangeCallbacksByHash={},this._subscriptionCallbacksByServerSubscriptionId={},this._subscriptionsByHash={},this._subscriptionsAutoDisposedByRpc=new Set,this.getBlockHeight=(()=>{let e={};return async t=>{let{commitment:r,config:n}=je(t),i=this._buildArgs([],r,void 0,n),o=xe(i);return e[o]=e[o]??(async()=>{try{let e=await this._rpcRequest("getBlockHeight",i),t=u.create(e,qe(u.number()));if("error"in t)throw new ge(t.error,"failed to get block height information");return t.result}finally{delete e[o]}})(),await e[o]}})(),t&&"string"==typeof t?this._commitment=t:t&&(this._commitment=t.commitment,this._confirmTransactionInitialTimeout=t.confirmTransactionInitialTimeout,r=t.wsEndpoint,n=t.httpHeaders,i=t.fetch,o=t.fetchMiddleware,s=t.disableRetryOnRateLimit,a=t.httpAgent),this._rpcEndpoint=function(e){if(!1===/^https?:/.test(e))throw new TypeError("Endpoint URL must start with `http:` or `https:`.");return e}(e),this._rpcWsEndpoint=r||function(e){let t=e.match(Le);if(null==t)throw TypeError(`Failed to validate endpoint URL \`${e}\``);let[r,n,i,o]=t,s=e.startsWith("https:")?"wss:":"ws:",a=null==i?null:parseInt(i.slice(1),10);return`${s}//${n}${null==a?"":`:${a+1}`}${o}`}(e),this._rpcClient=function(e,t,r,n,i,o){let s,a=r||_e;return null!=o&&console.warn("You have supplied an `httpAgent` when creating a `Connection` in a browser environment.It has been ignored; `httpAgent` is only used in Node environments."),n&&(s=async(e,t)=>{let r=await new Promise(((r,i)=>{try{n(e,t,((e,t)=>r([e,t])))}catch(e){i(e)}}));return await a(...r)}),new w.default((async(r,n)=>{let o={method:"POST",body:r,agent:void 0,headers:Object.assign({"Content-Type":"application/json"},t||{},Br)};try{let t,r=5,c=500;for(;t=s?await s(e,o):await a(e,o),429===t.status&&!0!==i&&(r-=1,0!==r);)console.error(`Server responded with ${t.status} ${t.statusText}.  Retrying after ${c}ms delay...`),await me(c),c*=2;let u=await t.text();t.ok?n(null,u):n(new Error(`${t.status} ${t.statusText}: ${u}`))}catch(e){e instanceof Error&&n(e)}}),{})}(e,n,i,o,s,a),this._rpcRequest=function(e){return(t,r)=>new Promise(((n,i)=>{e.request(t,r,((e,t)=>{e?i(e):n(t)}))}))}(this._rpcClient),this._rpcBatchRequest=function(e){return t=>new Promise(((r,n)=>{0===t.length&&r([]);let i=t.map((t=>e.request(t.methodName,t.args)));e.request(i,((e,t)=>{e?n(e):r(t)}))}))}(this._rpcClient),this._rpcWebSocket=new Ue(this._rpcWsEndpoint,{autoconnect:!1,max_reconnects:1/0}),this._rpcWebSocket.on("open",this._wsOnOpen.bind(this)),this._rpcWebSocket.on("error",this._wsOnError.bind(this)),this._rpcWebSocket.on("close",this._wsOnClose.bind(this)),this._rpcWebSocket.on("accountNotification",this._wsOnAccountNotification.bind(this)),this._rpcWebSocket.on("programNotification",this._wsOnProgramAccountNotification.bind(this)),this._rpcWebSocket.on("slotNotification",this._wsOnSlotNotification.bind(this)),this._rpcWebSocket.on("slotsUpdatesNotification",this._wsOnSlotUpdatesNotification.bind(this)),this._rpcWebSocket.on("signatureNotification",this._wsOnSignatureNotification.bind(this)),this._rpcWebSocket.on("rootNotification",this._wsOnRootNotification.bind(this)),this._rpcWebSocket.on("logsNotification",this._wsOnLogsNotification.bind(this))}get commitment(){return this._commitment}get rpcEndpoint(){return this._rpcEndpoint}async getBalanceAndContext(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgs([e.toBase58()],r,void 0,n),o=await this._rpcRequest("getBalance",i),s=u.create(o,Je(u.number()));if("error"in s)throw new ge(s.error,`failed to get balance for ${e.toBase58()}`);return s.result}async getBalance(e,t){return await this.getBalanceAndContext(e,t).then((e=>e.value)).catch((t=>{throw new Error("failed to get balance of account "+e.toBase58()+": "+t)}))}async getBlockTime(e){let t=await this._rpcRequest("getBlockTime",[e]),r=u.create(t,qe(u.nullable(u.number())));if("error"in r)throw new ge(r.error,`failed to get block time for slot ${e}`);return r.result}async getMinimumLedgerSlot(){let e=await this._rpcRequest("minimumLedgerSlot",[]),t=u.create(e,qe(u.number()));if("error"in t)throw new ge(t.error,"failed to get minimum ledger slot");return t.result}async getFirstAvailableBlock(){let e=await this._rpcRequest("getFirstAvailableBlock",[]),t=u.create(e,bt);if("error"in t)throw new ge(t.error,"failed to get first available block");return t.result}async getSupply(e){let t={};t="string"==typeof e?{commitment:e}:e?{...e,commitment:e&&e.commitment||this.commitment}:{commitment:this.commitment};let r=await this._rpcRequest("getSupply",[t]),n=u.create(r,wt);if("error"in n)throw new ge(n.error,"failed to get supply");return n.result}async getTokenSupply(e,t){let r=this._buildArgs([e.toBase58()],t),n=await this._rpcRequest("getTokenSupply",r),i=u.create(n,Je(vt));if("error"in i)throw new ge(i.error,"failed to get token supply");return i.result}async getTokenAccountBalance(e,t){let r=this._buildArgs([e.toBase58()],t),n=await this._rpcRequest("getTokenAccountBalance",r),i=u.create(n,Je(vt));if("error"in i)throw new ge(i.error,"failed to get token account balance");return i.result}async getTokenAccountsByOwner(e,t,r){let{commitment:n,config:i}=je(r),o=[e.toBase58()];"mint"in t?o.push({mint:t.mint.toBase58()}):o.push({programId:t.programId.toBase58()});let s=this._buildArgs(o,n,"base64",i),a=await this._rpcRequest("getTokenAccountsByOwner",s),c=u.create(a,Et);if("error"in c)throw new ge(c.error,`failed to get token accounts owned by account ${e.toBase58()}`);return c.result}async getParsedTokenAccountsByOwner(e,t,r){let n=[e.toBase58()];"mint"in t?n.push({mint:t.mint.toBase58()}):n.push({programId:t.programId.toBase58()});let i=this._buildArgs(n,r,"jsonParsed"),o=await this._rpcRequest("getTokenAccountsByOwner",i),s=u.create(o,Ct);if("error"in s)throw new ge(s.error,`failed to get token accounts owned by account ${e.toBase58()}`);return s.result}async getLargestAccounts(e){let t={...e,commitment:e&&e.commitment||this.commitment},r=t.filter||t.commitment?[t]:[],n=await this._rpcRequest("getLargestAccounts",r),i=u.create(n,St);if("error"in i)throw new ge(i.error,"failed to get largest accounts");return i.result}async getTokenLargestAccounts(e,t){let r=this._buildArgs([e.toBase58()],t),n=await this._rpcRequest("getTokenLargestAccounts",r),i=u.create(n,At);if("error"in i)throw new ge(i.error,"failed to get token largest accounts");return i.result}async getAccountInfoAndContext(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgs([e.toBase58()],r,"base64",n),o=await this._rpcRequest("getAccountInfo",i),s=u.create(o,Je(u.nullable(It)));if("error"in s)throw new ge(s.error,`failed to get info about account ${e.toBase58()}`);return s.result}async getParsedAccountInfo(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgs([e.toBase58()],r,"jsonParsed",n),o=await this._rpcRequest("getAccountInfo",i),s=u.create(o,Je(u.nullable(Pt)));if("error"in s)throw new ge(s.error,`failed to get info about account ${e.toBase58()}`);return s.result}async getAccountInfo(e,t){try{return(await this.getAccountInfoAndContext(e,t)).value}catch(t){throw new Error("failed to get info about account "+e.toBase58()+": "+t)}}async getMultipleParsedAccounts(e,t){let{commitment:r,config:n}=je(t),i=e.map((e=>e.toBase58())),o=this._buildArgs([i],r,"jsonParsed",n),s=await this._rpcRequest("getMultipleAccounts",o),a=u.create(s,Je(u.array(u.nullable(Pt))));if("error"in a)throw new ge(a.error,`failed to get info for accounts ${i}`);return a.result}async getMultipleAccountsInfoAndContext(e,t){let{commitment:r,config:n}=je(t),i=e.map((e=>e.toBase58())),o=this._buildArgs([i],r,"base64",n),s=await this._rpcRequest("getMultipleAccounts",o),a=u.create(s,Je(u.array(u.nullable(It))));if("error"in a)throw new ge(a.error,`failed to get info for accounts ${i}`);return a.result}async getMultipleAccountsInfo(e,t){return(await this.getMultipleAccountsInfoAndContext(e,t)).value}async getStakeActivation(e,t,r){let{commitment:n,config:i}=je(t),o=this._buildArgs([e.toBase58()],n,void 0,{...i,epoch:r??i?.epoch}),s=await this._rpcRequest("getStakeActivation",o),a=u.create(s,qe(Bt));if("error"in a)throw new ge(a.error,`failed to get Stake Activation ${e.toBase58()}`);return a.result}async getProgramAccounts(e,t){let{commitment:r,config:n}=je(t),{encoding:i,...o}=n||{},s=this._buildArgs([e.toBase58()],r,i||"base64",{...o,...o.filters?{filters:He(o.filters)}:null}),a=await this._rpcRequest("getProgramAccounts",s),c=u.array(Ot),l=!0===o.withContext?u.create(a,Je(c)):u.create(a,qe(c));if("error"in l)throw new ge(l.error,`failed to get accounts owned by program ${e.toBase58()}`);return l.result}async getParsedProgramAccounts(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgs([e.toBase58()],r,"jsonParsed",n),o=await this._rpcRequest("getProgramAccounts",i),s=u.create(o,qe(u.array(kt)));if("error"in s)throw new ge(s.error,`failed to get accounts owned by program ${e.toBase58()}`);return s.result}async confirmTransaction(e,t){let r,n;if("string"==typeof e)r=e;else{let t=e;if(t.abortSignal?.aborted)return Promise.reject(t.abortSignal.reason);r=t.signature}try{n=y.default.decode(r)}catch{throw new Error("signature must be base58 encoded: "+r)}return V(64===n.length,"signature has invalid length"),"string"==typeof e?await this.confirmTransactionUsingLegacyTimeoutStrategy({commitment:t||this.commitment,signature:r}):"lastValidBlockHeight"in e?await this.confirmTransactionUsingBlockHeightExceedanceStrategy({commitment:t||this.commitment,strategy:e}):await this.confirmTransactionUsingDurableNonceStrategy({commitment:t||this.commitment,strategy:e})}getCancellationPromise(e){return new Promise(((t,r)=>{null!=e&&(e.aborted?r(e.reason):e.addEventListener("abort",(()=>{r(e.reason)})))}))}getTransactionConfirmationPromise({commitment:e,signature:t}){let r,n,i=!1;return{abortConfirmation:()=>{n&&(n(),n=void 0),null!=r&&(this.removeSignatureListener(r),r=void 0)},confirmationPromise:new Promise(((o,s)=>{try{r=this.onSignature(t,((e,t)=>{r=void 0;let n={context:t,value:e};o({__type:te.PROCESSED,response:n})}),e);let a=new Promise((e=>{null==r?e():n=this._onSubscriptionStateChange(r,(t=>{"subscribed"===t&&e()}))}));(async()=>{if(await a,i)return;let r=await this.getSignatureStatus(t);if(i||null==r)return;let{context:n,value:c}=r;if(null!=c)if(c?.err)s(c.err);else{switch(e){case"confirmed":case"single":case"singleGossip":if("processed"===c.confirmationStatus)return;break;case"finalized":case"max":case"root":if("processed"===c.confirmationStatus||"confirmed"===c.confirmationStatus)return}i=!0,o({__type:te.PROCESSED,response:{context:n,value:c}})}})()}catch(e){s(e)}}))}}async confirmTransactionUsingBlockHeightExceedanceStrategy({commitment:e,strategy:{abortSignal:t,lastValidBlockHeight:r,signature:n}}){let i,o=!1,s=new Promise((t=>{let n=async()=>{try{return await this.getBlockHeight(e)}catch{return-1}};(async()=>{let e=await n();if(!o){for(;e<=r;)if(await me(1e3),o||(e=await n(),o))return;t({__type:te.BLOCKHEIGHT_EXCEEDED})}})()})),{abortConfirmation:a,confirmationPromise:c}=this.getTransactionConfirmationPromise({commitment:e,signature:n}),u=this.getCancellationPromise(t);try{let e=await Promise.race([u,c,s]);if(e.__type!==te.PROCESSED)throw new U(n);i=e.response}finally{o=!0,a()}return i}async confirmTransactionUsingDurableNonceStrategy({commitment:e,strategy:{abortSignal:t,minContextSlot:r,nonceAccountPubkey:n,nonceValue:i,signature:o}}){let s,a=!1,c=new Promise((t=>{let o=i,s=null,c=async()=>{try{let{context:t,value:i}=await this.getNonceAndContext(n,{commitment:e,minContextSlot:r});return s=t.slot,i?.nonce}catch{return o}};(async()=>{if(o=await c(),!a)for(;;){if(i!==o)return void t({__type:te.NONCE_INVALID,slotInWhichNonceDidAdvance:s});if(await me(2e3),a||(o=await c(),a))return}})()})),{abortConfirmation:u,confirmationPromise:l}=this.getTransactionConfirmationPromise({commitment:e,signature:o}),d=this.getCancellationPromise(t);try{let t=await Promise.race([d,l,c]);if(t.__type===te.PROCESSED)s=t.response;else{let n;for(;;){let e=await this.getSignatureStatus(o);if(null==e)break;if(!(e.context.slot<(t.slotInWhichNonceDidAdvance??r))){n=e;break}await me(400)}if(!n?.value)throw new W(o);{let t=e||"finalized",{confirmationStatus:r}=n.value;switch(t){case"processed":case"recent":if("processed"!==r&&"confirmed"!==r&&"finalized"!==r)throw new W(o);break;case"confirmed":case"single":case"singleGossip":if("confirmed"!==r&&"finalized"!==r)throw new W(o);break;case"finalized":case"max":case"root":if("finalized"!==r)throw new W(o)}s={context:n.context,value:{err:n.value.err}}}}}finally{a=!0,u()}return s}async confirmTransactionUsingLegacyTimeoutStrategy({commitment:e,signature:t}){let r,n,i=new Promise((t=>{let n=this._confirmTransactionInitialTimeout||6e4;switch(e){case"processed":case"recent":case"single":case"confirmed":case"singleGossip":n=this._confirmTransactionInitialTimeout||3e4}r=setTimeout((()=>t({__type:te.TIMED_OUT,timeoutMs:n})),n)})),{abortConfirmation:o,confirmationPromise:s}=this.getTransactionConfirmationPromise({commitment:e,signature:t});try{let e=await Promise.race([s,i]);if(e.__type!==te.PROCESSED)throw new D(t,e.timeoutMs/1e3);n=e.response}finally{clearTimeout(r),o()}return n}async getClusterNodes(){let e=await this._rpcRequest("getClusterNodes",[]),t=u.create(e,qe(u.array(jt)));if("error"in t)throw new ge(t.error,"failed to get cluster nodes");return t.result}async getVoteAccounts(e){let t=this._buildArgs([],e),r=await this._rpcRequest("getVoteAccounts",t),n=u.create(r,Gt);if("error"in n)throw new ge(n.error,"failed to get vote accounts");return n.result}async getSlot(e){let{commitment:t,config:r}=je(e),n=this._buildArgs([],t,void 0,r),i=await this._rpcRequest("getSlot",n),o=u.create(i,qe(u.number()));if("error"in o)throw new ge(o.error,"failed to get slot");return o.result}async getSlotLeader(e){let{commitment:t,config:r}=je(e),n=this._buildArgs([],t,void 0,r),i=await this._rpcRequest("getSlotLeader",n),o=u.create(i,qe(u.string()));if("error"in o)throw new ge(o.error,"failed to get slot leader");return o.result}async getSlotLeaders(e,t){let r=[e,t],n=await this._rpcRequest("getSlotLeaders",r),i=u.create(n,qe(u.array(ze)));if("error"in i)throw new ge(i.error,"failed to get slot leaders");return i.result}async getSignatureStatus(e,t){let{context:r,value:n}=await this.getSignatureStatuses([e],t);return V(1===n.length),{context:r,value:n[0]}}async getSignatureStatuses(e,t){let r=[e];t&&r.push(t);let n=await this._rpcRequest("getSignatureStatuses",r),i=u.create(n,Jt);if("error"in i)throw new ge(i.error,"failed to get signature status");return i.result}async getTransactionCount(e){let{commitment:t,config:r}=je(e),n=this._buildArgs([],t,void 0,r),i=await this._rpcRequest("getTransactionCount",n),o=u.create(i,qe(u.number()));if("error"in o)throw new ge(o.error,"failed to get transaction count");return o.result}async getTotalSupply(e){return(await this.getSupply({commitment:e,excludeNonCirculatingAccountsList:!0})).value.total}async getInflationGovernor(e){let t=this._buildArgs([],e),r=await this._rpcRequest("getInflationGovernor",t),n=u.create(r,ht);if("error"in n)throw new ge(n.error,"failed to get inflation");return n.result}async getInflationReward(e,t,r){let{commitment:n,config:i}=je(r),o=this._buildArgs([e.map((e=>e.toBase58()))],n,void 0,{...i,epoch:t??i?.epoch}),s=await this._rpcRequest("getInflationReward",o),a=u.create(s,Ze);if("error"in a)throw new ge(a.error,"failed to get inflation reward");return a.result}async getInflationRate(){let e=await this._rpcRequest("getInflationRate",[]),t=u.create(e,ft);if("error"in t)throw new ge(t.error,"failed to get inflation rate");return t.result}async getEpochInfo(e){let{commitment:t,config:r}=je(e),n=this._buildArgs([],t,void 0,r),i=await this._rpcRequest("getEpochInfo",n),o=u.create(i,gt);if("error"in o)throw new ge(o.error,"failed to get epoch info");return o.result}async getEpochSchedule(){let e=await this._rpcRequest("getEpochSchedule",[]),t=u.create(e,yt);if("error"in t)throw new ge(t.error,"failed to get epoch schedule");let r=t.result;return new Re(r.slotsPerEpoch,r.leaderScheduleSlotOffset,r.warmup,r.firstNormalEpoch,r.firstNormalSlot)}async getLeaderSchedule(){let e=await this._rpcRequest("getLeaderSchedule",[]),t=u.create(e,mt);if("error"in t)throw new ge(t.error,"failed to get leader schedule");return t.result}async getMinimumBalanceForRentExemption(e,t){let r=this._buildArgs([e],t),n=await this._rpcRequest("getMinimumBalanceForRentExemption",r),i=u.create(n,Yt);return"error"in i?(console.warn("Unable to fetch minimum balance for rent exemption"),0):i.result}async getRecentBlockhashAndContext(e){let{context:t,value:{blockhash:r}}=await this.getLatestBlockhashAndContext(e);return{context:t,value:{blockhash:r,feeCalculator:{get lamportsPerSignature(){throw new Error("The capability to fetch `lamportsPerSignature` using the `getRecentBlockhash` API is no longer offered by the network. Use the `getFeeForMessage` API to obtain the fee for a given message.")},toJSON:()=>({})}}}}async getRecentPerformanceSamples(e){let t=await this._rpcRequest("getRecentPerformanceSamples",e?[e]:[]),r=u.create(t,Sr);if("error"in r)throw new ge(r.error,"failed to get recent performance samples");return r.result}async getFeeCalculatorForBlockhash(e,t){let r=this._buildArgs([e],t),n=await this._rpcRequest("getFeeCalculatorForBlockhash",r),i=u.create(n,Ir);if("error"in i)throw new ge(i.error,"failed to get fee calculator");let{context:o,value:s}=i.result;return{context:o,value:null!==s?s.feeCalculator:null}}async getFeeForMessage(e,t){let r=O(e.serialize()).toString("base64"),n=this._buildArgs([r],t),i=await this._rpcRequest("getFeeForMessage",n),o=u.create(i,Je(u.nullable(u.number())));if("error"in o)throw new ge(o.error,"failed to get fee for message");if(null===o.result)throw new Error("invalid blockhash");return o.result}async getRecentPrioritizationFees(e){let t=e?.lockedWritableAccounts?.map((e=>e.toBase58())),r=t?.length?[t]:[],n=await this._rpcRequest("getRecentPrioritizationFees",r),i=u.create(n,pt);if("error"in i)throw new ge(i.error,"failed to get recent prioritization fees");return i.result}async getRecentBlockhash(e){try{return(await this.getRecentBlockhashAndContext(e)).value}catch(e){throw new Error("failed to get recent blockhash: "+e)}}async getLatestBlockhash(e){try{return(await this.getLatestBlockhashAndContext(e)).value}catch(e){throw new Error("failed to get recent blockhash: "+e)}}async getLatestBlockhashAndContext(e){let{commitment:t,config:r}=je(e),n=this._buildArgs([],t,void 0,r),i=await this._rpcRequest("getLatestBlockhash",n),o=u.create(i,Er);if("error"in o)throw new ge(o.error,"failed to get latest blockhash");return o.result}async isBlockhashValid(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgs([e],r,void 0,n),o=await this._rpcRequest("isBlockhashValid",i),s=u.create(o,Tr);if("error"in s)throw new ge(s.error,"failed to determine if the blockhash `"+e+"`is valid");return s.result}async getVersion(){let e=await this._rpcRequest("getVersion",[]),t=u.create(e,qe(at));if("error"in t)throw new ge(t.error,"failed to get version");return t.result}async getGenesisHash(){let e=await this._rpcRequest("getGenesisHash",[]),t=u.create(e,qe(u.string()));if("error"in t)throw new ge(t.error,"failed to get genesis hash");return t.result}async getBlock(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgsAtLeastConfirmed([e],r,void 0,n),o=await this._rpcRequest("getBlock",i);try{switch(n?.transactionDetails){case"accounts":{let e=u.create(o,pr);if("error"in e)throw e.error;return e.result}case"none":{let e=u.create(o,fr);if("error"in e)throw e.error;return e.result}default:{let e=u.create(o,hr);if("error"in e)throw e.error;let{result:t}=e;return t?{...t,transactions:t.transactions.map((({transaction:e,meta:t,version:r})=>({meta:t,transaction:{...e,message:Xe(r,e.message)},version:r})))}:null}}}catch(e){throw new ge(e,"failed to get confirmed block")}}async getParsedBlock(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgsAtLeastConfirmed([e],r,"jsonParsed",n),o=await this._rpcRequest("getBlock",i);try{switch(n?.transactionDetails){case"accounts":{let e=u.create(o,yr);if("error"in e)throw e.error;return e.result}case"none":{let e=u.create(o,mr);if("error"in e)throw e.error;return e.result}default:{let e=u.create(o,gr);if("error"in e)throw e.error;return e.result}}}catch(e){throw new ge(e,"failed to get block")}}async getBlockProduction(e){let t,r;if("string"==typeof e)r=e;else if(e){let{commitment:n,...i}=e;r=n,t=i}let n=this._buildArgs([],r,"base64",t),i=await this._rpcRequest("getBlockProduction",n),o=u.create(i,dt);if("error"in o)throw new ge(o.error,"failed to get block production information");return o.result}async getTransaction(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgsAtLeastConfirmed([e],r,void 0,n),o=await this._rpcRequest("getTransaction",i),s=u.create(o,vr);if("error"in s)throw new ge(s.error,"failed to get transaction");let a=s.result;return a&&{...a,transaction:{...a.transaction,message:Xe(a.version,a.transaction.message)}}}async getParsedTransaction(e,t){let{commitment:r,config:n}=je(t),i=this._buildArgsAtLeastConfirmed([e],r,"jsonParsed",n),o=await this._rpcRequest("getTransaction",i),s=u.create(o,Ar);if("error"in s)throw new ge(s.error,"failed to get transaction");return s.result}async getParsedTransactions(e,t){let{commitment:r,config:n}=je(t),i=e.map((e=>({methodName:"getTransaction",args:this._buildArgsAtLeastConfirmed([e],r,"jsonParsed",n)})));return(await this._rpcBatchRequest(i)).map((e=>{let t=u.create(e,Ar);if("error"in t)throw new ge(t.error,"failed to get transactions");return t.result}))}async getTransactions(e,t){let{commitment:r,config:n}=je(t),i=e.map((e=>({methodName:"getTransaction",args:this._buildArgsAtLeastConfirmed([e],r,void 0,n)})));return(await this._rpcBatchRequest(i)).map((e=>{let t=u.create(e,vr);if("error"in t)throw new ge(t.error,"failed to get transactions");let r=t.result;return r&&{...r,transaction:{...r.transaction,message:Xe(r.version,r.transaction.message)}}}))}async getConfirmedBlock(e,t){let r=this._buildArgsAtLeastConfirmed([e],t),n=await this._rpcRequest("getBlock",r),i=u.create(n,br);if("error"in i)throw new ge(i.error,"failed to get confirmed block");let o=i.result;if(!o)throw new Error("Confirmed block "+e+" not found");let s={...o,transactions:o.transactions.map((({transaction:e,meta:t})=>{let r=new Z(e.message);return{meta:t,transaction:{...e,message:r}}}))};return{...s,transactions:s.transactions.map((({transaction:e,meta:t})=>({meta:t,transaction:ie.populate(e.message,e.signatures)})))}}async getBlocks(e,t,r){let n=this._buildArgsAtLeastConfirmed(void 0!==t?[e,t]:[e],r),i=await this._rpcRequest("getBlocks",n),o=u.create(i,qe(u.array(u.number())));if("error"in o)throw new ge(o.error,"failed to get blocks");return o.result}async getBlockSignatures(e,t){let r=this._buildArgsAtLeastConfirmed([e],t,void 0,{transactionDetails:"signatures",rewards:!1}),n=await this._rpcRequest("getBlock",r),i=u.create(n,wr);if("error"in i)throw new ge(i.error,"failed to get block");let o=i.result;if(!o)throw new Error("Block "+e+" not found");return o}async getConfirmedBlockSignatures(e,t){let r=this._buildArgsAtLeastConfirmed([e],t,void 0,{transactionDetails:"signatures",rewards:!1}),n=await this._rpcRequest("getBlock",r),i=u.create(n,wr);if("error"in i)throw new ge(i.error,"failed to get confirmed block");let o=i.result;if(!o)throw new Error("Confirmed block "+e+" not found");return o}async getConfirmedTransaction(e,t){let r=this._buildArgsAtLeastConfirmed([e],t),n=await this._rpcRequest("getTransaction",r),i=u.create(n,vr);if("error"in i)throw new ge(i.error,"failed to get transaction");let o=i.result;if(!o)return o;let s=new Z(o.transaction.message),a=o.transaction.signatures;return{...o,transaction:ie.populate(s,a)}}async getParsedConfirmedTransaction(e,t){let r=this._buildArgsAtLeastConfirmed([e],t,"jsonParsed"),n=await this._rpcRequest("getTransaction",r),i=u.create(n,Ar);if("error"in i)throw new ge(i.error,"failed to get confirmed transaction");return i.result}async getParsedConfirmedTransactions(e,t){let r=e.map((e=>({methodName:"getTransaction",args:this._buildArgsAtLeastConfirmed([e],t,"jsonParsed")})));return(await this._rpcBatchRequest(r)).map((e=>{let t=u.create(e,Ar);if("error"in t)throw new ge(t.error,"failed to get confirmed transactions");return t.result}))}async getConfirmedSignaturesForAddress(e,t,r){let n={},i=await this.getFirstAvailableBlock();for(;!("until"in n||(t--,t<=0||t<i));)try{let e=await this.getConfirmedBlockSignatures(t,"finalized");e.signatures.length>0&&(n.until=e.signatures[e.signatures.length-1].toString())}catch(e){if(e instanceof Error&&e.message.includes("skipped"))continue;throw e}let o=await this.getSlot("finalized");for(;!("before"in n||(r++,r>o));)try{let e=await this.getConfirmedBlockSignatures(r);e.signatures.length>0&&(n.before=e.signatures[e.signatures.length-1].toString())}catch(e){if(e instanceof Error&&e.message.includes("skipped"))continue;throw e}return(await this.getConfirmedSignaturesForAddress2(e,n)).map((e=>e.signature))}async getConfirmedSignaturesForAddress2(e,t,r){let n=this._buildArgsAtLeastConfirmed([e.toBase58()],r,void 0,t),i=await this._rpcRequest("getConfirmedSignaturesForAddress2",n),o=u.create(i,xt);if("error"in o)throw new ge(o.error,"failed to get confirmed signatures for address");return o.result}async getSignaturesForAddress(e,t,r){let n=this._buildArgsAtLeastConfirmed([e.toBase58()],r,void 0,t),i=await this._rpcRequest("getSignaturesForAddress",n),o=u.create(i,Nt);if("error"in o)throw new ge(o.error,"failed to get signatures for address");return o.result}async getAddressLookupTable(e,t){let{context:r,value:n}=await this.getAccountInfoAndContext(e,t),i=null;return null!==n&&(i=new De({key:e,state:De.deserialize(n.data)})),{context:r,value:i}}async getNonceAndContext(e,t){let{context:r,value:n}=await this.getAccountInfoAndContext(e,t),i=null;return null!==n&&(i=Te.fromAccountData(n.data)),{context:r,value:i}}async getNonce(e,t){return await this.getNonceAndContext(e,t).then((e=>e.value)).catch((t=>{throw new Error("failed to get nonce for account "+e.toBase58()+": "+t)}))}async requestAirdrop(e,t){let r=await this._rpcRequest("requestAirdrop",[e.toBase58(),t]),n=u.create(r,Or);if("error"in n)throw new ge(n.error,`airdrop to ${e.toBase58()} failed`);return n.result}async _blockhashWithExpiryBlockHeight(e){if(!e){for(;this._pollingBlockhash;)await me(100);let e=Date.now()-this._blockhashInfo.lastFetch>=3e4;if(null!==this._blockhashInfo.latestBlockhash&&!e)return this._blockhashInfo.latestBlockhash}return await this._pollNewBlockhash()}async _pollNewBlockhash(){this._pollingBlockhash=!0;try{let e=Date.now(),t=this._blockhashInfo.latestBlockhash,r=t?t.blockhash:null;for(let e=0;e<50;e++){let e=await this.getLatestBlockhash("finalized");if(r!==e.blockhash)return this._blockhashInfo={latestBlockhash:e,lastFetch:Date.now(),transactionSignatures:[],simulatedSignatures:[]},e;await me(200)}throw new Error(`Unable to obtain a new blockhash after ${Date.now()-e}ms`)}finally{this._pollingBlockhash=!1}}async getStakeMinimumDelegation(e){let{commitment:t,config:r}=je(e),n=this._buildArgs([],t,"base64",r),i=await this._rpcRequest("getStakeMinimumDelegation",n),o=u.create(i,Je(u.number()));if("error"in o)throw new ge(o.error,"failed to get stake minimum delegation");return o.result}async simulateTransaction(e,r,n){if("message"in e){let i=e.serialize(),o=t.Buffer.from(i).toString("base64");if(Array.isArray(r)||void 0!==n)throw new Error("Invalid arguments");let s=r||{};s.encoding="base64","commitment"in s||(s.commitment=this.commitment),r&&"object"==typeof r&&"innerInstructions"in r&&(s.innerInstructions=r.innerInstructions);let a=[o,s],c=await this._rpcRequest("simulateTransaction",a),l=u.create(c,lt);if("error"in l)throw new Error("failed to simulate transaction: "+l.error.message);return l.result}let i;if(e instanceof ie){let t=e;i=new ie,i.feePayer=t.feePayer,i.instructions=e.instructions,i.nonceInfo=t.nonceInfo,i.signatures=t.signatures}else i=ie.populate(e),i._message=i._json=void 0;if(void 0!==r&&!Array.isArray(r))throw new Error("Invalid arguments");let o=r;if(i.nonceInfo&&o)i.sign(...o);else{let e=this._disableBlockhashCaching;for(;;){let t=await this._blockhashWithExpiryBlockHeight(e);if(i.lastValidBlockHeight=t.lastValidBlockHeight,i.recentBlockhash=t.blockhash,!o)break;if(i.sign(...o),!i.signature)throw new Error("!signature");let r=i.signature.toString("base64");if(!this._blockhashInfo.simulatedSignatures.includes(r)&&!this._blockhashInfo.transactionSignatures.includes(r)){this._blockhashInfo.simulatedSignatures.push(r);break}e=!0}}let s=i._compile(),a=s.serialize(),c=i._serialize(a).toString("base64"),l={encoding:"base64",commitment:this.commitment};if(n){let e=(Array.isArray(n)?n:s.nonProgramIds()).map((e=>e.toBase58()));l.accounts={encoding:"base64",addresses:e}}o&&(l.sigVerify=!0),r&&"object"==typeof r&&"innerInstructions"in r&&(l.innerInstructions=r.innerInstructions);let d=[c,l],h=await this._rpcRequest("simulateTransaction",d),f=u.create(h,lt);if("error"in f){let e;if("data"in f.error&&(e=f.error.data.logs,e&&Array.isArray(e))){let t="\n    ",r=t+e.join(t);console.error(f.error.message,r)}throw new pe({action:"simulate",signature:"",transactionMessage:f.error.message,logs:e})}return f.result}async sendTransaction(e,t,r){if("version"in e){if(t&&Array.isArray(t))throw new Error("Invalid arguments");let r=e.serialize();return await this.sendRawTransaction(r,t)}if(void 0===t||!Array.isArray(t))throw new Error("Invalid arguments");let n=t;if(e.nonceInfo)e.sign(...n);else{let t=this._disableBlockhashCaching;for(;;){let r=await this._blockhashWithExpiryBlockHeight(t);if(e.lastValidBlockHeight=r.lastValidBlockHeight,e.recentBlockhash=r.blockhash,e.sign(...n),!e.signature)throw new Error("!signature");let i=e.signature.toString("base64");if(!this._blockhashInfo.transactionSignatures.includes(i)){this._blockhashInfo.transactionSignatures.push(i);break}t=!0}}let i=e.serialize();return await this.sendRawTransaction(i,r)}async sendRawTransaction(e,t){let r=O(e).toString("base64");return await this.sendEncodedTransaction(r,t)}async sendEncodedTransaction(e,t){let r={encoding:"base64"},n=t&&t.skipPreflight,i=!0===n?"processed":t&&t.preflightCommitment||this.commitment;t&&null!=t.maxRetries&&(r.maxRetries=t.maxRetries),t&&null!=t.minContextSlot&&(r.minContextSlot=t.minContextSlot),n&&(r.skipPreflight=n),i&&(r.preflightCommitment=i);let o=[e,r],s=await this._rpcRequest("sendTransaction",o),a=u.create(s,Mr);if("error"in a){let e;throw"data"in a.error&&(e=a.error.data.logs),new pe({action:n?"send":"simulate",signature:"",transactionMessage:a.error.message,logs:e})}return a.result}_wsOnOpen(){this._rpcWebSocketConnected=!0,this._rpcWebSocketHeartbeat=setInterval((()=>{(async()=>{try{await this._rpcWebSocket.notify("ping")}catch{}})()}),5e3),this._updateSubscriptions()}_wsOnError(e){this._rpcWebSocketConnected=!1,console.error("ws error:",e.message)}_wsOnClose(e){this._rpcWebSocketConnected=!1,this._rpcWebSocketGeneration=(this._rpcWebSocketGeneration+1)%Number.MAX_SAFE_INTEGER,this._rpcWebSocketIdleTimeout&&(clearTimeout(this._rpcWebSocketIdleTimeout),this._rpcWebSocketIdleTimeout=null),this._rpcWebSocketHeartbeat&&(clearInterval(this._rpcWebSocketHeartbeat),this._rpcWebSocketHeartbeat=null),1e3!==e?(this._subscriptionCallbacksByServerSubscriptionId={},Object.entries(this._subscriptionsByHash).forEach((([e,t])=>{this._setSubscription(e,{...t,state:"pending"})}))):this._updateSubscriptions()}_setSubscription(e,t){let r=this._subscriptionsByHash[e]?.state;if(this._subscriptionsByHash[e]=t,r!==t.state){let r=this._subscriptionStateChangeCallbacksByHash[e];r&&r.forEach((e=>{try{e(t.state)}catch{}}))}}_onSubscriptionStateChange(e,t){let r=this._subscriptionHashByClientSubscriptionId[e];if(null==r)return()=>{};let n=this._subscriptionStateChangeCallbacksByHash[r]||=new Set;return n.add(t),()=>{n.delete(t),0===n.size&&delete this._subscriptionStateChangeCallbacksByHash[r]}}async _updateSubscriptions(){if(0===Object.keys(this._subscriptionsByHash).length)return void(this._rpcWebSocketConnected&&(this._rpcWebSocketConnected=!1,this._rpcWebSocketIdleTimeout=setTimeout((()=>{this._rpcWebSocketIdleTimeout=null;try{this._rpcWebSocket.close()}catch(e){e instanceof Error&&console.log(`Error when closing socket connection: ${e.message}`)}}),500)));if(null!==this._rpcWebSocketIdleTimeout&&(clearTimeout(this._rpcWebSocketIdleTimeout),this._rpcWebSocketIdleTimeout=null,this._rpcWebSocketConnected=!0),!this._rpcWebSocketConnected)return void this._rpcWebSocket.connect();let e=this._rpcWebSocketGeneration,t=()=>e===this._rpcWebSocketGeneration;await Promise.all(Object.keys(this._subscriptionsByHash).map((async e=>{let r=this._subscriptionsByHash[e];if(void 0!==r)switch(r.state){case"pending":case"unsubscribed":if(0===r.callbacks.size)return delete this._subscriptionsByHash[e],"unsubscribed"===r.state&&delete this._subscriptionCallbacksByServerSubscriptionId[r.serverSubscriptionId],void await this._updateSubscriptions();await(async()=>{let{args:n,method:i}=r;try{this._setSubscription(e,{...r,state:"subscribing"});let t=await this._rpcWebSocket.call(i,n);this._setSubscription(e,{...r,serverSubscriptionId:t,state:"subscribed"}),this._subscriptionCallbacksByServerSubscriptionId[t]=r.callbacks,await this._updateSubscriptions()}catch(o){if(console.error(`Received ${o instanceof Error?"":"JSON-RPC "}error calling \`${i}\``,{args:n,error:o}),!t())return;this._setSubscription(e,{...r,state:"pending"}),await this._updateSubscriptions()}})();break;case"subscribed":0===r.callbacks.size&&await(async()=>{let{serverSubscriptionId:n,unsubscribeMethod:i}=r;if(this._subscriptionsAutoDisposedByRpc.has(n))this._subscriptionsAutoDisposedByRpc.delete(n);else{this._setSubscription(e,{...r,state:"unsubscribing"}),this._setSubscription(e,{...r,state:"unsubscribing"});try{await this._rpcWebSocket.call(i,[n])}catch(n){if(n instanceof Error&&console.error(`${i} error:`,n.message),!t())return;return this._setSubscription(e,{...r,state:"subscribed"}),void await this._updateSubscriptions()}}this._setSubscription(e,{...r,state:"unsubscribed"}),await this._updateSubscriptions()})()}})))}_handleServerNotification(e,t){let r=this._subscriptionCallbacksByServerSubscriptionId[e];void 0!==r&&r.forEach((e=>{try{e(...t)}catch(e){console.error(e)}}))}_wsOnAccountNotification(e){let{result:t,subscription:r}=u.create(e,Rt);this._handleServerNotification(r,[t.value,t.context])}_makeSubscription(e,t){let r=this._nextClientSubscriptionId++,n=xe([e.method,t]),i=this._subscriptionsByHash[n];return void 0===i?this._subscriptionsByHash[n]={...e,args:t,callbacks:new Set([e.callback]),state:"pending"}:i.callbacks.add(e.callback),this._subscriptionHashByClientSubscriptionId[r]=n,this._subscriptionDisposeFunctionsByClientSubscriptionId[r]=async()=>{delete this._subscriptionDisposeFunctionsByClientSubscriptionId[r],delete this._subscriptionHashByClientSubscriptionId[r];let t=this._subscriptionsByHash[n];V(void 0!==t,`Could not find a \`Subscription\` when tearing down client subscription #${r}`),t.callbacks.delete(e.callback),await this._updateSubscriptions()},this._updateSubscriptions(),r}onAccountChange(e,t,r){let{commitment:n,config:i}=je(r),o=this._buildArgs([e.toBase58()],n||this._commitment||"finalized","base64",i);return this._makeSubscription({callback:t,method:"accountSubscribe",unsubscribeMethod:"accountUnsubscribe"},o)}async removeAccountChangeListener(e){await this._unsubscribeClientSubscription(e,"account change")}_wsOnProgramAccountNotification(e){let{result:t,subscription:r}=u.create(e,Ut);this._handleServerNotification(r,[{accountId:t.value.pubkey,accountInfo:t.value.account},t.context])}onProgramAccountChange(e,t,r,n){let{commitment:i,config:o}=je(r),s=this._buildArgs([e.toBase58()],i||this._commitment||"finalized","base64",o||(n?{filters:He(n)}:void 0));return this._makeSubscription({callback:t,method:"programSubscribe",unsubscribeMethod:"programUnsubscribe"},s)}async removeProgramAccountChangeListener(e){await this._unsubscribeClientSubscription(e,"program account change")}onLogs(e,t,r){let n=this._buildArgs(["object"==typeof e?{mentions:[e.toString()]}:e],r||this._commitment||"finalized");return this._makeSubscription({callback:t,method:"logsSubscribe",unsubscribeMethod:"logsUnsubscribe"},n)}async removeOnLogsListener(e){await this._unsubscribeClientSubscription(e,"logs")}_wsOnLogsNotification(e){let{result:t,subscription:r}=u.create(e,kr);this._handleServerNotification(r,[t.value,t.context])}_wsOnSlotNotification(e){let{result:t,subscription:r}=u.create(e,Wt);this._handleServerNotification(r,[t])}onSlotChange(e){return this._makeSubscription({callback:e,method:"slotSubscribe",unsubscribeMethod:"slotUnsubscribe"},[])}async removeSlotChangeListener(e){await this._unsubscribeClientSubscription(e,"slot change")}_wsOnSlotUpdatesNotification(e){let{result:t,subscription:r}=u.create(e,zt);this._handleServerNotification(r,[t])}onSlotUpdate(e){return this._makeSubscription({callback:e,method:"slotsUpdatesSubscribe",unsubscribeMethod:"slotsUpdatesUnsubscribe"},[])}async removeSlotUpdateListener(e){await this._unsubscribeClientSubscription(e,"slot update")}async _unsubscribeClientSubscription(e,t){let r=this._subscriptionDisposeFunctionsByClientSubscriptionId[e];r?await r():console.warn(`Ignored unsubscribe request because an active subscription with id \`${e}\` for '${t}' events could not be found.`)}_buildArgs(e,t,r,n){let i=t||this._commitment;if(i||r||n){let t={};r&&(t.encoding=r),i&&(t.commitment=i),n&&(t=Object.assign(t,n)),e.push(t)}return e}_buildArgsAtLeastConfirmed(e,t,r,n){let i=t||this._commitment;if(i&&!["confirmed","finalized"].includes(i))throw new Error("Using Connection with default commitment: `"+this._commitment+"`, but method requires at least `confirmed`");return this._buildArgs(e,t,r,n)}_wsOnSignatureNotification(e){let{result:t,subscription:r}=u.create(e,Ft);"receivedSignature"!==t.value&&this._subscriptionsAutoDisposedByRpc.add(r),this._handleServerNotification(r,"receivedSignature"===t.value?[{type:"received"},t.context]:[{type:"status",result:t.value},t.context])}onSignature(e,t,r){let n=this._buildArgs([e],r||this._commitment||"finalized"),i=this._makeSubscription({callback:(e,r)=>{if("status"===e.type){t(e.result,r);try{this.removeSignatureListener(i)}catch{}}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},n);return i}onSignatureWithOptions(e,t,r){let{commitment:n,...i}={...r,commitment:r&&r.commitment||this._commitment||"finalized"},o=this._buildArgs([e],n,void 0,i),s=this._makeSubscription({callback:(e,r)=>{t(e,r);try{this.removeSignatureListener(s)}catch{}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},o);return s}async removeSignatureListener(e){await this._unsubscribeClientSubscription(e,"signature result")}_wsOnRootNotification(e){let{result:t,subscription:r}=u.create(e,Kt);this._handleServerNotification(r,[t])}onRootChange(e){return this._makeSubscription({callback:e,method:"rootSubscribe",unsubscribeMethod:"rootUnsubscribe"},[])}async removeRootChangeListener(e){await this._unsubscribeClientSubscription(e,"root change")}},e.Ed25519Program=Wr,e.Enum=class extends M{constructor(e){if(super(e),this.enum="",1!==Object.keys(e).length)throw new Error("Enum can only take single value");Object.keys(e).map((e=>{this.enum=e}))}},e.EpochSchedule=Re,e.FeeCalculatorLayout=ve,e.Keypair=xr,e.LAMPORTS_PER_SOL=1e9,e.LOOKUP_TABLE_INSTRUCTION_LAYOUTS=Nr,e.Loader=Oe,e.Lockup=Gr,e.MAX_SEED_LENGTH=32,e.Message=Z,e.MessageAccountKeys=L,e.MessageV0=$,e.NONCE_ACCOUNT_LENGTH=Ee,e.NonceAccount=Te,e.PACKET_DATA_SIZE=R,e.PUBLIC_KEY_LENGTH=k,e.PublicKey=x,e.SIGNATURE_LENGTH_IN_BYTES=64,e.SOLANA_SCHEMA=P,e.STAKE_CONFIG_ID=jr,e.STAKE_INSTRUCTION_LAYOUTS=Vr,e.SYSTEM_INSTRUCTION_LAYOUTS=Se,e.SYSVAR_CLOCK_PUBKEY=oe,e.SYSVAR_EPOCH_SCHEDULE_PUBKEY=se,e.SYSVAR_INSTRUCTIONS_PUBKEY=ae,e.SYSVAR_RECENT_BLOCKHASHES_PUBKEY=ce,e.SYSVAR_RENT_PUBKEY=ue,e.SYSVAR_REWARDS_PUBKEY=le,e.SYSVAR_SLOT_HASHES_PUBKEY=de,e.SYSVAR_SLOT_HISTORY_PUBKEY=he,e.SYSVAR_STAKE_HISTORY_PUBKEY=fe,e.Secp256k1Program=Fr,e.SendTransactionError=pe,e.SolanaJSONRPCError=ge,e.SolanaJSONRPCErrorCode={JSON_RPC_SERVER_ERROR_BLOCK_CLEANED_UP:-32001,JSON_RPC_SERVER_ERROR_SEND_TRANSACTION_PREFLIGHT_FAILURE:-32002,JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_VERIFICATION_FAILURE:-32003,JSON_RPC_SERVER_ERROR_BLOCK_NOT_AVAILABLE:-32004,JSON_RPC_SERVER_ERROR_NODE_UNHEALTHY:-32005,JSON_RPC_SERVER_ERROR_TRANSACTION_PRECOMPILE_VERIFICATION_FAILURE:-32006,JSON_RPC_SERVER_ERROR_SLOT_SKIPPED:-32007,JSON_RPC_SERVER_ERROR_NO_SNAPSHOT:-32008,JSON_RPC_SERVER_ERROR_LONG_TERM_STORAGE_SLOT_SKIPPED:-32009,JSON_RPC_SERVER_ERROR_KEY_EXCLUDED_FROM_SECONDARY_INDEX:-32010,JSON_RPC_SERVER_ERROR_TRANSACTION_HISTORY_NOT_AVAILABLE:-32011,JSON_RPC_SCAN_ERROR:-32012,JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_LEN_MISMATCH:-32013,JSON_RPC_SERVER_ERROR_BLOCK_STATUS_NOT_AVAILABLE_YET:-32014,JSON_RPC_SERVER_ERROR_UNSUPPORTED_TRANSACTION_VERSION:-32015,JSON_RPC_SERVER_ERROR_MIN_CONTEXT_SLOT_NOT_REACHED:-32016},e.StakeAuthorizationLayout=qr,e.StakeInstruction=class{constructor(){}static decodeInstructionType(e){this.checkProgramId(e.programId);let t,r=b.u32("instruction").decode(e.data);for(let[e,n]of Object.entries(Vr))if(n.index==r){t=e;break}if(!t)throw new Error("Instruction type incorrect; not a StakeInstruction");return t}static decodeInitialize(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,2);let{authorized:t,lockup:r}=we(Vr.Initialize,e.data);return{stakePubkey:e.keys[0].pubkey,authorized:new Hr(new x(t.staker),new x(t.withdrawer)),lockup:new Gr(r.unixTimestamp,r.epoch,new x(r.custodian))}}static decodeDelegate(e){return this.checkProgramId(e.programId),this.checkKeyLength(e.keys,6),we(Vr.Delegate,e.data),{stakePubkey:e.keys[0].pubkey,votePubkey:e.keys[1].pubkey,authorizedPubkey:e.keys[5].pubkey}}static decodeAuthorize(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3);let{newAuthorized:t,stakeAuthorizationType:r}=we(Vr.Authorize,e.data),n={stakePubkey:e.keys[0].pubkey,authorizedPubkey:e.keys[2].pubkey,newAuthorizedPubkey:new x(t),stakeAuthorizationType:{index:r}};return e.keys.length>3&&(n.custodianPubkey=e.keys[3].pubkey),n}static decodeAuthorizeWithSeed(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,2);let{newAuthorized:t,stakeAuthorizationType:r,authoritySeed:n,authorityOwner:i}=we(Vr.AuthorizeWithSeed,e.data),o={stakePubkey:e.keys[0].pubkey,authorityBase:e.keys[1].pubkey,authoritySeed:n,authorityOwner:new x(i),newAuthorizedPubkey:new x(t),stakeAuthorizationType:{index:r}};return e.keys.length>3&&(o.custodianPubkey=e.keys[3].pubkey),o}static decodeSplit(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3);let{lamports:t}=we(Vr.Split,e.data);return{stakePubkey:e.keys[0].pubkey,splitStakePubkey:e.keys[1].pubkey,authorizedPubkey:e.keys[2].pubkey,lamports:t}}static decodeMerge(e){return this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3),we(Vr.Merge,e.data),{stakePubkey:e.keys[0].pubkey,sourceStakePubKey:e.keys[1].pubkey,authorizedPubkey:e.keys[4].pubkey}}static decodeWithdraw(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,5);let{lamports:t}=we(Vr.Withdraw,e.data),r={stakePubkey:e.keys[0].pubkey,toPubkey:e.keys[1].pubkey,authorizedPubkey:e.keys[4].pubkey,lamports:t};return e.keys.length>5&&(r.custodianPubkey=e.keys[5].pubkey),r}static decodeDeactivate(e){return this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3),we(Vr.Deactivate,e.data),{stakePubkey:e.keys[0].pubkey,authorizedPubkey:e.keys[2].pubkey}}static checkProgramId(e){if(!e.equals(Jr.programId))throw new Error("invalid instruction; programId is not StakeProgram")}static checkKeyLength(e,t){if(e.length<t)throw new Error(`invalid instruction; found ${e.length} keys, expected at least ${t}`)}},e.StakeProgram=Jr,e.Struct=M,e.SystemInstruction=class{constructor(){}static decodeInstructionType(e){this.checkProgramId(e.programId);let t,r=b.u32("instruction").decode(e.data);for(let[e,n]of Object.entries(Se))if(n.index==r){t=e;break}if(!t)throw new Error("Instruction type incorrect; not a SystemInstruction");return t}static decodeCreateAccount(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,2);let{lamports:t,space:r,programId:n}=we(Se.Create,e.data);return{fromPubkey:e.keys[0].pubkey,newAccountPubkey:e.keys[1].pubkey,lamports:t,space:r,programId:new x(n)}}static decodeTransfer(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,2);let{lamports:t}=we(Se.Transfer,e.data);return{fromPubkey:e.keys[0].pubkey,toPubkey:e.keys[1].pubkey,lamports:t}}static decodeTransferWithSeed(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3);let{lamports:t,seed:r,programId:n}=we(Se.TransferWithSeed,e.data);return{fromPubkey:e.keys[0].pubkey,basePubkey:e.keys[1].pubkey,toPubkey:e.keys[2].pubkey,lamports:t,seed:r,programId:new x(n)}}static decodeAllocate(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,1);let{space:t}=we(Se.Allocate,e.data);return{accountPubkey:e.keys[0].pubkey,space:t}}static decodeAllocateWithSeed(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,1);let{base:t,seed:r,space:n,programId:i}=we(Se.AllocateWithSeed,e.data);return{accountPubkey:e.keys[0].pubkey,basePubkey:new x(t),seed:r,space:n,programId:new x(i)}}static decodeAssign(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,1);let{programId:t}=we(Se.Assign,e.data);return{accountPubkey:e.keys[0].pubkey,programId:new x(t)}}static decodeAssignWithSeed(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,1);let{base:t,seed:r,programId:n}=we(Se.AssignWithSeed,e.data);return{accountPubkey:e.keys[0].pubkey,basePubkey:new x(t),seed:r,programId:new x(n)}}static decodeCreateWithSeed(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,2);let{base:t,seed:r,lamports:n,space:i,programId:o}=we(Se.CreateWithSeed,e.data);return{fromPubkey:e.keys[0].pubkey,newAccountPubkey:e.keys[1].pubkey,basePubkey:new x(t),seed:r,lamports:n,space:i,programId:new x(o)}}static decodeNonceInitialize(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3);let{authorized:t}=we(Se.InitializeNonceAccount,e.data);return{noncePubkey:e.keys[0].pubkey,authorizedPubkey:new x(t)}}static decodeNonceAdvance(e){return this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3),we(Se.AdvanceNonceAccount,e.data),{noncePubkey:e.keys[0].pubkey,authorizedPubkey:e.keys[2].pubkey}}static decodeNonceWithdraw(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,5);let{lamports:t}=we(Se.WithdrawNonceAccount,e.data);return{noncePubkey:e.keys[0].pubkey,toPubkey:e.keys[1].pubkey,authorizedPubkey:e.keys[4].pubkey,lamports:t}}static decodeNonceAuthorize(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,2);let{authorized:t}=we(Se.AuthorizeNonceAccount,e.data);return{noncePubkey:e.keys[0].pubkey,authorizedPubkey:e.keys[1].pubkey,newAuthorizedPubkey:new x(t)}}static checkProgramId(e){if(!e.equals(Ie.programId))throw new Error("invalid instruction; programId is not SystemProgram")}static checkKeyLength(e,t){if(e.length<t)throw new Error(`invalid instruction; found ${e.length} keys, expected at least ${t}`)}},e.SystemProgram=Ie,e.Transaction=ie,e.TransactionExpiredBlockheightExceededError=U,e.TransactionExpiredNonceInvalidError=W,e.TransactionExpiredTimeoutError=D,e.TransactionInstruction=ne,e.TransactionMessage=class e{constructor(e){this.payerKey=void 0,this.instructions=void 0,this.recentBlockhash=void 0,this.payerKey=e.payerKey,this.instructions=e.instructions,this.recentBlockhash=e.recentBlockhash}static decompile(t,r){let{header:n,compiledInstructions:i,recentBlockhash:o}=t,{numRequiredSignatures:s,numReadonlySignedAccounts:a,numReadonlyUnsignedAccounts:c}=n,u=s-a;V(u>0,"Message header is invalid");let l=t.staticAccountKeys.length-s-c;V(l>=0,"Message header is invalid");let d=t.getAccountKeys(r),h=d.get(0);if(void 0===h)throw new Error("Failed to decompile message because no account keys were found");let f=[];for(let e of i){let t=[];for(let r of e.accountKeyIndexes){let e,i=d.get(r);if(void 0===i)throw new Error(`Failed to find key for account key index ${r}`);e=r<s?r<u:r<d.staticAccountKeys.length?r-s<l:r-d.staticAccountKeys.length<d.accountKeysFromLookups.writable.length,t.push({pubkey:i,isSigner:r<n.numRequiredSignatures,isWritable:e})}let r=d.get(e.programIdIndex);if(void 0===r)throw new Error(`Failed to find program id for program id index ${e.programIdIndex}`);f.push(new ne({programId:r,data:O(e.data),keys:t}))}return new e({payerKey:h,instructions:f,recentBlockhash:o})}compileToLegacyMessage(){return Z.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions})}compileToV0Message(e){return $.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions,addressLookupTableAccounts:e})}},e.TransactionStatus=te,e.VALIDATOR_INFO_KEY=$r,e.VERSION_PREFIX_MASK=_,e.VOTE_PROGRAM_ID=tn,e.ValidatorInfo=class e{constructor(e,t){this.key=void 0,this.info=void 0,this.key=e,this.info=t}static fromConfigData(r){let n=[...r];if(2!==H(n))return null;let i=[];for(let e=0;e<2;e++){let e=new x(X(n,0,k)),t=1===Y(n);i.push({publicKey:e,isSigner:t})}if(i[0].publicKey.equals($r)&&i[1].isSigner){let r=K().decode(t.Buffer.from(n)),o=JSON.parse(r);return u.assert(o,en),new e(i[1].publicKey,o)}return null}},e.VersionedMessage=ee,e.VersionedTransaction=class e{get version(){return this.message.version}constructor(e,t){if(this.signatures=void 0,this.message=void 0,void 0!==t)V(t.length===e.header.numRequiredSignatures,"Expected signatures length to be equal to the number of required signatures"),this.signatures=t;else{let t=[];for(let r=0;r<e.header.numRequiredSignatures;r++)t.push(new Uint8Array(64));this.signatures=t}this.message=e}serialize(){let e=this.message.serialize(),t=Array();G(t,this.signatures.length);let r=b.struct([b.blob(t.length,"encodedSignaturesLength"),b.seq(F(),this.signatures.length,"signatures"),b.blob(e.length,"serializedMessage")]),n=new Uint8Array(2048),i=r.encode({encodedSignaturesLength:new Uint8Array(t),signatures:this.signatures,serializedMessage:e},n);return n.slice(0,i)}static deserialize(t){let r=[...t],n=[],i=H(r);for(let e=0;e<i;e++)n.push(new Uint8Array(X(r,0,64)));let o=ee.deserialize(new Uint8Array(r));return new e(o,n)}sign(e){let t=this.message.serialize(),r=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures);for(let n of e){let e=r.findIndex((e=>e.equals(n.publicKey)));V(e>=0,`Cannot sign with non signer key ${n.publicKey.toBase58()}`),this.signatures[e]=S(t,n.secretKey)}}addSignature(e,t){V(64===t.byteLength,"Signature must be 64 bytes long");let r=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures).findIndex((t=>t.equals(e)));V(r>=0,`Can not add signature; \`${e.toBase58()}\` is not required to sign this transaction`),this.signatures[r]=t}},e.VoteAccount=class e{constructor(e){this.nodePubkey=void 0,this.authorizedWithdrawer=void 0,this.commission=void 0,this.rootSlot=void 0,this.votes=void 0,this.authorizedVoters=void 0,this.priorVoters=void 0,this.epochCredits=void 0,this.lastTimestamp=void 0,this.nodePubkey=e.nodePubkey,this.authorizedWithdrawer=e.authorizedWithdrawer,this.commission=e.commission,this.rootSlot=e.rootSlot,this.votes=e.votes,this.authorizedVoters=e.authorizedVoters,this.priorVoters=e.priorVoters,this.epochCredits=e.epochCredits,this.lastTimestamp=e.lastTimestamp}static fromAccountData(t){let r=rn.decode(O(t),4),n=r.rootSlot;return r.rootSlotValid||(n=null),new e({nodePubkey:new x(r.nodePubkey),authorizedWithdrawer:new x(r.authorizedWithdrawer),commission:r.commission,votes:r.votes,rootSlot:n,authorizedVoters:r.authorizedVoters.map(nn),priorVoters:sn(r.priorVoters),epochCredits:r.epochCredits,lastTimestamp:r.lastTimestamp})}},e.VoteAuthorizationLayout=Qr,e.VoteInit=Yr,e.VoteInstruction=class{constructor(){}static decodeInstructionType(e){this.checkProgramId(e.programId);let t,r=b.u32("instruction").decode(e.data);for(let[e,n]of Object.entries(Xr))if(n.index==r){t=e;break}if(!t)throw new Error("Instruction type incorrect; not a VoteInstruction");return t}static decodeInitializeAccount(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,4);let{voteInit:t}=we(Xr.InitializeAccount,e.data);return{votePubkey:e.keys[0].pubkey,nodePubkey:e.keys[3].pubkey,voteInit:new Yr(new x(t.nodePubkey),new x(t.authorizedVoter),new x(t.authorizedWithdrawer),t.commission)}}static decodeAuthorize(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3);let{newAuthorized:t,voteAuthorizationType:r}=we(Xr.Authorize,e.data);return{votePubkey:e.keys[0].pubkey,authorizedPubkey:e.keys[2].pubkey,newAuthorizedPubkey:new x(t),voteAuthorizationType:{index:r}}}static decodeAuthorizeWithSeed(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3);let{voteAuthorizeWithSeedArgs:{currentAuthorityDerivedKeyOwnerPubkey:t,currentAuthorityDerivedKeySeed:r,newAuthorized:n,voteAuthorizationType:i}}=we(Xr.AuthorizeWithSeed,e.data);return{currentAuthorityDerivedKeyBasePubkey:e.keys[2].pubkey,currentAuthorityDerivedKeyOwnerPubkey:new x(t),currentAuthorityDerivedKeySeed:r,newAuthorizedPubkey:new x(n),voteAuthorizationType:{index:i},votePubkey:e.keys[0].pubkey}}static decodeWithdraw(e){this.checkProgramId(e.programId),this.checkKeyLength(e.keys,3);let{lamports:t}=we(Xr.Withdraw,e.data);return{votePubkey:e.keys[0].pubkey,authorizedWithdrawerPubkey:e.keys[2].pubkey,lamports:t,toPubkey:e.keys[1].pubkey}}static checkProgramId(e){if(!e.equals(Zr.programId))throw new Error("invalid instruction; programId is not VoteProgram")}static checkKeyLength(e,t){if(e.length<t)throw new Error(`invalid instruction; found ${e.length} keys, expected at least ${t}`)}},e.VoteProgram=Zr,e.clusterApiUrl=function(e,t){let r=!1===t?"http":"https";if(!e)return an[r].devnet;let n=an[r][e];if(!n)throw new Error(`Unknown ${r} cluster: ${e}`);return n},e.sendAndConfirmRawTransaction=async function(e,t,r,n){let i,o;r&&Object.prototype.hasOwnProperty.call(r,"lastValidBlockHeight")||r&&Object.prototype.hasOwnProperty.call(r,"nonceValue")?(i=r,o=n):o=r;let s=o&&{skipPreflight:o.skipPreflight,preflightCommitment:o.preflightCommitment||o.commitment,minContextSlot:o.minContextSlot},a=await e.sendRawTransaction(t,s),c=o&&o.commitment,u=(await(i?e.confirmTransaction(i,c):e.confirmTransaction(a,c))).value;if(u.err)throw null!=a?new pe({action:s?.skipPreflight?"send":"simulate",signature:a,transactionMessage:`Status: (${JSON.stringify(u)})`}):new Error(`Raw transaction ${a} failed (${JSON.stringify(u)})`);return a},e.sendAndConfirmTransaction=ye})),ntt=W(((e,t)=>{"use strict";m(),t.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r<t.length;r++)t[r]=255;for(var n=0;n<e.length;n++){var i=e.charAt(n),o=i.charCodeAt(0);if(255!==t[o])throw new TypeError(i+" is ambiguous");t[o]=n}var s=e.length,a=e.charAt(0),c=Math.log(s)/Math.log(256),u=Math.log(256)/Math.log(s);function l(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;for(var r=0,n=0,i=0;e[r]===a;)n++,r++;for(var o=(e.length-r)*c+1>>>0,u=new Uint8Array(o);e[r];){var l=t[e.charCodeAt(r)];if(255===l)return;for(var d=0,h=o-1;(0!==l||d<i)&&-1!==h;h--,d++)l+=s*u[h]>>>0,u[h]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");i=d,r++}for(var f=o-i;f!==o&&0===u[f];)f++;for(var p=new Uint8Array(n+(o-f)),g=n;f!==o;)p[g++]=u[f++];return p}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";for(var r=0,n=0,i=0,o=t.length;i!==o&&0===t[i];)i++,r++;for(var c=(o-i)*u+1>>>0,l=new Uint8Array(c);i!==o;){for(var d=t[i],h=0,f=c-1;(0!==d||h<n)&&-1!==f;f--,h++)d+=256*l[f]>>>0,l[f]=d%s>>>0,d=d/s>>>0;if(0!==d)throw new Error("Non-zero carry");n=h,i++}for(var p=c-n;p!==c&&0===l[p];)p++;for(var g=a.repeat(r);p<c;++p)g+=e.charAt(l[p]);return g},decodeUnsafe:l,decode:function(e){var t=l(e);if(t)return t;throw new Error("Non-base"+s+" character")}}}})),ott=W(((e,t)=>{m();var r=ntt();t.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")})),stt=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isVersionedTransaction=function(e){return"version"in e}})),att=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))},r=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSolanaProvider=void 0;var n=ttt(),i=r(ott()),o=ho(),s=stt(),a=class{getRealChainId(e){if(null==e){if(1==this.chainsSet.size){let e="",t=this.defaultChainMap;if(this.chainsSet.forEach((function(r){t.has(r)&&(e=t.get(r))})),""==e)throw new Error("unsupported chainId");return e}throw new Error("connected to multiple solana chains,chainId can not be null")}if(e.startsWith("svm"))return e;if(this.caip.includes(e))return e;throw new Error("wrong chainId")}getConnectedNamespace(){var e,t,r;null===(r=null===(t=null===(e=this.provider.session)||void 0===e?void 0:e.namespaces)||void 0===t?void 0:t.solana)||void 0===r||r.chains.forEach((e=>{this.chainsSet.add(e.split(":")[0])}))}constructor(e){this.chainsSet=new Set,this.caip=["solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z","sonic:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z","sonic:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","soon:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","soon:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z","eclipse:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","sonic:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],this.SOON_MAIN_NET_CAIP="soon:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",this.SOON_TEST_NET_CAIP="soon:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z",this.ECLIPSE_MAIN_NET_CAIP="eclipse:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",this.SOON_MAIN_NET_ID="svm:70000069",this.SOON_TEST_NET_ID="svm:70000067",this.ECLIPSE_MAIN_NET_ID="svm:70000068",this.defaultChainMap=new Map,this.provider=e,this.defaultChainMap.set("solana","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"),this.defaultChainMap.set("sonic","sonic:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z"),this.defaultChainMap.set("soon",this.SOON_MAIN_NET_CAIP),this.defaultChainMap.set("eclipse",this.ECLIPSE_MAIN_NET_CAIP),this.getConnectedNamespace()}signMessage(e,r){return t(this,void 0,void 0,(function*(){var t,s,a,c;if("string"!=typeof e)try{e=(new TextDecoder).decode(e)}catch{}let u=e,l=null;try{let t=i.default.decode(e);try{l=n.Transaction.from(t)}catch{l=n.VersionedTransaction.deserialize(t)}}catch{}if(null!=l)return new Promise(((e,t)=>{t("Please sign with normal message")}));u="OKX Wallet"==(null===(s=null===(t=this.provider.session)||void 0===t?void 0:t.wallet)||void 0===s?void 0:s.appName)?i.default.encode((new TextEncoder).encode(e)):e,r=this.getRealChainId(r);try{let t={chainId:r,method:"solana_signMessage",params:{message:u,pubkey:null===(a=this.getAccount(r))||void 0===a?void 0:a.address},injectParams:{message:e,pubkey:null===(c=this.getAccount(r))||void 0===c?void 0:c.address}},n=yield this.provider.request(t,r);if((0,o.logDebug)("signMessage111",n),"injectResult"in n)return Promise.resolve(n.injectResult);if("result"in n){let e=n.result;return new Promise(((t,n)=>{var o;t({signature:i.default.decode(e),publicKey:null===(o=this.getAccount(r))||void 0===o?void 0:o.address})}))}return(0,o.logDebug)("signMessage111",n),new Promise(((e,t)=>{e(n.error)}))}catch(e){return console.error("方法数据回调失败 --Error--",e),new Promise(((t,r)=>{t(e)}))}}))}getAccount(e){var t,r,i,s;let a=null===(r=null===(t=this.provider.session)||void 0===t?void 0:t.namespaces.solana)||void 0===r?void 0:r.accounts[0];if(null!=e&&(a=null===(s=null===(i=this.provider.session)||void 0===i?void 0:i.namespaces.solana)||void 0===s?void 0:s.accounts.filter((function(t){return t.startsWith(e)}))[0]),(0,o.logDebug)("getAccount",a),!a)return;let c=a.split(":")[2];return c?{address:c,publicKey:new n.PublicKey(c)}:void 0}signTransaction(e,t){var r;(0,o.logDebug)("OKXSolanaProvider",typeof e),t=this.getRealChainId(t);let n=(0,s.isVersionedTransaction)(e)?e.serialize():new Uint8Array(e.serialize({requireAllSignatures:!1,verifySignatures:!1})),a={data:i.default.encode(n),from:null===(r=this.getAccount(t))||void 0===r?void 0:r.address};return this.getSignedTransaction("solana_signTransaction",a,t,e,n)}signAllTransactions(e,r){return t(this,void 0,void 0,(function*(){r=this.getRealChainId(r);try{let a=[];var t=e.map((e=>{var t,o;return o=e instanceof n.VersionedTransaction?e.serialize():e.serialize({requireAllSignatures:!1,verifySignatures:!1}),a.push(o),{data:i.default.encode(o),from:null===(t=this.getAccount(r))||void 0===t?void 0:t.address}}));let c=yield this.provider.request({method:"solana_signAllTransactions",params:{transactions:t},injectParams:{transactions:e,transactionBufferArray:a}},r);if(!("injectResult"in c)){if("result"in c){let e=c.result,t=JSON.parse(e).map((e=>{let t=i.default.decode(e);try{let e=n.Transaction.from(t);return(0,o.logDebug)("verifySignatures",e.verifySignatures()),e}catch{return n.VersionedTransaction.deserialize(t)}}));return new Promise(((e,r)=>{e(t)}))}return new Promise(((e,t)=>{e(c)}))}try{return c.injectResult.map(((t,r)=>{let i=t[0].signedTransaction,o=e[r];return(0,s.isVersionedTransaction)(o)?n.VersionedTransaction.deserialize(i):n.Transaction.from(i)}))}catch{return c.injectResult}}catch(e){return(0,o.logDebug)("getSignedTransaction",e),new Promise(((t,r)=>{t(e)}))}}))}signAndSendTransaction(e,r){return t(this,void 0,void 0,(function*(){var t;r=this.getRealChainId(r);try{let n=(0,s.isVersionedTransaction)(e)?e.serialize():new Uint8Array(e.serialize({requireAllSignatures:!1,verifySignatures:!1})),o={data:i.default.encode(n),from:null===(t=this.getAccount(r))||void 0===t?void 0:t.address},a=yield this.provider.request({method:"solana_signAndSendTransaction",params:o,injectParams:{transaction:e,transactionBuffer:n}},r);if(!("injectResult"in a))return"result"in a?{signature:a.result}:a;try{let[e]=a.injectResult;return{signature:i.default.encode(e.signature)}}catch{return a.injectResult}}catch(e){return(0,o.logDebug)("getSignedTransaction",e),new Promise(((t,r)=>{t(e)}))}}))}getSignedTransaction(e,r,a,c,u){return t(this,void 0,void 0,(function*(){try{let t=yield this.provider.request({method:e,params:r,injectParams:{transaction:c,transactionBuffer:u}},a);if(!("injectResult"in t)){if("result"in t){let e,r=t.result,s=i.default.decode(r);try{e=n.Transaction.from(s)}catch{e=n.VersionedTransaction.deserialize(s)}return e instanceof n.VersionedTransaction||(0,o.logDebug)("verifySignatures",e.verifySignatures()),new Promise(((t,r)=>{t(e)}))}return new Promise(((e,r)=>{r(t)}))}try{let e=t.injectResult[0].signedTransaction;return(0,s.isVersionedTransaction)(c)?n.VersionedTransaction.deserialize(e):n.Transaction.from(e)}catch{return t.injectResult}}catch(e){throw(0,o.logDebug)("signAndSendTransaction error",e),e}}))}};e.OKXSolanaProvider=a,e.default=a})),ctt=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSolanaProvider=void 0;var t=att();Object.defineProperty(e,"OKXSolanaProvider",{enumerable:!0,get:function(){return t.OKXSolanaProvider}})})),kB=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.bech32m=e.bech32=void 0;var t="qpzry9x8gf2tvdw0s3jn54khce6mua7l",r={};for(let e=0;e<32;e++){let n=t.charAt(e);r[n]=e}function n(e){let t=e>>25;return(33554431&e)<<5^996825010&-(1&t)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function i(e){let t=1;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(i<33||i>126)return"Invalid prefix ("+e+")";t=n(t)^i>>5}t=n(t);for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);t=n(t)^31&i}return t}function o(e,t,r,n){let i=0,o=0,s=(1<<r)-1,a=[];for(let n=0;n<e.length;++n)for(i=i<<t|e[n],o+=t;o>=r;)o-=r,a.push(i>>o&s);if(n)o>0&&a.push(i<<r-o&s);else{if(o>=t)return"Excess padding";if(i<<r-o&s)return"Non-zero padding"}return a}function s(e){return o(e,8,5,!0)}function a(e){let t=o(e,5,8,!1);if(Array.isArray(t))return t}function c(e){let t=o(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}function u(e){let o;function u(e,t){if(t=t||90,e.length<8)return e+" too short";if(e.length>t)return"Exceeds length limit";let s=e.toLowerCase(),a=e.toUpperCase();if(e!==s&&e!==a)return"Mixed-case string "+e;let c=(e=s).lastIndexOf("1");if(-1===c)return"No separator character for "+e;if(0===c)return"Missing prefix for "+e;let u=e.slice(0,c),l=e.slice(c+1);if(l.length<6)return"Data too short";let d=i(u);if("string"==typeof d)return d;let h=[];for(let e=0;e<l.length;++e){let t=l.charAt(e),i=r[t];if(void 0===i)return"Unknown character "+t;d=n(d)^i,!(e+6>=l.length)&&h.push(i)}return d!==o?"Invalid checksum for "+e:{prefix:u,words:h}}return o="bech32"===e?1:734539939,{decodeUnsafe:function(e,t){let r=u(e,t);if("object"==typeof r)return r},decode:function(e,t){let r=u(e,t);if("object"==typeof r)return r;throw new Error(r)},encode:function(e,r,s){if(s=s||90,e.length+7+r.length>s)throw new TypeError("Exceeds length limit");let a=i(e=e.toLowerCase());if("string"==typeof a)throw new Error(a);let c=e+"1";for(let e=0;e<r.length;++e){let i=r[e];if(i>>5)throw new Error("Non 5-bit word");a=n(a)^i,c+=t.charAt(i)}for(let e=0;e<6;++e)a=n(a);a^=o;for(let e=0;e<6;++e){c+=t.charAt(a>>5*(5-e)&31)}return c},toWords:s,fromWordsUnsafe:a,fromWords:c}}e.bech32=u("bech32"),e.bech32m=u("bech32m")})),qtt=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");let t=new Uint8Array(256);for(let e=0;e<t.length;e++)t[e]=255;for(let r=0;r<e.length;r++){let n=e.charAt(r),i=n.charCodeAt(0);if(255!==t[i])throw new TypeError(n+" is ambiguous");t[i]=r}let r=e.length,n=e.charAt(0),i=Math.log(r)/Math.log(256),o=Math.log(256)/Math.log(r);function s(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;let o=0,s=0,a=0;for(;e[o]===n;)s++,o++;let c=(e.length-o)*i+1>>>0,u=new Uint8Array(c);for(;e[o];){let n=t[e.charCodeAt(o)];if(255===n)return;let i=0;for(let e=c-1;(0!==n||i<a)&&-1!==e;e--,i++)n+=r*u[e]>>>0,u[e]=n%256>>>0,n=n/256>>>0;if(0!==n)throw new Error("Non-zero carry");a=i,o++}let l=c-a;for(;l!==c&&0===u[l];)l++;let d=new Uint8Array(s+(c-l)),h=s;for(;l!==c;)d[h++]=u[l++];return d}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";let i=0,s=0,a=0,c=t.length;for(;a!==c&&0===t[a];)a++,i++;let u=(c-a)*o+1>>>0,l=new Uint8Array(u);for(;a!==c;){let e=t[a],n=0;for(let t=u-1;(0!==e||n<s)&&-1!==t;t--,n++)e+=256*l[t]>>>0,l[t]=e%r>>>0,e=e/r>>>0;if(0!==e)throw new Error("Non-zero carry");s=n,a++}let d=u-s;for(;d!==u&&0===l[d];)d++;let h=n.repeat(i);for(;d<u;++d)h+=e.charAt(l[d]);return h},decodeUnsafe:s,decode:function(e){let t=s(e);if(t)return t;throw new Error("Non-base"+r+" character")}}}})),jtt=W((e=>{"use strict";m();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(qtt());e.default=(0,r.default)("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")})),dj=W(((e,t)=>{"use strict";m();var r,n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of s(t))!c.call(e,a)&&a!==r&&i(e,a,{get:()=>t[a],enumerable:!(n=o(t,a))||n.enumerable});return e},l={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(l,{fromB58:()=>g,fromBase58:()=>f,toB58:()=>p,toBase58:()=>h}),t.exports=(r=l,u(i({},"__esModule",{value:!0}),r));var d=((e,t,r)=>(r=null!=e?n(a(e)):{},u(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(jtt()),h=e=>d.default.encode(e),f=e=>d.default.decode(e),p=h,g=f})),hj=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(e){return Uint8Array.from(atob(e),(e=>e.charCodeAt(0)))}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{fromB64:()=>h,fromBase64:()=>c,toB64:()=>d,toBase64:()=>l}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var u=8192;function l(e){if(e.length<u)return btoa(String.fromCharCode(...e));let t="";for(var r=0;r<e.length;r+=u){let n=e.slice(r,r+u);t+=String.fromCharCode(...n)}return btoa(t)}var d=l,h=c})),pj=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(e){let t=e.startsWith("0x")?e.slice(2):e,r=(t.length%2==0?t:`0${t}}`).match(/.{2}/g)?.map((e=>parseInt(e,16)))??[];return Uint8Array.from(r)}function u(e){return e.reduce(((e,t)=>e+t.toString(16).padStart(2,"0")),"")}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{fromHEX:()=>d,fromHex:()=>c,toHEX:()=>l,toHex:()=>u}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var l=u,d=c})),LB=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(e){let t=[],r=0;if(0===e)return[0];for(;e>0;)t[r]=127&e,(e>>=7)&&(t[r]|=128),r+=1;return t}function u(e){let t=0,r=0,n=0;for(;;){let i=e[n];if(n+=1,t|=(127&i)<<r,!(128&i))break;r+=7}return{value:t,length:n}}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{ulebDecode:()=>u,ulebEncode:()=>c}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),u0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{BcsReader:()=>u}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=LB(),u=class{constructor(e){this.bytePosition=0,this.dataView=new DataView(e.buffer)}shift(e){return this.bytePosition+=e,this}read8(){let e=this.dataView.getUint8(this.bytePosition);return this.shift(1),e}read16(){let e=this.dataView.getUint16(this.bytePosition,!0);return this.shift(2),e}read32(){let e=this.dataView.getUint32(this.bytePosition,!0);return this.shift(4),e}read64(){let e=this.read32(),t=this.read32().toString(16)+e.toString(16).padStart(8,"0");return BigInt("0x"+t).toString(10)}read128(){let e=BigInt(this.read64()),t=BigInt(this.read64()).toString(16)+e.toString(16).padStart(16,"0");return BigInt("0x"+t).toString(10)}read256(){let e=BigInt(this.read128()),t=BigInt(this.read128()).toString(16)+e.toString(16).padStart(32,"0");return BigInt("0x"+t).toString(10)}readBytes(e){let t=this.bytePosition+this.dataView.byteOffset,r=new Uint8Array(this.dataView.buffer,t,e);return this.shift(e),r}readULEB(){let e=this.bytePosition+this.dataView.byteOffset,t=new Uint8Array(this.dataView.buffer,e),{value:r,length:n}=(0,c.ulebDecode)(t);return this.shift(n),r}readVec(e){let t=this.readULEB(),r=[];for(let n=0;n<t;n++)r.push(e(this,n,t));return r}}})),f0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{decodeStr:()=>h,encodeStr:()=>d,splitGenericParameters:()=>f}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=dj(),u=hj(),l=pj();function d(e,t){switch(t){case"base58":return(0,c.toBase58)(e);case"base64":return(0,u.toBase64)(e);case"hex":return(0,l.toHex)(e);default:throw new Error("Unsupported encoding, supported values are: base64, hex")}}function h(e,t){switch(t){case"base58":return(0,c.fromBase58)(e);case"base64":return(0,u.fromBase64)(e);case"hex":return(0,l.fromHex)(e);default:throw new Error("Unsupported encoding, supported values are: base64, hex")}}function f(e,t=["<",">"]){let[r,n]=t,i=[],o="",s=0;for(let t=0;t<e.length;t++){let a=e[t];(a===r&&s++,a===n&&s--,0!==s||","!==a)?o+=a:(i.push(o.trim()),o="")}return i.push(o.trim()),i}})),g0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{BcsWriter:()=>l}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=LB(),u=f0e(),l=class{constructor({initialSize:e=1024,maxSize:t=1/0,allocateSize:r=1024}={}){this.bytePosition=0,this.size=e,this.maxSize=t,this.allocateSize=r,this.dataView=new DataView(new ArrayBuffer(e))}ensureSizeOrGrow(e){let t=this.bytePosition+e;if(t>this.size){let e=Math.min(this.maxSize,this.size+this.allocateSize);if(t>e)throw new Error(`Attempting to serialize to BCS, but buffer does not have enough size. Allocated size: ${this.size}, Max size: ${this.maxSize}, Required size: ${t}`);this.size=e;let r=new ArrayBuffer(this.size);new Uint8Array(r).set(new Uint8Array(this.dataView.buffer)),this.dataView=new DataView(r)}}shift(e){return this.bytePosition+=e,this}write8(e){return this.ensureSizeOrGrow(1),this.dataView.setUint8(this.bytePosition,Number(e)),this.shift(1)}write16(e){return this.ensureSizeOrGrow(2),this.dataView.setUint16(this.bytePosition,Number(e),!0),this.shift(2)}write32(e){return this.ensureSizeOrGrow(4),this.dataView.setUint32(this.bytePosition,Number(e),!0),this.shift(4)}write64(e){return d(BigInt(e),8).forEach((e=>this.write8(e))),this}write128(e){return d(BigInt(e),16).forEach((e=>this.write8(e))),this}write256(e){return d(BigInt(e),32).forEach((e=>this.write8(e))),this}writeULEB(e){return(0,c.ulebEncode)(e).forEach((e=>this.write8(e))),this}writeVec(e,t){return this.writeULEB(e.length),Array.from(e).forEach(((r,n)=>t(this,r,n,e.length))),this}*[Symbol.iterator](){for(let e=0;e<this.bytePosition;e++)yield this.dataView.getUint8(e);return this.toBytes()}toBytes(){return new Uint8Array(this.dataView.buffer.slice(0,this.bytePosition))}toString(e){return(0,u.encodeStr)(this.toBytes(),e)}};function d(e,t){let r=new Uint8Array(t),n=0;for(;e>0;)r[n]=Number(e%BigInt(256)),e/=BigInt(256),n+=1;return r}})),b0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{BcsType:()=>C,SerializedBcs:()=>O,bigUIntBcsType:()=>k,dynamicSizeBcsType:()=>B,fixedSizeBcsType:()=>M,isSerializedBcs:()=>I,lazyBcsType:()=>N,stringLikeBcsType:()=>x,uIntBcsType:()=>P}),t.exports=(r=h,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var f,p,g,y,b=dj(),w=hj(),v=pj(),A=u0e(),E=LB(),T=g0e();f=new WeakMap,p=new WeakMap;var C=class e{constructor(e){l(this,f),l(this,p),this.name=e.name,this.read=e.read,this.serializedSize=e.serializedSize??(()=>null),d(this,f,e.write),d(this,p,e.serialize??((e,t)=>{let r=new T.BcsWriter({initialSize:this.serializedSize(e)??void 0,...t});return u(this,f).call(this,e,r),r.toBytes()})),this.validate=e.validate??(()=>{})}write(e,t){this.validate(e),u(this,f).call(this,e,t)}serialize(e,t){return this.validate(e),new O(this,u(this,p).call(this,e,t))}parse(e){let t=new A.BcsReader(e);return this.read(t)}fromHex(e){return this.parse((0,v.fromHex)(e))}fromBase58(e){return this.parse((0,b.fromBase58)(e))}fromBase64(e){return this.parse((0,w.fromBase64)(e))}transform({name:t,input:r,output:n,validate:i}){return new e({name:t??this.name,read:e=>n(this.read(e)),write:(e,t)=>u(this,f).call(this,r(e),t),serializedSize:e=>this.serializedSize(r(e)),serialize:(e,t)=>u(this,p).call(this,r(e),t),validate:e=>{i?.(e),this.validate(r(e))}})}},S=Symbol.for("@mysten/serialized-bcs");function I(e){return!!e&&"object"==typeof e&&!0===e[S]}var O=class{constructor(e,t){l(this,g),l(this,y),d(this,g,e),d(this,y,t)}get[S](){return!0}toBytes(){return u(this,y)}toHex(){return(0,v.toHex)(u(this,y))}toBase64(){return(0,w.toBase64)(u(this,y))}toBase58(){return(0,b.toBase58)(u(this,y))}parse(){return u(this,g).parse(u(this,y))}};function M({size:e,...t}){return new C({...t,serializedSize:()=>e})}function P({readMethod:e,writeMethod:t,...r}){return M({...r,read:t=>t[e](),write:(e,r)=>r[t](e),validate:e=>{if(e<0||e>r.maxValue)throw new TypeError(`Invalid ${r.name} value: ${e}. Expected value in range 0-${r.maxValue}`);r.validate?.(e)}})}function k({readMethod:e,writeMethod:t,...r}){return M({...r,read:t=>t[e](),write:(e,r)=>r[t](BigInt(e)),validate:e=>{let t=BigInt(e);if(t<0||t>r.maxValue)throw new TypeError(`Invalid ${r.name} value: ${t}. Expected value in range 0-${r.maxValue}`);r.validate?.(t)}})}function B({serialize:e,...t}){let r=new C({...t,serialize:e,write:(e,t)=>{for(let n of r.serialize(e).toBytes())t.write8(n)}});return r}function x({toBytes:e,fromBytes:t,...r}){return new C({...r,read:e=>{let r=e.readULEB(),n=e.readBytes(r);return t(n)},write:(t,r)=>{let n=e(t);r.writeULEB(n.length);for(let e=0;e<n.length;e++)r.write8(n[e])},serialize:t=>{let r=e(t),n=(0,E.ulebEncode)(r.length),i=new Uint8Array(n.length+r.length);return i.set(n,0),i.set(r,n.length),i},validate:e=>{if("string"!=typeof e)throw new TypeError(`Invalid ${r.name} value: ${e}. Expected string`);r.validate?.(e)}})}function N(e){let t=null;function r(){return t||(t=e()),t}return new C({name:"lazy",read:e=>r().read(e),serializedSize:e=>r().serializedSize(e),write:(e,t)=>r().write(e,t),serialize:(e,t)=>r().serialize(e,t).toBytes()})}g=new WeakMap,y=new WeakMap})),Ort=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{bcs:()=>l}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=b0e(),u=LB(),l={u8:e=>(0,c.uIntBcsType)({name:"u8",readMethod:"read8",writeMethod:"write8",size:1,maxValue:255,...e}),u16:e=>(0,c.uIntBcsType)({name:"u16",readMethod:"read16",writeMethod:"write16",size:2,maxValue:65535,...e}),u32:e=>(0,c.uIntBcsType)({name:"u32",readMethod:"read32",writeMethod:"write32",size:4,maxValue:2**32-1,...e}),u64:e=>(0,c.bigUIntBcsType)({name:"u64",readMethod:"read64",writeMethod:"write64",size:8,maxValue:2n**64n-1n,...e}),u128:e=>(0,c.bigUIntBcsType)({name:"u128",readMethod:"read128",writeMethod:"write128",size:16,maxValue:2n**128n-1n,...e}),u256:e=>(0,c.bigUIntBcsType)({name:"u256",readMethod:"read256",writeMethod:"write256",size:32,maxValue:2n**256n-1n,...e}),bool:e=>(0,c.fixedSizeBcsType)({name:"bool",size:1,read:e=>1===e.read8(),write:(e,t)=>t.write8(e?1:0),...e,validate:t=>{if(e?.validate?.(t),"boolean"!=typeof t)throw new TypeError("Expected boolean, found "+typeof t)}}),uleb128:e=>(0,c.dynamicSizeBcsType)({name:"uleb128",read:e=>e.readULEB(),serialize:e=>Uint8Array.from((0,u.ulebEncode)(e)),...e}),bytes:(e,t)=>(0,c.fixedSizeBcsType)({name:`bytes[${e}]`,size:e,read:t=>t.readBytes(e),write:(t,r)=>{for(let n=0;n<e;n++)r.write8(t[n]??0)},...t,validate:r=>{if(t?.validate?.(r),!r||"object"!=typeof r||!("length"in r))throw new TypeError("Expected array, found "+typeof r);if(r.length!==e)throw new TypeError(`Expected array of length ${e}, found ${r.length}`)}}),string:e=>(0,c.stringLikeBcsType)({name:"string",toBytes:e=>(new TextEncoder).encode(e),fromBytes:e=>(new TextDecoder).decode(e),...e}),fixedArray:(e,t,r)=>new c.BcsType({name:`${t.name}[${e}]`,read:r=>{let n=new Array(e);for(let i=0;i<e;i++)n[i]=t.read(r);return n},write:(e,r)=>{for(let n of e)t.write(n,r)},...r,validate:t=>{if(r?.validate?.(t),!t||"object"!=typeof t||!("length"in t))throw new TypeError("Expected array, found "+typeof t);if(t.length!==e)throw new TypeError(`Expected array of length ${e}, found ${t.length}`)}}),option:e=>l.enum(`Option<${e.name}>`,{None:null,Some:e}).transform({input:e=>null==e?{None:!0}:{Some:e},output:e=>"Some"===e.$kind?e.Some:null}),vector:(e,t)=>new c.BcsType({name:`vector<${e.name}>`,read:t=>{let r=t.readULEB(),n=new Array(r);for(let i=0;i<r;i++)n[i]=e.read(t);return n},write:(t,r)=>{r.writeULEB(t.length);for(let n of t)e.write(n,r)},...t,validate:e=>{if(t?.validate?.(e),!e||"object"!=typeof e||!("length"in e))throw new TypeError("Expected array, found "+typeof e)}}),tuple:(e,t)=>new c.BcsType({name:`(${e.map((e=>e.name)).join(", ")})`,serializedSize:t=>{let r=0;for(let n=0;n<e.length;n++){let i=e[n].serializedSize(t[n]);if(null==i)return null;r+=i}return r},read:t=>{let r=[];for(let n of e)r.push(n.read(t));return r},write:(t,r)=>{for(let n=0;n<e.length;n++)e[n].write(t[n],r)},...t,validate:r=>{if(t?.validate?.(r),!Array.isArray(r))throw new TypeError("Expected array, found "+typeof r);if(r.length!==e.length)throw new TypeError(`Expected array of length ${e.length}, found ${r.length}`)}}),struct(e,t,r){let n=Object.entries(t);return new c.BcsType({name:e,serializedSize:e=>{let t=0;for(let[r,i]of n){let n=i.serializedSize(e[r]);if(null==n)return null;t+=n}return t},read:e=>{let t={};for(let[r,i]of n)t[r]=i.read(e);return t},write:(e,t)=>{for(let[r,i]of n)i.write(e[r],t)},...r,validate:e=>{if(r?.validate?.(e),"object"!=typeof e||null==e)throw new TypeError("Expected object, found "+typeof e)}})},enum(e,t,r){let n=Object.entries(t);return new c.BcsType({name:e,read:t=>{let r=t.readULEB(),i=n[r];if(!i)throw new TypeError(`Unknown value ${r} for enum ${e}`);let[o,s]=i;return{[o]:s?.read(t)??!0,$kind:o}},write:(e,r)=>{let[i,o]=Object.entries(e).filter((([e])=>Object.hasOwn(t,e)))[0];for(let e=0;e<n.length;e++){let[t,s]=n[e];if(t===i)return r.writeULEB(e),void s?.write(o,r)}},...r,validate:n=>{if(r?.validate?.(n),"object"!=typeof n||null==n)throw new TypeError("Expected object, found "+typeof n);let i=Object.keys(n).filter((e=>void 0!==n[e]&&Object.hasOwn(t,e)));if(1!==i.length)throw new TypeError(`Expected object with one key, but found ${i.length} for type ${e}}`);let[o]=i;if(!Object.hasOwn(t,o))throw new TypeError(`Invalid enum variant ${o}`)}})},map:(e,t)=>l.vector(l.tuple([e,t])).transform({name:`Map<${e.name}, ${t.name}>`,input:e=>[...e.entries()],output:e=>{let t=new Map;for(let[r,n]of e)t.set(r,n);return t}}),lazy:e=>(0,c.lazyBcsType)(e)}})),wc=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{BcsReader:()=>f.BcsReader,BcsType:()=>l.BcsType,BcsWriter:()=>g.BcsWriter,SerializedBcs:()=>l.SerializedBcs,bcs:()=>d.bcs,decodeStr:()=>p.decodeStr,encodeStr:()=>p.encodeStr,fromB58:()=>c.fromB58,fromB64:()=>u.fromB64,fromBase58:()=>c.fromBase58,fromBase64:()=>u.fromBase64,fromHEX:()=>h.fromHEX,fromHex:()=>h.fromHex,isSerializedBcs:()=>l.isSerializedBcs,splitGenericParameters:()=>p.splitGenericParameters,toB58:()=>c.toB58,toB64:()=>u.toB64,toBase58:()=>c.toBase58,toBase64:()=>u.toBase64,toHEX:()=>h.toHEX,toHex:()=>h.toHex}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=dj(),u=hj(),l=b0e(),d=Ort(),h=pj(),f=u0e(),p=f0e(),g=g0e()})),Il=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{SUI_ADDRESS_LENGTH:()=>d,isValidSuiAddress:()=>h,isValidSuiObjectId:()=>f,isValidTransactionDigest:()=>l,normalizeStructTag:()=>g,normalizeSuiAddress:()=>y,normalizeSuiObjectId:()=>b,parseStructTag:()=>p}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=32;function l(e){try{return(0,c.fromBase58)(e).length===u}catch{return!1}}var d=32;function h(e){return function(e){return/^(0x|0X)?[a-fA-F0-9]+$/.test(e)&&e.length%2==0}(e)&&function(e){return/^(0x|0X)/.test(e)?(e.length-2)/2:e.length/2}(e)===d}function f(e){return h(e)}function p(e){let[t,r]=e.split("::"),n=e.slice(t.length+r.length+4),i=n.includes("<")?n.slice(0,n.indexOf("<")):n,o=n.includes("<")?(0,c.splitGenericParameters)(n.slice(n.indexOf("<")+1,n.lastIndexOf(">"))).map((e=>function(e){return e.includes("::")?p(e):e}(e.trim()))):[];return{address:y(t),module:r,name:i,typeParams:o}}function g(e){let{address:t,module:r,name:n,typeParams:i}="string"==typeof e?p(e):e;return`${t}::${r}::${n}${i?.length>0?`<${i.map((e=>"string"==typeof e?e:g(e))).join(",")}>`:""}`}function y(e,t=!1){let r=e.toLowerCase();return!t&&r.startsWith("0x")&&(r=r.slice(2)),`0x${r.padStart(2*d,"0")}`}function b(e,t=!1){return y(e,t)}})),P0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{TypeTagSerializer:()=>h}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=Il(),l=/^vector<(.+)>$/,d=/^([^:]+)::([^:]+)::([^<]+)(<(.+)>)?/,h=class e{static parseFromStr(t,r=!1){if("address"===t)return{address:null};if("bool"===t)return{bool:null};if("u8"===t)return{u8:null};if("u16"===t)return{u16:null};if("u32"===t)return{u32:null};if("u64"===t)return{u64:null};if("u128"===t)return{u128:null};if("u256"===t)return{u256:null};if("signer"===t)return{signer:null};let n=t.match(l);if(n)return{vector:e.parseFromStr(n[1],r)};let i=t.match(d);if(i)return{struct:{address:r?(0,u.normalizeSuiAddress)(i[1]):i[1],module:i[2],name:i[3],typeParams:void 0===i[5]?[]:e.parseStructTypeArgs(i[5],r)}};throw new Error(`Encountered unexpected token when parsing type args for ${t}`)}static parseStructTypeArgs(t,r=!1){return(0,c.splitGenericParameters)(t).map((t=>e.parseFromStr(t,r)))}static tagToString(t){if("bool"in t)return"bool";if("u8"in t)return"u8";if("u16"in t)return"u16";if("u32"in t)return"u32";if("u64"in t)return"u64";if("u128"in t)return"u128";if("u256"in t)return"u256";if("address"in t)return"address";if("signer"in t)return"signer";if("vector"in t)return`vector<${e.tagToString(t.vector)}>`;if("struct"in t){let r=t.struct,n=r.typeParams.map(e.tagToString).join(", ");return`${r.address}::${r.module}::${r.name}${n?`<${n}>`:""}`}throw new Error("Invalid TypeTag")}}})),_0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{Address:()=>d,AppId:()=>x,Argument:()=>v,CallArg:()=>y,Command:()=>E,CompressedSignature:()=>_,GasData:()=>O,Intent:()=>N,IntentMessage:()=>R,IntentScope:()=>k,IntentVersion:()=>B,MultiSig:()=>L,MultiSigPkMap:()=>D,MultiSigPublicKey:()=>W,ObjectArg:()=>g,ObjectDigest:()=>h,ProgrammableMoveCall:()=>A,ProgrammableTransaction:()=>T,PublicKey:()=>U,SenderSignedData:()=>K,SenderSignedTransaction:()=>F,SharedObjectRef:()=>p,StructTag:()=>I,SuiObjectRef:()=>f,TransactionData:()=>P,TransactionDataV1:()=>M,TransactionExpiration:()=>S,TransactionKind:()=>C,TypeTag:()=>w,base64String:()=>z}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=Il(),l=P0e();var d=c.bcs.bytes(u.SUI_ADDRESS_LENGTH).transform({validate:e=>{let t="string"==typeof e?e:(0,c.toHex)(e);if(!t||!(0,u.isValidSuiAddress)((0,u.normalizeSuiAddress)(t)))throw new Error(`Invalid Sui address ${t}`)},input:e=>"string"==typeof e?(0,c.fromHex)((0,u.normalizeSuiAddress)(e)):e,output:e=>(0,u.normalizeSuiAddress)((0,c.toHex)(e))}),h=c.bcs.vector(c.bcs.u8()).transform({name:"ObjectDigest",input:e=>(0,c.fromBase58)(e),output:e=>(0,c.toBase58)(new Uint8Array(e)),validate:e=>{if(32!==(0,c.fromBase58)(e).length)throw new Error("ObjectDigest must be 32 bytes")}}),f=c.bcs.struct("SuiObjectRef",{objectId:d,version:c.bcs.u64(),digest:h}),p=c.bcs.struct("SharedObjectRef",{objectId:d,initialSharedVersion:c.bcs.u64(),mutable:c.bcs.bool()}),g=c.bcs.enum("ObjectArg",{ImmOrOwnedObject:f,SharedObject:p,Receiving:f}),y=c.bcs.enum("CallArg",{Pure:c.bcs.struct("Pure",{bytes:c.bcs.vector(c.bcs.u8()).transform({input:e=>"string"==typeof e?(0,c.fromBase64)(e):e,output:e=>(0,c.toBase64)(new Uint8Array(e))})}),Object:g}),b=c.bcs.enum("TypeTag",{bool:null,u8:null,u64:null,u128:null,address:null,signer:null,vector:c.bcs.lazy((()=>b)),struct:c.bcs.lazy((()=>I)),u16:null,u32:null,u256:null}),w=b.transform({input:e=>"string"==typeof e?l.TypeTagSerializer.parseFromStr(e,!0):e,output:e=>l.TypeTagSerializer.tagToString(e)}),v=c.bcs.enum("Argument",{GasCoin:null,Input:c.bcs.u16(),Result:c.bcs.u16(),NestedResult:c.bcs.tuple([c.bcs.u16(),c.bcs.u16()])}),A=c.bcs.struct("ProgrammableMoveCall",{package:d,module:c.bcs.string(),function:c.bcs.string(),typeArguments:c.bcs.vector(w),arguments:c.bcs.vector(v)}),E=c.bcs.enum("Command",{MoveCall:A,TransferObjects:c.bcs.struct("TransferObjects",{objects:c.bcs.vector(v),address:v}),SplitCoins:c.bcs.struct("SplitCoins",{coin:v,amounts:c.bcs.vector(v)}),MergeCoins:c.bcs.struct("MergeCoins",{destination:v,sources:c.bcs.vector(v)}),Publish:c.bcs.struct("Publish",{modules:c.bcs.vector(c.bcs.vector(c.bcs.u8()).transform({input:e=>"string"==typeof e?(0,c.fromBase64)(e):e,output:e=>(0,c.toBase64)(new Uint8Array(e))})),dependencies:c.bcs.vector(d)}),MakeMoveVec:c.bcs.struct("MakeMoveVec",{type:function(e){return c.bcs.enum("Option",{None:null,Some:e})}(w).transform({input:e=>null===e?{None:!0}:{Some:e},output:e=>e.Some??null}),elements:c.bcs.vector(v)}),Upgrade:c.bcs.struct("Upgrade",{modules:c.bcs.vector(c.bcs.vector(c.bcs.u8()).transform({input:e=>"string"==typeof e?(0,c.fromBase64)(e):e,output:e=>(0,c.toBase64)(new Uint8Array(e))})),dependencies:c.bcs.vector(d),package:d,ticket:v})}),T=c.bcs.struct("ProgrammableTransaction",{inputs:c.bcs.vector(y),commands:c.bcs.vector(E)}),C=c.bcs.enum("TransactionKind",{ProgrammableTransaction:T,ChangeEpoch:null,Genesis:null,ConsensusCommitPrologue:null}),S=c.bcs.enum("TransactionExpiration",{None:null,Epoch:function(e){return c.bcs.u64({name:"unsafe_u64",...e}).transform({input:e=>e,output:e=>Number(e)})}()}),I=c.bcs.struct("StructTag",{address:d,module:c.bcs.string(),name:c.bcs.string(),typeParams:c.bcs.vector(b)}),O=c.bcs.struct("GasData",{payment:c.bcs.vector(f),owner:d,price:c.bcs.u64(),budget:c.bcs.u64()}),M=c.bcs.struct("TransactionDataV1",{kind:C,sender:d,gasData:O,expiration:S}),P=c.bcs.enum("TransactionData",{V1:M}),k=c.bcs.enum("IntentScope",{TransactionData:null,TransactionEffects:null,CheckpointSummary:null,PersonalMessage:null}),B=c.bcs.enum("IntentVersion",{V0:null}),x=c.bcs.enum("AppId",{Sui:null}),N=c.bcs.struct("Intent",{scope:k,version:B,appId:x});function R(e){return c.bcs.struct(`IntentMessage<${e.name}>`,{intent:N,value:e})}var _=c.bcs.enum("CompressedSignature",{ED25519:c.bcs.fixedArray(64,c.bcs.u8()),Secp256k1:c.bcs.fixedArray(64,c.bcs.u8()),Secp256r1:c.bcs.fixedArray(64,c.bcs.u8()),ZkLogin:c.bcs.vector(c.bcs.u8())}),U=c.bcs.enum("PublicKey",{ED25519:c.bcs.fixedArray(32,c.bcs.u8()),Secp256k1:c.bcs.fixedArray(33,c.bcs.u8()),Secp256r1:c.bcs.fixedArray(33,c.bcs.u8()),ZkLogin:c.bcs.vector(c.bcs.u8())}),D=c.bcs.struct("MultiSigPkMap",{pubKey:U,weight:c.bcs.u8()}),W=c.bcs.struct("MultiSigPublicKey",{pk_map:c.bcs.vector(D),threshold:c.bcs.u16()}),L=c.bcs.struct("MultiSig",{sigs:c.bcs.vector(_),bitmap:c.bcs.u16(),multisig_pk:W}),z=c.bcs.vector(c.bcs.u8()).transform({input:e=>"string"==typeof e?(0,c.fromBase64)(e):e,output:e=>(0,c.toBase64)(new Uint8Array(e))}),F=c.bcs.struct("SenderSignedTransaction",{intentMessage:R(P),txSignatures:c.bcs.vector(z)}),K=c.bcs.vector(F,{name:"SenderSignedData"})})),ynt=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{TransactionEffects:()=>M}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=_0e(),l=c.bcs.enum("PackageUpgradeError",{UnableToFetchPackage:c.bcs.struct("UnableToFetchPackage",{packageId:u.Address}),NotAPackage:c.bcs.struct("NotAPackage",{objectId:u.Address}),IncompatibleUpgrade:null,DigestDoesNotMatch:c.bcs.struct("DigestDoesNotMatch",{digest:c.bcs.vector(c.bcs.u8())}),UnknownUpgradePolicy:c.bcs.struct("UnknownUpgradePolicy",{policy:c.bcs.u8()}),PackageIDDoesNotMatch:c.bcs.struct("PackageIDDoesNotMatch",{packageId:u.Address,ticketId:u.Address})}),d=c.bcs.struct("ModuleId",{address:u.Address,name:c.bcs.string()}),h=c.bcs.struct("MoveLocation",{module:d,function:c.bcs.u16(),instruction:c.bcs.u16(),functionName:c.bcs.option(c.bcs.string())}),f=c.bcs.enum("CommandArgumentError",{TypeMismatch:null,InvalidBCSBytes:null,InvalidUsageOfPureArg:null,InvalidArgumentToPrivateEntryFunction:null,IndexOutOfBounds:c.bcs.struct("IndexOutOfBounds",{idx:c.bcs.u16()}),SecondaryIndexOutOfBounds:c.bcs.struct("SecondaryIndexOutOfBounds",{resultIdx:c.bcs.u16(),secondaryIdx:c.bcs.u16()}),InvalidResultArity:c.bcs.struct("InvalidResultArity",{resultIdx:c.bcs.u16()}),InvalidGasCoinUsage:null,InvalidValueUsage:null,InvalidObjectByValue:null,InvalidObjectByMutRef:null,SharedObjectOperationNotAllowed:null}),p=c.bcs.enum("TypeArgumentError",{TypeNotFound:null,ConstraintNotSatisfied:null}),g=c.bcs.enum("ExecutionFailureStatus",{InsufficientGas:null,InvalidGasObject:null,InvariantViolation:null,FeatureNotYetSupported:null,MoveObjectTooBig:c.bcs.struct("MoveObjectTooBig",{objectSize:c.bcs.u64(),maxObjectSize:c.bcs.u64()}),MovePackageTooBig:c.bcs.struct("MovePackageTooBig",{objectSize:c.bcs.u64(),maxObjectSize:c.bcs.u64()}),CircularObjectOwnership:c.bcs.struct("CircularObjectOwnership",{object:u.Address}),InsufficientCoinBalance:null,CoinBalanceOverflow:null,PublishErrorNonZeroAddress:null,SuiMoveVerificationError:null,MovePrimitiveRuntimeError:c.bcs.option(h),MoveAbort:c.bcs.tuple([h,c.bcs.u64()]),VMVerificationOrDeserializationError:null,VMInvariantViolation:null,FunctionNotFound:null,ArityMismatch:null,TypeArityMismatch:null,NonEntryFunctionInvoked:null,CommandArgumentError:c.bcs.struct("CommandArgumentError",{argIdx:c.bcs.u16(),kind:f}),TypeArgumentError:c.bcs.struct("TypeArgumentError",{argumentIdx:c.bcs.u16(),kind:p}),UnusedValueWithoutDrop:c.bcs.struct("UnusedValueWithoutDrop",{resultIdx:c.bcs.u16(),secondaryIdx:c.bcs.u16()}),InvalidPublicFunctionReturnType:c.bcs.struct("InvalidPublicFunctionReturnType",{idx:c.bcs.u16()}),InvalidTransferObject:null,EffectsTooLarge:c.bcs.struct("EffectsTooLarge",{currentSize:c.bcs.u64(),maxSize:c.bcs.u64()}),PublishUpgradeMissingDependency:null,PublishUpgradeDependencyDowngrade:null,PackageUpgradeError:c.bcs.struct("PackageUpgradeError",{upgradeError:l}),WrittenObjectsTooLarge:c.bcs.struct("WrittenObjectsTooLarge",{currentSize:c.bcs.u64(),maxSize:c.bcs.u64()}),CertificateDenied:null,SuiMoveVerificationTimedout:null,SharedObjectOperationNotAllowed:null,InputObjectDeleted:null}),y=c.bcs.enum("ExecutionStatus",{Success:null,Failed:c.bcs.struct("ExecutionFailed",{error:g,command:c.bcs.option(c.bcs.u64())})}),b=c.bcs.struct("GasCostSummary",{computationCost:c.bcs.u64(),storageCost:c.bcs.u64(),storageRebate:c.bcs.u64(),nonRefundableStorageFee:c.bcs.u64()}),w=c.bcs.enum("Owner",{AddressOwner:u.Address,ObjectOwner:u.Address,Shared:c.bcs.struct("Shared",{initialSharedVersion:c.bcs.u64()}),Immutable:null}),v=c.bcs.struct("TransactionEffectsV1",{status:y,executedEpoch:c.bcs.u64(),gasUsed:b,modifiedAtVersions:c.bcs.vector(c.bcs.tuple([u.Address,c.bcs.u64()])),sharedObjects:c.bcs.vector(u.SuiObjectRef),transactionDigest:u.ObjectDigest,created:c.bcs.vector(c.bcs.tuple([u.SuiObjectRef,w])),mutated:c.bcs.vector(c.bcs.tuple([u.SuiObjectRef,w])),unwrapped:c.bcs.vector(c.bcs.tuple([u.SuiObjectRef,w])),deleted:c.bcs.vector(u.SuiObjectRef),unwrappedThenDeleted:c.bcs.vector(u.SuiObjectRef),wrapped:c.bcs.vector(u.SuiObjectRef),gasObject:c.bcs.tuple([u.SuiObjectRef,w]),eventsDigest:c.bcs.option(u.ObjectDigest),dependencies:c.bcs.vector(u.ObjectDigest)}),A=c.bcs.tuple([c.bcs.u64(),u.ObjectDigest]),E=c.bcs.enum("ObjectIn",{NotExist:null,Exist:c.bcs.tuple([A,w])}),T=c.bcs.enum("ObjectOut",{NotExist:null,ObjectWrite:c.bcs.tuple([u.ObjectDigest,w]),PackageWrite:A}),C=c.bcs.enum("IDOperation",{None:null,Created:null,Deleted:null}),S=c.bcs.struct("EffectsObjectChange",{inputState:E,outputState:T,idOperation:C}),I=c.bcs.enum("UnchangedSharedKind",{ReadOnlyRoot:A,MutateDeleted:c.bcs.u64(),ReadDeleted:c.bcs.u64(),Cancelled:c.bcs.u64(),PerEpochConfig:null}),O=c.bcs.struct("TransactionEffectsV2",{status:y,executedEpoch:c.bcs.u64(),gasUsed:b,transactionDigest:u.ObjectDigest,gasObjectIndex:c.bcs.option(c.bcs.u32()),eventsDigest:c.bcs.option(u.ObjectDigest),dependencies:c.bcs.vector(u.ObjectDigest),lamportVersion:c.bcs.u64(),changedObjects:c.bcs.vector(c.bcs.tuple([u.Address,S])),unchangedSharedObjects:c.bcs.vector(c.bcs.tuple([u.Address,I])),auxDataDigest:c.bcs.option(u.ObjectDigest)}),M=c.bcs.enum("TransactionEffects",{V1:v,V2:O})})),lp=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{BcsType:()=>h.BcsType,TypeTagSerializer:()=>d.TypeTagSerializer,bcs:()=>f}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=_0e(),l=ynt(),d=P0e(),h=wc(),f={...c.bcs,U8:c.bcs.u8(),U16:c.bcs.u16(),U32:c.bcs.u32(),U64:c.bcs.u64(),U128:c.bcs.u128(),U256:c.bcs.u256(),ULEB128:c.bcs.uleb128(),Bool:c.bcs.bool(),String:c.bcs.string(),Address:u.Address,AppId:u.AppId,Argument:u.Argument,CallArg:u.CallArg,CompressedSignature:u.CompressedSignature,GasData:u.GasData,Intent:u.Intent,IntentMessage:u.IntentMessage,IntentScope:u.IntentScope,IntentVersion:u.IntentVersion,MultiSig:u.MultiSig,MultiSigPkMap:u.MultiSigPkMap,MultiSigPublicKey:u.MultiSigPublicKey,ObjectArg:u.ObjectArg,ObjectDigest:u.ObjectDigest,ProgrammableMoveCall:u.ProgrammableMoveCall,ProgrammableTransaction:u.ProgrammableTransaction,PublicKey:u.PublicKey,SenderSignedData:u.SenderSignedData,SenderSignedTransaction:u.SenderSignedTransaction,SharedObjectRef:u.SharedObjectRef,StructTag:u.StructTag,SuiObjectRef:u.SuiObjectRef,Command:u.Command,TransactionData:u.TransactionData,TransactionDataV1:u.TransactionDataV1,TransactionExpiration:u.TransactionExpiration,TransactionKind:u.TransactionKind,TypeTag:u.TypeTag,TransactionEffects:l.TransactionEffects}})),Ant=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{formatAddress:()=>u,formatDigest:()=>l}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c="…";function u(e){if(e.length<=6)return e;let t=e.startsWith("0x")?2:0;return`0x${e.slice(t,t+4)}${c}${e.slice(-4)}`}function l(e){return`${e.slice(0,10)}${c}`}})),Tj=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{isValidSuiNSName:()=>d,normalizeSuiNSName:()=>h}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=/^(?!.*(^(?!@)|[-.@])($|[-.@]))(?:[a-z0-9-]{0,63}(?:\.[a-z0-9-]{0,63})*)?@[a-z0-9-]{0,63}$/i,u=/^(?!.*(^|[-.])($|[-.]))(?:[a-z0-9-]{0,63}\.)+sui$/i,l=235;function d(e){return!(e.length>l)&&(e.includes("@")?c.test(e):u.test(e))}function h(e,t="at"){let r,n=e.toLowerCase();if(n.includes("@")){if(!c.test(n))throw new Error(`Invalid SuiNS name ${e}`);let[t,i]=n.split("@");r=[...t?t.split("."):[],i]}else{if(!u.test(n))throw new Error(`Invalid SuiNS name ${e}`);r=n.split(".").slice(0,-1)}return"dot"===t?`${r.join(".")}.sui`:`${r.slice(0,-1).join(".")}@${r[r.length-1]}`}})),Mnt=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{MIST_PER_SUI:()=>l,MOVE_STDLIB_ADDRESS:()=>d,SUI_CLOCK_OBJECT_ID:()=>p,SUI_DECIMALS:()=>u,SUI_FRAMEWORK_ADDRESS:()=>h,SUI_SYSTEM_ADDRESS:()=>f,SUI_SYSTEM_MODULE_NAME:()=>g,SUI_SYSTEM_STATE_OBJECT_ID:()=>b,SUI_TYPE_ARG:()=>y}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=Il(),u=9,l=BigInt(1e9),d="0x1",h="0x2",f="0x3",p=(0,c.normalizeSuiObjectId)("0x6"),g="sui_system",y=`${h}::sui::SUI`,b=(0,c.normalizeSuiObjectId)("0x5")})),z0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{isValidNamedPackage:()=>d,isValidNamedType:()=>h}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=Tj(),u=/^([a-z0-9]+(?:-[a-z0-9]+)*)$/,l=/^\d+$/,d=e=>{let t=e.split("/");if(t.length<2||t.length>3)return!1;let[r,n,i]=t;return!(void 0!==i&&!l.test(i)||!(0,c.isValidSuiNSName)(r))&&(u.test(n)&&n.length<64)},h=e=>{let t=e.split(/::|<|>|,/);for(let e of t)if(e.includes("/")&&!d(e))return!1;return!0}})),Dnt=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.BLAKE=e.SIGMA=void 0;var t=gm(),r=Au();e.SIGMA=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9]);var n=class extends r.Hash{constructor(e,n,i={},o,s,a){if(super(),this.blockLen=e,this.outputLen=n,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,(0,t.anumber)(e),(0,t.anumber)(n),(0,t.anumber)(o),n<0||n>o)throw new Error("outputLen bigger than keyLen");if(void 0!==i.key&&(i.key.length<1||i.key.length>o))throw new Error("key length must be undefined or 1.."+o);if(void 0!==i.salt&&i.salt.length!==s)throw new Error("salt must be undefined or "+s);if(void 0!==i.personalization&&i.personalization.length!==a)throw new Error("personalization must be undefined or "+a);this.buffer=new Uint8Array(e),this.buffer32=(0,r.u32)(this.buffer)}update(e){(0,t.aexists)(this);let{blockLen:n,buffer:i,buffer32:o}=this,s=(e=(0,r.toBytes)(e)).length,a=e.byteOffset,c=e.buffer;for(let t=0;t<s;){this.pos===n&&(r.isLE||(0,r.byteSwap32)(o),this.compress(o,0,!1),r.isLE||(0,r.byteSwap32)(o),this.pos=0);let u=Math.min(n-this.pos,s-t),l=a+t;if(u!==n||l%4||!(t+u<s))i.set(e.subarray(t,t+u),this.pos),this.pos+=u,this.length+=u,t+=u;else{let e=new Uint32Array(c,l,Math.floor((s-t)/4));r.isLE||(0,r.byteSwap32)(e);for(let r=0;t+n<s;r+=o.length,t+=n)this.length+=n,this.compress(e,r,!1);r.isLE||(0,r.byteSwap32)(e)}}return this}digestInto(e){(0,t.aexists)(this),(0,t.aoutput)(e,this);let{pos:n,buffer32:i}=this;this.finished=!0,this.buffer.subarray(n).fill(0),r.isLE||(0,r.byteSwap32)(i),this.compress(i,0,!0),r.isLE||(0,r.byteSwap32)(i);let o=(0,r.u32)(e);this.get().forEach(((e,t)=>o[t]=(0,r.byteSwapIfBE)(e)))}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){let{buffer:t,length:r,finished:n,destroyed:i,outputLen:o,pos:s}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.length=r,e.finished=n,e.destroyed=i,e.outputLen=o,e.buffer.set(t),e.pos=s,e}};e.BLAKE=n})),H0e=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.blake2b=e.BLAKE2b=void 0;var t=Dnt(),r=V7(),n=Au(),i=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),o=new Uint32Array(32);function s(e,t,n,i,s,a){let c=s[a],u=s[a+1],l=o[2*e],d=o[2*e+1],h=o[2*t],f=o[2*t+1],p=o[2*n],g=o[2*n+1],y=o[2*i],m=o[2*i+1],b=r.default.add3L(l,h,c);d=r.default.add3H(b,d,f,u),l=0|b,({Dh:m,Dl:y}={Dh:m^d,Dl:y^l}),({Dh:m,Dl:y}={Dh:r.default.rotr32H(m,y),Dl:r.default.rotr32L(m,y)}),({h:g,l:p}=r.default.add(g,p,m,y)),({Bh:f,Bl:h}={Bh:f^g,Bl:h^p}),({Bh:f,Bl:h}={Bh:r.default.rotrSH(f,h,24),Bl:r.default.rotrSL(f,h,24)}),o[2*e]=l,o[2*e+1]=d,o[2*t]=h,o[2*t+1]=f,o[2*n]=p,o[2*n+1]=g,o[2*i]=y,o[2*i+1]=m}function a(e,t,n,i,s,a){let c=s[a],u=s[a+1],l=o[2*e],d=o[2*e+1],h=o[2*t],f=o[2*t+1],p=o[2*n],g=o[2*n+1],y=o[2*i],m=o[2*i+1],b=r.default.add3L(l,h,c);d=r.default.add3H(b,d,f,u),l=0|b,({Dh:m,Dl:y}={Dh:m^d,Dl:y^l}),({Dh:m,Dl:y}={Dh:r.default.rotrSH(m,y,16),Dl:r.default.rotrSL(m,y,16)}),({h:g,l:p}=r.default.add(g,p,m,y)),({Bh:f,Bl:h}={Bh:f^g,Bl:h^p}),({Bh:f,Bl:h}={Bh:r.default.rotrBH(f,h,63),Bl:r.default.rotrBL(f,h,63)}),o[2*e]=l,o[2*e+1]=d,o[2*t]=h,o[2*t+1]=f,o[2*n]=p,o[2*n+1]=g,o[2*i]=y,o[2*i+1]=m}var c=class extends t.BLAKE{constructor(e={}){super(128,void 0===e.dkLen?64:e.dkLen,e,64,16,16),this.v0l=0|i[0],this.v0h=0|i[1],this.v1l=0|i[2],this.v1h=0|i[3],this.v2l=0|i[4],this.v2h=0|i[5],this.v3l=0|i[6],this.v3h=0|i[7],this.v4l=0|i[8],this.v4h=0|i[9],this.v5l=0|i[10],this.v5h=0|i[11],this.v6l=0|i[12],this.v6h=0|i[13],this.v7l=0|i[14],this.v7h=0|i[15];let t=e.key?e.key.length:0;if(this.v0l^=this.outputLen|t<<8|65536|1<<24,e.salt){let t=(0,n.u32)((0,n.toBytes)(e.salt));this.v4l^=(0,n.byteSwapIfBE)(t[0]),this.v4h^=(0,n.byteSwapIfBE)(t[1]),this.v5l^=(0,n.byteSwapIfBE)(t[2]),this.v5h^=(0,n.byteSwapIfBE)(t[3])}if(e.personalization){let t=(0,n.u32)((0,n.toBytes)(e.personalization));this.v6l^=(0,n.byteSwapIfBE)(t[0]),this.v6h^=(0,n.byteSwapIfBE)(t[1]),this.v7l^=(0,n.byteSwapIfBE)(t[2]),this.v7h^=(0,n.byteSwapIfBE)(t[3])}if(e.key){let t=new Uint8Array(this.blockLen);t.set((0,n.toBytes)(e.key)),this.update(t)}}get(){let{v0l:e,v0h:t,v1l:r,v1h:n,v2l:i,v2h:o,v3l:s,v3h:a,v4l:c,v4h:u,v5l:l,v5h:d,v6l:h,v6h:f,v7l:p,v7h:g}=this;return[e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g]}set(e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g){this.v0l=0|e,this.v0h=0|t,this.v1l=0|r,this.v1h=0|n,this.v2l=0|i,this.v2h=0|o,this.v3l=0|s,this.v3h=0|a,this.v4l=0|c,this.v4h=0|u,this.v5l=0|l,this.v5h=0|d,this.v6l=0|h,this.v6h=0|f,this.v7l=0|p,this.v7h=0|g}compress(e,n,c){this.get().forEach(((e,t)=>o[t]=e)),o.set(i,16);let{h:u,l:l}=r.default.fromBig(BigInt(this.length));o[24]=i[8]^l,o[25]=i[9]^u,c&&(o[28]=~o[28],o[29]=~o[29]);let d=0,h=t.SIGMA;for(let t=0;t<12;t++)s(0,4,8,12,e,n+2*h[d++]),a(0,4,8,12,e,n+2*h[d++]),s(1,5,9,13,e,n+2*h[d++]),a(1,5,9,13,e,n+2*h[d++]),s(2,6,10,14,e,n+2*h[d++]),a(2,6,10,14,e,n+2*h[d++]),s(3,7,11,15,e,n+2*h[d++]),a(3,7,11,15,e,n+2*h[d++]),s(0,5,10,15,e,n+2*h[d++]),a(0,5,10,15,e,n+2*h[d++]),s(1,6,11,12,e,n+2*h[d++]),a(1,6,11,12,e,n+2*h[d++]),s(2,7,8,13,e,n+2*h[d++]),a(2,7,8,13,e,n+2*h[d++]),s(3,4,9,14,e,n+2*h[d++]),a(3,4,9,14,e,n+2*h[d++]);this.v0l^=o[0]^o[16],this.v0h^=o[1]^o[17],this.v1l^=o[2]^o[18],this.v1h^=o[3]^o[19],this.v2l^=o[4]^o[20],this.v2h^=o[5]^o[21],this.v3l^=o[6]^o[22],this.v3h^=o[7]^o[23],this.v4l^=o[8]^o[24],this.v4h^=o[9]^o[25],this.v5l^=o[10]^o[26],this.v5h^=o[11]^o[27],this.v6l^=o[12]^o[28],this.v6h^=o[13]^o[29],this.v7l^=o[14]^o[30],this.v7h^=o[15]^o[31],o.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}};e.BLAKE2b=c,e.blake2b=(0,n.wrapConstructorWithOpts)((e=>new c(e)))})),Wnt=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{deriveDynamicFieldID:()=>d}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=H0e(),l=lp();function d(e,t,r){let n=l.bcs.Address.serialize(e).toBytes(),i=l.bcs.TypeTag.serialize(t).toBytes(),o=l.bcs.u64().serialize(r.length).toBytes(),s=u.blake2b.create({dkLen:32});return s.update(new Uint8Array([240])),s.update(n),s.update(o),s.update(r),s.update(i),`0x${(0,c.toHex)(s.digest().slice(0,32))}`}})),Cj=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{MIST_PER_SUI:()=>h.MIST_PER_SUI,MOVE_STDLIB_ADDRESS:()=>h.MOVE_STDLIB_ADDRESS,SUI_ADDRESS_LENGTH:()=>u.SUI_ADDRESS_LENGTH,SUI_CLOCK_OBJECT_ID:()=>h.SUI_CLOCK_OBJECT_ID,SUI_DECIMALS:()=>h.SUI_DECIMALS,SUI_FRAMEWORK_ADDRESS:()=>h.SUI_FRAMEWORK_ADDRESS,SUI_SYSTEM_ADDRESS:()=>h.SUI_SYSTEM_ADDRESS,SUI_SYSTEM_MODULE_NAME:()=>h.SUI_SYSTEM_MODULE_NAME,SUI_SYSTEM_STATE_OBJECT_ID:()=>h.SUI_SYSTEM_STATE_OBJECT_ID,SUI_TYPE_ARG:()=>h.SUI_TYPE_ARG,deriveDynamicFieldID:()=>p.deriveDynamicFieldID,formatAddress:()=>c.formatAddress,formatDigest:()=>c.formatDigest,fromB64:()=>l.fromB64,fromBase58:()=>l.fromBase58,fromBase64:()=>l.fromBase64,fromHEX:()=>l.fromHEX,fromHex:()=>l.fromHex,isValidNamedPackage:()=>f.isValidNamedPackage,isValidNamedType:()=>f.isValidNamedType,isValidSuiAddress:()=>u.isValidSuiAddress,isValidSuiNSName:()=>d.isValidSuiNSName,isValidSuiObjectId:()=>u.isValidSuiObjectId,isValidTransactionDigest:()=>u.isValidTransactionDigest,normalizeStructTag:()=>u.normalizeStructTag,normalizeSuiAddress:()=>u.normalizeSuiAddress,normalizeSuiNSName:()=>d.normalizeSuiNSName,normalizeSuiObjectId:()=>u.normalizeSuiObjectId,parseStructTag:()=>u.parseStructTag,toB64:()=>l.toB64,toBase58:()=>l.toBase58,toBase64:()=>l.toBase64,toHEX:()=>l.toHEX,toHex:()=>l.toHex}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=Ant(),u=Il(),l=wc(),d=Tj(),h=Mnt(),f=z0e(),p=Wnt()})),X0e=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{getPureBcsSchema:()=>A,isTxContext:()=>v,normalizedTypeToMoveTypeSignature:()=>E,pureBcsSchemaFromOpenMoveTypeSignatureBody:()=>C}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=lp(),u=Cj(),l=Il(),d="object",h="ID",f="ascii",p="String",g="string",y="String",b="option",w="Option";function v(e){let t="object"==typeof e.body&&"datatype"in e.body?e.body.datatype:null;return!!t&&(0,l.normalizeSuiAddress)(t.package)===(0,l.normalizeSuiAddress)("0x2")&&"tx_context"===t.module&&"TxContext"===t.type}function A(e){if("string"==typeof e)switch(e){case"address":return c.bcs.Address;case"bool":return c.bcs.Bool;case"u8":return c.bcs.U8;case"u16":return c.bcs.U16;case"u32":return c.bcs.U32;case"u64":return c.bcs.U64;case"u128":return c.bcs.U128;case"u256":return c.bcs.U256;default:throw new Error(`Unknown type signature ${e}`)}if("vector"in e){if("u8"===e.vector)return c.bcs.vector(c.bcs.U8).transform({input:e=>"string"==typeof e?(new TextEncoder).encode(e):e,output:e=>e});let t=A(e.vector);return t?c.bcs.vector(t):null}if("datatype"in e){let t=(0,l.normalizeSuiAddress)(e.datatype.package);if(t===(0,l.normalizeSuiAddress)(u.MOVE_STDLIB_ADDRESS)){if(e.datatype.module===f&&e.datatype.type===p||e.datatype.module===g&&e.datatype.type===y)return c.bcs.String;if(e.datatype.module===b&&e.datatype.type===w){let t=A(e.datatype.typeParameters[0]);return t?c.bcs.vector(t):null}}if(t===(0,l.normalizeSuiAddress)(u.SUI_FRAMEWORK_ADDRESS)&&e.datatype.module===d&&e.datatype.type===h)return c.bcs.Address}return null}function E(e){return"object"==typeof e&&"Reference"in e?{ref:"&",body:T(e.Reference)}:"object"==typeof e&&"MutableReference"in e?{ref:"&mut",body:T(e.MutableReference)}:{ref:null,body:T(e)}}function T(e){if("string"==typeof e)switch(e){case"Address":return"address";case"Bool":return"bool";case"U8":return"u8";case"U16":return"u16";case"U32":return"u32";case"U64":return"u64";case"U128":return"u128";case"U256":return"u256";default:throw new Error(`Unexpected type ${e}`)}if("Vector"in e)return{vector:T(e.Vector)};if("Struct"in e)return{datatype:{package:e.Struct.address,module:e.Struct.module,type:e.Struct.name,typeParameters:e.Struct.typeArguments.map(T)}};if("TypeParameter"in e)return{typeParameter:e.TypeParameter};throw new Error(`Unexpected type ${JSON.stringify(e)}`)}function C(e){if("string"==typeof e)switch(e){case"address":return c.bcs.Address;case"bool":return c.bcs.Bool;case"u8":return c.bcs.U8;case"u16":return c.bcs.U16;case"u32":return c.bcs.U32;case"u64":return c.bcs.U64;case"u128":return c.bcs.U128;case"u256":return c.bcs.U256;default:throw new Error(`Unknown type signature ${e}`)}if("vector"in e)return c.bcs.vector(C(e.vector));throw new Error(`Expected pure typeSignature, but got ${JSON.stringify(e)}`)}})),qB=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{Inputs:()=>l}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=Il();var l={Pure:function(e){return{$kind:"Pure",Pure:{bytes:e instanceof Uint8Array?(0,c.toBase64)(e):e.toBase64()}}},ObjectRef:({objectId:e,digest:t,version:r})=>({$kind:"Object",Object:{$kind:"ImmOrOwnedObject",ImmOrOwnedObject:{digest:t,version:r,objectId:(0,u.normalizeSuiAddress)(e)}}}),SharedObjectRef:({objectId:e,mutable:t,initialSharedVersion:r})=>({$kind:"Object",Object:{$kind:"SharedObject",SharedObject:{mutable:t,initialSharedVersion:r,objectId:(0,u.normalizeSuiAddress)(e)}}}),ReceivingRef:({objectId:e,digest:t,version:r})=>({$kind:"Object",Object:{$kind:"Receiving",Receiving:{digest:t,version:r,objectId:(0,u.normalizeSuiAddress)(e)}}})}})),gb=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(){return{kind:"transformation",type:"await",reference:c,async:!0,_run:async e=>(e.value=await e.value,e)}}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{BIC_REGEX:()=>f,CUID2_REGEX:()=>p,DECIMAL_REGEX:()=>g,EMAIL_REGEX:()=>y,EMOJI_REGEX:()=>b,HEXADECIMAL_REGEX:()=>w,HEX_COLOR_REGEX:()=>v,IMEI_REGEX:()=>A,IPV4_REGEX:()=>E,IPV6_REGEX:()=>T,IP_REGEX:()=>C,ISO_DATE_REGEX:()=>S,ISO_DATE_TIME_REGEX:()=>I,ISO_TIMESTAMP_REGEX:()=>P,ISO_TIME_REGEX:()=>O,ISO_TIME_SECOND_REGEX:()=>M,ISO_WEEK_REGEX:()=>k,MAC48_REGEX:()=>B,MAC64_REGEX:()=>x,MAC_REGEX:()=>N,OCTAL_REGEX:()=>R,ULID_REGEX:()=>_,UUID_REGEX:()=>U,ValiError:()=>oe,_addIssue:()=>X,_isLuhnAlgo:()=>Z,_isValidObjectKey:()=>$,_stringify:()=>Y,any:()=>Zt,array:()=>$t,arrayAsync:()=>er,awaitAsync:()=>c,bic:()=>se,bigint:()=>tr,blob:()=>rr,boolean:()=>nr,brand:()=>ae,bytes:()=>ce,check:()=>ue,checkAsync:()=>le,checkItems:()=>de,config:()=>Lt,creditCard:()=>ge,cuid2:()=>ye,custom:()=>ir,customAsync:()=>or,date:()=>sr,decimal:()=>me,deleteGlobalConfig:()=>L,deleteGlobalMessage:()=>K,deleteSchemaMessage:()=>G,deleteSpecificMessage:()=>J,email:()=>be,emoji:()=>we,empty:()=>ve,endsWith:()=>Ae,entriesFromList:()=>ee,enum:()=>ar,enum_:()=>ar,everyItem:()=>Ee,excludes:()=>Te,fallback:()=>Ft,fallbackAsync:()=>Kt,file:()=>cr,filterItems:()=>Ce,findItem:()=>Se,finite:()=>Ie,flatten:()=>jt,forward:()=>Ht,forwardAsync:()=>Gt,function:()=>ur,function_:()=>ur,getDefault:()=>Vt,getDefaults:()=>qt,getDefaultsAsync:()=>Jt,getDotPath:()=>te,getFallback:()=>zt,getFallbacks:()=>Yt,getFallbacksAsync:()=>Xt,getGlobalConfig:()=>W,getGlobalMessage:()=>F,getSchemaMessage:()=>H,getSpecificMessage:()=>q,hash:()=>Me,hexColor:()=>ke,hexadecimal:()=>Pe,imei:()=>Be,includes:()=>xe,instance:()=>lr,integer:()=>Ne,intersect:()=>hr,intersectAsync:()=>fr,ip:()=>Re,ipv4:()=>_e,ipv6:()=>Ue,is:()=>Qt,isOfKind:()=>re,isOfType:()=>ne,isValiError:()=>ie,isoDate:()=>De,isoDateTime:()=>We,isoTime:()=>Le,isoTimeSecond:()=>ze,isoTimestamp:()=>Fe,isoWeek:()=>Ke,keyof:()=>gn,lazy:()=>pr,lazyAsync:()=>gr,length:()=>je,literal:()=>yr,looseObject:()=>mr,looseObjectAsync:()=>br,looseTuple:()=>wr,looseTupleAsync:()=>vr,mac:()=>He,mac48:()=>Ge,mac64:()=>Ve,map:()=>Ar,mapAsync:()=>Er,mapItems:()=>qe,maxBytes:()=>Je,maxLength:()=>Ye,maxSize:()=>Xe,maxValue:()=>Qe,mimeType:()=>Ze,minBytes:()=>$e,minLength:()=>et,minSize:()=>tt,minValue:()=>rt,multipleOf:()=>nt,nan:()=>Tr,never:()=>Cr,nonEmpty:()=>it,nonNullable:()=>Sr,nonNullableAsync:()=>Ir,nonNullish:()=>Or,nonNullishAsync:()=>Mr,nonOptional:()=>Pr,nonOptionalAsync:()=>kr,normalize:()=>ot,notBytes:()=>st,notLength:()=>at,notSize:()=>ct,notValue:()=>ut,null:()=>Br,null_:()=>Br,nullable:()=>xr,nullableAsync:()=>Nr,nullish:()=>Rr,nullishAsync:()=>_r,number:()=>Ur,object:()=>Dr,objectAsync:()=>Wr,objectWithRest:()=>Lr,objectWithRestAsync:()=>zr,octal:()=>lt,omit:()=>yn,optional:()=>Fr,optionalAsync:()=>Kr,parse:()=>mn,parseAsync:()=>bn,parser:()=>wn,parserAsync:()=>vn,partial:()=>An,partialAsync:()=>En,partialCheck:()=>ht,partialCheckAsync:()=>ft,pick:()=>Tn,picklist:()=>jr,pipe:()=>Cn,pipeAsync:()=>Sn,promise:()=>Hr,rawCheck:()=>pt,rawCheckAsync:()=>gt,rawTransform:()=>yt,rawTransformAsync:()=>mt,readonly:()=>bt,record:()=>Gr,recordAsync:()=>Vr,reduceItems:()=>wt,regex:()=>vt,required:()=>In,requiredAsync:()=>On,safeInteger:()=>At,safeParse:()=>Mn,safeParseAsync:()=>Pn,safeParser:()=>kn,safeParserAsync:()=>Bn,set:()=>qr,setAsync:()=>Jr,setGlobalConfig:()=>D,setGlobalMessage:()=>z,setSchemaMessage:()=>j,setSpecificMessage:()=>V,size:()=>Et,someItem:()=>Tt,sortItems:()=>Ct,startsWith:()=>St,strictObject:()=>Yr,strictObjectAsync:()=>Xr,strictTuple:()=>Qr,strictTupleAsync:()=>Zr,string:()=>$r,symbol:()=>en,toLowerCase:()=>It,toMaxValue:()=>Ot,toMinValue:()=>Mt,toUpperCase:()=>Pt,transform:()=>kt,transformAsync:()=>Bt,trim:()=>xt,trimEnd:()=>Nt,trimStart:()=>Rt,tuple:()=>tn,tupleAsync:()=>rn,tupleWithRest:()=>nn,tupleWithRestAsync:()=>on,ulid:()=>_t,undefined:()=>sn,undefined_:()=>sn,union:()=>cn,unionAsync:()=>un,unknown:()=>ln,unwrap:()=>xn,url:()=>Ut,uuid:()=>Dt,value:()=>Wt,variant:()=>hn,variantAsync:()=>fn,void:()=>pn,void_:()=>pn}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var u,l,d,h,f=/^[A-Z]{6}(?!00)[A-Z\d]{2}(?:[A-Z\d]{3})?$/u,p=/^[a-z][\da-z]*$/u,g=/^\d+$/u,y=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu,b=/^[\p{Extended_Pictographic}\p{Emoji_Component}]+$/u,w=/^(?:0h|0x)?[\da-f]+$/iu,v=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/iu,A=/^\d{15}$|^\d{2}-\d{6}-\d{6}-\d$/u,E=/^(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])(?:\.(?:(?:[1-9]|1\d|2[0-4])?\d|25[0-5])){3}$/u,T=/^(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:|(?:[\da-f]{1,4}:){1,6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,5}(?::[\da-f]{1,4}){1,2}|(?:[\da-f]{1,4}:){1,4}(?::[\da-f]{1,4}){1,3}|(?:[\da-f]{1,4}:){1,3}(?::[\da-f]{1,4}){1,4}|(?:[\da-f]{1,4}:){1,2}(?::[\da-f]{1,4}){1,5}|[\da-f]{1,4}:(?::[\da-f]{1,4}){1,6}|:(?:(?::[\da-f]{1,4}){1,7}|:)|fe80:(?::[\da-f]{0,4}){0,4}%[\da-z]+|::(?:f{4}(?::0{1,4})?:)?(?:(?:25[0-5]|(?:2[0-4]|1?\d)?\d)\.){3}(?:25[0-5]|(?:2[0-4]|1?\d)?\d)|(?:[\da-f]{1,4}:){1,4}:(?:(?:25[0-5]|(?:2[0-4]|1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:[\da-f]{2}:){5}[\da-f]{2}$|^(?:[\da-f]{2}-){5}[\da-f]{2}$|^(?:[\da-f]{4}\.){2}[\da-f]{4}$/iu,x=/^(?:[\da-f]{2}:){7}[\da-f]{2}$|^(?:[\da-f]{2}-){7}[\da-f]{2}$|^(?:[\da-f]{4}\.){3}[\da-f]{4}$|^(?:[\da-f]{4}:){3}[\da-f]{4}$/iu,N=/^(?:[\da-f]{2}:){5}[\da-f]{2}$|^(?:[\da-f]{2}-){5}[\da-f]{2}$|^(?:[\da-f]{4}\.){2}[\da-f]{4}$|^(?:[\da-f]{2}:){7}[\da-f]{2}$|^(?:[\da-f]{2}-){7}[\da-f]{2}$|^(?:[\da-f]{4}\.){3}[\da-f]{4}$|^(?:[\da-f]{4}:){3}[\da-f]{4}$/iu,R=/^(?:0o)?[0-7]+$/iu,_=/^[\da-hjkmnp-tv-z]{26}$/iu,U=/^[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}$/iu;function D(e){u={...u,...e}}function W(e){return{lang:e?.lang??u?.lang,message:e?.message,abortEarly:e?.abortEarly??u?.abortEarly,abortPipeEarly:e?.abortPipeEarly??u?.abortPipeEarly}}function L(){u=void 0}function z(e,t){l||(l=new Map),l.set(t,e)}function F(e){return l?.get(e)}function K(e){l?.delete(e)}function j(e,t){d||(d=new Map),d.set(t,e)}function H(e){return d?.get(e)}function G(e){d?.delete(e)}function V(e,t,r){h||(h=new Map),h.get(e)||h.set(e,new Map),h.get(e).set(r,t)}function q(e,t){return h?.get(e)?.get(t)}function J(e,t){h?.get(e)?.delete(t)}function Y(e){let t=typeof e;return"string"===t?`"${e}"`:"number"===t||"bigint"===t||"boolean"===t?`${e}`:"object"===t||"function"===t?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function X(e,t,r,n,i){let o=i&&"input"in i?i.input:r.value,s=i?.expected??e.expects??null,a=i?.received??Y(o),c={kind:e.kind,type:e.type,input:o,expected:s,received:a,message:`Invalid ${t}: ${s?`Expected ${s} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},u="schema"===e.kind,l=i?.message??e.message??q(e.reference,c.lang)??(u?H(c.lang):null)??n.message??F(c.lang);l&&(c.message="function"==typeof l?l(c):l),u&&(r.typed=!1),r.issues?r.issues.push(c):r.issues=[c]}var Q=/\D/gu;function Z(e){let t=e.replace(Q,""),r=t.length,n=1,i=0;for(;r;){let e=+t[--r];n^=1,i+=n?[0,2,4,6,8,1,3,5,7,9][e]:e}return i%10==0}function $(e,t){return Object.hasOwn(e,t)&&"__proto__"!==t&&"prototype"!==t&&"constructor"!==t}function ee(e,t){let r={};for(let n of e)r[n]=t;return r}function te(e){if(e.path){let t="";for(let r of e.path){if("string"!=typeof r.key&&"number"!=typeof r.key)return null;t+=t?`.${r.key}`:r.key}return t}return null}function re(e,t){return t.kind===e}function ne(e,t){return t.type===e}function ie(e){return e instanceof oe}var oe=class extends Error{issues;constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function se(e){return{kind:"validation",type:"bic",reference:se,async:!1,expects:null,requirement:f,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"BIC",e,t),e}}}function ae(e){return{kind:"transformation",type:"brand",reference:ae,async:!1,name:e,_run:e=>e}}function ce(e,t){return{kind:"validation",type:"bytes",reference:ce,async:!1,expects:`${e}`,requirement:e,message:t,_run(e,t){if(e.typed){let r=(new TextEncoder).encode(e.value).length;r!==this.requirement&&X(this,"bytes",e,t,{received:`${r}`})}return e}}}function ue(e,t){return{kind:"validation",type:"check",reference:ue,async:!1,expects:null,requirement:e,message:t,_run(e,t){return e.typed&&!this.requirement(e.value)&&X(this,"input",e,t),e}}}function le(e,t){return{kind:"validation",type:"check",reference:le,async:!0,expects:null,requirement:e,message:t,async _run(e,t){return e.typed&&!await this.requirement(e.value)&&X(this,"input",e,t),e}}}function de(e,t){return{kind:"validation",type:"check_items",reference:de,async:!1,expects:null,requirement:e,message:t,_run(e,t){if(e.typed)for(let r=0;r<e.value.length;r++){let n=e.value[r];this.requirement(n,r,e.value)||X(this,"item",e,t,{input:n,path:[{type:"array",origin:"value",input:e.value,key:r,value:n}]})}return e}}}var he=/^(?:\d{14,19}|\d{4}(?: \d{3,6}){2,4}|\d{4}(?:-\d{3,6}){2,4})$/u,fe=/[- ]/gu,pe=[/^3[47]\d{13}$/u,/^3(?:0[0-5]|[68]\d)\d{11,13}$/u,/^6(?:011|5\d{2})\d{12,15}$/u,/^(?:2131|1800|35\d{3})\d{11}$/u,/^5[1-5]\d{2}|(?:222\d|22[3-9]\d|2[3-6]\d{2}|27[01]\d|2720)\d{12}$/u,/^(?:6[27]\d{14,17}|81\d{14,17})$/u,/^4\d{12}(?:\d{3,6})?$/u];function ge(e){return{kind:"validation",type:"credit_card",reference:ge,async:!1,expects:null,requirement(e){let t;return he.test(e)&&(t=e.replace(fe,""))&&pe.some((e=>e.test(t)))&&Z(t)},message:e,_run(e,t){return e.typed&&!this.requirement(e.value)&&X(this,"credit card",e,t),e}}}function ye(e){return{kind:"validation",type:"cuid2",reference:ye,async:!1,expects:null,requirement:p,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"Cuid2",e,t),e}}}function me(e){return{kind:"validation",type:"decimal",reference:me,async:!1,expects:null,requirement:g,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"decimal",e,t),e}}}function be(e){return{kind:"validation",type:"email",reference:be,expects:null,async:!1,requirement:y,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"email",e,t),e}}}function we(e){return{kind:"validation",type:"emoji",reference:we,async:!1,expects:null,requirement:b,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"emoji",e,t),e}}}function ve(e){return{kind:"validation",type:"empty",reference:ve,async:!1,expects:"0",message:e,_run(e,t){return e.typed&&e.value.length>0&&X(this,"length",e,t,{received:`${e.value.length}`}),e}}}function Ae(e,t){return{kind:"validation",type:"ends_with",reference:Ae,async:!1,expects:`"${e}"`,requirement:e,message:t,_run(e,t){return e.typed&&!e.value.endsWith(this.requirement)&&X(this,"end",e,t,{received:`"${e.value.slice(-this.requirement.length)}"`}),e}}}function Ee(e,t){return{kind:"validation",type:"every_item",reference:Ee,async:!1,expects:null,requirement:e,message:t,_run(e,t){return e.typed&&!e.value.every(this.requirement)&&X(this,"item",e,t),e}}}function Te(e,t){let r=Y(e);return{kind:"validation",type:"excludes",reference:Te,async:!1,expects:`!${r}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.includes(this.requirement)&&X(this,"content",e,t,{received:r}),e}}}function Ce(e){return{kind:"transformation",type:"filter_items",reference:Ce,async:!1,operation:e,_run(e){return e.value=e.value.filter(this.operation),e}}}function Se(e){return{kind:"transformation",type:"find_item",reference:Se,async:!1,operation:e,_run(e){return e.value=e.value.find(this.operation),e}}}function Ie(e){return{kind:"validation",type:"finite",reference:Ie,async:!1,expects:null,requirement:Number.isFinite,message:e,_run(e,t){return e.typed&&!this.requirement(e.value)&&X(this,"finite",e,t),e}}}var Oe={md4:32,md5:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8,adler32:8};function Me(e,t){return{kind:"validation",type:"hash",reference:Me,expects:null,async:!1,requirement:RegExp(e.map((e=>`^[a-f0-9]{${Oe[e]}}$`)).join("|"),"iu"),message:t,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"hash",e,t),e}}}function Pe(e){return{kind:"validation",type:"hexadecimal",reference:Pe,async:!1,expects:null,requirement:w,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"hexadecimal",e,t),e}}}function ke(e){return{kind:"validation",type:"hex_color",reference:ke,async:!1,expects:null,requirement:v,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"hex color",e,t),e}}}function Be(e){return{kind:"validation",type:"imei",reference:Be,async:!1,expects:null,requirement:e=>A.test(e)&&Z(e),message:e,_run(e,t){return e.typed&&!this.requirement(e.value)&&X(this,"IMEI",e,t),e}}}function xe(e,t){let r=Y(e);return{kind:"validation",type:"includes",reference:xe,async:!1,expects:r,requirement:e,message:t,_run(e,t){return e.typed&&!e.value.includes(this.requirement)&&X(this,"content",e,t,{received:`!${r}`}),e}}}function Ne(e){return{kind:"validation",type:"integer",reference:Ne,async:!1,expects:null,requirement:Number.isInteger,message:e,_run(e,t){return e.typed&&!this.requirement(e.value)&&X(this,"integer",e,t),e}}}function Re(e){return{kind:"validation",type:"ip",reference:Re,async:!1,expects:null,requirement:C,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"IP",e,t),e}}}function _e(e){return{kind:"validation",type:"ipv4",reference:_e,async:!1,expects:null,requirement:E,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"IPv4",e,t),e}}}function Ue(e){return{kind:"validation",type:"ipv6",reference:Ue,async:!1,expects:null,requirement:T,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"IPv6",e,t),e}}}function De(e){return{kind:"validation",type:"iso_date",reference:De,async:!1,expects:null,requirement:S,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"date",e,t),e}}}function We(e){return{kind:"validation",type:"iso_date_time",reference:We,async:!1,expects:null,requirement:I,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"date-time",e,t),e}}}function Le(e){return{kind:"validation",type:"iso_time",reference:Le,async:!1,expects:null,requirement:O,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"time",e,t),e}}}function ze(e){return{kind:"validation",type:"iso_time_second",reference:ze,async:!1,expects:null,requirement:M,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"time-second",e,t),e}}}function Fe(e){return{kind:"validation",type:"iso_timestamp",reference:Fe,async:!1,expects:null,requirement:P,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"timestamp",e,t),e}}}function Ke(e){return{kind:"validation",type:"iso_week",reference:Ke,async:!1,expects:null,requirement:k,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"week",e,t),e}}}function je(e,t){return{kind:"validation",type:"length",reference:je,async:!1,expects:`${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.length!==this.requirement&&X(this,"length",e,t,{received:`${e.value.length}`}),e}}}function He(e){return{kind:"validation",type:"mac",reference:He,async:!1,expects:null,requirement:N,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"MAC",e,t),e}}}function Ge(e){return{kind:"validation",type:"mac48",reference:Ge,async:!1,expects:null,requirement:B,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"48-bit MAC",e,t),e}}}function Ve(e){return{kind:"validation",type:"mac64",reference:Ve,async:!1,expects:null,requirement:x,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"64-bit MAC",e,t),e}}}function qe(e){return{kind:"transformation",type:"map_items",reference:qe,async:!1,operation:e,_run(e){return e.value=e.value.map(this.operation),e}}}function Je(e,t){return{kind:"validation",type:"max_bytes",reference:Je,async:!1,expects:`<=${e}`,requirement:e,message:t,_run(e,t){if(e.typed){let r=(new TextEncoder).encode(e.value).length;r>this.requirement&&X(this,"bytes",e,t,{received:`${r}`})}return e}}}function Ye(e,t){return{kind:"validation",type:"max_length",reference:Ye,async:!1,expects:`<=${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.length>this.requirement&&X(this,"length",e,t,{received:`${e.value.length}`}),e}}}function Xe(e,t){return{kind:"validation",type:"max_size",reference:Xe,async:!1,expects:`<=${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.size>this.requirement&&X(this,"size",e,t,{received:`${e.value.size}`}),e}}}function Qe(e,t){return{kind:"validation",type:"max_value",reference:Qe,async:!1,expects:`<=${e instanceof Date?e.toJSON():Y(e)}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value>this.requirement&&X(this,"value",e,t,{received:e.value instanceof Date?e.value.toJSON():Y(e.value)}),e}}}function Ze(e,t){return{kind:"validation",type:"mime_type",reference:Ze,async:!1,expects:e.map((e=>`"${e}"`)).join(" | ")||"never",requirement:e,message:t,_run(e,t){return e.typed&&!this.requirement.includes(e.value.type)&&X(this,"MIME type",e,t,{received:`"${e.value.type}"`}),e}}}function $e(e,t){return{kind:"validation",type:"min_bytes",reference:$e,async:!1,expects:`>=${e}`,requirement:e,message:t,_run(e,t){if(e.typed){let r=(new TextEncoder).encode(e.value).length;r<this.requirement&&X(this,"bytes",e,t,{received:`${r}`})}return e}}}function et(e,t){return{kind:"validation",type:"min_length",reference:et,async:!1,expects:`>=${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.length<this.requirement&&X(this,"length",e,t,{received:`${e.value.length}`}),e}}}function tt(e,t){return{kind:"validation",type:"min_size",reference:tt,async:!1,expects:`>=${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.size<this.requirement&&X(this,"size",e,t,{received:`${e.value.size}`}),e}}}function rt(e,t){return{kind:"validation",type:"min_value",reference:rt,async:!1,expects:`>=${e instanceof Date?e.toJSON():Y(e)}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value<this.requirement&&X(this,"value",e,t,{received:e.value instanceof Date?e.value.toJSON():Y(e.value)}),e}}}function nt(e,t){return{kind:"validation",type:"multiple_of",reference:nt,async:!1,expects:`%${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value%this.requirement!=0&&X(this,"multiple",e,t),e}}}function it(e){return{kind:"validation",type:"non_empty",reference:it,async:!1,expects:"!0",message:e,_run(e,t){return e.typed&&0===e.value.length&&X(this,"length",e,t,{received:"0"}),e}}}function ot(e){return{kind:"transformation",type:"normalize",reference:ot,async:!1,form:e,_run(e){return e.value=e.value.normalize(this.form),e}}}function st(e,t){return{kind:"validation",type:"not_bytes",reference:st,async:!1,expects:`!${e}`,requirement:e,message:t,_run(e,t){if(e.typed){let r=(new TextEncoder).encode(e.value).length;r===this.requirement&&X(this,"bytes",e,t,{received:`${r}`})}return e}}}function at(e,t){return{kind:"validation",type:"not_length",reference:at,async:!1,expects:`!${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.length===this.requirement&&X(this,"length",e,t,{received:`${e.value.length}`}),e}}}function ct(e,t){return{kind:"validation",type:"not_size",reference:ct,async:!1,expects:`!${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.size===this.requirement&&X(this,"size",e,t,{received:`${e.value.size}`}),e}}}function ut(e,t){return{kind:"validation",type:"not_value",reference:ut,async:!1,expects:e instanceof Date?`!${e.toJSON()}`:`!${Y(e)}`,requirement:e,message:t,_run(e,t){return e.typed&&this.requirement<=e.value&&this.requirement>=e.value&&X(this,"value",e,t,{received:e.value instanceof Date?e.value.toJSON():Y(e.value)}),e}}}function lt(e){return{kind:"validation",type:"octal",reference:lt,async:!1,expects:null,requirement:R,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"octal",e,t),e}}}function dt(e,t){if(e.issues)for(let r of t)for(let t of e.issues){let e=!1,n=Math.min(r.length,t.path?.length??0);for(let i=0;i<n;i++)if(r[i]!==t.path[i].key){e=!0;break}if(!e)return!1}return!0}function ht(e,t,r){return{kind:"validation",type:"partial_check",reference:ht,async:!1,expects:null,requirement:t,message:r,_run(t,r){return dt(t,e)&&!this.requirement(t.value)&&X(this,"input",t,r),t}}}function ft(e,t,r){return{kind:"validation",type:"partial_check",reference:ft,async:!0,expects:null,requirement:t,message:r,async _run(t,r){return dt(t,e)&&!await this.requirement(t.value)&&X(this,"input",t,r),t}}}function pt(e){return{kind:"validation",type:"raw_check",reference:pt,async:!1,expects:null,_run(t,r){return e({dataset:t,config:r,addIssue:e=>X(this,e?.label??"input",t,r,e)}),t}}}function gt(e){return{kind:"validation",type:"raw_check",reference:gt,async:!0,expects:null,async _run(t,r){return await e({dataset:t,config:r,addIssue:e=>X(this,e?.label??"input",t,r,e)}),t}}}function yt(e){return{kind:"transformation",type:"raw_transform",reference:yt,async:!1,_run(t,r){let n=e({dataset:t,config:r,addIssue:e=>X(this,e?.label??"input",t,r,e),NEVER:null});return t.issues?t.typed=!1:t.value=n,t}}}function mt(e){return{kind:"transformation",type:"raw_transform",reference:mt,async:!0,async _run(t,r){let n=await e({dataset:t,config:r,addIssue:e=>X(this,e?.label??"input",t,r,e),NEVER:null});return t.issues?t.typed=!1:t.value=n,t}}}function bt(){return{kind:"transformation",type:"readonly",reference:bt,async:!1,_run:e=>e}}function wt(e,t){return{kind:"transformation",type:"reduce_items",reference:wt,async:!1,operation:e,initial:t,_run(e){return e.value=e.value.reduce(this.operation,this.initial),e}}}function vt(e,t){return{kind:"validation",type:"regex",reference:vt,async:!1,expects:`${e}`,requirement:e,message:t,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"format",e,t),e}}}function At(e){return{kind:"validation",type:"safe_integer",reference:At,async:!1,expects:null,requirement:Number.isSafeInteger,message:e,_run(e,t){return e.typed&&!this.requirement(e.value)&&X(this,"safe integer",e,t),e}}}function Et(e,t){return{kind:"validation",type:"size",reference:Et,async:!1,expects:`${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.size!==this.requirement&&X(this,"size",e,t,{received:`${e.value.size}`}),e}}}function Tt(e,t){return{kind:"validation",type:"some_item",reference:Tt,async:!1,expects:null,requirement:e,message:t,_run(e,t){return e.typed&&!e.value.some(this.requirement)&&X(this,"item",e,t),e}}}function Ct(e){return{kind:"transformation",type:"sort_items",reference:Ct,async:!1,operation:e,_run(e){return e.value=e.value.sort(this.operation),e}}}function St(e,t){return{kind:"validation",type:"starts_with",reference:St,async:!1,expects:`"${e}"`,requirement:e,message:t,_run(e,t){return e.typed&&!e.value.startsWith(this.requirement)&&X(this,"start",e,t,{received:`"${e.value.slice(0,this.requirement.length)}"`}),e}}}function It(){return{kind:"transformation",type:"to_lower_case",reference:It,async:!1,_run:e=>(e.value=e.value.toLowerCase(),e)}}function Ot(e){return{kind:"transformation",type:"to_max_value",reference:Ot,async:!1,requirement:e,_run(e){return e.value=e.value>this.requirement?this.requirement:e.value,e}}}function Mt(e){return{kind:"transformation",type:"to_min_value",reference:Mt,async:!1,requirement:e,_run(e){return e.value=e.value<this.requirement?this.requirement:e.value,e}}}function Pt(){return{kind:"transformation",type:"to_upper_case",reference:Pt,async:!1,_run:e=>(e.value=e.value.toUpperCase(),e)}}function kt(e){return{kind:"transformation",type:"transform",reference:kt,async:!1,operation:e,_run(e){return e.value=this.operation(e.value),e}}}function Bt(e){return{kind:"transformation",type:"transform",reference:Bt,async:!0,operation:e,async _run(e){return e.value=await this.operation(e.value),e}}}function xt(){return{kind:"transformation",type:"trim",reference:xt,async:!1,_run:e=>(e.value=e.value.trim(),e)}}function Nt(){return{kind:"transformation",type:"trim_end",reference:Nt,async:!1,_run:e=>(e.value=e.value.trimEnd(),e)}}function Rt(){return{kind:"transformation",type:"trim_start",reference:Rt,async:!1,_run:e=>(e.value=e.value.trimStart(),e)}}function _t(e){return{kind:"validation",type:"ulid",reference:_t,async:!1,expects:null,requirement:_,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"ULID",e,t),e}}}function Ut(e){return{kind:"validation",type:"url",reference:Ut,async:!1,expects:null,requirement(e){try{return new URL(e),!0}catch{return!1}},message:e,_run(e,t){return e.typed&&!this.requirement(e.value)&&X(this,"URL",e,t),e}}}function Dt(e){return{kind:"validation",type:"uuid",reference:Dt,async:!1,expects:null,requirement:U,message:e,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&X(this,"UUID",e,t),e}}}function Wt(e,t){return{kind:"validation",type:"value",reference:Wt,async:!1,expects:e instanceof Date?e.toJSON():Y(e),requirement:e,message:t,_run(e,t){return e.typed&&!(this.requirement<=e.value&&this.requirement>=e.value)&&X(this,"value",e,t,{received:e.value instanceof Date?e.value.toJSON():Y(e.value)}),e}}}function Lt(e,t){return{...e,_run:(r,n)=>e._run(r,{...n,...t})}}function zt(e,t,r){return"function"==typeof e.fallback?e.fallback(t,r):e.fallback}function Ft(e,t){return{...e,fallback:t,_run(t,r){return e._run(t,r),t.issues?{typed:!0,value:zt(this,t,r)}:t}}}function Kt(e,t){return{...e,fallback:t,async:!0,async _run(t,r){return e._run(t,r),t.issues?{typed:!0,value:await zt(this,t,r)}:t}}}function jt(e){let t={};for(let r of e)if(r.path){let e=te(r);e?(t.nested||(t.nested={}),t.nested[e]?t.nested[e].push(r.message):t.nested[e]=[r.message]):t.other?t.other.push(r.message):t.other=[r.message]}else t.root?t.root.push(r.message):t.root=[r.message];return t}function Ht(e,t){return{...e,_run(r,n){let i=r.issues&&[...r.issues];if(e._run(r,n),r.issues)for(let e of r.issues)if(!i?.includes(e)){let n=r.value;for(let r of t){let t=n[r],i={type:"unknown",origin:"value",input:n,key:r,value:t};if(e.path?e.path.push(i):e.path=[i],!t)break;n=t}}return r}}}function Gt(e,t){return{...e,async:!0,async _run(r,n){let i=r.issues&&[...r.issues];if(await e._run(r,n),r.issues)for(let e of r.issues)if(!i?.includes(e)){let n=r.value;for(let r of t){let t=n[r],i={type:"unknown",origin:"value",input:n,key:r,value:t};if(e.path?e.path.push(i):e.path=[i],!t)break;n=t}}return r}}}function Vt(e,t,r){return"function"==typeof e.default?e.default(t,r):e.default}function qt(e){if("entries"in e){let t={};for(let r in e.entries)t[r]=qt(e.entries[r]);return t}return"items"in e?e.items.map(qt):Vt(e)}async function Jt(e){return"entries"in e?Object.fromEntries(await Promise.all(Object.entries(e.entries).map((async([e,t])=>[e,await Jt(t)])))):"items"in e?Promise.all(e.items.map(Jt)):Vt(e)}function Yt(e){if("entries"in e){let t={};for(let r in e.entries)t[r]=Yt(e.entries[r]);return t}return"items"in e?e.items.map(Yt):zt(e)}async function Xt(e){return"entries"in e?Object.fromEntries(await Promise.all(Object.entries(e.entries).map((async([e,t])=>[e,await Xt(t)])))):"items"in e?Promise.all(e.items.map(Xt)):zt(e)}function Qt(e,t){return!e._run({typed:!1,value:t},{abortEarly:!0}).issues}function Zt(){return{kind:"schema",type:"any",reference:Zt,expects:"any",async:!1,_run:e=>(e.typed=!0,e)}}function $t(e,t){return{kind:"schema",type:"array",reference:$t,expects:"Array",async:!1,item:e,message:t,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<r.length;n++){let i=r[n],o=this.item._run({typed:!1,value:i},t);if(o.issues){let s={type:"array",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}}else X(this,"type",e,t);return e}}}function er(e,t){return{kind:"schema",type:"array",reference:er,expects:"Array",async:!0,item:e,message:t,async _run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];let n=await Promise.all(r.map((e=>this.item._run({typed:!1,value:e},t))));for(let i=0;i<n.length;i++){let o=n[i];if(o.issues){let n={type:"array",origin:"value",input:r,key:i,value:r[i]};for(let t of o.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}}else X(this,"type",e,t);return e}}}function tr(e){return{kind:"schema",type:"bigint",reference:tr,expects:"bigint",async:!1,message:e,_run(e,t){return"bigint"==typeof e.value?e.typed=!0:X(this,"type",e,t),e}}}function rr(e){return{kind:"schema",type:"blob",reference:rr,expects:"Blob",async:!1,message:e,_run(e,t){return e.value instanceof Blob?e.typed=!0:X(this,"type",e,t),e}}}function nr(e){return{kind:"schema",type:"boolean",reference:nr,expects:"boolean",async:!1,message:e,_run(e,t){return"boolean"==typeof e.value?e.typed=!0:X(this,"type",e,t),e}}}function ir(e,t){return{kind:"schema",type:"custom",reference:ir,expects:"unknown",async:!1,check:e,message:t,_run(e,t){return this.check(e.value)?e.typed=!0:X(this,"type",e,t),e}}}function or(e,t){return{kind:"schema",type:"custom",reference:or,expects:"unknown",async:!0,check:e,message:t,async _run(e,t){return await this.check(e.value)?e.typed=!0:X(this,"type",e,t),e}}}function sr(e){return{kind:"schema",type:"date",reference:sr,expects:"Date",async:!1,message:e,_run(e,t){return e.value instanceof Date?isNaN(e.value)?X(this,"type",e,t,{received:'"Invalid Date"'}):e.typed=!0:X(this,"type",e,t),e}}}function ar(e,t){let r=Object.entries(e).filter((([e])=>isNaN(+e))).map((([,e])=>e));return{kind:"schema",type:"enum",reference:ar,expects:r.map(Y).join(" | ")||"never",async:!1,enum:e,options:r,message:t,_run(e,t){return this.options.includes(e.value)?e.typed=!0:X(this,"type",e,t),e}}}function cr(e){return{kind:"schema",type:"file",reference:cr,expects:"File",async:!1,message:e,_run(e,t){return e.value instanceof File?e.typed=!0:X(this,"type",e,t),e}}}function ur(e){return{kind:"schema",type:"function",reference:ur,expects:"Function",async:!1,message:e,_run(e,t){return"function"==typeof e.value?e.typed=!0:X(this,"type",e,t),e}}}function lr(e,t){return{kind:"schema",type:"instance",reference:lr,expects:e.name,async:!1,class:e,message:t,_run(e,t){return e.value instanceof this.class?e.typed=!0:X(this,"type",e,t),e}}}function dr(e,t){if(typeof e==typeof t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{value:e};if(e&&t&&e.constructor===Object&&t.constructor===Object){for(let r in t)if(r in e){let n=dr(e[r],t[r]);if(n.issue)return n;e[r]=n.value}else e[r]=t[r];return{value:e}}if(Array.isArray(e)&&Array.isArray(t)&&e.length===t.length){for(let r=0;r<e.length;r++){let n=dr(e[r],t[r]);if(n.issue)return n;e[r]=n.value}return{value:e}}}return{issue:!0}}function hr(e,t){return{kind:"schema",type:"intersect",reference:hr,expects:[...new Set(e.map((e=>e.expects)))].join(" & ")||"never",async:!1,options:e,message:t,_run(e,t){if(this.options.length){let r,n=e.value;e.typed=!0;for(let i of this.options){let o=i._run({typed:!1,value:n},t);if(o.issues&&(e.issues?e.issues.push(...o.issues):e.issues=o.issues,t.abortEarly)){e.typed=!1;break}o.typed||(e.typed=!1),e.typed&&(r?r.push(o.value):r=[o.value])}if(e.typed){e.value=r[0];for(let n=1;n<r.length;n++){let i=dr(e.value,r[n]);if(i.issue){X(this,"type",e,t,{received:"unknown"});break}e.value=i.value}}}else X(this,"type",e,t);return e}}}function fr(e,t){return{kind:"schema",type:"intersect",reference:fr,expects:[...new Set(e.map((e=>e.expects)))].join(" & ")||"never",async:!0,options:e,message:t,async _run(e,t){if(this.options.length){let r,n=e.value;e.typed=!0;let i=await Promise.all(this.options.map((e=>e._run({typed:!1,value:n},t))));for(let n of i){if(n.issues&&(e.issues?e.issues.push(...n.issues):e.issues=n.issues,t.abortEarly)){e.typed=!1;break}n.typed||(e.typed=!1),e.typed&&(r?r.push(n.value):r=[n.value])}if(e.typed){e.value=r[0];for(let n=1;n<r.length;n++){let i=dr(e.value,r[n]);if(i.issue){X(this,"type",e,t,{received:"unknown"});break}e.value=i.value}}}else X(this,"type",e,t);return e}}}function pr(e){return{kind:"schema",type:"lazy",reference:pr,expects:"unknown",async:!1,getter:e,_run(e,t){return this.getter(e.value)._run(e,t)}}}function gr(e){return{kind:"schema",type:"lazy",reference:gr,expects:"unknown",async:!0,getter:e,async _run(e,t){return(await this.getter(e.value))._run(e,t)}}}function yr(e,t){return{kind:"schema",type:"literal",reference:yr,expects:Y(e),async:!1,literal:e,message:t,_run(e,t){return e.value===this.literal?e.typed=!0:X(this,"type",e,t),e}}}function mr(e,t){return{kind:"schema",type:"loose_object",reference:mr,expects:"Object",async:!1,entries:e,message:t,_run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};for(let n in this.entries){let i=r[n],o=this.entries[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"object",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),(void 0!==o.value||n in r)&&(e.value[n]=o.value)}if(!e.issues||!t.abortEarly)for(let t in r)$(r,t)&&!(t in this.entries)&&(e.value[t]=r[t])}else X(this,"type",e,t);return e}}}function br(e,t){return{kind:"schema",type:"loose_object",reference:br,expects:"Object",async:!0,entries:e,message:t,async _run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};let n=await Promise.all(Object.entries(this.entries).map((async([e,n])=>{let i=r[e];return[e,i,await n._run({typed:!1,value:i},t)]})));for(let[i,o,s]of n){if(s.issues){let n={type:"object",origin:"value",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),(void 0!==s.value||i in r)&&(e.value[i]=s.value)}if(!e.issues||!t.abortEarly)for(let t in r)$(r,t)&&!(t in this.entries)&&(e.value[t]=r[t])}else X(this,"type",e,t);return e}}}function wr(e,t){return{kind:"schema",type:"loose_tuple",reference:wr,expects:"Array",async:!1,items:e,message:t,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<this.items.length;n++){let i=r[n],o=this.items[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"array",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}if(!e.issues||!t.abortEarly)for(let t=this.items.length;t<r.length;t++)e.value.push(r[t])}else X(this,"type",e,t);return e}}}function vr(e,t){return{kind:"schema",type:"loose_tuple",reference:vr,expects:"Array",async:!0,items:e,message:t,async _run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];let n=await Promise.all(this.items.map((async(e,n)=>{let i=r[n];return[n,i,await e._run({typed:!1,value:i},t)]})));for(let[i,o,s]of n){if(s.issues){let n={type:"array",origin:"value",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value.push(s.value)}if(!e.issues||!t.abortEarly)for(let t=this.items.length;t<r.length;t++)e.value.push(r[t])}else X(this,"type",e,t);return e}}}function Ar(e,t,r){return{kind:"schema",type:"map",reference:Ar,expects:"Map",async:!1,key:e,value:t,message:r,_run(e,t){let r=e.value;if(r instanceof Map){e.typed=!0,e.value=new Map;for(let[n,i]of r){let o=this.key._run({typed:!1,value:n},t);if(o.issues){let s={type:"map",origin:"key",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}let s=this.value._run({typed:!1,value:i},t);if(s.issues){let o={type:"map",origin:"value",input:r,key:n,value:i};for(let t of s.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}(!o.typed||!s.typed)&&(e.typed=!1),e.value.set(o.value,s.value)}}else X(this,"type",e,t);return e}}}function Er(e,t,r){return{kind:"schema",type:"map",reference:Er,expects:"Map",async:!0,key:e,value:t,message:r,async _run(e,t){let r=e.value;if(r instanceof Map){e.typed=!0,e.value=new Map;let n=await Promise.all([...r].map((([e,r])=>Promise.all([e,r,this.key._run({typed:!1,value:e},t),this.value._run({typed:!1,value:r},t)]))));for(let[i,o,s,a]of n){if(s.issues){let n={type:"map",origin:"key",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}if(a.issues){let n={type:"map",origin:"value",input:r,key:i,value:o};for(let t of a.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=a.issues),t.abortEarly){e.typed=!1;break}}(!s.typed||!a.typed)&&(e.typed=!1),e.value.set(s.value,a.value)}}else X(this,"type",e,t);return e}}}function Tr(e){return{kind:"schema",type:"nan",reference:Tr,expects:"NaN",async:!1,message:e,_run(e,t){return Number.isNaN(e.value)?e.typed=!0:X(this,"type",e,t),e}}}function Cr(e){return{kind:"schema",type:"never",reference:Cr,expects:"never",async:!1,message:e,_run(e,t){return X(this,"type",e,t),e}}}function Sr(e,t){return{kind:"schema",type:"non_nullable",reference:Sr,expects:"!null",async:!1,wrapped:e,message:t,_run(e,t){return null===e.value?(X(this,"type",e,t),e):this.wrapped._run(e,t)}}}function Ir(e,t){return{kind:"schema",type:"non_nullable",reference:Ir,expects:"!null",async:!0,wrapped:e,message:t,async _run(e,t){return null===e.value?(X(this,"type",e,t),e):this.wrapped._run(e,t)}}}function Or(e,t){return{kind:"schema",type:"non_nullish",reference:Or,expects:"!null & !undefined",async:!1,wrapped:e,message:t,_run(e,t){return null===e.value||void 0===e.value?(X(this,"type",e,t),e):this.wrapped._run(e,t)}}}function Mr(e,t){return{kind:"schema",type:"non_nullish",reference:Mr,expects:"!null & !undefined",async:!0,wrapped:e,message:t,async _run(e,t){return null===e.value||void 0===e.value?(X(this,"type",e,t),e):this.wrapped._run(e,t)}}}function Pr(e,t){return{kind:"schema",type:"non_optional",reference:Pr,expects:"!undefined",async:!1,wrapped:e,message:t,_run(e,t){return void 0===e.value?(X(this,"type",e,t),e):this.wrapped._run(e,t)}}}function kr(e,t){return{kind:"schema",type:"non_optional",reference:kr,expects:"!undefined",async:!0,wrapped:e,message:t,async _run(e,t){return void 0===e.value?(X(this,"type",e,t),e):this.wrapped._run(e,t)}}}function Br(e){return{kind:"schema",type:"null",reference:Br,expects:"null",async:!1,message:e,_run(e,t){return null===e.value?e.typed=!0:X(this,"type",e,t),e}}}function xr(e,...t){let r={kind:"schema",type:"nullable",reference:xr,expects:`${e.expects} | null`,async:!1,wrapped:e,_run(e,t){return null===e.value&&("default"in this&&(e.value=Vt(this,e,t)),null===e.value)?(e.typed=!0,e):this.wrapped._run(e,t)}};return 0 in t&&(r.default=t[0]),r}function Nr(e,...t){let r={kind:"schema",type:"nullable",reference:Nr,expects:`${e.expects} | null`,async:!0,wrapped:e,async _run(e,t){return null===e.value&&("default"in this&&(e.value=await Vt(this,e,t)),null===e.value)?(e.typed=!0,e):this.wrapped._run(e,t)}};return 0 in t&&(r.default=t[0]),r}function Rr(e,...t){let r={kind:"schema",type:"nullish",reference:Rr,expects:`${e.expects} | null | undefined`,async:!1,wrapped:e,_run(e,t){return null!==e.value&&void 0!==e.value||("default"in this&&(e.value=Vt(this,e,t)),null!==e.value&&void 0!==e.value)?this.wrapped._run(e,t):(e.typed=!0,e)}};return 0 in t&&(r.default=t[0]),r}function _r(e,...t){let r={kind:"schema",type:"nullish",reference:_r,expects:`${e.expects} | null | undefined`,async:!0,wrapped:e,async _run(e,t){return null!==e.value&&void 0!==e.value||("default"in this&&(e.value=await Vt(this,e,t)),null!==e.value&&void 0!==e.value)?this.wrapped._run(e,t):(e.typed=!0,e)}};return 0 in t&&(r.default=t[0]),r}function Ur(e){return{kind:"schema",type:"number",reference:Ur,expects:"number",async:!1,message:e,_run(e,t){return"number"!=typeof e.value||isNaN(e.value)?X(this,"type",e,t):e.typed=!0,e}}}function Dr(e,t){return{kind:"schema",type:"object",reference:Dr,expects:"Object",async:!1,entries:e,message:t,_run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};for(let n in this.entries){let i=r[n],o=this.entries[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"object",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),(void 0!==o.value||n in r)&&(e.value[n]=o.value)}}else X(this,"type",e,t);return e}}}function Wr(e,t){return{kind:"schema",type:"object",reference:Wr,expects:"Object",async:!0,entries:e,message:t,async _run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};let n=await Promise.all(Object.entries(this.entries).map((async([e,n])=>{let i=r[e];return[e,i,await n._run({typed:!1,value:i},t)]})));for(let[i,o,s]of n){if(s.issues){let n={type:"object",origin:"value",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),(void 0!==s.value||i in r)&&(e.value[i]=s.value)}}else X(this,"type",e,t);return e}}}function Lr(e,t,r){return{kind:"schema",type:"object_with_rest",reference:Lr,expects:"Object",async:!1,entries:e,rest:t,message:r,_run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};for(let n in this.entries){let i=r[n],o=this.entries[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"object",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),(void 0!==o.value||n in r)&&(e.value[n]=o.value)}if(!e.issues||!t.abortEarly)for(let n in r)if($(r,n)&&!(n in this.entries)){let i=r[n],o=this.rest._run({typed:!1,value:i},t);if(o.issues){let s={type:"object",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value[n]=o.value}}else X(this,"type",e,t);return e}}}function zr(e,t,r){return{kind:"schema",type:"object_with_rest",reference:zr,expects:"Object",async:!0,entries:e,rest:t,message:r,async _run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};let[n,i]=await Promise.all([Promise.all(Object.entries(this.entries).map((async([e,n])=>{let i=r[e];return[e,i,await n._run({typed:!1,value:i},t)]}))),Promise.all(Object.entries(r).filter((([e])=>$(r,e)&&!(e in this.entries))).map((async([e,r])=>[e,r,await this.rest._run({typed:!1,value:r},t)])))]);for(let[i,o,s]of n){if(s.issues){let n={type:"object",origin:"value",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),(void 0!==s.value||i in r)&&(e.value[i]=s.value)}if(!e.issues||!t.abortEarly)for(let[n,o,s]of i){if(s.issues){let i={type:"object",origin:"value",input:r,key:n,value:o};for(let t of s.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value[n]=s.value}}else X(this,"type",e,t);return e}}}function Fr(e,...t){let r={kind:"schema",type:"optional",reference:Fr,expects:`${e.expects} | undefined`,async:!1,wrapped:e,_run(e,t){return void 0===e.value&&("default"in this&&(e.value=Vt(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped._run(e,t)}};return 0 in t&&(r.default=t[0]),r}function Kr(e,...t){let r={kind:"schema",type:"optional",reference:Kr,expects:`${e.expects} | undefined`,async:!0,wrapped:e,async _run(e,t){return void 0===e.value&&("default"in this&&(e.value=await Vt(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped._run(e,t)}};return 0 in t&&(r.default=t[0]),r}function jr(e,t){return{kind:"schema",type:"picklist",reference:jr,expects:e.map(Y).join(" | ")||"never",async:!1,options:e,message:t,_run(e,t){return this.options.includes(e.value)?e.typed=!0:X(this,"type",e,t),e}}}function Hr(e){return{kind:"schema",type:"promise",reference:Hr,expects:"Promise",async:!1,message:e,_run(e,t){return e.value instanceof Promise?e.typed=!0:X(this,"type",e,t),e}}}function Gr(e,t,r){return{kind:"schema",type:"record",reference:Gr,expects:"Object",async:!1,key:e,value:t,message:r,_run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};for(let n in r)if($(r,n)){let i=r[n],o=this.key._run({typed:!1,value:n},t);if(o.issues){let s={type:"object",origin:"key",input:r,key:n,value:i};for(let t of o.issues)t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}let s=this.value._run({typed:!1,value:i},t);if(s.issues){let o={type:"object",origin:"value",input:r,key:n,value:i};for(let t of s.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}(!o.typed||!s.typed)&&(e.typed=!1),o.typed&&(e.value[o.value]=s.value)}}else X(this,"type",e,t);return e}}}function Vr(e,t,r){return{kind:"schema",type:"record",reference:Vr,expects:"Object",async:!0,key:e,value:t,message:r,async _run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};let n=await Promise.all(Object.entries(r).filter((([e])=>$(r,e))).map((([e,r])=>Promise.all([e,r,this.key._run({typed:!1,value:e},t),this.value._run({typed:!1,value:r},t)]))));for(let[i,o,s,a]of n){if(s.issues){let n={type:"object",origin:"key",input:r,key:i,value:o};for(let t of s.issues)t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}if(a.issues){let n={type:"object",origin:"value",input:r,key:i,value:o};for(let t of a.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=a.issues),t.abortEarly){e.typed=!1;break}}(!s.typed||!a.typed)&&(e.typed=!1),s.typed&&(e.value[s.value]=a.value)}}else X(this,"type",e,t);return e}}}function qr(e,t){return{kind:"schema",type:"set",reference:qr,expects:"Set",async:!1,value:e,message:t,_run(e,t){let r=e.value;if(r instanceof Set){e.typed=!0,e.value=new Set;for(let n of r){let i=this.value._run({typed:!1,value:n},t);if(i.issues){let o={type:"set",origin:"value",input:r,key:null,value:n};for(let t of i.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||(e.issues=i.issues),t.abortEarly){e.typed=!1;break}}i.typed||(e.typed=!1),e.value.add(i.value)}}else X(this,"type",e,t);return e}}}function Jr(e,t){return{kind:"schema",type:"set",reference:Jr,expects:"Set",async:!0,value:e,message:t,async _run(e,t){let r=e.value;if(r instanceof Set){e.typed=!0,e.value=new Set;let n=await Promise.all([...r].map((async e=>[e,await this.value._run({typed:!1,value:e},t)])));for(let[i,o]of n){if(o.issues){let n={type:"set",origin:"value",input:r,key:null,value:i};for(let t of o.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.add(o.value)}}else X(this,"type",e,t);return e}}}function Yr(e,t){return{kind:"schema",type:"strict_object",reference:Yr,expects:"Object",async:!1,entries:e,message:t,_run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};for(let n in this.entries){let i=r[n],o=this.entries[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"object",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),(void 0!==o.value||n in r)&&(e.value[n]=o.value)}if(!e.issues||!t.abortEarly)for(let n in r)if(!(n in this.entries)){let i=r[n];X(this,"type",e,t,{input:i,expected:"never",path:[{type:"object",origin:"value",input:r,key:n,value:i}]});break}}else X(this,"type",e,t);return e}}}function Xr(e,t){return{kind:"schema",type:"strict_object",reference:Xr,expects:"Object",async:!0,entries:e,message:t,async _run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};let n=await Promise.all(Object.entries(this.entries).map((async([e,n])=>{let i=r[e];return[e,i,await n._run({typed:!1,value:i},t)]})));for(let[i,o,s]of n){if(s.issues){let n={type:"object",origin:"value",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),(void 0!==s.value||i in r)&&(e.value[i]=s.value)}if(!e.issues||!t.abortEarly)for(let n in r)if(!(n in this.entries)){let i=r[n];X(this,"type",e,t,{input:i,expected:"never",path:[{type:"object",origin:"value",input:r,key:n,value:i}]});break}}else X(this,"type",e,t);return e}}}function Qr(e,t){return{kind:"schema",type:"strict_tuple",reference:Qr,expects:"Array",async:!1,items:e,message:t,_run(t,r){let n=t.value;if(Array.isArray(n)){t.typed=!0,t.value=[];for(let e=0;e<this.items.length;e++){let i=n[e],o=this.items[e]._run({typed:!1,value:i},r);if(o.issues){let s={type:"array",origin:"value",input:n,key:e,value:i};for(let e of o.issues)e.path?e.path.unshift(s):e.path=[s],t.issues?.push(e);if(t.issues||(t.issues=o.issues),r.abortEarly){t.typed=!1;break}}o.typed||(t.typed=!1),t.value.push(o.value)}if((!t.issues||!r.abortEarly)&&this.items.length<n.length){let i=n[e.length];X(this,"type",t,r,{input:i,expected:"never",path:[{type:"array",origin:"value",input:n,key:this.items.length,value:i}]})}}else X(this,"type",t,r);return t}}}function Zr(e,t){return{kind:"schema",type:"strict_tuple",reference:Zr,expects:"Array",async:!0,items:e,message:t,async _run(t,r){let n=t.value;if(Array.isArray(n)){t.typed=!0,t.value=[];let i=await Promise.all(this.items.map((async(e,t)=>{let i=n[t];return[t,i,await e._run({typed:!1,value:i},r)]})));for(let[e,o,s]of i){if(s.issues){let i={type:"array",origin:"value",input:n,key:e,value:o};for(let e of s.issues)e.path?e.path.unshift(i):e.path=[i],t.issues?.push(e);if(t.issues||(t.issues=s.issues),r.abortEarly){t.typed=!1;break}}s.typed||(t.typed=!1),t.value.push(s.value)}if((!t.issues||!r.abortEarly)&&this.items.length<n.length){let i=n[e.length];X(this,"type",t,r,{input:i,expected:"never",path:[{type:"array",origin:"value",input:n,key:this.items.length,value:i}]})}}else X(this,"type",t,r);return t}}}function $r(e){return{kind:"schema",type:"string",reference:$r,expects:"string",async:!1,message:e,_run(e,t){return"string"==typeof e.value?e.typed=!0:X(this,"type",e,t),e}}}function en(e){return{kind:"schema",type:"symbol",reference:en,expects:"symbol",async:!1,message:e,_run(e,t){return"symbol"==typeof e.value?e.typed=!0:X(this,"type",e,t),e}}}function tn(e,t){return{kind:"schema",type:"tuple",reference:tn,expects:"Array",async:!1,items:e,message:t,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<this.items.length;n++){let i=r[n],o=this.items[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"array",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}}else X(this,"type",e,t);return e}}}function rn(e,t){return{kind:"schema",type:"tuple",reference:rn,expects:"Array",async:!0,items:e,message:t,async _run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];let n=await Promise.all(this.items.map((async(e,n)=>{let i=r[n];return[n,i,await e._run({typed:!1,value:i},t)]})));for(let[i,o,s]of n){if(s.issues){let n={type:"array",origin:"value",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value.push(s.value)}}else X(this,"type",e,t);return e}}}function nn(e,t,r){return{kind:"schema",type:"tuple_with_rest",reference:nn,expects:"Array",async:!1,items:e,rest:t,message:r,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<this.items.length;n++){let i=r[n],o=this.items[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"array",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}if(!e.issues||!t.abortEarly)for(let n=this.items.length;n<r.length;n++){let i=r[n],o=this.rest._run({typed:!1,value:i},t);if(o.issues){let s={type:"array",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}}else X(this,"type",e,t);return e}}}function on(e,t,r){return{kind:"schema",type:"tuple_with_rest",reference:on,expects:"Array",async:!0,items:e,rest:t,message:r,async _run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];let[n,i]=await Promise.all([Promise.all(this.items.map((async(e,n)=>{let i=r[n];return[n,i,await e._run({typed:!1,value:i},t)]}))),Promise.all(r.slice(this.items.length).map((async(e,r)=>[r+this.items.length,e,await this.rest._run({typed:!1,value:e},t)])))]);for(let[i,o,s]of n){if(s.issues){let n={type:"array",origin:"value",input:r,key:i,value:o};for(let t of s.issues)t.path?t.path.unshift(n):t.path=[n],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value.push(s.value)}if(!e.issues||!t.abortEarly)for(let[n,o,s]of i){if(s.issues){let i={type:"array",origin:"value",input:r,key:n,value:o};for(let t of s.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||(e.issues=s.issues),t.abortEarly){e.typed=!1;break}}s.typed||(e.typed=!1),e.value.push(s.value)}}else X(this,"type",e,t);return e}}}function sn(e){return{kind:"schema",type:"undefined",reference:sn,expects:"undefined",async:!1,message:e,_run(e,t){return void 0===e.value?e.typed=!0:X(this,"type",e,t),e}}}function an(e){let t;if(e)for(let r of e)t?t.push(...r.issues):t=r.issues;return t}function cn(e,t){return{kind:"schema",type:"union",reference:cn,expects:[...new Set(e.map((e=>e.expects)))].join(" | ")||"never",async:!1,options:e,message:t,_run(e,t){let r,n,i;for(let o of this.options){let s=o._run({typed:!1,value:e.value},t);if(s.typed){if(!s.issues){r=s;break}n?n.push(s):n=[s]}else i?i.push(s):i=[s]}if(r)return r;if(n){if(1===n.length)return n[0];X(this,"type",e,t,{issues:an(n)}),e.typed=!0}else{if(1===i?.length)return i[0];X(this,"type",e,t,{issues:an(i)})}return e}}}function un(e,t){return{kind:"schema",type:"union",reference:un,expects:[...new Set(e.map((e=>e.expects)))].join(" | ")||"never",async:!0,options:e,message:t,async _run(e,t){let r,n,i;for(let o of this.options){let s=await o._run({typed:!1,value:e.value},t);if(s.typed){if(!s.issues){r=s;break}n?n.push(s):n=[s]}else i?i.push(s):i=[s]}if(r)return r;if(n){if(1===n.length)return n[0];X(this,"type",e,t,{issues:an(n)}),e.typed=!0}else{if(1===i?.length)return i[0];X(this,"type",e,t,{issues:an(i)})}return e}}}function ln(){return{kind:"schema",type:"unknown",reference:ln,expects:"unknown",async:!1,_run:e=>(e.typed=!0,e)}}function dn(e,t,r=new Set){for(let n of t)"variant"===n.type?dn(e,n.options,r):r.add(n.entries[e].expects);return r}function hn(e,t,r){let n;return{kind:"schema",type:"variant",reference:hn,expects:"Object",async:!1,key:e,options:t,message:r,_run(e,t){let r=e.value;if(r&&"object"==typeof r){let i=r[this.key];if(this.key in r){let e;for(let n of this.options)if("variant"===n.type||!n.entries[this.key]._run({typed:!1,value:i},t).issues){let i=n._run({typed:!1,value:r},t);if(!i.issues)return i;(!e||!e.typed&&i.typed)&&(e=i)}if(e)return e}n||(n=[...dn(this.key,this.options)].join(" | ")||"never"),X(this,"type",e,t,{input:i,expected:n,path:[{type:"object",origin:"value",input:r,key:this.key,value:i}]})}else X(this,"type",e,t);return e}}}function fn(e,t,r){let n;return{kind:"schema",type:"variant",reference:fn,expects:"Object",async:!0,key:e,options:t,message:r,async _run(e,t){let r=e.value;if(r&&"object"==typeof r){let i=r[this.key];if(this.key in r){let e;for(let n of this.options)if("variant"===n.type||!(await n.entries[this.key]._run({typed:!1,value:i},t)).issues){let i=await n._run({typed:!1,value:r},t);if(!i.issues)return i;(!e||!e.typed&&i.typed)&&(e=i)}if(e)return e}n||(n=[...dn(this.key,this.options)].join(" | ")||"never"),X(this,"type",e,t,{input:i,expected:n,path:[{type:"object",origin:"value",input:r,key:this.key,value:i}]})}else X(this,"type",e,t);return e}}}function pn(e){return{kind:"schema",type:"void",reference:pn,expects:"void",async:!1,message:e,_run(e,t){return void 0===e.value?e.typed=!0:X(this,"type",e,t),e}}}function gn(e,t){return jr(Object.keys(e.entries),t)}function yn(e,t){let r={...e.entries};for(let e of t)delete r[e];return{...e,entries:r}}function mn(e,t,r){let n=e._run({typed:!1,value:t},W(r));if(n.issues)throw new oe(n.issues);return n.value}async function bn(e,t,r){let n=await e._run({typed:!1,value:t},W(r));if(n.issues)throw new oe(n.issues);return n.value}function wn(e,t){let r=r=>mn(e,r,t);return r.schema=e,r.config=t,r}function vn(e,t){let r=r=>bn(e,r,t);return r.schema=e,r.config=t,r}function An(e,t){let r={};for(let n in e.entries)r[n]=!t||t.includes(n)?Fr(e.entries[n]):e.entries[n];return{...e,entries:r}}function En(e,t){let r={};for(let n in e.entries)r[n]=!t||t.includes(n)?Kr(e.entries[n]):e.entries[n];return{...e,entries:r}}function Tn(e,t){let r={};for(let n of t)r[n]=e.entries[n];return{...e,entries:r}}function Cn(...e){return{...e[0],pipe:e,_run(t,r){for(let n=0;n<e.length;n++){if(t.issues&&("schema"===e[n].kind||"transformation"===e[n].kind)){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=e[n]._run(t,r))}return t}}}function Sn(...e){return{...e[0],pipe:e,async:!0,async _run(t,r){for(let n=0;n<e.length;n++){if(t.issues&&("schema"===e[n].kind||"transformation"===e[n].kind)){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=await e[n]._run(t,r))}return t}}}function In(e,t,r){let n=Array.isArray(t)?t:void 0,i=Array.isArray(t)?r:t,o={};for(let t in e.entries)o[t]=!n||n.includes(t)?Pr(e.entries[t],i):e.entries[t];return{...e,entries:o}}function On(e,t,r){let n=Array.isArray(t)?t:void 0,i=Array.isArray(t)?r:t,o={};for(let t in e.entries)o[t]=!n||n.includes(t)?kr(e.entries[t],i):e.entries[t];return{...e,entries:o}}function Mn(e,t,r){let n=e._run({typed:!1,value:t},W(r));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}async function Pn(e,t,r){let n=await e._run({typed:!1,value:t},W(r));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}function kn(e,t){let r=r=>Mn(e,r,t);return r.schema=e,r.config=t,r}function Bn(e,t){let r=r=>Pn(e,r,t);return r.schema=e,r.config=t,r}function xn(e){return e.wrapped}})),A2=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{$Intent:()=>T,Argument:()=>y,BCSBytes:()=>f,Command:()=>C,GasData:()=>b,JsonU64:()=>p,NormalizedCallArg:()=>O,ObjectArg:()=>S,ObjectID:()=>h,ObjectRef:()=>g,OpenMoveTypeSignature:()=>A,OpenMoveTypeSignatureBody:()=>v,StructTag:()=>w,SuiAddress:()=>d,TransactionData:()=>P,TransactionExpiration:()=>M,safeEnum:()=>l}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=gb(),u=Il();function l(e){let t=Object.entries(e).map((([e,t])=>(0,c.object)({[e]:t})));return(0,c.pipe)((0,c.union)(t),(0,c.transform)((e=>({...e,$kind:Object.keys(e)[0]}))))}var d=(0,c.pipe)((0,c.string)(),(0,c.transform)((e=>(0,u.normalizeSuiAddress)(e))),(0,c.check)(u.isValidSuiAddress)),h=d,f=(0,c.string)(),p=(0,c.pipe)((0,c.union)([(0,c.string)(),(0,c.pipe)((0,c.number)(),(0,c.integer)())]),(0,c.check)((e=>{try{return BigInt(e),BigInt(e)>=0&&BigInt(e)<=18446744073709551615n}catch{return!1}}),"Invalid u64")),g=(0,c.object)({objectId:d,version:p,digest:(0,c.string)()}),y=(0,c.pipe)((0,c.union)([(0,c.object)({GasCoin:(0,c.literal)(!0)}),(0,c.object)({Input:(0,c.pipe)((0,c.number)(),(0,c.integer)()),type:(0,c.optional)((0,c.literal)("pure"))}),(0,c.object)({Input:(0,c.pipe)((0,c.number)(),(0,c.integer)()),type:(0,c.optional)((0,c.literal)("object"))}),(0,c.object)({Result:(0,c.pipe)((0,c.number)(),(0,c.integer)())}),(0,c.object)({NestedResult:(0,c.tuple)([(0,c.pipe)((0,c.number)(),(0,c.integer)()),(0,c.pipe)((0,c.number)(),(0,c.integer)())])})]),(0,c.transform)((e=>({...e,$kind:Object.keys(e)[0]})))),b=(0,c.object)({budget:(0,c.nullable)(p),price:(0,c.nullable)(p),owner:(0,c.nullable)(d),payment:(0,c.nullable)((0,c.array)(g))}),w=(0,c.object)({address:(0,c.string)(),module:(0,c.string)(),name:(0,c.string)(),typeParams:(0,c.array)((0,c.string)())}),v=(0,c.union)([(0,c.literal)("address"),(0,c.literal)("bool"),(0,c.literal)("u8"),(0,c.literal)("u16"),(0,c.literal)("u32"),(0,c.literal)("u64"),(0,c.literal)("u128"),(0,c.literal)("u256"),(0,c.object)({vector:(0,c.lazy)((()=>v))}),(0,c.object)({datatype:(0,c.object)({package:(0,c.string)(),module:(0,c.string)(),type:(0,c.string)(),typeParameters:(0,c.array)((0,c.lazy)((()=>v)))})}),(0,c.object)({typeParameter:(0,c.pipe)((0,c.number)(),(0,c.integer)())})]),A=(0,c.object)({ref:(0,c.nullable)((0,c.union)([(0,c.literal)("&"),(0,c.literal)("&mut")])),body:v}),E=(0,c.object)({package:h,module:(0,c.string)(),function:(0,c.string)(),typeArguments:(0,c.array)((0,c.string)()),arguments:(0,c.array)(y),_argumentTypes:(0,c.optional)((0,c.nullable)((0,c.array)(A)))}),T=(0,c.object)({name:(0,c.string)(),inputs:(0,c.record)((0,c.string)(),(0,c.union)([y,(0,c.array)(y)])),data:(0,c.record)((0,c.string)(),(0,c.unknown)())}),C=l({MoveCall:E,TransferObjects:(0,c.object)({objects:(0,c.array)(y),address:y}),SplitCoins:(0,c.object)({coin:y,amounts:(0,c.array)(y)}),MergeCoins:(0,c.object)({destination:y,sources:(0,c.array)(y)}),Publish:(0,c.object)({modules:(0,c.array)(f),dependencies:(0,c.array)(h)}),MakeMoveVec:(0,c.object)({type:(0,c.nullable)((0,c.string)()),elements:(0,c.array)(y)}),Upgrade:(0,c.object)({modules:(0,c.array)(f),dependencies:(0,c.array)(h),package:h,ticket:y}),$Intent:T}),S=l({ImmOrOwnedObject:g,SharedObject:(0,c.object)({objectId:h,initialSharedVersion:p,mutable:(0,c.boolean)()}),Receiving:g}),I=l({Object:S,Pure:(0,c.object)({bytes:f}),UnresolvedPure:(0,c.object)({value:(0,c.unknown)()}),UnresolvedObject:(0,c.object)({objectId:h,version:(0,c.optional)((0,c.nullable)(p)),digest:(0,c.optional)((0,c.nullable)((0,c.string)())),initialSharedVersion:(0,c.optional)((0,c.nullable)(p))})}),O=l({Object:S,Pure:(0,c.object)({bytes:f})}),M=l({None:(0,c.literal)(!0),Epoch:p}),P=(0,c.object)({version:(0,c.literal)(2),sender:(0,c.nullish)(d),expiration:(0,c.nullish)(M),gasData:b,inputs:(0,c.array)(I),commands:(0,c.array)(C)})})),kj=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{Commands:()=>f,UpgradePolicy:()=>h}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=gb(),l=Il(),d=A2(),h=(e=>(e[e.COMPATIBLE=0]="COMPATIBLE",e[e.ADDITIVE=128]="ADDITIVE",e[e.DEP_ONLY=192]="DEP_ONLY",e))(h||{}),f={MoveCall(e){let[t,r="",n=""]="target"in e?e.target.split("::"):[e.package,e.module,e.function];return{$kind:"MoveCall",MoveCall:{package:t,module:r,function:n,typeArguments:e.typeArguments??[],arguments:e.arguments??[]}}},TransferObjects:(e,t)=>({$kind:"TransferObjects",TransferObjects:{objects:e.map((e=>(0,u.parse)(d.Argument,e))),address:(0,u.parse)(d.Argument,t)}}),SplitCoins:(e,t)=>({$kind:"SplitCoins",SplitCoins:{coin:(0,u.parse)(d.Argument,e),amounts:t.map((e=>(0,u.parse)(d.Argument,e)))}}),MergeCoins:(e,t)=>({$kind:"MergeCoins",MergeCoins:{destination:(0,u.parse)(d.Argument,e),sources:t.map((e=>(0,u.parse)(d.Argument,e)))}}),Publish:({modules:e,dependencies:t})=>({$kind:"Publish",Publish:{modules:e.map((e=>"string"==typeof e?e:(0,c.toBase64)(new Uint8Array(e)))),dependencies:t.map((e=>(0,l.normalizeSuiObjectId)(e)))}}),Upgrade:({modules:e,dependencies:t,package:r,ticket:n})=>({$kind:"Upgrade",Upgrade:{modules:e.map((e=>"string"==typeof e?e:(0,c.toBase64)(new Uint8Array(e)))),dependencies:t.map((e=>(0,l.normalizeSuiObjectId)(e))),package:r,ticket:(0,u.parse)(d.Argument,n)}}),MakeMoveVec:({type:e,elements:t})=>({$kind:"MakeMoveVec",MakeMoveVec:{type:e??null,elements:t.map((e=>(0,u.parse)(d.Argument,e)))}}),Intent:({name:e,inputs:t={},data:r={}})=>({$kind:"$Intent",$Intent:{name:e,inputs:Object.fromEntries(Object.entries(t).map((([e,t])=>[e,Array.isArray(t)?t.map((e=>(0,u.parse)(d.Argument,e))):(0,u.parse)(d.Argument,t)]))),data:r}})}})),wpe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{NormalizedCallArg:()=>p,ObjectRef:()=>h,SerializedTransactionDataV1:()=>B,StructTag:()=>v,TransactionArgument:()=>T,TypeTag:()=>w,serializeV1TransactionData:()=>x,transactionDataFromV1:()=>R}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=gb(),l=lp(),d=A2(),h=(0,u.object)({digest:(0,u.string)(),objectId:(0,u.string)(),version:(0,u.union)([(0,u.pipe)((0,u.number)(),(0,u.integer)()),(0,u.string)(),(0,u.bigint)()])}),f=(0,d.safeEnum)({ImmOrOwned:h,Shared:(0,u.object)({objectId:d.ObjectID,initialSharedVersion:d.JsonU64,mutable:(0,u.boolean)()}),Receiving:h}),p=(0,d.safeEnum)({Object:f,Pure:(0,u.array)((0,u.pipe)((0,u.number)(),(0,u.integer)()))}),g=(0,u.union)([(0,u.object)({kind:(0,u.literal)("Input"),index:(0,u.pipe)((0,u.number)(),(0,u.integer)()),value:(0,u.unknown)(),type:(0,u.optional)((0,u.literal)("object"))}),(0,u.object)({kind:(0,u.literal)("Input"),index:(0,u.pipe)((0,u.number)(),(0,u.integer)()),value:(0,u.unknown)(),type:(0,u.literal)("pure")})]),y=(0,u.union)([(0,u.object)({Epoch:(0,u.pipe)((0,u.number)(),(0,u.integer)())}),(0,u.object)({None:(0,u.nullable)((0,u.literal)(!0))})]),b=(0,u.pipe)((0,u.union)([(0,u.number)(),(0,u.string)(),(0,u.bigint)()]),(0,u.check)((e=>{if(!["string","number","bigint"].includes(typeof e))return!1;try{return BigInt(e),!0}catch{return!1}}))),w=(0,u.union)([(0,u.object)({bool:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({u8:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({u64:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({u128:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({address:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({signer:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({vector:(0,u.lazy)((()=>w))}),(0,u.object)({struct:(0,u.lazy)((()=>v))}),(0,u.object)({u16:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({u32:(0,u.nullable)((0,u.literal)(!0))}),(0,u.object)({u256:(0,u.nullable)((0,u.literal)(!0))})]),v=(0,u.object)({address:(0,u.string)(),module:(0,u.string)(),name:(0,u.string)(),typeParams:(0,u.array)(w)}),A=(0,u.object)({budget:(0,u.optional)(b),price:(0,u.optional)(b),payment:(0,u.optional)((0,u.array)(h)),owner:(0,u.optional)((0,u.string)())}),E=[g,(0,u.object)({kind:(0,u.literal)("GasCoin")}),(0,u.object)({kind:(0,u.literal)("Result"),index:(0,u.pipe)((0,u.number)(),(0,u.integer)())}),(0,u.object)({kind:(0,u.literal)("NestedResult"),index:(0,u.pipe)((0,u.number)(),(0,u.integer)()),resultIndex:(0,u.pipe)((0,u.number)(),(0,u.integer)())})],T=(0,u.union)([...E]),C=(0,u.object)({kind:(0,u.literal)("MoveCall"),target:(0,u.pipe)((0,u.string)(),(0,u.check)((e=>3===e.split("::").length))),typeArguments:(0,u.array)((0,u.string)()),arguments:(0,u.array)(T)}),S=(0,u.object)({kind:(0,u.literal)("TransferObjects"),objects:(0,u.array)(T),address:T}),I=(0,u.object)({kind:(0,u.literal)("SplitCoins"),coin:T,amounts:(0,u.array)(T)}),O=(0,u.object)({kind:(0,u.literal)("MergeCoins"),destination:T,sources:(0,u.array)(T)}),M=(0,u.object)({kind:(0,u.literal)("MakeMoveVec"),type:(0,u.union)([(0,u.object)({Some:w}),(0,u.object)({None:(0,u.nullable)((0,u.literal)(!0))})]),objects:(0,u.array)(T)}),P=[C,S,I,O,(0,u.object)({kind:(0,u.literal)("Publish"),modules:(0,u.array)((0,u.array)((0,u.pipe)((0,u.number)(),(0,u.integer)()))),dependencies:(0,u.array)((0,u.string)())}),(0,u.object)({kind:(0,u.literal)("Upgrade"),modules:(0,u.array)((0,u.array)((0,u.pipe)((0,u.number)(),(0,u.integer)()))),dependencies:(0,u.array)((0,u.string)()),packageId:(0,u.string)(),ticket:T}),M],k=(0,u.union)([...P]),B=(0,u.object)({version:(0,u.literal)(1),sender:(0,u.optional)((0,u.string)()),expiration:(0,u.nullish)(y),gasConfig:A,inputs:(0,u.array)(g),transactions:(0,u.array)(k)});function x(e){let t=e.inputs.map(((e,t)=>{if(e.Object)return{kind:"Input",index:t,value:{Object:e.Object.ImmOrOwnedObject?{ImmOrOwned:e.Object.ImmOrOwnedObject}:e.Object.Receiving?{Receiving:{digest:e.Object.Receiving.digest,version:e.Object.Receiving.version,objectId:e.Object.Receiving.objectId}}:{Shared:{mutable:e.Object.SharedObject.mutable,initialSharedVersion:e.Object.SharedObject.initialSharedVersion,objectId:e.Object.SharedObject.objectId}}},type:"object"};if(e.Pure)return{kind:"Input",index:t,value:{Pure:Array.from((0,c.fromBase64)(e.Pure.bytes))},type:"pure"};if(e.UnresolvedPure)return{kind:"Input",type:"pure",index:t,value:e.UnresolvedPure.value};if(e.UnresolvedObject)return{kind:"Input",type:"object",index:t,value:e.UnresolvedObject.objectId};throw new Error("Invalid input")}));return{version:1,sender:e.sender??void 0,expiration:"Epoch"===e.expiration?.$kind?{Epoch:Number(e.expiration.Epoch)}:e.expiration?{None:!0}:null,gasConfig:{owner:e.gasData.owner??void 0,budget:e.gasData.budget??void 0,price:e.gasData.price??void 0,payment:e.gasData.payment??void 0},inputs:t,transactions:e.commands.map((e=>{if(e.MakeMoveVec)return{kind:"MakeMoveVec",type:null===e.MakeMoveVec.type?{None:!0}:{Some:l.TypeTagSerializer.parseFromStr(e.MakeMoveVec.type)},objects:e.MakeMoveVec.elements.map((e=>N(e,t)))};if(e.MergeCoins)return{kind:"MergeCoins",destination:N(e.MergeCoins.destination,t),sources:e.MergeCoins.sources.map((e=>N(e,t)))};if(e.MoveCall)return{kind:"MoveCall",target:`${e.MoveCall.package}::${e.MoveCall.module}::${e.MoveCall.function}`,typeArguments:e.MoveCall.typeArguments,arguments:e.MoveCall.arguments.map((e=>N(e,t)))};if(e.Publish)return{kind:"Publish",modules:e.Publish.modules.map((e=>Array.from((0,c.fromBase64)(e)))),dependencies:e.Publish.dependencies};if(e.SplitCoins)return{kind:"SplitCoins",coin:N(e.SplitCoins.coin,t),amounts:e.SplitCoins.amounts.map((e=>N(e,t)))};if(e.TransferObjects)return{kind:"TransferObjects",objects:e.TransferObjects.objects.map((e=>N(e,t))),address:N(e.TransferObjects.address,t)};if(e.Upgrade)return{kind:"Upgrade",modules:e.Upgrade.modules.map((e=>Array.from((0,c.fromBase64)(e)))),dependencies:e.Upgrade.dependencies,packageId:e.Upgrade.package,ticket:N(e.Upgrade.ticket,t)};throw new Error(`Unknown transaction ${Object.keys(e)}`)}))}}function N(e,t){if("GasCoin"===e.$kind)return{kind:"GasCoin"};if("Result"===e.$kind)return{kind:"Result",index:e.Result};if("NestedResult"===e.$kind)return{kind:"NestedResult",index:e.NestedResult[0],resultIndex:e.NestedResult[1]};if("Input"===e.$kind)return t[e.Input];throw new Error(`Invalid argument ${Object.keys(e)}`)}function R(e){return(0,u.parse)(d.TransactionData,{version:2,sender:e.sender??null,expiration:e.expiration?"Epoch"in e.expiration?{Epoch:e.expiration.Epoch}:{None:!0}:null,gasData:{owner:e.gasConfig.owner??null,budget:e.gasConfig.budget?.toString()??null,price:e.gasConfig.price?.toString()??null,payment:e.gasConfig.payment?.map((e=>({digest:e.digest,objectId:e.objectId,version:e.version.toString()})))??null},inputs:e.inputs.map((e=>{if("Input"===e.kind){if((0,u.is)(p,e.value)){let t=(0,u.parse)(p,e.value);if(t.Object){if(t.Object.ImmOrOwned)return{Object:{ImmOrOwnedObject:{objectId:t.Object.ImmOrOwned.objectId,version:String(t.Object.ImmOrOwned.version),digest:t.Object.ImmOrOwned.digest}}};if(t.Object.Shared)return{Object:{SharedObject:{mutable:t.Object.Shared.mutable??null,initialSharedVersion:t.Object.Shared.initialSharedVersion,objectId:t.Object.Shared.objectId}}};if(t.Object.Receiving)return{Object:{Receiving:{digest:t.Object.Receiving.digest,version:String(t.Object.Receiving.version),objectId:t.Object.Receiving.objectId}}};throw new Error("Invalid object input")}return{Pure:{bytes:(0,c.toBase64)(new Uint8Array(t.Pure))}}}return"object"===e.type?{UnresolvedObject:{objectId:e.value}}:{UnresolvedPure:{value:e.value}}}throw new Error("Invalid input")})),commands:e.transactions.map((e=>{switch(e.kind){case"MakeMoveVec":return{MakeMoveVec:{type:"Some"in e.type?l.TypeTagSerializer.tagToString(e.type.Some):null,elements:e.objects.map((e=>_(e)))}};case"MergeCoins":return{MergeCoins:{destination:_(e.destination),sources:e.sources.map((e=>_(e)))}};case"MoveCall":{let[t,r,n]=e.target.split("::");return{MoveCall:{package:t,module:r,function:n,typeArguments:e.typeArguments,arguments:e.arguments.map((e=>_(e)))}}}case"Publish":return{Publish:{modules:e.modules.map((e=>(0,c.toBase64)(Uint8Array.from(e)))),dependencies:e.dependencies}};case"SplitCoins":return{SplitCoins:{coin:_(e.coin),amounts:e.amounts.map((e=>_(e)))}};case"TransferObjects":return{TransferObjects:{objects:e.objects.map((e=>_(e))),address:_(e.address)}};case"Upgrade":return{Upgrade:{modules:e.modules.map((e=>(0,c.toBase64)(Uint8Array.from(e)))),dependencies:e.dependencies,package:e.packageId,ticket:_(e.ticket)}}}throw new Error(`Unknown transaction ${Object.keys(e)}`)}))})}function _(e){switch(e.kind){case"GasCoin":return{GasCoin:!0};case"Result":return{Result:e.index};case"NestedResult":return{NestedResult:[e.index,e.resultIndex]};case"Input":return{Input:e.index}}}})),Mat=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{SerializedTransactionDataV2:()=>v}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=gb(),u=A2();function l(e){return(0,c.union)(Object.entries(e).map((([e,t])=>(0,c.object)({[e]:t}))))}var d=l({GasCoin:(0,c.literal)(!0),Input:(0,c.pipe)((0,c.number)(),(0,c.integer)()),Result:(0,c.pipe)((0,c.number)(),(0,c.integer)()),NestedResult:(0,c.tuple)([(0,c.pipe)((0,c.number)(),(0,c.integer)()),(0,c.pipe)((0,c.number)(),(0,c.integer)())])}),h=(0,c.object)({budget:(0,c.nullable)(u.JsonU64),price:(0,c.nullable)(u.JsonU64),owner:(0,c.nullable)(u.SuiAddress),payment:(0,c.nullable)((0,c.array)(u.ObjectRef))}),f=(0,c.object)({package:u.ObjectID,module:(0,c.string)(),function:(0,c.string)(),typeArguments:(0,c.array)((0,c.string)()),arguments:(0,c.array)(d)}),p=(0,c.object)({name:(0,c.string)(),inputs:(0,c.record)((0,c.string)(),(0,c.union)([d,(0,c.array)(d)])),data:(0,c.record)((0,c.string)(),(0,c.unknown)())}),g=l({MoveCall:f,TransferObjects:(0,c.object)({objects:(0,c.array)(d),address:d}),SplitCoins:(0,c.object)({coin:d,amounts:(0,c.array)(d)}),MergeCoins:(0,c.object)({destination:d,sources:(0,c.array)(d)}),Publish:(0,c.object)({modules:(0,c.array)(u.BCSBytes),dependencies:(0,c.array)(u.ObjectID)}),MakeMoveVec:(0,c.object)({type:(0,c.nullable)((0,c.string)()),elements:(0,c.array)(d)}),Upgrade:(0,c.object)({modules:(0,c.array)(u.BCSBytes),dependencies:(0,c.array)(u.ObjectID),package:u.ObjectID,ticket:d}),$Intent:p}),y=l({ImmOrOwnedObject:u.ObjectRef,SharedObject:(0,c.object)({objectId:u.ObjectID,initialSharedVersion:u.JsonU64,mutable:(0,c.boolean)()}),Receiving:u.ObjectRef}),b=l({Object:y,Pure:(0,c.object)({bytes:u.BCSBytes}),UnresolvedPure:(0,c.object)({value:(0,c.unknown)()}),UnresolvedObject:(0,c.object)({objectId:u.ObjectID,version:(0,c.optional)((0,c.nullable)(u.JsonU64)),digest:(0,c.optional)((0,c.nullable)((0,c.string)())),initialSharedVersion:(0,c.optional)((0,c.nullable)(u.JsonU64))})}),w=l({None:(0,c.literal)(!0),Epoch:u.JsonU64}),v=(0,c.object)({version:(0,c.literal)(2),sender:(0,c.nullish)(u.SuiAddress),expiration:(0,c.nullish)(w),gasData:h,inputs:(0,c.array)(b),commands:(0,c.array)(g)})})),Spe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{getClient:()=>E,resolveTransactionData:()=>b}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=gb(),u=lp(),l=Cj(),d=A2(),h=qB(),f=X0e(),p=50,g=1000n,y=5e10;async function b(e,t,r){return await async function(e,t){let{inputs:r,commands:n}=e,i=[],o=new Set;n.forEach((t=>{if(t.MoveCall){if(t.MoveCall._argumentTypes)return;if(t.MoveCall.arguments.map((t=>"Input"===t.$kind?e.inputs[t.Input]:null)).some((e=>e?.UnresolvedPure||e?.UnresolvedObject))){let e=`${t.MoveCall.package}::${t.MoveCall.module}::${t.MoveCall.function}`;o.add(e),i.push(t.MoveCall)}}switch(t.$kind){case"SplitCoins":t.SplitCoins.amounts.forEach((t=>{w(t,u.bcs.U64,e)}));break;case"TransferObjects":w(t.TransferObjects.address,u.bcs.Address,e)}}));let s=new Map;if(o.size>0){let e=E(t);await Promise.all([...o].map((async t=>{let[r,n,i]=t.split("::"),o=await e.getNormalizedMoveFunction({package:r,module:n,function:i});s.set(t,o.parameters.map((e=>(0,f.normalizedTypeToMoveTypeSignature)(e))))})))}i.length&&await Promise.all(i.map((async e=>{let t=s.get(`${e.package}::${e.module}::${e.function}`);if(!t)return;let r=t.length>0&&(0,f.isTxContext)(t.at(-1))?t.slice(0,t.length-1):t;e._argumentTypes=r}))),n.forEach((e=>{if(!e.MoveCall)return;let t=e.MoveCall,n=`${t.package}::${t.module}::${t.function}`,i=t._argumentTypes;if(i){if(i.length!==e.MoveCall.arguments.length)throw new Error(`Incorrect number of arguments for ${n}`);i.forEach(((e,n)=>{let i=t.arguments[n];if("Input"!==i.$kind)return;let o=r[i.Input];if(!o.UnresolvedPure&&!o.UnresolvedObject)return;let s=o.UnresolvedPure?.value??o.UnresolvedObject?.objectId,a=(0,f.getPureBcsSchema)(e.body);if(a)return i.type="pure",void(r[r.indexOf(o)]=h.Inputs.Pure(a.serialize(s)));if("string"!=typeof s)throw new Error(`Expect the argument to be an object id string, got ${JSON.stringify(s,null,2)}`);i.type="object";let c=o.UnresolvedPure?{$kind:"UnresolvedObject",UnresolvedObject:{objectId:s}}:o;r[i.Input]=c}))}}))}(e,t),await async function(e,t){let r=e.inputs.filter((e=>e.UnresolvedObject&&!(e.UnresolvedObject.version||e.UnresolvedObject?.initialSharedVersion))),n=[...new Set(r.map((e=>(0,l.normalizeSuiObjectId)(e.UnresolvedObject.objectId))))],i=n.length?function(e,t){return Array.from({length:Math.ceil(e.length/t)},((r,n)=>e.slice(n*t,n*t+t)))}(n,p):[],o=(await Promise.all(i.map((e=>E(t).multiGetObjects({ids:e,options:{showOwner:!0}}))))).flat(),s=new Map(n.map(((e,t)=>[e,o[t]]))),a=Array.from(s).filter((([e,t])=>t.error)).map((([e,t])=>JSON.stringify(t.error)));if(a.length)throw new Error(`The following input objects are invalid: ${a.join(", ")}`);let c=o.map((e=>{if(e.error||!e.data)throw new Error(`Failed to fetch object: ${e.error}`);let t=e.data.owner,r=t&&"object"==typeof t&&"Shared"in t?t.Shared.initial_shared_version:null;return{objectId:e.data.objectId,digest:e.data.digest,version:e.data.version,initialSharedVersion:r}})),u=new Map(n.map(((e,t)=>[e,c[t]])));for(let[t,r]of e.inputs.entries()){if(!r.UnresolvedObject)continue;let n,i=(0,l.normalizeSuiAddress)(r.UnresolvedObject.objectId),o=u.get(i);r.UnresolvedObject.initialSharedVersion??o?.initialSharedVersion?n=h.Inputs.SharedObjectRef({objectId:i,initialSharedVersion:r.UnresolvedObject.initialSharedVersion||o?.initialSharedVersion,mutable:v(e,t)}):A(e,t)&&(n=h.Inputs.ReceivingRef({objectId:i,digest:r.UnresolvedObject.digest??o?.digest,version:r.UnresolvedObject.version??o?.version})),e.inputs[e.inputs.indexOf(r)]=n??h.Inputs.ObjectRef({objectId:i,digest:r.UnresolvedObject.digest??o?.digest,version:r.UnresolvedObject.version??o?.version})}}(e,t),t.onlyTransactionKind||(await async function(e,t){e.gasConfig.price||(e.gasConfig.price=String(await E(t).getReferenceGasPrice()))}(e,t),await async function(e,t){if(e.gasConfig.budget)return;let r=await E(t).dryRunTransactionBlock({transactionBlock:e.build({overrides:{gasData:{budget:String(y),payment:[]}}})});if("success"!==r.effects.status.status)throw new Error(`Dry run failed, could not automatically determine a budget: ${r.effects.status.error}`,{cause:r});let n=g*BigInt(e.gasConfig.price||1n),i=BigInt(r.effects.gasUsed.computationCost)+n,o=i+BigInt(r.effects.gasUsed.storageCost)-BigInt(r.effects.gasUsed.storageRebate);e.gasConfig.budget=String(o>i?o:i)}(e,t),await async function(e,t){if(!e.gasConfig.payment){let r=(await E(t).getCoins({owner:e.gasConfig.owner||e.sender,coinType:l.SUI_TYPE_ARG})).data.filter((t=>!e.inputs.find((e=>!!e.Object?.ImmOrOwnedObject&&t.coinObjectId===e.Object.ImmOrOwnedObject.objectId)))).map((e=>({objectId:e.coinObjectId,digest:e.digest,version:e.version})));if(!r.length)throw new Error("No valid gas coins found for the transaction.");e.gasConfig.payment=r.map((e=>(0,c.parse)(d.ObjectRef,e)))}}(e,t)),await function(e){e.inputs.forEach(((e,t)=>{if("Object"!==e.$kind&&"Pure"!==e.$kind)throw new Error(`Input at index ${t} has not been resolved.  Expected a Pure or Object input, but found ${JSON.stringify(e)}`)}))}(e),await r()}function w(e,t,r){if("Input"!==e.$kind)return;let n=r.inputs[e.Input];"UnresolvedPure"===n.$kind&&(r.inputs[e.Input]=h.Inputs.Pure(t.serialize(n.UnresolvedPure.value)))}function v(e,t){let r=!1;return e.getInputUses(t,((e,t)=>{if(t.MoveCall&&t.MoveCall._argumentTypes){let n=t.MoveCall.arguments.indexOf(e);r="&"!==t.MoveCall._argumentTypes[n].ref||r}("MakeMoveVec"===t.$kind||"MergeCoins"===t.$kind||"SplitCoins"===t.$kind)&&(r=!0)})),r}function A(e,t){let r=!1;return e.getInputUses(t,((e,t)=>{if(t.MoveCall&&t.MoveCall._argumentTypes){let n=t.MoveCall.arguments.indexOf(e);r=function(e){return"object"==typeof e.body&&"datatype"in e.body&&("0x2"===e.body.datatype.package&&"transfer"===e.body.datatype.module&&"Receiving"===e.body.datatype.type)}(t.MoveCall._argumentTypes[n])||r}})),r}function E(e){if(!e.client)throw new Error("No sui client passed to Transaction#build, but transaction data was not sufficient to build offline.");return e.client}})),Ipe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(e){function t(t){return e(t)}return t.system=()=>t("0x5"),t.clock=()=>t("0x6"),t.random=()=>t("0x8"),t.denyList=()=>t("0x403"),t}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{createObjectMethods:()=>c}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),Ppe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{createPure:()=>l}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=lp();function l(e){function t(t,r){if("string"==typeof t)return e(d(t).serialize(r));if(t instanceof Uint8Array||(0,c.isSerializedBcs)(t))return e(t);throw new Error("tx.pure must be called either a bcs type name, or a serialized bcs value")}return t.u8=t=>e(u.bcs.U8.serialize(t)),t.u16=t=>e(u.bcs.U16.serialize(t)),t.u32=t=>e(u.bcs.U32.serialize(t)),t.u64=t=>e(u.bcs.U64.serialize(t)),t.u128=t=>e(u.bcs.U128.serialize(t)),t.u256=t=>e(u.bcs.U256.serialize(t)),t.bool=t=>e(u.bcs.Bool.serialize(t)),t.string=t=>e(u.bcs.String.serialize(t)),t.address=t=>e(u.bcs.Address.serialize(t)),t.id=t.address,t.vector=(t,r)=>e(u.bcs.vector(d(t)).serialize(r)),t.option=(t,r)=>e(u.bcs.option(d(t)).serialize(r)),t}function d(e){switch(e){case"u8":return u.bcs.u8();case"u16":return u.bcs.u16();case"u32":return u.bcs.u32();case"u64":return u.bcs.u64();case"u128":return u.bcs.u128();case"u256":return u.bcs.u256();case"bool":return u.bcs.bool();case"string":return u.bcs.string();case"id":case"address":return u.bcs.Address}let t=e.match(/^(vector|option)<(.+)>$/);if(t){let[e,r]=t.slice(1);return"vector"===e?u.bcs.vector(d(r)):u.bcs.option(d(r))}throw new Error(`Invalid Pure type name: ${e}`)}})),Kat=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{hashTypedData:()=>u}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=H0e();function u(e,t){let r=Array.from(`${e}::`).map((e=>e.charCodeAt(0))),n=new Uint8Array(r.length+t.length);return n.set(r),n.set(t,r.length),(0,c.blake2b)(n,{dkLen:32})}})),Dj=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{TransactionDataBuilder:()=>y}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=gb(),l=lp(),d=Il(),h=A2(),f=wpe(),p=Kat();function g(e){return(0,d.normalizeSuiAddress)(e).replace("0x","")}var y=class e{constructor(e){this.version=2,this.sender=e?.sender??null,this.expiration=e?.expiration??null,this.inputs=e?.inputs??[],this.commands=e?.commands??[],this.gasData=e?.gasData??{budget:null,price:null,owner:null,payment:null}}static fromKindBytes(t){let r=l.bcs.TransactionKind.parse(t).ProgrammableTransaction;if(!r)throw new Error("Unable to deserialize from bytes.");return e.restore({version:2,sender:null,expiration:null,gasData:{budget:null,owner:null,payment:null,price:null},inputs:r.inputs,commands:r.commands})}static fromBytes(t){let r=l.bcs.TransactionData.parse(t)?.V1,n=r.kind.ProgrammableTransaction;if(!r||!n)throw new Error("Unable to deserialize from bytes.");return e.restore({version:2,sender:r.sender,expiration:r.expiration,gasData:r.gasData,inputs:n.inputs,commands:n.commands})}static restore(t){return 2===t.version?new e((0,u.parse)(h.TransactionData,t)):new e((0,u.parse)(h.TransactionData,(0,f.transactionDataFromV1)(t)))}static getDigestFromBytes(e){let t=(0,p.hashTypedData)("TransactionData",e);return(0,c.toBase58)(t)}get gasConfig(){return this.gasData}set gasConfig(e){this.gasData=e}build({maxSizeBytes:e=1/0,overrides:t,onlyTransactionKind:r}={}){let n=this.inputs,i=this.commands,o={ProgrammableTransaction:{inputs:n,commands:i}};if(r)return l.bcs.TransactionKind.serialize(o,{maxSize:e}).toBytes();let s=t?.expiration??this.expiration,a=t?.sender??this.sender,c={...this.gasData,...t?.gasConfig,...t?.gasData};if(!a)throw new Error("Missing transaction sender");if(!c.budget)throw new Error("Missing gas budget");if(!c.payment)throw new Error("Missing gas payment");if(!c.price)throw new Error("Missing gas price");let u={sender:g(a),expiration:s||{None:!0},gasData:{payment:c.payment,owner:g(this.gasData.owner??a),price:BigInt(c.price),budget:BigInt(c.budget)},kind:{ProgrammableTransaction:{inputs:n,commands:i}}};return l.bcs.TransactionData.serialize({V1:u},{maxSize:e}).toBytes()}addInput(e,t){let r=this.inputs.length;return this.inputs.push(t),{Input:r,type:e,$kind:"Input"}}getInputUses(e,t){this.mapArguments(((r,n)=>("Input"===r.$kind&&r.Input===e&&t(r,n),r)))}mapArguments(e){for(let t of this.commands)switch(t.$kind){case"MoveCall":t.MoveCall.arguments=t.MoveCall.arguments.map((r=>e(r,t)));break;case"TransferObjects":t.TransferObjects.objects=t.TransferObjects.objects.map((r=>e(r,t))),t.TransferObjects.address=e(t.TransferObjects.address,t);break;case"SplitCoins":t.SplitCoins.coin=e(t.SplitCoins.coin,t),t.SplitCoins.amounts=t.SplitCoins.amounts.map((r=>e(r,t)));break;case"MergeCoins":t.MergeCoins.destination=e(t.MergeCoins.destination,t),t.MergeCoins.sources=t.MergeCoins.sources.map((r=>e(r,t)));break;case"MakeMoveVec":t.MakeMoveVec.elements=t.MakeMoveVec.elements.map((r=>e(r,t)));break;case"Upgrade":t.Upgrade.ticket=e(t.Upgrade.ticket,t);break;case"$Intent":let r=t.$Intent.inputs;t.$Intent.inputs={};for(let[n,i]of Object.entries(r))t.$Intent.inputs[n]=Array.isArray(i)?i.map((r=>e(r,t))):e(i,t);break;case"Publish":break;default:throw new Error(`Unexpected transaction kind: ${t.$kind}`)}}replaceCommand(e,t){if(!Array.isArray(t))return void(this.commands[e]=t);let r=t.length-1;this.commands.splice(e,1,...t),0!==r&&this.mapArguments((t=>{switch(t.$kind){case"Result":t.Result>e&&(t.Result+=r);break;case"NestedResult":t.NestedResult[0]>e&&(t.NestedResult[0]+=r)}return t}))}getDigest(){let t=this.build({onlyTransactionKind:!1});return e.getDigestFromBytes(t)}snapshot(){return(0,u.parse)(h.TransactionData,this)}}})),Yat=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{extractMutableReference:()=>u,extractReference:()=>l,extractStructTag:()=>d,getIdFromCallArg:()=>h}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=Il();function u(e){return"object"==typeof e&&"MutableReference"in e?e.MutableReference:void 0}function l(e){return"object"==typeof e&&"Reference"in e?e.Reference:void 0}function d(e){if("object"==typeof e&&"Struct"in e)return e;let t=l(e),r=u(e);return"object"==typeof t&&"Struct"in t?t:"object"==typeof r&&"Struct"in r?r:void 0}function h(e){return"string"==typeof e?(0,c.normalizeSuiAddress)(e):e.Object?e.Object.ImmOrOwnedObject?(0,c.normalizeSuiAddress)(e.Object.ImmOrOwnedObject.objectId):e.Object.Receiving?(0,c.normalizeSuiAddress)(e.Object.Receiving.objectId):(0,c.normalizeSuiAddress)(e.Object.SharedObject.objectId):e.UnresolvedObject?(0,c.normalizeSuiAddress)(e.UnresolvedObject.objectId):void 0}})),aM=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h=(e,t,r)=>(c(e,t,"access private method"),r),f={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(f,{Transaction:()=>K,isTransaction:()=>W}),t.exports=(r=f,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var p,g,y,b,w,v,A,E,T,C=wc(),S=gb(),I=Il(),O=kj(),M=A2(),P=wpe(),k=Mat(),B=qB(),x=Spe(),N=Ipe(),R=Ppe(),_=Dj(),U=Yat();var D=Symbol.for("@mysten/transaction");function W(e){return!!e&&"object"==typeof e&&!0===e[D]}var L={buildPlugins:new Map,serializationPlugins:new Map},z=Symbol.for("@mysten/transaction/registry");function F(){try{let e=globalThis;return e[z]||(e[z]=L),e[z]}catch{return L}}p=new WeakMap,g=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakSet,v=function(e){return(0,C.isSerializedBcs)(e)?this.pure(e):h(this,w,A).call(this,e)},A=function(e){return"function"==typeof e?(0,S.parse)(M.Argument,e(this)):(0,S.parse)(M.Argument,e)},E=async function(e){if(!e.onlyTransactionKind&&!u(this,b).sender)throw new Error("Missing transaction sender");await h(this,w,T).call(this,[...u(this,g),x.resolveTransactionData],e)},T=async function(e,t){let r=n=>{if(n>=e.length)return()=>{};let i=e[n];return async()=>{let e=r(n+1),o=!1,s=!1;if(await i(u(this,b),t,(async()=>{if(o)throw new Error(`next() was call multiple times in TransactionPlugin ${n}`);o=!0,await e(),s=!0})),!o)throw new Error(`next() was not called in TransactionPlugin ${n}`);if(!s)throw new Error(`next() was not awaited in TransactionPlugin ${n}`)}};await r(0)()};var K=class e{constructor(){l(this,w),l(this,p),l(this,g),l(this,y,new Map),l(this,b),this.object=(0,N.createObjectMethods)((e=>{if("function"==typeof e)return this.object(e(this));if("object"==typeof e&&(0,S.is)(M.Argument,e))return e;let t=(0,U.getIdFromCallArg)(e),r=u(this,b).inputs.find((e=>t===(0,U.getIdFromCallArg)(e)));return r?.Object?.SharedObject&&"object"==typeof e&&e.Object?.SharedObject&&(r.Object.SharedObject.mutable=r.Object.SharedObject.mutable||e.Object.SharedObject.mutable),r?{$kind:"Input",Input:u(this,b).inputs.indexOf(r),type:"object"}:u(this,b).addInput("object","string"==typeof e?{$kind:"UnresolvedObject",UnresolvedObject:{objectId:(0,I.normalizeSuiAddress)(e)}}:e)}));let e=F();d(this,b,new _.TransactionDataBuilder),d(this,g,[...e.buildPlugins.values()]),d(this,p,[...e.serializationPlugins.values()])}static fromKind(t){let r=new e;return d(r,b,_.TransactionDataBuilder.fromKindBytes("string"==typeof t?(0,C.fromBase64)(t):t)),r}static from(t){let r=new e;return W(t)?d(r,b,new _.TransactionDataBuilder(t.getData())):"string"==typeof t&&t.startsWith("{")?d(r,b,_.TransactionDataBuilder.restore(JSON.parse(t))):d(r,b,_.TransactionDataBuilder.fromBytes("string"==typeof t?(0,C.fromBase64)(t):t)),r}static registerGlobalSerializationPlugin(e,t){F().serializationPlugins.set(e,t??e)}static unregisterGlobalSerializationPlugin(e){F().serializationPlugins.delete(e)}static registerGlobalBuildPlugin(e,t){F().buildPlugins.set(e,t??e)}static unregisterGlobalBuildPlugin(e){F().buildPlugins.delete(e)}addSerializationPlugin(e){u(this,p).push(e)}addBuildPlugin(e){u(this,g).push(e)}addIntentResolver(e,t){if(u(this,y).has(e)&&u(this,y).get(e)!==t)throw new Error(`Intent resolver for ${e} already exists`);u(this,y).set(e,t)}setSender(e){u(this,b).sender=e}setSenderIfNotSet(e){u(this,b).sender||(u(this,b).sender=e)}setExpiration(e){u(this,b).expiration=e?(0,S.parse)(M.TransactionExpiration,e):null}setGasPrice(e){u(this,b).gasConfig.price=String(e)}setGasBudget(e){u(this,b).gasConfig.budget=String(e)}setGasBudgetIfNotSet(e){null==u(this,b).gasData.budget&&(u(this,b).gasConfig.budget=String(e))}setGasOwner(e){u(this,b).gasConfig.owner=e}setGasPayment(e){u(this,b).gasConfig.payment=e.map((e=>(0,S.parse)(M.ObjectRef,e)))}get blockData(){return(0,P.serializeV1TransactionData)(u(this,b).snapshot())}getData(){return u(this,b).snapshot()}get[D](){return!0}get pure(){return Object.defineProperty(this,"pure",{enumerable:!1,value:(0,R.createPure)((e=>(0,C.isSerializedBcs)(e)?u(this,b).addInput("pure",{$kind:"Pure",Pure:{bytes:e.toBase64()}}):u(this,b).addInput("pure",(0,S.is)(M.NormalizedCallArg,e)?(0,S.parse)(M.NormalizedCallArg,e):e instanceof Uint8Array?B.Inputs.Pure(e):{$kind:"UnresolvedPure",UnresolvedPure:{value:e}})))}),this.pure}get gas(){return{$kind:"GasCoin",GasCoin:!0}}objectRef(...e){return this.object(B.Inputs.ObjectRef(...e))}receivingRef(...e){return this.object(B.Inputs.ReceivingRef(...e))}sharedObjectRef(...e){return this.object(B.Inputs.SharedObjectRef(...e))}add(e){if("function"==typeof e)return e(this);return function(e){let t=[],r=r=>t[r]??(t[r]={$kind:"NestedResult",NestedResult:[e,r]});return new Proxy({$kind:"Result",Result:e},{set(){throw new Error("The transaction result is a proxy, and does not support setting properties directly")},get(e,t){if(t in e)return Reflect.get(e,t);if(t===Symbol.iterator)return function*(){let e=0;for(;;)yield r(e),e++};if("symbol"==typeof t)return;let n=parseInt(t,10);return Number.isNaN(n)||n<0?void 0:r(n)}})}(u(this,b).commands.push(e)-1)}splitCoins(e,t){return this.add(O.Commands.SplitCoins("string"==typeof e?this.object(e):h(this,w,A).call(this,e),t.map((e=>"number"==typeof e||"bigint"==typeof e||"string"==typeof e?this.pure.u64(e):h(this,w,v).call(this,e)))))}mergeCoins(e,t){return this.add(O.Commands.MergeCoins(this.object(e),t.map((e=>this.object(e)))))}publish({modules:e,dependencies:t}){return this.add(O.Commands.Publish({modules:e,dependencies:t}))}upgrade({modules:e,dependencies:t,package:r,ticket:n}){return this.add(O.Commands.Upgrade({modules:e,dependencies:t,package:r,ticket:this.object(n)}))}moveCall({arguments:e,...t}){return this.add(O.Commands.MoveCall({...t,arguments:e?.map((e=>h(this,w,v).call(this,e)))}))}transferObjects(e,t){return this.add(O.Commands.TransferObjects(e.map((e=>this.object(e))),"string"==typeof t?this.pure.address(t):h(this,w,v).call(this,t)))}makeMoveVec({type:e,elements:t}){return this.add(O.Commands.MakeMoveVec({type:e,elements:t.map((e=>this.object(e)))}))}serialize(){return JSON.stringify((0,P.serializeV1TransactionData)(u(this,b).snapshot()))}async toJSON(e={}){return await this.prepareForSerialization(e),JSON.stringify((0,S.parse)(k.SerializedTransactionDataV2,u(this,b).snapshot()),((e,t)=>"bigint"==typeof t?t.toString():t),2)}async sign(e){let{signer:t,...r}=e,n=await this.build(r);return t.signTransaction(n)}async build(e={}){return await this.prepareForSerialization(e),await h(this,w,E).call(this,e),u(this,b).build({onlyTransactionKind:e.onlyTransactionKind})}async getDigest(e={}){return await h(this,w,E).call(this,e),u(this,b).getDigest()}async prepareForSerialization(e){let t=new Set;for(let e of u(this,b).commands)e.$Intent&&t.add(e.$Intent.name);let r=[...u(this,p)];for(let n of t)if(!e.supportedIntents?.includes(n)){if(!u(this,y).has(n))throw new Error(`Missing intent resolver for ${n}`);r.push(u(this,y).get(n))}await h(this,w,T).call(this,r,e)}}})),Gpe=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(d,{AsyncCache:()=>g,InMemoryCache:()=>y,ObjectCache:()=>b}),t.exports=(r=d,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var h,f,p=Il(),g=class{async getObject(e){let[t,r]=await Promise.all([this.get("OwnedObject",e),this.get("SharedOrImmutableObject",e)]);return t??r??null}async getObjects(e){return Promise.all([...e.map((e=>this.getObject(e)))])}async addObject(e){return e.owner?await this.set("OwnedObject",e.objectId,e):await this.set("SharedOrImmutableObject",e.objectId,e),e}async addObjects(e){await Promise.all(e.map((async e=>this.addObject(e))))}async deleteObject(e){await Promise.all([this.delete("OwnedObject",e),this.delete("SharedOrImmutableObject",e)])}async deleteObjects(e){await Promise.all(e.map((e=>this.deleteObject(e))))}async getMoveFunctionDefinition(e){let t=`${(0,p.normalizeSuiAddress)(e.package)}::${e.module}::${e.function}`;return this.get("MoveFunction",t)}async addMoveFunctionDefinition(e){let t=(0,p.normalizeSuiAddress)(e.package),r=`${t}::${e.module}::${e.function}`,n={...e,package:t};return await this.set("MoveFunction",r,n),n}async deleteMoveFunctionDefinition(e){let t=`${(0,p.normalizeSuiAddress)(e.package)}::${e.module}::${e.function}`;await this.delete("MoveFunction",t)}async getCustom(e){return this.get("Custom",e)}async setCustom(e,t){return this.set("Custom",e,t)}async deleteCustom(e){return this.delete("Custom",e)}},y=class extends g{constructor(){super(...arguments),l(this,h,{OwnedObject:new Map,SharedOrImmutableObject:new Map,MoveFunction:new Map,Custom:new Map})}async get(e,t){return u(this,h)[e].get(t)??null}async set(e,t,r){u(this,h)[e].set(t,r)}async delete(e,t){u(this,h)[e].delete(t)}async clear(e){if(e)u(this,h)[e].clear();else for(let e of Object.values(u(this,h)))e.clear()}};h=new WeakMap;var b=class{constructor({cache:e=new y}){l(this,f),((e,t,r,n)=>{c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r)})(this,f,e)}asPlugin(){return async(e,t,r)=>{let n=e.inputs.filter((e=>e.UnresolvedObject)).map((e=>e.UnresolvedObject.objectId)),i=(await u(this,f).getObjects(n)).filter((e=>null!==e)),o=new Map(i.map((e=>[e.objectId,e])));for(let t of e.inputs){if(!t.UnresolvedObject)continue;let e=o.get(t.UnresolvedObject.objectId);e&&(e.initialSharedVersion&&!t.UnresolvedObject.initialSharedVersion?t.UnresolvedObject.initialSharedVersion=e.initialSharedVersion:(e.version&&!t.UnresolvedObject.version&&(t.UnresolvedObject.version=e.version),e.digest&&!t.UnresolvedObject.digest&&(t.UnresolvedObject.digest=e.digest)))}await Promise.all(e.commands.map((async e=>{if(e.MoveCall){let t=await this.getMoveFunctionDefinition({package:e.MoveCall.package,module:e.MoveCall.module,function:e.MoveCall.function});t&&(e.MoveCall._argumentTypes=t.parameters)}}))),await r(),await Promise.all(e.commands.map((async e=>{e.MoveCall?._argumentTypes&&await u(this,f).addMoveFunctionDefinition({package:e.MoveCall.package,module:e.MoveCall.module,function:e.MoveCall.function,parameters:e.MoveCall._argumentTypes})})))}}async clear(){await u(this,f).clear()}async getMoveFunctionDefinition(e){return u(this,f).getMoveFunctionDefinition(e)}async getObjects(e){return u(this,f).getObjects(e)}async deleteObjects(e){return u(this,f).deleteObjects(e)}async clearOwnedObjects(){await u(this,f).clear("OwnedObject")}async clearCustom(){await u(this,f).clear("Custom")}async getCustom(e){return u(this,f).getCustom(e)}async setCustom(e,t){return u(this,f).setCustom(e,t)}async deleteCustom(e){return u(this,f).deleteCustom(e)}async applyEffects(e){if(!e.V2)throw new Error(`Unsupported transaction effects version ${e.$kind}`);let{lamportVersion:t,changedObjects:r}=e.V2,n=[];r.map((async([e,r])=>{if(r.outputState.NotExist)await u(this,f).deleteObject(e);else if(r.outputState.ObjectWrite){let[i,o]=r.outputState.ObjectWrite;n.push({objectId:e,digest:i,version:t,owner:o.AddressOwner??o.ObjectOwner??null,initialSharedVersion:o.Shared?.initialSharedVersion??null})}})),await Promise.all([u(this,f).addObjects(n),u(this,f).deleteObjects([])])}};f=new WeakMap})),Ype=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{CachingTransactionExecutor:()=>w}),t.exports=(r=h,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var f,p,g=lp(),y=Gpe(),b=aM(),w=class{constructor({client:e,...t}){l(this,f),l(this,p,null),d(this,f,e),this.cache=new y.ObjectCache(t)}async reset(){await Promise.all([this.cache.clearOwnedObjects(),this.cache.clearCustom(),this.waitForLastTransaction()])}async buildTransaction({transaction:e,...t}){return e.addBuildPlugin(this.cache.asPlugin()),e.build({client:u(this,f),...t})}async executeTransaction({transaction:e,options:t,...r}){let n=(0,b.isTransaction)(e)?await this.buildTransaction({transaction:e}):e,i=await u(this,f).executeTransactionBlock({...r,transactionBlock:n,options:{...t,showRawEffects:!0}});if(i.rawEffects){let e=g.bcs.TransactionEffects.parse(Uint8Array.from(i.rawEffects));await this.applyEffects(e)}return i}async signAndExecuteTransaction({options:e,transaction:t,...r}){t.setSenderIfNotSet(r.signer.toSuiAddress());let n=await this.buildTransaction({transaction:t}),{signature:i}=await r.signer.signTransaction(n);return await this.executeTransaction({transaction:n,signature:i,options:e})}async applyEffects(e){d(this,p,e.V2?.transactionDigest??null),await this.cache.applyEffects(e)}async waitForLastTransaction(){u(this,p)&&(await u(this,f).waitForTransaction({digest:u(this,p)}),d(this,p,null))}};f=new WeakMap,p=new WeakMap})),ege=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>(((e,t,r)=>{t.has(e)||a("Cannot "+r)})(e,t,"read from private field"),r?r.call(e):t.get(e)),u=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),l={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(l,{ParallelQueue:()=>p,SerialQueue:()=>f}),t.exports=(r=l,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var d,h,f=class{constructor(){u(this,d,[])}async runTask(e){return new Promise(((t,r)=>{c(this,d).push((()=>{e().finally((()=>{c(this,d).shift(),c(this,d).length>0&&c(this,d)[0]()})).then(t,r)})),1===c(this,d).length&&c(this,d)[0]()}))}};d=new WeakMap;var p=class{constructor(e){u(this,h,[]),this.activeTasks=0,this.maxTasks=e}runTask(e){return new Promise(((t,r)=>{this.activeTasks<this.maxTasks?(this.activeTasks++,e().finally((()=>{c(this,h).length>0?c(this,h).shift()():this.activeTasks--})).then(t,r)):c(this,h).push((()=>{e().finally((()=>{c(this,h).length>0?c(this,h).shift()():this.activeTasks--})).then(t,r)}))}))}};h=new WeakMap})),oge=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{SerialTransactionExecutor:()=>S,getGasCoinFromEffects:()=>I}),t.exports=(r=h,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var f,p,g,y,b,w,v=wc(),A=lp(),E=aM(),T=Ype(),C=ege(),S=class{constructor({signer:e,defaultGasBudget:t=50000000n,...r}){l(this,f,new C.SerialQueue),l(this,p),l(this,g),l(this,y),l(this,b,(async e=>{if(!e.V2)return;let t=I(e).ref;t?u(this,g).cache.setCustom("gasCoin",t):u(this,g).cache.deleteCustom("gasCoin")})),l(this,w,(async e=>{let t=await u(this,g).cache.getCustom("gasCoin"),r=E.Transaction.from(e);return t&&r.setGasPayment([t]),r.setGasBudgetIfNotSet(u(this,y)),r.setSenderIfNotSet(u(this,p).toSuiAddress()),u(this,g).buildTransaction({transaction:r})})),d(this,p,e),d(this,y,t),d(this,g,new T.CachingTransactionExecutor({client:r.client,cache:r.cache}))}async applyEffects(e){return Promise.all([u(this,b).call(this,e),u(this,g).cache.applyEffects(e)])}async buildTransaction(e){return u(this,f).runTask((()=>u(this,w).call(this,e)))}resetCache(){return u(this,g).reset()}waitForLastTransaction(){return u(this,g).waitForLastTransaction()}executeTransaction(e,t){return u(this,f).runTask((async()=>{let r=(0,E.isTransaction)(e)?await u(this,w).call(this,e):e,{signature:n}=await u(this,p).signTransaction(r),i=await u(this,g).executeTransaction({signature:n,transaction:r,options:t}).catch((async e=>{throw await this.resetCache(),e})),o=Uint8Array.from(i.rawEffects),s=A.bcs.TransactionEffects.parse(o);return await this.applyEffects(s),{digest:i.digest,effects:(0,v.toBase64)(o),data:i}}))}};function I(e){if(!e.V2)throw new Error("Unexpected effects version");let t=e.V2.changedObjects[e.V2.gasObjectIndex];if(!t)throw new Error("Gas object not found in effects");let[r,{outputState:n}]=t;if(!n.ObjectWrite)throw new Error("Unexpected gas object state");let[i,o]=n.ObjectWrite;return{ref:{objectId:r,digest:i,version:e.V2.lamportVersion},owner:o.AddressOwner||o.ObjectOwner}}f=new WeakMap,p=new WeakMap,g=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap})),Dct=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h=(e,t,r)=>(c(e,t,"access private method"),r),f=(e,t,r,n)=>({set _(n){d(e,t,n,r)},get _(){return u(e,t,n)}}),p={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(p,{ParallelTransactionExecutor:()=>ee}),t.exports=(r=p,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var g,y,b,w,v,A,E,T,C,S,I,O,M,P,k,B,x,N,R,_,U,D,W,L,z,F,K=wc(),j=lp(),H=aM(),G=Dj(),V=Ype(),q=ege(),J=oge(),Y=20,X=200000000n,Q=50000000n,Z=50,$=1e3,ee=class{constructor(e){l(this,R),l(this,g),l(this,y),l(this,b),l(this,w),l(this,v),l(this,A),l(this,E),l(this,T),l(this,C),l(this,S,[]),l(this,I),l(this,O,new Map),l(this,M,new q.SerialQueue),l(this,P),l(this,k,null),l(this,B,null),l(this,x,0),l(this,N,null),d(this,g,e.signer),d(this,y,e.client),d(this,b,e.coinBatchSize??Y),d(this,w,e.initialCoinBalance??X),d(this,v,e.minimumCoinBalance??Q),d(this,E,e.defaultGasBudget??u(this,v)),d(this,A,e.epochBoundaryWindow??$),d(this,T,e.maxPoolSize??Z),d(this,I,new V.CachingTransactionExecutor({client:e.client,cache:e.cache})),d(this,P,new q.ParallelQueue(u(this,T))),d(this,C,e.sourceCoins?new Map(e.sourceCoins.map((e=>[e,null]))):null)}resetCache(){return d(this,N,null),h(this,R,D).call(this,(()=>u(this,I).reset()))}async waitForLastTransaction(){await h(this,R,D).call(this,(()=>h(this,R,W).call(this)))}async executeTransaction(e,t){let{promise:r,resolve:n,reject:i}=function(){let e,t;return{promise:new Promise(((r,n)=>{e=r,t=n})),resolve:e,reject:t}}(),o=await h(this,R,_).call(this,e),s=()=>{u(this,P).runTask((()=>h(this,R,U).call(this,e,o,t).then(n,i)))},a=new Set;return o.forEach((e=>{u(this,O).get(e)?(a.add(e),u(this,O).get(e).push((()=>{a.delete(e),0===a.size&&s()}))):u(this,O).set(e,[])})),0===a.size&&s(),r}};g=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,v=new WeakMap,A=new WeakMap,E=new WeakMap,T=new WeakMap,C=new WeakMap,S=new WeakMap,I=new WeakMap,O=new WeakMap,M=new WeakMap,P=new WeakMap,k=new WeakMap,B=new WeakMap,x=new WeakMap,N=new WeakMap,R=new WeakSet,_=async function(e){let t=new Set,r=!1;return e.addSerializationPlugin((async(e,n,i)=>{await i(),!r&&(r=!0,e.inputs.forEach((e=>{e.Object?.ImmOrOwnedObject?.objectId?t.add(e.Object.ImmOrOwnedObject.objectId):e.Object?.Receiving?.objectId?t.add(e.Object.Receiving.objectId):e.UnresolvedObject?.objectId&&!e.UnresolvedObject.initialSharedVersion&&t.add(e.UnresolvedObject.objectId)})))})),await e.prepareForSerialization({client:u(this,y)}),t},U=async function(e,t,r){let n;try{e.setSenderIfNotSet(u(this,g).toSuiAddress()),await u(this,M).runTask((async()=>{e.getData().gasData.price||e.setGasPrice(await h(this,R,z).call(this)),e.setGasBudgetIfNotSet(u(this,E)),await h(this,R,D).call(this),n=await h(this,R,L).call(this),f(this,x)._++,e.setGasPayment([{objectId:n.id,version:n.version,digest:n.digest}]),await u(this,I).buildTransaction({transaction:e,onlyTransactionKind:!0})}));let t=await e.build({client:u(this,y)}),{signature:i}=await u(this,g).signTransaction(t),o=await u(this,I).executeTransaction({transaction:t,signature:i,options:{...r,showEffects:!0}}),s=Uint8Array.from(o.rawEffects),a=j.bcs.TransactionEffects.parse(s),c=(0,J.getGasCoinFromEffects)(a),l=a.V2?.gasUsed;if(n&&l&&c.owner===u(this,g).toSuiAddress()){let t=BigInt(l.computationCost)+BigInt(l.storageCost)+BigInt(l.storageCost)-BigInt(l.storageRebate),r=!1;new G.TransactionDataBuilder(e.getData()).mapArguments((e=>("GasCoin"===e.$kind&&(r=!0),e))),!r&&n.balance>=u(this,v)?u(this,S).push({id:c.ref.objectId,version:c.ref.version,digest:c.ref.digest,balance:n.balance-t}):(u(this,C)||d(this,C,new Map),u(this,C).set(c.ref.objectId,c.ref))}return d(this,k,o.digest),{digest:o.digest,effects:(0,K.toBase64)(s),data:o}}catch(e){throw n&&(u(this,C)||d(this,C,new Map),u(this,C).set(n.id,null)),await h(this,R,D).call(this,(async()=>{await Promise.all([u(this,I).cache.deleteObjects([...t]),h(this,R,W).call(this)])})),e}finally{t.forEach((e=>{let t=u(this,O).get(e);t&&t.length>0?t.shift()():t&&u(this,O).delete(e)})),f(this,x)._--}},D=async function(e){u(this,B)&&await u(this,B),d(this,B,e?.().then((()=>{d(this,B,null)}),(()=>{}))??null)},W=async function(){let e=u(this,k);e&&(d(this,k,null),await u(this,y).waitForTransaction({digest:e}))},L=async function(){if(0===u(this,S).length&&u(this,x)<=u(this,T)&&await h(this,R,F).call(this),0===u(this,S).length)throw new Error("No coins available");return u(this,S).shift()},z=async function(){if((u(this,N)?u(this,N).expiration-u(this,A)-Date.now():0)>0)return u(this,N).price;if(u(this,N)){let e=Math.max(u(this,N).expiration+u(this,A)-Date.now(),1e3);await new Promise((t=>setTimeout(t,e)))}let e=await u(this,y).getLatestSuiSystemState();return d(this,N,{price:BigInt(e.referenceGasPrice),expiration:Number.parseInt(e.epochStartTimestampMs,10)+Number.parseInt(e.epochDurationMs,10)}),h(this,R,z).call(this)},F=async function(){let e=Math.min(u(this,b),u(this,T)-(u(this,S).length+u(this,x))+1);if(0===e)return;let t=new H.Transaction,r=u(this,g).toSuiAddress();if(t.setSender(r),u(this,C)){let e=[],r=[];for(let[t,n]of u(this,C))n?e.push(n):r.push(t);if(r.length>0){let t=await u(this,y).multiGetObjects({ids:r});e.push(...t.filter((e=>null!==e.data)).map((({data:e})=>({objectId:e.objectId,version:e.version,digest:e.digest}))))}t.setGasPayment(e),d(this,C,new Map)}let n=new Array(e).fill(u(this,w)),i=t.splitCoins(t.gas,n),o=[];for(let e=0;e<n.length;e++)o.push(i[e]);t.transferObjects(o,r),await this.waitForLastTransaction();let s=await u(this,y).signAndExecuteTransaction({transaction:t,signer:u(this,g),options:{showRawEffects:!0}}),a=j.bcs.TransactionEffects.parse(Uint8Array.from(s.rawEffects));a.V2?.changedObjects.forEach((([e,{outputState:t}],r)=>{r===a.V2?.gasObjectIndex||!t.ObjectWrite||u(this,S).push({id:e,version:a.V2.lamportVersion,digest:t.ObjectWrite[0],balance:BigInt(u(this,w))})})),u(this,C)||d(this,C,new Map);let c=(0,J.getGasCoinFromEffects)(a).ref;u(this,C).set(c.objectId,c),await u(this,y).waitForTransaction({digest:s.digest})}})),Kct=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{coinWithBalance:()=>y}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=gb(),u=lp(),l=Il(),d=kj(),h=qB(),f=Spe(),p="CoinWithBalance",g=(0,l.normalizeStructTag)("0x2::sui::SUI");function y({type:e=g,balance:t,useGasCoin:r=!0}){return n=>{n.addIntentResolver(p,w);let i="gas"===e?e:(0,l.normalizeStructTag)(e);return n.add(d.Commands.Intent({name:p,inputs:{},data:{type:i===g&&r?"gas":i,balance:BigInt(t)}}))}}var b=(0,c.object)({type:(0,c.string)(),balance:(0,c.bigint)()});async function w(e,t,r){let n=new Set,i=new Map;if(!e.sender)throw new Error("Sender must be set to resolve CoinWithBalance");for(let t of e.commands)if("$Intent"===t.$kind&&t.$Intent.name===p){let{type:e,balance:r}=(0,c.parse)(b,t.$Intent.data);"gas"!==e&&n.add(e),i.set(e,(i.get(e)??0n)+r)}let o=new Set;for(let t of e.inputs)t.Object?.ImmOrOwnedObject&&o.add(t.Object.ImmOrOwnedObject.objectId),t.UnresolvedObject?.objectId&&o.add(t.UnresolvedObject.objectId);let s=new Map,a=(0,f.getClient)(t);await Promise.all([...n].map((async t=>{s.set(t,await async function({coinType:e,balance:t,client:r,owner:n,usedIds:i}){let o=t,s=[];return a();async function a(t=null){let{data:c,hasNextPage:u,nextCursor:l}=await r.getCoins({owner:n,coinType:e,cursor:t}),d=c.sort(((e,t)=>Number(BigInt(t.balance)-BigInt(e.balance))));for(let e of d){if(i.has(e.coinObjectId))continue;let t=BigInt(e.balance);if(s.push(e),o-=t,o<=0)return s}if(u)return a(l);throw new Error(`Not enough coins of type ${e} to satisfy requested balance`)}}({coinType:t,balance:i.get(t),client:a,owner:e.sender,usedIds:o}))})));let l=new Map;l.set("gas",{$kind:"GasCoin",GasCoin:!0});for(let[t,r]of e.commands.entries()){if("$Intent"!==r.$kind||r.$Intent.name!==p)continue;let{type:n,balance:i}=r.$Intent.data,o=[];if(!l.has(n)){let[t,...r]=s.get(n).map((t=>e.addInput("object",h.Inputs.ObjectRef({objectId:t.coinObjectId,digest:t.digest,version:t.version}))));r.length>0&&o.push(d.Commands.MergeCoins(t,r)),l.set(n,t)}o.push(d.Commands.SplitCoins(l.get(n),[e.addInput("pure",h.Inputs.Pure(u.bcs.u64().serialize(i)))])),e.replaceCommand(t,o),e.mapArguments((e=>"Result"===e.$kind&&e.Result===t?{$kind:"NestedResult",NestedResult:[t+o.length-1,0]}:e))}return r()}})),jct=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{Arguments:()=>u}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=Ipe(),u={pure:(0,Ppe().createPure)((e=>t=>t.pure(e))),object:(0,c.createObjectMethods)((e=>t=>t.object(e))),sharedObjectRef:(...e)=>t=>t.sharedObjectRef(...e),objectRef:(...e)=>t=>t.objectRef(...e),receivingRef:(...e)=>t=>t.receivingRef(...e)}})),Qct=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{findTransactionBlockNames:()=>l,listToRequests:()=>f,replaceNames:()=>h}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=z0e(),u="/",l=e=>{let t=new Set,r=new Set;for(let n of e.commands){if(n.MakeMoveVec?.type){d([n.MakeMoveVec.type]).forEach((e=>{r.add(e)}));continue}if(!("MoveCall"in n))continue;let e=n.MoveCall;if(!e)continue;let i=e.package.split("::")[0];if(i.includes(u)){if(!(0,c.isValidNamedPackage)(i))throw new Error(`Invalid package name: ${i}`);t.add(i)}d(e.typeArguments??[]).forEach((e=>{r.add(e)}))}return{packages:[...t],types:[...r]}};function d(e){let t=new Set;for(let r of e)if(r.includes(u)){if(!(0,c.isValidNamedType)(r))throw new Error(`Invalid type with names: ${r}`);t.add(r)}return[...t]}var h=(e,t)=>{for(let r of e.commands){if(r.MakeMoveVec?.type){if(!r.MakeMoveVec.type.includes(u))continue;if(!t.types[r.MakeMoveVec.type])throw new Error(`No resolution found for type: ${r.MakeMoveVec.type}`);r.MakeMoveVec.type=t.types[r.MakeMoveVec.type]}let e=r.MoveCall;if(!e)continue;let n=e.package.split("::"),i=n[0];if(i.includes(u)&&!t.packages[i])throw new Error(`No address found for package: ${i}`);n[0]=t.packages[i],e.package=n.join("::");let o=e.typeArguments;if(o){for(let e=0;e<o.length;e++)if(o[e].includes(u)){if(!t.types[o[e]])throw new Error(`No resolution found for type: ${o[e]}`);o[e]=t.types[o[e]]}e.typeArguments=o}}},f=(e,t)=>{let r=[],n=p(e.packages),i=p(e.types);for(let[e,t]of n.entries())r.push({id:e,type:"package",name:t});for(let[e,t]of i.entries())r.push({id:e+n.length,type:"moveType",name:t});return g(r,t)},p=e=>[...new Set(e)],g=(e,t)=>{let r=[];for(let n=0;n<e.length;n+=t)r.push(e.slice(n,n+t));return r}})),tut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{namedPackagesPlugin:()=>u}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=Qct(),u=({suiGraphQLClient:e,pageSize:t=10,overrides:r={packages:{},types:{}}})=>{let n={packages:{...r.packages},types:{...r.types}};return async(r,i,o)=>{let s=(0,c.findTransactionBlockNames)(r),a=(0,c.listToRequests)({packages:s.packages.filter((e=>!n.packages[e])),types:s.types.filter((e=>!n.types[e]))},t);(await Promise.all(a.map((t=>async function(e,t){let r={packages:{},types:{}};if(0===t.length)return r;let n=`{\n        ${t.map((e=>{let t="package"===e.type?"packageByName":"typeByName",r="package"===e.type?"address":"repr";return`${l(e.id)}: ${t}(name:"${e.name}") {\n                    ${r}\n                }`}))}\n    }`,i=await e.query({query:n,variables:void 0});if(i.errors)throw new Error(JSON.stringify({query:n,errors:i.errors}));for(let e of t){let t=l(e.id);if(!i.data||!i.data[t])throw new Error(`No result found for: ${e.name}`);let n=i.data[t];"package"===e.type&&(r.packages[e.name]=n.address),"moveType"===e.type&&(r.types[e.name]=n.repr)}return r}(e,t))))).forEach((e=>{Object.assign(n.types,e.types),Object.assign(n.packages,e.packages)})),(0,c.replaceNames)(r,n),await o()}},l=e=>`key_${e}`})),vge=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{Arguments:()=>b.Arguments,AsyncCache:()=>f.AsyncCache,Commands:()=>l.Commands,Inputs:()=>u.Inputs,ObjectCache:()=>f.ObjectCache,ParallelTransactionExecutor:()=>g.ParallelTransactionExecutor,SerialTransactionExecutor:()=>p.SerialTransactionExecutor,Transaction:()=>d.Transaction,TransactionDataBuilder:()=>h.TransactionDataBuilder,UpgradePolicy:()=>l.UpgradePolicy,coinWithBalance:()=>y.coinWithBalance,getPureBcsSchema:()=>c.getPureBcsSchema,isTransaction:()=>d.isTransaction,namedPackagesPlugin:()=>w.namedPackagesPlugin,normalizedTypeToMoveTypeSignature:()=>c.normalizedTypeToMoveTypeSignature}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=X0e(),u=qB(),l=kj(),d=aM(),h=Dj(),f=Gpe(),p=oge(),g=Dct(),y=Kct(),b=jct(),w=tut()})),lut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{PACKAGE_VERSION:()=>c,TARGETED_RPC_VERSION:()=>u}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c="1.12.0",u="1.36.0"})),Yj=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{JsonRpcError:()=>l,SuiHTTPStatusError:()=>d,SuiHTTPTransportError:()=>u}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c={"-32700":"ParseError","-32701":"OversizedRequest","-32702":"OversizedResponse","-32600":"InvalidRequest","-32601":"MethodNotFound","-32602":"InvalidParams","-32603":"InternalError","-32604":"ServerBusy","-32000":"CallExecutionFailed","-32001":"UnknownError","-32003":"SubscriptionClosed","-32004":"SubscriptionClosedWithError","-32005":"BatchesNotSupported","-32006":"TooManySubscriptions","-32050":"TransientError","-32002":"TransactionExecutionClientError"},u=class extends Error{},l=class extends u{constructor(e,t){super(e),this.code=t,this.type=c[t]??"ServerError"}},d=class extends u{constructor(e,t,r){super(e),this.status=t,this.statusText=r}}})),wut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h=(e,t,r)=>(c(e,t,"access private method"),r),f={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(f,{DEFAULT_CLIENT_OPTIONS:()=>S,WebsocketClient:()=>I}),t.exports=(r=f,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var p,g,y,b,w,v,A,E,T,C=Yj();var S={WebSocketConstructor:typeof WebSocket<"u"?WebSocket:void 0,callTimeout:3e4,reconnectTimeout:3e3,maxReconnects:5},I=class{constructor(e,t={}){if(l(this,A),l(this,p,0),l(this,g,0),l(this,y,null),l(this,b,null),l(this,w,new Set),l(this,v,new Map),this.endpoint=e,this.options={...S,...t},!this.options.WebSocketConstructor)throw new Error("Missing WebSocket constructor");this.endpoint.startsWith("http")&&(this.endpoint=function(e){let t=new URL(e);return t.protocol=t.protocol.replace("http","ws"),t.toString()}(this.endpoint))}async makeRequest(e,t){let r=await h(this,A,E).call(this);return new Promise(((n,i)=>{d(this,p,u(this,p)+1),u(this,v).set(u(this,p),{resolve:n,reject:i,timeout:setTimeout((()=>{u(this,v).delete(u(this,p)),i(new Error(`Request timeout: ${e}`))}),this.options.callTimeout)}),r.send(JSON.stringify({jsonrpc:"2.0",id:u(this,p),method:e,params:t}))})).then((({error:e,result:t})=>{if(e)throw new C.JsonRpcError(e.message,e.code);return t}))}async subscribe(e){let t=new O(e);return u(this,w).add(t),await t.subscribe(this),()=>t.unsubscribe(this)}};p=new WeakMap,g=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,v=new WeakMap,A=new WeakSet,E=function(){return u(this,b)||d(this,b,new Promise((e=>{u(this,y)?.close(),d(this,y,new this.options.WebSocketConstructor(this.endpoint)),u(this,y).addEventListener("open",(()=>{d(this,g,0),e(u(this,y))})),u(this,y).addEventListener("close",(()=>{((e,t,r,n)=>({set _(n){d(e,t,n,r)},get _(){return u(e,t,n)}}))(this,g)._++,u(this,g)<=this.options.maxReconnects&&setTimeout((()=>{h(this,A,T).call(this)}),this.options.reconnectTimeout)})),u(this,y).addEventListener("message",(({data:e})=>{let t;try{t=JSON.parse(e)}catch(t){return void console.error(new Error(`Failed to parse RPC message: ${e}`,{cause:t}))}if("id"in t&&null!=t.id&&u(this,v).has(t.id)){let{resolve:e,timeout:r}=u(this,v).get(t.id);clearTimeout(r),e(t)}else if("params"in t){let{params:e}=t;u(this,w).forEach((t=>{t.subscriptionId===e.subscription&&e.subscription===t.subscriptionId&&t.onMessage(e.result)}))}}))}))),u(this,b)},T=async function(){return u(this,y)?.close(),d(this,b,null),Promise.allSettled([...u(this,w)].map((e=>e.subscribe(this))))};var O=class{constructor(e){this.subscriptionId=null,this.subscribed=!1,this.input=e}onMessage(e){this.subscribed&&this.input.onMessage(e)}async unsubscribe(e){let{subscriptionId:t}=this;return this.subscribed=!1,null!=t&&(this.subscriptionId=null,e.makeRequest(this.input.unsubscribe,[t]))}async subscribe(e){this.subscriptionId=null,this.subscribed=!0;let t=await e.makeRequest(this.input.method,this.input.params);this.subscribed&&(this.subscriptionId=t)}}})),_ge=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=e=>{throw TypeError(e)},c=(e,t,r)=>t.has(e)||a("Cannot "+r),u=(e,t,r)=>(c(e,t,"read from private field"),r?r.call(e):t.get(e)),l=(e,t,r)=>t.has(e)?a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),d=(e,t,r,n)=>(c(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{SuiHTTPTransport:()=>E}),t.exports=(r=h,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var f,p,g,y,b,w=lut(),v=Yj(),A=wut(),E=class{constructor(e){l(this,y),l(this,f,0),l(this,p),l(this,g),d(this,p,e)}fetch(e,t){let r=u(this,p).fetch??fetch;if(!r)throw new Error("The current environment does not support fetch, you can provide a fetch implementation in the options for SuiHTTPTransport.");return r(e,t)}async request(e){d(this,f,u(this,f)+1);let t=await this.fetch(u(this,p).rpc?.url??u(this,p).url,{method:"POST",headers:{"Content-Type":"application/json","Client-Sdk-Type":"typescript","Client-Sdk-Version":w.PACKAGE_VERSION,"Client-Target-Api-Version":w.TARGETED_RPC_VERSION,...u(this,p).rpc?.headers},body:JSON.stringify({jsonrpc:"2.0",id:u(this,f),method:e.method,params:e.params})});if(!t.ok)throw new v.SuiHTTPStatusError(`Unexpected status code: ${t.status}`,t.status,t.statusText);let r=await t.json();if("error"in r&&null!=r.error)throw new v.JsonRpcError(r.error.message,r.error.code);return r.result}async subscribe(e){let t=await((e,t,r)=>(c(e,t,"access private method"),r))(this,y,b).call(this).subscribe(e);return async()=>!!await t()}};f=new WeakMap,p=new WeakMap,g=new WeakMap,y=new WeakSet,b=function(){if(!u(this,g)){let e=u(this,p).WebSocketConstructor??WebSocket;if(!e)throw new Error("The current environment does not support WebSocket, you can provide a WebSocketConstructor in the options for SuiHTTPTransport.");d(this,g,new A.WebsocketClient(u(this,p).websocket?.url??u(this,p).url,{WebSocketConstructor:e,...u(this,p).websocket}))}return u(this,g)}})),Put=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};function c(e){switch(e){case"mainnet":return"https://fullnode.mainnet.sui.io:443";case"testnet":return"https://fullnode.testnet.sui.io:443";case"devnet":return"https://fullnode.devnet.sui.io:443";case"localnet":return"http://127.0.0.1:9000";default:throw new Error(`Unknown network: ${e}`)}}((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{getFullnodeUrl:()=>c}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),kut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty;t.exports=(r={},((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),Nut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty;t.exports=(r={},((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),Lut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty;t.exports=(r={},((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),zut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty;t.exports=(r={},((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),qut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty;t.exports=(r={},((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),Vut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty;t.exports=(r={},((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r))})),Xut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e},c=(e,t,r)=>(a(e,t,"default"),r&&a(r,t,"default")),u={};t.exports=(r=u,a(n({},"__esModule",{value:!0}),r)),c(u,kut(),t.exports),c(u,Nut(),t.exports),c(u,Lut(),t.exports),c(u,zut(),t.exports),c(u,qut(),t.exports),c(u,Vut(),t.exports)})),$ut=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{SuiClient:()=>g,isSuiClient:()=>p}),t.exports=(r=a,((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e})(n({},"__esModule",{value:!0}),r));var c=wc(),u=vge(),l=Il(),d=Tj(),h=_ge(),f=Symbol.for("@mysten/SuiClient");function p(e){return"object"==typeof e&&null!==e&&!0===e[f]}var g=class{get[f](){return!0}constructor(e){this.transport=e.transport??new h.SuiHTTPTransport({url:e.url})}async getRpcApiVersion(){return(await this.transport.request({method:"rpc.discover",params:[]})).info.version}async getCoins(e){if(!e.owner||!(0,l.isValidSuiAddress)((0,l.normalizeSuiAddress)(e.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getCoins",params:[e.owner,e.coinType,e.cursor,e.limit]})}async getAllCoins(e){if(!e.owner||!(0,l.isValidSuiAddress)((0,l.normalizeSuiAddress)(e.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getAllCoins",params:[e.owner,e.cursor,e.limit]})}async getBalance(e){if(!e.owner||!(0,l.isValidSuiAddress)((0,l.normalizeSuiAddress)(e.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getBalance",params:[e.owner,e.coinType]})}async getAllBalances(e){if(!e.owner||!(0,l.isValidSuiAddress)((0,l.normalizeSuiAddress)(e.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getAllBalances",params:[e.owner]})}async getCoinMetadata(e){return await this.transport.request({method:"suix_getCoinMetadata",params:[e.coinType]})}async getTotalSupply(e){return await this.transport.request({method:"suix_getTotalSupply",params:[e.coinType]})}async call(e,t){return await this.transport.request({method:e,params:t})}async getMoveFunctionArgTypes(e){return await this.transport.request({method:"sui_getMoveFunctionArgTypes",params:[e.package,e.module,e.function]})}async getNormalizedMoveModulesByPackage(e){return await this.transport.request({method:"sui_getNormalizedMoveModulesByPackage",params:[e.package]})}async getNormalizedMoveModule(e){return await this.transport.request({method:"sui_getNormalizedMoveModule",params:[e.package,e.module]})}async getNormalizedMoveFunction(e){return await this.transport.request({method:"sui_getNormalizedMoveFunction",params:[e.package,e.module,e.function]})}async getNormalizedMoveStruct(e){return await this.transport.request({method:"sui_getNormalizedMoveStruct",params:[e.package,e.module,e.struct]})}async getOwnedObjects(e){if(!e.owner||!(0,l.isValidSuiAddress)((0,l.normalizeSuiAddress)(e.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getOwnedObjects",params:[e.owner,{filter:e.filter,options:e.options},e.cursor,e.limit]})}async getObject(e){if(!e.id||!(0,l.isValidSuiObjectId)((0,l.normalizeSuiObjectId)(e.id)))throw new Error("Invalid Sui Object id");return await this.transport.request({method:"sui_getObject",params:[e.id,e.options]})}async tryGetPastObject(e){return await this.transport.request({method:"sui_tryGetPastObject",params:[e.id,e.version,e.options]})}async multiGetObjects(e){if(e.ids.forEach((e=>{if(!e||!(0,l.isValidSuiObjectId)((0,l.normalizeSuiObjectId)(e)))throw new Error(`Invalid Sui Object id ${e}`)})),e.ids.length!==new Set(e.ids).size)throw new Error(`Duplicate object ids in batch call ${e.ids}`);return await this.transport.request({method:"sui_multiGetObjects",params:[e.ids,e.options]})}async queryTransactionBlocks(e){return await this.transport.request({method:"suix_queryTransactionBlocks",params:[{filter:e.filter,options:e.options},e.cursor,e.limit,"descending"===(e.order||"descending")]})}async getTransactionBlock(e){if(!(0,l.isValidTransactionDigest)(e.digest))throw new Error("Invalid Transaction digest");return await this.transport.request({method:"sui_getTransactionBlock",params:[e.digest,e.options]})}async multiGetTransactionBlocks(e){if(e.digests.forEach((e=>{if(!(0,l.isValidTransactionDigest)(e))throw new Error(`Invalid Transaction digest ${e}`)})),e.digests.length!==new Set(e.digests).size)throw new Error(`Duplicate digests in batch call ${e.digests}`);return await this.transport.request({method:"sui_multiGetTransactionBlocks",params:[e.digests,e.options]})}async executeTransactionBlock({transactionBlock:e,signature:t,options:r,requestType:n}){let i=await this.transport.request({method:"sui_executeTransactionBlock",params:["string"==typeof e?e:(0,c.toBase64)(e),Array.isArray(t)?t:[t],r]});if("WaitForLocalExecution"===n)try{await this.waitForTransaction({digest:i.digest})}catch{}return i}async signAndExecuteTransaction({transaction:e,signer:t,...r}){let n;e instanceof Uint8Array?n=e:(e.setSenderIfNotSet(t.toSuiAddress()),n=await e.build({client:this}));let{signature:i,bytes:o}=await t.signTransaction(n);return this.executeTransactionBlock({transactionBlock:o,signature:i,...r})}async getTotalTransactionBlocks(){let e=await this.transport.request({method:"sui_getTotalTransactionBlocks",params:[]});return BigInt(e)}async getReferenceGasPrice(){let e=await this.transport.request({method:"suix_getReferenceGasPrice",params:[]});return BigInt(e)}async getStakes(e){if(!e.owner||!(0,l.isValidSuiAddress)((0,l.normalizeSuiAddress)(e.owner)))throw new Error("Invalid Sui address");return await this.transport.request({method:"suix_getStakes",params:[e.owner]})}async getStakesByIds(e){return e.stakedSuiIds.forEach((e=>{if(!e||!(0,l.isValidSuiObjectId)((0,l.normalizeSuiObjectId)(e)))throw new Error(`Invalid Sui Stake id ${e}`)})),await this.transport.request({method:"suix_getStakesByIds",params:[e.stakedSuiIds]})}async getLatestSuiSystemState(){return await this.transport.request({method:"suix_getLatestSuiSystemState",params:[]})}async queryEvents(e){return await this.transport.request({method:"suix_queryEvents",params:[e.query,e.cursor,e.limit,"descending"===(e.order||"descending")]})}async subscribeEvent(e){return this.transport.subscribe({method:"suix_subscribeEvent",unsubscribe:"suix_unsubscribeEvent",params:[e.filter],onMessage:e.onMessage})}async subscribeTransaction(e){return this.transport.subscribe({method:"suix_subscribeTransaction",unsubscribe:"suix_unsubscribeTransaction",params:[e.filter],onMessage:e.onMessage})}async devInspectTransactionBlock(e){let t;if((0,u.isTransaction)(e.transactionBlock))e.transactionBlock.setSenderIfNotSet(e.sender),t=(0,c.toBase64)(await e.transactionBlock.build({client:this,onlyTransactionKind:!0}));else if("string"==typeof e.transactionBlock)t=e.transactionBlock;else{if(!(e.transactionBlock instanceof Uint8Array))throw new Error("Unknown transaction block format.");t=(0,c.toBase64)(e.transactionBlock)}return await this.transport.request({method:"sui_devInspectTransactionBlock",params:[e.sender,t,e.gasPrice?.toString(),e.epoch]})}async dryRunTransactionBlock(e){return await this.transport.request({method:"sui_dryRunTransactionBlock",params:["string"==typeof e.transactionBlock?e.transactionBlock:(0,c.toBase64)(e.transactionBlock)]})}async getDynamicFields(e){if(!e.parentId||!(0,l.isValidSuiObjectId)((0,l.normalizeSuiObjectId)(e.parentId)))throw new Error("Invalid Sui Object id");return await this.transport.request({method:"suix_getDynamicFields",params:[e.parentId,e.cursor,e.limit]})}async getDynamicFieldObject(e){return await this.transport.request({method:"suix_getDynamicFieldObject",params:[e.parentId,e.name]})}async getLatestCheckpointSequenceNumber(){let e=await this.transport.request({method:"sui_getLatestCheckpointSequenceNumber",params:[]});return String(e)}async getCheckpoint(e){return await this.transport.request({method:"sui_getCheckpoint",params:[e.id]})}async getCheckpoints(e){return await this.transport.request({method:"sui_getCheckpoints",params:[e.cursor,e?.limit,e.descendingOrder]})}async getCommitteeInfo(e){return await this.transport.request({method:"suix_getCommitteeInfo",params:[e?.epoch]})}async getNetworkMetrics(){return await this.transport.request({method:"suix_getNetworkMetrics",params:[]})}async getAddressMetrics(){return await this.transport.request({method:"suix_getLatestAddressMetrics",params:[]})}async getEpochMetrics(e){return await this.transport.request({method:"suix_getEpochMetrics",params:[e?.cursor,e?.limit,e?.descendingOrder]})}async getAllEpochAddressMetrics(e){return await this.transport.request({method:"suix_getAllEpochAddressMetrics",params:[e?.descendingOrder]})}async getEpochs(e){return await this.transport.request({method:"suix_getEpochs",params:[e?.cursor,e?.limit,e?.descendingOrder]})}async getMoveCallMetrics(){return await this.transport.request({method:"suix_getMoveCallMetrics",params:[]})}async getCurrentEpoch(){return await this.transport.request({method:"suix_getCurrentEpoch",params:[]})}async getValidatorsApy(){return await this.transport.request({method:"suix_getValidatorsApy",params:[]})}async getChainIdentifier(){let e=await this.getCheckpoint({id:"0"}),t=(0,c.fromBase58)(e.digest);return(0,c.toHex)(t.slice(0,4))}async resolveNameServiceAddress(e){return await this.transport.request({method:"suix_resolveNameServiceAddress",params:[e.name]})}async resolveNameServiceNames({format:e="dot",...t}){let{nextCursor:r,hasNextPage:n,data:i}=await this.transport.request({method:"suix_resolveNameServiceNames",params:[t.address,t.cursor,t.limit]});return{hasNextPage:n,nextCursor:r,data:i.map((t=>(0,d.normalizeSuiNSName)(t,e)))}}async getProtocolConfig(e){return await this.transport.request({method:"sui_getProtocolConfig",params:[e?.version]})}async waitForTransaction({signal:e,timeout:t=6e4,pollInterval:r=2e3,...n}){let i=AbortSignal.timeout(t),o=new Promise(((e,t)=>{i.addEventListener("abort",(()=>t(i.reason)))}));for(o.catch((()=>{}));!i.aborted;){e?.throwIfAborted();try{return await this.getTransactionBlock(n)}catch{await Promise.race([new Promise((e=>setTimeout(e,r))),o])}}throw i.throwIfAborted(),new Error("Unexpected error while waiting for transaction block.")}}})),tlt=W(((e,t)=>{"use strict";m();var r,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,a=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of o(t))!s.call(e,c)&&c!==r&&n(e,c,{get:()=>t[c],enumerable:!(a=i(t,c))||a.enumerable});return e},c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{JsonRpcError:()=>h.JsonRpcError,SuiClient:()=>d.SuiClient,SuiHTTPStatusError:()=>h.SuiHTTPStatusError,SuiHTTPTransport:()=>u.SuiHTTPTransport,SuiHTTPTransportError:()=>h.SuiHTTPTransportError,getFullnodeUrl:()=>l.getFullnodeUrl,isSuiClient:()=>d.isSuiClient}),t.exports=(r=c,a(n({},"__esModule",{value:!0}),r));var u=_ge(),l=Put();((e,t,r)=>{a(e,t,"default"),r&&a(r,t,"default")})(c,Xut(),t.exports);var d=$ut(),h=Yj()})),nlt=W((e=>{"use strict";m();var t=e&&e.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSuiProvider=void 0;var r=yg(),n=vge(),i=Cj(),o=tlt(),s=class{get defaultNetwork(){return this.provider.requestDefaultChainWithNamespace(r.NameSpaceKeySui)}get suiClient(){var e;let t=(0,o.getFullnodeUrl)(this.defaultNetwork),n=null===(e=this.provider.session)||void 0===e?void 0:e.namespaces[r.NameSpaceKeySui];if(n&&n.rpcMap){let e=n.rpcMap[this.currentChainId];void 0!==e?(t=e,console.log("use custom rpc======> ",t)):console.log("use mainnet rpc======> ",t)}else console.log("use mainnet rpc======> ",t);return new o.SuiClient({url:t})}get currentChainId(){return`sui:${this.defaultNetwork}`}constructor(e){this.provider=e}getAccount(){var e,t,n,i,o,s,a;let c=r.NameSpaceKeySui,u=null===(t=null===(e=this.provider.session)||void 0===e?void 0:e.namespaces[c])||void 0===t?void 0:t.accounts[0];if(console.log("====> getAccount"),console.log(u),!u)return;let l=u.split(":"),d=u.split(":")[2];console.log("sui_publicKey",null===(i=null===(n=this.provider.session)||void 0===n?void 0:n.namespaces[c])||void 0===i?void 0:i.extra);let h=null===(a=null===(s=null===(o=this.provider.session)||void 0===o?void 0:o.namespaces[c])||void 0===s?void 0:s.extra)||void 0===a?void 0:a[`${l[0]}:${l[1]}`],f="";return null!=h&&(f=h.publicKey,console.log("sui_publicKey",f)),d?{address:d,publicKey:f}:void 0}signTransaction(e){return t(this,void 0,void 0,(function*(){let[t,r]=yield this.generateTsBytesAndSerizlize(e),n=yield this.provider.request({method:"sui_signTransactionBlock",params:{txBytes:t,txSerialize:r},injectParams:Object.assign({},e)},this.currentChainId);return"result"in n?{signature:n.result,transactionBlockBytes:t}:n.error}))}signAndExecuteTransaction(e){return t(this,void 0,void 0,(function*(){let[t,r]=yield this.generateTsBytesAndSerizlize(e),n=yield this.provider.request({method:"sui_signAndExecuteTransactionBlock",params:{txBytes:t,txSerialize:r},injectParams:Object.assign({},e)},this.currentChainId);return"result"in n?{confirmedLocalExecution:!1,digest:n.result,txBytes:t}:n.error}))}signMessage(e){return t(this,void 0,void 0,(function*(){console.log("====> signMessage:"),console.log(e);let t=new TextDecoder("utf8"),r=btoa(t.decode(e.message)),n=atob(r),i=yield this.provider.request({method:"sui_signMessage",params:{message:n},injectParams:Object.assign({},e)},this.currentChainId);if("result"in i){let e=i;return console.log("====> signAction result"),console.log(i),{messageBytes:r,signature:e.result}}return console.log("====> signAction result error"),i.error}))}signPersonalMessage(e){return t(this,void 0,void 0,(function*(){console.log("====> signPersonalMessage："),console.log(e);let t=new TextDecoder("utf8"),r=btoa(t.decode(e.message)),n=atob(r),i=yield this.provider.request({method:"sui_signPersonalMessage",params:{message:n},injectParams:Object.assign({},e)},this.currentChainId);if("result"in i){let e=i;return console.log("====> signAction result"),console.log(i),{bytes:r,signature:e.result}}return console.log("====> signAction result error"),i.error}))}generateTsBytesAndSerizlize(e){return t(this,void 0,void 0,(function*(){let t=["",""];if("txBytes"in e&&e.txBytes.length>0&&"txSerialize"in e&&e.txSerialize.length>0&&(t=[e.txBytes,e.txSerialize]),!("transactionBlock"in e))throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"params doesn't contains transactionBlock");let o=this.provider.requestAccountsWithNamespace(r.NameSpaceKeySui);if(0==o.length)throw new r.OKXConnectError(r.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR,"there is no sui account");e.transactionBlock.setSender(o[0]);let s=yield e.transactionBlock.build({client:this.suiClient}),a=(0,i.toBase64)(s),c=yield n.Transaction.from(a).toJSON();return t=[a,c],new Promise((e=>{e(t)}))}))}};e.OKXSuiProvider=s,e.default=s})),ilt=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.OKXSuiProvider=void 0;var t=nlt();Object.defineProperty(e,"OKXSuiProvider",{enumerable:!0,get:function(){return t.OKXSuiProvider}})})),Zft=W(((e,t)=>{"use strict";m();var r=Object.prototype.hasOwnProperty,n="~";function i(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,i,s){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new o(r,i||e,s),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(n=!1)),c.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)r.call(e,t)&&i.push(n?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i<o;i++)s[i]=r[i].fn;return s},c.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},c.prototype.emit=function(e,t,r,i,o,s){var a=n?n+e:e;if(!this._events[a])return!1;var c,u,l=this._events[a],d=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),d){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,s),!0}for(u=1,c=new Array(d-1);u<d;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var h,f=l.length;for(u=0;u<f;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),d){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,i);break;default:if(!c)for(h=1,c=new Array(d-1);h<d;h++)c[h-1]=arguments[h];l[u].fn.apply(l[u].context,c)}}return!0},c.prototype.on=function(e,t,r){return s(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return s(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn===t&&(!i||s.once)&&(!r||s.context===r)&&a(this,o);else{for(var c=0,u=[],l=s.length;c<l;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&u.push(s[c]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,typeof t<"u"&&(t.exports=c)})),Nt=W(((e,t)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=r(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},t.exports=e.default,t.exports.default=e.default})),DG=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),U8=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.farsiLocales=e.englishLocales=e.dotDecimal=e.decimal=e.commaDecimal=e.bengaliLocales=e.arabicLocales=e.alphanumeric=e.alpha=void 0;var t=e.alpha={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶｦ-ﾟ一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"kk-KZ":/^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,eo:/^[ABCĈD-GĜHĤIJĴK-PRSŜTUŬVZ]+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/},r=e.alphanumeric={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[0-9０-９ぁ-んァ-ヶｦ-ﾟ一-龠ー・。、]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"kk-KZ":/^[0-9А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,eo:/^[0-9ABCĈD-GĜHĤIJĴK-PRSŜTUŬVZ]+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/},n=e.decimal={"en-US":".",ar:"٫"},i=e.englishLocales=["AU","GB","HK","IN","NZ","ZA","ZM"];for(s=0;s<i.length;s++)t[o="en-".concat(i[s])]=t["en-US"],r[o]=r["en-US"],n[o]=n["en-US"];var o,s,a=e.arabicLocales=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];for(u=0;u<a.length;u++)t[c="ar-".concat(a[u])]=t.ar,r[c]=r.ar,n[c]=n.ar;var c,u,l=e.farsiLocales=["IR","AF"];for(h=0;h<l.length;h++)r[d="fa-".concat(l[h])]=r.fa,n[d]=n.ar;var d,h,f=e.bengaliLocales=["BD","IN"];for(g=0;g<f.length;g++)t[p="bn-".concat(f[g])]=t.bn,r[p]=r.bn,n[p]=n["en-US"];var p,g,y,b,w=e.dotDecimal=["ar-EG","ar-LB","ar-LY"],v=e.commaDecimal=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","eo","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","kk-KZ","si-LK","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];for(y=0;y<w.length;y++)n[w[y]]=n["en-US"];for(b=0;b<v.length;b++)n[v[b]]=",";t["fr-CA"]=t["fr-FR"],r["fr-CA"]=r["fr-FR"],t["pt-BR"]=t["pt-PT"],r["pt-BR"]=r["pt-PT"],n["pt-BR"]=n["pt-PT"],t["pl-Pl"]=t["pl-PL"],r["pl-Pl"]=r["pl-PL"],n["pl-Pl"]=n["pl-PL"],t["fa-AF"]=t.fa})),lme=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,r.default)(e),t=t||{};var i=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?n.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||","===e||"-"===e||"+"===e)return!1;var o=parseFloat(e.replace(",","."));return i.test(e)&&(!t.hasOwnProperty("min")||o>=t.min)&&(!t.hasOwnProperty("max")||o<=t.max)&&(!t.hasOwnProperty("lt")||o<t.lt)&&(!t.hasOwnProperty("gt")||o>t.gt)},e.locales=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t},n=U8();e.locales=Object.keys(n.decimal)})),dme=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e)?parseFloat(e):NaN};var r,n=(r=lme())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),fdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),parseInt(e,t||10)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),ddt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),hdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),e===t};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),bme=W(((e,t)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return"object"===r(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null===e||typeof e>"u"||isNaN(e)&&!e.length)&&(e=""),String(e)},t.exports=e.default,t.exports.default=e.default})),Yu=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in t)typeof e[r]>"u"&&(e[r]=t[r]);return e},t.exports=e.default,t.exports.default=e.default})),gdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t,o){return(0,r.default)(e),(o=(0,i.default)(o,s)).ignoreCase?e.toLowerCase().split((0,n.default)(t).toLowerCase()).length>o.minOccurrences:e.split((0,n.default)(t)).length>o.minOccurrences};var r=o(Nt()),n=o(bme()),i=o(Yu());function o(e){return e&&e.__esModule?e:{default:e}}var s={ignoreCase:!1,minOccurrences:1};t.exports=e.default,t.exports.default=e.default})),ydt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t,r){return(0,n.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,r)),!!e.match(t)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),Sme=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){var r,o;(0,n.default)(e),"object"===i(t)?(r=t.min||0,o=t.max):(r=arguments[1],o=arguments[2]);var s=encodeURI(e).split(/%..|./).length-1;return s>=r&&(typeof o>"u"||s<=o)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=e.default,t.exports.default=e.default})),qG=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,r.default)(e),(t=(0,n.default)(t,o)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var i=e.split("."),s=i[i.length-1];return!(t.require_tld&&(i.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(s)||/\s/.test(s))||!t.allow_numeric_tld&&/^\d+$/.test(s))&&i.every((function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))}))};var r=i(Nt()),n=i(Yu());function i(e){return e&&e.__esModule?e:{default:e}}var o={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=e.default,t.exports.default=e.default})),bk=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,n.default)(t),(r=String(r))?"4"===r?s.test(t):"6"===r&&c.test(t):e(t,4)||e(t,6)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(i,"[.]){3}").concat(i),s=new RegExp("^".concat(o,"$")),a="(?:[0-9a-fA-F]{1,4})",c=new RegExp("^("+"(?:".concat(a,":){7}(?:").concat(a,"|:)|")+"(?:".concat(a,":){6}(?:").concat(o,"|:").concat(a,"|:)|")+"(?:".concat(a,":){5}(?::").concat(o,"|(:").concat(a,"){1,2}|:)|")+"(?:".concat(a,":){4}(?:(:").concat(a,"){0,1}:").concat(o,"|(:").concat(a,"){1,3}|:)|")+"(?:".concat(a,":){3}(?:(:").concat(a,"){0,2}:").concat(o,"|(:").concat(a,"){1,4}|:)|")+"(?:".concat(a,":){2}(?:(:").concat(a,"){0,3}:").concat(o,"|(:").concat(a,"){1,5}|:)|")+"(?:".concat(a,":){1}(?:(:").concat(a,"){0,4}:").concat(o,"|(:").concat(a,"){1,6}|:)|")+"(?::((?::".concat(a,"){0,5}:").concat(o,"|(?::").concat(a,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");t.exports=e.default,t.exports.default=e.default})),Mme=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,r.default)(e),(t=(0,s.default)(t,c)).require_display_name||t.allow_display_name){var a=e.match(u);if(a){var y=a[1];if(e=e.replace(y,"").replace(/(^<|>$)/g,""),y.endsWith(" ")&&(y=y.slice(0,-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;var r=/[\.";<>]/.test(t);if(r){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(y))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>g)return!1;var m=e.split("@"),b=m.pop(),w=b.toLowerCase();if(t.host_blacklist.includes(w)||t.host_whitelist.length>0&&!t.host_whitelist.includes(w))return!1;var v=m.join("@");if(t.domain_specific_validation&&("gmail.com"===w||"googlemail.com"===w)){var A=(v=v.toLowerCase()).split("+")[0];if(!(0,n.default)(A.replace(/\./g,""),{min:6,max:30}))return!1;for(var E=A.split("."),T=0;T<E.length;T++)if(!d.test(E[T]))return!1}if(!(!1!==t.ignore_max_length||(0,n.default)(v,{max:64})&&(0,n.default)(b,{max:254})))return!1;if(!(0,i.default)(b,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,o.default)(b)){if(!b.startsWith("[")||!b.endsWith("]"))return!1;var C=b.slice(1,-1);if(0===C.length||!(0,o.default)(C))return!1}}if('"'===v[0])return v=v.slice(1,v.length-1),t.allow_utf8_local_part?p.test(v):h.test(v);for(var S=t.allow_utf8_local_part?f:l,I=v.split("."),O=0;O<I.length;O++)if(!S.test(I[O]))return!1;return!(t.blacklisted_chars&&-1!==v.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))};var r=a(Nt()),n=a(Sme()),i=a(qG()),o=a(bk()),s=a(Yu());function a(e){return e&&e.__esModule?e:{default:e}}var c={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},u=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,d=/^[a-z\d]+$/,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,g=254;t.exports=e.default,t.exports.default=e.default})),Edt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,r.default)(e),!e||/[\s<>]/.test(e)||0===e.indexOf("mailto:")||(t=(0,o.default)(t,c)).validate_length&&e.length>=2083||!t.allow_fragments&&e.includes("#")||!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var s,l,h,f,p,g,y,m;if(y=e.split("#"),e=y.shift(),y=e.split("?"),e=y.shift(),(y=e.split("://")).length>1){if(s=y.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(s))return!1}else{if(t.require_protocol)return!1;if("//"===e.slice(0,2)){if(!t.allow_protocol_relative_urls)return!1;y[0]=e.slice(2)}}if(""===(e=y.join("://")))return!1;if(y=e.split("/"),""===(e=y.shift())&&!t.require_host)return!0;if((y=e.split("@")).length>1){if(t.disallow_auth||""===y[0]||(l=y.shift()).indexOf(":")>=0&&l.split(":").length>2)return!1;var b=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(l.split(":"),2),w=b[0],v=b[1];if(""===w&&""===v)return!1}f=y.join("@"),g=null,m=null;var A=f.match(u);if(A?(h="",m=A[1],g=A[2]||null):(y=f.split(":"),h=y.shift(),y.length&&(g=y.join(":"))),null!==g&&g.length>0){if(p=parseInt(g,10),!/^[0-9]+$/.test(g)||p<=0||p>65535)return!1}else if(t.require_port)return!1;return t.host_whitelist?d(h,t.host_whitelist):""===h&&!t.require_host||!(!(0,i.default)(h)&&!(0,n.default)(h,t)&&(!m||!(0,i.default)(m,6))||(h=h||m,t.host_blacklist&&d(h,t.host_blacklist)))};var r=s(Nt()),n=s(qG()),i=s(bk()),o=s(Yu());function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function l(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||l(n)&&n.test(e))return!0}return!1}t.exports=e.default,t.exports.default=e.default})),Cdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function e(t,r){return(0,n.default)(t),null!=r&&r.eui&&(r.eui=String(r.eui)),null!=r&&r.no_colons||null!=r&&r.no_separators?"48"===r.eui?o.test(t):"64"===r.eui?c.test(t):o.test(t)||c.test(t):"48"===r?.eui?i.test(t)||s.test(t):"64"===r?.eui?a.test(t)||u.test(t):e(t,{eui:"48"})||e(t,{eui:"64"})};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,o=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,a=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,c=/^([0-9a-fA-F]){16}$/,u=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;t.exports=e.default,t.exports.default=e.default})),Mdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,r.default)(e);var i=e.split("/");if(2!==i.length||!o.test(i[1])||i[1].length>1&&i[1].startsWith("0"))return!1;if(!(0,n.default)(i[0],t))return!1;var c=null;switch(String(t)){case"4":c=s;break;case"6":c=a;break;default:c=(0,n.default)(i[0],"6")?a:s}return i[1]<=c&&i[1]>=0};var r=i(Nt()),n=i(bk());function i(e){return e&&e.__esModule?e:{default:e}}var o=/^\d{1,3}$/,s=32,a=128;t.exports=e.default,t.exports.default=e.default})),Ume=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if(t="string"==typeof t?(0,n.default)({format:t},a):(0,n.default)(t,a),"string"==typeof e&&function(e){return/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(e)}(t.format)){var r,s=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),c=t.strictMode?s:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),u=function(e,t){for(var r=[],n=Math.min(e.length,t.length),i=0;i<n;i++)r.push([e[i],t[i]]);return r}(e.split(c),t.format.toLowerCase().split(s)),l={},d=function(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,s=e},f:function(){try{!a&&null!=r.return&&r.return()}finally{if(c)throw s}}}}(u);try{for(d.s();!(r=d.n()).done;){var h=i(r.value,2),f=h[0],p=h[1];if(f.length!==p.length)return!1;l[p.charAt(0)]=f}}catch(e){d.e(e)}finally{d.f()}var g=l.y;if(g.startsWith("-"))return!1;if(2===l.y.length){var y=parseInt(l.y,10);if(isNaN(y))return!1;g=y<(new Date).getFullYear()%100?"20".concat(l.y):"19".concat(l.y)}var m=l.m;1===l.m.length&&(m="0".concat(l.m));var b=l.d;return 1===l.d.length&&(b="0".concat(l.d)),new Date("".concat(g,"-").concat(m,"-").concat(b,"T00:00:00.000Z")).getUTCDate()===+l.d}return!t.strictMode&&("[object Date]"===Object.prototype.toString.call(e)&&isFinite(e))};var r,n=(r=Yu())&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};t.exports=e.default,t.exports.default=e.default})),Ddt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return t=(0,n.default)(t,i),"string"==typeof e&&o[t.hourFormat][t.mode].test(e)};var r,n=(r=Yu())&&r.__esModule?r:{default:r};var i={hourFormat:"hour24",mode:"default"},o={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};t.exports=e.default,t.exports.default=e.default})),Ldt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return(0,n.default)(e),t.loose?s.includes(e.toLowerCase()):o.includes(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i={loose:!1},o=["true","false","1","0"],s=[].concat(o,["yes","no"]);t.exports=e.default,t.exports.default=e.default})),Wdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),l.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i="(([a-zA-Z]{2,3}(-".concat("([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",")?)|([a-zA-Z]{5,8}))"),o="(".concat("(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])","(-[A-Za-z0-9]{2,8})+)"),s="(x(-[A-Za-z0-9]{1,8})+)",a="(".concat("((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))","|").concat("((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",")"),c="(-|_)",u="".concat(i,"(").concat(c).concat("([A-Za-z]{4})",")?(").concat(c).concat("([A-Za-z]{2}|\\d{3})",")?(").concat(c).concat("([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",")*(").concat(c).concat(o,")*(").concat(c).concat(s,")?"),l=new RegExp("(^".concat(s,"$)|(^").concat(a,"$)|(^").concat(u,"$)"));t.exports=e.default,t.exports.default=e.default})),zdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){if((0,n.default)(e),!i.test(e))return!1;for(var t=0,r=0;r<e.length;r++)t+=r%3==0?3*e[r]:r%3==1?7*e[r]:1*e[r];return t%10==0};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(?!(1[3-9])|(20)|(3[3-9])|(4[0-9])|(5[0-9])|(60)|(7[3-9])|(8[1-9])|(9[0-2])|(9[3-9]))[0-9]{9}$/;t.exports=e.default,t.exports.default=e.default})),Kdt=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,r.default)(e);var o=e,s=i.ignore;if(s)if(s instanceof RegExp)o=o.replace(s,"");else{if("string"!=typeof s)throw new Error("ignore should be instance of a String or RegExp");o=o.replace(new RegExp("[".concat(s.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in n.alpha)return n.alpha[t].test(o);throw new Error("Invalid locale '".concat(t,"'"))},e.locales=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t},n=U8();e.locales=Object.keys(n.alpha)})),Hdt=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,r.default)(e);var o=e,s=i.ignore;if(s)if(s instanceof RegExp)o=o.replace(s,"");else{if("string"!=typeof s)throw new Error("ignore should be instance of a String or RegExp");o=o.replace(new RegExp("[".concat(s.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in n.alphanumeric)return n.alphanumeric[t].test(o);throw new Error("Invalid locale '".concat(t,"'"))},e.locales=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t},n=U8();e.locales=Object.keys(n.alphanumeric)})),qdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),t&&t.no_symbols?o.test(e):new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?i.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r},i=U8();var o=/^[0-9]+$/;t.exports=e.default,t.exports.default=e.default})),Gdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,n.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(r)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,AZ:/^[A-Z]{1}\d{8}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\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\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/,ZA:/^[TAMD]\d{8}$/};t.exports=e.default,t.exports.default=e.default})),GG=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,n.default)(e);var r=!1===(t=t||{}).allow_leading_zeroes?i:o,s=!t.hasOwnProperty("min")||e>=t.min,a=!t.hasOwnProperty("max")||e<=t.max,c=!t.hasOwnProperty("lt")||e<t.lt,u=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&s&&a&&c&&u};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,o=/^[-+]?[0-9]+$/;t.exports=e.default,t.exports.default=e.default})),Vdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e,{allow_leading_zeroes:!1,min:0,max:65535})};var r,n=(r=GG())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),Jdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),e===e.toLowerCase()};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),Xdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),e===e.toUpperCase()};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),Ydt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,n.default)(e);var r=i;if((t=t||{}).allow_hyphens&&(r=o),!r.test(e))return!1;e=e.replace(/-/g,"");for(var s=0,a=2,c=0;c<14;c++){var u=e.substring(14-c-1,14-c),l=parseInt(u,10)*a;s+=l>=10?l%10+1:l,1===a?a+=1:a-=1}return(10-s%10)%10===parseInt(e.substring(14,15),10)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[0-9]{15}$/,o=/^\d{2}-\d{6}-\d{6}-\d{1}$/;t.exports=e.default,t.exports.default=e.default})),Qdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[\x00-\x7F]+$/;t.exports=e.default,t.exports.default=e.default})),Zme=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,r.default)(e),n.test(e)},e.fullWidth=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n=e.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/})),$me=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,r.default)(e),n.test(e)},e.halfWidth=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n=e.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/})),Zdt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.fullWidth.test(e)&&o.halfWidth.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r},i=Zme(),o=$me();t.exports=e.default,t.exports.default=e.default})),$dt=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/[^\x00-\x7F]/;t.exports=e.default,t.exports.default=e.default})),eht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){var r=e.join("");return new RegExp(r,t)},t.exports=e.default,t.exports.default=e.default})),rht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,r.default)(e),i.test(e)};var r=n(Nt());function n(e){return e&&e.__esModule?e:{default:e}}var i=(0,n(eht()).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");t.exports=e.default,t.exports.default=e.default})),nht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;t.exports=e.default,t.exports.default=e.default})),iht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(e,t){return e.some((function(e){return t===e}))};t.exports=e.default,t.exports.default=e.default})),sht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,n.default)(e),(t=(0,r.default)(t,a)).locale in o.decimal)return!(0,i.default)(c,e.replace(/ /g,""))&&function(e){var t=new RegExp("^[-+]?([0-9]+)?(\\".concat(o.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"));return t}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var r=s(Yu()),n=s(Nt()),i=s(iht()),o=U8();function s(e){return e&&e.__esModule?e:{default:e}}var a={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},c=["","-","+"];t.exports=e.default,t.exports.default=e.default})),ube=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(0x|0h)?[0-9A-F]+$/i;t.exports=e.default,t.exports.default=e.default})),aht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(0o)?[0-7]+$/i;t.exports=e.default,t.exports.default=e.default})),uht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,r.default)(e),(0,n.default)(e)%parseInt(t,10)==0};var r=i(Nt()),n=i(dme());function i(e){return e&&e.__esModule?e:{default:e}}t.exports=e.default,t.exports.default=e.default})),lht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;t.exports=e.default,t.exports.default=e.default})),hht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,n.default)(e),t?i.test(e)||o.test(e)||s.test(e)||a.test(e):i.test(e)||o.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,o=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,a=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;t.exports=e.default,t.exports.default=e.default})),pht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){(0,n.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return-1!==t.indexOf(",")?i.test(t):o.test(t)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,o=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;t.exports=e.default,t.exports.default=e.default})),ght=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;t.exports=e.default,t.exports.default=e.default})),yht=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.default)(e),function(e,t){var r=e.replace(/[\s\-]+/gi,"").toUpperCase(),i=r.slice(0,2).toUpperCase(),o=i in n;if(t.whitelist){if(!function(e){var t=e.filter((function(e){return!(e in n)}));return!(t.length>0)}(t.whitelist))return!1;if(!t.whitelist.includes(i))return!1}if(t.blacklist){if(t.blacklist.includes(i))return!1}return o&&n[i].test(r)}(e,t)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),r=t.slice(4)+t.slice(0,4);return 1===r.replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)},e.locales=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,DZ:/^(DZ\d{24})$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[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[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};e.locales=Object.keys(n)})),ybe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CountryCodes=void 0,e.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())};var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);e.CountryCodes=n})),bht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){(0,n.default)(e);var t=e.slice(4,6).toUpperCase();return!(!i.CountryCodes.has(t)&&"XK"!==t)&&o.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r},i=ybe();var o=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;t.exports=e.default,t.exports.default=e.default})),vht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[a-f0-9]{32}$/;t.exports=e.default,t.exports.default=e.default})),wht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$")).test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};t.exports=e.default,t.exports.default=e.default})),xbe=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,r.default)(e),t=(0,n.default)(t,a);var i=e.length;if(t.urlSafe)return s.test(e);if(i%4!=0||o.test(e))return!1;var c=e.indexOf("=");return-1===c||c===i-1||c===i-2&&"="===e[i-1]};var r=i(Nt()),n=i(Yu());function i(e){return e&&e.__esModule?e:{default:e}}var o=/[^A-Z0-9+\/=]/i,s=/^[A-Z0-9_\-]*$/i,a={urlSafe:!1};t.exports=e.default,t.exports.default=e.default})),Eht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){(0,r.default)(e);var t=e.split(".");return 3===t.length&&t.reduce((function(e,t){return e&&(0,n.default)(t,{urlSafe:!0})}),!0)};var r=i(Nt()),n=i(xbe());function i(e){return e&&e.__esModule?e:{default:e}}t.exports=e.default,t.exports.default=e.default})),Sht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,r.default)(e);try{t=(0,n.default)(t,s);var i=[];t.allow_primitives&&(i=[null,!1,!0]);var a=JSON.parse(e);return i.includes(a)||!!a&&"object"===o(a)}catch{}return!1};var r=i(Nt()),n=i(Yu());function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s={allow_primitives:!1};t.exports=e.default,t.exports.default=e.default})),Iht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,r.default)(e),0===((t=(0,n.default)(t,o)).ignore_whitespace?e.trim().length:e.length)};var r=i(Nt()),n=i(Yu());function i(e){return e&&e.__esModule?e:{default:e}}var o={ignore_whitespace:!1};t.exports=e.default,t.exports.default=e.default})),Oht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){var r,o;(0,n.default)(e),"object"===i(t)?(r=t.min||0,o=t.max):(r=arguments[1]||0,o=arguments[2]);var s=e.match(/(\uFE0F|\uFE0E)/g)||[],a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],c=e.length-s.length-a.length;return c>=r&&(typeof o>"u"||c<=o)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=e.default,t.exports.default=e.default})),Pht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,n.default)(e);var r=i[[void 0,null].includes(t)?"all":t];return!!r&&r.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,7:/^[0-9A-F]{8}-[0-9A-F]{4}-7[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};t.exports=e.default,t.exports.default=e.default})),Mht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,r.default)(e),(0,n.default)(e)&&24===e.length};var r=i(Nt()),n=i(ube());function i(e){return e&&e.__esModule?e:{default:e}}t.exports=e.default,t.exports.default=e.default})),_ht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){var r=t?.comparisonDate||t||Date().toString(),i=(0,n.default)(r),o=(0,n.default)(e);return!!(o&&i&&o>i)};var r,n=(r=DG())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),Dht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var i=(0,n.default)(t),o=(0,n.default)(e);return!!(o&&i&&o<i)};var r=i(Nt()),n=i(DG());function i(e){return e&&e.__esModule?e:{default:e}}t.exports=e.default,t.exports.default=e.default})),Lht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){var i;if((0,r.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var s=[];for(i in t)({}).hasOwnProperty.call(t,i)&&(s[i]=(0,n.default)(t[i]));return s.indexOf(e)>=0}if("object"===o(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var r=i(Nt()),n=i(bme());function i(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=e.default,t.exports.default=e.default})),Nbe=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){(0,n.default)(e);for(var t,r,i,o=e.replace(/[- ]+/g,""),s=0,a=o.length-1;a>=0;a--)t=o.substring(a,a+1),r=parseInt(t,10),i&&(r*=2)>=10?s+=r%10+1:s+=r,i=!i;return!(s%10!=0||!o)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),Wht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(e);var i=t.provider,a=e.replace(/[- ]+/g,"");if(i&&i.toLowerCase()in o){if(!o[i.toLowerCase()].test(a))return!1}else{if(i&&!(i.toLowerCase()in o))throw new Error("".concat(i," is not a valid credit card provider."));if(!s.some((function(e){return e.test(a)})))return!1}return(0,n.default)(e)};var r=i(Nt()),n=i(Nbe());function i(e){return e&&e.__esModule?e:{default:e}}var o={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},s=function(){var e=[];for(var t in o)o.hasOwnProperty(t)&&e.push(o[t]);return e}();t.exports=e.default,t.exports.default=e.default})),Kht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,r.default)(e),t in o)return o[t](e);if("any"===t){for(var n in o)if(o.hasOwnProperty(n)){if((0,o[n])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var r=i(Nt()),n=i(GG());function i(e){return e&&e.__esModule?e:{default:e}}var o={PL:function(e){(0,r.default)(e);var t={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=e&&11===e.length&&(0,n.default)(e,{allow_leading_zeroes:!0})){var i=e.split("").slice(0,-1).reduce((function(e,r,n){return e+Number(r)*t[n+1]}),0)%10,o=Number(e.charAt(e.length-1));if(0===i&&0===o||o===10-i)return!0}return!1},ES:function(e){(0,r.default)(e);var t={X:0,Y:1,Z:2},n=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(n))return!1;var i=n.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return n.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][i%23])},FI:function(e){if((0,r.default)(e),11!==e.length||!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;return"0123456789ABCDEFHJKLMNPRSTUVWXY"[(1e3*parseInt(e.slice(0,6),10)+parseInt(e.slice(7,10),10))%31]===e.slice(10,11)},IN:function(e){var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(n))return!1;var i=0;return n.replace(/\s/g,"").split("").map(Number).reverse().forEach((function(e,n){i=t[i][r[n%8][e]]})),0===i},IR:function(e){if(!e.match(/^\d{10}$/)||(e="0000".concat(e).slice(e.length-6),0===parseInt(e.slice(3,9),10)))return!1;for(var t=parseInt(e.slice(9,10),10),r=0,n=0;n<9;n++)r+=parseInt(e.slice(n,n+1),10)*(10-n);return(r%=11)<2&&t===r||r>=2&&t===11-r},IT:function(e){return 9===e.length&&"CA00000AA"!==e&&e.search(/C[A-Z]\d{5}[A-Z]{2}/i)>-1},NO:function(e){var t=e.trim();if(isNaN(Number(t))||11!==t.length||"00000000000"===t)return!1;var r=t.split("").map(Number),n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11,i=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;return!(n!==r[9]||i!==r[10])},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,r=0;r<12;r++)t+=parseInt(e[r],10)*(13-r);return e[12]===((11-t%11)%10).toString()},LK:function(e){return!(10!==e.length||!/^[1-9]\d{8}[vx]$/i.test(e))||!(12!==e.length||!/^[1-9]\d{11}$/i.test(e))},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var r,n=t,i=0,o=0;o<n.length;o++)i+=(r=Number(n[o])*(o%2+1))>9?r-9:r;return i%10==0},"ar-LY":function(e){var t=e.trim();return!!/^(1|2)\d{11}$/.test(t)},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,r=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],n=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],i=["1","0","X","9","8","7","6","5","4","3","2"],o=function(e){return r.includes(e)},s=function(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),n=parseInt(e.substring(6),10),i=new Date(t,r-1,n);return!(i>new Date)&&(i.getFullYear()===t&&i.getMonth()===r-1&&i.getDate()===n)},a=function(e){return function(e){for(var t=e.substring(0,17),r=0,o=0;o<17;o++)r+=parseInt(t.charAt(o),10)*parseInt(n[o],10);return i[r%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=o(r)))return!1;var n="19".concat(e.substring(6,12));return!!(t=s(n))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=o(r)))return!1;var n=e.substring(6,14);return!!(t=s(n))&&a(e)}(t))},"zh-HK":function(e){var t=/^[0-9]$/;if(e=(e=e.trim()).toUpperCase(),!/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/.test(e))return!1;8===(e=e.replace(/\[|\]|\(|\)/g,"")).length&&(e="3".concat(e));for(var r=0,n=0;n<=7;n++){r+=(t.test(e[n])?e[n]:(e[n].charCodeAt(0)-55)%11)*(9-n)}return(0===(r%=11)?"0":1===r?"A":String(11-r))===e[e.length-1]},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},r=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(r)&&Array.from(r).reduce((function(e,r,n){if(0===n){var i=t[r];return i%10*9+Math.floor(i/10)}return 9===n?(10-e%10-Number(r))%10==0:e+Number(r)*(9-n)}),0)}};t.exports=e.default,t.exports.default=e.default})),Hht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){(0,n.default)(e);var t=Number(e.slice(-1));return s.test(e)&&t===function(e){var t=e.slice(0,-1).split("").map((function(t,r){return Number(t)*function(e,t){return e===i||e===o?t%2==0?3:1:t%2==0?1:3}(e.length,r)})).reduce((function(e,t){return e+t}),0),r=10-t%10;return r<10?r:0}(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=8,o=14,s=/^(\d{8}|\d{13}|\d{14})$/;t.exports=e.default,t.exports.default=e.default})),qht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){if((0,n.default)(e),!i.test(e))return!1;for(var t=!0,r=0,o=e.length-2;o>=0;o--)if(e[o]>="A"&&e[o]<="Z")for(var s=e[o].charCodeAt(0)-55,a=s%10,c=Math.trunc(s/10),u=0,l=[a,c];u<l.length;u++){var d=l[u];r+=t?d>=5?1+2*(d-5):2*d:d,t=!t}else{var h=e[o].charCodeAt(0)-48;r+=t?h>=5?1+2*(h-5):2*h:h,t=!t}var f=10*Math.trunc((r+9)/10)-r;return+e[e.length-1]===f};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;t.exports=e.default,t.exports.default=e.default})),jht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function e(t,r){(0,n.default)(t);var a=String(r?.version||r);if(!(null!=r&&r.version||r))return e(t,{version:10})||e(t,{version:13});var c=t.replace(/[\s-]+/g,""),u=0;if("10"===a){if(!i.test(c))return!1;for(var l=0;l<a-1;l++)u+=(l+1)*c.charAt(l);if("X"===c.charAt(9)?u+=100:u+=10*c.charAt(9),u%11==0)return!0}else if("13"===a){if(!o.test(c))return!1;for(var d=0;d<12;d++)u+=s[d%2]*c.charAt(d);if(c.charAt(12)-(10-u%10)%10==0)return!0}return!1};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,o=/^(?:[0-9]{13})$/,s=[1,3];t.exports=e.default,t.exports.default=e.default})),Ght=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=i;if(r=t.require_hyphen?r.replace("?",""):r,!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var o=e.replace("-","").toUpperCase(),s=0,a=0;a<o.length;a++){var c=o[a];s+=("X"===c?10:+c)*(8-a)}return s%11==0};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i="^\\d{4}-?\\d{3}[\\dX]$";t.exports=e.default,t.exports.default=e.default})),Hbe=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.iso7064Check=function(e){for(var t=10,r=0;r<e.length-1;r++)t=(parseInt(e[r],10)+t)%10==0?9:(parseInt(e[r],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},e.luhnCheck=function(e){for(var t=0,r=!1,n=e.length-1;n>=0;n--){if(r){var i=2*parseInt(e[n],10);t+=i>9?i.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):i}else t+=parseInt(e[n],10);r=!r}return t%10==0},e.reverseMultiplyAndSum=function(e,t){for(var r=0,n=0;n<e.length;n++)r+=e[n]*(t-n);return r},e.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.split("").reverse().join(""),i=0,o=0;o<n.length;o++)i=t[i][r[o%8][parseInt(n[o],10)]];return 0===i}})),Qht=W(((e,t)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,n.default)(e);var r=e.slice(0);if(t in h)return t in g&&(r=r.replace(g[t],"")),!!h[t].test(r)&&(!(t in f)||f[t](r));throw new Error("Invalid locale '".concat(t,"'"))};var n=a(Nt()),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var c=o?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(Hbe()),o=a(Ume());function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function d(e){for(var t=!1,r=!1,n=0;n<3;n++)if(!t&&/[AEIOU]/.test(e[n]))t=!0;else if(!r&&t&&"X"===e[n])r=!0;else if(n>0&&(t&&!r&&!/[AEIOU]/.test(e[n])||r&&!/X/.test(e[n])))return!1;return!0}var h={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-AR":/(20|23|24|27|30|33|34)[0-9]{8}[0-9]/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/,"uk-UA":/^\d{10}$/};h["lb-LU"]=h["fr-LU"],h["lt-LT"]=h["et-EE"],h["nl-BE"]=h["fr-BE"],h["fr-CA"]=h["en-CA"];var f={"bg-BG":function(e){var t=e.slice(0,2),r=parseInt(e.slice(2,4),10);r>40?(r-=40,t="20".concat(t)):r>20?(r-=20,t="18".concat(t)):t="19".concat(t),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,o.default)(n,"YYYY/MM/DD"))return!1;for(var i=e.split("").map((function(e){return parseInt(e,10)})),s=[2,4,8,5,10,9,7,3,6],a=0,c=0;c<s.length;c++)a+=i[c]*s[c];return(a=a%11==10?0:a%11)===i[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=t<54?"20".concat(t):"19".concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r=parseInt(e.slice(2,4),10);if(r>50&&(r-=50),r>20){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,o.default)(n,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var i=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===i))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return i.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=[],n=0;n<t.length-1;n++){r.push("");for(var o=0;o<t.length-1;o++)t[n]===t[o]&&(r[n]+=o)}if(2!==(r=r.filter((function(e){return e.length>1}))).length&&3!==r.length)return!1;if(3===r[0].length){for(var s=r[0].split("").map((function(e){return parseInt(e,10)})),a=0,c=0;c<s.length-1;c++)s[c]+1===s[c+1]&&(a+=1);if(2===a)return!1}return i.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=t<37?"20".concat(t):"19".concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(t>58))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,o.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),i=0,s=4,a=0;a<9;a++)i+=n[a]*s,1===(s-=1)&&(s=7);return 1!==(i%=11)&&(0===i?0===n[9]:n[9]===11-i)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),r=0,n=1;n<t.length;n+=2)r+=t[n];for(var i=0;i<t.length;i+=2)t[i]<2?r+=1-t[i]:(r+=2*(t[i]-2)+5,t[i]>4&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=0,n=0;n<8;n++)r+=t[n]*Math.pow(2,8-n);return r%11%10===t[8]},"en-CA":function(e){var t=e.split(""),r=t.filter((function(e,t){return t%2})).map((function(e){return 2*Number(e)})).join("").split("");return t.filter((function(e,t){return!(t%2)})).concat(r).map((function(e){return Number(e)})).reduce((function(e,t){return e+t}))%10==0},"en-IE":function(e){var t=i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0===(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e=[];for(var t in l)l.hasOwnProperty(t)&&e.push.apply(e,c(l[t]));return e}().indexOf(e.slice(0,2))},"es-AR":function(e){for(var t=0,r=e.split(""),n=parseInt(r.pop(),10),i=0;i<r.length;i++)t+=r[9-i]*(2+i%6);var o=11-t%11;return 11===o?o=0:10===o&&(o=9),n===o},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2}t.splice(0,1,r)}else for(;t.length<9;)t.unshift(0);t=t.join("");var n=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][n]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,o.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),i=0,s=1,a=0;a<10;a++)i+=n[a]*s,10===(s+=1)&&(s=1);if(i%11==10){i=0,s=3;for(var c=0;c<10;c++)i+=n[c]*s,10===(s+=1)&&(s=1);if(i%11==10)return 0===n[10]}return i%11===n[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,o.default)(r,"YYYY/MM/DD"))return!1;var n=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return n<10?n===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][n-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,o.default)(t,"YY/MM/DD"))return!1}var r=97-parseInt(e.slice(0,9),10)%97,n=parseInt(e.slice(9,11),10);return!(r!==n&&(r=97-parseInt("2".concat(e.slice(0,9)),10)%97,r!==n))},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!(!(0,o.default)(t,"YYYY/MM/DD")||!i.luhnCheck(e.slice(0,12)))&&i.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12]))},"hr-HR":function(e){return i.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=8,n=1;n<9;n++)r+=t[n]*(n+1);return r%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!d(t.slice(0,3))||!d(t.slice(3,6)))return!1;for(var r={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},n=0,i=[6,7,9,10,12,13,14];n<i.length;n++){var s=i[n];t[s]in r&&t.splice(s,1,r[t[s]])}var a={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],c=parseInt(t[9]+t[10],10);c>40&&(c-=40),c<10&&(c="0".concat(c));var u="".concat(t[6]).concat(t[7],"/").concat(a,"/").concat(c);if(!(0,o.default)(u,"YY/MM/DD"))return!1;for(var l=0,h=1;h<t.length-1;h+=2){var f=parseInt(t[h],10);isNaN(f)&&(f=t[h].charCodeAt(0)-65),l+=f}for(var p={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},g=0;g<t.length-1;g+=2){var y=0;if(t[g]in p)y=p[t[g]];else{var m=parseInt(t[g],10);y=2*m+1,m>4&&(y+=2)}l+=y}return String.fromCharCode(65+l%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"!==t){if("00"!==e.slice(2,4)){var r=e.slice(4,6);switch(e[6]){case"0":r="18".concat(r);break;case"1":r="19".concat(r);break;default:r="20".concat(r)}var n="".concat(r,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,o.default)(n,"YYYY/MM/DD"))return!1}for(var i=1101,s=[1,6,3,7,9,10,5,8,4,2],a=0;a<e.length-1;a++)i-=parseInt(e[a],10)*s[a];return parseInt(e[10],10)===i%11}return!0},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var r=parseInt(t.join("").slice(0,5),10);if(r>32e3)return!1;if(r===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n<t.length;n++)r+=parseInt(e[n],10)*t[n];return 10!==(r%=11)&&r===parseInt(e[9],10)}var i=e.slice(0,2),s=parseInt(e.slice(2,4),10);s>80?(i="18".concat(i),s-=80):s>60?(i="22".concat(i),s-=60):s>40?(i="21".concat(i),s-=40):s>20?(i="20".concat(i),s-=20):i="19".concat(i),s<10&&(s="0".concat(s));var a="".concat(i,"/").concat(s,"/").concat(e.slice(4,6));if(!(0,o.default)(a,"YYYY/MM/DD"))return!1;for(var c=0,u=1,l=0;l<e.length-1;l++)c+=parseInt(e[l],10)*u%10,(u+=2)>10?u=1:5===u&&(u+=2);return(c=10-c%10)===parseInt(e[10],10)},"pt-BR":function(e){if(11===e.length){var t,r;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var n=1;n<=9;n++)t+=parseInt(e.substring(n-1,n),10)*(11-n);if(10===(r=10*t%11)&&(r=0),r!==parseInt(e.substring(9,10),10))return!1;t=0;for(var i=1;i<=10;i++)t+=parseInt(e.substring(i-1,i),10)*(12-i);return 10===(r=10*t%11)&&(r=0),r===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var o=e.length-2,s=e.substring(0,o),a=e.substring(o),c=0,u=o-7,l=o;l>=1;l--)c+=s.charAt(o-l)*u,(u-=1)<2&&(u=9);var d=c%11<2?0:11-c%11;if(d!==parseInt(a.charAt(0),10))return!1;o+=1,s=e.substring(0,o),c=0,u=o-7;for(var h=o;h>=1;h--)c+=s.charAt(o-h)*u,(u-=1)<2&&(u=9);return(d=c%11<2?0:11-c%11)===parseInt(a.charAt(1),10)},"pt-PT":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,o.default)(r,"YY/MM/DD"))return!1}else if(!(0,o.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map((function(e){return parseInt(e,10)})),i=[2,7,9,1,4,6,3,5,8,2,7,9],s=0,a=0;a<i.length;a++)s+=n[a]*i[a];return s%11==10?1===n[12]:n[12]===s%11}return!0},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;var t=parseInt(e.slice(0,2),10);if(t>53)return!1;t=t<10?"190".concat(t):"19".concat(t);var r=parseInt(e.slice(2,4),10);r>50&&(r-=50),r<10&&(r="0".concat(r));var n="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,o.default)(n,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var r="",n=t.slice(2,4),s=parseInt(t.slice(4,6),10);if(e.length>11)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&s<60){var a=(new Date).getFullYear().toString(),c=parseInt(a.slice(0,2),10);if(a=parseInt(a,10),"-"===e[6])r=parseInt("".concat(c).concat(r),10)>a?"".concat(c-1).concat(r):"".concat(c).concat(r);else if(r="".concat(c-1).concat(r),a-parseInt(r,10)<100)return!1}s>60&&(s-=60),s<10&&(s="0".concat(s));var u="".concat(r,"/").concat(n,"/").concat(s);if(8===u.length){if(!(0,o.default)(u,"YY/MM/DD"))return!1}else if(!(0,o.default)(u,"YYYY/MM/DD"))return!1;return i.luhnCheck(e.replace(/\W/,""))},"uk-UA":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),r=[-1,5,7,9,4,6,10,5,7],n=0,i=0;i<r.length;i++)n+=t[i]*r[i];return n%11==10?0===t[9]:t[9]===n%11}};f["lb-LU"]=f["fr-LU"],f["lt-LT"]=f["et-EE"],f["nl-BE"]=f["fr-BE"],f["fr-CA"]=f["en-CA"];var p=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,g={"de-AT":p,"de-DE":/[\/\\]/g,"fr-BE":p};g["nl-BE"]=g["fr-BE"],t.exports=e.default,t.exports.default=e.default})),Zht=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t,i){if((0,r.default)(e),i&&i.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(n.hasOwnProperty(t)&&n[t].test(e))return!0;return!1}));if(t in n)return n[t].test(e);if(!t||"any"===t){for(var o in n)if(n.hasOwnProperty(o)){if(n[o].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},e.locales=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n={"am-AM":/^(\+?374|0)(33|4[134]|55|77|88|9[13-689])\d{6}$/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-MW":/^(\+?265|0)(((77|88|31|99|98|21)\d{7})|(((111)|1)\d{6})|(32000\d{4}))$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};n["en-CA"]=n["en-US"],n["fr-CA"]=n["en-CA"],n["fr-BE"]=n["nl-BE"],n["zh-HK"]=n["en-HK"],n["zh-MO"]=n["en-MO"],n["ga-IE"]=n["en-IE"],n["fr-CH"]=n["de-CH"],n["it-CH"]=n["fr-CH"];e.locales=Object.keys(n)})),$ht=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(0x)[0-9a-f]{40}$/i;t.exports=e.default,t.exports.default=e.default})),t0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){0!==r&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",i="[1-9]\\d*",o="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),s="(".concat(["0",i,o].join("|"),")?"),a="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),c=s+(e.allow_decimal||e.require_decimal?a:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?c+=n:e.negative_sign_before_digits&&(c=n+c)),e.allow_negative_sign_placeholder?c="( (?!\\-))?".concat(c):e.allow_space_after_symbol?c=" ?".concat(c):e.allow_space_after_digits&&(c+="( (?!$))?"),e.symbol_after_digits?c+=r:c=r+c,e.allow_negatives&&(e.parens_for_negatives?c="(\\(".concat(c,"\\)|").concat(c,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(c=n+c)),new RegExp("^(?!-? )(?=.*\\d)".concat(c,"$"))}(t=(0,r.default)(t,o)).test(e)};var r=i(Yu()),n=i(Nt());function i(e){return e&&e.__esModule?e:{default:e}}var o={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};t.exports=e.default,t.exports.default=e.default})),r0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)||o.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(bc1)[a-z0-9]{25,39}$/,o=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;t.exports=e.default,t.exports.default=e.default})),i0t=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.isFreightContainerID=void 0,e.isISO6346=o;var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,i=/^[0-9]$/;function o(e){if((0,r.default)(e),e=e.toUpperCase(),!n.test(e))return!1;if(11===e.length){for(var t=0,o=0;o<e.length-1;o++)if(i.test(e[o]))t+=e[o]*Math.pow(2,o);else{var s=e.charCodeAt(o)-55;t+=(s<11?s:s>=11&&s<=20?12+s%11:s>=21&&s<=30?23+s%21:34+s%31)*Math.pow(2,o)}var a=t%11;return Number(e[e.length-1])===a}return!0}e.isFreightContainerID=o})),o0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.has(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);t.exports=e.default,t.exports.default=e.default})),s0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(e);var r=t.strictSeparator?o.test(e):i.test(e);return r&&t.strict?s(e):r};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]),n=Number(t[2]);return r%4==0&&r%100!=0||r%400==0?n<=366:n<=365}var i=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),o=i[1],s=i[2],a=i[3],c=s&&"0".concat(s).slice(-2),u=a&&"0".concat(a).slice(-2),l=new Date("".concat(o,"-").concat(c||"01","-").concat(u||"01"));return!s||!a||l.getUTCFullYear()===o&&l.getUTCMonth()+1===s&&l.getUTCDate()===a};t.exports=e.default,t.exports.default=e.default})),u0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),d.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/([01][0-9]|2[0-3])/,o=/[0-5][0-9]/,s=new RegExp("[-+]".concat(i.source,":").concat(o.source)),a=new RegExp("([zZ]|".concat(s.source,")")),c=new RegExp("".concat(i.source,":").concat(o.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),u=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),l=new RegExp("".concat(c.source).concat(a.source)),d=new RegExp("^".concat(u.source,"[ tT]").concat(l.source,"$"));t.exports=e.default,t.exports.default=e.default})),l0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.has(e.toUpperCase())};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);t.exports=e.default,t.exports.default=e.default})),d0t=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.CurrencyCodes=void 0,e.default=function(e){return(0,r.default)(e),n.has(e.toUpperCase())};var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);e.CurrencyCodes=n})),p0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,r.default)(e),(t=(0,n.default)(t,a)).crockford?s.test(e):!(e.length%8!=0||!o.test(e))};var r=i(Nt()),n=i(Yu());function i(e){return e&&e.__esModule?e:{default:e}}var o=/^[A-Z2-7]+=*$/,s=/^[A-HJKMNP-TV-Z0-9]+$/,a={crockford:!1};t.exports=e.default,t.exports.default=e.default})),g0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),!!i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[A-HJ-NP-Za-km-z1-9]*$/;t.exports=e.default,t.exports.default=e.default})),y0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){(0,n.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),a=r.shift();if("data:"!==a.slice(0,5))return!1;var c=a.slice(5);if(""!==c&&!i.test(c))return!1;for(var u=0;u<r.length;u++)if((u!==r.length-1||"base64"!==r[u].toLowerCase())&&!o.test(r[u]))return!1;for(var l=0;l<t.length;l++)if(!s.test(t[l]))return!1;return!0};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,o=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;t.exports=e.default,t.exports.default=e.default})),m0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),0===e.indexOf("magnet:?")&&i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i;t.exports=e.default,t.exports.default=e.default})),sve=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,n.default)(e),t){var r=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(r,"")}for(var i=e.length-1;/\s/.test(e.charAt(i));)i-=1;return e.slice(0,i+1)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),cve=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,n.default)(e);var r=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(r,"")};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),lve=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,r.default)((0,n.default)(e,t),t)};var r=i(sve()),n=i(cve());function i(e){return e&&e.__esModule?e:{default:e}}t.exports=e.default,t.exports.default=e.default})),A0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,i.default)(e),0!==e.indexOf("mailto:"))return!1;var o=s(e.replace("mailto:","").split("?"),2),c=o[0],u=o[1],l=void 0===u?"":u;if(!c&&!l)return!0;var d=function(e){var t=new Set(["subject","body","cc","bcc"]),r={cc:"",bcc:""},n=!1,i=e.split("&");if(i.length>4)return!1;var o,c=function(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{!s&&null!=r.return&&r.return()}finally{if(c)throw o}}}}(i);try{for(c.s();!(o=c.n()).done;){var u=s(o.value.split("="),2),l=u[0],d=u[1];if(l&&!t.has(l)){n=!0;break}d&&("cc"===l||"bcc"===l)&&(r[l]=d),l&&t.delete(l)}}catch(e){c.e(e)}finally{c.f()}return!n&&r}(l);return!!d&&"".concat(c,",").concat(d.cc,",").concat(d.bcc).split(",").every((function(e){return!(e=(0,r.default)(e," "))||(0,n.default)(e,t)}))};var r=o(lve()),n=o(Mme()),i=o(Nt());function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,s,a=[],c=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.exports=e.default,t.exports.default=e.default})),E0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)||o.test(e)||s.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,o=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;t.exports=e.default,t.exports.default=e.default})),S0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,r.default)(e),t=(0,n.default)(t,u),!e.includes(","))return!1;var i=e.split(",");return!(i[0].startsWith("(")&&!i[1].endsWith(")")||i[1].endsWith(")")&&!i[0].startsWith("("))&&(t.checkDMS?a.test(i[0])&&c.test(i[1]):o.test(i[0])&&s.test(i[1]))};var r=i(Nt()),n=i(Yu());function i(e){return e&&e.__esModule?e:{default:e}}var o=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,a=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,c=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,u={checkDMS:!1};t.exports=e.default,t.exports.default=e.default})),I0t=W((e=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,r.default)(e),t in a)return a[t].test(e);if("any"===t){for(var n in a)if(a.hasOwnProperty(n)){if(a[n].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},e.locales=void 0;var t,r=(t=Nt())&&t.__esModule?t:{default:t};var n=/^\d{3}$/,i=/^\d{4}$/,o=/^\d{5}$/,s=/^\d{6}$/,a={AD:/^AD\d{3}$/,AT:i,AU:i,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:i,BG:i,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:o,DK:i,DO:o,DZ:o,EE:o,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:o,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:i,ID:o,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:n,IT:o,JP:/^\d{3}\-\d{4}$/,KE:o,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:i,LV:/^LV\-\d{4}$/,LK:o,MG:n,MX:o,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:o,NL:/^[1-9]\d{3}\s?(?!sa|sd|ss)[a-z]{2}$/i,NO:i,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:i,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:s,RU:s,SA:o,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:s,SI:i,SK:/^\d{3}\s?\d{2}$/,TH:o,TN:i,TW:/^\d{3}(\d{2})?$/,UA:o,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:o};e.locales=Object.keys(a)})),O0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),P0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),e.replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`").replace(/&amp;/g,"&")};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),vve=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),M0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,r.default)(e);var i=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,n.default)(e,i)};var r=i(Nt()),n=i(vve());function i(e){return e&&e.__esModule?e:{default:e}}t.exports=e.default,t.exports.default=e.default})),k0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){return(0,n.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),_0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){(0,n.default)(e);for(var r=e.length-1;r>=0;r--)if(-1===t.indexOf(e[r]))return!1;return!0};var r,n=(r=Nt())&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default})),R0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){t=(0,n.default)(t,i);var r=e.split("@"),l=r.pop(),d=[r.join("@"),l];if(d[1]=d[1].toLowerCase(),"gmail.com"===d[1]||"googlemail.com"===d[1]){if(t.gmail_remove_subaddress&&(d[0]=d[0].split("+")[0]),t.gmail_remove_dots&&(d[0]=d[0].replace(/\.+/g,u)),!d[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]=t.gmail_convert_googlemaildotcom?"gmail.com":d[1]}else if(o.indexOf(d[1])>=0){if(t.icloud_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(d[0]=d[0].toLowerCase())}else if(s.indexOf(d[1])>=0){if(t.outlookdotcom_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(d[0]=d[0].toLowerCase())}else if(a.indexOf(d[1])>=0){if(t.yahoo_remove_subaddress){var h=d[0].split("-");d[0]=h.length>1?h.slice(0,-1).join("-"):h[0]}if(!d[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(d[0]=d[0].toLowerCase())}else c.indexOf(d[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]="yandex.ru"):t.all_lowercase&&(d[0]=d[0].toLowerCase());return d.join("@")};var r,n=(r=Yu())&&r.__esModule?r:{default:r};var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},o=["icloud.com","me.com"],s=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],a=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],c=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function u(e){return e.length>1?e:""}t.exports=e.default,t.exports.default=e.default})),N0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,n.default)(e),i.test(e)};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;t.exports=e.default,t.exports.default=e.default})),D0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,n.default)(e),t in i)return i[t](e);if("any"===t){for(var r in i){if((0,i[r])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var r,n=(r=Nt())&&r.__esModule?r:{default:r};var i={"cs-CZ":function(e){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÜ|FW|FZ|G|GA|GC|GD|GE|GF|GG|GI|GK|GL|GM|GN|GÖ|GP|GR|GS|GT|GÜ|GV|GW|GZ|H|HA|HB|HC|HD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IE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"en-IN":function(e){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(e)},"es-AR":function(e){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"hu-HU":function(e){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"sv-SE":function(e){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(e.trim())},"en-PK":function(e){return/(^[A-Z]{2}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{3}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{4}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]((\s|-){0,1})[0-9]{4}((\s|-)[0-9]{2}){0,1}$)/.test(e.trim())}};t.exports=e.default,t.exports.default=e.default})),L0t=W(((e,t)=>{"use strict";m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,n.default)(e);var i=function(e){var t=function(e){var t={};return Array.from(e).forEach((function(e){t[e]?t[e]+=1:t[e]=1})),t}(e),r={length:e.length,uniqueChars:Object.keys(t).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(t).forEach((function(e){o.test(e)?r.uppercaseCount+=t[e]:s.test(e)?r.lowercaseCount+=t[e]:a.test(e)?r.numberCount+=t[e]:c.test(e)&&(r.symbolCount+=t[e])})),r}(e);return(t=(0,r.default)(t||{},u)).returnScore?function(e,t){var r=0;return r+=e.uniqueChars*t.pointsPerUnique,r+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(r+=t.pointsForContainingLower),e.uppercaseCount>0&&(r+=t.pointsForContainingUpper),e.numberCount>0&&(r+=t.pointsForContainingNumber),e.symbolCount>0&&(r+=t.pointsForContainingSymbol),r}(i,t):i.length>=t.minLength&&i.lowercaseCount>=t.minLowercase&&i.uppercaseCount>=t.minUppercase&&i.numberCount>=t.minNumbers&&i.symbolCount>=t.minSymbols};var r=i(Yu()),n=i(Nt());function i(e){return e&&e.__esModule?e:{default:e}}var o=/^[A-Z]$/,s=/^[a-z]$/,a=/^[0-9]$/,c=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]$/,u={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};t.exports=e.default,t.exports.default=e.default})),K0t=W((e=>{"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){if((0,n.default)(e),(0,n.default)(t),t in s)return s[t](e);throw new Error("Invalid country code: '".concat(t,"'"))},e.vatMatchers=void 0;var r,n=(r=Nt())&&r.__esModule?r:{default:r},i=function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=t(e)&&"function"!=typeof e)return{default:e};var n=o(r);if(n&&n.has(e))return n.get(e);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var c=s?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=e[a]}return i.default=e,n&&n.set(e,i),i}(Hbe());function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var s=e.vatMatchers={AT:function(e){return/^(AT)?U\d{8}$/.test(e)},BE:function(e){return/^(BE)?\d{10}$/.test(e)},BG:function(e){return/^(BG)?\d{9,10}$/.test(e)},HR:function(e){return/^(HR)?\d{11}$/.test(e)},CY:function(e){return/^(CY)?\w{9}$/.test(e)},CZ:function(e){return/^(CZ)?\d{8,10}$/.test(e)},DK:function(e){return/^(DK)?\d{8}$/.test(e)},EE:function(e){return/^(EE)?\d{9}$/.test(e)},FI:function(e){return/^(FI)?\d{8}$/.test(e)},FR:function(e){return/^(FR)?\w{2}\d{9}$/.test(e)},DE:function(e){return/^(DE)?\d{9}$/.test(e)},EL:function(e){return/^(EL)?\d{9}$/.test(e)},HU:function(e){return/^(HU)?\d{8}$/.test(e)},IE:function(e){return/^(IE)?\d{7}\w{1}(W)?$/.test(e)},IT:function(e){return/^(IT)?\d{11}$/.test(e)},LV:function(e){return/^(LV)?\d{11}$/.test(e)},LT:function(e){return/^(LT)?\d{9,12}$/.test(e)},LU:function(e){return/^(LU)?\d{8}$/.test(e)},MT:function(e){return/^(MT)?\d{8}$/.test(e)},NL:function(e){return/^(NL)?\d{9}B\d{2}$/.test(e)},PL:function(e){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(e)},PT:function(e){var t=e.match(/^(PT)?(\d{9})$/);if(!t)return!1;var r=t[2],n=11-i.reverseMultiplyAndSum(r.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return n>9?0===parseInt(r[8],10):n===parseInt(r[8],10)},RO:function(e){return/^(RO)?\d{2,10}$/.test(e)},SK:function(e){return/^(SK)?\d{10}$/.test(e)},SI:function(e){return/^(SI)?\d{8}$/.test(e)},ES:function(e){return/^(ES)?\w\d{7}[A-Z]$/.test(e)},SE:function(e){return/^(SE)?\d{12}$/.test(e)},AL:function(e){return/^(AL)?\w{9}[A-Z]$/.test(e)},MK:function(e){return/^(MK)?\d{13}$/.test(e)},AU:function(e){if(!e.match(/^(AU)?(\d{11})$/))return!1;var t=[10,1,3,5,7,9,11,13,15,17,19];e=e.replace(/^AU/,"");for(var r=(parseInt(e.slice(0,1),10)-1).toString()+e.slice(1),n=0,i=0;i<11;i++)n+=t[i]*r.charAt(i);return 0!==n&&n%89==0},BY:function(e){return/^(УНП )?\d{9}$/.test(e)},CA:function(e){return/^(CA)?\d{9}$/.test(e)},IS:function(e){return/^(IS)?\d{5,6}$/.test(e)},IN:function(e){return/^(IN)?\d{15}$/.test(e)},ID:function(e){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(e)},IL:function(e){return/^(IL)?\d{9}$/.test(e)},KZ:function(e){return/^(KZ)?\d{12}$/.test(e)},NZ:function(e){return/^(NZ)?\d{9}$/.test(e)},NG:function(e){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(e)},NO:function(e){return/^(NO)?\d{9}MVA$/.test(e)},PH:function(e){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(e)},RU:function(e){return/^(RU)?(\d{10}|\d{12})$/.test(e)},SM:function(e){return/^(SM)?\d{5}$/.test(e)},SA:function(e){return/^(SA)?\d{15}$/.test(e)},RS:function(e){return/^(RS)?\d{9}$/.test(e)},CH:function(e){var t,r,n;return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(e)&&(t=e.match(/\d/g).map((function(e){return+e})),r=t.pop(),n=[5,4,3,2,7,6,5,4],r===(11-t.reduce((function(e,t,r){return e+t*n[r]}),0)%11)%11)},TR:function(e){return/^(TR)?\d{10}$/.test(e)},UA:function(e){return/^(UA)?\d{12}$/.test(e)},GB:function(e){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(e)},UZ:function(e){return/^(UZ)?\d{9}$/.test(e)},AR:function(e){return/^(AR)?\d{11}$/.test(e)},BO:function(e){return/^(BO)?\d{7}$/.test(e)},BR:function(e){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(e)},CL:function(e){return/^(CL)?\d{8}-\d{1}$/.test(e)},CO:function(e){return/^(CO)?\d{10}$/.test(e)},CR:function(e){return/^(CR)?\d{9,12}$/.test(e)},EC:function(e){return/^(EC)?\d{13}$/.test(e)},SV:function(e){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(e)},GT:function(e){return/^(GT)?\d{7}-\d{1}$/.test(e)},HN:function(e){return/^(HN)?$/.test(e)},MX:function(e){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(e)},NI:function(e){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(e)},PA:function(e){return/^(PA)?$/.test(e)},PY:function(e){return/^(PY)?\d{6,8}-\d{1}$/.test(e)},PE:function(e){return/^(PE)?\d{11}$/.test(e)},DO:function(e){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(e)},UY:function(e){return/^(UY)?\d{12}$/.test(e)},VE:function(e){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(e)}}})),Q0t=W(((e,t)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}m(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=Qe(DG()),i=Qe(dme()),o=Qe(fdt()),s=Qe(ddt()),a=Qe(hdt()),c=Qe(gdt()),u=Qe(ydt()),l=Qe(Mme()),d=Qe(Edt()),h=Qe(Cdt()),f=Qe(bk()),p=Qe(Mdt()),g=Qe(qG()),y=Qe(Ume()),b=Qe(Ddt()),w=Qe(Ldt()),v=Qe(Wdt()),A=Qe(zdt()),E=Xe(Kdt()),T=Xe(Hdt()),C=Qe(qdt()),S=Qe(Gdt()),I=Qe(Vdt()),O=Qe(Jdt()),M=Qe(Xdt()),P=Qe(Ydt()),k=Qe(Qdt()),B=Qe(Zme()),x=Qe($me()),N=Qe(Zdt()),R=Qe($dt()),_=Qe(rht()),U=Qe(nht()),D=Qe(GG()),W=Xe(lme()),L=Qe(sht()),z=Qe(ube()),F=Qe(aht()),K=Qe(uht()),j=Qe(lht()),H=Qe(hht()),G=Qe(pht()),V=Qe(ght()),q=Xe(yht()),J=Qe(bht()),Y=Qe(vht()),X=Qe(wht()),Q=Qe(Eht()),Z=Qe(Sht()),$=Qe(Iht()),ee=Qe(Oht()),te=Qe(Sme()),re=Qe(Pht()),ne=Qe(Mht()),ie=Qe(_ht()),oe=Qe(Dht()),se=Qe(Lht()),ae=Qe(Nbe()),ce=Qe(Wht()),ue=Qe(Kht()),le=Qe(Hht()),de=Qe(qht()),he=Qe(jht()),fe=Qe(Ght()),pe=Qe(Qht()),ge=Xe(Zht()),ye=Qe($ht()),me=Qe(t0t()),be=Qe(r0t()),we=i0t(),ve=Qe(o0t()),Ae=Qe(s0t()),Ee=Qe(u0t()),Te=Qe(ybe()),Ce=Qe(l0t()),Se=Qe(d0t()),Ie=Qe(p0t()),Oe=Qe(g0t()),Me=Qe(xbe()),Pe=Qe(y0t()),ke=Qe(m0t()),Be=Qe(A0t()),xe=Qe(E0t()),Ne=Qe(S0t()),Re=Xe(I0t()),_e=Qe(cve()),Ue=Qe(sve()),De=Qe(lve()),We=Qe(O0t()),Le=Qe(P0t()),ze=Qe(M0t()),Fe=Qe(k0t()),Ke=Qe(vve()),je=Qe(_0t()),He=Qe(R0t()),Ge=Qe(N0t()),Ve=Qe(D0t()),qe=Qe(L0t()),Je=Qe(K0t());function Ye(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(Ye=function(e){return e?r:t})(e)}function Xe(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=Ye(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}function Qe(e){return e&&e.__esModule?e:{default:e}}var Ze={version:"13.12.0",toDate:n.default,toFloat:i.default,toInt:o.default,toBoolean:s.default,equals:a.default,contains:c.default,matches:u.default,isEmail:l.default,isURL:d.default,isMACAddress:h.default,isIP:f.default,isIPRange:p.default,isFQDN:g.default,isBoolean:w.default,isIBAN:q.default,isBIC:J.default,isAbaRouting:A.default,isAlpha:E.default,isAlphaLocales:E.locales,isAlphanumeric:T.default,isAlphanumericLocales:T.locales,isNumeric:C.default,isPassportNumber:S.default,isPort:I.default,isLowercase:O.default,isUppercase:M.default,isAscii:k.default,isFullWidth:B.default,isHalfWidth:x.default,isVariableWidth:N.default,isMultibyte:R.default,isSemVer:_.default,isSurrogatePair:U.default,isInt:D.default,isIMEI:P.default,isFloat:W.default,isFloatLocales:W.locales,isDecimal:L.default,isHexadecimal:z.default,isOctal:F.default,isDivisibleBy:K.default,isHexColor:j.default,isRgbColor:H.default,isHSL:G.default,isISRC:V.default,isMD5:Y.default,isHash:X.default,isJWT:Q.default,isJSON:Z.default,isEmpty:$.default,isLength:ee.default,isLocale:v.default,isByteLength:te.default,isUUID:re.default,isMongoId:ne.default,isAfter:ie.default,isBefore:oe.default,isIn:se.default,isLuhnNumber:ae.default,isCreditCard:ce.default,isIdentityCard:ue.default,isEAN:le.default,isISIN:de.default,isISBN:he.default,isISSN:fe.default,isMobilePhone:ge.default,isMobilePhoneLocales:ge.locales,isPostalCode:Re.default,isPostalCodeLocales:Re.locales,isEthereumAddress:ye.default,isCurrency:me.default,isBtcAddress:be.default,isISO6346:we.isISO6346,isFreightContainerID:we.isFreightContainerID,isISO6391:ve.default,isISO8601:Ae.default,isRFC3339:Ee.default,isISO31661Alpha2:Te.default,isISO31661Alpha3:Ce.default,isISO4217:Se.default,isBase32:Ie.default,isBase58:Oe.default,isBase64:Me.default,isDataURI:Pe.default,isMagnetURI:ke.default,isMailtoURI:Be.default,isMimeType:xe.default,isLatLong:Ne.default,ltrim:_e.default,rtrim:Ue.default,trim:De.default,escape:We.default,unescape:Le.default,stripLow:ze.default,whitelist:Fe.default,blacklist:Ke.default,isWhitelisted:je.default,normalizeEmail:He.default,toString:toString,isSlug:Ge.default,isStrongPassword:qe.default,isTaxID:pe.default,isDate:y.default,isTime:b.default,isLicensePlate:Ve.default,isVAT:Je.default,ibanLocales:q.locales};e.default=Ze;t.exports=e.default,t.exports.default=e.default})),Oyt=W(((e,t)=>{"use strict";m();var r=Object.prototype.hasOwnProperty,n="~";function i(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,i,s){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new o(r,i||e,s),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(n=!1)),c.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)r.call(e,t)&&i.push(n?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i<o;i++)s[i]=r[i].fn;return s},c.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},c.prototype.emit=function(e,t,r,i,o,s){var a=n?n+e:e;if(!this._events[a])return!1;var c,u,l=this._events[a],d=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),d){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,s),!0}for(u=1,c=new Array(d-1);u<d;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var h,f=l.length;for(u=0;u<f;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),d){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,i);break;default:if(!c)for(h=1,c=new Array(d-1);h<d;h++)c[h-1]=arguments[h];l[u].fn.apply(l[u].context,c)}}return!0},c.prototype.on=function(e,t,r){return s(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return s(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn===t&&(!i||s.once)&&(!r||s.context===r)&&a(this,o);else{for(var c=0,u=[],l=s.length;c<l;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&u.push(s[c]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,typeof t<"u"&&(t.exports=c)})),mwe=W(((e,t)=>{var r;m(),e=t.exports=ee,r="object"==typeof I.default&&I.default.env&&I.default.env.NODE_DEBUG&&/\bsemver\b/i.test(I.default.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,o=n-6,s=e.re=[],a=e.safeRe=[],c=e.src=[],u=0,l="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",n],[l,o]];function h(e){for(var t=0;t<d.length;t++){var r=d[t][0],n=d[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return e}var f=u++;c[f]="0|[1-9]\\d*";var p=u++;c[p]="\\d+";var g=u++;c[g]="\\d*[a-zA-Z-]"+l+"*";var y=u++;c[y]="("+c[f]+")\\.("+c[f]+")\\.("+c[f]+")";var b=u++;c[b]="("+c[p]+")\\.("+c[p]+")\\.("+c[p]+")";var w=u++;c[w]="(?:"+c[f]+"|"+c[g]+")";var v=u++;c[v]="(?:"+c[p]+"|"+c[g]+")";var A=u++;c[A]="(?:-("+c[w]+"(?:\\."+c[w]+")*))";var E=u++;c[E]="(?:-?("+c[v]+"(?:\\."+c[v]+")*))";var T=u++;c[T]=l+"+";var C=u++;c[C]="(?:\\+("+c[T]+"(?:\\."+c[T]+")*))";var S=u++,O="v?"+c[y]+c[A]+"?"+c[C]+"?";c[S]="^"+O+"$";var M="[v=\\s]*"+c[b]+c[E]+"?"+c[C]+"?",P=u++;c[P]="^"+M+"$";var k=u++;c[k]="((?:<|>)?=?)";var B=u++;c[B]=c[p]+"|x|X|\\*";var x=u++;c[x]=c[f]+"|x|X|\\*";var N=u++;c[N]="[v=\\s]*("+c[x]+")(?:\\.("+c[x]+")(?:\\.("+c[x]+")(?:"+c[A]+")?"+c[C]+"?)?)?";var R=u++;c[R]="[v=\\s]*("+c[B]+")(?:\\.("+c[B]+")(?:\\.("+c[B]+")(?:"+c[E]+")?"+c[C]+"?)?)?";var _=u++;c[_]="^"+c[k]+"\\s*"+c[N]+"$";var U=u++;c[U]="^"+c[k]+"\\s*"+c[R]+"$";var D=u++;c[D]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var W=u++;c[W]="(?:~>?)";var L=u++;c[L]="(\\s*)"+c[W]+"\\s+",s[L]=new RegExp(c[L],"g"),a[L]=new RegExp(h(c[L]),"g");var z=u++;c[z]="^"+c[W]+c[N]+"$";var F=u++;c[F]="^"+c[W]+c[R]+"$";var K=u++;c[K]="(?:\\^)";var j=u++;c[j]="(\\s*)"+c[K]+"\\s+",s[j]=new RegExp(c[j],"g"),a[j]=new RegExp(h(c[j]),"g");var H=u++;c[H]="^"+c[K]+c[N]+"$";var G=u++;c[G]="^"+c[K]+c[R]+"$";var V=u++;c[V]="^"+c[k]+"\\s*("+M+")$|^$";var q=u++;c[q]="^"+c[k]+"\\s*("+O+")$|^$";var J=u++;c[J]="(\\s*)"+c[k]+"\\s*("+M+"|"+c[N]+")",s[J]=new RegExp(c[J],"g"),a[J]=new RegExp(h(c[J]),"g");var Y=u++;c[Y]="^\\s*("+c[N]+")\\s+-\\s+("+c[N]+")\\s*$";var X=u++;c[X]="^\\s*("+c[R]+")\\s+-\\s+("+c[R]+")\\s*$";var Q,Z=u++;for(c[Z]="(<|>)?=?\\s*\\*",Q=0;Q<35;Q++)r(Q,c[Q]),s[Q]||(s[Q]=new RegExp(c[Q]),a[Q]=new RegExp(h(c[Q])));function $(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof ee)return e;if("string"!=typeof e||e.length>n)return null;if(!(t.loose?a[P]:a[S]).test(e))return null;try{return new ee(e,t)}catch{return null}}function ee(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof ee){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>n)throw new TypeError("version is longer than "+n+" characters");if(!(this instanceof ee))return new ee(e,t);r("SemVer",e,t),this.options=t,this.loose=!!t.loose;var o=e.trim().match(t.loose?a[P]:a[S]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}e.parse=$,e.valid=function(e,t){var r=$(e,t);return r?r.version:null},e.clean=function(e,t){var r=$(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},e.SemVer=ee,ee.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},ee.prototype.toString=function(){return this.version},ee.prototype.compare=function(e){return r("SemVer.compare",this.version,this.options,e),e instanceof ee||(e=new ee(e,this.options)),this.compareMain(e)||this.comparePre(e)},ee.prototype.compareMain=function(e){return e instanceof ee||(e=new ee(e,this.options)),re(this.major,e.major)||re(this.minor,e.minor)||re(this.patch,e.patch)},ee.prototype.comparePre=function(e){if(e instanceof ee||(e=new ee(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return re(n,i)}while(++t)},ee.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},e.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new ee(e,r).inc(t,n).version}catch{return null}},e.diff=function(e,t){if(se(e,t))return null;var r=$(e),n=$(t),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var o="prerelease"}for(var s in r)if(("major"===s||"minor"===s||"patch"===s)&&r[s]!==n[s])return i+s;return o},e.compareIdentifiers=re;var te=/^[0-9]+$/;function re(e,t){var r=te.test(e),n=te.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}function ne(e,t,r){return new ee(e,r).compare(new ee(t,r))}function ie(e,t,r){return ne(e,t,r)>0}function oe(e,t,r){return ne(e,t,r)<0}function se(e,t,r){return 0===ne(e,t,r)}function ae(e,t,r){return 0!==ne(e,t,r)}function ce(e,t,r){return ne(e,t,r)>=0}function ue(e,t,r){return ne(e,t,r)<=0}function le(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return se(e,r,n);case"!=":return ae(e,r,n);case">":return ie(e,r,n);case">=":return ce(e,r,n);case"<":return oe(e,r,n);case"<=":return ue(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}function de(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof de){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof de))return new de(e,t);e=e.trim().split(/\s+/).join(" "),r("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===he?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}e.rcompareIdentifiers=function(e,t){return re(t,e)},e.major=function(e,t){return new ee(e,t).major},e.minor=function(e,t){return new ee(e,t).minor},e.patch=function(e,t){return new ee(e,t).patch},e.compare=ne,e.compareLoose=function(e,t){return ne(e,t,!0)},e.rcompare=function(e,t,r){return ne(t,e,r)},e.sort=function(t,r){return t.sort((function(t,n){return e.compare(t,n,r)}))},e.rsort=function(t,r){return t.sort((function(t,n){return e.rcompare(t,n,r)}))},e.gt=ie,e.lt=oe,e.eq=se,e.neq=ae,e.gte=ce,e.lte=ue,e.cmp=le,e.Comparator=de;var he={};function fe(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof fe)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new fe(e.raw,t);if(e instanceof de)return new fe(e.value,t);if(!(this instanceof fe))return new fe(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function pe(e){return!e||"x"===e.toLowerCase()||"*"===e}function ge(e,t,r,n,i,o,s,a,c,u,l,d,h){return((t=pe(r)?"":pe(n)?">="+r+".0.0":pe(i)?">="+r+"."+n+".0":">="+t)+" "+(a=pe(c)?"":pe(u)?"<"+(+c+1)+".0.0":pe(l)?"<"+c+"."+(+u+1)+".0":d?"<="+c+"."+u+"."+l+"-"+d:"<="+a)).trim()}function ye(e,t,n){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(i=0;i<e.length;i++)if(r(e[i].semver),e[i].semver!==he&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function me(e,t,r){try{t=new fe(t,r)}catch{return!1}return t.test(e)}function be(e,t,r,n){var i,o,s,a,c;switch(e=new ee(e,n),t=new fe(t,n),r){case">":i=ie,o=ue,s=oe,a=">",c=">=";break;case"<":i=oe,o=ce,s=ie,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(me(e,t,n))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],d=null,h=null;if(l.forEach((function(e){e.semver===he&&(e=new de(">=0.0.0")),d=d||e,h=h||e,i(e.semver,d.semver,n)?d=e:s(e.semver,h.semver,n)&&(h=e)})),d.operator===a||d.operator===c||(!h.operator||h.operator===a)&&o(e,h.semver))return!1;if(h.operator===c&&s(e,h.semver))return!1}return!0}de.prototype.parse=function(e){var t=this.options.loose?a[V]:a[q],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1],"="===this.operator&&(this.operator=""),r[2]?this.semver=new ee(r[2],this.options.loose):this.semver=he},de.prototype.toString=function(){return this.value},de.prototype.test=function(e){return r("Comparator.test",e,this.options.loose),this.semver===he||("string"==typeof e&&(e=new ee(e,this.options)),le(e,this.operator,this.semver,this.options))},de.prototype.intersects=function(e,t){if(!(e instanceof de))throw new TypeError("a Comparator is required");var r;if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),""===this.operator)return r=new fe(e.value,t),me(this.value,r,t);if(""===e.operator)return r=new fe(this.value,t),me(e.semver,r,t);var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=le(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=le(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||c},e.Range=fe,fe.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},fe.prototype.toString=function(){return this.range},fe.prototype.parseRange=function(e){var t=this.options.loose,n=t?a[X]:a[Y];e=e.replace(n,ge),r("hyphen replace",e),e=e.replace(a[J],"$1$2$3"),r("comparator trim",e,a[J]),e=(e=e.replace(a[L],"$1~")).replace(a[j],"$1^");var i=t?a[V]:a[q],o=e.split(" ").map((function(e){return function(e,t){return r("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var n=t.loose?a[G]:a[H];return e.replace(n,(function(t,n,i,o,s){var a;return r("caret",e,t,n,i,o,s),pe(n)?a="":pe(i)?a=">="+n+".0.0 <"+(+n+1)+".0.0":pe(o)?a="0"===n?">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":">="+n+"."+i+".0 <"+(+n+1)+".0.0":s?(r("replaceCaret pr",s),a="0"===n?"0"===i?">="+n+"."+i+"."+o+"-"+s+" <"+n+"."+i+"."+(+o+1):">="+n+"."+i+"."+o+"-"+s+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+o+"-"+s+" <"+(+n+1)+".0.0"):(r("no pr"),a="0"===n?"0"===i?">="+n+"."+i+"."+o+" <"+n+"."+i+"."+(+o+1):">="+n+"."+i+"."+o+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+o+" <"+(+n+1)+".0.0"),r("caret return",a),a}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var n=t.loose?a[F]:a[z];return e.replace(n,(function(t,n,i,o,s){var a;return r("tilde",e,t,n,i,o,s),pe(n)?a="":pe(i)?a=">="+n+".0.0 <"+(+n+1)+".0.0":pe(o)?a=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":s?(r("replaceTilde pr",s),a=">="+n+"."+i+"."+o+"-"+s+" <"+n+"."+(+i+1)+".0"):a=">="+n+"."+i+"."+o+" <"+n+"."+(+i+1)+".0",r("tilde return",a),a}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var n=t.loose?a[U]:a[_];return e.replace(n,(function(t,n,i,o,s,a){r("xRange",e,t,n,i,o,s,a);var c=pe(i),u=c||pe(o),l=u||pe(s);return"="===n&&l&&(n=""),c?t=">"===n||"<"===n?"<0.0.0":"*":n&&l?(u&&(o=0),s=0,">"===n?(n=">=",u?(i=+i+1,o=0,s=0):(o=+o+1,s=0)):"<="===n&&(n="<",u?i=+i+1:o=+o+1),t=n+i+"."+o+"."+s):u?t=">="+i+".0.0 <"+(+i+1)+".0.0":l&&(t=">="+i+"."+o+".0 <"+i+"."+(+o+1)+".0"),r("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(a[Z],"")}(e,t),r("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(o=o.filter((function(e){return!!e.match(i)}))),o=o.map((function(e){return new de(e,this.options)}),this)},fe.prototype.intersects=function(e,t){if(!(e instanceof fe))throw new TypeError("a Range is required");return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},e.toComparators=function(e,t){return new fe(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},fe.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new ee(e,this.options));for(var t=0;t<this.set.length;t++)if(ye(this.set[t],e,this.options))return!0;return!1},e.satisfies=me,e.maxSatisfying=function(e,t,r){var n=null,i=null;try{var o=new fe(t,r)}catch{return null}return e.forEach((function(e){o.test(e)&&(!n||-1===i.compare(e))&&(i=new ee(n=e,r))})),n},e.minSatisfying=function(e,t,r){var n=null,i=null;try{var o=new fe(t,r)}catch{return null}return e.forEach((function(e){o.test(e)&&(!n||1===i.compare(e))&&(i=new ee(n=e,r))})),n},e.minVersion=function(e,t){e=new fe(e,t);var r=new ee("0.0.0");if(e.test(r)||(r=new ee("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n){e.set[n].forEach((function(e){var t=new ee(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||ie(r,t))&&(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}return r&&e.test(r)?r:null},e.validRange=function(e,t){try{return new fe(e,t).range||"*"}catch{return null}},e.ltr=function(e,t,r){return be(e,t,"<",r)},e.gtr=function(e,t,r){return be(e,t,">",r)},e.outside=be,e.prerelease=function(e,t){var r=$(e,t);return r&&r.prerelease.length?r.prerelease:null},e.intersects=function(e,t,r){return e=new fe(e,r),t=new fe(t,r),e.intersects(t)},e.coerce=function(e){if(e instanceof ee)return e;if("string"!=typeof e)return null;var t=e.match(a[D]);return null==t?null:$(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}})),$h=W((e=>{m();var t="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){e!=Array.prototype&&e!=Object.prototype&&(e[t]=r.value)},r=typeof window<"u"&&window===e?e:typeof global<"u"&&null!=global?global:e;function n(){n=function(){},r.Symbol||(r.Symbol=s)}function i(e,r){this.a=e,t(this,"description",{configurable:!0,writable:!0,value:r})}i.prototype.toString=function(){return this.a};var o,s=(o=0,function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new i("jscomp_symbol_"+(t||"")+"_"+o++,t)});function a(){n();var e=r.Symbol.iterator;e||(e=r.Symbol.iterator=r.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&t(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return function(e){return a(),e={next:e},e[r.Symbol.iterator]=function(){return this},e}(function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}(this))}}),a=function(){}}!function(e,n){if(n){var i=r;e=e.split(".");for(var o=0;o<e.length-1;o++){var s=e[o];s in i||(i[s]={}),i=i[s]}(n=n(o=i[e=e[e.length-1]]))!=o&&null!=n&&t(i,e,{configurable:!0,writable:!0,value:n})}}("Array.prototype.entries",(function(e){return e||function(){return function(e,t){a(),e instanceof String&&(e+="");var r=0,n={next:function(){if(r<e.length){var i=r++;return{value:t(i,e[i]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n}(this,(function(e,t){return[e,t]}))}}));var c=e||self;function u(e,t,r){e=e.split("."),r=r||c,e[0]in r||typeof r.execScript>"u"||r.execScript("var "+e[0]);for(var n;e.length&&(n=e.shift());)e.length||void 0===t?r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={}:r[n]=t}function l(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var r=Object.prototype.toString.call(e);if("[object Window]"==r)return"object";if("[object Array]"==r||"number"==typeof e.length&&typeof e.splice<"u"&&typeof e.propertyIsEnumerable<"u"&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==r||typeof e.call<"u"&&typeof e.propertyIsEnumerable<"u"&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&typeof e.call>"u")return"object";return t}function d(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}var h="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var f=Array.prototype.forEach?function(e,t){Array.prototype.forEach.call(e,t,void 0)}:function(e,t){for(var r=e.length,n="string"==typeof e?e.split(""):e,i=0;i<r;i++)i in n&&t.call(void 0,n[i],i,e)},p=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(e,t){for(var r=e.length,n=Array(r),i="string"==typeof e?e.split(""):e,o=0;o<r;o++)o in i&&(n[o]=t.call(void 0,i[o],o,e));return n};function g(e,t,r){return 2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,r)}function y(e,t,r,n){var i="Assertion failed";if(r){i+=": "+r;var o=n}else e&&(i+=": "+e,o=t);throw Error(i,o||[])}function b(e,t,r){for(var n=[],i=2;i<arguments.length;++i)n[i-2]=arguments[i];return e||y("",null,t,n),e}function w(e,t){for(var r=[],n=1;n<arguments.length;++n)r[n-1]=arguments[n];throw Error("Failure"+(e?": "+e:""),r)}function v(e,t,r,n){for(var i=[],o=3;o<arguments.length;++o)i[o-3]=arguments[o];e instanceof t||y("Expected instanceof %s but got %s.",[A(t),A(e)],r,i)}function A(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e}function E(e,t){if(this.f=e,this.b=t,this.a={},this.arrClean=!0,0<this.f.length){for(e=0;e<this.f.length;e++){var r=(t=this.f[e])[0];this.a[r.toString()]=new I(r,t[1])}this.arrClean=!0}}function T(e){this.a=0,this.b=e}function C(e,t){return e.b?(t.a||(t.a=new e.b(t.value)),t.a):t.value}function S(e){e=e.a;var t,r=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(t);return r}function I(e,t){this.key=e,this.value=t,this.a=void 0}u("jspb.Map",E,void 0),E.prototype.g=function(){if(this.arrClean){if(this.b){var e,t=this.a;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var r=t[e].a;r&&r.g()}}}else{for(this.f.length=0,(t=S(this)).sort(),e=0;e<t.length;e++){var n=this.a[t[e]];(r=n.a)&&r.g(),this.f.push([n.key,n.value])}this.arrClean=!0}return this.f},E.prototype.toArray=E.prototype.g,E.prototype.Lc=function(e,t){for(var r=this.g(),n=[],i=0;i<r.length;i++){var o=this.a[r[i][0].toString()];C(this,o);var s=o.a;s?(b(t),n.push([o.key,t(e,s)])):n.push([o.key,o.value])}return n},E.prototype.toObject=E.prototype.Lc,E.fromObject=function(e,t,r){t=new E([],t);for(var n=0;n<e.length;n++){var i=e[n][0],o=r(e[n][1]);t.set(i,o)}return t},T.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(T.prototype[Symbol.iterator]=function(){return this}),E.prototype.Jb=function(){return S(this).length},E.prototype.getLength=E.prototype.Jb,E.prototype.clear=function(){this.a={},this.arrClean=!1},E.prototype.clear=E.prototype.clear,E.prototype.Cb=function(e){e=e.toString();var t=this.a.hasOwnProperty(e);return delete this.a[e],this.arrClean=!1,t},E.prototype.del=E.prototype.Cb,E.prototype.Eb=function(){var e=[],t=S(this);t.sort();for(var r=0;r<t.length;r++){var n=this.a[t[r]];e.push([n.key,n.value])}return e},E.prototype.getEntryList=E.prototype.Eb,E.prototype.entries=function(){var e=[],t=S(this);t.sort();for(var r=0;r<t.length;r++){var n=this.a[t[r]];e.push([n.key,C(this,n)])}return new T(e)},E.prototype.entries=E.prototype.entries,E.prototype.keys=function(){var e=[],t=S(this);t.sort();for(var r=0;r<t.length;r++)e.push(this.a[t[r]].key);return new T(e)},E.prototype.keys=E.prototype.keys,E.prototype.values=function(){var e=[],t=S(this);t.sort();for(var r=0;r<t.length;r++)e.push(C(this,this.a[t[r]]));return new T(e)},E.prototype.values=E.prototype.values,E.prototype.forEach=function(e,t){var r=S(this);r.sort();for(var n=0;n<r.length;n++){var i=this.a[r[n]];e.call(t,C(this,i),i.key,this)}},E.prototype.forEach=E.prototype.forEach,E.prototype.set=function(e,t){var r=new I(e);return this.b?(r.a=t,r.value=t.g()):r.value=t,this.a[e.toString()]=r,this.arrClean=!1,this},E.prototype.set=E.prototype.set,E.prototype.get=function(e){if(e=this.a[e.toString()])return C(this,e)},E.prototype.get=E.prototype.get,E.prototype.has=function(e){return e.toString()in this.a},E.prototype.has=E.prototype.has,E.prototype.Ic=function(e,t,r,n,i){var o=S(this);o.sort();for(var s=0;s<o.length;s++){var a=this.a[o[s]];t.Va(e),r.call(t,1,a.key),this.b?n.call(t,2,C(this,a),i):n.call(t,2,a.value),t.Ya()}},E.prototype.serializeBinary=E.prototype.Ic,E.deserializeBinary=function(e,t,r,n,i,o,s){for(;t.na()&&!t.bb();){var a=t.f;1==a?o=r.call(t):2==a&&(e.b?(b(i),s||(s=new e.b),n.call(t,s,i)):s=n.call(t))}b(null!=o),b(null!=s),e.set(o,s)};var O={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},M={"'":"\\'"},P={},k=null;function B(e,t){void 0===t&&(t=0),N(),t=P[t];for(var r=[],n=0;n<e.length;n+=3){var i=e[n],o=n+1<e.length,s=o?e[n+1]:0,a=n+2<e.length,c=a?e[n+2]:0,u=i>>2;i=(3&i)<<4|s>>4,s=(15&s)<<2|c>>6,c&=63,a||(c=64,o||(s=64)),r.push(t[u],t[i],t[s]||"",t[c]||"")}return r.join("")}function x(e){var t=e.length,r=3*t/4;r%3?r=Math.floor(r):-1!="=.".indexOf(e[t-1])&&(r=-1!="=.".indexOf(e[t-2])?r-2:r-1);var n=new Uint8Array(r),i=0;return function(e,t){function r(t){for(;n<e.length;){var r=e.charAt(n++),i=k[r];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(r))throw Error("Unknown base64 encoding at char: "+r)}return t}N();for(var n=0;;){var i=r(-1),o=r(0),s=r(64),a=r(64);if(64===a&&-1===i)break;t(i<<2|o>>4),64!=s&&(t(o<<4&240|s>>2),64!=a&&t(s<<6&192|a))}}(e,(function(e){n[i++]=e})),n.subarray(0,i)}function N(){if(!k){k={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var n=e.concat(t[r].split(""));P[r]=n;for(var i=0;i<n.length;i++){var o=n[i];void 0===k[o]&&(k[o]=i)}}}}function R(e,t){if(e)throw Error("Invalid UTF8");t.push(65533)}function _(e,t){return t=String.fromCharCode.apply(null,t),null==e?t:e+t}u("jspb.ConstBinaryMessage",(function(){}),void 0),u("jspb.BinaryMessage",(function(){}),void 0),u("jspb.BinaryConstants.FieldType",{yb:-1,de:1,FLOAT:2,je:3,se:4,ie:5,xb:6,wb:7,BOOL:8,qe:9,he:10,ke:11,be:12,re:13,fe:14,le:15,me:16,ne:17,oe:18,ge:30,ue:31},void 0),u("jspb.BinaryConstants.WireType",{yb:-1,te:0,xb:1,ce:2,pe:3,ee:4,wb:5},void 0),u("jspb.BinaryConstants.FieldTypeToWireType",(function(e){switch(e){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}}),void 0),u("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),u("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),u("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),u("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),u("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),u("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),u("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),u("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),u("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),u("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),u("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),u("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),u("jspb.BinaryConstants.TWO_TO_63",0x8000000000000000,void 0),u("jspb.BinaryConstants.TWO_TO_64",0x10000000000000000,void 0),u("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var U,D,W=void 0,L=typeof TextDecoder<"u",z=0,F=0;function K(e){var t=e>>>0;e=Math.floor((e-t)/4294967296)>>>0,z=t,F=e}function j(e){var t=0>e,r=(e=Math.abs(e))>>>0;e=Math.floor((e-r)/4294967296),e>>>=0,t&&(e=~e>>>0,4294967295<(r=1+(~r>>>0))&&(r=0,4294967295<++e&&(e=0))),z=r,F=e}function H(e){var t=0>e;K(e=2*Math.abs(e)),e=z;var r=F;t&&(0==e?0==r?r=e=4294967295:(r--,e=4294967295):e--),z=e,F=r}function G(e){var t=0>e?1:0;if(0===(e=t?-e:e))0<1/e?z=F=0:(F=0,z=2147483648);else if(isNaN(e))F=0,z=2147483647;else if(34028234663852886e22<e)F=0,z=(t<<31|2139095040)>>>0;else if(11754943508222875e-54>e)e=Math.round(e/Math.pow(2,-149)),F=0,z=(t<<31|e)>>>0;else{var r=Math.floor(Math.log(e)/Math.LN2);e*=Math.pow(2,-r),16777216<=(e=Math.round(8388608*e))&&++r,F=0,z=(t<<31|r+127<<23|8388607&e)>>>0}}function V(e){var t=0>e?1:0;if(0===(e=t?-e:e))F=0<1/e?0:2147483648,z=0;else if(isNaN(e))F=2147483647,z=4294967295;else if(17976931348623157e292<e)F=(t<<31|2146435072)>>>0,z=0;else if(22250738585072014e-324>e)e/=Math.pow(2,-1074),F=(t<<31|e/4294967296)>>>0,z=e>>>0;else{var r=e,n=0;if(2<=r)for(;2<=r&&1023>n;)n++,r/=2;else for(;1>r&&-1022<n;)r*=2,n--;e*=Math.pow(2,-n),F=(t<<31|n+1023<<20|1048576*e&1048575)>>>0,z=4503599627370496*e>>>0}}function q(e){var t=e.charCodeAt(4),r=e.charCodeAt(5),n=e.charCodeAt(6),i=e.charCodeAt(7);z=e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)>>>0,F=t+(r<<8)+(n<<16)+(i<<24)>>>0}function J(e,t){return 4294967296*t+(e>>>0)}function Y(e,t){var r=2147483648&t;return r&&(t=~t>>>0,0==(e=1+~e>>>0)&&(t=t+1>>>0)),e=J(e,t),r?-e:e}function X(e,t,r){var n=t>>31;return r(e<<1^n,(t<<1|e>>>31)^n)}function Q(e,t){return Z(e,t,Y)}function Z(e,t,r){var n=-(1&e);return r((e>>>1|t<<31)^n,t>>>1^n)}function $(e){var t=2*(e>>31)+1,r=e>>>23&255;return e&=8388607,255==r?e?NaN:1/0*t:0==r?t*Math.pow(2,-149)*e:t*Math.pow(2,r-150)*(e+Math.pow(2,23))}function ee(e,t){var r=2*(t>>31)+1,n=t>>>20&2047;return e=4294967296*(1048575&t)+e,2047==n?e?NaN:1/0*r:0==n?r*Math.pow(2,-1074)*e:r*Math.pow(2,n-1075)*(e+4503599627370496)}function te(e,t){return String.fromCharCode(e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)}function re(e,t){function r(e,t){return e=e?String(e):"",t?"0000000".slice(e.length)+e:e}if(2097151>=t)return""+J(e,t);var n=(e>>>24|t<<8)>>>0&16777215;return e=(16777215&e)+6777216*n+6710656*(t=t>>16&65535),n+=8147497*t,t*=2,1e7<=e&&(n+=Math.floor(e/1e7),e%=1e7),1e7<=n&&(t+=Math.floor(n/1e7),n%=1e7),r(t,0)+r(n,t)+r(e,1)}function ne(e,t){var r=2147483648&t;return r&&(t=~t+(0==(e=1+~e>>>0)?1:0)>>>0),e=re(e,t),r?"-"+e:e}function ie(e,t){q(e),e=z;var r=F;return t?ne(e,r):re(e,r)}function oe(e){function t(e,t){for(var r=0;8>r&&(1!==e||0<t);r++)t=e*n[r]+t,n[r]=255&t,t>>>=8}b(0<e.length);var r=!1;"-"===e[0]&&(r=!0,e=e.slice(1));for(var n=[0,0,0,0,0,0,0,0],i=0;i<e.length;i++)t(10,e.charCodeAt(i)-48);return r&&(function(){for(var e=0;8>e;e++)n[e]=255&~n[e]}(),t(1,1)),function(e){if(8192>=e.length)return String.fromCharCode.apply(null,e);for(var t="",r=0;r<e.length;r+=8192)t+=String.fromCharCode.apply(null,g(e,r,r+8192));return t}(n)}function se(e){return String.fromCharCode(10>e?48+e:87+e)}function ae(e){return 97<=e?e-97+10:e-48}function ce(e,t,r,n,i){var o=0;if(128>n)for(;t<r&&e[t++]==n;)o++,t+=i;else for(;t<r;){for(var s=n;128<s;){if(e[t++]!=(127&s|128))return o;s>>=7}if(e[t++]!=s)break;o++,t+=i}return o}function ue(e){return e.constructor===Uint8Array?e:e.constructor===ArrayBuffer||e.constructor===Array?new Uint8Array(e):e.constructor===String?x(e):e instanceof Uint8Array?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):(w("Type not convertible to Uint8Array."),new Uint8Array(0))}function le(e,t,r){this.b=null,this.a=this.f=this.h=0,this.v=!1,e&&this.H(e,t,r)}u("jspb.utils.getSplit64Low",(function(){return z}),void 0),u("jspb.utils.getSplit64High",(function(){return F}),void 0),u("jspb.utils.splitUint64",K,void 0),u("jspb.utils.splitInt64",j,void 0),u("jspb.utils.splitZigzag64",H,void 0),u("jspb.utils.splitFloat32",G,void 0),u("jspb.utils.splitFloat64",V,void 0),u("jspb.utils.splitHash64",q,void 0),u("jspb.utils.joinUint64",J,void 0),u("jspb.utils.joinInt64",Y,void 0),u("jspb.utils.toZigzag64",X,void 0),u("jspb.utils.joinZigzag64",Q,void 0),u("jspb.utils.fromZigzag64",Z,void 0),u("jspb.utils.joinFloat32",$,void 0),u("jspb.utils.joinFloat64",ee,void 0),u("jspb.utils.joinHash64",te,void 0),u("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0),u("jspb.utils.joinUnsignedDecimalString",re,void 0),u("jspb.utils.joinSignedDecimalString",ne,void 0),u("jspb.utils.hash64ToDecimalString",ie,void 0),u("jspb.utils.hash64ArrayToDecimalStrings",(function(e,t){for(var r=Array(e.length),n=0;n<e.length;n++)r[n]=ie(e[n],t);return r}),void 0),u("jspb.utils.decimalStringToHash64",oe,void 0),u("jspb.utils.splitDecimalString",(function(e){q(oe(e))}),void 0),u("jspb.utils.hash64ToHexString",(function(e){var t=Array(18);t[0]="0",t[1]="x";for(var r=0;8>r;r++){var n=e.charCodeAt(7-r);t[2*r+2]=se(n>>4),t[2*r+3]=se(15&n)}return t.join("")}),void 0),u("jspb.utils.hexStringToHash64",(function(e){b(18==(e=e.toLowerCase()).length),b("0"==e[0]),b("x"==e[1]);for(var t="",r=0;8>r;r++)t=String.fromCharCode(16*ae(e.charCodeAt(2*r+2))+ae(e.charCodeAt(2*r+3)))+t;return t}),void 0),u("jspb.utils.hash64ToNumber",(function(e,t){q(e),e=z;var r=F;return t?Y(e,r):J(e,r)}),void 0),u("jspb.utils.numberToHash64",(function(e){return j(e),te(z,F)}),void 0),u("jspb.utils.countVarints",(function(e,t,r){for(var n=0,i=t;i<r;i++)n+=e[i]>>7;return r-t-n}),void 0),u("jspb.utils.countVarintFields",(function(e,t,r,n){var i=0;if(128>(n*=8))for(;t<r&&e[t++]==n;)for(i++;;){var o=e[t++];if(!(128&o))break}else for(;t<r;){for(o=n;128<o;){if(e[t]!=(127&o|128))return i;t++,o>>=7}if(e[t++]!=o)break;for(i++;128&(o=e[t++]););}return i}),void 0),u("jspb.utils.countFixed32Fields",(function(e,t,r,n){return ce(e,t,r,8*n+5,4)}),void 0),u("jspb.utils.countFixed64Fields",(function(e,t,r,n){return ce(e,t,r,8*n+1,8)}),void 0),u("jspb.utils.countDelimitedFields",(function(e,t,r,n){var i=0;for(n=8*n+2;t<r;){for(var o=n;128<o;){if(e[t++]!=(127&o|128))return i;o>>=7}if(e[t++]!=o)break;i++;for(var s=0,a=1;s+=(127&(o=e[t++]))*a,a*=128,128&o;);t+=s}return i}),void 0),u("jspb.utils.debugBytesToTextFormat",(function(e){var t='"';if(e){e=ue(e);for(var r=0;r<e.length;r++)t+="\\x",16>e[r]&&(t+="0"),t+=e[r].toString(16)}return t+'"'}),void 0),u("jspb.utils.debugScalarToTextFormat",(function(e){if("string"==typeof e){e=String(e);for(var t=['"'],r=0;r<e.length;r++){var n,i=e.charAt(r),o=i.charCodeAt(0),s=r+1;(n=O[i])||(31<o&&127>o||((o=i)in M?i=M[o]:o in O?i=M[o]=O[o]:(31<(n=o.charCodeAt(0))&&127>n?i=o:(256>n?(i="\\x",(16>n||256<n)&&(i+="0")):(i="\\u",4096>n&&(i+="0")),i+=n.toString(16).toUpperCase()),i=M[o]=i)),n=i),t[s]=n}t.push('"'),e=t.join("")}else e=e.toString();return e}),void 0),u("jspb.utils.stringToByteArray",(function(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++){var n=e.charCodeAt(r);if(255<n)throw Error("Conversion error: string contains codepoint outside of byte range");t[r]=n}return t}),void 0),u("jspb.utils.byteSourceToUint8Array",ue,void 0),u("jspb.BinaryDecoder",le,void 0);var de=[];function he(e,t,r){if(de.length){var n=de.pop();return e&&n.H(e,t,r),n}return new le(e,t,r)}function fe(e){e.a>e.f&&w("Read past the end "+e.a+" > "+e.f)}function pe(e,t,r){this.a=he(e,t,r),this.O=this.a.B(),this.b=this.f=-1,this.h=!1,this.v=null}le.getInstanceCacheLength=function(){return de.length},le.alloc=he,le.prototype.Ca=function(){this.clear(),100>de.length&&de.push(this)},le.prototype.free=le.prototype.Ca,le.prototype.clone=function(){return he(this.b,this.h,this.f-this.h)},le.prototype.clone=le.prototype.clone,le.prototype.clear=function(){this.b=null,this.a=this.f=this.h=0,this.v=!1},le.prototype.clear=le.prototype.clear,le.prototype.Y=function(){return this.b},le.prototype.getBuffer=le.prototype.Y,le.prototype.H=function(e,t,r){this.b=ue(e),this.h=void 0!==t?t:0,this.f=void 0!==r?this.h+r:this.b.length,this.a=this.h},le.prototype.setBlock=le.prototype.H,le.prototype.Db=function(){return this.f},le.prototype.getEnd=le.prototype.Db,le.prototype.setEnd=function(e){this.f=e},le.prototype.setEnd=le.prototype.setEnd,le.prototype.reset=function(){this.a=this.h},le.prototype.reset=le.prototype.reset,le.prototype.B=function(){return this.a},le.prototype.getCursor=le.prototype.B,le.prototype.Ma=function(e){this.a=e},le.prototype.setCursor=le.prototype.Ma,le.prototype.advance=function(e){this.a+=e,fe(this)},le.prototype.advance=le.prototype.advance,le.prototype.ya=function(){return this.a==this.f},le.prototype.atEnd=le.prototype.ya,le.prototype.Qb=function(){return this.a>this.f},le.prototype.pastEnd=le.prototype.Qb,le.prototype.getError=function(){return this.v||0>this.a||this.a>this.f},le.prototype.getError=le.prototype.getError,le.prototype.w=function(e){for(var t=128,r=0,n=0,i=0;4>i&&128<=t;i++)r|=(127&(t=this.b[this.a++]))<<7*i;if(128<=t&&(r|=(127&(t=this.b[this.a++]))<<28,n|=(127&t)>>4),128<=t)for(i=0;5>i&&128<=t;i++)n|=(127&(t=this.b[this.a++]))<<7*i+3;if(128>t)return e(r>>>0,n>>>0);w("Failed to read varint, encoding is invalid."),this.v=!0},le.prototype.readSplitVarint64=le.prototype.w,le.prototype.ea=function(e){return this.w((function(t,r){return Z(t,r,e)}))},le.prototype.readSplitZigzagVarint64=le.prototype.ea,le.prototype.sa=function(e){var t=this.b,r=this.a;this.a+=8;for(var n=0,i=0,o=r+7;o>=r;o--)n=n<<8|t[o],i=i<<8|t[o+4];return e(n,i)},le.prototype.readSplitFixed64=le.prototype.sa,le.prototype.kb=function(){for(;128&this.b[this.a];)this.a++;this.a++},le.prototype.skipVarint=le.prototype.kb,le.prototype.mb=function(e){for(;128<e;)this.a--,e>>>=7;this.a--},le.prototype.unskipVarint=le.prototype.mb,le.prototype.s=function(){var e=this.b,t=e[this.a],r=127&t;return 128>t?(this.a+=1,fe(this),r):(r|=(127&(t=e[this.a+1]))<<7,128>t?(this.a+=2,fe(this),r):(r|=(127&(t=e[this.a+2]))<<14,128>t?(this.a+=3,fe(this),r):(r|=(127&(t=e[this.a+3]))<<21,128>t?(this.a+=4,fe(this),r):(r|=(15&(t=e[this.a+4]))<<28,128>t?(this.a+=5,fe(this),r>>>0):(this.a+=5,128<=e[this.a++]&&128<=e[this.a++]&&128<=e[this.a++]&&128<=e[this.a++]&&128<=e[this.a++]&&b(!1),fe(this),r)))))},le.prototype.readUnsignedVarint32=le.prototype.s,le.prototype.da=function(){return~~this.s()},le.prototype.readSignedVarint32=le.prototype.da,le.prototype.O=function(){return this.s().toString()},le.prototype.Ea=function(){return this.da().toString()},le.prototype.readSignedVarint32String=le.prototype.Ea,le.prototype.Ia=function(){var e=this.s();return e>>>1^-(1&e)},le.prototype.readZigzagVarint32=le.prototype.Ia,le.prototype.Ga=function(){return this.w(J)},le.prototype.readUnsignedVarint64=le.prototype.Ga,le.prototype.Ha=function(){return this.w(re)},le.prototype.readUnsignedVarint64String=le.prototype.Ha,le.prototype.ra=function(){return this.w(Y)},le.prototype.readSignedVarint64=le.prototype.ra,le.prototype.Fa=function(){return this.w(ne)},le.prototype.readSignedVarint64String=le.prototype.Fa,le.prototype.Ja=function(){return this.w(Q)},le.prototype.readZigzagVarint64=le.prototype.Ja,le.prototype.fb=function(){return this.ea(te)},le.prototype.readZigzagVarintHash64=le.prototype.fb,le.prototype.Ka=function(){return this.ea(ne)},le.prototype.readZigzagVarint64String=le.prototype.Ka,le.prototype.Fc=function(){var e=this.b[this.a];return this.a+=1,fe(this),e},le.prototype.readUint8=le.prototype.Fc,le.prototype.Dc=function(){var e=this.b[this.a],t=this.b[this.a+1];return this.a+=2,fe(this),e|t<<8},le.prototype.readUint16=le.prototype.Dc,le.prototype.m=function(){var e=this.b[this.a],t=this.b[this.a+1],r=this.b[this.a+2],n=this.b[this.a+3];return this.a+=4,fe(this),(e|t<<8|r<<16|n<<24)>>>0},le.prototype.readUint32=le.prototype.m,le.prototype.fa=function(){return J(this.m(),this.m())},le.prototype.readUint64=le.prototype.fa,le.prototype.ga=function(){return re(this.m(),this.m())},le.prototype.readUint64String=le.prototype.ga,le.prototype.Xb=function(){var e=this.b[this.a];return this.a+=1,fe(this),e<<24>>24},le.prototype.readInt8=le.prototype.Xb,le.prototype.Vb=function(){var e=this.b[this.a],t=this.b[this.a+1];return this.a+=2,fe(this),(e|t<<8)<<16>>16},le.prototype.readInt16=le.prototype.Vb,le.prototype.P=function(){var e=this.b[this.a],t=this.b[this.a+1],r=this.b[this.a+2],n=this.b[this.a+3];return this.a+=4,fe(this),e|t<<8|r<<16|n<<24},le.prototype.readInt32=le.prototype.P,le.prototype.ba=function(){return Y(this.m(),this.m())},le.prototype.readInt64=le.prototype.ba,le.prototype.ca=function(){return ne(this.m(),this.m())},le.prototype.readInt64String=le.prototype.ca,le.prototype.aa=function(){return $(this.m())},le.prototype.readFloat=le.prototype.aa,le.prototype.Z=function(){return ee(this.m(),this.m())},le.prototype.readDouble=le.prototype.Z,le.prototype.oa=function(){var e=!!this.b[this.a++];return fe(this),e},le.prototype.readBool=le.prototype.oa,le.prototype.qa=function(){return this.da()},le.prototype.readEnum=le.prototype.qa,le.prototype.ta=function(e,t){var r=this.a;this.a+=e,fe(this);var n=b(this.b);if(L){var i;t?(i=U)||(i=U=new TextDecoder("utf-8",{fatal:!0})):(i=D)||(i=D=new TextDecoder("utf-8",{fatal:!1}));var o=r+e;n=0===r&&o===n.length?n:n.subarray(r,o);try{var s=i.decode(n)}catch(e){if(t){if(void 0===W){try{i.decode(new Uint8Array([128]))}catch{}try{i.decode(new Uint8Array([97])),W=!0}catch{W=!1}}t=!W}throw t&&(U=void 0),e}}else{e=r+e,s=[];for(var a,c,u=null;r<e;)128>(a=n[r++])?s.push(a):224>a?r>=e?R(t,s):(c=n[r++],194>a||128!=(192&c)?(r--,R(t,s)):(b(128<=(a=(31&a)<<6|63&c)&&2047>=a),s.push(a))):240>a?r>=e-1?R(t,s):128!=(192&(c=n[r++]))||224===a&&160>c||237===a&&160<=c||128!=(192&(i=n[r++]))?(r--,R(t,s)):(b(2048<=(a=(15&a)<<12|(63&c)<<6|63&i)&&65535>=a),b(55296>a||57343<a),s.push(a)):244>=a?r>=e-2?R(t,s):128!=(192&(c=n[r++]))||c-144+(a<<28)>>30||128!=(192&(i=n[r++]))||128!=(192&(o=n[r++]))?(r--,R(t,s)):(b(65536<=(a=(7&a)<<18|(63&c)<<12|(63&i)<<6|63&o)&&1114111>=a),a-=65536,s.push(55296+(a>>10&1023),56320+(1023&a))):R(t,s),8192<=s.length&&(u=_(u,s),s.length=0);b(r===e,"expected "+r+" === "+e),s=_(u,s)}return s},le.prototype.readString=le.prototype.ta,le.prototype.pa=function(e){if(0>e||this.a+e>this.b.length)return this.v=!0,w("Invalid byte length!"),new Uint8Array(0);var t=this.b.subarray(this.a,this.a+e);return this.a+=e,fe(this),t},le.prototype.readBytes=le.prototype.pa,le.prototype.ha=function(){return this.w(te)},le.prototype.readVarintHash64=le.prototype.ha,le.prototype.$=function(){var e=this.b,t=this.a,r=e[t],n=e[t+1],i=e[t+2],o=e[t+3],s=e[t+4],a=e[t+5],c=e[t+6];return e=e[t+7],this.a+=8,String.fromCharCode(r,n,i,o,s,a,c,e)},le.prototype.readFixedHash64=le.prototype.$,b(!0),u("jspb.BinaryReader",pe,void 0);var ge=[];function ye(e,t,r){if(ge.length){var n=ge.pop();return e&&n.a.H(e,t,r),n}return new pe(e,t,r)}function me(e,t){b(2==e.b);var r=e.a.s();r=e.a.B()+r;for(var n=[];e.a.B()<r;)n.push(t.call(e.a));return n}function be(e,t,r,n,i){this.la=e,this.Ba=t,this.ka=r,this.Na=n,this.ma=i}function we(e,t,r,n,i,o){this.Za=e,this.za=t,this.Aa=r,this.Wa=n,this.Ab=i,this.Nb=o}function ve(){}pe.clearInstanceCache=function(){ge=[]},pe.getInstanceCacheLength=function(){return ge.length},pe.alloc=ye,pe.prototype.zb=ye,pe.prototype.alloc=pe.prototype.zb,pe.prototype.Ca=function(){this.a.clear(),this.b=this.f=-1,this.h=!1,this.v=null,100>ge.length&&ge.push(this)},pe.prototype.free=pe.prototype.Ca,pe.prototype.Fb=function(){return this.O},pe.prototype.getFieldCursor=pe.prototype.Fb,pe.prototype.B=function(){return this.a.B()},pe.prototype.getCursor=pe.prototype.B,pe.prototype.Y=function(){return this.a.Y()},pe.prototype.getBuffer=pe.prototype.Y,pe.prototype.Hb=function(){return this.f},pe.prototype.getFieldNumber=pe.prototype.Hb,pe.prototype.Lb=function(){return this.b},pe.prototype.getWireType=pe.prototype.Lb,pe.prototype.Mb=function(){return 2==this.b},pe.prototype.isDelimited=pe.prototype.Mb,pe.prototype.bb=function(){return 4==this.b},pe.prototype.isEndGroup=pe.prototype.bb,pe.prototype.getError=function(){return this.h||this.a.getError()},pe.prototype.getError=pe.prototype.getError,pe.prototype.H=function(e,t,r){this.a.H(e,t,r),this.b=this.f=-1},pe.prototype.setBlock=pe.prototype.H,pe.prototype.reset=function(){this.a.reset(),this.b=this.f=-1},pe.prototype.reset=pe.prototype.reset,pe.prototype.advance=function(e){this.a.advance(e)},pe.prototype.advance=pe.prototype.advance,pe.prototype.na=function(){if(this.a.ya())return!1;if(this.getError())return w("Decoder hit an error"),!1;this.O=this.a.B();var e=this.a.s(),t=e>>>3;return 0!=(e&=7)&&5!=e&&1!=e&&2!=e&&3!=e&&4!=e?(w("Invalid wire type: %s (at position %s)",e,this.O),this.h=!0,!1):(this.f=t,this.b=e,!0)},pe.prototype.nextField=pe.prototype.na,pe.prototype.Oa=function(){this.a.mb(this.f<<3|this.b)},pe.prototype.unskipHeader=pe.prototype.Oa,pe.prototype.Kc=function(){var e=this.f;for(this.Oa();this.na()&&this.f==e;)this.C();this.a.ya()||this.Oa()},pe.prototype.skipMatchingFields=pe.prototype.Kc,pe.prototype.lb=function(){0!=this.b?(w("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},pe.prototype.skipVarintField=pe.prototype.lb,pe.prototype.gb=function(){if(2!=this.b)w("Invalid wire type for skipDelimitedField"),this.C();else{var e=this.a.s();this.a.advance(e)}},pe.prototype.skipDelimitedField=pe.prototype.gb,pe.prototype.hb=function(){5!=this.b?(w("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},pe.prototype.skipFixed32Field=pe.prototype.hb,pe.prototype.ib=function(){1!=this.b?(w("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},pe.prototype.skipFixed64Field=pe.prototype.ib,pe.prototype.jb=function(){for(var e=this.f;;){if(!this.na()){w("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(4==this.b){this.f!=e&&(w("Unmatched end-group tag"),this.h=!0);break}this.C()}},pe.prototype.skipGroup=pe.prototype.jb,pe.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:w("Invalid wire encoding for field.")}},pe.prototype.skipField=pe.prototype.C,pe.prototype.Gc=function(e,t){null===this.v&&(this.v={}),b(!this.v[e]),this.v[e]=t},pe.prototype.registerReadCallback=pe.prototype.Gc,pe.prototype.Hc=function(e){return b(null!==this.v),b(e=this.v[e]),e(this)},pe.prototype.runReadCallback=pe.prototype.Hc,pe.prototype.Yb=function(e,t){b(2==this.b);var r=this.a.f,n=this.a.s();n=this.a.B()+n,this.a.setEnd(n),t(e,this),this.a.Ma(n),this.a.setEnd(r)},pe.prototype.readMessage=pe.prototype.Yb,pe.prototype.Ub=function(e,t,r){b(3==this.b),b(this.f==e),r(t,this),this.h||4==this.b||(w("Group submessage did not end with an END_GROUP tag"),this.h=!0)},pe.prototype.readGroup=pe.prototype.Ub,pe.prototype.Gb=function(){b(2==this.b);var e=this.a.s(),t=this.a.B(),r=t+e;return e=he(this.a.Y(),t,e),this.a.Ma(r),e},pe.prototype.getFieldDecoder=pe.prototype.Gb,pe.prototype.P=function(){return b(0==this.b),this.a.da()},pe.prototype.readInt32=pe.prototype.P,pe.prototype.Wb=function(){return b(0==this.b),this.a.Ea()},pe.prototype.readInt32String=pe.prototype.Wb,pe.prototype.ba=function(){return b(0==this.b),this.a.ra()},pe.prototype.readInt64=pe.prototype.ba,pe.prototype.ca=function(){return b(0==this.b),this.a.Fa()},pe.prototype.readInt64String=pe.prototype.ca,pe.prototype.m=function(){return b(0==this.b),this.a.s()},pe.prototype.readUint32=pe.prototype.m,pe.prototype.Ec=function(){return b(0==this.b),this.a.O()},pe.prototype.readUint32String=pe.prototype.Ec,pe.prototype.fa=function(){return b(0==this.b),this.a.Ga()},pe.prototype.readUint64=pe.prototype.fa,pe.prototype.ga=function(){return b(0==this.b),this.a.Ha()},pe.prototype.readUint64String=pe.prototype.ga,pe.prototype.zc=function(){return b(0==this.b),this.a.Ia()},pe.prototype.readSint32=pe.prototype.zc,pe.prototype.Ac=function(){return b(0==this.b),this.a.Ja()},pe.prototype.readSint64=pe.prototype.Ac,pe.prototype.Bc=function(){return b(0==this.b),this.a.Ka()},pe.prototype.readSint64String=pe.prototype.Bc,pe.prototype.Rb=function(){return b(5==this.b),this.a.m()},pe.prototype.readFixed32=pe.prototype.Rb,pe.prototype.Sb=function(){return b(1==this.b),this.a.fa()},pe.prototype.readFixed64=pe.prototype.Sb,pe.prototype.Tb=function(){return b(1==this.b),this.a.ga()},pe.prototype.readFixed64String=pe.prototype.Tb,pe.prototype.vc=function(){return b(5==this.b),this.a.P()},pe.prototype.readSfixed32=pe.prototype.vc,pe.prototype.wc=function(){return b(5==this.b),this.a.P().toString()},pe.prototype.readSfixed32String=pe.prototype.wc,pe.prototype.xc=function(){return b(1==this.b),this.a.ba()},pe.prototype.readSfixed64=pe.prototype.xc,pe.prototype.yc=function(){return b(1==this.b),this.a.ca()},pe.prototype.readSfixed64String=pe.prototype.yc,pe.prototype.aa=function(){return b(5==this.b),this.a.aa()},pe.prototype.readFloat=pe.prototype.aa,pe.prototype.Z=function(){return b(1==this.b),this.a.Z()},pe.prototype.readDouble=pe.prototype.Z,pe.prototype.oa=function(){return b(0==this.b),!!this.a.s()},pe.prototype.readBool=pe.prototype.oa,pe.prototype.qa=function(){return b(0==this.b),this.a.ra()},pe.prototype.readEnum=pe.prototype.qa,pe.prototype.ta=function(){b(2==this.b);var e=this.a.s();return this.a.ta(e,!0)},pe.prototype.readString=pe.prototype.ta,pe.prototype.pa=function(){b(2==this.b);var e=this.a.s();return this.a.pa(e)},pe.prototype.readBytes=pe.prototype.pa,pe.prototype.ha=function(){return b(0==this.b),this.a.ha()},pe.prototype.readVarintHash64=pe.prototype.ha,pe.prototype.Cc=function(){return b(0==this.b),this.a.fb()},pe.prototype.readSintHash64=pe.prototype.Cc,pe.prototype.w=function(e){return b(0==this.b),this.a.w(e)},pe.prototype.readSplitVarint64=pe.prototype.w,pe.prototype.ea=function(e){return b(0==this.b),this.a.w((function(t,r){return Z(t,r,e)}))},pe.prototype.readSplitZigzagVarint64=pe.prototype.ea,pe.prototype.$=function(){return b(1==this.b),this.a.$()},pe.prototype.readFixedHash64=pe.prototype.$,pe.prototype.sa=function(e){return b(1==this.b),this.a.sa(e)},pe.prototype.readSplitFixed64=pe.prototype.sa,pe.prototype.gc=function(){return me(this,this.a.da)},pe.prototype.readPackedInt32=pe.prototype.gc,pe.prototype.hc=function(){return me(this,this.a.Ea)},pe.prototype.readPackedInt32String=pe.prototype.hc,pe.prototype.ic=function(){return me(this,this.a.ra)},pe.prototype.readPackedInt64=pe.prototype.ic,pe.prototype.jc=function(){return me(this,this.a.Fa)},pe.prototype.readPackedInt64String=pe.prototype.jc,pe.prototype.qc=function(){return me(this,this.a.s)},pe.prototype.readPackedUint32=pe.prototype.qc,pe.prototype.rc=function(){return me(this,this.a.O)},pe.prototype.readPackedUint32String=pe.prototype.rc,pe.prototype.sc=function(){return me(this,this.a.Ga)},pe.prototype.readPackedUint64=pe.prototype.sc,pe.prototype.tc=function(){return me(this,this.a.Ha)},pe.prototype.readPackedUint64String=pe.prototype.tc,pe.prototype.nc=function(){return me(this,this.a.Ia)},pe.prototype.readPackedSint32=pe.prototype.nc,pe.prototype.oc=function(){return me(this,this.a.Ja)},pe.prototype.readPackedSint64=pe.prototype.oc,pe.prototype.pc=function(){return me(this,this.a.Ka)},pe.prototype.readPackedSint64String=pe.prototype.pc,pe.prototype.bc=function(){return me(this,this.a.m)},pe.prototype.readPackedFixed32=pe.prototype.bc,pe.prototype.cc=function(){return me(this,this.a.fa)},pe.prototype.readPackedFixed64=pe.prototype.cc,pe.prototype.dc=function(){return me(this,this.a.ga)},pe.prototype.readPackedFixed64String=pe.prototype.dc,pe.prototype.kc=function(){return me(this,this.a.P)},pe.prototype.readPackedSfixed32=pe.prototype.kc,pe.prototype.lc=function(){return me(this,this.a.ba)},pe.prototype.readPackedSfixed64=pe.prototype.lc,pe.prototype.mc=function(){return me(this,this.a.ca)},pe.prototype.readPackedSfixed64String=pe.prototype.mc,pe.prototype.fc=function(){return me(this,this.a.aa)},pe.prototype.readPackedFloat=pe.prototype.fc,pe.prototype.$b=function(){return me(this,this.a.Z)},pe.prototype.readPackedDouble=pe.prototype.$b,pe.prototype.Zb=function(){return me(this,this.a.oa)},pe.prototype.readPackedBool=pe.prototype.Zb,pe.prototype.ac=function(){return me(this,this.a.qa)},pe.prototype.readPackedEnum=pe.prototype.ac,pe.prototype.uc=function(){return me(this,this.a.ha)},pe.prototype.readPackedVarintHash64=pe.prototype.uc,pe.prototype.ec=function(){return me(this,this.a.$)},pe.prototype.readPackedFixedHash64=pe.prototype.ec,u("jspb.ExtensionFieldInfo",be,void 0),u("jspb.ExtensionFieldBinaryInfo",we,void 0),be.prototype.F=function(){return!!this.ka},be.prototype.isMessageType=be.prototype.F,u("jspb.Message",ve,void 0),ve.GENERATE_TO_OBJECT=!0,ve.GENERATE_FROM_OBJECT=!0;var Ae="function"==typeof Uint8Array;ve.prototype.Ib=function(){return this.b},ve.prototype.getJsPbMessageId=ve.prototype.Ib,ve.initialize=function(e,t,r,n,i,o){if(e.c=null,t||(t=r?[r]:[]),e.b=r?String(r):void 0,e.D=0===r?-1:0,e.u=t,t=-1,!(r=e.u.length)||(t=r-1,null===(r=e.u[t])||"object"!=typeof r||Array.isArray(r)||Ae&&r instanceof Uint8Array)?-1<n?(e.G=Math.max(n,t+1-e.D),e.i=null):e.G=Number.MAX_VALUE:(e.G=t-e.D,e.i=r),e.a={},i)for(n=0;n<i.length;n++)(t=i[n])<e.G?(t+=e.D,e.u[t]=e.u[t]||Ee):(Te(e),e.i[t]=e.i[t]||Ee);if(o&&o.length)for(n=0;n<o.length;n++)_e(e,o[n])};var Ee=Object.freeze?Object.freeze([]):[];function Te(e){var t=e.G+e.D;e.u[t]||(e.i=e.u[t]={})}function Ce(e,t,r){for(var n=[],i=0;i<e.length;i++)n[i]=t.call(e[i],r,e[i]);return n}function Se(e,t){if(t<e.G){t+=e.D;var r=e.u[t];return r===Ee?e.u[t]=[]:r}if(e.i)return(r=e.i[t])===Ee?e.i[t]=[]:r}function Ie(e,t){return null==(e=Se(e,t))?e:+e}function Oe(e,t){return null==(e=Se(e,t))?e:!!e}function Me(e){return null==e||"string"==typeof e?e:Ae&&e instanceof Uint8Array?B(e):(w("Cannot coerce to b64 string: "+l(e)),null)}function Pe(e){return null==e||e instanceof Uint8Array?e:"string"==typeof e?x(e):(w("Cannot coerce to Uint8Array: "+l(e)),null)}function ke(e){if(e&&1<e.length){var t=l(e[0]);f(e,(function(e){l(e)!=t&&w("Inconsistent type in JSPB repeated field array. Got "+l(e)+" expected "+t)}))}}function Be(e,t,r){return(e=Se(e,t))??r}function xe(e,t,r){return v(e,ve),t<e.G?e.u[t+e.D]=r:(Te(e),e.i[t]=r),e}function Ne(e,t,r,n){return v(e,ve),r!==n?xe(e,t,r):t<e.G?e.u[t+e.D]=null:(Te(e),delete e.i[t]),e}function Re(e,t,r,n){return v(e,ve),(r=_e(e,r))&&r!==t&&void 0!==n&&(e.c&&r in e.c&&(e.c[r]=void 0),xe(e,r,void 0)),xe(e,t,n)}function _e(e,t){for(var r,n,i=0;i<t.length;i++){var o=t[i],s=Se(e,o);null!=s&&(r=o,n=s,xe(e,o,void 0))}return r?(xe(e,r,n),r):0}function Ue(e,t,r){if(e.c||(e.c={}),!e.c[r]){for(var n=Se(e,r),i=[],o=0;o<n.length;o++)i[o]=new t(n[o]);e.c[r]=i}}function De(e){if(e.c)for(var t in e.c){var r=e.c[t];if(Array.isArray(r))for(var n=0;n<r.length;n++)r[n]&&r[n].g();else r&&r.g()}}function We(e,t){e=e||{},t=t||{};var r,n={};for(r in e)n[r]=0;for(r in t)n[r]=0;for(r in n)if(!Le(e[r],t[r]))return!1;return!0}function Le(e,t){if(e==t)return!0;if(!d(e)||!d(t))return!!("number"==typeof e&&isNaN(e)||"number"==typeof t&&isNaN(t))&&String(e)==String(t);if(e.constructor!=t.constructor)return!1;if(Ae&&e.constructor===Uint8Array){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!=t[r])return!1;return!0}if(e.constructor===Array){var n=void 0,i=void 0,o=Math.max(e.length,t.length);for(r=0;r<o;r++){var s=e[r],a=t[r];if(s&&s.constructor==Object&&(b(void 0===n),b(r===e.length-1),n=s,s=void 0),a&&a.constructor==Object&&(b(void 0===i),b(r===t.length-1),i=a,a=void 0),!Le(s,a))return!1}return!n&&!i||We(n=n||{},i=i||{})}if(e.constructor===Object)return We(e,t);throw Error("Invalid type in JSPB array")}function ze(e){return new e.constructor(Fe(e.g()))}function Fe(e){if(Array.isArray(e)){for(var t=Array(e.length),r=0;r<e.length;r++){var n=e[r];null!=n&&(t[r]="object"==typeof n?Fe(b(n)):n)}return t}if(Ae&&e instanceof Uint8Array)return new Uint8Array(e);for(r in t={},e)null!=(n=e[r])&&(t[r]="object"==typeof n?Fe(b(n)):n);return t}ve.toObjectList=Ce,ve.toObjectExtension=function(e,t,r,n,i){for(var o in r){var s=r[o],a=n.call(e,s);if(null!=a){for(var c in s.Ba)if(s.Ba.hasOwnProperty(c))break;t[c]=s.Na?s.ma?Ce(a,s.Na,i):s.Na(i,a):a}}},ve.serializeBinaryExtensions=function(e,t,r,n){for(var i in r){var o=r[i],s=o.Za;if(!o.Aa)throw Error("Message extension present that was generated without binary serialization support");var a=n.call(e,s);if(null!=a)if(s.F()){if(!o.Wa)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");o.Aa.call(t,s.la,a,o.Wa)}else o.Aa.call(t,s.la,a)}},ve.readBinaryExtension=function(e,t,r,n,i){var o=r[t.f];if(o){if(r=o.Za,!o.za)throw Error("Deserializing extension whose generated code does not support binary format");if(r.F()){var s=new r.ka;o.za.call(t,s,o.Ab)}else s=o.za.call(t);r.ma&&!o.Nb?(t=n.call(e,r))?t.push(s):i.call(e,r,[s]):i.call(e,r,s)}else t.C()},ve.getField=Se,ve.getRepeatedField=function(e,t){return Se(e,t)},ve.getOptionalFloatingPointField=Ie,ve.getBooleanField=Oe,ve.getRepeatedFloatingPointField=function(e,t){var r=Se(e,t);if(e.a||(e.a={}),!e.a[t]){for(var n=0;n<r.length;n++)r[n]=+r[n];e.a[t]=!0}return r},ve.getRepeatedBooleanField=function(e,t){var r=Se(e,t);if(e.a||(e.a={}),!e.a[t]){for(var n=0;n<r.length;n++)r[n]=!!r[n];e.a[t]=!0}return r},ve.bytesAsB64=Me,ve.bytesAsU8=Pe,ve.bytesListAsB64=function(e){return ke(e),e.length&&"string"!=typeof e[0]?p(e,Me):e},ve.bytesListAsU8=function(e){return ke(e),!e.length||e[0]instanceof Uint8Array?e:p(e,Pe)},ve.getFieldWithDefault=Be,ve.getBooleanFieldWithDefault=function(e,t,r){return(e=Oe(e,t))??r},ve.getFloatingPointFieldWithDefault=function(e,t,r){return(e=Ie(e,t))??r},ve.getFieldProto3=Be,ve.getMapField=function(e,t,r,n){if(e.c||(e.c={}),t in e.c)return e.c[t];var i=Se(e,t);if(!i){if(r)return;xe(e,t,i=[])}return e.c[t]=new E(i,n)},ve.setField=xe,ve.setProto3IntField=function(e,t,r){return Ne(e,t,r,0)},ve.setProto3FloatField=function(e,t,r){return Ne(e,t,r,0)},ve.setProto3BooleanField=function(e,t,r){return Ne(e,t,r,!1)},ve.setProto3StringField=function(e,t,r){return Ne(e,t,r,"")},ve.setProto3BytesField=function(e,t,r){return Ne(e,t,r,"")},ve.setProto3EnumField=function(e,t,r){return Ne(e,t,r,0)},ve.setProto3StringIntField=function(e,t,r){return Ne(e,t,r,"0")},ve.addToRepeatedField=function(e,t,r,n){return v(e,ve),t=Se(e,t),null!=n?t.splice(n,0,r):t.push(r),e},ve.setOneofField=Re,ve.computeOneofCase=_e,ve.getWrapperField=function(e,t,r,n){if(e.c||(e.c={}),!e.c[r]){var i=Se(e,r);(n||i)&&(e.c[r]=new t(i))}return e.c[r]},ve.getRepeatedWrapperField=function(e,t,r){return Ue(e,t,r),(t=e.c[r])==Ee&&(t=e.c[r]=[]),t},ve.setWrapperField=function(e,t,r){v(e,ve),e.c||(e.c={});var n=r&&r.g();return e.c[t]=r,xe(e,t,n)},ve.setOneofWrapperField=function(e,t,r,n){v(e,ve),e.c||(e.c={});var i=n&&n.g();return e.c[t]=n,Re(e,t,r,i)},ve.setRepeatedWrapperField=function(e,t,r){v(e,ve),e.c||(e.c={}),r=r||[];for(var n=[],i=0;i<r.length;i++)n[i]=r[i].g();return e.c[t]=r,xe(e,t,n)},ve.addToRepeatedWrapperField=function(e,t,r,n,i){Ue(e,n,t);var o=e.c[t];return o||(o=e.c[t]=[]),r=r||new n,e=Se(e,t),null!=i?(o.splice(i,0,r),e.splice(i,0,r.g())):(o.push(r),e.push(r.g())),r},ve.toMap=function(e,t,r,n){for(var i={},o=0;o<e.length;o++)i[t.call(e[o])]=r?r.call(e[o],n,e[o]):e[o];return i},ve.prototype.g=function(){return De(this),this.u},ve.prototype.toArray=ve.prototype.g,ve.prototype.toString=function(){return De(this),this.u.toString()},ve.prototype.getExtension=function(e){if(this.i){this.c||(this.c={});var t=e.la;if(e.ma){if(e.F())return this.c[t]||(this.c[t]=p(this.i[t]||[],(function(t){return new e.ka(t)}))),this.c[t]}else if(e.F())return!this.c[t]&&this.i[t]&&(this.c[t]=new e.ka(this.i[t])),this.c[t];return this.i[t]}},ve.prototype.getExtension=ve.prototype.getExtension,ve.prototype.Jc=function(e,t){this.c||(this.c={}),Te(this);var r=e.la;return e.ma?(t=t||[],e.F()?(this.c[r]=t,this.i[r]=p(t,(function(e){return e.g()}))):this.i[r]=t):e.F()?(this.c[r]=t,this.i[r]=t&&t.g()):this.i[r]=t,this},ve.prototype.setExtension=ve.prototype.Jc,ve.difference=function(e,t){if(!(e instanceof t.constructor))throw Error("Messages have different types.");var r=e.g();t=t.g();var n=[],i=0,o=r.length>t.length?r.length:t.length;for(e.b&&(n[0]=e.b,i=1);i<o;i++)Le(r[i],t[i])||(n[i]=t[i]);return new e.constructor(n)},ve.equals=function(e,t){return e==t||!(!e||!t)&&e instanceof t.constructor&&Le(e.g(),t.g())},ve.compareExtensions=We,ve.compareFields=Le,ve.prototype.Bb=function(){return ze(this)},ve.prototype.cloneMessage=ve.prototype.Bb,ve.prototype.clone=function(){return ze(this)},ve.prototype.clone=ve.prototype.clone,ve.clone=function(e){return ze(e)},ve.copyInto=function(e,t){v(e,ve),v(t,ve),b(e.constructor==t.constructor,"Copy source and target message should have the same type."),e=ze(e);for(var r=t.g(),n=e.g(),i=r.length=0;i<n.length;i++)r[i]=n[i];t.c=e.c,t.i=e.i},ve.registerMessageType=function(e,t){t.ve=e};var Ke={dump:function(e){return v(e,ve,"jspb.Message instance expected"),b(e.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),Ke.X(e)}};function je(){this.a=[]}function He(e,t){this.lo=e,this.hi=t}function Ge(e,t){var r=65535&e,n=65535&t,i=t>>>16;for(t=r*n+65536*(r*i&65535)+65536*((e>>>=16)*n&65535),r=e*i+(r*i>>>16)+(e*n>>>16);4294967296<=t;)t-=4294967296,r+=1;return new He(t>>>0,r>>>0)}function Ve(e){for(var t=new He(0,0),r=new He(0,0),n=0;n<e.length;n++){if("0">e[n]||"9"<e[n])return null;r.lo=parseInt(e[n],10),t=t.eb(10).add(r)}return t}function qe(e,t){this.lo=e,this.hi=t}function Je(e){var t=0<e.length&&"-"==e[0];return t&&(e=e.substring(1)),null===(e=Ve(e))?null:(t&&(e=new He(0,0).sub(e)),new qe(e.lo,e.hi))}function Ye(){this.f=[],this.b=0,this.a=new je,this.h=[]}function Xe(e,t){var r=e.a.end();e.f.push(r),e.f.push(t),e.b+=r.length+t.length}function Qe(e,t){return $e(e,t,2),t=e.a.end(),e.f.push(t),e.b+=t.length,t.push(e.b),t}function Ze(e,t){var r=t.pop();for(b(0<=(r=e.b+e.a.length()-r));127<r;)t.push(127&r|128),r>>>=7,e.b++;t.push(r),e.b++}function $e(e,t,r){b(1<=t&&t==Math.floor(t)),e.a.j(8*t+r)}function et(e,t,r){null!=r&&($e(e,t,0),e.a.j(r))}function tt(e,t,r){null!=r&&($e(e,t,0),e.a.M(r))}u("jspb.debug.dump",Ke.dump,void 0),Ke.X=function(e){var t=l(e);if("number"==t||"string"==t||"boolean"==t||"null"==t||"undefined"==t||typeof Uint8Array<"u"&&e instanceof Uint8Array)return e;if("array"==t)return function(e,t,r){for(var n=[],i=2;i<arguments.length;++i)n[i-2]=arguments[i];Array.isArray(e)||y("Expected array but got %s: %s.",[l(e),e],t,n)}(e),p(e,Ke.X);if(e instanceof E){for(var r={},n=(e=e.entries()).next();!n.done;n=e.next())r[n.value[0]]=Ke.X(n.value[1]);return r}v(e,ve,"Only messages expected: "+e);var i={$name:(t=e.constructor).name||t.displayName};for(a in t.prototype){var o=/^get([A-Z]\w*)/.exec(a);if(o&&"getExtension"!=a&&"getJsPbMessageId"!=a){var s="has"+o[1];(!e[s]||e[s]())&&(s=e[a](),i[Ke.$a(o[1])]=Ke.X(s))}}if(e.extensionObject_)return i.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",i;for(n in t.extensions)if(/^\d+$/.test(n)){s=t.extensions[n];var a=e.getExtension(s);o=void 0,s=s.Ba;var c=[],u=0;for(o in s)c[u++]=o;o=c[0],null!=a&&(r||(r=i.$extensions={}),r[Ke.$a(o)]=Ke.X(a))}return i},Ke.$a=function(e){return e.replace(/^[A-Z]/,(function(e){return e.toLowerCase()}))},u("jspb.BinaryEncoder",je,void 0),je.prototype.length=function(){return this.a.length},je.prototype.length=je.prototype.length,je.prototype.end=function(){var e=this.a;return this.a=[],e},je.prototype.end=je.prototype.end,je.prototype.l=function(e,t){for(b(e==Math.floor(e)),b(t==Math.floor(t)),b(0<=e&&4294967296>e),b(0<=t&&4294967296>t);0<t||127<e;)this.a.push(127&e|128),e=(e>>>7|t<<25)>>>0,t>>>=7;this.a.push(e)},je.prototype.writeSplitVarint64=je.prototype.l,je.prototype.A=function(e,t){b(e==Math.floor(e)),b(t==Math.floor(t)),b(0<=e&&4294967296>e),b(0<=t&&4294967296>t),this.o(e),this.o(t)},je.prototype.writeSplitFixed64=je.prototype.A,je.prototype.j=function(e){for(b(e==Math.floor(e)),b(0<=e&&4294967296>e);127<e;)this.a.push(127&e|128),e>>>=7;this.a.push(e)},je.prototype.writeUnsignedVarint32=je.prototype.j,je.prototype.M=function(e){if(b(e==Math.floor(e)),b(-2147483648<=e&&2147483648>e),0<=e)this.j(e);else{for(var t=0;9>t;t++)this.a.push(127&e|128),e>>=7;this.a.push(1)}},je.prototype.writeSignedVarint32=je.prototype.M,je.prototype.va=function(e){b(e==Math.floor(e)),b(0<=e&&0x10000000000000000>e),j(e),this.l(z,F)},je.prototype.writeUnsignedVarint64=je.prototype.va,je.prototype.ua=function(e){b(e==Math.floor(e)),b(-0x8000000000000000<=e&&0x8000000000000000>e),j(e),this.l(z,F)},je.prototype.writeSignedVarint64=je.prototype.ua,je.prototype.wa=function(e){b(e==Math.floor(e)),b(-2147483648<=e&&2147483648>e),this.j((e<<1^e>>31)>>>0)},je.prototype.writeZigzagVarint32=je.prototype.wa,je.prototype.xa=function(e){b(e==Math.floor(e)),b(-0x8000000000000000<=e&&0x8000000000000000>e),H(e),this.l(z,F)},je.prototype.writeZigzagVarint64=je.prototype.xa,je.prototype.Ta=function(e){this.W(oe(e))},je.prototype.writeZigzagVarint64String=je.prototype.Ta,je.prototype.W=function(e){var t=this;q(e),X(z,F,(function(e,r){t.l(e>>>0,r>>>0)}))},je.prototype.writeZigzagVarintHash64=je.prototype.W,je.prototype.ae=function(e){b(e==Math.floor(e)),b(0<=e&&256>e),this.a.push(e>>>0&255)},je.prototype.writeUint8=je.prototype.ae,je.prototype.$d=function(e){b(e==Math.floor(e)),b(0<=e&&65536>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255)},je.prototype.writeUint16=je.prototype.$d,je.prototype.o=function(e){b(e==Math.floor(e)),b(0<=e&&4294967296>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255),this.a.push(e>>>16&255),this.a.push(e>>>24&255)},je.prototype.writeUint32=je.prototype.o,je.prototype.V=function(e){b(e==Math.floor(e)),b(0<=e&&0x10000000000000000>e),K(e),this.o(z),this.o(F)},je.prototype.writeUint64=je.prototype.V,je.prototype.Pc=function(e){b(e==Math.floor(e)),b(-128<=e&&128>e),this.a.push(e>>>0&255)},je.prototype.writeInt8=je.prototype.Pc,je.prototype.Oc=function(e){b(e==Math.floor(e)),b(-32768<=e&&32768>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255)},je.prototype.writeInt16=je.prototype.Oc,je.prototype.S=function(e){b(e==Math.floor(e)),b(-2147483648<=e&&2147483648>e),this.a.push(e>>>0&255),this.a.push(e>>>8&255),this.a.push(e>>>16&255),this.a.push(e>>>24&255)},je.prototype.writeInt32=je.prototype.S,je.prototype.T=function(e){b(e==Math.floor(e)),b(-0x8000000000000000<=e&&0x8000000000000000>e),j(e),this.A(z,F)},je.prototype.writeInt64=je.prototype.T,je.prototype.ja=function(e){b(e==Math.floor(e)),b(-0x8000000000000000<=+e&&0x8000000000000000>+e),q(oe(e)),this.A(z,F)},je.prototype.writeInt64String=je.prototype.ja,je.prototype.L=function(e){b(e===1/0||e===-1/0||isNaN(e)||-34028234663852886e22<=e&&34028234663852886e22>=e),G(e),this.o(z)},je.prototype.writeFloat=je.prototype.L,je.prototype.J=function(e){b(e===1/0||e===-1/0||isNaN(e)||-17976931348623157e292<=e&&17976931348623157e292>=e),V(e),this.o(z),this.o(F)},je.prototype.writeDouble=je.prototype.J,je.prototype.I=function(e){b("boolean"==typeof e||"number"==typeof e),this.a.push(e?1:0)},je.prototype.writeBool=je.prototype.I,je.prototype.R=function(e){b(e==Math.floor(e)),b(-2147483648<=e&&2147483648>e),this.M(e)},je.prototype.writeEnum=je.prototype.R,je.prototype.ia=function(e){this.a.push.apply(this.a,e)},je.prototype.writeBytes=je.prototype.ia,je.prototype.N=function(e){q(e),this.l(z,F)},je.prototype.writeVarintHash64=je.prototype.N,je.prototype.K=function(e){q(e),this.o(z),this.o(F)},je.prototype.writeFixedHash64=je.prototype.K,je.prototype.U=function(e){var t=this.a.length;!function(e,t,r){for(var n=[],i=2;i<arguments.length;++i)n[i-2]=arguments[i];"string"!=typeof e&&y("Expected string but got %s: %s.",[l(e),e],t,n)}(e);for(var r=0;r<e.length;r++){var n=e.charCodeAt(r);if(128>n)this.a.push(n);else if(2048>n)this.a.push(n>>6|192),this.a.push(63&n|128);else if(65536>n)if(55296<=n&&56319>=n&&r+1<e.length){var i=e.charCodeAt(r+1);56320<=i&&57343>=i&&(n=1024*(n-55296)+i-56320+65536,this.a.push(n>>18|240),this.a.push(n>>12&63|128),this.a.push(n>>6&63|128),this.a.push(63&n|128),r++)}else this.a.push(n>>12|224),this.a.push(n>>6&63|128),this.a.push(63&n|128)}return this.a.length-t},je.prototype.writeString=je.prototype.U,u("jspb.arith.UInt64",He,void 0),He.prototype.cmp=function(e){return this.hi<e.hi||this.hi==e.hi&&this.lo<e.lo?-1:this.hi==e.hi&&this.lo==e.lo?0:1},He.prototype.cmp=He.prototype.cmp,He.prototype.La=function(){return new He((this.lo>>>1|(1&this.hi)<<31)>>>0,this.hi>>>1>>>0)},He.prototype.rightShift=He.prototype.La,He.prototype.Da=function(){return new He(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},He.prototype.leftShift=He.prototype.Da,He.prototype.cb=function(){return!!(2147483648&this.hi)},He.prototype.msb=He.prototype.cb,He.prototype.Ob=function(){return!!(1&this.lo)},He.prototype.lsb=He.prototype.Ob,He.prototype.Ua=function(){return 0==this.lo&&0==this.hi},He.prototype.zero=He.prototype.Ua,He.prototype.add=function(e){return new He((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},He.prototype.add=He.prototype.add,He.prototype.sub=function(e){return new He((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},He.prototype.sub=He.prototype.sub,He.mul32x32=Ge,He.prototype.eb=function(e){var t=Ge(this.lo,e);return(e=Ge(this.hi,e)).hi=e.lo,e.lo=0,t.add(e)},He.prototype.mul=He.prototype.eb,He.prototype.Xa=function(e){if(0==e)return[];var t=new He(0,0),r=new He(this.lo,this.hi);e=new He(e,0);for(var n=new He(1,0);!e.cb();)e=e.Da(),n=n.Da();for(;!n.Ua();)0>=e.cmp(r)&&(t=t.add(n),r=r.sub(e)),e=e.La(),n=n.La();return[t,r]},He.prototype.div=He.prototype.Xa,He.prototype.toString=function(){for(var e="",t=this;!t.Ua();){var r=(t=t.Xa(10))[0];e=t[1].lo+e,t=r}return""==e&&(e="0"),e},He.prototype.toString=He.prototype.toString,He.fromString=Ve,He.prototype.clone=function(){return new He(this.lo,this.hi)},He.prototype.clone=He.prototype.clone,u("jspb.arith.Int64",qe,void 0),qe.prototype.add=function(e){return new qe((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},qe.prototype.add=qe.prototype.add,qe.prototype.sub=function(e){return new qe((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},qe.prototype.sub=qe.prototype.sub,qe.prototype.clone=function(){return new qe(this.lo,this.hi)},qe.prototype.clone=qe.prototype.clone,qe.prototype.toString=function(){var e=!!(2147483648&this.hi),t=new He(this.lo,this.hi);return e&&(t=new He(0,0).sub(t)),(e?"-":"")+t.toString()},qe.prototype.toString=qe.prototype.toString,qe.fromString=Je,u("jspb.BinaryWriter",Ye,void 0),Ye.prototype.pb=function(e,t,r){Xe(this,e.subarray(t,r))},Ye.prototype.writeSerializedMessage=Ye.prototype.pb,Ye.prototype.Pb=function(e,t,r){null!=e&&null!=t&&null!=r&&this.pb(e,t,r)},Ye.prototype.maybeWriteSerializedMessage=Ye.prototype.Pb,Ye.prototype.reset=function(){this.f=[],this.a.end(),this.b=0,this.h=[]},Ye.prototype.reset=Ye.prototype.reset,Ye.prototype.ab=function(){b(0==this.h.length);for(var e=new Uint8Array(this.b+this.a.length()),t=this.f,r=t.length,n=0,i=0;i<r;i++){var o=t[i];e.set(o,n),n+=o.length}return t=this.a.end(),e.set(t,n),b((n+=t.length)==e.length),this.f=[e],e},Ye.prototype.getResultBuffer=Ye.prototype.ab,Ye.prototype.Kb=function(e){return B(this.ab(),e)},Ye.prototype.getResultBase64String=Ye.prototype.Kb,Ye.prototype.Va=function(e){this.h.push(Qe(this,e))},Ye.prototype.beginSubMessage=Ye.prototype.Va,Ye.prototype.Ya=function(){b(0<=this.h.length),Ze(this,this.h.pop())},Ye.prototype.endSubMessage=Ye.prototype.Ya,Ye.prototype.Mc=function(e,t,r){switch(e){case 1:this.J(t,r);break;case 2:this.L(t,r);break;case 3:this.T(t,r);break;case 4:this.V(t,r);break;case 5:this.S(t,r);break;case 6:this.Qa(t,r);break;case 7:this.Pa(t,r);break;case 8:this.I(t,r);break;case 9:this.U(t,r);break;case 10:w("Group field type not supported in writeAny()");break;case 11:w("Message field type not supported in writeAny()");break;case 12:this.ia(t,r);break;case 13:this.o(t,r);break;case 14:this.R(t,r);break;case 15:this.Ra(t,r);break;case 16:this.Sa(t,r);break;case 17:this.rb(t,r);break;case 18:this.sb(t,r);break;case 30:this.K(t,r);break;case 31:this.N(t,r);break;default:w("Invalid field type in writeAny()")}},Ye.prototype.writeAny=Ye.prototype.Mc,Ye.prototype.S=function(e,t){null!=t&&(b(-2147483648<=t&&2147483648>t),tt(this,e,t))},Ye.prototype.writeInt32=Ye.prototype.S,Ye.prototype.ob=function(e,t){null!=t&&(b(-2147483648<=(t=parseInt(t,10))&&2147483648>t),tt(this,e,t))},Ye.prototype.writeInt32String=Ye.prototype.ob,Ye.prototype.T=function(e,t){null!=t&&(b(-0x8000000000000000<=t&&0x8000000000000000>t),null!=t&&($e(this,e,0),this.a.ua(t)))},Ye.prototype.writeInt64=Ye.prototype.T,Ye.prototype.ja=function(e,t){null!=t&&(t=Je(t),$e(this,e,0),this.a.l(t.lo,t.hi))},Ye.prototype.writeInt64String=Ye.prototype.ja,Ye.prototype.o=function(e,t){null!=t&&(b(0<=t&&4294967296>t),et(this,e,t))},Ye.prototype.writeUint32=Ye.prototype.o,Ye.prototype.ub=function(e,t){null!=t&&(b(0<=(t=parseInt(t,10))&&4294967296>t),et(this,e,t))},Ye.prototype.writeUint32String=Ye.prototype.ub,Ye.prototype.V=function(e,t){null!=t&&(b(0<=t&&0x10000000000000000>t),null!=t&&($e(this,e,0),this.a.va(t)))},Ye.prototype.writeUint64=Ye.prototype.V,Ye.prototype.vb=function(e,t){null!=t&&(t=Ve(t),$e(this,e,0),this.a.l(t.lo,t.hi))},Ye.prototype.writeUint64String=Ye.prototype.vb,Ye.prototype.rb=function(e,t){null!=t&&(b(-2147483648<=t&&2147483648>t),null!=t&&($e(this,e,0),this.a.wa(t)))},Ye.prototype.writeSint32=Ye.prototype.rb,Ye.prototype.sb=function(e,t){null!=t&&(b(-0x8000000000000000<=t&&0x8000000000000000>t),null!=t&&($e(this,e,0),this.a.xa(t)))},Ye.prototype.writeSint64=Ye.prototype.sb,Ye.prototype.Zd=function(e,t){null!=t&&null!=t&&($e(this,e,0),this.a.W(t))},Ye.prototype.writeSintHash64=Ye.prototype.Zd,Ye.prototype.Yd=function(e,t){null!=t&&null!=t&&($e(this,e,0),this.a.Ta(t))},Ye.prototype.writeSint64String=Ye.prototype.Yd,Ye.prototype.Pa=function(e,t){null!=t&&(b(0<=t&&4294967296>t),$e(this,e,5),this.a.o(t))},Ye.prototype.writeFixed32=Ye.prototype.Pa,Ye.prototype.Qa=function(e,t){null!=t&&(b(0<=t&&0x10000000000000000>t),$e(this,e,1),this.a.V(t))},Ye.prototype.writeFixed64=Ye.prototype.Qa,Ye.prototype.nb=function(e,t){null!=t&&(t=Ve(t),$e(this,e,1),this.a.A(t.lo,t.hi))},Ye.prototype.writeFixed64String=Ye.prototype.nb,Ye.prototype.Ra=function(e,t){null!=t&&(b(-2147483648<=t&&2147483648>t),$e(this,e,5),this.a.S(t))},Ye.prototype.writeSfixed32=Ye.prototype.Ra,Ye.prototype.Sa=function(e,t){null!=t&&(b(-0x8000000000000000<=t&&0x8000000000000000>t),$e(this,e,1),this.a.T(t))},Ye.prototype.writeSfixed64=Ye.prototype.Sa,Ye.prototype.qb=function(e,t){null!=t&&(t=Je(t),$e(this,e,1),this.a.A(t.lo,t.hi))},Ye.prototype.writeSfixed64String=Ye.prototype.qb,Ye.prototype.L=function(e,t){null!=t&&($e(this,e,5),this.a.L(t))},Ye.prototype.writeFloat=Ye.prototype.L,Ye.prototype.J=function(e,t){null!=t&&($e(this,e,1),this.a.J(t))},Ye.prototype.writeDouble=Ye.prototype.J,Ye.prototype.I=function(e,t){null!=t&&(b("boolean"==typeof t||"number"==typeof t),$e(this,e,0),this.a.I(t))},Ye.prototype.writeBool=Ye.prototype.I,Ye.prototype.R=function(e,t){null!=t&&(b(-2147483648<=t&&2147483648>t),$e(this,e,0),this.a.M(t))},Ye.prototype.writeEnum=Ye.prototype.R,Ye.prototype.U=function(e,t){null!=t&&(e=Qe(this,e),this.a.U(t),Ze(this,e))},Ye.prototype.writeString=Ye.prototype.U,Ye.prototype.ia=function(e,t){null!=t&&(t=ue(t),$e(this,e,2),this.a.j(t.length),Xe(this,t))},Ye.prototype.writeBytes=Ye.prototype.ia,Ye.prototype.Qc=function(e,t,r){null!=t&&(e=Qe(this,e),r(t,this),Ze(this,e))},Ye.prototype.writeMessage=Ye.prototype.Qc,Ye.prototype.Rc=function(e,t,r){null!=t&&($e(this,1,3),$e(this,2,0),this.a.M(e),e=Qe(this,3),r(t,this),Ze(this,e),$e(this,1,4))},Ye.prototype.writeMessageSet=Ye.prototype.Rc,Ye.prototype.Nc=function(e,t,r){null!=t&&($e(this,e,3),r(t,this),$e(this,e,4))},Ye.prototype.writeGroup=Ye.prototype.Nc,Ye.prototype.K=function(e,t){null!=t&&(b(8==t.length),$e(this,e,1),this.a.K(t))},Ye.prototype.writeFixedHash64=Ye.prototype.K,Ye.prototype.N=function(e,t){null!=t&&(b(8==t.length),$e(this,e,0),this.a.N(t))},Ye.prototype.writeVarintHash64=Ye.prototype.N,Ye.prototype.A=function(e,t,r){$e(this,e,1),this.a.A(t,r)},Ye.prototype.writeSplitFixed64=Ye.prototype.A,Ye.prototype.l=function(e,t,r){$e(this,e,0),this.a.l(t,r)},Ye.prototype.writeSplitVarint64=Ye.prototype.l,Ye.prototype.tb=function(e,t,r){$e(this,e,0);var n=this.a;X(t,r,(function(e,t){n.l(e>>>0,t>>>0)}))},Ye.prototype.writeSplitZigzagVarint64=Ye.prototype.tb,Ye.prototype.Dd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)tt(this,e,t[r])},Ye.prototype.writeRepeatedInt32=Ye.prototype.Dd,Ye.prototype.Ed=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.ob(e,t[r])},Ye.prototype.writeRepeatedInt32String=Ye.prototype.Ed,Ye.prototype.Fd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];null!=n&&($e(this,e,0),this.a.ua(n))}},Ye.prototype.writeRepeatedInt64=Ye.prototype.Fd,Ye.prototype.Pd=function(e,t,r,n){if(null!=t)for(var i=0;i<t.length;i++)this.A(e,r(t[i]),n(t[i]))},Ye.prototype.writeRepeatedSplitFixed64=Ye.prototype.Pd,Ye.prototype.Qd=function(e,t,r,n){if(null!=t)for(var i=0;i<t.length;i++)this.l(e,r(t[i]),n(t[i]))},Ye.prototype.writeRepeatedSplitVarint64=Ye.prototype.Qd,Ye.prototype.Rd=function(e,t,r,n){if(null!=t)for(var i=0;i<t.length;i++)this.tb(e,r(t[i]),n(t[i]))},Ye.prototype.writeRepeatedSplitZigzagVarint64=Ye.prototype.Rd,Ye.prototype.Gd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.ja(e,t[r])},Ye.prototype.writeRepeatedInt64String=Ye.prototype.Gd,Ye.prototype.Td=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)et(this,e,t[r])},Ye.prototype.writeRepeatedUint32=Ye.prototype.Td,Ye.prototype.Ud=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.ub(e,t[r])},Ye.prototype.writeRepeatedUint32String=Ye.prototype.Ud,Ye.prototype.Vd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];null!=n&&($e(this,e,0),this.a.va(n))}},Ye.prototype.writeRepeatedUint64=Ye.prototype.Vd,Ye.prototype.Wd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.vb(e,t[r])},Ye.prototype.writeRepeatedUint64String=Ye.prototype.Wd,Ye.prototype.Ld=function(e,t){if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];null!=n&&($e(this,e,0),this.a.wa(n))}},Ye.prototype.writeRepeatedSint32=Ye.prototype.Ld,Ye.prototype.Md=function(e,t){if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];null!=n&&($e(this,e,0),this.a.xa(n))}},Ye.prototype.writeRepeatedSint64=Ye.prototype.Md,Ye.prototype.Nd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];null!=n&&($e(this,e,0),this.a.Ta(n))}},Ye.prototype.writeRepeatedSint64String=Ye.prototype.Nd,Ye.prototype.Od=function(e,t){if(null!=t)for(var r=0;r<t.length;r++){var n=t[r];null!=n&&($e(this,e,0),this.a.W(n))}},Ye.prototype.writeRepeatedSintHash64=Ye.prototype.Od,Ye.prototype.xd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.Pa(e,t[r])},Ye.prototype.writeRepeatedFixed32=Ye.prototype.xd,Ye.prototype.yd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.Qa(e,t[r])},Ye.prototype.writeRepeatedFixed64=Ye.prototype.yd,Ye.prototype.zd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.nb(e,t[r])},Ye.prototype.writeRepeatedFixed64String=Ye.prototype.zd,Ye.prototype.Id=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.Ra(e,t[r])},Ye.prototype.writeRepeatedSfixed32=Ye.prototype.Id,Ye.prototype.Jd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.Sa(e,t[r])},Ye.prototype.writeRepeatedSfixed64=Ye.prototype.Jd,Ye.prototype.Kd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.qb(e,t[r])},Ye.prototype.writeRepeatedSfixed64String=Ye.prototype.Kd,Ye.prototype.Bd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.L(e,t[r])},Ye.prototype.writeRepeatedFloat=Ye.prototype.Bd,Ye.prototype.vd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.J(e,t[r])},Ye.prototype.writeRepeatedDouble=Ye.prototype.vd,Ye.prototype.td=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.I(e,t[r])},Ye.prototype.writeRepeatedBool=Ye.prototype.td,Ye.prototype.wd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.R(e,t[r])},Ye.prototype.writeRepeatedEnum=Ye.prototype.wd,Ye.prototype.Sd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.U(e,t[r])},Ye.prototype.writeRepeatedString=Ye.prototype.Sd,Ye.prototype.ud=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.ia(e,t[r])},Ye.prototype.writeRepeatedBytes=Ye.prototype.ud,Ye.prototype.Hd=function(e,t,r){if(null!=t)for(var n=0;n<t.length;n++){var i=Qe(this,e);r(t[n],this),Ze(this,i)}},Ye.prototype.writeRepeatedMessage=Ye.prototype.Hd,Ye.prototype.Cd=function(e,t,r){if(null!=t)for(var n=0;n<t.length;n++)$e(this,e,3),r(t[n],this),$e(this,e,4)},Ye.prototype.writeRepeatedGroup=Ye.prototype.Cd,Ye.prototype.Ad=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.K(e,t[r])},Ye.prototype.writeRepeatedFixedHash64=Ye.prototype.Ad,Ye.prototype.Xd=function(e,t){if(null!=t)for(var r=0;r<t.length;r++)this.N(e,t[r])},Ye.prototype.writeRepeatedVarintHash64=Ye.prototype.Xd,Ye.prototype.$c=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.M(t[r]);Ze(this,e)}},Ye.prototype.writePackedInt32=Ye.prototype.$c,Ye.prototype.ad=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.M(parseInt(t[r],10));Ze(this,e)}},Ye.prototype.writePackedInt32String=Ye.prototype.ad,Ye.prototype.bd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.ua(t[r]);Ze(this,e)}},Ye.prototype.writePackedInt64=Ye.prototype.bd,Ye.prototype.ld=function(e,t,r,n){if(null!=t){e=Qe(this,e);for(var i=0;i<t.length;i++)this.a.A(r(t[i]),n(t[i]));Ze(this,e)}},Ye.prototype.writePackedSplitFixed64=Ye.prototype.ld,Ye.prototype.md=function(e,t,r,n){if(null!=t){e=Qe(this,e);for(var i=0;i<t.length;i++)this.a.l(r(t[i]),n(t[i]));Ze(this,e)}},Ye.prototype.writePackedSplitVarint64=Ye.prototype.md,Ye.prototype.nd=function(e,t,r,n){if(null!=t){e=Qe(this,e);for(var i=this.a,o=0;o<t.length;o++)X(r(t[o]),n(t[o]),(function(e,t){i.l(e>>>0,t>>>0)}));Ze(this,e)}},Ye.prototype.writePackedSplitZigzagVarint64=Ye.prototype.nd,Ye.prototype.cd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++){var n=Je(t[r]);this.a.l(n.lo,n.hi)}Ze(this,e)}},Ye.prototype.writePackedInt64String=Ye.prototype.cd,Ye.prototype.od=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.j(t[r]);Ze(this,e)}},Ye.prototype.writePackedUint32=Ye.prototype.od,Ye.prototype.pd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.j(parseInt(t[r],10));Ze(this,e)}},Ye.prototype.writePackedUint32String=Ye.prototype.pd,Ye.prototype.qd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.va(t[r]);Ze(this,e)}},Ye.prototype.writePackedUint64=Ye.prototype.qd,Ye.prototype.rd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++){var n=Ve(t[r]);this.a.l(n.lo,n.hi)}Ze(this,e)}},Ye.prototype.writePackedUint64String=Ye.prototype.rd,Ye.prototype.gd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.wa(t[r]);Ze(this,e)}},Ye.prototype.writePackedSint32=Ye.prototype.gd,Ye.prototype.hd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.xa(t[r]);Ze(this,e)}},Ye.prototype.writePackedSint64=Ye.prototype.hd,Ye.prototype.jd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.W(oe(t[r]));Ze(this,e)}},Ye.prototype.writePackedSint64String=Ye.prototype.jd,Ye.prototype.kd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.W(t[r]);Ze(this,e)}},Ye.prototype.writePackedSintHash64=Ye.prototype.kd,Ye.prototype.Vc=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(4*t.length),e=0;e<t.length;e++)this.a.o(t[e])},Ye.prototype.writePackedFixed32=Ye.prototype.Vc,Ye.prototype.Wc=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.V(t[e])},Ye.prototype.writePackedFixed64=Ye.prototype.Wc,Ye.prototype.Xc=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++){var r=Ve(t[e]);this.a.A(r.lo,r.hi)}},Ye.prototype.writePackedFixed64String=Ye.prototype.Xc,Ye.prototype.dd=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(4*t.length),e=0;e<t.length;e++)this.a.S(t[e])},Ye.prototype.writePackedSfixed32=Ye.prototype.dd,Ye.prototype.ed=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.T(t[e])},Ye.prototype.writePackedSfixed64=Ye.prototype.ed,Ye.prototype.fd=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.ja(t[e])},Ye.prototype.writePackedSfixed64String=Ye.prototype.fd,Ye.prototype.Zc=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(4*t.length),e=0;e<t.length;e++)this.a.L(t[e])},Ye.prototype.writePackedFloat=Ye.prototype.Zc,Ye.prototype.Tc=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.J(t[e])},Ye.prototype.writePackedDouble=Ye.prototype.Tc,Ye.prototype.Sc=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(t.length),e=0;e<t.length;e++)this.a.I(t[e])},Ye.prototype.writePackedBool=Ye.prototype.Sc,Ye.prototype.Uc=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.R(t[r]);Ze(this,e)}},Ye.prototype.writePackedEnum=Ye.prototype.Uc,Ye.prototype.Yc=function(e,t){if(null!=t&&t.length)for($e(this,e,2),this.a.j(8*t.length),e=0;e<t.length;e++)this.a.K(t[e])},Ye.prototype.writePackedFixedHash64=Ye.prototype.Yc,Ye.prototype.sd=function(e,t){if(null!=t&&t.length){e=Qe(this,e);for(var r=0;r<t.length;r++)this.a.N(t[r]);Ze(this,e)}},Ye.prototype.writePackedVarintHash64=Ye.prototype.sd,"object"==typeof e&&(e.debug=Ke,e.Map=E,e.Message=ve,e.BinaryReader=pe,e.BinaryWriter=Ye,e.ExtensionFieldInfo=be,e.ExtensionFieldBinaryInfo=we,e.exportSymbol=function(e,t,r){u(e,t,r)},e.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},e.object={extend:function(e,t){for(var r,n,i=1;i<arguments.length;i++){for(r in n=arguments[i])e[r]=n[r];for(var o=0;o<h.length;o++)r=h[o],Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}}},e.typeOf=l)})),kwe=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.Any",null,n),proto.google.protobuf.Any=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.google.protobuf.Any,t.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Any.displayName="proto.google.protobuf.Any"),t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Any.prototype.toObject=function(e){return proto.google.protobuf.Any.toObject(e,this)},proto.google.protobuf.Any.toObject=function(e,r){var n={typeUrl:t.Message.getFieldWithDefault(r,1,""),value:r.getValue_asB64()};return e&&(n.$jspbMessageInstance=r),n}),proto.google.protobuf.Any.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new proto.google.protobuf.Any;return proto.google.protobuf.Any.deserializeBinaryFromReader(n,r)},proto.google.protobuf.Any.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setTypeUrl(r);break;case 2:r=t.readBytes();e.setValue(r);break;default:t.skipField()}}return e},proto.google.protobuf.Any.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.Any.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Any.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getTypeUrl()).length>0&&t.writeString(1,r),(r=e.getValue_asU8()).length>0&&t.writeBytes(2,r)},proto.google.protobuf.Any.prototype.getTypeUrl=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.Any.prototype.setTypeUrl=function(e){return t.Message.setProto3StringField(this,1,e)},proto.google.protobuf.Any.prototype.getValue=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.Any.prototype.getValue_asB64=function(){return t.Message.bytesAsB64(this.getValue())},proto.google.protobuf.Any.prototype.getValue_asU8=function(){return t.Message.bytesAsU8(this.getValue())},proto.google.protobuf.Any.prototype.setValue=function(e){return t.Message.setProto3BytesField(this,2,e)},r.object.extend(e,proto.google.protobuf),proto.google.protobuf.Any.prototype.getTypeName=function(){return this.getTypeUrl().split("/").pop()},proto.google.protobuf.Any.prototype.pack=function(e,t,r){r||(r="type.googleapis.com/"),"/"!=r.substr(-1)?this.setTypeUrl(r+"/"+t):this.setTypeUrl(r+t),this.setValue(e)},proto.google.protobuf.Any.prototype.unpack=function(e,t){return this.getTypeName()==t?e(this.getValue_asU8()):null}})),xJ=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),i=kwe();r.object.extend(proto,i),r.exportSymbol("TronWebProto.Account",null,n),r.exportSymbol("TronWebProto.Account.AccountResource",null,n),r.exportSymbol("TronWebProto.Account.Frozen",null,n),r.exportSymbol("TronWebProto.AccountId",null,n),r.exportSymbol("TronWebProto.AccountType",null,n),r.exportSymbol("TronWebProto.DelegatedResource",null,n),r.exportSymbol("TronWebProto.Exchange",null,n),r.exportSymbol("TronWebProto.Key",null,n),r.exportSymbol("TronWebProto.MarketOrderDetail",null,n),r.exportSymbol("TronWebProto.Permission",null,n),r.exportSymbol("TronWebProto.Permission.PermissionType",null,n),r.exportSymbol("TronWebProto.Proposal",null,n),r.exportSymbol("TronWebProto.Proposal.State",null,n),r.exportSymbol("TronWebProto.Transaction",null,n),r.exportSymbol("TronWebProto.Transaction.Contract",null,n),r.exportSymbol("TronWebProto.Transaction.Contract.ContractType",null,n),r.exportSymbol("TronWebProto.Transaction.Result",null,n),r.exportSymbol("TronWebProto.Transaction.Result.code",null,n),r.exportSymbol("TronWebProto.Transaction.Result.contractResult",null,n),r.exportSymbol("TronWebProto.Transaction.raw",null,n),r.exportSymbol("TronWebProto.Vote",null,n),r.exportSymbol("TronWebProto.Votes",null,n),r.exportSymbol("TronWebProto.Witness",null,n),r.exportSymbol("TronWebProto.authority",null,n),TronWebProto.AccountId=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AccountId,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountId.displayName="TronWebProto.AccountId"),TronWebProto.Vote=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.Vote,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Vote.displayName="TronWebProto.Vote"),TronWebProto.Proposal=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.Proposal.repeatedFields_,null)},r.inherits(TronWebProto.Proposal,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Proposal.displayName="TronWebProto.Proposal"),TronWebProto.Exchange=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.Exchange,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Exchange.displayName="TronWebProto.Exchange"),TronWebProto.Account=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.Account.repeatedFields_,null)},r.inherits(TronWebProto.Account,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Account.displayName="TronWebProto.Account"),TronWebProto.Account.Frozen=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.Account.Frozen,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Account.Frozen.displayName="TronWebProto.Account.Frozen"),TronWebProto.Account.AccountResource=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.Account.AccountResource,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Account.AccountResource.displayName="TronWebProto.Account.AccountResource"),TronWebProto.Key=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.Key,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Key.displayName="TronWebProto.Key"),TronWebProto.DelegatedResource=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.DelegatedResource,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.DelegatedResource.displayName="TronWebProto.DelegatedResource"),TronWebProto.authority=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.authority,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.authority.displayName="TronWebProto.authority"),TronWebProto.Permission=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.Permission.repeatedFields_,null)},r.inherits(TronWebProto.Permission,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Permission.displayName="TronWebProto.Permission"),TronWebProto.Witness=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.Witness,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Witness.displayName="TronWebProto.Witness"),TronWebProto.Votes=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.Votes.repeatedFields_,null)},r.inherits(TronWebProto.Votes,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Votes.displayName="TronWebProto.Votes"),TronWebProto.MarketOrderDetail=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.MarketOrderDetail,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.MarketOrderDetail.displayName="TronWebProto.MarketOrderDetail"),TronWebProto.Transaction=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.Transaction.repeatedFields_,null)},r.inherits(TronWebProto.Transaction,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Transaction.displayName="TronWebProto.Transaction"),TronWebProto.Transaction.Contract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.Transaction.Contract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Transaction.Contract.displayName="TronWebProto.Transaction.Contract"),TronWebProto.Transaction.Result=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.Transaction.Result.repeatedFields_,null)},r.inherits(TronWebProto.Transaction.Result,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Transaction.Result.displayName="TronWebProto.Transaction.Result"),TronWebProto.Transaction.raw=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.Transaction.raw.repeatedFields_,null)},r.inherits(TronWebProto.Transaction.raw,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.Transaction.raw.displayName="TronWebProto.Transaction.raw"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountId.prototype.toObject=function(e){return TronWebProto.AccountId.toObject(e,this)},TronWebProto.AccountId.toObject=function(e,t){var r={name:t.getName_asB64(),address:t.getAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.AccountId.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountId;return TronWebProto.AccountId.deserializeBinaryFromReader(n,r)},TronWebProto.AccountId.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setName(r);break;case 2:r=t.readBytes();e.setAddress(r);break;default:t.skipField()}}return e},TronWebProto.AccountId.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountId.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountId.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getName_asU8()).length>0&&t.writeBytes(1,r),(r=e.getAddress_asU8()).length>0&&t.writeBytes(2,r)},TronWebProto.AccountId.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.AccountId.prototype.getName_asB64=function(){return t.Message.bytesAsB64(this.getName())},TronWebProto.AccountId.prototype.getName_asU8=function(){return t.Message.bytesAsU8(this.getName())},TronWebProto.AccountId.prototype.setName=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.AccountId.prototype.getAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.AccountId.prototype.getAddress_asB64=function(){return t.Message.bytesAsB64(this.getAddress())},TronWebProto.AccountId.prototype.getAddress_asU8=function(){return t.Message.bytesAsU8(this.getAddress())},TronWebProto.AccountId.prototype.setAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Vote.prototype.toObject=function(e){return TronWebProto.Vote.toObject(e,this)},TronWebProto.Vote.toObject=function(e,r){var n={voteAddress:r.getVoteAddress_asB64(),voteCount:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Vote.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Vote;return TronWebProto.Vote.deserializeBinaryFromReader(n,r)},TronWebProto.Vote.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setVoteAddress(r);break;case 2:r=t.readInt64();e.setVoteCount(r);break;default:t.skipField()}}return e},TronWebProto.Vote.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Vote.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Vote.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getVoteAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getVoteCount())&&t.writeInt64(2,r)},TronWebProto.Vote.prototype.getVoteAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.Vote.prototype.getVoteAddress_asB64=function(){return t.Message.bytesAsB64(this.getVoteAddress())},TronWebProto.Vote.prototype.getVoteAddress_asU8=function(){return t.Message.bytesAsU8(this.getVoteAddress())},TronWebProto.Vote.prototype.setVoteAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.Vote.prototype.getVoteCount=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Vote.prototype.setVoteCount=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.Proposal.repeatedFields_=[6],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Proposal.prototype.toObject=function(e){return TronWebProto.Proposal.toObject(e,this)},TronWebProto.Proposal.toObject=function(e,r){var n,i={proposalId:t.Message.getFieldWithDefault(r,1,0),proposerAddress:r.getProposerAddress_asB64(),parametersMap:(n=r.getParametersMap())?n.toObject(e,void 0):[],expirationTime:t.Message.getFieldWithDefault(r,4,0),createTime:t.Message.getFieldWithDefault(r,5,0),approvalsList:r.getApprovalsList_asB64(),state:t.Message.getFieldWithDefault(r,7,0)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.Proposal.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Proposal;return TronWebProto.Proposal.deserializeBinaryFromReader(n,r)},TronWebProto.Proposal.deserializeBinaryFromReader=function(e,r){for(;r.nextField()&&!r.isEndGroup();){switch(r.getFieldNumber()){case 1:var n=r.readInt64();e.setProposalId(n);break;case 2:n=r.readBytes();e.setProposerAddress(n);break;case 3:n=e.getParametersMap();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readInt64,t.BinaryReader.prototype.readInt64,null,0,0)}));break;case 4:n=r.readInt64();e.setExpirationTime(n);break;case 5:n=r.readInt64();e.setCreateTime(n);break;case 6:n=r.readBytes();e.addApprovals(n);break;case 7:n=r.readEnum();e.setState(n);break;default:r.skipField()}}return e},TronWebProto.Proposal.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Proposal.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Proposal.serializeBinaryToWriter=function(e,r){var n=void 0;0!==(n=e.getProposalId())&&r.writeInt64(1,n),(n=e.getProposerAddress_asU8()).length>0&&r.writeBytes(2,n),(n=e.getParametersMap(!0))&&n.getLength()>0&&n.serializeBinary(3,r,t.BinaryWriter.prototype.writeInt64,t.BinaryWriter.prototype.writeInt64),0!==(n=e.getExpirationTime())&&r.writeInt64(4,n),0!==(n=e.getCreateTime())&&r.writeInt64(5,n),(n=e.getApprovalsList_asU8()).length>0&&r.writeRepeatedBytes(6,n),0!==(n=e.getState())&&r.writeEnum(7,n)},TronWebProto.Proposal.State={PENDING:0,DISAPPROVED:1,APPROVED:2,CANCELED:3},TronWebProto.Proposal.prototype.getProposalId=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Proposal.prototype.setProposalId=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.Proposal.prototype.getProposerAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.Proposal.prototype.getProposerAddress_asB64=function(){return t.Message.bytesAsB64(this.getProposerAddress())},TronWebProto.Proposal.prototype.getProposerAddress_asU8=function(){return t.Message.bytesAsU8(this.getProposerAddress())},TronWebProto.Proposal.prototype.setProposerAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.Proposal.prototype.getParametersMap=function(e){return t.Message.getMapField(this,3,e,null)},TronWebProto.Proposal.prototype.clearParametersMap=function(){return this.getParametersMap().clear(),this},TronWebProto.Proposal.prototype.getExpirationTime=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.Proposal.prototype.setExpirationTime=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.Proposal.prototype.getCreateTime=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Proposal.prototype.setCreateTime=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.Proposal.prototype.getApprovalsList=function(){return t.Message.getRepeatedField(this,6)},TronWebProto.Proposal.prototype.getApprovalsList_asB64=function(){return t.Message.bytesListAsB64(this.getApprovalsList())},TronWebProto.Proposal.prototype.getApprovalsList_asU8=function(){return t.Message.bytesListAsU8(this.getApprovalsList())},TronWebProto.Proposal.prototype.setApprovalsList=function(e){return t.Message.setField(this,6,e||[])},TronWebProto.Proposal.prototype.addApprovals=function(e,r){return t.Message.addToRepeatedField(this,6,e,r)},TronWebProto.Proposal.prototype.clearApprovalsList=function(){return this.setApprovalsList([])},TronWebProto.Proposal.prototype.getState=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.Proposal.prototype.setState=function(e){return t.Message.setProto3EnumField(this,7,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Exchange.prototype.toObject=function(e){return TronWebProto.Exchange.toObject(e,this)},TronWebProto.Exchange.toObject=function(e,r){var n={exchangeId:t.Message.getFieldWithDefault(r,1,0),creatorAddress:r.getCreatorAddress_asB64(),createTime:t.Message.getFieldWithDefault(r,3,0),firstTokenId:r.getFirstTokenId_asB64(),firstTokenBalance:t.Message.getFieldWithDefault(r,7,0),secondTokenId:r.getSecondTokenId_asB64(),secondTokenBalance:t.Message.getFieldWithDefault(r,9,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Exchange.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Exchange;return TronWebProto.Exchange.deserializeBinaryFromReader(n,r)},TronWebProto.Exchange.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setExchangeId(r);break;case 2:r=t.readBytes();e.setCreatorAddress(r);break;case 3:r=t.readInt64();e.setCreateTime(r);break;case 6:r=t.readBytes();e.setFirstTokenId(r);break;case 7:r=t.readInt64();e.setFirstTokenBalance(r);break;case 8:r=t.readBytes();e.setSecondTokenId(r);break;case 9:r=t.readInt64();e.setSecondTokenBalance(r);break;default:t.skipField()}}return e},TronWebProto.Exchange.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Exchange.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Exchange.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getExchangeId())&&t.writeInt64(1,r),(r=e.getCreatorAddress_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getCreateTime())&&t.writeInt64(3,r),(r=e.getFirstTokenId_asU8()).length>0&&t.writeBytes(6,r),0!==(r=e.getFirstTokenBalance())&&t.writeInt64(7,r),(r=e.getSecondTokenId_asU8()).length>0&&t.writeBytes(8,r),0!==(r=e.getSecondTokenBalance())&&t.writeInt64(9,r)},TronWebProto.Exchange.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Exchange.prototype.setExchangeId=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.Exchange.prototype.getCreatorAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.Exchange.prototype.getCreatorAddress_asB64=function(){return t.Message.bytesAsB64(this.getCreatorAddress())},TronWebProto.Exchange.prototype.getCreatorAddress_asU8=function(){return t.Message.bytesAsU8(this.getCreatorAddress())},TronWebProto.Exchange.prototype.setCreatorAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.Exchange.prototype.getCreateTime=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Exchange.prototype.setCreateTime=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.Exchange.prototype.getFirstTokenId=function(){return t.Message.getFieldWithDefault(this,6,"")},TronWebProto.Exchange.prototype.getFirstTokenId_asB64=function(){return t.Message.bytesAsB64(this.getFirstTokenId())},TronWebProto.Exchange.prototype.getFirstTokenId_asU8=function(){return t.Message.bytesAsU8(this.getFirstTokenId())},TronWebProto.Exchange.prototype.setFirstTokenId=function(e){return t.Message.setProto3BytesField(this,6,e)},TronWebProto.Exchange.prototype.getFirstTokenBalance=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.Exchange.prototype.setFirstTokenBalance=function(e){return t.Message.setProto3IntField(this,7,e)},TronWebProto.Exchange.prototype.getSecondTokenId=function(){return t.Message.getFieldWithDefault(this,8,"")},TronWebProto.Exchange.prototype.getSecondTokenId_asB64=function(){return t.Message.bytesAsB64(this.getSecondTokenId())},TronWebProto.Exchange.prototype.getSecondTokenId_asU8=function(){return t.Message.bytesAsU8(this.getSecondTokenId())},TronWebProto.Exchange.prototype.setSecondTokenId=function(e){return t.Message.setProto3BytesField(this,8,e)},TronWebProto.Exchange.prototype.getSecondTokenBalance=function(){return t.Message.getFieldWithDefault(this,9,0)},TronWebProto.Exchange.prototype.setSecondTokenBalance=function(e){return t.Message.setProto3IntField(this,9,e)},TronWebProto.Account.repeatedFields_=[5,7,16,33],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Account.prototype.toObject=function(e){return TronWebProto.Account.toObject(e,this)},TronWebProto.Account.toObject=function(e,r){var n,i={accountName:r.getAccountName_asB64(),type:t.Message.getFieldWithDefault(r,2,0),address:r.getAddress_asB64(),balance:t.Message.getFieldWithDefault(r,4,0),votesList:t.Message.toObjectList(r.getVotesList(),TronWebProto.Vote.toObject,e),assetMap:(n=r.getAssetMap())?n.toObject(e,void 0):[],assetv2Map:(n=r.getAssetv2Map())?n.toObject(e,void 0):[],frozenList:t.Message.toObjectList(r.getFrozenList(),TronWebProto.Account.Frozen.toObject,e),netUsage:t.Message.getFieldWithDefault(r,8,0),acquiredDelegatedFrozenBalanceForBandwidth:t.Message.getFieldWithDefault(r,41,0),delegatedFrozenBalanceForBandwidth:t.Message.getFieldWithDefault(r,42,0),oldTronPower:t.Message.getFieldWithDefault(r,46,0),tronPower:(n=r.getTronPower())&&TronWebProto.Account.Frozen.toObject(e,n),assetOptimized:t.Message.getBooleanFieldWithDefault(r,60,!1),createTime:t.Message.getFieldWithDefault(r,9,0),latestOprationTime:t.Message.getFieldWithDefault(r,10,0),allowance:t.Message.getFieldWithDefault(r,11,0),latestWithdrawTime:t.Message.getFieldWithDefault(r,12,0),code:r.getCode_asB64(),isWitness:t.Message.getBooleanFieldWithDefault(r,14,!1),isCommittee:t.Message.getBooleanFieldWithDefault(r,15,!1),frozenSupplyList:t.Message.toObjectList(r.getFrozenSupplyList(),TronWebProto.Account.Frozen.toObject,e),assetIssuedName:r.getAssetIssuedName_asB64(),assetIssuedId:r.getAssetIssuedId_asB64(),latestAssetOperationTimeMap:(n=r.getLatestAssetOperationTimeMap())?n.toObject(e,void 0):[],latestAssetOperationTimev2Map:(n=r.getLatestAssetOperationTimev2Map())?n.toObject(e,void 0):[],freeNetUsage:t.Message.getFieldWithDefault(r,19,0),freeAssetNetUsageMap:(n=r.getFreeAssetNetUsageMap())?n.toObject(e,void 0):[],freeAssetNetUsagev2Map:(n=r.getFreeAssetNetUsagev2Map())?n.toObject(e,void 0):[],latestConsumeTime:t.Message.getFieldWithDefault(r,21,0),latestConsumeFreeTime:t.Message.getFieldWithDefault(r,22,0),accountId:r.getAccountId_asB64(),accountResource:(n=r.getAccountResource())&&TronWebProto.Account.AccountResource.toObject(e,n),codehash:r.getCodehash_asB64(),ownerPermission:(n=r.getOwnerPermission())&&TronWebProto.Permission.toObject(e,n),witnessPermission:(n=r.getWitnessPermission())&&TronWebProto.Permission.toObject(e,n),activePermissionList:t.Message.toObjectList(r.getActivePermissionList(),TronWebProto.Permission.toObject,e)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.Account.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Account;return TronWebProto.Account.deserializeBinaryFromReader(n,r)},TronWebProto.Account.deserializeBinaryFromReader=function(e,r){for(;r.nextField()&&!r.isEndGroup();){switch(r.getFieldNumber()){case 1:var n=r.readBytes();e.setAccountName(n);break;case 2:n=r.readEnum();e.setType(n);break;case 3:n=r.readBytes();e.setAddress(n);break;case 4:n=r.readInt64();e.setBalance(n);break;case 5:n=new TronWebProto.Vote;r.readMessage(n,TronWebProto.Vote.deserializeBinaryFromReader),e.addVotes(n);break;case 6:n=e.getAssetMap();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)}));break;case 56:n=e.getAssetv2Map();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)}));break;case 7:n=new TronWebProto.Account.Frozen;r.readMessage(n,TronWebProto.Account.Frozen.deserializeBinaryFromReader),e.addFrozen(n);break;case 8:n=r.readInt64();e.setNetUsage(n);break;case 41:n=r.readInt64();e.setAcquiredDelegatedFrozenBalanceForBandwidth(n);break;case 42:n=r.readInt64();e.setDelegatedFrozenBalanceForBandwidth(n);break;case 46:n=r.readInt64();e.setOldTronPower(n);break;case 47:n=new TronWebProto.Account.Frozen;r.readMessage(n,TronWebProto.Account.Frozen.deserializeBinaryFromReader),e.setTronPower(n);break;case 60:n=r.readBool();e.setAssetOptimized(n);break;case 9:n=r.readInt64();e.setCreateTime(n);break;case 10:n=r.readInt64();e.setLatestOprationTime(n);break;case 11:n=r.readInt64();e.setAllowance(n);break;case 12:n=r.readInt64();e.setLatestWithdrawTime(n);break;case 13:n=r.readBytes();e.setCode(n);break;case 14:n=r.readBool();e.setIsWitness(n);break;case 15:n=r.readBool();e.setIsCommittee(n);break;case 16:n=new TronWebProto.Account.Frozen;r.readMessage(n,TronWebProto.Account.Frozen.deserializeBinaryFromReader),e.addFrozenSupply(n);break;case 17:n=r.readBytes();e.setAssetIssuedName(n);break;case 57:n=r.readBytes();e.setAssetIssuedId(n);break;case 18:n=e.getLatestAssetOperationTimeMap();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)}));break;case 58:n=e.getLatestAssetOperationTimev2Map();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)}));break;case 19:n=r.readInt64();e.setFreeNetUsage(n);break;case 20:n=e.getFreeAssetNetUsageMap();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)}));break;case 59:n=e.getFreeAssetNetUsagev2Map();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readInt64,null,"",0)}));break;case 21:n=r.readInt64();e.setLatestConsumeTime(n);break;case 22:n=r.readInt64();e.setLatestConsumeFreeTime(n);break;case 23:n=r.readBytes();e.setAccountId(n);break;case 26:n=new TronWebProto.Account.AccountResource;r.readMessage(n,TronWebProto.Account.AccountResource.deserializeBinaryFromReader),e.setAccountResource(n);break;case 30:n=r.readBytes();e.setCodehash(n);break;case 31:n=new TronWebProto.Permission;r.readMessage(n,TronWebProto.Permission.deserializeBinaryFromReader),e.setOwnerPermission(n);break;case 32:n=new TronWebProto.Permission;r.readMessage(n,TronWebProto.Permission.deserializeBinaryFromReader),e.setWitnessPermission(n);break;case 33:n=new TronWebProto.Permission;r.readMessage(n,TronWebProto.Permission.deserializeBinaryFromReader),e.addActivePermission(n);break;default:r.skipField()}}return e},TronWebProto.Account.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Account.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Account.serializeBinaryToWriter=function(e,r){var n=void 0;(n=e.getAccountName_asU8()).length>0&&r.writeBytes(1,n),0!==(n=e.getType())&&r.writeEnum(2,n),(n=e.getAddress_asU8()).length>0&&r.writeBytes(3,n),0!==(n=e.getBalance())&&r.writeInt64(4,n),(n=e.getVotesList()).length>0&&r.writeRepeatedMessage(5,n,TronWebProto.Vote.serializeBinaryToWriter),(n=e.getAssetMap(!0))&&n.getLength()>0&&n.serializeBinary(6,r,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),(n=e.getAssetv2Map(!0))&&n.getLength()>0&&n.serializeBinary(56,r,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),(n=e.getFrozenList()).length>0&&r.writeRepeatedMessage(7,n,TronWebProto.Account.Frozen.serializeBinaryToWriter),0!==(n=e.getNetUsage())&&r.writeInt64(8,n),0!==(n=e.getAcquiredDelegatedFrozenBalanceForBandwidth())&&r.writeInt64(41,n),0!==(n=e.getDelegatedFrozenBalanceForBandwidth())&&r.writeInt64(42,n),0!==(n=e.getOldTronPower())&&r.writeInt64(46,n),null!=(n=e.getTronPower())&&r.writeMessage(47,n,TronWebProto.Account.Frozen.serializeBinaryToWriter),(n=e.getAssetOptimized())&&r.writeBool(60,n),0!==(n=e.getCreateTime())&&r.writeInt64(9,n),0!==(n=e.getLatestOprationTime())&&r.writeInt64(10,n),0!==(n=e.getAllowance())&&r.writeInt64(11,n),0!==(n=e.getLatestWithdrawTime())&&r.writeInt64(12,n),(n=e.getCode_asU8()).length>0&&r.writeBytes(13,n),(n=e.getIsWitness())&&r.writeBool(14,n),(n=e.getIsCommittee())&&r.writeBool(15,n),(n=e.getFrozenSupplyList()).length>0&&r.writeRepeatedMessage(16,n,TronWebProto.Account.Frozen.serializeBinaryToWriter),(n=e.getAssetIssuedName_asU8()).length>0&&r.writeBytes(17,n),(n=e.getAssetIssuedId_asU8()).length>0&&r.writeBytes(57,n),(n=e.getLatestAssetOperationTimeMap(!0))&&n.getLength()>0&&n.serializeBinary(18,r,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),(n=e.getLatestAssetOperationTimev2Map(!0))&&n.getLength()>0&&n.serializeBinary(58,r,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),0!==(n=e.getFreeNetUsage())&&r.writeInt64(19,n),(n=e.getFreeAssetNetUsageMap(!0))&&n.getLength()>0&&n.serializeBinary(20,r,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),(n=e.getFreeAssetNetUsagev2Map(!0))&&n.getLength()>0&&n.serializeBinary(59,r,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeInt64),0!==(n=e.getLatestConsumeTime())&&r.writeInt64(21,n),0!==(n=e.getLatestConsumeFreeTime())&&r.writeInt64(22,n),(n=e.getAccountId_asU8()).length>0&&r.writeBytes(23,n),null!=(n=e.getAccountResource())&&r.writeMessage(26,n,TronWebProto.Account.AccountResource.serializeBinaryToWriter),(n=e.getCodehash_asU8()).length>0&&r.writeBytes(30,n),null!=(n=e.getOwnerPermission())&&r.writeMessage(31,n,TronWebProto.Permission.serializeBinaryToWriter),null!=(n=e.getWitnessPermission())&&r.writeMessage(32,n,TronWebProto.Permission.serializeBinaryToWriter),(n=e.getActivePermissionList()).length>0&&r.writeRepeatedMessage(33,n,TronWebProto.Permission.serializeBinaryToWriter)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Account.Frozen.prototype.toObject=function(e){return TronWebProto.Account.Frozen.toObject(e,this)},TronWebProto.Account.Frozen.toObject=function(e,r){var n={frozenBalance:t.Message.getFieldWithDefault(r,1,0),expireTime:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Account.Frozen.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Account.Frozen;return TronWebProto.Account.Frozen.deserializeBinaryFromReader(n,r)},TronWebProto.Account.Frozen.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setFrozenBalance(r);break;case 2:r=t.readInt64();e.setExpireTime(r);break;default:t.skipField()}}return e},TronWebProto.Account.Frozen.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Account.Frozen.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Account.Frozen.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getFrozenBalance())&&t.writeInt64(1,r),0!==(r=e.getExpireTime())&&t.writeInt64(2,r)},TronWebProto.Account.Frozen.prototype.getFrozenBalance=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Account.Frozen.prototype.setFrozenBalance=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.Account.Frozen.prototype.getExpireTime=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Account.Frozen.prototype.setExpireTime=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Account.AccountResource.prototype.toObject=function(e){return TronWebProto.Account.AccountResource.toObject(e,this)},TronWebProto.Account.AccountResource.toObject=function(e,r){var n,i={energyUsage:t.Message.getFieldWithDefault(r,1,0),frozenBalanceForEnergy:(n=r.getFrozenBalanceForEnergy())&&TronWebProto.Account.Frozen.toObject(e,n),latestConsumeTimeForEnergy:t.Message.getFieldWithDefault(r,3,0),acquiredDelegatedFrozenBalanceForEnergy:t.Message.getFieldWithDefault(r,4,0),delegatedFrozenBalanceForEnergy:t.Message.getFieldWithDefault(r,5,0),storageLimit:t.Message.getFieldWithDefault(r,6,0),storageUsage:t.Message.getFieldWithDefault(r,7,0),latestExchangeStorageTime:t.Message.getFieldWithDefault(r,8,0)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.Account.AccountResource.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Account.AccountResource;return TronWebProto.Account.AccountResource.deserializeBinaryFromReader(n,r)},TronWebProto.Account.AccountResource.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setEnergyUsage(r);break;case 2:r=new TronWebProto.Account.Frozen;t.readMessage(r,TronWebProto.Account.Frozen.deserializeBinaryFromReader),e.setFrozenBalanceForEnergy(r);break;case 3:r=t.readInt64();e.setLatestConsumeTimeForEnergy(r);break;case 4:r=t.readInt64();e.setAcquiredDelegatedFrozenBalanceForEnergy(r);break;case 5:r=t.readInt64();e.setDelegatedFrozenBalanceForEnergy(r);break;case 6:r=t.readInt64();e.setStorageLimit(r);break;case 7:r=t.readInt64();e.setStorageUsage(r);break;case 8:r=t.readInt64();e.setLatestExchangeStorageTime(r);break;default:t.skipField()}}return e},TronWebProto.Account.AccountResource.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Account.AccountResource.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Account.AccountResource.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getEnergyUsage())&&t.writeInt64(1,r),null!=(r=e.getFrozenBalanceForEnergy())&&t.writeMessage(2,r,TronWebProto.Account.Frozen.serializeBinaryToWriter),0!==(r=e.getLatestConsumeTimeForEnergy())&&t.writeInt64(3,r),0!==(r=e.getAcquiredDelegatedFrozenBalanceForEnergy())&&t.writeInt64(4,r),0!==(r=e.getDelegatedFrozenBalanceForEnergy())&&t.writeInt64(5,r),0!==(r=e.getStorageLimit())&&t.writeInt64(6,r),0!==(r=e.getStorageUsage())&&t.writeInt64(7,r),0!==(r=e.getLatestExchangeStorageTime())&&t.writeInt64(8,r)},TronWebProto.Account.AccountResource.prototype.getEnergyUsage=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Account.AccountResource.prototype.setEnergyUsage=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.Account.AccountResource.prototype.getFrozenBalanceForEnergy=function(){return t.Message.getWrapperField(this,TronWebProto.Account.Frozen,2)},TronWebProto.Account.AccountResource.prototype.setFrozenBalanceForEnergy=function(e){return t.Message.setWrapperField(this,2,e)},TronWebProto.Account.AccountResource.prototype.clearFrozenBalanceForEnergy=function(){return this.setFrozenBalanceForEnergy(void 0)},TronWebProto.Account.AccountResource.prototype.hasFrozenBalanceForEnergy=function(){return null!=t.Message.getField(this,2)},TronWebProto.Account.AccountResource.prototype.getLatestConsumeTimeForEnergy=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Account.AccountResource.prototype.setLatestConsumeTimeForEnergy=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.Account.AccountResource.prototype.getAcquiredDelegatedFrozenBalanceForEnergy=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.Account.AccountResource.prototype.setAcquiredDelegatedFrozenBalanceForEnergy=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.Account.AccountResource.prototype.getDelegatedFrozenBalanceForEnergy=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Account.AccountResource.prototype.setDelegatedFrozenBalanceForEnergy=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.Account.AccountResource.prototype.getStorageLimit=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.Account.AccountResource.prototype.setStorageLimit=function(e){return t.Message.setProto3IntField(this,6,e)},TronWebProto.Account.AccountResource.prototype.getStorageUsage=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.Account.AccountResource.prototype.setStorageUsage=function(e){return t.Message.setProto3IntField(this,7,e)},TronWebProto.Account.AccountResource.prototype.getLatestExchangeStorageTime=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.Account.AccountResource.prototype.setLatestExchangeStorageTime=function(e){return t.Message.setProto3IntField(this,8,e)},TronWebProto.Account.prototype.getAccountName=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.Account.prototype.getAccountName_asB64=function(){return t.Message.bytesAsB64(this.getAccountName())},TronWebProto.Account.prototype.getAccountName_asU8=function(){return t.Message.bytesAsU8(this.getAccountName())},TronWebProto.Account.prototype.setAccountName=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.Account.prototype.getType=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Account.prototype.setType=function(e){return t.Message.setProto3EnumField(this,2,e)},TronWebProto.Account.prototype.getAddress=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.Account.prototype.getAddress_asB64=function(){return t.Message.bytesAsB64(this.getAddress())},TronWebProto.Account.prototype.getAddress_asU8=function(){return t.Message.bytesAsU8(this.getAddress())},TronWebProto.Account.prototype.setAddress=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.Account.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.Account.prototype.setBalance=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.Account.prototype.getVotesList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Vote,5)},TronWebProto.Account.prototype.setVotesList=function(e){return t.Message.setRepeatedWrapperField(this,5,e)},TronWebProto.Account.prototype.addVotes=function(e,r){return t.Message.addToRepeatedWrapperField(this,5,e,TronWebProto.Vote,r)},TronWebProto.Account.prototype.clearVotesList=function(){return this.setVotesList([])},TronWebProto.Account.prototype.getAssetMap=function(e){return t.Message.getMapField(this,6,e,null)},TronWebProto.Account.prototype.clearAssetMap=function(){return this.getAssetMap().clear(),this},TronWebProto.Account.prototype.getAssetv2Map=function(e){return t.Message.getMapField(this,56,e,null)},TronWebProto.Account.prototype.clearAssetv2Map=function(){return this.getAssetv2Map().clear(),this},TronWebProto.Account.prototype.getFrozenList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Account.Frozen,7)},TronWebProto.Account.prototype.setFrozenList=function(e){return t.Message.setRepeatedWrapperField(this,7,e)},TronWebProto.Account.prototype.addFrozen=function(e,r){return t.Message.addToRepeatedWrapperField(this,7,e,TronWebProto.Account.Frozen,r)},TronWebProto.Account.prototype.clearFrozenList=function(){return this.setFrozenList([])},TronWebProto.Account.prototype.getNetUsage=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.Account.prototype.setNetUsage=function(e){return t.Message.setProto3IntField(this,8,e)},TronWebProto.Account.prototype.getAcquiredDelegatedFrozenBalanceForBandwidth=function(){return t.Message.getFieldWithDefault(this,41,0)},TronWebProto.Account.prototype.setAcquiredDelegatedFrozenBalanceForBandwidth=function(e){return t.Message.setProto3IntField(this,41,e)},TronWebProto.Account.prototype.getDelegatedFrozenBalanceForBandwidth=function(){return t.Message.getFieldWithDefault(this,42,0)},TronWebProto.Account.prototype.setDelegatedFrozenBalanceForBandwidth=function(e){return t.Message.setProto3IntField(this,42,e)},TronWebProto.Account.prototype.getOldTronPower=function(){return t.Message.getFieldWithDefault(this,46,0)},TronWebProto.Account.prototype.setOldTronPower=function(e){return t.Message.setProto3IntField(this,46,e)},TronWebProto.Account.prototype.getTronPower=function(){return t.Message.getWrapperField(this,TronWebProto.Account.Frozen,47)},TronWebProto.Account.prototype.setTronPower=function(e){return t.Message.setWrapperField(this,47,e)},TronWebProto.Account.prototype.clearTronPower=function(){return this.setTronPower(void 0)},TronWebProto.Account.prototype.hasTronPower=function(){return null!=t.Message.getField(this,47)},TronWebProto.Account.prototype.getAssetOptimized=function(){return t.Message.getBooleanFieldWithDefault(this,60,!1)},TronWebProto.Account.prototype.setAssetOptimized=function(e){return t.Message.setProto3BooleanField(this,60,e)},TronWebProto.Account.prototype.getCreateTime=function(){return t.Message.getFieldWithDefault(this,9,0)},TronWebProto.Account.prototype.setCreateTime=function(e){return t.Message.setProto3IntField(this,9,e)},TronWebProto.Account.prototype.getLatestOprationTime=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.Account.prototype.setLatestOprationTime=function(e){return t.Message.setProto3IntField(this,10,e)},TronWebProto.Account.prototype.getAllowance=function(){return t.Message.getFieldWithDefault(this,11,0)},TronWebProto.Account.prototype.setAllowance=function(e){return t.Message.setProto3IntField(this,11,e)},TronWebProto.Account.prototype.getLatestWithdrawTime=function(){return t.Message.getFieldWithDefault(this,12,0)},TronWebProto.Account.prototype.setLatestWithdrawTime=function(e){return t.Message.setProto3IntField(this,12,e)},TronWebProto.Account.prototype.getCode=function(){return t.Message.getFieldWithDefault(this,13,"")},TronWebProto.Account.prototype.getCode_asB64=function(){return t.Message.bytesAsB64(this.getCode())},TronWebProto.Account.prototype.getCode_asU8=function(){return t.Message.bytesAsU8(this.getCode())},TronWebProto.Account.prototype.setCode=function(e){return t.Message.setProto3BytesField(this,13,e)},TronWebProto.Account.prototype.getIsWitness=function(){return t.Message.getBooleanFieldWithDefault(this,14,!1)},TronWebProto.Account.prototype.setIsWitness=function(e){return t.Message.setProto3BooleanField(this,14,e)},TronWebProto.Account.prototype.getIsCommittee=function(){return t.Message.getBooleanFieldWithDefault(this,15,!1)},TronWebProto.Account.prototype.setIsCommittee=function(e){return t.Message.setProto3BooleanField(this,15,e)},TronWebProto.Account.prototype.getFrozenSupplyList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Account.Frozen,16)},TronWebProto.Account.prototype.setFrozenSupplyList=function(e){return t.Message.setRepeatedWrapperField(this,16,e)},TronWebProto.Account.prototype.addFrozenSupply=function(e,r){return t.Message.addToRepeatedWrapperField(this,16,e,TronWebProto.Account.Frozen,r)},TronWebProto.Account.prototype.clearFrozenSupplyList=function(){return this.setFrozenSupplyList([])},TronWebProto.Account.prototype.getAssetIssuedName=function(){return t.Message.getFieldWithDefault(this,17,"")},TronWebProto.Account.prototype.getAssetIssuedName_asB64=function(){return t.Message.bytesAsB64(this.getAssetIssuedName())},TronWebProto.Account.prototype.getAssetIssuedName_asU8=function(){return t.Message.bytesAsU8(this.getAssetIssuedName())},TronWebProto.Account.prototype.setAssetIssuedName=function(e){return t.Message.setProto3BytesField(this,17,e)},TronWebProto.Account.prototype.getAssetIssuedId=function(){return t.Message.getFieldWithDefault(this,57,"")},TronWebProto.Account.prototype.getAssetIssuedId_asB64=function(){return t.Message.bytesAsB64(this.getAssetIssuedId())},TronWebProto.Account.prototype.getAssetIssuedId_asU8=function(){return t.Message.bytesAsU8(this.getAssetIssuedId())},TronWebProto.Account.prototype.setAssetIssuedId=function(e){return t.Message.setProto3BytesField(this,57,e)},TronWebProto.Account.prototype.getLatestAssetOperationTimeMap=function(e){return t.Message.getMapField(this,18,e,null)},TronWebProto.Account.prototype.clearLatestAssetOperationTimeMap=function(){return this.getLatestAssetOperationTimeMap().clear(),this},TronWebProto.Account.prototype.getLatestAssetOperationTimev2Map=function(e){return t.Message.getMapField(this,58,e,null)},TronWebProto.Account.prototype.clearLatestAssetOperationTimev2Map=function(){return this.getLatestAssetOperationTimev2Map().clear(),this},TronWebProto.Account.prototype.getFreeNetUsage=function(){return t.Message.getFieldWithDefault(this,19,0)},TronWebProto.Account.prototype.setFreeNetUsage=function(e){return t.Message.setProto3IntField(this,19,e)},TronWebProto.Account.prototype.getFreeAssetNetUsageMap=function(e){return t.Message.getMapField(this,20,e,null)},TronWebProto.Account.prototype.clearFreeAssetNetUsageMap=function(){return this.getFreeAssetNetUsageMap().clear(),this},TronWebProto.Account.prototype.getFreeAssetNetUsagev2Map=function(e){return t.Message.getMapField(this,59,e,null)},TronWebProto.Account.prototype.clearFreeAssetNetUsagev2Map=function(){return this.getFreeAssetNetUsagev2Map().clear(),this},TronWebProto.Account.prototype.getLatestConsumeTime=function(){return t.Message.getFieldWithDefault(this,21,0)},TronWebProto.Account.prototype.setLatestConsumeTime=function(e){return t.Message.setProto3IntField(this,21,e)},TronWebProto.Account.prototype.getLatestConsumeFreeTime=function(){return t.Message.getFieldWithDefault(this,22,0)},TronWebProto.Account.prototype.setLatestConsumeFreeTime=function(e){return t.Message.setProto3IntField(this,22,e)},TronWebProto.Account.prototype.getAccountId=function(){return t.Message.getFieldWithDefault(this,23,"")},TronWebProto.Account.prototype.getAccountId_asB64=function(){return t.Message.bytesAsB64(this.getAccountId())},TronWebProto.Account.prototype.getAccountId_asU8=function(){return t.Message.bytesAsU8(this.getAccountId())},TronWebProto.Account.prototype.setAccountId=function(e){return t.Message.setProto3BytesField(this,23,e)},TronWebProto.Account.prototype.getAccountResource=function(){return t.Message.getWrapperField(this,TronWebProto.Account.AccountResource,26)},TronWebProto.Account.prototype.setAccountResource=function(e){return t.Message.setWrapperField(this,26,e)},TronWebProto.Account.prototype.clearAccountResource=function(){return this.setAccountResource(void 0)},TronWebProto.Account.prototype.hasAccountResource=function(){return null!=t.Message.getField(this,26)},TronWebProto.Account.prototype.getCodehash=function(){return t.Message.getFieldWithDefault(this,30,"")},TronWebProto.Account.prototype.getCodehash_asB64=function(){return t.Message.bytesAsB64(this.getCodehash())},TronWebProto.Account.prototype.getCodehash_asU8=function(){return t.Message.bytesAsU8(this.getCodehash())},TronWebProto.Account.prototype.setCodehash=function(e){return t.Message.setProto3BytesField(this,30,e)},TronWebProto.Account.prototype.getOwnerPermission=function(){return t.Message.getWrapperField(this,TronWebProto.Permission,31)},TronWebProto.Account.prototype.setOwnerPermission=function(e){return t.Message.setWrapperField(this,31,e)},TronWebProto.Account.prototype.clearOwnerPermission=function(){return this.setOwnerPermission(void 0)},TronWebProto.Account.prototype.hasOwnerPermission=function(){return null!=t.Message.getField(this,31)},TronWebProto.Account.prototype.getWitnessPermission=function(){return t.Message.getWrapperField(this,TronWebProto.Permission,32)},TronWebProto.Account.prototype.setWitnessPermission=function(e){return t.Message.setWrapperField(this,32,e)},TronWebProto.Account.prototype.clearWitnessPermission=function(){return this.setWitnessPermission(void 0)},TronWebProto.Account.prototype.hasWitnessPermission=function(){return null!=t.Message.getField(this,32)},TronWebProto.Account.prototype.getActivePermissionList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Permission,33)},TronWebProto.Account.prototype.setActivePermissionList=function(e){return t.Message.setRepeatedWrapperField(this,33,e)},TronWebProto.Account.prototype.addActivePermission=function(e,r){return t.Message.addToRepeatedWrapperField(this,33,e,TronWebProto.Permission,r)},TronWebProto.Account.prototype.clearActivePermissionList=function(){return this.setActivePermissionList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Key.prototype.toObject=function(e){return TronWebProto.Key.toObject(e,this)},TronWebProto.Key.toObject=function(e,r){var n={address:r.getAddress_asB64(),weight:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Key.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Key;return TronWebProto.Key.deserializeBinaryFromReader(n,r)},TronWebProto.Key.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setAddress(r);break;case 2:r=t.readInt64();e.setWeight(r);break;default:t.skipField()}}return e},TronWebProto.Key.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Key.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Key.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getWeight())&&t.writeInt64(2,r)},TronWebProto.Key.prototype.getAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.Key.prototype.getAddress_asB64=function(){return t.Message.bytesAsB64(this.getAddress())},TronWebProto.Key.prototype.getAddress_asU8=function(){return t.Message.bytesAsU8(this.getAddress())},TronWebProto.Key.prototype.setAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.Key.prototype.getWeight=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Key.prototype.setWeight=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.DelegatedResource.prototype.toObject=function(e){return TronWebProto.DelegatedResource.toObject(e,this)},TronWebProto.DelegatedResource.toObject=function(e,r){var n={from:r.getFrom_asB64(),to:r.getTo_asB64(),frozenBalanceForBandwidth:t.Message.getFieldWithDefault(r,3,0),frozenBalanceForEnergy:t.Message.getFieldWithDefault(r,4,0),expireTimeForBandwidth:t.Message.getFieldWithDefault(r,5,0),expireTimeForEnergy:t.Message.getFieldWithDefault(r,6,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.DelegatedResource.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.DelegatedResource;return TronWebProto.DelegatedResource.deserializeBinaryFromReader(n,r)},TronWebProto.DelegatedResource.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setFrom(r);break;case 2:r=t.readBytes();e.setTo(r);break;case 3:r=t.readInt64();e.setFrozenBalanceForBandwidth(r);break;case 4:r=t.readInt64();e.setFrozenBalanceForEnergy(r);break;case 5:r=t.readInt64();e.setExpireTimeForBandwidth(r);break;case 6:r=t.readInt64();e.setExpireTimeForEnergy(r);break;default:t.skipField()}}return e},TronWebProto.DelegatedResource.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.DelegatedResource.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.DelegatedResource.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getFrom_asU8()).length>0&&t.writeBytes(1,r),(r=e.getTo_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getFrozenBalanceForBandwidth())&&t.writeInt64(3,r),0!==(r=e.getFrozenBalanceForEnergy())&&t.writeInt64(4,r),0!==(r=e.getExpireTimeForBandwidth())&&t.writeInt64(5,r),0!==(r=e.getExpireTimeForEnergy())&&t.writeInt64(6,r)},TronWebProto.DelegatedResource.prototype.getFrom=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.DelegatedResource.prototype.getFrom_asB64=function(){return t.Message.bytesAsB64(this.getFrom())},TronWebProto.DelegatedResource.prototype.getFrom_asU8=function(){return t.Message.bytesAsU8(this.getFrom())},TronWebProto.DelegatedResource.prototype.setFrom=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.DelegatedResource.prototype.getTo=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.DelegatedResource.prototype.getTo_asB64=function(){return t.Message.bytesAsB64(this.getTo())},TronWebProto.DelegatedResource.prototype.getTo_asU8=function(){return t.Message.bytesAsU8(this.getTo())},TronWebProto.DelegatedResource.prototype.setTo=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.DelegatedResource.prototype.getFrozenBalanceForBandwidth=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.DelegatedResource.prototype.setFrozenBalanceForBandwidth=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.DelegatedResource.prototype.getFrozenBalanceForEnergy=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.DelegatedResource.prototype.setFrozenBalanceForEnergy=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.DelegatedResource.prototype.getExpireTimeForBandwidth=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.DelegatedResource.prototype.setExpireTimeForBandwidth=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.DelegatedResource.prototype.getExpireTimeForEnergy=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.DelegatedResource.prototype.setExpireTimeForEnergy=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.authority.prototype.toObject=function(e){return TronWebProto.authority.toObject(e,this)},TronWebProto.authority.toObject=function(e,t){var r,n={account:(r=t.getAccount())&&TronWebProto.AccountId.toObject(e,r),permissionName:t.getPermissionName_asB64()};return e&&(n.$jspbMessageInstance=t),n}),TronWebProto.authority.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.authority;return TronWebProto.authority.deserializeBinaryFromReader(n,r)},TronWebProto.authority.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new TronWebProto.AccountId;t.readMessage(r,TronWebProto.AccountId.deserializeBinaryFromReader),e.setAccount(r);break;case 2:r=t.readBytes();e.setPermissionName(r);break;default:t.skipField()}}return e},TronWebProto.authority.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.authority.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.authority.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getAccount())&&t.writeMessage(1,r,TronWebProto.AccountId.serializeBinaryToWriter),(r=e.getPermissionName_asU8()).length>0&&t.writeBytes(2,r)},TronWebProto.authority.prototype.getAccount=function(){return t.Message.getWrapperField(this,TronWebProto.AccountId,1)},TronWebProto.authority.prototype.setAccount=function(e){return t.Message.setWrapperField(this,1,e)},TronWebProto.authority.prototype.clearAccount=function(){return this.setAccount(void 0)},TronWebProto.authority.prototype.hasAccount=function(){return null!=t.Message.getField(this,1)},TronWebProto.authority.prototype.getPermissionName=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.authority.prototype.getPermissionName_asB64=function(){return t.Message.bytesAsB64(this.getPermissionName())},TronWebProto.authority.prototype.getPermissionName_asU8=function(){return t.Message.bytesAsU8(this.getPermissionName())},TronWebProto.authority.prototype.setPermissionName=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.Permission.repeatedFields_=[7],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Permission.prototype.toObject=function(e){return TronWebProto.Permission.toObject(e,this)},TronWebProto.Permission.toObject=function(e,r){var n={type:t.Message.getFieldWithDefault(r,1,0),id:t.Message.getFieldWithDefault(r,2,0),permissionName:t.Message.getFieldWithDefault(r,3,""),threshold:t.Message.getFieldWithDefault(r,4,0),parentId:t.Message.getFieldWithDefault(r,5,0),operations:r.getOperations_asB64(),keysList:t.Message.toObjectList(r.getKeysList(),TronWebProto.Key.toObject,e)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Permission.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Permission;return TronWebProto.Permission.deserializeBinaryFromReader(n,r)},TronWebProto.Permission.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readEnum();e.setType(r);break;case 2:r=t.readInt32();e.setId(r);break;case 3:r=t.readString();e.setPermissionName(r);break;case 4:r=t.readInt64();e.setThreshold(r);break;case 5:r=t.readInt32();e.setParentId(r);break;case 6:r=t.readBytes();e.setOperations(r);break;case 7:r=new TronWebProto.Key;t.readMessage(r,TronWebProto.Key.deserializeBinaryFromReader),e.addKeys(r);break;default:t.skipField()}}return e},TronWebProto.Permission.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Permission.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Permission.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getType())&&t.writeEnum(1,r),0!==(r=e.getId())&&t.writeInt32(2,r),(r=e.getPermissionName()).length>0&&t.writeString(3,r),0!==(r=e.getThreshold())&&t.writeInt64(4,r),0!==(r=e.getParentId())&&t.writeInt32(5,r),(r=e.getOperations_asU8()).length>0&&t.writeBytes(6,r),(r=e.getKeysList()).length>0&&t.writeRepeatedMessage(7,r,TronWebProto.Key.serializeBinaryToWriter)},TronWebProto.Permission.PermissionType={OWNER:0,WITNESS:1,ACTIVE:2},TronWebProto.Permission.prototype.getType=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Permission.prototype.setType=function(e){return t.Message.setProto3EnumField(this,1,e)},TronWebProto.Permission.prototype.getId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Permission.prototype.setId=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.Permission.prototype.getPermissionName=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.Permission.prototype.setPermissionName=function(e){return t.Message.setProto3StringField(this,3,e)},TronWebProto.Permission.prototype.getThreshold=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.Permission.prototype.setThreshold=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.Permission.prototype.getParentId=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Permission.prototype.setParentId=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.Permission.prototype.getOperations=function(){return t.Message.getFieldWithDefault(this,6,"")},TronWebProto.Permission.prototype.getOperations_asB64=function(){return t.Message.bytesAsB64(this.getOperations())},TronWebProto.Permission.prototype.getOperations_asU8=function(){return t.Message.bytesAsU8(this.getOperations())},TronWebProto.Permission.prototype.setOperations=function(e){return t.Message.setProto3BytesField(this,6,e)},TronWebProto.Permission.prototype.getKeysList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Key,7)},TronWebProto.Permission.prototype.setKeysList=function(e){return t.Message.setRepeatedWrapperField(this,7,e)},TronWebProto.Permission.prototype.addKeys=function(e,r){return t.Message.addToRepeatedWrapperField(this,7,e,TronWebProto.Key,r)},TronWebProto.Permission.prototype.clearKeysList=function(){return this.setKeysList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Witness.prototype.toObject=function(e){return TronWebProto.Witness.toObject(e,this)},TronWebProto.Witness.toObject=function(e,r){var n={address:r.getAddress_asB64(),votecount:t.Message.getFieldWithDefault(r,2,0),pubkey:r.getPubkey_asB64(),url:t.Message.getFieldWithDefault(r,4,""),totalproduced:t.Message.getFieldWithDefault(r,5,0),totalmissed:t.Message.getFieldWithDefault(r,6,0),latestblocknum:t.Message.getFieldWithDefault(r,7,0),latestslotnum:t.Message.getFieldWithDefault(r,8,0),isjobs:t.Message.getBooleanFieldWithDefault(r,9,!1)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Witness.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Witness;return TronWebProto.Witness.deserializeBinaryFromReader(n,r)},TronWebProto.Witness.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setAddress(r);break;case 2:r=t.readInt64();e.setVotecount(r);break;case 3:r=t.readBytes();e.setPubkey(r);break;case 4:r=t.readString();e.setUrl(r);break;case 5:r=t.readInt64();e.setTotalproduced(r);break;case 6:r=t.readInt64();e.setTotalmissed(r);break;case 7:r=t.readInt64();e.setLatestblocknum(r);break;case 8:r=t.readInt64();e.setLatestslotnum(r);break;case 9:r=t.readBool();e.setIsjobs(r);break;default:t.skipField()}}return e},TronWebProto.Witness.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Witness.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Witness.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getVotecount())&&t.writeInt64(2,r),(r=e.getPubkey_asU8()).length>0&&t.writeBytes(3,r),(r=e.getUrl()).length>0&&t.writeString(4,r),0!==(r=e.getTotalproduced())&&t.writeInt64(5,r),0!==(r=e.getTotalmissed())&&t.writeInt64(6,r),0!==(r=e.getLatestblocknum())&&t.writeInt64(7,r),0!==(r=e.getLatestslotnum())&&t.writeInt64(8,r),(r=e.getIsjobs())&&t.writeBool(9,r)},TronWebProto.Witness.prototype.getAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.Witness.prototype.getAddress_asB64=function(){return t.Message.bytesAsB64(this.getAddress())},TronWebProto.Witness.prototype.getAddress_asU8=function(){return t.Message.bytesAsU8(this.getAddress())},TronWebProto.Witness.prototype.setAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.Witness.prototype.getVotecount=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Witness.prototype.setVotecount=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.Witness.prototype.getPubkey=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.Witness.prototype.getPubkey_asB64=function(){return t.Message.bytesAsB64(this.getPubkey())},TronWebProto.Witness.prototype.getPubkey_asU8=function(){return t.Message.bytesAsU8(this.getPubkey())},TronWebProto.Witness.prototype.setPubkey=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.Witness.prototype.getUrl=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.Witness.prototype.setUrl=function(e){return t.Message.setProto3StringField(this,4,e)},TronWebProto.Witness.prototype.getTotalproduced=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Witness.prototype.setTotalproduced=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.Witness.prototype.getTotalmissed=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.Witness.prototype.setTotalmissed=function(e){return t.Message.setProto3IntField(this,6,e)},TronWebProto.Witness.prototype.getLatestblocknum=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.Witness.prototype.setLatestblocknum=function(e){return t.Message.setProto3IntField(this,7,e)},TronWebProto.Witness.prototype.getLatestslotnum=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.Witness.prototype.setLatestslotnum=function(e){return t.Message.setProto3IntField(this,8,e)},TronWebProto.Witness.prototype.getIsjobs=function(){return t.Message.getBooleanFieldWithDefault(this,9,!1)},TronWebProto.Witness.prototype.setIsjobs=function(e){return t.Message.setProto3BooleanField(this,9,e)},TronWebProto.Votes.repeatedFields_=[2,3],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Votes.prototype.toObject=function(e){return TronWebProto.Votes.toObject(e,this)},TronWebProto.Votes.toObject=function(e,r){var n={address:r.getAddress_asB64(),oldVotesList:t.Message.toObjectList(r.getOldVotesList(),TronWebProto.Vote.toObject,e),newVotesList:t.Message.toObjectList(r.getNewVotesList(),TronWebProto.Vote.toObject,e)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Votes.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Votes;return TronWebProto.Votes.deserializeBinaryFromReader(n,r)},TronWebProto.Votes.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setAddress(r);break;case 2:r=new TronWebProto.Vote;t.readMessage(r,TronWebProto.Vote.deserializeBinaryFromReader),e.addOldVotes(r);break;case 3:r=new TronWebProto.Vote;t.readMessage(r,TronWebProto.Vote.deserializeBinaryFromReader),e.addNewVotes(r);break;default:t.skipField()}}return e},TronWebProto.Votes.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Votes.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Votes.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getOldVotesList()).length>0&&t.writeRepeatedMessage(2,r,TronWebProto.Vote.serializeBinaryToWriter),(r=e.getNewVotesList()).length>0&&t.writeRepeatedMessage(3,r,TronWebProto.Vote.serializeBinaryToWriter)},TronWebProto.Votes.prototype.getAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.Votes.prototype.getAddress_asB64=function(){return t.Message.bytesAsB64(this.getAddress())},TronWebProto.Votes.prototype.getAddress_asU8=function(){return t.Message.bytesAsU8(this.getAddress())},TronWebProto.Votes.prototype.setAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.Votes.prototype.getOldVotesList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Vote,2)},TronWebProto.Votes.prototype.setOldVotesList=function(e){return t.Message.setRepeatedWrapperField(this,2,e)},TronWebProto.Votes.prototype.addOldVotes=function(e,r){return t.Message.addToRepeatedWrapperField(this,2,e,TronWebProto.Vote,r)},TronWebProto.Votes.prototype.clearOldVotesList=function(){return this.setOldVotesList([])},TronWebProto.Votes.prototype.getNewVotesList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Vote,3)},TronWebProto.Votes.prototype.setNewVotesList=function(e){return t.Message.setRepeatedWrapperField(this,3,e)},TronWebProto.Votes.prototype.addNewVotes=function(e,r){return t.Message.addToRepeatedWrapperField(this,3,e,TronWebProto.Vote,r)},TronWebProto.Votes.prototype.clearNewVotesList=function(){return this.setNewVotesList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.MarketOrderDetail.prototype.toObject=function(e){return TronWebProto.MarketOrderDetail.toObject(e,this)},TronWebProto.MarketOrderDetail.toObject=function(e,r){var n={makerorderid:r.getMakerorderid_asB64(),takerorderid:r.getTakerorderid_asB64(),fillsellquantity:t.Message.getFieldWithDefault(r,3,0),fillbuyquantity:t.Message.getFieldWithDefault(r,4,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.MarketOrderDetail.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.MarketOrderDetail;return TronWebProto.MarketOrderDetail.deserializeBinaryFromReader(n,r)},TronWebProto.MarketOrderDetail.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setMakerorderid(r);break;case 2:r=t.readBytes();e.setTakerorderid(r);break;case 3:r=t.readInt64();e.setFillsellquantity(r);break;case 4:r=t.readInt64();e.setFillbuyquantity(r);break;default:t.skipField()}}return e},TronWebProto.MarketOrderDetail.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.MarketOrderDetail.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.MarketOrderDetail.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMakerorderid_asU8()).length>0&&t.writeBytes(1,r),(r=e.getTakerorderid_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getFillsellquantity())&&t.writeInt64(3,r),0!==(r=e.getFillbuyquantity())&&t.writeInt64(4,r)},TronWebProto.MarketOrderDetail.prototype.getMakerorderid=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.MarketOrderDetail.prototype.getMakerorderid_asB64=function(){return t.Message.bytesAsB64(this.getMakerorderid())},TronWebProto.MarketOrderDetail.prototype.getMakerorderid_asU8=function(){return t.Message.bytesAsU8(this.getMakerorderid())},TronWebProto.MarketOrderDetail.prototype.setMakerorderid=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.MarketOrderDetail.prototype.getTakerorderid=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.MarketOrderDetail.prototype.getTakerorderid_asB64=function(){return t.Message.bytesAsB64(this.getTakerorderid())},TronWebProto.MarketOrderDetail.prototype.getTakerorderid_asU8=function(){return t.Message.bytesAsU8(this.getTakerorderid())},TronWebProto.MarketOrderDetail.prototype.setTakerorderid=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.MarketOrderDetail.prototype.getFillsellquantity=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.MarketOrderDetail.prototype.setFillsellquantity=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.MarketOrderDetail.prototype.getFillbuyquantity=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.MarketOrderDetail.prototype.setFillbuyquantity=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.Transaction.repeatedFields_=[2,5],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Transaction.prototype.toObject=function(e){return TronWebProto.Transaction.toObject(e,this)},TronWebProto.Transaction.toObject=function(e,r){var n,i={rawData:(n=r.getRawData())&&TronWebProto.Transaction.raw.toObject(e,n),signatureList:r.getSignatureList_asB64(),retList:t.Message.toObjectList(r.getRetList(),TronWebProto.Transaction.Result.toObject,e)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.Transaction.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Transaction;return TronWebProto.Transaction.deserializeBinaryFromReader(n,r)},TronWebProto.Transaction.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new TronWebProto.Transaction.raw;t.readMessage(r,TronWebProto.Transaction.raw.deserializeBinaryFromReader),e.setRawData(r);break;case 2:r=t.readBytes();e.addSignature(r);break;case 5:r=new TronWebProto.Transaction.Result;t.readMessage(r,TronWebProto.Transaction.Result.deserializeBinaryFromReader),e.addRet(r);break;default:t.skipField()}}return e},TronWebProto.Transaction.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Transaction.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Transaction.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getRawData())&&t.writeMessage(1,r,TronWebProto.Transaction.raw.serializeBinaryToWriter),(r=e.getSignatureList_asU8()).length>0&&t.writeRepeatedBytes(2,r),(r=e.getRetList()).length>0&&t.writeRepeatedMessage(5,r,TronWebProto.Transaction.Result.serializeBinaryToWriter)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Transaction.Contract.prototype.toObject=function(e){return TronWebProto.Transaction.Contract.toObject(e,this)},TronWebProto.Transaction.Contract.toObject=function(e,r){var n,o={type:t.Message.getFieldWithDefault(r,1,0),parameter:(n=r.getParameter())&&i.Any.toObject(e,n),provider:r.getProvider_asB64(),contractname:r.getContractname_asB64(),permissionId:t.Message.getFieldWithDefault(r,5,0)};return e&&(o.$jspbMessageInstance=r),o}),TronWebProto.Transaction.Contract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Transaction.Contract;return TronWebProto.Transaction.Contract.deserializeBinaryFromReader(n,r)},TronWebProto.Transaction.Contract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readEnum();e.setType(r);break;case 2:r=new i.Any;t.readMessage(r,i.Any.deserializeBinaryFromReader),e.setParameter(r);break;case 3:r=t.readBytes();e.setProvider(r);break;case 4:r=t.readBytes();e.setContractname(r);break;case 5:r=t.readInt32();e.setPermissionId(r);break;default:t.skipField()}}return e},TronWebProto.Transaction.Contract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Transaction.Contract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Transaction.Contract.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getType())&&t.writeEnum(1,r),null!=(r=e.getParameter())&&t.writeMessage(2,r,i.Any.serializeBinaryToWriter),(r=e.getProvider_asU8()).length>0&&t.writeBytes(3,r),(r=e.getContractname_asU8()).length>0&&t.writeBytes(4,r),0!==(r=e.getPermissionId())&&t.writeInt32(5,r)},TronWebProto.Transaction.Contract.ContractType={ACCOUNTCREATECONTRACT:0,TRANSFERCONTRACT:1,TRANSFERASSETCONTRACT:2,VOTEASSETCONTRACT:3,VOTEWITNESSCONTRACT:4,WITNESSCREATECONTRACT:5,ASSETISSUECONTRACT:6,WITNESSUPDATECONTRACT:8,PARTICIPATEASSETISSUECONTRACT:9,ACCOUNTUPDATECONTRACT:10,FREEZEBALANCECONTRACT:11,UNFREEZEBALANCECONTRACT:12,WITHDRAWBALANCECONTRACT:13,UNFREEZEASSETCONTRACT:14,UPDATEASSETCONTRACT:15,PROPOSALCREATECONTRACT:16,PROPOSALAPPROVECONTRACT:17,PROPOSALDELETECONTRACT:18,SETACCOUNTIDCONTRACT:19,CUSTOMCONTRACT:20,CREATESMARTCONTRACT:30,TRIGGERSMARTCONTRACT:31,GETCONTRACT:32,UPDATESETTINGCONTRACT:33,EXCHANGECREATECONTRACT:41,EXCHANGEINJECTCONTRACT:42,EXCHANGEWITHDRAWCONTRACT:43,EXCHANGETRANSACTIONCONTRACT:44,UPDATEENERGYLIMITCONTRACT:45,ACCOUNTPERMISSIONUPDATECONTRACT:46,CLEARABICONTRACT:48,UPDATEBROKERAGECONTRACT:49,SHIELDEDTRANSFERCONTRACT:51,MARKETSELLASSETCONTRACT:52,MARKETCANCELORDERCONTRACT:53,FREEZEBALANCEV2CONTRACT:54,UNFREEZEBALANCEV2CONTRACT:55,WITHDRAWEXPIREUNFREEZECONTRACT:56,DELEGATERESOURCECONTRACT:57,UNDELEGATERESOURCECONTRACT:58,CANCELALLUNFREEZEV2CONTRACT:59},TronWebProto.Transaction.Contract.prototype.getType=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Transaction.Contract.prototype.setType=function(e){return t.Message.setProto3EnumField(this,1,e)},TronWebProto.Transaction.Contract.prototype.getParameter=function(){return t.Message.getWrapperField(this,i.Any,2)},TronWebProto.Transaction.Contract.prototype.setParameter=function(e){return t.Message.setWrapperField(this,2,e)},TronWebProto.Transaction.Contract.prototype.clearParameter=function(){return this.setParameter(void 0)},TronWebProto.Transaction.Contract.prototype.hasParameter=function(){return null!=t.Message.getField(this,2)},TronWebProto.Transaction.Contract.prototype.getProvider=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.Transaction.Contract.prototype.getProvider_asB64=function(){return t.Message.bytesAsB64(this.getProvider())},TronWebProto.Transaction.Contract.prototype.getProvider_asU8=function(){return t.Message.bytesAsU8(this.getProvider())},TronWebProto.Transaction.Contract.prototype.setProvider=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.Transaction.Contract.prototype.getContractname=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.Transaction.Contract.prototype.getContractname_asB64=function(){return t.Message.bytesAsB64(this.getContractname())},TronWebProto.Transaction.Contract.prototype.getContractname_asU8=function(){return t.Message.bytesAsU8(this.getContractname())},TronWebProto.Transaction.Contract.prototype.setContractname=function(e){return t.Message.setProto3BytesField(this,4,e)},TronWebProto.Transaction.Contract.prototype.getPermissionId=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.Transaction.Contract.prototype.setPermissionId=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.Transaction.Result.repeatedFields_=[26],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Transaction.Result.prototype.toObject=function(e){return TronWebProto.Transaction.Result.toObject(e,this)},TronWebProto.Transaction.Result.toObject=function(e,r){var n={fee:t.Message.getFieldWithDefault(r,1,0),ret:t.Message.getFieldWithDefault(r,2,0),contractret:t.Message.getFieldWithDefault(r,3,0),assetissueid:t.Message.getFieldWithDefault(r,14,""),withdrawAmount:t.Message.getFieldWithDefault(r,15,0),unfreezeAmount:t.Message.getFieldWithDefault(r,16,0),exchangeReceivedAmount:t.Message.getFieldWithDefault(r,18,0),exchangeInjectAnotherAmount:t.Message.getFieldWithDefault(r,19,0),exchangeWithdrawAnotherAmount:t.Message.getFieldWithDefault(r,20,0),exchangeId:t.Message.getFieldWithDefault(r,21,0),shieldedTransactionFee:t.Message.getFieldWithDefault(r,22,0),orderid:r.getOrderid_asB64(),orderdetailsList:t.Message.toObjectList(r.getOrderdetailsList(),TronWebProto.MarketOrderDetail.toObject,e)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Transaction.Result.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Transaction.Result;return TronWebProto.Transaction.Result.deserializeBinaryFromReader(n,r)},TronWebProto.Transaction.Result.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setFee(r);break;case 2:r=t.readEnum();e.setRet(r);break;case 3:r=t.readEnum();e.setContractret(r);break;case 14:r=t.readString();e.setAssetissueid(r);break;case 15:r=t.readInt64();e.setWithdrawAmount(r);break;case 16:r=t.readInt64();e.setUnfreezeAmount(r);break;case 18:r=t.readInt64();e.setExchangeReceivedAmount(r);break;case 19:r=t.readInt64();e.setExchangeInjectAnotherAmount(r);break;case 20:r=t.readInt64();e.setExchangeWithdrawAnotherAmount(r);break;case 21:r=t.readInt64();e.setExchangeId(r);break;case 22:r=t.readInt64();e.setShieldedTransactionFee(r);break;case 25:r=t.readBytes();e.setOrderid(r);break;case 26:r=new TronWebProto.MarketOrderDetail;t.readMessage(r,TronWebProto.MarketOrderDetail.deserializeBinaryFromReader),e.addOrderdetails(r);break;default:t.skipField()}}return e},TronWebProto.Transaction.Result.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Transaction.Result.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Transaction.Result.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getFee())&&t.writeInt64(1,r),0!==(r=e.getRet())&&t.writeEnum(2,r),0!==(r=e.getContractret())&&t.writeEnum(3,r),(r=e.getAssetissueid()).length>0&&t.writeString(14,r),0!==(r=e.getWithdrawAmount())&&t.writeInt64(15,r),0!==(r=e.getUnfreezeAmount())&&t.writeInt64(16,r),0!==(r=e.getExchangeReceivedAmount())&&t.writeInt64(18,r),0!==(r=e.getExchangeInjectAnotherAmount())&&t.writeInt64(19,r),0!==(r=e.getExchangeWithdrawAnotherAmount())&&t.writeInt64(20,r),0!==(r=e.getExchangeId())&&t.writeInt64(21,r),0!==(r=e.getShieldedTransactionFee())&&t.writeInt64(22,r),(r=e.getOrderid_asU8()).length>0&&t.writeBytes(25,r),(r=e.getOrderdetailsList()).length>0&&t.writeRepeatedMessage(26,r,TronWebProto.MarketOrderDetail.serializeBinaryToWriter)},TronWebProto.Transaction.Result.code={SUCESS:0,FAILED:1},TronWebProto.Transaction.Result.contractResult={DEFAULT:0,SUCCESS:1,REVERT:2,BAD_JUMP_DESTINATION:3,OUT_OF_MEMORY:4,PRECOMPILED_CONTRACT:5,STACK_TOO_SMALL:6,STACK_TOO_LARGE:7,ILLEGAL_OPERATION:8,STACK_OVERFLOW:9,OUT_OF_ENERGY:10,OUT_OF_TIME:11,JVM_STACK_OVER_FLOW:12,UNKNOWN:13,TRANSFER_FAILED:14,INVALID_CODE:15},TronWebProto.Transaction.Result.prototype.getFee=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.Transaction.Result.prototype.setFee=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.Transaction.Result.prototype.getRet=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.Transaction.Result.prototype.setRet=function(e){return t.Message.setProto3EnumField(this,2,e)},TronWebProto.Transaction.Result.prototype.getContractret=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Transaction.Result.prototype.setContractret=function(e){return t.Message.setProto3EnumField(this,3,e)},TronWebProto.Transaction.Result.prototype.getAssetissueid=function(){return t.Message.getFieldWithDefault(this,14,"")},TronWebProto.Transaction.Result.prototype.setAssetissueid=function(e){return t.Message.setProto3StringField(this,14,e)},TronWebProto.Transaction.Result.prototype.getWithdrawAmount=function(){return t.Message.getFieldWithDefault(this,15,0)},TronWebProto.Transaction.Result.prototype.setWithdrawAmount=function(e){return t.Message.setProto3IntField(this,15,e)},TronWebProto.Transaction.Result.prototype.getUnfreezeAmount=function(){return t.Message.getFieldWithDefault(this,16,0)},TronWebProto.Transaction.Result.prototype.setUnfreezeAmount=function(e){return t.Message.setProto3IntField(this,16,e)},TronWebProto.Transaction.Result.prototype.getExchangeReceivedAmount=function(){return t.Message.getFieldWithDefault(this,18,0)},TronWebProto.Transaction.Result.prototype.setExchangeReceivedAmount=function(e){return t.Message.setProto3IntField(this,18,e)},TronWebProto.Transaction.Result.prototype.getExchangeInjectAnotherAmount=function(){return t.Message.getFieldWithDefault(this,19,0)},TronWebProto.Transaction.Result.prototype.setExchangeInjectAnotherAmount=function(e){return t.Message.setProto3IntField(this,19,e)},TronWebProto.Transaction.Result.prototype.getExchangeWithdrawAnotherAmount=function(){return t.Message.getFieldWithDefault(this,20,0)},TronWebProto.Transaction.Result.prototype.setExchangeWithdrawAnotherAmount=function(e){return t.Message.setProto3IntField(this,20,e)},TronWebProto.Transaction.Result.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,21,0)},TronWebProto.Transaction.Result.prototype.setExchangeId=function(e){return t.Message.setProto3IntField(this,21,e)},TronWebProto.Transaction.Result.prototype.getShieldedTransactionFee=function(){return t.Message.getFieldWithDefault(this,22,0)},TronWebProto.Transaction.Result.prototype.setShieldedTransactionFee=function(e){return t.Message.setProto3IntField(this,22,e)},TronWebProto.Transaction.Result.prototype.getOrderid=function(){return t.Message.getFieldWithDefault(this,25,"")},TronWebProto.Transaction.Result.prototype.getOrderid_asB64=function(){return t.Message.bytesAsB64(this.getOrderid())},TronWebProto.Transaction.Result.prototype.getOrderid_asU8=function(){return t.Message.bytesAsU8(this.getOrderid())},TronWebProto.Transaction.Result.prototype.setOrderid=function(e){return t.Message.setProto3BytesField(this,25,e)},TronWebProto.Transaction.Result.prototype.getOrderdetailsList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.MarketOrderDetail,26)},TronWebProto.Transaction.Result.prototype.setOrderdetailsList=function(e){return t.Message.setRepeatedWrapperField(this,26,e)},TronWebProto.Transaction.Result.prototype.addOrderdetails=function(e,r){return t.Message.addToRepeatedWrapperField(this,26,e,TronWebProto.MarketOrderDetail,r)},TronWebProto.Transaction.Result.prototype.clearOrderdetailsList=function(){return this.setOrderdetailsList([])},TronWebProto.Transaction.raw.repeatedFields_=[9,11],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.Transaction.raw.prototype.toObject=function(e){return TronWebProto.Transaction.raw.toObject(e,this)},TronWebProto.Transaction.raw.toObject=function(e,r){var n={refBlockBytes:r.getRefBlockBytes_asB64(),refBlockNum:t.Message.getFieldWithDefault(r,3,0),refBlockHash:r.getRefBlockHash_asB64(),expiration:t.Message.getFieldWithDefault(r,8,0),authsList:t.Message.toObjectList(r.getAuthsList(),TronWebProto.authority.toObject,e),data:r.getData_asB64(),contractList:t.Message.toObjectList(r.getContractList(),TronWebProto.Transaction.Contract.toObject,e),scripts:r.getScripts_asB64(),timestamp:t.Message.getFieldWithDefault(r,14,0),feeLimit:t.Message.getFieldWithDefault(r,18,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.Transaction.raw.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.Transaction.raw;return TronWebProto.Transaction.raw.deserializeBinaryFromReader(n,r)},TronWebProto.Transaction.raw.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setRefBlockBytes(r);break;case 3:r=t.readInt64();e.setRefBlockNum(r);break;case 4:r=t.readBytes();e.setRefBlockHash(r);break;case 8:r=t.readInt64();e.setExpiration(r);break;case 9:r=new TronWebProto.authority;t.readMessage(r,TronWebProto.authority.deserializeBinaryFromReader),e.addAuths(r);break;case 10:r=t.readBytes();e.setData(r);break;case 11:r=new TronWebProto.Transaction.Contract;t.readMessage(r,TronWebProto.Transaction.Contract.deserializeBinaryFromReader),e.addContract(r);break;case 12:r=t.readBytes();e.setScripts(r);break;case 14:r=t.readInt64();e.setTimestamp(r);break;case 18:r=t.readInt64();e.setFeeLimit(r);break;default:t.skipField()}}return e},TronWebProto.Transaction.raw.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.Transaction.raw.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.Transaction.raw.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRefBlockBytes_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getRefBlockNum())&&t.writeInt64(3,r),(r=e.getRefBlockHash_asU8()).length>0&&t.writeBytes(4,r),0!==(r=e.getExpiration())&&t.writeInt64(8,r),(r=e.getAuthsList()).length>0&&t.writeRepeatedMessage(9,r,TronWebProto.authority.serializeBinaryToWriter),(r=e.getData_asU8()).length>0&&t.writeBytes(10,r),(r=e.getContractList()).length>0&&t.writeRepeatedMessage(11,r,TronWebProto.Transaction.Contract.serializeBinaryToWriter),(r=e.getScripts_asU8()).length>0&&t.writeBytes(12,r),0!==(r=e.getTimestamp())&&t.writeInt64(14,r),0!==(r=e.getFeeLimit())&&t.writeInt64(18,r)},TronWebProto.Transaction.raw.prototype.getRefBlockBytes=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.Transaction.raw.prototype.getRefBlockBytes_asB64=function(){return t.Message.bytesAsB64(this.getRefBlockBytes())},TronWebProto.Transaction.raw.prototype.getRefBlockBytes_asU8=function(){return t.Message.bytesAsU8(this.getRefBlockBytes())},TronWebProto.Transaction.raw.prototype.setRefBlockBytes=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.Transaction.raw.prototype.getRefBlockNum=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.Transaction.raw.prototype.setRefBlockNum=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.Transaction.raw.prototype.getRefBlockHash=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.Transaction.raw.prototype.getRefBlockHash_asB64=function(){return t.Message.bytesAsB64(this.getRefBlockHash())},TronWebProto.Transaction.raw.prototype.getRefBlockHash_asU8=function(){return t.Message.bytesAsU8(this.getRefBlockHash())},TronWebProto.Transaction.raw.prototype.setRefBlockHash=function(e){return t.Message.setProto3BytesField(this,4,e)},TronWebProto.Transaction.raw.prototype.getExpiration=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.Transaction.raw.prototype.setExpiration=function(e){return t.Message.setProto3IntField(this,8,e)},TronWebProto.Transaction.raw.prototype.getAuthsList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.authority,9)},TronWebProto.Transaction.raw.prototype.setAuthsList=function(e){return t.Message.setRepeatedWrapperField(this,9,e)},TronWebProto.Transaction.raw.prototype.addAuths=function(e,r){return t.Message.addToRepeatedWrapperField(this,9,e,TronWebProto.authority,r)},TronWebProto.Transaction.raw.prototype.clearAuthsList=function(){return this.setAuthsList([])},TronWebProto.Transaction.raw.prototype.getData=function(){return t.Message.getFieldWithDefault(this,10,"")},TronWebProto.Transaction.raw.prototype.getData_asB64=function(){return t.Message.bytesAsB64(this.getData())},TronWebProto.Transaction.raw.prototype.getData_asU8=function(){return t.Message.bytesAsU8(this.getData())},TronWebProto.Transaction.raw.prototype.setData=function(e){return t.Message.setProto3BytesField(this,10,e)},TronWebProto.Transaction.raw.prototype.getContractList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Transaction.Contract,11)},TronWebProto.Transaction.raw.prototype.setContractList=function(e){return t.Message.setRepeatedWrapperField(this,11,e)},TronWebProto.Transaction.raw.prototype.addContract=function(e,r){return t.Message.addToRepeatedWrapperField(this,11,e,TronWebProto.Transaction.Contract,r)},TronWebProto.Transaction.raw.prototype.clearContractList=function(){return this.setContractList([])},TronWebProto.Transaction.raw.prototype.getScripts=function(){return t.Message.getFieldWithDefault(this,12,"")},TronWebProto.Transaction.raw.prototype.getScripts_asB64=function(){return t.Message.bytesAsB64(this.getScripts())},TronWebProto.Transaction.raw.prototype.getScripts_asU8=function(){return t.Message.bytesAsU8(this.getScripts())},TronWebProto.Transaction.raw.prototype.setScripts=function(e){return t.Message.setProto3BytesField(this,12,e)},TronWebProto.Transaction.raw.prototype.getTimestamp=function(){return t.Message.getFieldWithDefault(this,14,0)},TronWebProto.Transaction.raw.prototype.setTimestamp=function(e){return t.Message.setProto3IntField(this,14,e)},TronWebProto.Transaction.raw.prototype.getFeeLimit=function(){return t.Message.getFieldWithDefault(this,18,0)},TronWebProto.Transaction.raw.prototype.setFeeLimit=function(e){return t.Message.setProto3IntField(this,18,e)},TronWebProto.Transaction.prototype.getRawData=function(){return t.Message.getWrapperField(this,TronWebProto.Transaction.raw,1)},TronWebProto.Transaction.prototype.setRawData=function(e){return t.Message.setWrapperField(this,1,e)},TronWebProto.Transaction.prototype.clearRawData=function(){return this.setRawData(void 0)},TronWebProto.Transaction.prototype.hasRawData=function(){return null!=t.Message.getField(this,1)},TronWebProto.Transaction.prototype.getSignatureList=function(){return t.Message.getRepeatedField(this,2)},TronWebProto.Transaction.prototype.getSignatureList_asB64=function(){return t.Message.bytesListAsB64(this.getSignatureList())},TronWebProto.Transaction.prototype.getSignatureList_asU8=function(){return t.Message.bytesListAsU8(this.getSignatureList())},TronWebProto.Transaction.prototype.setSignatureList=function(e){return t.Message.setField(this,2,e||[])},TronWebProto.Transaction.prototype.addSignature=function(e,r){return t.Message.addToRepeatedField(this,2,e,r)},TronWebProto.Transaction.prototype.clearSignatureList=function(){return this.setSignatureList([])},TronWebProto.Transaction.prototype.getRetList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.Transaction.Result,5)},TronWebProto.Transaction.prototype.setRetList=function(e){return t.Message.setRepeatedWrapperField(this,5,e)},TronWebProto.Transaction.prototype.addRet=function(e,r){return t.Message.addToRepeatedWrapperField(this,5,e,TronWebProto.Transaction.Result,r)},TronWebProto.Transaction.prototype.clearRetList=function(){return this.setRetList([])},TronWebProto.AccountType={NORMAL:0,ASSETISSUE:1,CONTRACT:2},r.object.extend(e,TronWebProto)})),Rwe=W((e=>{m();var t=$h(),r=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof r<"u"&&r||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();t.exportSymbol("TronWebProto.ResourceCode",null,r),TronWebProto.ResourceCode={BANDWIDTH:0,ENERGY:1,TRON_POWER:2},t.object.extend(e,TronWebProto)})),Nmt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),i=Rwe();r.object.extend(proto,i),r.exportSymbol("TronWebProto.AccountBalanceRequest",null,n),r.exportSymbol("TronWebProto.AccountBalanceResponse",null,n),r.exportSymbol("TronWebProto.AccountIdentifier",null,n),r.exportSymbol("TronWebProto.AccountTrace",null,n),r.exportSymbol("TronWebProto.BlockBalanceTrace",null,n),r.exportSymbol("TronWebProto.BlockBalanceTrace.BlockIdentifier",null,n),r.exportSymbol("TronWebProto.CancelAllUnfreezeV2Contract",null,n),r.exportSymbol("TronWebProto.DelegateResourceContract",null,n),r.exportSymbol("TronWebProto.FreezeBalanceContract",null,n),r.exportSymbol("TronWebProto.FreezeBalanceV2Contract",null,n),r.exportSymbol("TronWebProto.TransactionBalanceTrace",null,n),r.exportSymbol("TronWebProto.TransactionBalanceTrace.Operation",null,n),r.exportSymbol("TronWebProto.TransferContract",null,n),r.exportSymbol("TronWebProto.UnDelegateResourceContract",null,n),r.exportSymbol("TronWebProto.UnfreezeBalanceContract",null,n),r.exportSymbol("TronWebProto.UnfreezeBalanceV2Contract",null,n),r.exportSymbol("TronWebProto.WithdrawBalanceContract",null,n),r.exportSymbol("TronWebProto.WithdrawExpireUnfreezeContract",null,n),TronWebProto.FreezeBalanceContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.FreezeBalanceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.FreezeBalanceContract.displayName="TronWebProto.FreezeBalanceContract"),TronWebProto.UnfreezeBalanceContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UnfreezeBalanceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnfreezeBalanceContract.displayName="TronWebProto.UnfreezeBalanceContract"),TronWebProto.WithdrawBalanceContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.WithdrawBalanceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WithdrawBalanceContract.displayName="TronWebProto.WithdrawBalanceContract"),TronWebProto.TransferContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.TransferContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransferContract.displayName="TronWebProto.TransferContract"),TronWebProto.TransactionBalanceTrace=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.TransactionBalanceTrace.repeatedFields_,null)},r.inherits(TronWebProto.TransactionBalanceTrace,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransactionBalanceTrace.displayName="TronWebProto.TransactionBalanceTrace"),TronWebProto.TransactionBalanceTrace.Operation=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.TransactionBalanceTrace.Operation,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransactionBalanceTrace.Operation.displayName="TronWebProto.TransactionBalanceTrace.Operation"),TronWebProto.BlockBalanceTrace=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.BlockBalanceTrace.repeatedFields_,null)},r.inherits(TronWebProto.BlockBalanceTrace,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BlockBalanceTrace.displayName="TronWebProto.BlockBalanceTrace"),TronWebProto.BlockBalanceTrace.BlockIdentifier=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.BlockBalanceTrace.BlockIdentifier,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BlockBalanceTrace.BlockIdentifier.displayName="TronWebProto.BlockBalanceTrace.BlockIdentifier"),TronWebProto.AccountTrace=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AccountTrace,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountTrace.displayName="TronWebProto.AccountTrace"),TronWebProto.AccountIdentifier=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AccountIdentifier,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountIdentifier.displayName="TronWebProto.AccountIdentifier"),TronWebProto.AccountBalanceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AccountBalanceRequest,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountBalanceRequest.displayName="TronWebProto.AccountBalanceRequest"),TronWebProto.AccountBalanceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AccountBalanceResponse,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountBalanceResponse.displayName="TronWebProto.AccountBalanceResponse"),TronWebProto.FreezeBalanceV2Contract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.FreezeBalanceV2Contract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.FreezeBalanceV2Contract.displayName="TronWebProto.FreezeBalanceV2Contract"),TronWebProto.UnfreezeBalanceV2Contract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UnfreezeBalanceV2Contract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnfreezeBalanceV2Contract.displayName="TronWebProto.UnfreezeBalanceV2Contract"),TronWebProto.WithdrawExpireUnfreezeContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.WithdrawExpireUnfreezeContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WithdrawExpireUnfreezeContract.displayName="TronWebProto.WithdrawExpireUnfreezeContract"),TronWebProto.DelegateResourceContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.DelegateResourceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.DelegateResourceContract.displayName="TronWebProto.DelegateResourceContract"),TronWebProto.UnDelegateResourceContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UnDelegateResourceContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnDelegateResourceContract.displayName="TronWebProto.UnDelegateResourceContract"),TronWebProto.CancelAllUnfreezeV2Contract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.CancelAllUnfreezeV2Contract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.CancelAllUnfreezeV2Contract.displayName="TronWebProto.CancelAllUnfreezeV2Contract"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.FreezeBalanceContract.prototype.toObject=function(e){return TronWebProto.FreezeBalanceContract.toObject(e,this)},TronWebProto.FreezeBalanceContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),frozenBalance:t.Message.getFieldWithDefault(r,2,0),frozenDuration:t.Message.getFieldWithDefault(r,3,0),resource:t.Message.getFieldWithDefault(r,10,0),receiverAddress:r.getReceiverAddress_asB64()};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.FreezeBalanceContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.FreezeBalanceContract;return TronWebProto.FreezeBalanceContract.deserializeBinaryFromReader(n,r)},TronWebProto.FreezeBalanceContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setFrozenBalance(r);break;case 3:r=t.readInt64();e.setFrozenDuration(r);break;case 10:r=t.readEnum();e.setResource(r);break;case 15:r=t.readBytes();e.setReceiverAddress(r);break;default:t.skipField()}}return e},TronWebProto.FreezeBalanceContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.FreezeBalanceContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.FreezeBalanceContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getFrozenBalance())&&t.writeInt64(2,r),0!==(r=e.getFrozenDuration())&&t.writeInt64(3,r),0!==(r=e.getResource())&&t.writeEnum(10,r),(r=e.getReceiverAddress_asU8()).length>0&&t.writeBytes(15,r)},TronWebProto.FreezeBalanceContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.FreezeBalanceContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.FreezeBalanceContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.FreezeBalanceContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.FreezeBalanceContract.prototype.getFrozenBalance=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.FreezeBalanceContract.prototype.setFrozenBalance=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.FreezeBalanceContract.prototype.getFrozenDuration=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.FreezeBalanceContract.prototype.setFrozenDuration=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.FreezeBalanceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.FreezeBalanceContract.prototype.setResource=function(e){return t.Message.setProto3EnumField(this,10,e)},TronWebProto.FreezeBalanceContract.prototype.getReceiverAddress=function(){return t.Message.getFieldWithDefault(this,15,"")},TronWebProto.FreezeBalanceContract.prototype.getReceiverAddress_asB64=function(){return t.Message.bytesAsB64(this.getReceiverAddress())},TronWebProto.FreezeBalanceContract.prototype.getReceiverAddress_asU8=function(){return t.Message.bytesAsU8(this.getReceiverAddress())},TronWebProto.FreezeBalanceContract.prototype.setReceiverAddress=function(e){return t.Message.setProto3BytesField(this,15,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnfreezeBalanceContract.prototype.toObject=function(e){return TronWebProto.UnfreezeBalanceContract.toObject(e,this)},TronWebProto.UnfreezeBalanceContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),resource:t.Message.getFieldWithDefault(r,10,0),receiverAddress:r.getReceiverAddress_asB64()};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.UnfreezeBalanceContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UnfreezeBalanceContract;return TronWebProto.UnfreezeBalanceContract.deserializeBinaryFromReader(n,r)},TronWebProto.UnfreezeBalanceContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 10:r=t.readEnum();e.setResource(r);break;case 15:r=t.readBytes();e.setReceiverAddress(r);break;default:t.skipField()}}return e},TronWebProto.UnfreezeBalanceContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UnfreezeBalanceContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UnfreezeBalanceContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getResource())&&t.writeEnum(10,r),(r=e.getReceiverAddress_asU8()).length>0&&t.writeBytes(15,r)},TronWebProto.UnfreezeBalanceContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UnfreezeBalanceContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UnfreezeBalanceContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UnfreezeBalanceContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.UnfreezeBalanceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.UnfreezeBalanceContract.prototype.setResource=function(e){return t.Message.setProto3EnumField(this,10,e)},TronWebProto.UnfreezeBalanceContract.prototype.getReceiverAddress=function(){return t.Message.getFieldWithDefault(this,15,"")},TronWebProto.UnfreezeBalanceContract.prototype.getReceiverAddress_asB64=function(){return t.Message.bytesAsB64(this.getReceiverAddress())},TronWebProto.UnfreezeBalanceContract.prototype.getReceiverAddress_asU8=function(){return t.Message.bytesAsU8(this.getReceiverAddress())},TronWebProto.UnfreezeBalanceContract.prototype.setReceiverAddress=function(e){return t.Message.setProto3BytesField(this,15,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.WithdrawBalanceContract.prototype.toObject=function(e){return TronWebProto.WithdrawBalanceContract.toObject(e,this)},TronWebProto.WithdrawBalanceContract.toObject=function(e,t){var r={ownerAddress:t.getOwnerAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.WithdrawBalanceContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.WithdrawBalanceContract;return TronWebProto.WithdrawBalanceContract.deserializeBinaryFromReader(n,r)},TronWebProto.WithdrawBalanceContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBytes();e.setOwnerAddress(r)}else t.skipField()}return e},TronWebProto.WithdrawBalanceContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.WithdrawBalanceContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.WithdrawBalanceContract.serializeBinaryToWriter=function(e,t){var r;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r)},TronWebProto.WithdrawBalanceContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.WithdrawBalanceContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.WithdrawBalanceContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.WithdrawBalanceContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransferContract.prototype.toObject=function(e){return TronWebProto.TransferContract.toObject(e,this)},TronWebProto.TransferContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),toAddress:r.getToAddress_asB64(),amount:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.TransferContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.TransferContract;return TronWebProto.TransferContract.deserializeBinaryFromReader(n,r)},TronWebProto.TransferContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setToAddress(r);break;case 3:r=t.readInt64();e.setAmount(r);break;default:t.skipField()}}return e},TronWebProto.TransferContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.TransferContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.TransferContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getToAddress_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getAmount())&&t.writeInt64(3,r)},TronWebProto.TransferContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.TransferContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.TransferContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.TransferContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.TransferContract.prototype.getToAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.TransferContract.prototype.getToAddress_asB64=function(){return t.Message.bytesAsB64(this.getToAddress())},TronWebProto.TransferContract.prototype.getToAddress_asU8=function(){return t.Message.bytesAsU8(this.getToAddress())},TronWebProto.TransferContract.prototype.setToAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.TransferContract.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.TransferContract.prototype.setAmount=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.TransactionBalanceTrace.repeatedFields_=[2],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransactionBalanceTrace.prototype.toObject=function(e){return TronWebProto.TransactionBalanceTrace.toObject(e,this)},TronWebProto.TransactionBalanceTrace.toObject=function(e,r){var n={transactionIdentifier:r.getTransactionIdentifier_asB64(),operationList:t.Message.toObjectList(r.getOperationList(),TronWebProto.TransactionBalanceTrace.Operation.toObject,e),type:t.Message.getFieldWithDefault(r,3,""),status:t.Message.getFieldWithDefault(r,4,"")};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.TransactionBalanceTrace.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.TransactionBalanceTrace;return TronWebProto.TransactionBalanceTrace.deserializeBinaryFromReader(n,r)},TronWebProto.TransactionBalanceTrace.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setTransactionIdentifier(r);break;case 2:r=new TronWebProto.TransactionBalanceTrace.Operation;t.readMessage(r,TronWebProto.TransactionBalanceTrace.Operation.deserializeBinaryFromReader),e.addOperation(r);break;case 3:r=t.readString();e.setType(r);break;case 4:r=t.readString();e.setStatus(r);break;default:t.skipField()}}return e},TronWebProto.TransactionBalanceTrace.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.TransactionBalanceTrace.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.TransactionBalanceTrace.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getTransactionIdentifier_asU8()).length>0&&t.writeBytes(1,r),(r=e.getOperationList()).length>0&&t.writeRepeatedMessage(2,r,TronWebProto.TransactionBalanceTrace.Operation.serializeBinaryToWriter),(r=e.getType()).length>0&&t.writeString(3,r),(r=e.getStatus()).length>0&&t.writeString(4,r)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransactionBalanceTrace.Operation.prototype.toObject=function(e){return TronWebProto.TransactionBalanceTrace.Operation.toObject(e,this)},TronWebProto.TransactionBalanceTrace.Operation.toObject=function(e,r){var n={operationIdentifier:t.Message.getFieldWithDefault(r,1,0),address:r.getAddress_asB64(),amount:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.TransactionBalanceTrace.Operation.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.TransactionBalanceTrace.Operation;return TronWebProto.TransactionBalanceTrace.Operation.deserializeBinaryFromReader(n,r)},TronWebProto.TransactionBalanceTrace.Operation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setOperationIdentifier(r);break;case 2:r=t.readBytes();e.setAddress(r);break;case 3:r=t.readInt64();e.setAmount(r);break;default:t.skipField()}}return e},TronWebProto.TransactionBalanceTrace.Operation.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.TransactionBalanceTrace.Operation.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.TransactionBalanceTrace.Operation.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getOperationIdentifier())&&t.writeInt64(1,r),(r=e.getAddress_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getAmount())&&t.writeInt64(3,r)},TronWebProto.TransactionBalanceTrace.Operation.prototype.getOperationIdentifier=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.TransactionBalanceTrace.Operation.prototype.setOperationIdentifier=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.TransactionBalanceTrace.Operation.prototype.getAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.TransactionBalanceTrace.Operation.prototype.getAddress_asB64=function(){return t.Message.bytesAsB64(this.getAddress())},TronWebProto.TransactionBalanceTrace.Operation.prototype.getAddress_asU8=function(){return t.Message.bytesAsU8(this.getAddress())},TronWebProto.TransactionBalanceTrace.Operation.prototype.setAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.TransactionBalanceTrace.Operation.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.TransactionBalanceTrace.Operation.prototype.setAmount=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.TransactionBalanceTrace.prototype.getTransactionIdentifier=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.TransactionBalanceTrace.prototype.getTransactionIdentifier_asB64=function(){return t.Message.bytesAsB64(this.getTransactionIdentifier())},TronWebProto.TransactionBalanceTrace.prototype.getTransactionIdentifier_asU8=function(){return t.Message.bytesAsU8(this.getTransactionIdentifier())},TronWebProto.TransactionBalanceTrace.prototype.setTransactionIdentifier=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.TransactionBalanceTrace.prototype.getOperationList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.TransactionBalanceTrace.Operation,2)},TronWebProto.TransactionBalanceTrace.prototype.setOperationList=function(e){return t.Message.setRepeatedWrapperField(this,2,e)},TronWebProto.TransactionBalanceTrace.prototype.addOperation=function(e,r){return t.Message.addToRepeatedWrapperField(this,2,e,TronWebProto.TransactionBalanceTrace.Operation,r)},TronWebProto.TransactionBalanceTrace.prototype.clearOperationList=function(){return this.setOperationList([])},TronWebProto.TransactionBalanceTrace.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.TransactionBalanceTrace.prototype.setType=function(e){return t.Message.setProto3StringField(this,3,e)},TronWebProto.TransactionBalanceTrace.prototype.getStatus=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.TransactionBalanceTrace.prototype.setStatus=function(e){return t.Message.setProto3StringField(this,4,e)},TronWebProto.BlockBalanceTrace.repeatedFields_=[3],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.BlockBalanceTrace.prototype.toObject=function(e){return TronWebProto.BlockBalanceTrace.toObject(e,this)},TronWebProto.BlockBalanceTrace.toObject=function(e,r){var n,i={blockIdentifier:(n=r.getBlockIdentifier())&&TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(e,n),timestamp:t.Message.getFieldWithDefault(r,2,0),transactionBalanceTraceList:t.Message.toObjectList(r.getTransactionBalanceTraceList(),TronWebProto.TransactionBalanceTrace.toObject,e)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.BlockBalanceTrace.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.BlockBalanceTrace;return TronWebProto.BlockBalanceTrace.deserializeBinaryFromReader(n,r)},TronWebProto.BlockBalanceTrace.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new TronWebProto.BlockBalanceTrace.BlockIdentifier;t.readMessage(r,TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader),e.setBlockIdentifier(r);break;case 2:r=t.readInt64();e.setTimestamp(r);break;case 3:r=new TronWebProto.TransactionBalanceTrace;t.readMessage(r,TronWebProto.TransactionBalanceTrace.deserializeBinaryFromReader),e.addTransactionBalanceTrace(r);break;default:t.skipField()}}return e},TronWebProto.BlockBalanceTrace.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.BlockBalanceTrace.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.BlockBalanceTrace.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getBlockIdentifier())&&t.writeMessage(1,r,TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter),0!==(r=e.getTimestamp())&&t.writeInt64(2,r),(r=e.getTransactionBalanceTraceList()).length>0&&t.writeRepeatedMessage(3,r,TronWebProto.TransactionBalanceTrace.serializeBinaryToWriter)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.toObject=function(e){return TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(e,this)},TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject=function(e,r){var n={hash:r.getHash_asB64(),number:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.BlockBalanceTrace.BlockIdentifier;return TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader(n,r)},TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setHash(r);break;case 2:r=t.readInt64();e.setNumber(r);break;default:t.skipField()}}return e},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getHash_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getNumber())&&t.writeInt64(2,r)},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.getHash=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.getHash_asB64=function(){return t.Message.bytesAsB64(this.getHash())},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.getHash_asU8=function(){return t.Message.bytesAsU8(this.getHash())},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.setHash=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.getNumber=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BlockBalanceTrace.BlockIdentifier.prototype.setNumber=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.BlockBalanceTrace.prototype.getBlockIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.BlockBalanceTrace.BlockIdentifier,1)},TronWebProto.BlockBalanceTrace.prototype.setBlockIdentifier=function(e){return t.Message.setWrapperField(this,1,e)},TronWebProto.BlockBalanceTrace.prototype.clearBlockIdentifier=function(){return this.setBlockIdentifier(void 0)},TronWebProto.BlockBalanceTrace.prototype.hasBlockIdentifier=function(){return null!=t.Message.getField(this,1)},TronWebProto.BlockBalanceTrace.prototype.getTimestamp=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BlockBalanceTrace.prototype.setTimestamp=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.BlockBalanceTrace.prototype.getTransactionBalanceTraceList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.TransactionBalanceTrace,3)},TronWebProto.BlockBalanceTrace.prototype.setTransactionBalanceTraceList=function(e){return t.Message.setRepeatedWrapperField(this,3,e)},TronWebProto.BlockBalanceTrace.prototype.addTransactionBalanceTrace=function(e,r){return t.Message.addToRepeatedWrapperField(this,3,e,TronWebProto.TransactionBalanceTrace,r)},TronWebProto.BlockBalanceTrace.prototype.clearTransactionBalanceTraceList=function(){return this.setTransactionBalanceTraceList([])},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountTrace.prototype.toObject=function(e){return TronWebProto.AccountTrace.toObject(e,this)},TronWebProto.AccountTrace.toObject=function(e,r){var n={balance:t.Message.getFieldWithDefault(r,1,0),placeholder:t.Message.getFieldWithDefault(r,99,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.AccountTrace.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountTrace;return TronWebProto.AccountTrace.deserializeBinaryFromReader(n,r)},TronWebProto.AccountTrace.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setBalance(r);break;case 99:r=t.readInt64();e.setPlaceholder(r);break;default:t.skipField()}}return e},TronWebProto.AccountTrace.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountTrace.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountTrace.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getBalance())&&t.writeInt64(1,r),0!==(r=e.getPlaceholder())&&t.writeInt64(99,r)},TronWebProto.AccountTrace.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.AccountTrace.prototype.setBalance=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.AccountTrace.prototype.getPlaceholder=function(){return t.Message.getFieldWithDefault(this,99,0)},TronWebProto.AccountTrace.prototype.setPlaceholder=function(e){return t.Message.setProto3IntField(this,99,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountIdentifier.prototype.toObject=function(e){return TronWebProto.AccountIdentifier.toObject(e,this)},TronWebProto.AccountIdentifier.toObject=function(e,t){var r={address:t.getAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.AccountIdentifier.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountIdentifier;return TronWebProto.AccountIdentifier.deserializeBinaryFromReader(n,r)},TronWebProto.AccountIdentifier.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBytes();e.setAddress(r)}else t.skipField()}return e},TronWebProto.AccountIdentifier.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountIdentifier.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountIdentifier.serializeBinaryToWriter=function(e,t){var r;(r=e.getAddress_asU8()).length>0&&t.writeBytes(1,r)},TronWebProto.AccountIdentifier.prototype.getAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.AccountIdentifier.prototype.getAddress_asB64=function(){return t.Message.bytesAsB64(this.getAddress())},TronWebProto.AccountIdentifier.prototype.getAddress_asU8=function(){return t.Message.bytesAsU8(this.getAddress())},TronWebProto.AccountIdentifier.prototype.setAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountBalanceRequest.prototype.toObject=function(e){return TronWebProto.AccountBalanceRequest.toObject(e,this)},TronWebProto.AccountBalanceRequest.toObject=function(e,t){var r,n={accountIdentifier:(r=t.getAccountIdentifier())&&TronWebProto.AccountIdentifier.toObject(e,r),blockIdentifier:(r=t.getBlockIdentifier())&&TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),TronWebProto.AccountBalanceRequest.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountBalanceRequest;return TronWebProto.AccountBalanceRequest.deserializeBinaryFromReader(n,r)},TronWebProto.AccountBalanceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new TronWebProto.AccountIdentifier;t.readMessage(r,TronWebProto.AccountIdentifier.deserializeBinaryFromReader),e.setAccountIdentifier(r);break;case 2:r=new TronWebProto.BlockBalanceTrace.BlockIdentifier;t.readMessage(r,TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader),e.setBlockIdentifier(r);break;default:t.skipField()}}return e},TronWebProto.AccountBalanceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountBalanceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountBalanceRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getAccountIdentifier())&&t.writeMessage(1,r,TronWebProto.AccountIdentifier.serializeBinaryToWriter),null!=(r=e.getBlockIdentifier())&&t.writeMessage(2,r,TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter)},TronWebProto.AccountBalanceRequest.prototype.getAccountIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.AccountIdentifier,1)},TronWebProto.AccountBalanceRequest.prototype.setAccountIdentifier=function(e){return t.Message.setWrapperField(this,1,e)},TronWebProto.AccountBalanceRequest.prototype.clearAccountIdentifier=function(){return this.setAccountIdentifier(void 0)},TronWebProto.AccountBalanceRequest.prototype.hasAccountIdentifier=function(){return null!=t.Message.getField(this,1)},TronWebProto.AccountBalanceRequest.prototype.getBlockIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.BlockBalanceTrace.BlockIdentifier,2)},TronWebProto.AccountBalanceRequest.prototype.setBlockIdentifier=function(e){return t.Message.setWrapperField(this,2,e)},TronWebProto.AccountBalanceRequest.prototype.clearBlockIdentifier=function(){return this.setBlockIdentifier(void 0)},TronWebProto.AccountBalanceRequest.prototype.hasBlockIdentifier=function(){return null!=t.Message.getField(this,2)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountBalanceResponse.prototype.toObject=function(e){return TronWebProto.AccountBalanceResponse.toObject(e,this)},TronWebProto.AccountBalanceResponse.toObject=function(e,r){var n,i={balance:t.Message.getFieldWithDefault(r,1,0),blockIdentifier:(n=r.getBlockIdentifier())&&TronWebProto.BlockBalanceTrace.BlockIdentifier.toObject(e,n)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.AccountBalanceResponse.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountBalanceResponse;return TronWebProto.AccountBalanceResponse.deserializeBinaryFromReader(n,r)},TronWebProto.AccountBalanceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setBalance(r);break;case 2:r=new TronWebProto.BlockBalanceTrace.BlockIdentifier;t.readMessage(r,TronWebProto.BlockBalanceTrace.BlockIdentifier.deserializeBinaryFromReader),e.setBlockIdentifier(r);break;default:t.skipField()}}return e},TronWebProto.AccountBalanceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountBalanceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountBalanceResponse.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getBalance())&&t.writeInt64(1,r),null!=(r=e.getBlockIdentifier())&&t.writeMessage(2,r,TronWebProto.BlockBalanceTrace.BlockIdentifier.serializeBinaryToWriter)},TronWebProto.AccountBalanceResponse.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.AccountBalanceResponse.prototype.setBalance=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.AccountBalanceResponse.prototype.getBlockIdentifier=function(){return t.Message.getWrapperField(this,TronWebProto.BlockBalanceTrace.BlockIdentifier,2)},TronWebProto.AccountBalanceResponse.prototype.setBlockIdentifier=function(e){return t.Message.setWrapperField(this,2,e)},TronWebProto.AccountBalanceResponse.prototype.clearBlockIdentifier=function(){return this.setBlockIdentifier(void 0)},TronWebProto.AccountBalanceResponse.prototype.hasBlockIdentifier=function(){return null!=t.Message.getField(this,2)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.FreezeBalanceV2Contract.prototype.toObject=function(e){return TronWebProto.FreezeBalanceV2Contract.toObject(e,this)},TronWebProto.FreezeBalanceV2Contract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),frozenBalance:t.Message.getFieldWithDefault(r,2,0),resource:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.FreezeBalanceV2Contract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.FreezeBalanceV2Contract;return TronWebProto.FreezeBalanceV2Contract.deserializeBinaryFromReader(n,r)},TronWebProto.FreezeBalanceV2Contract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setFrozenBalance(r);break;case 3:r=t.readEnum();e.setResource(r);break;default:t.skipField()}}return e},TronWebProto.FreezeBalanceV2Contract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.FreezeBalanceV2Contract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.FreezeBalanceV2Contract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getFrozenBalance())&&t.writeInt64(2,r),0!==(r=e.getResource())&&t.writeEnum(3,r)},TronWebProto.FreezeBalanceV2Contract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.FreezeBalanceV2Contract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.FreezeBalanceV2Contract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.FreezeBalanceV2Contract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.FreezeBalanceV2Contract.prototype.getFrozenBalance=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.FreezeBalanceV2Contract.prototype.setFrozenBalance=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.FreezeBalanceV2Contract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.FreezeBalanceV2Contract.prototype.setResource=function(e){return t.Message.setProto3EnumField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnfreezeBalanceV2Contract.prototype.toObject=function(e){return TronWebProto.UnfreezeBalanceV2Contract.toObject(e,this)},TronWebProto.UnfreezeBalanceV2Contract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),unfreezeBalance:t.Message.getFieldWithDefault(r,2,0),resource:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.UnfreezeBalanceV2Contract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UnfreezeBalanceV2Contract;return TronWebProto.UnfreezeBalanceV2Contract.deserializeBinaryFromReader(n,r)},TronWebProto.UnfreezeBalanceV2Contract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setUnfreezeBalance(r);break;case 3:r=t.readEnum();e.setResource(r);break;default:t.skipField()}}return e},TronWebProto.UnfreezeBalanceV2Contract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UnfreezeBalanceV2Contract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UnfreezeBalanceV2Contract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getUnfreezeBalance())&&t.writeInt64(2,r),0!==(r=e.getResource())&&t.writeEnum(3,r)},TronWebProto.UnfreezeBalanceV2Contract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UnfreezeBalanceV2Contract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UnfreezeBalanceV2Contract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UnfreezeBalanceV2Contract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.UnfreezeBalanceV2Contract.prototype.getUnfreezeBalance=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.UnfreezeBalanceV2Contract.prototype.setUnfreezeBalance=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.UnfreezeBalanceV2Contract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UnfreezeBalanceV2Contract.prototype.setResource=function(e){return t.Message.setProto3EnumField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.WithdrawExpireUnfreezeContract.prototype.toObject=function(e){return TronWebProto.WithdrawExpireUnfreezeContract.toObject(e,this)},TronWebProto.WithdrawExpireUnfreezeContract.toObject=function(e,t){var r={ownerAddress:t.getOwnerAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.WithdrawExpireUnfreezeContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.WithdrawExpireUnfreezeContract;return TronWebProto.WithdrawExpireUnfreezeContract.deserializeBinaryFromReader(n,r)},TronWebProto.WithdrawExpireUnfreezeContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBytes();e.setOwnerAddress(r)}else t.skipField()}return e},TronWebProto.WithdrawExpireUnfreezeContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.WithdrawExpireUnfreezeContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.WithdrawExpireUnfreezeContract.serializeBinaryToWriter=function(e,t){var r;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r)},TronWebProto.WithdrawExpireUnfreezeContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.WithdrawExpireUnfreezeContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.WithdrawExpireUnfreezeContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.WithdrawExpireUnfreezeContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.DelegateResourceContract.prototype.toObject=function(e){return TronWebProto.DelegateResourceContract.toObject(e,this)},TronWebProto.DelegateResourceContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),resource:t.Message.getFieldWithDefault(r,2,0),balance:t.Message.getFieldWithDefault(r,3,0),receiverAddress:r.getReceiverAddress_asB64(),lock:t.Message.getBooleanFieldWithDefault(r,5,!1),lockPeriod:t.Message.getFieldWithDefault(r,6,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.DelegateResourceContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.DelegateResourceContract;return TronWebProto.DelegateResourceContract.deserializeBinaryFromReader(n,r)},TronWebProto.DelegateResourceContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readEnum();e.setResource(r);break;case 3:r=t.readInt64();e.setBalance(r);break;case 4:r=t.readBytes();e.setReceiverAddress(r);break;case 5:r=t.readBool();e.setLock(r);break;case 6:r=t.readInt64();e.setLockPeriod(r);break;default:t.skipField()}}return e},TronWebProto.DelegateResourceContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.DelegateResourceContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.DelegateResourceContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getResource())&&t.writeEnum(2,r),0!==(r=e.getBalance())&&t.writeInt64(3,r),(r=e.getReceiverAddress_asU8()).length>0&&t.writeBytes(4,r),(r=e.getLock())&&t.writeBool(5,r),0!==(r=e.getLockPeriod())&&t.writeInt64(6,r)},TronWebProto.DelegateResourceContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.DelegateResourceContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.DelegateResourceContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.DelegateResourceContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.DelegateResourceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.DelegateResourceContract.prototype.setResource=function(e){return t.Message.setProto3EnumField(this,2,e)},TronWebProto.DelegateResourceContract.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.DelegateResourceContract.prototype.setBalance=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.DelegateResourceContract.prototype.getReceiverAddress=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.DelegateResourceContract.prototype.getReceiverAddress_asB64=function(){return t.Message.bytesAsB64(this.getReceiverAddress())},TronWebProto.DelegateResourceContract.prototype.getReceiverAddress_asU8=function(){return t.Message.bytesAsU8(this.getReceiverAddress())},TronWebProto.DelegateResourceContract.prototype.setReceiverAddress=function(e){return t.Message.setProto3BytesField(this,4,e)},TronWebProto.DelegateResourceContract.prototype.getLock=function(){return t.Message.getBooleanFieldWithDefault(this,5,!1)},TronWebProto.DelegateResourceContract.prototype.setLock=function(e){return t.Message.setProto3BooleanField(this,5,e)},TronWebProto.DelegateResourceContract.prototype.getLockPeriod=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.DelegateResourceContract.prototype.setLockPeriod=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnDelegateResourceContract.prototype.toObject=function(e){return TronWebProto.UnDelegateResourceContract.toObject(e,this)},TronWebProto.UnDelegateResourceContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),resource:t.Message.getFieldWithDefault(r,2,0),balance:t.Message.getFieldWithDefault(r,3,0),receiverAddress:r.getReceiverAddress_asB64()};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.UnDelegateResourceContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UnDelegateResourceContract;return TronWebProto.UnDelegateResourceContract.deserializeBinaryFromReader(n,r)},TronWebProto.UnDelegateResourceContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readEnum();e.setResource(r);break;case 3:r=t.readInt64();e.setBalance(r);break;case 4:r=t.readBytes();e.setReceiverAddress(r);break;default:t.skipField()}}return e},TronWebProto.UnDelegateResourceContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UnDelegateResourceContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UnDelegateResourceContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getResource())&&t.writeEnum(2,r),0!==(r=e.getBalance())&&t.writeInt64(3,r),(r=e.getReceiverAddress_asU8()).length>0&&t.writeBytes(4,r)},TronWebProto.UnDelegateResourceContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UnDelegateResourceContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UnDelegateResourceContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UnDelegateResourceContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.UnDelegateResourceContract.prototype.getResource=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.UnDelegateResourceContract.prototype.setResource=function(e){return t.Message.setProto3EnumField(this,2,e)},TronWebProto.UnDelegateResourceContract.prototype.getBalance=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UnDelegateResourceContract.prototype.setBalance=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.UnDelegateResourceContract.prototype.getReceiverAddress=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.UnDelegateResourceContract.prototype.getReceiverAddress_asB64=function(){return t.Message.bytesAsB64(this.getReceiverAddress())},TronWebProto.UnDelegateResourceContract.prototype.getReceiverAddress_asU8=function(){return t.Message.bytesAsU8(this.getReceiverAddress())},TronWebProto.UnDelegateResourceContract.prototype.setReceiverAddress=function(e){return t.Message.setProto3BytesField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.CancelAllUnfreezeV2Contract.prototype.toObject=function(e){return TronWebProto.CancelAllUnfreezeV2Contract.toObject(e,this)},TronWebProto.CancelAllUnfreezeV2Contract.toObject=function(e,t){var r={ownerAddress:t.getOwnerAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.CancelAllUnfreezeV2Contract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.CancelAllUnfreezeV2Contract;return TronWebProto.CancelAllUnfreezeV2Contract.deserializeBinaryFromReader(n,r)},TronWebProto.CancelAllUnfreezeV2Contract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBytes();e.setOwnerAddress(r)}else t.skipField()}return e},TronWebProto.CancelAllUnfreezeV2Contract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.CancelAllUnfreezeV2Contract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.CancelAllUnfreezeV2Contract.serializeBinaryToWriter=function(e,t){var r;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r)},TronWebProto.CancelAllUnfreezeV2Contract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.CancelAllUnfreezeV2Contract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.CancelAllUnfreezeV2Contract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.CancelAllUnfreezeV2Contract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},r.object.extend(e,TronWebProto)})),Umt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.AssetIssueContract",null,n),r.exportSymbol("TronWebProto.AssetIssueContract.FrozenSupply",null,n),r.exportSymbol("TronWebProto.ParticipateAssetIssueContract",null,n),r.exportSymbol("TronWebProto.TransferAssetContract",null,n),r.exportSymbol("TronWebProto.UnfreezeAssetContract",null,n),r.exportSymbol("TronWebProto.UpdateAssetContract",null,n),TronWebProto.AssetIssueContract=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.AssetIssueContract.repeatedFields_,null)},r.inherits(TronWebProto.AssetIssueContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AssetIssueContract.displayName="TronWebProto.AssetIssueContract"),TronWebProto.AssetIssueContract.FrozenSupply=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AssetIssueContract.FrozenSupply,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AssetIssueContract.FrozenSupply.displayName="TronWebProto.AssetIssueContract.FrozenSupply"),TronWebProto.TransferAssetContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.TransferAssetContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TransferAssetContract.displayName="TronWebProto.TransferAssetContract"),TronWebProto.UnfreezeAssetContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UnfreezeAssetContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UnfreezeAssetContract.displayName="TronWebProto.UnfreezeAssetContract"),TronWebProto.UpdateAssetContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UpdateAssetContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UpdateAssetContract.displayName="TronWebProto.UpdateAssetContract"),TronWebProto.ParticipateAssetIssueContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ParticipateAssetIssueContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ParticipateAssetIssueContract.displayName="TronWebProto.ParticipateAssetIssueContract"),TronWebProto.AssetIssueContract.repeatedFields_=[5],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AssetIssueContract.prototype.toObject=function(e){return TronWebProto.AssetIssueContract.toObject(e,this)},TronWebProto.AssetIssueContract.toObject=function(e,r){var n={id:t.Message.getFieldWithDefault(r,41,""),ownerAddress:r.getOwnerAddress_asB64(),name:r.getName_asB64(),abbr:r.getAbbr_asB64(),totalSupply:t.Message.getFieldWithDefault(r,4,0),frozenSupplyList:t.Message.toObjectList(r.getFrozenSupplyList(),TronWebProto.AssetIssueContract.FrozenSupply.toObject,e),trxNum:t.Message.getFieldWithDefault(r,6,0),precision:t.Message.getFieldWithDefault(r,7,0),num:t.Message.getFieldWithDefault(r,8,0),startTime:t.Message.getFieldWithDefault(r,9,0),endTime:t.Message.getFieldWithDefault(r,10,0),order:t.Message.getFieldWithDefault(r,11,0),voteScore:t.Message.getFieldWithDefault(r,16,0),description:r.getDescription_asB64(),url:r.getUrl_asB64(),freeAssetNetLimit:t.Message.getFieldWithDefault(r,22,0),publicFreeAssetNetLimit:t.Message.getFieldWithDefault(r,23,0),publicFreeAssetNetUsage:t.Message.getFieldWithDefault(r,24,0),publicLatestFreeNetTime:t.Message.getFieldWithDefault(r,25,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.AssetIssueContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AssetIssueContract;return TronWebProto.AssetIssueContract.deserializeBinaryFromReader(n,r)},TronWebProto.AssetIssueContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 41:var r=t.readString();e.setId(r);break;case 1:r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setName(r);break;case 3:r=t.readBytes();e.setAbbr(r);break;case 4:r=t.readInt64();e.setTotalSupply(r);break;case 5:r=new TronWebProto.AssetIssueContract.FrozenSupply;t.readMessage(r,TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinaryFromReader),e.addFrozenSupply(r);break;case 6:r=t.readInt32();e.setTrxNum(r);break;case 7:r=t.readInt32();e.setPrecision(r);break;case 8:r=t.readInt32();e.setNum(r);break;case 9:r=t.readInt64();e.setStartTime(r);break;case 10:r=t.readInt64();e.setEndTime(r);break;case 11:r=t.readInt64();e.setOrder(r);break;case 16:r=t.readInt32();e.setVoteScore(r);break;case 20:r=t.readBytes();e.setDescription(r);break;case 21:r=t.readBytes();e.setUrl(r);break;case 22:r=t.readInt64();e.setFreeAssetNetLimit(r);break;case 23:r=t.readInt64();e.setPublicFreeAssetNetLimit(r);break;case 24:r=t.readInt64();e.setPublicFreeAssetNetUsage(r);break;case 25:r=t.readInt64();e.setPublicLatestFreeNetTime(r);break;default:t.skipField()}}return e},TronWebProto.AssetIssueContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AssetIssueContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AssetIssueContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getId()).length>0&&t.writeString(41,r),(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getName_asU8()).length>0&&t.writeBytes(2,r),(r=e.getAbbr_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getTotalSupply())&&t.writeInt64(4,r),(r=e.getFrozenSupplyList()).length>0&&t.writeRepeatedMessage(5,r,TronWebProto.AssetIssueContract.FrozenSupply.serializeBinaryToWriter),0!==(r=e.getTrxNum())&&t.writeInt32(6,r),0!==(r=e.getPrecision())&&t.writeInt32(7,r),0!==(r=e.getNum())&&t.writeInt32(8,r),0!==(r=e.getStartTime())&&t.writeInt64(9,r),0!==(r=e.getEndTime())&&t.writeInt64(10,r),0!==(r=e.getOrder())&&t.writeInt64(11,r),0!==(r=e.getVoteScore())&&t.writeInt32(16,r),(r=e.getDescription_asU8()).length>0&&t.writeBytes(20,r),(r=e.getUrl_asU8()).length>0&&t.writeBytes(21,r),0!==(r=e.getFreeAssetNetLimit())&&t.writeInt64(22,r),0!==(r=e.getPublicFreeAssetNetLimit())&&t.writeInt64(23,r),0!==(r=e.getPublicFreeAssetNetUsage())&&t.writeInt64(24,r),0!==(r=e.getPublicLatestFreeNetTime())&&t.writeInt64(25,r)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AssetIssueContract.FrozenSupply.prototype.toObject=function(e){return TronWebProto.AssetIssueContract.FrozenSupply.toObject(e,this)},TronWebProto.AssetIssueContract.FrozenSupply.toObject=function(e,r){var n={frozenAmount:t.Message.getFieldWithDefault(r,1,0),frozenDays:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AssetIssueContract.FrozenSupply;return TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinaryFromReader(n,r)},TronWebProto.AssetIssueContract.FrozenSupply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setFrozenAmount(r);break;case 2:r=t.readInt64();e.setFrozenDays(r);break;default:t.skipField()}}return e},TronWebProto.AssetIssueContract.FrozenSupply.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AssetIssueContract.FrozenSupply.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AssetIssueContract.FrozenSupply.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getFrozenAmount())&&t.writeInt64(1,r),0!==(r=e.getFrozenDays())&&t.writeInt64(2,r)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.getFrozenAmount=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.setFrozenAmount=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.getFrozenDays=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.AssetIssueContract.FrozenSupply.prototype.setFrozenDays=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.AssetIssueContract.prototype.getId=function(){return t.Message.getFieldWithDefault(this,41,"")},TronWebProto.AssetIssueContract.prototype.setId=function(e){return t.Message.setProto3StringField(this,41,e)},TronWebProto.AssetIssueContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.AssetIssueContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.AssetIssueContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.AssetIssueContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.AssetIssueContract.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.AssetIssueContract.prototype.getName_asB64=function(){return t.Message.bytesAsB64(this.getName())},TronWebProto.AssetIssueContract.prototype.getName_asU8=function(){return t.Message.bytesAsU8(this.getName())},TronWebProto.AssetIssueContract.prototype.setName=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.AssetIssueContract.prototype.getAbbr=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.AssetIssueContract.prototype.getAbbr_asB64=function(){return t.Message.bytesAsB64(this.getAbbr())},TronWebProto.AssetIssueContract.prototype.getAbbr_asU8=function(){return t.Message.bytesAsU8(this.getAbbr())},TronWebProto.AssetIssueContract.prototype.setAbbr=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.AssetIssueContract.prototype.getTotalSupply=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.AssetIssueContract.prototype.setTotalSupply=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.AssetIssueContract.prototype.getFrozenSupplyList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.AssetIssueContract.FrozenSupply,5)},TronWebProto.AssetIssueContract.prototype.setFrozenSupplyList=function(e){return t.Message.setRepeatedWrapperField(this,5,e)},TronWebProto.AssetIssueContract.prototype.addFrozenSupply=function(e,r){return t.Message.addToRepeatedWrapperField(this,5,e,TronWebProto.AssetIssueContract.FrozenSupply,r)},TronWebProto.AssetIssueContract.prototype.clearFrozenSupplyList=function(){return this.setFrozenSupplyList([])},TronWebProto.AssetIssueContract.prototype.getTrxNum=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.AssetIssueContract.prototype.setTrxNum=function(e){return t.Message.setProto3IntField(this,6,e)},TronWebProto.AssetIssueContract.prototype.getPrecision=function(){return t.Message.getFieldWithDefault(this,7,0)},TronWebProto.AssetIssueContract.prototype.setPrecision=function(e){return t.Message.setProto3IntField(this,7,e)},TronWebProto.AssetIssueContract.prototype.getNum=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.AssetIssueContract.prototype.setNum=function(e){return t.Message.setProto3IntField(this,8,e)},TronWebProto.AssetIssueContract.prototype.getStartTime=function(){return t.Message.getFieldWithDefault(this,9,0)},TronWebProto.AssetIssueContract.prototype.setStartTime=function(e){return t.Message.setProto3IntField(this,9,e)},TronWebProto.AssetIssueContract.prototype.getEndTime=function(){return t.Message.getFieldWithDefault(this,10,0)},TronWebProto.AssetIssueContract.prototype.setEndTime=function(e){return t.Message.setProto3IntField(this,10,e)},TronWebProto.AssetIssueContract.prototype.getOrder=function(){return t.Message.getFieldWithDefault(this,11,0)},TronWebProto.AssetIssueContract.prototype.setOrder=function(e){return t.Message.setProto3IntField(this,11,e)},TronWebProto.AssetIssueContract.prototype.getVoteScore=function(){return t.Message.getFieldWithDefault(this,16,0)},TronWebProto.AssetIssueContract.prototype.setVoteScore=function(e){return t.Message.setProto3IntField(this,16,e)},TronWebProto.AssetIssueContract.prototype.getDescription=function(){return t.Message.getFieldWithDefault(this,20,"")},TronWebProto.AssetIssueContract.prototype.getDescription_asB64=function(){return t.Message.bytesAsB64(this.getDescription())},TronWebProto.AssetIssueContract.prototype.getDescription_asU8=function(){return t.Message.bytesAsU8(this.getDescription())},TronWebProto.AssetIssueContract.prototype.setDescription=function(e){return t.Message.setProto3BytesField(this,20,e)},TronWebProto.AssetIssueContract.prototype.getUrl=function(){return t.Message.getFieldWithDefault(this,21,"")},TronWebProto.AssetIssueContract.prototype.getUrl_asB64=function(){return t.Message.bytesAsB64(this.getUrl())},TronWebProto.AssetIssueContract.prototype.getUrl_asU8=function(){return t.Message.bytesAsU8(this.getUrl())},TronWebProto.AssetIssueContract.prototype.setUrl=function(e){return t.Message.setProto3BytesField(this,21,e)},TronWebProto.AssetIssueContract.prototype.getFreeAssetNetLimit=function(){return t.Message.getFieldWithDefault(this,22,0)},TronWebProto.AssetIssueContract.prototype.setFreeAssetNetLimit=function(e){return t.Message.setProto3IntField(this,22,e)},TronWebProto.AssetIssueContract.prototype.getPublicFreeAssetNetLimit=function(){return t.Message.getFieldWithDefault(this,23,0)},TronWebProto.AssetIssueContract.prototype.setPublicFreeAssetNetLimit=function(e){return t.Message.setProto3IntField(this,23,e)},TronWebProto.AssetIssueContract.prototype.getPublicFreeAssetNetUsage=function(){return t.Message.getFieldWithDefault(this,24,0)},TronWebProto.AssetIssueContract.prototype.setPublicFreeAssetNetUsage=function(e){return t.Message.setProto3IntField(this,24,e)},TronWebProto.AssetIssueContract.prototype.getPublicLatestFreeNetTime=function(){return t.Message.getFieldWithDefault(this,25,0)},TronWebProto.AssetIssueContract.prototype.setPublicLatestFreeNetTime=function(e){return t.Message.setProto3IntField(this,25,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TransferAssetContract.prototype.toObject=function(e){return TronWebProto.TransferAssetContract.toObject(e,this)},TronWebProto.TransferAssetContract.toObject=function(e,r){var n={assetName:r.getAssetName_asB64(),ownerAddress:r.getOwnerAddress_asB64(),toAddress:r.getToAddress_asB64(),amount:t.Message.getFieldWithDefault(r,4,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.TransferAssetContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.TransferAssetContract;return TronWebProto.TransferAssetContract.deserializeBinaryFromReader(n,r)},TronWebProto.TransferAssetContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setAssetName(r);break;case 2:r=t.readBytes();e.setOwnerAddress(r);break;case 3:r=t.readBytes();e.setToAddress(r);break;case 4:r=t.readInt64();e.setAmount(r);break;default:t.skipField()}}return e},TronWebProto.TransferAssetContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.TransferAssetContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.TransferAssetContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAssetName_asU8()).length>0&&t.writeBytes(1,r),(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(2,r),(r=e.getToAddress_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getAmount())&&t.writeInt64(4,r)},TronWebProto.TransferAssetContract.prototype.getAssetName=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.TransferAssetContract.prototype.getAssetName_asB64=function(){return t.Message.bytesAsB64(this.getAssetName())},TronWebProto.TransferAssetContract.prototype.getAssetName_asU8=function(){return t.Message.bytesAsU8(this.getAssetName())},TronWebProto.TransferAssetContract.prototype.setAssetName=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.TransferAssetContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.TransferAssetContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.TransferAssetContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.TransferAssetContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.TransferAssetContract.prototype.getToAddress=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.TransferAssetContract.prototype.getToAddress_asB64=function(){return t.Message.bytesAsB64(this.getToAddress())},TronWebProto.TransferAssetContract.prototype.getToAddress_asU8=function(){return t.Message.bytesAsU8(this.getToAddress())},TronWebProto.TransferAssetContract.prototype.setToAddress=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.TransferAssetContract.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.TransferAssetContract.prototype.setAmount=function(e){return t.Message.setProto3IntField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UnfreezeAssetContract.prototype.toObject=function(e){return TronWebProto.UnfreezeAssetContract.toObject(e,this)},TronWebProto.UnfreezeAssetContract.toObject=function(e,t){var r={ownerAddress:t.getOwnerAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.UnfreezeAssetContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UnfreezeAssetContract;return TronWebProto.UnfreezeAssetContract.deserializeBinaryFromReader(n,r)},TronWebProto.UnfreezeAssetContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBytes();e.setOwnerAddress(r)}else t.skipField()}return e},TronWebProto.UnfreezeAssetContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UnfreezeAssetContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UnfreezeAssetContract.serializeBinaryToWriter=function(e,t){var r;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r)},TronWebProto.UnfreezeAssetContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UnfreezeAssetContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UnfreezeAssetContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UnfreezeAssetContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateAssetContract.prototype.toObject=function(e){return TronWebProto.UpdateAssetContract.toObject(e,this)},TronWebProto.UpdateAssetContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),description:r.getDescription_asB64(),url:r.getUrl_asB64(),newLimit:t.Message.getFieldWithDefault(r,4,0),newPublicLimit:t.Message.getFieldWithDefault(r,5,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.UpdateAssetContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UpdateAssetContract;return TronWebProto.UpdateAssetContract.deserializeBinaryFromReader(n,r)},TronWebProto.UpdateAssetContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setDescription(r);break;case 3:r=t.readBytes();e.setUrl(r);break;case 4:r=t.readInt64();e.setNewLimit(r);break;case 5:r=t.readInt64();e.setNewPublicLimit(r);break;default:t.skipField()}}return e},TronWebProto.UpdateAssetContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UpdateAssetContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UpdateAssetContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getDescription_asU8()).length>0&&t.writeBytes(2,r),(r=e.getUrl_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getNewLimit())&&t.writeInt64(4,r),0!==(r=e.getNewPublicLimit())&&t.writeInt64(5,r)},TronWebProto.UpdateAssetContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UpdateAssetContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UpdateAssetContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UpdateAssetContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.UpdateAssetContract.prototype.getDescription=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.UpdateAssetContract.prototype.getDescription_asB64=function(){return t.Message.bytesAsB64(this.getDescription())},TronWebProto.UpdateAssetContract.prototype.getDescription_asU8=function(){return t.Message.bytesAsU8(this.getDescription())},TronWebProto.UpdateAssetContract.prototype.setDescription=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.UpdateAssetContract.prototype.getUrl=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.UpdateAssetContract.prototype.getUrl_asB64=function(){return t.Message.bytesAsB64(this.getUrl())},TronWebProto.UpdateAssetContract.prototype.getUrl_asU8=function(){return t.Message.bytesAsU8(this.getUrl())},TronWebProto.UpdateAssetContract.prototype.setUrl=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.UpdateAssetContract.prototype.getNewLimit=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.UpdateAssetContract.prototype.setNewLimit=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.UpdateAssetContract.prototype.getNewPublicLimit=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.UpdateAssetContract.prototype.setNewPublicLimit=function(e){return t.Message.setProto3IntField(this,5,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ParticipateAssetIssueContract.prototype.toObject=function(e){return TronWebProto.ParticipateAssetIssueContract.toObject(e,this)},TronWebProto.ParticipateAssetIssueContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),toAddress:r.getToAddress_asB64(),assetName:r.getAssetName_asB64(),amount:t.Message.getFieldWithDefault(r,4,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ParticipateAssetIssueContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ParticipateAssetIssueContract;return TronWebProto.ParticipateAssetIssueContract.deserializeBinaryFromReader(n,r)},TronWebProto.ParticipateAssetIssueContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setToAddress(r);break;case 3:r=t.readBytes();e.setAssetName(r);break;case 4:r=t.readInt64();e.setAmount(r);break;default:t.skipField()}}return e},TronWebProto.ParticipateAssetIssueContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ParticipateAssetIssueContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ParticipateAssetIssueContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getToAddress_asU8()).length>0&&t.writeBytes(2,r),(r=e.getAssetName_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getAmount())&&t.writeInt64(4,r)},TronWebProto.ParticipateAssetIssueContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ParticipateAssetIssueContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ParticipateAssetIssueContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ParticipateAssetIssueContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ParticipateAssetIssueContract.prototype.getToAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.ParticipateAssetIssueContract.prototype.getToAddress_asB64=function(){return t.Message.bytesAsB64(this.getToAddress())},TronWebProto.ParticipateAssetIssueContract.prototype.getToAddress_asU8=function(){return t.Message.bytesAsU8(this.getToAddress())},TronWebProto.ParticipateAssetIssueContract.prototype.setToAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.ParticipateAssetIssueContract.prototype.getAssetName=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.ParticipateAssetIssueContract.prototype.getAssetName_asB64=function(){return t.Message.bytesAsB64(this.getAssetName())},TronWebProto.ParticipateAssetIssueContract.prototype.getAssetName_asU8=function(){return t.Message.bytesAsU8(this.getAssetName())},TronWebProto.ParticipateAssetIssueContract.prototype.setAssetName=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.ParticipateAssetIssueContract.prototype.getAmount=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ParticipateAssetIssueContract.prototype.setAmount=function(e){return t.Message.setProto3IntField(this,4,e)},r.object.extend(e,TronWebProto)})),Fmt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),i=xJ();r.object.extend(proto,i),r.exportSymbol("TronWebProto.ClearABIContract",null,n),r.exportSymbol("TronWebProto.ContractState",null,n),r.exportSymbol("TronWebProto.CreateSmartContract",null,n),r.exportSymbol("TronWebProto.SmartContract",null,n),r.exportSymbol("TronWebProto.SmartContract.ABI",null,n),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry",null,n),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry.EntryType",null,n),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry.Param",null,n),r.exportSymbol("TronWebProto.SmartContract.ABI.Entry.StateMutabilityType",null,n),r.exportSymbol("TronWebProto.SmartContractDataWrapper",null,n),r.exportSymbol("TronWebProto.TriggerSmartContract",null,n),r.exportSymbol("TronWebProto.UpdateEnergyLimitContract",null,n),r.exportSymbol("TronWebProto.UpdateSettingContract",null,n),TronWebProto.SmartContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.SmartContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SmartContract.displayName="TronWebProto.SmartContract"),TronWebProto.SmartContract.ABI=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.SmartContract.ABI.repeatedFields_,null)},r.inherits(TronWebProto.SmartContract.ABI,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SmartContract.ABI.displayName="TronWebProto.SmartContract.ABI"),TronWebProto.SmartContract.ABI.Entry=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.SmartContract.ABI.Entry.repeatedFields_,null)},r.inherits(TronWebProto.SmartContract.ABI.Entry,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SmartContract.ABI.Entry.displayName="TronWebProto.SmartContract.ABI.Entry"),TronWebProto.SmartContract.ABI.Entry.Param=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.SmartContract.ABI.Entry.Param,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SmartContract.ABI.Entry.Param.displayName="TronWebProto.SmartContract.ABI.Entry.Param"),TronWebProto.ContractState=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ContractState,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ContractState.displayName="TronWebProto.ContractState"),TronWebProto.CreateSmartContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.CreateSmartContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.CreateSmartContract.displayName="TronWebProto.CreateSmartContract"),TronWebProto.TriggerSmartContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.TriggerSmartContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.TriggerSmartContract.displayName="TronWebProto.TriggerSmartContract"),TronWebProto.ClearABIContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ClearABIContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ClearABIContract.displayName="TronWebProto.ClearABIContract"),TronWebProto.UpdateSettingContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UpdateSettingContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UpdateSettingContract.displayName="TronWebProto.UpdateSettingContract"),TronWebProto.UpdateEnergyLimitContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UpdateEnergyLimitContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UpdateEnergyLimitContract.displayName="TronWebProto.UpdateEnergyLimitContract"),TronWebProto.SmartContractDataWrapper=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.SmartContractDataWrapper,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SmartContractDataWrapper.displayName="TronWebProto.SmartContractDataWrapper"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContract.prototype.toObject=function(e){return TronWebProto.SmartContract.toObject(e,this)},TronWebProto.SmartContract.toObject=function(e,r){var n,i={originAddress:r.getOriginAddress_asB64(),contractAddress:r.getContractAddress_asB64(),abi:(n=r.getAbi())&&TronWebProto.SmartContract.ABI.toObject(e,n),bytecode:r.getBytecode_asB64(),callValue:t.Message.getFieldWithDefault(r,5,0),consumeUserResourcePercent:t.Message.getFieldWithDefault(r,6,0),name:t.Message.getFieldWithDefault(r,7,""),originEnergyLimit:t.Message.getFieldWithDefault(r,8,0),codeHash:r.getCodeHash_asB64(),trxHash:r.getTrxHash_asB64(),version:t.Message.getFieldWithDefault(r,11,0)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.SmartContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.SmartContract;return TronWebProto.SmartContract.deserializeBinaryFromReader(n,r)},TronWebProto.SmartContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOriginAddress(r);break;case 2:r=t.readBytes();e.setContractAddress(r);break;case 3:r=new TronWebProto.SmartContract.ABI;t.readMessage(r,TronWebProto.SmartContract.ABI.deserializeBinaryFromReader),e.setAbi(r);break;case 4:r=t.readBytes();e.setBytecode(r);break;case 5:r=t.readInt64();e.setCallValue(r);break;case 6:r=t.readInt64();e.setConsumeUserResourcePercent(r);break;case 7:r=t.readString();e.setName(r);break;case 8:r=t.readInt64();e.setOriginEnergyLimit(r);break;case 9:r=t.readBytes();e.setCodeHash(r);break;case 10:r=t.readBytes();e.setTrxHash(r);break;case 11:r=t.readInt32();e.setVersion(r);break;default:t.skipField()}}return e},TronWebProto.SmartContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.SmartContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.SmartContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOriginAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getContractAddress_asU8()).length>0&&t.writeBytes(2,r),null!=(r=e.getAbi())&&t.writeMessage(3,r,TronWebProto.SmartContract.ABI.serializeBinaryToWriter),(r=e.getBytecode_asU8()).length>0&&t.writeBytes(4,r),0!==(r=e.getCallValue())&&t.writeInt64(5,r),0!==(r=e.getConsumeUserResourcePercent())&&t.writeInt64(6,r),(r=e.getName()).length>0&&t.writeString(7,r),0!==(r=e.getOriginEnergyLimit())&&t.writeInt64(8,r),(r=e.getCodeHash_asU8()).length>0&&t.writeBytes(9,r),(r=e.getTrxHash_asU8()).length>0&&t.writeBytes(10,r),0!==(r=e.getVersion())&&t.writeInt32(11,r)},TronWebProto.SmartContract.ABI.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContract.ABI.prototype.toObject=function(e){return TronWebProto.SmartContract.ABI.toObject(e,this)},TronWebProto.SmartContract.ABI.toObject=function(e,r){var n={entrysList:t.Message.toObjectList(r.getEntrysList(),TronWebProto.SmartContract.ABI.Entry.toObject,e)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.SmartContract.ABI.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.SmartContract.ABI;return TronWebProto.SmartContract.ABI.deserializeBinaryFromReader(n,r)},TronWebProto.SmartContract.ABI.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new TronWebProto.SmartContract.ABI.Entry;t.readMessage(r,TronWebProto.SmartContract.ABI.Entry.deserializeBinaryFromReader),e.addEntrys(r)}else t.skipField()}return e},TronWebProto.SmartContract.ABI.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.SmartContract.ABI.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.SmartContract.ABI.serializeBinaryToWriter=function(e,t){var r;(r=e.getEntrysList()).length>0&&t.writeRepeatedMessage(1,r,TronWebProto.SmartContract.ABI.Entry.serializeBinaryToWriter)},TronWebProto.SmartContract.ABI.Entry.repeatedFields_=[4,5],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContract.ABI.Entry.prototype.toObject=function(e){return TronWebProto.SmartContract.ABI.Entry.toObject(e,this)},TronWebProto.SmartContract.ABI.Entry.toObject=function(e,r){var n={anonymous:t.Message.getBooleanFieldWithDefault(r,1,!1),constant:t.Message.getBooleanFieldWithDefault(r,2,!1),name:t.Message.getFieldWithDefault(r,3,""),inputsList:t.Message.toObjectList(r.getInputsList(),TronWebProto.SmartContract.ABI.Entry.Param.toObject,e),outputsList:t.Message.toObjectList(r.getOutputsList(),TronWebProto.SmartContract.ABI.Entry.Param.toObject,e),type:t.Message.getFieldWithDefault(r,6,0),payable:t.Message.getBooleanFieldWithDefault(r,7,!1),statemutability:t.Message.getFieldWithDefault(r,8,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.SmartContract.ABI.Entry.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.SmartContract.ABI.Entry;return TronWebProto.SmartContract.ABI.Entry.deserializeBinaryFromReader(n,r)},TronWebProto.SmartContract.ABI.Entry.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setAnonymous(r);break;case 2:r=t.readBool();e.setConstant(r);break;case 3:r=t.readString();e.setName(r);break;case 4:r=new TronWebProto.SmartContract.ABI.Entry.Param;t.readMessage(r,TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader),e.addInputs(r);break;case 5:r=new TronWebProto.SmartContract.ABI.Entry.Param;t.readMessage(r,TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader),e.addOutputs(r);break;case 6:r=t.readEnum();e.setType(r);break;case 7:r=t.readBool();e.setPayable(r);break;case 8:r=t.readEnum();e.setStatemutability(r);break;default:t.skipField()}}return e},TronWebProto.SmartContract.ABI.Entry.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.SmartContract.ABI.Entry.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.SmartContract.ABI.Entry.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAnonymous())&&t.writeBool(1,r),(r=e.getConstant())&&t.writeBool(2,r),(r=e.getName()).length>0&&t.writeString(3,r),(r=e.getInputsList()).length>0&&t.writeRepeatedMessage(4,r,TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter),(r=e.getOutputsList()).length>0&&t.writeRepeatedMessage(5,r,TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter),0!==(r=e.getType())&&t.writeEnum(6,r),(r=e.getPayable())&&t.writeBool(7,r),0!==(r=e.getStatemutability())&&t.writeEnum(8,r)},TronWebProto.SmartContract.ABI.Entry.EntryType={UNKNOWNENTRYTYPE:0,CONSTRUCTOR:1,FUNCTION:2,EVENT:3,FALLBACK:4,RECEIVE:5,ERROR:6},TronWebProto.SmartContract.ABI.Entry.StateMutabilityType={UNKNOWNMUTABILITYTYPE:0,PURE:1,VIEW:2,NONPAYABLE:3,PAYABLE:4},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContract.ABI.Entry.Param.prototype.toObject=function(e){return TronWebProto.SmartContract.ABI.Entry.Param.toObject(e,this)},TronWebProto.SmartContract.ABI.Entry.Param.toObject=function(e,r){var n={indexed:t.Message.getBooleanFieldWithDefault(r,1,!1),name:t.Message.getFieldWithDefault(r,2,""),type:t.Message.getFieldWithDefault(r,3,"")};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.SmartContract.ABI.Entry.Param;return TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader(n,r)},TronWebProto.SmartContract.ABI.Entry.Param.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setIndexed(r);break;case 2:r=t.readString();e.setName(r);break;case 3:r=t.readString();e.setType(r);break;default:t.skipField()}}return e},TronWebProto.SmartContract.ABI.Entry.Param.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.SmartContract.ABI.Entry.Param.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getIndexed())&&t.writeBool(1,r),(r=e.getName()).length>0&&t.writeString(2,r),(r=e.getType()).length>0&&t.writeString(3,r)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.getIndexed=function(){return t.Message.getBooleanFieldWithDefault(this,1,!1)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.setIndexed=function(e){return t.Message.setProto3BooleanField(this,1,e)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.SmartContract.ABI.Entry.Param.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},TronWebProto.SmartContract.ABI.Entry.Param.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.SmartContract.ABI.Entry.Param.prototype.setType=function(e){return t.Message.setProto3StringField(this,3,e)},TronWebProto.SmartContract.ABI.Entry.prototype.getAnonymous=function(){return t.Message.getBooleanFieldWithDefault(this,1,!1)},TronWebProto.SmartContract.ABI.Entry.prototype.setAnonymous=function(e){return t.Message.setProto3BooleanField(this,1,e)},TronWebProto.SmartContract.ABI.Entry.prototype.getConstant=function(){return t.Message.getBooleanFieldWithDefault(this,2,!1)},TronWebProto.SmartContract.ABI.Entry.prototype.setConstant=function(e){return t.Message.setProto3BooleanField(this,2,e)},TronWebProto.SmartContract.ABI.Entry.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.SmartContract.ABI.Entry.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},TronWebProto.SmartContract.ABI.Entry.prototype.getInputsList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.SmartContract.ABI.Entry.Param,4)},TronWebProto.SmartContract.ABI.Entry.prototype.setInputsList=function(e){return t.Message.setRepeatedWrapperField(this,4,e)},TronWebProto.SmartContract.ABI.Entry.prototype.addInputs=function(e,r){return t.Message.addToRepeatedWrapperField(this,4,e,TronWebProto.SmartContract.ABI.Entry.Param,r)},TronWebProto.SmartContract.ABI.Entry.prototype.clearInputsList=function(){return this.setInputsList([])},TronWebProto.SmartContract.ABI.Entry.prototype.getOutputsList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.SmartContract.ABI.Entry.Param,5)},TronWebProto.SmartContract.ABI.Entry.prototype.setOutputsList=function(e){return t.Message.setRepeatedWrapperField(this,5,e)},TronWebProto.SmartContract.ABI.Entry.prototype.addOutputs=function(e,r){return t.Message.addToRepeatedWrapperField(this,5,e,TronWebProto.SmartContract.ABI.Entry.Param,r)},TronWebProto.SmartContract.ABI.Entry.prototype.clearOutputsList=function(){return this.setOutputsList([])},TronWebProto.SmartContract.ABI.Entry.prototype.getType=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.SmartContract.ABI.Entry.prototype.setType=function(e){return t.Message.setProto3EnumField(this,6,e)},TronWebProto.SmartContract.ABI.Entry.prototype.getPayable=function(){return t.Message.getBooleanFieldWithDefault(this,7,!1)},TronWebProto.SmartContract.ABI.Entry.prototype.setPayable=function(e){return t.Message.setProto3BooleanField(this,7,e)},TronWebProto.SmartContract.ABI.Entry.prototype.getStatemutability=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.SmartContract.ABI.Entry.prototype.setStatemutability=function(e){return t.Message.setProto3EnumField(this,8,e)},TronWebProto.SmartContract.ABI.prototype.getEntrysList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.SmartContract.ABI.Entry,1)},TronWebProto.SmartContract.ABI.prototype.setEntrysList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},TronWebProto.SmartContract.ABI.prototype.addEntrys=function(e,r){return t.Message.addToRepeatedWrapperField(this,1,e,TronWebProto.SmartContract.ABI.Entry,r)},TronWebProto.SmartContract.ABI.prototype.clearEntrysList=function(){return this.setEntrysList([])},TronWebProto.SmartContract.prototype.getOriginAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.SmartContract.prototype.getOriginAddress_asB64=function(){return t.Message.bytesAsB64(this.getOriginAddress())},TronWebProto.SmartContract.prototype.getOriginAddress_asU8=function(){return t.Message.bytesAsU8(this.getOriginAddress())},TronWebProto.SmartContract.prototype.setOriginAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.SmartContract.prototype.getContractAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.SmartContract.prototype.getContractAddress_asB64=function(){return t.Message.bytesAsB64(this.getContractAddress())},TronWebProto.SmartContract.prototype.getContractAddress_asU8=function(){return t.Message.bytesAsU8(this.getContractAddress())},TronWebProto.SmartContract.prototype.setContractAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.SmartContract.prototype.getAbi=function(){return t.Message.getWrapperField(this,TronWebProto.SmartContract.ABI,3)},TronWebProto.SmartContract.prototype.setAbi=function(e){return t.Message.setWrapperField(this,3,e)},TronWebProto.SmartContract.prototype.clearAbi=function(){return this.setAbi(void 0)},TronWebProto.SmartContract.prototype.hasAbi=function(){return null!=t.Message.getField(this,3)},TronWebProto.SmartContract.prototype.getBytecode=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.SmartContract.prototype.getBytecode_asB64=function(){return t.Message.bytesAsB64(this.getBytecode())},TronWebProto.SmartContract.prototype.getBytecode_asU8=function(){return t.Message.bytesAsU8(this.getBytecode())},TronWebProto.SmartContract.prototype.setBytecode=function(e){return t.Message.setProto3BytesField(this,4,e)},TronWebProto.SmartContract.prototype.getCallValue=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.SmartContract.prototype.setCallValue=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.SmartContract.prototype.getConsumeUserResourcePercent=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.SmartContract.prototype.setConsumeUserResourcePercent=function(e){return t.Message.setProto3IntField(this,6,e)},TronWebProto.SmartContract.prototype.getName=function(){return t.Message.getFieldWithDefault(this,7,"")},TronWebProto.SmartContract.prototype.setName=function(e){return t.Message.setProto3StringField(this,7,e)},TronWebProto.SmartContract.prototype.getOriginEnergyLimit=function(){return t.Message.getFieldWithDefault(this,8,0)},TronWebProto.SmartContract.prototype.setOriginEnergyLimit=function(e){return t.Message.setProto3IntField(this,8,e)},TronWebProto.SmartContract.prototype.getCodeHash=function(){return t.Message.getFieldWithDefault(this,9,"")},TronWebProto.SmartContract.prototype.getCodeHash_asB64=function(){return t.Message.bytesAsB64(this.getCodeHash())},TronWebProto.SmartContract.prototype.getCodeHash_asU8=function(){return t.Message.bytesAsU8(this.getCodeHash())},TronWebProto.SmartContract.prototype.setCodeHash=function(e){return t.Message.setProto3BytesField(this,9,e)},TronWebProto.SmartContract.prototype.getTrxHash=function(){return t.Message.getFieldWithDefault(this,10,"")},TronWebProto.SmartContract.prototype.getTrxHash_asB64=function(){return t.Message.bytesAsB64(this.getTrxHash())},TronWebProto.SmartContract.prototype.getTrxHash_asU8=function(){return t.Message.bytesAsU8(this.getTrxHash())},TronWebProto.SmartContract.prototype.setTrxHash=function(e){return t.Message.setProto3BytesField(this,10,e)},TronWebProto.SmartContract.prototype.getVersion=function(){return t.Message.getFieldWithDefault(this,11,0)},TronWebProto.SmartContract.prototype.setVersion=function(e){return t.Message.setProto3IntField(this,11,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ContractState.prototype.toObject=function(e){return TronWebProto.ContractState.toObject(e,this)},TronWebProto.ContractState.toObject=function(e,r){var n={energyUsage:t.Message.getFieldWithDefault(r,1,0),energyFactor:t.Message.getFieldWithDefault(r,2,0),updateCycle:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ContractState.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ContractState;return TronWebProto.ContractState.deserializeBinaryFromReader(n,r)},TronWebProto.ContractState.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setEnergyUsage(r);break;case 2:r=t.readInt64();e.setEnergyFactor(r);break;case 3:r=t.readInt64();e.setUpdateCycle(r);break;default:t.skipField()}}return e},TronWebProto.ContractState.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ContractState.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ContractState.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getEnergyUsage())&&t.writeInt64(1,r),0!==(r=e.getEnergyFactor())&&t.writeInt64(2,r),0!==(r=e.getUpdateCycle())&&t.writeInt64(3,r)},TronWebProto.ContractState.prototype.getEnergyUsage=function(){return t.Message.getFieldWithDefault(this,1,0)},TronWebProto.ContractState.prototype.setEnergyUsage=function(e){return t.Message.setProto3IntField(this,1,e)},TronWebProto.ContractState.prototype.getEnergyFactor=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ContractState.prototype.setEnergyFactor=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.ContractState.prototype.getUpdateCycle=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.ContractState.prototype.setUpdateCycle=function(e){return t.Message.setProto3IntField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.CreateSmartContract.prototype.toObject=function(e){return TronWebProto.CreateSmartContract.toObject(e,this)},TronWebProto.CreateSmartContract.toObject=function(e,r){var n,i={ownerAddress:r.getOwnerAddress_asB64(),newContract:(n=r.getNewContract())&&TronWebProto.SmartContract.toObject(e,n),callTokenValue:t.Message.getFieldWithDefault(r,3,0),tokenId:t.Message.getFieldWithDefault(r,4,0)};return e&&(i.$jspbMessageInstance=r),i}),TronWebProto.CreateSmartContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.CreateSmartContract;return TronWebProto.CreateSmartContract.deserializeBinaryFromReader(n,r)},TronWebProto.CreateSmartContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=new TronWebProto.SmartContract;t.readMessage(r,TronWebProto.SmartContract.deserializeBinaryFromReader),e.setNewContract(r);break;case 3:r=t.readInt64();e.setCallTokenValue(r);break;case 4:r=t.readInt64();e.setTokenId(r);break;default:t.skipField()}}return e},TronWebProto.CreateSmartContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.CreateSmartContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.CreateSmartContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),null!=(r=e.getNewContract())&&t.writeMessage(2,r,TronWebProto.SmartContract.serializeBinaryToWriter),0!==(r=e.getCallTokenValue())&&t.writeInt64(3,r),0!==(r=e.getTokenId())&&t.writeInt64(4,r)},TronWebProto.CreateSmartContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.CreateSmartContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.CreateSmartContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.CreateSmartContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.CreateSmartContract.prototype.getNewContract=function(){return t.Message.getWrapperField(this,TronWebProto.SmartContract,2)},TronWebProto.CreateSmartContract.prototype.setNewContract=function(e){return t.Message.setWrapperField(this,2,e)},TronWebProto.CreateSmartContract.prototype.clearNewContract=function(){return this.setNewContract(void 0)},TronWebProto.CreateSmartContract.prototype.hasNewContract=function(){return null!=t.Message.getField(this,2)},TronWebProto.CreateSmartContract.prototype.getCallTokenValue=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.CreateSmartContract.prototype.setCallTokenValue=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.CreateSmartContract.prototype.getTokenId=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.CreateSmartContract.prototype.setTokenId=function(e){return t.Message.setProto3IntField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.TriggerSmartContract.prototype.toObject=function(e){return TronWebProto.TriggerSmartContract.toObject(e,this)},TronWebProto.TriggerSmartContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),contractAddress:r.getContractAddress_asB64(),callValue:t.Message.getFieldWithDefault(r,3,0),data:r.getData_asB64(),callTokenValue:t.Message.getFieldWithDefault(r,5,0),tokenId:t.Message.getFieldWithDefault(r,6,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.TriggerSmartContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.TriggerSmartContract;return TronWebProto.TriggerSmartContract.deserializeBinaryFromReader(n,r)},TronWebProto.TriggerSmartContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setContractAddress(r);break;case 3:r=t.readInt64();e.setCallValue(r);break;case 4:r=t.readBytes();e.setData(r);break;case 5:r=t.readInt64();e.setCallTokenValue(r);break;case 6:r=t.readInt64();e.setTokenId(r);break;default:t.skipField()}}return e},TronWebProto.TriggerSmartContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.TriggerSmartContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.TriggerSmartContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getContractAddress_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getCallValue())&&t.writeInt64(3,r),(r=e.getData_asU8()).length>0&&t.writeBytes(4,r),0!==(r=e.getCallTokenValue())&&t.writeInt64(5,r),0!==(r=e.getTokenId())&&t.writeInt64(6,r)},TronWebProto.TriggerSmartContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.TriggerSmartContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.TriggerSmartContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.TriggerSmartContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.TriggerSmartContract.prototype.getContractAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.TriggerSmartContract.prototype.getContractAddress_asB64=function(){return t.Message.bytesAsB64(this.getContractAddress())},TronWebProto.TriggerSmartContract.prototype.getContractAddress_asU8=function(){return t.Message.bytesAsU8(this.getContractAddress())},TronWebProto.TriggerSmartContract.prototype.setContractAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.TriggerSmartContract.prototype.getCallValue=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.TriggerSmartContract.prototype.setCallValue=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.TriggerSmartContract.prototype.getData=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.TriggerSmartContract.prototype.getData_asB64=function(){return t.Message.bytesAsB64(this.getData())},TronWebProto.TriggerSmartContract.prototype.getData_asU8=function(){return t.Message.bytesAsU8(this.getData())},TronWebProto.TriggerSmartContract.prototype.setData=function(e){return t.Message.setProto3BytesField(this,4,e)},TronWebProto.TriggerSmartContract.prototype.getCallTokenValue=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.TriggerSmartContract.prototype.setCallTokenValue=function(e){return t.Message.setProto3IntField(this,5,e)},TronWebProto.TriggerSmartContract.prototype.getTokenId=function(){return t.Message.getFieldWithDefault(this,6,0)},TronWebProto.TriggerSmartContract.prototype.setTokenId=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ClearABIContract.prototype.toObject=function(e){return TronWebProto.ClearABIContract.toObject(e,this)},TronWebProto.ClearABIContract.toObject=function(e,t){var r={ownerAddress:t.getOwnerAddress_asB64(),contractAddress:t.getContractAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.ClearABIContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ClearABIContract;return TronWebProto.ClearABIContract.deserializeBinaryFromReader(n,r)},TronWebProto.ClearABIContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setContractAddress(r);break;default:t.skipField()}}return e},TronWebProto.ClearABIContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ClearABIContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ClearABIContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getContractAddress_asU8()).length>0&&t.writeBytes(2,r)},TronWebProto.ClearABIContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ClearABIContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ClearABIContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ClearABIContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ClearABIContract.prototype.getContractAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.ClearABIContract.prototype.getContractAddress_asB64=function(){return t.Message.bytesAsB64(this.getContractAddress())},TronWebProto.ClearABIContract.prototype.getContractAddress_asU8=function(){return t.Message.bytesAsU8(this.getContractAddress())},TronWebProto.ClearABIContract.prototype.setContractAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateSettingContract.prototype.toObject=function(e){return TronWebProto.UpdateSettingContract.toObject(e,this)},TronWebProto.UpdateSettingContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),contractAddress:r.getContractAddress_asB64(),consumeUserResourcePercent:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.UpdateSettingContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UpdateSettingContract;return TronWebProto.UpdateSettingContract.deserializeBinaryFromReader(n,r)},TronWebProto.UpdateSettingContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setContractAddress(r);break;case 3:r=t.readInt64();e.setConsumeUserResourcePercent(r);break;default:t.skipField()}}return e},TronWebProto.UpdateSettingContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UpdateSettingContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UpdateSettingContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getContractAddress_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getConsumeUserResourcePercent())&&t.writeInt64(3,r)},TronWebProto.UpdateSettingContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UpdateSettingContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UpdateSettingContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UpdateSettingContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.UpdateSettingContract.prototype.getContractAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.UpdateSettingContract.prototype.getContractAddress_asB64=function(){return t.Message.bytesAsB64(this.getContractAddress())},TronWebProto.UpdateSettingContract.prototype.getContractAddress_asU8=function(){return t.Message.bytesAsU8(this.getContractAddress())},TronWebProto.UpdateSettingContract.prototype.setContractAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.UpdateSettingContract.prototype.getConsumeUserResourcePercent=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UpdateSettingContract.prototype.setConsumeUserResourcePercent=function(e){return t.Message.setProto3IntField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateEnergyLimitContract.prototype.toObject=function(e){return TronWebProto.UpdateEnergyLimitContract.toObject(e,this)},TronWebProto.UpdateEnergyLimitContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),contractAddress:r.getContractAddress_asB64(),originEnergyLimit:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.UpdateEnergyLimitContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UpdateEnergyLimitContract;return TronWebProto.UpdateEnergyLimitContract.deserializeBinaryFromReader(n,r)},TronWebProto.UpdateEnergyLimitContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setContractAddress(r);break;case 3:r=t.readInt64();e.setOriginEnergyLimit(r);break;default:t.skipField()}}return e},TronWebProto.UpdateEnergyLimitContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UpdateEnergyLimitContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UpdateEnergyLimitContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getContractAddress_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getOriginEnergyLimit())&&t.writeInt64(3,r)},TronWebProto.UpdateEnergyLimitContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UpdateEnergyLimitContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UpdateEnergyLimitContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UpdateEnergyLimitContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.UpdateEnergyLimitContract.prototype.getContractAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.UpdateEnergyLimitContract.prototype.getContractAddress_asB64=function(){return t.Message.bytesAsB64(this.getContractAddress())},TronWebProto.UpdateEnergyLimitContract.prototype.getContractAddress_asU8=function(){return t.Message.bytesAsU8(this.getContractAddress())},TronWebProto.UpdateEnergyLimitContract.prototype.setContractAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.UpdateEnergyLimitContract.prototype.getOriginEnergyLimit=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.UpdateEnergyLimitContract.prototype.setOriginEnergyLimit=function(e){return t.Message.setProto3IntField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SmartContractDataWrapper.prototype.toObject=function(e){return TronWebProto.SmartContractDataWrapper.toObject(e,this)},TronWebProto.SmartContractDataWrapper.toObject=function(e,t){var r,n={smartContract:(r=t.getSmartContract())&&TronWebProto.SmartContract.toObject(e,r),runtimecode:t.getRuntimecode_asB64(),contractState:(r=t.getContractState())&&TronWebProto.ContractState.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),TronWebProto.SmartContractDataWrapper.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.SmartContractDataWrapper;return TronWebProto.SmartContractDataWrapper.deserializeBinaryFromReader(n,r)},TronWebProto.SmartContractDataWrapper.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new TronWebProto.SmartContract;t.readMessage(r,TronWebProto.SmartContract.deserializeBinaryFromReader),e.setSmartContract(r);break;case 2:r=t.readBytes();e.setRuntimecode(r);break;case 3:r=new TronWebProto.ContractState;t.readMessage(r,TronWebProto.ContractState.deserializeBinaryFromReader),e.setContractState(r);break;default:t.skipField()}}return e},TronWebProto.SmartContractDataWrapper.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.SmartContractDataWrapper.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.SmartContractDataWrapper.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getSmartContract())&&t.writeMessage(1,r,TronWebProto.SmartContract.serializeBinaryToWriter),(r=e.getRuntimecode_asU8()).length>0&&t.writeBytes(2,r),null!=(r=e.getContractState())&&t.writeMessage(3,r,TronWebProto.ContractState.serializeBinaryToWriter)},TronWebProto.SmartContractDataWrapper.prototype.getSmartContract=function(){return t.Message.getWrapperField(this,TronWebProto.SmartContract,1)},TronWebProto.SmartContractDataWrapper.prototype.setSmartContract=function(e){return t.Message.setWrapperField(this,1,e)},TronWebProto.SmartContractDataWrapper.prototype.clearSmartContract=function(){return this.setSmartContract(void 0)},TronWebProto.SmartContractDataWrapper.prototype.hasSmartContract=function(){return null!=t.Message.getField(this,1)},TronWebProto.SmartContractDataWrapper.prototype.getRuntimecode=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.SmartContractDataWrapper.prototype.getRuntimecode_asB64=function(){return t.Message.bytesAsB64(this.getRuntimecode())},TronWebProto.SmartContractDataWrapper.prototype.getRuntimecode_asU8=function(){return t.Message.bytesAsU8(this.getRuntimecode())},TronWebProto.SmartContractDataWrapper.prototype.setRuntimecode=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.SmartContractDataWrapper.prototype.getContractState=function(){return t.Message.getWrapperField(this,TronWebProto.ContractState,3)},TronWebProto.SmartContractDataWrapper.prototype.setContractState=function(e){return t.Message.setWrapperField(this,3,e)},TronWebProto.SmartContractDataWrapper.prototype.clearContractState=function(){return this.setContractState(void 0)},TronWebProto.SmartContractDataWrapper.prototype.hasContractState=function(){return null!=t.Message.getField(this,3)},r.object.extend(e,TronWebProto)})),zmt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.VoteWitnessContract",null,n),r.exportSymbol("TronWebProto.VoteWitnessContract.Vote",null,n),r.exportSymbol("TronWebProto.WitnessCreateContract",null,n),r.exportSymbol("TronWebProto.WitnessUpdateContract",null,n),TronWebProto.WitnessCreateContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.WitnessCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WitnessCreateContract.displayName="TronWebProto.WitnessCreateContract"),TronWebProto.WitnessUpdateContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.WitnessUpdateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.WitnessUpdateContract.displayName="TronWebProto.WitnessUpdateContract"),TronWebProto.VoteWitnessContract=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.VoteWitnessContract.repeatedFields_,null)},r.inherits(TronWebProto.VoteWitnessContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.VoteWitnessContract.displayName="TronWebProto.VoteWitnessContract"),TronWebProto.VoteWitnessContract.Vote=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.VoteWitnessContract.Vote,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.VoteWitnessContract.Vote.displayName="TronWebProto.VoteWitnessContract.Vote"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.WitnessCreateContract.prototype.toObject=function(e){return TronWebProto.WitnessCreateContract.toObject(e,this)},TronWebProto.WitnessCreateContract.toObject=function(e,t){var r={ownerAddress:t.getOwnerAddress_asB64(),url:t.getUrl_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.WitnessCreateContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.WitnessCreateContract;return TronWebProto.WitnessCreateContract.deserializeBinaryFromReader(n,r)},TronWebProto.WitnessCreateContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setUrl(r);break;default:t.skipField()}}return e},TronWebProto.WitnessCreateContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.WitnessCreateContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.WitnessCreateContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getUrl_asU8()).length>0&&t.writeBytes(2,r)},TronWebProto.WitnessCreateContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.WitnessCreateContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.WitnessCreateContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.WitnessCreateContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.WitnessCreateContract.prototype.getUrl=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.WitnessCreateContract.prototype.getUrl_asB64=function(){return t.Message.bytesAsB64(this.getUrl())},TronWebProto.WitnessCreateContract.prototype.getUrl_asU8=function(){return t.Message.bytesAsU8(this.getUrl())},TronWebProto.WitnessCreateContract.prototype.setUrl=function(e){return t.Message.setProto3BytesField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.WitnessUpdateContract.prototype.toObject=function(e){return TronWebProto.WitnessUpdateContract.toObject(e,this)},TronWebProto.WitnessUpdateContract.toObject=function(e,t){var r={ownerAddress:t.getOwnerAddress_asB64(),updateUrl:t.getUpdateUrl_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.WitnessUpdateContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.WitnessUpdateContract;return TronWebProto.WitnessUpdateContract.deserializeBinaryFromReader(n,r)},TronWebProto.WitnessUpdateContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 12:r=t.readBytes();e.setUpdateUrl(r);break;default:t.skipField()}}return e},TronWebProto.WitnessUpdateContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.WitnessUpdateContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.WitnessUpdateContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getUpdateUrl_asU8()).length>0&&t.writeBytes(12,r)},TronWebProto.WitnessUpdateContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.WitnessUpdateContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.WitnessUpdateContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.WitnessUpdateContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.WitnessUpdateContract.prototype.getUpdateUrl=function(){return t.Message.getFieldWithDefault(this,12,"")},TronWebProto.WitnessUpdateContract.prototype.getUpdateUrl_asB64=function(){return t.Message.bytesAsB64(this.getUpdateUrl())},TronWebProto.WitnessUpdateContract.prototype.getUpdateUrl_asU8=function(){return t.Message.bytesAsU8(this.getUpdateUrl())},TronWebProto.WitnessUpdateContract.prototype.setUpdateUrl=function(e){return t.Message.setProto3BytesField(this,12,e)},TronWebProto.VoteWitnessContract.repeatedFields_=[2],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.VoteWitnessContract.prototype.toObject=function(e){return TronWebProto.VoteWitnessContract.toObject(e,this)},TronWebProto.VoteWitnessContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),votesList:t.Message.toObjectList(r.getVotesList(),TronWebProto.VoteWitnessContract.Vote.toObject,e),support:t.Message.getBooleanFieldWithDefault(r,3,!1)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.VoteWitnessContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.VoteWitnessContract;return TronWebProto.VoteWitnessContract.deserializeBinaryFromReader(n,r)},TronWebProto.VoteWitnessContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=new TronWebProto.VoteWitnessContract.Vote;t.readMessage(r,TronWebProto.VoteWitnessContract.Vote.deserializeBinaryFromReader),e.addVotes(r);break;case 3:r=t.readBool();e.setSupport(r);break;default:t.skipField()}}return e},TronWebProto.VoteWitnessContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.VoteWitnessContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.VoteWitnessContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getVotesList()).length>0&&t.writeRepeatedMessage(2,r,TronWebProto.VoteWitnessContract.Vote.serializeBinaryToWriter),(r=e.getSupport())&&t.writeBool(3,r)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.VoteWitnessContract.Vote.prototype.toObject=function(e){return TronWebProto.VoteWitnessContract.Vote.toObject(e,this)},TronWebProto.VoteWitnessContract.Vote.toObject=function(e,r){var n={voteAddress:r.getVoteAddress_asB64(),voteCount:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.VoteWitnessContract.Vote.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.VoteWitnessContract.Vote;return TronWebProto.VoteWitnessContract.Vote.deserializeBinaryFromReader(n,r)},TronWebProto.VoteWitnessContract.Vote.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setVoteAddress(r);break;case 2:r=t.readInt64();e.setVoteCount(r);break;default:t.skipField()}}return e},TronWebProto.VoteWitnessContract.Vote.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.VoteWitnessContract.Vote.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.VoteWitnessContract.Vote.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getVoteAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getVoteCount())&&t.writeInt64(2,r)},TronWebProto.VoteWitnessContract.Vote.prototype.getVoteAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.VoteWitnessContract.Vote.prototype.getVoteAddress_asB64=function(){return t.Message.bytesAsB64(this.getVoteAddress())},TronWebProto.VoteWitnessContract.Vote.prototype.getVoteAddress_asU8=function(){return t.Message.bytesAsU8(this.getVoteAddress())},TronWebProto.VoteWitnessContract.Vote.prototype.setVoteAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.VoteWitnessContract.Vote.prototype.getVoteCount=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.VoteWitnessContract.Vote.prototype.setVoteCount=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.VoteWitnessContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.VoteWitnessContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.VoteWitnessContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.VoteWitnessContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.VoteWitnessContract.prototype.getVotesList=function(){return t.Message.getRepeatedWrapperField(this,TronWebProto.VoteWitnessContract.Vote,2)},TronWebProto.VoteWitnessContract.prototype.setVotesList=function(e){return t.Message.setRepeatedWrapperField(this,2,e)},TronWebProto.VoteWitnessContract.prototype.addVotes=function(e,r){return t.Message.addToRepeatedWrapperField(this,2,e,TronWebProto.VoteWitnessContract.Vote,r)},TronWebProto.VoteWitnessContract.prototype.clearVotesList=function(){return this.setVotesList([])},TronWebProto.VoteWitnessContract.prototype.getSupport=function(){return t.Message.getBooleanFieldWithDefault(this,3,!1)},TronWebProto.VoteWitnessContract.prototype.setSupport=function(e){return t.Message.setProto3BooleanField(this,3,e)},r.object.extend(e,TronWebProto)})),Hmt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.BuyStorageBytesContract",null,n),r.exportSymbol("TronWebProto.BuyStorageContract",null,n),r.exportSymbol("TronWebProto.SellStorageContract",null,n),r.exportSymbol("TronWebProto.UpdateBrokerageContract",null,n),TronWebProto.BuyStorageBytesContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.BuyStorageBytesContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BuyStorageBytesContract.displayName="TronWebProto.BuyStorageBytesContract"),TronWebProto.BuyStorageContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.BuyStorageContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.BuyStorageContract.displayName="TronWebProto.BuyStorageContract"),TronWebProto.SellStorageContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.SellStorageContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SellStorageContract.displayName="TronWebProto.SellStorageContract"),TronWebProto.UpdateBrokerageContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.UpdateBrokerageContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.UpdateBrokerageContract.displayName="TronWebProto.UpdateBrokerageContract"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.BuyStorageBytesContract.prototype.toObject=function(e){return TronWebProto.BuyStorageBytesContract.toObject(e,this)},TronWebProto.BuyStorageBytesContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),bytes:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.BuyStorageBytesContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.BuyStorageBytesContract;return TronWebProto.BuyStorageBytesContract.deserializeBinaryFromReader(n,r)},TronWebProto.BuyStorageBytesContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setBytes(r);break;default:t.skipField()}}return e},TronWebProto.BuyStorageBytesContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.BuyStorageBytesContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.BuyStorageBytesContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getBytes())&&t.writeInt64(2,r)},TronWebProto.BuyStorageBytesContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.BuyStorageBytesContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.BuyStorageBytesContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.BuyStorageBytesContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.BuyStorageBytesContract.prototype.getBytes=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BuyStorageBytesContract.prototype.setBytes=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.BuyStorageContract.prototype.toObject=function(e){return TronWebProto.BuyStorageContract.toObject(e,this)},TronWebProto.BuyStorageContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),quant:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.BuyStorageContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.BuyStorageContract;return TronWebProto.BuyStorageContract.deserializeBinaryFromReader(n,r)},TronWebProto.BuyStorageContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setQuant(r);break;default:t.skipField()}}return e},TronWebProto.BuyStorageContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.BuyStorageContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.BuyStorageContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getQuant())&&t.writeInt64(2,r)},TronWebProto.BuyStorageContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.BuyStorageContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.BuyStorageContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.BuyStorageContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.BuyStorageContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.BuyStorageContract.prototype.setQuant=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SellStorageContract.prototype.toObject=function(e){return TronWebProto.SellStorageContract.toObject(e,this)},TronWebProto.SellStorageContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),storageBytes:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.SellStorageContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.SellStorageContract;return TronWebProto.SellStorageContract.deserializeBinaryFromReader(n,r)},TronWebProto.SellStorageContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setStorageBytes(r);break;default:t.skipField()}}return e},TronWebProto.SellStorageContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.SellStorageContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.SellStorageContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getStorageBytes())&&t.writeInt64(2,r)},TronWebProto.SellStorageContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.SellStorageContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.SellStorageContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.SellStorageContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.SellStorageContract.prototype.getStorageBytes=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.SellStorageContract.prototype.setStorageBytes=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.UpdateBrokerageContract.prototype.toObject=function(e){return TronWebProto.UpdateBrokerageContract.toObject(e,this)},TronWebProto.UpdateBrokerageContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),brokerage:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.UpdateBrokerageContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.UpdateBrokerageContract;return TronWebProto.UpdateBrokerageContract.deserializeBinaryFromReader(n,r)},TronWebProto.UpdateBrokerageContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt32();e.setBrokerage(r);break;default:t.skipField()}}return e},TronWebProto.UpdateBrokerageContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.UpdateBrokerageContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.UpdateBrokerageContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getBrokerage())&&t.writeInt32(2,r)},TronWebProto.UpdateBrokerageContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.UpdateBrokerageContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.UpdateBrokerageContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.UpdateBrokerageContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.UpdateBrokerageContract.prototype.getBrokerage=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.UpdateBrokerageContract.prototype.setBrokerage=function(e){return t.Message.setProto3IntField(this,2,e)},r.object.extend(e,TronWebProto)})),jmt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")(),i=xJ();r.object.extend(proto,i),r.exportSymbol("TronWebProto.AccountCreateContract",null,n),r.exportSymbol("TronWebProto.AccountPermissionUpdateContract",null,n),r.exportSymbol("TronWebProto.AccountUpdateContract",null,n),r.exportSymbol("TronWebProto.SetAccountIdContract",null,n),TronWebProto.AccountCreateContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AccountCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountCreateContract.displayName="TronWebProto.AccountCreateContract"),TronWebProto.AccountUpdateContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.AccountUpdateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountUpdateContract.displayName="TronWebProto.AccountUpdateContract"),TronWebProto.SetAccountIdContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.SetAccountIdContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.SetAccountIdContract.displayName="TronWebProto.SetAccountIdContract"),TronWebProto.AccountPermissionUpdateContract=function(e){t.Message.initialize(this,e,0,-1,TronWebProto.AccountPermissionUpdateContract.repeatedFields_,null)},r.inherits(TronWebProto.AccountPermissionUpdateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.AccountPermissionUpdateContract.displayName="TronWebProto.AccountPermissionUpdateContract"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountCreateContract.prototype.toObject=function(e){return TronWebProto.AccountCreateContract.toObject(e,this)},TronWebProto.AccountCreateContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),accountAddress:r.getAccountAddress_asB64(),type:t.Message.getFieldWithDefault(r,3,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.AccountCreateContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountCreateContract;return TronWebProto.AccountCreateContract.deserializeBinaryFromReader(n,r)},TronWebProto.AccountCreateContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setAccountAddress(r);break;case 3:r=t.readEnum();e.setType(r);break;default:t.skipField()}}return e},TronWebProto.AccountCreateContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountCreateContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountCreateContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getAccountAddress_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getType())&&t.writeEnum(3,r)},TronWebProto.AccountCreateContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.AccountCreateContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.AccountCreateContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.AccountCreateContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.AccountCreateContract.prototype.getAccountAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.AccountCreateContract.prototype.getAccountAddress_asB64=function(){return t.Message.bytesAsB64(this.getAccountAddress())},TronWebProto.AccountCreateContract.prototype.getAccountAddress_asU8=function(){return t.Message.bytesAsU8(this.getAccountAddress())},TronWebProto.AccountCreateContract.prototype.setAccountAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.AccountCreateContract.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.AccountCreateContract.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountUpdateContract.prototype.toObject=function(e){return TronWebProto.AccountUpdateContract.toObject(e,this)},TronWebProto.AccountUpdateContract.toObject=function(e,t){var r={accountName:t.getAccountName_asB64(),ownerAddress:t.getOwnerAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.AccountUpdateContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountUpdateContract;return TronWebProto.AccountUpdateContract.deserializeBinaryFromReader(n,r)},TronWebProto.AccountUpdateContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setAccountName(r);break;case 2:r=t.readBytes();e.setOwnerAddress(r);break;default:t.skipField()}}return e},TronWebProto.AccountUpdateContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountUpdateContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountUpdateContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAccountName_asU8()).length>0&&t.writeBytes(1,r),(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(2,r)},TronWebProto.AccountUpdateContract.prototype.getAccountName=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.AccountUpdateContract.prototype.getAccountName_asB64=function(){return t.Message.bytesAsB64(this.getAccountName())},TronWebProto.AccountUpdateContract.prototype.getAccountName_asU8=function(){return t.Message.bytesAsU8(this.getAccountName())},TronWebProto.AccountUpdateContract.prototype.setAccountName=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.AccountUpdateContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.AccountUpdateContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.AccountUpdateContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.AccountUpdateContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.SetAccountIdContract.prototype.toObject=function(e){return TronWebProto.SetAccountIdContract.toObject(e,this)},TronWebProto.SetAccountIdContract.toObject=function(e,t){var r={accountId:t.getAccountId_asB64(),ownerAddress:t.getOwnerAddress_asB64()};return e&&(r.$jspbMessageInstance=t),r}),TronWebProto.SetAccountIdContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.SetAccountIdContract;return TronWebProto.SetAccountIdContract.deserializeBinaryFromReader(n,r)},TronWebProto.SetAccountIdContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setAccountId(r);break;case 2:r=t.readBytes();e.setOwnerAddress(r);break;default:t.skipField()}}return e},TronWebProto.SetAccountIdContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.SetAccountIdContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.SetAccountIdContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAccountId_asU8()).length>0&&t.writeBytes(1,r),(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(2,r)},TronWebProto.SetAccountIdContract.prototype.getAccountId=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.SetAccountIdContract.prototype.getAccountId_asB64=function(){return t.Message.bytesAsB64(this.getAccountId())},TronWebProto.SetAccountIdContract.prototype.getAccountId_asU8=function(){return t.Message.bytesAsU8(this.getAccountId())},TronWebProto.SetAccountIdContract.prototype.setAccountId=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.SetAccountIdContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.SetAccountIdContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.SetAccountIdContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.SetAccountIdContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.AccountPermissionUpdateContract.repeatedFields_=[4],t.Message.GENERATE_TO_OBJECT&&(TronWebProto.AccountPermissionUpdateContract.prototype.toObject=function(e){return TronWebProto.AccountPermissionUpdateContract.toObject(e,this)},TronWebProto.AccountPermissionUpdateContract.toObject=function(e,r){var n,o={ownerAddress:r.getOwnerAddress_asB64(),owner:(n=r.getOwner())&&i.Permission.toObject(e,n),witness:(n=r.getWitness())&&i.Permission.toObject(e,n),activesList:t.Message.toObjectList(r.getActivesList(),i.Permission.toObject,e)};return e&&(o.$jspbMessageInstance=r),o}),TronWebProto.AccountPermissionUpdateContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.AccountPermissionUpdateContract;return TronWebProto.AccountPermissionUpdateContract.deserializeBinaryFromReader(n,r)},TronWebProto.AccountPermissionUpdateContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=new i.Permission;t.readMessage(r,i.Permission.deserializeBinaryFromReader),e.setOwner(r);break;case 3:r=new i.Permission;t.readMessage(r,i.Permission.deserializeBinaryFromReader),e.setWitness(r);break;case 4:r=new i.Permission;t.readMessage(r,i.Permission.deserializeBinaryFromReader),e.addActives(r);break;default:t.skipField()}}return e},TronWebProto.AccountPermissionUpdateContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.AccountPermissionUpdateContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.AccountPermissionUpdateContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),null!=(r=e.getOwner())&&t.writeMessage(2,r,i.Permission.serializeBinaryToWriter),null!=(r=e.getWitness())&&t.writeMessage(3,r,i.Permission.serializeBinaryToWriter),(r=e.getActivesList()).length>0&&t.writeRepeatedMessage(4,r,i.Permission.serializeBinaryToWriter)},TronWebProto.AccountPermissionUpdateContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.AccountPermissionUpdateContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.AccountPermissionUpdateContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.AccountPermissionUpdateContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.AccountPermissionUpdateContract.prototype.getOwner=function(){return t.Message.getWrapperField(this,i.Permission,2)},TronWebProto.AccountPermissionUpdateContract.prototype.setOwner=function(e){return t.Message.setWrapperField(this,2,e)},TronWebProto.AccountPermissionUpdateContract.prototype.clearOwner=function(){return this.setOwner(void 0)},TronWebProto.AccountPermissionUpdateContract.prototype.hasOwner=function(){return null!=t.Message.getField(this,2)},TronWebProto.AccountPermissionUpdateContract.prototype.getWitness=function(){return t.Message.getWrapperField(this,i.Permission,3)},TronWebProto.AccountPermissionUpdateContract.prototype.setWitness=function(e){return t.Message.setWrapperField(this,3,e)},TronWebProto.AccountPermissionUpdateContract.prototype.clearWitness=function(){return this.setWitness(void 0)},TronWebProto.AccountPermissionUpdateContract.prototype.hasWitness=function(){return null!=t.Message.getField(this,3)},TronWebProto.AccountPermissionUpdateContract.prototype.getActivesList=function(){return t.Message.getRepeatedWrapperField(this,i.Permission,4)},TronWebProto.AccountPermissionUpdateContract.prototype.setActivesList=function(e){return t.Message.setRepeatedWrapperField(this,4,e)},TronWebProto.AccountPermissionUpdateContract.prototype.addActives=function(e,r){return t.Message.addToRepeatedWrapperField(this,4,e,TronWebProto.Permission,r)},TronWebProto.AccountPermissionUpdateContract.prototype.clearActivesList=function(){return this.setActivesList([])},r.object.extend(e,TronWebProto)})),Vmt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.ProposalApproveContract",null,n),r.exportSymbol("TronWebProto.ProposalCreateContract",null,n),r.exportSymbol("TronWebProto.ProposalDeleteContract",null,n),TronWebProto.ProposalApproveContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ProposalApproveContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ProposalApproveContract.displayName="TronWebProto.ProposalApproveContract"),TronWebProto.ProposalCreateContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ProposalCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ProposalCreateContract.displayName="TronWebProto.ProposalCreateContract"),TronWebProto.ProposalDeleteContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ProposalDeleteContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ProposalDeleteContract.displayName="TronWebProto.ProposalDeleteContract"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ProposalApproveContract.prototype.toObject=function(e){return TronWebProto.ProposalApproveContract.toObject(e,this)},TronWebProto.ProposalApproveContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),proposalId:t.Message.getFieldWithDefault(r,2,0),isAddApproval:t.Message.getBooleanFieldWithDefault(r,3,!1)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ProposalApproveContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ProposalApproveContract;return TronWebProto.ProposalApproveContract.deserializeBinaryFromReader(n,r)},TronWebProto.ProposalApproveContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setProposalId(r);break;case 3:r=t.readBool();e.setIsAddApproval(r);break;default:t.skipField()}}return e},TronWebProto.ProposalApproveContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ProposalApproveContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ProposalApproveContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getProposalId())&&t.writeInt64(2,r),(r=e.getIsAddApproval())&&t.writeBool(3,r)},TronWebProto.ProposalApproveContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ProposalApproveContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ProposalApproveContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ProposalApproveContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ProposalApproveContract.prototype.getProposalId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ProposalApproveContract.prototype.setProposalId=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.ProposalApproveContract.prototype.getIsAddApproval=function(){return t.Message.getBooleanFieldWithDefault(this,3,!1)},TronWebProto.ProposalApproveContract.prototype.setIsAddApproval=function(e){return t.Message.setProto3BooleanField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ProposalCreateContract.prototype.toObject=function(e){return TronWebProto.ProposalCreateContract.toObject(e,this)},TronWebProto.ProposalCreateContract.toObject=function(e,t){var r,n={ownerAddress:t.getOwnerAddress_asB64(),parametersMap:(r=t.getParametersMap())?r.toObject(e,void 0):[]};return e&&(n.$jspbMessageInstance=t),n}),TronWebProto.ProposalCreateContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ProposalCreateContract;return TronWebProto.ProposalCreateContract.deserializeBinaryFromReader(n,r)},TronWebProto.ProposalCreateContract.deserializeBinaryFromReader=function(e,r){for(;r.nextField()&&!r.isEndGroup();){switch(r.getFieldNumber()){case 1:var n=r.readBytes();e.setOwnerAddress(n);break;case 2:n=e.getParametersMap();r.readMessage(n,(function(e,r){t.Map.deserializeBinary(e,r,t.BinaryReader.prototype.readInt64,t.BinaryReader.prototype.readInt64,null,0,0)}));break;default:r.skipField()}}return e},TronWebProto.ProposalCreateContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ProposalCreateContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ProposalCreateContract.serializeBinaryToWriter=function(e,r){var n=void 0;(n=e.getOwnerAddress_asU8()).length>0&&r.writeBytes(1,n),(n=e.getParametersMap(!0))&&n.getLength()>0&&n.serializeBinary(2,r,t.BinaryWriter.prototype.writeInt64,t.BinaryWriter.prototype.writeInt64)},TronWebProto.ProposalCreateContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ProposalCreateContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ProposalCreateContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ProposalCreateContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ProposalCreateContract.prototype.getParametersMap=function(e){return t.Message.getMapField(this,2,e,null)},TronWebProto.ProposalCreateContract.prototype.clearParametersMap=function(){return this.getParametersMap().clear(),this},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ProposalDeleteContract.prototype.toObject=function(e){return TronWebProto.ProposalDeleteContract.toObject(e,this)},TronWebProto.ProposalDeleteContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),proposalId:t.Message.getFieldWithDefault(r,2,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ProposalDeleteContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ProposalDeleteContract;return TronWebProto.ProposalDeleteContract.deserializeBinaryFromReader(n,r)},TronWebProto.ProposalDeleteContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setProposalId(r);break;default:t.skipField()}}return e},TronWebProto.ProposalDeleteContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ProposalDeleteContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ProposalDeleteContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getProposalId())&&t.writeInt64(2,r)},TronWebProto.ProposalDeleteContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ProposalDeleteContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ProposalDeleteContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ProposalDeleteContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ProposalDeleteContract.prototype.getProposalId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ProposalDeleteContract.prototype.setProposalId=function(e){return t.Message.setProto3IntField(this,2,e)},r.object.extend(e,TronWebProto)})),Xmt=W((e=>{m();var t=$h(),r=t,n=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof n<"u"&&n||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("TronWebProto.ExchangeCreateContract",null,n),r.exportSymbol("TronWebProto.ExchangeInjectContract",null,n),r.exportSymbol("TronWebProto.ExchangeTransactionContract",null,n),r.exportSymbol("TronWebProto.ExchangeWithdrawContract",null,n),TronWebProto.ExchangeCreateContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ExchangeCreateContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ExchangeCreateContract.displayName="TronWebProto.ExchangeCreateContract"),TronWebProto.ExchangeInjectContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ExchangeInjectContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ExchangeInjectContract.displayName="TronWebProto.ExchangeInjectContract"),TronWebProto.ExchangeWithdrawContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ExchangeWithdrawContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ExchangeWithdrawContract.displayName="TronWebProto.ExchangeWithdrawContract"),TronWebProto.ExchangeTransactionContract=function(e){t.Message.initialize(this,e,0,-1,null,null)},r.inherits(TronWebProto.ExchangeTransactionContract,t.Message),r.DEBUG&&!COMPILED&&(TronWebProto.ExchangeTransactionContract.displayName="TronWebProto.ExchangeTransactionContract"),t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ExchangeCreateContract.prototype.toObject=function(e){return TronWebProto.ExchangeCreateContract.toObject(e,this)},TronWebProto.ExchangeCreateContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),firstTokenId:r.getFirstTokenId_asB64(),firstTokenBalance:t.Message.getFieldWithDefault(r,3,0),secondTokenId:r.getSecondTokenId_asB64(),secondTokenBalance:t.Message.getFieldWithDefault(r,5,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ExchangeCreateContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ExchangeCreateContract;return TronWebProto.ExchangeCreateContract.deserializeBinaryFromReader(n,r)},TronWebProto.ExchangeCreateContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readBytes();e.setFirstTokenId(r);break;case 3:r=t.readInt64();e.setFirstTokenBalance(r);break;case 4:r=t.readBytes();e.setSecondTokenId(r);break;case 5:r=t.readInt64();e.setSecondTokenBalance(r);break;default:t.skipField()}}return e},TronWebProto.ExchangeCreateContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ExchangeCreateContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ExchangeCreateContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),(r=e.getFirstTokenId_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getFirstTokenBalance())&&t.writeInt64(3,r),(r=e.getSecondTokenId_asU8()).length>0&&t.writeBytes(4,r),0!==(r=e.getSecondTokenBalance())&&t.writeInt64(5,r)},TronWebProto.ExchangeCreateContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ExchangeCreateContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ExchangeCreateContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ExchangeCreateContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ExchangeCreateContract.prototype.getFirstTokenId=function(){return t.Message.getFieldWithDefault(this,2,"")},TronWebProto.ExchangeCreateContract.prototype.getFirstTokenId_asB64=function(){return t.Message.bytesAsB64(this.getFirstTokenId())},TronWebProto.ExchangeCreateContract.prototype.getFirstTokenId_asU8=function(){return t.Message.bytesAsU8(this.getFirstTokenId())},TronWebProto.ExchangeCreateContract.prototype.setFirstTokenId=function(e){return t.Message.setProto3BytesField(this,2,e)},TronWebProto.ExchangeCreateContract.prototype.getFirstTokenBalance=function(){return t.Message.getFieldWithDefault(this,3,0)},TronWebProto.ExchangeCreateContract.prototype.setFirstTokenBalance=function(e){return t.Message.setProto3IntField(this,3,e)},TronWebProto.ExchangeCreateContract.prototype.getSecondTokenId=function(){return t.Message.getFieldWithDefault(this,4,"")},TronWebProto.ExchangeCreateContract.prototype.getSecondTokenId_asB64=function(){return t.Message.bytesAsB64(this.getSecondTokenId())},TronWebProto.ExchangeCreateContract.prototype.getSecondTokenId_asU8=function(){return t.Message.bytesAsU8(this.getSecondTokenId())},TronWebProto.ExchangeCreateContract.prototype.setSecondTokenId=function(e){return t.Message.setProto3BytesField(this,4,e)},TronWebProto.ExchangeCreateContract.prototype.getSecondTokenBalance=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.ExchangeCreateContract.prototype.setSecondTokenBalance=function(e){return t.Message.setProto3IntField(this,5,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ExchangeInjectContract.prototype.toObject=function(e){return TronWebProto.ExchangeInjectContract.toObject(e,this)},TronWebProto.ExchangeInjectContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),exchangeId:t.Message.getFieldWithDefault(r,2,0),tokenId:r.getTokenId_asB64(),quant:t.Message.getFieldWithDefault(r,4,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ExchangeInjectContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ExchangeInjectContract;return TronWebProto.ExchangeInjectContract.deserializeBinaryFromReader(n,r)},TronWebProto.ExchangeInjectContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setExchangeId(r);break;case 3:r=t.readBytes();e.setTokenId(r);break;case 4:r=t.readInt64();e.setQuant(r);break;default:t.skipField()}}return e},TronWebProto.ExchangeInjectContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ExchangeInjectContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ExchangeInjectContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getExchangeId())&&t.writeInt64(2,r),(r=e.getTokenId_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getQuant())&&t.writeInt64(4,r)},TronWebProto.ExchangeInjectContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ExchangeInjectContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ExchangeInjectContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ExchangeInjectContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ExchangeInjectContract.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ExchangeInjectContract.prototype.setExchangeId=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.ExchangeInjectContract.prototype.getTokenId=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.ExchangeInjectContract.prototype.getTokenId_asB64=function(){return t.Message.bytesAsB64(this.getTokenId())},TronWebProto.ExchangeInjectContract.prototype.getTokenId_asU8=function(){return t.Message.bytesAsU8(this.getTokenId())},TronWebProto.ExchangeInjectContract.prototype.setTokenId=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.ExchangeInjectContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ExchangeInjectContract.prototype.setQuant=function(e){return t.Message.setProto3IntField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ExchangeWithdrawContract.prototype.toObject=function(e){return TronWebProto.ExchangeWithdrawContract.toObject(e,this)},TronWebProto.ExchangeWithdrawContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),exchangeId:t.Message.getFieldWithDefault(r,2,0),tokenId:r.getTokenId_asB64(),quant:t.Message.getFieldWithDefault(r,4,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ExchangeWithdrawContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ExchangeWithdrawContract;return TronWebProto.ExchangeWithdrawContract.deserializeBinaryFromReader(n,r)},TronWebProto.ExchangeWithdrawContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setExchangeId(r);break;case 3:r=t.readBytes();e.setTokenId(r);break;case 4:r=t.readInt64();e.setQuant(r);break;default:t.skipField()}}return e},TronWebProto.ExchangeWithdrawContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ExchangeWithdrawContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ExchangeWithdrawContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getExchangeId())&&t.writeInt64(2,r),(r=e.getTokenId_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getQuant())&&t.writeInt64(4,r)},TronWebProto.ExchangeWithdrawContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ExchangeWithdrawContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ExchangeWithdrawContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ExchangeWithdrawContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ExchangeWithdrawContract.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ExchangeWithdrawContract.prototype.setExchangeId=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.ExchangeWithdrawContract.prototype.getTokenId=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.ExchangeWithdrawContract.prototype.getTokenId_asB64=function(){return t.Message.bytesAsB64(this.getTokenId())},TronWebProto.ExchangeWithdrawContract.prototype.getTokenId_asU8=function(){return t.Message.bytesAsU8(this.getTokenId())},TronWebProto.ExchangeWithdrawContract.prototype.setTokenId=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.ExchangeWithdrawContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ExchangeWithdrawContract.prototype.setQuant=function(e){return t.Message.setProto3IntField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(TronWebProto.ExchangeTransactionContract.prototype.toObject=function(e){return TronWebProto.ExchangeTransactionContract.toObject(e,this)},TronWebProto.ExchangeTransactionContract.toObject=function(e,r){var n={ownerAddress:r.getOwnerAddress_asB64(),exchangeId:t.Message.getFieldWithDefault(r,2,0),tokenId:r.getTokenId_asB64(),quant:t.Message.getFieldWithDefault(r,4,0),expected:t.Message.getFieldWithDefault(r,5,0)};return e&&(n.$jspbMessageInstance=r),n}),TronWebProto.ExchangeTransactionContract.deserializeBinary=function(e){var r=new t.BinaryReader(e),n=new TronWebProto.ExchangeTransactionContract;return TronWebProto.ExchangeTransactionContract.deserializeBinaryFromReader(n,r)},TronWebProto.ExchangeTransactionContract.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setOwnerAddress(r);break;case 2:r=t.readInt64();e.setExchangeId(r);break;case 3:r=t.readBytes();e.setTokenId(r);break;case 4:r=t.readInt64();e.setQuant(r);break;case 5:r=t.readInt64();e.setExpected(r);break;default:t.skipField()}}return e},TronWebProto.ExchangeTransactionContract.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return TronWebProto.ExchangeTransactionContract.serializeBinaryToWriter(this,e),e.getResultBuffer()},TronWebProto.ExchangeTransactionContract.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getOwnerAddress_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getExchangeId())&&t.writeInt64(2,r),(r=e.getTokenId_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getQuant())&&t.writeInt64(4,r),0!==(r=e.getExpected())&&t.writeInt64(5,r)},TronWebProto.ExchangeTransactionContract.prototype.getOwnerAddress=function(){return t.Message.getFieldWithDefault(this,1,"")},TronWebProto.ExchangeTransactionContract.prototype.getOwnerAddress_asB64=function(){return t.Message.bytesAsB64(this.getOwnerAddress())},TronWebProto.ExchangeTransactionContract.prototype.getOwnerAddress_asU8=function(){return t.Message.bytesAsU8(this.getOwnerAddress())},TronWebProto.ExchangeTransactionContract.prototype.setOwnerAddress=function(e){return t.Message.setProto3BytesField(this,1,e)},TronWebProto.ExchangeTransactionContract.prototype.getExchangeId=function(){return t.Message.getFieldWithDefault(this,2,0)},TronWebProto.ExchangeTransactionContract.prototype.setExchangeId=function(e){return t.Message.setProto3IntField(this,2,e)},TronWebProto.ExchangeTransactionContract.prototype.getTokenId=function(){return t.Message.getFieldWithDefault(this,3,"")},TronWebProto.ExchangeTransactionContract.prototype.getTokenId_asB64=function(){return t.Message.bytesAsB64(this.getTokenId())},TronWebProto.ExchangeTransactionContract.prototype.getTokenId_asU8=function(){return t.Message.bytesAsU8(this.getTokenId())},TronWebProto.ExchangeTransactionContract.prototype.setTokenId=function(e){return t.Message.setProto3BytesField(this,3,e)},TronWebProto.ExchangeTransactionContract.prototype.getQuant=function(){return t.Message.getFieldWithDefault(this,4,0)},TronWebProto.ExchangeTransactionContract.prototype.setQuant=function(e){return t.Message.setProto3IntField(this,4,e)},TronWebProto.ExchangeTransactionContract.prototype.getExpected=function(){return t.Message.getFieldWithDefault(this,5,0)},TronWebProto.ExchangeTransactionContract.prototype.setExpected=function(e){return t.Message.setProto3IntField(this,5,e)},r.object.extend(e,TronWebProto)}));m(),m(),m(),m();var Gd=(e=>(e.CONNECT="connect",e.DISPLAY_URI="display_uri",e.SHORT_DISPLAY_URI="short_display_uri",e.SESSION_CONNECTING="session_connecting",e.SESSION_UPDATE="session_update",e.SESSION_DELETE="session_delete",e.DEFAULT_CHAIN_CHANGED="default_chain_changed",e.OKX_ENGINE_CONNECT_PARAMS="okx_engine_connect_params",e.UPDATE_NAMESPACES="update_name_spaces",e))(Gd||{}),ST=()=>typeof window?.TelegramWebviewProxy<"u",Hvt=e=>/Android|iPhone|Mobile/i.test(e),Xxe=e=>ST()?0:Hvt(e)?1:2,Yxe={icon:"https://static.okx.com/cdn/assets/imgs/2411/4765142B5FB46E91.png",uuid:"f59c3e67-667a-448f-bb48-7acd1b4c4eb6",name:"OKX Mobile Connect Wallet"},jf={icon:"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAA21BMVEUAAACl90Cp90Gx/U2b7i6x/Eyx+02b7S6x/U2n9Dyb7S6w/Eyb7iyb7i6x/U2a7Syd7i+a7S2e7zCc7y+b7i2b7Cyb7TAAAACc7i6k9Dqd7zCe8DGx/E2u+0mm9T6w/Eun9j+v+0qr+USt+kib7Syp90Gj8zif8DKh8jat+keg8jWo9kCf8TOl9T2s+UWq+EKl9Dui8jey/U4UHgac7y9WfSM+WxVmmSVqmypklyIWHwlVfCFQeRpReRyS1zaHyy4eLQpyqClGahgKEASe5zspPQ6BuzVhjChJbByn8W1OAAAAF3RSTlMAIP3v779wgH8QcN+/oJ9w39+/v7+/cPahM/QAAAcoSURBVGjejJHdahtRDISVGJuEQG5z47/d4AuzxAuG0NBAaEn/3v+JuvNZqmyvWDo+R5ojjTRZYo77u/nDcnnU73gcCEwFcITG5YXMNUGV0Mzmixs7x818GWBfRjI3i7kwytnJ9HhmsZjRd4z30iskUcJzVJwtzHFXTNWoVVBCVrh3BhbLzYbqhsMFSYsCSgUeGS9KfMPNbCPl5nSdQ6BuSYUf2Qu8AdnLKZ/p//A48CZVBOA0G5lBw9Q05mY3bOcyRQI8FIKzvFk2jYtopjbiBbm3hfQbXZfozY/MocuPTIlL5EB9HOq1O5s3Du8LkVeefR6abeS8cybhtnOb0V81K0I06aqyoX66pATtXBj5svVgofW4WrkX8N3ZGzgBDS/tJMZlAUt4mN4C8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W+BcZTAEhth5YXHo/13IhWZrBdY0uBmvP96gKefj/cH2N8fkX4t2YCWQGCEgB7u+D+BP4qTJluFb0XgJyBQiOpdL7AtSi9QfZACjNbtBbZMQhgRAI0AGtslv1cFIHFgbxsBHwfyIsqYUtZzMK/9E0FYw+lf8HI70daUMMaG9XLtaSMAhY/xQKx1I7BGPVVE9Besne0NHuGeuBEQi/bSA6m0AoLW8AXLrWhGsYBEJ4ACCKleQJ8N8C5i+M260Ap8jxEwIlC02Hv0gs1m0wts6MoFrRWgx01j7liag35fewHUkGkFvKqOrA6wTDFRbwSim2O9QK1lIc6ywPgNUScQo2l7gU2BZYIRcMu2AofTvQA99gTsxlMqHsjIdwKo08f2AjcHCAHxV251cY2AyohjPFs1ApAAPFLzK3oYip0AvaRCagRW1V55wDFZNWR0hC8Pdy/xsKfrFw/5KZuJ33vNqpdCilxgroE5FrW5ji45Lie5mZRFFTunME/vwzZ3pz28jB7NXAwZP59rjXzUQSYMolcgMx+gDYE9eo0LPAd6wcArgioePadIPrpYIssgW04iiUpGbOE+7x/jcwbZtCokIznVqKBfdzSwUk93hQA0eU4FIEty4CioPl8XJzPzFqEOBkSJgDQzbjErir2Rsh6mFatAJ1DtHrWc4GjECHdZ3XG7HdRLu0iZ0s2kGvYmoimXZiQVuVE03dUcRcy0FpIpZQDaxN57pogNFH1iN52SyUUtF3hN3ZBGgsqOCbd4Ocw7O/UeIZWIRMeEUtSLlfFBnmHhk53FRlbWetkSCpmdI5bgaGTS48TsQ98poXGMT12a2cnkn+cK1+MzkxNznF9DvZ7qdxBG7olKVOkRk4yKnBs4hR5MgudIxTgUan+AQg1EcmqB8wmN4iS1XNkspo/l6UpucmWWOLnMV9dU7WlWgPH04uDvc64ueEY3kfHf4+3H07NY/AcKFJGADN2nOAAAAABJRU5ErkJggg==",uuid:"dfc7efd3-2d67-482d-a8d8-d1fbae467cae",name:"OKX Mini Wallet",rdns:"com.okx.wallet"};function qvt(){return[Yxe,jf]}m();var jl=(e=>(e.ETHEREUM="ethereum",e.SOLANA="solana",e.BITCOIN="bitcoin",e.TON="ton",e.APTOS="aptos",e.SUI="sui",e.COSMOS="cosmos",e.TRON="tronWeb",e))(jl||{});m();var Xb=(e=>(e[e.USER_REJECTS_ERROR=4001]="USER_REJECTS_ERROR",e[e.UNAUTHORIZED_ERROR=4100]="UNAUTHORIZED_ERROR",e[e.UNSUPPORTED_METHOD_ERROR=4200]="UNSUPPORTED_METHOD_ERROR",e[e.DISCONNECTED_ERROR=4900]="DISCONNECTED_ERROR",e[e.CHAIN_DISCONNECTED_ERROR=4901]="CHAIN_DISCONNECTED_ERROR",e[e.INTERNAL_ERROR=-32603]="INTERNAL_ERROR",e))(Xb||{});m(),m();var jvt=[{appBaseChain:"ethereum",chain:"mainnet",chainName:"Ethereum",rpcUrl:"https://www.okx.com/fullnode/eth/discover/rpc",chainId:1,networkId:"1",symbol:"ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"optimism",chainName:"Optimism",rpcUrl:"https://www.okx.com/fullnode/op/discover/rpc",chainId:10,networkId:"10",symbol:"OP_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"gnosis",chainName:"Gnosis",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=100",chainId:100,networkId:"100",symbol:"XDAI",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ethw",chainName:"EthereumPoW",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=10001",chainId:10001,networkId:"10001",symbol:"ETHW",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"CFX",chainName:"Conflux",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1030",chainId:1030,networkId:"1030",symbol:"CFX",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"metis",chainName:"Metis",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1088",chainId:1088,networkId:"1088",symbol:"METIS",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"DYM",chainName:"Dymension",rpcUrl:"https://www.okx.com/fullnode/dym/discover/rpc",chainId:1100,networkId:"1100",symbol:"DYM",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"POLYGON_ETH",chainName:"Polygon zkEVM",rpcUrl:"https://www.okx.com/fullnode/zkevm/discover/rpc",chainId:1101,networkId:"1101",symbol:"POLYGON_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"WEMIX",chainName:"Wemix 3.0",rpcUrl:"https://www.okx.com/fullnode/wemix/discover/rpc",chainId:1111,networkId:"1111",symbol:"WEMIX",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"SEPOLIA_ETH",chainName:"Sepolia",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=11155111",chainId:11155111,networkId:"11155111",symbol:"SEPOLIA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"core",chainName:"Core",rpcUrl:"https://www.okx.com/fullnode/core/discover/rpc",chainId:1116,networkId:"1116",symbol:"CORE",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ISLM",chainName:"HAQQ Network",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=11235",chainId:11235,networkId:"11235",symbol:"ISLM",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"moonbeam",chainName:"Moonbeam",rpcUrl:"https://www.okx.com/fullnode/moonbeam/discover/rpc",chainId:1284,networkId:"1284",symbol:"GLMR",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"moonriver",chainName:"Moonriver",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1285",chainId:1285,networkId:"1285",symbol:"MOVR",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"AURORA_ETH",chainName:"Aurora",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1313161554",chainId:1313161554,networkId:"1313161554",symbol:"AURORA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"EVM_SEI",chainName:"Sei EVM",rpcUrl:"https://www.okx.com/fullnode/seievm/discover/rpc",chainId:1329,networkId:"1329",symbol:"EVM_SEI",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"IMX",chainName:"Immutable zkEVM",rpcUrl:"https://www.okx.com/fullnode/imxzkevm/discover/rpc",chainId:13371,networkId:"13371",symbol:"IMX",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"polygon",chainName:"Polygon",rpcUrl:"https://www.okx.com/fullnode/poly/discover/rpc",chainId:137,networkId:"137",symbol:"POL",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"flare",chainName:"Flare",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=14",chainId:14,networkId:"14",symbol:"FLR",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"IP",chainName:"Story Odyssey Testnet",rpcUrl:"https://www.okx.com/fullnode/story/testnet/discover/rpc",chainId:1516,networkId:"1516",symbol:"IP",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"G",chainName:"Gravity Alpha",rpcUrl:"https://www.okx.com/fullnode/gravity/discover/rpc",chainId:1625,networkId:"1625",symbol:"G",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"harmony",chainName:"Harmony",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=1666600000",chainId:16666e5,networkId:"1666600000",symbol:"ONE",baseChain:"harmony"},{appBaseChain:"ethereum",chain:"TAIKO_ETH",chainName:"Taiko Mainnet",rpcUrl:"https://www.okx.com/fullnode/taiko/discover/rpc",chainId:167e3,networkId:"167000",symbol:"TAIKO_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MANTA_ETH",chainName:"Manta Pacific",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=169",chainId:169,networkId:"169",symbol:"MANTA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"OKB",chainName:"X Layer",rpcUrl:"https://www.okx.com/fullnode/xlayer/discover/rpc/ro",chainId:196,networkId:"196",symbol:"OKB",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"Bitlayer_BTC",chainName:"Bitlayer",rpcUrl:"https://www.okx.com/fullnode/bitlayer/discover/rpc",chainId:200901,networkId:"200901",symbol:"Bitlayer_BTC",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ronin",chainName:"Ronin",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=2020",chainId:2020,networkId:"2020",symbol:"RON",baseChain:"ronin"},{appBaseChain:"ethereum",chain:"RPG",chainName:"Rangers",rpcUrl:"https://www.okx.com/fullnode/ranger/discover/rpc/api/jsonrpc",chainId:2025,networkId:"2025",symbol:"RPG",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"OP_BNB",chainName:"opBNB",rpcUrl:"https://www.okx.com/fullnode/opbnb/discover/rpc",chainId:204,networkId:"204",symbol:"OP_BNB",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"EVM_KAVA",chainName:"Kava EVM",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=2222",chainId:2222,networkId:"2222",symbol:"EVM_KAVA",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"B2_BTC",chainName:"B² Network",rpcUrl:"https://www.okx.com/fullnode/b2evm/discover/rpc",chainId:223,networkId:"223",symbol:"B2_BTC",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"cronos",chainName:"Cronos",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=25",chainId:25,networkId:"25",symbol:"CRO",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ftm",chainName:"Fantom",rpcUrl:"https://www.okx.com/fullnode/ftm/discover/rpc",chainId:250,networkId:"250",symbol:"FTM",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"KROMA_ETH",chainName:"Kroma",rpcUrl:"https://www.okx.com/fullnode/kroma/discover/rpc",chainId:255,networkId:"255",symbol:"KROMA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ONCHAIN_ETH",chainName:"Onchain Mainnet",rpcUrl:"https://www.okx.com/fullnode/onchain/discover/rpc",chainId:27563,networkId:"27563",symbol:"ONCHAIN_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"boba",chainName:"Boba",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=288",chainId:288,networkId:"288",symbol:"BOBA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"RBTC",chainName:"Rootstock",rpcUrl:"https://www.okx.com/fullnode/rootstock/discover/rpc",chainId:30,networkId:"30",symbol:"RBTC",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"FIL",chainName:"Filecoin",rpcUrl:"https://www.okx.com/fullnode/fil/discover/rpc/rpc/v1",chainId:314,networkId:"314",symbol:"FIL",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"kcc",chainName:"KCC",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=321",chainId:321,networkId:"321",symbol:"KCS",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ERA_ETH",chainName:"zkSync Era",rpcUrl:"https://www.okx.com/fullnode/zkera/discover/rpc",chainId:324,networkId:"324",symbol:"ERA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"APE",chainName:"ApeChain",rpcUrl:"https://www.okx.com/fullnode/ape/fork/discover/rpc",chainId:33139,networkId:"33139",symbol:"APE",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MODE_ETH",chainName:"Mode Network",rpcUrl:"https://www.okx.com/fullnode/mode/discover/rpc",chainId:34443,networkId:"34443",symbol:"MODE_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"PLS",chainName:"PulseChain",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=369",chainId:369,networkId:"369",symbol:"PLS",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"OMN",chainName:"Omega Network",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=408",chainId:408,networkId:"408",symbol:"OMN",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MERLIN_BTC",chainName:"Merlin Chain",rpcUrl:"https://www.okx.com/fullnode/merlin/discover/rpc",chainId:4200,networkId:"4200",symbol:"MERLIN_BTC",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"arbitrum",chainName:"Arbitrum One",rpcUrl:"https://www.okx.com/fullnode/arbitrumnitro/discover/rpc",chainId:42161,networkId:"42161",symbol:"ARB_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ARBSEPOLIA_ETH",chainName:"Arbitrum Sepolia",rpcUrl:"https://www.okx.com/fullnode/arbitrumsepolia/discover/rpc",chainId:421614,networkId:"421614",symbol:"ARBSEPOLIA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"Nova",chainName:"Arbitrum Nova",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=42170",chainId:42170,networkId:"42170",symbol:"NOVA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"celo",chainName:"Celo",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=42220",chainId:42220,networkId:"42220",symbol:"CELO",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"avax",chainName:"Avalanche C",rpcUrl:"https://www.okx.com/fullnode/avaxc/discover/rpc/ext/C/rpc",chainId:43114,networkId:"43114",symbol:"AVAX",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"IOTX",chainName:"IoTeX Network",rpcUrl:"https://www.okx.com/fullnode/iotx/discover/rpc",chainId:4689,networkId:"4689",symbol:"IOTX",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MNT",chainName:"Mantle",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=5000",chainId:5e3,networkId:"5000",symbol:"MNT",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ethf",chainName:"DIS CHAIN",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=513100",chainId:513100,networkId:"513100",symbol:"DIS",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"SCROLL_ETH",chainName:"Scroll",rpcUrl:"https://www.okx.com/fullnode/scroll/discover/rpc",chainId:534352,networkId:"534352",symbol:"SCROLL_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"bsc",chainName:"BNB Chain",rpcUrl:"https://www.okx.com/fullnode/bsc/discover/rpc",chainId:56,networkId:"56",symbol:"BNB",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"LINEA_ETH",chainName:"Linea",rpcUrl:"https://www.okx.com/fullnode/linea/discover/rpc",chainId:59144,networkId:"59144",symbol:"LINEA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"BOB_ETH",chainName:"BOB Mainnet",rpcUrl:"https://www.okx.com/fullnode/bob/discover/rpc",chainId:60808,networkId:"60808",symbol:"BOB_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ACE",chainName:"Endurance",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=648",chainId:648,networkId:"648",symbol:"ACE",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"okexchain",chainName:"OKTC",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=66",chainId:66,networkId:"66",symbol:"OKT",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"MAT",chainName:"Matchain",rpcUrl:"https://www.okx.com/fullnode/matchain/discover/rpc",chainId:698,networkId:"698",symbol:"MAT",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ZETA",chainName:"ZetaChain Mainnet",rpcUrl:"https://www.okx.com/fullnode/zetamainnetevm/discover/rpc",chainId:7e3,networkId:"7000",symbol:"ZETA",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ZORA_ETH",chainName:"Zora",rpcUrl:"https://www.okx.com/fullnode/zora/discover/rpc",chainId:7777777,networkId:"7777777",symbol:"ZORA_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"ZKLINK_ETH",chainName:"zkLink Nova",rpcUrl:"https://www.okx.com/fullnode/zklink/discover/rpc",chainId:810180,networkId:"810180",symbol:"ZKLINK_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"BLAST_ETH",chainName:"Blast",rpcUrl:"https://www.okx.com/fullnode/blast/discover/rpc",chainId:81457,networkId:"81457",symbol:"BLAST_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"Kaia Network",chainName:"Kaia Network",rpcUrl:"https://www.okx.com/priapi/v1/wallet/rpc/send?chainId=8217",chainId:8217,networkId:"8217",symbol:"KAIA",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"BASE_ETH",chainName:"Base",rpcUrl:"https://www.okx.com/fullnode/base/discover/rpc",chainId:8453,networkId:"8453",symbol:"BASE_ETH",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"CHZ",chainName:"Chiliz Chain",rpcUrl:"https://www.okx.com/fullnode/chz/discover/rpc",chainId:88888,networkId:"88888",symbol:"CHZ",baseChain:"mainnet"},{appBaseChain:"ethereum",chain:"LUMI_ETH",chainName:"Lumi Layer3",rpcUrl:"https://www.okx.com/fullnode/lumi/discover/rpc",chainId:94168,networkId:"94168",symbol:"LUMI_ETH",baseChain:"mainnet"}],XJ=[],Qxe=jvt.reduce(((e,t)=>({...e,[t.symbol]:t})),{});m();var CT="btc:mainnet",YJ="fractal:mainnet",Gvt=[CT,YJ],QJ=[],Vvt=["solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","solana:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z","sonic:4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z"],KC=[],HC=["sui:mainnet"],ZJ=[],Jvt=["aptos:mainnet"],$J=[],Xvt=["cosmos:cosmoshub-4"],Yvt=["ton:-239"],Nx=["tron:mainnet"],eX=[],tX=[],su={ethereum:"eip155",solana:"solana",bitcoin:"btc",aptos:"aptos",sui:"sui",cosmos:"cosmos",ton:"ton",tronWeb:"tron"},ky={ethereum:Qxe,bitcoin:Gvt,solana:Vvt,sui:HC,aptos:Jvt,cosmos:Xvt,ton:Yvt,tronWeb:Nx};m();var rX=(e=>(e.ETH="ETH",e.OP_ETH="OP_ETH",e.XDAI="XDAI",e.ETHW="ETHW",e.CFX="CFX",e.METIS="METIS",e.DYM="DYM",e.POLYGON_ETH="POLYGON_ETH",e.WEMIX="WEMIX",e.SEPOLIA_ETH="SEPOLIA_ETH",e.CORE="CORE",e.ISLM="ISLM",e.GLMR="GLMR",e.MOVR="MOVR",e.AURORA_ETH="AURORA_ETH",e.EVM_SEI="EVM_SEI",e.IMX="IMX",e.POL="POL",e.FLR="FLR",e.IP="IP",e.G="G",e.ONE="ONE",e.TAIKO_ETH="TAIKO_ETH",e.MANTA_ETH="MANTA_ETH",e.OKB="OKB",e.Bitlayer_BTC="Bitlayer_BTC",e.RON="RON",e.RPG="RPG",e.OP_BNB="OP_BNB",e.EVM_KAVA="EVM_KAVA",e.B2_BTC="B2_BTC",e.CRO="CRO",e.FTM="FTM",e.KROMA_ETH="KROMA_ETH",e.ONCHAIN_ETH="ONCHAIN_ETH",e.BOBA_ETH="BOBA_ETH",e.RBTC="RBTC",e.FIL="FIL",e.KCS="KCS",e.ERA_ETH="ERA_ETH",e.APE="APE",e.MODE_ETH="MODE_ETH",e.PLS="PLS",e.OMN="OMN",e.MERLIN_BTC="MERLIN_BTC",e.ARB_ETH="ARB_ETH",e.ARBSEPOLIA_ETH="ARBSEPOLIA_ETH",e.NOVA_ETH="NOVA_ETH",e.CELO="CELO",e.AVAX="AVAX",e.IOTX="IOTX",e.MNT="MNT",e.DIS="DIS",e.SCROLL_ETH="SCROLL_ETH",e.BNB="BNB",e.LINEA_ETH="LINEA_ETH",e.BOB_ETH="BOB_ETH",e.ACE="ACE",e.OKT="OKT",e.MAT="MAT",e.ZETA="ZETA",e.ZORA_ETH="ZORA_ETH",e.ZKLINK_ETH="ZKLINK_ETH",e.BLAST_ETH="BLAST_ETH",e.KAIA="KAIA",e.BASE_ETH="BASE_ETH",e.CHZ="CHZ",e.LUMI_ETH="LUMI_ETH",e))(rX||{}),Qvt=e=>{let t=[],r={},n=ky.ethereum;if(Object.values(n).forEach((n=>{let i=`eip155:${n.networkId}`;e?XJ.includes(i)&&(t.push(i),r[n.chainId]=n.rpcUrl):XJ.includes(i)||(t.push(i),r[n.chainId]=n.rpcUrl)})),0===t.length)return{};let i={chains:t,rpcMap:r};return e&&(i.defaultChain="1"),{[su.ethereum]:i}},Zvt=(e,t)=>{let r=ky.ton.filter((t=>e?tX.includes(t):!tX.includes(t)));if(0===r.length)return{};let n={chains:r,params:t};return{[su.ton]:n}},$vt=e=>{let t=ky.solana.filter((t=>e?KC.includes(t):!KC.includes(t)));return 0===t.length?{}:{[su.solana]:{chains:t}}},e1t=e=>{let t=ky.bitcoin.filter((t=>e?QJ.includes(t):!QJ.includes(t)));return 0===t.length?{}:{[su.bitcoin]:{chains:t,rpcMap:{"btc:mainnet":"https://wallet.okx.com/priapi/v1/wallet/rpc/send?chainId=0","fractal:mainnet":"https://wallet.okx.com/fullnode/fractal/discover/rpc"}}}},t1t=e=>{let t=ky.sui.filter((t=>e?ZJ.includes(t):!ZJ.includes(t)));return 0===t.length?{}:{[su.sui]:{chains:t,rpcMap:{mainnet:"https://wallet.okx.com/fullnode/sui/discover/rpc"}}}},r1t=e=>{let t=ky.aptos.filter((t=>e?$J.includes(t):!$J.includes(t)));return 0===t.length?{}:{[su.aptos]:{chains:t}}},n1t=e=>({[su.cosmos]:{chains:ky.cosmos}}),i1t=e=>{let t=ky.tronWeb.filter((t=>e?eX.includes(t):!eX.includes(t)));return 0===t.length?{}:{[su.tronWeb]:{chains:t}}},au=(e,t=!0,r)=>{switch(e){case"ethereum":return Qvt(t);case"solana":return $vt(t);case"ton":return Zvt(t,r);case"bitcoin":return e1t(t);case"sui":return t1t(t);case"aptos":return r1t(t);case"cosmos":return n1t(t);case"tronWeb":return i1t(t);default:return{}}},o1t=e=>{let t={},r={};if(e?.networks)for(let n of e.networks)t={...t,...au(n,!0)},r={...r,...au(n,!1)};return e||(t={...t,...au("ethereum",!0),...au("solana",!0),...au("bitcoin",!0),...au("sui",!0),...au("aptos",!0),...au("ton",!0),...au("tronWeb",!0)},r={...r,...au("ethereum",!1),...au("solana",!1),...au("bitcoin",!1),...au("sui",!1),...au("aptos",!1),...au("ton",!1),...au("tronWeb",!1)}),{requiredNamespaces:t,optionalNamespaces:r}},Zxe=e=>{let{requiredNamespaces:t,optionalNamespaces:r}=o1t(e);return{namespaces:t,optionalNamespaces:r}},s1t=()=>({ethereum:rX,solana:["SOLANA","SOLANA_TESTNET","SONIC_TESTNET"],bitcoin:["BTC_MAINNET","FRACTAL_MAINNET"],aptos:["APTOS_MAINNET"],sui:["SUI_MAINNET"],cosmos:[""]});m();var a1t=e=>{let t=e.match(/tgWebAppData=([^&]*)/);return t?decodeURIComponent(t[1]||""):null};function c1t(){let e=location.hash,t=a1t(e);if(t)return void sessionStorage.setItem("tgWebAppData",t);let r=sessionStorage.getItem("tgWebAppData");r&&(location.hash=`${location.hash}#tgWebAppData=${r}`)}m(),m(),m();var Vke=hi(yg());m(),m();var mh=class e{static instance=null;level;constructor(){this.level=2}static getInstance(){return e.instance||(e.instance=new e),e.instance}static setLevel(t){e.getInstance().level=t}log(e,t,r,...n){if(e>=this.level){let i=t?`[${t}] ${r}`:r;switch(e){case 0:case 1:console.info(i,...n);break;case 2:console.warn(i,...n);break;case 3:console.error(i,...n)}}}createScopedLogger(e){return{debug:(t,...r)=>this.log(0,e,t,...r),info:(t,...r)=>this.log(1,e,t,...r),warn:(t,...r)=>this.log(2,e,t,...r),error:(t,...r)=>this.log(3,e,t,...r)}}debug(e,...t){this.log(0,void 0,e,...t)}info(e,...t){this.log(1,void 0,e,...t)}warn(e,...t){this.log(2,void 0,e,...t)}error(e,...t){this.log(3,void 0,e,...t)}},Zqr=mh.getInstance(),are=class{logger;constructor(){this.logger=this.initializeLogger(),this.logger.debug("Provider initialized")}get isConnected(){throw new Error("isConnected method not implemented")}initializeLogger(){let e=mh.getInstance();return mh.setLevel(1),e.createScopedLogger(this.constructor.name)}},$l=are;m();var XA=hi(yg()),rNt={[XA.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR]:{message:"User rejected the request",code:4001},[XA.OKX_CONNECT_ERROR_CODES.METHOD_NOT_SUPPORTED]:{message:"Method not supported",code:4200},[XA.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR]:{message:"Not connected",code:4901},[XA.OKX_CONNECT_ERROR_CODES.CHAIN_NOT_SUPPORTED]:{message:"chain not supported",code:-32603}},Lo=class extends Error{code;constructor(e,t){super(e),this.code=t}},jv=e=>{if(e instanceof XA.OKXConnectError){let{code:t}=e.toJSON();console.log("convertToSdkError: ",e,e.code,t);let r=rNt[t];return t&&r?new Lo(r.message,r.code):new Lo(e?.message??e,-32603)}return e},Hr=async e=>{try{let t=await e;if(console.log("safeCall - res: ",t),t instanceof Error)throw t;if(t&&"object"==typeof t&&"error"in t){let e="Internal error";throw t.error&&"object"==typeof t.error&&"message"in t.error&&(e=t.error.message),new Lo(e,-32603)}return t}catch(e){throw console.log("safeCall - catch error: ",e),jv(e)}},UO=e=>{throw new Lo(e??"Client not initialized",4900)},iNt={useMini:!0,openUniversalUrl:!0,tmaReturnUrl:ST()?"back":"none"},cre=class e extends $l{static provider;static initialized=!1;options;sessionConfig=iNt;isClientReady=!1;client;triggerEventToAdapter;get session(){return this.client?.session}get isConnected(){return this.client?.connected()||!1}constructor(){super()}static init(){return this.initialized||(this.provider=new e,e.initialized=!0),this.provider}async setupClient(e,t,{namespaces:r}){this.isClientReady||!e||!t||(this.setupOptions(r),this.client=await Vke.OKXUniversalProvider.init({dappMetaData:{name:e,icon:t}}),this.isClientReady=!0)}setupOptions(e){if(!e)return;let t=Zxe(e);this.options={...t}}getSessionConfig(){return this.sessionConfig}setSessionConfig(e){this.sessionConfig={...this.sessionConfig,...e}}getClient(){return this.client}getDefaultChainIdByNetwork(e){if(!this.session)return;let t=this.session.namespaces[su[e]];return t?.defaultChain?`${su[e]}:${t?.defaultChain}`:t?.chains[0]}getDefaultAccountByNetwork(e){if(!this.client)return;let t=this.getDefaultChainIdByNetwork(e);return void 0===t?this.session?.namespaces[su[e]]?.accounts[0]:this.session?.namespaces[su[e]]?.accounts.find((e=>e.startsWith(t)))?.replace(`${t}:`,"")}async getUri(){return new Promise(((e,t)=>{if(!this.client)return t("Client not initialized");this.client.on("short_display_uri",(t=>{this.logger.info("SHORT_DISPLAY_URI event triggered",t),e(t)})),this.sessionConfig.useMini=!1,this.sessionConfig.openUniversalUrl=!1,this.sessionConfig.tmaReturnUrl="none",this.connect().catch((e=>(this.triggerEventToAdapter&&this.triggerEventToAdapter("connect_error",e),t(e))))}))}async connectOKXAppWallet(){return this.sessionConfig.useMini=!1,this.sessionConfig.openUniversalUrl=!0,this.sessionConfig.tmaReturnUrl=ST()?"back":"none",await this.connect()}async connectOKXMiniWallet(){return this.sessionConfig.useMini=!0,this.sessionConfig.openUniversalUrl=!0,this.sessionConfig.tmaReturnUrl=ST()?"back":"none",await this.connect()}async connect({tonItems:e}={}){if(!this.client||!this.sessionConfig)return;let t={...this.options,sessionConfig:this.sessionConfig};return this.options?.optionalNamespaces?.ton&&(this.options.optionalNamespaces.ton.params={ton_addr:{name:"ton_addr"},ton_proof:{name:"ton_proof",payload:"https://okx.com"}}),console.log("connect options: ",this.options,this.sessionConfig,e),await this.client.connect(t)}async getAllAddresses(){if(this.client&&this.client.connected())return await Hr(this.client.syncAllAddresses())}async request(e,t){if(!this.client||!this.session)return;let r=this.getDefaultChainIdByNetwork(t??"ethereum");return await this.client.request(e,r)}async disconnect(){if(this.client)return await this.client.disconnect()}subscribe(e){this.client&&Object.keys(Gd).forEach((t=>{let r=Gd[t];this.client?.on(r,(t=>{"short_display_uri"!==r&&e&&(this.triggerEventToAdapter=e,e(r,t))}))}))}parseResponse(e){return e}},Jke=cre;m();var LGe=hi(DGe());function UGe(e){let t={};for(let r=0;r<e.length;r++){let n=e[r]?.split(":"),i=n?.[0],o=n?.[1],s=n?.[2],a=`${i}:${o}`;t[a]||(t[a]=[]),s&&t[a].push(s)}return t}function DE(e){return"0x"+Number(e).toString(16)}m(),m();var GQt=(e,t)=>{if(!e?.namespaces)return null;let r=null;return Object.keys(e?.namespaces).forEach((n=>{n===su[t]&&(r=e.namespaces[n])})),r},ku=(e,t)=>{let r=GQt(e,t);if(r){let e=UGe(r.accounts),t=r.chains?.[0]?e[r.chains[0]]:[];return{chains:r.chains,accounts:t??[],methods:r.methods,...void 0!==r.defaultChain&&{defaultChain:r.defaultChain},...void 0!==r.extra&&{extra:r.extra},...void 0!==r.rpcMap&&{rpcMap:r.rpcMap}}}return null},Qce=class e extends $l{static provider;client;static initialized=!1;universalProvider;get isConnected(){return this.universalProvider.isConnected}get currentChainId(){return this.universalProvider.getDefaultChainIdByNetwork("aptos")}get session(){return this.universalProvider.session?ku(this.universalProvider.session,"aptos"):null}constructor(){super()}static init(t){return this.initialized||(this.provider=new e,this.provider.setupClient(t),e.initialized=!0),this.provider}setupClient(e){if(this.client)return void this.logger.info("client already initialized");let t=e.getClient();t&&(this.client=new LGe.OKXAptosProvider(t),this.universalProvider=e)}getAccount(e){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);e||(e=this.universalProvider.getDefaultChainIdByNetwork("aptos"));let t=this.client.getAccount(e);if(t)return t;throw new Lo("Account not found",4900)}async request(e){return Hr(this.universalProvider.request(e,"aptos"))}async connect(){return await Hr(this.universalProvider.connect())}async disconnect(){await Hr(this.universalProvider.disconnect())}async signMessage(e){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);let t=this.universalProvider.getDefaultChainIdByNetwork("aptos");return await Hr(this.client.signMessage(e,t))}async signTransaction(e,t){if(!this.client)return this.logger.error("client not initialized"),UO(),new Uint8Array;let r=this.universalProvider.getDefaultChainIdByNetwork("aptos"),n=await Hr(this.client.signTransaction(e,r));return n||UO("Error signing transaction"),n}async signAndSubmitTransaction(e){if(!this.client)return this.logger.error("client not initialized"),UO(),{hash:""};let t=this.universalProvider.getDefaultChainIdByNetwork("aptos"),r=await Hr(this.client.signAndSubmitTransaction(e,t));return r||UO("Error signing and submitting transaction"),{hash:r}}parseResponse(e){}},FGe=Qce;m(),m(),m();var WGe=hi(Qf(),1),_g=WGe.default,Zce=class extends _g{logger;constructor(){super(),this.logger=this.initializeLogger(),this.logger.debug("Adapter initialized")}static createProxy(){throw new Error("createProxy method not implemented")}getLogger(){return this.logger}initializeLogger(){let e=mh.getInstance();return mh.setLevel(1),e.createScopedLogger(this.constructor.name)}},mf=Zce;m();var z1={ETH_SEND_TRANSACTION:"eth_sendTransaction",PERSONAL_SIGN:"personal_sign",ETH_SIGN_TYPED_DATA_V4:"eth_signTypedData_v4",WALLET_ADD_ETHEREUM_CHAIN:"wallet_addEthereumChain",WALLET_SWITCH_ETHEREUM_CHAIN:"wallet_switchEthereumChain",WALLET_WATCH_ASSET:"wallet_watchAsset",ETH_ACCOUNTS:"eth_accounts",ETH_REQUEST_ACCOUNTS:"eth_requestAccounts",ETH_CHAIN_ID:"eth_chainId"},zGe=["eth_blockNumber","eth_call","eth_chainId","eth_coinbase","eth_decrypt","eth_estimateGas","eth_gasPrice","eth_getBalance","eth_getBlockByHash","eth_getBlockByNumber","eth_getBlockTransactionCountByHash","eth_getBlockTransactionCountByNumber","eth_getCode","eth_getEncryptionPublicKey","eth_getFilterChanges","eth_getFilterLogs","eth_getLogs","eth_getProof","eth_getStorageAt","eth_getTransactionByBlockHashAndIndex","eth_getTransactionByBlockNumberAndIndex","eth_getTransactionByHash","eth_getTransactionCount","eth_getTransactionReceipt","eth_getUncleByBlockHashAndIndex","eth_getUncleByBlockNumberAndIndex","eth_getUncleCountByBlockHash","eth_getUncleCountByBlockNumber","eth_getWork","eth_hashrate","eth_mining","eth_newBlockFilter","eth_newFilter","eth_newPendingTransactionFilter","eth_protocolVersion","eth_sendRawTransaction","eth_sendTransaction","eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v3","eth_signTypedData_v4","eth_submitHashrate","eth_submitWork","eth_syncing","eth_uninstallFilter","wallet_getProviderState","metamask_watchAsset","net_listening","net_peerCount","net_version","personal_ecRecover","personal_sign","wallet_watchAsset","web3_clientVersion","web3_sha3","eth_feeHistory"],mP={SOLANA_SIGN_TRANSACTION:"solana_signTransaction",SOLANA_SIGN_MESSAGE:"solana_signMessage",SOLANA_SIGN_ALL_TRANSACTIONS:"solana_signAllTransactions",SOLANA_SIGN_AND_SEND_TRANSACTION:"solana_signAndSendTransaction",SOLANA_CONNECT:"connect"},KGe={SUI_SIGN_MESSAGE:"sui_signMessage",SUI_SIGN_PERSONAL_MESSAGE:"sui_signPersonalMessage",SUI_SIGN_TRANSACTION_BLOCK:"sui_signTransactionBlock",SUI_SIGN_AND_EXECUTE_TRANSACTION_BLOCK:"sui_signAndExecuteTransactionBlock",SUI_CONNECT:"connect"},bP={TRON_REQUEST_ACCOUNTS:"tron_requestAccounts",TRON_SIGN_MESSAGE:"tron_signMessage",TRON_SIGN_MESSAGE_V2:"tron_signMessageV2",TRON_SIGN_TRANSACTION:"tron_signTransaction",TRON_SIGN_AND_SEND_TRANSACTION:"tron_signAndSendTransaction",TRON_WATCH_ASSET:"wallet_watchAsset"};m();var bf=e=>({get:(t,r,n)=>"__origin"===r?e:"__target__"===r?t:Reflect.get(t,r,n),set:(e,t,r)=>Reflect.set(e,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(e,t)});m();var K1=(e,t)=>!(!e||!t||e.length!==t.length)&&e.every(((e,r)=>e===t[r])),$ce=class e extends mf{static eip6963ProviderInfo;provider;lastSession=null;constructor(t){super(),e.setupEip6963ProviderInfo(jf),this.provider=t}static setupEip6963ProviderInfo(e){this.eip6963ProviderInfo=e}createProxy(){let e=new Proxy(this,bf());return this.addEip6963Support(e),e}async request(e){if(![...zGe,...Object.values(z1)].includes(e.method))throw this.logger.error(`Method ${e.method} not supported`),new Lo("Method not supported",4200);let{method:t,params:r}=e,n=r?{method:t,params:r}:{method:t};switch(t){case z1.ETH_REQUEST_ACCOUNTS:return await this.handleRequestAccounts();case z1.PERSONAL_SIGN:n={method:z1.PERSONAL_SIGN,params:[r[0],r[1]]};break;case z1.ETH_SIGN_TYPED_DATA_V4:n={method:z1.ETH_SIGN_TYPED_DATA_V4,params:[r[0],JSON.parse(r[1])]}}let i=await this.provider.request(n,"ethereum");return this.getLogger().debug("Requesting accounts result: ",t,i),this.parseRequestResult(t,i)}get isConnected(){return this.provider.isConnected}async disconnect(){await this.provider.disconnect()}providerCallback(e,t){switch(e){case"connect":case"session_update":this.sessionUpdateCallback(t);break;case"session_delete":this.sessionDeleteCallback(t);break;case"default_chain_changed":this.sessionChangeChainCallback(t);break;default:this.getLogger().warn(`provider callback not implemented: ${e}`)}}async handleRequestAccounts(){if(!this.provider?.getClient())throw new Lo("Disconnected",4900);if(this.provider.isConnected)this.provider.session&&(this.lastSession=ku(this.provider.session,"ethereum"));else{let e=await this.provider.connect();this.handleSessionConnected(e)}let e=await this.provider.request({method:"eth_accounts"},"ethereum");return this.getLogger().debug("Requesting accounts result: ",e),e}handleSessionConnected(e){if(e){let t=ku(e,"ethereum");this.emit("connect",{chainId:DE(t?.defaultChain||"")}),this.emit("accountsChanged",t?.accounts),this.emit("chainChanged",DE(t?.defaultChain||"")),this.lastSession=t}}addEip6963Support(t){let r=new CustomEvent("eip6963:announceProvider",{detail:Object.freeze({info:e.eip6963ProviderInfo,provider:t})});this.logger.debug("announceProviderEvent",r),window.dispatchEvent(r),window.addEventListener("eip6963:requestProvider",(()=>{window.dispatchEvent(r)}))}parseRequestResult(e,t){return e===z1.ETH_CHAIN_ID?t&&DE(t):t}sessionUpdateCallback(e){!this.lastSession&&e&&this.emit("connect",{chainId:DE(e?.defaultChain||"")}),this.lastSession?.defaultChain!==e?.defaultChain&&this.emit("chainChanged",DE(e?.defaultChain||"")),K1(this.lastSession?.accounts,e?.accounts)||this.emit("accountsChanged",e?.accounts),this.lastSession=e}sessionDeleteCallback(e){this.lastSession=null;let t={code:4900,message:"Session deleted",data:{topic:e}};this.emit("disconnect",t),this.emit("accountsChanged",[]),this.emit("chainChanged","")}sessionChangeChainCallback(e){this.emit("chainChanged",DE(e));let t=this.provider.getDefaultAccountByNetwork("ethereum");this.emit("accountsChanged",[t]),this.provider.session&&(this.lastSession=ku(this.provider.session,"ethereum"))}},HGe=$ce;m();var qGe={ethereum:"universal",bitcoin:"bitcoin",solana:"solana",sui:"sui",aptos:"aptos",cosmos:"universal",ton:"ton",tronWeb:"tron"},eue={SEND_TRANSACTION:"sendTransaction",DISCONNECT:"disconnect"};m(),m(),m(),m();var tue="aptos:signAndSubmitTransaction";m();var rue="aptos:signMessage";m();var nue="aptos:signTransaction";m(),m();var iue="aptos:connect";m();var oue="aptos:disconnect";m();var sue="aptos:account";m();var aue="aptos:network";m();var cue="aptos:onAccountChange";m();var uue="aptos:onNetworkChange";m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m();var wl=class extends Error{constructor(e,t){super(e),this.invalidReason=t}};m(),m();var UE="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0;function md(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function JQt(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function _u(e,...t){if(!JQt(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function zz(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");md(e.outputLen),md(e.blockLen)}function Oh(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Y6(e,t){_u(e);let r=t.outputLen;if(e.length<r)throw new Error("digestInto() expects output buffer of length at least "+r)}function H1(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function Ng(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function J0(e,t){return e<<32-t|e>>>t}function vP(e,t){return e<<t|e>>>32-t>>>0}m();var X0=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];function GGe(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}var Y0=X0?e=>e:e=>GGe(e);function Dg(e){for(let t=0;t<e.length;t++)e[t]=GGe(e[t])}var XQt=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function Q0(e){_u(e);let t="";for(let r=0;r<e.length;r++)t+=XQt[e[r]];return t}var Wm={_0:48,_9:57,A:65,F:70,a:97,f:102};function jGe(e){return e>=Wm._0&&e<=Wm._9?e-Wm._0:e>=Wm.A&&e<=Wm.F?e-(Wm.A-10):e>=Wm.a&&e<=Wm.f?e-(Wm.a-10):void 0}function q1(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=jGe(e.charCodeAt(i)),o=jGe(e.charCodeAt(i+1));if(void 0===r||void 0===o){let t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}n[t]=16*r+o}return n}function Kz(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function pc(e){return"string"==typeof e&&(e=Kz(e)),_u(e),e}function j1(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];_u(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}var Rg=class{clone(){return this._cloneInto()}};function VGe(e,t){if(void 0!==t&&"[object Object]"!=={}.toString.call(t))throw new Error("Options should be object or undefined");return Object.assign(e,t)}function G1(e){let t=t=>e().update(pc(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function JGe(e){let t=(t,r)=>e(r).update(pc(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function XGe(e){let t=(t,r)=>e(r).update(pc(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function Q6(e=32){if(UE&&"function"==typeof UE.getRandomValues)return UE.getRandomValues(new Uint8Array(e));if(UE&&"function"==typeof UE.randomBytes)return UE.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}var YGe=(e=>(e.TOO_SHORT="too_short",e.INVALID_LENGTH="invalid_length",e.INVALID_HEX_CHARS="invalid_hex_chars",e))(YGe||{}),Sr=class e{constructor(e){this.data=e}toUint8Array(){return this.data}toStringWithoutPrefix(){return Q0(this.data)}toString(){return`0x${this.toStringWithoutPrefix()}`}static fromHexString(t){let r=t;if(r.startsWith("0x")&&(r=r.slice(2)),0===r.length)throw new wl("Hex string is too short, must be at least 1 char long, excluding the optional leading 0x.","too_short");if(r.length%2!=0)throw new wl("Hex string must be an even number of hex characters.","invalid_length");try{return new e(q1(r))}catch(e){throw new wl(`Hex string contains invalid hex characters: ${e?.message}`,"invalid_hex_chars")}}static fromHexInput(t){return t instanceof Uint8Array?new e(t):e.fromHexString(t)}static hexInputToUint8Array(t){return t instanceof Uint8Array?t:e.fromHexString(t).toUint8Array()}static hexInputToString(t){return e.fromHexInput(t).toString()}static hexInputToStringWithoutPrefix(t){return e.fromHexInput(t).toStringWithoutPrefix()}static isValid(t){try{return e.fromHexString(t),{valid:!0}}catch(e){return{valid:!1,invalidReason:e?.invalidReason,invalidReasonMessage:e?.message}}}equals(e){return this.data.length===e.data.length&&this.data.every(((t,r)=>t===e.data[r]))}},lue=e=>(new TextDecoder).decode(Sr.fromHexInput(e).toUint8Array());m();var Hz=255,qz=65535,zm=4294967295,LE=18446744073709551615n,wP=340282366920938463463374607431768211455n,jz=115792089237316195423570985008687907853269984665640564039457584007913129639935n;m();var YQt=Object.defineProperty,QQt=Object.getOwnPropertyDescriptor,vf=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?QQt(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&YQt(t,r,o),o},gr=class{bcsToBytes(){let e=new Ru;return this.serialize(e),e.toUint8Array()}bcsToHex(){let e=this.bcsToBytes();return Sr.fromHexInput(e)}toStringWithoutPrefix(){return this.bcsToHex().toStringWithoutPrefix()}toString(){return`0x${this.toStringWithoutPrefix()}`}},Ru=class{constructor(e=64){if(e<=0)throw new Error("Length needs to be greater than 0");this.buffer=new ArrayBuffer(e),this.offset=0}ensureBufferWillHandleSize(e){for(;this.buffer.byteLength<this.offset+e;){let e=new ArrayBuffer(2*this.buffer.byteLength);new Uint8Array(e).set(new Uint8Array(this.buffer)),this.buffer=e}}appendToBuffer(e){this.ensureBufferWillHandleSize(e.length),new Uint8Array(this.buffer,this.offset).set(e),this.offset+=e.length}serializeWithFunction(e,t,r){this.ensureBufferWillHandleSize(t);let n=new DataView(this.buffer,this.offset);e.apply(n,[0,r,!0]),this.offset+=t}serializeStr(e){let t=new TextEncoder;this.serializeBytes(t.encode(e))}serializeBytes(e){this.serializeU32AsUleb128(e.length),this.appendToBuffer(e)}serializeFixedBytes(e){this.appendToBuffer(e)}serializeBool(e){Gz(e);let t=e?1:0;this.appendToBuffer(new Uint8Array([t]))}serializeU8(e){this.appendToBuffer(new Uint8Array([e]))}serializeU16(e){this.serializeWithFunction(DataView.prototype.setUint16,2,e)}serializeU32(e){this.serializeWithFunction(DataView.prototype.setUint32,4,e)}serializeU64(e){let t=BigInt(e)&BigInt(zm),r=BigInt(e)>>BigInt(32);this.serializeU32(Number(t)),this.serializeU32(Number(r))}serializeU128(e){let t=BigInt(e)&LE,r=BigInt(e)>>BigInt(64);this.serializeU64(t),this.serializeU64(r)}serializeU256(e){let t=BigInt(e)&wP,r=BigInt(e)>>BigInt(128);this.serializeU128(t),this.serializeU128(r)}serializeU32AsUleb128(e){let t=e,r=[];for(;t>>>7;)r.push(127&t|128),t>>>=7;r.push(t),this.appendToBuffer(new Uint8Array(r))}toUint8Array(){return new Uint8Array(this.buffer).slice(0,this.offset)}serialize(e){e.serialize(this)}serializeVector(e){this.serializeU32AsUleb128(e.length),e.forEach((e=>{e.serialize(this)}))}serializeOption(e,t){let r=void 0!==e;this.serializeBool(r),r&&("string"==typeof e?this.serializeStr(e):e instanceof Uint8Array?void 0!==t?this.serializeFixedBytes(e):this.serializeBytes(e):e.serialize(this))}serializeOptionStr(e){void 0===e?this.serializeU32AsUleb128(0):(this.serializeU32AsUleb128(1),this.serializeStr(e))}};function Gz(e){if("boolean"!=typeof e)throw new Error(`${e} is not a boolean value`)}vf([FE(0,Hz)],Ru.prototype,"serializeU8",1),vf([FE(0,qz)],Ru.prototype,"serializeU16",1),vf([FE(0,zm)],Ru.prototype,"serializeU32",1),vf([FE(BigInt(0),LE)],Ru.prototype,"serializeU64",1),vf([FE(BigInt(0),wP)],Ru.prototype,"serializeU128",1),vf([FE(BigInt(0),jz)],Ru.prototype,"serializeU256",1),vf([FE(0,zm)],Ru.prototype,"serializeU32AsUleb128",1);var QGe=(e,t,r)=>`${e} is out of range: [${t}, ${r}]`;function Km(e,t,r){let n=BigInt(e);if(n>BigInt(r)||n<BigInt(t))throw new Error(QGe(e,t,r))}function FE(e,t){return(r,n,i)=>{let o=i.value;return i.value=function(r){return Km(r,e,t),o.apply(this,[r])},i}}var ka=class e extends gr{constructor(e){super(),this.identifier=e}serialize(e){e.serializeStr(this.identifier)}static deserialize(t){let r=t.deserializeStr();return new e(r)}};m();var $Ge=(e=>(e.INCORRECT_NUMBER_OF_BYTES="incorrect_number_of_bytes",e.INVALID_HEX_CHARS="invalid_hex_chars",e.TOO_SHORT="too_short",e.TOO_LONG="too_long",e.LEADING_ZERO_X_REQUIRED="leading_zero_x_required",e.LONG_FORM_REQUIRED_UNLESS_SPECIAL="long_form_required_unless_special",e.INVALID_PADDING_ZEROES="INVALID_PADDING_ZEROES",e.INVALID_PADDING_STRICTNESS="INVALID_PADDING_STRICTNESS",e))($Ge||{}),xl=class e extends gr{constructor(t){if(super(),t.length!==e.LENGTH)throw new wl("AccountAddress data should be exactly 32 bytes long","incorrect_number_of_bytes");this.data=t}isSpecial(){return this.data.slice(0,this.data.length-1).every((e=>0===e))&&this.data[this.data.length-1]<16}toString(){return`0x${this.toStringWithoutPrefix()}`}toStringWithoutPrefix(){let e=Q0(this.data);return this.isSpecial()&&(e=e[e.length-1]),e}toStringLong(){return`0x${this.toStringLongWithoutPrefix()}`}toStringLongWithoutPrefix(){return Q0(this.data)}toUint8Array(){return this.data}serialize(e){e.serializeFixedBytes(this.data)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(3),e.serialize(this)}static deserialize(t){let r=t.deserializeFixedBytes(e.LENGTH);return new e(r)}static fromStringStrict(t){if(!t.startsWith("0x"))throw new wl("Hex string must start with a leading 0x.","leading_zero_x_required");let r=e.fromString(t);if(t.length!==e.LONG_STRING_LENGTH+2){if(!r.isSpecial())throw new wl(`The given hex string ${t} is not a special address, it must be represented as 0x + 64 chars.`,"long_form_required_unless_special");if(3!==t.length)throw new wl(`The given hex string ${t} is a special address not in LONG form, it must be 0x0 to 0xf without padding zeroes.`,"INVALID_PADDING_ZEROES")}return r}static fromString(t,{maxMissingChars:r=4}={}){let n,i=t;if(t.startsWith("0x")&&(i=t.slice(2)),0===i.length)throw new wl("Hex string is too short, must be 1 to 64 chars long, excluding the leading 0x.","too_short");if(i.length>64)throw new wl("Hex string is too long, must be 1 to 64 chars long, excluding the leading 0x.","too_long");if(r>63||r<0)throw new wl(`maxMissingChars must be between or equal to 0 and 63. Received ${r}`,"INVALID_PADDING_STRICTNESS");try{n=q1(i.padStart(64,"0"))}catch(e){throw new wl(`Hex characters are invalid: ${e?.message}`,"invalid_hex_chars")}let o=new e(n);if(i.length<64-r&&!o.isSpecial())throw new wl(`Hex string is too short, must be ${64-r} to 64 chars long, excluding the leading 0x. You may need to fix \nthe addresss by padding it with 0s before passing it to \`fromString\` (e.g. <addressString>.padStart(64, '0')). \nReceived ${t}`,"too_short");return o}static from(t,{maxMissingChars:r=4}={}){return"string"==typeof t?e.fromString(t,{maxMissingChars:r}):t instanceof Uint8Array?new e(t):t}static fromStrict(t){return"string"==typeof t?e.fromStringStrict(t):t instanceof Uint8Array?new e(t):t}static isValid(t){try{return t.strict?e.fromStrict(t.input):e.from(t.input),{valid:!0}}catch(e){return{valid:!1,invalidReason:e?.invalidReason,invalidReasonMessage:e?.message}}}equals(e){return this.data.length===e.data.length&&this.data.every(((t,r)=>t===e.data[r]))}};xl.LENGTH=32,xl.LONG_STRING_LENGTH=64,xl.ZERO=xl.from("0x0"),xl.ONE=xl.from("0x1"),xl.TWO=xl.from("0x2"),xl.THREE=xl.from("0x3"),xl.FOUR=xl.from("0x4"),xl.A=xl.from("0xA");var st=xl,la=class e extends gr{deserialize(t){let r=st.deserialize(t),n=ka.deserialize(t),i=ka.deserialize(t),o=t.deserializeVector(e);return new WE(r,n,i,o)}static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return gc.load(e);case 1:return Ph.load(e);case 2:return Nu.load(e);case 3:return Y1.load(e);case 4:return Al.load(e);case 5:return Z6.load(e);case 6:return Zo.load(e);case 7:return fn.load(e);case 8:return J1.load(e);case 9:return X1.load(e);case 10:return Q1.load(e);case 255:return fa.load(e);default:throw new Error(`Unknown variant index for TypeTag: ${t}`)}}isBool(){return this instanceof gc}isAddress(){return this instanceof Al}isGeneric(){return this instanceof fa}isSigner(){return this instanceof Z6}isVector(){return this instanceof Zo}isStruct(){return this instanceof fn}isU8(){return this instanceof Ph}isU16(){return this instanceof J1}isU32(){return this instanceof X1}isU64(){return this instanceof Nu}isU128(){return this instanceof Y1}isU256(){return this instanceof Q1}isPrimitive(){return this instanceof Z6||this instanceof Al||this instanceof gc||this instanceof Ph||this instanceof J1||this instanceof X1||this instanceof Nu||this instanceof Y1||this instanceof Q1}},gc=class e extends la{toString(){return"bool"}serialize(e){e.serializeU32AsUleb128(0)}static load(t){return new e}},Ph=class e extends la{toString(){return"u8"}serialize(e){e.serializeU32AsUleb128(1)}static load(t){return new e}},J1=class e extends la{toString(){return"u16"}serialize(e){e.serializeU32AsUleb128(8)}static load(t){return new e}},X1=class e extends la{toString(){return"u32"}serialize(e){e.serializeU32AsUleb128(9)}static load(t){return new e}},Nu=class e extends la{toString(){return"u64"}serialize(e){e.serializeU32AsUleb128(2)}static load(t){return new e}},Y1=class e extends la{toString(){return"u128"}serialize(e){e.serializeU32AsUleb128(3)}static load(t){return new e}},Q1=class e extends la{toString(){return"u256"}serialize(e){e.serializeU32AsUleb128(10)}static load(t){return new e}},Al=class e extends la{toString(){return"address"}serialize(e){e.serializeU32AsUleb128(4)}static load(t){return new e}},Z6=class e extends la{toString(){return"signer"}serialize(e){e.serializeU32AsUleb128(5)}static load(t){return new e}},due=class e extends la{constructor(e){super(),this.value=e}toString(){return`&${this.value.toString()}`}serialize(e){e.serializeU32AsUleb128(254)}static load(t){let r=la.deserialize(t);return new e(r)}},fa=class e extends la{constructor(e){if(super(),this.value=e,e<0)throw new Error("Generic type parameter index cannot be negative")}toString(){return`T${this.value}`}serialize(e){e.serializeU32AsUleb128(255),e.serializeU32(this.value)}static load(t){let r=t.deserializeU32();return new e(r)}},Zo=class e extends la{constructor(e){super(),this.value=e}toString(){return`vector<${this.value.toString()}>`}static u8(){return new e(new Ph)}serialize(e){e.serializeU32AsUleb128(6),this.value.serialize(e)}static load(t){let r=la.deserialize(t);return new e(r)}},fn=class e extends la{constructor(e){super(),this.value=e}toString(){let e="";return this.value.typeArgs.length>0&&(e=`<${this.value.typeArgs.map((e=>e.toString())).join(", ")}>`),`${this.value.address.toString()}::${this.value.moduleName.identifier}::${this.value.name.identifier}${e}`}serialize(e){e.serializeU32AsUleb128(7),this.value.serialize(e)}static load(t){let r=WE.deserialize(t);return new e(r)}isTypeTag(e,t,r){return this.value.moduleName.identifier===t&&this.value.name.identifier===r&&this.value.address.equals(e)}isString(){return this.isTypeTag(st.ONE,"string","String")}isOption(){return this.isTypeTag(st.ONE,"option","Option")}isObject(){return this.isTypeTag(st.ONE,"object","Object")}},WE=class e extends gr{constructor(e,t,r,n){super(),this.address=e,this.moduleName=t,this.name=r,this.typeArgs=n}serialize(e){e.serialize(this.address),e.serialize(this.moduleName),e.serialize(this.name),e.serializeVector(this.typeArgs)}static deserialize(t){let r=st.deserialize(t),n=ka.deserialize(t),i=ka.deserialize(t),o=t.deserializeVector(la);return new e(r,n,i,o)}};function To(){return new WE(st.ONE,new ka("string"),new ka("String"),[])}function wf(e){return new WE(st.ONE,new ka("object"),new ka("Object"),[e])}function pVe(e){return!!e.match(/^[_a-zA-Z0-9]+$/)}function gVe(e){return!!e.match(/\s/)}function ZQt(e){return!!e.match(/^T[0-9]+$/)}function $Qt(e){return!!e.match(/^&.+$/)}function eZt(e){switch(e){case"signer":case"address":case"bool":case"u8":case"u16":case"u32":case"u64":case"u128":case"u256":return!0;default:return!1}}function tZt(e,t){let r=t;for(;r<e.length;r+=1){if(!gVe(e[r]))break}return r}var yVe=(e=>(e.InvalidTypeTag="unknown type",e.UnexpectedGenericType="unexpected generic type",e.UnexpectedTypeArgumentClose="unexpected '>'",e.UnexpectedWhitespaceCharacter="unexpected whitespace character",e.UnexpectedComma="unexpected ','",e.TypeArgumentCountMismatch="type argument count doesn't match expected amount",e.MissingTypeArgumentClose="no matching '>' for '<'",e.MissingTypeArgument="no type argument before ','",e.UnexpectedPrimitiveTypeArguments="primitive types not expected to have type arguments",e.UnexpectedVectorTypeArgumentCount="vector type expected to have exactly one type argument",e.UnexpectedStructFormat="unexpected struct format, must be of the form 0xaddress::module_name::struct_name",e.InvalidModuleNameCharacter="module name must only contain alphanumeric or '_' characters",e.InvalidStructNameCharacter="struct name must only contain alphanumeric or '_' characters",e.InvalidAddress="struct address must be valid",e))(yVe||{}),zc=class extends Error{constructor(e,t){super(`Failed to parse typeTag '${e}', ${t}`)}};function Ug(e,t){let r=t?.allowGenerics??!1,n=[],i=[],o=[],s=0,a="",c=1;for(;s<e.length;){let t=e[s];if("<"===t)n.push({savedExpectedTypes:c,savedStr:a,savedTypes:o}),a="",o=[],c=1;else if(">"===t){if(""!==a){let e=xP(a,i,r);o.push(e)}let t=n.pop();if(void 0===t)throw new zc(e,"unexpected '>'");if(c!==o.length)throw new zc(e,"type argument count doesn't match expected amount");let{savedStr:s,savedTypes:u,savedExpectedTypes:l}=t;i=o,o=u,a=s,c=l}else if(","===t){if(0===n.length)throw new zc(e,"unexpected ','");if(0===a.length)throw new zc(e,"no type argument before ','");let t=xP(a,i,r);i=[],o.push(t),a="",c+=1}else{if(gVe(t)){let t=!1;if(0!==a.length){let e=xP(a,i,r);i=[],o.push(e),a="",t=!0}s=tZt(e,s);let n=e[s];if(s<e.length&&t&&","!==n&&">"!==n)throw new zc(e,"unexpected whitespace character");continue}a+=t}s+=1}if(n.length>0)throw new zc(e,"no matching '>' for '<'");switch(o.length){case 0:return xP(a,i,r);case 1:if(""===a)return o[0];throw new zc(e,"unexpected ','");default:throw new zc(e,"unexpected whitespace character")}}function xP(e,t,r){let n=e.trim();if(eZt(n.toLowerCase())&&t.length>0)throw new zc(e,"primitive types not expected to have type arguments");switch(n.toLowerCase()){case"signer":return new Z6;case"bool":return new gc;case"address":return new Al;case"u8":return new Ph;case"u16":return new J1;case"u32":return new X1;case"u64":return new Nu;case"u128":return new Y1;case"u256":return new Q1;case"vector":if(1!==t.length)throw new zc(e,"vector type expected to have exactly one type argument");return new Zo(t[0]);default:if($Qt(n)){let e=n.substring(1);return new due(xP(e,t,r))}if(ZQt(n)){if(r)return new fa(Number(n.split("T")[1]));throw new zc(e,"unexpected generic type")}if(!n.match(/:/))throw new zc(e,"unknown type");let i,o=n.split("::");if(3!==o.length)throw new zc(e,"unexpected struct format, must be of the form 0xaddress::module_name::struct_name");try{i=st.fromString(o[0])}catch{throw new zc(e,"struct address must be valid")}if(!pVe(o[1]))throw new zc(e,"module name must only contain alphanumeric or '_' characters");if(!pVe(o[2]))throw new zc(e,"struct name must only contain alphanumeric or '_' characters");return new fn(new WE(i,new ka(o[1]),new ka(o[2]),t))}}m(),m();var $6=class e extends gr{constructor(e){super(),this.value=Sr.fromHexInput(e).toUint8Array()}serialize(e){e.serializeFixedBytes(this.value)}serializeForEntryFunction(e){e.serialize(this)}serializeForScriptFunction(e){e.serialize(this)}static deserialize(t,r){let n=t.deserializeFixedBytes(r);return new e(n)}};m(),m();var Is=class e extends gr{constructor(e){super(),Gz(e),this.value=e}serialize(e){e.serializeBool(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(5),e.serialize(this)}deserialize(e){return new Z0(e.deserializeU256())}static deserialize(t){return new e(t.deserializeBool())}},El=class e extends gr{constructor(e){super(),Km(e,0,Hz),this.value=e}serialize(e){e.serializeU8(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(0),e.serialize(this)}static deserialize(t){return new e(t.deserializeU8())}},Lg=class e extends gr{constructor(e){super(),Km(e,0,qz),this.value=e}serialize(e){e.serializeU16(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(6),e.serialize(this)}static deserialize(t){return new e(t.deserializeU16())}},Fg=class e extends gr{constructor(e){super(),Km(e,0,zm),this.value=e}serialize(e){e.serializeU32(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(7),e.serialize(this)}static deserialize(t){return new e(t.deserializeU32())}},Du=class e extends gr{constructor(e){super(),Km(e,BigInt(0),LE),this.value=BigInt(e)}serialize(e){e.serializeU64(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(1),e.serialize(this)}static deserialize(t){return new e(t.deserializeU64())}},Wg=class e extends gr{constructor(e){super(),Km(e,BigInt(0),wP),this.value=BigInt(e)}serialize(e){e.serializeU128(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(2),e.serialize(this)}static deserialize(t){return new e(t.deserializeU128())}},Z0=class e extends gr{constructor(e){super(),Km(e,BigInt(0),jz),this.value=BigInt(e)}serialize(e){e.serializeU256(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(8),e.serialize(this)}static deserialize(t){return new e(t.deserializeU256())}};m();var _a=class{constructor(e){this.buffer=new ArrayBuffer(e.length),new Uint8Array(this.buffer).set(e,0),this.offset=0}read(e){if(this.offset+e>this.buffer.byteLength)throw new Error("Reached to the end of buffer");let t=this.buffer.slice(this.offset,this.offset+e);return this.offset+=e,t}remaining(){return this.buffer.byteLength-this.offset}deserializeStr(){let e=this.deserializeBytes();return(new TextDecoder).decode(e)}deserializeOption(e,t){if(this.deserializeBool()){if("string"===e)return this.deserializeStr();if("bytes"===e)return this.deserializeBytes();if("fixedBytes"===e){if(void 0===t)throw new Error("Fixed bytes length not provided");return this.deserializeFixedBytes(t)}return this.deserialize(e)}}deserializeBytes(){let e=this.deserializeUleb128AsU32();return new Uint8Array(this.read(e))}deserializeFixedBytes(e){return new Uint8Array(this.read(e))}deserializeBool(){let e=new Uint8Array(this.read(1))[0];if(1!==e&&0!==e)throw new Error("Invalid boolean value");return 1===e}deserializeU8(){return new DataView(this.read(1)).getUint8(0)}deserializeU16(){return new DataView(this.read(2)).getUint16(0,!0)}deserializeU32(){return new DataView(this.read(4)).getUint32(0,!0)}deserializeU64(){let e=this.deserializeU32(),t=this.deserializeU32();return BigInt(BigInt(t)<<BigInt(32)|BigInt(e))}deserializeU128(){let e=this.deserializeU64(),t=this.deserializeU64();return BigInt(t<<BigInt(64)|e)}deserializeU256(){let e=this.deserializeU128(),t=this.deserializeU128();return BigInt(t<<BigInt(128)|e)}deserializeUleb128AsU32(){let e=BigInt(0),t=0;for(;e<zm;){let r=this.deserializeU8();if(e|=BigInt(127&r)<<BigInt(t),!(128&r))break;t+=7}if(e>zm)throw new Error("Overflow while parsing uleb128-encoded uint32 value");return Number(e)}deserialize(e){return e.deserialize(this)}deserializeVector(e){let t=this.deserializeUleb128AsU32(),r=new Array;for(let n=0;n<t;n+=1)r.push(this.deserialize(e));return r}},Yn=class e extends gr{constructor(e){super(),this.values=e}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){void 0===this.values[0]||this.values[0]instanceof El?(e.serializeU32AsUleb128(4),e.serialize(this)):new Vz(this.bcsToBytes()).serializeForScriptFunction(e)}static U8(t){let r;if(Array.isArray(t)&&0===t.length)r=[];else if(Array.isArray(t)&&"number"==typeof t[0])r=t;else if("string"==typeof t){let e=Sr.fromHexInput(t);r=Array.from(e.toUint8Array())}else{if(!(t instanceof Uint8Array))throw new Error("Invalid input type, must be an number[], Uint8Array, or hex string");r=Array.from(t)}return new e(r.map((e=>new El(e))))}static U16(t){return new e(t.map((e=>new Lg(e))))}static U32(t){return new e(t.map((e=>new Fg(e))))}static U64(t){return new e(t.map((e=>new Du(e))))}static U128(t){return new e(t.map((e=>new Wg(e))))}static U256(t){return new e(t.map((e=>new Z0(e))))}static Bool(t){return new e(t.map((e=>new Is(e))))}static MoveString(t){return new e(t.map((e=>new go(e))))}serialize(e){e.serializeVector(this.values)}static deserialize(t,r){let n=t.deserializeUleb128AsU32(),i=new Array;for(let e=0;e<n;e+=1)i.push(r.deserialize(t));return new e(i)}},Vz=class e extends gr{constructor(e){super(),this.value=Sr.fromHexInput(e).toUint8Array()}serialize(e){e.serializeBytes(this.value)}serializeForEntryFunction(e){this.serialize(e)}serializeForScriptFunction(e){e.serializeU32AsUleb128(9),this.serialize(e)}static deserialize(t){return new e(t.deserializeBytes())}toMoveVector(e){let t=new _a(this.bcsToBytes());t.deserializeUleb128AsU32();let r=t.deserializeVector(e);return new Yn(r)}},go=class e extends gr{constructor(e){super(),this.value=e}serialize(e){e.serializeStr(this.value)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){let t=(new TextEncoder).encode(this.value);Yn.U8(t).serializeForScriptFunction(e)}static deserialize(t){return new e(t.deserializeStr())}},Tl=class e extends gr{constructor(e){super(),this.vec=new Yn(typeof e<"u"&&null!==e?[e]:[]),[this.value]=this.vec.values}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}unwrap(){if(this.isSome())return this.vec.values[0];throw new Error("Called unwrap on a MoveOption with no value")}isSome(){return 1===this.vec.values.length}serialize(e){this.vec.serialize(e)}static U8(t){return new e(null!=t?new El(t):void 0)}static U16(t){return new e(null!=t?new Lg(t):void 0)}static U32(t){return new e(null!=t?new Fg(t):void 0)}static U64(t){return new e(null!=t?new Du(t):void 0)}static U128(t){return new e(null!=t?new Wg(t):void 0)}static U256(t){return new e(null!=t?new Z0(t):void 0)}static Bool(t){return new e(null!=t?new Is(t):void 0)}static MoveString(t){return new e(null!=t?new go(t):void 0)}static deserialize(t,r){let n=Yn.deserialize(t,r);return new e(n.values[0])}};function hue(e){return"boolean"==typeof e}function Hm(e){return"string"==typeof e}function IVe(e){return"number"==typeof e}function AP(e){return IVe(e)?e:Hm(e)&&""!==e?Number.parseInt(e,10):void 0}function EP(e){return"number"==typeof e||"bigint"==typeof e||"string"==typeof e}function pue(e){return null==e}function gue(e){return Jz(e)||Yz(e)||Qz(e)||Zz(e)||$z(e)||eK(e)||tK(e)||TP(e)||Xz(e)||OVe(e)||e instanceof Yn||e instanceof Tl}function Jz(e){return e instanceof Is}function TP(e){return e instanceof st}function Xz(e){return e instanceof go}function OVe(e){return e instanceof $6}function Yz(e){return e instanceof El}function Qz(e){return e instanceof Lg}function Zz(e){return e instanceof Fg}function $z(e){return e instanceof Du}function eK(e){return e instanceof Wg}function tK(e){return e instanceof Z0}function yue(e){return"bytecode"in e}function $o(e,t){throw new Error(`Type mismatch for argument ${t}, expected '${e}'`)}function mue(e){let t=e.params.findIndex((e=>"signer"!==e&&"&signer"!==e));return t<0?e.params.length:t}function e4(e){let t=e.split("::");if(3!==t.length)throw new Error(`Invalid function ${e}`);return{moduleAddress:t[0],moduleName:t[1],functionName:t[2]}}m(),m(),m(),m();var rZt="\n    fragment TokenActivitiesFields on token_activities_v2 {\n  after_value\n  before_value\n  entry_function_id_str\n  event_account_address\n  event_index\n  from_address\n  is_fungible_v2\n  property_version_v1\n  to_address\n  token_amount\n  token_data_id\n  token_standard\n  transaction_timestamp\n  transaction_version\n  type\n}\n    ",nZt="\n    fragment AnsTokenFragment on current_aptos_names {\n  domain\n  expiration_timestamp\n  registered_address\n  subdomain\n  token_standard\n  is_primary\n  owner_address\n  subdomain_expiration_policy\n  domain_expiration_timestamp\n}\n    ",rK="\n    fragment CurrentTokenOwnershipFields on current_token_ownerships_v2 {\n  token_standard\n  token_properties_mutated_v1\n  token_data_id\n  table_type_v1\n  storage_id\n  property_version_v1\n  owner_address\n  last_transaction_version\n  last_transaction_timestamp\n  is_soulbound_v2\n  is_fungible_v2\n  amount\n  current_token_data {\n    collection_id\n    description\n    is_fungible_v2\n    largest_property_version_v1\n    last_transaction_timestamp\n    last_transaction_version\n    maximum\n    supply\n    token_data_id\n    token_name\n    token_properties\n    token_standard\n    token_uri\n    decimals\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      max_supply\n      mutable_description\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n  }\n}\n    ",PVe="\n    query getAccountCoinsCount($address: String) {\n  current_fungible_asset_balances_aggregate(\n    where: {owner_address: {_eq: $address}}\n  ) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",BVe="\n    query getAccountCoinsData($where_condition: current_fungible_asset_balances_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_fungible_asset_balances_order_by!]) {\n  current_fungible_asset_balances(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    amount\n    asset_type\n    is_frozen\n    is_primary\n    last_transaction_timestamp\n    last_transaction_version\n    owner_address\n    storage_id\n    token_standard\n    metadata {\n      token_standard\n      symbol\n      supply_aggregator_table_key_v1\n      supply_aggregator_table_handle_v1\n      project_uri\n      name\n      last_transaction_version\n      last_transaction_timestamp\n      icon_uri\n      decimals\n      creator_address\n      asset_type\n    }\n  }\n}\n    ",MVe="\n    query getAccountCollectionsWithOwnedTokens($where_condition: current_collection_ownership_v2_view_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_collection_ownership_v2_view_order_by!]) {\n  current_collection_ownership_v2_view(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      mutable_description\n      max_supply\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n    collection_id\n    collection_name\n    collection_uri\n    creator_address\n    distinct_tokens\n    last_transaction_version\n    owner_address\n    single_token_uri\n  }\n}\n    ",kVe=`\n    query getAccountOwnedTokens($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${rK}`,k$r=`\n    query getAccountOwnedTokensByTokenData($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${rK}`,_Ve=`\n    query getAccountOwnedTokensFromCollection($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${rK}`,RVe="\n    query getAccountTokensCount($where_condition: current_token_ownerships_v2_bool_exp, $offset: Int, $limit: Int) {\n  current_token_ownerships_v2_aggregate(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n  ) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",NVe="\n    query getAccountTransactionsCount($address: String) {\n  account_transactions_aggregate(where: {account_address: {_eq: $address}}) {\n    aggregate {\n      count\n    }\n  }\n}\n    ",DVe="\n    query getChainTopUserTransactions($limit: Int) {\n  user_transactions(limit: $limit, order_by: {version: desc}) {\n    version\n  }\n}\n    ",UVe="\n    query getCollectionData($where_condition: current_collections_v2_bool_exp!) {\n  current_collections_v2(where: $where_condition) {\n    uri\n    total_minted_v2\n    token_standard\n    table_handle_v1\n    mutable_uri\n    mutable_description\n    max_supply\n    collection_id\n    collection_name\n    creator_address\n    current_supply\n    description\n    last_transaction_timestamp\n    last_transaction_version\n    cdn_asset_uris {\n      cdn_image_uri\n      asset_uri\n      animation_optimizer_retry_count\n      cdn_animation_uri\n      cdn_json_uri\n      image_optimizer_retry_count\n      json_parser_retry_count\n      raw_animation_uri\n      raw_image_uri\n    }\n  }\n}\n    ",LVe="\n    query getCurrentFungibleAssetBalances($where_condition: current_fungible_asset_balances_bool_exp, $offset: Int, $limit: Int) {\n  current_fungible_asset_balances(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n  ) {\n    amount\n    asset_type\n    is_frozen\n    is_primary\n    last_transaction_timestamp\n    last_transaction_version\n    owner_address\n    storage_id\n    token_standard\n  }\n}\n    ",FVe="\n    query getDelegatedStakingActivities($delegatorAddress: String, $poolAddress: String) {\n  delegated_staking_activities(\n    where: {delegator_address: {_eq: $delegatorAddress}, pool_address: {_eq: $poolAddress}}\n  ) {\n    amount\n    delegator_address\n    event_index\n    event_type\n    pool_address\n    transaction_version\n  }\n}\n    ",WVe="\n    query getEvents($where_condition: events_bool_exp, $offset: Int, $limit: Int, $order_by: [events_order_by!]) {\n  events(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    account_address\n    creation_number\n    data\n    event_index\n    sequence_number\n    transaction_block_height\n    transaction_version\n    type\n    indexed_type\n  }\n}\n    ",zVe="\n    query getFungibleAssetActivities($where_condition: fungible_asset_activities_bool_exp, $offset: Int, $limit: Int) {\n  fungible_asset_activities(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n  ) {\n    amount\n    asset_type\n    block_height\n    entry_function_id_str\n    event_index\n    gas_fee_payer_address\n    is_frozen\n    is_gas_fee\n    is_transaction_success\n    owner_address\n    storage_id\n    storage_refund_amount\n    token_standard\n    transaction_timestamp\n    transaction_version\n    type\n  }\n}\n    ",KVe="\n    query getFungibleAssetMetadata($where_condition: fungible_asset_metadata_bool_exp, $offset: Int, $limit: Int) {\n  fungible_asset_metadata(where: $where_condition, offset: $offset, limit: $limit) {\n    icon_uri\n    project_uri\n    supply_aggregator_table_handle_v1\n    supply_aggregator_table_key_v1\n    creator_address\n    asset_type\n    decimals\n    last_transaction_timestamp\n    last_transaction_version\n    name\n    symbol\n    token_standard\n    supply_v2\n    maximum_v2\n  }\n}\n    ",t4=`\n    query getNames($offset: Int, $limit: Int, $where_condition: current_aptos_names_bool_exp, $order_by: [current_aptos_names_order_by!]) {\n  current_aptos_names(\n    limit: $limit\n    where: $where_condition\n    order_by: $order_by\n    offset: $offset\n  ) {\n    ...AnsTokenFragment\n  }\n}\n    ${nZt}`,bue="\n    query getNumberOfDelegators($where_condition: num_active_delegator_per_pool_bool_exp, $order_by: [num_active_delegator_per_pool_order_by!]) {\n  num_active_delegator_per_pool(where: $where_condition, order_by: $order_by) {\n    num_active_delegator\n    pool_address\n  }\n}\n    ",nK="\n    query getObjectData($where_condition: current_objects_bool_exp, $offset: Int, $limit: Int, $order_by: [current_objects_order_by!]) {\n  current_objects(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    allow_ungated_transfer\n    state_key_hash\n    owner_address\n    object_address\n    last_transaction_version\n    last_guid_creation_num\n    is_deleted\n  }\n}\n    ",vue="\n    query getProcessorStatus($where_condition: processor_status_bool_exp) {\n  processor_status(where: $where_condition) {\n    last_success_version\n    processor\n    last_updated\n  }\n}\n    ",HVe="\n    query getTableItemsData($where_condition: table_items_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_items_order_by!]) {\n  table_items(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    decoded_key\n    decoded_value\n    key\n    table_handle\n    transaction_version\n    write_set_change_index\n  }\n}\n    ",qVe="\n    query getTableItemsMetadata($where_condition: table_metadatas_bool_exp!, $offset: Int, $limit: Int, $order_by: [table_metadatas_order_by!]) {\n  table_metadatas(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    handle\n    key_type\n    value_type\n  }\n}\n    ",jVe=`\n    query getTokenActivity($where_condition: token_activities_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [token_activities_v2_order_by!]) {\n  token_activities_v2(\n    where: $where_condition\n    order_by: $order_by\n    offset: $offset\n    limit: $limit\n  ) {\n    ...TokenActivitiesFields\n  }\n}\n    ${rZt}`,wue=`\n    query getCurrentTokenOwnership($where_condition: current_token_ownerships_v2_bool_exp!, $offset: Int, $limit: Int, $order_by: [current_token_ownerships_v2_order_by!]) {\n  current_token_ownerships_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    ...CurrentTokenOwnershipFields\n  }\n}\n    ${rK}`,GVe="\n    query getTokenData($where_condition: current_token_datas_v2_bool_exp, $offset: Int, $limit: Int, $order_by: [current_token_datas_v2_order_by!]) {\n  current_token_datas_v2(\n    where: $where_condition\n    offset: $offset\n    limit: $limit\n    order_by: $order_by\n  ) {\n    collection_id\n    description\n    is_fungible_v2\n    largest_property_version_v1\n    last_transaction_timestamp\n    last_transaction_version\n    maximum\n    supply\n    token_data_id\n    token_name\n    token_properties\n    token_standard\n    token_uri\n    decimals\n    current_collection {\n      collection_id\n      collection_name\n      creator_address\n      current_supply\n      description\n      last_transaction_timestamp\n      last_transaction_version\n      max_supply\n      mutable_description\n      mutable_uri\n      table_handle_v1\n      token_standard\n      total_minted_v2\n      uri\n    }\n  }\n}\n    ";m(),m(),m(),m(),m();var xue="function"==typeof P.Buffer,VVe="function"==typeof TextDecoder?new TextDecoder:void 0,N$r="function"==typeof TextEncoder?new TextEncoder:void 0,iZt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",oZt=Array.prototype.slice.call(iZt),iK=(e=>{let t={};return oZt.forEach(((e,r)=>t[e]=r)),t})(),sZt=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,zE=String.fromCharCode.bind(String),JVe="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),XVe=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),aZt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cZt=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return zE(55296+(t>>>10))+zE(56320+(1023&t));case 3:return zE((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return zE((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},uZt=e=>e.replace(aZt,cZt),lZt=e=>{if(e=e.replace(/\s+/g,""),!sZt.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r,n,i="";for(let o=0;o<e.length;)t=iK[e.charAt(o++)]<<18|iK[e.charAt(o++)]<<12|(r=iK[e.charAt(o++)])<<6|(n=iK[e.charAt(o++)]),i+=64===r?zE(t>>16&255):64===n?zE(t>>16&255,t>>8&255):zE(t>>16&255,t>>8&255,255&t);return i},YVe="function"==typeof atob?e=>atob(XVe(e)):xue?e=>P.Buffer.from(e,"base64").toString("binary"):lZt,fZt=xue?e=>JVe(P.Buffer.from(e,"base64")):e=>JVe(YVe(e).split("").map((e=>e.charCodeAt(0)))),dZt=xue?e=>P.Buffer.from(e,"base64").toString("utf8"):VVe?e=>VVe.decode(fZt(e)):e=>uZt(YVe(e)),hZt=e=>XVe(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),QVe=e=>dZt(hZt(e));async function qm(e){return new Promise((t=>{setTimeout(t,e)}))}function SP(e){return e instanceof Error?e.message:String(e)}var Z1=()=>Math.floor(Date.now()/1e3);function Aue(e){let t=new Date(1e3*e);return t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),Math.floor(t.getTime()/1e3)}function Eue(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"==".substring(0,(3-t.length%3)%3);return QVe(r)}var ZVe=e=>{let t="";for(let r=2;r<e.length;r+=2)t+=String.fromCharCode(parseInt(e.substring(r,r+2),16));return t},Tue=e=>{let{account_address:t,module_name:r,struct_name:n}=e;return`${t}::${ZVe(r)}::${ZVe(n)}`},Sue=e=>"object"==typeof e&&!Array.isArray(e)&&null!==e&&"account_address"in e&&"module_name"in e&&"struct_name"in e&&"string"==typeof e.account_address&&"string"==typeof e.module_name&&"string"==typeof e.struct_name,eJe=(e=>(e[e.API_ERROR=0]="API_ERROR",e[e.EXTERNAL_API_ERROR=1]="EXTERNAL_API_ERROR",e[e.SESSION_EXPIRED=2]="SESSION_EXPIRED",e[e.INVALID_STATE=3]="INVALID_STATE",e[e.UNKNOWN=4]="UNKNOWN",e))(eJe||{}),tJe=(e=>(e.REAUTHENTICATE="Re-authentiate to continue using your keyless account",e.REAUTHENTICATE_UNSURE="Try re-authentiating. If the error persists join the telegram group at https://t.me/+h5CN-W35yUFiYzkx for further support",e.UPDATE_REQUEST_PARAMS="Update the invalid request parameters and reauthenticate.",e.RATE_LIMIT_EXCEEDED="Cache the keyless account and reuse it to avoid making too many requests.  Keyless accounts are valid until either the EphemeralKeyPair expires, when the JWK is rotated, or when the proof verifying key is changed, whichever comes soonest.",e.SERVER_ERROR="Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx",e.CALL_PRECHECK="Call `await account.checkKeylessAccountValidity()` to wait for asyncronous changes and check for account validity before signing or serializing.",e.REINSTANTIATE="Try instantiating the account again.  Avoid manipulating the account object directly",e.JOIN_SUPPORT_GROUP="For support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx",e.UNKNOWN="Error unknown. For support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx",e))(tJe||{}),rJe=(e=>(e[e.EPHEMERAL_KEY_PAIR_EXPIRED=0]="EPHEMERAL_KEY_PAIR_EXPIRED",e[e.PROOF_NOT_FOUND=1]="PROOF_NOT_FOUND",e[e.ASYNC_PROOF_FETCH_FAILED=2]="ASYNC_PROOF_FETCH_FAILED",e[e.INVALID_PROOF_VERIFICATION_FAILED=3]="INVALID_PROOF_VERIFICATION_FAILED",e[e.INVALID_PROOF_VERIFICATION_KEY_NOT_FOUND=4]="INVALID_PROOF_VERIFICATION_KEY_NOT_FOUND",e[e.INVALID_JWT_SIG=5]="INVALID_JWT_SIG",e[e.INVALID_JWT_JWK_NOT_FOUND=6]="INVALID_JWT_JWK_NOT_FOUND",e[e.INVALID_JWT_ISS_NOT_RECOGNIZED=7]="INVALID_JWT_ISS_NOT_RECOGNIZED",e[e.INVALID_JWT_FEDERATED_ISS_NOT_SUPPORTED=8]="INVALID_JWT_FEDERATED_ISS_NOT_SUPPORTED",e[e.INVALID_TW_SIG_VERIFICATION_FAILED=9]="INVALID_TW_SIG_VERIFICATION_FAILED",e[e.INVALID_TW_SIG_PUBLIC_KEY_NOT_FOUND=10]="INVALID_TW_SIG_PUBLIC_KEY_NOT_FOUND",e[e.INVALID_EXPIRY_HORIZON=11]="INVALID_EXPIRY_HORIZON",e[e.JWT_PARSING_ERROR=12]="JWT_PARSING_ERROR",e[e.JWK_FETCH_FAILED=13]="JWK_FETCH_FAILED",e[e.JWK_FETCH_FAILED_FEDERATED=14]="JWK_FETCH_FAILED_FEDERATED",e[e.RATE_LIMIT_EXCEEDED=15]="RATE_LIMIT_EXCEEDED",e[e.PEPPER_SERVICE_INTERNAL_ERROR=16]="PEPPER_SERVICE_INTERNAL_ERROR",e[e.PEPPER_SERVICE_BAD_REQUEST=17]="PEPPER_SERVICE_BAD_REQUEST",e[e.PEPPER_SERVICE_OTHER=18]="PEPPER_SERVICE_OTHER",e[e.PROVER_SERVICE_INTERNAL_ERROR=19]="PROVER_SERVICE_INTERNAL_ERROR",e[e.PROVER_SERVICE_BAD_REQUEST=20]="PROVER_SERVICE_BAD_REQUEST",e[e.PROVER_SERVICE_OTHER=21]="PROVER_SERVICE_OTHER",e[e.FULL_NODE_CONFIG_LOOKUP_ERROR=22]="FULL_NODE_CONFIG_LOOKUP_ERROR",e[e.FULL_NODE_VERIFICATION_KEY_LOOKUP_ERROR=23]="FULL_NODE_VERIFICATION_KEY_LOOKUP_ERROR",e[e.FULL_NODE_JWKS_LOOKUP_ERROR=24]="FULL_NODE_JWKS_LOOKUP_ERROR",e[e.FULL_NODE_OTHER=25]="FULL_NODE_OTHER",e[e.UNKNOWN=26]="UNKNOWN",e))(rJe||{}),$Ve={0:["The ephemeral keypair has expired.",2,"Re-authentiate to continue using your keyless account"],1:["The required proof could not be found.",3,"Call `await account.checkKeylessAccountValidity()` to wait for asyncronous changes and check for account validity before signing or serializing."],2:["The required proof failed to fetch.",3,"Try re-authentiating. If the error persists join the telegram group at https://t.me/+h5CN-W35yUFiYzkx for further support"],3:["The provided proof is invalid.",3,"Try re-authentiating. If the error persists join the telegram group at https://t.me/+h5CN-W35yUFiYzkx for further support"],4:["The verification key used to authenticate was updated.",2,"Re-authentiate to continue using your keyless account"],5:["The JWK was found, but JWT failed verification",3,"Try re-authentiating. If the error persists join the telegram group at https://t.me/+h5CN-W35yUFiYzkx for further support"],6:["The JWK required to verify the JWT could not be found. The JWK may have been rotated out.",2,"Re-authentiate to continue using your keyless account"],7:["The JWT issuer is not recognized.",3,"Update the invalid request parameters and reauthenticate."],8:["The JWT issuer is not supported by the Federated Keyless ",0,"Try re-authentiating. If the error persists join the telegram group at https://t.me/+h5CN-W35yUFiYzkx for further support"],9:["The training wheels signature is invalid.",3,"Try re-authentiating. If the error persists join the telegram group at https://t.me/+h5CN-W35yUFiYzkx for further support"],10:["The public key used to verify the training wheels signature was not found.",2,"Re-authentiate to continue using your keyless account"],11:["The expiry horizon is invalid.",2,"Re-authentiate to continue using your keyless account"],13:["Failed to fetch JWKS.",1,"For support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],14:["Failed to fetch JWKS for Federated Keyless provider.",1,"For support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],15:["Rate limit exceeded. Too many requests in a short period.",0,"Cache the keyless account and reuse it to avoid making too many requests.  Keyless accounts are valid until either the EphemeralKeyPair expires, when the JWK is rotated, or when the proof verifying key is changed, whichever comes soonest."],16:["Internal error from Pepper service.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],17:["Bad request sent to Pepper service.",0,"Update the invalid request parameters and reauthenticate."],18:["Unknown error from Pepper service.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],19:["Internal error from Prover service.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],20:["Bad request sent to Prover service.",0,"Update the invalid request parameters and reauthenticate."],21:["Unknown error from Prover service.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],12:["Error when parsing JWT. This should never happen. Join https://t.me/+h5CN-W35yUFiYzkx for support",3,"Try instantiating the account again.  Avoid manipulating the account object directly"],22:["Error when looking up on-chain keyless configuration.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],23:["Error when looking up on-chain verification key.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],24:["Error when looking up on-chain JWKS.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],25:["Unknown error from full node.",0,"Try again later.  See aptosApiError error for more context. For additional support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"],26:["An unknown error has occurred.",4,"Error unknown. For support join the telegram group at https://t.me/+h5CN-W35yUFiYzkx"]},Os=class e extends Error{constructor(t){let{innerError:r,category:n,resolutionTip:i,type:o,message:s=$Ve[o][0],details:a}=t;super(s),this.name="KeylessError",this.innerError=r,this.category=n,this.resolutionTip=i,this.type=o,this.details=a,this.message=e.constructMessage(s,i,r,a)}static constructMessage(e,t,r,n){let i=`\nMessage: ${e}`;return n&&(i+=`\nDetails: ${n}`),r instanceof $0?i+=`\nAptosApiError: ${r.message}`:void 0!==r&&(i+=`\nError: ${SP(r)}`),i+=`\nKeylessErrorResolutionTip: ${t}`,i}static fromErrorType(t){let{error:r,type:n,details:i}=t,[o,s,a]=$Ve[n];return new e({message:o,details:i,innerError:r,category:s,resolutionTip:a,type:n})}},$0=class extends Error{constructor({apiType:e,aptosRequest:t,aptosResponse:r}){super(pZt({apiType:e,aptosRequest:t,aptosResponse:r})),this.name="AptosApiError",this.url=r.url,this.status=r.status,this.statusText=r.statusText,this.data=r.data,this.request=t}};function pZt({apiType:e,aptosRequest:t,aptosResponse:r}){let n=r.headers?.traceparent?.split("-")[1],i=n?`(trace_id:${n}) `:"",o=`Request to [${e}]: ${t.method} ${r.url??t.url} ${i}failed with`;return"Indexer"===e&&null!=r.data?.errors?.[0]?.message?`${o}: ${r.data.errors[0].message}`:null!=r.data?.message&&null!=r.data?.error_code?`${o}: ${JSON.stringify(r.data)}`:`${o} status: ${r.statusText}(code:${r.status}) and response body: ${gZt(r.data)}`}var Cue=400;function gZt(e){let t=JSON.stringify(e);return t.length<=Cue?t:`truncated(original_size:${t.length}): ${t.slice(0,Cue/2)}...${t.slice(-Cue/2)}`}m();var nJe="1.33.0";async function iJe(e,t){let{url:r,method:n,body:i,contentType:o,params:s,overrides:a,originMethod:c}=e,u={...a?.HEADERS,"x-aptos-client":`aptos-typescript-sdk/${nJe}`,"content-type":o??"application/json","x-aptos-typescript-sdk-origin-method":c};return a?.AUTH_TOKEN&&(u.Authorization=`Bearer ${a?.AUTH_TOKEN}`),a?.API_KEY&&(u.Authorization=`Bearer ${a?.API_KEY}`),t.provider({url:r,method:n,body:i,params:s,headers:u,overrides:a})}async function CP(e,t,r){let{url:n,path:i}=e,o=i?`${n}/${i}`:n,s=await iJe({...e,url:o},t.client),a={status:s.status,statusText:s.statusText??"No status text provided",data:s.data,headers:s.headers,config:s.config,request:s.request,url:o};if(401===a.status)throw new $0({apiType:r,aptosRequest:e,aptosResponse:a});if("Indexer"===r){let t=a.data;if(t.errors)throw new $0({apiType:r,aptosRequest:e,aptosResponse:a});a.data=t.data}else if(("Pepper"===r||"Prover"===r)&&a.status>=400)throw new $0({apiType:r,aptosRequest:e,aptosResponse:a});if(a.status>=200&&a.status<300)return a;throw new $0({apiType:r,aptosRequest:e,aptosResponse:a})}async function Oue(e){let{aptosConfig:t,overrides:r,params:n,contentType:i,acceptType:o,path:s,originMethod:a,type:c}=e;return CP({url:t.getRequestUrl(c),method:"GET",originMethod:a,path:s,contentType:i,acceptType:o,params:n,overrides:{...t.clientConfig,...r}},t,e.type)}async function Ra(e){let{aptosConfig:t}=e;return Oue({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function KE(e){let t,r=[],n=e.params;do{let i=await Oue({type:"Fullnode",aptosConfig:e.aptosConfig,originMethod:e.originMethod,path:e.path,params:n,overrides:e.overrides});t=i.headers["x-aptos-cursor"],delete i.headers,r.push(...i.data),n.start=t}while(null!=t);return r}async function r4(e){let{type:t,originMethod:r,path:n,body:i,acceptType:o,contentType:s,params:a,aptosConfig:c,overrides:u}=e;return CP({url:c.getRequestUrl(t),method:"POST",originMethod:r,path:n,body:i,contentType:s,acceptType:o,params:a,overrides:u},c,e.type)}async function jm(e){let{aptosConfig:t}=e;return r4({...e,type:"Fullnode",overrides:{...t.clientConfig,...t.fullnodeConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.fullnodeConfig?.HEADERS}}})}async function Pue(e){let{aptosConfig:t}=e;return r4({...e,type:"Indexer",overrides:{...t.clientConfig,...t.indexerConfig,...e.overrides,HEADERS:{...t.clientConfig?.HEADERS,...t.indexerConfig?.HEADERS}}})}async function Bue(e){let{aptosConfig:t}=e,r={...t,clientConfig:{...t.clientConfig}};return delete r?.clientConfig?.API_KEY,r4({...e,type:"Faucet",overrides:{...r.clientConfig,...r.faucetConfig,...e.overrides,HEADERS:{...r.clientConfig?.HEADERS,...r.faucetConfig?.HEADERS}}})}async function Mue(e){return r4({...e,type:"Pepper"})}async function kue(e){return r4({...e,type:"Prover"})}async function oK(e){let{aptosConfig:t}=e,{data:r}=await Ra({aptosConfig:t,originMethod:"getLedgerInfo",path:""});return r}async function oJe(e){let{aptosConfig:t,limit:r}=e;return(await Pn({aptosConfig:t,query:{query:DVe,variables:{limit:r}},originMethod:"getChainTopUserTransactions"})).user_transactions}async function Pn(e){let{aptosConfig:t,query:r,originMethod:n}=e,{data:i}=await Pue({aptosConfig:t,originMethod:n??"queryIndexer",path:"",body:r,overrides:{WITH_CREDENTIALS:!1}});return i}async function yZt(e){let{aptosConfig:t}=e;return(await Pn({aptosConfig:t,query:{query:vue},originMethod:"getProcessorStatuses"})).processor_status}async function sK(e){let t=await yZt({aptosConfig:e.aptosConfig});return BigInt(t[0].last_success_version)}async function aK(e){let{aptosConfig:t,processorType:r}=e;return(await Pn({aptosConfig:t,query:{query:vue,variables:{where_condition:{processor:{_eq:r}}}},originMethod:"getProcessorStatus"})).processor_status[0]}async function cK(e){let{aptosConfig:t,handle:r,data:n,options:i}=e;return(await jm({aptosConfig:t,originMethod:"getTableItem",path:`tables/${r}/item`,params:{ledger_version:i?.ledgerVersion},body:n})).data}async function sJe(e){let{aptosConfig:t,options:r}=e,n={query:HVe,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:n,originMethod:"getTableItemsData"})).table_items}async function aJe(e){let{aptosConfig:t,options:r}=e,n={query:qVe,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:n,originMethod:"getTableItemsMetadata"})).table_metadatas}m(),m(),m(),m(),m(),m(),m();var uK=class e extends gr{constructor(e,t){super(),this.address=e,this.name=t}static fromStr(t){let r=t.split("::");if(2!==r.length)throw new Error("Invalid module id.");return new e(st.fromString(r[0]),new ka(r[1]))}serialize(e){this.address.serialize(e),this.name.serialize(e)}static deserialize(t){let r=st.deserialize(t),n=ka.deserialize(t);return new e(r,n)}};m();var Rue=class e extends gr{constructor(e){super(),this.value=new $6(e)}serialize(e){e.serialize(this.value)}serializeForEntryFunction(e){e.serializeU32AsUleb128(this.value.value.length),e.serialize(this)}static deserialize(t,r){let n=$6.deserialize(t,r);return new e(n.value)}};function uJe(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return El.deserialize(e);case 1:return Du.deserialize(e);case 2:return Wg.deserialize(e);case 3:return st.deserialize(e);case 4:return Yn.deserialize(e,El);case 5:return Is.deserialize(e);case 6:return Lg.deserialize(e);case 7:return Fg.deserialize(e);case 8:return Z0.deserialize(e);case 9:return Vz.deserialize(e);default:throw new Error(`Unknown variant index for ScriptTransactionArgument: ${t}`)}}var n4=class extends gr{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return lK.load(e);case 2:return fK.load(e);case 3:return dK.load(e);default:throw new Error(`Unknown variant index for TransactionPayload: ${t}`)}}},lK=class e extends n4{constructor(e){super(),this.script=e}serialize(e){e.serializeU32AsUleb128(0),this.script.serialize(e)}static load(t){let r=hK.deserialize(t);return new e(r)}},fK=class e extends n4{constructor(e){super(),this.entryFunction=e}serialize(e){e.serializeU32AsUleb128(2),this.entryFunction.serialize(e)}static load(t){let r=i4.deserialize(t);return new e(r)}},dK=class e extends n4{constructor(e){super(),this.multiSig=e}serialize(e){e.serializeU32AsUleb128(3),this.multiSig.serialize(e)}static load(t){let r=pK.deserialize(t);return new e(r)}},i4=class e{constructor(e,t,r,n){this.module_name=e,this.function_name=t,this.type_args=r,this.args=n}static build(t,r,n,i){return new e(uK.fromStr(t),new ka(r),n,i)}serialize(e){this.module_name.serialize(e),this.function_name.serialize(e),e.serializeVector(this.type_args),e.serializeU32AsUleb128(this.args.length),this.args.forEach((t=>{t.serializeForEntryFunction(e)}))}static deserialize(t){let r=uK.deserialize(t),n=ka.deserialize(t),i=t.deserializeVector(la),o=t.deserializeUleb128AsU32(),s=new Array;for(let e=0;e<o;e+=1){let e=t.deserializeUleb128AsU32(),r=Rue.deserialize(t,e);s.push(r)}return new e(r,n,i,s)}},hK=class e{constructor(e,t,r){this.bytecode=e,this.type_args=t,this.args=r}serialize(e){e.serializeBytes(this.bytecode),e.serializeVector(this.type_args),e.serializeU32AsUleb128(this.args.length),this.args.forEach((t=>{t.serializeForScriptFunction(e)}))}static deserialize(t){let r=t.deserializeBytes(),n=t.deserializeVector(la),i=t.deserializeUleb128AsU32(),o=new Array;for(let e=0;e<i;e+=1){let e=uJe(t);o.push(e)}return new e(r,n,o)}},pK=class e{constructor(e,t){this.multisig_address=e,this.transaction_payload=t}serialize(e){this.multisig_address.serialize(e),void 0===this.transaction_payload?e.serializeBool(!1):(e.serializeBool(!0),this.transaction_payload.serialize(e))}static deserialize(t){let r,n=st.deserialize(t);return t.deserializeBool()&&(r=gK.deserialize(t)),new e(n,r)}},gK=class e extends gr{constructor(e){super(),this.transaction_payload=e}serialize(e){e.serializeU32AsUleb128(0),this.transaction_payload.serialize(e)}static deserialize(t){return t.deserializeUleb128AsU32(),new e(i4.deserialize(t))}};m();var IP=class e extends gr{constructor(e){super(),this.chainId=e}serialize(e){e.serializeU8(this.chainId)}static deserialize(t){let r=t.deserializeU8();return new e(r)}},ep=class e extends gr{constructor(e,t,r,n,i,o,s){super(),this.sender=e,this.sequence_number=t,this.payload=r,this.max_gas_amount=n,this.gas_unit_price=i,this.expiration_timestamp_secs=o,this.chain_id=s}serialize(e){this.sender.serialize(e),e.serializeU64(this.sequence_number),this.payload.serialize(e),e.serializeU64(this.max_gas_amount),e.serializeU64(this.gas_unit_price),e.serializeU64(this.expiration_timestamp_secs),this.chain_id.serialize(e)}static deserialize(t){let r=st.deserialize(t),n=t.deserializeU64(),i=n4.deserialize(t),o=t.deserializeU64(),s=t.deserializeU64(),a=t.deserializeU64(),c=IP.deserialize(t);return new e(r,n,i,o,s,a,c)}},Due=class extends gr{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return o4.load(e);case 1:return s4.load(e);default:throw new Error(`Unknown variant index for RawTransactionWithData: ${t}`)}}},o4=class e extends Due{constructor(e,t){super(),this.raw_txn=e,this.secondary_signer_addresses=t}serialize(e){e.serializeU32AsUleb128(0),this.raw_txn.serialize(e),e.serializeVector(this.secondary_signer_addresses)}static load(t){let r=ep.deserialize(t),n=t.deserializeVector(st);return new e(r,n)}},s4=class e extends Due{constructor(e,t,r){super(),this.raw_txn=e,this.secondary_signer_addresses=t,this.fee_payer_address=r}serialize(e){e.serializeU32AsUleb128(1),this.raw_txn.serialize(e),e.serializeVector(this.secondary_signer_addresses),this.fee_payer_address.serialize(e)}static load(t){let r=ep.deserialize(t),n=t.deserializeVector(st),i=st.deserialize(t);return new e(r,n,i)}};m();var wJe=(e=>(e.FULLNODE="Fullnode",e.INDEXER="Indexer",e.FAUCET="Faucet",e.PEPPER="Pepper",e.PROVER="Prover",e))(wJe||{}),$1="0x1::aptos_coin::AptosCoin",Uue="0x000000000000000000000000000000000000000000000000000000000000000a",Lue="APTOS::RawTransaction",yK="APTOS::RawTransactionWithData",xJe=(e=>(e.ACCOUNT_TRANSACTION_PROCESSOR="account_transactions_processor",e.DEFAULT="default_processor",e.EVENTS_PROCESSOR="events_processor",e.FUNGIBLE_ASSET_PROCESSOR="fungible_asset_processor",e.STAKE_PROCESSOR="stake_processor",e.TOKEN_V2_PROCESSOR="token_v2_processor",e.USER_TRANSACTION_PROCESSOR="user_transaction_processor",e.OBJECT_PROCESSOR="objects_processor",e))(xJe||{}),Fue=/^https:\/\/securetoken\.google\.com\/[a-zA-Z0-9-_]+$/;m(),m();var mK=BigInt(4294967295),Wue=BigInt(32);function AJe(e,t=!1){return t?{h:Number(e&mK),l:Number(e>>Wue&mK)}:{h:0|Number(e>>Wue&mK),l:0|Number(e&mK)}}function zue(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let i=0;i<e.length;i++){let{h:o,l:s}=AJe(e[i],t);[r[i],n[i]]=[o,s]}return[r,n]}var mZt=(e,t)=>BigInt(e>>>0)<<Wue|BigInt(t>>>0),bZt=(e,t,r)=>e>>>r,vZt=(e,t,r)=>e<<32-r|t>>>r,wZt=(e,t,r)=>e>>>r|t<<32-r,xZt=(e,t,r)=>e<<32-r|t>>>r,AZt=(e,t,r)=>e<<64-r|t>>>r-32,EZt=(e,t,r)=>e>>>r-32|t<<64-r,TZt=(e,t)=>t,SZt=(e,t)=>e,Kue=(e,t,r)=>e<<r|t>>>32-r,Hue=(e,t,r)=>t<<r|e>>>32-r,que=(e,t,r)=>t<<r-32|e>>>64-r,jue=(e,t,r)=>e<<r-32|t>>>64-r;function CZt(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:0|i}}var IZt=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),OZt=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,PZt=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),BZt=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0,MZt=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),kZt=(e,t,r,n,i,o)=>t+r+n+i+o+(e/2**32|0)|0,_Zt={fromBig:AJe,split:zue,toBig:mZt,shrSH:bZt,shrSL:vZt,rotrSH:wZt,rotrSL:xZt,rotrBH:AZt,rotrBL:EZt,rotr32H:TZt,rotr32L:SZt,rotlSH:Kue,rotlSL:Hue,rotlBH:que,rotlBL:jue,add:CZt,add3L:IZt,add3H:OZt,add4L:PZt,add4H:BZt,add5H:kZt,add5L:MZt},Dr=_Zt,SJe=[],CJe=[],IJe=[],RZt=BigInt(0),OP=BigInt(1),NZt=BigInt(2),DZt=BigInt(7),UZt=BigInt(256),LZt=BigInt(113);for(let e=0,t=OP,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],SJe.push(2*(5*n+r)),CJe.push((e+1)*(e+2)/2%64);let i=RZt;for(let e=0;e<7;e++)t=(t<<OP^(t>>DZt)*LZt)%UZt,t&NZt&&(i^=OP<<(OP<<BigInt(e))-OP);IJe.push(i)}var[FZt,WZt]=zue(IJe,!0),EJe=(e,t,r)=>r>32?que(e,t,r):Kue(e,t,r),TJe=(e,t,r)=>r>32?jue(e,t,r):Hue(e,t,r);function zZt(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],s=r[i+1],a=EJe(o,s,1)^r[n],c=TJe(o,s,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=c}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=CJe[r],o=EJe(t,i,n),s=TJe(t,i,n),a=SJe[r];t=e[a],i=e[a+1],e[a]=o,e[a+1]=s}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=FZt[n],e[1]^=WZt[n]}r.fill(0)}var bK=class e extends Rg{constructor(e,t,r,n=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,md(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=H1(this.state)}keccak(){X0||Dg(this.state32),zZt(this.state32,this.rounds),X0||Dg(this.state32),this.posOut=0,this.pos=0}update(e){Oh(this);let{blockLen:t,state:r}=this,n=(e=pc(e)).length;for(let i=0;i<n;){let o=Math.min(t-this.pos,n-i);for(let t=0;t<o;t++)r[this.pos++]^=e[i++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,128&t&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){Oh(this,!1),_u(e),this.finish();let t=this.state,{blockLen:r}=this;for(let n=0,i=e.length;n<i;){this.posOut>=r&&this.keccak();let o=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return md(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(Y6(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:i,rounds:o,enableXOF:s}=this;return t||(t=new e(r,n,i,s,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=s,t.destroyed=this.destroyed,t}},ew=(e,t,r)=>G1((()=>new bK(t,e,r))),Yen=ew(6,144,28),vd=ew(6,136,32),Qen=ew(6,104,48),Zen=ew(6,72,64),$en=ew(1,144,28),etn=ew(1,136,32),ttn=ew(1,104,48),rtn=ew(1,72,64),OJe=(e,t,r)=>XGe(((n={})=>new bK(t,e,void 0===n.dkLen?r:n.dkLen,!0))),ntn=OJe(31,168,16),itn=OJe(31,136,32);function vK(e){return e.feePayerAddress?new s4(e.rawTransaction,e.secondarySignerAddresses??[],e.feePayerAddress):e.secondarySignerAddresses?new o4(e.rawTransaction,e.secondarySignerAddresses):e.rawTransaction}function a4(e,t){let r=vd.create();if(!t.startsWith("APTOS::"))throw new Error(`Domain separator needs to start with 'APTOS::'.  Provided - ${t}`);r.update(t);let n=r.digest(),i=e,o=new Uint8Array(n.length+i.length);return o.set(n),o.set(i,n.length),o}function HE(e){let t=vK(e);return e.feePayerAddress||e.secondarySignerAddresses?a4(t.bcsToBytes(),yK):a4(t.bcsToBytes(),Lue)}m(),m(),m(),m();var PJe=class e{static formatPrivateKey(t,r){return`${e.AIP80_PREFIXES[r]}${Sr.fromHexInput(t).toString()}`}static parseHexInput(t,r,n){let i,o=e.AIP80_PREFIXES[r];if("string"==typeof t)if(n||t.startsWith(o)){if(!t.startsWith(o))throw n?new Error("Invalid HexString input while parsing private key. Must AIP-80 compliant string."):new Error("Invalid HexString input while parsing private key.");i=Sr.fromHexString(t.split("-")[2])}else i=Sr.fromHexInput(t),!1!==n&&console.warn("[Aptos SDK] It is recommended that private keys are AIP-80 compliant (https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md). You can fix the private key by formatting it with `PrivateKey.formatPrivateKey(privateKey: string, type: 'ed25519' | 'secp256k1'): string`.");else i=Sr.fromHexInput(t),!1!==n&&console.warn("[Aptos SDK] It is recommended that private keys are parsed as AIP-80 compliant strings instead of Uint8Array (https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md). You can fix the private key by formatting it with `PrivateKey.formatPrivateKey(privateKey: Uint8Array, type: 'ed25519' | 'secp256k1'): string`.");return i}};PJe.AIP80_PREFIXES={ed25519:"ed25519-priv-",secp256k1:"secp256k1-priv-"};var qE=PJe;m();var c4=class extends gr{toUint8Array(){return this.bcsToBytes()}toString(){let e=this.toUint8Array();return Sr.fromHexInput(e).toString()}},wd=class extends c4{};m();var Kc=class extends gr{toUint8Array(){return this.bcsToBytes()}toString(){let e=this.toUint8Array();return Sr.fromHexInput(e).toString()}};m();var u4=e=>"string"==typeof e?Sr.isValid(e).valid?e:(new TextEncoder).encode(e):e;m(),m();var wK=class extends Rg{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,zz(e);let r=pc(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let e=0;e<i.length;e++)i[e]^=54;this.iHash.update(i),this.oHash=e.create();for(let e=0;e<i.length;e++)i[e]^=106;this.oHash.update(i),i.fill(0)}update(e){return Oh(this),this.iHash.update(e),this}digestInto(e){Oh(this),_u(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:r,finished:n,destroyed:i,blockLen:o,outputLen:s}=this;return e.finished=n,e.destroyed=i,e.blockLen=o,e.outputLen=s,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}},Hg=(e,t,r)=>new wK(e,t).update(r).digest();function KZt(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),o=BigInt(4294967295),s=Number(r>>i&o),a=Number(r&o),c=n?4:0,u=n?0:4;e.setUint32(t+c,s,n),e.setUint32(t+u,a,n)}function BJe(e,t,r){return e&t^~e&r}function MJe(e,t,r){return e&t^e&r^t&r}Hg.create=(e,t)=>new wK(e,t),m(),m();var tw=class extends Rg{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=Ng(this.buffer)}update(e){Oh(this);let{view:t,buffer:r,blockLen:n}=this,i=(e=pc(e)).length;for(let o=0;o<i;){let s=Math.min(n-this.pos,i-o);if(s!==n)r.set(e.subarray(o,o+s),this.pos),this.pos+=s,o+=s,this.pos===n&&(this.process(t,0),this.pos=0);else{let t=Ng(e);for(;n<=i-o;o+=n)this.process(t,o)}}return this.length+=e.length,this.roundClean(),this}digestInto(e){Oh(this),Y6(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:n,isLE:i}=this,{pos:o}=this;t[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>n-o&&(this.process(r,0),o=0);for(let e=o;e<n;e++)t[e]=0;KZt(r,n-8,BigInt(8*this.length),i),this.process(r,0);let s=Ng(e),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let c=a/4,u=this.get();if(c>u.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e<c;e++)s.setUint32(4*e,u[e],i)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:o,pos:s}=this;return e.length=n,e.pos=s,e.finished=i,e.destroyed=o,n%t&&e.buffer.set(r),e}},[HZt,qZt]=Dr.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))),rw=new Uint32Array(80),nw=new Uint32Array(80),Vue=class extends tw{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:o,Dh:s,Dl:a,Eh:c,El:u,Fh:l,Fl:d,Gh:h,Gl:f,Hh:p,Hl:g}=this;return[e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g]}set(e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|d,this.Gh=0|h,this.Gl=0|f,this.Hh=0|p,this.Hl=0|g}process(e,t){for(let r=0;r<16;r++,t+=4)rw[r]=e.getUint32(t),nw[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|rw[e-15],r=0|nw[e-15],n=Dr.rotrSH(t,r,1)^Dr.rotrSH(t,r,8)^Dr.shrSH(t,r,7),i=Dr.rotrSL(t,r,1)^Dr.rotrSL(t,r,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.Fh,0|this.Fl,0|h,0|f)),({h:p,l:g}=Dr.add(0|this.Gh,0|this.Gl,0|p,0|g)),({h:y,l:m}=Dr.add(0|this.Hh,0|this.Hl,0|y,0|m)),this.set(r,n,i,o,s,a,c,u,l,d,h,f,p,g,y,m)}roundClean(){rw.fill(0),nw.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}},Gm=G1((()=>new Vue));function jZt(e,t,r,n){zz(e);let i=VGe({dkLen:32,asyncTick:10},n),{c:o,dkLen:s,asyncTick:a}=i;if(md(o),md(s),md(a),o<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let c=pc(t),u=pc(r),l=new Uint8Array(s),d=Hg.create(e,c),h=d._cloneInto().update(u);return{c:o,dkLen:s,asyncTick:a,DK:l,PRF:d,PRFSalt:h}}function GZt(e,t,r,n,i){return e.destroy(),t.destroy(),n&&n.destroy(),i.fill(0),r}function kJe(e,t,r,n){let i,{c:o,dkLen:s,DK:a,PRF:c,PRFSalt:u}=jZt(e,t,r,n),l=new Uint8Array(4),d=Ng(l),h=new Uint8Array(c.outputLen);for(let e=1,t=0;t<s;e++,t+=c.outputLen){let r=a.subarray(t,t+c.outputLen);d.setInt32(0,e,!1),(i=u._cloneInto(i)).update(l).digestInto(h),r.set(h.subarray(0,r.length));for(let e=1;e<o;e++){c._cloneInto(i).update(h).digestInto(h);for(let e=0;e<r.length;e++)r[e]^=h[e]}}return GZt(c,u,a,i,h)}m(),m(),m();var VZt=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),iw=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ow=new Uint32Array(64),Jue=class extends tw{constructor(){super(64,32,8,!1),this.A=0|iw[0],this.B=0|iw[1],this.C=0|iw[2],this.D=0|iw[3],this.E=0|iw[4],this.F=0|iw[5],this.G=0|iw[6],this.H=0|iw[7]}get(){let{A:e,B:t,C:r,D:n,E:i,F:o,G:s,H:a}=this;return[e,t,r,n,i,o,s,a]}set(e,t,r,n,i,o,s,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let r=0;r<16;r++,t+=4)ow[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=ow[e-15],r=ow[e-2],n=J0(t,7)^J0(t,18)^t>>>3,i=J0(r,17)^J0(r,19)^r>>>10;ow[e]=i+ow[e-7]+n+ow[e-16]|0}let{A:r,B:n,C:i,D:o,E:s,F:a,G:c,H:u}=this;for(let e=0;e<64;e++){let t=u+(J0(s,6)^J0(s,11)^J0(s,25))+BJe(s,a,c)+VZt[e]+ow[e]|0,l=(J0(r,2)^J0(r,13)^J0(r,22))+MJe(r,n,i)|0;u=c,c=a,a=s,s=o+t|0,o=i,i=n,n=r,r=t+l|0}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(r,n,i,o,s,a,c,u)}roundClean(){ow.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},es=G1((()=>new Jue));function Xue(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function RJe(e,t){return!!Array.isArray(t)&&(0===t.length||(e?t.every((e=>"string"==typeof e)):t.every((e=>Number.isSafeInteger(e)))))}function JZt(e){if("function"!=typeof e)throw new Error("function expected");return!0}function Yue(e,t){if("string"!=typeof t)throw new Error(`${e}: string expected`);return!0}function Zue(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function Que(e){if(!Array.isArray(e))throw new Error("array expected")}function NJe(e,t){if(!RJe(!0,t))throw new Error(`${e}: array of strings expected`)}function XZt(e,t){if(!RJe(!1,t))throw new Error(`${e}: array of numbers expected`)}function DJe(...e){let t=e=>e,r=(e,t)=>r=>e(t(r));return{encode:e.map((e=>e.encode)).reduceRight(r,t),decode:e.map((e=>e.decode)).reduce(r,t)}}function YZt(e){let t="string"==typeof e?e.split(""):e,r=t.length;NJe("alphabet",t);let n=new Map(t.map(((e,t)=>[e,t])));return{encode:n=>(Que(n),n.map((n=>{if(!Number.isSafeInteger(n)||n<0||n>=r)throw new Error(`alphabet.encode: digit index outside alphabet "${n}". Allowed: ${e}`);return t[n]}))),decode:t=>(Que(t),t.map((t=>{Yue("alphabet.decode",t);let r=n.get(t);if(void 0===r)throw new Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})))}}function QZt(e=""){return Yue("join",e),{encode:t=>(NJe("join.decode",t),t.join(e)),decode:t=>(Yue("join.decode",t),t.split(e))}}function _Je(e,t,r){if(t<2)throw new Error(`convertRadix: invalid from=${t}, base cannot be less than 2`);if(r<2)throw new Error(`convertRadix: invalid to=${r}, base cannot be less than 2`);if(Que(e),!e.length)return[];let n=0,i=[],o=Array.from(e,(e=>{if(Zue(e),e<0||e>=t)throw new Error(`invalid integer: ${e}`);return e})),s=o.length;for(;;){let e=0,a=!0;for(let i=n;i<s;i++){let s=o[i],c=t*e,u=c+s;if(!Number.isSafeInteger(u)||c/t!==e||u-s!==c)throw new Error("convertRadix: carry overflow");let l=u/r;e=u%r;let d=Math.floor(l);if(o[i]=d,!Number.isSafeInteger(d)||d*r+e!==u)throw new Error("convertRadix: carry overflow");a&&(d?a=!1:n=i)}if(i.push(e),a)break}for(let t=0;t<e.length-1&&0===e[t];t++)i.push(0);return i.reverse()}function ZZt(e){Zue(e);return{encode:t=>{if(!Xue(t))throw new Error("radix.encode input should be Uint8Array");return _Je(Array.from(t),256,e)},decode:t=>(XZt("radix.decode",t),Uint8Array.from(_Je(t,e,256)))}}function $Zt(e,t){return Zue(e),JZt(t),{encode(r){if(!Xue(r))throw new Error("checksum.encode: input should be Uint8Array");let n=t(r).slice(0,e),i=new Uint8Array(r.length+e);return i.set(r),i.set(n,r.length),i},decode(r){if(!Xue(r))throw new Error("checksum.decode: input should be Uint8Array");let n=r.slice(0,-e),i=r.slice(-e),o=t(n).slice(0,e);for(let t=0;t<e;t++)if(o[t]!==i[t])throw new Error("Invalid checksum");return n}}}m();var e$t=e=>DJe(ZZt(58),YZt(e),QZt("")),t$t=e$t("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),UJe=e=>DJe($Zt(4,(t=>e(e(t)))),t$t);function LJe(e){if("string"!=typeof e)throw new TypeError("invalid mnemonic type: "+typeof e);return e.normalize("NFKD")}function r$t(e){let t=LJe(e),r=t.split(" ");if(![12,15,18,21,24].includes(r.length))throw new Error("Invalid mnemonic");return{nfkd:t,words:r}}var n$t=e=>LJe("mnemonic"+e);function FJe(e,t=""){return kJe(Gm,r$t(e).nfkd,n$t(t),{c:2048,dkLen:64})}var WJe=/^m\/44'\/637'\/[0-9]+'\/[0-9]+'\/[0-9]+'?$/,zJe=/^m\/44'\/637'\/[0-9]+'\/[0-9]+\/[0-9]+$/,KJe=(e=>(e.ED25519="ed25519 seed",e))(KJe||{}),$ue=2147483648;function ele(e){return zJe.test(e)}function tle(e){return WJe.test(e)}var xK=(e,t)=>{let r=Hg.create(Gm,e).update(t).digest();return{key:r.slice(0,32),chainCode:r.slice(32)}},rle=({key:e,chainCode:t},r)=>{let n=new ArrayBuffer(4);new DataView(n).setUint32(0,r);let i=new Uint8Array(n),o=new Uint8Array([0]),s=new Uint8Array([...o,...e,...i]);return xK(t,s)},o$t=e=>e.replace(/'/g,""),nle=e=>e.split("/").slice(1).map(o$t),PP=e=>FJe(e.trim().split(/\s+/).map((e=>e.toLowerCase())).join(" "));m();var HJe=class e extends gr{constructor(t){super();let{data:r}=t,n=Sr.fromHexInput(r);if(n.toUint8Array().length!==e.LENGTH)throw new Error(`Authentication Key length should be ${e.LENGTH}`);this.data=n}serialize(e){e.serializeFixedBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeFixedBytes(e.LENGTH);return new e({data:r})}toUint8Array(){return this.data.toUint8Array()}static fromSchemeAndBytes(t){let{scheme:r,input:n}=t,i=Sr.fromHexInput(n).toUint8Array(),o=new Uint8Array([...i,r]),s=vd.create();s.update(o);let a=s.digest();return new e({data:a})}static fromPublicKeyAndScheme(e){let{publicKey:t}=e;return t.authKey()}static fromPublicKey(e){let{publicKey:t}=e;return t.authKey()}derivedAddress(){return new st(this.data.toUint8Array())}};HJe.LENGTH=32;var Hc=HJe;m(),m(),m();var TK={};Vr(TK,{aInRange:()=>xf,abool:()=>tp,abytes:()=>f4,bitGet:()=>f$t,bitLen:()=>ale,bitMask:()=>MP,bitSet:()=>d$t,bytesToHex:()=>Jm,bytesToNumberBE:()=>Xm,bytesToNumberLE:()=>aw,concatBytes:()=>Ym,createHmacDrbg:()=>cle,ensureBytes:()=>hs,equalBytes:()=>u$t,hexToBytes:()=>GE,hexToNumber:()=>sle,inRange:()=>BP,isBytes:()=>sw,memoized:()=>JE,notImplemented:()=>p$t,numberToBytesBE:()=>cw,numberToBytesLE:()=>VE,numberToHexUnpadded:()=>jE,numberToVarBytesBE:()=>c$t,utf8ToBytes:()=>l$t,validateObject:()=>qg}),m();var AK=BigInt(0),EK=BigInt(1),s$t=BigInt(2);function sw(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name}function f4(e){if(!sw(e))throw new Error("Uint8Array expected")}function tp(e,t){if("boolean"!=typeof t)throw new Error(e+" boolean expected, got "+t)}var a$t=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function Jm(e){f4(e);let t="";for(let r=0;r<e.length;r++)t+=a$t[e[r]];return t}function jE(e){let t=e.toString(16);return 1&t.length?"0"+t:t}function sle(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return""===e?AK:BigInt("0x"+e)}var Vm={_0:48,_9:57,A:65,F:70,a:97,f:102};function qJe(e){return e>=Vm._0&&e<=Vm._9?e-Vm._0:e>=Vm.A&&e<=Vm.F?e-(Vm.A-10):e>=Vm.a&&e<=Vm.f?e-(Vm.a-10):void 0}function GE(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=qJe(e.charCodeAt(i)),o=qJe(e.charCodeAt(i+1));if(void 0===r||void 0===o){let t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}n[t]=16*r+o}return n}function Xm(e){return sle(Jm(e))}function aw(e){return f4(e),sle(Jm(Uint8Array.from(e).reverse()))}function cw(e,t){return GE(e.toString(16).padStart(2*t,"0"))}function VE(e,t){return cw(e,t).reverse()}function c$t(e){return GE(jE(e))}function hs(e,t,r){let n;if("string"==typeof t)try{n=GE(t)}catch(t){throw new Error(e+" must be hex string or Uint8Array, cause: "+t)}else{if(!sw(t))throw new Error(e+" must be hex string or Uint8Array");n=Uint8Array.from(t)}let i=n.length;if("number"==typeof r&&i!==r)throw new Error(e+" of length "+r+" expected, got "+i);return n}function Ym(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];f4(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}function u$t(e,t){if(e.length!==t.length)return!1;let r=0;for(let n=0;n<e.length;n++)r|=e[n]^t[n];return 0===r}function l$t(e){if("string"!=typeof e)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(e))}var ile=e=>"bigint"==typeof e&&AK<=e;function BP(e,t,r){return ile(e)&&ile(t)&&ile(r)&&t<=e&&e<r}function xf(e,t,r,n){if(!BP(t,r,n))throw new Error("expected valid "+e+": "+r+" <= n < "+n+", got "+t)}function ale(e){let t;for(t=0;e>AK;e>>=EK,t+=1);return t}function f$t(e,t){return e>>BigInt(t)&EK}function d$t(e,t,r){return e|(r?EK:AK)<<BigInt(t)}var MP=e=>(s$t<<BigInt(e-1))-EK,ole=e=>new Uint8Array(e),jJe=e=>Uint8Array.from(e);function cle(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let n=ole(e),i=ole(e),o=0,s=()=>{n.fill(1),i.fill(0),o=0},a=(...e)=>r(i,n,...e),c=(e=ole())=>{i=a(jJe([0]),e),n=a(),0!==e.length&&(i=a(jJe([1]),e),n=a())},u=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let e=0,r=[];for(;e<t;){n=a();let t=n.slice();r.push(t),e+=n.length}return Ym(...r)};return(e,t)=>{let r;for(s(),c(e);!(r=t(u()));)c();return s(),r}}var h$t={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||sw(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function qg(e,t,r={}){let n=(t,r,n)=>{let i=h$t[r];if("function"!=typeof i)throw new Error("invalid validator function");let o=e[t];if(!(n&&void 0===o||i(o,e)))throw new Error("param "+String(t)+" is invalid. Expected "+r+", got "+o)};for(let[e,r]of Object.entries(t))n(e,r,!1);for(let[e,t]of Object.entries(r))n(e,t,!0);return e}var p$t=()=>{throw new Error("not implemented")};function JE(e){let t=new WeakMap;return(r,...n)=>{let i=t.get(r);if(void 0!==i)return i;let o=e(r,...n);return t.set(r,o),o}}var Na=BigInt(0),ts=BigInt(1),XE=BigInt(2),g$t=BigInt(3),ule=BigInt(4),GJe=BigInt(5),VJe=BigInt(8),y$t=BigInt(9),m$t=BigInt(16);function Qi(e,t){let r=e%t;return r>=Na?r:t+r}function b$t(e,t,r){if(t<Na)throw new Error("invalid exponent, negatives unsupported");if(r<=Na)throw new Error("invalid modulus");if(r===ts)return Na;let n=ts;for(;t>Na;)t&ts&&(n=n*e%r),e=e*e%r,t>>=ts;return n}function rs(e,t,r){let n=e;for(;t-- >Na;)n*=n,n%=r;return n}function SK(e,t){if(e===Na)throw new Error("invert: expected non-zero number");if(t<=Na)throw new Error("invert: expected positive modulus, got "+t);let r=Qi(e,t),n=t,i=Na,o=ts,s=ts,a=Na;for(;r!==Na;){let e=n/r,t=n%r,c=i-s*e,u=o-a*e;n=r,r=t,i=s,o=a,s=c,a=u}if(n!==ts)throw new Error("invert: does not exist");return Qi(i,t)}function v$t(e){let t,r,n,i=(e-ts)/XE;for(t=e-ts,r=0;t%XE===Na;t/=XE,r++);for(n=XE;n<e&&b$t(n,i,e)!==e-ts;n++)if(n>1e3)throw new Error("Cannot find square root: likely non-prime P");if(1===r){let t=(e+ts)/ule;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}let o=(t+ts)/XE;return function(e,s){if(e.pow(s,i)===e.neg(e.ONE))throw new Error("Cannot find square root");let a=r,c=e.pow(e.mul(e.ONE,n),t),u=e.pow(s,o),l=e.pow(s,t);for(;!e.eql(l,e.ONE);){if(e.eql(l,e.ZERO))return e.ZERO;let t=1;for(let r=e.sqr(l);t<a&&!e.eql(r,e.ONE);t++)r=e.sqr(r);let r=e.pow(c,ts<<BigInt(a-t-1));c=e.sqr(r),u=e.mul(u,r),l=e.mul(l,c),a=t}return u}}function w$t(e){if(e%ule===g$t){let t=(e+ts)/ule;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}if(e%VJe===GJe){let t=(e-GJe)/VJe;return function(e,r){let n=e.mul(r,XE),i=e.pow(n,t),o=e.mul(r,i),s=e.mul(e.mul(o,XE),i),a=e.mul(o,e.sub(s,e.ONE));if(!e.eql(e.sqr(a),r))throw new Error("Cannot find square root");return a}}return v$t(e)}var JJe=(e,t)=>(Qi(e,t)&ts)===ts,x$t=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function lle(e){return qg(e,x$t.reduce(((e,t)=>(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function A$t(e,t,r){if(r<Na)throw new Error("invalid exponent, negatives unsupported");if(r===Na)return e.ONE;if(r===ts)return t;let n=e.ONE,i=t;for(;r>Na;)r&ts&&(n=e.mul(n,i)),i=e.sqr(i),r>>=ts;return n}function E$t(e,t){let r=new Array(t.length),n=t.reduce(((t,n,i)=>e.is0(n)?t:(r[i]=t,e.mul(t,n))),e.ONE),i=e.inv(n);return t.reduceRight(((t,n,i)=>e.is0(n)?t:(r[i]=e.mul(t,r[i]),e.mul(t,n))),i),r}function fle(e,t){let r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function uw(e,t,r=!1,n={}){if(e<=Na)throw new Error("invalid field: expected ORDER > 0, got "+e);let{nBitLength:i,nByteLength:o}=fle(e,t);if(o>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let s,a=Object.freeze({ORDER:e,isLE:r,BITS:i,BYTES:o,MASK:MP(i),ZERO:Na,ONE:ts,create:t=>Qi(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("invalid field element: expected bigint, got "+typeof t);return Na<=t&&t<e},is0:e=>e===Na,isOdd:e=>(e&ts)===ts,neg:t=>Qi(-t,e),eql:(e,t)=>e===t,sqr:t=>Qi(t*t,e),add:(t,r)=>Qi(t+r,e),sub:(t,r)=>Qi(t-r,e),mul:(t,r)=>Qi(t*r,e),pow:(e,t)=>A$t(a,e,t),div:(t,r)=>Qi(t*SK(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>SK(t,e),sqrt:n.sqrt||(t=>(s||(s=w$t(e)),s(a,t))),invertBatch:e=>E$t(a,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>r?VE(e,o):cw(e,o),fromBytes:e=>{if(e.length!==o)throw new Error("Field.fromBytes: expected "+o+" bytes, got "+e.length);return r?aw(e):Xm(e)}});return Object.freeze(a)}function XJe(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");let t=e.toString(2).length;return Math.ceil(t/8)}function dle(e){let t=XJe(e);return t+Math.ceil(t/2)}function YJe(e,t,r=!1){let n=e.length,i=XJe(t),o=dle(t);if(n<16||n<o||n>1024)throw new Error("expected "+o+"-1024 bytes of input, got "+n);let s=Qi(r?aw(e):Xm(e),t-ts)+ts;return r?VE(s,i):cw(s,i)}var QJe=BigInt(0),CK=BigInt(1);function hle(e,t){let r=t.negate();return e?r:t}function ZJe(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function ple(e,t){return ZJe(e,t),{windows:Math.ceil(t/e)+1,windowSize:2**(e-1)}}function T$t(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach(((e,r)=>{if(!(e instanceof t))throw new Error("invalid point at index "+r)}))}function S$t(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach(((e,r)=>{if(!t.isValid(e))throw new Error("invalid scalar at index "+r)}))}var gle=new WeakMap,$Je=new WeakMap;function yle(e){return $Je.get(e)||1}function IK(e,t){return{constTimeNegate:hle,hasPrecomputes:e=>1!==yle(e),unsafeLadder(t,r,n=e.ZERO){let i=t;for(;r>QJe;)r&CK&&(n=n.add(i)),i=i.double(),r>>=CK;return n},precomputeWindow(e,r){let{windows:n,windowSize:i}=ple(r,t),o=[],s=e,a=s;for(let e=0;e<n;e++){a=s,o.push(a);for(let e=1;e<i;e++)a=a.add(s),o.push(a);s=a.double()}return o},wNAF(r,n,i){let{windows:o,windowSize:s}=ple(r,t),a=e.ZERO,c=e.BASE,u=BigInt(2**r-1),l=2**r,d=BigInt(r);for(let e=0;e<o;e++){let t=e*s,r=Number(i&u);i>>=d,r>s&&(r-=l,i+=CK);let o=t,h=t+Math.abs(r)-1,f=e%2!=0,p=r<0;0===r?c=c.add(hle(f,n[o])):a=a.add(hle(p,n[h]))}return{p:a,f:c}},wNAFUnsafe(r,n,i,o=e.ZERO){let{windows:s,windowSize:a}=ple(r,t),c=BigInt(2**r-1),u=2**r,l=BigInt(r);for(let e=0;e<s;e++){let t=e*a;if(i===QJe)break;let r=Number(i&c);if(i>>=l,r>a&&(r-=u,i+=CK),0===r)continue;let s=n[t+Math.abs(r)-1];r<0&&(s=s.negate()),o=o.add(s)}return o},getPrecomputes(e,t,r){let n=gle.get(t);return n||(n=this.precomputeWindow(t,e),1!==e&&gle.set(t,r(n))),n},wNAFCached(e,t,r){let n=yle(e);return this.wNAF(n,this.getPrecomputes(n,e,r),t)},wNAFCachedUnsafe(e,t,r,n){let i=yle(e);return 1===i?this.unsafeLadder(e,t,n):this.wNAFUnsafe(i,this.getPrecomputes(i,e,r),t,n)},setWindowSize(e,r){ZJe(r,t),$Je.set(e,r),gle.delete(e)}}}function OK(e,t,r,n){if(T$t(r,e),S$t(n,t),r.length!==n.length)throw new Error("arrays of points and scalars must have equal length");let i=e.ZERO,o=ale(BigInt(r.length)),s=o>12?o-3:o>4?o-2:o?2:1,a=(1<<s)-1,c=new Array(a+1).fill(i),u=i;for(let e=Math.floor((t.BITS-1)/s)*s;e>=0;e-=s){c.fill(i);for(let t=0;t<n.length;t++){let i=n[t],o=Number(i>>BigInt(e)&BigInt(a));c[o]=c[o].add(r[t])}let t=i;for(let e=c.length-1,r=i;e>0;e--)r=r.add(c[e]),t=t.add(r);if(u=u.add(t),0!==e)for(let e=0;e<s;e++)u=u.double()}return u}function kP(e){return lle(e.Fp),qg(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...fle(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}m();var rp=BigInt(0),Af=BigInt(1),PK=BigInt(2),C$t=BigInt(8),I$t={zip215:!0};function O$t(e){let t=kP(e);return qg(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})}function eXe(e){let t=O$t(e),{Fp:r,n:n,prehash:i,hash:o,randomBytes:s,nByteLength:a,h:c}=t,u=PK<<BigInt(8*a)-Af,l=r.create,d=uw(t.n,t.nBitLength),h=t.uvRatio||((e,t)=>{try{return{isValid:!0,value:r.sqrt(e*r.inv(t))}}catch{return{isValid:!1,value:rp}}}),f=t.adjustScalarBytes||(e=>e),p=t.domain||((e,t,r)=>{if(tp("phflag",r),t.length||r)throw new Error("Contexts/pre-hash are not supported");return e});function g(e,t){xf("coordinate "+e,t,rp,u)}function y(e){if(!(e instanceof w))throw new Error("ExtendedPoint expected")}let m=JE(((e,t)=>{let{ex:n,ey:i,ez:o}=e,s=e.is0();null==t&&(t=s?C$t:r.inv(o));let a=l(n*t),c=l(i*t),u=l(o*t);if(s)return{x:rp,y:Af};if(u!==Af)throw new Error("invZ was invalid");return{x:a,y:c}})),b=JE((e=>{let{a:r,d:n}=t;if(e.is0())throw new Error("bad point: ZERO");let{ex:i,ey:o,ez:s,et:a}=e,c=l(i*i),u=l(o*o),d=l(s*s),h=l(d*d),f=l(c*r);if(l(d*l(f+u))!==l(h+l(n*l(c*u))))throw new Error("bad point: equation left != right (1)");if(l(i*o)!==l(s*a))throw new Error("bad point: equation left != right (2)");return!0}));class w{constructor(e,t,r,n){this.ex=e,this.ey=t,this.ez=r,this.et=n,g("x",e),g("y",t),g("z",r),g("t",n),Object.freeze(this)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof w)throw new Error("extended point not allowed");let{x:t,y:r}=e||{};return g("x",t),g("y",r),new w(t,r,Af,l(t*r))}static normalizeZ(e){let t=r.invertBatch(e.map((e=>e.ez)));return e.map(((e,r)=>e.toAffine(t[r]))).map(w.fromAffine)}static msm(e,t){return OK(w,d,e,t)}_setWindowSize(e){E.setWindowSize(this,e)}assertValidity(){b(this)}equals(e){y(e);let{ex:t,ey:r,ez:n}=this,{ex:i,ey:o,ez:s}=e,a=l(t*s),c=l(i*n),u=l(r*s),d=l(o*n);return a===c&&u===d}is0(){return this.equals(w.ZERO)}negate(){return new w(l(-this.ex),this.ey,this.ez,l(-this.et))}double(){let{a:e}=t,{ex:r,ey:n,ez:i}=this,o=l(r*r),s=l(n*n),a=l(PK*l(i*i)),c=l(e*o),u=r+n,d=l(l(u*u)-o-s),h=c+s,f=h-a,p=c-s,g=l(d*f),y=l(h*p),m=l(d*p),b=l(f*h);return new w(g,y,b,m)}add(e){y(e);let{a:r,d:n}=t,{ex:i,ey:o,ez:s,et:a}=this,{ex:c,ey:u,ez:d,et:h}=e;if(r===BigInt(-1)){let e=l((o-i)*(u+c)),t=l((o+i)*(u-c)),r=l(t-e);if(r===rp)return this.double();let n=l(s*PK*h),f=l(a*PK*d),p=f+n,g=t+e,y=f-n,m=l(p*r),b=l(g*y),v=l(p*y),A=l(r*g);return new w(m,b,A,v)}let f=l(i*c),p=l(o*u),g=l(a*n*h),m=l(s*d),b=l((i+o)*(c+u)-f-p),v=m-g,A=m+g,E=l(p-r*f),T=l(b*v),C=l(A*E),S=l(b*E),I=l(v*A);return new w(T,C,I,S)}subtract(e){return this.add(e.negate())}wNAF(e){return E.wNAFCached(this,e,w.normalizeZ)}multiply(e){let t=e;xf("scalar",t,Af,n);let{p:r,f:i}=this.wNAF(t);return w.normalizeZ([r,i])[0]}multiplyUnsafe(e,t=w.ZERO){let r=e;return xf("scalar",r,rp,n),r===rp?A:this.is0()||r===Af?this:E.wNAFCachedUnsafe(this,r,w.normalizeZ,t)}isSmallOrder(){return this.multiplyUnsafe(c).is0()}isTorsionFree(){return E.unsafeLadder(this,n).is0()}toAffine(e){return m(this,e)}clearCofactor(){let{h:e}=t;return e===Af?this:this.multiplyUnsafe(e)}static fromHex(e,n=!1){let{d:i,a:o}=t,s=r.BYTES;e=hs("pointHex",e,s),tp("zip215",n);let a=e.slice(),c=e[s-1];a[s-1]=-129&c;let d=aw(a),f=n?u:r.ORDER;xf("pointHex.y",d,rp,f);let p=l(d*d),g=l(p-Af),y=l(i*p-o),{isValid:m,value:b}=h(g,y);if(!m)throw new Error("Point.fromHex: invalid y coordinate");let v=(b&Af)===Af,A=!!(128&c);if(!n&&b===rp&&A)throw new Error("Point.fromHex: x=0 and x_0=1");return A!==v&&(b=l(-b)),w.fromAffine({x:b,y:d})}static fromPrivateKey(e){return S(e).point}toRawBytes(){let{x:e,y:t}=this.toAffine(),n=VE(t,r.BYTES);return n[n.length-1]|=e&Af?128:0,n}toHex(){return Jm(this.toRawBytes())}}w.BASE=new w(t.Gx,t.Gy,Af,l(t.Gx*t.Gy)),w.ZERO=new w(rp,Af,Af,rp);let{BASE:v,ZERO:A}=w,E=IK(w,8*a);function T(e){return Qi(e,n)}function C(e){return T(aw(e))}function S(e){let t=r.BYTES;e=hs("private key",e,t);let n=hs("hashed private key",o(e),2*t),i=f(n.slice(0,t)),s=n.slice(t,2*t),a=C(i),c=v.multiply(a),u=c.toRawBytes();return{head:i,prefix:s,scalar:a,point:c,pointBytes:u}}function I(e=new Uint8Array,...t){let r=Ym(...t);return C(o(p(r,hs("context",e),!!i)))}let O=I$t;return v._setWindowSize(8),{CURVE:t,getPublicKey:function(e){return S(e).pointBytes},sign:function(e,t,o={}){e=hs("message",e),i&&(e=i(e));let{prefix:s,scalar:a,pointBytes:c}=S(t),u=I(o.context,s,e),l=v.multiply(u).toRawBytes(),d=T(u+I(o.context,l,c,e)*a);return xf("signature.s",d,rp,n),hs("result",Ym(l,VE(d,r.BYTES)),2*r.BYTES)},verify:function(e,t,n,o=O){let{context:s,zip215:a}=o,c=r.BYTES;e=hs("signature",e,2*c),t=hs("message",t),n=hs("publicKey",n,c),void 0!==a&&tp("zip215",a),i&&(t=i(t));let u,l,d,h=aw(e.slice(c,2*c));try{u=w.fromHex(n,a),l=w.fromHex(e.slice(0,c),a),d=v.multiplyUnsafe(h)}catch{return!1}if(!a&&u.isSmallOrder())return!1;let f=I(s,l.toRawBytes(),u.toRawBytes(),t);return l.add(u.multiplyUnsafe(f)).subtract(d).clearCofactor().equals(w.ZERO)},ExtendedPoint:w,utils:{getExtendedPublicKey:S,randomPrivateKey:()=>s(r.BYTES),precompute:(e=8,t=w.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}}var mle=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),tXe=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),_rn=BigInt(0),P$t=BigInt(1),rXe=BigInt(2),Rrn=BigInt(3),B$t=BigInt(5),M$t=BigInt(8);function k$t(e){let t=BigInt(10),r=BigInt(20),n=BigInt(40),i=BigInt(80),o=mle,s=e*e%o*e%o,a=rs(s,rXe,o)*s%o,c=rs(a,P$t,o)*e%o,u=rs(c,B$t,o)*c%o,l=rs(u,t,o)*u%o,d=rs(l,r,o)*l%o,h=rs(d,n,o)*d%o,f=rs(h,i,o)*h%o,p=rs(f,i,o)*h%o,g=rs(p,t,o)*u%o;return{pow_p_5_8:rs(g,rXe,o)*e%o,b2:s}}function _$t(e){return e[0]&=248,e[31]&=127,e[31]|=64,e}function R$t(e,t){let r=mle,n=Qi(t*t*t,r),i=Qi(n*n*t,r),o=Qi(e*n*k$t(e*i).pow_p_5_8,r),s=Qi(t*o*o,r),a=o,c=Qi(o*tXe,r),u=s===e,l=s===Qi(-e,r),d=s===Qi(-e*tXe,r);return u&&(o=a),(l||d)&&(o=c),JJe(o,r)&&(o=Qi(-o,r)),{isValid:u||l,value:o}}var N$t=uw(mle,void 0,!0),D$t={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:N$t,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:M$t,Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:Gm,randomBytes:Q6,adjustScalarBytes:_$t,uvRatio:R$t},_P=eXe(D$t),ble=[237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16];function nXe(e){let t=e.toUint8Array().slice(32);for(let e=ble.length-1;e>=0;e-=1){if(t[e]<ble[e])return!0;if(t[e]>ble[e])return!1}return!1}var iXe=class e extends wd{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`PublicKey length should be ${e.LENGTH}`);this.key=r}verifySignature(e){let{message:t,signature:r}=e;if(!nXe(r))return!1;let n=u4(t),i=Sr.fromHexInput(n).toUint8Array(),o=r.toUint8Array(),s=this.key.toUint8Array();return _P.verify(o,i,s)}authKey(){return Hc.fromSchemeAndBytes({scheme:0,input:this.toUint8Array()})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}static isPublicKey(t){return t instanceof e}static isInstance(t){return"key"in t&&t.key?.data?.length===e.LENGTH}};iXe.LENGTH=32;var Po=iXe,vle=class e extends gr{constructor(t,r){super();let n=qE.parseHexInput(t,"ed25519",r);if(n.toUint8Array().length!==e.LENGTH)throw new Error(`PrivateKey length should be ${e.LENGTH}`);this.signingKey=n}static generate(){let t=_P.utils.randomPrivateKey();return new e(t,!1)}static fromDerivationPath(t,r){if(!tle(t))throw new Error(`Invalid derivation path ${t}`);return e.fromDerivationPathInner(t,PP(r))}static fromDerivationPathInner(t,r,n=$ue){let{key:i,chainCode:o}=xK(e.SLIP_0010_SEED,r),s=nle(t).map((e=>parseInt(e,10))),{key:a}=s.reduce(((e,t)=>rle(e,t+n)),{key:i,chainCode:o});return new e(a,!1)}publicKey(){let e=_P.getPublicKey(this.signingKey.toUint8Array());return new Po(e)}sign(e){let t=u4(e),r=Sr.fromHexInput(t).toUint8Array(),n=_P.sign(r,this.signingKey.toUint8Array());return new ns(n)}toUint8Array(){return this.signingKey.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.signingKey.toString()}toAIP80String(){return qE.formatPrivateKey(this.signingKey.toString(),"ed25519")}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r,!1)}static isPrivateKey(t){return t instanceof e}};vle.LENGTH=32,vle.SLIP_0010_SEED="ed25519 seed";var Ef=vle,oXe=class e extends Kc{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`Signature length should be ${e.LENGTH}`);this.data=r}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}};oXe.LENGTH=64;var ns=oXe,MK=class e extends wd{constructor(t){super();let{publicKeys:r,threshold:n}=t;if(r.length>e.MAX_KEYS||r.length<e.MIN_KEYS)throw new Error(`Must have between ${e.MIN_KEYS} and ${e.MAX_KEYS} public keys, inclusive`);if(n<e.MIN_THRESHOLD||n>r.length)throw new Error(`Threshold must be between ${e.MIN_THRESHOLD} and ${r.length}, inclusive`);this.publicKeys=r,this.threshold=n}verifySignature(e){let{message:t,signature:r}=e;if(!(r instanceof p4))return!1;let n=[];for(let e=0;e<4;e+=1)for(let t=0;t<8;t+=1)if(r.bitmap[e]&1<<7-t){let r=8*e+t;n.push(r)}if(n.length!==r.signatures.length)throw new Error("Bitmap and signatures length mismatch");if(n.length<this.threshold)throw new Error("Not enough signatures");for(let e=0;e<n.length;e+=1)if(!this.publicKeys[n[e]].verifySignature({message:t,signature:r.signatures[e]}))return!1;return!0}authKey(){return Hc.fromSchemeAndBytes({scheme:1,input:this.toUint8Array()})}toUint8Array(){let e=new Uint8Array(this.publicKeys.length*Po.LENGTH+1);return this.publicKeys.forEach(((t,r)=>{e.set(t.toUint8Array(),r*Po.LENGTH)})),e[this.publicKeys.length*Po.LENGTH]=this.threshold,e}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes(),n=r[r.length-1],i=[];for(let e=0;e<r.length-1;e+=Po.LENGTH){let t=e;i.push(new Po(r.subarray(t,t+Po.LENGTH)))}return new e({publicKeys:i,threshold:n})}};MK.MAX_KEYS=32,MK.MIN_KEYS=2,MK.MIN_THRESHOLD=1;var h4=MK,wle=class e extends Kc{constructor(t){super();let{signatures:r,bitmap:n}=t;if(r.length>e.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${e.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=r,n instanceof Uint8Array){if(n.length!==e.BITMAP_LEN)throw new Error(`"bitmap" length should be ${e.BITMAP_LEN}`);this.bitmap=n}else this.bitmap=e.createBitmap({bits:n})}toUint8Array(){let t=new Uint8Array(this.signatures.length*ns.LENGTH+e.BITMAP_LEN);return this.signatures.forEach(((e,r)=>{t.set(e.toUint8Array(),r*ns.LENGTH)})),t.set(this.bitmap,this.signatures.length*ns.LENGTH),t}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes(),n=r.subarray(r.length-4),i=[];for(let e=0;e<r.length-n.length;e+=ns.LENGTH){let t=e;i.push(new ns(r.subarray(t,t+ns.LENGTH)))}return new e({signatures:i,bitmap:n})}static createBitmap(t){let{bits:r}=t,n=new Uint8Array([0,0,0,0]),i=new Set;return r.forEach(((t,o)=>{if(t>=e.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${e.MAX_SIGNATURES_SUPPORTED-1}.`);if(i.has(t))throw new Error("Duplicate bits detected.");if(o>0&&t<=r[o-1])throw new Error("The bits need to be sorted in ascending order.");i.add(t);let s=Math.floor(t/8),a=n[s];a|=128>>t%8,n[s]=a})),n}};wle.MAX_SIGNATURES_SUPPORTED=32,wle.BITMAP_LEN=4;var p4=wle;function sXe(e){void 0!==e.lowS&&tp("lowS",e.lowS),void 0!==e.prehash&&tp("prehash",e.prehash)}function U$t(e){let t=kP(e);qg(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:r,Fp:n,a:i}=t;if(r){if(!n.eql(i,n.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...t})}m(),m(),m(),m(),m(),m();var{bytesToNumberBE:L$t,hexToBytes:F$t}=TK,xle=class extends Error{constructor(e=""){super(e)}},Zm={Err:xle,_tlv:{encode:(e,t)=>{let{Err:r}=Zm;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(1&t.length)throw new r("tlv.encode: unpadded data");let n=t.length/2,i=jE(n);if(i.length/2&128)throw new r("tlv.encode: long form length too big");let o=n>127?jE(i.length/2|128):"";return jE(e)+o+i+t},decode(e,t){let{Err:r}=Zm,n=0;if(e<0||e>256)throw new r("tlv.encode: wrong tag");if(t.length<2||t[n++]!==e)throw new r("tlv.decode: wrong tlv");let i=t[n++],o=0;if(!!(128&i)){let e=127&i;if(!e)throw new r("tlv.decode(long): indefinite length not supported");if(e>4)throw new r("tlv.decode(long): byte length is too big");let s=t.subarray(n,n+e);if(s.length!==e)throw new r("tlv.decode: length bytes not complete");if(0===s[0])throw new r("tlv.decode(long): zero leftmost byte");for(let e of s)o=o<<8|e;if(n+=e,o<128)throw new r("tlv.decode(long): not minimal encoding")}else o=i;let s=t.subarray(n,n+o);if(s.length!==o)throw new r("tlv.decode: wrong value length");return{v:s,l:t.subarray(n+o)}}},_int:{encode(e){let{Err:t}=Zm;if(e<$m)throw new t("integer: negative integers are not allowed");let r=jE(e);if(8&Number.parseInt(r[0],16)&&(r="00"+r),1&r.length)throw new t("unexpected DER parsing assertion: unpadded hex");return r},decode(e){let{Err:t}=Zm;if(128&e[0])throw new t("invalid signature integer: negative");if(0===e[0]&&!(128&e[1]))throw new t("invalid signature integer: unnecessary leading zero");return L$t(e)}},toSig(e){let{Err:t,_int:r,_tlv:n}=Zm,i="string"==typeof e?F$t(e):e;f4(i);let{v:o,l:s}=n.decode(48,i);if(s.length)throw new t("invalid signature: left bytes after parsing");let{v:a,l:c}=n.decode(2,o),{v:u,l:l}=n.decode(2,c);if(l.length)throw new t("invalid signature: left bytes after parsing");return{r:r.decode(a),s:r.decode(u)}},hexFromSig(e){let{_tlv:t,_int:r}=Zm,n=t.encode(2,r.encode(e.r))+t.encode(2,r.encode(e.s));return t.encode(48,n)}},$m=BigInt(0),yc=BigInt(1),nnn=BigInt(2),aXe=BigInt(3),inn=BigInt(4);function W$t(e){let t=U$t(e),{Fp:r}=t,n=uw(t.n,t.nBitLength),i=t.toBytes||((e,t,n)=>{let i=t.toAffine();return Ym(Uint8Array.from([4]),r.toBytes(i.x),r.toBytes(i.y))}),o=t.fromBytes||(e=>{let t=e.subarray(1);return{x:r.fromBytes(t.subarray(0,r.BYTES)),y:r.fromBytes(t.subarray(r.BYTES,2*r.BYTES))}});function s(e){let{a:n,b:i}=t,o=r.sqr(e),s=r.mul(o,e);return r.add(r.add(s,r.mul(e,n)),i)}if(!r.eql(r.sqr(t.Gy),s(t.Gx)))throw new Error("bad generator point: equation left != right");function a(e){let r,{allowedPrivateKeyLengths:n,nByteLength:i,wrapPrivateKey:o,n:s}=t;if(n&&"bigint"!=typeof e){if(sw(e)&&(e=Jm(e)),"string"!=typeof e||!n.includes(e.length))throw new Error("invalid private key");e=e.padStart(2*i,"0")}try{r="bigint"==typeof e?e:Xm(hs("private key",e,i))}catch{throw new Error("invalid private key, expected hex or "+i+" bytes, got "+typeof e)}return o&&(r=Qi(r,s)),xf("private key",r,yc,s),r}function c(e){if(!(e instanceof d))throw new Error("ProjectivePoint expected")}let u=JE(((e,t)=>{let{px:n,py:i,pz:o}=e;if(r.eql(o,r.ONE))return{x:n,y:i};let s=e.is0();null==t&&(t=s?r.ONE:r.inv(o));let a=r.mul(n,t),c=r.mul(i,t),u=r.mul(o,t);if(s)return{x:r.ZERO,y:r.ZERO};if(!r.eql(u,r.ONE))throw new Error("invZ was invalid");return{x:a,y:c}})),l=JE((e=>{if(e.is0()){if(t.allowInfinityPoint&&!r.is0(e.py))return;throw new Error("bad point: ZERO")}let{x:n,y:i}=e.toAffine();if(!r.isValid(n)||!r.isValid(i))throw new Error("bad point: x or y not FE");let o=r.sqr(i),a=s(n);if(!r.eql(o,a))throw new Error("bad point: equation left != right");if(!e.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0}));class d{constructor(e,t,n){if(this.px=e,this.py=t,this.pz=n,null==e||!r.isValid(e))throw new Error("x required");if(null==t||!r.isValid(t))throw new Error("y required");if(null==n||!r.isValid(n))throw new Error("z required");Object.freeze(this)}static fromAffine(e){let{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw new Error("invalid affine point");if(e instanceof d)throw new Error("projective point not allowed");let i=e=>r.eql(e,r.ZERO);return i(t)&&i(n)?d.ZERO:new d(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(d.fromAffine)}static fromHex(e){let t=d.fromAffine(o(hs("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return d.BASE.multiply(a(e))}static msm(e,t){return OK(d,n,e,t)}_setWindowSize(e){f.setWindowSize(this,e)}assertValidity(){l(this)}hasEvenY(){let{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){c(e);let{px:t,py:n,pz:i}=this,{px:o,py:s,pz:a}=e,u=r.eql(r.mul(t,a),r.mul(o,i)),l=r.eql(r.mul(n,a),r.mul(s,i));return u&&l}negate(){return new d(this.px,r.neg(this.py),this.pz)}double(){let{a:e,b:n}=t,i=r.mul(n,aXe),{px:o,py:s,pz:a}=this,c=r.ZERO,u=r.ZERO,l=r.ZERO,h=r.mul(o,o),f=r.mul(s,s),p=r.mul(a,a),g=r.mul(o,s);return g=r.add(g,g),l=r.mul(o,a),l=r.add(l,l),c=r.mul(e,l),u=r.mul(i,p),u=r.add(c,u),c=r.sub(f,u),u=r.add(f,u),u=r.mul(c,u),c=r.mul(g,c),l=r.mul(i,l),p=r.mul(e,p),g=r.sub(h,p),g=r.mul(e,g),g=r.add(g,l),l=r.add(h,h),h=r.add(l,h),h=r.add(h,p),h=r.mul(h,g),u=r.add(u,h),p=r.mul(s,a),p=r.add(p,p),h=r.mul(p,g),c=r.sub(c,h),l=r.mul(p,f),l=r.add(l,l),l=r.add(l,l),new d(c,u,l)}add(e){c(e);let{px:n,py:i,pz:o}=this,{px:s,py:a,pz:u}=e,l=r.ZERO,h=r.ZERO,f=r.ZERO,p=t.a,g=r.mul(t.b,aXe),y=r.mul(n,s),m=r.mul(i,a),b=r.mul(o,u),w=r.add(n,i),v=r.add(s,a);w=r.mul(w,v),v=r.add(y,m),w=r.sub(w,v),v=r.add(n,o);let A=r.add(s,u);return v=r.mul(v,A),A=r.add(y,b),v=r.sub(v,A),A=r.add(i,o),l=r.add(a,u),A=r.mul(A,l),l=r.add(m,b),A=r.sub(A,l),f=r.mul(p,v),l=r.mul(g,b),f=r.add(l,f),l=r.sub(m,f),f=r.add(m,f),h=r.mul(l,f),m=r.add(y,y),m=r.add(m,y),b=r.mul(p,b),v=r.mul(g,v),m=r.add(m,b),b=r.sub(y,b),b=r.mul(p,b),v=r.add(v,b),y=r.mul(m,v),h=r.add(h,y),y=r.mul(A,v),l=r.mul(w,l),l=r.sub(l,y),y=r.mul(w,m),f=r.mul(A,f),f=r.add(f,y),new d(l,h,f)}subtract(e){return this.add(e.negate())}is0(){return this.equals(d.ZERO)}wNAF(e){return f.wNAFCached(this,e,d.normalizeZ)}multiplyUnsafe(e){let{endo:n,n:i}=t;xf("scalar",e,$m,i);let o=d.ZERO;if(e===$m)return o;if(this.is0()||e===yc)return this;if(!n||f.hasPrecomputes(this))return f.wNAFCachedUnsafe(this,e,d.normalizeZ);let{k1neg:s,k1:a,k2neg:c,k2:u}=n.splitScalar(e),l=o,h=o,p=this;for(;a>$m||u>$m;)a&yc&&(l=l.add(p)),u&yc&&(h=h.add(p)),p=p.double(),a>>=yc,u>>=yc;return s&&(l=l.negate()),c&&(h=h.negate()),h=new d(r.mul(h.px,n.beta),h.py,h.pz),l.add(h)}multiply(e){let n,i,{endo:o,n:s}=t;if(xf("scalar",e,yc,s),o){let{k1neg:t,k1:s,k2neg:a,k2:c}=o.splitScalar(e),{p:u,f:l}=this.wNAF(s),{p:h,f:p}=this.wNAF(c);u=f.constTimeNegate(t,u),h=f.constTimeNegate(a,h),h=new d(r.mul(h.px,o.beta),h.py,h.pz),n=u.add(h),i=l.add(p)}else{let{p:t,f:r}=this.wNAF(e);n=t,i=r}return d.normalizeZ([n,i])[0]}multiplyAndAddUnsafe(e,t,r){let n=d.BASE,i=(e,t)=>t!==$m&&t!==yc&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=i(this,t).add(i(e,r));return o.is0()?void 0:o}toAffine(e){return u(this,e)}isTorsionFree(){let{h:e,isTorsionFree:r}=t;if(e===yc)return!0;if(r)return r(d,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:r}=t;return e===yc?this:r?r(d,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return tp("isCompressed",e),this.assertValidity(),i(d,this,e)}toHex(e=!0){return tp("isCompressed",e),Jm(this.toRawBytes(e))}}d.BASE=new d(t.Gx,t.Gy,r.ONE),d.ZERO=new d(r.ZERO,r.ONE,r.ZERO);let h=t.nBitLength,f=IK(d,t.endo?Math.ceil(h/2):h);return{CURVE:t,ProjectivePoint:d,normPrivateKeyToScalar:a,weierstrassEquation:s,isWithinCurveOrder:function(e){return BP(e,yc,t.n)}}}function z$t(e){let t=kP(e);return qg(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function cXe(e){let t=z$t(e),{Fp:r,n:n}=t,i=r.BYTES+1,o=2*r.BYTES+1;function s(e){return Qi(e,n)}function a(e){return SK(e,n)}let{ProjectivePoint:c,normPrivateKeyToScalar:u,weierstrassEquation:l,isWithinCurveOrder:d}=W$t({...t,toBytes(e,t,n){let i=t.toAffine(),o=r.toBytes(i.x),s=Ym;return tp("isCompressed",n),n?s(Uint8Array.from([t.hasEvenY()?2:3]),o):s(Uint8Array.from([4]),o,r.toBytes(i.y))},fromBytes(e){let t=e.length,n=e[0],s=e.subarray(1);if(t!==i||2!==n&&3!==n){if(t===o&&4===n){return{x:r.fromBytes(s.subarray(0,r.BYTES)),y:r.fromBytes(s.subarray(r.BYTES,2*r.BYTES))}}throw new Error("invalid Point, expected length of "+i+", or uncompressed "+o+", got "+t)}{let e=Xm(s);if(!BP(e,yc,r.ORDER))throw new Error("Point is not on curve");let t,i=l(e);try{t=r.sqrt(i)}catch(e){let t=e instanceof Error?": "+e.message:"";throw new Error("Point is not on curve"+t)}return!(1&~n)!==((t&yc)===yc)&&(t=r.neg(t)),{x:e,y:t}}}}),h=e=>Jm(cw(e,t.nByteLength));function f(e){return e>n>>yc}let p=(e,t,r)=>Xm(e.slice(t,r));class g{constructor(e,t,r){this.r=e,this.s=t,this.recovery=r,this.assertValidity()}static fromCompact(e){let r=t.nByteLength;return e=hs("compactSignature",e,2*r),new g(p(e,0,r),p(e,r,2*r))}static fromDER(e){let{r:t,s:r}=Zm.toSig(hs("DER",e));return new g(t,r)}assertValidity(){xf("r",this.r,yc,n),xf("s",this.s,yc,n)}addRecoveryBit(e){return new g(this.r,this.s,e)}recoverPublicKey(e){let{r:n,s:i,recovery:o}=this,u=w(hs("msgHash",e));if(null==o||![0,1,2,3].includes(o))throw new Error("recovery id invalid");let l=2===o||3===o?n+t.n:n;if(l>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");let d=1&o?"03":"02",f=c.fromHex(d+h(l)),p=a(l),g=s(-u*p),y=s(i*p),m=c.BASE.multiplyAndAddUnsafe(f,g,y);if(!m)throw new Error("point at infinify");return m.assertValidity(),m}hasHighS(){return f(this.s)}normalizeS(){return this.hasHighS()?new g(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return GE(this.toDERHex())}toDERHex(){return Zm.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return GE(this.toCompactHex())}toCompactHex(){return h(this.r)+h(this.s)}}let y={isValidPrivateKey(e){try{return u(e),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let e=dle(t.n);return YJe(t.randomBytes(e),t.n)},precompute:(e=8,t=c.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)};function m(e){let t=sw(e),r="string"==typeof e,n=(t||r)&&e.length;return t?n===i||n===o:r?n===2*i||n===2*o:e instanceof c}let b=t.bits2int||function(e){if(e.length>8192)throw new Error("input is too large");let r=Xm(e),n=8*e.length-t.nBitLength;return n>0?r>>BigInt(n):r},w=t.bits2int_modN||function(e){return s(b(e))},v=MP(t.nBitLength);function A(e){return xf("num < 2^"+t.nBitLength,e,$m,v),cw(e,t.nByteLength)}function E(e,n,i=T){if(["recovered","canonical"].some((e=>e in i)))throw new Error("sign() legacy options not supported");let{hash:o,randomBytes:l}=t,{lowS:h,prehash:p,extraEntropy:y}=i;null==h&&(h=!0),e=hs("msgHash",e),sXe(i),p&&(e=hs("prehashed msgHash",o(e)));let m=w(e),v=u(n),E=[A(v),A(m)];if(null!=y&&!1!==y){let e=!0===y?l(r.BYTES):y;E.push(hs("extraEntropy",e))}let C=Ym(...E),S=m;return{seed:C,k2sig:function(e){let t=b(e);if(!d(t))return;let r=a(t),n=c.BASE.multiply(t).toAffine(),i=s(n.x);if(i===$m)return;let o=s(r*s(S+i*v));if(o===$m)return;let u=(n.x===i?0:2)|Number(n.y&yc),l=o;return h&&f(o)&&(l=function(e){return f(e)?s(-e):e}(o),u^=1),new g(i,l,u)}}}let T={lowS:t.lowS,prehash:!1},C={lowS:t.lowS,prehash:!1};return c.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return c.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,r=!0){if(m(e))throw new Error("first arg must be private key");if(!m(t))throw new Error("second arg must be public key");return c.fromHex(t).multiply(u(e)).toRawBytes(r)},sign:function(e,r,n=T){let{seed:i,k2sig:o}=E(e,r,n),s=t;return cle(s.hash.outputLen,s.nByteLength,s.hmac)(i,o)},verify:function(e,r,n,i=C){let o=e;r=hs("msgHash",r),n=hs("publicKey",n);let{lowS:u,prehash:l,format:d}=i;if(sXe(i),"strict"in i)throw new Error("options.strict was renamed to lowS");if(void 0!==d&&"compact"!==d&&"der"!==d)throw new Error("format must be compact or der");let h,f,p="string"==typeof o||sw(o),y=!p&&!d&&"object"==typeof o&&null!==o&&"bigint"==typeof o.r&&"bigint"==typeof o.s;if(!p&&!y)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");try{if(y&&(h=new g(o.r,o.s)),p){try{"compact"!==d&&(h=g.fromDER(o))}catch(e){if(!(e instanceof Zm.Err))throw e}!h&&"der"!==d&&(h=g.fromCompact(o))}f=c.fromHex(n)}catch{return!1}if(!h||u&&h.hasHighS())return!1;l&&(r=t.hash(r));let{r:m,s:b}=h,v=w(r),A=a(b),E=s(v*A),T=s(m*A),S=c.BASE.multiplyAndAddUnsafe(f,E,T)?.toAffine();return!!S&&s(S.x)===m},ProjectivePoint:c,Signature:g,utils:y}}function K$t(e){return{hash:e,hmac:(t,...r)=>Hg(e,t,j1(...r)),randomBytes:Q6}}function uXe(e,t){let r=t=>cXe({...e,...K$t(t)});return{...r(t),create:r}}var dXe=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),lXe=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),H$t=BigInt(1),Ale=BigInt(2),fXe=(e,t)=>(e+t/Ale)/t;function q$t(e){let t=dXe,r=BigInt(3),n=BigInt(6),i=BigInt(11),o=BigInt(22),s=BigInt(23),a=BigInt(44),c=BigInt(88),u=e*e*e%t,l=u*u*e%t,d=rs(l,r,t)*l%t,h=rs(d,r,t)*l%t,f=rs(h,Ale,t)*u%t,p=rs(f,i,t)*f%t,g=rs(p,o,t)*p%t,y=rs(g,a,t)*g%t,m=rs(y,c,t)*y%t,b=rs(m,a,t)*g%t,w=rs(b,r,t)*l%t,v=rs(w,s,t)*p%t,A=rs(v,n,t)*u%t,E=rs(A,Ale,t);if(!Ele.eql(Ele.sqr(E),e))throw new Error("Cannot find square root");return E}var Ele=uw(dXe,void 0,void 0,{sqrt:q$t}),Uu=uXe({a:BigInt(0),b:BigInt(7),Fp:Ele,n:lXe,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=lXe,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-H$t*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=r,s=BigInt("0x100000000000000000000000000000000"),a=fXe(o*e,t),c=fXe(-n*e,t),u=Qi(e-a*r-c*i,t),l=Qi(-a*n-c*o,t),d=u>s,h=l>s;if(d&&(u=t-u),h&&(l=t-l),u>s||l>s)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:u,k2neg:h,k2:l}}}},es),gnn=BigInt(0),ynn=Uu.ProjectivePoint;m(),m();var j$t=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),pXe=new Uint8Array(new Array(16).fill(0).map(((e,t)=>t))),G$t=pXe.map((e=>(9*e+5)%16)),Sle=[pXe],Cle=[G$t];for(let e=0;e<4;e++)for(let t of[Sle,Cle])t.push(t[e].map((e=>j$t[e])));var gXe=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>new Uint8Array(e))),V$t=Sle.map(((e,t)=>e.map((e=>gXe[t][e])))),J$t=Cle.map(((e,t)=>e.map((e=>gXe[t][e])))),X$t=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Y$t=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function hXe(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}var kK=new Uint32Array(16),Tle=class extends tw{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){let{h0:e,h1:t,h2:r,h3:n,h4:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)kK[r]=e.getUint32(t,!0);let r=0|this.h0,n=r,i=0|this.h1,o=i,s=0|this.h2,a=s,c=0|this.h3,u=c,l=0|this.h4,d=l;for(let e=0;e<5;e++){let t=4-e,h=X$t[e],f=Y$t[e],p=Sle[e],g=Cle[e],y=V$t[e],m=J$t[e];for(let t=0;t<16;t++){let n=vP(r+hXe(e,i,s,c)+kK[p[t]]+h,y[t])+l|0;r=l,l=c,c=0|vP(s,10),s=i,i=n}for(let e=0;e<16;e++){let r=vP(n+hXe(t,o,a,u)+kK[g[e]]+f,m[e])+d|0;n=d,d=u,u=0|vP(a,10),a=o,o=r}}this.set(this.h1+s+u|0,this.h2+c+d|0,this.h3+l+n|0,this.h4+r+o|0,this.h0+i+a|0)}roundClean(){kK.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}},_K=G1((()=>new Tle)),RK=Uu.ProjectivePoint,Ile=UJe(es);function yXe(e){_u(e);let t=0===e.length?"0":Q0(e);return BigInt("0x"+t)}function Q$t(e){if("bigint"!=typeof e)throw new Error("bigint expected");return q1(e.toString(16).padStart(64,"0"))}var Z$t=Kz("Bitcoin seed"),Ole={private:76066276,public:76067358},Ple=2147483648,$$t=e=>_K(es(e)),eer=e=>Ng(e).getUint32(0,!1),NK=e=>{if(!Number.isSafeInteger(e)||e<0||e>2**32-1)throw new Error("invalid number, should be from 0 to 2**32-1, got "+e);let t=new Uint8Array(4);return Ng(t).setUint32(0,e,!1),t},DK=class e{get fingerprint(){if(!this.pubHash)throw new Error("No publicKey set!");return eer(this.pubHash)}get identifier(){return this.pubHash}get pubKeyHash(){return this.pubHash}get privateKey(){return this.privKeyBytes||null}get publicKey(){return this.pubKey||null}get privateExtendedKey(){let e=this.privateKey;if(!e)throw new Error("No private key");return Ile.encode(this.serialize(this.versions.private,j1(new Uint8Array([0]),e)))}get publicExtendedKey(){if(!this.pubKey)throw new Error("No public key");return Ile.encode(this.serialize(this.versions.public,this.pubKey))}static fromMasterSeed(t,r=Ole){if(_u(t),8*t.length<128||8*t.length>512)throw new Error("HDKey: seed length must be between 128 and 512 bits; 256 bits is advised, got "+t.length);let n=Hg(Gm,Z$t,t);return new e({versions:r,chainCode:n.slice(32),privateKey:n.slice(0,32)})}static fromExtendedKey(t,r=Ole){let n=Ile.decode(t),i=Ng(n),o=i.getUint32(0,!1),s={versions:r,depth:n[4],parentFingerprint:i.getUint32(5,!1),index:i.getUint32(9,!1),chainCode:n.slice(13,45)},a=n.slice(45),c=0===a[0];if(o!==r[c?"private":"public"])throw new Error("Version mismatch");return new e(c?{...s,privateKey:a.slice(1)}:{...s,publicKey:a})}static fromJSON(t){return e.fromExtendedKey(t.xpriv)}constructor(e){if(this.depth=0,this.index=0,this.chainCode=null,this.parentFingerprint=0,!e||"object"!=typeof e)throw new Error("HDKey.constructor must not be called directly");if(this.versions=e.versions||Ole,this.depth=e.depth||0,this.chainCode=e.chainCode||null,this.index=e.index||0,this.parentFingerprint=e.parentFingerprint||0,!this.depth&&(this.parentFingerprint||this.index))throw new Error("HDKey: zero depth with non-zero index/parent fingerprint");if(e.publicKey&&e.privateKey)throw new Error("HDKey: publicKey and privateKey at same time.");if(e.privateKey){if(!Uu.utils.isValidPrivateKey(e.privateKey))throw new Error("Invalid private key");this.privKey="bigint"==typeof e.privateKey?e.privateKey:yXe(e.privateKey),this.privKeyBytes=Q$t(this.privKey),this.pubKey=Uu.getPublicKey(e.privateKey,!0)}else{if(!e.publicKey)throw new Error("HDKey: no public or private key provided");this.pubKey=RK.fromHex(e.publicKey).toRawBytes(!0)}this.pubHash=$$t(this.pubKey)}derive(e){if(!/^[mM]'?/.test(e))throw new Error('Path must start with "m" or "M"');if(/^[mM]'?$/.test(e))return this;let t=e.replace(/^[mM]'?\//,"").split("/"),r=this;for(let e of t){let t=/^(\d+)('?)$/.exec(e),n=t&&t[1];if(!t||3!==t.length||"string"!=typeof n)throw new Error("invalid child index: "+e);let i=+n;if(!Number.isSafeInteger(i)||i>=Ple)throw new Error("Invalid index");"'"===t[2]&&(i+=Ple),r=r.deriveChild(i)}return r}deriveChild(t){if(!this.pubKey||!this.chainCode)throw new Error("No publicKey or chainCode set");let r=NK(t);if(t>=Ple){let e=this.privateKey;if(!e)throw new Error("Could not derive hardened child key");r=j1(new Uint8Array([0]),e,r)}else r=j1(this.pubKey,r);let n=Hg(Gm,this.chainCode,r),i=yXe(n.slice(0,32)),o=n.slice(32);if(!Uu.utils.isValidPrivateKey(i))throw new Error("Tweak bigger than curve order");let s={versions:this.versions,chainCode:o,depth:this.depth+1,parentFingerprint:this.fingerprint,index:t};try{if(this.privateKey){let e=Qi(this.privKey+i,Uu.CURVE.n);if(!Uu.utils.isValidPrivateKey(e))throw new Error("The tweak was out of range or the resulted private key is invalid");s.privateKey=e}else{let e=RK.fromHex(this.pubKey).add(RK.fromPrivateKey(i));if(e.equals(RK.ZERO))throw new Error("The tweak was equal to negative P, which made the result key invalid");s.publicKey=e.toRawBytes(!0)}return new e(s)}catch{return this.deriveChild(t+1)}}sign(e){if(!this.privateKey)throw new Error("No privateKey set!");return _u(e,32),Uu.sign(e,this.privKey).toCompactRawBytes()}verify(e,t){if(_u(e,32),_u(t,64),!this.publicKey)throw new Error("No publicKey set!");let r;try{r=Uu.Signature.fromCompact(t)}catch{return!1}return Uu.verify(r,e,this.publicKey)}wipePrivateData(){return this.privKey=void 0,this.privKeyBytes&&(this.privKeyBytes.fill(0),this.privKeyBytes=void 0),this}toJSON(){return{xpriv:this.privateExtendedKey,xpub:this.publicExtendedKey}}serialize(e,t){if(!this.chainCode)throw new Error("No chainCode set");return _u(t,33),j1(NK(e),new Uint8Array([this.depth]),NK(this.parentFingerprint),NK(this.index),this.chainCode,t)}},mXe=class e extends c4{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`PublicKey length should be ${e.LENGTH}`);this.key=r}verifySignature(e){let{message:t,signature:r}=e,n=u4(t),i=Sr.fromHexInput(n).toUint8Array(),o=vd(i),s=r.toUint8Array();return Uu.verify(s,o,this.key.toUint8Array(),{lowS:!0})}toUint8Array(){return this.key.toUint8Array()}serialize(e){e.serializeBytes(this.key.toUint8Array())}deserialize(e){let t=e.deserializeBytes();return new m4(t)}static deserialize(t){let r=t.deserializeBytes();return new e(r)}static isPublicKey(t){return t instanceof e}static isInstance(t){return"key"in t&&t.key?.data?.length===e.LENGTH}};mXe.LENGTH=65;var dw=mXe,bXe=class e extends gr{constructor(t,r){super();let n=qE.parseHexInput(t,"secp256k1",r);if(n.toUint8Array().length!==e.LENGTH)throw new Error(`PrivateKey length should be ${e.LENGTH}`);this.key=n}static generate(){let t=Uu.utils.randomPrivateKey();return new e(t,!1)}static fromDerivationPath(t,r){if(!ele(t))throw new Error(`Invalid derivation path ${t}`);return e.fromDerivationPathInner(t,PP(r))}static fromDerivationPathInner(t,r){let{privateKey:n}=DK.fromMasterSeed(r).derive(t);if(null===n)throw new Error("Invalid key");return new e(n,!1)}sign(e){let t=u4(e),r=Sr.fromHexInput(t),n=vd(r.toUint8Array()),i=Uu.sign(n,this.key.toUint8Array(),{lowS:!0});return new m4(i.toCompactRawBytes())}publicKey(){let e=Uu.getPublicKey(this.key.toUint8Array(),!1);return new dw(e)}toUint8Array(){return this.key.toUint8Array()}toString(){return this.toHexString()}toHexString(){return this.key.toString()}toAIP80String(){return qE.formatPrivateKey(this.key.toString(),"secp256k1")}serialize(e){e.serializeBytes(this.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r,!1)}static isPrivateKey(t){return t instanceof e}};bXe.LENGTH=32;var y4=bXe,vXe=class e extends Kc{constructor(t){super();let r=Sr.fromHexInput(t);if(r.toUint8Array().length!==e.LENGTH)throw new Error(`Signature length should be ${e.LENGTH}, received ${r.toUint8Array().length}`);this.data=r}toUint8Array(){return this.data.toUint8Array()}serialize(e){e.serializeBytes(this.data.toUint8Array())}static deserialize(t){let r=t.deserializeBytes();return new e(r)}};vXe.LENGTH=64;var m4=vXe;m(),m(),m();var wXe=class extends gr{};m();var b4=class e extends c4{constructor(e){super();let t=e.constructor.name;if(t!==Po.name)throw new Error(`Unsupported key for EphemeralPublicKey - ${t}`);this.publicKey=e,this.variant=0}verifySignature(e){let{message:t,signature:r}=e;return this.publicKey.verifySignature({message:t,signature:r.signature})}serialize(e){if(!(this.publicKey instanceof Po))throw new Error("Unknown public key type");e.serializeU32AsUleb128(0),this.publicKey.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e(Po.deserialize(t));throw new Error(`Unknown variant index for EphemeralPublicKey: ${r}`)}static isPublicKey(t){return t instanceof e}},eb=class e extends Kc{constructor(e){super();let t=e.constructor.name;if(t!==ns.name)throw new Error(`Unsupported signature for EphemeralSignature - ${t}`);this.signature=e}static fromHex(t){let r=Sr.fromHexInput(t),n=new _a(r.toUint8Array());return e.deserialize(n)}serialize(e){if(!(this.signature instanceof ns))throw new Error("Unknown signature type");e.serializeU32AsUleb128(0),this.signature.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e(ns.deserialize(t));throw new Error(`Unknown variant index for EphemeralSignature: ${r}`)}};m();var _i=hi(jne(),1),kle=[_i.poseidon1,_i.poseidon2,_i.poseidon3,_i.poseidon4,_i.poseidon5,_i.poseidon6,_i.poseidon7,_i.poseidon8,_i.poseidon9,_i.poseidon10,_i.poseidon11,_i.poseidon12,_i.poseidon13,_i.poseidon14,_i.poseidon15,_i.poseidon16],AXe=31,ter=16,xXe=(ter-1)*AXe;function RP(e,t){return rer((new TextEncoder).encode(e),t)}function rer(e,t){if(e.length>t)throw new Error(`Inputted bytes of length ${e} is longer than ${t}`);return w4(LK(e,t))}function ner(e,t){if(e.length>t)throw new Error(`Input bytes of length ${e} is longer than ${t}`);return ier(ser(e,t))}function LK(e,t){if(e.length>t)throw new Error(`Input bytes of length ${e} is longer than ${t}`);return ner(e,t).concat([BigInt(e.length)])}function ier(e){if(e.length>xXe)throw new Error(`Can't pack more than ${xXe}.  Was given ${e.length} bytes`);return oer(e,AXe).map((e=>v4(e)))}function oer(e,t){let r=[];for(let n=0;n<e.length;n+=t)r.push(e.subarray(n,n+t));return r}function v4(e){let t=BigInt(0);for(let r=e.length-1;r>=0;r-=1)t=t<<BigInt(8)|BigInt(e[r]);return t}function _le(e,t){let r=BigInt(e),n=new Uint8Array(t);for(let e=0;e<t;e+=1)n[e]=Number(r&BigInt(255)),r>>=BigInt(8);return n}function ser(e,t){if(t<e.length)throw new Error("Padded size must be greater than or equal to the input array size.");let r=new Uint8Array(t);r.set(e);for(let n=e.length;n<t;n+=1)r[n]=0;return r}function w4(e){if(e.length>kle.length)throw new Error(`Unable to hash input of length ${e.length}.  Max input length is ${kle.length}`);return kle[e.length-1](e)}m();var Rle=new Map;function Gg(e,t,r){return async(...n)=>{if(Rle.has(t)){let{value:e,timestamp:n}=Rle.get(t);if(void 0===r||Date.now()-n<=r)return e}let i=await e(...n);return Rle.set(t,{value:i,timestamp:Date.now()}),i}}m();var YE=class extends Error{};function aer(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}function cer(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return aer(t)}catch{return atob(t)}}function QE(e,t){if("string"!=typeof e)throw new YE("Invalid token specified: must be a string");t||(t={});let r,n=!0===t.header?0:1,i=e.split(".")[n];if("string"!=typeof i)throw new YE(`Invalid token specified: missing part #${n+1}`);try{r=cer(i)}catch(e){throw new YE(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(r)}catch(e){throw new YE(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}YE.prototype.name="InvalidTokenError";var TXe=120,SXe=30,CXe=330,IXe=class e extends wd{constructor(t,r){super();let n=Sr.fromHexInput(r).toUint8Array();if(n.length!==e.ID_COMMITMENT_LENGTH)throw new Error(`Id Commitment length in bytes should be ${e.ID_COMMITMENT_LENGTH}`);this.iss=t,this.idCommitment=n}authKey(){let e=new Ru;return e.serializeU32AsUleb128(3),e.serializeFixedBytes(this.bcsToBytes()),Hc.fromSchemeAndBytes({scheme:2,input:e.toUint8Array()})}verifySignature(e){throw new Error("Not yet implemented")}serialize(e){e.serializeStr(this.iss),e.serializeBytes(this.idCommitment)}static deserialize(t){let r=t.deserializeStr(),n=t.deserializeBytes();return new e(r,n)}static load(t){let r=t.deserializeStr(),n=t.deserializeBytes();return new e(r,n)}static isPublicKey(t){return t instanceof e}static create(t){return EXe(t),new e(t.iss,EXe(t))}static fromJwtAndPepper(t){let{jwt:r,pepper:n,uidKey:i="sub"}=t,o=QE(r);if("string"!=typeof o.iss)throw new Error("iss was not found");if("string"!=typeof o.aud)throw new Error("aud was not found or an array of values");let s=o[i];return e.create({iss:o.iss,uidKey:i,uidVal:s,aud:o.aud,pepper:n})}static isInstance(e){return"iss"in e&&"string"==typeof e.iss&&"idCommitment"in e&&e.idCommitment instanceof Uint8Array}};IXe.ID_COMMITMENT_LENGTH=32;var Ys=IXe;function EXe(e){let{uidKey:t,uidVal:r,aud:n,pepper:i}=e;return _le(w4([v4(Sr.fromHexInput(i).toUint8Array()),RP(n,TXe),RP(r,CXe),RP(t,SXe)]),Ys.ID_COMMITMENT_LENGTH)}var pw=class e extends Kc{constructor(e){super();let{jwtHeader:t,ephemeralCertificate:r,expiryDateSecs:n,ephemeralPublicKey:i,ephemeralSignature:o}=e;this.jwtHeader=t,this.ephemeralCertificate=r,this.expiryDateSecs=n,this.ephemeralPublicKey=i,this.ephemeralSignature=o}getJwkKid(){return LXe(this.jwtHeader).kid}serialize(e){this.ephemeralCertificate.serialize(e),e.serializeStr(this.jwtHeader),e.serializeU64(this.expiryDateSecs),this.ephemeralPublicKey.serialize(e),this.ephemeralSignature.serialize(e)}static deserialize(t){let r=DP.deserialize(t),n=t.deserializeStr(),i=t.deserializeU64(),o=b4.deserialize(t),s=eb.deserialize(t);return new e({jwtHeader:n,expiryDateSecs:Number(i),ephemeralCertificate:r,ephemeralPublicKey:o,ephemeralSignature:s})}static getSimulationSignature(){return new e({jwtHeader:"{}",ephemeralCertificate:new DP(new gw({proof:new LP(new UP({a:new Uint8Array(32),b:new Uint8Array(64),c:new Uint8Array(32)}),0),expHorizonSecs:0}),0),expiryDateSecs:0,ephemeralPublicKey:new b4(new Po(new Uint8Array(32))),ephemeralSignature:new eb(new ns(new Uint8Array(64)))})}static isSignature(t){return t instanceof e}},DP=class e extends Kc{constructor(e,t){super(),this.signature=e,this.variant=t}toUint8Array(){return this.signature.toUint8Array()}serialize(e){e.serializeU32AsUleb128(this.variant),this.signature.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e(gw.deserialize(t),r);throw new Error(`Unknown variant index for EphemeralCertificate: ${r}`)}},ZE=class e extends gr{constructor(e){if(super(),this.data=Sr.fromHexInput(e).toUint8Array(),32!==this.data.length)throw new Error("Input needs to be 32 bytes")}serialize(e){e.serializeFixedBytes(this.data)}static deserialize(t){let r=t.deserializeFixedBytes(32);return new e(r)}},NP=class e extends gr{constructor(e){if(super(),this.data=Sr.fromHexInput(e).toUint8Array(),64!==this.data.length)throw new Error("Input needs to be 64 bytes")}serialize(e){e.serializeFixedBytes(this.data)}static deserialize(t){let r=t.deserializeFixedBytes(64);return new e(r)}},UP=class e extends wXe{constructor(e){super();let{a:t,b:r,c:n}=e;this.a=new ZE(t),this.b=new NP(r),this.c=new ZE(n)}serialize(e){this.a.serialize(e),this.b.serialize(e),this.c.serialize(e)}static deserialize(t){let r=ZE.deserialize(t).bcsToBytes(),n=NP.deserialize(t).bcsToBytes(),i=ZE.deserialize(t).bcsToBytes();return new e({a:r,b:n,c:i})}},LP=class e extends gr{constructor(e,t){super(),this.proof=e,this.variant=t}serialize(e){e.serializeU32AsUleb128(this.variant),this.proof.serialize(e)}static deserialize(t){let r=t.deserializeUleb128AsU32();if(0===r)return new e(UP.deserialize(t),r);throw new Error(`Unknown variant index for ZkProof: ${r}`)}},gw=class e extends Kc{constructor(e){super();let{proof:t,expHorizonSecs:r,trainingWheelsSignature:n,extraField:i,overrideAudVal:o}=e;this.proof=t,this.expHorizonSecs=r,this.trainingWheelsSignature=n,this.extraField=i,this.overrideAudVal=o}static fromBytes(t){return e.deserialize(new _a(t))}serialize(e){this.proof.serialize(e),e.serializeU64(this.expHorizonSecs),e.serializeOption(this.extraField),e.serializeOption(this.overrideAudVal),e.serializeOption(this.trainingWheelsSignature)}static deserialize(t){let r=LP.deserialize(t),n=Number(t.deserializeU64()),i=t.deserializeOption("string"),o=t.deserializeOption("string"),s=t.deserializeOption(eb);return new e({proof:r,expHorizonSecs:n,trainingWheelsSignature:s,extraField:i,overrideAudVal:o})}},_Xe=class e{constructor(e,t){this.verificationKey=e,this.maxExpHorizonSecs=t}static create(t,r){return new e(new NXe({alphaG1:t.alpha_g1,betaG2:t.beta_g2,deltaG2:t.delta_g2,gammaAbcG1:t.gamma_abc_g1,gammaG2:t.gamma_g2}),r)}},NXe=class e{constructor(e){let{alphaG1:t,betaG2:r,deltaG2:n,gammaAbcG1:i,gammaG2:o}=e;this.alphaG1=new ZE(t),this.betaG2=new NP(r),this.deltaG2=new NP(n),this.gammaAbcG1=[new ZE(i[0]),new ZE(i[1])],this.gammaG2=new NP(o)}hash(){let e=new Ru;return this.serialize(e),vd.create().update(e.toUint8Array()).digest()}serialize(e){this.alphaG1.serialize(e),this.betaG2.serialize(e),this.deltaG2.serialize(e),this.gammaAbcG1[0].serialize(e),this.gammaAbcG1[1].serialize(e),this.gammaG2.serialize(e)}static fromGroth16VerificationKeyResponse(t){return new e({alphaG1:t.alpha_g1,betaG2:t.beta_g2,deltaG2:t.delta_g2,gammaAbcG1:t.gamma_abc_g1,gammaG2:t.gamma_g2})}};async function x4(e){let{aptosConfig:t}=e;try{return await Gg((async()=>{let t=await uer(e),r=await ler(e);return _Xe.create(r,Number(t.max_exp_horizon_secs))}),`keyless-configuration-${t.network}`,3e5)()}catch(e){throw e instanceof Os?e:Os.fromErrorType({type:25,error:e})}}function $E(e){let t,{jwt:r,uidKey:n="sub"}=e;try{t=QE(r)}catch(e){throw Os.fromErrorType({type:12,details:`Failed to parse JWT - ${SP(e)}`})}if("string"!=typeof t.iss)throw Os.fromErrorType({type:12,details:"JWT is missing 'iss' in the payload. This should never happen."});if("string"!=typeof t.aud)throw Os.fromErrorType({type:12,details:"JWT is missing 'aud' in the payload or 'aud' is an array of values."});let i=t[n];return{iss:t.iss,aud:t.aud,uidVal:i}}async function uer(e){let{aptosConfig:t,options:r}=e;try{let{data:e}=await Ra({aptosConfig:t,originMethod:"getKeylessConfigurationResource",path:`accounts/${st.from("0x1").toString()}/resource/0x1::keyless_account::Configuration`,params:{ledger_version:r?.ledgerVersion}});return e.data}catch(e){throw Os.fromErrorType({type:22,error:e})}}async function ler(e){let{aptosConfig:t,options:r}=e;try{let{data:e}=await Ra({aptosConfig:t,originMethod:"getGroth16VerificationKeyResource",path:`accounts/${st.from("0x1").toString()}/resource/0x1::keyless_account::Groth16VerificationKey`,params:{ledger_version:r?.ledgerVersion}});return e.data}catch(e){throw Os.fromErrorType({type:23,error:e})}}async function Ule(e){let t,{aptosConfig:r,jwkAddr:n,options:i}=e;if(n){let e="0x1::jwks::FederatedJWKs",{data:o}=await Ra({aptosConfig:r,originMethod:"getKeylessJWKs",path:`accounts/${st.from(n).toString()}/resource/${e}`,params:{ledger_version:i?.ledgerVersion}});t=o}else{let e="0x1::jwks::PatchedJWKs",{data:n}=await Ra({aptosConfig:r,originMethod:"getKeylessJWKs",path:`accounts/0x1/resource/${e}`,params:{ledger_version:i?.ledgerVersion}});t=n}let o=new Map;for(let e of t.data.jwks.entries){let t=[];for(let r of e.jwks){let{data:e}=r.variant,n=new _a(Sr.fromHexInput(e).toUint8Array()),i=UXe.deserialize(n);t.push(i)}o.set(lue(e.issuer),t)}return o}var UXe=class e extends gr{constructor(e){super();let{kid:t,kty:r,alg:n,e:i,n:o}=e;this.kid=t,this.kty=r,this.alg=n,this.e=i,this.n=o}serialize(e){e.serializeStr(this.kid),e.serializeStr(this.kty),e.serializeStr(this.alg),e.serializeStr(this.e),e.serializeStr(this.n)}static fromMoveStruct(t){let{data:r}=t.variant,n=new _a(Sr.fromHexInput(r).toUint8Array());return e.deserialize(n)}static deserialize(t){let r=t.deserializeStr(),n=t.deserializeStr(),i=t.deserializeStr(),o=t.deserializeStr(),s=t.deserializeStr();return new e({kid:r,kty:n,alg:i,n:o,e:s})}};function LXe(e){try{let t=JSON.parse(e);if(void 0===t.kid)throw new Error("JWT header missing kid");return t}catch{throw new Error("Failed to parse JWT header.")}}var Tf=class e extends wd{constructor(e,t){super(),this.jwkAddress=st.from(e),this.keylessPublicKey=t}authKey(){let e=new Ru;return e.serializeU32AsUleb128(4),e.serializeFixedBytes(this.bcsToBytes()),Hc.fromSchemeAndBytes({scheme:2,input:e.toUint8Array()})}verifySignature(e){throw new Error("Not yet implemented")}serialize(e){this.jwkAddress.serialize(e),this.keylessPublicKey.serialize(e)}static deserialize(t){let r=st.deserialize(t),n=Ys.deserialize(t);return new e(r,n)}static isPublicKey(t){return t instanceof e}static create(t){return new e(t.jwkAddress,Ys.create(t))}static fromJwtAndPepper(t){return new e(t.jwkAddress,Ys.fromJwtAndPepper(t))}static isInstance(e){return"jwkAddress"in e&&e.jwkAddress instanceof st&&"keylessPublicKey"in e&&e.keylessPublicKey instanceof Ys}},da=class e extends wd{constructor(e){if(super(),this.publicKey=e,e instanceof Po)this.variant=0;else if(e instanceof dw)this.variant=1;else if(e instanceof Ys)this.variant=3;else{if(!(e instanceof Tf))throw new Error("Unsupported public key type");this.variant=4}}verifySignature(e){let{message:t,signature:r}=e;return!!qc.isInstance(r)&&this.publicKey.verifySignature({message:t,signature:r.signature})}authKey(){return Hc.fromSchemeAndBytes({scheme:2,input:this.toUint8Array()})}toUint8Array(){return this.bcsToBytes()}serialize(e){e.serializeU32AsUleb128(this.variant),this.publicKey.serialize(e)}static deserialize(t){let r,n=t.deserializeUleb128AsU32();switch(n){case 0:r=Po.deserialize(t);break;case 1:r=dw.deserialize(t);break;case 3:r=Ys.deserialize(t);break;case 4:r=Tf.deserialize(t);break;default:throw new Error(`Unknown variant index for AnyPublicKey: ${n}`)}return new e(r)}static isPublicKey(t){return t instanceof e}isEd25519(){return this.publicKey instanceof Po}isSecp256k1PublicKey(){return this.publicKey instanceof dw}static isInstance(e){return"publicKey"in e&&"variant"in e}},qc=class e extends Kc{constructor(e){if(super(),this.signature=e,e instanceof ns)this.variant=0;else if(e instanceof m4)this.variant=1;else{if(!(e instanceof pw))throw new Error("Unsupported signature type");this.variant=3}}toUint8Array(){return console.warn("[Aptos SDK] Calls to AnySignature.toUint8Array() will soon return the underlying signature bytes. Use AnySignature.bcsToBytes() instead."),this.bcsToBytes()}serialize(e){e.serializeU32AsUleb128(this.variant),this.signature.serialize(e)}static deserialize(t){let r,n=t.deserializeUleb128AsU32();switch(n){case 0:r=ns.deserialize(t);break;case 1:r=m4.deserialize(t);break;case 3:r=pw.deserialize(t);break;default:throw new Error(`Unknown variant index for AnySignature: ${n}`)}return new e(r)}static isInstance(e){return"signature"in e&&"object"==typeof e.signature&&null!==e.signature&&"toUint8Array"in e.signature}};function fer(e){let t=e;return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),16843009*(t+(t>>4)&252645135)>>24}var e2=class e extends wd{constructor(e){super();let{publicKeys:t,signaturesRequired:r}=e;if(r<1)throw new Error("The number of required signatures needs to be greater than 0");if(t.length<r)throw new Error(`Provided ${t.length} public keys is smaller than the ${r} required signatures`);this.publicKeys=t.map((e=>e instanceof da?e:new da(e))),this.signaturesRequired=r}verifySignature(e){throw new Error("not implemented")}authKey(){return Hc.fromSchemeAndBytes({scheme:3,input:this.toUint8Array()})}serialize(e){e.serializeVector(this.publicKeys),e.serializeU8(this.signaturesRequired)}static deserialize(t){let r=t.deserializeVector(da),n=t.deserializeU8();return new e({publicKeys:r,signaturesRequired:n})}createBitmap(e){let{bits:t}=e,r=new Uint8Array([0,0,0,0]),n=new Set;return t.forEach(((e,t)=>{if(t+1>this.publicKeys.length)throw new Error(`Signature index ${t+1} is out of public keys range, ${this.publicKeys.length}.`);if(n.has(e))throw new Error(`Duplicate bit ${e} detected.`);n.add(e);let i=Math.floor(e/8),o=r[i];o|=128>>e%8,r[i]=o})),r}getIndex(e){let t=e instanceof da?e:new da(e),r=this.publicKeys.findIndex((e=>e.toString()===t.toString()));if(-1!==r)return r;throw new Error("Public key not found in MultiKey")}static isInstance(e){return"publicKeys"in e&&"signaturesRequired"in e}},WK=class e extends Kc{constructor(t){super();let{signatures:r,bitmap:n}=t;if(r.length>e.MAX_SIGNATURES_SUPPORTED)throw new Error(`The number of signatures cannot be greater than ${e.MAX_SIGNATURES_SUPPORTED}`);if(this.signatures=r.map((e=>e instanceof qc?e:new qc(e))),n instanceof Uint8Array){if(n.length!==e.BITMAP_LEN)throw new Error(`"bitmap" length should be ${e.BITMAP_LEN}`);this.bitmap=n}else this.bitmap=e.createBitmap({bits:n});let i=this.bitmap.reduce(((e,t)=>e+fer(t)),0);if(i!==this.signatures.length)throw new Error(`Expecting ${i} signatures from the bitmap, but got ${this.signatures.length}`)}static createBitmap(t){let{bits:r}=t,n=new Uint8Array([0,0,0,0]),i=new Set;return r.forEach((t=>{if(t>=e.MAX_SIGNATURES_SUPPORTED)throw new Error(`Cannot have a signature larger than ${e.MAX_SIGNATURES_SUPPORTED-1}.`);if(i.has(t))throw new Error("Duplicate bits detected.");i.add(t);let r=Math.floor(t/8),o=n[r];o|=128>>t%8,n[r]=o})),n}serialize(e){e.serializeVector(this.signatures),e.serializeBytes(this.bitmap)}static deserialize(t){let r=t.deserializeVector(qc),n=t.deserializeBytes();return new e({signatures:r,bitmap:n})}};WK.BITMAP_LEN=4,WK.MAX_SIGNATURES_SUPPORTED=8*WK.BITMAP_LEN;var A4=WK,Sl=class extends gr{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return Vg.load(e);case 1:return Fle.load(e);case 2:return xd.load(e);case 3:return t2.load(e);case 4:return WP.load(e);default:throw new Error(`Unknown variant index for AccountAuthenticator: ${t}`)}}isEd25519(){return this instanceof Vg}isMultiEd25519(){return this instanceof Fle}isSingleKey(){return this instanceof xd}isMultiKey(){return this instanceof t2}},Vg=class e extends Sl{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(0),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Po.deserialize(t),n=ns.deserialize(t);return new e(r,n)}},Fle=class e extends Sl{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(1),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=h4.deserialize(t),n=p4.deserialize(t);return new e(r,n)}},xd=class e extends Sl{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(2),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=da.deserialize(t),n=qc.deserialize(t);return new e(r,n)}},t2=class e extends Sl{constructor(e,t){super(),this.public_keys=e,this.signatures=t}serialize(e){e.serializeU32AsUleb128(3),this.public_keys.serialize(e),this.signatures.serialize(e)}static load(t){let r=e2.deserialize(t),n=A4.deserialize(t);return new e(r,n)}},WP=class e extends Sl{serialize(e){e.serializeU32AsUleb128(4)}static load(t){return new e}},zP=class e{constructor(e){this.signingScheme=2;let{privateKey:t,address:r}=e;this.privateKey=t,this.publicKey=new da(t.publicKey()),this.accountAddress=r?st.from(r):this.publicKey.authKey().derivedAddress()}static generate(t={}){let r,{scheme:n=0}=t;switch(n){case 0:r=Ef.generate();break;case 2:r=y4.generate();break;default:throw new Error(`Unsupported signature scheme ${n}`)}return new e({privateKey:r})}static fromDerivationPath(t){let r,{scheme:n=0,path:i,mnemonic:o}=t;switch(n){case 0:r=Ef.fromDerivationPath(i,o);break;case 2:r=y4.fromDerivationPath(i,o);break;default:throw new Error(`Unsupported signature scheme ${n}`)}return new e({privateKey:r})}verifySignature(e){return this.publicKey.verifySignature(e)}signWithAuthenticator(e){return new xd(this.publicKey,this.sign(e))}signTransactionWithAuthenticator(e){return new xd(this.publicKey,this.signTransaction(e))}sign(e){return new qc(this.privateKey.sign(e))}signTransaction(e){return this.sign(HE(e))}};m();var KP=class e{constructor(e){this.signingScheme=0;let{privateKey:t,address:r}=e;this.privateKey=t,this.publicKey=t.publicKey(),this.accountAddress=r?st.from(r):this.publicKey.authKey().derivedAddress()}static generate(){let t=Ef.generate();return new e({privateKey:t})}static fromDerivationPath(t){let{path:r,mnemonic:n}=t,i=Ef.fromDerivationPath(r,n);return new e({privateKey:i})}verifySignature(e){return this.publicKey.verifySignature(e)}signWithAuthenticator(e){return new Vg(this.publicKey,this.privateKey.sign(e))}signTransactionWithAuthenticator(e){return new Vg(this.publicKey,this.signTransaction(e))}sign(e){return this.privateKey.sign(e)}signTransaction(e){return this.sign(HE(e))}},r2=class{static generate(e={}){let{scheme:t=0,legacy:r=!0}=e;return 0===t&&r?KP.generate():zP.generate({scheme:t})}static fromPrivateKey(e){let{privateKey:t,address:r,legacy:n=!0}=e;return t instanceof Ef&&n?new KP({privateKey:t,address:r}):new zP({privateKey:t,address:r})}static fromPrivateKeyAndAddress(e){return this.fromPrivateKey(e)}static fromDerivationPath(e){let{scheme:t=0,mnemonic:r,path:n,legacy:i=!0}=e;return 0===t&&i?KP.fromDerivationPath({mnemonic:r,path:n}):zP.fromDerivationPath({scheme:t,mnemonic:r,path:n})}static authKey(e){let{publicKey:t}=e;return t.authKey()}verifySignature(e){return this.publicKey.verifySignature(e)}};m();var zK=(e,t)=>{let r=e.bcsToBytes(),n="string"==typeof t?P.Buffer.from(t,"utf8"):t,i=new Uint8Array([...r,...n,254]);return new st(vd(i))};async function Jg(e){let{aptosConfig:t,accountAddress:r}=e,{data:n}=await Ra({aptosConfig:t,originMethod:"getInfo",path:`accounts/${st.from(r).toString()}`});return n}async function JXe(e){let{aptosConfig:t,accountAddress:r,options:n}=e;return KE({aptosConfig:t,originMethod:"getModules",path:`accounts/${st.from(r).toString()}/modules`,params:{ledger_version:n?.ledgerVersion,start:n?.offset,limit:n?.limit??1e3}})}async function KK(e){return void 0!==e.options?.ledgerVersion?GXe(e):Gg((async()=>GXe(e)),`module-${e.accountAddress}-${e.moduleName}`,3e5)()}async function GXe(e){let{aptosConfig:t,accountAddress:r,moduleName:n,options:i}=e,{data:o}=await Ra({aptosConfig:t,originMethod:"getModule",path:`accounts/${st.from(r).toString()}/module/${n}`,params:{ledger_version:i?.ledgerVersion}});return o}async function XXe(e){let{aptosConfig:t,accountAddress:r,options:n}=e;return KE({aptosConfig:t,originMethod:"getTransactions",path:`accounts/${st.from(r).toString()}/transactions`,params:{start:n?.offset,limit:n?.limit}})}async function YXe(e){let{aptosConfig:t,accountAddress:r,options:n}=e;return KE({aptosConfig:t,originMethod:"getResources",path:`accounts/${st.from(r).toString()}/resources`,params:{ledger_version:n?.ledgerVersion,start:n?.offset,limit:n?.limit??999}})}async function Kle(e){let{aptosConfig:t,accountAddress:r,resourceType:n,options:i}=e,{data:o}=await Ra({aptosConfig:t,originMethod:"getResource",path:`accounts/${st.from(r).toString()}/resource/${n}`,params:{ledger_version:i?.ledgerVersion}});return o.data}async function E4(e){let{aptosConfig:t,authenticationKey:r,options:n}=e,i=await Kle({aptosConfig:t,accountAddress:"0x1",resourceType:"0x1::account::OriginatingAddress",options:n}),{address_map:{handle:o}}=i,s=st.from(r);try{let e=await cK({aptosConfig:t,handle:o,data:{key:s.toString(),key_type:"address",value_type:"address"},options:n});return st.from(e)}catch(e){if(e instanceof $0&&"table_item_not_found"===e.data.error_code)return s;throw e}}async function QXe(e){let{aptosConfig:t,accountAddress:r}=e,n={owner_address:{_eq:st.from(r).toStringLong()},amount:{_gt:0}},i=await Pn({aptosConfig:t,query:{query:RVe,variables:{where_condition:n}},originMethod:"getAccountTokensCount"});return i.current_token_ownerships_v2_aggregate.aggregate?i.current_token_ownerships_v2_aggregate.aggregate.count:0}async function ZXe(e){let{aptosConfig:t,accountAddress:r,options:n}=e,i={owner_address:{_eq:st.from(r).toStringLong()},amount:{_gt:0}};n?.tokenStandard&&(i.token_standard={_eq:n?.tokenStandard});let o={query:kVe,variables:{where_condition:i,offset:n?.offset,limit:n?.limit,order_by:n?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getAccountOwnedTokens"})).current_token_ownerships_v2}async function $Xe(e){let{aptosConfig:t,accountAddress:r,collectionAddress:n,options:i}=e,o={owner_address:{_eq:st.from(r).toStringLong()},current_token_data:{collection_id:{_eq:st.from(n).toStringLong()}},amount:{_gt:0}};i?.tokenStandard&&(o.token_standard={_eq:i?.tokenStandard});let s={query:_Ve,variables:{where_condition:o,offset:i?.offset,limit:i?.limit,order_by:i?.orderBy}};return(await Pn({aptosConfig:t,query:s,originMethod:"getAccountOwnedTokensFromCollectionAddress"})).current_token_ownerships_v2}async function eYe(e){let{aptosConfig:t,accountAddress:r,options:n}=e,i={owner_address:{_eq:st.from(r).toStringLong()}};n?.tokenStandard&&(i.current_collection={token_standard:{_eq:n?.tokenStandard}});let o={query:MVe,variables:{where_condition:i,offset:n?.offset,limit:n?.limit,order_by:n?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getAccountCollectionsWithOwnedTokens"})).current_collection_ownership_v2_view}async function tYe(e){let{aptosConfig:t,accountAddress:r}=e,n=st.from(r).toStringLong(),i=await Pn({aptosConfig:t,query:{query:NVe,variables:{address:n}},originMethod:"getAccountTransactionsCount"});return i.account_transactions_aggregate.aggregate?i.account_transactions_aggregate.aggregate.count:0}async function rYe(e){let{aptosConfig:t,accountAddress:r,options:n}=e,i=st.from(r).toStringLong(),o={...n?.where,owner_address:{_eq:i}},s={query:BVe,variables:{where_condition:o,offset:n?.offset,limit:n?.limit,order_by:n?.orderBy}};return(await Pn({aptosConfig:t,query:s,originMethod:"getAccountCoinsData"})).current_fungible_asset_balances}async function nYe(e){let{aptosConfig:t,accountAddress:r}=e,n=st.from(r).toStringLong(),i=await Pn({aptosConfig:t,query:{query:PVe,variables:{address:n}},originMethod:"getAccountCoinsCount"});if(!i.current_fungible_asset_balances_aggregate.aggregate)throw Error("Failed to get the count of account coins");return i.current_fungible_asset_balances_aggregate.aggregate.count}async function iYe(e){let{aptosConfig:t,accountAddress:r,options:n}=e,i={owner_address:{_eq:st.from(r).toStringLong()}},o={query:nK,variables:{where_condition:i,offset:n?.offset,limit:n?.limit,order_by:n?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getAccountOwnedObjects"})).current_objects}async function oYe(e){let{aptosConfig:t,privateKey:r}=e,n=new da(r.publicKey());if(r instanceof y4){let e=Hc.fromPublicKey({publicKey:n}).derivedAddress();return r2.fromPrivateKey({privateKey:r,address:e})}if(r instanceof Ef){let e=Hc.fromPublicKey({publicKey:n});if(await VXe({authKey:e,aptosConfig:t})){let t=e.derivedAddress();return r2.fromPrivateKey({privateKey:r,address:t,legacy:!1})}let i=Hc.fromPublicKey({publicKey:n.publicKey});if(await VXe({authKey:i,aptosConfig:t})){let e=i.derivedAddress();return r2.fromPrivateKey({privateKey:r,address:e,legacy:!0})}}throw new Error(`Can't derive account from private key ${r}`)}async function VXe(e){let{aptosConfig:t,authKey:r}=e,n=await E4({aptosConfig:t,authenticationKey:r.derivedAddress()});try{return await Jg({aptosConfig:t,accountAddress:n}),!0}catch(e){if(404===e.status)return!1;throw new Error(`Error while looking for an account info ${n.toString()}`)}}var der=new TextEncoder;function HP(e){return e?.map((e=>Hm(e)?Ug(e):e))??[]}async function qle(e,t,r,n){let i=await KK({aptosConfig:n,accountAddress:e,moduleName:t});if(i.abi)return i.abi.exposed_functions.find((e=>e.name===r))}async function jle(e,t,r,n){let i=await qle(e,t,r,n);if(!i)throw new Error(`Could not find entry function ABI for '${e}::${t}::${r}'`);if(!i.is_entry)throw new Error(`'${e}::${t}::${r}' is not an entry function`);let o=mue(i),s=[];for(let e=o;e<i.params.length;e+=1)s.push(Ug(i.params[e],{allowGenerics:!0}));return{signers:o,typeParameters:i.generic_type_params,parameters:s}}async function Gle(e,t,r,n){let i=await qle(e,t,r,n);if(!i)throw new Error(`Could not find view function ABI for '${e}::${t}::${r}'`);if(!i.is_view)throw new Error(`'${e}::${t}::${r}' is not an view function`);let o=[];for(let e=0;e<i.params.length;e+=1)o.push(Ug(i.params[e],{allowGenerics:!0}));let s=[];for(let e=0;e<i.return.length;e+=1)s.push(Ug(i.return[e],{allowGenerics:!0}));return{typeParameters:i.generic_type_params,parameters:o,returnTypes:s}}function HK(e,t,r,n,i){if(n>=t.parameters.length)throw new Error(`Too many arguments for '${e}', expected ${t.parameters.length}`);return n2(r,t.parameters[n],n,i)}function n2(e,t,r,n){return gue(e)?(Hle(t,e,r),e):her(e,t,r,n)}function her(e,t,r,n){if(t.isBool()){if(hue(e))return new Is(e);if(Hm(e)){if("true"===e)return new Is(!0);if("false"===e)return new Is(!1)}$o("boolean",r)}if(t.isAddress()){if(Hm(e))return st.fromString(e);$o("string | AccountAddress",r)}if(t.isU8()){let t=AP(e);if(void 0!==t)return new El(t);$o("number | string",r)}if(t.isU16()){let t=AP(e);if(void 0!==t)return new Lg(t);$o("number | string",r)}if(t.isU32()){let t=AP(e);if(void 0!==t)return new Fg(t);$o("number | string",r)}if(t.isU64()){if(EP(e))return new Du(BigInt(e));$o("bigint | number | string",r)}if(t.isU128()){if(EP(e))return new Wg(BigInt(e));$o("bigint | number | string",r)}if(t.isU256()){if(EP(e))return new Z0(BigInt(e));$o("bigint | number | string",r)}if(t.isGeneric()){let i=t.value;if(i<0||i>=n.length)throw new Error(`Generic argument ${t.toString()} is invalid for argument ${r}`);return n2(e,n[i],r,n)}if(t.isVector()){if(t.value.isU8()){if(Hm(e))return Yn.U8(der.encode(e));if(e instanceof Uint8Array)return Yn.U8(e);if(e instanceof ArrayBuffer)return Yn.U8(new Uint8Array(e))}if(Array.isArray(e))return new Yn(e.map((e=>n2(e,t.value,r,n))));throw new Error(`Type mismatch for argument ${r}, type '${t.toString()}'`)}if(t.isStruct()){if(t.isString()){if(Hm(e))return new go(e);$o("string",r)}if(t.isObject()){if(Hm(e))return st.fromString(e);$o("string | AccountAddress",r)}if(t.isOption()){if(pue(e)){t.value.typeArgs[0];return new Tl(null)}return new Tl(n2(e,t.value.typeArgs[0],r,n))}throw new Error(`Unsupported struct input type for argument ${r}, type '${t.toString()}'`)}throw new Error(`Type mismatch for argument ${r}, type '${t.toString()}'`)}function Hle(e,t,r){if(e.isBool()){if(Jz(t))return;$o("Bool",r)}if(e.isAddress()){if(TP(t))return;$o("AccountAddress",r)}if(e.isU8()){if(Yz(t))return;$o("U8",r)}if(e.isU16()){if(Qz(t))return;$o("U16",r)}if(e.isU32()){if(Zz(t))return;$o("U32",r)}if(e.isU64()){if($z(t))return;$o("U64",r)}if(e.isU128()){if(eK(t))return;$o("U128",r)}if(e.isU256()){if(tK(t))return;$o("U256",r)}if(e.isVector()){if(t instanceof Yn)return void(t.values.length>0&&Hle(e.value,t.values[0],r));$o("MoveVector",r)}if(e instanceof fn){if(e.isString()){if(Xz(t))return;$o("MoveString",r)}if(e.isObject()){if(TP(t))return;$o("AccountAddress",r)}if(e.isOption()){if(t instanceof Tl)return void(void 0!==t.value&&Hle(e.value.typeArgs[0],t.value,r));$o("MoveOption",r)}}throw new Error(`Type mismatch for argument ${r}, expected '${e.toString()}'`)}async function Vle(e){let{aptosConfig:t,options:r}=e;return KE({aptosConfig:t,originMethod:"getTransactions",path:"transactions",params:{start:r?.offset,limit:r?.limit}})}async function qK(e){let{aptosConfig:t}=e;return Gg((async()=>{let{data:e}=await Ra({aptosConfig:t,originMethod:"getGasPriceEstimation",path:"estimate_gas_price"});return e}),`gas-price-${t.network}`,3e5)()}async function aYe(e){let{aptosConfig:t,ledgerVersion:r}=e,{data:n}=await Ra({aptosConfig:t,originMethod:"getTransactionByVersion",path:`transactions/by_version/${r}`});return n}async function qP(e){let{aptosConfig:t,transactionHash:r}=e,{data:n}=await Ra({aptosConfig:t,path:`transactions/by_hash/${r}`,originMethod:"getTransactionByHash"});return n}async function cYe(e){let{aptosConfig:t,transactionHash:r}=e;try{return"pending_transaction"===(await qP({aptosConfig:t,transactionHash:r})).type}catch(e){if(404===e?.status)return!0;throw e}}async function per(e){let{aptosConfig:t,transactionHash:r}=e,{data:n}=await Ra({aptosConfig:t,path:`transactions/wait_by_hash/${r}`,originMethod:"longWaitForTransaction"});return n}async function T4(e){let t,r,{aptosConfig:n,transactionHash:i,options:o}=e,s=o?.timeoutSecs??20,a=o?.checkSuccess??!0,c=!0,u=0,l=200;function d(e){if(!(e instanceof $0)||(r=e,404!==e.status&&e.status>=400&&e.status<500))throw e}try{t=await qP({aptosConfig:n,transactionHash:i}),c="pending_transaction"===t.type}catch(e){d(e)}if(c){let e=Date.now();try{t=await per({aptosConfig:n,transactionHash:i}),c="pending_transaction"===t.type}catch(e){d(e)}u=(Date.now()-e)/1e3}for(;c&&!(u>=s);){try{if(t=await qP({aptosConfig:n,transactionHash:i}),c="pending_transaction"===t.type,!c)break}catch(e){d(e)}await qm(l),u+=l/1e3,l*=1.5}if(void 0===t)throw r||new sYe(`Fetching transaction ${i} failed and timed out after ${s} seconds`,t);if("pending_transaction"===t.type)throw new sYe(`Transaction ${i} timed out in pending state after ${s} seconds`,t);if(!a)return t;if(!t.success)throw new ger(`Transaction ${i} failed with an error: ${t.vm_status}`,t);return t}async function jK(e){let{aptosConfig:t,processorType:r}=e,n=BigInt(e.minimumLedgerVersion),i=(new Date).getTime(),o=BigInt(-1);for(;o<n;){if((new Date).getTime()-i>3e3)throw new Error("waitForLastSuccessIndexerVersionSync timeout");if(o=void 0===r?await sK({aptosConfig:t}):(await aK({aptosConfig:t,processorType:r})).last_success_version,o>=n)break;await qm(200)}}m();var sYe=class extends Error{constructor(e,t){super(e),this.lastSubmittedTransaction=t}},ger=class extends Error{constructor(e,t){super(e),this.transaction=t}};async function uYe(e){let{aptosConfig:t,ledgerVersion:r,options:n}=e,{data:i}=await Ra({aptosConfig:t,originMethod:"getBlockByVersion",path:`blocks/by_version/${r}`,params:{with_transactions:n?.withTransactions}});return fYe({block:i,...e})}async function lYe(e){let{aptosConfig:t,blockHeight:r,options:n}=e,{data:i}=await Ra({aptosConfig:t,originMethod:"getBlockByHeight",path:`blocks/by_height/${r}`,params:{with_transactions:n?.withTransactions}});return fYe({block:i,...e})}async function fYe(e){let{aptosConfig:t,block:r,options:n}=e;if(n?.withTransactions){r.transactions=r.transactions??[];let e,n=r.transactions[r.transactions.length-1],i=BigInt(r.first_version),o=BigInt(r.last_version),s=n?.version;if(e=void 0===s?i-1n:BigInt(s),e===o)return r;let a=[],c=100n;for(let r=e+1n;r<o;r+=BigInt(100))a.push(Vle({aptosConfig:t,options:{offset:r,limit:Math.min(Number(c),Number(o-r+1n))}}));let u=await Promise.all(a);for(let e of u)r.transactions.push(...e)}return r}m(),m();var yw=class extends gr{static deserialize(e){let t=e.deserializeUleb128AsU32();switch(t){case 0:return S4.load(e);case 1:return Jle.load(e);case 2:return C4.load(e);case 3:return I4.load(e);case 4:return i2.load(e);default:throw new Error(`Unknown variant index for TransactionAuthenticator: ${t}`)}}isEd25519(){return this instanceof S4}isMultiEd25519(){return this instanceof Jle}isMultiAgent(){return this instanceof C4}isFeePayer(){return this instanceof I4}isSingleSender(){return this instanceof i2}},S4=class e extends yw{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(0),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=Po.deserialize(t),n=ns.deserialize(t);return new e(r,n)}},Jle=class e extends yw{constructor(e,t){super(),this.public_key=e,this.signature=t}serialize(e){e.serializeU32AsUleb128(1),this.public_key.serialize(e),this.signature.serialize(e)}static load(t){let r=h4.deserialize(t),n=p4.deserialize(t);return new e(r,n)}},C4=class e extends yw{constructor(e,t,r){super(),this.sender=e,this.secondary_signer_addresses=t,this.secondary_signers=r}serialize(e){e.serializeU32AsUleb128(2),this.sender.serialize(e),e.serializeVector(this.secondary_signer_addresses),e.serializeVector(this.secondary_signers)}static load(t){let r=Sl.deserialize(t),n=t.deserializeVector(st),i=t.deserializeVector(Sl);return new e(r,n,i)}},I4=class e extends yw{constructor(e,t,r,n){super(),this.sender=e,this.secondary_signer_addresses=t,this.secondary_signers=r,this.fee_payer=n}serialize(e){e.serializeU32AsUleb128(3),this.sender.serialize(e),e.serializeVector(this.secondary_signer_addresses),e.serializeVector(this.secondary_signers),this.fee_payer.address.serialize(e),this.fee_payer.authenticator.serialize(e)}static load(t){let r=Sl.deserialize(t),n=t.deserializeVector(st),i=t.deserializeVector(Sl),o=st.deserialize(t),s=Sl.deserialize(t);return new e(r,n,i,{address:o,authenticator:s})}},i2=class e extends yw{constructor(e){super(),this.sender=e}serialize(e){e.serializeU32AsUleb128(4),this.sender.serialize(e)}static load(t){let r=Sl.deserialize(t);return new e(r)}},mw=class e extends gr{constructor(e,t){super(),this.raw_txn=e,this.authenticator=t}serialize(e){this.raw_txn.serialize(e),this.authenticator.serialize(e)}static deserialize(t){let r=ep.deserialize(t),n=yw.deserialize(t);return new e(r,n)}};m();var Xle=class e extends gr{constructor(e,t){super(),this.rawTransaction=e,this.feePayerAddress=t}serialize(e){this.rawTransaction.serialize(e),void 0===this.feePayerAddress?e.serializeBool(!1):(e.serializeBool(!0),this.feePayerAddress.serialize(e))}static deserialize(t){let r,n=ep.deserialize(t);return t.deserializeBool()&&(r=st.deserialize(t)),new e(n,r)}};m();var Yle=class e extends gr{constructor(e,t,r){super(),this.rawTransaction=e,this.feePayerAddress=r,this.secondarySignerAddresses=t}serialize(e){this.rawTransaction.serialize(e),e.serializeVector(this.secondarySignerAddresses),void 0===this.feePayerAddress?e.serializeBool(!1):(e.serializeBool(!0),this.feePayerAddress.serialize(e))}static deserialize(t){let r,n=ep.deserialize(t),i=t.deserializeVector(st);return t.deserializeBool()&&(r=st.deserialize(t)),new e(n,i,r)}};function Qle(e,t){let r=t.bcsToBytes(),n=new _a(r);return e.deserialize(n)}m(),m();var Zle={mainnet:"https://api.mainnet.aptoslabs.com/v1/graphql",testnet:"https://api.testnet.aptoslabs.com/v1/graphql",devnet:"https://api.devnet.aptoslabs.com/v1/graphql",local:"http://127.0.0.1:8090/v1/graphql"},$le={mainnet:"https://api.mainnet.aptoslabs.com/v1",testnet:"https://api.testnet.aptoslabs.com/v1",devnet:"https://api.devnet.aptoslabs.com/v1",local:"http://127.0.0.1:8080/v1"},efe={mainnet:"https://faucet.mainnet.aptoslabs.com",testnet:"https://faucet.testnet.aptoslabs.com",devnet:"https://faucet.devnet.aptoslabs.com",local:"http://127.0.0.1:8081"},GK={mainnet:"https://api.mainnet.aptoslabs.com/keyless/pepper/v0",testnet:"https://api.testnet.aptoslabs.com/keyless/pepper/v0",devnet:"https://api.devnet.aptoslabs.com/keyless/pepper/v0",local:"https://api.devnet.aptoslabs.com/keyless/pepper/v0"},VK={mainnet:"https://api.mainnet.aptoslabs.com/keyless/prover/v0",testnet:"https://api.testnet.aptoslabs.com/keyless/prover/v0",devnet:"https://api.devnet.aptoslabs.com/keyless/prover/v0",local:"https://api.devnet.aptoslabs.com/keyless/prover/v0"},JK=(e=>(e.MAINNET="mainnet",e.TESTNET="testnet",e.DEVNET="devnet",e.LOCAL="local",e.CUSTOM="custom",e))(JK||{}),XK={mainnet:1,testnet:2,local:4};async function jP(e){if(yue(e))return yer(e);let{moduleAddress:t,moduleName:r,functionName:n}=e4(e.function),i=await TYe({key:"entry-function",moduleAddress:t,moduleName:r,functionName:n,aptosConfig:e.aptosConfig,abi:e.abi,fetch:jle});return wYe({...e,abi:i})}function wYe(e){let t=e.abi,{moduleAddress:r,moduleName:n,functionName:i}=e4(e.function),o=HP(e.typeArguments);if(o.length!==t.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${t.typeParameters.length}, received ${o.length}`);let s=e.functionArguments.map(((r,n)=>HK(e.function,t,r,n,o)));if(s.length!==t.parameters.length)throw new Error(`Too few arguments for '${r}::${n}::${i}', expected ${t.parameters.length} but got ${s.length}`);let a=i4.build(`${r}::${n}`,i,o,s);if("multisigAddress"in e){let t=st.from(e.multisigAddress);return new dK(new pK(t,new gK(a)))}return new fK(a)}async function tfe(e){let{moduleAddress:t,moduleName:r,functionName:n}=e4(e.function);return xYe({abi:await TYe({key:"view-function",moduleAddress:t,moduleName:r,functionName:n,aptosConfig:e.aptosConfig,abi:e.abi,fetch:Gle}),...e})}function xYe(e){let t=e.abi,{moduleAddress:r,moduleName:n,functionName:i}=e4(e.function),o=HP(e.typeArguments);if(o.length!==t.typeParameters.length)throw new Error(`Type argument count mismatch, expected ${t.typeParameters.length}, received ${o.length}`);let s=e?.functionArguments?.map(((r,n)=>HK(e.function,t,r,n,o)))??[];if(s.length!==t.parameters.length)throw new Error(`Too few arguments for '${r}::${n}::${i}', expected ${t.parameters.length} but got ${s.length}`);return i4.build(`${r}::${n}`,i,o,s)}function yer(e){return new lK(new hK(Sr.fromHexInput(e.bytecode).toUint8Array(),HP(e.typeArguments),e.functionArguments))}async function AYe(e){let{aptosConfig:t,sender:r,payload:n,options:i,feePayerAddress:o}=e,[{chainId:s},{gasEstimate:a},c]=await Promise.all([(async()=>XK[t.network]?{chainId:XK[t.network]}:{chainId:(await oK({aptosConfig:t})).chain_id})(),(async()=>i?.gasUnitPrice?{gasEstimate:i.gasUnitPrice}:{gasEstimate:(await qK({aptosConfig:t})).gas_estimate})(),(async()=>{let e=async()=>void 0!==i?.accountSequenceNumber?i.accountSequenceNumber:(await Jg({aptosConfig:t,accountAddress:r})).sequence_number;if(!o||!st.from(o).equals(st.ZERO))return e();try{return await e()}catch{return 0}})()]),{maxGasAmount:u,gasUnitPrice:l,expireTimestamp:d}={maxGasAmount:i?.maxGasAmount?BigInt(i.maxGasAmount):BigInt(2e5),gasUnitPrice:i?.gasUnitPrice??BigInt(a),expireTimestamp:i?.expireTimestamp??BigInt(Math.floor(Date.now()/1e3)+20)};return new ep(st.from(r),BigInt(c),n,BigInt(u),BigInt(l),BigInt(d),new IP(s))}async function YK(e){let{aptosConfig:t,sender:r,payload:n,options:i,feePayerAddress:o}=e,s=await AYe({aptosConfig:t,sender:r,payload:n,options:i,feePayerAddress:o});if("secondarySignerAddresses"in e){let t=e.secondarySignerAddresses?.map((e=>st.from(e)))??[];return new Yle(s,t,e.feePayerAddress?st.from(e.feePayerAddress):void 0)}return new Xle(s,e.feePayerAddress?st.from(e.feePayerAddress):void 0)}function rfe(e){let t,{signerPublicKey:r,transaction:n,secondarySignersPublicKeys:i,feePayerPublicKey:o}=e,s=o2(r);if(n.feePayerAddress){let e=new s4(n.rawTransaction,n.secondarySignerAddresses??[],n.feePayerAddress),t=[];n.secondarySignerAddresses&&(t=i?i.map((e=>o2(e))):Array.from({length:n.secondarySignerAddresses.length},(()=>o2(void 0))));let r=o2(o),a=new I4(s,n.secondarySignerAddresses??[],t,{address:n.feePayerAddress,authenticator:r});return new mw(e.raw_txn,a).bcsToBytes()}if(n.secondarySignerAddresses){let e=new o4(n.rawTransaction,n.secondarySignerAddresses),t=[];t=i?i.map((e=>o2(e))):Array.from({length:n.secondarySignerAddresses.length},(()=>o2(void 0)));let r=new C4(s,n.secondarySignerAddresses,t);return new mw(e.raw_txn,r).bcsToBytes()}if(s instanceof Vg)t=new S4(s.public_key,s.signature);else if(s instanceof xd||s instanceof t2)t=new i2(s);else{if(!(s instanceof WP))throw new Error("Invalid public key");t=new i2(s)}return new mw(n.rawTransaction,t).bcsToBytes()}function o2(e){if(!e)return new WP;let t=Ys.isInstance(e)||Tf.isInstance(e)||dw.isInstance(e)?new da(e):e,r=new ns(new Uint8Array(64));if(Po.isInstance(t))return new Vg(t,r);if(da.isInstance(t))return Ys.isInstance(t.publicKey)?new xd(t,new qc(pw.getSimulationSignature())):new xd(t,new qc(r));if(e2.isInstance(t))return new t2(t,new A4({signatures:t.publicKeys.map((()=>new qc(r))),bitmap:t.createBitmap({bits:Array(t.publicKeys.length).fill(0).map(((e,t)=>t))})}));throw new Error("Unsupported PublicKey used for simulations")}function nfe(e){let t,{transaction:r,feePayerAuthenticator:n,additionalSignersAuthenticators:i}=e,o=Qle(Sl,e.senderAuthenticator);if(r.feePayerAddress){if(!n)throw new Error("Must provide a feePayerAuthenticator argument to generate a signed fee payer transaction");t=new I4(o,r.secondarySignerAddresses??[],i??[],{address:r.feePayerAddress,authenticator:n})}else if(r.secondarySignerAddresses){if(!i)throw new Error("Must provide a additionalSignersAuthenticators argument to generate a signed multi agent transaction");t=new C4(o,r.secondarySignerAddresses,i)}else t=o instanceof Vg?new S4(o.public_key,o.signature):new i2(o);return new mw(r.rawTransaction,t).bcsToBytes()}function EYe(e){let t=vd.create();for(let r of e)t.update(r);return t.digest()}var dan=EYe(["APTOS::Transaction"]);async function TYe({key:e,moduleAddress:t,moduleName:r,functionName:n,aptosConfig:i,abi:o,fetch:s}){return void 0!==o?o:Gg((async()=>s(t,r,n,i)),`${e}-${i.network}-${t}-${r}-${n}`,3e5)()}m(),m();var mer=1209600,SYe=class e extends gr{constructor(e){super();let{privateKey:t,expiryDateSecs:r,blinder:n}=e;this.privateKey=t,this.publicKey=new b4(t.publicKey()),this.expiryDateSecs=r||Aue(Z1()+mer),this.blinder=void 0!==n?Sr.fromHexInput(n).toUint8Array():ber();let i=LK(this.publicKey.bcsToBytes(),93);i.push(BigInt(this.expiryDateSecs)),i.push(v4(this.blinder));let o=w4(i);this.nonce=o.toString()}getPublicKey(){return this.publicKey}isExpired(){return Math.floor(Date.now()/1e3)>this.expiryDateSecs}serialize(e){e.serializeU32AsUleb128(this.publicKey.variant),e.serializeBytes(this.privateKey.toUint8Array()),e.serializeU64(this.expiryDateSecs),e.serializeFixedBytes(this.blinder)}static deserialize(t){let r,n=t.deserializeUleb128AsU32();if(0!==n)throw new Error(`Unknown variant index for EphemeralPublicKey: ${n}`);r=Ef.deserialize(t);let i=t.deserializeU64(),o=t.deserializeFixedBytes(31);return new e({privateKey:r,expiryDateSecs:Number(i),blinder:o})}static fromBytes(t){return e.deserialize(new _a(t))}static generate(t){let r;return r=Ef.generate(),new e({privateKey:r,expiryDateSecs:t?.expiryDateSecs})}sign(e){if(this.isExpired())throw new Error("EphemeralKeyPair has expired");return new eb(this.privateKey.sign(e))}};SYe.BLINDER_LENGTH=31;var ZK=SYe;function ber(){return Q6(ZK.BLINDER_LENGTH)}function GP(e){return null!=e&&"function"==typeof e.checkKeylessAccountValidity}var CYe=class e extends gr{constructor(t){super();let{address:r,ephemeralKeyPair:n,publicKey:i,uidKey:o,uidVal:s,aud:a,pepper:c,proof:u,proofFetchCallback:l,jwt:d,verificationKeyHash:h}=t;if(this.ephemeralKeyPair=n,this.publicKey=i,this.accountAddress=r?st.from(r):this.publicKey.authKey().derivedAddress(),this.uidKey=o,this.uidVal=s,this.aud=a,this.jwt=d,this.emitter=new _g,this.proofOrPromise=u,u instanceof gw)this.proof=u;else{if(void 0===l)throw new Error("Must provide callback for async proof fetch");this.emitter.on("proofFetchFinish",(async e=>{await l(e),this.emitter.removeAllListeners()})),this.init(u)}this.signingScheme=2;let f=Sr.fromHexInput(c).toUint8Array();if(f.length!==e.PEPPER_LENGTH)throw new Error(`Pepper length in bytes should be ${e.PEPPER_LENGTH}`);if(this.pepper=f,void 0!==h){if(32!==Sr.hexInputToUint8Array(h).length)throw new Error("verificationKeyHash must be 32 bytes");this.verificationKeyHash=Sr.hexInputToUint8Array(h)}}async init(e){try{this.proof=await e,this.emitter.emit("proofFetchFinish",{status:"Success"})}catch(e){e instanceof Error?this.emitter.emit("proofFetchFinish",{status:"Failed",error:e.toString()}):this.emitter.emit("proofFetchFinish",{status:"Failed",error:"Unknown"})}}serialize(e){if(this.accountAddress.serialize(e),e.serializeStr(this.jwt),e.serializeStr(this.uidKey),e.serializeFixedBytes(this.pepper),this.ephemeralKeyPair.serialize(e),void 0===this.proof)throw new Error("Cannot serialize - proof undefined");this.proof.serialize(e),e.serializeOption(this.verificationKeyHash,32)}static partialDeserialize(e){return{address:st.deserialize(e),jwt:e.deserializeStr(),uidKey:e.deserializeStr(),pepper:e.deserializeFixedBytes(31),ephemeralKeyPair:ZK.deserialize(e),proof:gw.deserialize(e),verificationKeyHash:e.deserializeOption("fixedBytes",32)}}isExpired(){return this.ephemeralKeyPair.isExpired()}signWithAuthenticator(e){let t=new qc(this.sign(e)),r=new da(this.publicKey);return new xd(r,t)}signTransactionWithAuthenticator(e){let t=new qc(this.signTransaction(e)),r=new da(this.publicKey);return new xd(r,t)}async waitForProofFetch(){this.proofOrPromise instanceof Promise&&await this.proofOrPromise}async checkKeylessAccountValidity(t){if(this.isExpired())throw Os.fromErrorType({type:0});if(await this.waitForProofFetch(),void 0===this.proof)throw Os.fromErrorType({type:2});let r=QE(this.jwt,{header:!0});if(void 0===r.kid)throw Os.fromErrorType({type:12,details:"checkKeylessAccountValidity failed. JWT is missing 'kid' in header. This should never happen."});if(void 0!==this.verificationKeyHash){let{verificationKey:e}=await x4({aptosConfig:t});if(Sr.hexInputToString(e.hash())!==Sr.hexInputToString(this.verificationKeyHash))throw Os.fromErrorType({type:4})}else console.warn("[Aptos SDK] The verification key hash was not set. Proof may be invalid if the verification key has rotated.");await e.fetchJWK({aptosConfig:t,publicKey:this.publicKey,kid:r.kid})}sign(e){let{expiryDateSecs:t}=this.ephemeralKeyPair;if(this.isExpired())throw Os.fromErrorType({type:0});if(void 0===this.proof)throw Os.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let r=this.ephemeralKeyPair.getPublicKey(),n=this.ephemeralKeyPair.sign(e);return new pw({jwtHeader:Eue(this.jwt.split(".")[0]),ephemeralCertificate:new DP(this.proof,0),expiryDateSecs:t,ephemeralPublicKey:r,ephemeralSignature:n})}signTransaction(e){if(void 0===this.proof)throw Os.fromErrorType({type:1,details:"Proof not found - make sure to call `await account.checkKeylessAccountValidity()` before signing."});let t=vK(e),r=new IYe(t,this.proof.proof).hash();return this.sign(r)}verifySignature(e){let{message:t,signature:r}=e;return!(this.isExpired()||!this.ephemeralKeyPair.getPublicKey().verifySignature({message:t,signature:r.ephemeralSignature}))}static async fetchJWK(e){let t,{aptosConfig:r,publicKey:n,kid:i}=e,o=n instanceof Ys?n:n.keylessPublicKey,{iss:s}=o,a=n instanceof Tf?n.jwkAddress:void 0;try{t=await Ule({aptosConfig:r,jwkAddr:a})}catch(e){throw Os.fromErrorType({type:24,error:e,details:`Failed to fetch ${a?"Federated":"Patched"}JWKs ${a?`for address ${a}`:"0x1"}`})}let c=t.get(s);if(void 0===c)throw Os.fromErrorType({type:7,details:`JWKs for issuer ${s} not found.`});let u=c.find((e=>e.kid===i));if(void 0===u)throw Os.fromErrorType({type:6,details:`JWK with kid '${i}' for issuer '${s}' not found.`});return u}};CYe.PEPPER_LENGTH=31;var Xg=CYe,IYe=class extends gr{constructor(e,t){super(),this.domainSeparator="APTOS::TransactionAndProof",this.transaction=e,this.proof=t}serialize(e){e.serializeFixedBytes(this.transaction.bcsToBytes()),e.serializeOption(this.proof)}hash(){return a4(this.bcsToBytes(),this.domainSeparator)}};m();var ife=class extends gr{constructor(e){super(),this.accountAddress=st.ONE,this.moduleName=new go("account"),this.structName=new go("RotationProofChallenge"),this.sequenceNumber=new Du(e.sequenceNumber),this.originator=e.originator,this.currentAuthKey=e.currentAuthKey,this.newPublicKey=Yn.U8(e.newPublicKey.toUint8Array())}serialize(e){e.serialize(this.accountAddress),e.serialize(this.moduleName),e.serialize(this.structName),e.serialize(this.sequenceNumber),e.serialize(this.originator),e.serialize(this.currentAuthKey),e.serialize(this.newPublicKey)}};async function ni(e){return wer(e,await ver(e))}async function ver(e){let t,r,{aptosConfig:n,data:i}=e;return"bytecode"in i?r=await jP(i):"multisigAddress"in i?(t={aptosConfig:n,multisigAddress:i.multisigAddress,function:i.function,functionArguments:i.functionArguments,typeArguments:i.typeArguments,abi:i.abi},r=await jP(t)):(t={aptosConfig:n,function:i.function,functionArguments:i.functionArguments,typeArguments:i.typeArguments,abi:i.abi},r=await jP(t)),r}async function wer(e,t){let r,{aptosConfig:n,sender:i,options:o}=e;if(xer(e)&&(r=st.ZERO.toString()),Aer(e)){let{secondarySignerAddresses:s}=e;return YK({aptosConfig:n,sender:i,payload:t,options:o,secondarySignerAddresses:s,feePayerAddress:r})}return YK({aptosConfig:n,sender:i,payload:t,options:o,feePayerAddress:r})}function xer(e){return!0===e.withFeePayer}function Aer(e){return"secondarySignerAddresses"in e}function OYe(e){let{transaction:t}=e;return HE(t)}function eH(e){let{signer:t,transaction:r}=e;return t.signTransactionWithAuthenticator(r)}function tH(e){let{signer:t,transaction:r}=e;if(!r.feePayerAddress)throw new Error(`Transaction ${r} is not a Fee Payer transaction`);return r.feePayerAddress=t.accountAddress,eH({signer:t,transaction:r})}async function ofe(e){let{aptosConfig:t,transaction:r,signerPublicKey:n,secondarySignersPublicKeys:i,feePayerPublicKey:o,options:s}=e,a=rfe({transaction:r,signerPublicKey:n,secondarySignersPublicKeys:i,feePayerPublicKey:o,options:s}),{data:c}=await jm({aptosConfig:t,body:a,path:"transactions/simulate",params:{estimate_gas_unit_price:e.options?.estimateGasUnitPrice??!1,estimate_max_gas_amount:e.options?.estimateMaxGasAmount??!1,estimate_prioritized_gas_unit_price:e.options?.estimatePrioritizedGasUnitPrice??!1},originMethod:"simulateTransaction",contentType:"application/x.aptos.signed_transaction+bcs"});return c}async function VP(e){let{aptosConfig:t}=e,r=nfe({...e});try{let{data:e}=await jm({aptosConfig:t,body:r,path:"transactions",originMethod:"submitTransaction",contentType:"application/x.aptos.signed_transaction+bcs"});return e}catch(e){let n=mw.deserialize(new _a(r));throw n.authenticator.isSingleSender()&&n.authenticator.sender.isSingleKey()&&(n.authenticator.sender.public_key.publicKey instanceof Ys||n.authenticator.sender.public_key.publicKey instanceof Tf)&&await Xg.fetchJWK({aptosConfig:t,publicKey:n.authenticator.sender.public_key.publicKey,kid:n.authenticator.sender.signature.signature.getJwkKid()}),e}}async function JP(e){let{aptosConfig:t,signer:r,feePayer:n,transaction:i}=e;GP(r)&&await r.checkKeylessAccountValidity(t),GP(n)&&await n.checkKeylessAccountValidity(t);let o=e.feePayerAuthenticator||n&&tH({signer:n,transaction:i});return VP({aptosConfig:t,transaction:i,senderAuthenticator:eH({signer:r,transaction:i}),feePayerAuthenticator:o})}async function PYe(e){let{aptosConfig:t,senderAuthenticator:r,feePayer:n,transaction:i}=e;return GP(n)&&await n.checkKeylessAccountValidity(t),VP({aptosConfig:t,transaction:i,senderAuthenticator:r,feePayerAuthenticator:tH({signer:n,transaction:i})})}var Eer={typeParameters:[],parameters:[Zo.u8(),new Zo(Zo.u8())]};async function BYe(e){let{aptosConfig:t,account:r,metadataBytes:n,moduleBytecode:i,options:o}=e,s=i.map((e=>Yn.U8(e)));return ni({aptosConfig:t,sender:st.from(r),data:{function:"0x1::code::publish_package_txn",functionArguments:[Yn.U8(n),new Yn(s)],abi:Eer},options:o})}var Ter={typeParameters:[],parameters:[new Ph,Zo.u8(),new Ph,Zo.u8(),Zo.u8(),Zo.u8()]};async function MYe(e){let{aptosConfig:t,fromAccount:r,toNewPrivateKey:n}=e,i=await Jg({aptosConfig:t,accountAddress:r.accountAddress}),o=r2.fromPrivateKey({privateKey:n,legacy:!0}),s=new ife({sequenceNumber:BigInt(i.sequence_number),originator:r.accountAddress,currentAuthKey:st.from(i.authentication_key),newPublicKey:o.publicKey}).bcsToBytes(),a=r.sign(s),c=o.sign(s),u=await ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::account::rotate_authentication_key",functionArguments:[new El(r.signingScheme),Yn.U8(r.publicKey.toUint8Array()),new El(o.signingScheme),Yn.U8(o.publicKey.toUint8Array()),Yn.U8(a.toUint8Array()),Yn.U8(c.toUint8Array())],abi:Ter}});return JP({aptosConfig:t,signer:r,transaction:u})}m();var sfe=class e extends Xg{constructor(e){let t=Tf.create(e);super({publicKey:t,...e}),this.publicKey=t}serialize(e){super.serialize(e),this.publicKey.jwkAddress.serialize(e)}static deserialize(t){let{address:r,proof:n,ephemeralKeyPair:i,jwt:o,uidKey:s,pepper:a,verificationKeyHash:c}=Xg.partialDeserialize(t),u=st.deserialize(t),{iss:l,aud:d,uidVal:h}=$E({jwt:o,uidKey:s});return new e({address:r,proof:n,ephemeralKeyPair:i,iss:l,uidKey:s,uidVal:h,aud:d,pepper:a,jwt:o,verificationKeyHash:c,jwkAddress:u})}static fromBytes(t){return e.deserialize(new _a(Sr.hexInputToUint8Array(t)))}static create(t){let{address:r,proof:n,jwt:i,ephemeralKeyPair:o,pepper:s,jwkAddress:a,uidKey:c="sub",proofFetchCallback:u,verificationKey:l}=t,{iss:d,aud:h,uidVal:f}=$E({jwt:i,uidKey:c});return new e({address:r,proof:n,ephemeralKeyPair:o,iss:d,uidKey:c,uidVal:f,aud:h,pepper:s,jwkAddress:st.from(a),jwt:i,proofFetchCallback:u,verificationKeyHash:l?l.hash():void 0})}};m();var XP=class e extends Xg{constructor(e){let t=Ys.create(e);super({publicKey:t,...e}),this.publicKey=t}serialize(e){super.serialize(e)}static deserialize(t){let{address:r,proof:n,ephemeralKeyPair:i,jwt:o,uidKey:s,pepper:a,verificationKeyHash:c}=Xg.partialDeserialize(t),{iss:u,aud:l,uidVal:d}=$E({jwt:o,uidKey:s});return new e({address:r,proof:n,ephemeralKeyPair:i,iss:u,uidKey:s,uidVal:d,aud:l,pepper:a,jwt:o,verificationKeyHash:c})}static fromBytes(t){return e.deserialize(new _a(Sr.hexInputToUint8Array(t)))}static create(t){let{address:r,proof:n,jwt:i,ephemeralKeyPair:o,pepper:s,uidKey:a="sub",proofFetchCallback:c,verificationKey:u}=t,{iss:l,aud:d,uidVal:h}=$E({jwt:i,uidKey:a});return new e({address:r,proof:n,ephemeralKeyPair:o,iss:l,uidKey:a,uidVal:h,aud:d,pepper:s,jwt:i,proofFetchCallback:c,verificationKeyHash:u?u.hash():void 0})}};async function iH(e){let{aptosConfig:t,jwt:r,ephemeralKeyPair:n,uidKey:i="sub",derivationPath:o}=e,s={jwt_b64:r,epk:n.getPublicKey().bcsToHex().toStringWithoutPrefix(),exp_date_secs:n.expiryDateSecs,epk_blinder:Sr.fromHexInput(n.blinder).toStringWithoutPrefix(),uid_key:i,derivation_path:o},{data:a}=await Mue({aptosConfig:t,path:"fetch",body:s,originMethod:"getPepper",overrides:{WITH_CREDENTIALS:!1}});return Sr.fromHexInput(a.pepper).toUint8Array()}async function afe(e){let{aptosConfig:t,jwt:r,ephemeralKeyPair:n,pepper:i=await iH(e),uidKey:o="sub",maxExpHorizonSecs:s=(await x4({aptosConfig:t})).maxExpHorizonSecs}=e;if(Sr.fromHexInput(i).toUint8Array().length!==XP.PEPPER_LENGTH)throw new Error(`Pepper needs to be ${XP.PEPPER_LENGTH} bytes`);let a=QE(r);if("number"!=typeof a.iat)throw new Error("iat was not found");if(s<n.expiryDateSecs-a.iat)throw Error(`The EphemeralKeyPair is too long lived.  It's lifespan must be less than ${s}`);let c={jwt_b64:r,epk:n.getPublicKey().bcsToHex().toStringWithoutPrefix(),epk_blinder:Sr.fromHexInput(n.blinder).toStringWithoutPrefix(),exp_date_secs:n.expiryDateSecs,exp_horizon_secs:s,pepper:Sr.fromHexInput(i).toStringWithoutPrefix(),uid_key:o},{data:u}=await kue({aptosConfig:t,path:"prove",body:c,originMethod:"getProof",overrides:{WITH_CREDENTIALS:!1}}),l=u.proof,d=new UP({a:l.a,b:l.b,c:l.c});return new gw({proof:new LP(d,0),trainingWheelsSignature:eb.fromHex(u.training_wheels_signature),expHorizonSecs:s})}async function kYe(e){let{aptosConfig:t,jwt:r,jwkAddress:n,uidKey:i,proofFetchCallback:o,pepper:s=await iH(e)}=e,{verificationKey:a,maxExpHorizonSecs:c}=await x4({aptosConfig:t}),u=afe({...e,pepper:s,maxExpHorizonSecs:c}),l=o?u:await u;if(void 0!==n){let c=Tf.fromJwtAndPepper({jwt:r,pepper:s,jwkAddress:n,uidKey:i}),u=await E4({aptosConfig:t,authenticationKey:c.authKey().derivedAddress()});return sfe.create({...e,address:u,proof:l,pepper:s,proofFetchCallback:o,jwkAddress:n,verificationKey:a})}let d=Ys.fromJwtAndPepper({jwt:r,pepper:s,uidKey:i}),h=await E4({aptosConfig:t,authenticationKey:d.authKey().derivedAddress()});return XP.create({...e,address:h,proof:l,pepper:s,proofFetchCallback:o,verificationKey:a})}async function _Ye(e){let t,{aptosConfig:r,sender:n,iss:i,options:o}=e,{jwksUrl:s}=e;void 0===s&&(s=Fue.test(i)?"https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com":i.endsWith("/")?`${i}.well-known/jwks.json`:`${i}/.well-known/jwks.json`);try{if(t=await fetch(s),!t.ok)throw new Error(`${t.status} ${t.statusText}`)}catch(e){let t;throw t=e instanceof Error?`${e.message}`:`error unknown - ${e}`,Os.fromErrorType({type:14,details:`Failed to fetch JWKS at ${s}: ${t}`})}let a=await t.json();return ni({aptosConfig:r,sender:n.accountAddress,data:{function:"0x1::jwks::update_federated_jwk_set",functionArguments:[i,Yn.MoveString(a.keys.map((e=>e.kid))),Yn.MoveString(a.keys.map((e=>e.alg))),Yn.MoveString(a.keys.map((e=>e.e))),Yn.MoveString(a.keys.map((e=>e.n)))]},options:o})}var cfe=class{constructor(e){this.config=e}async getPepper(e){return iH({aptosConfig:this.config,...e})}async getProof(e){return afe({aptosConfig:this.config,...e})}async deriveKeylessAccount(e){return kYe({aptosConfig:this.config,...e})}async updateFederatedKeylessJwkSetTransaction(e){return _Ye({aptosConfig:this.config,...e})}};async function Ser(e){let{aptosConfig:t,options:r}=e,n={query:nK,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:n,originMethod:"getObjectData"})).current_objects}async function RYe(e){let{aptosConfig:t,objectAddress:r,options:n}=e,i={object_address:{_eq:st.from(r).toStringLong()}};return(await Ser({aptosConfig:t,options:{...n,where:i}}))[0]}async function zn(e){void 0!==e.minimumLedgerVersion&&await jK({aptosConfig:e.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:e.processorType})}m(),m(),m();var ufe=class{constructor(e){this.config=e}async getObjectDataByObjectAddress(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"objects_processor"}),RYe({aptosConfig:this.config,...e})}};async function NYe(e){let{aptosConfig:t,poolAddress:r}=e,n=st.from(r).toStringLong(),i=await Pn({aptosConfig:t,query:{query:bue,variables:{where_condition:{pool_address:{_eq:n}}}}});return i.num_active_delegator_per_pool[0]?i.num_active_delegator_per_pool[0].num_active_delegator:0}async function DYe(e){let{aptosConfig:t,options:r}=e,n={query:bue,variables:{order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:n})).num_active_delegator_per_pool}async function UYe(e){let{aptosConfig:t,delegatorAddress:r,poolAddress:n}=e,i={query:FVe,variables:{delegatorAddress:st.from(r).toStringLong(),poolAddress:st.from(n).toStringLong()}};return(await Pn({aptosConfig:t,query:i})).delegated_staking_activities}m(),m();var lfe=class{constructor(e){this.config=e}async getNumberOfDelegators(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"stake_processor"}),NYe({aptosConfig:this.config,...e})}async getNumberOfDelegatorsForAllPools(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"stake_processor"}),DYe({aptosConfig:this.config,...e})}async getDelegatedStakingActivities(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"stake_processor"}),UYe({aptosConfig:this.config,...e})}};m();var ffe=class{constructor(e){this.config=e}async getTableItem(e){return cK({aptosConfig:this.config,...e})}async getTableItemsData(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),sJe({aptosConfig:this.config,...e})}async getTableItemsMetadata(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),aJe({aptosConfig:this.config,...e})}};function dfe(e,t,r){let n=r.value;return r.value=async function(...e){let[t]=e;if(t.transaction.feePayerAddress&&!t.feePayerAuthenticator)throw new Error("You are submitting a Fee Payer transaction but missing the feePayerAuthenticator");return n.apply(this,e)},r}function hfe(e,t,r){let n=r.value;return r.value=async function(...e){return n.apply(this,e)},r}m(),m(),m();var oH=class{constructor(e){this.config=e}async simple(e){return ofe({aptosConfig:this.config,...e})}async multiAgent(e){return ofe({aptosConfig:this.config,...e})}};vf([hfe],oH.prototype,"simple",1),vf([hfe],oH.prototype,"multiAgent",1),m();var sH=class{constructor(e){this.config=e}async simple(e){return VP({aptosConfig:this.config,...e})}async multiAgent(e){return VP({aptosConfig:this.config,...e})}};vf([dfe],sH.prototype,"simple",1),vf([dfe],sH.prototype,"multiAgent",1),m();var LYe=class{constructor(e){this.config=e}async simple(e){return ni({aptosConfig:this.config,...e})}async multiAgent(e){return ni({aptosConfig:this.config,...e})}};m(),m(),m();var pfe=class{constructor(e,t,r,n,i){this.lastUncommintedNumber=null,this.currentNumber=null,this.lock=!1,this.aptosConfig=e,this.account=t,this.maxWaitTime=r,this.maximumInFlight=n,this.sleepTime=i}async nextSequenceNumber(){for(;this.lock;)await qm(this.sleepTime);this.lock=!0;let e=BigInt(0);try{if((null===this.lastUncommintedNumber||null===this.currentNumber)&&await this.initialize(),this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight){await this.update();let e=Z1();for(;this.currentNumber-this.lastUncommintedNumber>=this.maximumInFlight;)await qm(this.sleepTime),Z1()-e>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, re-syncing ${this.account.accountAddress.toString()}`),await this.initialize()):await this.update()}e=this.currentNumber,this.currentNumber+=BigInt(1)}catch(e){console.error("error in getting next sequence number for this account",e)}finally{this.lock=!1}return e}async initialize(){let{sequence_number:e}=await Jg({aptosConfig:this.aptosConfig,accountAddress:this.account.accountAddress});this.currentNumber=BigInt(e),this.lastUncommintedNumber=BigInt(e)}async update(){let{sequence_number:e}=await Jg({aptosConfig:this.aptosConfig,accountAddress:this.account.accountAddress});return this.lastUncommintedNumber=BigInt(e),this.lastUncommintedNumber}async synchronize(){if(this.lastUncommintedNumber!==this.currentNumber){for(;this.lock;)await qm(this.sleepTime);this.lock=!0;try{await this.update();let e=Z1();for(;this.lastUncommintedNumber!==this.currentNumber;)Z1()-e>this.maxWaitTime?(console.warn(`Waited over 30 seconds for a transaction to commit, re-syncing ${this.account.accountAddress.toString()}`),await this.initialize()):(await qm(this.sleepTime),await this.update())}catch(e){console.error("error in synchronizing this account sequence number with the one on chain",e)}finally{this.lock=!1}}}};m();var aH=class{constructor(){this.queue=[],this.pendingDequeue=[],this.cancelled=!1}enqueue(e){this.cancelled=!1,this.pendingDequeue.length>0?this.pendingDequeue.shift()?.resolve(e):this.queue.push(e)}async dequeue(){return this.queue.length>0?Promise.resolve(this.queue.shift()):new Promise(((e,t)=>{this.pendingDequeue.push({resolve:e,reject:t})}))}isEmpty(){return 0===this.queue.length}cancel(){this.cancelled=!0,this.pendingDequeue.forEach((async({reject:e})=>{e(new cH("Task cancelled"))})),this.pendingDequeue=[],this.queue.length=0}isCancelled(){return this.cancelled}pendingDequeueLength(){return this.pendingDequeue.length}},cH=class extends Error{},gfe="fulfilled",FYe=(e=>(e.TransactionSent="transactionSent",e.TransactionSendFailed="transactionSendFailed",e.TransactionExecuted="transactionExecuted",e.TransactionExecutionFailed="transactionExecutionFailed",e.ExecutionFinish="executionFinish",e))(FYe||{}),yfe=class extends _g{constructor(e,t,r=30,n=100,i=10){super(),this.taskQueue=new aH,this.transactionsQueue=new aH,this.outstandingTransactions=new aH,this.sentTransactions=[],this.executedTransactions=[],this.aptosConfig=e,this.account=t,this.started=!1,this.accountSequnceNumber=new pfe(e,t,r,n,i)}async submitNextTransaction(){try{for(;;){let e=await this.accountSequnceNumber.nextSequenceNumber();if(null===e)return;let t=await this.generateNextTransaction(this.account,e);if(!t)return;let r=JP({aptosConfig:this.aptosConfig,transaction:t,signer:this.account});await this.outstandingTransactions.enqueue([r,e])}}catch(e){if(e instanceof cH)return;throw new Error(`Submit transaction failed for ${this.account.accountAddress.toString()} with error ${e}`)}}async processTransactions(){try{for(;;){let e=[],t=[],[r,n]=await this.outstandingTransactions.dequeue();for(e.push(r),t.push(n);!this.outstandingTransactions.isEmpty();)[r,n]=await this.outstandingTransactions.dequeue(),e.push(r),t.push(n);let i=await Promise.allSettled(e);for(let e=0;e<i.length&&e<t.length;e+=1){let r=i[e];n=t[e],r.status===gfe?(this.sentTransactions.push([r.value.hash,n,null]),this.emit("transactionSent",{message:`transaction hash ${r.value.hash} has been committed to chain`,transactionHash:r.value.hash}),await this.checkTransaction(r,n)):(this.sentTransactions.push([r.status,n,r.reason]),this.emit("transactionSendFailed",{message:`failed to commit transaction ${this.sentTransactions.length} with error ${r.reason}`,error:r.reason}))}this.emit("executionFinish",{message:`execute ${i.length} transactions finished`})}}catch(e){if(e instanceof cH)return;throw new Error(`Process execution failed for ${this.account.accountAddress.toString()} with error ${e}`)}}async checkTransaction(e,t){try{let r=[];r.push(T4({aptosConfig:this.aptosConfig,transactionHash:e.value.hash}));let n=await Promise.allSettled(r);for(let r=0;r<n.length;r+=1){let i=n[r];i.status===gfe?(this.executedTransactions.push([i.value.hash,t,null]),this.emit("transactionExecuted",{message:`transaction hash ${i.value.hash} has been executed on chain`,transactionHash:e.value.hash})):(this.executedTransactions.push([i.status,t,i.reason]),this.emit("transactionExecutionFailed",{message:`failed to execute transaction ${this.executedTransactions.length} with error ${i.reason}`,error:i.reason}))}}catch(e){throw new Error(`Check transaction failed for ${this.account.accountAddress.toString()} with error ${e}`)}}async push(e,t){this.transactionsQueue.enqueue([e,t])}async generateNextTransaction(e,t){if(this.transactionsQueue.isEmpty())return;let[r,n]=await this.transactionsQueue.dequeue();return ni({aptosConfig:this.aptosConfig,sender:e.accountAddress,data:r,options:{...n,accountSequenceNumber:t}})}async run(){try{for(;!this.taskQueue.isCancelled();)await(await this.taskQueue.dequeue())()}catch(e){throw new Error(`Unable to start transaction batching: ${e}`)}}start(){if(this.started)throw new Error("worker has already started");this.started=!0,this.taskQueue.enqueue((()=>this.submitNextTransaction())),this.taskQueue.enqueue((()=>this.processTransactions())),this.run()}stop(){if(this.taskQueue.isCancelled())throw new Error("worker has already stopped");this.started=!1,this.taskQueue.cancel()}},WYe=class extends _g{constructor(e){super(),this.config=e}start(e){let{sender:t}=e;this.account=t,this.transactionWorker=new yfe(this.config,t),this.transactionWorker.start(),this.registerToEvents()}push(e){let{data:t,options:r}=e;for(let e of t)this.transactionWorker.push(e,r)}registerToEvents(){this.transactionWorker.on("transactionSent",(async e=>{this.emit("transactionSent",e)})),this.transactionWorker.on("transactionSendFailed",(async e=>{this.emit("transactionSendFailed",e)})),this.transactionWorker.on("transactionExecuted",(async e=>{this.emit("transactionExecuted",e)})),this.transactionWorker.on("transactionExecutionFailed",(async e=>{this.emit("transactionExecutionFailed",e)})),this.transactionWorker.on("executionFinish",(async e=>{this.emit("executionFinish",e)}))}forSingleAccount(e){try{let{sender:t,data:r,options:n}=e;this.start({sender:t}),this.push({data:r,options:n})}catch(e){throw new Error(`failed to submit transactions with error: ${e}`)}}},mfe=class{constructor(e){this.config=e,this.build=new LYe(this.config),this.simulate=new oH(this.config),this.submit=new sH(this.config),this.batch=new WYe(this.config)}async getTransactions(e){return Vle({aptosConfig:this.config,...e})}async getTransactionByVersion(e){return aYe({aptosConfig:this.config,...e})}async getTransactionByHash(e){return qP({aptosConfig:this.config,...e})}async isPendingTransaction(e){return cYe({aptosConfig:this.config,...e})}async waitForTransaction(e){return T4({aptosConfig:this.config,...e})}async getGasPriceEstimation(){return qK({aptosConfig:this.config})}getSigningMessage(e){return OYe(e)}async publishPackageTransaction(e){return BYe({aptosConfig:this.config,...e})}async rotateAuthKey(e){return MYe({aptosConfig:this.config,...e})}sign(e){return eH({...e})}signAsFeePayer(e){return tH({...e})}async batchTransactionsForSingleAccount(e){try{let{sender:t,data:r,options:n}=e;this.batch.forSingleAccount({sender:t,data:r,options:n})}catch(e){throw new Error(`failed to submit transactions with error: ${e}`)}}async signAndSubmitTransaction(e){return JP({aptosConfig:this.config,...e})}async signAndSubmitAsFeePayer(e){return PYe({aptosConfig:this.config,...e})}};function YP(e,t){return function(){return e.apply(t,arguments)}}m(),m(),m(),m(),m(),m();var{toString:Cer}=Object.prototype,{getPrototypeOf:wfe}=Object,lH=(e=>t=>{let r=Cer.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),np=e=>(e=e.toLowerCase(),t=>lH(t)===e),fH=e=>t=>typeof t===e,{isArray:O4}=Array,QP=fH("undefined");function Ier(e){return null!==e&&!QP(e)&&null!==e.constructor&&!QP(e.constructor)&&Ad(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var HYe=np("ArrayBuffer");function Oer(e){let t;return t=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&HYe(e.buffer),t}var Per=fH("string"),Ad=fH("function"),qYe=fH("number"),dH=e=>null!==e&&"object"==typeof e,Ber=e=>!0===e||!1===e,uH=e=>{if("object"!==lH(e))return!1;let t=wfe(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},Mer=np("Date"),ker=np("File"),_er=np("Blob"),Rer=np("FileList"),Ner=e=>dH(e)&&Ad(e.pipe),Der=e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Ad(e.append)&&("formdata"===(t=lH(e))||"object"===t&&Ad(e.toString)&&"[object FormData]"===e.toString()))},Uer=np("URLSearchParams"),[Ler,Fer,Wer,zer]=["ReadableStream","Request","Response","Headers"].map(np),Ker=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ZP(e,t,{allOwnKeys:r=!1}={}){if(null===e||typeof e>"u")return;let n,i;if("object"!=typeof e&&(e=[e]),O4(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i,o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;for(n=0;n<s;n++)i=o[n],t.call(null,e[i],i,e)}}function jYe(e,t){t=t.toLowerCase();let r,n=Object.keys(e),i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}var s2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,GYe=e=>!QP(e)&&e!==s2;function vfe(){let{caseless:e}=GYe(this)&&this||{},t={},r=(r,n)=>{let i=e&&jYe(t,n)||n;uH(t[i])&&uH(r)?t[i]=vfe(t[i],r):uH(r)?t[i]=vfe({},r):O4(r)?t[i]=r.slice():t[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ZP(arguments[e],r);return t}var Her=(e,t,r,{allOwnKeys:n}={})=>(ZP(t,((t,n)=>{r&&Ad(t)?e[n]=YP(t,r):e[n]=t}),{allOwnKeys:n}),e),qer=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),jer=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Ger=(e,t,r,n)=>{let i,o,s,a={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=!1!==r&&wfe(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Ver=(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return-1!==n&&n===r},Jer=e=>{if(!e)return null;if(O4(e))return e;let t=e.length;if(!qYe(t))return null;let r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Xer=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wfe(Uint8Array)),Yer=(e,t)=>{let r,n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},Qer=(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},Zer=np("HTMLFormElement"),$er=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),zYe=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),etr=np("RegExp"),VYe=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};ZP(r,((r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)})),Object.defineProperties(e,n)},ttr=e=>{VYe(e,((t,r)=>{if(Ad(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;let n=e[r];if(Ad(n)){if(t.enumerable=!1,"writable"in t)return void(t.writable=!1);t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}}))},rtr=(e,t)=>{let r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return O4(e)?n(e):n(String(e).split(t)),r},ntr=()=>{},itr=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,bfe="abcdefghijklmnopqrstuvwxyz",KYe="0123456789",JYe={DIGIT:KYe,ALPHA:bfe,ALPHA_DIGIT:bfe+bfe.toUpperCase()+KYe},otr=(e=16,t=JYe.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function str(e){return!!(e&&Ad(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}var atr=e=>{let t=new Array(10),r=(e,n)=>{if(dH(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=O4(e)?[]:{};return ZP(e,((e,t)=>{let o=r(e,n+1);!QP(o)&&(i[t]=o)})),t[n]=void 0,i}}return e};return r(e,0)},ctr=np("AsyncFunction"),utr=e=>e&&(dH(e)||Ad(e))&&Ad(e.then)&&Ad(e.catch),XYe=((e,t)=>{return e?setImmediate:t?(r=`axios@${Math.random()}`,n=[],s2.addEventListener("message",(({source:e,data:t})=>{e===s2&&t===r&&n.length&&n.shift()()}),!1),e=>{n.push(e),s2.postMessage(r,"*")}):e=>setTimeout(e);var r,n})("function"==typeof setImmediate,Ad(s2.postMessage)),ltr=typeof queueMicrotask<"u"?queueMicrotask.bind(s2):typeof I.default<"u"&&I.default.nextTick||XYe,$e={isArray:O4,isArrayBuffer:HYe,isBuffer:Ier,isFormData:Der,isArrayBufferView:Oer,isString:Per,isNumber:qYe,isBoolean:Ber,isObject:dH,isPlainObject:uH,isReadableStream:Ler,isRequest:Fer,isResponse:Wer,isHeaders:zer,isUndefined:QP,isDate:Mer,isFile:ker,isBlob:_er,isRegExp:etr,isFunction:Ad,isStream:Ner,isURLSearchParams:Uer,isTypedArray:Xer,isFileList:Rer,forEach:ZP,merge:vfe,extend:Her,trim:Ker,stripBOM:qer,inherits:jer,toFlatObject:Ger,kindOf:lH,kindOfTest:np,endsWith:Ver,toArray:Jer,forEachEntry:Yer,matchAll:Qer,isHTMLForm:Zer,hasOwnProperty:zYe,hasOwnProp:zYe,reduceDescriptors:VYe,freezeMethods:ttr,toObjectSet:rtr,toCamelCase:$er,noop:ntr,toFiniteNumber:itr,findKey:jYe,global:s2,isContextDefined:GYe,ALPHABET:JYe,generateString:otr,isSpecCompliantForm:str,toJSONObject:atr,isAsyncFn:ctr,isThenable:utr,setImmediate:XYe,asap:ltr};function P4(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}m(),m(),m(),m(),m(),$e.inherits(P4,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$e.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var YYe=P4.prototype,QYe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{QYe[e]={value:e}})),Object.defineProperties(P4,QYe),Object.defineProperty(YYe,"isAxiosError",{value:!0}),P4.from=(e,t,r,n,i,o)=>{let s=Object.create(YYe);return $e.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),P4.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};var an=P4;m();var hH=null;function xfe(e){return $e.isPlainObject(e)||$e.isArray(e)}function $Ye(e){return $e.endsWith(e,"[]")?e.slice(0,-2):e}function ZYe(e,t,r){return e?e.concat(t).map((function(e,t){return e=$Ye(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}function ftr(e){return $e.isArray(e)&&!e.some(xfe)}var dtr=$e.toFlatObject($e,{},null,(function(e){return/^is[A-Z]/.test(e)}));function htr(e,t,r){if(!$e.isObject(e))throw new TypeError("target must be an object");t=t||new(hH||FormData);let n=(r=$e.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!$e.isUndefined(t[e])}))).metaTokens,i=r.visitor||u,o=r.dots,s=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&$e.isSpecCompliantForm(t);if(!$e.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if($e.isDate(e))return e.toISOString();if(!a&&$e.isBlob(e))throw new an("Blob is not supported. Use a Buffer instead.");return $e.isArrayBuffer(e)||$e.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):P.Buffer.from(e):e}function u(e,r,i){let a=e;if(e&&!i&&"object"==typeof e)if($e.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if($e.isArray(e)&&ftr(e)||($e.isFileList(e)||$e.endsWith(r,"[]"))&&(a=$e.toArray(e)))return r=$Ye(r),a.forEach((function(e,n){!$e.isUndefined(e)&&null!==e&&t.append(!0===s?ZYe([r],n,o):null===s?r:r+"[]",c(e))})),!1;return!!xfe(e)||(t.append(ZYe(i,r,o),c(e)),!1)}let l=[],d=Object.assign(dtr,{defaultVisitor:u,convertValue:c,isVisitable:xfe});if(!$e.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!$e.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),$e.forEach(r,(function(r,o){!0===(!($e.isUndefined(r)||null===r)&&i.call(t,r,$e.isString(o)?o.trim():o,n,d))&&e(r,n?n.concat(o):[o])})),l.pop()}}(e),t}var bw=htr;function eQe(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function tQe(e,t){this._pairs=[],e&&bw(e,this,t)}var rQe=tQe.prototype;rQe.append=function(e,t){this._pairs.push([e,t])},rQe.toString=function(e){let t=e?function(t){return e.call(this,t,eQe)}:eQe;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var pH=tQe;function ptr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $P(e,t,r){if(!t)return e;let n,i=r&&r.encode||ptr,o=r&&r.serialize;if(n=o?o(t,r):$e.isURLSearchParams(t)?t.toString():new pH(t,r).toString(i),n){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}m();var Afe=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){$e.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Efe=Afe;m(),m(),m(),m();var gH={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};m(),m(),m(),m();var nQe=typeof URLSearchParams<"u"?URLSearchParams:pH;m();var iQe=typeof FormData<"u"?FormData:null;m();var oQe=typeof Blob<"u"?Blob:null,sQe={isBrowser:!0,classes:{URLSearchParams:nQe,FormData:iQe,Blob:oQe},protocols:["http","https","file","blob","url","data"]},Sfe={};Vr(Sfe,{hasBrowserEnv:()=>Tfe,hasStandardBrowserEnv:()=>gtr,hasStandardBrowserWebWorkerEnv:()=>ytr,origin:()=>mtr}),m();var Tfe=typeof window<"u"&&typeof document<"u",gtr=(e=>Tfe&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),ytr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,mtr=Tfe&&window.location.href||"http://localhost",mc={...Sfe,...sQe};function Cfe(e,t){return bw(e,new mc.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return mc.isNode&&$e.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}function btr(e){return $e.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function vtr(e){let t,r,n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)r=i[t],n[r]=e[r];return n}function wtr(e){function t(e,r,n,i){let o=e[i++];if("__proto__"===o)return!0;let s=Number.isFinite(+o),a=i>=e.length;return o=!o&&$e.isArray(n)?n.length:o,a?($e.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r,!s):((!n[o]||!$e.isObject(n[o]))&&(n[o]=[]),t(e,r,n[o],i)&&$e.isArray(n[o])&&(n[o]=vtr(n[o])),!s)}if($e.isFormData(e)&&$e.isFunction(e.entries)){let r={};return $e.forEachEntry(e,((e,n)=>{t(btr(e),n,r,0)})),r}return null}m();var yH=wtr;function xtr(e,t,r){if($e.isString(e))try{return(t||JSON.parse)(e),$e.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}var Ife={transitional:gH,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=$e.isObject(e);if(o&&$e.isHTMLForm(e)&&(e=new FormData(e)),$e.isFormData(e))return i?JSON.stringify(yH(e)):e;if($e.isArrayBuffer(e)||$e.isBuffer(e)||$e.isStream(e)||$e.isFile(e)||$e.isBlob(e)||$e.isReadableStream(e))return e;if($e.isArrayBufferView(e))return e.buffer;if($e.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Cfe(e,this.formSerializer).toString();if((r=$e.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return bw(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),xtr(e)):e}],transformResponse:[function(e){let t=this.transitional||Ife.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if($e.isResponse(e)||$e.isReadableStream(e))return e;if(e&&$e.isString(e)&&(r&&!this.responseType||n)){let r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r)throw"SyntaxError"===e.name?an.from(e,an.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mc.classes.FormData,Blob:mc.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$e.forEach(["delete","get","head","post","put","patch"],(e=>{Ife.headers[e]={}}));var B4=Ife;m(),m();var Atr=$e.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),aQe=e=>{let t,r,n,i={};return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!(!t||i[t]&&Atr[t])&&("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)})),i},cQe=Symbol("internals");function eB(e){return e&&String(e).trim().toLowerCase()}function mH(e){return!1===e||null==e?e:$e.isArray(e)?e.map(mH):String(e)}function Etr(e){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}var Ttr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ofe(e,t,r,n,i){if($e.isFunction(n))return n.call(this,t,r);if(i&&(t=r),$e.isString(t)){if($e.isString(n))return-1!==t.indexOf(n);if($e.isRegExp(n))return n.test(t)}}function Str(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}function Ctr(e,t){let r=$e.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})}))}var M4=class{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=eB(t);if(!i)throw new Error("header name must be a non-empty string");let o=$e.findKey(n,i);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=mH(e))}let o=(e,t)=>$e.forEach(e,((e,r)=>i(e,r,t)));if($e.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if($e.isString(e)&&(e=e.trim())&&!Ttr(e))o(aQe(e),t);else if($e.isHeaders(e))for(let[t,n]of e.entries())i(n,t,r);else null!=e&&i(t,e,r);return this}get(e,t){if(e=eB(e)){let r=$e.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return Etr(e);if($e.isFunction(t))return t.call(this,e,r);if($e.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eB(e)){let r=$e.findKey(this,e);return!(!r||void 0===this[r]||t&&!Ofe(this,this[r],r,t))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=eB(e)){let i=$e.findKey(r,e);i&&(!t||Ofe(r,r[i],i,t))&&(delete r[i],n=!0)}}return $e.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||Ofe(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return $e.forEach(this,((n,i)=>{let o=$e.findKey(r,i);if(o)return t[o]=mH(n),void delete t[i];let s=e?Str(i):String(i).trim();s!==i&&delete t[i],t[s]=mH(n),r[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return $e.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&$e.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){let t=(this[cQe]=this[cQe]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=eB(e);t[n]||(Ctr(r,e),t[n]=!0)}return $e.isArray(e)?e.forEach(n):n(e),this}};M4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$e.reduceDescriptors(M4.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),$e.freezeMethods(M4);var Da=M4;function tB(e,t){let r=this||B4,n=t||r,i=Da.from(n.headers),o=n.data;return $e.forEach(e,(function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function rB(e){return!(!e||!e.__CANCEL__)}function uQe(e,t,r){an.call(this,e??"canceled",an.ERR_CANCELED,t,r),this.name="CanceledError"}m(),m(),$e.inherits(uQe,an,{__CANCEL__:!0});var Yg=uQe;function nB(e,t,r){let n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new an("Request failed with status code "+r.status,[an.ERR_BAD_REQUEST,an.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}function Pfe(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Itr(e,t){e=e||10;let r,n=new Array(e),i=new Array(e),o=0,s=0;return t=void 0!==t?t:1e3,function(a){let c=Date.now(),u=i[s];r||(r=c),n[o]=a,i[o]=c;let l=s,d=0;for(;l!==o;)d+=n[l++],l%=e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-r<t)return;let h=u&&c-u;return h?Math.round(1e3*d/h):void 0}}m(),m(),m(),m(),m(),m();var lQe=Itr;function Otr(e,t){let r,n,i=0,o=1e3/t,s=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),a=t-i;a>=o?s(e,t):(r=e,n||(n=setTimeout((()=>{n=null,s(r)}),o-a)))},()=>r&&s(r)]}m();var fQe=Otr,k4=(e,t,r=3)=>{let n=0,i=lQe(50,250);return fQe((r=>{let o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,c=i(a);n=o,e({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&o<=s?(s-o)/c:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),r)},Bfe=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Mfe=e=>(...t)=>$e.asap((()=>e(...t)));m(),m();var dQe=mc.hasStandardBrowserEnv?function(){let e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=$e.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0};m();var hQe=mc.hasStandardBrowserEnv?{write(e,t,r,n,i,o){let s=[e+"="+encodeURIComponent(t)];$e.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),$e.isString(n)&&s.push("path="+n),$e.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function kfe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _fe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function iB(e,t){return e&&!kfe(t)?_fe(e,t):t}m(),m(),m(),m();var pQe=e=>e instanceof Da?{...e}:e;function ip(e,t){t=t||{};let r={};function n(e,t,r){return $e.isPlainObject(e)&&$e.isPlainObject(t)?$e.merge.call({caseless:r},e,t):$e.isPlainObject(t)?$e.merge({},t):$e.isArray(t)?t.slice():t}function i(e,t,r){return $e.isUndefined(t)?$e.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function o(e,t){if(!$e.isUndefined(t))return n(void 0,t)}function s(e,t){return $e.isUndefined(t)?$e.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}let c={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>i(pQe(e),pQe(t),!0)};return $e.forEach(Object.keys(Object.assign({},e,t)),(function(n){let o=c[n]||i,s=o(e[n],t[n],n);$e.isUndefined(s)&&o!==a||(r[n]=s)})),r}var bH=e=>{let t,r=ip({},e),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:c}=r;if(r.headers=a=Da.from(a),r.url=$P(iB(r.baseURL,r.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),$e.isFormData(n))if(mc.hasStandardBrowserEnv||mc.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(t=a.getContentType())){let[e,...r]=t?t.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...r].join("; "))}if(mc.hasStandardBrowserEnv&&(i&&$e.isFunction(i)&&(i=i(r)),i||!1!==i&&dQe(r.url))){let e=o&&s&&hQe.read(s);e&&a.set(o,e)}return r},Ptr=typeof XMLHttpRequest<"u",gQe=Ptr&&function(e){return new Promise((function(t,r){let n,i,o,s,a,c=bH(e),u=c.data,l=Da.from(c.headers).normalize(),{responseType:d,onUploadProgress:h,onDownloadProgress:f}=c;function p(){s&&s(),a&&a(),c.cancelToken&&c.cancelToken.unsubscribe(n),c.signal&&c.signal.removeEventListener("abort",n)}let g=new XMLHttpRequest;function y(){if(!g)return;let n=Da.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());nB((function(e){t(e),p()}),(function(e){r(e),p()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:n,config:e,request:g}),g=null}g.open(c.method.toUpperCase(),c.url,!0),g.timeout=c.timeout,"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||4!==g.readyState||0===g.status&&(!g.responseURL||0!==g.responseURL.indexOf("file:"))||setTimeout(y)},g.onabort=function(){g&&(r(new an("Request aborted",an.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new an("Network Error",an.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",n=c.transitional||gH;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),r(new an(t,n.clarifyTimeoutError?an.ETIMEDOUT:an.ECONNABORTED,e,g)),g=null},void 0===u&&l.setContentType(null),"setRequestHeader"in g&&$e.forEach(l.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),$e.isUndefined(c.withCredentials)||(g.withCredentials=!!c.withCredentials),d&&"json"!==d&&(g.responseType=c.responseType),f&&([o,a]=k4(f,!0),g.addEventListener("progress",o)),h&&g.upload&&([i,s]=k4(h),g.upload.addEventListener("progress",i),g.upload.addEventListener("loadend",s)),(c.cancelToken||c.signal)&&(n=t=>{g&&(r(!t||t.type?new Yg(null,e,g):t),g.abort(),g=null)},c.cancelToken&&c.cancelToken.subscribe(n),c.signal&&(c.signal.aborted?n():c.signal.addEventListener("abort",n)));let m=Pfe(c.url);m&&-1===mc.protocols.indexOf(m)?r(new an("Unsupported protocol "+m+":",an.ERR_BAD_REQUEST,e)):g.send(u||null)}))};m(),m();var Btr=(e,t)=>{let r,n=new AbortController,i=function(e){if(!r){r=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof an?t:new Yg(t instanceof Error?t.message:t))}},o=t&&setTimeout((()=>{i(new an(`timeout ${t} of ms exceeded`,an.ETIMEDOUT))}),t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",i):e.unsubscribe(i))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",i)));let{signal:a}=n;return a.unsubscribe=s,[a,()=>{o&&clearTimeout(o),o=null}]},yQe=Btr;m();var Mtr=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},ktr=async function*(e,t,r){for await(let n of e)yield*Mtr(ArrayBuffer.isView(n)?n:await r(String(n)),t)},Rfe=(e,t,r,n,i)=>{let o,s=ktr(e,t,i),a=0,c=e=>{o||(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await s.next();if(t)return c(),void e.close();let i=n.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw c(e),e}},cancel:e=>(c(e),s.return())},{highWaterMark:2})},wH="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,bQe=wH&&"function"==typeof ReadableStream,Nfe=wH&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),vQe=(e,...t)=>{try{return!!e(...t)}catch{return!1}},_tr=bQe&&vQe((()=>{let e=!1,t=new Request(mc.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),mQe=65536,Dfe=bQe&&vQe((()=>$e.isReadableStream(new Response("").body))),vH={stream:Dfe&&(e=>e.body)};wH&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!vH[t]&&(vH[t]=$e.isFunction(e[t])?e=>e[t]():(e,r)=>{throw new an(`Response type '${t}' is not supported`,an.ERR_NOT_SUPPORT,r)})}))})(new Response);var Rtr=async e=>null==e?0:$e.isBlob(e)?e.size:$e.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:$e.isArrayBufferView(e)||$e.isArrayBuffer(e)?e.byteLength:($e.isURLSearchParams(e)&&(e+=""),$e.isString(e)?(await Nfe(e)).byteLength:void 0),Ntr=async(e,t)=>$e.toFiniteNumber(e.getContentLength())??Rtr(t),wQe=wH&&(async e=>{let{url:t,method:r,data:n,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:h}=bH(e);u=u?(u+"").toLowerCase():"text";let f,p,g,[y,m]=i||o||s?yQe([i,o],s):[],b=()=>{!f&&setTimeout((()=>{y&&y.unsubscribe()})),f=!0};try{if(c&&_tr&&"get"!==r&&"head"!==r&&0!==(g=await Ntr(l,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});if($e.isFormData(n)&&(e=r.headers.get("content-type"))&&l.setContentType(e),r.body){let[e,t]=Bfe(g,k4(Mfe(c)));n=Rfe(r.body,mQe,e,t,Nfe)}}$e.isString(d)||(d=d?"include":"omit"),p=new Request(t,{...h,signal:y,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:d});let i=await fetch(p),o=Dfe&&("stream"===u||"response"===u);if(Dfe&&(a||o)){let e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));let t=$e.toFiniteNumber(i.headers.get("content-length")),[r,n]=a&&Bfe(t,k4(Mfe(a),!0))||[];i=new Response(Rfe(i.body,mQe,r,(()=>{n&&n(),o&&b()}),Nfe),e)}u=u||"text";let s=await vH[$e.findKey(vH,u)||"text"](i,e);return!o&&b(),m&&m(),await new Promise(((t,r)=>{nB(t,r,{data:s,headers:Da.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(t){throw b(),t&&"TypeError"===t.name&&/fetch/i.test(t.message)?Object.assign(new an("Network Error",an.ERR_NETWORK,e,p),{cause:t.cause||t}):an.from(t,t&&t.code,e,p)}}),Ufe={http:hH,xhr:gQe,fetch:wQe};$e.forEach(Ufe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}}));var xQe=e=>`- ${e}`,Dtr=e=>$e.isFunction(e)||null===e||!1===e,xH={getAdapter:e=>{e=$e.isArray(e)?e:[e];let t,r,{length:n}=e,i={};for(let o=0;o<n;o++){let n;if(t=e[o],r=t,!Dtr(t)&&(r=Ufe[(n=String(t)).toLowerCase()],void 0===r))throw new an(`Unknown adapter '${n}'`);if(r)break;i[n||"#"+o]=r}if(!r){let e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"))),t=n?e.length>1?"since :\n"+e.map(xQe).join("\n"):" "+xQe(e[0]):"as no adapter specified";throw new an("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return r},adapters:Ufe};function Lfe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yg(null,e)}function AH(e){return Lfe(e),e.headers=Da.from(e.headers),e.data=tB.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xH.getAdapter(e.adapter||B4.adapter)(e).then((function(t){return Lfe(e),t.data=tB.call(e,e.transformResponse,t),t.headers=Da.from(t.headers),t}),(function(t){return rB(t)||(Lfe(e),t&&t.response&&(t.response.data=tB.call(e,e.transformResponse,t.response),t.response.headers=Da.from(t.response.headers))),Promise.reject(t)}))}m(),m();var EH="1.7.4",Ffe={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Ffe[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var AQe={};function Utr(e,t,r){if("object"!=typeof e)throw new an("options must be an object",an.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],s=t[o];if(s){let t=e[o],r=void 0===t||s(t,o,e);if(!0!==r)throw new an("option "+o+" must be "+r,an.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new an("Unknown option "+o,an.ERR_BAD_OPTION)}}Ffe.transitional=function(e,t,r){function n(e,t){return"[Axios v"+EH+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new an(n(i," has been removed"+(t?" in "+t:"")),an.ERR_DEPRECATED);return t&&!AQe[i]&&(AQe[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}};var TH={assertOptions:Utr,validators:Ffe},vw=TH.validators,_4=class{constructor(e){this.defaults=e,this.interceptors={request:new Efe,response:new Efe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch{}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ip(this.defaults,t);let{transitional:r,paramsSerializer:n,headers:i}=t;void 0!==r&&TH.assertOptions(r,{silentJSONParsing:vw.transitional(vw.boolean),forcedJSONParsing:vw.transitional(vw.boolean),clarifyTimeoutError:vw.transitional(vw.boolean)},!1),null!=n&&($e.isFunction(n)?t.paramsSerializer={serialize:n}:TH.assertOptions(n,{encode:vw.function,serialize:vw.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&$e.merge(i.common,i[t.method]);i&&$e.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=Da.concat(o,i);let s=[],a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));let c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,l,d=0;if(!a){let e=[AH.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);d<l;)u=u.then(e[d++],e[d++]);return u}l=s.length;let h=t;for(d=0;d<l;){let e=s[d++],t=s[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{u=AH.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,l=c.length;d<l;)u=u.then(c[d++],c[d++]);return u}getUri(e){return $P(iB((e=ip(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}};$e.forEach(["delete","get","head","options"],(function(e){_4.prototype[e]=function(t,r){return this.request(ip(r||{},{method:e,url:t,data:(r||{}).data}))}})),$e.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(ip(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}_4.prototype[e]=t(),_4.prototype[e+"Form"]=t(!0)}));var oB=_4;m();var Wfe=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));let r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t,n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,i){r.reason||(r.reason=new Yg(e,n,i),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}},EQe=Wfe;function zfe(e){return function(t){return e.apply(null,t)}}function Kfe(e){return $e.isObject(e)&&!0===e.isAxiosError}m(),m(),m();var Hfe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Hfe).forEach((([e,t])=>{Hfe[t]=e}));var TQe=Hfe;function SQe(e){let t=new oB(e),r=YP(oB.prototype.request,t);return $e.extend(r,oB.prototype,t,{allOwnKeys:!0}),$e.extend(r,t,null,{allOwnKeys:!0}),r.create=function(t){return SQe(ip(e,t))},r}var ha=SQe(B4);ha.Axios=oB,ha.CanceledError=Yg,ha.CancelToken=EQe,ha.isCancel=rB,ha.VERSION=EH,ha.toFormData=bw,ha.AxiosError=an,ha.Cancel=ha.CanceledError,ha.all=function(e){return Promise.all(e)},ha.spread=zfe,ha.isAxiosError=Kfe,ha.mergeConfig=ip,ha.AxiosHeaders=Da,ha.formToJSON=e=>yH($e.isHTMLForm(e)?new FormData(e):e),ha.getAdapter=xH.getAdapter,ha.HttpStatusCode=TQe,ha.default=ha;var R4=ha,{Axios:u0n,AxiosError:l0n,CanceledError:f0n,isCancel:d0n,CancelToken:h0n,VERSION:p0n,all:g0n,Cancel:y0n,isAxiosError:m0n,spread:b0n,toFormData:v0n,AxiosHeaders:w0n,HttpStatusCode:x0n,formToJSON:A0n,getAdapter:E0n,mergeConfig:T0n}=R4;async function CQe(e){var t;let{params:r,method:n,url:i,headers:o,body:s,overrides:a}=e,c={headers:o,method:n,url:i,params:r,data:s,withCredentials:null==(t=a?.WITH_CREDENTIALS)||t};try{let e=await R4(c);return{status:e.status,statusText:e.statusText,data:e.data,headers:e.headers,config:e.config}}catch(e){let t=e;if(t.response)return t.response;throw e}}var qfe=class{constructor(e){this.network=e?.network??"devnet",this.fullnode=e?.fullnode,this.faucet=e?.faucet,this.pepper=e?.pepper,this.prover=e?.prover,this.indexer=e?.indexer,this.client=e?.client??{provider:CQe},this.clientConfig=e?.clientConfig??{},this.fullnodeConfig=e?.fullnodeConfig??{},this.indexerConfig=e?.indexerConfig??{},this.faucetConfig=e?.faucetConfig??{}}getRequestUrl(e){switch(e){case"Fullnode":if(void 0!==this.fullnode)return this.fullnode;if("custom"===this.network)throw new Error("Please provide a custom full node url");return $le[this.network];case"Faucet":if(void 0!==this.faucet)return this.faucet;if("custom"===this.network)throw new Error("Please provide a custom faucet url");return efe[this.network];case"Indexer":if(void 0!==this.indexer)return this.indexer;if("custom"===this.network)throw new Error("Please provide a custom indexer url");return Zle[this.network];case"Pepper":if(void 0!==this.pepper)return this.pepper;if("custom"===this.network)throw new Error("Please provide a custom pepper service url");return GK[this.network];case"Prover":if(void 0!==this.prover)return this.prover;if("custom"===this.network)throw new Error("Please provide a custom prover service url");return VK[this.network];default:throw Error(`apiType ${e} is not supported`)}}isPepperServiceRequest(e){return GK[this.network]===e}isProverServiceRequest(e){return VK[this.network]===e}};m(),m();var Ltr={typeParameters:[{constraints:[]}],parameters:[new Al,new Nu]};async function IQe(e){let{aptosConfig:t,sender:r,recipient:n,amount:i,coinType:o,options:s}=e;return ni({aptosConfig:t,sender:r,data:{function:"0x1::aptos_account::transfer_coins",typeArguments:[o??$1],functionArguments:[n,i],abi:Ltr},options:s})}var jfe=class{constructor(e){this.config=e}async transferCoinTransaction(e){return IQe({aptosConfig:this.config,...e})}};m(),m();var ww={BOOLEAN:"bool",U8:"u8",U16:"u16",U32:"u32",U64:"u64",U128:"u128",U256:"u256",ADDRESS:"address",STRING:"0x1::string::String",ARRAY:"vector<u8>"},Bh="0x4::token::Token";async function OQe(e){let{aptosConfig:t,digitalAssetAddress:r}=e,n={token_data_id:{_eq:st.from(r).toStringLong()}};return(await Pn({aptosConfig:t,query:{query:GVe,variables:{where_condition:n}},originMethod:"getDigitalAssetData"})).current_token_datas_v2[0]}async function PQe(e){let{aptosConfig:t,digitalAssetAddress:r}=e,n={token_data_id:{_eq:st.from(r).toStringLong()},amount:{_gt:0}};return(await Pn({aptosConfig:t,query:{query:wue,variables:{where_condition:n}},originMethod:"getCurrentDigitalAssetOwnership"})).current_token_ownerships_v2[0]}async function BQe(e){let{aptosConfig:t,ownerAddress:r,options:n}=e,i={owner_address:{_eq:st.from(r).toStringLong()},amount:{_gt:0}},o={query:wue,variables:{where_condition:i,offset:n?.offset,limit:n?.limit,order_by:n?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getOwnedDigitalAssets"})).current_token_ownerships_v2}async function MQe(e){let{aptosConfig:t,digitalAssetAddress:r,options:n}=e,i={token_data_id:{_eq:st.from(r).toStringLong()}},o={query:jVe,variables:{where_condition:i,offset:n?.offset,limit:n?.limit,order_by:n?.orderBy}};return(await Pn({aptosConfig:t,query:o,originMethod:"getDigitalAssetActivity"})).token_activities_v2}var Ftr={typeParameters:[],parameters:[new fn(To()),new Nu,new fn(To()),new fn(To()),new gc,new gc,new gc,new gc,new gc,new gc,new gc,new gc,new gc,new Nu,new Nu]};async function kQe(e){let{aptosConfig:t,options:r,creator:n}=e;return ni({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::create_collection",functionArguments:[new go(e.description),new Du(e.maxSupply??LE),new go(e.name),new go(e.uri),new Is(e.mutableDescription??!0),new Is(e.mutableRoyalty??!0),new Is(e.mutableURI??!0),new Is(e.mutableTokenDescription??!0),new Is(e.mutableTokenName??!0),new Is(e.mutableTokenProperties??!0),new Is(e.mutableTokenURI??!0),new Is(e.tokensBurnableByCreator??!0),new Is(e.tokensFreezableByCreator??!0),new Du(e.royaltyNumerator??0),new Du(e.royaltyDenominator??1)],abi:Ftr},options:r})}async function N4(e){let{aptosConfig:t,options:r}=e,n=r?.where;r?.tokenStandard&&(n.token_standard={_eq:r?.tokenStandard??"v2"});let i={query:UVe,variables:{where_condition:n,offset:r?.offset,limit:r?.limit}};return(await Pn({aptosConfig:t,query:i,originMethod:"getCollectionData"})).current_collections_v2[0]}async function _Qe(e){let{aptosConfig:t,creatorAddress:r,collectionName:n,options:i}=e,o={collection_name:{_eq:n},creator_address:{_eq:st.from(r).toStringLong()}};return i?.tokenStandard&&(o.token_standard={_eq:i?.tokenStandard??"v2"}),N4({aptosConfig:t,options:{...i,where:o}})}async function RQe(e){let{aptosConfig:t,creatorAddress:r,options:n}=e,i={creator_address:{_eq:st.from(r).toStringLong()}};return n?.tokenStandard&&(i.token_standard={_eq:n?.tokenStandard??"v2"}),N4({aptosConfig:t,options:{...n,where:i}})}async function NQe(e){let{aptosConfig:t,collectionId:r,options:n}=e,i={collection_id:{_eq:st.from(r).toStringLong()}};return n?.tokenStandard&&(i.token_standard={_eq:n?.tokenStandard??"v2"}),N4({aptosConfig:t,options:{...n,where:i}})}async function DQe(e){let{creatorAddress:t,collectionName:r,options:n,aptosConfig:i}=e,o={collection_name:{_eq:r},creator_address:{_eq:st.from(t).toStringLong()}};return n?.tokenStandard&&(o.token_standard={_eq:n?.tokenStandard??"v2"}),(await N4({aptosConfig:i,options:{where:o}})).collection_id}var Wtr={typeParameters:[],parameters:[new fn(To()),new fn(To()),new fn(To()),new fn(To()),new Zo(new fn(To())),new Zo(new fn(To())),new Zo(Zo.u8())]};async function UQe(e){let{aptosConfig:t,options:r,creator:n,collection:i,description:o,name:s,uri:a,propertyKeys:c,propertyTypes:u,propertyValues:l}=e,d=u?.map((e=>ww[e]));return ni({aptosConfig:t,sender:n.accountAddress,data:{function:"0x4::aptos_token::mint",functionArguments:[new go(i),new go(o),new go(s),new go(a),Yn.MoveString(c??[]),Yn.MoveString(d??[]),QQe(l??[],d??[])],abi:Wtr},options:r})}var ztr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new Al]};async function LQe(e){let{aptosConfig:t,sender:r,digitalAssetAddress:n,recipient:i,digitalAssetType:o,options:s}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::object::transfer",typeArguments:[o??Bh],functionArguments:[st.from(n),st.from(i)],abi:ztr},options:s})}var Ktr={typeParameters:[],parameters:[new fn(To()),new fn(To()),new fn(To()),new fn(To()),new Zo(new fn(To())),new Zo(new fn(To())),new Zo(Zo.u8()),new Al]};async function FQe(e){let{aptosConfig:t,account:r,collection:n,description:i,name:o,uri:s,recipient:a,propertyKeys:c,propertyTypes:u,propertyValues:l,options:d}=e;if(c?.length!==l?.length)throw new Error("Property keys and property values counts do not match");if(u?.length!==l?.length)throw new Error("Property types and property values counts do not match");let h=u?.map((e=>ww[e]));return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::mint_soul_bound",functionArguments:[n,i,o,s,Yn.MoveString(c??[]),Yn.MoveString(h??[]),QQe(l??[],h??[]),a],abi:Ktr},options:d})}var Htr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0)))]};async function WQe(e){let{aptosConfig:t,creator:r,digitalAssetAddress:n,digitalAssetType:i,options:o}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::burn",typeArguments:[i??Bh],functionArguments:[st.from(n)],abi:Htr},options:o})}var qtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0)))]};async function zQe(e){let{aptosConfig:t,creator:r,digitalAssetAddress:n,digitalAssetType:i,options:o}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::freeze_transfer",typeArguments:[i??Bh],functionArguments:[n],abi:qtr},options:o})}var jtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0)))]};async function KQe(e){let{aptosConfig:t,creator:r,digitalAssetAddress:n,digitalAssetType:i,options:o}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::unfreeze_transfer",typeArguments:[i??Bh],functionArguments:[n],abi:jtr},options:o})}var Gtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function HQe(e){let{aptosConfig:t,creator:r,description:n,digitalAssetAddress:i,digitalAssetType:o,options:s}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::set_description",typeArguments:[o??Bh],functionArguments:[st.from(i),new go(n)],abi:Gtr},options:s})}var Vtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function qQe(e){let{aptosConfig:t,creator:r,name:n,digitalAssetAddress:i,digitalAssetType:o,options:s}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::set_name",typeArguments:[o??Bh],functionArguments:[st.from(i),new go(n)],abi:Vtr},options:s})}var Jtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function jQe(e){let{aptosConfig:t,creator:r,uri:n,digitalAssetAddress:i,digitalAssetType:o,options:s}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::set_uri",typeArguments:[o??Bh],functionArguments:[st.from(i),new go(n)],abi:Jtr},options:s})}var Xtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fn(To()),Zo.u8()]};async function GQe(e){let{aptosConfig:t,creator:r,propertyKey:n,propertyType:i,propertyValue:o,digitalAssetAddress:s,digitalAssetType:a,options:c}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::add_property",typeArguments:[a??Bh],functionArguments:[st.from(s),new go(n),new go(ww[i]),Yn.U8(Gfe(o,ww[i]))],abi:Xtr},options:c})}var Ytr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To())]};async function VQe(e){let{aptosConfig:t,creator:r,propertyKey:n,digitalAssetAddress:i,digitalAssetType:o,options:s}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::remove_property",typeArguments:[o??Bh],functionArguments:[st.from(i),new go(n)],abi:Ytr},options:s})}var Qtr={typeParameters:[{constraints:["key"]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fn(To()),Zo.u8()]};async function JQe(e){let{aptosConfig:t,creator:r,propertyKey:n,propertyType:i,propertyValue:o,digitalAssetAddress:s,digitalAssetType:a,options:c}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::update_property",typeArguments:[a??Bh],functionArguments:[st.from(s),new go(n),new go(ww[i]),Gfe(o,ww[i])],abi:Qtr},options:c})}var Ztr={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fa(1)]};async function XQe(e){let{aptosConfig:t,creator:r,propertyKey:n,propertyType:i,propertyValue:o,digitalAssetAddress:s,digitalAssetType:a,options:c}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::add_typed_property",typeArguments:[a??Bh,ww[i]],functionArguments:[st.from(s),new go(n),o],abi:Ztr},options:c})}var $tr={typeParameters:[{constraints:["key"]},{constraints:[]}],parameters:[new fn(wf(new fa(0))),new fn(To()),new fa(1)]};async function YQe(e){let{aptosConfig:t,creator:r,propertyKey:n,propertyType:i,propertyValue:o,digitalAssetAddress:s,digitalAssetType:a,options:c}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x4::aptos_token::update_typed_property",typeArguments:[a??Bh,ww[i]],functionArguments:[st.from(s),new go(n),o],abi:$tr},options:c})}function QQe(e,t){let r=new Array;return t.forEach(((t,n)=>{r.push(Gfe(e[n],t))})),r}function Gfe(e,t){return n2(e,Ug(t),0,[]).bcsToBytes()}var Vfe=class{constructor(e){this.config=e}async getCollectionData(e){await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"});let{creatorAddress:t,collectionName:r,options:n}=e,i={collection_name:{_eq:r},creator_address:{_eq:st.from(t).toStringLong()}};return n?.tokenStandard&&(i.token_standard={_eq:n?.tokenStandard??"v2"}),N4({aptosConfig:this.config,options:{where:i}})}async getCollectionDataByCreatorAddressAndCollectionName(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),_Qe({aptosConfig:this.config,...e})}async getCollectionDataByCreatorAddress(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),RQe({aptosConfig:this.config,...e})}async getCollectionDataByCollectionId(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),NQe({aptosConfig:this.config,...e})}async getCollectionId(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),DQe({aptosConfig:this.config,...e})}async getDigitalAssetData(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),OQe({aptosConfig:this.config,...e})}async getCurrentDigitalAssetOwnership(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),PQe({aptosConfig:this.config,...e})}async getOwnedDigitalAssets(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),BQe({aptosConfig:this.config,...e})}async getDigitalAssetActivity(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),MQe({aptosConfig:this.config,...e})}async createCollectionTransaction(e){return kQe({aptosConfig:this.config,...e})}async mintDigitalAssetTransaction(e){return UQe({aptosConfig:this.config,...e})}async transferDigitalAssetTransaction(e){return LQe({aptosConfig:this.config,...e})}async mintSoulBoundTransaction(e){return FQe({aptosConfig:this.config,...e})}async burnDigitalAssetTransaction(e){return WQe({aptosConfig:this.config,...e})}async freezeDigitalAssetTransaferTransaction(e){return zQe({aptosConfig:this.config,...e})}async unfreezeDigitalAssetTransaferTransaction(e){return KQe({aptosConfig:this.config,...e})}async setDigitalAssetDescriptionTransaction(e){return HQe({aptosConfig:this.config,...e})}async setDigitalAssetNameTransaction(e){return qQe({aptosConfig:this.config,...e})}async setDigitalAssetURITransaction(e){return jQe({aptosConfig:this.config,...e})}async addDigitalAssetPropertyTransaction(e){return GQe({aptosConfig:this.config,...e})}async removeDigitalAssetPropertyTransaction(e){return VQe({aptosConfig:this.config,...e})}async updateDigitalAssetPropertyTransaction(e){return JQe({aptosConfig:this.config,...e})}async addDigitalAssetTypedPropertyTransaction(e){return XQe({aptosConfig:this.config,...e})}async updateDigitalAssetTypedPropertyTransaction(e){return YQe({aptosConfig:this.config,...e})}};m(),m();var ZQe=300,err=e=>{if(e&&e.length>ZQe)throw new Error(`Event type length exceeds the maximum length of ${ZQe}`)};async function $Qe(e){let{aptosConfig:t,eventType:r,options:n}=e;return sB({aptosConfig:t,options:{...n,where:{_or:[{account_address:{_eq:r.split("::")[0]}},{account_address:{_eq:"0x0000000000000000000000000000000000000000000000000000000000000000"},sequence_number:{_eq:0},creation_number:{_eq:0}}],indexed_type:{_eq:r}}}})}async function eZe(e){let{accountAddress:t,aptosConfig:r,creationNumber:n,options:i}=e;return sB({aptosConfig:r,options:{...i,where:{account_address:{_eq:st.from(t).toStringLong()},creation_number:{_eq:n}}}})}async function tZe(e){let{accountAddress:t,aptosConfig:r,eventType:n,options:i}=e;return sB({aptosConfig:r,options:{...i,where:{account_address:{_eq:st.from(t).toStringLong()},indexed_type:{_eq:n}}}})}async function sB(e){let{aptosConfig:t,options:r}=e;err(r?.where?.indexed_type?._eq);let n={query:WVe,variables:{where_condition:r?.where,offset:r?.offset,limit:r?.limit,order_by:r?.orderBy}};return(await Pn({aptosConfig:t,query:n,originMethod:"getEvents"})).events}var Jfe=class{constructor(e){this.config=e}async getModuleEventsByEventType(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),$Qe({aptosConfig:this.config,...e})}async getAccountEventsByCreationNumber(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),eZe({aptosConfig:this.config,...e})}async getAccountEventsByEventType(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"events_processor"}),tZe({aptosConfig:this.config,...e})}async getEvents(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"events_processor"}),sB({aptosConfig:this.config,...e})}};async function rZe(e){let{aptosConfig:t,accountAddress:r,amount:n,options:i}=e,o=i?.timeoutSecs||20,{data:s}=await Bue({aptosConfig:t,path:"fund",body:{address:st.from(r).toString(),amount:n},originMethod:"fundAccount"}),a=s.txn_hashes[0],c=await T4({aptosConfig:t,transactionHash:a,options:{timeoutSecs:o,checkSuccess:i?.checkSuccess}});if("user_transaction"===c.type)return c;throw new Error(`Unexpected transaction received for fund account: ${c.type}`)}m(),m();var Xfe=class{constructor(e){this.config=e}async fundAccount(e){let t=await rZe({aptosConfig:this.config,...e});return(void 0===e.options?.waitForIndexer||e.options?.waitForIndexer)&&await jK({aptosConfig:this.config,minimumLedgerVersion:BigInt(t.version),processorType:"fungible_asset_processor"}),t}};async function SH(e){let{aptosConfig:t,options:r}=e,n={query:KVe,variables:{where_condition:r?.where,limit:r?.limit,offset:r?.offset}};return(await Pn({aptosConfig:t,query:n,originMethod:"getFungibleAssetMetadata"})).fungible_asset_metadata}async function nZe(e){let{aptosConfig:t,options:r}=e,n={query:zVe,variables:{where_condition:r?.where,limit:r?.limit,offset:r?.offset}};return(await Pn({aptosConfig:t,query:n,originMethod:"getFungibleAssetActivities"})).fungible_asset_activities}async function iZe(e){let{aptosConfig:t,options:r}=e,n={query:LVe,variables:{where_condition:r?.where,limit:r?.limit,offset:r?.offset}};return(await Pn({aptosConfig:t,query:n,originMethod:"getCurrentFungibleAssetBalances"})).current_fungible_asset_balances}m(),m();var trr={typeParameters:[{constraints:[]}],parameters:[Ug("0x1::object::Object"),new Al,new Nu]};async function oZe(e){let{aptosConfig:t,sender:r,fungibleAssetMetadataAddress:n,recipient:i,amount:o,options:s}=e;return ni({aptosConfig:t,sender:r.accountAddress,data:{function:"0x1::primary_fungible_store::transfer",typeArguments:["0x1::fungible_asset::Metadata"],functionArguments:[n,i,o],abi:trr},options:s})}var Yfe=class{constructor(e){this.config=e}async getFungibleAssetMetadata(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"fungible_asset_processor"}),SH({aptosConfig:this.config,...e})}async getFungibleAssetMetadataByAssetType(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"fungible_asset_processor"}),(await SH({aptosConfig:this.config,options:{where:{asset_type:{_eq:e.assetType}}}}))[0]}async getFungibleAssetMetadataByCreatorAddress(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"fungible_asset_processor"}),await SH({aptosConfig:this.config,options:{where:{creator_address:{_eq:st.from(e.creatorAddress).toStringLong()}}}})}async getFungibleAssetActivities(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"fungible_asset_processor"}),nZe({aptosConfig:this.config,...e})}async getCurrentFungibleAssetBalances(e){return await zn({config:this.config,minimumLedgerVersion:e?.minimumLedgerVersion,processorType:"fungible_asset_processor"}),iZe({aptosConfig:this.config,...e})}async transferFungibleAsset(e){return oZe({aptosConfig:this.config,...e})}};async function Mh(e){let{aptosConfig:t,payload:r,options:n}=e,i=await tfe({...r,aptosConfig:t}),o=new Ru;i.serialize(o);let s=o.toUint8Array(),{data:a}=await jm({aptosConfig:t,path:"view",originMethod:"view",contentType:"application/x.aptos.view_function+bcs",params:{ledger_version:n?.ledgerVersion},body:s});return a}async function sZe(e){let{aptosConfig:t,payload:r,options:n}=e,{data:i}=await jm({aptosConfig:t,originMethod:"viewJson",path:"view",params:{ledger_version:n?.ledgerVersion},body:{function:r.function,type_arguments:r.typeArguments??[],arguments:r.functionArguments??[]}});return i}m(),m();var Qfe=class{constructor(e){this.config=e}async getLedgerInfo(){return oK({aptosConfig:this.config})}async getChainId(){return(await this.getLedgerInfo()).chain_id}async getBlockByVersion(e){return uYe({aptosConfig:this.config,...e})}async getBlockByHeight(e){return lYe({aptosConfig:this.config,...e})}async view(e){return Mh({aptosConfig:this.config,...e})}async viewJson(e){return sZe({aptosConfig:this.config,...e})}async getChainTopUserTransactions(e){return oJe({aptosConfig:this.config,...e})}async queryIndexer(e){return Pn({aptosConfig:this.config,...e})}async getIndexerLastSuccessVersion(){return sK({aptosConfig:this.config})}async getProcessorStatus(e){return aK({aptosConfig:this.config,processorType:e})}};m();var Zfe=class{constructor(e){this.config=e}async getAccountInfo(e){return Jg({aptosConfig:this.config,...e})}async getAccountModules(e){return JXe({aptosConfig:this.config,...e})}async getAccountModule(e){return KK({aptosConfig:this.config,...e})}async getAccountTransactions(e){return XXe({aptosConfig:this.config,...e})}async getAccountResources(e){return YXe({aptosConfig:this.config,...e})}async getAccountResource(e){return Kle({aptosConfig:this.config,...e})}async lookupOriginalAccountAddress(e){return E4({aptosConfig:this.config,...e})}async getAccountTokensCount(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"account_transactions_processor"}),QXe({aptosConfig:this.config,...e})}async getAccountOwnedTokens(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),ZXe({aptosConfig:this.config,...e})}async getAccountOwnedTokensFromCollectionAddress(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),$Xe({aptosConfig:this.config,...e})}async getAccountCollectionsWithOwnedTokens(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"token_v2_processor"}),eYe({aptosConfig:this.config,...e})}async getAccountTransactionsCount(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"account_transactions_processor"}),tYe({aptosConfig:this.config,...e})}async getAccountCoinsData(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"fungible_asset_processor"}),rYe({aptosConfig:this.config,...e})}async getAccountCoinsCount(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"fungible_asset_processor"}),nYe({aptosConfig:this.config,...e})}async getAccountAPTAmount(e){return this.getAccountCoinAmount({coinType:$1,faMetadataAddress:Uue,...e})}async getAccountCoinAmount(e){let{accountAddress:t,coinType:r,faMetadataAddress:n,minimumLedgerVersion:i}=e;i&&console.warn("minimumLedgerVersion is not used anymore, here for backward \n        compatibility see https://github.com/aptos-labs/aptos-ts-sdk/pull/519, \n        will be removed in the near future");let o,s=r;if(void 0===r&&void 0!==n&&(s=await Gg((async()=>{try{let e=(await Mh({aptosConfig:this.config,payload:{function:"0x1::coin::paired_coin",functionArguments:[n]}})).at(0);if(e.vec.length>0&&Sue(e.vec[0]))return Tue(e.vec[0])}catch{}}),`coin-mapping-${n.toString()}`,3e5)()),void 0!==r&&void 0!==n)o=st.from(n).toStringLong();else if(void 0!==r&&void 0===n)o=r===$1?st.A.toStringLong():zK(st.A,r).toStringLong();else{if(void 0!==r||void 0===n)throw new Error("Either coinType, faMetadataAddress, or both must be provided");{let e=st.from(n);o=e.toStringLong(),e===st.A&&(s=$1)}}if(void 0!==s){let[e]=await Mh({aptosConfig:this.config,payload:{function:"0x1::coin::balance",typeArguments:[s],functionArguments:[t]}});return parseInt(e,10)}let[a]=await Mh({aptosConfig:this.config,payload:{function:"0x1::primary_fungible_store::balance",typeArguments:["0x1::object::ObjectCore"],functionArguments:[t,o]}});return parseInt(a,10)}async getAccountOwnedObjects(e){return await zn({config:this.config,minimumLedgerVersion:e.minimumLedgerVersion,processorType:"default_processor"}),iYe({aptosConfig:this.config,...e})}async deriveAccountFromPrivateKey(e){return oYe({aptosConfig:this.config,...e})}};m(),m();var aZe=["A name must be between 3 and 63 characters long,","and can only contain lowercase a-z, 0-9, and hyphens.","A name may not start or end with a hyphen."].join(" ");function cZe(e){return!(!e||e.length<3||e.length>63||!/^[a-z\d][a-z\d-]{1,61}[a-z\d]$/.test(e))}function xw(e){let[t,r,...n]=e.replace(/\.apt$/,"").split(".");if(n.length>0)throw new Error(`${e} is invalid. A name can only have two parts, a domain and a subdomain separated by a "."`);if(!cZe(t))throw new Error(`${t} is not valid. ${aZe}`);if(r&&!cZe(r))throw new Error(`${r} is not valid. ${aZe}`);return{domainName:r||t,subdomainName:r?t:void 0}}var rrr=(e=>(e[e.Independent=0]="Independent",e[e.FollowsDomain=1]="FollowsDomain",e))(rrr||{});function uZe(e){if(!e)return!1;let t=new Date(e.domain_expiration_timestamp).getTime()<Date.now(),r=new Date(e.expiration_timestamp).getTime()<Date.now();return(!e.subdomain||!t)&&(!(!e.subdomain||1!==e.subdomain_expiration_policy)||!r)}var nrr="0x585fc9f0f0c54183b039ffc770ca282ebd87307916c215a3e692f2f8e4305e82",irr={testnet:"0x5f8fd2347449685cf41d4db97926ec3a096eaf381332be4f1318ad4d16a8497c",mainnet:"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c",local:nrr,custom:null,devnet:null};function rb(e){let t=irr[e.network];if(!t)throw new Error(`The ANS contract is not deployed to ${e.network}`);return t}var CH=e=>{if(e&&"object"==typeof e&&"vec"in e&&Array.isArray(e.vec))return e.vec[0]};async function lZe(e){let{aptosConfig:t,name:r}=e,n=rb(t),{domainName:i,subdomainName:o}=xw(r),s=await Mh({aptosConfig:t,payload:{function:`${n}::router::get_owner_addr`,functionArguments:[i,o]}}),a=CH(s[0]);return a?st.from(a):void 0}async function fZe(e){let{aptosConfig:t,expiration:r,name:n,sender:i,targetAddress:o,toAddress:s,options:a,transferable:c}=e,u=rb(t),{domainName:l,subdomainName:d}=xw(n),h="subdomain:independent"===r.policy||"subdomain:follow-domain"===r.policy;if(d&&!h)throw new Error("Subdomains must have an expiration policy of either 'subdomain:independent' or 'subdomain:follow-domain'");if(h&&!d)throw new Error(`Policy is set to ${r.policy} but no subdomain was provided`);if("domain"===r.policy){let e=r.years??1;if(1!==e)throw new Error("For now, names can only be registered for 1 year at a time");let n=31536e3*e;return await ni({aptosConfig:t,sender:i.accountAddress.toString(),data:{function:`${u}::router::register_domain`,functionArguments:[l,n,o,s]},options:a})}if(!d)throw new Error(`${r.policy} requires a subdomain to be provided.`);let f=await $fe({aptosConfig:t,name:l});if(!f)throw new Error("The domain does not exist");let p="subdomain:independent"===r.policy?r.expirationDate:f;if(p>f)throw new Error("The subdomain expiration time cannot be greater than the domain expiration time");return await ni({aptosConfig:t,sender:i.accountAddress.toString(),data:{function:`${u}::router::register_subdomain`,functionArguments:[l,d,Math.round(p/1e3),"subdomain:follow-domain"===r.policy?1:0,!!c,o,s]},options:a})}async function $fe(e){let{aptosConfig:t,name:r}=e,n=rb(t),{domainName:i,subdomainName:o}=xw(r);try{let e=await Mh({aptosConfig:t,payload:{function:`${n}::router::get_expiration`,functionArguments:[i,o]}});return 1e3*Number(e[0])}catch{return}}async function dZe(e){let{aptosConfig:t,address:r}=e,n=rb(t),i=await Mh({aptosConfig:t,payload:{function:`${n}::router::get_primary_name`,functionArguments:[st.from(r).toString()]}}),o=CH(i[1]),s=CH(i[0]);if(o)return[s,o].filter(Boolean).join(".")}async function hZe(e){let{aptosConfig:t,sender:r,name:n,options:i}=e,o=rb(t);if(!n)return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${o}::router::clear_primary_name`,functionArguments:[]},options:i});let{domainName:s,subdomainName:a}=xw(n);return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${o}::router::set_primary_name`,functionArguments:[s,a]},options:i})}async function pZe(e){let{aptosConfig:t,name:r}=e,n=rb(t),{domainName:i,subdomainName:o}=xw(r),s=await Mh({aptosConfig:t,payload:{function:`${n}::router::get_target_addr`,functionArguments:[i,o]}}),a=CH(s[0]);return a?st.from(a):void 0}async function gZe(e){let{aptosConfig:t,sender:r,name:n,address:i,options:o}=e,s=rb(t),{domainName:a,subdomainName:c}=xw(n);return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${s}::router::set_target_addr`,functionArguments:[a,c,i]},options:o})}async function yZe(e){let{aptosConfig:t,name:r}=e,{domainName:n,subdomainName:i=""}=xw(r),o=(await Pn({aptosConfig:t,query:{query:t4,variables:{where_condition:{domain:{_eq:n},subdomain:{_eq:i}},limit:1}},originMethod:"getName"})).current_aptos_names[0];return o&&(o=aB(o)),uZe(o)?o:void 0}async function mZe(e){let{aptosConfig:t,options:r,accountAddress:n}=e,i=await ede({aptosConfig:t});return(await Pn({aptosConfig:t,originMethod:"getAccountNames",query:{query:t4,variables:{limit:r?.limit,offset:r?.offset,order_by:r?.orderBy,where_condition:{...e.options?.where??{},owner_address:{_eq:n.toString()},expiration_timestamp:{_gte:i}}}}})).current_aptos_names.map(aB)}async function bZe(e){let{aptosConfig:t,options:r,accountAddress:n}=e,i=await ede({aptosConfig:t});return(await Pn({aptosConfig:t,originMethod:"getAccountDomains",query:{query:t4,variables:{limit:r?.limit,offset:r?.offset,order_by:r?.orderBy,where_condition:{...e.options?.where??{},owner_address:{_eq:n.toString()},expiration_timestamp:{_gte:i},subdomain:{_eq:""}}}}})).current_aptos_names.map(aB)}async function vZe(e){let{aptosConfig:t,options:r,accountAddress:n}=e,i=await ede({aptosConfig:t});return(await Pn({aptosConfig:t,originMethod:"getAccountSubdomains",query:{query:t4,variables:{limit:r?.limit,offset:r?.offset,order_by:r?.orderBy,where_condition:{...e.options?.where??{},owner_address:{_eq:n.toString()},expiration_timestamp:{_gte:i},subdomain:{_neq:""}}}}})).current_aptos_names.map(aB)}async function wZe(e){let{aptosConfig:t,options:r,domain:n}=e;return(await Pn({aptosConfig:t,originMethod:"getDomainSubdomains",query:{query:t4,variables:{limit:r?.limit,offset:r?.offset,order_by:r?.orderBy,where_condition:{...e.options?.where??{},domain:{_eq:n},subdomain:{_neq:""}}}}})).current_aptos_names.map(aB).filter(uZe)}async function ede(e){let{aptosConfig:t}=e,r=rb(t),[n]=await Mh({aptosConfig:t,payload:{function:`${r}::config::reregistration_grace_sec`,functionArguments:[]}}),i=n/60/60/24,o=()=>new Date;return new Date(o().setDate(o().getDate()-i)).toISOString()}async function xZe(e){let{aptosConfig:t,sender:r,name:n,years:i=1,options:o}=e,s=rb(t),a=31536e3*i,{domainName:c,subdomainName:u}=xw(n);if(u)throw new Error("Subdomains cannot be renewed");if(1!==i)throw new Error("Currently, only 1 year renewals are supported");return await ni({aptosConfig:t,sender:r.accountAddress.toString(),data:{function:`${s}::router::renew_domain`,functionArguments:[c,a]},options:o})}function aB(e){return{...e,expiration_timestamp:new Date(e.expiration_timestamp).getTime()}}var tde=class{constructor(e){this.config=e}async getOwnerAddress(e){return lZe({aptosConfig:this.config,...e})}async getExpiration(e){return $fe({aptosConfig:this.config,...e})}async getTargetAddress(e){return pZe({aptosConfig:this.config,...e})}async setTargetAddress(e){return gZe({aptosConfig:this.config,...e})}async getPrimaryName(e){return dZe({aptosConfig:this.config,...e})}async setPrimaryName(e){return hZe({aptosConfig:this.config,...e})}async registerName(e){return fZe({aptosConfig:this.config,...e})}async renewDomain(e){return xZe({aptosConfig:this.config,...e})}async getName(e){return yZe({aptosConfig:this.config,...e})}async getAccountNames(e){return mZe({aptosConfig:this.config,...e})}async getAccountDomains(e){return bZe({aptosConfig:this.config,...e})}async getAccountSubdomains(e){return vZe({aptosConfig:this.config,...e})}async getDomainSubdomains(e){return wZe({aptosConfig:this.config,...e})}},Sf=class{constructor(e){this.config=new qfe(e),this.account=new Zfe(this.config),this.ans=new tde(this.config),this.coin=new jfe(this.config),this.digitalAsset=new Vfe(this.config),this.event=new Jfe(this.config),this.faucet=new Xfe(this.config),this.fungibleAsset=new Yfe(this.config),this.general=new Qfe(this.config),this.staking=new lfe(this.config),this.transaction=new mfe(this.config),this.table=new ffe(this.config),this.keyless=new cfe(this.config),this.object=new ufe(this.config)}};function Ed(e,t,r){Object.getOwnPropertyNames(t.prototype).forEach((n=>{let i=Object.getOwnPropertyDescriptor(t.prototype,n);i&&(i.value=function(...e){return this[r][n](...e)},Object.defineProperty(e.prototype,n,i))}))}Ed(Sf,Zfe,"account"),Ed(Sf,tde,"ans"),Ed(Sf,jfe,"coin"),Ed(Sf,Vfe,"digitalAsset"),Ed(Sf,Jfe,"event"),Ed(Sf,Xfe,"faucet"),Ed(Sf,Yfe,"fungibleAsset"),Ed(Sf,Qfe,"general"),Ed(Sf,lfe,"staking"),Ed(Sf,mfe,"transaction"),Ed(Sf,ffe,"table"),Ed(Sf,cfe,"keyless"),Ed(Sf,ufe,"object"),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m(),m();var AZe=(e=>(e.JSON="application/json",e.BCS="application/x-bcs",e.BCS_SIGNED_TRANSACTION="application/x.aptos.signed_transaction+bcs",e.BCS_VIEW_FUNCTION="application/x.aptos.view_function+bcs",e))(AZe||{}),EZe=(e=>(e[e.Bool=0]="Bool",e[e.U8=1]="U8",e[e.U64=2]="U64",e[e.U128=3]="U128",e[e.Address=4]="Address",e[e.Signer=5]="Signer",e[e.Vector=6]="Vector",e[e.Struct=7]="Struct",e[e.U16=8]="U16",e[e.U32=9]="U32",e[e.U256=10]="U256",e[e.Reference=254]="Reference",e[e.Generic=255]="Generic",e))(EZe||{}),TZe=(e=>(e[e.U8=0]="U8",e[e.U64=1]="U64",e[e.U128=2]="U128",e[e.Address=3]="Address",e[e.U8Vector=4]="U8Vector",e[e.Bool=5]="Bool",e[e.U16=6]="U16",e[e.U32=7]="U32",e[e.U256=8]="U256",e[e.Serialized=9]="Serialized",e))(TZe||{}),SZe=(e=>(e[e.Script=0]="Script",e[e.EntryFunction=2]="EntryFunction",e[e.Multisig=3]="Multisig",e))(SZe||{}),CZe=(e=>(e[e.MultiAgentTransaction=0]="MultiAgentTransaction",e[e.FeePayerTransaction=1]="FeePayerTransaction",e))(CZe||{}),IZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.MultiEd25519=1]="MultiEd25519",e[e.MultiAgent=2]="MultiAgent",e[e.FeePayer=3]="FeePayer",e[e.SingleSender=4]="SingleSender",e))(IZe||{}),OZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.MultiEd25519=1]="MultiEd25519",e[e.SingleKey=2]="SingleKey",e[e.MultiKey=3]="MultiKey",e[e.NoAccountAuthenticator=4]="NoAccountAuthenticator",e))(OZe||{}),PZe=(e=>(e.Ed25519="ed25519",e.Secp256k1="secp256k1",e))(PZe||{}),BZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1=1]="Secp256k1",e[e.Keyless=3]="Keyless",e[e.FederatedKeyless=4]="FederatedKeyless",e))(BZe||{}),MZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1=1]="Secp256k1",e[e.Keyless=3]="Keyless",e))(MZe||{}),kZe=(e=>(e[e.Ed25519=0]="Ed25519",e))(kZe||{}),_Ze=(e=>(e[e.Ed25519=0]="Ed25519",e))(_Ze||{}),RZe=(e=>(e[e.ZkProof=0]="ZkProof",e))(RZe||{}),NZe=(e=>(e[e.Groth16=0]="Groth16",e))(NZe||{}),DZe=(e=>(e.Pending="pending_transaction",e.User="user_transaction",e.Genesis="genesis_transaction",e.BlockMetadata="block_metadata_transaction",e.StateCheckpoint="state_checkpoint_transaction",e.Validator="validator_transaction",e.BlockEpilogue="block_epilogue_transaction",e))(DZe||{}),UZe=(e=>(e.PRIVATE="private",e.PUBLIC="public",e.FRIEND="friend",e))(UZe||{}),LZe=(e=>(e.STORE="store",e.DROP="drop",e.KEY="key",e.COPY="copy",e))(LZe||{}),FZe=(e=>(e.VALIDATOR="validator",e.FULL_NODE="full_node",e))(FZe||{}),rde=(e=>(e[e.Ed25519=0]="Ed25519",e[e.MultiEd25519=1]="MultiEd25519",e[e.SingleKey=2]="SingleKey",e[e.MultiKey=3]="MultiKey",e))(rde||{}),WZe=(e=>(e[e.Ed25519=0]="Ed25519",e[e.Secp256k1Ecdsa=2]="Secp256k1Ecdsa",e))(WZe||{}),zZe=(e=>(e[e.DeriveAuid=251]="DeriveAuid",e[e.DeriveObjectAddressFromObject=252]="DeriveObjectAddressFromObject",e[e.DeriveObjectAddressFromGuid=253]="DeriveObjectAddressFromGuid",e[e.DeriveObjectAddressFromSeed=254]="DeriveObjectAddressFromSeed",e[e.DeriveResourceAccountAddress=255]="DeriveResourceAccountAddress",e))(zZe||{});m(),m();var nde="aptos:mainnet";m(),m();var orr=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},srr=function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},IH;function D4(e){let t=({register:t})=>t(e);try{window.dispatchEvent(new ide(t))}catch(e){console.error("wallet-standard:register-wallet event could not be dispatched\n",e)}try{window.addEventListener("wallet-standard:app-ready",(({detail:e})=>t(e)))}catch(e){console.error("wallet-standard:app-ready event listener could not be added\n",e)}}var ide=class extends Event{get detail(){return orr(this,IH,"f")}get type(){return"wallet-standard:register-wallet"}constructor(e){super("wallet-standard:register-wallet",{bubbles:!1,cancelable:!1,composed:!1}),IH.set(this,void 0),srr(this,IH,e,"f")}preventDefault(){throw new Error("preventDefault cannot be called")}stopImmediatePropagation(){throw new Error("stopImmediatePropagation cannot be called")}stopPropagation(){throw new Error("stopPropagation cannot be called")}};IH=new WeakMap,m();var U4=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},L4=function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},OH,PH,BH,MH,kH,_H,F4=class e{get address(){return U4(this,OH,"f")}get publicKey(){return U4(this,PH,"f").slice()}get chains(){return U4(this,BH,"f").slice()}get features(){return U4(this,MH,"f").slice()}get label(){return U4(this,kH,"f")}get icon(){return U4(this,_H,"f")}constructor(t){OH.set(this,void 0),PH.set(this,void 0),BH.set(this,void 0),MH.set(this,void 0),kH.set(this,void 0),_H.set(this,void 0),new.target===e&&Object.freeze(this),L4(this,OH,t.address,"f"),L4(this,PH,t.publicKey.slice(),"f"),L4(this,BH,t.chains.slice(),"f"),L4(this,MH,t.features.slice(),"f"),L4(this,kH,t.label,"f"),L4(this,_H,t.icon,"f")}};OH=new WeakMap,PH=new WeakMap,BH=new WeakMap,MH=new WeakMap,kH=new WeakMap,_H=new WeakMap,m();var KZe=(e=>(e[e.Unauthorized=4100]="Unauthorized",e[e.Unsupported=4200]="Unsupported",e[e.InternalError=-30001]="InternalError",e))(KZe||{}),arr=Object.freeze({4100:{status:"Unauthorized",message:"The requested method and/or account has not been authorized by the user."},[-30001]:{status:"Internal error",message:"Something went wrong within the wallet."},4200:{status:"Unsupported",message:"The requested feature is not supported."}});m();var HZe=(e=>(e.APPROVED="Approved",e.REJECTED="Rejected",e))(HZe||{});m();var ode=class extends mf{url="";version="1.0.0";name="OKX Connect Kit";icon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAA21BMVEUAAACl90Cp90Gx/U2b7i6x/Eyx+02b7S6x/U2n9Dyb7S6w/Eyb7iyb7i6x/U2a7Syd7i+a7S2e7zCc7y+b7i2b7Cyb7TAAAACc7i6k9Dqd7zCe8DGx/E2u+0mm9T6w/Eun9j+v+0qr+USt+kib7Syp90Gj8zif8DKh8jat+keg8jWo9kCf8TOl9T2s+UWq+EKl9Dui8jey/U4UHgac7y9WfSM+WxVmmSVqmypklyIWHwlVfCFQeRpReRyS1zaHyy4eLQpyqClGahgKEASe5zspPQ6BuzVhjChJbByn8W1OAAAAF3RSTlMAIP3v779wgH8QcN+/oJ9w39+/v7+/cPahM/QAAAcoSURBVGjejJHdahtRDISVGJuEQG5z47/d4AuzxAuG0NBAaEn/3v+JuvNZqmyvWDo+R5ojjTRZYo77u/nDcnnU73gcCEwFcITG5YXMNUGV0Mzmixs7x818GWBfRj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aGTS48TsQ98poXGMT12a2cnkn+cK1+MzkxNznF9DvZ7qdxBG7olKVOkRk4yKnBs4hR5MgudIxTgUan+AQg1EcmqB8wmN4iS1XNkspo/l6UpucmWWOLnMV9dU7WlWgPH04uDvc64ueEY3kfHf4+3H07NY/AcKFJGADN2nOAAAAABJRU5ErkJggg==";chains=[nde];accounts=[];get features(){return{[iue]:{version:"1.0.0",connect:this.connect.bind(this)},[sue]:{version:"1.0.0",account:this.getAccount.bind(this)},[aue]:{version:"1.0.0",network:this.getNetwork.bind(this)},[oue]:{version:"1.0.0",disconnect:this.disconnect.bind(this)},[rue]:{version:"1.0.0",signMessage:this.signMessage.bind(this)},[nue]:{version:"1.0.0",signTransaction:this.signTransaction.bind(this)},[tue]:{version:"1.1.0",signAndSubmitTransaction:this.signAndSubmitTransaction.bind(this)},[cue]:{version:"1.0.0",onAccountChange:this.onAccountChange.bind(this)},[uue]:{version:"1.0.0",onNetworkChange:this.onNetworkChange.bind(this)}}}provider;lastSession=null;get isConnected(){return this.provider.isConnected}constructor(e){super(),this.provider=e}createProxy(){let e=new Proxy(this,bf());return this.addAip62Support(e),e}connect=async()=>{try{await this.provider.connect(),this.lastSession=this.provider.session;let e=await this.getAccount();return e&&(this.accounts=[e]),this.logger.info("connect",e),e}catch(e){let t=jv(e);throw this.getLogger().error("connect error",t),t}};disconnect=async()=>{await this.provider.disconnect(),this.logger.info("disconnect"),this.accounts=[]};async request(e){return await this.provider.request(e)}getAccount=async()=>Promise.resolve(this.provider.getAccount());getNetwork=async()=>Promise.resolve({name:JK.MAINNET,chainId:1});signTransaction=async(e,t)=>{try{let r=await this.provider.signTransaction(e,t);if(!r)throw new Lo("signTransaction error",4900);return r}catch(e){let t=jv(e);throw this.getLogger().error("signTransaction error",t),t}};signMessage=async e=>{try{let t=await this.provider.signMessage(e);if(!t)throw new Lo("signMessage error",4900);return t}catch(e){let t=jv(e);throw this.getLogger().error("signMessage error",t),t}};signAndSubmitTransaction=async e=>{try{let t=await this.provider.signAndSubmitTransaction(e);if(!t)throw new Lo("signMessage error",4900);return t}catch(e){let t=jv(e);throw this.getLogger().error("signAndSubmitTransaction error",t),t}};providerCallback(e,t){switch(e){case"connect":case"session_update":this.sessionUpdateCallback(t);break;case"session_delete":this.sessionDeleteCallback(t);break;default:this.getLogger().warn(`provider callback not implemented: ${e}`)}}onAccountChange=e=>(this.on("accountChanged",(t=>{e(t)})),Promise.resolve());onNetworkChange=e=>(this.on("chainChanged",(t=>{e(t)})),Promise.resolve());async sessionUpdateCallback(e){if(this.lastSession?.chains[0]!==e?.chains[0]&&this.emit("chainChanged",e?.chains[0]),this.lastSession?.accounts[0]!==e?.accounts[0]){let e=await this.getAccount();this.emit("accountChanged",e),this.accounts=[e]}this.lastSession=e}sessionDeleteCallback(e){this.logger.info("disconnected"),this.lastSession=null,this.emit("accountChanged",null),this.emit("chainChanged",null),this.accounts=[]}addAip62Support(e){D4(e)}},qZe=ode;m();var jZe=hi(yg()),sde=class e extends $l{parseResponse(){throw new Error("Method not implemented.")}universalProvider;static provider;client;static initialized=!1;constructor(){super()}get isConnected(){return this.client?.connected()||!1}get defaultChainId(){return this.universalProvider?.getDefaultChainIdByNetwork("ton")}get wallet(){return this.client?.wallet()}static init(t){return this.initialized||(this.provider=new e,this.provider.setupClient(t),e.initialized=!0),this.provider}async request(e){return this.universalProvider?.request(e,"ton")}async connect(e){try{return await this.universalProvider.connect({tonItems:e})}catch(e){throw this.logger.error(e?.message),e}}async disconnect(){try{await this.universalProvider.disconnect()}catch(e){throw this.logger.error(e?.message),e}}setupClient(e){if(this.client)return void this.logger.info("client already initialized");let t=e.getClient();t&&(this.universalProvider=e,this.client=new jZe.OKXTonProvider(t))}getAccount(){if(!this.client)throw new Lo("Client not initialized",4900);return this.client.account()}async sendTransaction(e){if(!this.client)throw new Lo("Client not initialized",4900);try{return await this.client.sendTransaction(e)}catch(e){throw this.logger.error(e?.message),e}}},GZe=sde;m();var nb=hi(yg());m();var VZe={name:"@okxconnect/connect-kit",version:"1.6.0",private:!1,main:"./dist/index.js",types:"./dist/index.d.ts",exports:"./dist/index.js",files:["dist","README.md","README-CN.md","CHANGELOG.md","!dist/*.map"],license:"MIT",scripts:{dev:"NODE_ENV=development node esbuild.config.js --watch","build:ts-declaration":"tsc --emitDeclarationOnly","build:esbuild":"node esbuild.config.js",build:"npm run build:esbuild & npm run build:ts-declaration","parse:evmChains":"node scripts/parseEip155Chains.js"},devDependencies:{esbuild:"^0.24.0",eslint:"^8.57.0","node-stdlib-browser":"^1.3.0",typescript:"5.5.4"},dependencies:{"@aptos-labs/ts-sdk":"1.33.0","@aptos-labs/wallet-standard":"0.2.0","@mysten/sui":"1.16.0","@mysten/wallet-standard":"0.13.16","@okxconnect/aptos-provider":"1.9.0","@okxconnect/solana-provider":"1.9.0","@okxconnect/sui-provider":"1.9.0","@okxconnect/universal-provider":"1.9.0","@tronweb3/tronwallet-abstract-adapter":"1.1.8",eventemitter3:"5.0.1",tronweb:"6.0.0","bitcoinjs-lib":"7.0.0-rc.0"}},urr="okxTonWallet",JZe="Unsupported protocol version",ade=2;function XZe(){return{platform:"MiniApp",appName:urr,appVersion:VZe.version,maxProtocolVersion:ade,features:["SendTransaction",{name:"SendTransaction",maxMessages:4}]}}function YZe(e=[]){return e.reduce(((e,t)=>(e[t.name]={...t},e)),{})}var cde=class extends mf{tonProvider;lastSession=null;tonCallbacks=[];isDisconnect=!1;constructor(e){super(),this.tonProvider=e}get account(){return this.tonProvider.getAccount()||null}get walletInfo(){return this.tonProvider.wallet}get deviceInfo(){return XZe()}get protocolVersion(){return ade}createProxy(){return new Proxy(this,bf())}async send(e){if(e.method===eue.SEND_TRANSACTION)try{let t=e.params[0];return"string"==typeof t&&(t=JSON.parse(t)),t?{result:(await this.sendTransaction(t)).boc,id:e.id}:void 0}catch(t){let r=nb.OKX_CONNECT_ERROR_CODES.UNKNOWN_ERROR;if(t instanceof nb.OKXConnectError)switch(t.code){case nb.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR:r=nb.OKX_CONNECT_ERROR_CODES.USER_REJECTS_ERROR;break;case nb.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR:r=nb.OKX_CONNECT_ERROR_CODES.NOT_CONNECTED_ERROR}return{error:{code:r,message:t?.message||"Unknown error."},id:e.id}}return e.method===eue.DISCONNECT?this.disconnect():null}async connect(e,t){return e>this.protocolVersion?this.emitConnectError(nb.OKX_CONNECT_ERROR_CODES.BAD_REQUEST_ERROR,JZe):this.handleSessionConnect(t)}async disconnect(){await this.tonProvider.disconnect(),this.emitDisconnect(),this.logger.info("disconnect: ",this.lastSession)}getAccount(){return this.tonProvider.getAccount()}async sendTransaction(e){return await this.tonProvider.sendTransaction(e)}get isConnected(){return this.tonProvider?.isConnected||!1}async handleSessionConnect(e){try{this.logger.debug("handleTonConnect: ",this.tonProvider.isConnected);let t=await this.tonProvider.connect(YZe(e?.items)||[]);return this.emitConnect([t?.namespaces?.ton?.payload?.ton_addr])}catch(e){return this.getLogger().error(`Requesting accounts error: ${e.message}`),this.emitConnectError(e?.code,e?.message)}}providerCallback(e,t){switch(e){case"connect":this.handleConnectedEvent(t);break;case"session_update":this.sessionUpdateCallback(t);break;case"session_delete":this.sessionDeleteCallback();break;default:this.getLogger().warn(`provider callback not implemented: ${e}`)}}handleConnectedEvent(e){e&&(this.emit("connect",this.account),this.emit("accountChanged",this.account),this.emit("chainChanged",e?.chains[0]),this.lastSession=e)}sessionUpdateCallback(e){!this.lastSession&&e&&this.emit("connect",this.account),K1(this.lastSession?.accounts,e?.accounts)||this.emit("accountChanged",this.account),this.lastSession=e}sessionDeleteCallback(){this.lastSession=null,this.emit("disconnect",null),this.emit("accountChanged",null),this.emit("chainChanged",null)}listen(e){return this.tonCallbacks.push(e),()=>{this.tonCallbacks=this.tonCallbacks.filter((t=>t!==e))}}tonEmit(e){return this.tonCallbacks.forEach((t=>t(e))),e}emitConnect(e){return this.isDisconnect=!1,this.tonEmit({event:"connect",id:Date.now(),payload:{items:e,device:this.deviceInfo}})}emitConnectError(e,t){return this.tonEmit({event:"connect_error",id:Date.now(),payload:{code:e,message:t||"UnknownError"}})}emitDisconnect(e){this.isDisconnect||(this.isDisconnect=!0,this.tonEmit({event:"disconnect",id:e?.id||Date.now(),payload:{}}))}restoreConnection(){return this.handleSessionConnect()}},QZe=cde;m(),m(),m();var RH="standard:connect",NH="standard:disconnect",DH="standard:events",UH=["legacy",0],Lu={CONNECT:RH,DISCONNECT:NH,EVENTS:DH,SIGN_AND_SEND_TRANSACTION:"solana:signAndSendTransaction",SIGN_TRANSACTION:"solana:signTransaction",SIGN_MESSAGE:"solana:signMessage",CONNECT_VERSION:"1.0.0",DISCONNECT_VERSION:"1.0.0",ON_VERSION:"1.0.0",SIGN_AND_SEND_TRANSACTION_VERSION:"1.0.0",SIGN_TRANSACTION_VERSION:"1.0.0",SIGN_MESSAGE_VERSION:"1.0.0"},ZZe=[Lu.SIGN_AND_SEND_TRANSACTION,Lu.SIGN_TRANSACTION,Lu.SIGN_MESSAGE];function lrr(e){if(e.length>=255)throw new TypeError("Alphabet too long");let t=new Uint8Array(256);for(let e=0;e<t.length;e++)t[e]=255;for(let r=0;r<e.length;r++){let n=e.charAt(r),i=n.charCodeAt(0);if(255!==t[i])throw new TypeError(n+" is ambiguous");t[i]=r}let r=e.length,n=e.charAt(0),i=Math.log(r)/Math.log(256),o=Math.log(256)/Math.log(r);function s(e){if("string"!=typeof e)throw new TypeError("Expected String");if(0===e.length)return new Uint8Array;let o=0,s=0,a=0;for(;e[o]===n;)s++,o++;let c=(e.length-o)*i+1>>>0,u=new Uint8Array(c);for(;e[o];){let n=t[e.charCodeAt(o)];if(255===n)return;let i=0;for(let e=c-1;(0!==n||i<a)&&-1!==e;e--,i++)n+=r*u[e]>>>0,u[e]=n%256>>>0,n=n/256>>>0;if(0!==n)throw new Error("Non-zero carry");a=i,o++}let l=c-a;for(;l!==c&&0===u[l];)l++;let d=new Uint8Array(s+(c-l)),h=s;for(;l!==c;)d[h++]=u[l++];return d}return{encode:function(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===t.length)return"";let i=0,s=0,a=0,c=t.length;for(;a!==c&&0===t[a];)a++,i++;let u=(c-a)*o+1>>>0,l=new Uint8Array(u);for(;a!==c;){let e=t[a],n=0;for(let t=u-1;(0!==e||n<s)&&-1!==t;t--,n++)e+=256*l[t]>>>0,l[t]=e%r>>>0,e=e/r>>>0;if(0!==e)throw new Error("Non-zero carry");s=n,a++}let d=u-s;for(;d!==u&&0===l[d];)d++;let h=n.repeat(i);for(;d<u;++d)h+=e.charAt(l[d]);return h},decodeUnsafe:s,decode:function(e){let t=s(e);if(t)return t;throw new Error("Non-base"+r+" character")}}}m(),m(),m(),m(),m();var $Ze=lrr,frr="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",a2=$Ze(frr),c2=e=>a2.encode(e),u2=e=>a2.decode(e);function bc(e){return Uint8Array.from(atob(e),(e=>e.charCodeAt(0)))}m();var ude=8192;function Ua(e){if(e.length<ude)return btoa(String.fromCharCode(...e));let t="";for(var r=0;r<e.length;r+=ude){let n=e.slice(r,r+ude);t+=String.fromCharCode(...n)}return btoa(t)}function W4(e){let t=e.startsWith("0x")?e.slice(2):e,r=(t.length%2==0?t:`0${t}}`).match(/.{2}/g)?.map((e=>parseInt(e,16)))??[];return Uint8Array.from(r)}function Qg(e){return e.reduce(((e,t)=>e+t.toString(16).padStart(2,"0")),"")}function z4(e){let t=[],r=0;if(0===e)return[0];for(;e>0;)t[r]=127&e,(e>>=7)&&(t[r]|=128),r+=1;return t}function e$e(e){let t=0,r=0,n=0;for(;;){let i=e[n];if(n+=1,t|=(127&i)<<r,!(128&i))break;r+=7}return{value:t,length:n}}m(),m(),m(),m();var LH=class{constructor(e){this.bytePosition=0,this.dataView=new DataView(e.buffer)}shift(e){return this.bytePosition+=e,this}read8(){let e=this.dataView.getUint8(this.bytePosition);return this.shift(1),e}read16(){let e=this.dataView.getUint16(this.bytePosition,!0);return this.shift(2),e}read32(){let e=this.dataView.getUint32(this.bytePosition,!0);return this.shift(4),e}read64(){let e=this.read32(),t=this.read32().toString(16)+e.toString(16).padStart(8,"0");return BigInt("0x"+t).toString(10)}read128(){let e=BigInt(this.read64()),t=BigInt(this.read64()).toString(16)+e.toString(16).padStart(16,"0");return BigInt("0x"+t).toString(10)}read256(){let e=BigInt(this.read128()),t=BigInt(this.read128()).toString(16)+e.toString(16).padStart(32,"0");return BigInt("0x"+t).toString(10)}readBytes(e){let t=this.bytePosition+this.dataView.byteOffset,r=new Uint8Array(this.dataView.buffer,t,e);return this.shift(e),r}readULEB(){let e=this.bytePosition+this.dataView.byteOffset,t=new Uint8Array(this.dataView.buffer,e),{value:r,length:n}=e$e(t);return this.shift(n),r}readVec(e){let t=this.readULEB(),r=[];for(let n=0;n<t;n++)r.push(e(this,n,t));return r}};function lde(e,t){switch(t){case"base58":return c2(e);case"base64":return Ua(e);case"hex":return Qg(e);default:throw new Error("Unsupported encoding, supported values are: base64, hex")}}function fde(e,t=["<",">"]){let[r,n]=t,i=[],o="",s=0;for(let t=0;t<e.length;t++){let a=e[t];(a===r&&s++,a===n&&s--,0!==s||","!==a)?o+=a:(i.push(o.trim()),o="")}return i.push(o.trim()),i}m(),m();var FH=class{constructor({initialSize:e=1024,maxSize:t=1/0,allocateSize:r=1024}={}){this.bytePosition=0,this.size=e,this.maxSize=t,this.allocateSize=r,this.dataView=new DataView(new ArrayBuffer(e))}ensureSizeOrGrow(e){let t=this.bytePosition+e;if(t>this.size){let e=Math.min(this.maxSize,this.size+this.allocateSize);if(t>e)throw new Error(`Attempting to serialize to BCS, but buffer does not have enough size. Allocated size: ${this.size}, Max size: ${this.maxSize}, Required size: ${t}`);this.size=e;let r=new ArrayBuffer(this.size);new Uint8Array(r).set(new Uint8Array(this.dataView.buffer)),this.dataView=new DataView(r)}}shift(e){return this.bytePosition+=e,this}write8(e){return this.ensureSizeOrGrow(1),this.dataView.setUint8(this.bytePosition,Number(e)),this.shift(1)}write16(e){return this.ensureSizeOrGrow(2),this.dataView.setUint16(this.bytePosition,Number(e),!0),this.shift(2)}write32(e){return this.ensureSizeOrGrow(4),this.dataView.setUint32(this.bytePosition,Number(e),!0),this.shift(4)}write64(e){return dde(BigInt(e),8).forEach((e=>this.write8(e))),this}write128(e){return dde(BigInt(e),16).forEach((e=>this.write8(e))),this}write256(e){return dde(BigInt(e),32).forEach((e=>this.write8(e))),this}writeULEB(e){return z4(e).forEach((e=>this.write8(e))),this}writeVec(e,t){return this.writeULEB(e.length),Array.from(e).forEach(((r,n)=>t(this,r,n,e.length))),this}*[Symbol.iterator](){for(let e=0;e<this.bytePosition;e++)yield this.dataView.getUint8(e);return this.toBytes()}toBytes(){return new Uint8Array(this.dataView.buffer.slice(0,this.bytePosition))}toString(e){return lde(this.toBytes(),e)}};function dde(e,t){let r=new Uint8Array(t),n=0;for(;e>0;)r[n]=Number(e%BigInt(256)),e/=BigInt(256),n+=1;return r}var t$e=e=>{throw TypeError(e)},r$e=(e,t,r)=>t.has(e)||t$e("Cannot "+r),op=(e,t,r)=>(r$e(e,t,"read from private field"),r?r.call(e):t.get(e)),zH=(e,t,r)=>t.has(e)?t$e("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),KH=(e,t,r,n)=>(r$e(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),K4,cB,WH,Aw,drr=class e{constructor(e){zH(this,K4),zH(this,cB),this.name=e.name,this.read=e.read,this.serializedSize=e.serializedSize??(()=>null),KH(this,K4,e.write),KH(this,cB,e.serialize??((e,t)=>{let r=new FH({initialSize:this.serializedSize(e)??void 0,...t});return op(this,K4).call(this,e,r),r.toBytes()})),this.validate=e.validate??(()=>{})}write(e,t){this.validate(e),op(this,K4).call(this,e,t)}serialize(e,t){return this.validate(e),new hde(this,op(this,cB).call(this,e,t))}parse(e){let t=new LH(e);return this.read(t)}fromHex(e){return this.parse(W4(e))}fromBase58(e){return this.parse(u2(e))}fromBase64(e){return this.parse(bc(e))}transform({name:t,input:r,output:n,validate:i}){return new e({name:t??this.name,read:e=>n(this.read(e)),write:(e,t)=>op(this,K4).call(this,r(e),t),serializedSize:e=>this.serializedSize(r(e)),serialize:(e,t)=>op(this,cB).call(this,r(e),t),validate:e=>{i?.(e),this.validate(r(e))}})}};K4=new WeakMap,cB=new WeakMap;var Zg=drr,hrr=Symbol.for("@mysten/serialized-bcs"),hde=class{constructor(e,t){zH(this,WH),zH(this,Aw),KH(this,WH,e),KH(this,Aw,t)}get[hrr](){return!0}toBytes(){return op(this,Aw)}toHex(){return Qg(op(this,Aw))}toBase64(){return Ua(op(this,Aw))}toBase58(){return c2(op(this,Aw))}parse(){return op(this,WH).parse(op(this,Aw))}};function uB({size:e,...t}){return new Zg({...t,serializedSize:()=>e})}function HH({readMethod:e,writeMethod:t,...r}){return uB({...r,read:t=>t[e](),write:(e,r)=>r[t](e),validate:e=>{if(e<0||e>r.maxValue)throw new TypeError(`Invalid ${r.name} value: ${e}. Expected value in range 0-${r.maxValue}`);r.validate?.(e)}})}function qH({readMethod:e,writeMethod:t,...r}){return uB({...r,read:t=>t[e](),write:(e,r)=>r[t](BigInt(e)),validate:e=>{let t=BigInt(e);if(t<0||t>r.maxValue)throw new TypeError(`Invalid ${r.name} value: ${t}. Expected value in range 0-${r.maxValue}`);r.validate?.(t)}})}function i$e({serialize:e,...t}){let r=new Zg({...t,serialize:e,write:(e,t)=>{for(let n of r.serialize(e).toBytes())t.write8(n)}});return r}function o$e({toBytes:e,fromBytes:t,...r}){return new Zg({...r,read:e=>{let r=e.readULEB(),n=e.readBytes(r);return t(n)},write:(t,r)=>{let n=e(t);r.writeULEB(n.length);for(let e=0;e<n.length;e++)r.write8(n[e])},serialize:t=>{let r=e(t),n=z4(r.length),i=new Uint8Array(n.length+r.length);return i.set(n,0),i.set(r,n.length),i},validate:e=>{if("string"!=typeof e)throw new TypeError(`Invalid ${r.name} value: ${e}. Expected string`);r.validate?.(e)}})}function s$e(e){let t=null;function r(){return t||(t=e()),t}return new Zg({name:"lazy",read:e=>r().read(e),serializedSize:e=>r().serializedSize(e),write:(e,t)=>r().write(e,t),serialize:(e,t)=>r().serialize(e,t).toBytes()})}WH=new WeakMap,Aw=new WeakMap,m();var me={u8:e=>HH({name:"u8",readMethod:"read8",writeMethod:"write8",size:1,maxValue:255,...e}),u16:e=>HH({name:"u16",readMethod:"read16",writeMethod:"write16",size:2,maxValue:65535,...e}),u32:e=>HH({name:"u32",readMethod:"read32",writeMethod:"write32",size:4,maxValue:2**32-1,...e}),u64:e=>qH({name:"u64",readMethod:"read64",writeMethod:"write64",size:8,maxValue:2n**64n-1n,...e}),u128:e=>qH({name:"u128",readMethod:"read128",writeMethod:"write128",size:16,maxValue:2n**128n-1n,...e}),u256:e=>qH({name:"u256",readMethod:"read256",writeMethod:"write256",size:32,maxValue:2n**256n-1n,...e}),bool:e=>uB({name:"bool",size:1,read:e=>1===e.read8(),write:(e,t)=>t.write8(e?1:0),...e,validate:t=>{if(e?.validate?.(t),"boolean"!=typeof t)throw new TypeError("Expected boolean, found "+typeof t)}}),uleb128:e=>i$e({name:"uleb128",read:e=>e.readULEB(),serialize:e=>Uint8Array.from(z4(e)),...e}),bytes:(e,t)=>uB({name:`bytes[${e}]`,size:e,read:t=>t.readBytes(e),write:(t,r)=>{let n=new Uint8Array(t);for(let t=0;t<e;t++)r.write8(n[t]??0)},...t,validate:r=>{if(t?.validate?.(r),!r||"object"!=typeof r||!("length"in r))throw new TypeError("Expected array, found "+typeof r);if(r.length!==e)throw new TypeError(`Expected array of length ${e}, found ${r.length}`)}}),string:e=>o$e({name:"string",toBytes:e=>(new TextEncoder).encode(e),fromBytes:e=>(new TextDecoder).decode(e),...e}),fixedArray:(e,t,r)=>new Zg({name:`${t.name}[${e}]`,read:r=>{let n=new Array(e);for(let i=0;i<e;i++)n[i]=t.read(r);return n},write:(e,r)=>{for(let n of e)t.write(n,r)},...r,validate:t=>{if(r?.validate?.(t),!t||"object"!=typeof t||!("length"in t))throw new TypeError("Expected array, found "+typeof t);if(t.length!==e)throw new TypeError(`Expected array of length ${e}, found ${t.length}`)}}),option:e=>me.enum(`Option<${e.name}>`,{None:null,Some:e}).transform({input:e=>null==e?{None:!0}:{Some:e},output:e=>"Some"===e.$kind?e.Some:null}),vector:(e,t)=>new Zg({name:`vector<${e.name}>`,read:t=>{let r=t.readULEB(),n=new Array(r);for(let i=0;i<r;i++)n[i]=e.read(t);return n},write:(t,r)=>{r.writeULEB(t.length);for(let n of t)e.write(n,r)},...t,validate:e=>{if(t?.validate?.(e),!e||"object"!=typeof e||!("length"in e))throw new TypeError("Expected array, found "+typeof e)}}),tuple:(e,t)=>new Zg({name:`(${e.map((e=>e.name)).join(", ")})`,serializedSize:t=>{let r=0;for(let n=0;n<e.length;n++){let i=e[n].serializedSize(t[n]);if(null==i)return null;r+=i}return r},read:t=>{let r=[];for(let n of e)r.push(n.read(t));return r},write:(t,r)=>{for(let n=0;n<e.length;n++)e[n].write(t[n],r)},...t,validate:r=>{if(t?.validate?.(r),!Array.isArray(r))throw new TypeError("Expected array, found "+typeof r);if(r.length!==e.length)throw new TypeError(`Expected array of length ${e.length}, found ${r.length}`)}}),struct(e,t,r){let n=Object.entries(t);return new Zg({name:e,serializedSize:e=>{let t=0;for(let[r,i]of n){let n=i.serializedSize(e[r]);if(null==n)return null;t+=n}return t},read:e=>{let t={};for(let[r,i]of n)t[r]=i.read(e);return t},write:(e,t)=>{for(let[r,i]of n)i.write(e[r],t)},...r,validate:e=>{if(r?.validate?.(e),"object"!=typeof e||null==e)throw new TypeError("Expected object, found "+typeof e)}})},enum(e,t,r){let n=Object.entries(t);return new Zg({name:e,read:t=>{let r=t.readULEB(),i=n[r];if(!i)throw new TypeError(`Unknown value ${r} for enum ${e}`);let[o,s]=i;return{[o]:s?.read(t)??!0,$kind:o}},write:(e,r)=>{let[i,o]=Object.entries(e).filter((([e])=>Object.hasOwn(t,e)))[0];for(let e=0;e<n.length;e++){let[t,s]=n[e];if(t===i)return r.writeULEB(e),void s?.write(o,r)}},...r,validate:n=>{if(r?.validate?.(n),"object"!=typeof n||null==n)throw new TypeError("Expected object, found "+typeof n);let i=Object.keys(n).filter((e=>void 0!==n[e]&&Object.hasOwn(t,e)));if(1!==i.length)throw new TypeError(`Expected object with one key, but found ${i.length} for type ${e}}`);let[o]=i;if(!Object.hasOwn(t,o))throw new TypeError(`Invalid enum variant ${o}`)}})},map:(e,t)=>me.vector(me.tuple([e,t])).transform({name:`Map<${e.name}, ${t.name}>`,input:e=>[...e.entries()],output:e=>{let t=new Map;for(let[r,n]of e)t.set(r,n);return t}}),lazy:e=>s$e(e)};m(),m();var Ew=32;function a$e(e){return prr(e)&&grr(e)===Ew}function $g(e,t=!1){let r=e.toLowerCase();return!t&&r.startsWith("0x")&&(r=r.slice(2)),`0x${r.padStart(2*Ew,"0")}`}function prr(e){return/^(0x|0X)?[a-fA-F0-9]+$/.test(e)&&e.length%2==0}function grr(e){return/^(0x|0X)/.test(e)?(e.length-2)/2:e.length/2}m();var yrr=/^vector<(.+)>$/,mrr=/^([^:]+)::([^:]+)::([^<]+)(<(.+)>)?/,lB=class e{static parseFromStr(t,r=!1){if("address"===t)return{address:null};if("bool"===t)return{bool:null};if("u8"===t)return{u8:null};if("u16"===t)return{u16:null};if("u32"===t)return{u32:null};if("u64"===t)return{u64:null};if("u128"===t)return{u128:null};if("u256"===t)return{u256:null};if("signer"===t)return{signer:null};let n=t.match(yrr);if(n)return{vector:e.parseFromStr(n[1],r)};let i=t.match(mrr);if(i)return{struct:{address:r?$g(i[1]):i[1],module:i[2],name:i[3],typeParams:void 0===i[5]?[]:e.parseStructTypeArgs(i[5],r)}};throw new Error(`Encountered unexpected token when parsing type args for ${t}`)}static parseStructTypeArgs(t,r=!1){return fde(t).map((t=>e.parseFromStr(t,r)))}static tagToString(t){if("bool"in t)return"bool";if("u8"in t)return"u8";if("u16"in t)return"u16";if("u32"in t)return"u32";if("u64"in t)return"u64";if("u128"in t)return"u128";if("u256"in t)return"u256";if("address"in t)return"address";if("signer"in t)return"signer";if("vector"in t)return`vector<${e.tagToString(t.vector)}>`;if("struct"in t){let r=t.struct,n=r.typeParams.map(e.tagToString).join(", ");return`${r.address}::${r.module}::${r.name}${n?`<${n}>`:""}`}throw new Error("Invalid TypeTag")}};function brr(e){return me.u64({name:"unsafe_u64",...e}).transform({input:e=>e,output:e=>Number(e)})}function vrr(e){return me.enum("Option",{None:null,Some:e})}var Ko=me.bytes(Ew).transform({validate:e=>{let t="string"==typeof e?e:Qg(e);if(!t||!a$e($g(t)))throw new Error(`Invalid Sui address ${t}`)},input:e=>"string"==typeof e?W4($g(e)):e,output:e=>$g(Qg(e))}),Td=me.vector(me.u8()).transform({name:"ObjectDigest",input:e=>u2(e),output:e=>c2(new Uint8Array(e)),validate:e=>{if(32!==u2(e).length)throw new Error("ObjectDigest must be 32 bytes")}}),Cf=me.struct("SuiObjectRef",{objectId:Ko,version:me.u64(),digest:Td}),pde=me.struct("SharedObjectRef",{objectId:Ko,initialSharedVersion:me.u64(),mutable:me.bool()}),gde=me.enum("ObjectArg",{ImmOrOwnedObject:Cf,SharedObject:pde,Receiving:Cf}),yde=me.enum("CallArg",{Pure:me.struct("Pure",{bytes:me.vector(me.u8()).transform({input:e=>"string"==typeof e?bc(e):e,output:e=>Ua(new Uint8Array(e))})}),Object:gde}),mde=me.enum("TypeTag",{bool:null,u8:null,u64:null,u128:null,address:null,signer:null,vector:me.lazy((()=>mde)),struct:me.lazy((()=>Ede)),u16:null,u32:null,u256:null}),jH=mde.transform({input:e=>"string"==typeof e?lB.parseFromStr(e,!0):e,output:e=>lB.tagToString(e)}),sp=me.enum("Argument",{GasCoin:null,Input:me.u16(),Result:me.u16(),NestedResult:me.tuple([me.u16(),me.u16()])}),bde=me.struct("ProgrammableMoveCall",{package:Ko,module:me.string(),function:me.string(),typeArguments:me.vector(jH),arguments:me.vector(sp)}),vde=me.enum("Command",{MoveCall:bde,TransferObjects:me.struct("TransferObjects",{objects:me.vector(sp),address:sp}),SplitCoins:me.struct("SplitCoins",{coin:sp,amounts:me.vector(sp)}),MergeCoins:me.struct("MergeCoins",{destination:sp,sources:me.vector(sp)}),Publish:me.struct("Publish",{modules:me.vector(me.vector(me.u8()).transform({input:e=>"string"==typeof e?bc(e):e,output:e=>Ua(new Uint8Array(e))})),dependencies:me.vector(Ko)}),MakeMoveVec:me.struct("MakeMoveVec",{type:vrr(jH).transform({input:e=>null===e?{None:!0}:{Some:e},output:e=>e.Some??null}),elements:me.vector(sp)}),Upgrade:me.struct("Upgrade",{modules:me.vector(me.vector(me.u8()).transform({input:e=>"string"==typeof e?bc(e):e,output:e=>Ua(new Uint8Array(e))})),dependencies:me.vector(Ko),package:Ko,ticket:sp})}),wde=me.struct("ProgrammableTransaction",{inputs:me.vector(yde),commands:me.vector(vde)}),xde=me.enum("TransactionKind",{ProgrammableTransaction:wde,ChangeEpoch:null,Genesis:null,ConsensusCommitPrologue:null}),Ade=me.enum("TransactionExpiration",{None:null,Epoch:brr()}),Ede=me.struct("StructTag",{address:Ko,module:me.string(),name:me.string(),typeParams:me.vector(mde)}),Tde=me.struct("GasData",{payment:me.vector(Cf),owner:Ko,price:me.u64(),budget:me.u64()}),Sde=me.struct("TransactionDataV1",{kind:xde,sender:Ko,gasData:Tde,expiration:Ade}),Cde=me.enum("TransactionData",{V1:Sde}),Ide=me.enum("IntentScope",{TransactionData:null,TransactionEffects:null,CheckpointSummary:null,PersonalMessage:null}),Ode=me.enum("IntentVersion",{V0:null}),Pde=me.enum("AppId",{Sui:null}),Bde=me.struct("Intent",{scope:Ide,version:Ode,appId:Pde});function Mde(e){return me.struct(`IntentMessage<${e.name}>`,{intent:Bde,value:e})}var kde=me.enum("CompressedSignature",{ED25519:me.fixedArray(64,me.u8()),Secp256k1:me.fixedArray(64,me.u8()),Secp256r1:me.fixedArray(64,me.u8()),ZkLogin:me.vector(me.u8())}),_de=me.enum("PublicKey",{ED25519:me.fixedArray(32,me.u8()),Secp256k1:me.fixedArray(33,me.u8()),Secp256r1:me.fixedArray(33,me.u8()),ZkLogin:me.vector(me.u8())}),Rde=me.struct("MultiSigPkMap",{pubKey:_de,weight:me.u8()}),Nde=me.struct("MultiSigPublicKey",{pk_map:me.vector(Rde),threshold:me.u16()}),c$e=me.struct("MultiSig",{sigs:me.vector(kde),bitmap:me.u16(),multisig_pk:Nde}),wrr=me.vector(me.u8()).transform({input:e=>"string"==typeof e?bc(e):e,output:e=>Ua(new Uint8Array(e))}),Dde=me.struct("SenderSignedTransaction",{intentMessage:Mde(Cde),txSignatures:me.vector(wrr)}),u$e=me.vector(Dde,{name:"SenderSignedData"});m();var xrr=me.enum("PackageUpgradeError",{UnableToFetchPackage:me.struct("UnableToFetchPackage",{packageId:Ko}),NotAPackage:me.struct("NotAPackage",{objectId:Ko}),IncompatibleUpgrade:null,DigestDoesNotMatch:me.struct("DigestDoesNotMatch",{digest:me.vector(me.u8())}),UnknownUpgradePolicy:me.struct("UnknownUpgradePolicy",{policy:me.u8()}),PackageIDDoesNotMatch:me.struct("PackageIDDoesNotMatch",{packageId:Ko,ticketId:Ko})}),Arr=me.struct("ModuleId",{address:Ko,name:me.string()}),l$e=me.struct("MoveLocation",{module:Arr,function:me.u16(),instruction:me.u16(),functionName:me.option(me.string())}),Err=me.enum("CommandArgumentError",{TypeMismatch:null,InvalidBCSBytes:null,InvalidUsageOfPureArg:null,InvalidArgumentToPrivateEntryFunction:null,IndexOutOfBounds:me.struct("IndexOutOfBounds",{idx:me.u16()}),SecondaryIndexOutOfBounds:me.struct("SecondaryIndexOutOfBounds",{resultIdx:me.u16(),secondaryIdx:me.u16()}),InvalidResultArity:me.struct("InvalidResultArity",{resultIdx:me.u16()}),InvalidGasCoinUsage:null,InvalidValueUsage:null,InvalidObjectByValue:null,InvalidObjectByMutRef:null,SharedObjectOperationNotAllowed:null}),Trr=me.enum("TypeArgumentError",{TypeNotFound:null,ConstraintNotSatisfied:null}),Srr=me.enum("ExecutionFailureStatus",{InsufficientGas:null,InvalidGasObject:null,InvariantViolation:null,FeatureNotYetSupported:null,MoveObjectTooBig:me.struct("MoveObjectTooBig",{objectSize:me.u64(),maxObjectSize:me.u64()}),MovePackageTooBig:me.struct("MovePackageTooBig",{objectSize:me.u64(),maxObjectSize:me.u64()}),CircularObjectOwnership:me.struct("CircularObjectOwnership",{object:Ko}),InsufficientCoinBalance:null,CoinBalanceOverflow:null,PublishErrorNonZeroAddress:null,SuiMoveVerificationError:null,MovePrimitiveRuntimeError:me.option(l$e),MoveAbort:me.tuple([l$e,me.u64()]),VMVerificationOrDeserializationError:null,VMInvariantViolation:null,FunctionNotFound:null,ArityMismatch:null,TypeArityMismatch:null,NonEntryFunctionInvoked:null,CommandArgumentError:me.struct("CommandArgumentError",{argIdx:me.u16(),kind:Err}),TypeArgumentError:me.struct("TypeArgumentError",{argumentIdx:me.u16(),kind:Trr}),UnusedValueWithoutDrop:me.struct("UnusedValueWithoutDrop",{resultIdx:me.u16(),secondaryIdx:me.u16()}),InvalidPublicFunctionReturnType:me.struct("InvalidPublicFunctionReturnType",{idx:me.u16()}),InvalidTransferObject:null,EffectsTooLarge:me.struct("EffectsTooLarge",{currentSize:me.u64(),maxSize:me.u64()}),PublishUpgradeMissingDependency:null,PublishUpgradeDependencyDowngrade:null,PackageUpgradeError:me.struct("PackageUpgradeError",{upgradeError:xrr}),WrittenObjectsTooLarge:me.struct("WrittenObjectsTooLarge",{currentSize:me.u64(),maxSize:me.u64()}),CertificateDenied:null,SuiMoveVerificationTimedout:null,SharedObjectOperationNotAllowed:null,InputObjectDeleted:null,ExecutionCancelledDueToSharedObjectCongestion:me.struct("ExecutionCancelledDueToSharedObjectCongestion",{congestedObjects:me.vector(Ko)}),AddressDeniedForCoin:me.struct("AddressDeniedForCoin",{address:Ko,coinType:me.string()}),CoinTypeGlobalPause:me.struct("CoinTypeGlobalPause",{coinType:me.string()}),ExecutionCancelledDueToRandomnessUnavailable:null}),f$e=me.enum("ExecutionStatus",{Success:null,Failed:me.struct("ExecutionFailed",{error:Srr,command:me.option(me.u64())})}),d$e=me.struct("GasCostSummary",{computationCost:me.u64(),storageCost:me.u64(),storageRebate:me.u64(),nonRefundableStorageFee:me.u64()}),H4=me.enum("Owner",{AddressOwner:Ko,ObjectOwner:Ko,Shared:me.struct("Shared",{initialSharedVersion:me.u64()}),Immutable:null}),Crr=me.struct("TransactionEffectsV1",{status:f$e,executedEpoch:me.u64(),gasUsed:d$e,modifiedAtVersions:me.vector(me.tuple([Ko,me.u64()])),sharedObjects:me.vector(Cf),transactionDigest:Td,created:me.vector(me.tuple([Cf,H4])),mutated:me.vector(me.tuple([Cf,H4])),unwrapped:me.vector(me.tuple([Cf,H4])),deleted:me.vector(Cf),unwrappedThenDeleted:me.vector(Cf),wrapped:me.vector(Cf),gasObject:me.tuple([Cf,H4]),eventsDigest:me.option(Td),dependencies:me.vector(Td)}),Ude=me.tuple([me.u64(),Td]),Irr=me.enum("ObjectIn",{NotExist:null,Exist:me.tuple([Ude,H4])}),Orr=me.enum("ObjectOut",{NotExist:null,ObjectWrite:me.tuple([Td,H4]),PackageWrite:Ude}),Prr=me.enum("IDOperation",{None:null,Created:null,Deleted:null}),Brr=me.struct("EffectsObjectChange",{inputState:Irr,outputState:Orr,idOperation:Prr}),Mrr=me.enum("UnchangedSharedKind",{ReadOnlyRoot:Ude,MutateDeleted:me.u64(),ReadDeleted:me.u64(),Cancelled:me.u64(),PerEpochConfig:null}),krr=me.struct("TransactionEffectsV2",{status:f$e,executedEpoch:me.u64(),gasUsed:d$e,transactionDigest:Td,gasObjectIndex:me.option(me.u32()),eventsDigest:me.option(Td),dependencies:me.vector(Td),lamportVersion:me.u64(),changedObjects:me.vector(me.tuple([Ko,Brr])),unchangedSharedObjects:me.vector(me.tuple([Ko,Mrr])),auxDataDigest:me.option(Td)}),h$e=me.enum("TransactionEffects",{V1:Crr,V2:krr}),ib={...me,U8:me.u8(),U16:me.u16(),U32:me.u32(),U64:me.u64(),U128:me.u128(),U256:me.u256(),ULEB128:me.uleb128(),Bool:me.bool(),String:me.string(),Address:Ko,AppId:Pde,Argument:sp,CallArg:yde,CompressedSignature:kde,GasData:Tde,Intent:Bde,IntentMessage:Mde,IntentScope:Ide,IntentVersion:Ode,MultiSig:c$e,MultiSigPkMap:Rde,MultiSigPublicKey:Nde,ObjectArg:gde,ObjectDigest:Td,ProgrammableMoveCall:bde,ProgrammableTransaction:wde,PublicKey:_de,SenderSignedData:u$e,SenderSignedTransaction:Dde,SharedObjectRef:pde,StructTag:Ede,SuiObjectRef:Cf,Command:vde,TransactionData:Cde,TransactionDataV1:Sde,TransactionExpiration:Ade,TransactionKind:xde,TypeTag:jH,TransactionEffects:h$e};m(),m();var p$e=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9]),GH=class extends Rg{constructor(e,t,r={},n,i,o){if(super(),this.blockLen=e,this.outputLen=t,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,md(e),md(t),md(n),t<0||t>n)throw new Error("outputLen bigger than keyLen");if(void 0!==r.key&&(r.key.length<1||r.key.length>n))throw new Error("key length must be undefined or 1.."+n);if(void 0!==r.salt&&r.salt.length!==i)throw new Error("salt must be undefined or "+i);if(void 0!==r.personalization&&r.personalization.length!==o)throw new Error("personalization must be undefined or "+o);this.buffer=new Uint8Array(e),this.buffer32=H1(this.buffer)}update(e){Oh(this);let{blockLen:t,buffer:r,buffer32:n}=this,i=(e=pc(e)).length,o=e.byteOffset,s=e.buffer;for(let a=0;a<i;){this.pos===t&&(X0||Dg(n),this.compress(n,0,!1),X0||Dg(n),this.pos=0);let c=Math.min(t-this.pos,i-a),u=o+a;if(c!==t||u%4||!(a+c<i))r.set(e.subarray(a,a+c),this.pos),this.pos+=c,this.length+=c,a+=c;else{let e=new Uint32Array(s,u,Math.floor((i-a)/4));X0||Dg(e);for(let r=0;a+t<i;r+=n.length,a+=t)this.length+=t,this.compress(e,r,!1);X0||Dg(e)}}return this}digestInto(e){Oh(this),Y6(e,this);let{pos:t,buffer32:r}=this;this.finished=!0,this.buffer.subarray(t).fill(0),X0||Dg(r),this.compress(r,0,!0),X0||Dg(r);let n=H1(e);this.get().forEach(((e,t)=>n[t]=Y0(e)))}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){let{buffer:t,length:r,finished:n,destroyed:i,outputLen:o,pos:s}=this;return e||(e=new this.constructor({dkLen:o})),e.set(...this.get()),e.length=r,e.finished=n,e.destroyed=i,e.outputLen=o,e.buffer.set(t),e.pos=s,e}},La=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),cr=new Uint32Array(32);function Tw(e,t,r,n,i,o){let s=i[o],a=i[o+1],c=cr[2*e],u=cr[2*e+1],l=cr[2*t],d=cr[2*t+1],h=cr[2*r],f=cr[2*r+1],p=cr[2*n],g=cr[2*n+1],y=Dr.add3L(c,l,s);u=Dr.add3H(y,u,d,a),c=0|y,({Dh:g,Dl:p}={Dh:g^u,Dl:p^c}),({Dh:g,Dl:p}={Dh:Dr.rotr32H(g,p),Dl:Dr.rotr32L(g,p)}),({h:f,l:h}=Dr.add(f,h,g,p)),({Bh:d,Bl:l}={Bh:d^f,Bl:l^h}),({Bh:d,Bl:l}={Bh:Dr.rotrSH(d,l,24),Bl:Dr.rotrSL(d,l,24)}),cr[2*e]=c,cr[2*e+1]=u,cr[2*t]=l,cr[2*t+1]=d,cr[2*r]=h,cr[2*r+1]=f,cr[2*n]=p,cr[2*n+1]=g}function Sw(e,t,r,n,i,o){let s=i[o],a=i[o+1],c=cr[2*e],u=cr[2*e+1],l=cr[2*t],d=cr[2*t+1],h=cr[2*r],f=cr[2*r+1],p=cr[2*n],g=cr[2*n+1],y=Dr.add3L(c,l,s);u=Dr.add3H(y,u,d,a),c=0|y,({Dh:g,Dl:p}={Dh:g^u,Dl:p^c}),({Dh:g,Dl:p}={Dh:Dr.rotrSH(g,p,16),Dl:Dr.rotrSL(g,p,16)}),({h:f,l:h}=Dr.add(f,h,g,p)),({Bh:d,Bl:l}={Bh:d^f,Bl:l^h}),({Bh:d,Bl:l}={Bh:Dr.rotrBH(d,l,63),Bl:Dr.rotrBL(d,l,63)}),cr[2*e]=c,cr[2*e+1]=u,cr[2*t]=l,cr[2*t+1]=d,cr[2*r]=h,cr[2*r+1]=f,cr[2*n]=p,cr[2*n+1]=g}var Lde=class extends GH{constructor(e={}){super(128,void 0===e.dkLen?64:e.dkLen,e,64,16,16),this.v0l=0|La[0],this.v0h=0|La[1],this.v1l=0|La[2],this.v1h=0|La[3],this.v2l=0|La[4],this.v2h=0|La[5],this.v3l=0|La[6],this.v3h=0|La[7],this.v4l=0|La[8],this.v4h=0|La[9],this.v5l=0|La[10],this.v5h=0|La[11],this.v6l=0|La[12],this.v6h=0|La[13],this.v7l=0|La[14],this.v7h=0|La[15];let t=e.key?e.key.length:0;if(this.v0l^=this.outputLen|t<<8|65536|1<<24,e.salt){let t=H1(pc(e.salt));this.v4l^=Y0(t[0]),this.v4h^=Y0(t[1]),this.v5l^=Y0(t[2]),this.v5h^=Y0(t[3])}if(e.personalization){let t=H1(pc(e.personalization));this.v6l^=Y0(t[0]),this.v6h^=Y0(t[1]),this.v7l^=Y0(t[2]),this.v7h^=Y0(t[3])}if(e.key){let t=new Uint8Array(this.blockLen);t.set(pc(e.key)),this.update(t)}}get(){let{v0l:e,v0h:t,v1l:r,v1h:n,v2l:i,v2h:o,v3l:s,v3h:a,v4l:c,v4h:u,v5l:l,v5h:d,v6l:h,v6h:f,v7l:p,v7h:g}=this;return[e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g]}set(e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g){this.v0l=0|e,this.v0h=0|t,this.v1l=0|r,this.v1h=0|n,this.v2l=0|i,this.v2h=0|o,this.v3l=0|s,this.v3h=0|a,this.v4l=0|c,this.v4h=0|u,this.v5l=0|l,this.v5h=0|d,this.v6l=0|h,this.v6h=0|f,this.v7l=0|p,this.v7h=0|g}compress(e,t,r){this.get().forEach(((e,t)=>cr[t]=e)),cr.set(La,16);let{h:n,l:i}=Dr.fromBig(BigInt(this.length));cr[24]=La[8]^i,cr[25]=La[9]^n,r&&(cr[28]=~cr[28],cr[29]=~cr[29]);let o=0,s=p$e;for(let r=0;r<12;r++)Tw(0,4,8,12,e,t+2*s[o++]),Sw(0,4,8,12,e,t+2*s[o++]),Tw(1,5,9,13,e,t+2*s[o++]),Sw(1,5,9,13,e,t+2*s[o++]),Tw(2,6,10,14,e,t+2*s[o++]),Sw(2,6,10,14,e,t+2*s[o++]),Tw(3,7,11,15,e,t+2*s[o++]),Sw(3,7,11,15,e,t+2*s[o++]),Tw(0,5,10,15,e,t+2*s[o++]),Sw(0,5,10,15,e,t+2*s[o++]),Tw(1,6,11,12,e,t+2*s[o++]),Sw(1,6,11,12,e,t+2*s[o++]),Tw(2,7,8,13,e,t+2*s[o++]),Sw(2,7,8,13,e,t+2*s[o++]),Tw(3,4,9,14,e,t+2*s[o++]),Sw(3,4,9,14,e,t+2*s[o++]);this.v0l^=cr[0]^cr[16],this.v0h^=cr[1]^cr[17],this.v1l^=cr[2]^cr[18],this.v1h^=cr[3]^cr[19],this.v2l^=cr[4]^cr[20],this.v2h^=cr[5]^cr[21],this.v3l^=cr[6]^cr[22],this.v3h^=cr[7]^cr[23],this.v4l^=cr[8]^cr[24],this.v4h^=cr[9]^cr[25],this.v5l^=cr[10]^cr[26],this.v5h^=cr[11]^cr[27],this.v6l^=cr[12]^cr[28],this.v6h^=cr[13]^cr[29],this.v7l^=cr[14]^cr[30],this.v7h^=cr[15]^cr[31],cr.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}},fB=JGe((e=>new Lde(e))),Fde=class extends mf{solanaProvider;lastSession=null;constructor(e){super(),this.solanaProvider=e}get version(){return"1.0.0"}get name(){return jf.name}get icon(){return jf.icon}get chains(){return KC}get supportedTransactionVersions(){return UH}get wallet(){return this}get standard(){return!0}get features(){return{[Lu.CONNECT]:{version:Lu.CONNECT_VERSION,connect:this.connect.bind(this)},[Lu.DISCONNECT]:{version:Lu.DISCONNECT_VERSION,disconnect:this.disconnect.bind(this)},[Lu.EVENTS]:{version:Lu.ON_VERSION,on:this.on.bind(this)},[Lu.SIGN_AND_SEND_TRANSACTION]:{version:Lu.SIGN_AND_SEND_TRANSACTION_VERSION,signAndSendTransaction:this.signAndSendTransaction.bind(this),supportedTransactionVersions:UH},[Lu.SIGN_TRANSACTION]:{version:Lu.SIGN_TRANSACTION_VERSION,signTransaction:this.signTransaction.bind(this),supportedTransactionVersions:UH},[Lu.SIGN_MESSAGE]:{version:Lu.SIGN_MESSAGE_VERSION,signMessage:this.signMessage.bind(this)}}}get accounts(){return this.publicKey?[new F4({address:this.publicKey?.toBase58(),publicKey:this.publicKey?.toBytes(),chains:this.chains,features:ZZe})]:[]}get publicKey(){return this.solanaProvider.getAccount()?.publicKey||null}createProxy(){let e=new Proxy(this,bf());return D4(e),e}async request(e){let{method:t,params:r}=e;switch(t){case mP.SOLANA_CONNECT:return this.handleSessionConnected();case mP.SOLANA_SIGN_AND_SEND_TRANSACTION:return this.signAndSendTransaction(r)}return this.solanaProvider.request(e)}async connect(){return this.handleSessionConnected()}async disconnect(){await this.solanaProvider.disconnect()}async signMessage(e){return await this.solanaProvider.signMessage(e)}getAccount(){return this.solanaProvider.getAccount()}async signTransaction(e){return await this.solanaProvider.signTransaction(e)}async signAllTransactions(e){return await this.solanaProvider.signAllTransactions(e)}async signAndSendTransaction(e){return{signature:await this.solanaProvider.signAndSendTransaction(e)}}get isConnected(){return this.solanaProvider?.isConnected||!1}async handleSessionConnected(){return this.solanaProvider.isConnected?this.solanaProvider.session&&(this.lastSession=this.solanaProvider.session):await this.solanaProvider.connect(),{publicKey:this.publicKey}}providerCallback(e,t){switch(e){case"connect":this.handleConnectedEvent(t);break;case"session_update":this.sessionUpdateCallback(t);break;case"session_delete":this.sessionDeleteCallback();break;default:this.getLogger().warn(`provider callback not implemented: ${e}`)}}handleConnectedEvent(e){e&&(this.emit("connect",this.publicKey),this.emit("accountChanged",this.publicKey),this.emit("chainChanged",e?.chains[0]),this.emit("change",{accounts:this.accounts}),this.lastSession=e)}sessionUpdateCallback(e){!this.lastSession&&e&&this.emit("connect",this.publicKey),this.lastSession?.chains[0]!==e?.chains[0]&&this.emit("chainChanged",e?.chains[0]),K1(this.lastSession?.accounts,e?.accounts)||(this.emit("accountChanged",this.publicKey),this.emit("change",{accounts:this.accounts})),this.lastSession=e}sessionDeleteCallback(){this.lastSession=null,this.emit("disconnect",null),this.emit("accountChanged",null),this.emit("chainChanged",null),this.emit("change",{accounts:[]})}},g$e=Fde;m();var utt=hi(ctt()),Lhe=class e extends $l{static provider;client;static initialized=!1;universalProvider;constructor(){super()}get isConnected(){return this.universalProvider.isConnected}get session(){return this.universalProvider.session?ku(this.universalProvider.session,"solana"):null}get defaultChainId(){return this.universalProvider?.getDefaultChainIdByNetwork("solana")}static init(t){return this.initialized||(this.provider=new e,this.provider.setupClient(t),e.initialized=!0),this.provider}setupClient(e){if(this.client)return void this.logger.info("client already initialized");let t=e.getClient();t&&(this.client=new utt.OKXSolanaProvider(t),this.universalProvider=e)}async request(e){return Object.values(mP).includes(e.method)?await Hr(this.universalProvider.request(e,"solana")):await this.handleRpcRequest(e)}async connect(){return await Hr(this.universalProvider.connect())}async disconnect(){await Hr(this.universalProvider.disconnect())}async signMessage(e){if(this.client)return await Hr(this.client.signMessage(e,this.defaultChainId));this.logger.error("client not initialized")}getAccount(){if(this.client)return this.client.getAccount(this.defaultChainId);this.logger.error("client not initialized")}async signTransaction(e){if(this.client)return await Hr(this.client.signTransaction(e,this.defaultChainId));this.logger.error("client not initialized")}async signAllTransactions(e){if(this.client)return await Hr(this.client.signAllTransactions(e,this.defaultChainId));this.logger.error("client not initialized")}async signAndSendTransaction(e){if(this.client)return await Hr(this.client.signAndSendTransaction(e,this.defaultChainId));this.logger.error("client not initialized")}parseResponse(e){}async handleRpcRequest(e){return await Hr((async e=>{let t={jsonrpc:e.jsonrpc||"2.0",id:e.id||1,method:e.method,params:e.params};return(await fetch("https://wallet.okx.com/fullnode/sol/discover/rpc",{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"none"},referrerPolicy:"strict-origin-when-cross-origin",body:JSON.stringify(t),method:"POST",mode:"cors"})).json()})(e))}},ltt=Lhe;m(),m();var Fa={CONNECT:RH,DISCONNECT:NH,EVENTS:DH,SIGN_AND_EXECUTE_TRANSACTION_BLOCK:"sui:signAndExecuteTransactionBlock",SIGN_TRANSACTION_BLOCK:"sui:signTransactionBlock",SIGN_MESSAGE:"sui:signMessage",SIGN_PERSONAL_MESSAGE:"sui:signPersonalMessage",CONNECT_VERSION:"1.0.0",DISCONNECT_VERSION:"1.0.0",ON_VERSION:"1.0.0",SIGN_AND_EXECUTE_TRANSACTION_BLOCK_VERSION:"1.0.0",SIGN_TRANSACTION_BLOCK_VERSION:"1.0.0",SIGN_MESSAGE_VERSION:"1.0.0",SIGN_PERSONAL_VERSION:"1.0.0"},ftt=[Fa.SIGN_AND_EXECUTE_TRANSACTION_BLOCK,Fa.SIGN_TRANSACTION_BLOCK,Fa.SIGN_MESSAGE,Fa.SIGN_PERSONAL_MESSAGE];function gtt(e,t){return ib.IntentMessage(ib.fixedArray(t.length,ib.u8())).serialize({intent:{scope:{[e]:!0},version:{V0:!0},appId:{Sui:!0}},value:t}).toBytes()}m(),m(),m(),m();var o8={ED25519:0,Secp256k1:1,Secp256r1:2,MultiSig:3,ZkLogin:5},ytt={ED25519:32,Secp256k1:33,Secp256r1:33},mtt={0:"ED25519",1:"Secp256k1",2:"Secp256r1",3:"MultiSig",5:"ZkLogin"};function Whe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}m(),m(),m();var s8=class{equals(e){return Whe(this.toRawBytes(),e.toRawBytes())}toBase64(){return Ua(this.toRawBytes())}toString(){throw new Error("`toString` is not implemented on public keys. Use `toBase64()` or `toRawBytes()` instead.")}toSuiPublicKey(){return Ua(this.toSuiBytes())}verifyWithIntent(e,t,r){let n=gtt(r,e),i=fB(n,{dkLen:32});return this.verify(i,t)}verifyPersonalMessage(e,t){return this.verifyWithIntent(ib.vector(ib.u8()).serialize(e).toBytes(),t,"PersonalMessage")}verifyTransaction(e,t){return this.verifyWithIntent(e,t,"TransactionData")}toSuiBytes(){let e=this.toRawBytes(),t=new Uint8Array(e.length+1);return t.set([this.flag()]),t.set(e,1),t}toSuiAddress(){return $g(Q0(fB(this.toSuiBytes(),{dkLen:32})).slice(0,2*Ew))}};function btt(e,t){if(!e)throw new Error(t)}m(),m(),m(),m();var Khe={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},$or=new Set(Object.keys(Khe)),zhe,_B;function Hhe(e){let t=e?.kind;return"string"==typeof t&&$or.has(t)}function qhe(e){return 9===e||32===e}function vtt(e,t){let r=e.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),i=1===n.length,o=n.length>1&&n.slice(1).every((e=>0===e.length||qhe(e.charCodeAt(0)))),s=r.endsWith('\\"""'),a=e.endsWith('"')&&!s,c=e.endsWith("\\"),u=a||c,l=!(null!=t&&t.minimize)&&(!i||e.length>70||u||o||s),d="",h=i&&qhe(e.charCodeAt(0));return(l&&!h||o)&&(d+="\n"),d+=r,(l||u)&&(d+="\n"),'"""'+d+'"""'}function wtt(e){return Jq(e,[])}function Jq(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return esr(e,t);default:return String(e)}}function esr(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let r=[...t,e];if(tsr(e)){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:Jq(t,r)}else if(Array.isArray(e))return nsr(e,r);return rsr(e,r)}function tsr(e){return"function"==typeof e.toJSON}function rsr(e,t){let r=Object.entries(e);return 0===r.length?"{}":t.length>2?"["+isr(e)+"]":"{ "+r.map((([e,r])=>e+": "+Jq(r,t))).join(", ")+" }"}function nsr(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";let r=Math.min(10,e.length),n=e.length-r,i=[];for(let n=0;n<r;++n)i.push(Jq(e[n],t));return 1===n?i.push("... 1 more item"):n>1&&i.push(`... ${n} more items`),"["+i.join(", ")+"]"}function isr(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}function xtt(e){return`"${e.replace(osr,ssr)}"`}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(zhe||(zhe={})),m(),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(_B||(_B={})),m(),m(),m(),m(),m();var osr=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function ssr(e){return asr[e.charCodeAt(0)]}var asr=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];m();var Att=Object.freeze({});function jhe(e,t,r=Khe){let n=new Map;for(let e of Object.values(_B))n.set(e,Ett(t,e));let i,o,s,a=Array.isArray(e),c=[e],u=-1,l=[],d=e,h=[],f=[];do{u++;let e,m=u===c.length,b=m&&0!==l.length;if(m){if(o=0===f.length?void 0:h[h.length-1],d=s,s=f.pop(),b)if(a){d=d.slice();let e=0;for(let[t,r]of l){let n=t-e;null===r?(d.splice(n,1),e++):d[n]=r}}else{d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d));for(let[e,t]of l)d[e]=t}u=i.index,c=i.keys,l=i.edits,a=i.inArray,i=i.prev}else if(s){if(o=a?u:c[u],d=s[o],null==d)continue;h.push(o)}if(!Array.isArray(d)){var p,g;Hhe(d)||btt(!1,`Invalid AST Node: ${wtt(d)}.`);let r=m?null===(p=n.get(d.kind))||void 0===p?void 0:p.leave:null===(g=n.get(d.kind))||void 0===g?void 0:g.enter;if(e=r?.call(t,d,o,s,h,f),e===Att)break;if(!1===e){if(!m){h.pop();continue}}else if(void 0!==e&&(l.push([o,e]),!m)){if(!Hhe(e)){h.pop();continue}d=e}}var y;if(void 0===e&&b&&l.push([o,d]),m)h.pop();else i={inArray:a,index:u,keys:c,edits:l,prev:i},a=Array.isArray(d),c=a?d:null!==(y=r[d.kind])&&void 0!==y?y:[],u=-1,l=[],s&&f.push(s),s=d}while(void 0!==i);return 0!==l.length?l[l.length-1][1]:e}function Ett(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}function Yq(e){return jhe(e,usr)}var csr=80,usr={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Tr(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=ii("(",Tr(e.variableDefinitions,", "),")"),r=Tr([e.operation,Tr([e.name,t]),Tr(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+ii(" = ",r)+ii(" ",Tr(n," "))},SelectionSet:{leave:({selections:e})=>ap(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=ii("",e,": ")+t,s=o+ii("(",Tr(r,", "),")");return s.length>csr&&(s=o+ii("(\n",Xq(Tr(r,"\n")),"\n)")),Tr([s,Tr(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+ii(" ",Tr(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>Tr(["...",ii("on ",e),Tr(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${ii("(",Tr(r,", "),")")} on ${t} ${ii("",Tr(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?vtt(e):xtt(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Tr(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Tr(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+ii("(",Tr(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>ii("",e,"\n")+Tr(["schema",Tr(t," "),ap(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>ii("",e,"\n")+Tr(["scalar",t,Tr(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>ii("",e,"\n")+Tr(["type",t,ii("implements ",Tr(r," & ")),Tr(n," "),ap(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>ii("",e,"\n")+t+(Ttt(r)?ii("(\n",Xq(Tr(r,"\n")),"\n)"):ii("(",Tr(r,", "),")"))+": "+n+ii(" ",Tr(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>ii("",e,"\n")+Tr([t+": "+r,ii("= ",n),Tr(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>ii("",e,"\n")+Tr(["interface",t,ii("implements ",Tr(r," & ")),Tr(n," "),ap(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>ii("",e,"\n")+Tr(["union",t,Tr(r," "),ii("= ",Tr(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>ii("",e,"\n")+Tr(["enum",t,Tr(r," "),ap(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>ii("",e,"\n")+Tr([t,Tr(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>ii("",e,"\n")+Tr(["input",t,Tr(r," "),ap(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>ii("",e,"\n")+"directive @"+t+(Ttt(r)?ii("(\n",Xq(Tr(r,"\n")),"\n)"):ii("(",Tr(r,", "),")"))+(n?" repeatable":"")+" on "+Tr(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Tr(["extend schema",Tr(e," "),ap(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Tr(["extend scalar",e,Tr(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>Tr(["extend type",e,ii("implements ",Tr(t," & ")),Tr(r," "),ap(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>Tr(["extend interface",e,ii("implements ",Tr(t," & ")),Tr(r," "),ap(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>Tr(["extend union",e,Tr(t," "),ii("= ",Tr(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>Tr(["extend enum",e,Tr(t," "),ap(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>Tr(["extend input",e,Tr(t," "),ap(r)]," ")}};function Tr(e,t=""){var r;return null!==(r=e?.filter((e=>e)).join(t))&&void 0!==r?r:""}function ap(e){return ii("{\n",Xq(Tr(e,"\n")),"\n}")}function ii(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function Xq(e){return ii("  ",e.replace(/\n/g,"\n  "))}function Ttt(e){var t;return null!==(t=e?.some((e=>e.includes("\n"))))&&void 0!==t&&t}m();var Stt=e=>{throw TypeError(e)},Ctt=(e,t,r)=>t.has(e)||Stt("Cannot "+r),Qq=(e,t,r)=>(Ctt(e,t,"read from private field"),r?r.call(e):t.get(e)),Zq=(e,t,r)=>t.has(e)?Stt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),$q=(e,t,r,n)=>(Ctt(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ej,tj,rj,nj,Ghe=class extends Error{},ij=class{constructor({url:e,fetch:t=fetch,headers:r={},queries:n={}}){Zq(this,ej),Zq(this,tj),Zq(this,rj),Zq(this,nj),$q(this,ej,e),$q(this,tj,n),$q(this,rj,r),$q(this,nj,((...e)=>t(...e)))}async query(e){let t=await Qq(this,nj).call(this,Qq(this,ej),{method:"POST",headers:{"Content-Type":"application/json",...Qq(this,rj)},body:JSON.stringify({query:"string"==typeof e.query?String(e.query):Yq(e.query),variables:e.variables,extensions:e.extensions,operationName:e.operationName})});if(!t.ok)throw new Ghe(`GraphQL request failed: ${t.statusText} (${t.status})`);return await t.json()}async execute(e,t){return this.query({...t,query:Qq(this,tj)[e]})}};ej=new WeakMap,tj=new WeakMap,rj=new WeakMap,nj=new WeakMap,m(),m(),m();var RB={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"},Vhe=class extends Error{constructor(e,t,r,n,i,o,s){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),r&&(this.source=r),n&&(this.positions=n),o&&(this.originalError=o);var a=s;if(!a&&o){var c=o.extensions;c&&"object"==typeof c&&(a=c)}this.extensions=a||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}},Mr,Ut;function Bf(e){return new Vhe(`Syntax Error: Unexpected token at ${Ut} in ${e}`)}function Itt(e){if(e.lastIndex=Ut,e.test(Mr))return Mr.slice(Ut,Ut=e.lastIndex)}var oj=/ +(?=[^\s])/y;function lsr(e){for(var t=e.split("\n"),r="",n=0,i=0,o=t.length-1,s=0;s<t.length;s++)oj.lastIndex=0,oj.test(t[s])&&(s&&(!n||oj.lastIndex<n)&&(n=oj.lastIndex),i=i||s,o=s);for(var a=i;a<=o;a++)a!==i&&(r+="\n"),r+=t[a].slice(n).replace(/\\"""/g,'"""');return r}function ui(){for(var e=0|Mr.charCodeAt(Ut++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|Mr.charCodeAt(Ut++))if(35===e)for(;10!==(e=Mr.charCodeAt(Ut++))&&13!==e;);Ut--}function Jhe(){for(var e=Ut,t=0|Mr.charCodeAt(Ut++);t>=48&&t<=57||t>=65&&t<=90||95===t||t>=97&&t<=122;t=0|Mr.charCodeAt(Ut++));if(e===Ut-1)throw Bf("Name");var r=Mr.slice(e,--Ut);return ui(),r}function Mf(){return{kind:"Name",value:Jhe()}}var fsr=/(?:"""|(?:[\s\S]*?[^\\])""")/y,dsr=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function sj(e){var t;switch(Mr.charCodeAt(Ut)){case 91:Ut++,ui();for(var r=[];93!==Mr.charCodeAt(Ut);)r.push(sj(e));return Ut++,ui(),{kind:"ListValue",values:r};case 123:Ut++,ui();for(var n=[];125!==Mr.charCodeAt(Ut);){var i=Mf();if(58!==Mr.charCodeAt(Ut++))throw Bf("ObjectField");ui(),n.push({kind:"ObjectField",name:i,value:sj(e)})}return Ut++,ui(),{kind:"ObjectValue",fields:n};case 36:if(e)throw Bf("Variable");return Ut++,{kind:"Variable",name:Mf()};case 34:if(34===Mr.charCodeAt(Ut+1)&&34===Mr.charCodeAt(Ut+2)){if(Ut+=3,null==(t=Itt(fsr)))throw Bf("StringValue");return ui(),{kind:"StringValue",value:lsr(t.slice(0,-3)),block:!0}}var o,s=Ut;Ut++;var a=!1;for(o=0|Mr.charCodeAt(Ut++);92===o&&(Ut++,a=!0)||10!==o&&13!==o&&34!==o&&o;o=0|Mr.charCodeAt(Ut++));if(34!==o)throw Bf("StringValue");return t=Mr.slice(s,Ut),ui(),{kind:"StringValue",value:a?JSON.parse(t):t.slice(1,-1),block:!1};case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var c,u=Ut++;(c=0|Mr.charCodeAt(Ut++))>=48&&c<=57;);var l=Mr.slice(u,--Ut);if(46===(c=Mr.charCodeAt(Ut))||69===c||101===c){if(null==(t=Itt(dsr)))throw Bf("FloatValue");return ui(),{kind:"FloatValue",value:l+t}}return ui(),{kind:"IntValue",value:l};case 110:if(117===Mr.charCodeAt(Ut+1)&&108===Mr.charCodeAt(Ut+2)&&108===Mr.charCodeAt(Ut+3))return Ut+=4,ui(),{kind:"NullValue"};break;case 116:if(114===Mr.charCodeAt(Ut+1)&&117===Mr.charCodeAt(Ut+2)&&101===Mr.charCodeAt(Ut+3))return Ut+=4,ui(),{kind:"BooleanValue",value:!0};break;case 102:if(97===Mr.charCodeAt(Ut+1)&&108===Mr.charCodeAt(Ut+2)&&115===Mr.charCodeAt(Ut+3)&&101===Mr.charCodeAt(Ut+4))return Ut+=5,ui(),{kind:"BooleanValue",value:!1}}return{kind:"EnumValue",value:Jhe()}}function Ptt(e){if(40===Mr.charCodeAt(Ut)){var t=[];Ut++,ui();do{var r=Mf();if(58!==Mr.charCodeAt(Ut++))throw Bf("Argument");ui(),t.push({kind:"Argument",name:r,value:sj(e)})}while(41!==Mr.charCodeAt(Ut));return Ut++,ui(),t}}function _w(e){if(64===Mr.charCodeAt(Ut)){var t=[];do{Ut++,t.push({kind:"Directive",name:Mf(),arguments:Ptt(e)})}while(64===Mr.charCodeAt(Ut));return t}}function hsr(){for(var e=0;91===Mr.charCodeAt(Ut);)e++,Ut++,ui();var t={kind:"NamedType",name:Mf()};do{if(33===Mr.charCodeAt(Ut)&&(Ut++,ui(),t={kind:"NonNullType",type:t}),e){if(93!==Mr.charCodeAt(Ut++))throw Bf("NamedType");ui(),t={kind:"ListType",type:t}}}while(e--);return t}function aj(){if(123!==Mr.charCodeAt(Ut++))throw Bf("SelectionSet");return ui(),cj()}function cj(){var e=[];do{if(46===Mr.charCodeAt(Ut)){if(46!==Mr.charCodeAt(++Ut)||46!==Mr.charCodeAt(++Ut))throw Bf("SelectionSet");switch(Ut++,ui(),Mr.charCodeAt(Ut)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:_w(!1),selectionSet:aj()});break;case 111:110===Mr.charCodeAt(Ut+1)?(Ut+=2,ui(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:Mf()},directives:_w(!1),selectionSet:aj()})):e.push({kind:"FragmentSpread",name:Mf(),directives:_w(!1)});break;case 123:Ut++,ui(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:cj()});break;default:e.push({kind:"FragmentSpread",name:Mf(),directives:_w(!1)})}}else{var t=Mf(),r=void 0;58===Mr.charCodeAt(Ut)&&(Ut++,ui(),r=t,t=Mf());var n=Ptt(!1),i=_w(!1),o=void 0;123===Mr.charCodeAt(Ut)&&(Ut++,ui(),o=cj()),e.push({kind:"Field",alias:r,name:t,arguments:n,directives:i,selectionSet:o})}}while(125!==Mr.charCodeAt(Ut));return Ut++,ui(),{kind:"SelectionSet",selections:e}}function psr(){if(ui(),40===Mr.charCodeAt(Ut)){var e=[];Ut++,ui();do{if(36!==Mr.charCodeAt(Ut++))throw Bf("Variable");var t=Mf();if(58!==Mr.charCodeAt(Ut++))throw Bf("VariableDefinition");ui();var r=hsr(),n=void 0;61===Mr.charCodeAt(Ut)&&(Ut++,ui(),n=sj(!0)),ui(),e.push({kind:"VariableDefinition",variable:{kind:"Variable",name:t},type:r,defaultValue:n,directives:_w(!0)})}while(41!==Mr.charCodeAt(Ut));return Ut++,ui(),e}}function gsr(){var e=Mf();if(111!==Mr.charCodeAt(Ut++)||110!==Mr.charCodeAt(Ut++))throw Bf("FragmentDefinition");return ui(),{kind:"FragmentDefinition",name:e,typeCondition:{kind:"NamedType",name:Mf()},directives:_w(!1),selectionSet:aj()}}function Ott(){var e=[];do{if(123===Mr.charCodeAt(Ut))Ut++,ui(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:cj()});else{var t=Jhe();switch(t){case"fragment":e.push(gsr());break;case"query":case"mutation":case"subscription":var r,n=void 0;40!==(r=Mr.charCodeAt(Ut))&&64!==r&&123!==r&&(n=Mf()),e.push({kind:"OperationDefinition",operation:t,name:n,variableDefinitions:psr(),directives:_w(!1),selectionSet:aj()});break;default:throw Bf("Document")}}}while(Ut<Mr.length);return e}function Btt(e,t){return Mr=e.body?e.body:e,Ut=0,ui(),t&&t.noLocation?{kind:"Document",definitions:Ott()}:{kind:"Document",definitions:Ott(),loc:{start:0,end:Mr.length,startToken:void 0,endToken:void 0,source:{body:Mr,name:"graphql.web",locationOffset:{line:1,column:1}}}}}var Mtt=0,Xhe=new Set;function Yhe(){function e(e,t){var r,n,i=Btt(e).definitions,o=new Set;for(var s of t||[])for(var a of s.definitions)a.kind===RB.FRAGMENT_DEFINITION&&!o.has(a)&&(i.push(a),o.add(a));return(r=i[0].kind===RB.FRAGMENT_DEFINITION)&&i[0].directives&&(i[0].directives=i[0].directives.filter((e=>"_unmask"!==e.name.value))),{kind:RB.DOCUMENT,definitions:i,get loc(){if(!n&&r){var i=e+function(e){try{Mtt++;var t="";for(var r of e)if(!Xhe.has(r)){Xhe.add(r);var{loc:n}=r;n&&(t+=n.source.body)}return t}finally{0==--Mtt&&Xhe.clear()}}(t||[]);return{start:0,end:i.length,source:{body:i,name:"GraphQLTada",locationOffset:{line:1,column:1}}}}return n},set loc(e){n=e}}}return e.scalar=function(e,t){return t},e.persisted=function(e,t){return{kind:RB.DOCUMENT,definitions:t?t.definitions:[],documentId:e}},e}var V2n=Yhe(),ktt=Yhe();function ysr(e){if(1!==e.length)throw new Error("Invalid base64Url character: "+e);let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(e);if(-1===t)throw new Error("Invalid base64Url character: "+e);let r=t.toString(2).padStart(6,"0");return Array.from(r).map(Number)}function msr(e){let t=[];for(let r=0;r<e.length;r++){let n=ysr(e.charAt(r));t=t.concat(n)}return t}function bsr(e,t){if(e.length<2)throw new Error(`Input (s = ${e}) is not tightly packed because s.length < 2`);let r=msr(e),n=t%4;if(0!==n)if(1===n)r=r.slice(2);else{if(2!==n)throw new Error(`Input (s = ${e}) is not tightly packed because i%4 = 3 (i = ${t}))`);r=r.slice(4)}let i=(t+e.length-1)%4;if(3!==i)if(2===i)r=r.slice(0,r.length-2);else{if(1!==i)throw new Error(`Input (s = ${e}) is not tightly packed because (i + s.length - 1)%4 = 0 (i = ${t}))`);r=r.slice(0,r.length-4)}if(r.length%8!=0)throw new Error("We should never reach here...");let o=new Uint8Array(Math.floor(r.length/8)),s=0;for(let e=0;e<r.length;e+=8){let t=r.slice(e,e+8),n=parseInt(t.join(""),2);o[s++]=n}return(new TextDecoder).decode(o)}function vsr(e){if("}"!==e.slice(-1)&&","!==e.slice(-1))throw new Error("Invalid claim");let t=JSON.parse("{"+e.slice(0,-1)+"}");if(1!==Object.keys(t).length)throw new Error("Invalid claim");let r=Object.keys(t)[0];return[r,t[r]]}function _tt(e,t){let r=bsr(e.value,e.indexMod4),[n,i]=vsr(r);if(n!==t)throw new Error(`Invalid field name: found ${n} expected ${t}`);return i}m(),m(),m();var Rtt=me.struct("ZkLoginSignature",{inputs:me.struct("ZkLoginSignatureInputs",{proofPoints:me.struct("ZkLoginSignatureInputsProofPoints",{a:me.vector(me.string()),b:me.vector(me.vector(me.string())),c:me.vector(me.string())}),issBase64Details:me.struct("ZkLoginSignatureInputsClaim",{value:me.string(),indexMod4:me.u8()}),headerBase64:me.string(),addressSeed:me.string()}),maxEpoch:me.u64(),userSignature:me.vector(me.u8())});function Ntt(e){return Rtt.parse("string"==typeof e?bc(e):e)}function wsr(e){for(let t=0;t<e.length;t++)if(0!==e[t])return t;return-1}function uj(e,t){return q1(e.toString(16).padStart(2*t,"0").slice(2*-t))}function Qhe(e,t){let r=uj(e,t),n=wsr(r);return-1===n?new Uint8Array([0]):r.slice(n)}m();var Ltt=e=>{throw TypeError(e)},Ftt=(e,t,r)=>t.has(e)||Ltt("Cannot "+r),db=(e,t,r)=>(Ftt(e,t,"read from private field"),r?r.call(e):t.get(e)),Zhe=(e,t,r)=>t.has(e)?Ltt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),a8=(e,t,r,n)=>(Ftt(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),cp,NB,DB,xsr=class e extends s8{constructor(e,{client:t}={}){super(),Zhe(this,cp),Zhe(this,NB),Zhe(this,DB),a8(this,NB,t),"string"==typeof e?a8(this,cp,bc(e)):e instanceof Uint8Array?a8(this,cp,e):a8(this,cp,Uint8Array.from(e)),a8(this,DB,db(this,cp).length!==db(this,cp)[0]+1+32),db(this,DB)&&a8(this,cp,Dtt(db(this,cp)))}equals(e){return super.equals(e)}toSuiAddress(){if(db(this,DB)){let e=Dtt(db(this,cp),!0),t=new Uint8Array(e.length+1);return t[0]=this.flag(),t.set(e,1),$g(Q0(fB(t,{dkLen:32})).slice(0,2*Ew))}return super.toSuiAddress()}toRawBytes(){return db(this,cp)}flag(){return o8.ZkLogin}async verify(e,t){throw Error("does not support")}verifyPersonalMessage(t,r){let n=lj(r);return Utt({address:new e(n.publicKey).toSuiAddress(),bytes:Ua(t),signature:n.serializedSignature,intentScope:"PERSONAL_MESSAGE",client:db(this,NB)})}verifyTransaction(t,r){let n=lj(r);return Utt({address:new e(n.publicKey).toSuiAddress(),bytes:Ua(t),signature:n.serializedSignature,intentScope:"TRANSACTION_DATA",client:db(this,NB)})}};cp=new WeakMap,NB=new WeakMap,DB=new WeakMap;var Asr=xsr;function Esr(e,t,r){let n=r?.legacyAddress?Qhe(e,32):uj(e,32),i=(new TextEncoder).encode(t),o=new Uint8Array(1+i.length+n.length);return o.set([i.length],0),o.set(i,1),o.set(n,1+i.length),new Asr(o,r)}var Tsr=ktt("\n\tquery Zklogin(\n\t\t$bytes: Base64!\n\t\t$signature: Base64!\n\t\t$intentScope: ZkLoginIntentScope!\n\t\t$author: SuiAddress!\n\t) {\n\t\tverifyZkloginSignature(\n\t\t\tbytes: $bytes\n\t\t\tsignature: $signature\n\t\t\tintentScope: $intentScope\n\t\t\tauthor: $author\n\t\t) {\n\t\t\tsuccess\n\t\t\terrors\n\t\t}\n\t}\n");function Dtt(e,t=!1){let r=e[0]+1,n=BigInt(`0x${Qg(e.slice(r))}`),i=t?Qhe(n,32):uj(n,32),o=new Uint8Array(r+i.length);return o.set(e.slice(0,r),0),o.set(i,r),o}async function Utt({address:e,bytes:t,signature:r,intentScope:n,client:i=new ij({url:"https://sui-mainnet.mystenlabs.com/graphql"})}){let o=await i.query({query:Tsr,variables:{bytes:t,signature:r,intentScope:n,author:e}});return!0===o.data?.verifyZkloginSignature.success&&0===o.data?.verifyZkloginSignature.errors.length}function lj(e){let t="string"==typeof e?bc(e):e;if(t[0]!==o8.ZkLogin)throw new Error("Invalid signature scheme");let r=t.slice(1),{inputs:n,maxEpoch:i,userSignature:o}=Ntt(r),{issBase64Details:s,addressSeed:a}=n,c=_tt(s,"iss"),u=Esr(BigInt(a),c);return{serializedSignature:Ua(t),signatureScheme:"ZkLogin",zkLogin:{inputs:n,maxEpoch:i,userSignature:o,iss:c,addressSeed:BigInt(a)},signature:t,publicKey:u.toRawBytes()}}function Wtt(e){let t=bc(e),r=mtt[t[0]];switch(r){case"MultiSig":return{serializedSignature:e,signatureScheme:r,multisig:ib.MultiSig.parse(t.slice(1)),bytes:t};case"ZkLogin":return lj(e);case"ED25519":case"Secp256k1":case"Secp256r1":let n=ytt[r],i=t.slice(1,t.length-n);return{serializedSignature:e,signatureScheme:r,signature:i,publicKey:t.slice(1+i.length),bytes:t};default:throw new Error("Unsupported signature scheme")}}m();var ztt=hi(oh(),1),e0e=32,c8=class extends s8{constructor(e){if(super(),"string"==typeof e?this.data=bc(e):e instanceof Uint8Array?this.data=e:this.data=Uint8Array.from(e),this.data.length!==e0e)throw new Error(`Invalid public key input. Expected ${e0e} bytes, got ${this.data.length}`)}equals(e){return super.equals(e)}toRawBytes(){return this.data}flag(){return o8.ED25519}async verify(e,t){let r;if("string"==typeof t){let e=Wtt(t);if("ED25519"!==e.signatureScheme)throw new Error("Invalid signature scheme");if(!Whe(this.toRawBytes(),e.publicKey))throw new Error("Signature does not match public key");r=e.signature}else r=t;return ztt.default.sign.detached.verify(e,r,this.toRawBytes())}};c8.SIZE=e0e;var Ktt=e=>e?new c8(e).toRawBytes():new Uint8Array,t0e=class extends mf{suiProvider;lastSession=null;constructor(e){super(),this.suiProvider=e}get version(){return"1.0.0"}get name(){return jf.name}get icon(){return jf.icon}get chains(){return HC}get wallet(){return this}get standard(){return!0}get features(){return{[Fa.CONNECT]:{version:Fa.CONNECT_VERSION,connect:this.connect.bind(this)},[Fa.DISCONNECT]:{version:Fa.DISCONNECT_VERSION,disconnect:this.disconnect.bind(this)},[Fa.EVENTS]:{version:Fa.ON_VERSION,on:this.on.bind(this)},[Fa.SIGN_AND_EXECUTE_TRANSACTION_BLOCK]:{version:Fa.SIGN_AND_EXECUTE_TRANSACTION_BLOCK_VERSION,signAndExecuteTransactionBlock:this.signAndExecuteTransactionBlock.bind(this)},[Fa.SIGN_TRANSACTION_BLOCK]:{version:Fa.SIGN_TRANSACTION_BLOCK_VERSION,signTransactionBlock:this.signTransactionBlock.bind(this)},[Fa.SIGN_MESSAGE]:{version:Fa.SIGN_MESSAGE_VERSION,signMessage:this.signMessage.bind(this)},[Fa.SIGN_PERSONAL_MESSAGE]:{version:Fa.SIGN_PERSONAL_VERSION,signPersonalMessage:this.signPersonalMessage.bind(this)}}}get address(){return this.getAccount()?.address}get accounts(){let e=this.getAccount();return e?.address&&e?.publicKey?[new F4({address:e.address,publicKey:Ktt(e.publicKey),chains:this.chains,features:ftt})]:[]}get accountInfo(){return this.accounts[0]||null}createProxy(){let e=new Proxy(this,bf());return D4(e),e}async request(e){let{method:t}=e;if(t===KGe.SUI_CONNECT)return this.handleConnect();try{let r=await this.suiProvider.request(e);return this.getLogger().debug(`Requesting ${t} result: `,r),r}catch(e){let r=jv(e);throw this.getLogger().error(`Requesting ${t} error: ${e.message}`),r}}async connect(){return this.handleConnect()}async disconnect(){await this.suiProvider.disconnect(),this.logger.info("disconnect: ",this.lastSession)}async signMessage(e){return this.suiProvider.signMessage(e)}async signPersonalMessage(e){return this.suiProvider.signPersonalMessage(e)}getAccount(){return this.suiProvider.getAccount()}async signTransactionBlock(e){return this.suiProvider.signTransactionBlock({...e,chain:HC[0]})}async signAndExecuteTransactionBlock(e){return this.suiProvider.signAndExecuteTransactionBlock({...e,chain:HC[0]})}get isConnected(){return this.suiProvider?.isConnected||!1}async handleConnect(){try{return this.logger.debug("handleSuiConnect: ",this.suiProvider.isConnected),this.suiProvider.isConnected||await this.suiProvider.connect(),this.lastSession=this.suiProvider.session,this.getLogger().debug("handleSuiConnect result: ",this.accountInfo),{accounts:this.accounts}}catch(e){return this.getLogger().error(`Requesting accounts error: ${e.message}`),Promise.reject(e)}}providerCallback(e,t){switch(e){case"connect":this.handleConnectedEvent(t);break;case"session_update":this.sessionUpdateCallback(t);break;case"session_delete":this.sessionDeleteCallback();break;default:this.getLogger().warn(`provider callback not implemented: ${e}`)}}handleConnectedEvent(e){e&&(this.emit("connect",this.accountInfo),this.emit("accountChanged",this.accountInfo),this.emit("chainChanged",e?.chains[0]),this.emit("change",{accounts:this.accounts}),this.lastSession=e)}sessionUpdateCallback(e){this.lastSession?.chains[0]!==e?.chains[0]&&this.emit("chainChanged",e?.chains[0]),this.lastSession?.accounts[0]!==e?.accounts[0]&&(this.emit("accountChanged",this.accountInfo),this.emit("change",{accounts:this.accounts})),this.lastSession=e}sessionDeleteCallback(){this.lastSession=null,this.emit("disconnect",null),this.emit("accountChanged",null),this.emit("chainChanged",null),this.emit("change",{accounts:[]})}},Htt=t0e;m();var olt=hi(ilt()),Hge=class e extends $l{static provider;client;static initialized=!1;universalProvider;constructor(){super()}get isConnected(){return this.universalProvider.isConnected}get session(){return this.universalProvider.session?ku(this.universalProvider.session,"sui"):null}static init(t){return this.initialized||(this.provider=new e,this.provider.setupClient(t),e.initialized=!0),this.provider}setupClient(e){if(this.client)return void this.logger.info("client already initialized");let t=e.getClient();t&&(this.client=new olt.OKXSuiProvider(t),this.universalProvider=e)}async request(e){return await Hr(this.universalProvider.request(e,"sui"))}async connect(){return await Hr(this.universalProvider.connect())}async disconnect(){await Hr(this.universalProvider.disconnect())}getAccount(){if(this.client)return this.client.getAccount();this.logger.error("client not initialized")}async signMessage(e){if(this.client)return await Hr(this.client.signMessage(e));this.logger.error("client not initialized")}async signPersonalMessage(e){if(this.client)return await Hr(this.client.signPersonalMessage(e));this.logger.error("client not initialized")}async signTransactionBlock(e){if(this.client)return await Hr(this.client.signTransaction(e));this.logger.error("client not initialized")}async signAndExecuteTransactionBlock(e){if(this.client)return await Hr(this.client.signAndExecuteTransaction(e));this.logger.error("client not initialized")}parseResponse(e){}},slt=Hge;m(),m();var tG="okx-connect-current-btc-chain",qge=class extends mf{provider;lastSession=null;__origin="unisat";get isConnected(){return this.provider.isConnected}constructor(e){super(),this.provider=e}createProxy(e){return new Proxy(this,bf(e))}request(e){return this.provider.request(e)}async connect(){await this.provider.connect();let e=this.checkChain(),t=await this.provider.getAccount(e),r=this.provider.session?.extra[e];return{address:t.address,publicKey:r?.publicKey,compressedPublicKey:r?.compressedPublicKey}}async disconnect(){return this.provider.disconnect()}async requestAccounts(){let e=this.provider.isConnected;e||await this.connect();let t=await this.getAccounts();return e||this.emit("connect",t[0]),t}async getAccounts(){let e=this.checkChain(),t=await this.provider.getAccount(e);return console.log("btcAdapter getAccounts: ",t),t?[t.address]:[]}async getNetwork(){let e=this.checkChain();return Promise.resolve(e)}async getPublicKey(){let e=this.checkChain();return(this.provider.session?.extra[e]).publicKey}async switchChain(e){window.localStorage.setItem(tG,e);let t=await this.getAccounts();this.emit("accountChanged",t[0])}signMessage(e,t){let r=this.checkChain(!0);return this.provider.signMessage(r,e,t)}async send(e){let t=this.checkChain(!0);return await this.provider.send(t,e)}async sendBitcoin(e,t,r){let n=this.checkChain(!0);return await this.provider.sendBitcoin(n,e,t,r)}async sendInscription(e,t,r){let n=this.checkChain(!0);return await this.provider.sendInscription(n,e,t,r)}async pushTx(e){let t=this.checkChain(!0);return await this.provider.sendRawTransaction(t,e)}async signPsbt(e,t){let r=this.checkChain(!0);return await this.provider.signPsbt(r,e,t)}async signPsbts(e,t){let r=this.checkChain(!0);return await this.provider.signPsbts(r,e,t)}async pushPsbt(e){let t=this.checkChain(!0);return await this.provider.pushPsbt(t,e)}providerCallback(e,t){switch(e){case"connect":this.handleSessionConnect(t);break;case"session_update":this.handleSessionUpdate(t);break;case"session_delete":this.handleSessionDelete();break;default:this.getLogger().warn(`provider callback not implemented: ${e}`)}}checkChain(e=!1){let t=window.localStorage.getItem(tG)||this.provider.defaultChainId||CT;if(console.log("checkChain: ",t),this.__origin&&e){switch(this.__origin){case"unisat":case"okxwallet.unisat":case"okxwallet.bitcoin":t=CT;break;case"okxwallet.fractalBitcoin":t=YJ}window.localStorage.setItem(tG,t)}return t}handleSessionConnect(e){if(!e)return;let t=this.checkChain();this.emit("connect",this.provider.getAccount(t)),this.lastSession=e}handleSessionUpdate(e){if(this.lastSession=e,console.log("handleSessionUpdate: ",e),!K1(this.lastSession?.accounts,e?.accounts)){let e=this.checkChain();this.emit("accountChanged",this.provider.getAccount(e))}}handleSessionDelete(){this.emit("accountChanged",null),this.emit("accountsChagned",[]),this.lastSession=null}},alt=qge;m(),m(),m(),m();var ga={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128};function ult(e){if(e.length<8||e.length>72||48!==e[0]||e[1]!==e.length-2||2!==e[2])return!1;let t=e[3];if(0===t||5+t>=e.length||2!==e[4+t])return!1;let r=e[5+t];return!(0===r||6+t+r!==e.length||128&e[4]||t>1&&0===e[4]&&!(128&e[5])||128&e[t+6]||r>1&&0===e[t+6]&&!(128&e[t+7]))}function llt(e){if(e.length<8)throw new Error("DER sequence length is too short");if(e.length>72)throw new Error("DER sequence length is too long");if(48!==e[0])throw new Error("Expected DER sequence");if(e[1]!==e.length-2)throw new Error("DER sequence length is invalid");if(2!==e[2])throw new Error("Expected DER integer");let t=e[3];if(0===t)throw new Error("R length is zero");if(5+t>=e.length)throw new Error("R length is too long");if(2!==e[4+t])throw new Error("Expected DER integer (2)");let r=e[5+t];if(0===r)throw new Error("S length is zero");if(6+t+r!==e.length)throw new Error("S length is invalid");if(128&e[4])throw new Error("R value is negative");if(t>1&&0===e[4]&&!(128&e[5]))throw new Error("R value excessively padded");if(128&e[t+6])throw new Error("S value is negative");if(r>1&&0===e[t+6]&&!(128&e[t+7]))throw new Error("S value excessively padded");return{r:e.slice(4,4+t),s:e.slice(6+t)}}function flt(e,t){let r=e.length,n=t.length;if(0===r)throw new Error("R length is zero");if(0===n)throw new Error("S length is zero");if(r>33)throw new Error("R length is too long");if(n>33)throw new Error("S length is too long");if(128&e[0])throw new Error("R value is negative");if(128&t[0])throw new Error("S value is negative");if(r>1&&0===e[0]&&!(128&e[1]))throw new Error("R value excessively padded");if(n>1&&0===t[0]&&!(128&t[1]))throw new Error("S value excessively padded");let i=new Uint8Array(6+r+n);return i[0]=48,i[1]=i.length-2,i[2]=2,i[3]=e.length,i.set(e,4),i[4+r]=2,i[5+r]=t.length,i.set(t,6+r),i}m(),m(),m(),m(),m();var Fn={OP_FALSE:0,OP_0:0,OP_PUSHDATA1:76,OP_PUSHDATA2:77,OP_PUSHDATA4:78,OP_1NEGATE:79,OP_RESERVED:80,OP_TRUE:81,OP_1:81,OP_2:82,OP_3:83,OP_4:84,OP_5:85,OP_6:86,OP_7:87,OP_8:88,OP_9:89,OP_10:90,OP_11:91,OP_12:92,OP_13:93,OP_14:94,OP_15:95,OP_16:96,OP_NOP:97,OP_VER:98,OP_IF:99,OP_NOTIF:100,OP_VERIF:101,OP_VERNOTIF:102,OP_ELSE:103,OP_ENDIF:104,OP_VERIFY:105,OP_RETURN:106,OP_TOALTSTACK:107,OP_FROMALTSTACK:108,OP_2DROP:109,OP_2DUP:110,OP_3DUP:111,OP_2OVER:112,OP_2ROT:113,OP_2SWAP:114,OP_IFDUP:115,OP_DEPTH:116,OP_DROP:117,OP_DUP:118,OP_NIP:119,OP_OVER:120,OP_PICK:121,OP_ROLL:122,OP_ROT:123,OP_SWAP:124,OP_TUCK:125,OP_CAT:126,OP_SUBSTR:127,OP_LEFT:128,OP_RIGHT:129,OP_SIZE:130,OP_INVERT:131,OP_AND:132,OP_OR:133,OP_XOR:134,OP_EQUAL:135,OP_EQUALVERIFY:136,OP_RESERVED1:137,OP_RESERVED2:138,OP_1ADD:139,OP_1SUB:140,OP_2MUL:141,OP_2DIV:142,OP_NEGATE:143,OP_ABS:144,OP_NOT:145,OP_0NOTEQUAL:146,OP_ADD:147,OP_SUB:148,OP_MUL:149,OP_DIV:150,OP_MOD:151,OP_LSHIFT:152,OP_RSHIFT:153,OP_BOOLAND:154,OP_BOOLOR:155,OP_NUMEQUAL:156,OP_NUMEQUALVERIFY:157,OP_NUMNOTEQUAL:158,OP_LESSTHAN:159,OP_GREATERTHAN:160,OP_LESSTHANOREQUAL:161,OP_GREATERTHANOREQUAL:162,OP_MIN:163,OP_MAX:164,OP_WITHIN:165,OP_RIPEMD160:166,OP_SHA1:167,OP_SHA256:168,OP_HASH160:169,OP_HASH256:170,OP_CODESEPARATOR:171,OP_CHECKSIG:172,OP_CHECKSIGVERIFY:173,OP_CHECKMULTISIG:174,OP_CHECKMULTISIGVERIFY:175,OP_NOP1:176,OP_NOP2:177,OP_CHECKLOCKTIMEVERIFY:177,OP_NOP3:178,OP_CHECKSEQUENCEVERIFY:178,OP_NOP4:179,OP_NOP5:180,OP_NOP6:181,OP_NOP7:182,OP_NOP8:183,OP_NOP9:184,OP_NOP10:185,OP_CHECKSIGADD:186,OP_PUBKEYHASH:253,OP_PUBKEY:254,OP_INVALIDOPCODE:255},jge={};for(let e of Object.keys(Fn)){let t=Fn[e];jge[t]=e}m(),m();var rG="0123456789abcdefABCDEF",nG=rG.split("").map((e=>e.codePointAt(0))),iG=Array(256).fill(!0).map(((e,t)=>{let r=String.fromCodePoint(t),n=rG.indexOf(r);return n<0?void 0:n<16?n:n-6})),hlt=new TextEncoder,plt=new TextDecoder;function glt(e){return plt.decode(e)}function ylt(e){return hlt.encode(e)}function Bn(e){let t=e.reduce(((e,t)=>e+t.length),0),r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return r}function or(e){let t=e||new Uint8Array;return t.length>512?Kyr(t):zyr(t)}function zyr(e){let t="";for(let r=0;r<e.length;++r)t+=rG[iG[nG[e[r]>>4]]],t+=rG[iG[nG[15&e[r]]]];return t}function Kyr(e){let t=new Uint8Array(2*e.length);for(let r=0;r<e.length;++r)t[2*r]=nG[e[r]>>4],t[2*r+1]=nG[15&e[r]];return plt.decode(t)}function Ml(e){let t,r=hlt.encode(e||""),n=new Uint8Array(Math.floor(r.length/2));for(t=0;t<n.length;t++){let e=iG[r[2*t]],i=iG[r[2*t+1]];if(void 0===e||void 0===i)break;n[t]=e<<4|i}return t===n.length?n:n.slice(0,t)}function mlt(e){return btoa(String.fromCharCode(...e))}function oG(e){let t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r}function Lt(e,t){let r=Math.min(e.length,t.length);for(let n=0;n<r;++n)if(e[n]!==t[n])return e[n]<t[n]?-1:1;return e.length===t.length?0:e.length>t.length?1:-1}function Zs(e,t,r){if(t+1>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r>255)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 255. Received ${r}`);return e[t]=r,t+1}function blt(e,t,r,n){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(n=n.toUpperCase(),r>65535)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 65535. Received ${r}`);return"LE"===n?(e[t]=255&r,e[t+1]=r>>8&255):(e[t]=r>>8&255,e[t+1]=255&r),t+2}function yp(e,t,r,n){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(n=n.toUpperCase(),r>4294967295)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received ${r}`);return"LE"===n?(e[t]=255&r,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255):(e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r),t+4}function vlt(e,t,r,n){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(n=n.toUpperCase(),r>0xffffffffffffffffn)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 18446744073709551615. Received ${r}`);return"LE"===n?(e[t]=Number(0xffn&r),e[t+1]=Number(r>>8n&0xffn),e[t+2]=Number(r>>16n&0xffn),e[t+3]=Number(r>>24n&0xffn),e[t+4]=Number(r>>32n&0xffn),e[t+5]=Number(r>>40n&0xffn),e[t+6]=Number(r>>48n&0xffn),e[t+7]=Number(r>>56n&0xffn)):(e[t]=Number(r>>56n&0xffn),e[t+1]=Number(r>>48n&0xffn),e[t+2]=Number(r>>40n&0xffn),e[t+3]=Number(r>>32n&0xffn),e[t+4]=Number(r>>24n&0xffn),e[t+5]=Number(r>>16n&0xffn),e[t+6]=Number(r>>8n&0xffn),e[t+7]=Number(0xffn&r)),t+8}function Qc(e,t){if(t+1>e.length)throw new Error("Offset is outside the bounds of Uint8Array");return e[t]}function wlt(e,t,r){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if("LE"===(r=r.toUpperCase())){let r=0;return r=(r<<8)+e[t+1],r=(r<<8)+e[t],r}{let r=0;return r=(r<<8)+e[t],r=(r<<8)+e[t+1],r}}function Od(e,t,r){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if("LE"===(r=r.toUpperCase())){let r=0;return r=(r<<8)+e[t+3]>>>0,r=(r<<8)+e[t+2]>>>0,r=(r<<8)+e[t+1]>>>0,r=(r<<8)+e[t]>>>0,r}{let r=0;return r=(r<<8)+e[t]>>>0,r=(r<<8)+e[t+1]>>>0,r=(r<<8)+e[t+2]>>>0,r=(r<<8)+e[t+3]>>>0,r}}function sG(e,t,r,n){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r>2147483647||r<-2147483648)throw new Error(`The value of "value" is out of range. It must be >= -2147483648 and <= 2147483647. Received ${r}`);return"LE"===(n=n.toUpperCase())?(e[t]=255&r,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255):(e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r),t+4}function aG(e,t,r,n){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(r>0x7fffffffffffffffn||r<-0x8000000000000000n)throw new Error(`The value of "value" is out of range. It must be >= -9223372036854775808 and <= 9223372036854775807. Received ${r}`);return"LE"===(n=n.toUpperCase())?(e[t]=Number(0xffn&r),e[t+1]=Number(r>>8n&0xffn),e[t+2]=Number(r>>16n&0xffn),e[t+3]=Number(r>>24n&0xffn),e[t+4]=Number(r>>32n&0xffn),e[t+5]=Number(r>>40n&0xffn),e[t+6]=Number(r>>48n&0xffn),e[t+7]=Number(r>>56n&0xffn)):(e[t]=Number(r>>56n&0xffn),e[t+1]=Number(r>>48n&0xffn),e[t+2]=Number(r>>40n&0xffn),e[t+3]=Number(r>>32n&0xffn),e[t+4]=Number(r>>24n&0xffn),e[t+5]=Number(r>>16n&0xffn),e[t+6]=Number(r>>8n&0xffn),e[t+7]=Number(0xffn&r)),t+8}function xlt(e,t,r){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if("LE"===(r=r.toUpperCase())){let r=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24>>>0);return e[t+3]<=127?r:r-4294967296}{let r=(e[t]<<24>>>0)+(e[t+1]<<16)+(e[t+2]<<8)+e[t+3];return e[t]<=127?r:r-4294967296}}function cG(e,t,r){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");let n=0n;if("LE"===(r=r.toUpperCase()))return n=(n<<8n)+BigInt(e[t+7]),n=(n<<8n)+BigInt(e[t+6]),n=(n<<8n)+BigInt(e[t+5]),n=(n<<8n)+BigInt(e[t+4]),n=(n<<8n)+BigInt(e[t+3]),n=(n<<8n)+BigInt(e[t+2]),n=(n<<8n)+BigInt(e[t+1]),n=(n<<8n)+BigInt(e[t]),e[t+7]<=127?n:n-0x10000000000000000n;{let r=0n;return r=(r<<8n)+BigInt(e[t]),r=(r<<8n)+BigInt(e[t+1]),r=(r<<8n)+BigInt(e[t+2]),r=(r<<8n)+BigInt(e[t+3]),r=(r<<8n)+BigInt(e[t+4]),r=(r<<8n)+BigInt(e[t+5]),r=(r<<8n)+BigInt(e[t+6]),r=(r<<8n)+BigInt(e[t+7]),e[t]<=127?r:r-0x10000000000000000n}}function Gge(e){return e<Fn.OP_PUSHDATA1?1:e<=255?2:e<=65535?3:5}function Alt(e,t,r){let n=Gge(t);return 1===n?Zs(e,r,t):2===n?(Zs(e,r,Fn.OP_PUSHDATA1),Zs(e,r+1,t)):3===n?(Zs(e,r,Fn.OP_PUSHDATA2),blt(e,r+1,t,"LE")):(Zs(e,r,Fn.OP_PUSHDATA4),yp(e,r+1,t,"LE")),n}function Elt(e,t){let r,n,i=Qc(e,t);if(i<Fn.OP_PUSHDATA1)r=i,n=1;else if(i===Fn.OP_PUSHDATA1){if(t+2>e.length)return null;r=Qc(e,t+1),n=2}else if(i===Fn.OP_PUSHDATA2){if(t+3>e.length)return null;r=wlt(e,t+1,"LE"),n=3}else{if(t+5>e.length)return null;if(i!==Fn.OP_PUSHDATA4)throw new Error("Unexpected opcode");r=Od(e,t+1,"LE"),n=5}return{opcode:i,number:r,size:n}}function qyr(e){return e>2147483647?5:e>8388607?4:e>32767?3:e>127?2:e>0?1:0}function Tlt(e){let t=Math.abs(e),r=qyr(t),n=new Uint8Array(r),i=e<0;for(let e=0;e<r;++e)Zs(n,e,255&t),t>>=8;return 128&n[r-1]?Zs(n,r-1,i?128:0):i&&(n[r-1]|=128),n}m();var sye={},Vge,Vyr,Xyr,Qyr;function Gyr(e){return{lang:e?.lang??Vge?.lang,message:e?.message,abortEarly:e?.abortEarly??Vge?.abortEarly,abortPipeEarly:e?.abortPipeEarly??Vge?.abortPipeEarly}}function Jyr(e){return Vyr?.get(e)}function Yyr(e){return Xyr?.get(e)}function Zyr(e,t){return Qyr?.get(e)?.get(t)}function EM(e){let t=typeof e;return"string"===t?`"${e}"`:"number"===t||"bigint"===t||"boolean"===t?`${e}`:"object"===t||"function"===t?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function Gu(e,t,r,n,i){let o=i&&"input"in i?i.input:r.value,s=i?.expected??e.expects??null,a=i?.received??EM(o),c={kind:e.kind,type:e.type,input:o,expected:s,received:a,message:`Invalid ${t}: ${s?`Expected ${s} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},u="schema"===e.kind,l=i?.message??e.message??Zyr(e.reference,c.lang)??(u?Yyr(c.lang):null)??n.message??Jyr(c.lang);l&&(c.message="function"==typeof l?l(c):l),u&&(r.typed=!1),r.issues?r.issues.push(c):r.issues=[c]}function $yr(e,t){let r=[...new Set(e)];return r.length>1?`(${r.join(` ${t} `)})`:r[0]??"never"}Vr(sye,{decode:()=>rmr,encode:()=>nmr}),m(),m();var emr=class extends Error{issues;constructor(e){super(e[0].message),this.name="ValiError",this.issues=e}};function Jge(e,t){return{kind:"validation",type:"every_item",reference:Jge,async:!1,expects:null,requirement:e,message:t,_run(e,t){return e.typed&&!e.value.every(this.requirement)&&Gu(this,"item",e,t),e}}}function uG(e){return{kind:"validation",type:"integer",reference:uG,async:!1,expects:null,requirement:Number.isInteger,message:e,_run(e,t){return e.typed&&!this.requirement(e.value)&&Gu(this,"integer",e,t),e}}}function Xge(e,t){return{kind:"validation",type:"length",reference:Xge,async:!1,expects:`${e}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value.length!==this.requirement&&Gu(this,"length",e,t,{received:`${e.value.length}`}),e}}}function TM(e,t){return{kind:"validation",type:"max_value",reference:TM,async:!1,expects:`<=${e instanceof Date?e.toJSON():EM(e)}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value>this.requirement&&Gu(this,"value",e,t,{received:e.value instanceof Date?e.value.toJSON():EM(e.value)}),e}}}function SM(e,t){return{kind:"validation",type:"min_value",reference:SM,async:!1,expects:`>=${e instanceof Date?e.toJSON():EM(e)}`,requirement:e,message:t,_run(e,t){return e.typed&&e.value<this.requirement&&Gu(this,"value",e,t,{received:e.value instanceof Date?e.value.toJSON():EM(e.value)}),e}}}function Yge(e,t){return{kind:"validation",type:"regex",reference:Yge,async:!1,expects:`${e}`,requirement:e,message:t,_run(e,t){return e.typed&&!this.requirement.test(e.value)&&Gu(this,"format",e,t),e}}}function Qge(e,t,r){return"function"==typeof e.default?e.default(t,r):e.default}function CM(e,t){return!e._run({typed:!1,value:t},{abortEarly:!0}).issues}function Zge(){return{kind:"schema",type:"any",reference:Zge,expects:"any",async:!1,_run:e=>(e.typed=!0,e)}}function $s(e,t){return{kind:"schema",type:"array",reference:$s,expects:"Array",async:!1,item:e,message:t,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<r.length;n++){let i=r[n],o=this.item._run({typed:!1,value:i},t);if(o.issues){let s={type:"array",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}}else Gu(this,"type",e,t);return e}}}function $ge(e){return{kind:"schema",type:"bigint",reference:$ge,expects:"bigint",async:!1,message:e,_run(e,t){return"bigint"==typeof e.value?e.typed=!0:Gu(this,"type",e,t),e}}}function Zc(e,t){return{kind:"schema",type:"custom",reference:Zc,expects:"unknown",async:!1,check:e,message:t,_run(e,t){return this.check(e.value)?e.typed=!0:Gu(this,"type",e,t),e}}}function O8(e,t){return{kind:"schema",type:"instance",reference:O8,expects:e.name,async:!1,class:e,message:t,_run(e,t){return e.value instanceof this.class?e.typed=!0:Gu(this,"type",e,t),e}}}function lG(e,...t){let r={kind:"schema",type:"nullable",reference:lG,expects:`(${e.expects} | null)`,async:!1,wrapped:e,_run(e,t){return null===e.value&&("default"in this&&(e.value=Qge(this,e,t)),null===e.value)?(e.typed=!0,e):this.wrapped._run(e,t)}};return 0 in t&&(r.default=t[0]),r}function eye(e,...t){let r={kind:"schema",type:"nullish",reference:eye,expects:`(${e.expects} | null | undefined)`,async:!1,wrapped:e,_run(e,t){return null!==e.value&&void 0!==e.value||("default"in this&&(e.value=Qge(this,e,t)),null!==e.value&&void 0!==e.value)?this.wrapped._run(e,t):(e.typed=!0,e)}};return 0 in t&&(r.default=t[0]),r}function Ha(e){return{kind:"schema",type:"number",reference:Ha,expects:"number",async:!1,message:e,_run(e,t){return"number"!=typeof e.value||isNaN(e.value)?Gu(this,"type",e,t):e.typed=!0,e}}}function io(e,t){return{kind:"schema",type:"object",reference:io,expects:"Object",async:!1,entries:e,message:t,_run(e,t){let r=e.value;if(r&&"object"==typeof r){e.typed=!0,e.value={};for(let n in this.entries){let i=r[n],o=this.entries[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"object",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),(void 0!==o.value||n in r)&&(e.value[n]=o.value)}}else Gu(this,"type",e,t);return e}}}function IM(e,...t){let r={kind:"schema",type:"optional",reference:IM,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,_run(e,t){return void 0===e.value&&("default"in this&&(e.value=Qge(this,e,t)),void 0===e.value)?(e.typed=!0,e):this.wrapped._run(e,t)}};return 0 in t&&(r.default=t[0]),r}function Rf(e){return{kind:"schema",type:"string",reference:Rf,expects:"string",async:!1,message:e,_run(e,t){return"string"==typeof e.value?e.typed=!0:Gu(this,"type",e,t),e}}}function Nh(e,t){return{kind:"schema",type:"tuple",reference:Nh,expects:"Array",async:!1,items:e,message:t,_run(e,t){let r=e.value;if(Array.isArray(r)){e.typed=!0,e.value=[];for(let n=0;n<this.items.length;n++){let i=r[n],o=this.items[n]._run({typed:!1,value:i},t);if(o.issues){let s={type:"array",origin:"value",input:r,key:n,value:i};for(let t of o.issues)t.path?t.path.unshift(s):t.path=[s],e.issues?.push(t);if(e.issues||(e.issues=o.issues),t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value.push(o.value)}}else Gu(this,"type",e,t);return e}}}function Slt(e){let t;if(e)for(let r of e)t?t.push(...r.issues):t=r.issues;return t}function OM(e,t){return{kind:"schema",type:"union",reference:OM,expects:$yr(e.map((e=>e.expects)),"|"),async:!1,options:e,message:t,_run(e,t){let r,n,i;for(let o of this.options){let s=o._run({typed:!1,value:e.value},t);if(s.typed){if(!s.issues){r=s;break}n?n.push(s):n=[s]}else i?i.push(s):i=[s]}if(r)return r;if(n){if(1===n.length)return n[0];Gu(this,"type",e,t,{issues:Slt(n)}),e.typed=!0}else{if(1===i?.length)return i[0];Gu(this,"type",e,t,{issues:Slt(i)})}return e}}}function Ai(e,t,r){let n=e._run({typed:!1,value:t},Gyr(r));if(n.issues)throw new emr(n.issues);return n.value}function Nf(e,t){let r={};for(let n in e.entries)r[n]=!t||t.includes(n)?IM(e.entries[n]):e.entries[n];return{...e,entries:r}}function jw(...e){return{...e[0],pipe:e,_run(t,r){for(let n of e)if("metadata"!==n.kind){if(t.issues&&("schema"===n.kind||"transformation"===n.kind)){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=n._run(t,r))}return t}}}m();var Clt=new Uint8Array(32),Ilt=Ml("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Ho=e=>jw(O8(Uint8Array),Xge(e));function yy(e,t){return e.length===t.length&&e.every(((e,r)=>0===Lt(e,t[r])))}function $c(e){if(!(e instanceof Uint8Array)||e.length<33)return!1;let t=e[0],r=e.slice(1,33);if(0===Lt(Clt,r)||Lt(r,Ilt)>=0)return!1;if((2===t||3===t)&&33===e.length)return!0;let n=e.slice(33);return!(0===Lt(Clt,n)||Lt(n,Ilt)>=0)&&(4===t&&65===e.length)}var PM=254;function BM(e){return!!(e&&"output"in e&&e.output instanceof Uint8Array)&&(void 0===e.version||(e.version&PM)===e.version)}function fG(e){return Array.isArray(e)?2===e.length&&e.every((e=>fG(e))):BM(e)}var Olt=Ho(32),tye=Ho(20),rye=Ho(32),Wn=O8(Uint8Array),tmr=jw(Rf(),Yge(/^([0-9a-f]{2})+$/i)),nye=jw(Ha(),uG(),SM(0),TM(255)),mp=jw(Ha(),uG(),SM(0),TM(4294967295)),dG=jw($ge(),SM(0n),TM(0x7fffffffffffffffn)),iye=e=>io(Object.entries(e).reduce(((e,t)=>({...e,[t[0]]:eye(t[1])})),{})),Plt=new Uint8Array(1);function Blt(e){let t=0;for(;0===e[t];)++t;return t===e.length?Plt:128&(e=e.slice(t))[0]?Bn([Plt,e]):e}function Mlt(e){0===e[0]&&(e=e.slice(1));let t=new Uint8Array(32),r=Math.max(0,32-e.length);return t.set(e,r),t}function rmr(e){let t=Qc(e,e.length-1);if(!hG(t))throw new Error("Invalid hashType "+t);let r=llt(e.subarray(0,-1));return{signature:Bn([Mlt(r.r),Mlt(r.s)]),hashType:t}}function nmr(e,t){if(Ai(io({signature:Ho(64),hashType:nye}),{signature:e,hashType:t}),!hG(t))throw new Error("Invalid hashType "+t);let r=new Uint8Array(1);return Zs(r,0,t),Bn([flt(Blt(e.slice(0,32)),Blt(e.slice(32,64))),r])}var klt=Fn.OP_RESERVED,_lt=$s(OM([O8(Uint8Array),Ha()]));function imr(e){return CM(Ha(),e)&&(e===Fn.OP_0||e>=Fn.OP_1&&e<=Fn.OP_16||e===Fn.OP_1NEGATE)}function Rlt(e){return CM(Wn,e)||imr(e)}function MM(e){return CM(jw(Zge(),Jge(Rlt)),e)}function yG(e){return e.length-e.filter(Rlt).length}function pG(e){if(0===e.length)return Fn.OP_0;if(1===e.length){if(e[0]>=1&&e[0]<=16)return klt+e[0];if(129===e[0])return Fn.OP_1NEGATE}}function Nlt(e){return e instanceof Uint8Array}function omr(e){return CM(_lt,e)}function gG(e){return e instanceof Uint8Array}function os(e){if(Nlt(e))return e;Ai(_lt,e);let t=e.reduce(((e,t)=>gG(t)?1===t.length&&void 0!==pG(t)?e+1:e+Gge(t.length)+t.length:e+1),0),r=new Uint8Array(t),n=0;if(e.forEach((e=>{if(gG(e)){let t=pG(e);if(void 0!==t)return Zs(r,n,t),void(n+=1);n+=Alt(r,e.length,n),r.set(e,n),n+=e.length}else Zs(r,n,e),n+=1})),n!==r.length)throw new Error("Could not decode chunks");return r}function Ui(e){if(omr(e))return e;Ai(Wn,e);let t=[],r=0;for(;r<e.length;){let n=e[r];if(n>Fn.OP_0&&n<=Fn.OP_PUSHDATA4){let n=Elt(e,r);if(null===n||(r+=n.size,r+n.number>e.length))return null;let i=e.slice(r,r+n.number);r+=n.number;let o=pG(i);void 0!==o?t.push(o):t.push(i)}else t.push(n),r+=1}return t}function Dlt(e){if(Nlt(e)&&(e=Ui(e)),!e)throw new Error("Could not convert invalid chunks to ASM");return e.map((e=>{if(gG(e)){let t=pG(e);if(void 0===t)return or(e);e=t}return jge[e]})).join(" ")}function Ult(e){return e=Ui(e),Ai(Zc(MM),e),e.map((e=>gG(e)?e:e===Fn.OP_0?new Uint8Array(0):Tlt(e-klt)))}function Llt(e){return $c(e)}function hG(e){let t=-129&e;return t>0&&t<4}function kl(e){return!!(e instanceof Uint8Array&&hG(e[e.length-1]))&&ult(e.slice(0,-1))}var D2=sye;function Rr(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let e=r.call(this);return this[t]=e,e},set(e){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:e,writable:!0})}})}function xc(e){let t;return()=>(void 0!==t||(t=e()),t)}m(),m();var P8=Fn,mG=P8.OP_RESERVED;function U2(e,t){if(!(e.input||e.output||e.pubkeys&&void 0!==e.m||e.signatures))throw new TypeError("Not enough data");function r(e){return kl(e)||void 0!==(t.allowIncomplete&&e===P8.OP_0)}t=Object.assign({validate:!0},t||{}),Ai(Nf(io({network:io({}),m:Ha(),n:Ha(),output:Wn,pubkeys:$s(Zc($c),"Received invalid pubkey"),signatures:$s(Zc(r),"Expected signature to be of type isAcceptableSignature"),input:Wn})),e);let n={network:e.network||ga},i=[],o=!1;function s(e){o||(o=!0,i=Ui(e),n.m=i[0]-mG,n.n=i[i.length-2]-mG,n.pubkeys=i.slice(1,-2))}if(Rr(n,"output",(()=>{if(e.m&&n.n&&e.pubkeys)return os([].concat(mG+e.m,e.pubkeys,mG+n.n,P8.OP_CHECKMULTISIG))})),Rr(n,"m",(()=>{if(n.output)return s(n.output),n.m})),Rr(n,"n",(()=>{if(n.pubkeys)return n.pubkeys.length})),Rr(n,"pubkeys",(()=>{if(e.output)return s(e.output),n.pubkeys})),Rr(n,"signatures",(()=>{if(e.input)return Ui(e.input).slice(1)})),Rr(n,"input",(()=>{if(e.signatures)return os([P8.OP_0].concat(e.signatures))})),Rr(n,"witness",(()=>{if(n.input)return[]})),Rr(n,"name",(()=>{if(n.m&&n.n)return`p2ms(${n.m} of ${n.n})`})),t.validate){if(e.output){if(s(e.output),Ai(Ha(),i[0],{message:"Output is invalid"}),Ai(Ha(),i[i.length-2],{message:"Output is invalid"}),i[i.length-1]!==P8.OP_CHECKMULTISIG)throw new TypeError("Output is invalid");if(n.m<=0||n.n>16||n.m>n.n||n.n!==i.length-3)throw new TypeError("Output is invalid");if(!n.pubkeys.every((e=>$c(e))))throw new TypeError("Output is invalid");if(void 0!==e.m&&e.m!==n.m)throw new TypeError("m mismatch");if(void 0!==e.n&&e.n!==n.n)throw new TypeError("n mismatch");if(e.pubkeys&&!yy(e.pubkeys,n.pubkeys))throw new TypeError("Pubkeys mismatch")}if(e.pubkeys){if(void 0!==e.n&&e.n!==e.pubkeys.length)throw new TypeError("Pubkey count mismatch");if(n.n=e.pubkeys.length,n.n<n.m)throw new TypeError("Pubkey count cannot be less than m")}if(e.signatures){if(e.signatures.length<n.m)throw new TypeError("Not enough signatures provided");if(e.signatures.length>n.m)throw new TypeError("Too many signatures provided")}if(e.input){if(e.input[0]!==P8.OP_0)throw new TypeError("Input is invalid");if(0===n.signatures.length||!n.signatures.every(r))throw new TypeError("Input has invalid signature(s)");if(e.signatures&&!yy(e.signatures,n.signatures))throw new TypeError("Signature mismatch");if(void 0!==e.m&&e.m!==e.signatures.length)throw new TypeError("Signature count mismatch")}}return Object.assign(n,e)}m();var Flt=Fn;function kM(e,t){if(!(e.input||e.output||e.pubkey||e.input||e.signature))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),Ai(Nf(io({network:io({}),output:Wn,pubkey:Zc($c,"invalid pubkey"),signature:Zc(kl,"Expected signature to be of type isCanonicalScriptSignature"),input:Wn})),e);let r=xc((()=>Ui(e.input))),n={name:"p2pk",network:e.network||ga};if(Rr(n,"output",(()=>{if(e.pubkey)return os([e.pubkey,Flt.OP_CHECKSIG])})),Rr(n,"pubkey",(()=>{if(e.output)return e.output.slice(1,-1)})),Rr(n,"signature",(()=>{if(e.input)return r()[0]})),Rr(n,"input",(()=>{if(e.signature)return os([e.signature])})),Rr(n,"witness",(()=>{if(n.input)return[]})),t.validate){if(e.output){if(e.output[e.output.length-1]!==Flt.OP_CHECKSIG)throw new TypeError("Output is invalid");if(!$c(n.pubkey))throw new TypeError("Output pubkey is invalid");if(e.pubkey&&0!==Lt(e.pubkey,n.pubkey))throw new TypeError("Pubkey mismatch")}if(e.signature&&e.input&&0!==Lt(e.input,n.input))throw new TypeError("Signature mismatch");if(e.input){if(1!==r().length)throw new TypeError("Input is invalid");if(!kl(n.signature))throw new TypeError("Input has invalid signature")}}return Object.assign(n,e)}function Bd(e){return _K(es(e))}function xb(e){return es(es(e))}m(),m();var smr={"BIP0340/challenge":Uint8Array.from([123,181,45,122,159,239,88,50,62,177,191,122,64,125,179,130,210,243,242,216,27,177,34,79,73,254,81,143,109,72,211,124,123,181,45,122,159,239,88,50,62,177,191,122,64,125,179,130,210,243,242,216,27,177,34,79,73,254,81,143,109,72,211,124]),"BIP0340/aux":Uint8Array.from([241,239,78,94,192,99,202,218,109,148,202,250,157,152,126,160,105,38,88,57,236,193,31,151,45,119,165,46,216,193,204,144,241,239,78,94,192,99,202,218,109,148,202,250,157,152,126,160,105,38,88,57,236,193,31,151,45,119,165,46,216,193,204,144]),"BIP0340/nonce":Uint8Array.from([7,73,119,52,167,155,203,53,91,155,140,125,3,79,18,28,244,52,215,62,247,45,218,25,135,0,97,251,82,191,235,47,7,73,119,52,167,155,203,53,91,155,140,125,3,79,18,28,244,52,215,62,247,45,218,25,135,0,97,251,82,191,235,47]),TapLeaf:Uint8Array.from([174,234,143,220,66,8,152,49,5,115,75,88,8,29,30,38,56,211,95,28,181,64,8,212,211,87,202,3,190,120,233,238,174,234,143,220,66,8,152,49,5,115,75,88,8,29,30,38,56,211,95,28,181,64,8,212,211,87,202,3,190,120,233,238]),TapBranch:Uint8Array.from([25,65,161,242,229,110,185,95,162,169,241,148,190,92,1,247,33,111,51,237,130,176,145,70,52,144,208,91,245,22,160,21,25,65,161,242,229,110,185,95,162,169,241,148,190,92,1,247,33,111,51,237,130,176,145,70,52,144,208,91,245,22,160,21]),TapSighash:Uint8Array.from([244,10,72,223,75,42,112,200,180,146,75,242,101,70,97,237,61,149,253,102,163,19,235,135,35,117,151,198,40,228,160,49,244,10,72,223,75,42,112,200,180,146,75,242,101,70,97,237,61,149,253,102,163,19,235,135,35,117,151,198,40,228,160,49]),TapTweak:Uint8Array.from([232,15,225,99,156,156,160,80,227,175,27,57,193,67,198,62,66,156,188,235,21,217,64,251,181,197,161,244,175,87,197,233,232,15,225,99,156,156,160,80,227,175,27,57,193,67,198,62,66,156,188,235,21,217,64,251,181,197,161,244,175,87,197,233]),"KeyAgg list":Uint8Array.from([72,28,151,28,60,11,70,215,240,178,117,174,89,141,78,44,126,215,49,156,89,74,92,110,199,158,160,212,153,2,148,240,72,28,151,28,60,11,70,215,240,178,117,174,89,141,78,44,126,215,49,156,89,74,92,110,199,158,160,212,153,2,148,240]),"KeyAgg coefficient":Uint8Array.from([191,201,4,3,77,28,136,232,200,14,34,229,61,36,86,109,100,130,78,214,66,114,129,192,145,0,249,77,205,82,201,129,191,201,4,3,77,28,136,232,200,14,34,229,61,36,86,109,100,130,78,214,66,114,129,192,145,0,249,77,205,82,201,129])};function B8(e,t){return es(Bn([smr[e],t]))}function Wlt(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),i=e(r);if(!(n[0]^i[0]|n[1]^i[1]|n[2]^i[2]|n[3]^i[3]))return r}return{encode:function(t){var r=Uint8Array.from(t),n=e(r),i=r.length+4,o=new Uint8Array(i);return o.set(r,0),o.set(n.subarray(0,4),r.length),a2.encode(o)},decode:function(e){var r=t(a2.decode(e));if(null==r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=a2.decodeUnsafe(e);if(null!=r)return t(r)}}}function amr(e){return es(es(e))}m(),m();var Vw=Wlt(amr),Jw=Fn;function Ab(e,t){if(!(e.address||e.hash||e.output||e.pubkey||e.input))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),Ai(Nf(io({network:io({}),address:Rf(),hash:tye,output:Ho(25),pubkey:Zc($c),signature:Zc(kl),input:Wn})),e);let r=xc((()=>{let t=Vw.decode(e.address);return{version:Qc(t,0),hash:t.slice(1)}})),n=xc((()=>Ui(e.input))),i=e.network||ga,o={name:"p2pkh",network:i};if(Rr(o,"address",(()=>{if(!o.hash)return;let e=new Uint8Array(21);return Zs(e,0,i.pubKeyHash),e.set(o.hash,1),Vw.encode(e)})),Rr(o,"hash",(()=>e.output?e.output.slice(3,23):e.address?r().hash:e.pubkey||o.pubkey?Bd(e.pubkey||o.pubkey):void 0)),Rr(o,"output",(()=>{if(o.hash)return os([Jw.OP_DUP,Jw.OP_HASH160,o.hash,Jw.OP_EQUALVERIFY,Jw.OP_CHECKSIG])})),Rr(o,"pubkey",(()=>{if(e.input)return n()[1]})),Rr(o,"signature",(()=>{if(e.input)return n()[0]})),Rr(o,"input",(()=>{if(e.pubkey&&e.signature)return os([e.signature,e.pubkey])})),Rr(o,"witness",(()=>{if(o.input)return[]})),t.validate){let t=Uint8Array.from([]);if(e.address){if(r().version!==i.pubKeyHash)throw new TypeError("Invalid version or Network mismatch");if(20!==r().hash.length)throw new TypeError("Invalid address");t=r().hash}if(e.hash){if(t.length>0&&0!==Lt(t,e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(25!==e.output.length||e.output[0]!==Jw.OP_DUP||e.output[1]!==Jw.OP_HASH160||20!==e.output[2]||e.output[23]!==Jw.OP_EQUALVERIFY||e.output[24]!==Jw.OP_CHECKSIG)throw new TypeError("Output is invalid");let r=e.output.slice(3,23);if(t.length>0&&0!==Lt(t,r))throw new TypeError("Hash mismatch");t=r}if(e.pubkey){let r=Bd(e.pubkey);if(t.length>0&&0!==Lt(t,r))throw new TypeError("Hash mismatch");t=r}if(e.input){let r=n();if(2!==r.length)throw new TypeError("Input is invalid");if(!kl(r[0]))throw new TypeError("Input has invalid signature");if(!$c(r[1]))throw new TypeError("Input has invalid pubkey");if(e.signature&&0!==Lt(e.signature,r[0]))throw new TypeError("Signature mismatch");if(e.pubkey&&0!==Lt(e.pubkey,r[1]))throw new TypeError("Pubkey mismatch");let i=Bd(r[1]);if(t.length>0&&0!==Lt(t,i))throw new TypeError("Hash mismatch")}}return Object.assign(o,e)}m();var _M=Fn;function Eb(e,t){if(!(e.address||e.hash||e.output||e.redeem||e.input))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),Ai(Nf(io({network:io({}),address:Rf(),hash:Ho(20),output:Ho(23),redeem:Nf(io({network:io({}),output:Wn,input:Wn,witness:$s(Wn)})),input:Wn,witness:$s(Wn)})),e);let r=e.network;r||(r=e.redeem&&e.redeem.network||ga);let n={network:r},i=xc((()=>{let t=Vw.decode(e.address);return{version:Qc(t,0),hash:t.slice(1)}})),o=xc((()=>Ui(e.input))),s=xc((()=>{let t=o(),n=t[t.length-1];return{network:r,output:n===_M.OP_FALSE?Uint8Array.from([]):n,input:os(t.slice(0,-1)),witness:e.witness||[]}}));if(Rr(n,"address",(()=>{if(!n.hash)return;let e=new Uint8Array(21);return Zs(e,0,n.network.scriptHash),e.set(n.hash,1),Vw.encode(e)})),Rr(n,"hash",(()=>e.output?e.output.slice(2,22):e.address?i().hash:n.redeem&&n.redeem.output?Bd(n.redeem.output):void 0)),Rr(n,"output",(()=>{if(n.hash)return os([_M.OP_HASH160,n.hash,_M.OP_EQUAL])})),Rr(n,"redeem",(()=>{if(e.input)return s()})),Rr(n,"input",(()=>{if(e.redeem&&e.redeem.input&&e.redeem.output)return os([].concat(Ui(e.redeem.input),e.redeem.output))})),Rr(n,"witness",(()=>n.redeem&&n.redeem.witness?n.redeem.witness:n.input?[]:void 0)),Rr(n,"name",(()=>{let e=["p2sh"];return void 0!==n.redeem&&void 0!==n.redeem.name&&e.push(n.redeem.name),e.join("-")})),t.validate){let t=Uint8Array.from([]);if(e.address){if(i().version!==r.scriptHash)throw new TypeError("Invalid version or Network mismatch");if(20!==i().hash.length)throw new TypeError("Invalid address");t=i().hash}if(e.hash){if(t.length>0&&0!==Lt(t,e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(23!==e.output.length||e.output[0]!==_M.OP_HASH160||20!==e.output[1]||e.output[22]!==_M.OP_EQUAL)throw new TypeError("Output is invalid");let r=e.output.slice(2,22);if(t.length>0&&0!==Lt(t,r))throw new TypeError("Hash mismatch");t=r}let n=e=>{if(e.output){let r=Ui(e.output);if(!r||r.length<1)throw new TypeError("Redeem.output too short");if(e.output.byteLength>520)throw new TypeError("Redeem.output unspendable if larger than 520 bytes");if(yG(r)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");let n=Bd(e.output);if(t.length>0&&0!==Lt(t,n))throw new TypeError("Hash mismatch");t=n}if(e.input){let t=e.input.length>0,r=e.witness&&e.witness.length>0;if(!t&&!r)throw new TypeError("Empty input");if(t&&r)throw new TypeError("Input and witness provided");if(t){if(!MM(Ui(e.input)))throw new TypeError("Non push-only scriptSig")}}};if(e.input){let e=o();if(!e||e.length<1)throw new TypeError("Input too short");if(!(s().output instanceof Uint8Array))throw new TypeError("Input is invalid");n(s())}if(e.redeem){if(e.redeem.network&&e.redeem.network!==r)throw new TypeError("Network mismatch");if(e.input){let t=s();if(e.redeem.output&&0!==Lt(e.redeem.output,t.output))throw new TypeError("Redeem.output mismatch");if(e.redeem.input&&0!==Lt(e.redeem.input,t.input))throw new TypeError("Redeem.input mismatch")}n(e.redeem)}if(e.witness&&e.redeem&&e.redeem.witness&&!yy(e.redeem.witness,e.witness))throw new TypeError("Witness and redeem.witness mismatch")}return Object.assign(n,e)}m();var RM=hi(kB(),1),zlt=Fn,cmr=new Uint8Array(0);function Xw(e,t){if(!(e.address||e.hash||e.output||e.pubkey||e.witness))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),Ai(Nf(io({address:Rf(),hash:Ho(20),input:Ho(0),network:io({}),output:Ho(22),pubkey:Zc($c,"Not a valid pubkey"),signature:Zc(kl),witness:$s(Wn)})),e);let r=xc((()=>{let t=RM.bech32.decode(e.address),r=t.words.shift(),n=RM.bech32.fromWords(t.words);return{version:r,prefix:t.prefix,data:Uint8Array.from(n)}})),n=e.network||ga,i={name:"p2wpkh",network:n};if(Rr(i,"address",(()=>{if(!i.hash)return;let e=RM.bech32.toWords(i.hash);return e.unshift(0),RM.bech32.encode(n.bech32,e)})),Rr(i,"hash",(()=>e.output?e.output.slice(2,22):e.address?r().data:e.pubkey||i.pubkey?Bd(e.pubkey||i.pubkey):void 0)),Rr(i,"output",(()=>{if(i.hash)return os([zlt.OP_0,i.hash])})),Rr(i,"pubkey",(()=>e.pubkey?e.pubkey:e.witness?e.witness[1]:void 0)),Rr(i,"signature",(()=>{if(e.witness)return e.witness[0]})),Rr(i,"input",(()=>{if(i.witness)return cmr})),Rr(i,"witness",(()=>{if(e.pubkey&&e.signature)return[e.signature,e.pubkey]})),t.validate){let t=Uint8Array.from([]);if(e.address){if(n&&n.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(0!==r().version)throw new TypeError("Invalid address version");if(20!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.hash){if(t.length>0&&0!==Lt(t,e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(22!==e.output.length||e.output[0]!==zlt.OP_0||20!==e.output[1])throw new TypeError("Output is invalid");if(t.length>0&&0!==Lt(t,e.output.slice(2)))throw new TypeError("Hash mismatch");t=e.output.slice(2)}if(e.pubkey){let r=Bd(e.pubkey);if(t.length>0&&0!==Lt(t,r))throw new TypeError("Hash mismatch");if(t=r,!$c(e.pubkey)||33!==e.pubkey.length)throw new TypeError("Invalid pubkey for p2wpkh")}if(e.witness){if(2!==e.witness.length)throw new TypeError("Witness is invalid");if(!kl(e.witness[0]))throw new TypeError("Witness has invalid signature");if(!$c(e.witness[1])||33!==e.witness[1].length)throw new TypeError("Witness has invalid pubkey");if(e.signature&&0!==Lt(e.signature,e.witness[0]))throw new TypeError("Signature mismatch");if(e.pubkey&&0!==Lt(e.pubkey,e.witness[1]))throw new TypeError("Pubkey mismatch");let r=Bd(e.witness[1]);if(t.length>0&&0!==Lt(t,r))throw new TypeError("Hash mismatch")}}return Object.assign(i,e)}m();var NM=hi(kB(),1),Klt=Fn,aye=new Uint8Array(0);function bG(e){return!!(e instanceof Uint8Array&&65===e.length&&4===e[0]&&$c(e))}function Tb(e,t){if(!(e.address||e.hash||e.output||e.redeem||e.witness))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),Ai(iye({network:io({}),address:Rf(),hash:Olt,output:Ho(34),redeem:iye({input:Wn,network:io({}),output:Wn,witness:$s(Wn)}),input:Ho(0),witness:$s(Wn)}),e);let r=xc((()=>{let t=NM.bech32.decode(e.address),r=t.words.shift(),n=NM.bech32.fromWords(t.words);return{version:r,prefix:t.prefix,data:Uint8Array.from(n)}})),n=xc((()=>Ui(e.redeem.input))),i=e.network;i||(i=e.redeem&&e.redeem.network||ga);let o={network:i};if(Rr(o,"address",(()=>{if(!o.hash)return;let e=NM.bech32.toWords(o.hash);return e.unshift(0),NM.bech32.encode(i.bech32,e)})),Rr(o,"hash",(()=>e.output?e.output.slice(2):e.address?r().data:o.redeem&&o.redeem.output?es(o.redeem.output):void 0)),Rr(o,"output",(()=>{if(o.hash)return os([Klt.OP_0,o.hash])})),Rr(o,"redeem",(()=>{if(e.witness)return{output:e.witness[e.witness.length-1],input:aye,witness:e.witness.slice(0,-1)}})),Rr(o,"input",(()=>{if(o.witness)return aye})),Rr(o,"witness",(()=>{if(e.redeem&&e.redeem.input&&e.redeem.input.length>0&&e.redeem.output&&e.redeem.output.length>0){let t=Ult(n());return o.redeem=Object.assign({witness:t},e.redeem),o.redeem.input=aye,[].concat(t,e.redeem.output)}if(e.redeem&&e.redeem.output&&e.redeem.witness)return[].concat(e.redeem.witness,e.redeem.output)})),Rr(o,"name",(()=>{let e=["p2wsh"];return void 0!==o.redeem&&void 0!==o.redeem.name&&e.push(o.redeem.name),e.join("-")})),t.validate){let t=Uint8Array.from([]);if(e.address){if(r().prefix!==i.bech32)throw new TypeError("Invalid prefix or Network mismatch");if(0!==r().version)throw new TypeError("Invalid address version");if(32!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.hash){if(t.length>0&&0!==Lt(t,e.hash))throw new TypeError("Hash mismatch");t=e.hash}if(e.output){if(34!==e.output.length||e.output[0]!==Klt.OP_0||32!==e.output[1])throw new TypeError("Output is invalid");let r=e.output.slice(2);if(t.length>0&&0!==Lt(t,r))throw new TypeError("Hash mismatch");t=r}if(e.redeem){if(e.redeem.network&&e.redeem.network!==i)throw new TypeError("Network mismatch");if(e.redeem.input&&e.redeem.input.length>0&&e.redeem.witness&&e.redeem.witness.length>0)throw new TypeError("Ambiguous witness source");if(e.redeem.output){let r=Ui(e.redeem.output);if(!r||r.length<1)throw new TypeError("Redeem.output is invalid");if(e.redeem.output.byteLength>3600)throw new TypeError("Redeem.output unspendable if larger than 3600 bytes");if(yG(r)>201)throw new TypeError("Redeem.output unspendable with more than 201 non-push ops");let n=es(e.redeem.output);if(t.length>0&&0!==Lt(t,n))throw new TypeError("Hash mismatch");t=n}if(e.redeem.input&&!MM(n()))throw new TypeError("Non push-only scriptSig");if(e.witness&&e.redeem.witness&&!yy(e.witness,e.redeem.witness))throw new TypeError("Witness and redeem.witness mismatch");if(e.redeem.input&&n().some(bG)||e.redeem.output&&(Ui(e.redeem.output)||[]).some(bG))throw new TypeError("redeem.input or redeem.output contains uncompressed pubkey")}if(e.witness&&e.witness.length>0){let t=e.witness[e.witness.length-1];if(e.redeem&&e.redeem.output&&0!==Lt(e.redeem.output,t))throw new TypeError("Witness and redeem.output mismatch");if(e.witness.some(bG)||(Ui(t)||[]).some(bG))throw new TypeError("Witness contains uncompressed pubkey")}}return Object.assign(o,e)}m(),m();var Hlt={};function DM(){if(!Hlt.eccLib)throw new Error("No ECC Library provided. You must call initEccLib() with a valid TinySecp256k1Interface instance");return Hlt.eccLib}m(),m();var Ac={};Vr(Ac,{decode:()=>Md,encode:()=>Df,encodingLength:()=>kd}),m(),m();var qlt="0123456789abcdefABCDEF",Q4n=qlt.split("").map((e=>e.codePointAt(0))),Z4n=Array(256).fill(!0).map(((e,t)=>{let r=String.fromCodePoint(t),n=qlt.indexOf(r);return n<0?void 0:n<16?n:n-6})),$4n=new TextEncoder,e8n=new TextDecoder;function jlt(e,t,r,n){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(n=n.toUpperCase(),r>65535)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 65535. Received ${r}`);"LE"===n?(e[t]=255&r,e[t+1]=r>>8&255):(e[t]=r>>8&255,e[t+1]=255&r)}function Glt(e,t,r,n){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(n=n.toUpperCase(),r>4294967295)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received ${r}`);"LE"===n?(e[t]=255&r,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255):(e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r)}function Vlt(e,t,r,n){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if(n=n.toUpperCase(),r>0xffffffffffffffffn)throw new Error(`The value of "value" is out of range. It must be >= 0 and <= 18446744073709551615. Received ${r}`);"LE"===n?(e[t]=Number(0xffn&r),e[t+1]=Number(r>>8n&0xffn),e[t+2]=Number(r>>16n&0xffn),e[t+3]=Number(r>>24n&0xffn),e[t+4]=Number(r>>32n&0xffn),e[t+5]=Number(r>>40n&0xffn),e[t+6]=Number(r>>48n&0xffn),e[t+7]=Number(r>>56n&0xffn)):(e[t]=Number(r>>56n&0xffn),e[t+1]=Number(r>>48n&0xffn),e[t+2]=Number(r>>40n&0xffn),e[t+3]=Number(r>>32n&0xffn),e[t+4]=Number(r>>24n&0xffn),e[t+5]=Number(r>>16n&0xffn),e[t+6]=Number(r>>8n&0xffn),e[t+7]=Number(0xffn&r))}function Jlt(e,t,r){if(t+2>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if("LE"===(r=r.toUpperCase())){let r=0;return r=(r<<8)+e[t+1],r=(r<<8)+e[t],r}{let r=0;return r=(r<<8)+e[t],r=(r<<8)+e[t+1],r}}function Xlt(e,t,r){if(t+4>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if("LE"===(r=r.toUpperCase())){let r=0;return r=(r<<8)+e[t+3]>>>0,r=(r<<8)+e[t+2]>>>0,r=(r<<8)+e[t+1]>>>0,r=(r<<8)+e[t]>>>0,r}{let r=0;return r=(r<<8)+e[t]>>>0,r=(r<<8)+e[t+1]>>>0,r=(r<<8)+e[t+2]>>>0,r=(r<<8)+e[t+3]>>>0,r}}function Ylt(e,t,r){if(t+8>e.length)throw new Error("Offset is outside the bounds of Uint8Array");if("LE"===(r=r.toUpperCase())){let r=0n;return r=(r<<8n)+BigInt(e[t+7]),r=(r<<8n)+BigInt(e[t+6]),r=(r<<8n)+BigInt(e[t+5]),r=(r<<8n)+BigInt(e[t+4]),r=(r<<8n)+BigInt(e[t+3]),r=(r<<8n)+BigInt(e[t+2]),r=(r<<8n)+BigInt(e[t+1]),r=(r<<8n)+BigInt(e[t]),r}{let r=0n;return r=(r<<8n)+BigInt(e[t]),r=(r<<8n)+BigInt(e[t+1]),r=(r<<8n)+BigInt(e[t+2]),r=(r<<8n)+BigInt(e[t+3]),r=(r<<8n)+BigInt(e[t+4]),r=(r<<8n)+BigInt(e[t+5]),r=(r<<8n)+BigInt(e[t+6]),r=(r<<8n)+BigInt(e[t+7]),r}}var lmr=e=>{if(e<0||e>0xffffffffffffffffn)throw new RangeError("value out of range")};function fmr(e){if(e<0||e>Number.MAX_SAFE_INTEGER||e%1!=0)throw new RangeError("value out of range")}function Qlt(e){"number"==typeof e?fmr(e):lmr(e)}function Df(e,t,r){Qlt(e),void 0===r&&(r=0),void 0===t&&(t=new Uint8Array(kd(e)));let n=0;return e<253?(t.set([Number(e)],r),n=1):e<=65535?(t.set([253],r),jlt(t,r+1,Number(e),"LE"),n=3):e<=4294967295?(t.set([254],r),Glt(t,r+1,Number(e),"LE"),n=5):(t.set([255],r),Vlt(t,r+1,BigInt(e),"LE"),n=9),{buffer:t,bytes:n}}function Md(e,t){void 0===t&&(t=0);let r=e.at(t);if(void 0===r)throw new Error("buffer too small");if(r<253)return{numberValue:r,bigintValue:BigInt(r),bytes:1};if(253===r){let r=Jlt(e,t+1,"LE");return{numberValue:r,bigintValue:BigInt(r),bytes:3}}if(254===r){let r=Xlt(e,t+1,"LE");return{numberValue:r,bigintValue:BigInt(r),bytes:5}}{let r=Ylt(e,t+1,"LE");return{numberValue:r<=Number.MAX_SAFE_INTEGER?Number(r):null,bigintValue:r,bytes:9}}}function kd(e){return Qlt(e),e<253?1:e<=65535?3:e<=4294967295?5:9}var dmr=9007199254740991;function hmr(e,t){if("number"!=typeof e&&"bigint"!=typeof e)throw new Error("cannot write a non-number as a number");if(e<0&&e<BigInt(0))throw new Error("specified a negative value for writing an unsigned value");if(e>t&&e>BigInt(t))throw new Error("RangeError: value out of range");if(Math.floor(Number(e))!==Number(e))throw new Error("value has a fractional component")}function M8(e){if(e.length<1)return e;let t=e.length-1,r=0;for(let n=0;n<e.length/2;n++)r=e[n],e[n]=e[t],e[t]=r,t--;return e}function cye(e){let t=new Uint8Array(e.length);return t.set(e),t}var Ec=class e{buffer;offset;static withCapacity(t){return new e(new Uint8Array(t))}constructor(e,t=0){this.buffer=e,this.offset=t,Ai(Nh([Wn,mp]),[e,t])}writeUInt8(e){this.offset=Zs(this.buffer,this.offset,e)}writeInt32(e){this.offset=sG(this.buffer,this.offset,e,"LE")}writeInt64(e){this.offset=aG(this.buffer,this.offset,BigInt(e),"LE")}writeUInt32(e){this.offset=yp(this.buffer,this.offset,e,"LE")}writeUInt64(e){this.offset=vlt(this.buffer,this.offset,BigInt(e),"LE")}writeVarInt(e){let{bytes:t}=Df(e,this.buffer,this.offset);this.offset+=t}writeSlice(e){if(this.buffer.length<this.offset+e.length)throw new Error("Cannot write slice out of bounds");this.buffer.set(e,this.offset),this.offset+=e.length}writeVarSlice(e){this.writeVarInt(e.length),this.writeSlice(e)}writeVector(e){this.writeVarInt(e.length),e.forEach((e=>this.writeVarSlice(e)))}end(){if(this.buffer.length===this.offset)return this.buffer;throw new Error(`buffer size ${this.buffer.length}, offset ${this.offset}`)}},UM=class{buffer;offset;constructor(e,t=0){this.buffer=e,this.offset=t,Ai(Nh([Wn,mp]),[e,t])}readUInt8(){let e=Qc(this.buffer,this.offset);return this.offset++,e}readInt32(){let e=xlt(this.buffer,this.offset,"LE");return this.offset+=4,e}readUInt32(){let e=Od(this.buffer,this.offset,"LE");return this.offset+=4,e}readInt64(){let e=cG(this.buffer,this.offset,"LE");return this.offset+=8,e}readVarInt(){let{bigintValue:e,bytes:t}=Md(this.buffer,this.offset);return this.offset+=t,e}readSlice(e){hmr(e,dmr);let t=Number(e);if(this.buffer.length<this.offset+t)throw new Error("Cannot read slice out of bounds");let r=this.buffer.slice(this.offset,this.offset+t);return this.offset+=t,r}readVarSlice(){return this.readSlice(this.readVarInt())}readVector(){let e=this.readVarInt(),t=[];for(let r=0;r<e;r++)t.push(this.readVarSlice());return t}},wG=192,Zlt=128,pmr=e=>"left"in e&&"right"in e;function FM(e,t){if(e.length<33)throw new TypeError(`The control-block length is too small. Got ${e.length}, expected min 33.`);let r=(e.length-33)/32,n=t;for(let t=0;t<r;t++){let r=e.slice(33+32*t,65+32*t);n=Lt(n,r)<0?uye(n,r):uye(r,n)}return n}function vG(e){if(BM(e))return{hash:Uh(e)};let t=[vG(e[0]),vG(e[1])];t.sort(((e,t)=>Lt(e.hash,t.hash)));let[r,n]=t;return{hash:uye(r.hash,n.hash),left:r,right:n}}function LM(e,t){if(pmr(e)){let r=LM(e.left,t);if(void 0!==r)return[...r,e.right.hash];let n=LM(e.right,t);if(void 0!==n)return[...n,e.left.hash]}else if(0===Lt(e.hash,t))return[]}function Uh(e){let t=e.version||wG;return B8("TapLeaf",Bn([Uint8Array.from([t]),ymr(e.output)]))}function gmr(e,t){return B8("TapTweak",Bn(t?[e,t]:[e]))}function k8(e,t){if(!(e instanceof Uint8Array)||32!==e.length||t&&32!==t.length)return null;let r=gmr(e,t),n=DM().xOnlyPointAddTweak(e,r);return n&&null!==n.xOnlyPubkey?{parity:n.parity,x:Uint8Array.from(n.xOnlyPubkey)}:null}function uye(e,t){return B8("TapBranch",Bn([e,t]))}function ymr(e){let t=Ac.encodingLength(e.length),r=new Uint8Array(t);return Ac.encode(e.length,r),Bn([r,e])}var lye=hi(kB(),1),$lt=Fn,eft=1,mmr=80;function my(e,t){if(!(e.address||e.output||e.pubkey||e.internalPubkey||e.witness&&e.witness.length>1))throw new TypeError("Not enough data");t=Object.assign({validate:!0},t||{}),Ai(Nf(io({address:Rf(),input:Ho(0),network:io({}),output:Ho(34),internalPubkey:Ho(32),hash:Ho(32),pubkey:Ho(32),signature:OM([Ho(64),Ho(65)]),witness:$s(Wn),scriptTree:Zc(fG,"Taptree is not of type isTaptree"),redeem:Nf(io({output:Wn,redeemVersion:Ha(),witness:$s(Wn)})),redeemVersion:Ha()})),e);let r=xc((()=>fye(e.address))),n=xc((()=>{if(e.witness&&e.witness.length)return e.witness.length>=2&&e.witness[e.witness.length-1][0]===mmr?e.witness.slice(0,-1):e.witness.slice()})),i=xc((()=>e.scriptTree?vG(e.scriptTree):e.hash?{hash:e.hash}:void 0)),o=e.network||ga,s={name:"p2tr",network:o};if(Rr(s,"address",(()=>{if(!s.pubkey)return;let e=lye.bech32m.toWords(s.pubkey);return e.unshift(eft),lye.bech32m.encode(o.bech32,e)})),Rr(s,"hash",(()=>{let e=i();if(e)return e.hash;let t=n();if(t&&t.length>1){let e=t[t.length-1],r=e[0]&PM;return FM(e,Uh({output:t[t.length-2],version:r}))}return null})),Rr(s,"output",(()=>{if(s.pubkey)return os([$lt.OP_1,s.pubkey])})),Rr(s,"redeemVersion",(()=>e.redeemVersion?e.redeemVersion:e.redeem&&void 0!==e.redeem.redeemVersion&&null!==e.redeem.redeemVersion?e.redeem.redeemVersion:wG)),Rr(s,"redeem",(()=>{let e=n();if(e&&!(e.length<2))return{output:e[e.length-2],witness:e.slice(0,-2),redeemVersion:e[e.length-1][0]&PM}})),Rr(s,"pubkey",(()=>{if(e.pubkey)return e.pubkey;if(e.output)return e.output.slice(2);if(e.address)return r().data;if(s.internalPubkey){let e=k8(s.internalPubkey,s.hash);if(e)return e.x}})),Rr(s,"internalPubkey",(()=>{if(e.internalPubkey)return e.internalPubkey;let t=n();return t&&t.length>1?t[t.length-1].slice(1,33):void 0})),Rr(s,"signature",(()=>{if(e.signature)return e.signature;let t=n();return t&&1===t.length?t[0]:void 0})),Rr(s,"witness",(()=>{if(e.witness)return e.witness;let t=i();if(t&&e.redeem&&e.redeem.output&&e.internalPubkey){let r=LM(t,Uh({output:e.redeem.output,version:s.redeemVersion}));if(!r)return;let n=k8(e.internalPubkey,t.hash);if(!n)return;let i=Bn([Uint8Array.from([s.redeemVersion|n.parity]),e.internalPubkey].concat(r));return[e.redeem.output,i]}return e.signature?[e.signature]:void 0})),t.validate){let t=Uint8Array.from([]);if(e.address){if(o&&o.bech32!==r().prefix)throw new TypeError("Invalid prefix or Network mismatch");if(r().version!==eft)throw new TypeError("Invalid address version");if(32!==r().data.length)throw new TypeError("Invalid address data");t=r().data}if(e.pubkey){if(t.length>0&&0!==Lt(t,e.pubkey))throw new TypeError("Pubkey mismatch");t=e.pubkey}if(e.output){if(34!==e.output.length||e.output[0]!==$lt.OP_1||32!==e.output[1])throw new TypeError("Output is invalid");if(t.length>0&&0!==Lt(t,e.output.slice(2)))throw new TypeError("Pubkey mismatch");t=e.output.slice(2)}if(e.internalPubkey){let r=k8(e.internalPubkey,s.hash);if(t.length>0&&0!==Lt(t,r.x))throw new TypeError("Pubkey mismatch");t=r.x}if(t&&t.length&&!DM().isXOnlyPoint(t))throw new TypeError("Invalid pubkey for p2tr");let a=i();if(e.hash&&a&&0!==Lt(e.hash,a.hash))throw new TypeError("Hash mismatch");if(e.redeem&&e.redeem.output&&a){if(!LM(a,Uh({output:e.redeem.output,version:s.redeemVersion})))throw new TypeError("Redeem script not in tree")}let c=n();if(e.redeem&&s.redeem){if(e.redeem.redeemVersion&&e.redeem.redeemVersion!==s.redeem.redeemVersion)throw new TypeError("Redeem.redeemVersion and witness mismatch");if(e.redeem.output){if(0===Ui(e.redeem.output).length)throw new TypeError("Redeem.output is invalid");if(s.redeem.output&&0!==Lt(e.redeem.output,s.redeem.output))throw new TypeError("Redeem.output and witness mismatch")}if(e.redeem.witness&&s.redeem.witness&&!yy(e.redeem.witness,s.redeem.witness))throw new TypeError("Redeem.witness and witness mismatch")}if(c&&c.length)if(1===c.length){if(e.signature&&0!==Lt(e.signature,c[0]))throw new TypeError("Signature mismatch")}else{let r=c[c.length-1];if(r.length<33)throw new TypeError(`The control-block length is too small. Got ${r.length}, expected min 33.`);if((r.length-33)%32!=0)throw new TypeError(`The control-block length of ${r.length} is incorrect!`);let n=(r.length-33)/32;if(n>128)throw new TypeError(`The script path is too long. Got ${n}, expected max 128.`);let i=r.slice(1,33);if(e.internalPubkey&&0!==Lt(e.internalPubkey,i))throw new TypeError("Internal pubkey mismatch");if(!DM().isXOnlyPoint(i))throw new TypeError("Invalid internalPubkey for p2tr witness");let o=r[0]&PM,s=k8(i,FM(r,Uh({output:c[c.length-2],version:o})));if(!s)throw new TypeError("Invalid outputKey for p2tr witness");if(t.length&&0!==Lt(t,s.x))throw new TypeError("Pubkey mismatch for p2tr witness");if(s.parity!==(1&r[0]))throw new Error("Incorrect parity")}}return Object.assign(s,e)}var Yw=hi(kB(),1),tft=40,rft=2,nft=16,ift=2,oft=80,sft="WARNING: Sending to a future segwit version address can lead to loss of funds. End users MUST be warned carefully in the GUI and asked if they wish to proceed with caution. Wallets should verify the segwit version from the output of fromBech32, then decide when it is safe to use which version of segwit.";function bmr(e,t){let r=e.slice(2);if(r.length<rft||r.length>tft)throw new TypeError("Invalid program length for segwit address");let n=e[0]-oft;if(n<ift||n>nft)throw new TypeError("Invalid version for segwit address");if(e[1]!==r.length)throw new TypeError("Invalid script for segwit address");return console.warn(sft),wmr(r,n,t.bech32)}function vmr(e){let t=Vw.decode(e);if(t.length<21)throw new TypeError(e+" is too short");if(t.length>21)throw new TypeError(e+" is too long");return{version:Qc(t,0),hash:t.slice(1)}}function fye(e){let t,r;try{t=Yw.bech32.decode(e)}catch{}if(t){if(r=t.words[0],0!==r)throw new TypeError(e+" uses wrong encoding")}else if(t=Yw.bech32m.decode(e),r=t.words[0],0===r)throw new TypeError(e+" uses wrong encoding");let n=Yw.bech32.fromWords(t.words.slice(1));return{version:r,prefix:t.prefix,data:Uint8Array.from(n)}}function wmr(e,t,r){let n=Yw.bech32.toWords(e);return n.unshift(t),0===t?Yw.bech32.encode(r,n):Yw.bech32m.encode(r,n)}function aft(e,t){t=t||ga;try{return Ab({output:e,network:t}).address}catch{}try{return Eb({output:e,network:t}).address}catch{}try{return Xw({output:e,network:t}).address}catch{}try{return Tb({output:e,network:t}).address}catch{}try{return my({output:e,network:t}).address}catch{}try{return bmr(e,t)}catch{}throw new Error(Dlt(e)+" has no matching Address")}function cft(e,t){let r,n;t=t||ga;try{r=vmr(e)}catch{}if(r){if(r.version===t.pubKeyHash)return Ab({hash:r.hash}).output;if(r.version===t.scriptHash)return Eb({hash:r.hash}).output}else{try{n=fye(e)}catch{}if(n){if(n.prefix!==t.bech32)throw new Error(e+" has an invalid prefix");if(0===n.version){if(20===n.data.length)return Xw({hash:n.data}).output;if(32===n.data.length)return Tb({hash:n.data}).output}else if(1===n.version){if(32===n.data.length)return my({pubkey:n.data}).output}else if(n.version>=ift&&n.version<=nft&&n.data.length>=rft&&n.data.length<=tft)return console.warn(sft),os([n.version+oft,n.data])}}throw new Error(e+" has no matching Script")}function by(e){let t=e.length;return Ac.encodingLength(t)+t}function Amr(e){let t=e.length;return Ac.encodingLength(t)+e.reduce(((e,t)=>e+by(t)),0)}m(),m(),m();var Qw=new Uint8Array(0),uft=[],dye=Ml("0000000000000000000000000000000000000000000000000000000000000000"),lft=Ml("0000000000000000000000000000000000000000000000000000000000000001"),Emr=Ml("ffffffffffffffff"),Tmr={script:Qw,valueBuffer:Emr};function Smr(e){return void 0!==e.value}var bo=class e{static DEFAULT_SEQUENCE=4294967295;static SIGHASH_DEFAULT=0;static SIGHASH_ALL=1;static SIGHASH_NONE=2;static SIGHASH_SINGLE=3;static SIGHASH_ANYONECANPAY=128;static SIGHASH_OUTPUT_MASK=3;static SIGHASH_INPUT_MASK=128;static ADVANCED_TRANSACTION_MARKER=0;static ADVANCED_TRANSACTION_FLAG=1;static fromBuffer(t,r){let n=new UM(t),i=new e;i.version=n.readInt32();let o=n.readUInt8(),s=n.readUInt8(),a=!1;o===e.ADVANCED_TRANSACTION_MARKER&&s===e.ADVANCED_TRANSACTION_FLAG?a=!0:n.offset-=2;let c=n.readVarInt();for(let e=0;e<c;++e)i.ins.push({hash:n.readSlice(32),index:n.readUInt32(),script:n.readVarSlice(),sequence:n.readUInt32(),witness:uft});let u=n.readVarInt();for(let e=0;e<u;++e)i.outs.push({value:n.readInt64(),script:n.readVarSlice()});if(a){for(let e=0;e<c;++e)i.ins[e].witness=n.readVector();if(!i.hasWitnesses())throw new Error("Transaction has superfluous witness data")}if(i.locktime=n.readUInt32(),r)return i;if(n.offset!==t.length)throw new Error("Transaction has unexpected data");return i}static fromHex(t){return e.fromBuffer(Ml(t),!1)}static isCoinbaseHash(e){Ai(rye,e);for(let t=0;t<32;++t)if(0!==e[t])return!1;return!0}version=1;locktime=0;ins=[];outs=[];isCoinbase(){return 1===this.ins.length&&e.isCoinbaseHash(this.ins[0].hash)}addInput(t,r,n,i){return Ai(Nh([rye,mp,lG(IM(mp)),lG(IM(Wn))]),[t,r,n,i]),null==n&&(n=e.DEFAULT_SEQUENCE),this.ins.push({hash:t,index:r,script:i||Qw,sequence:n,witness:uft})-1}addOutput(e,t){return Ai(Nh([Wn,dG]),[e,t]),this.outs.push({script:e,value:t})-1}hasWitnesses(){return this.ins.some((e=>0!==e.witness.length))}weight(){return 3*this.byteLength(!1)+this.byteLength(!0)}virtualSize(){return Math.ceil(this.weight()/4)}byteLength(e=!0){let t=e&&this.hasWitnesses();return(t?10:8)+Ac.encodingLength(this.ins.length)+Ac.encodingLength(this.outs.length)+this.ins.reduce(((e,t)=>e+40+by(t.script)),0)+this.outs.reduce(((e,t)=>e+8+by(t.script)),0)+(t?this.ins.reduce(((e,t)=>e+Amr(t.witness)),0):0)}clone(){let t=new e;return t.version=this.version,t.locktime=this.locktime,t.ins=this.ins.map((e=>({hash:e.hash,index:e.index,script:e.script,sequence:e.sequence,witness:e.witness}))),t.outs=this.outs.map((e=>({script:e.script,value:e.value}))),t}hashForSignature(t,r,n){if(Ai(Nh([mp,Wn,Ha()]),[t,r,n]),t>=this.ins.length)return lft;let i=os(Ui(r).filter((e=>e!==Fn.OP_CODESEPARATOR))),o=this.clone();if((31&n)===e.SIGHASH_NONE)o.outs=[],o.ins.forEach(((e,r)=>{r!==t&&(e.sequence=0)}));else if((31&n)===e.SIGHASH_SINGLE){if(t>=this.outs.length)return lft;o.outs.length=t+1;for(let e=0;e<t;e++)o.outs[e]=Tmr;o.ins.forEach(((e,r)=>{r!==t&&(e.sequence=0)}))}n&e.SIGHASH_ANYONECANPAY?(o.ins=[o.ins[t]],o.ins[0].script=i):(o.ins.forEach((e=>{e.script=Qw})),o.ins[t].script=i);let s=new Uint8Array(o.byteLength(!1)+4);return sG(s,s.length-4,n,"LE"),o.__toBuffer(s,0,!1),xb(s)}hashForWitnessV1(t,r,n,i,o,s){if(Ai(Nh([mp,$s(Wn),$s(dG),mp]),[t,r,n,i]),n.length!==this.ins.length||r.length!==this.ins.length)throw new Error("Must supply prevout script and value for all inputs");let a=i===e.SIGHASH_DEFAULT?e.SIGHASH_ALL:i&e.SIGHASH_OUTPUT_MASK,c=(i&e.SIGHASH_INPUT_MASK)===e.SIGHASH_ANYONECANPAY,u=a===e.SIGHASH_NONE,l=a===e.SIGHASH_SINGLE,d=Qw,h=Qw,f=Qw,p=Qw,g=Qw;if(!c){let e=Ec.withCapacity(36*this.ins.length);this.ins.forEach((t=>{e.writeSlice(t.hash),e.writeUInt32(t.index)})),d=es(e.end()),e=Ec.withCapacity(8*this.ins.length),n.forEach((t=>e.writeInt64(t))),h=es(e.end()),e=Ec.withCapacity(r.map(by).reduce(((e,t)=>e+t))),r.forEach((t=>e.writeVarSlice(t))),f=es(e.end()),e=Ec.withCapacity(4*this.ins.length),this.ins.forEach((t=>e.writeUInt32(t.sequence))),p=es(e.end())}if(u||l){if(l&&t<this.outs.length){let e=this.outs[t],r=Ec.withCapacity(8+by(e.script));r.writeInt64(e.value),r.writeVarSlice(e.script),g=es(r.end())}}else{if(!this.outs.length)throw new Error("Add outputs to the transaction before signing.");let e=this.outs.map((e=>8+by(e.script))).reduce(((e,t)=>e+t)),t=Ec.withCapacity(e);this.outs.forEach((e=>{t.writeInt64(e.value),t.writeVarSlice(e.script)})),g=es(t.end())}let y=(o?2:0)+(s?1:0),m=174-(c?49:0)-(u?32:0)+(s?32:0)+(o?37:0),b=Ec.withCapacity(m);if(b.writeUInt8(i),b.writeInt32(this.version),b.writeUInt32(this.locktime),b.writeSlice(d),b.writeSlice(h),b.writeSlice(f),b.writeSlice(p),u||l||b.writeSlice(g),b.writeUInt8(y),c){let e=this.ins[t];b.writeSlice(e.hash),b.writeUInt32(e.index),b.writeInt64(n[t]),b.writeVarSlice(r[t]),b.writeUInt32(e.sequence)}else b.writeUInt32(t);if(s){let e=Ec.withCapacity(by(s));e.writeVarSlice(s),b.writeSlice(es(e.end()))}return l&&b.writeSlice(g),o&&(b.writeSlice(o),b.writeUInt8(0),b.writeUInt32(4294967295)),B8("TapSighash",Bn([Uint8Array.from([0]),b.end()]))}hashForWitnessV0(t,r,n,i){Ai(Nh([mp,Wn,dG,mp]),[t,r,n,i]);let o,s=Uint8Array.from([]),a=dye,c=dye,u=dye;if(i&e.SIGHASH_ANYONECANPAY||(s=new Uint8Array(36*this.ins.length),o=new Ec(s,0),this.ins.forEach((e=>{o.writeSlice(e.hash),o.writeUInt32(e.index)})),c=xb(s)),!(i&e.SIGHASH_ANYONECANPAY)&&(31&i)!==e.SIGHASH_SINGLE&&(31&i)!==e.SIGHASH_NONE&&(s=new Uint8Array(4*this.ins.length),o=new Ec(s,0),this.ins.forEach((e=>{o.writeUInt32(e.sequence)})),u=xb(s)),(31&i)!==e.SIGHASH_SINGLE&&(31&i)!==e.SIGHASH_NONE){let e=this.outs.reduce(((e,t)=>e+8+by(t.script)),0);s=new Uint8Array(e),o=new Ec(s,0),this.outs.forEach((e=>{o.writeInt64(e.value),o.writeVarSlice(e.script)})),a=xb(s)}else if((31&i)===e.SIGHASH_SINGLE&&t<this.outs.length){let e=this.outs[t];s=new Uint8Array(8+by(e.script)),o=new Ec(s,0),o.writeInt64(e.value),o.writeVarSlice(e.script),a=xb(s)}s=new Uint8Array(156+by(r)),o=new Ec(s,0);let l=this.ins[t];return o.writeInt32(this.version),o.writeSlice(c),o.writeSlice(u),o.writeSlice(l.hash),o.writeUInt32(l.index),o.writeVarSlice(r),o.writeInt64(n),o.writeUInt32(l.sequence),o.writeSlice(a),o.writeUInt32(this.locktime),o.writeUInt32(i),xb(s)}getHash(e){return e&&this.isCoinbase()?new Uint8Array(32):xb(this.__toBuffer(void 0,void 0,e))}getId(){return or(M8(this.getHash(!1)))}toBuffer(e,t){return this.__toBuffer(e,t,!0)}toHex(){return or(this.toBuffer(void 0,void 0))}setInputScript(e,t){Ai(Nh([Ha(),Wn]),[e,t]),this.ins[e].script=t}setWitness(e,t){Ai(Nh([Ha(),$s(Wn)]),[e,t]),this.ins[e].witness=t}__toBuffer(t,r,n=!1){t||(t=new Uint8Array(this.byteLength(n)));let i=new Ec(t,r||0);i.writeInt32(this.version);let o=n&&this.hasWitnesses();return o&&(i.writeUInt8(e.ADVANCED_TRANSACTION_MARKER),i.writeUInt8(e.ADVANCED_TRANSACTION_FLAG)),i.writeVarInt(this.ins.length),this.ins.forEach((e=>{i.writeSlice(e.hash),i.writeUInt32(e.index),i.writeVarSlice(e.script),i.writeUInt32(e.sequence)})),i.writeVarInt(this.outs.length),this.outs.forEach((e=>{Smr(e)?i.writeInt64(e.value):i.writeSlice(e.valueBuffer),i.writeVarSlice(e.script)})),o&&this.ins.forEach((e=>{i.writeVector(e.witness)})),i.writeUInt32(this.locktime),void 0!==r?t.slice(r,i.offset):t}},z8n=new TypeError("Cannot compute merkle root for zero transactions"),K8n=new TypeError("Cannot compute witness commit for non-segwit block");m(),m(),m(),m(),m();var KM={},Uf,fr,qo;Vr(KM,{globals:()=>zM,inputs:()=>ea,outputs:()=>bp}),m(),m(),function(e){e[e.UNSIGNED_TX=0]="UNSIGNED_TX",e[e.GLOBAL_XPUB=1]="GLOBAL_XPUB"}(Uf||(Uf={})),function(e){e[e.NON_WITNESS_UTXO=0]="NON_WITNESS_UTXO",e[e.WITNESS_UTXO=1]="WITNESS_UTXO",e[e.PARTIAL_SIG=2]="PARTIAL_SIG",e[e.SIGHASH_TYPE=3]="SIGHASH_TYPE",e[e.REDEEM_SCRIPT=4]="REDEEM_SCRIPT",e[e.WITNESS_SCRIPT=5]="WITNESS_SCRIPT",e[e.BIP32_DERIVATION=6]="BIP32_DERIVATION",e[e.FINAL_SCRIPTSIG=7]="FINAL_SCRIPTSIG",e[e.FINAL_SCRIPTWITNESS=8]="FINAL_SCRIPTWITNESS",e[e.POR_COMMITMENT=9]="POR_COMMITMENT",e[e.TAP_KEY_SIG=19]="TAP_KEY_SIG",e[e.TAP_SCRIPT_SIG=20]="TAP_SCRIPT_SIG",e[e.TAP_LEAF_SCRIPT=21]="TAP_LEAF_SCRIPT",e[e.TAP_BIP32_DERIVATION=22]="TAP_BIP32_DERIVATION",e[e.TAP_INTERNAL_KEY=23]="TAP_INTERNAL_KEY",e[e.TAP_MERKLE_ROOT=24]="TAP_MERKLE_ROOT"}(fr||(fr={})),function(e){e[e.REDEEM_SCRIPT=0]="REDEEM_SCRIPT",e[e.WITNESS_SCRIPT=1]="WITNESS_SCRIPT",e[e.BIP32_DERIVATION=2]="BIP32_DERIVATION",e[e.TAP_INTERNAL_KEY=5]="TAP_INTERNAL_KEY",e[e.TAP_TREE=6]="TAP_TREE",e[e.TAP_BIP32_DERIVATION=7]="TAP_BIP32_DERIVATION"}(qo||(qo={}));var hye={};Vr(hye,{canAddToArray:()=>Mmr,check:()=>Bmr,decode:()=>Imr,encode:()=>Omr,expected:()=>Pmr}),m();var Cmr=e=>[...Array(e).keys()];function Imr(e){if(e.key[0]!==Uf.GLOBAL_XPUB)throw new Error("Decode Error: could not decode globalXpub with key 0x"+or(e.key));if(79!==e.key.length||![2,3].includes(e.key[46]))throw new Error("Decode Error: globalXpub has invalid extended pubkey in key 0x"+or(e.key));if(e.value.length/4%1!=0)throw new Error("Decode Error: Global GLOBAL_XPUB value length should be multiple of 4");let t=e.key.slice(1),r={masterFingerprint:e.value.slice(0,4),extendedPubkey:t,path:"m"};for(let t of Cmr(e.value.length/4-1)){let n=Od(e.value,4*t+4,"LE"),i=!!(2147483648&n),o=2147483647&n;r.path+="/"+o.toString(10)+(i?"'":"")}return r}function Omr(e){let t=Bn([new Uint8Array([Uf.GLOBAL_XPUB]),e.extendedPubkey]),r=e.path.split("/"),n=new Uint8Array(4*r.length);n.set(e.masterFingerprint,0);let i=4;return r.slice(1).forEach((e=>{let t="'"===e.slice(-1),r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),yp(n,i,r,"LE"),i+=4})),{key:t,value:n}}var Pmr="{ masterFingerprint: Uint8Array; extendedPubkey: Uint8Array; path: string; }";function Bmr(e){let t=e.extendedPubkey,r=e.masterFingerprint,n=e.path;return t instanceof Uint8Array&&78===t.length&&[2,3].indexOf(t[45])>-1&&r instanceof Uint8Array&&4===r.length&&"string"==typeof n&&!!n.match(/^m(\/\d+'?)*$/)}function Mmr(e,t,r){let n=or(t.extendedPubkey);return!r.has(n)&&(r.add(n),0===e.filter((e=>Lt(e.extendedPubkey,t.extendedPubkey))).length)}var pye={};function kmr(e){return{key:new Uint8Array([Uf.UNSIGNED_TX]),value:e.toBuffer()}}Vr(pye,{encode:()=>kmr}),m();var gye={};function _mr(e){if(e.key[0]!==fr.FINAL_SCRIPTSIG)throw new Error("Decode Error: could not decode finalScriptSig with key 0x"+or(e.key));return e.value}function Rmr(e){return{key:new Uint8Array([fr.FINAL_SCRIPTSIG]),value:e}}Vr(gye,{canAdd:()=>Umr,check:()=>Dmr,decode:()=>_mr,encode:()=>Rmr,expected:()=>Nmr}),m();var Nmr="Uint8Array";function Dmr(e){return e instanceof Uint8Array}function Umr(e,t){return!!e&&!!t&&void 0===e.finalScriptSig}var yye={};function Lmr(e){if(e.key[0]!==fr.FINAL_SCRIPTWITNESS)throw new Error("Decode Error: could not decode finalScriptWitness with key 0x"+or(e.key));return e.value}function Fmr(e){return{key:new Uint8Array([fr.FINAL_SCRIPTWITNESS]),value:e}}Vr(yye,{canAdd:()=>Kmr,check:()=>zmr,decode:()=>Lmr,encode:()=>Fmr,expected:()=>Wmr}),m();var Wmr="Uint8Array";function zmr(e){return e instanceof Uint8Array}function Kmr(e,t){return!!e&&!!t&&void 0===e.finalScriptWitness}var mye={};function Hmr(e){if(e.key[0]!==fr.NON_WITNESS_UTXO)throw new Error("Decode Error: could not decode nonWitnessUtxo with key 0x"+or(e.key));return e.value}function qmr(e){return{key:new Uint8Array([fr.NON_WITNESS_UTXO]),value:e}}Vr(mye,{canAdd:()=>Vmr,check:()=>Gmr,decode:()=>Hmr,encode:()=>qmr,expected:()=>jmr}),m();var jmr="Uint8Array";function Gmr(e){return e instanceof Uint8Array}function Vmr(e,t){return!!e&&!!t&&void 0===e.nonWitnessUtxo}var bye={};function Jmr(e){if(e.key[0]!==fr.PARTIAL_SIG)throw new Error("Decode Error: could not decode partialSig with key 0x"+or(e.key));if(34!==e.key.length&&66!==e.key.length||![2,3,4].includes(e.key[1]))throw new Error("Decode Error: partialSig has invalid pubkey in key 0x"+or(e.key));return{pubkey:e.key.slice(1),signature:e.value}}function Xmr(e){return{key:Bn([new Uint8Array([fr.PARTIAL_SIG]),e.pubkey]),value:e.signature}}Vr(bye,{canAddToArray:()=>$mr,check:()=>Qmr,decode:()=>Jmr,encode:()=>Xmr,expected:()=>Ymr}),m();var Ymr="{ pubkey: Uint8Array; signature: Uint8Array; }";function Qmr(e){return e.pubkey instanceof Uint8Array&&e.signature instanceof Uint8Array&&[33,65].includes(e.pubkey.length)&&[2,3,4].includes(e.pubkey[0])&&Zmr(e.signature)}function Zmr(e){if(!(e instanceof Uint8Array)||e.length<9||48!==e[0]||e.length!==e[1]+3||2!==e[2])return!1;let t=e[3];if(t>33||t<1||2!==e[3+t+1])return!1;let r=e[3+t+2];return!(r>33||r<1||e.length!==3+t+2+r+2)}function $mr(e,t,r){let n=or(t.pubkey);return!r.has(n)&&(r.add(n),0===e.filter((e=>0===Lt(e.pubkey,t.pubkey))).length)}var vye={};function ebr(e){if(e.key[0]!==fr.POR_COMMITMENT)throw new Error("Decode Error: could not decode porCommitment with key 0x"+or(e.key));return glt(e.value)}function tbr(e){return{key:new Uint8Array([fr.POR_COMMITMENT]),value:ylt(e)}}Vr(vye,{canAdd:()=>ibr,check:()=>nbr,decode:()=>ebr,encode:()=>tbr,expected:()=>rbr}),m();var rbr="string";function nbr(e){return"string"==typeof e}function ibr(e,t){return!!e&&!!t&&void 0===e.porCommitment}var wye={};function obr(e){if(e.key[0]!==fr.SIGHASH_TYPE)throw new Error("Decode Error: could not decode sighashType with key 0x"+or(e.key));return Number(Od(e.value,0,"LE"))}function sbr(e){let t=Uint8Array.from([fr.SIGHASH_TYPE]),r=new Uint8Array(4);return yp(r,0,e,"LE"),{key:t,value:r}}Vr(wye,{canAdd:()=>ubr,check:()=>cbr,decode:()=>obr,encode:()=>sbr,expected:()=>abr}),m();var abr="number";function cbr(e){return"number"==typeof e}function ubr(e,t){return!!e&&!!t&&void 0===e.sighashType}var xye={};function lbr(e){if(e.key[0]!==fr.TAP_KEY_SIG||1!==e.key.length)throw new Error("Decode Error: could not decode tapKeySig with key 0x"+or(e.key));if(!fft(e.value))throw new Error("Decode Error: tapKeySig not a valid 64-65-byte BIP340 signature");return e.value}function fbr(e){return{key:Uint8Array.from([fr.TAP_KEY_SIG]),value:e}}Vr(xye,{canAdd:()=>hbr,check:()=>fft,decode:()=>lbr,encode:()=>fbr,expected:()=>dbr}),m();var dbr="Uint8Array";function fft(e){return e instanceof Uint8Array&&(64===e.length||65===e.length)}function hbr(e,t){return!!e&&!!t&&void 0===e.tapKeySig}var Aye={};function pbr(e){if(e.key[0]!==fr.TAP_LEAF_SCRIPT)throw new Error("Decode Error: could not decode tapLeafScript with key 0x"+or(e.key));if((e.key.length-2)%32!=0)throw new Error("Decode Error: tapLeafScript has invalid control block in key 0x"+or(e.key));let t=e.value[e.value.length-1];if((254&e.key[1])!==t)throw new Error("Decode Error: tapLeafScript bad leaf version in key 0x"+or(e.key));let r=e.value.slice(0,-1);return{controlBlock:e.key.slice(1),script:r,leafVersion:t}}function gbr(e){let t=Uint8Array.from([fr.TAP_LEAF_SCRIPT]),r=Uint8Array.from([e.leafVersion]);return{key:Bn([t,e.controlBlock]),value:Bn([e.script,r])}}Vr(Aye,{canAddToArray:()=>bbr,check:()=>mbr,decode:()=>pbr,encode:()=>gbr,expected:()=>ybr}),m();var ybr="{ controlBlock: Uint8Array; leafVersion: number, script: Uint8Array; }";function mbr(e){return e.controlBlock instanceof Uint8Array&&(e.controlBlock.length-1)%32==0&&(254&e.controlBlock[0])===e.leafVersion&&e.script instanceof Uint8Array}function bbr(e,t,r){let n=or(t.controlBlock);return!r.has(n)&&(r.add(n),0===e.filter((e=>0===Lt(e.controlBlock,t.controlBlock))).length)}var Eye={};function vbr(e){if(e.key[0]!==fr.TAP_MERKLE_ROOT||1!==e.key.length)throw new Error("Decode Error: could not decode tapMerkleRoot with key 0x"+or(e.key));if(!dft(e.value))throw new Error("Decode Error: tapMerkleRoot not a 32-byte hash");return e.value}function wbr(e){return{key:Uint8Array.from([fr.TAP_MERKLE_ROOT]),value:e}}Vr(Eye,{canAdd:()=>Abr,check:()=>dft,decode:()=>vbr,encode:()=>wbr,expected:()=>xbr}),m();var xbr="Uint8Array";function dft(e){return e instanceof Uint8Array&&32===e.length}function Abr(e,t){return!!e&&!!t&&void 0===e.tapMerkleRoot}var Tye={};function Ebr(e){if(e.key[0]!==fr.TAP_SCRIPT_SIG)throw new Error("Decode Error: could not decode tapScriptSig with key 0x"+or(e.key));if(65!==e.key.length)throw new Error("Decode Error: tapScriptSig has invalid key 0x"+or(e.key));if(64!==e.value.length&&65!==e.value.length)throw new Error("Decode Error: tapScriptSig has invalid signature in key 0x"+or(e.key));return{pubkey:e.key.slice(1,33),leafHash:e.key.slice(33),signature:e.value}}function Tbr(e){return{key:Bn([Uint8Array.from([fr.TAP_SCRIPT_SIG]),e.pubkey,e.leafHash]),value:e.signature}}Vr(Tye,{canAddToArray:()=>Ibr,check:()=>Cbr,decode:()=>Ebr,encode:()=>Tbr,expected:()=>Sbr}),m();var Sbr="{ pubkey: Uint8Array; leafHash: Uint8Array; signature: Uint8Array; }";function Cbr(e){return e.pubkey instanceof Uint8Array&&e.leafHash instanceof Uint8Array&&e.signature instanceof Uint8Array&&32===e.pubkey.length&&32===e.leafHash.length&&(64===e.signature.length||65===e.signature.length)}function Ibr(e,t,r){let n=or(t.pubkey)+or(t.leafHash);return!r.has(n)&&(r.add(n),0===e.filter((e=>0===Lt(e.pubkey,t.pubkey)&&0===Lt(e.leafHash,t.leafHash))).length)}var Sye={};function Obr(e){if(e.key[0]!==fr.WITNESS_UTXO)throw new Error("Decode Error: could not decode witnessUtxo with key 0x"+or(e.key));let t=cG(e.value,0,"LE"),r=8,{numberValue:n,bytes:i}=Md(e.value,r);r+=i;let o=e.value.slice(r);if(o.length!==n)throw new Error("Decode Error: WITNESS_UTXO script is not proper length");return{script:o,value:t}}function Pbr(e){let{script:t,value:r}=e,n=kd(t.length),i=new Uint8Array(8+n+t.length);return aG(i,0,BigInt(r),"LE"),Df(t.length,i,8),i.set(t,8+n),{key:Uint8Array.from([fr.WITNESS_UTXO]),value:i}}Vr(Sye,{canAdd:()=>kbr,check:()=>Mbr,decode:()=>Obr,encode:()=>Pbr,expected:()=>Bbr}),m();var Bbr="{ script: Uint8Array; value: bigint; }";function Mbr(e){return e.script instanceof Uint8Array&&"bigint"==typeof e.value}function kbr(e,t){return!!e&&!!t&&void 0===e.witnessUtxo}var Cye={};function _br(e){if(e.key[0]!==qo.TAP_TREE||1!==e.key.length)throw new Error("Decode Error: could not decode tapTree with key 0x"+or(e.key));let t=0,r=[];for(;t<e.value.length;){let n=e.value[t++],i=e.value[t++],{numberValue:o,bytes:s}=Md(e.value,t);t+=s,r.push({depth:n,leafVersion:i,script:e.value.slice(t,t+o)}),t+=o}return{leaves:r}}function Rbr(e){return{key:Uint8Array.from([qo.TAP_TREE]),value:Bn([].concat(...e.leaves.map((e=>[Uint8Array.of(e.depth,e.leafVersion),Df(BigInt(e.script.length)).buffer,e.script]))))}}Vr(Cye,{canAdd:()=>Ubr,check:()=>Dbr,decode:()=>_br,encode:()=>Rbr,expected:()=>Nbr}),m();var Nbr="{ leaves: [{ depth: number; leafVersion: number, script: Uint8Array; }] }";function Dbr(e){return Array.isArray(e.leaves)&&e.leaves.every((e=>e.depth>=0&&e.depth<=128&&(254&e.leafVersion)===e.leafVersion&&e.script instanceof Uint8Array))}function Ubr(e,t){return!!e&&!!t&&void 0===e.tapTree}m();var Lbr=e=>[...Array(e).keys()],Fbr=e=>33===e.length&&[2,3].includes(e[0])||65===e.length&&4===e[0];function WM(e,t=Fbr){return{decode:function(r){if(r.key[0]!==e)throw new Error("Decode Error: could not decode bip32Derivation with key 0x"+or(r.key));let n=r.key.slice(1);if(!t(n))throw new Error("Decode Error: bip32Derivation has invalid pubkey in key 0x"+or(r.key));if(r.value.length/4%1!=0)throw new Error("Decode Error: Input BIP32_DERIVATION value length should be multiple of 4");let i={masterFingerprint:r.value.slice(0,4),pubkey:n,path:"m"};for(let e of Lbr(r.value.length/4-1)){let t=Od(r.value,4*e+4,"LE"),n=!!(2147483648&t),o=2147483647&t;i.path+="/"+o.toString(10)+(n?"'":"")}return i},encode:function(t){let r=Bn([Uint8Array.from([e]),t.pubkey]),n=t.path.split("/"),i=new Uint8Array(4*n.length);i.set(t.masterFingerprint,0);let o=4;return n.slice(1).forEach((e=>{let t="'"===e.slice(-1),r=2147483647&parseInt(t?e.slice(0,-1):e,10);t&&(r+=2147483648),yp(i,o,r,"LE"),o+=4})),{key:r,value:i}},check:function(e){return e.pubkey instanceof Uint8Array&&e.masterFingerprint instanceof Uint8Array&&"string"==typeof e.path&&t(e.pubkey)&&4===e.masterFingerprint.length},expected:"{ masterFingerprint: Uint8Array; pubkey: Uint8Array; path: string; }",canAddToArray:function(e,t,r){let n=or(t.pubkey);return!r.has(n)&&(r.add(n),0===e.filter((e=>0===Lt(e.pubkey,t.pubkey))).length)}}}function AG(e){return function(t){let r;if(e.includes(t.key[0])&&(r=t.key.slice(1),33!==r.length&&65!==r.length||![2,3,4].includes(r[0])))throw new Error("Format Error: invalid pubkey in key 0x"+or(t.key));return r}}function Iye(e){return{decode:function(t){if(t.key[0]!==e)throw new Error("Decode Error: could not decode redeemScript with key 0x"+or(t.key));return t.value},encode:function(t){return{key:Uint8Array.from([e]),value:t}},check:function(e){return e instanceof Uint8Array},expected:"Uint8Array",canAdd:function(e,t){return!!e&&!!t&&void 0===e.redeemScript}}}m(),m(),m();var Kbr=e=>32===e.length;function Oye(e){let t=WM(e,Kbr);return{decode:function(e){let{numberValue:r,bytes:n}=Md(e.value),i=t.decode({key:e.key,value:e.value.slice(n+32*Number(r))}),o=new Array(Number(r));for(let t=0,i=n;t<r;t++,i+=32)o[t]=e.value.slice(i,i+32);return{...i,leafHashes:o}},encode:function(e){let r=t.encode(e),n=kd(e.leafHashes.length),i=new Uint8Array(n);Df(e.leafHashes.length,i);let o=Bn([i,...e.leafHashes,r.value]);return{...r,value:o}},check:function(e){return Array.isArray(e.leafHashes)&&e.leafHashes.every((e=>e instanceof Uint8Array&&32===e.length))&&t.check(e)},expected:"{ masterFingerprint: Uint8Array; pubkey: Uint8Array; path: string; leafHashes: Uint8Array[]; }",canAddToArray:t.canAddToArray}}function Pye(e){return{decode:function(t){if(t.key[0]!==e||1!==t.key.length)throw new Error("Decode Error: could not decode tapInternalKey with key 0x"+or(t.key));if(32!==t.value.length)throw new Error("Decode Error: tapInternalKey not a 32-byte x-only pubkey");return t.value},encode:function(t){return{key:Uint8Array.from([e]),value:t}},check:function(e){return e instanceof Uint8Array&&32===e.length},expected:"Uint8Array",canAdd:function(e,t){return!!e&&!!t&&void 0===e.tapInternalKey}}}function Bye(e){return{decode:function(t){if(t.key[0]!==e)throw new Error("Decode Error: could not decode witnessScript with key 0x"+or(t.key));return t.value},encode:function(t){return{key:Uint8Array.from([e]),value:t}},check:function(e){return e instanceof Uint8Array},expected:"Uint8Array",canAdd:function(e,t){return!!e&&!!t&&void 0===e.witnessScript}}}m(),m();var zM={unsignedTx:pye,globalXpub:hye,checkPubkey:AG([])},ea={nonWitnessUtxo:mye,partialSig:bye,sighashType:wye,finalScriptSig:gye,finalScriptWitness:yye,porCommitment:vye,witnessUtxo:Sye,bip32Derivation:WM(fr.BIP32_DERIVATION),redeemScript:Iye(fr.REDEEM_SCRIPT),witnessScript:Bye(fr.WITNESS_SCRIPT),checkPubkey:AG([fr.PARTIAL_SIG,fr.BIP32_DERIVATION]),tapKeySig:xye,tapScriptSig:Tye,tapLeafScript:Aye,tapBip32Derivation:Oye(fr.TAP_BIP32_DERIVATION),tapInternalKey:Pye(fr.TAP_INTERNAL_KEY),tapMerkleRoot:Eye},bp={bip32Derivation:WM(qo.BIP32_DERIVATION),redeemScript:Iye(qo.REDEEM_SCRIPT),witnessScript:Bye(qo.WITNESS_SCRIPT),checkPubkey:AG([qo.BIP32_DERIVATION]),tapBip32Derivation:Oye(qo.TAP_BIP32_DERIVATION),tapTree:Cye,tapInternalKey:Pye(qo.TAP_INTERNAL_KEY)};m();var HM=e=>[...Array(e).keys()];function Mye(e){let t=e.map(Gbr);return t.push(Uint8Array.from([0])),Bn(t)}function Gbr(e){let t=e.key.length,r=e.value.length,n=kd(t),i=kd(r),o=new Uint8Array(n+t+i+r);return Df(t,o,0),o.set(e.key,n),Df(r,o,n+t),o.set(e.value,n+t+i),o}function pft(e,t){let r=0;function n(){let{numberValue:t,bytes:n}=Md(e,r);r+=n;let i=e.slice(r,r+Number(t));return r+=Number(t),i}function i(){return{key:n(),value:n()}}function o(){if(r>=e.length)throw new Error("Format Error: Unexpected End of PSBT");let t=0===Qc(e,r);return t&&r++,t}if(1886610036!==function(){let t=Od(e,r,"BE");return r+=4,t}())throw new Error("Format Error: Invalid Magic Number");if(255!==function(){let t=Qc(e,r);return r+=1,t}())throw new Error("Format Error: Magic Number must be followed by 0xff separator");let s=[],a={};for(;!o();){let e=i(),t=or(e.key);if(a[t])throw new Error("Format Error: Keys must be unique for global keymap: key "+t);a[t]=1,s.push(e)}let c=s.filter((e=>e.key[0]===Uf.UNSIGNED_TX));if(1!==c.length)throw new Error("Format Error: Only one UNSIGNED_TX allowed");let u=t(c[0].value),{inputCount:l,outputCount:d}=u.getInputOutputCounts(),h=[],f=[];for(let e of HM(l)){let t={},r=[];for(;!o();){let n=i(),o=or(n.key);if(t[o])throw new Error("Format Error: Keys must be unique for each input: input index "+e+" key "+o);t[o]=1,r.push(n)}h.push(r)}for(let e of HM(d)){let t={},r=[];for(;!o();){let n=i(),o=or(n.key);if(t[o])throw new Error("Format Error: Keys must be unique for each output: output index "+e+" key "+o);t[o]=1,r.push(n)}f.push(r)}return kye(u,{globalMapKeyVals:s,inputKeyVals:h,outputKeyVals:f})}function Vu(e,t,r){if(Lt(t,Uint8Array.from([r])))throw new Error(`Format Error: Invalid ${e} key: ${or(t)}`)}function kye(e,{globalMapKeyVals:t,inputKeyVals:r,outputKeyVals:n}){let i={unsignedTx:e},o=0;for(let e of t)switch(e.key[0]){case Uf.UNSIGNED_TX:if(Vu("global",e.key,Uf.UNSIGNED_TX),o>0)throw new Error("Format Error: GlobalMap has multiple UNSIGNED_TX");o++;break;case Uf.GLOBAL_XPUB:void 0===i.globalXpub&&(i.globalXpub=[]),i.globalXpub.push(zM.globalXpub.decode(e));break;default:i.unknownKeyVals||(i.unknownKeyVals=[]),i.unknownKeyVals.push(e)}let s=r.length,a=n.length,c=[],u=[];for(let e of HM(s)){let t={};for(let n of r[e])switch(ea.checkPubkey(n),n.key[0]){case fr.NON_WITNESS_UTXO:if(Vu("input",n.key,fr.NON_WITNESS_UTXO),void 0!==t.nonWitnessUtxo)throw new Error("Format Error: Input has multiple NON_WITNESS_UTXO");t.nonWitnessUtxo=ea.nonWitnessUtxo.decode(n);break;case fr.WITNESS_UTXO:if(Vu("input",n.key,fr.WITNESS_UTXO),void 0!==t.witnessUtxo)throw new Error("Format Error: Input has multiple WITNESS_UTXO");t.witnessUtxo=ea.witnessUtxo.decode(n);break;case fr.PARTIAL_SIG:void 0===t.partialSig&&(t.partialSig=[]),t.partialSig.push(ea.partialSig.decode(n));break;case fr.SIGHASH_TYPE:if(Vu("input",n.key,fr.SIGHASH_TYPE),void 0!==t.sighashType)throw new Error("Format Error: Input has multiple SIGHASH_TYPE");t.sighashType=ea.sighashType.decode(n);break;case fr.REDEEM_SCRIPT:if(Vu("input",n.key,fr.REDEEM_SCRIPT),void 0!==t.redeemScript)throw new Error("Format Error: Input has multiple REDEEM_SCRIPT");t.redeemScript=ea.redeemScript.decode(n);break;case fr.WITNESS_SCRIPT:if(Vu("input",n.key,fr.WITNESS_SCRIPT),void 0!==t.witnessScript)throw new Error("Format Error: Input has multiple WITNESS_SCRIPT");t.witnessScript=ea.witnessScript.decode(n);break;case fr.BIP32_DERIVATION:void 0===t.bip32Derivation&&(t.bip32Derivation=[]),t.bip32Derivation.push(ea.bip32Derivation.decode(n));break;case fr.FINAL_SCRIPTSIG:Vu("input",n.key,fr.FINAL_SCRIPTSIG),t.finalScriptSig=ea.finalScriptSig.decode(n);break;case fr.FINAL_SCRIPTWITNESS:Vu("input",n.key,fr.FINAL_SCRIPTWITNESS),t.finalScriptWitness=ea.finalScriptWitness.decode(n);break;case fr.POR_COMMITMENT:Vu("input",n.key,fr.POR_COMMITMENT),t.porCommitment=ea.porCommitment.decode(n);break;case fr.TAP_KEY_SIG:Vu("input",n.key,fr.TAP_KEY_SIG),t.tapKeySig=ea.tapKeySig.decode(n);break;case fr.TAP_SCRIPT_SIG:void 0===t.tapScriptSig&&(t.tapScriptSig=[]),t.tapScriptSig.push(ea.tapScriptSig.decode(n));break;case fr.TAP_LEAF_SCRIPT:void 0===t.tapLeafScript&&(t.tapLeafScript=[]),t.tapLeafScript.push(ea.tapLeafScript.decode(n));break;case fr.TAP_BIP32_DERIVATION:void 0===t.tapBip32Derivation&&(t.tapBip32Derivation=[]),t.tapBip32Derivation.push(ea.tapBip32Derivation.decode(n));break;case fr.TAP_INTERNAL_KEY:Vu("input",n.key,fr.TAP_INTERNAL_KEY),t.tapInternalKey=ea.tapInternalKey.decode(n);break;case fr.TAP_MERKLE_ROOT:Vu("input",n.key,fr.TAP_MERKLE_ROOT),t.tapMerkleRoot=ea.tapMerkleRoot.decode(n);break;default:t.unknownKeyVals||(t.unknownKeyVals=[]),t.unknownKeyVals.push(n)}c.push(t)}for(let e of HM(a)){let t={};for(let r of n[e])switch(bp.checkPubkey(r),r.key[0]){case qo.REDEEM_SCRIPT:if(Vu("output",r.key,qo.REDEEM_SCRIPT),void 0!==t.redeemScript)throw new Error("Format Error: Output has multiple REDEEM_SCRIPT");t.redeemScript=bp.redeemScript.decode(r);break;case qo.WITNESS_SCRIPT:if(Vu("output",r.key,qo.WITNESS_SCRIPT),void 0!==t.witnessScript)throw new Error("Format Error: Output has multiple WITNESS_SCRIPT");t.witnessScript=bp.witnessScript.decode(r);break;case qo.BIP32_DERIVATION:void 0===t.bip32Derivation&&(t.bip32Derivation=[]),t.bip32Derivation.push(bp.bip32Derivation.decode(r));break;case qo.TAP_INTERNAL_KEY:Vu("output",r.key,qo.TAP_INTERNAL_KEY),t.tapInternalKey=bp.tapInternalKey.decode(r);break;case qo.TAP_TREE:Vu("output",r.key,qo.TAP_TREE),t.tapTree=bp.tapTree.decode(r);break;case qo.TAP_BIP32_DERIVATION:void 0===t.tapBip32Derivation&&(t.tapBip32Derivation=[]),t.tapBip32Derivation.push(bp.tapBip32Derivation.decode(r));break;default:t.unknownKeyVals||(t.unknownKeyVals=[]),t.unknownKeyVals.push(r)}u.push(t)}return{globalMap:i,inputs:c,outputs:u}}function gft({globalMap:e,inputs:t,outputs:r}){let{globalKeyVals:n,inputKeyVals:i,outputKeyVals:o}=EG({globalMap:e,inputs:t,outputs:r}),s=Mye(n),a=e=>0===e.length?[Uint8Array.from([0])]:e.map(Mye),c=a(i),u=a(o),l=new Uint8Array(5);return l.set([112,115,98,116,255],0),Bn([l,s].concat(c,u))}m();var Vbr=(e,t)=>Lt(e.key,t.key);function _ye(e,t){let r=new Set,n=Object.entries(e).reduce(((e,[n,i])=>{if("unknownKeyVals"===n)return e;let o=t[n];if(void 0===o)return e;let s=(Array.isArray(i)?i:[i]).map(o.encode);return s.map((e=>or(e.key))).forEach((e=>{if(r.has(e))throw new Error("Serialize Error: Duplicate key: "+e);r.add(e)})),e.concat(s)}),[]),i=e.unknownKeyVals?e.unknownKeyVals.filter((e=>!r.has(or(e.key)))):[];return n.concat(i).sort(Vbr)}function EG({globalMap:e,inputs:t,outputs:r}){return{globalKeyVals:_ye(e,zM),inputKeyVals:t.map((e=>_ye(e,ea))),outputKeyVals:r.map((e=>_ye(e,bp)))}}function mft(e){let t=e[0],r=EG(t),n=e.slice(1);if(0===n.length)throw new Error("Combine: Nothing to combine");let i=yft(t);if(void 0===i)throw new Error("Combine: Self missing transaction");let o=_8(r.globalKeyVals),s=r.inputKeyVals.map(_8),a=r.outputKeyVals.map(_8);for(let e of n){let t=yft(e);if(void 0===t||0!==Lt(t.toBuffer(),i.toBuffer()))throw new Error("Combine: One of the Psbts does not have the same transaction.");let n=EG(e);_8(n.globalKeyVals).forEach(Rye(o,r.globalKeyVals,n.globalKeyVals)),n.inputKeyVals.map(_8).forEach(((e,t)=>e.forEach(Rye(s[t],r.inputKeyVals[t],n.inputKeyVals[t])))),n.outputKeyVals.map(_8).forEach(((e,t)=>e.forEach(Rye(a[t],r.outputKeyVals[t],n.outputKeyVals[t]))))}return kye(i,{globalMapKeyVals:r.globalKeyVals,inputKeyVals:r.inputKeyVals,outputKeyVals:r.outputKeyVals})}function Rye(e,t,r){return n=>{if(e.has(n))return;let i=r.filter((e=>or(e.key)===n))[0];t.push(i),e.add(n)}}function yft(e){return e.globalMap.unsignedTx}function _8(e){let t=new Set;return e.forEach((e=>{let r=or(e.key);if(t.has(r))throw new Error("Combine: KeyValue Map keys should be unique");t.add(r)})),t}function ya(e,t){let r=e[t];if(void 0===r)throw new Error(`No input #${t}`);return r}function Zw(e,t){let r=e[t];if(void 0===r)throw new Error(`No output #${t}`);return r}function TG(e,t,r){if(e.key[0]<r)throw new Error("Use the method for your specific key instead of addUnknownKeyVal*");if(t&&0!==t.filter((t=>0===Lt(t.key,e.key))).length)throw new Error(`Duplicate Key: ${or(e.key)}`)}function SG(e){let t=0;return Object.keys(e).forEach((e=>{Number(isNaN(Number(e)))&&t++})),t}function vft(e,t){let r=!1;if(t.nonWitnessUtxo||t.witnessUtxo){let e=!!t.redeemScript,n=!!t.witnessScript,i=!e||!!t.finalScriptSig,o=!n||!!t.finalScriptWitness,s=!!t.finalScriptSig||!!t.finalScriptWitness;r=i&&o&&s}if(!1===r)throw new Error(`Input #${e} has too much or too little data to clean`)}function bft(e,t,r,n){throw new Error(`Data for ${e} key ${t} is incorrect: Expected ${r} and got ${JSON.stringify(n)}`)}function Nye(e){return(t,r)=>{for(let n of Object.keys(t)){let i=t[n],{canAdd:o,canAddToArray:s,check:a,expected:c}=KM[e+"s"][n]||{};if(a)if(!!s){if(!Array.isArray(i)||r[n]&&!Array.isArray(r[n]))throw new Error(`Key type ${n} must be an array`);i.every(a)||bft(e,n,c,i);let t=r[n]||[],o=new Set;if(!i.every((e=>s(t,e,o))))throw new Error("Can not add duplicate data to array");r[n]=t.concat(i)}else{if(a(i)||bft(e,n,c,i),!o(r,i))throw new Error(`Can not add duplicate data to ${e}`);r[n]=i}}}}m();var wft=Nye("global"),Dye=Nye("input"),Uye=Nye("output");function xft(e,t){let r=ya(e,e.length-1);Dye(t,r)}function Aft(e,t){let r=Zw(e,e.length-1);Uye(t,r)}var qM=class{constructor(e){this.inputs=[],this.outputs=[],this.globalMap={unsignedTx:e}}static fromBase64(e,t){let r=oG(e);return this.fromBuffer(r,t)}static fromHex(e,t){let r=Ml(e);return this.fromBuffer(r,t)}static fromBuffer(e,t){let r=pft(e,t),n=new this(r.globalMap.unsignedTx);return Object.assign(n,r),n}toBase64(){return mlt(this.toBuffer())}toHex(){return or(this.toBuffer())}toBuffer(){return gft(this)}updateGlobal(e){return wft(e,this.globalMap),this}updateInput(e,t){let r=ya(this.inputs,e);return Dye(t,r),this}updateOutput(e,t){let r=Zw(this.outputs,e);return Uye(t,r),this}addUnknownKeyValToGlobal(e){return TG(e,this.globalMap.unknownKeyVals,SG(Uf)),this.globalMap.unknownKeyVals||(this.globalMap.unknownKeyVals=[]),this.globalMap.unknownKeyVals.push(e),this}addUnknownKeyValToInput(e,t){let r=ya(this.inputs,e);return TG(t,r.unknownKeyVals,SG(fr)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addUnknownKeyValToOutput(e,t){let r=Zw(this.outputs,e);return TG(t,r.unknownKeyVals,SG(qo)),r.unknownKeyVals||(r.unknownKeyVals=[]),r.unknownKeyVals.push(t),this}addInput(e){this.globalMap.unsignedTx.addInput(e),this.inputs.push({unknownKeyVals:[]});let t=e.unknownKeyVals||[],r=this.inputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach((e=>this.addUnknownKeyValToInput(r,e))),xft(this.inputs,e),this}addOutput(e){this.globalMap.unsignedTx.addOutput(e),this.outputs.push({unknownKeyVals:[]});let t=e.unknownKeyVals||[],r=this.outputs.length-1;if(!Array.isArray(t))throw new Error("unknownKeyVals must be an Array");return t.forEach((e=>this.addUnknownKeyValToOutput(r,e))),Aft(this.outputs,e),this}clearFinalizedInput(e){let t=ya(this.inputs,e);vft(e,t);for(let e of Object.keys(t))["witnessUtxo","nonWitnessUtxo","finalScriptSig","finalScriptWitness","unknownKeyVals"].includes(e)||delete t[e];return this}combine(...e){let t=mft([this].concat(e));return Object.assign(this,t),this}getTransaction(){return this.globalMap.unsignedTx.toBuffer()}};function F2(e){return t=>{try{return e({output:t}),!0}catch{return!1}}}m(),m();var Eft=F2(U2),Tft=F2(kM),Sft=F2(Ab),jM=F2(Xw),Lye=F2(Tb),Fye=F2(Eb),GM=F2(my);function R8(e){let t=new Uint8Array(0);function r(e){let r=t.length,n=kd(e);t=Bn([t,new Uint8Array(n)]),Df(e,t,r)}function n(e){r(e.length),function(e){t=Bn([t,e])}(e)}return r((i=e).length),i.forEach(n),t;var i}function Wye(e,t){let r=Bd(e),n=e.slice(1,33),i=Ui(t);if(null===i)throw new Error("Unknown script error");return i.findIndex((t=>"number"!=typeof t&&(0===Lt(e,t)||0===Lt(r,t)||0===Lt(n,t))))}function VM(e,t){return-1!==Wye(e,t)}function Cft(e,t){return Jbr(e).some((e=>zye(e,D2.decode,t)))}function zye(e,t,r){let{hashType:n}=t(e),i=[];switch(n&bo.SIGHASH_ANYONECANPAY&&i.push("addInput"),31&n){case bo.SIGHASH_ALL:break;case bo.SIGHASH_SINGLE:case bo.SIGHASH_NONE:i.push("addOutput"),i.push("setInputSequence")}return-1===i.indexOf(r)}function Jbr(e){let t=[];if(0===(e.partialSig||[]).length){if(!e.finalScriptSig&&!e.finalScriptWitness)return[];t=Xbr(e)}else t=e.partialSig;return t.map((e=>e.signature))}function Xbr(e){let t=e.finalScriptSig&&Ui(e.finalScriptSig)||[],r=e.finalScriptWitness&&Ui(e.finalScriptWitness)||[];return t.concat(r).filter((e=>e instanceof Uint8Array&&kl(e))).map((e=>({signature:e})))}var JM=e=>32===e.length?e:e.slice(1,33);function jye(e,t,r){let n=cvr(t,e,r);try{return{finalScriptWitness:R8(svr(t,n).concat(n.script).concat(n.controlBlock))}}catch(t){throw new Error(`Can not finalize taproot input #${e}: ${t}`)}}function XM(e,t){return Bn([e,t?Uint8Array.from([t]):Uint8Array.from([])])}function Lh(e){return e&&!!(e.tapInternalKey||e.tapMerkleRoot||e.tapLeafScript&&e.tapLeafScript.length||e.tapBip32Derivation&&e.tapBip32Derivation.length||e.witnessUtxo&&GM(e.witnessUtxo.script))}function Kye(e,t){return e&&!!(e.tapInternalKey||e.tapTree||e.tapBip32Derivation&&e.tapBip32Derivation.length||t&&GM(t))}function Gye(e,t,r){nvr(e,t,r),ovr(e,t,r)}function Vye(e,t,r){ivr(e,t,r),Ybr(e,t)}function Ybr(e,t){if(!t.tapTree&&!t.tapInternalKey)return;let r=t.tapInternalKey||e.tapInternalKey,n=t.tapTree||e.tapTree;if(r){let{script:t}=e,i=Qbr(r,n);if(t&&0!==Lt(i,t))throw new Error("Error adding output. Script or address mismatch.")}}function Qbr(e,t){let r=t&&Zbr(t.leaves),{output:n}=my({internalPubkey:e,scriptTree:r});return n}function Zbr(e=[]){return 1===e.length&&0===e[0].depth?{output:e[0].script,version:e[0].leafVersion}:rvr(e)}function Ift(e,t){return evr(e).some((e=>zye(e,$br,t)))}function $br(e){return{signature:e.slice(0,64),hashType:e.slice(64)[0]||bo.SIGHASH_DEFAULT}}function evr(e){let t=[];if(e.tapKeySig&&t.push(e.tapKeySig),e.tapScriptSig&&t.push(...e.tapScriptSig.map((e=>e.signature))),!t.length){let r=tvr(e.finalScriptWitness);r&&t.push(r)}return t}function tvr(e){if(!e)return;let t=e.slice(2);return 64===t.length||65===t.length?t:void 0}function rvr(e){let t;for(let r of e)if(t=qye(r,t),!t)throw new Error("No room left to insert tapleaf in tree");return t}function qye(e,t,r=0){if(r>Zlt)throw new Error("Max taptree depth exceeded.");if(e.depth===r)return t?void 0:{output:e.script,version:e.leafVersion};if(BM(t))return;let n=qye(e,t&&t[0],r+1);if(n)return[n,t&&t[1]];let i=qye(e,t&&t[1],r+1);return i?[t&&t[0],i]:void 0}function nvr(e,t,r){let n=Lh(e)&&N8(t),i=N8(e)&&Lh(t),o=e===t&&Lh(t)&&N8(t);if(n||i||o)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function ivr(e,t,r){let n=Kye(e)&&N8(t),i=N8(e)&&Kye(t),o=e===t&&Kye(t)&&N8(t);if(n||i||o)throw new Error(`Invalid arguments for Psbt.${r}. Cannot use both taproot and non-taproot fields.`)}function ovr(e,t,r){if(t.tapMerkleRoot){let n=(t.tapLeafScript||[]).every((e=>Hye(e,t.tapMerkleRoot))),i=(e.tapLeafScript||[]).every((e=>Hye(e,t.tapMerkleRoot)));if(!n||!i)throw new Error(`Invalid arguments for Psbt.${r}. Tapleaf not part of taptree.`)}else if(e.tapMerkleRoot&&!(t.tapLeafScript||[]).every((t=>Hye(t,e.tapMerkleRoot))))throw new Error(`Invalid arguments for Psbt.${r}. Tapleaf not part of taptree.`)}function Hye(e,t){if(!t)return!0;let r=Uh({output:e.script,version:e.leafVersion});return 0===Lt(FM(e.controlBlock,r),t)}function svr(e,t){let r=Uh({output:t.script,version:t.leafVersion});return(e.tapScriptSig||[]).filter((e=>0===Lt(e.leafHash,r))).map((e=>avr(t.script,e))).sort(((e,t)=>t.positionInScript-e.positionInScript)).map((e=>e.signature))}function avr(e,t){return Object.assign({positionInScript:Wye(t.pubkey,e)},t)}function cvr(e,t,r){if(!e.tapScriptSig||!e.tapScriptSig.length)throw new Error(`Can not finalize taproot input #${t}. No tapleaf script signature provided.`);let n=(e.tapLeafScript||[]).sort(((e,t)=>e.controlBlock.length-t.controlBlock.length)).find((t=>uvr(t,e.tapScriptSig,r)));if(!n)throw new Error(`Can not finalize taproot input #${t}. Signature for tapleaf script not found.`);return n}function uvr(e,t,r){let n=Uh({output:e.script,version:e.leafVersion});return(!r||0===Lt(n,r))&&void 0!==t.find((e=>0===Lt(e.leafHash,n)))}function N8(e){return e&&!!(e.redeemScript||e.witnessScript||e.bip32Derivation&&e.bip32Derivation.length)}var lvr={network:ga,maximumFeeRate:5e3},W2=class e{data;static fromBase64(e,t={}){let r=oG(e);return this.fromBuffer(r,t)}static fromHex(e,t={}){let r=Ml(e);return this.fromBuffer(r,t)}static fromBuffer(t,r={}){let n=qM.fromBuffer(t,fvr),i=new e(r,n);return yvr(i.__CACHE.__TX,i.__CACHE),i}__CACHE;opts;constructor(e={},t=new qM(new IG)){this.data=t,this.opts=Object.assign({},lvr,e),this.__CACHE={__NON_WITNESS_UTXO_TX_CACHE:[],__NON_WITNESS_UTXO_BUF_CACHE:[],__TX_IN_CACHE:{},__TX:this.data.globalMap.unsignedTx.tx,__UNSAFE_SIGN_NONSEGWIT:!1},0===this.data.inputs.length&&this.setVersion(2);let r=(e,t,r,n)=>Object.defineProperty(e,t,{enumerable:r,writable:n});r(this,"__CACHE",!1,!0),r(this,"opts",!1,!0)}get inputCount(){return this.data.inputs.length}get version(){return this.__CACHE.__TX.version}set version(e){this.setVersion(e)}get locktime(){return this.__CACHE.__TX.locktime}set locktime(e){this.setLocktime(e)}get txInputs(){return this.__CACHE.__TX.ins.map((e=>({hash:cye(e.hash),index:e.index,sequence:e.sequence})))}get txOutputs(){return this.__CACHE.__TX.outs.map((e=>{let t;try{t=aft(e.script,this.opts.network)}catch{}return{script:cye(e.script),value:e.value,address:t}}))}combine(...e){return this.data.combine(...e.map((e=>e.data))),this}clone(){let t=e.fromBuffer(this.data.toBuffer());return t.opts=JSON.parse(JSON.stringify(this.opts)),t}setMaximumFeeRate(e){CG(e),this.opts.maximumFeeRate=e}setVersion(e){CG(e),YM(this.data.inputs,"setVersion");let t=this.__CACHE;return t.__TX.version=e,t.__EXTRACTED_TX=void 0,this}setLocktime(e){CG(e),YM(this.data.inputs,"setLocktime");let t=this.__CACHE;return t.__TX.locktime=e,t.__EXTRACTED_TX=void 0,this}setInputSequence(e,t){CG(t),YM(this.data.inputs,"setInputSequence");let r=this.__CACHE;if(r.__TX.ins.length<=e)throw new Error("Input index too high");return r.__TX.ins[e].sequence=t,r.__EXTRACTED_TX=void 0,this}addInputs(e){return e.forEach((e=>this.addInput(e))),this}addInput(e){if(arguments.length>1||!e||void 0===e.hash||void 0===e.index)throw new Error("Invalid arguments for Psbt.addInput. Requires single object with at least [hash] and [index]");Gye(e,e,"addInput"),YM(this.data.inputs,"addInput"),e.witnessScript&&OG(e.witnessScript);let t=this.__CACHE;this.data.addInput(e),Lft(t,t.__TX.ins[t.__TX.ins.length-1]);let r=this.data.inputs.length-1,n=this.data.inputs[r];return n.nonWitnessUtxo&&Yye(this.__CACHE,n,r),t.__FEE=void 0,t.__FEE_RATE=void 0,t.__EXTRACTED_TX=void 0,this}addOutputs(e){return e.forEach((e=>this.addOutput(e))),this}addOutput(e){if(arguments.length>1||!e||void 0===e.value||void 0===e.address&&void 0===e.script)throw new Error("Invalid arguments for Psbt.addOutput. Requires single object with at least [script or address] and [value]");YM(this.data.inputs,"addOutput");let{address:t}=e;if("string"==typeof t){let{network:r}=this.opts,n=cft(t,r);e=Object.assign({},e,{script:n})}Vye(e,e,"addOutput");let r=this.__CACHE;return this.data.addOutput(e),r.__FEE=void 0,r.__FEE_RATE=void 0,r.__EXTRACTED_TX=void 0,this}extractTransaction(e){if(!this.data.inputs.every(Dft))throw new Error("Not finalized");let t=this.__CACHE;if(e||hvr(this,t,this.opts),t.__EXTRACTED_TX)return t.__EXTRACTED_TX;let r=t.__TX.clone();return qft(this.data.inputs,r,t,!0),r}getFeeRate(){return kft("__FEE_RATE","fee rate",this.data.inputs,this.__CACHE)}getFee(){return kft("__FEE","fee",this.data.inputs,this.__CACHE)}finalizeAllInputs(){return ya(this.data.inputs,0),QM(this.data.inputs.length).forEach((e=>this.finalizeInput(e))),this}finalizeInput(e,t){let r=ya(this.data.inputs,e);return Lh(r)?this._finalizeTaprootInput(e,r,void 0,t):this._finalizeInput(e,r,t)}finalizeTaprootInput(e,t,r=jye){let n=ya(this.data.inputs,e);if(Lh(n))return this._finalizeTaprootInput(e,n,t,r);throw new Error(`Cannot finalize input #${e}. Not Taproot.`)}_finalizeInput(e,t,r=mvr){let{script:n,isP2SH:i,isP2WSH:o,isSegwit:s}=xvr(e,t,this.__CACHE);if(!n)throw new Error(`No script found for input #${e}`);pvr(t);let{finalScriptSig:a,finalScriptWitness:c}=r(e,t,n,s,i,o);if(a&&this.data.updateInput(e,{finalScriptSig:a}),c&&this.data.updateInput(e,{finalScriptWitness:c}),!a&&!c)throw new Error(`Unknown error finalizing input #${e}`);return this.data.clearFinalizedInput(e),this}_finalizeTaprootInput(e,t,r,n=jye){if(!t.witnessUtxo)throw new Error(`Cannot finalize input #${e}. Missing withness utxo.`);if(t.tapKeySig){let r=R8(my({output:t.witnessUtxo.script,signature:t.tapKeySig}).witness);this.data.updateInput(e,{finalScriptWitness:r})}else{let{finalScriptWitness:i}=n(e,t,r);this.data.updateInput(e,{finalScriptWitness:i})}return this.data.clearFinalizedInput(e),this}getInputType(e){let t=ya(this.data.inputs,e),r=BG(jft(e,t,this.__CACHE),e,"input",t.redeemScript||Cvr(t.finalScriptSig),t.witnessScript||Ivr(t.finalScriptWitness));return("raw"===r.type?"":r.type+"-")+Vft(r.meaningfulScript)}inputHasPubkey(e,t){return Tvr(t,ya(this.data.inputs,e),e,this.__CACHE)}inputHasHDKey(e,t){let r=ya(this.data.inputs,e),n=Pft(t);return!!r.bip32Derivation&&r.bip32Derivation.some(n)}outputHasPubkey(e,t){return Svr(t,Zw(this.data.outputs,e),e,this.__CACHE)}outputHasHDKey(e,t){let r=Zw(this.data.outputs,e),n=Pft(t);return!!r.bip32Derivation&&r.bip32Derivation.some(n)}validateSignaturesOfAllInputs(e){return ya(this.data.inputs,0),QM(this.data.inputs.length).map((t=>this.validateSignaturesOfInput(t,e))).reduce(((e,t)=>!0===t&&e),!0)}validateSignaturesOfInput(e,t,r){return Lh(this.data.inputs[e])?this.validateSignaturesOfTaprootInput(e,t,r):this._validateSignaturesOfInput(e,t,r)}_validateSignaturesOfInput(e,t,r){let n=this.data.inputs[e],i=(n||{}).partialSig;if(!n||!i||i.length<1)throw new Error("No signatures to validate");if("function"!=typeof t)throw new Error("Need validator function to validate signatures");let o=r?i.filter((e=>0===Lt(e.pubkey,r))):i;if(o.length<1)throw new Error("No signatures for this pubkey");let s,a,c,u=[];for(let r of o){let i=D2.decode(r.signature),{hash:o,script:l}=c!==i.hashType?Wft(e,Object.assign({},n,{sighashType:i.hashType}),this.__CACHE,!0):{hash:s,script:a};c=i.hashType,s=o,a=l,Uft(r.pubkey,l,"verify"),u.push(t(r.pubkey,o,i.signature))}return u.every((e=>!0===e))}validateSignaturesOfTaprootInput(e,t,r){let n=this.data.inputs[e],i=(n||{}).tapKeySig,o=(n||{}).tapScriptSig;if(!n&&!i&&(!o||o.length))throw new Error("No signatures to validate");if("function"!=typeof t)throw new Error("Need validator function to validate signatures");let s=(r=r&&JM(r))?Xye(e,n,this.data.inputs,r,this.__CACHE):vvr(e,n,this.data.inputs,this.__CACHE);if(!s.length)throw new Error("No signatures for this pubkey");let a=s.find((e=>!e.leafHash)),c=0;if(i&&a){if(!t(a.pubkey,a.hash,Rft(i)))return!1;c++}if(o)for(let e of o){let r=s.find((t=>0===Lt(t.pubkey,e.pubkey)));if(r){if(!t(e.pubkey,r.hash,Rft(e.signature)))return!1;c++}}return c>0}signAllInputsHD(e,t=[bo.SIGHASH_ALL]){if(!e||!e.publicKey||!e.fingerprint)throw new Error("Need HDSigner to sign input");let r=[];for(let n of QM(this.data.inputs.length))try{this.signInputHD(n,e,t),r.push(!0)}catch{r.push(!1)}if(r.every((e=>!1===e)))throw new Error("No inputs were signed");return this}signAllInputsHDAsync(e,t=[bo.SIGHASH_ALL]){return new Promise(((r,n)=>{if(!e||!e.publicKey||!e.fingerprint)return n(new Error("Need HDSigner to sign input"));let i=[],o=[];for(let r of QM(this.data.inputs.length))o.push(this.signInputHDAsync(r,e,t).then((()=>{i.push(!0)}),(()=>{i.push(!1)})));return Promise.all(o).then((()=>{if(i.every((e=>!1===e)))return n(new Error("No inputs were signed"));r()}))}))}signInputHD(e,t,r=[bo.SIGHASH_ALL]){if(!t||!t.publicKey||!t.fingerprint)throw new Error("Need HDSigner to sign input");return Nft(e,this.data.inputs,t).forEach((t=>this.signInput(e,t,r))),this}signInputHDAsync(e,t,r=[bo.SIGHASH_ALL]){return new Promise(((n,i)=>{if(!t||!t.publicKey||!t.fingerprint)return i(new Error("Need HDSigner to sign input"));let o=Nft(e,this.data.inputs,t).map((t=>this.signInputAsync(e,t,r)));return Promise.all(o).then((()=>{n()})).catch(i)}))}signAllInputs(e,t){if(!e||!e.publicKey)throw new Error("Need Signer to sign input");let r=[];for(let n of QM(this.data.inputs.length))try{this.signInput(n,e,t),r.push(!0)}catch{r.push(!1)}if(r.every((e=>!1===e)))throw new Error("No inputs were signed");return this}signAllInputsAsync(e,t){return new Promise(((r,n)=>{if(!e||!e.publicKey)return n(new Error("Need Signer to sign input"));let i=[],o=[];for(let[r]of this.data.inputs.entries())o.push(this.signInputAsync(r,e,t).then((()=>{i.push(!0)}),(()=>{i.push(!1)})));return Promise.all(o).then((()=>{if(i.every((e=>!1===e)))return n(new Error("No inputs were signed"));r()}))}))}signInput(e,t,r){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");let n=ya(this.data.inputs,e);return Lh(n)?this._signTaprootInput(e,n,t,void 0,r):this._signInput(e,t,r)}signTaprootInput(e,t,r,n){if(!t||!t.publicKey)throw new Error("Need Signer to sign input");let i=ya(this.data.inputs,e);if(Lh(i))return this._signTaprootInput(e,i,t,r,n);throw new Error(`Input #${e} is not of type Taproot.`)}_signInput(e,t,r=[bo.SIGHASH_ALL]){let{hash:n,sighashType:i}=_ft(this.data.inputs,e,t.publicKey,this.__CACHE,r),o=[{pubkey:t.publicKey,signature:D2.encode(t.sign(n),i)}];return this.data.updateInput(e,{partialSig:o}),this}_signTaprootInput(e,t,r,n,i=[bo.SIGHASH_DEFAULT]){let o=this.checkTaprootHashesForSig(e,t,r,n,i),s=o.filter((e=>!e.leafHash)).map((e=>XM(r.signSchnorr(e.hash),t.sighashType)))[0],a=o.filter((e=>!!e.leafHash)).map((e=>({pubkey:JM(r.publicKey),signature:XM(r.signSchnorr(e.hash),t.sighashType),leafHash:e.leafHash})));return s&&this.data.updateInput(e,{tapKeySig:s}),a.length&&this.data.updateInput(e,{tapScriptSig:a}),this}signInputAsync(e,t,r){return Promise.resolve().then((()=>{if(!t||!t.publicKey)throw new Error("Need Signer to sign input");let n=ya(this.data.inputs,e);return Lh(n)?this._signTaprootInputAsync(e,n,t,void 0,r):this._signInputAsync(e,t,r)}))}signTaprootInputAsync(e,t,r,n){return Promise.resolve().then((()=>{if(!t||!t.publicKey)throw new Error("Need Signer to sign input");let i=ya(this.data.inputs,e);if(Lh(i))return this._signTaprootInputAsync(e,i,t,r,n);throw new Error(`Input #${e} is not of type Taproot.`)}))}_signInputAsync(e,t,r=[bo.SIGHASH_ALL]){let{hash:n,sighashType:i}=_ft(this.data.inputs,e,t.publicKey,this.__CACHE,r);return Promise.resolve(t.sign(n)).then((r=>{let n=[{pubkey:t.publicKey,signature:D2.encode(r,i)}];this.data.updateInput(e,{partialSig:n})}))}async _signTaprootInputAsync(e,t,r,n,i=[bo.SIGHASH_DEFAULT]){let o=this.checkTaprootHashesForSig(e,t,r,n,i),s=[],a=o.filter((e=>!e.leafHash))[0];if(a){let e=Promise.resolve(r.signSchnorr(a.hash)).then((e=>({tapKeySig:XM(e,t.sighashType)})));s.push(e)}let c=o.filter((e=>!!e.leafHash));if(c.length){let e=c.map((e=>Promise.resolve(r.signSchnorr(e.hash)).then((n=>({tapScriptSig:[{pubkey:JM(r.publicKey),signature:XM(n,t.sighashType),leafHash:e.leafHash}]})))));s.push(...e)}return Promise.all(s).then((t=>{t.forEach((t=>this.data.updateInput(e,t)))}))}checkTaprootHashesForSig(e,t,r,n,i){if("function"!=typeof r.signSchnorr)throw new Error(`Need Schnorr Signer to sign taproot input #${e}.`);let o=Xye(e,t,this.data.inputs,r.publicKey,this.__CACHE,n,i);if(!o||!o.length)throw new Error(`Can not sign for input #${e} with the key ${or(r.publicKey)}`);return o}toBuffer(){return Jye(this.__CACHE),this.data.toBuffer()}toHex(){return Jye(this.__CACHE),this.data.toHex()}toBase64(){return Jye(this.__CACHE),this.data.toBase64()}updateGlobal(e){return this.data.updateGlobal(e),this}updateInput(e,t){return t.witnessScript&&OG(t.witnessScript),Gye(this.data.inputs[e],t,"updateInput"),this.data.updateInput(e,t),t.nonWitnessUtxo&&Yye(this.__CACHE,this.data.inputs[e],e),this}updateOutput(e,t){return Vye(this.data.outputs[e],t,"updateOutput"),this.data.updateOutput(e,t),this}addUnknownKeyValToGlobal(e){return this.data.addUnknownKeyValToGlobal(e),this}addUnknownKeyValToInput(e,t){return this.data.addUnknownKeyValToInput(e,t),this}addUnknownKeyValToOutput(e,t){return this.data.addUnknownKeyValToOutput(e,t),this}clearFinalizedInput(e){return this.data.clearFinalizedInput(e),this}},fvr=e=>new IG(e),IG=class{tx;constructor(e=Uint8Array.from([2,0,0,0,0,0,0,0,0,0])){this.tx=bo.fromBuffer(e),gvr(this.tx),Object.defineProperty(this,"tx",{enumerable:!1,writable:!0})}getInputOutputCounts(){return{inputCount:this.tx.ins.length,outputCount:this.tx.outs.length}}addInput(e){if(void 0===e.hash||void 0===e.index||!(e.hash instanceof Uint8Array)&&"string"!=typeof e.hash||"number"!=typeof e.index)throw new Error("Error adding input.");let t="string"==typeof e.hash?M8(Ml(e.hash)):e.hash;this.tx.addInput(t,e.index,e.sequence)}addOutput(e){if(void 0===e.script||void 0===e.value||!(e.script instanceof Uint8Array)||"bigint"!=typeof e.value)throw new Error("Error adding output.");this.tx.addOutput(e.script,e.value)}toBuffer(){return this.tx.toBuffer()}};function dvr(e,t,r){switch(r){case"pubkey":case"pubkeyhash":case"witnesspubkeyhash":return Oft(1,e.partialSig);case"multisig":let r=U2({output:t});return Oft(r.m,e.partialSig,r.pubkeys);default:return!1}}function Jye(e){if(!1!==e.__UNSAFE_SIGN_NONSEGWIT)throw new Error("Not BIP174 compliant, can not export")}function Oft(e,t,r){if(!t)return!1;let n;if(n=r?r.map((e=>{let r=Ovr(e);return t.find((e=>0===Lt(e.pubkey,r)))})).filter((e=>!!e)):t,n.length>e)throw new Error("Too many signatures");return n.length===e}function Dft(e){return!!e.finalScriptSig||!!e.finalScriptWitness}function Pft(e){return t=>!(Lt(e.fingerprint,t.masterFingerprint)||Lt(e.derivePath(t.path).publicKey,t.pubkey))}function CG(e){if("number"!=typeof e||e!==Math.floor(e)||e>4294967295||e<0)throw new Error("Invalid 32 bit integer")}function hvr(e,t,r){let n=t.__FEE_RATE||e.getFeeRate(),i=t.__EXTRACTED_TX.virtualSize(),o=n*i;if(n>=r.maximumFeeRate)throw new Error(`Warning: You are paying around ${(o/1e8).toFixed(8)} in fees, which is ${n} satoshi per byte for a transaction with a VSize of ${i} bytes (segwit counted as 0.25 byte per byte). Use setMaximumFeeRate method to raise your threshold, or pass true to the first arg of extractTransaction.`)}function YM(e,t){e.forEach((e=>{if(Lh(e)?Ift(e,t):Cft(e,t))throw new Error("Can not modify transaction, signatures exist.")}))}function pvr(e){if(!e.sighashType||!e.partialSig)return;let{partialSig:t,sighashType:r}=e;t.forEach((e=>{let{hashType:t}=D2.decode(e.signature);if(r!==t)throw new Error("Signature sighash does not match input sighash type")}))}function Uft(e,t,r){if(!VM(e,t))throw new Error(`Can not ${r} for this input with the key ${or(e)}`)}function gvr(e){if(!e.ins.every((e=>e.script&&0===e.script.length&&e.witness&&0===e.witness.length)))throw new Error("Format Error: Transaction ScriptSigs are not empty")}function yvr(e,t){e.ins.forEach((e=>{Lft(t,e)}))}function Lft(e,t){let r=or(M8(Uint8Array.from(t.hash)))+":"+t.index;if(e.__TX_IN_CACHE[r])throw new Error("Duplicate input detected.");e.__TX_IN_CACHE[r]=1}function Fft(e,t){return(r,n,i,o)=>{if(Lt(n,e({redeem:{output:i}}).output))throw new Error(`${t} for ${o} #${r} doesn't match the scriptPubKey in the prevout`)}}var Bft=Fft(Eb,"Redeem script"),Mft=Fft(Tb,"Witness script");function kft(e,t,r,n){if(!r.every(Dft))throw new Error(`PSBT must be finalized to calculate ${t}`);if("__FEE_RATE"===e&&n.__FEE_RATE)return n.__FEE_RATE;if("__FEE"===e&&n.__FEE)return n.__FEE;let i,o=!0;return n.__EXTRACTED_TX?(i=n.__EXTRACTED_TX,o=!1):i=n.__TX.clone(),qft(r,i,n,o),"__FEE_RATE"===e?n.__FEE_RATE:"__FEE"===e?n.__FEE:void 0}function mvr(e,t,r,n,i,o){let s=Vft(r);if(!dvr(t,r,s))throw new Error(`Can not finalize input #${e}`);return bvr(r,s,t.partialSig,n,i,o)}function bvr(e,t,r,n,i,o){let s,a,c=wvr(e,t,r),u=o?Tb({redeem:c}):null,l=i?Eb({redeem:u||c}):null;return n?(a=R8(u?u.witness:c.witness),l&&(s=l.input)):s=l?l.input:c.input,{finalScriptSig:s,finalScriptWitness:a}}function _ft(e,t,r,n,i){let o=ya(e,t),{hash:s,sighashType:a,script:c}=Wft(t,o,n,!1,i);return Uft(r,c,"sign"),{hash:s,sighashType:a}}function Wft(e,t,r,n,i){let o,s,a=r.__TX,c=t.sighashType||bo.SIGHASH_ALL;if(Kft(c,i),t.nonWitnessUtxo){let n=PG(r,t,e);if(0!==Lt(a.ins[e].hash,n.getHash()))throw new Error(`Non-witness UTXO hash for input #${e} doesn't match the hash specified in the prevout`);let i=a.ins[e].index;s=n.outs[i]}else{if(!t.witnessUtxo)throw new Error("Need a Utxo input item for signing");s=t.witnessUtxo}let{meaningfulScript:u,type:l}=BG(s.script,e,"input",t.redeemScript,t.witnessScript);if(["p2sh-p2wsh","p2wsh"].indexOf(l)>=0)o=a.hashForWitnessV0(e,u,s.value,c);else if(jM(u)){let t=Ab({hash:u.slice(2)}).output;o=a.hashForWitnessV0(e,t,s.value,c)}else{if(void 0===t.nonWitnessUtxo&&!1===r.__UNSAFE_SIGN_NONSEGWIT)throw new Error(`Input #${e} has witnessUtxo but non-segwit script: ${or(u)}`);!n&&!1!==r.__UNSAFE_SIGN_NONSEGWIT&&console.warn("Warning: Signing non-segwit inputs without the full parent transaction means there is a chance that a miner could feed you incorrect information to trick you into paying large fees. This behavior is the same as Psbt's predecessor (TransactionBuilder - now removed) when signing non-segwit scripts. You are not able to export this Psbt with toBuffer|toBase64|toHex since it is not BIP174 compliant.\n*********************\nPROCEED WITH CAUTION!\n*********************"),o=a.hashForSignature(e,u,c)}return{script:u,sighashType:c,hash:o}}function vvr(e,t,r,n){let i=[];if(t.tapInternalKey){let r=zft(e,t,n);r&&i.push(r)}if(t.tapScriptSig){let e=t.tapScriptSig.map((e=>e.pubkey));i.push(...e)}return i.map((i=>Xye(e,t,r,i,n))).flat()}function zft(e,t,r){let{script:n}=Qye(e,t,r);return GM(n)?n.subarray(2,34):null}function Rft(e){return 64===e.length?e:e.subarray(0,64)}function Xye(e,t,r,n,i,o,s){let a=i.__TX,c=t.sighashType||bo.SIGHASH_DEFAULT;Kft(c,s);let u=r.map(((e,t)=>Qye(t,e,i))),l=u.map((e=>e.script)),d=u.map((e=>e.value)),h=[];if(t.tapInternalKey&&!o){let r=zft(e,t,i)||Uint8Array.from([]);if(0===Lt(JM(n),r)){let t=a.hashForWitnessV1(e,l,d,c);h.push({pubkey:n,hash:t})}}let f=(t.tapLeafScript||[]).filter((e=>VM(n,e.script))).map((e=>{let t=Uh({output:e.script,version:e.leafVersion});return Object.assign({hash:t},e)})).filter((e=>!o||0===Lt(o,e.hash))).map((t=>{let r=a.hashForWitnessV1(e,l,d,c,t.hash);return{pubkey:n,hash:r,leafHash:t.hash}}));return h.concat(f)}function Kft(e,t){if(t&&t.indexOf(e)<0){let t=Evr(e);throw new Error(`Sighash type is not allowed. Retry the sign method passing the sighashTypes array of whitelisted types. Sighash type: ${t}`)}}function wvr(e,t,r){let n;switch(t){case"multisig":n=U2({output:e,signatures:Avr(e,r)});break;case"pubkey":n=kM({output:e,signature:r[0].signature});break;case"pubkeyhash":n=Ab({output:e,pubkey:r[0].pubkey,signature:r[0].signature});break;case"witnesspubkeyhash":n=Xw({output:e,pubkey:r[0].pubkey,signature:r[0].signature})}return n}function xvr(e,t,r){let n=r.__TX,i={script:null,isSegwit:!1,isP2SH:!1,isP2WSH:!1};if(i.isP2SH=!!t.redeemScript,i.isP2WSH=!!t.witnessScript,t.witnessScript)i.script=t.witnessScript;else if(t.redeemScript)i.script=t.redeemScript;else if(t.nonWitnessUtxo){let o=PG(r,t,e),s=n.ins[e].index;i.script=o.outs[s].script}else t.witnessUtxo&&(i.script=t.witnessUtxo.script);return(t.witnessScript||jM(i.script))&&(i.isSegwit=!0),i}function Nft(e,t,r){let n=ya(t,e);if(!n.bip32Derivation||0===n.bip32Derivation.length)throw new Error("Need bip32Derivation to sign with HD");let i=n.bip32Derivation.map((e=>{if(0===Lt(e.masterFingerprint,r.fingerprint))return e})).filter((e=>!!e));if(0===i.length)throw new Error("Need one bip32Derivation masterFingerprint to match the HDSigner fingerprint");return i.map((e=>{let t=r.derivePath(e.path);if(0!==Lt(e.pubkey,t.publicKey))throw new Error("pubkey did not match bip32Derivation");return t}))}function Avr(e,t){return U2({output:e}).pubkeys.map((e=>(t.filter((t=>0===Lt(t.pubkey,e)))[0]||{}).signature)).filter((e=>!!e))}function Hft(e){let t=0;function r(){let r=Md(e,t);return t+=kd(r.bigintValue),r.numberValue}function n(){return n=r(),t+=n,e.slice(t-n,t);var n}return function(){let e=r(),t=[];for(let r=0;r<e;r++)t.push(n());return t}()}function Evr(e){let t=e&bo.SIGHASH_ANYONECANPAY?"SIGHASH_ANYONECANPAY | ":"";switch(31&e){case bo.SIGHASH_ALL:t+="SIGHASH_ALL";break;case bo.SIGHASH_SINGLE:t+="SIGHASH_SINGLE";break;case bo.SIGHASH_NONE:t+="SIGHASH_NONE"}return t}function Yye(e,t,r){e.__NON_WITNESS_UTXO_BUF_CACHE[r]=t.nonWitnessUtxo;let n=bo.fromBuffer(t.nonWitnessUtxo);e.__NON_WITNESS_UTXO_TX_CACHE[r]=n;let i=e,o=r;delete t.nonWitnessUtxo,Object.defineProperty(t,"nonWitnessUtxo",{enumerable:!0,get(){let e=i.__NON_WITNESS_UTXO_BUF_CACHE[o],t=i.__NON_WITNESS_UTXO_TX_CACHE[o];if(void 0!==e)return e;{let e=t.toBuffer();return i.__NON_WITNESS_UTXO_BUF_CACHE[o]=e,e}},set(e){i.__NON_WITNESS_UTXO_BUF_CACHE[o]=e}})}function qft(e,t,r,n){let i=0n;e.forEach(((e,o)=>{if(n&&e.finalScriptSig&&(t.ins[o].script=e.finalScriptSig),n&&e.finalScriptWitness&&(t.ins[o].witness=Hft(e.finalScriptWitness)),e.witnessUtxo)i+=e.witnessUtxo.value;else if(e.nonWitnessUtxo){let n=PG(r,e,o),s=t.ins[o].index,a=n.outs[s];i+=a.value}}));let o=t.outs.reduce(((e,t)=>e+t.value),0n),s=i-o;if(s<0)throw new Error("Outputs are spending more than Inputs");let a=t.virtualSize();r.__FEE=s,r.__EXTRACTED_TX=t,r.__FEE_RATE=Math.floor(Number(s/BigInt(a)))}function PG(e,t,r){let n=e.__NON_WITNESS_UTXO_TX_CACHE;return n[r]||Yye(e,t,r),n[r]}function jft(e,t,r){let{script:n}=Qye(e,t,r);return n}function Qye(e,t,r){if(void 0!==t.witnessUtxo)return{script:t.witnessUtxo.script,value:t.witnessUtxo.value};if(void 0!==t.nonWitnessUtxo){let n=PG(r,t,e).outs[r.__TX.ins[e].index];return{script:n.script,value:n.value}}throw new Error("Can't find pubkey in input without Utxo data")}function Tvr(e,t,r,n){let i=jft(r,t,n),{meaningfulScript:o}=BG(i,r,"input",t.redeemScript,t.witnessScript);return VM(e,o)}function Svr(e,t,r,n){let i=n.__TX.outs[r].script,{meaningfulScript:o}=BG(i,r,"output",t.redeemScript,t.witnessScript);return VM(e,o)}function Cvr(e){if(!e)return;let t=Ui(e);if(!t)return;let r=t[t.length-1];return r instanceof Uint8Array&&!Gft(r)&&!Pvr(r)&&Ui(r)?r:void 0}function Ivr(e){if(!e)return;let t=Hft(e),r=t[t.length-1];return!Gft(r)&&Ui(r)?r:void 0}function Ovr(e){if(65===e.length){let t=1&e[64],r=e.slice(0,33);return r[0]=2|t,r}return e.slice()}function Gft(e){return 33===e.length&&Llt(e)}function Pvr(e){return kl(e)}function BG(e,t,r,n,i){let o,s=Fye(e),a=s&&n&&Lye(n),c=Lye(e);if(s&&void 0===n)throw new Error("scriptPubkey is P2SH but redeemScript missing");if((c||a)&&void 0===i)throw new Error("scriptPubkey or redeemScript is P2WSH but witnessScript missing");return a?(o=i,Bft(t,e,n,r),Mft(t,n,i,r),OG(o)):c?(o=i,Mft(t,e,i,r),OG(o)):s?(o=n,Bft(t,e,n,r)):o=e,{meaningfulScript:o,type:a?"p2sh-p2wsh":s?"p2sh":c?"p2wsh":"raw"}}function OG(e){if(jM(e)||Fye(e))throw new Error("P2WPKH or P2SH can not be contained within P2WSH")}function Vft(e){return jM(e)?"witnesspubkeyhash":Sft(e)?"pubkeyhash":Eft(e)?"multisig":Tft(e)?"pubkey":"nonstandard"}function QM(e){return[...Array(e).keys()]}var Xft=hi(yg());m();var Jft=e=>{let t=e;return/^[0-9a-fA-F]+$/.test(e)||(t=W2.fromBase64(e).toHex()),t},Zye=class e extends $l{universalProvider;static provider;static initialized=!1;client;get isConnected(){return console.log("isConnected: ",this.universalProvider?.isConnected,this.universalProvider?.session),this.universalProvider?.isConnected||!1}get defaultChainId(){return this.universalProvider.getDefaultChainIdByNetwork("bitcoin")}get session(){return this.universalProvider.session?ku(this.universalProvider.session,"bitcoin"):null}constructor(){super()}static init(t){return this.initialized||(this.provider=new e,this.provider.setupClient(t),e.initialized=!0),this.provider}setupClient(e){if(this.client)return void this.logger.info("client already initialized");let t=e.getClient();t&&(this.client=new Xft.OKXBtcProvider(t),this.universalProvider=e,console.log("btcProvider - setupClient: ",this.client,this.universalProvider))}async request(e){return this.universalProvider?await Hr(this.universalProvider.request(e,"bitcoin")):Promise.reject("Universal provider is not initialized")}async connect(){return await Hr(this.universalProvider?.connect())}async disconnect(){await Hr(this.universalProvider?.disconnect())}getAccount(e){if(!this.client)throw new Lo("Client not initialized",4900);return this.client.getAccount(e)}async signMessage(e,t,r){if(this.client)return await Hr(this.client.signMessage(e,t,r));this.logger.error("client not initialized")}async send(e,t){if(this.client&&void 0!==this.defaultChainId)return await Hr(this.client.send(e,t));this.logger.error("client not initialized")}async sendBitcoin(e,t,r,n){if(this.client)return await Hr(this.client.sendBitcoin(e,t,r,n));this.logger.error("client not initialized")}async signPsbt(e,t,r){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);return await Hr(this.client.signPsbt(e,t,r))}async signPsbts(e,t,r){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);return await Hr(this.client.signPsbts(e,t,r??[]))}async signAndPushPsbt(e,t,r){if(!this.client)throw this.logger.error("client not initialized"),new Lo("Client not initialized",4900);return await Hr(this.client.signAndPushPsbt(e,t,r))}async sendInscription(e,t,r,n){if(this.client&&void 0!==this.defaultChainId)return await Hr(this.client.sendInscription(e,t,r,n));this.logger.error("client not initialized")}async pushPsbt(e,t){if(!this.client)return void this.logger.error("client not initialized");let r=Jft(t);if(!r)return void this.logger.error("Invalid psbt hex");let n=W2.fromHex(r).extractTransaction().toHex();return console.log("signedTx: ",n),await this.sendRawTransaction(e,n)}async sendRawTransaction(e,t){return this.client?await this.handleRpcRequest({method:"sendrawtransaction",params:[t]},e):(this.logger.error("client not initialized"),Promise.reject("Client not initialized"))}parseResponse(e){}async handleRpcRequest(e,t){return this.universalProvider?await Hr((async(e,t)=>{let r={jsonrpc:t.jsonrpc||"2.0",id:t.id||1,method:t.method,params:t.params};return(await fetch(e,{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"none"},referrerPolicy:"strict-origin-when-cross-origin",body:JSON.stringify(r),method:"POST",mode:"cors"})).json()})(t===CT?"https://wallet.okx.com/fullnode/btc/okxconnect/rpc":"https://wallet.okx.com/fullnode/fractal/discover/rpc",e)):Promise.reject("Universal provider is not initialized")}},Yft=Zye;m(),m(),m();var kvr=hi(Zft(),1),kG,$ft;!function(e){e.Loading="Loading",e.NotFound="NotFound",e.Found="Found"}(kG||(kG={})),function(e){e.Loading="Loading",e.NotFound="NotFound",e.Disconnect="Disconnected",e.Connected="Connected"}($ft||($ft={})),m(),m();var ixe={};Vr(ixe,{generateAccount:()=>_Br,generateAccountWithMnemonic:()=>NBr,generateRandom:()=>RBr}),m();var tme={};Vr(tme,{base64DecodeFromString:()=>Sb,base64EncodeToString:()=>ek,byte2hexStr:()=>D8,byteArray2hexStr:()=>qa,bytesToString:()=>_G,hextoString:()=>eme}),m(),m();var Xu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",$M=class{encode(e){let t,r,n,i,o,s,a,c="",u=0;for(;u<e.length;)t=e.charCodeAt(u++),r=e.charCodeAt(u++),n=e.charCodeAt(u++),i=t>>2,o=(3&t)<<4|r>>4,s=(15&r)<<2|n>>6,a=63&n,isNaN(r)?s=a=64:isNaN(n)&&(a=64),c=c+Xu.charAt(i)+Xu.charAt(o)+Xu.charAt(s)+Xu.charAt(a);return c}encodeIgnoreUtf8(e){let t,r,n,i,o,s,a,c="",u=0;for(;u<e.length;)t=e[u++],r=e[u++],n=e[u++],i=t>>2,o=(3&t)<<4|r>>4,s=(15&r)<<2|n>>6,a=63&n,isNaN(r)?s=a=64:isNaN(n)&&(a=64),c=c+Xu.charAt(i)+Xu.charAt(o)+Xu.charAt(s)+Xu.charAt(a);return c}decode(e){let t,r,n,i,o,s,a,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)i=Xu.indexOf(e.charAt(u++)),o=Xu.indexOf(e.charAt(u++)),s=Xu.indexOf(e.charAt(u++)),a=Xu.indexOf(e.charAt(u++)),t=i<<2|o>>4,r=(15&o)<<4|s>>2,n=(3&s)<<6|a,c+=String.fromCharCode(t),64!=s&&(c+=String.fromCharCode(r)),64!=a&&(c+=String.fromCharCode(n));return this._utf8_decode(c)}decodeToByteArray(e){let t,r,n,i,o,s,a,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)i=Xu.indexOf(e.charAt(u++)),o=Xu.indexOf(e.charAt(u++)),s=Xu.indexOf(e.charAt(u++)),a=Xu.indexOf(e.charAt(u++)),t=i<<2|o>>4,r=(15&o)<<4|s>>2,n=(3&s)<<6|a,c+=String.fromCharCode(t),64!=s&&(c+=String.fromCharCode(r)),64!=a&&(c+=String.fromCharCode(n));return this._out2ByteArray(c)}_out2ByteArray(e){let t=new Array(e.length),r=0,n=0;for(;r<e.length;)n=e.charCodeAt(r),t[r]=n,r++;return t}_utf8_encode(e){e=e.replace(/\r\n/g,"\n");let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t}_utf8_decode(e){let t="",r=0,n=0,i=0,o=0;for(;r<e.length;)n=e.charCodeAt(r),n<128?(t+=String.fromCharCode(n),r++):n>191&&n<224?(i=e.charCodeAt(r+1),t+=String.fromCharCode((31&n)<<6|63&i),r+=2):(i=e.charCodeAt(r+1),o=e.charCodeAt(r+2),t+=String.fromCharCode((15&n)<<12|(63&i)<<6|63&o),r+=3);return t}};function D8(e){if(e<0||e>255)throw new Error("Input must be a byte");let t="0123456789ABCDEF",r="";return r+=t.charAt(e>>4),r+=t.charAt(15&e),r}function _G(e){let t="";for(let r=0;r<e.length;r++){let n=e[r].toString(2),i=n.match(/^1+?(?=0)/);if(i&&8===n.length){let n=i[0].length,o=e[r].toString(2).slice(7-n);for(let t=1;t<n;t++)o+=e[t+r].toString(2).slice(2);t+=String.fromCharCode(parseInt(o,2)),r+=n-1}else t+=String.fromCharCode(e[r])}return t}function eme(e){let t=e.replace(/^0x/,"").split(""),r="";for(let e=0;e<t.length/2;e++){let n=`0x${t[2*e]}${t[2*e+1]}`;r+=String.fromCharCode(parseInt(n))}return r}function qa(e){let t="";for(let r=0;r<e.length;r++)t+=D8(e[r]);return t}function Sb(e){return(new $M).decodeToByteArray(e)}function ek(e){return(new $M).encodeIgnoreUtf8(e)}var nxe={};Vr(nxe,{ECKeySign:()=>rxe,SHA256:()=>Oy,_signTypedData:()=>SBr,arrayToBase64String:()=>EBr,computeAddress:()=>ZR,decode58Check:()=>IBr,decodeBase58Address:()=>G1e,ecRecover:()=>CJ,genPriKey:()=>txe,getAddressFromPriKey:()=>$R,getAddressFromPriKeyBase64String:()=>BBr,getBase58CheckAddress:()=>Ip,getBase58CheckAddressFromPriKeyBase64String:()=>OBr,getHexStrAddressFromPriKeyBase64String:()=>PBr,getPubKeyFromPriKey:()=>xT,getRowBytesFromTransactionBase64:()=>CBr,isAddressValid:()=>V1e,passwordToAddress:()=>MBr,pkToAddress:()=>hC,sha3:()=>Fwe,signBytes:()=>TBr,signTransaction:()=>ABr}),m();var j1e={};Vr(j1e,{ADDRESS_PREFIX:()=>tu,ADDRESS_PREFIX_BYTE:()=>z1e,ADDRESS_PREFIX_REGEX:()=>Kb,ADDRESS_SIZE:()=>W1e,TRON_BIP39_PATH_INDEX_0:()=>XV,TRON_BIP39_PATH_PREFIX:()=>Cyt,fromHex:()=>K1e,fromPrivateKey:()=>q1e,isAddress:()=>cT,isChecksumAddress:()=>H1e,toChecksumAddress:()=>YV,toHex:()=>xr}),m();var nme={};function _vr(e){return _G(e)}function Rvr(e,t,r=!1){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(r){if(e[n]!=t[n])return!1}else if(JSON.stringify(e[n])!=JSON.stringify(t[n]))return!1;return!0}function Nvr(e){let t,r=[],n=e.length;for(let i=0;i<n;i++)t=e.charCodeAt(i),t>=65536&&t<=1114111?(r.push(t>>18&7|240),r.push(t>>12&63|128),r.push(t>>6&63|128),r.push(63&t|128)):t>=2048&&t<=65535?(r.push(t>>12&15|224),r.push(t>>6&63|128),r.push(63&t|128)):t>=128&&t<=2047?(r.push(t>>6&31|192),r.push(63&t|128)):r.push(255&t);return r}function edt(e){let t;if(e>="A"&&e<="F"?t=e.charCodeAt(0)-65+10:e>="a"&&e<="f"?t=e.charCodeAt(0)-97+10:e>="0"&&e<="9"&&(t=e.charCodeAt(0)-48),"number"==typeof t)return t;throw new Error("The passed hex char is not a valid hex char")}function rme(e){return e>="A"&&e<="F"||e>="a"&&e<="f"||e>="0"&&e<="9"?1:0}function eu(e,t=!1){let r=e.length;t&&r%2&&(e=`0${e}`,r++);let n=[],i=0,o=0,s=0;for(let t=0;t<r;t++){let r=e.charAt(t);if(!rme(r))throw new Error("The passed hex char is not a valid hex string");i<<=4,i+=edt(r),o++,o%2==0&&(n[s++]=i,i=0)}return n}function Dvr(e){if(!/^\d{4}-\d{2}-\d{2}( \d{2}-\d{2}-\d{2}|)/.test(e))throw new Error("The passed date string is not valid");let t=e.split(" "),r=t[0].split("-"),n=parseInt(r[0],10),i=parseInt(r[1],10)-1,o=parseInt(r[2],10);if(t.length>1){let e=t[1].split("-"),r=parseInt(e[0],10),s=parseInt(e[1],10),a=parseInt(e[2],10);return new Date(n,i,o,r,s,a)}return new Date(n,i,o)}function tdt(e){return e>="0"&&e<="9"?1:0}function Uvr(e){if(null==e||0==e.length||""==e)return-1;let t=0;if(40==e.length)for(;t<40;t++){if(!rme(e.charAt(t)))break}if(40==t)return 1;for(t=0;t<e.length;t++){if(!tdt(e.charAt(t)))break}if(t==e.length)return 2;for(t=0;t<e.length;t++)if(e.charAt(t)>" ")return 3;return-1}Vr(nme,{arrayEquals:()=>Rvr,base64DecodeFromString:()=>Sb,base64EncodeToString:()=>ek,bin2String:()=>_vr,byte2hexStr:()=>D8,byteArray2hexStr:()=>qa,bytesToString:()=>_G,getStringType:()=>Uvr,hexChar2byte:()=>edt,hexStr2byteArray:()=>eu,hextoString:()=>eme,isHexChar:()=>rme,isNumber:()=>tdt,strToDate:()=>Dvr,stringToBytes:()=>Nvr}),m();var kve={};Vr(kve,{hasProperties:()=>Mve,hasProperty:()=>$0t,isArray:()=>H2,isBigNumber:()=>W4r,isBoolean:()=>Bve,isFunction:()=>z4r,isHex:()=>Ib,isInteger:()=>Ay,isJson:()=>F4r,isNotNullOrUndefined:()=>ru,isObject:()=>tx,isString:()=>ja,isValidURL:()=>nR,mapEvent:()=>K4r,padLeft:()=>q4r,parseEvent:()=>H4r,sleep:()=>j4r}),m(),m();var Lvr=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,ime=Math.ceil,Wh=Math.floor,Lf="[BigNumber Error] ",rdt=Lf+"Number primitive has more than 15 significant digits: ",vp=1e14,wn=14,ome=9007199254740991,sme=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],$w=1e7,Tc=1e9;function ndt(e){var t,r,n,i,o,s=v.prototype={constructor:v,toString:null,valueOf:null},a=new v(1),c=20,u=4,l=-7,d=21,h=-1e7,f=1e7,p=!1,g=1,y=0,m={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},b="0123456789abcdefghijklmnopqrstuvwxyz",w=!0;function v(e,t){var i,o,s,a,l,d,p,g,y=this;if(!(y instanceof v))return new v(e,t);if(null==t){if(e&&!0===e._isBigNumber)return y.s=e.s,void(!e.c||e.e>f?y.c=y.e=null:e.e<h?y.c=[y.e=0]:(y.e=e.e,y.c=e.c.slice()));if((d="number"==typeof e)&&0*e==0){if(y.s=1/e<0?(e=-e,-1):1,e===~~e){for(a=0,l=e;l>=10;l/=10,a++);return void(a>f?y.c=y.e=null:(y.e=a,y.c=[e]))}g=String(e)}else{if(!Lvr.test(g=String(e)))return n(y,g,d);y.s=45==g.charCodeAt(0)?(g=g.slice(1),-1):1}(a=g.indexOf("."))>-1&&(g=g.replace(".","")),(l=g.search(/e/i))>0?(a<0&&(a=l),a+=+g.slice(l+1),g=g.substring(0,l)):a<0&&(a=g.length)}else{if(gs(t,2,b.length,"Base"),10==t&&w)return C(y=new v(e),c+y.e+1,u);if(g=String(e),d="number"==typeof e){if(0*e!=0)return n(y,g,d,t);if(y.s=1/e<0?(g=g.slice(1),-1):1,v.DEBUG&&g.replace(/^0\.0*|\./,"").length>15)throw Error(rdt+e)}else y.s=45===g.charCodeAt(0)?(g=g.slice(1),-1):1;for(i=b.slice(0,t),a=l=0,p=g.length;l<p;l++)if(i.indexOf(o=g.charAt(l))<0){if("."==o){if(l>a){a=p;continue}}else if(!s&&(g==g.toUpperCase()&&(g=g.toLowerCase())||g==g.toLowerCase()&&(g=g.toUpperCase()))){s=!0,l=-1,a=0;continue}return n(y,String(e),d,t)}d=!1,(a=(g=r(g,t,10,y.s)).indexOf("."))>-1?g=g.replace(".",""):a=g.length}for(l=0;48===g.charCodeAt(l);l++);for(p=g.length;48===g.charCodeAt(--p););if(g=g.slice(l,++p)){if(p-=l,d&&v.DEBUG&&p>15&&(e>ome||e!==Wh(e)))throw Error(rdt+y.s*e);if((a=a-l-1)>f)y.c=y.e=null;else if(a<h)y.c=[y.e=0];else{if(y.e=a,y.c=[],l=(a+1)%wn,a<0&&(l+=wn),l<p){for(l&&y.c.push(+g.slice(0,l)),p-=wn;l<p;)y.c.push(+g.slice(l,l+=wn));l=wn-(g=g.slice(l)).length}else l-=p;for(;l--;g+="0");y.c.push(+g)}}else y.c=[y.e=0]}function A(e,t,r,n){var i,o,s,a,c;if(null==r?r=u:gs(r,0,8),!e.c)return e.toString();if(i=e.c[0],s=e.e,null==t)c=Fh(e.c),c=1==n||2==n&&(s<=l||s>=d)?NG(c,s):Cb(c,s,"0");else if(o=(e=C(new v(e),t,r)).e,a=(c=Fh(e.c)).length,1==n||2==n&&(t<=o||o<=l)){for(;a<t;c+="0",a++);c=NG(c,o)}else if(t-=s,c=Cb(c,o,"0"),o+1>a){if(--t>0)for(c+=".";t--;c+="0");}else if((t+=o-a)>0)for(o+1==a&&(c+=".");t--;c+="0");return e.s<0&&i?"-"+c:c}function E(e,t){for(var r,n,i=1,o=new v(e[0]);i<e.length;i++)(!(n=new v(e[i])).s||(r=z2(o,n))===t||0===r&&o.s===t)&&(o=n);return o}function T(e,t,r){for(var n=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,n++);return(r=n+r*wn-1)>f?e.c=e.e=null:r<h?e.c=[e.e=0]:(e.e=r,e.c=t),e}function C(e,t,r,n){var i,o,s,a,c,u,l,d=e.c,p=sme;if(d){e:{for(i=1,a=d[0];a>=10;a/=10,i++);if((o=t-i)<0)o+=wn,s=t,c=d[u=0],l=Wh(c/p[i-s-1]%10);else if((u=ime((o+1)/wn))>=d.length){if(!n)break e;for(;d.length<=u;d.push(0));c=l=0,i=1,s=(o%=wn)-wn+1}else{for(c=a=d[u],i=1;a>=10;a/=10,i++);l=(s=(o%=wn)-wn+i)<0?0:Wh(c/p[i-s-1]%10)}if(n=n||t<0||null!=d[u+1]||(s<0?c:c%p[i-s-1]),n=r<4?(l||n)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||n||6==r&&(o>0?s>0?c/p[i-s]:0:d[u-1])%10&1||r==(e.s<0?8:7)),t<1||!d[0])return d.length=0,n?(t-=e.e+1,d[0]=p[(wn-t%wn)%wn],e.e=-t||0):d[0]=e.e=0,e;if(0==o?(d.length=u,a=1,u--):(d.length=u+1,a=p[wn-o],d[u]=s>0?Wh(c/p[i-s]%p[s])*a:0),n)for(;;){if(0==u){for(o=1,s=d[0];s>=10;s/=10,o++);for(s=d[0]+=a,a=1;s>=10;s/=10,a++);o!=a&&(e.e++,d[0]==vp&&(d[0]=1));break}if(d[u]+=a,d[u]!=vp)break;d[u--]=0,a=1}for(o=d.length;0===d[--o];d.pop());}e.e>f?e.c=e.e=null:e.e<h&&(e.c=[e.e=0])}return e}function S(e){var t,r=e.e;return null===r?e.toString():(t=Fh(e.c),t=r<=l||r>=d?NG(t,r):Cb(t,r,"0"),e.s<0?"-"+t:t)}return v.clone=ndt,v.ROUND_UP=0,v.ROUND_DOWN=1,v.ROUND_CEIL=2,v.ROUND_FLOOR=3,v.ROUND_HALF_UP=4,v.ROUND_HALF_DOWN=5,v.ROUND_HALF_EVEN=6,v.ROUND_HALF_CEIL=7,v.ROUND_HALF_FLOOR=8,v.EUCLID=9,v.config=v.set=function(e){var t,r;if(null!=e){if("object"!=typeof e)throw Error(Lf+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(gs(r=e[t],0,Tc,t),c=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(gs(r=e[t],0,8,t),u=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(gs(r[0],-Tc,0,t),gs(r[1],0,Tc,t),l=r[0],d=r[1]):(gs(r,-Tc,Tc,t),l=-(d=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)gs(r[0],-Tc,-1,t),gs(r[1],1,Tc,t),h=r[0],f=r[1];else{if(gs(r,-Tc,Tc,t),!r)throw Error(Lf+t+" cannot be zero: "+r);h=-(f=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if((r=e[t])!==!!r)throw Error(Lf+t+" not true or false: "+r);if(r){if(!(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes)))throw p=!r,Error(Lf+"crypto unavailable");p=r}else p=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(gs(r=e[t],0,9,t),g=r),e.hasOwnProperty(t="POW_PRECISION")&&(gs(r=e[t],0,Tc,t),y=r),e.hasOwnProperty(t="FORMAT")){if("object"!=typeof(r=e[t]))throw Error(Lf+t+" not an object: "+r);m=r}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(Lf+t+" invalid: "+r);w="0123456789"==r.slice(0,10),b=r}}return{DECIMAL_PLACES:c,ROUNDING_MODE:u,EXPONENTIAL_AT:[l,d],RANGE:[h,f],CRYPTO:p,MODULO_MODE:g,POW_PRECISION:y,FORMAT:m,ALPHABET:b}},v.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!v.DEBUG)return!0;var t,r,n=e.c,i=e.e,o=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===o||-1===o)&&i>=-Tc&&i<=Tc&&i===Wh(i)){if(0===n[0]){if(0===i&&1===n.length)return!0;break e}if((t=(i+1)%wn)<1&&(t+=wn),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=vp||r!==Wh(r))break e;if(0!==r)return!0}}}else if(null===n&&null===i&&(null===o||1===o||-1===o))return!0;throw Error(Lf+"Invalid BigNumber: "+e)},v.maximum=v.max=function(){return E(arguments,-1)},v.minimum=v.min=function(){return E(arguments,1)},v.random=(i=9007199254740992,o=Math.random()*i&2097151?function(){return Wh(Math.random()*i)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,n,i,s,u=0,l=[],d=new v(a);if(null==e?e=c:gs(e,0,Tc),i=ime(e/wn),p)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(i*=2));u<i;)(s=131072*t[u]+(t[u+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[u]=r[0],t[u+1]=r[1]):(l.push(s%1e14),u+=2);u=i/2}else{if(!crypto.randomBytes)throw p=!1,Error(Lf+"crypto unavailable");for(t=crypto.randomBytes(i*=7);u<i;)(s=281474976710656*(31&t[u])+1099511627776*t[u+1]+4294967296*t[u+2]+16777216*t[u+3]+(t[u+4]<<16)+(t[u+5]<<8)+t[u+6])>=9e15?crypto.randomBytes(7).copy(t,u):(l.push(s%1e14),u+=7);u=i/7}if(!p)for(;u<i;)(s=o())<9e15&&(l[u++]=s%1e14);for(i=l[--u],e%=wn,i&&e&&(s=sme[wn-e],l[u]=Wh(i/s)*s);0===l[u];l.pop(),u--);if(u<0)l=[n=0];else{for(n=-1;0===l[0];l.splice(0,1),n-=wn);for(u=1,s=l[0];s>=10;s/=10,u++);u<wn&&(n-=wn-u)}return d.e=n,d.c=l,d}),v.sum=function(){for(var e=1,t=arguments,r=new v(t[0]);e<t.length;)r=r.plus(t[e++]);return r},r=function(){var e="0123456789";function r(e,t,r,n){for(var i,o,s=[0],a=0,c=e.length;a<c;){for(o=s.length;o--;s[o]*=t);for(s[0]+=n.indexOf(e.charAt(a++)),i=0;i<s.length;i++)s[i]>r-1&&(null==s[i+1]&&(s[i+1]=0),s[i+1]+=s[i]/r|0,s[i]%=r)}return s.reverse()}return function(n,i,o,s,a){var l,d,h,f,p,g,m,w,A=n.indexOf("."),E=c,T=u;for(A>=0&&(f=y,y=0,n=n.replace(".",""),g=(w=new v(i)).pow(n.length-A),y=f,w.c=r(Cb(Fh(g.c),g.e,"0"),10,o,e),w.e=w.c.length),h=f=(m=r(n,i,o,a?(l=b,e):(l=e,b))).length;0==m[--f];m.pop());if(!m[0])return l.charAt(0);if(A<0?--h:(g.c=m,g.e=h,g.s=s,m=(g=t(g,w,E,T,o)).c,p=g.r,h=g.e),A=m[d=h+E+1],f=o/2,p=p||d<0||null!=m[d+1],p=T<4?(null!=A||p)&&(0==T||T==(g.s<0?3:2)):A>f||A==f&&(4==T||p||6==T&&1&m[d-1]||T==(g.s<0?8:7)),d<1||!m[0])n=p?Cb(l.charAt(1),-E,l.charAt(0)):l.charAt(0);else{if(m.length=d,p)for(--o;++m[--d]>o;)m[d]=0,d||(++h,m=[1].concat(m));for(f=m.length;!m[--f];);for(A=0,n="";A<=f;n+=l.charAt(m[A++]));n=Cb(n,h,l.charAt(0))}return n}}(),t=function(){function e(e,t,r){var n,i,o,s,a=0,c=e.length,u=t%$w,l=t/$w|0;for(e=e.slice();c--;)a=((i=u*(o=e[c]%$w)+(n=l*o+(s=e[c]/$w|0)*u)%$w*$w+a)/r|0)+(n/$w|0)+l*s,e[c]=i%r;return a&&(e=[a].concat(e)),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=e[r]<t[r]?1:0,e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,i,o,s,a){var c,u,l,d,h,f,p,g,y,m,b,w,A,E,T,S,I,O=n.s==i.s?1:-1,M=n.c,P=i.c;if(!(M&&M[0]&&P&&P[0]))return new v(n.s&&i.s&&(M?!P||M[0]!=P[0]:P)?M&&0==M[0]||!P?0*O:O/0:NaN);for(y=(g=new v(O)).c=[],O=o+(u=n.e-i.e)+1,a||(a=vp,u=zh(n.e/wn)-zh(i.e/wn),O=O/wn|0),l=0;P[l]==(M[l]||0);l++);if(P[l]>(M[l]||0)&&u--,O<0)y.push(1),d=!0;else{for(E=M.length,S=P.length,l=0,O+=2,(h=Wh(a/(P[0]+1)))>1&&(P=e(P,h,a),M=e(M,h,a),S=P.length,E=M.length),A=S,b=(m=M.slice(0,S)).length;b<S;m[b++]=0);I=P.slice(),I=[0].concat(I),T=P[0],P[1]>=a/2&&T++;do{if(h=0,(c=t(P,m,S,b))<0){if(w=m[0],S!=b&&(w=w*a+(m[1]||0)),(h=Wh(w/T))>1)for(h>=a&&(h=a-1),p=(f=e(P,h,a)).length,b=m.length;1==t(f,m,p,b);)h--,r(f,S<p?I:P,p,a),p=f.length,c=1;else 0==h&&(c=h=1),p=(f=P.slice()).length;if(p<b&&(f=[0].concat(f)),r(m,f,b,a),b=m.length,-1==c)for(;t(P,m,S,b)<1;)h++,r(m,S<b?I:P,b,a),b=m.length}else 0===c&&(h++,m=[0]);y[l++]=h,m[0]?m[b++]=M[A]||0:(m=[M[A]],b=1)}while((A++<E||null!=m[0])&&O--);d=null!=m[0],y[0]||y.splice(0,1)}if(a==vp){for(l=1,O=y[0];O>=10;O/=10,l++);C(g,o+(g.e=l+u*wn-1)+1,s,d)}else g.e=u,g.r=+d;return g}}(),n=function(){var e=/^(-?)0([xbo])(?=\w[\w.]*$)/i,t=/^([^.]+)\.$/,r=/^\.([^.]+)$/,n=/^-?(Infinity|NaN)$/,i=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(o,s,a,c){var u,l=a?s:s.replace(i,"");if(n.test(l))o.s=isNaN(l)?null:l<0?-1:1;else{if(!a&&(l=l.replace(e,(function(e,t,r){return u="x"==(r=r.toLowerCase())?16:"b"==r?2:8,c&&c!=u?e:t})),c&&(u=c,l=l.replace(t,"$1").replace(r,"0.$1")),s!=l))return new v(l,u);if(v.DEBUG)throw Error(Lf+"Not a"+(c?" base "+c:"")+" number: "+s);o.s=null}o.c=o.e=null}}(),s.absoluteValue=s.abs=function(){var e=new v(this);return e.s<0&&(e.s=1),e},s.comparedTo=function(e,t){return z2(this,new v(e,t))},s.decimalPlaces=s.dp=function(e,t){var r,n,i,o=this;if(null!=e)return gs(e,0,Tc),null==t?t=u:gs(t,0,8),C(new v(o),e+o.e+1,t);if(!(r=o.c))return null;if(n=((i=r.length-1)-zh(this.e/wn))*wn,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},s.dividedBy=s.div=function(e,r){return t(this,new v(e,r),c,u)},s.dividedToIntegerBy=s.idiv=function(e,r){return t(this,new v(e,r),0,1)},s.exponentiatedBy=s.pow=function(e,t){var r,n,i,o,s,c,l,d,h=this;if((e=new v(e)).c&&!e.isInteger())throw Error(Lf+"Exponent not an integer: "+S(e));if(null!=t&&(t=new v(t)),s=e.e>14,!h.c||!h.c[0]||1==h.c[0]&&!h.e&&1==h.c.length||!e.c||!e.c[0])return d=new v(Math.pow(+S(h),s?e.s*(2-RG(e)):+S(e))),t?d.mod(t):d;if(c=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new v(NaN);(n=!c&&h.isInteger()&&t.isInteger())&&(h=h.mod(t))}else{if(e.e>9&&(h.e>0||h.e<-1||(0==h.e?h.c[0]>1||s&&h.c[1]>=24e7:h.c[0]<8e13||s&&h.c[0]<=9999975e7)))return o=h.s<0&&RG(e)?-0:0,h.e>-1&&(o=1/o),new v(c?1/o:o);y&&(o=ime(y/wn+2))}for(s?(r=new v(.5),c&&(e.s=1),l=RG(e)):l=(i=Math.abs(+S(e)))%2,d=new v(a);;){if(l){if(!(d=d.times(h)).c)break;o?d.c.length>o&&(d.c.length=o):n&&(d=d.mod(t))}if(i){if(0===(i=Wh(i/2)))break;l=i%2}else if(C(e=e.times(r),e.e+1,1),e.e>14)l=RG(e);else{if(0===(i=+S(e)))break;l=i%2}h=h.times(h),o?h.c&&h.c.length>o&&(h.c.length=o):n&&(h=h.mod(t))}return n?d:(c&&(d=a.div(d)),t?d.mod(t):o?C(d,y,u,undefined):d)},s.integerValue=function(e){var t=new v(this);return null==e?e=u:gs(e,0,8),C(t,t.e+1,e)},s.isEqualTo=s.eq=function(e,t){return 0===z2(this,new v(e,t))},s.isFinite=function(){return!!this.c},s.isGreaterThan=s.gt=function(e,t){return z2(this,new v(e,t))>0},s.isGreaterThanOrEqualTo=s.gte=function(e,t){return 1===(t=z2(this,new v(e,t)))||0===t},s.isInteger=function(){return!!this.c&&zh(this.e/wn)>this.c.length-2},s.isLessThan=s.lt=function(e,t){return z2(this,new v(e,t))<0},s.isLessThanOrEqualTo=s.lte=function(e,t){return-1===(t=z2(this,new v(e,t)))||0===t},s.isNaN=function(){return!this.s},s.isNegative=function(){return this.s<0},s.isPositive=function(){return this.s>0},s.isZero=function(){return!!this.c&&0==this.c[0]},s.minus=function(e,t){var r,n,i,o,s=this,a=s.s;if(t=(e=new v(e,t)).s,!a||!t)return new v(NaN);if(a!=t)return e.s=-t,s.plus(e);var c=s.e/wn,l=e.e/wn,d=s.c,h=e.c;if(!c||!l){if(!d||!h)return d?(e.s=-t,e):new v(h?s:NaN);if(!d[0]||!h[0])return h[0]?(e.s=-t,e):new v(d[0]?s:3==u?-0:0)}if(c=zh(c),l=zh(l),d=d.slice(),a=c-l){for((o=a<0)?(a=-a,i=d):(l=c,i=h),i.reverse(),t=a;t--;i.push(0));i.reverse()}else for(n=(o=(a=d.length)<(t=h.length))?a:t,a=t=0;t<n;t++)if(d[t]!=h[t]){o=d[t]<h[t];break}if(o&&(i=d,d=h,h=i,e.s=-e.s),(t=(n=h.length)-(r=d.length))>0)for(;t--;d[r++]=0);for(t=vp-1;n>a;){if(d[--n]<h[n]){for(r=n;r&&!d[--r];d[r]=t);--d[r],d[n]+=vp}d[n]-=h[n]}for(;0==d[0];d.splice(0,1),--l);return d[0]?T(e,d,l):(e.s=3==u?-1:1,e.c=[e.e=0],e)},s.modulo=s.mod=function(e,r){var n,i,o=this;return e=new v(e,r),!o.c||!e.s||e.c&&!e.c[0]?new v(NaN):!e.c||o.c&&!o.c[0]?new v(o):(9==g?(i=e.s,e.s=1,n=t(o,e,0,3),e.s=i,n.s*=i):n=t(o,e,0,g),!(e=o.minus(n.times(e))).c[0]&&1==g&&(e.s=o.s),e)},s.multipliedBy=s.times=function(e,t){var r,n,i,o,s,a,c,u,l,d,h,f,p,g,y,m=this,b=m.c,w=(e=new v(e,t)).c;if(!(b&&w&&b[0]&&w[0]))return!m.s||!e.s||b&&!b[0]&&!w||w&&!w[0]&&!b?e.c=e.e=e.s=null:(e.s*=m.s,b&&w?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=zh(m.e/wn)+zh(e.e/wn),e.s*=m.s,(c=b.length)<(d=w.length)&&(p=b,b=w,w=p,i=c,c=d,d=i),i=c+d,p=[];i--;p.push(0));for(g=vp,y=$w,i=d;--i>=0;){for(r=0,h=w[i]%y,f=w[i]/y|0,o=i+(s=c);o>i;)r=((u=h*(u=b[--s]%y)+(a=f*u+(l=b[s]/y|0)*h)%y*y+p[o]+r)/g|0)+(a/y|0)+f*l,p[o--]=u%g;p[o]=r}return r?++n:p.splice(0,1),T(e,p,n)},s.negated=function(){var e=new v(this);return e.s=-e.s||null,e},s.plus=function(e,t){var r,n=this,i=n.s;if(t=(e=new v(e,t)).s,!i||!t)return new v(NaN);if(i!=t)return e.s=-t,n.minus(e);var o=n.e/wn,s=e.e/wn,a=n.c,c=e.c;if(!o||!s){if(!a||!c)return new v(i/0);if(!a[0]||!c[0])return c[0]?e:new v(a[0]?n:0*i)}if(o=zh(o),s=zh(s),a=a.slice(),i=o-s){for(i>0?(s=o,r=c):(i=-i,r=a),r.reverse();i--;r.push(0));r.reverse()}for((i=a.length)-(t=c.length)<0&&(r=c,c=a,a=r,t=i),i=0;t;)i=(a[--t]=a[t]+c[t]+i)/vp|0,a[t]=vp===a[t]?0:a[t]%vp;return i&&(a=[i].concat(a),++s),T(e,a,s)},s.precision=s.sd=function(e,t){var r,n,i,o=this;if(null!=e&&e!==!!e)return gs(e,1,Tc),null==t?t=u:gs(t,0,8),C(new v(o),e,t);if(!(r=o.c))return null;if(n=(i=r.length-1)*wn+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&o.e+1>n&&(n=o.e+1),n},s.shiftedBy=function(e){return gs(e,-ome,ome),this.times("1e"+e)},s.squareRoot=s.sqrt=function(){var e,r,n,i,o,s=this,a=s.c,l=s.s,d=s.e,h=c+4,f=new v("0.5");if(1!==l||!a||!a[0])return new v(!l||l<0&&(!a||a[0])?NaN:a?s:1/0);if(0==(l=Math.sqrt(+S(s)))||l==1/0?(((r=Fh(a)).length+d)%2==0&&(r+="0"),l=Math.sqrt(+r),d=zh((d+1)/2)-(d<0||d%2),l==1/0?r="5e"+d:r=(r=l.toExponential()).slice(0,r.indexOf("e")+1)+d,n=new v(r)):n=new v(l+""),n.c[0])for((l=(d=n.e)+h)<3&&(l=0);;)if(o=n,n=f.times(o.plus(t(s,o,h,1))),Fh(o.c).slice(0,l)===(r=Fh(n.c)).slice(0,l)){if(n.e<d&&--l,"9999"!=(r=r.slice(l-3,l+1))&&(i||"4999"!=r)){(!+r||!+r.slice(1)&&"5"==r.charAt(0))&&(C(n,n.e+c+2,1),e=!n.times(n).eq(s));break}if(!i&&(C(o,o.e+c+2,0),o.times(o).eq(s))){n=o;break}h+=4,l+=4,i=1}return C(n,n.e+c+1,u,e)},s.toExponential=function(e,t){return null!=e&&(gs(e,0,Tc),e++),A(this,e,t,1)},s.toFixed=function(e,t){return null!=e&&(gs(e,0,Tc),e=e+this.e+1),A(this,e,t)},s.toFormat=function(e,t,r){var n,i=this;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=m;else if("object"!=typeof r)throw Error(Lf+"Argument not an object: "+r);if(n=i.toFixed(e,t),i.c){var o,s=n.split("."),a=+r.groupSize,c=+r.secondaryGroupSize,u=r.groupSeparator||"",l=s[0],d=s[1],h=i.s<0,f=h?l.slice(1):l,p=f.length;if(c&&(o=a,a=c,c=o,p-=o),a>0&&p>0){for(o=p%a||a,l=f.substr(0,o);o<p;o+=a)l+=u+f.substr(o,a);c>0&&(l+=u+f.slice(o)),h&&(l="-"+l)}n=d?l+(r.decimalSeparator||"")+((c=+r.fractionGroupSize)?d.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):l}return(r.prefix||"")+n+(r.suffix||"")},s.toFraction=function(e){var r,n,i,o,s,c,l,d,h,p,g,y,m=this,b=m.c;if(null!=e&&(!(l=new v(e)).isInteger()&&(l.c||1!==l.s)||l.lt(a)))throw Error(Lf+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+S(l));if(!b)return new v(m);for(r=new v(a),h=n=new v(a),i=d=new v(a),y=Fh(b),s=r.e=y.length-m.e-1,r.c[0]=sme[(c=s%wn)<0?wn+c:c],e=!e||l.comparedTo(r)>0?s>0?r:h:l,c=f,f=1/0,l=new v(y),d.c[0]=0;p=t(l,r,0,1),1!=(o=n.plus(p.times(i))).comparedTo(e);)n=i,i=o,h=d.plus(p.times(o=h)),d=o,r=l.minus(p.times(o=r)),l=o;return o=t(e.minus(n),i,0,1),d=d.plus(o.times(h)),n=n.plus(o.times(i)),d.s=h.s=m.s,g=t(h,i,s*=2,u).minus(m).abs().comparedTo(t(d,n,s,u).minus(m).abs())<1?[h,i]:[d,n],f=c,g},s.toNumber=function(){return+S(this)},s.toPrecision=function(e,t){return null!=e&&gs(e,1,Tc),A(this,e,t,2)},s.toString=function(e){var t,n=this,i=n.s,o=n.e;return null===o?i?(t="Infinity",i<0&&(t="-"+t)):t="NaN":(null==e?t=o<=l||o>=d?NG(Fh(n.c),o):Cb(Fh(n.c),o,"0"):10===e&&w?t=Cb(Fh((n=C(new v(n),c+o+1,u)).c),n.e,"0"):(gs(e,2,b.length,"Base"),t=r(Cb(Fh(n.c),o,"0"),10,e,i,!0)),i<0&&n.c[0]&&(t="-"+t)),t},s.valueOf=s.toJSON=function(){return S(this)},s._isBigNumber=!0,s[Symbol.toStringTag]="BigNumber",s[Symbol.for("nodejs.util.inspect.custom")]=s.valueOf,null!=e&&v.set(e),v}function zh(e){var t=0|e;return e>0||e===t?t:t-1}function Fh(e){for(var t,r,n=1,i=e.length,o=e[0]+"";n<i;){for(t=e[n++]+"",r=wn-t.length;r--;t="0"+t);o+=t}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function z2(e,t){var r,n,i=e.c,o=t.c,s=e.s,a=t.s,c=e.e,u=t.e;if(!s||!a)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-a:s;if(s!=a)return s;if(r=s<0,n=c==u,!i||!o)return n?0:!i^r?1:-1;if(!n)return c>u^r?1:-1;for(a=(c=i.length)<(u=o.length)?c:u,s=0;s<a;s++)if(i[s]!=o[s])return i[s]>o[s]^r?1:-1;return c==u?0:c>u^r?1:-1}function gs(e,t,r,n){if(e<t||e>r||e!==Wh(e))throw Error(Lf+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function RG(e){var t=e.c.length-1;return zh(e.e/wn)==t&&e.c[t]%2!=0}function NG(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function Cb(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(++t>(n=e.length)){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}var K2=ndt(),Z0t=hi(Q0t(),1);function nR(e){return"string"==typeof e&&Z0t.default.isURL(e.toString(),{protocols:["http","https"],require_tld:!1})}function tx(e){return e===Object(e)&&"[object Array]"!==Object.prototype.toString.call(e)}function H2(e){return Array.isArray(e)}function F4r(e){try{return!!JSON.parse(e)}catch{return!1}}function Bve(e){return"boolean"==typeof e}function W4r(e){return!!e&&(e instanceof K2||e.constructor&&"BigNumber"===e.constructor.name)}function ja(e){return"string"==typeof e||!!e&&e.constructor&&"String"===e.constructor.name}function z4r(e){return"function"==typeof e}function Ib(e){return"string"==typeof e&&!isNaN(parseInt(e,16))&&/^(0x|)[a-fA-F0-9]+$/.test(e)}function Ay(e){return null!==e&&Number.isInteger(Number(e))}function $0t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Mve(e,...t){return t.length&&!t.map((t=>$0t(e,t))).includes(!1)}function K4r(e){let t={block:e.block_number,timestamp:e.block_timestamp,contract:e.contract_address,name:e.event_name,transaction:e.transaction_id,result:e.result,resourceNode:e.resource_Node||(e._unconfirmed?"fullNode":"solidityNode")};return e._unconfirmed&&(t.unconfirmed=e._unconfirmed),e._fingerprint&&(t.fingerprint=e._fingerprint),t}function H4r(e,{inputs:t}){if(!e.result)return e;if(tx(e.result))for(let r=0;r<t.length;r++){let n=t[r];"address"==n.type&&n.name in e.result&&(e.result[n.name]=tu+e.result[n.name].substr(2).toLowerCase())}else H2(e.result)&&(e.result=e.result.reduce(((e,r,n)=>{let{name:i,type:o}=t[n];return"address"==o&&(r=tu+r.substr(2).toLowerCase()),e[i]=r,e}),{}));return e}function q4r(e,t,r){let n=e.toString();for(;n.length<r;)n=t+n;return n}function ru(e){return null!==e&&typeof e<"u"}async function j4r(e=1e3){return new Promise((t=>setTimeout(t,e)))}var F1e={};Vr(F1e,{AbiCoder:()=>Kf,FormatTypes:()=>dOr,Interface:()=>JV,Mnemonic:()=>jh,Signature:()=>Rs,SigningKey:()=>Ns,Wordlist:()=>vx,arrayify:()=>L1e,concat:()=>xn,ethersHDNodeWallet:()=>Fb,id:()=>Ja,isValidMnemonic:()=>hOr,joinSignature:()=>U1e,keccak256:()=>Fr,recoverAddress:()=>zf,sha256:()=>ls,splitSignature:()=>fOr,toUtf8Bytes:()=>us,toUtf8String:()=>Z8,wordlists:()=>qV}),m(),m(),m();var QG="6.13.5";function G4r(e,t,r){let n=t.split("|").map((e=>e.trim()));for(let r=0;r<n.length;r++)switch(t){case"any":return;case"bigint":case"boolean":case"number":case"string":if(typeof e===t)return}let i=new Error(`invalid value for type ${t}`);throw i.code="INVALID_ARGUMENT",i.argument=`value.${r}`,i.value=e,i}async function rx(e){let t=Object.keys(e);return(await Promise.all(t.map((t=>Promise.resolve(e[t]))))).reduce(((e,r,n)=>(e[t[n]]=r,e)),{})}function Ur(e,t,r){for(let n in t){let i=t[n],o=r?r[n]:null;o&&G4r(i,o,n),Object.defineProperty(e,n,{enumerable:!0,value:i,writable:!1})}}function q8(e){if(null==e)return"null";if(Array.isArray(e))return"[ "+e.map(q8).join(", ")+" ]";if(e instanceof Uint8Array){let t="0123456789abcdef",r="0x";for(let n=0;n<e.length;n++)r+=t[e[n]>>4],r+=t[15&e[n]];return r}if("object"==typeof e&&"function"==typeof e.toJSON)return q8(e.toJSON());switch(typeof e){case"boolean":case"symbol":case"number":return e.toString();case"bigint":return BigInt(e).toString();case"string":return JSON.stringify(e);case"object":{let t=Object.keys(e);return t.sort(),"{ "+t.map((t=>`${q8(t)}: ${q8(e[t])}`)).join(", ")+" }"}}return"[ COULD NOT SERIALIZE ]"}function j8(e,t){return e&&e.code===t}function G8(e,t,r){let n,i=e;{let n=[];if(r){if("message"in r||"code"in r||"name"in r)throw new Error(`value will overwrite populated values: ${q8(r)}`);for(let e in r){if("shortMessage"===e)continue;let t=r[e];n.push(e+"="+q8(t))}}n.push(`code=${t}`),n.push(`version=${QG}`),n.length&&(e+=" ("+n.join(", ")+")")}switch(t){case"INVALID_ARGUMENT":n=new TypeError(e);break;case"NUMERIC_FAULT":case"BUFFER_OVERRUN":n=new RangeError(e);break;default:n=new Error(e)}return Ur(n,{code:t}),r&&Object.assign(n,r),null==n.shortMessage&&Ur(n,{shortMessage:i}),n}function Ar(e,t,r,n){if(!e)throw G8(t,r,n)}function Te(e,t,r,n){Ar(e,t,"INVALID_ARGUMENT",{argument:r,value:n})}function V8(e,t,r){null==r&&(r=""),r&&(r=": "+r),Ar(e>=t,"missing argument"+r,"MISSING_ARGUMENT",{count:e,expectedCount:t}),Ar(e<=t,"too many arguments"+r,"UNEXPECTED_ARGUMENT",{count:e,expectedCount:t})}m(),m(),m(),m(),m(),m(),m();var V4r=["NFD","NFC","NFKD","NFKC"].reduce(((e,t)=>{try{if("test"!=="test".normalize(t))throw new Error("bad");if("NFD"===t&&"é"!=="é".normalize("NFD"))throw new Error("broken");e.push(t)}catch{}return e}),[]);function J8(e){Ar(V4r.indexOf(e)>=0,"platform missing String.prototype.normalize","UNSUPPORTED_OPERATION",{operation:"String.prototype.normalize",info:{form:e}})}function Qu(e,t,r){if(null==r&&(r=""),e!==t){let e=r,t="new";r&&(e+=".",t+=" "+r),Ar(!1,`private constructor; use ${e}from* methods`,"UNSUPPORTED_OPERATION",{operation:t})}}function tpt(e,t,r){if(e instanceof Uint8Array)return r?new Uint8Array(e):e;if("string"==typeof e&&e.match(/^0x(?:[0-9a-f][0-9a-f])*$/i)){let t=new Uint8Array((e.length-2)/2),r=2;for(let n=0;n<t.length;n++)t[n]=parseInt(e.substring(r,r+2),16),r+=2;return t}Te(!1,"invalid BytesLike value",t||"value",e)}function zt(e,t){return tpt(e,t,!1)}function as(e,t){return tpt(e,t,!0)}function cs(e,t){return!("string"!=typeof e||!e.match(/^0x[0-9A-Fa-f]*$/)||"number"==typeof t&&e.length!==2+2*t||!0===t&&e.length%2!=0)}function Ey(e){return cs(e,!0)||e instanceof Uint8Array}var ept="0123456789abcdef";function Ct(e){let t=zt(e),r="0x";for(let e=0;e<t.length;e++){let n=t[e];r+=ept[(240&n)>>4]+ept[15&n]}return r}function xn(e){return"0x"+e.map((e=>Ct(e).substring(2))).join("")}function Ob(e){return cs(e,!0)?(e.length-2)/2:zt(e).length}function Rd(e,t,r){let n=zt(e);return null!=r&&r>n.length&&Ar(!1,"cannot slice beyond data bounds","BUFFER_OVERRUN",{buffer:n,length:n.length,offset:r}),Ct(n.slice(t??0,r??n.length))}function J4r(e,t,r){let n=zt(e);Ar(t>=n.length,"padding exceeds data length","BUFFER_OVERRUN",{buffer:new Uint8Array(n),length:t,offset:t+1});let i=new Uint8Array(t);return i.fill(0),r?i.set(n,t-n.length):i.set(n,0),Ct(i)}function Ul(e,t){return J4r(e,t,!0)}m();var ZG=BigInt(0),wp=BigInt(1),X8=9007199254740991;function $G(e,t){let r=Y8(e,"value"),n=BigInt(ko(t,"width"));if(Ar(r>>n===ZG,"overflow","NUMERIC_FAULT",{operation:"fromTwos",fault:"overflow",value:e}),r>>n-wp){return-((~r&(wp<<n)-wp)+wp)}return r}function nx(e,t){let r=Mn(e,"value"),n=BigInt(ko(t,"width")),i=wp<<n-wp;if(r<ZG){return r=-r,Ar(r<=i,"too low","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:e}),(~r&(wp<<n)-wp)+wp}return Ar(r<i,"too high","NUMERIC_FAULT",{operation:"toTwos",fault:"overflow",value:e}),r}function xp(e,t){let r=Y8(e,"value"),n=BigInt(ko(t,"bits"));return r&(wp<<n)-wp}function Mn(e,t){switch(typeof e){case"bigint":return e;case"number":return Te(Number.isInteger(e),"underflow",t||"value",e),Te(e>=-X8&&e<=X8,"overflow",t||"value",e),BigInt(e);case"string":try{if(""===e)throw new Error("empty string");return"-"===e[0]&&"-"!==e[1]?-BigInt(e.substring(1)):BigInt(e)}catch(r){Te(!1,`invalid BigNumberish string: ${r.message}`,t||"value",e)}}Te(!1,"invalid BigNumberish value",t||"value",e)}function Y8(e,t){let r=Mn(e,t);return Ar(r>=ZG,"unsigned value cannot be negative","NUMERIC_FAULT",{fault:"overflow",operation:"getUint",value:e}),r}var rpt="0123456789abcdef";function Pb(e){if(e instanceof Uint8Array){let t="0x0";for(let r of e)t+=rpt[r>>4],t+=rpt[15&r];return BigInt(t)}return Mn(e)}function ko(e,t){switch(typeof e){case"bigint":return Te(e>=-X8&&e<=X8,"overflow",t||"value",e),Number(e);case"number":return Te(Number.isInteger(e),"underflow",t||"value",e),Te(e>=-X8&&e<=X8,"overflow",t||"value",e),e;case"string":try{if(""===e)throw new Error("empty string");return ko(BigInt(e),t)}catch(r){Te(!1,`invalid numeric string: ${r.message}`,t||"value",e)}}Te(!1,"invalid numeric value",t||"value",e)}function eV(e){return ko(Pb(e))}function Ga(e,t){let r=Y8(e,"value").toString(16);if(null==t)r.length%2&&(r="0"+r);else{let n=ko(t,"width");for(Ar(2*n>=r.length,`value exceeds width (${n} bytes)`,"NUMERIC_FAULT",{operation:"toBeHex",fault:"overflow",value:e});r.length<2*n;)r="0"+r}return"0x"+r}function ta(e){let t=Y8(e,"value");if(t===ZG)return new Uint8Array([]);let r=t.toString(16);r.length%2&&(r="0"+r);let n=new Uint8Array(r.length/2);for(let e=0;e<n.length;e++){let t=2*e;n[e]=parseInt(r.substring(t,t+2),16)}return n}function Q8(e){let t=Ct(Ey(e)?e:ta(e)).substring(2);for(;t.startsWith("0");)t=t.substring(1);return""===t&&(t="0"),"0x"+t}var rV="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",tV=null;function X4r(e){if(null==tV){tV={};for(let e=0;e<rV.length;e++)tV[rV[e]]=BigInt(e)}let t=tV[e];return Te(null!=t,"invalid base58 value","letter",e),t}var Y4r=BigInt(0),_ve=BigInt(58);function nV(e){let t=zt(e),r=Pb(t),n="";for(;r;)n=rV[Number(r%_ve)]+n,r/=_ve;for(let e=0;e<t.length&&!t[e];e++)n=rV[0]+n;return n}function iV(e){let t=Y4r;for(let r=0;r<e.length;r++)t*=_ve,t+=X4r(e[r]);return t}function Q4r(e,t,r,n,i){Te(!1,`invalid codepoint at offset ${t}; ${e}`,"bytes",r)}function npt(e,t,r,n,i){if("BAD_PREFIX"===e||"UNEXPECTED_CONTINUE"===e){let e=0;for(let n=t+1;n<r.length&&r[n]>>6==2;n++)e++;return e}return"OVERRUN"===e?r.length-t-1:0}function Z4r(e,t,r,n,i){return"OVERLONG"===e?(Te("number"==typeof i,"invalid bad code point for replacement","badCodepoint",i),n.push(i),0):(n.push(65533),npt(e,t,r,n,i))}m();var Rve=Object.freeze({error:Q4r,ignore:npt,replace:Z4r});function $4r(e,t){null==t&&(t=Rve.error);let r=zt(e,"bytes"),n=[],i=0;for(;i<r.length;){let e=r[i++];if(!(e>>7)){n.push(e);continue}let o=null,s=null;if(192==(224&e))o=1,s=127;else if(224==(240&e))o=2,s=2047;else{if(240!=(248&e)){i+=t(128==(192&e)?"UNEXPECTED_CONTINUE":"BAD_PREFIX",i-1,r,n);continue}o=3,s=65535}if(i-1+o>=r.length){i+=t("OVERRUN",i-1,r,n);continue}let a=e&(1<<8-o-1)-1;for(let e=0;e<o;e++){let e=r[i];if(128!=(192&e)){i+=t("MISSING_CONTINUE",i,r,n),a=null;break}a=a<<6|63&e,i++}if(null!==a){if(a>1114111){i+=t("OUT_OF_RANGE",i-1-o,r,n,a);continue}if(a>=55296&&a<=57343){i+=t("UTF16_SURROGATE",i-1-o,r,n,a);continue}if(a<=s){i+=t("OVERLONG",i-1-o,r,n,a);continue}n.push(a)}}return n}function us(e,t){Te("string"==typeof e,"invalid string value","str",e),null!=t&&(J8(t),e=e.normalize(t));let r=[];for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n<128)r.push(n);else if(n<2048)r.push(n>>6|192),r.push(63&n|128);else if(55296==(64512&n)){t++;let i=e.charCodeAt(t);Te(t<e.length&&56320==(64512&i),"invalid surrogate pair","str",e);let o=65536+((1023&n)<<10)+(1023&i);r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(63&o|128)}else r.push(n>>12|224),r.push(n>>6&63|128),r.push(63&n|128)}return new Uint8Array(r)}function e8r(e){return e.map((e=>e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e))))).join("")}function Z8(e,t){return e8r($4r(e,t))}function t8r(e){let t=e.toString(16);for(;t.length<2;)t="0"+t;return"0x"+t}function ipt(e,t,r){let n=0;for(let i=0;i<r;i++)n=256*n+e[t+i];return n}function opt(e,t,r,n){let i=[];for(;r<t+1+n;){let o=spt(e,r);i.push(o.result),Ar((r+=o.consumed)<=t+1+n,"child data too short","BUFFER_OVERRUN",{buffer:e,length:n,offset:t})}return{consumed:1+n,result:i}}function spt(e,t){Ar(0!==e.length,"data too short","BUFFER_OVERRUN",{buffer:e,length:0,offset:1});let r=t=>{Ar(t<=e.length,"data short segment too short","BUFFER_OVERRUN",{buffer:e,length:e.length,offset:t})};if(e[t]>=248){let n=e[t]-247;r(t+1+n);let i=ipt(e,t+1,n);return r(t+1+n+i),opt(e,t,t+1+n,n+i)}if(e[t]>=192){let n=e[t]-192;return r(t+1+n),opt(e,t,t+1,n)}if(e[t]>=184){let n=e[t]-183;r(t+1+n);let i=ipt(e,t+1,n);return r(t+1+n+i),{consumed:1+n+i,result:Ct(e.slice(t+1+n,t+1+n+i))}}if(e[t]>=128){let n=e[t]-128;return r(t+1+n),{consumed:1+n,result:Ct(e.slice(t+1,t+1+n))}}return{consumed:1,result:t8r(e[t])}}function q2(e){let t=zt(e,"data"),r=spt(t,0);return Te(r.consumed===t.length,"unexpected junk after rlp payload","data",e),r.result}function apt(e){let t=[];for(;e;)t.unshift(255&e),e>>=8;return t}function upt(e){if(Array.isArray(e)){let t=[];if(e.forEach((function(e){t=t.concat(upt(e))})),t.length<=55)return t.unshift(192+t.length),t;let r=apt(t.length);return r.unshift(247+r.length),r.concat(t)}let t=Array.prototype.slice.call(zt(e,"object"));if(1===t.length&&t[0]<=127)return t;if(t.length<=55)return t.unshift(128+t.length),t;let r=apt(t.length);return r.unshift(183+r.length),r.concat(t)}m(),m();var cpt="0123456789abcdef";function Bb(e){let t="0x";for(let r of upt(e))t+=cpt[r>>4],t+=cpt[15&r];return t}function oV(e){let t=zt(e,"randomBytes");t[6]=15&t[6]|64,t[8]=63&t[8]|128;let r=Ct(t);return[r.substring(2,10),r.substring(10,14),r.substring(14,18),r.substring(18,22),r.substring(22,34)].join("-")}m(),m();var nu=32,Nve=new Uint8Array(nu),s8r=["then"],sV={},dpt=new WeakMap;function j2(e){return dpt.get(e)}function lpt(e,t){dpt.set(e,t)}function iR(e,t){let r=new Error(`deferred error during ABI decoding triggered accessing ${e}`);throw r.error=t,r}function Dve(e,t,r){return e.indexOf(null)>=0?t.map(((e,t)=>e instanceof Ap?Dve(j2(e),e,r):e)):e.reduce(((e,n,i)=>{let o=t.getValue(n);return n in e||(r&&o instanceof Ap&&(o=Dve(j2(o),o,r)),e[n]=o),e}),{})}var Ap=class e extends Array{#e;constructor(...e){let t=e[0],r=e[1],n=(e[2]||[]).slice(),i=!0;t!==sV&&(r=e,n=[],i=!1),super(r.length),r.forEach(((e,t)=>{this[t]=e}));let o=n.reduce(((e,t)=>("string"==typeof t&&e.set(t,(e.get(t)||0)+1),e)),new Map);if(lpt(this,Object.freeze(r.map(((e,t)=>{let r=n[t];return null!=r&&1===o.get(r)?r:null})))),this.#e=[],null==this.#e&&this.#e,!i)return;Object.freeze(this);let s=new Proxy(this,{get:(e,t,r)=>{if("string"==typeof t){if(t.match(/^[0-9]+$/)){let r=ko(t,"%index");if(r<0||r>=this.length)throw new RangeError("out of result range");let n=e[r];return n instanceof Error&&iR(`index ${r}`,n),n}if(s8r.indexOf(t)>=0)return Reflect.get(e,t,r);let n=e[t];if(n instanceof Function)return function(...t){return n.apply(this===r?e:this,t)};if(!(t in e))return e.getValue.apply(this===r?e:this,[t])}return Reflect.get(e,t,r)}});return lpt(s,j2(this)),s}toArray(t){let r=[];return this.forEach(((n,i)=>{n instanceof Error&&iR(`index ${i}`,n),t&&n instanceof e&&(n=n.toArray(t)),r.push(n)})),r}toObject(e){let t=j2(this);return t.reduce(((r,n,i)=>(Ar(null!=n,`value at index ${i} unnamed`,"UNSUPPORTED_OPERATION",{operation:"toObject()"}),Dve(t,this,e))),{})}slice(t,r){null==t&&(t=0),t<0&&((t+=this.length)<0&&(t=0)),null==r&&(r=this.length),r<0&&((r+=this.length)<0&&(r=0)),r>this.length&&(r=this.length);let n=j2(this),i=[],o=[];for(let e=t;e<r;e++)i.push(this[e]),o.push(n[e]);return new e(sV,i,o)}filter(t,r){let n=j2(this),i=[],o=[];for(let e=0;e<this.length;e++){let s=this[e];s instanceof Error&&iR(`index ${e}`,s),t.call(r,s,e,this)&&(i.push(s),o.push(n[e]))}return new e(sV,i,o)}map(e,t){let r=[];for(let n=0;n<this.length;n++){let i=this[n];i instanceof Error&&iR(`index ${n}`,i),r.push(e.call(t,i,n,this))}return r}getValue(e){let t=j2(this).indexOf(e);if(-1===t)return;let r=this[t];return r instanceof Error&&iR(`property ${JSON.stringify(e)}`,r.error),r}static fromItems(t,r){return new e(sV,t,r)}};function fpt(e){let t=ta(e);return Ar(t.length<=nu,"value out-of-bounds","BUFFER_OVERRUN",{buffer:t,length:nu,offset:t.length}),t.length!==nu&&(t=as(xn([Nve.slice(t.length%nu),t]))),t}var va=class{name;type;localName;dynamic;constructor(e,t,r,n){Ur(this,{name:e,type:t,localName:r,dynamic:n},{name:"string",type:"string",localName:"string",dynamic:"boolean"})}_throwError(e,t){Te(!1,e,this.localName,t)}},G2=class{#e;#t;constructor(){this.#e=[],this.#t=0}get data(){return xn(this.#e)}get length(){return this.#t}#r(e){return this.#e.push(e),this.#t+=e.length,e.length}appendWriter(e){return this.#r(as(e.data))}writeBytes(e){let t=as(e),r=t.length%nu;return r&&(t=as(xn([t,Nve.slice(r)]))),this.#r(t)}writeValue(e){return this.#r(fpt(e))}writeUpdatableValue(){let e=this.#e.length;return this.#e.push(Nve),this.#t+=nu,t=>{this.#e[e]=fpt(t)}}},aV=class e{allowLoose;#e;#t;#r;#n;#i;constructor(e,t,r){Ur(this,{allowLoose:!!t}),this.#e=as(e),this.#r=0,this.#n=null,this.#i=r??1024,this.#t=0}get data(){return Ct(this.#e)}get dataLength(){return this.#e.length}get consumed(){return this.#t}get bytes(){return new Uint8Array(this.#e)}#o(e){if(this.#n)return this.#n.#o(e);this.#r+=e,Ar(this.#i<1||this.#r<=this.#i*this.dataLength,`compressed ABI data exceeds inflation ratio of ${this.#i} ( see: https://github.com/ethers-io/ethers.js/issues/4537 )`,"BUFFER_OVERRUN",{buffer:as(this.#e),offset:this.#t,length:e,info:{bytesRead:this.#r,dataLength:this.dataLength}})}#s(e,t,r){let n=Math.ceil(t/nu)*nu;return this.#t+n>this.#e.length&&(this.allowLoose&&r&&this.#t+t<=this.#e.length?n=t:Ar(!1,"data out-of-bounds","BUFFER_OVERRUN",{buffer:as(this.#e),length:this.#e.length,offset:this.#t+n})),this.#e.slice(this.#t,this.#t+n)}subReader(t){let r=new e(this.#e.slice(this.#t+t),this.allowLoose,this.#i);return r.#n=this,r}readBytes(e,t){let r=this.#s(0,e,!!t);return this.#o(e),this.#t+=r.length,r.slice(0,e)}readValue(){return Pb(this.readBytes(nu))}readIndex(){return eV(this.readBytes(nu))}};function Zu(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function oR(e,...t){if(!(e instanceof Uint8Array))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function cV(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Zu(e.outputLen),Zu(e.blockLen)}function Mb(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function uV(e,t){oR(e);let r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}m(),m(),m(),m(),m(),m(),m(),m(),m(),m();var lV="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,hpt=e=>e instanceof Uint8Array,$8=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),eC=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),Ep=(e,t)=>e<<32-t|e>>>t,a8r=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];if(!a8r)throw new Error("Non little-endian hardware is not supported");var c8r=async()=>{};async function fV(e,t,r){let n=Date.now();for(let i=0;i<e;i++){r(i);let e=Date.now()-n;e>=0&&e<t||(await c8r(),n+=e)}}function u8r(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function Tp(e){if("string"==typeof e&&(e=u8r(e)),!hpt(e))throw new Error("expected Uint8Array, got "+typeof e);return e}function ppt(...e){let t=new Uint8Array(e.reduce(((e,t)=>e+t.length),0)),r=0;return e.forEach((e=>{if(!hpt(e))throw new Error("Uint8Array expected");t.set(e,r),r+=e.length})),t}var ix=class{clone(){return this._cloneInto()}},l8r={}.toString;function dV(e,t){if(void 0!==t&&"[object Object]"!==l8r.call(t))throw new Error("Options should be object or undefined");return Object.assign(e,t)}function ox(e){let t=t=>e().update(Tp(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function gpt(e){let t=(t,r)=>e(r).update(Tp(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t}function ypt(e=32){if(lV&&"function"==typeof lV.getRandomValues)return lV.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}var hV=class extends ix{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,cV(e);let r=Tp(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let e=0;e<i.length;e++)i[e]^=54;this.iHash.update(i),this.oHash=e.create();for(let e=0;e<i.length;e++)i[e]^=106;this.oHash.update(i),i.fill(0)}update(e){return Mb(this),this.iHash.update(e),this}digestInto(e){Mb(this),oR(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:r,finished:n,destroyed:i,blockLen:o,outputLen:s}=this;return e.finished=n,e.destroyed=i,e.blockLen=o,e.outputLen=s,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}},V2=(e,t,r)=>new hV(e,t).update(r).digest();function f8r(e,t,r,n){cV(e);let i=dV({dkLen:32,asyncTick:10},n),{c:o,dkLen:s,asyncTick:a}=i;if(Zu(o),Zu(s),Zu(a),o<1)throw new Error("PBKDF2: iterations (c) should be >= 1");let c=Tp(t),u=Tp(r),l=new Uint8Array(s),d=V2.create(e,c),h=d._cloneInto().update(u);return{c:o,dkLen:s,asyncTick:a,DK:l,PRF:d,PRFSalt:h}}function d8r(e,t,r,n,i){return e.destroy(),t.destroy(),n&&n.destroy(),i.fill(0),r}function sR(e,t,r,n){let i,{c:o,dkLen:s,DK:a,PRF:c,PRFSalt:u}=f8r(e,t,r,n),l=new Uint8Array(4),d=eC(l),h=new Uint8Array(c.outputLen);for(let e=1,t=0;t<s;e++,t+=c.outputLen){let r=a.subarray(t,t+c.outputLen);d.setInt32(0,e,!1),(i=u._cloneInto(i)).update(l).digestInto(h),r.set(h.subarray(0,r.length));for(let e=1;e<o;e++){c._cloneInto(i).update(h).digestInto(h);for(let e=0;e<r.length;e++)r[e]^=h[e]}}return d8r(c,u,a,i,h)}function h8r(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),o=BigInt(4294967295),s=Number(r>>i&o),a=Number(r&o),c=n?4:0,u=n?0:4;e.setUint32(t+c,s,n),e.setUint32(t+u,a,n)}V2.create=(e,t)=>new hV(e,t),m(),m(),m();var sx=class extends ix{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=eC(this.buffer)}update(e){Mb(this);let{view:t,buffer:r,blockLen:n}=this,i=(e=Tp(e)).length;for(let o=0;o<i;){let s=Math.min(n-this.pos,i-o);if(s!==n)r.set(e.subarray(o,o+s),this.pos),this.pos+=s,o+=s,this.pos===n&&(this.process(t,0),this.pos=0);else{let t=eC(e);for(;n<=i-o;o+=n)this.process(t,o)}}return this.length+=e.length,this.roundClean(),this}digestInto(e){Mb(this),uV(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:n,isLE:i}=this,{pos:o}=this;t[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>n-o&&(this.process(r,0),o=0);for(let e=o;e<n;e++)t[e]=0;h8r(r,n-8,BigInt(8*this.length),i),this.process(r,0);let s=eC(e),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let c=a/4,u=this.get();if(c>u.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e<c;e++)s.setUint32(4*e,u[e],i)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:o,pos:s}=this;return e.length=n,e.pos=s,e.finished=i,e.destroyed=o,n%t&&e.buffer.set(r),e}},p8r=(e,t,r)=>e&t^~e&r,g8r=(e,t,r)=>e&t^e&r^t&r,y8r=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),ax=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),cx=new Uint32Array(64),Uve=class extends sx{constructor(){super(64,32,8,!1),this.A=0|ax[0],this.B=0|ax[1],this.C=0|ax[2],this.D=0|ax[3],this.E=0|ax[4],this.F=0|ax[5],this.G=0|ax[6],this.H=0|ax[7]}get(){let{A:e,B:t,C:r,D:n,E:i,F:o,G:s,H:a}=this;return[e,t,r,n,i,o,s,a]}set(e,t,r,n,i,o,s,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let r=0;r<16;r++,t+=4)cx[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=cx[e-15],r=cx[e-2],n=Ep(t,7)^Ep(t,18)^t>>>3,i=Ep(r,17)^Ep(r,19)^r>>>10;cx[e]=i+cx[e-7]+n+cx[e-16]|0}let{A:r,B:n,C:i,D:o,E:s,F:a,G:c,H:u}=this;for(let e=0;e<64;e++){let t=u+(Ep(s,6)^Ep(s,11)^Ep(s,25))+p8r(s,a,c)+y8r[e]+cx[e]|0,l=(Ep(r,2)^Ep(r,13)^Ep(r,22))+g8r(r,n,i)|0;u=c,c=a,a=s,s=o+t|0,o=i,i=n,n=r,r=t+l|0}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(r,n,i,o,s,a,c,u)}roundClean(){cx.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},kb=ox((()=>new Uve));m(),m();var pV=BigInt(4294967295),Lve=BigInt(32);function mpt(e,t=!1){return t?{h:Number(e&pV),l:Number(e>>Lve&pV)}:{h:0|Number(e>>Lve&pV),l:0|Number(e&pV)}}function Fve(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let i=0;i<e.length;i++){let{h:o,l:s}=mpt(e[i],t);[r[i],n[i]]=[o,s]}return[r,n]}var m8r=(e,t)=>BigInt(e>>>0)<<Lve|BigInt(t>>>0),b8r=(e,t,r)=>e>>>r,v8r=(e,t,r)=>e<<32-r|t>>>r,w8r=(e,t,r)=>e>>>r|t<<32-r,x8r=(e,t,r)=>e<<32-r|t>>>r,A8r=(e,t,r)=>e<<64-r|t>>>r-32,E8r=(e,t,r)=>e>>>r-32|t<<64-r,T8r=(e,t)=>t,S8r=(e,t)=>e,Wve=(e,t,r)=>e<<r|t>>>32-r,zve=(e,t,r)=>t<<r|e>>>32-r,Kve=(e,t,r)=>t<<r-32|e>>>64-r,Hve=(e,t,r)=>e<<r-32|t>>>64-r;function C8r(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/2**32|0)|0,l:0|i}}var I8r=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0),O8r=(e,t,r,n)=>t+r+n+(e/2**32|0)|0,P8r=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0),B8r=(e,t,r,n,i)=>t+r+n+i+(e/2**32|0)|0,M8r=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0),k8r=(e,t,r,n,i,o)=>t+r+n+i+o+(e/2**32|0)|0,_8r={fromBig:mpt,split:Fve,toBig:m8r,shrSH:b8r,shrSL:v8r,rotrSH:w8r,rotrSL:x8r,rotrBH:A8r,rotrBL:E8r,rotr32H:T8r,rotr32L:S8r,rotlSH:Wve,rotlSL:zve,rotlBH:Kve,rotlBL:Hve,add:C8r,add3L:I8r,add3H:O8r,add4L:P8r,add4H:B8r,add5H:k8r,add5L:M8r},kn=_8r,[R8r,N8r]=kn.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((e=>BigInt(e)))),ux=new Uint32Array(80),lx=new Uint32Array(80),qve=class extends sx{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){let{Ah:e,Al:t,Bh:r,Bl:n,Ch:i,Cl:o,Dh:s,Dl:a,Eh:c,El:u,Fh:l,Fl:d,Gh:h,Gl:f,Hh:p,Hl:g}=this;return[e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g]}set(e,t,r,n,i,o,s,a,c,u,l,d,h,f,p,g){this.Ah=0|e,this.Al=0|t,this.Bh=0|r,this.Bl=0|n,this.Ch=0|i,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|c,this.El=0|u,this.Fh=0|l,this.Fl=0|d,this.Gh=0|h,this.Gl=0|f,this.Hh=0|p,this.Hl=0|g}process(e,t){for(let r=0;r<16;r++,t+=4)ux[r]=e.getUint32(t),lx[r]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|ux[e-15],r=0|lx[e-15],n=kn.rotrSH(t,r,1)^kn.rotrSH(t,r,8)^kn.shrSH(t,r,7),i=kn.rotrSL(t,r,1)^kn.rotrSL(t,r,8)^kn.shrSL(t,r,7),o=0|ux[e-2],s=0|lx[e-2],a=kn.rotrSH(o,s,19)^kn.rotrBH(o,s,61)^kn.shrSH(o,s,6),c=kn.rotrSL(o,s,19)^kn.rotrBL(o,s,61)^kn.shrSL(o,s,6),u=kn.add4L(i,c,lx[e-7],lx[e-16]),l=kn.add4H(u,n,a,ux[e-7],ux[e-16]);ux[e]=0|l,lx[e]=0|u}let{Ah:r,Al:n,Bh:i,Bl:o,Ch:s,Cl:a,Dh:c,Dl:u,Eh:l,El:d,Fh:h,Fl:f,Gh:p,Gl:g,Hh:y,Hl:m}=this;for(let e=0;e<80;e++){let t=kn.rotrSH(l,d,14)^kn.rotrSH(l,d,18)^kn.rotrBH(l,d,41),b=kn.rotrSL(l,d,14)^kn.rotrSL(l,d,18)^kn.rotrBL(l,d,41),w=l&h^~l&p,v=d&f^~d&g,A=kn.add5L(m,b,v,N8r[e],lx[e]),E=kn.add5H(A,y,t,w,R8r[e],ux[e]),T=0|A,C=kn.rotrSH(r,n,28)^kn.rotrBH(r,n,34)^kn.rotrBH(r,n,39),S=kn.rotrSL(r,n,28)^kn.rotrBL(r,n,34)^kn.rotrBL(r,n,39),I=r&i^r&s^i&s,O=n&o^n&a^o&a;y=0|p,m=0|g,p=0|h,g=0|f,h=0|l,f=0|d,({h:l,l:d}=kn.add(0|c,0|u,0|E,0|T)),c=0|s,u=0|a,s=0|i,a=0|o,i=0|r,o=0|n;let M=kn.add3L(T,S,O);r=kn.add3H(M,E,C,I),n=0|M}({h:r,l:n}=kn.add(0|this.Ah,0|this.Al,0|r,0|n)),({h:i,l:o}=kn.add(0|this.Bh,0|this.Bl,0|i,0|o)),({h:s,l:a}=kn.add(0|this.Ch,0|this.Cl,0|s,0|a)),({h:c,l:u}=kn.add(0|this.Dh,0|this.Dl,0|c,0|u)),({h:l,l:d}=kn.add(0|this.Eh,0|this.El,0|l,0|d)),({h:h,l:f}=kn.add(0|this.Fh,0|this.Fl,0|h,0|f)),({h:p,l:g}=kn.add(0|this.Gh,0|this.Gl,0|p,0|g)),({h:y,l:m}=kn.add(0|this.Hh,0|this.Hl,0|y,0|m)),this.set(r,n,i,o,s,a,c,u,l,d,h,f,p,g,y,m)}roundClean(){ux.fill(0),lx.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}},gV=ox((()=>new qve));function D8r(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}var bpt=D8r(),vpt=bpt.crypto||bpt.msCrypto;function jve(e){switch(e){case"sha256":return kb.create();case"sha512":return gV.create()}Te(!1,"invalid hashing algorithm name","algorithm",e)}function wpt(e,t){let r={sha256:kb,sha512:gV}[e];return Te(null!=r,"invalid hmac algorithm","algorithm",e),V2.create(r,t)}function xpt(e,t,r,n,i){let o={sha256:kb,sha512:gV}[i];return Te(null!=o,"invalid pbkdf2 algorithm","algorithm",i),sR(o,e,t,{c:r,dkLen:n})}function Apt(e){Ar(null!=vpt,"platform does not support secure random numbers","UNSUPPORTED_OPERATION",{operation:"randomBytes"}),Te(Number.isInteger(e)&&e>0&&e<=1024,"invalid length","length",e);let t=new Uint8Array(e);return vpt.getRandomValues(t),t}var Ept=!1,Tpt=function(e,t,r){return wpt(e,t).update(r).digest()},Spt=Tpt;function Kh(e,t,r){let n=zt(t,"key"),i=zt(r,"data");return Ct(Spt(e,n,i))}Kh._=Tpt,Kh.lock=function(){Ept=!0},Kh.register=function(e){if(Ept)throw new Error("computeHmac is locked");Spt=e},Object.freeze(Kh),m(),m();var[Opt,Ppt,Bpt]=[[],[],[]],U8r=BigInt(0),aR=BigInt(1),L8r=BigInt(2),F8r=BigInt(7),W8r=BigInt(256),z8r=BigInt(113);for(let e=0,t=aR,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],Opt.push(2*(5*n+r)),Ppt.push((e+1)*(e+2)/2%64);let i=U8r;for(let e=0;e<7;e++)t=(t<<aR^(t>>F8r)*z8r)%W8r,t&L8r&&(i^=aR<<(aR<<BigInt(e))-aR);Bpt.push(i)}var[K8r,H8r]=Fve(Bpt,!0),Cpt=(e,t,r)=>r>32?Kve(e,t,r):Wve(e,t,r),Ipt=(e,t,r)=>r>32?Hve(e,t,r):zve(e,t,r);function q8r(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],s=r[i+1],a=Cpt(o,s,1)^r[n],c=Ipt(o,s,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=a,e[t+r+1]^=c}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=Ppt[r],o=Cpt(t,i,n),s=Ipt(t,i,n),a=Opt[r];t=e[a],i=e[a+1],e[a]=o,e[a+1]=s}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=K8r[n],e[1]^=H8r[n]}r.fill(0)}var yV=class e extends ix{constructor(e,t,r,n=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,Zu(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=$8(this.state)}keccak(){q8r(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){Mb(this);let{blockLen:t,state:r}=this,n=(e=Tp(e)).length;for(let i=0;i<n;){let o=Math.min(t-this.pos,n-i);for(let t=0;t<o;t++)r[this.pos++]^=e[i++];this.pos===t&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:e,suffix:t,pos:r,blockLen:n}=this;e[r]^=t,128&t&&r===n-1&&this.keccak(),e[n-1]^=128,this.keccak()}writeInto(e){Mb(this,!1),oR(e),this.finish();let t=this.state,{blockLen:r}=this;for(let n=0,i=e.length;n<i;){this.posOut>=r&&this.keccak();let o=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return Zu(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(uV(e,this),this.finished)throw new Error("digest() was already called");return this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:r,suffix:n,outputLen:i,rounds:o,enableXOF:s}=this;return t||(t=new e(r,n,i,s,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=n,t.outputLen=i,t.enableXOF=s,t.destroyed=this.destroyed,t}},fx=(e,t,r)=>ox((()=>new yV(t,e,r))),bMn=fx(6,144,28),vMn=fx(6,136,32),wMn=fx(6,104,48),xMn=fx(6,72,64),AMn=fx(1,144,28),Mpt=fx(1,136,32),EMn=fx(1,104,48),TMn=fx(1,72,64),kpt=(e,t,r)=>gpt(((n={})=>new yV(t,e,void 0===n.dkLen?r:n.dkLen,!0))),SMn=kpt(31,168,16),CMn=kpt(31,136,32),_pt=!1,Rpt=function(e){return Mpt(e)},Npt=Rpt;function Fr(e){let t=zt(e,"data");return Ct(Npt(t))}Fr._=Rpt,Fr.lock=function(){_pt=!0},Fr.register=function(e){if(_pt)throw new TypeError("keccak256 is locked");Npt=e},Object.freeze(Fr),m(),m();var j8r=new Uint8Array([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),Upt=Uint8Array.from({length:16},((e,t)=>t)),G8r=Upt.map((e=>(9*e+5)%16)),Vve=[Upt],Jve=[G8r];for(let e=0;e<4;e++)for(let t of[Vve,Jve])t.push(t[e].map((e=>j8r[e])));var Lpt=[[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8],[12,13,11,15,6,9,9,7,12,15,11,13,7,8,7,7],[13,15,14,11,7,7,6,8,13,14,13,12,5,5,6,9],[14,11,12,14,8,6,5,5,15,12,15,14,9,9,8,6],[15,12,13,13,9,5,8,6,14,11,12,11,8,6,5,5]].map((e=>new Uint8Array(e))),V8r=Vve.map(((e,t)=>e.map((e=>Lpt[t][e])))),J8r=Jve.map(((e,t)=>e.map((e=>Lpt[t][e])))),X8r=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),Y8r=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]),mV=(e,t)=>e<<t|e>>>32-t;function Dpt(e,t,r,n){return 0===e?t^r^n:1===e?t&r|~t&n:2===e?(t|~r)^n:3===e?t&n|r&~n:t^(r|~n)}var bV=new Uint32Array(16),Gve=class extends sx{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){let{h0:e,h1:t,h2:r,h3:n,h4:i}=this;return[e,t,r,n,i]}set(e,t,r,n,i){this.h0=0|e,this.h1=0|t,this.h2=0|r,this.h3=0|n,this.h4=0|i}process(e,t){for(let r=0;r<16;r++,t+=4)bV[r]=e.getUint32(t,!0);let r=0|this.h0,n=r,i=0|this.h1,o=i,s=0|this.h2,a=s,c=0|this.h3,u=c,l=0|this.h4,d=l;for(let e=0;e<5;e++){let t=4-e,h=X8r[e],f=Y8r[e],p=Vve[e],g=Jve[e],y=V8r[e],m=J8r[e];for(let t=0;t<16;t++){let n=mV(r+Dpt(e,i,s,c)+bV[p[t]]+h,y[t])+l|0;r=l,l=c,c=0|mV(s,10),s=i,i=n}for(let e=0;e<16;e++){let r=mV(n+Dpt(t,o,a,u)+bV[g[e]]+f,m[e])+d|0;n=d,d=u,u=0|mV(a,10),a=o,o=r}}this.set(this.h1+s+u|0,this.h2+c+d|0,this.h3+l+n|0,this.h4+r+o|0,this.h0+i+a|0)}roundClean(){bV.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}},Fpt=ox((()=>new Gve)),Wpt=!1,zpt=function(e){return Fpt(e)},Kpt=zpt;function _b(e){let t=zt(e,"data");return Ct(Kpt(t))}_b._=zpt,_b.lock=function(){Wpt=!0},_b.register=function(e){if(Wpt)throw new TypeError("ripemd160 is locked");Kpt=e},Object.freeze(_b),m();var Hpt=!1,qpt=function(e,t,r,n,i){return xpt(e,t,r,n,i)},jpt=qpt;function Rb(e,t,r,n,i){let o=zt(e,"password"),s=zt(t,"salt");return Ct(jpt(o,s,r,n,i))}Rb._=qpt,Rb.lock=function(){Hpt=!0},Rb.register=function(e){if(Hpt)throw new Error("pbkdf2 is locked");jpt=e},Object.freeze(Rb),m();var Gpt=!1,Vpt=function(e){return new Uint8Array(Apt(e))},Jpt=Vpt;function Nd(e){return Jpt(e)}Nd._=Vpt,Nd.lock=function(){Gpt=!0},Nd.register=function(e){if(Gpt)throw new Error("randomBytes is locked");Jpt=e},Object.freeze(Nd),m(),m();var Li=(e,t)=>e<<t|e>>>32-t;function Xpt(e,t,r,n,i,o){let s=e[t++]^r[n++],a=e[t++]^r[n++],c=e[t++]^r[n++],u=e[t++]^r[n++],l=e[t++]^r[n++],d=e[t++]^r[n++],h=e[t++]^r[n++],f=e[t++]^r[n++],p=e[t++]^r[n++],g=e[t++]^r[n++],y=e[t++]^r[n++],m=e[t++]^r[n++],b=e[t++]^r[n++],w=e[t++]^r[n++],v=e[t++]^r[n++],A=e[t++]^r[n++],E=s,T=a,C=c,S=u,I=l,O=d,M=h,P=f,k=p,B=g,x=y,N=m,R=b,_=w,U=v,D=A;for(let e=0;e<8;e+=2)I^=Li(E+R|0,7),k^=Li(I+E|0,9),R^=Li(k+I|0,13),E^=Li(R+k|0,18),B^=Li(O+T|0,7),_^=Li(B+O|0,9),T^=Li(_+B|0,13),O^=Li(T+_|0,18),U^=Li(x+M|0,7),C^=Li(U+x|0,9),M^=Li(C+U|0,13),x^=Li(M+C|0,18),S^=Li(D+N|0,7),P^=Li(S+D|0,9),N^=Li(P+S|0,13),D^=Li(N+P|0,18),T^=Li(E+S|0,7),C^=Li(T+E|0,9),S^=Li(C+T|0,13),E^=Li(S+C|0,18),M^=Li(O+I|0,7),P^=Li(M+O|0,9),I^=Li(P+M|0,13),O^=Li(I+P|0,18),N^=Li(x+B|0,7),k^=Li(N+x|0,9),B^=Li(k+N|0,13),x^=Li(B+k|0,18),R^=Li(D+U|0,7),_^=Li(R+D|0,9),U^=Li(_+R|0,13),D^=Li(U+_|0,18);i[o++]=s+E|0,i[o++]=a+T|0,i[o++]=c+C|0,i[o++]=u+S|0,i[o++]=l+I|0,i[o++]=d+O|0,i[o++]=h+M|0,i[o++]=f+P|0,i[o++]=p+k|0,i[o++]=g+B|0,i[o++]=y+x|0,i[o++]=m+N|0,i[o++]=b+R|0,i[o++]=w+_|0,i[o++]=v+U|0,i[o++]=A+D|0}function tC(e,t,r,n,i){let o=n+0,s=n+16*i;for(let n=0;n<16;n++)r[s+n]=e[t+16*(2*i-1)+n];for(let n=0;n<i;n++,o+=16,t+=16)Xpt(r,s,e,t,r,o),n>0&&(s+=16),Xpt(r,o,e,t+=16,r,s)}function Ypt(e,t,r){let n=dV({dkLen:32,asyncTick:10,maxmem:1073742848},r),{N:i,r:o,p:s,dkLen:a,asyncTick:c,maxmem:u,onProgress:l}=n;if(Zu(i),Zu(o),Zu(s),Zu(a),Zu(c),Zu(u),void 0!==l&&"function"!=typeof l)throw new Error("progressCb should be function");let d=128*o,h=d/4;if(i<=1||i&i-1||i>=2**(d/8)||i>2**32)throw new Error("Scrypt: N must be larger than 1, a power of 2, less than 2^(128 * r / 8) and less than 2^32");if(s<0||s>137438953440/d)throw new Error("Scrypt: p must be a positive integer less than or equal to ((2^32 - 1) * 32) / (128 * r)");if(a<0||a>137438953440)throw new Error("Scrypt: dkLen should be positive integer less than or equal to (2^32 - 1) * 32");let f=d*(i+s);if(f>u)throw new Error(`Scrypt: parameters too large, ${f} (128 * r * (N + p)) > ${u} (maxmem)`);let p=sR(kb,e,t,{c:1,dkLen:d*s}),g=$8(p),y=$8(new Uint8Array(d*i)),m=$8(new Uint8Array(d)),b=()=>{};if(l){let e=2*i*s,t=Math.max(Math.floor(e/1e4),1),r=0;b=()=>{r++,l&&(!(r%t)||r===e)&&l(r/e)}}return{N:i,r:o,p:s,dkLen:a,blockSize32:h,V:y,B32:g,B:p,tmp:m,blockMixCb:b,asyncTick:c}}function Qpt(e,t,r,n,i){let o=sR(kb,e,r,{c:1,dkLen:t});return r.fill(0),n.fill(0),i.fill(0),o}function Zpt(e,t,r){let{N:n,r:i,p:o,dkLen:s,blockSize32:a,V:c,B32:u,B:l,tmp:d,blockMixCb:h}=Ypt(e,t,r);for(let e=0;e<o;e++){let t=a*e;for(let e=0;e<a;e++)c[e]=u[t+e];for(let e=0,t=0;e<n-1;e++)tC(c,t,c,t+=a,i),h();tC(c,(n-1)*a,u,t,i),h();for(let e=0;e<n;e++){let e=u[t+a-16]%n;for(let r=0;r<a;r++)d[r]=u[t+r]^c[e*a+r];tC(d,0,u,t,i),h()}}return Qpt(e,s,l,c,d)}async function $pt(e,t,r){let{N:n,r:i,p:o,dkLen:s,blockSize32:a,V:c,B32:u,B:l,tmp:d,blockMixCb:h,asyncTick:f}=Ypt(e,t,r);for(let e=0;e<o;e++){let t=a*e;for(let e=0;e<a;e++)c[e]=u[t+e];let r=0;await fV(n-1,f,(()=>{tC(c,r,c,r+=a,i),h()})),tC(c,(n-1)*a,u,t,i),h(),await fV(n,f,(()=>{let e=u[t+a-16]%n;for(let r=0;r<a;r++)d[r]=u[t+r]^c[e*a+r];tC(d,0,u,t,i),h()}))}return Qpt(e,s,l,c,d)}var egt=!1,tgt=!1,rgt=async function(e,t,r,n,i,o,s){return await $pt(e,t,{N:r,r:n,p:i,dkLen:o,onProgress:s})},ngt=function(e,t,r,n,i,o){return Zpt(e,t,{N:r,r:n,p:i,dkLen:o})},igt=rgt,ogt=ngt;async function dx(e,t,r,n,i,o,s){let a=zt(e,"passwd"),c=zt(t,"salt");return Ct(await igt(a,c,r,n,i,o,s))}function hx(e,t,r,n,i,o){let s=zt(e,"passwd"),a=zt(t,"salt");return Ct(ogt(s,a,r,n,i,o))}dx._=rgt,dx.lock=function(){tgt=!0},dx.register=function(e){if(tgt)throw new Error("scrypt is locked");igt=e},Object.freeze(dx),hx._=ngt,hx.lock=function(){egt=!0},hx.register=function(e){if(egt)throw new Error("scryptSync is locked");ogt=e},Object.freeze(hx),m();var sgt=function(e){return jve("sha256").update(e).digest()},agt=function(e){return jve("sha512").update(e).digest()},cgt=sgt,ugt=agt,lgt=!1,fgt=!1;function ls(e){let t=zt(e,"data");return Ct(cgt(t))}function cR(e){let t=zt(e,"data");return Ct(ugt(t))}ls._=sgt,ls.lock=function(){lgt=!0},ls.register=function(e){if(lgt)throw new Error("sha256 is locked");cgt=e},Object.freeze(ls),cR._=agt,cR.lock=function(){fgt=!0},cR.register=function(e){if(fgt)throw new Error("sha512 is locked");ugt=e},Object.freeze(ls),m(),m(),m();var Zve={};Vr(Zve,{bitGet:()=>nCr,bitLen:()=>rCr,bitMask:()=>uR,bitSet:()=>iCr,bytesToHex:()=>J2,bytesToNumberBE:()=>Nb,bytesToNumberLE:()=>xV,concatBytes:()=>rC,createHmacDrbg:()=>Qve,ensureBytes:()=>Dd,equalBytes:()=>eCr,hexToBytes:()=>X2,hexToNumber:()=>Yve,numberToBytesBE:()=>px,numberToBytesLE:()=>AV,numberToHexUnpadded:()=>pgt,numberToVarBytesBE:()=>$8r,utf8ToBytes:()=>tCr,validateObject:()=>gx}),m();var hgt=BigInt(0),vV=BigInt(1),Q8r=BigInt(2),wV=e=>e instanceof Uint8Array,Z8r=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function J2(e){if(!wV(e))throw new Error("Uint8Array expected");let t="";for(let r=0;r<e.length;r++)t+=Z8r[e[r]];return t}function pgt(e){let t=e.toString(16);return 1&t.length?`0${t}`:t}function Yve(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return BigInt(""===e?"0":`0x${e}`)}function X2(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);let t=e.length;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(t/2);for(let t=0;t<r.length;t++){let n=2*t,i=e.slice(n,n+2),o=Number.parseInt(i,16);if(Number.isNaN(o)||o<0)throw new Error("Invalid byte sequence");r[t]=o}return r}function Nb(e){return Yve(J2(e))}function xV(e){if(!wV(e))throw new Error("Uint8Array expected");return Yve(J2(Uint8Array.from(e).reverse()))}function px(e,t){return X2(e.toString(16).padStart(2*t,"0"))}function AV(e,t){return px(e,t).reverse()}function $8r(e){return X2(pgt(e))}function Dd(e,t,r){let n;if("string"==typeof t)try{n=X2(t)}catch(r){throw new Error(`${e} must be valid hex string, got "${t}". Cause: ${r}`)}else{if(!wV(t))throw new Error(`${e} must be hex string or Uint8Array`);n=Uint8Array.from(t)}let i=n.length;if("number"==typeof r&&i!==r)throw new Error(`${e} expected ${r} bytes, got ${i}`);return n}function rC(...e){let t=new Uint8Array(e.reduce(((e,t)=>e+t.length),0)),r=0;return e.forEach((e=>{if(!wV(e))throw new Error("Uint8Array expected");t.set(e,r),r+=e.length})),t}function eCr(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function tCr(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function rCr(e){let t;for(t=0;e>hgt;e>>=vV,t+=1);return t}function nCr(e,t){return e>>BigInt(t)&vV}var iCr=(e,t,r)=>e|(r?vV:hgt)<<BigInt(t),uR=e=>(Q8r<<BigInt(e-1))-vV,Xve=e=>new Uint8Array(e),dgt=e=>Uint8Array.from(e);function Qve(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let n=Xve(e),i=Xve(e),o=0,s=()=>{n.fill(1),i.fill(0),o=0},a=(...e)=>r(i,n,...e),c=(e=Xve())=>{i=a(dgt([0]),e),n=a(),0!==e.length&&(i=a(dgt([1]),e),n=a())},u=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let e=0,r=[];for(;e<t;){n=a();let t=n.slice();r.push(t),e+=n.length}return rC(...r)};return(e,t)=>{let r;for(s(),c(e);!(r=t(u()));)c();return s(),r}}var oCr={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||e instanceof Uint8Array,isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function gx(e,t,r={}){let n=(t,r,n)=>{let i=oCr[r];if("function"!=typeof i)throw new Error(`Invalid validator "${r}", expected function`);let o=e[t];if(!(n&&void 0===o||i(o,e)))throw new Error(`Invalid param ${String(t)}=${o} (${typeof o}), expected ${r}`)};for(let[e,r]of Object.entries(t))n(e,r,!1);for(let[e,t]of Object.entries(r))n(e,t,!0);return e}var Va=BigInt(0),_s=BigInt(1),Y2=BigInt(2),sCr=BigInt(3),$ve=BigInt(4),ggt=BigInt(5),ygt=BigInt(8),aCr=BigInt(9),cCr=BigInt(16);function $u(e,t){let r=e%t;return r>=Va?r:t+r}function uCr(e,t,r){if(r<=Va||t<Va)throw new Error("Expected power/modulo > 0");if(r===_s)return Va;let n=_s;for(;t>Va;)t&_s&&(n=n*e%r),e=e*e%r,t>>=_s;return n}function Ud(e,t,r){let n=e;for(;t-- >Va;)n*=n,n%=r;return n}function EV(e,t){if(e===Va||t<=Va)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let r=$u(e,t),n=t,i=Va,o=_s,s=_s,a=Va;for(;r!==Va;){let e=n/r,t=n%r,c=i-s*e,u=o-a*e;n=r,r=t,i=s,o=a,s=c,a=u}if(n!==_s)throw new Error("invert: does not exist");return $u(i,t)}function lCr(e){let t,r,n,i=(e-_s)/Y2;for(t=e-_s,r=0;t%Y2===Va;t/=Y2,r++);for(n=Y2;n<e&&uCr(n,i,e)!==e-_s;n++);if(1===r){let t=(e+_s)/$ve;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}let o=(t+_s)/Y2;return function(e,s){if(e.pow(s,i)===e.neg(e.ONE))throw new Error("Cannot find square root");let a=r,c=e.pow(e.mul(e.ONE,n),t),u=e.pow(s,o),l=e.pow(s,t);for(;!e.eql(l,e.ONE);){if(e.eql(l,e.ZERO))return e.ZERO;let t=1;for(let r=e.sqr(l);t<a&&!e.eql(r,e.ONE);t++)r=e.sqr(r);let r=e.pow(c,_s<<BigInt(a-t-1));c=e.sqr(r),u=e.mul(u,r),l=e.mul(l,c),a=t}return u}}function fCr(e){if(e%$ve===sCr){let t=(e+_s)/$ve;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}if(e%ygt===ggt){let t=(e-ggt)/ygt;return function(e,r){let n=e.mul(r,Y2),i=e.pow(n,t),o=e.mul(r,i),s=e.mul(e.mul(o,Y2),i),a=e.mul(o,e.sub(s,e.ONE));if(!e.eql(e.sqr(a),r))throw new Error("Cannot find square root");return a}}return lCr(e)}var dCr=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function e1e(e){return gx(e,dCr.reduce(((e,t)=>(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function hCr(e,t,r){if(r<Va)throw new Error("Expected power > 0");if(r===Va)return e.ONE;if(r===_s)return t;let n=e.ONE,i=t;for(;r>Va;)r&_s&&(n=e.mul(n,i)),i=e.sqr(i),r>>=_s;return n}function pCr(e,t){let r=new Array(t.length),n=t.reduce(((t,n,i)=>e.is0(n)?t:(r[i]=t,e.mul(t,n))),e.ONE),i=e.inv(n);return t.reduceRight(((t,n,i)=>e.is0(n)?t:(r[i]=e.mul(t,r[i]),e.mul(t,n))),i),r}function t1e(e,t){let r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function mgt(e,t,r=!1,n={}){if(e<=Va)throw new Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:i,nByteLength:o}=t1e(e,t);if(o>2048)throw new Error("Field lengths over 2048 bytes are not supported");let s=fCr(e),a=Object.freeze({ORDER:e,BITS:i,BYTES:o,MASK:uR(i),ZERO:Va,ONE:_s,create:t=>$u(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("Invalid field element: expected bigint, got "+typeof t);return Va<=t&&t<e},is0:e=>e===Va,isOdd:e=>(e&_s)===_s,neg:t=>$u(-t,e),eql:(e,t)=>e===t,sqr:t=>$u(t*t,e),add:(t,r)=>$u(t+r,e),sub:(t,r)=>$u(t-r,e),mul:(t,r)=>$u(t*r,e),pow:(e,t)=>hCr(a,e,t),div:(t,r)=>$u(t*EV(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>EV(t,e),sqrt:n.sqrt||(e=>s(a,e)),invertBatch:e=>pCr(a,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>r?AV(e,o):px(e,o),fromBytes:e=>{if(e.length!==o)throw new Error(`Fp.fromBytes: expected ${o}, got ${e.length}`);return r?xV(e):Nb(e)}});return Object.freeze(a)}function bgt(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");let t=e.toString(2).length;return Math.ceil(t/8)}function r1e(e){let t=bgt(e);return t+Math.ceil(t/2)}function vgt(e,t,r=!1){let n=e.length,i=bgt(t),o=r1e(t);if(n<16||n<o||n>1024)throw new Error(`expected ${o}-1024 bytes of input, got ${n}`);let s=$u(r?Nb(e):xV(e),t-_s)+_s;return r?AV(s,i):px(s,i)}m(),m();var yCr=BigInt(0),n1e=BigInt(1);function wgt(e,t){let r=(e,t)=>{let r=t.negate();return e?r:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:r,unsafeLadder(t,r){let n=e.ZERO,i=t;for(;r>yCr;)r&n1e&&(n=n.add(i)),i=i.double(),r>>=n1e;return n},precomputeWindow(e,t){let{windows:r,windowSize:i}=n(t),o=[],s=e,a=s;for(let e=0;e<r;e++){a=s,o.push(a);for(let e=1;e<i;e++)a=a.add(s),o.push(a);s=a.double()}return o},wNAF(t,i,o){let{windows:s,windowSize:a}=n(t),c=e.ZERO,u=e.BASE,l=BigInt(2**t-1),d=2**t,h=BigInt(t);for(let e=0;e<s;e++){let t=e*a,n=Number(o&l);o>>=h,n>a&&(n-=d,o+=n1e);let s=t,f=t+Math.abs(n)-1,p=e%2!=0,g=n<0;0===n?u=u.add(r(p,i[s])):c=c.add(r(g,i[f]))}return{p:c,f:u}},wNAFCached(e,t,r,n){let i=e._WINDOW_SIZE||1,o=t.get(e);return o||(o=this.precomputeWindow(e,i),1!==i&&t.set(e,n(o))),this.wNAF(i,o,r)}}}function i1e(e){return e1e(e.Fp),gx(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...t1e(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}function mCr(e){let t=i1e(e);gx(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:r,Fp:n,a:i}=t;if(r){if(!n.eql(i,n.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}var{bytesToNumberBE:bCr,hexToBytes:vCr}=Zve,Q2={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:t}=Q2;if(e.length<2||2!==e[0])throw new t("Invalid signature integer tag");let r=e[1],n=e.subarray(2,r+2);if(!r||n.length!==r)throw new t("Invalid signature integer: wrong length");if(128&n[0])throw new t("Invalid signature integer: negative");if(0===n[0]&&!(128&n[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:bCr(n),l:e.subarray(r+2)}},toSig(e){let{Err:t}=Q2,r="string"==typeof e?vCr(e):e;if(!(r instanceof Uint8Array))throw new Error("ui8a expected");let n=r.length;if(n<2||48!=r[0])throw new t("Invalid signature tag");if(r[1]!==n-2)throw new t("Invalid signature: incorrect length");let{d:i,l:o}=Q2._parseInt(r.subarray(2)),{d:s,l:a}=Q2._parseInt(o);if(a.length)throw new t("Invalid signature: left bytes after parsing");return{r:i,s:s}},hexFromSig(e){let t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,r=e=>{let t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(r(e.s)),i=t(r(e.r)),o=n.length/2,s=i.length/2,a=r(o),c=r(s);return`30${r(s+o+4)}02${c}${i}02${a}${n}`}},Db=BigInt(0),Hh=BigInt(1),bkn=BigInt(2),xgt=BigInt(3),vkn=BigInt(4);function wCr(e){let t=mCr(e),{Fp:r}=t,n=t.toBytes||((e,t,n)=>{let i=t.toAffine();return rC(Uint8Array.from([4]),r.toBytes(i.x),r.toBytes(i.y))}),i=t.fromBytes||(e=>{let t=e.subarray(1);return{x:r.fromBytes(t.subarray(0,r.BYTES)),y:r.fromBytes(t.subarray(r.BYTES,2*r.BYTES))}});function o(e){let{a:n,b:i}=t,o=r.sqr(e),s=r.mul(o,e);return r.add(r.add(s,r.mul(e,n)),i)}if(!r.eql(r.sqr(t.Gy),o(t.Gx)))throw new Error("bad generator point: equation left != right");function s(e){return"bigint"==typeof e&&Db<e&&e<t.n}function a(e){if(!s(e))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function c(e){let r,{allowedPrivateKeyLengths:n,nByteLength:i,wrapPrivateKey:o,n:s}=t;if(n&&"bigint"!=typeof e){if(e instanceof Uint8Array&&(e=J2(e)),"string"!=typeof e||!n.includes(e.length))throw new Error("Invalid key");e=e.padStart(2*i,"0")}try{r="bigint"==typeof e?e:Nb(Dd("private key",e,i))}catch{throw new Error(`private key must be ${i} bytes, hex or bigint, not ${typeof e}`)}return o&&(r=$u(r,s)),a(r),r}let u=new Map;function l(e){if(!(e instanceof d))throw new Error("ProjectivePoint expected")}class d{constructor(e,t,n){if(this.px=e,this.py=t,this.pz=n,null==e||!r.isValid(e))throw new Error("x required");if(null==t||!r.isValid(t))throw new Error("y required");if(null==n||!r.isValid(n))throw new Error("z required")}static fromAffine(e){let{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw new Error("invalid affine point");if(e instanceof d)throw new Error("projective point not allowed");let i=e=>r.eql(e,r.ZERO);return i(t)&&i(n)?d.ZERO:new d(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(d.fromAffine)}static fromHex(e){let t=d.fromAffine(i(Dd("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return d.BASE.multiply(c(e))}_setWindowSize(e){this._WINDOW_SIZE=e,u.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!r.is0(this.py))return;throw new Error("bad point: ZERO")}let{x:e,y:n}=this.toAffine();if(!r.isValid(e)||!r.isValid(n))throw new Error("bad point: x or y not FE");let i=r.sqr(n),s=o(e);if(!r.eql(i,s))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){l(e);let{px:t,py:n,pz:i}=this,{px:o,py:s,pz:a}=e,c=r.eql(r.mul(t,a),r.mul(o,i)),u=r.eql(r.mul(n,a),r.mul(s,i));return c&&u}negate(){return new d(this.px,r.neg(this.py),this.pz)}double(){let{a:e,b:n}=t,i=r.mul(n,xgt),{px:o,py:s,pz:a}=this,c=r.ZERO,u=r.ZERO,l=r.ZERO,h=r.mul(o,o),f=r.mul(s,s),p=r.mul(a,a),g=r.mul(o,s);return g=r.add(g,g),l=r.mul(o,a),l=r.add(l,l),c=r.mul(e,l),u=r.mul(i,p),u=r.add(c,u),c=r.sub(f,u),u=r.add(f,u),u=r.mul(c,u),c=r.mul(g,c),l=r.mul(i,l),p=r.mul(e,p),g=r.sub(h,p),g=r.mul(e,g),g=r.add(g,l),l=r.add(h,h),h=r.add(l,h),h=r.add(h,p),h=r.mul(h,g),u=r.add(u,h),p=r.mul(s,a),p=r.add(p,p),h=r.mul(p,g),c=r.sub(c,h),l=r.mul(p,f),l=r.add(l,l),l=r.add(l,l),new d(c,u,l)}add(e){l(e);let{px:n,py:i,pz:o}=this,{px:s,py:a,pz:c}=e,u=r.ZERO,h=r.ZERO,f=r.ZERO,p=t.a,g=r.mul(t.b,xgt),y=r.mul(n,s),m=r.mul(i,a),b=r.mul(o,c),w=r.add(n,i),v=r.add(s,a);w=r.mul(w,v),v=r.add(y,m),w=r.sub(w,v),v=r.add(n,o);let A=r.add(s,c);return v=r.mul(v,A),A=r.add(y,b),v=r.sub(v,A),A=r.add(i,o),u=r.add(a,c),A=r.mul(A,u),u=r.add(m,b),A=r.sub(A,u),f=r.mul(p,v),u=r.mul(g,b),f=r.add(u,f),u=r.sub(m,f),f=r.add(m,f),h=r.mul(u,f),m=r.add(y,y),m=r.add(m,y),b=r.mul(p,b),v=r.mul(g,v),m=r.add(m,b),b=r.sub(y,b),b=r.mul(p,b),v=r.add(v,b),y=r.mul(m,v),h=r.add(h,y),y=r.mul(A,v),u=r.mul(w,u),u=r.sub(u,y),y=r.mul(w,m),f=r.mul(A,f),f=r.add(f,y),new d(u,h,f)}subtract(e){return this.add(e.negate())}is0(){return this.equals(d.ZERO)}wNAF(e){return f.wNAFCached(this,u,e,(e=>{let t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(d.fromAffine)}))}multiplyUnsafe(e){let n=d.ZERO;if(e===Db)return n;if(a(e),e===Hh)return this;let{endo:i}=t;if(!i)return f.unsafeLadder(this,e);let{k1neg:o,k1:s,k2neg:c,k2:u}=i.splitScalar(e),l=n,h=n,p=this;for(;s>Db||u>Db;)s&Hh&&(l=l.add(p)),u&Hh&&(h=h.add(p)),p=p.double(),s>>=Hh,u>>=Hh;return o&&(l=l.negate()),c&&(h=h.negate()),h=new d(r.mul(h.px,i.beta),h.py,h.pz),l.add(h)}multiply(e){a(e);let n,i,o=e,{endo:s}=t;if(s){let{k1neg:e,k1:t,k2neg:a,k2:c}=s.splitScalar(o),{p:u,f:l}=this.wNAF(t),{p:h,f:p}=this.wNAF(c);u=f.constTimeNegate(e,u),h=f.constTimeNegate(a,h),h=new d(r.mul(h.px,s.beta),h.py,h.pz),n=u.add(h),i=l.add(p)}else{let{p:e,f:t}=this.wNAF(o);n=e,i=t}return d.normalizeZ([n,i])[0]}multiplyAndAddUnsafe(e,t,r){let n=d.BASE,i=(e,t)=>t!==Db&&t!==Hh&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=i(this,t).add(i(e,r));return o.is0()?void 0:o}toAffine(e){let{px:t,py:n,pz:i}=this,o=this.is0();null==e&&(e=o?r.ONE:r.inv(i));let s=r.mul(t,e),a=r.mul(n,e),c=r.mul(i,e);if(o)return{x:r.ZERO,y:r.ZERO};if(!r.eql(c,r.ONE))throw new Error("invZ was invalid");return{x:s,y:a}}isTorsionFree(){let{h:e,isTorsionFree:r}=t;if(e===Hh)return!0;if(r)return r(d,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:r}=t;return e===Hh?this:r?r(d,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),n(d,this,e)}toHex(e=!0){return J2(this.toRawBytes(e))}}d.BASE=new d(t.Gx,t.Gy,r.ONE),d.ZERO=new d(r.ZERO,r.ONE,r.ZERO);let h=t.nBitLength,f=wgt(d,t.endo?Math.ceil(h/2):h);return{CURVE:t,ProjectivePoint:d,normPrivateKeyToScalar:c,weierstrassEquation:o,isWithinCurveOrder:s}}function xCr(e){let t=i1e(e);return gx(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function Agt(e){let t=xCr(e),{Fp:r,n:n}=t,i=r.BYTES+1,o=2*r.BYTES+1;function s(e){return $u(e,n)}function a(e){return EV(e,n)}let{ProjectivePoint:c,normPrivateKeyToScalar:u,weierstrassEquation:l,isWithinCurveOrder:d}=wCr({...t,toBytes(e,t,n){let i=t.toAffine(),o=r.toBytes(i.x),s=rC;return n?s(Uint8Array.from([t.hasEvenY()?2:3]),o):s(Uint8Array.from([4]),o,r.toBytes(i.y))},fromBytes(e){let t=e.length,n=e[0],s=e.subarray(1);if(t!==i||2!==n&&3!==n){if(t===o&&4===n){return{x:r.fromBytes(s.subarray(0,r.BYTES)),y:r.fromBytes(s.subarray(r.BYTES,2*r.BYTES))}}throw new Error(`Point of length ${t} was invalid. Expected ${i} compressed bytes or ${o} uncompressed bytes`)}{let e=Nb(s);if(!function(e){return Db<e&&e<r.ORDER}(e))throw new Error("Point is not on curve");let t=l(e),i=r.sqrt(t);return!(1&~n)!==((i&Hh)===Hh)&&(i=r.neg(i)),{x:e,y:i}}}}),h=e=>J2(px(e,t.nByteLength));function f(e){return e>n>>Hh}let p=(e,t,r)=>Nb(e.slice(t,r));class g{constructor(e,t,r){this.r=e,this.s=t,this.recovery=r,this.assertValidity()}static fromCompact(e){let r=t.nByteLength;return e=Dd("compactSignature",e,2*r),new g(p(e,0,r),p(e,r,2*r))}static fromDER(e){let{r:t,s:r}=Q2.toSig(Dd("DER",e));return new g(t,r)}assertValidity(){if(!d(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!d(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new g(this.r,this.s,e)}recoverPublicKey(e){let{r:n,s:i,recovery:o}=this,u=w(Dd("msgHash",e));if(null==o||![0,1,2,3].includes(o))throw new Error("recovery id invalid");let l=2===o||3===o?n+t.n:n;if(l>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");let d=1&o?"03":"02",f=c.fromHex(d+h(l)),p=a(l),g=s(-u*p),y=s(i*p),m=c.BASE.multiplyAndAddUnsafe(f,g,y);if(!m)throw new Error("point at infinify");return m.assertValidity(),m}hasHighS(){return f(this.s)}normalizeS(){return this.hasHighS()?new g(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return X2(this.toDERHex())}toDERHex(){return Q2.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return X2(this.toCompactHex())}toCompactHex(){return h(this.r)+h(this.s)}}let y={isValidPrivateKey(e){try{return u(e),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let e=r1e(t.n);return vgt(t.randomBytes(e),t.n)},precompute:(e=8,t=c.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)};function m(e){let t=e instanceof Uint8Array,r="string"==typeof e,n=(t||r)&&e.length;return t?n===i||n===o:r?n===2*i||n===2*o:e instanceof c}let b=t.bits2int||function(e){let r=Nb(e),n=8*e.length-t.nBitLength;return n>0?r>>BigInt(n):r},w=t.bits2int_modN||function(e){return s(b(e))},v=uR(t.nBitLength);function A(e){if("bigint"!=typeof e)throw new Error("bigint expected");if(!(Db<=e&&e<v))throw new Error(`bigint expected < 2^${t.nBitLength}`);return px(e,t.nByteLength)}function E(e,n,i=T){if(["recovered","canonical"].some((e=>e in i)))throw new Error("sign() legacy options not supported");let{hash:o,randomBytes:l}=t,{lowS:h,prehash:p,extraEntropy:y}=i;null==h&&(h=!0),e=Dd("msgHash",e),p&&(e=Dd("prehashed msgHash",o(e)));let m=w(e),v=u(n),E=[A(v),A(m)];if(null!=y){let e=!0===y?l(r.BYTES):y;E.push(Dd("extraEntropy",e))}let C=rC(...E),S=m;return{seed:C,k2sig:function(e){let t=b(e);if(!d(t))return;let r=a(t),n=c.BASE.multiply(t).toAffine(),i=s(n.x);if(i===Db)return;let o=s(r*s(S+i*v));if(o===Db)return;let u=(n.x===i?0:2)|Number(n.y&Hh),l=o;return h&&f(o)&&(l=function(e){return f(e)?s(-e):e}(o),u^=1),new g(i,l,u)}}}let T={lowS:t.lowS,prehash:!1},C={lowS:t.lowS,prehash:!1};return c.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return c.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,r=!0){if(m(e))throw new Error("first arg must be private key");if(!m(t))throw new Error("second arg must be public key");return c.fromHex(t).multiply(u(e)).toRawBytes(r)},sign:function(e,r,n=T){let{seed:i,k2sig:o}=E(e,r,n),s=t;return Qve(s.hash.outputLen,s.nByteLength,s.hmac)(i,o)},verify:function(e,r,n,i=C){let o=e;if(r=Dd("msgHash",r),n=Dd("publicKey",n),"strict"in i)throw new Error("options.strict was renamed to lowS");let u,l,{lowS:d,prehash:h}=i;try{if("string"==typeof o||o instanceof Uint8Array)try{u=g.fromDER(o)}catch(e){if(!(e instanceof Q2.Err))throw e;u=g.fromCompact(o)}else{if("object"!=typeof o||"bigint"!=typeof o.r||"bigint"!=typeof o.s)throw new Error("PARSE");{let{r:e,s:t}=o;u=new g(e,t)}}l=c.fromHex(n)}catch(e){if("PARSE"===e.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(d&&u.hasHighS())return!1;h&&(r=t.hash(r));let{r:f,s:p}=u,y=w(r),m=a(p),b=s(y*m),v=s(f*m),A=c.BASE.multiplyAndAddUnsafe(l,b,v)?.toAffine();return!!A&&s(A.x)===f},ProjectivePoint:c,Signature:g,utils:y}}function ACr(e){return{hash:e,hmac:(t,...r)=>V2(e,t,ppt(...r)),randomBytes:ypt}}function Egt(e,t){let r=t=>Agt({...e,...ACr(t)});return Object.freeze({...r(t),create:r})}m();var Cgt=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Tgt=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),ECr=BigInt(1),o1e=BigInt(2),Sgt=(e,t)=>(e+t/o1e)/t;function TCr(e){let t=Cgt,r=BigInt(3),n=BigInt(6),i=BigInt(11),o=BigInt(22),s=BigInt(23),a=BigInt(44),c=BigInt(88),u=e*e*e%t,l=u*u*e%t,d=Ud(l,r,t)*l%t,h=Ud(d,r,t)*l%t,f=Ud(h,o1e,t)*u%t,p=Ud(f,i,t)*f%t,g=Ud(p,o,t)*p%t,y=Ud(g,a,t)*g%t,m=Ud(y,c,t)*y%t,b=Ud(m,a,t)*g%t,w=Ud(b,r,t)*l%t,v=Ud(w,s,t)*p%t,A=Ud(v,n,t)*u%t,E=Ud(A,o1e,t);if(!s1e.eql(s1e.sqr(E),e))throw new Error("Cannot find square root");return E}var s1e=mgt(Cgt,void 0,void 0,{sqrt:TCr}),Ub=Egt({a:BigInt(0),b:BigInt(7),Fp:s1e,n:Tgt,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=Tgt,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-ECr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=r,s=BigInt("0x100000000000000000000000000000000"),a=Sgt(o*e,t),c=Sgt(-n*e,t),u=$u(e-a*r-c*i,t),l=$u(-a*n-c*o,t),d=u>s,h=l>s;if(d&&(u=t-u),h&&(l=t-l),u>s||l>s)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:u,k2neg:h,k2:l}}}},kb),Bkn=BigInt(0),Mkn=Ub.ProjectivePoint;m(),m(),m();var a1e="0x0000000000000000000000000000000000000000";m();var TV="0x0000000000000000000000000000000000000000000000000000000000000000";m();var c1e="Ethereum Signed Message:\n",Igt=BigInt(0),Ogt=BigInt(1),Pgt=BigInt(2),Bgt=BigInt(27),Mgt=BigInt(28),SV=BigInt(35),nC={};function kgt(e){return Ul(ta(e),32)}var Rs=class e{#e;#t;#r;#n;get r(){return this.#e}set r(e){Te(32===Ob(e),"invalid r","value",e),this.#e=Ct(e)}get s(){return this.#t}set s(e){Te(32===Ob(e),"invalid s","value",e);let t=Ct(e);Te(parseInt(t.substring(0,3))<8,"non-canonical s","value",t),this.#t=t}get v(){return this.#r}set v(e){let t=ko(e,"value");Te(27===t||28===t,"invalid v","v",e),this.#r=t}get networkV(){return this.#n}get legacyChainId(){let t=this.networkV;return null==t?null:e.getChainId(t)}get yParity(){return 27===this.v?0:1}get yParityAndS(){let e=zt(this.s);return this.yParity&&(e[0]|=128),Ct(e)}get compactSerialized(){return xn([this.r,this.yParityAndS])}get serialized(){return xn([this.r,this.s,this.yParity?"0x1c":"0x1b"])}constructor(e,t,r,n){Qu(e,nC,"Signature"),this.#e=t,this.#t=r,this.#r=n,this.#n=null}[Symbol.for("nodejs.util.inspect.custom")](){return`Signature { r: "${this.r}", s: "${this.s}", yParity: ${this.yParity}, networkV: ${this.networkV} }`}clone(){let t=new e(nC,this.r,this.s,this.v);return this.networkV&&(t.#n=this.networkV),t}toJSON(){let e=this.networkV;return{_type:"signature",networkV:null!=e?e.toString():null,r:this.r,s:this.s,v:this.v}}static getChainId(e){let t=Mn(e,"v");return t==Bgt||t==Mgt?Igt:(Te(t>=SV,"invalid EIP-155 v","v",e),(t-SV)/Pgt)}static getChainIdV(e,t){return Mn(e)*Pgt+BigInt(35+t-27)}static getNormalizedV(e){let t=Mn(e);return t===Igt||t===Bgt?27:t===Ogt||t===Mgt?28:(Te(t>=SV,"invalid v","v",e),t&Ogt?27:28)}static from(t){function r(e,r){Te(e,r,"signature",t)}if(null==t)return new e(nC,TV,TV,27);if("string"==typeof t){let n=zt(t,"signature");if(64===n.length){let t=Ct(n.slice(0,32)),r=n.slice(32,64),i=128&r[0]?28:27;return r[0]&=127,new e(nC,t,Ct(r),i)}if(65===n.length){let t=Ct(n.slice(0,32)),i=n.slice(32,64);r(!(128&i[0]),"non-canonical s");let o=e.getNormalizedV(n[64]);return new e(nC,t,Ct(i),o)}r(!1,"invalid raw signature length")}if(t instanceof e)return t.clone();let n=t.r;r(null!=n,"missing r");let i=kgt(n),o=function(e,t){if(null!=e)return kgt(e);if(null!=t){r(cs(t,32),"invalid yParityAndS");let e=zt(t);return e[0]&=127,Ct(e)}r(!1,"missing s")}(t.s,t.yParityAndS);r(!(128&zt(o)[0]),"non-canonical s");let{networkV:s,v:a}=function(t,n,i){if(null!=t){let r=Mn(t);return{networkV:r>=SV?r:void 0,v:e.getNormalizedV(r)}}if(null!=n)return r(cs(n,32),"invalid yParityAndS"),{v:128&zt(n)[0]?28:27};if(null!=i){switch(ko(i,"sig.yParity")){case 0:return{v:27};case 1:return{v:28}}r(!1,"invalid yParity")}r(!1,"missing v")}(t.v,t.yParityAndS,t.yParity),c=new e(nC,i,o,a);return s&&(c.#n=s),r(null==t.yParity||ko(t.yParity,"sig.yParity")===c.yParity,"yParity mismatch"),r(null==t.yParityAndS||t.yParityAndS===c.yParityAndS,"yParityAndS mismatch"),c}},Ns=class e{#e;constructor(e){Te(32===Ob(e),"invalid private key","privateKey","[REDACTED]"),this.#e=Ct(e)}get privateKey(){return this.#e}get publicKey(){return e.computePublicKey(this.#e)}get compressedPublicKey(){return e.computePublicKey(this.#e,!0)}sign(e){Te(32===Ob(e),"invalid digest length","digest",e);let t=Ub.sign(as(e),as(this.#e),{lowS:!0});return Rs.from({r:Ga(t.r,32),s:Ga(t.s,32),v:t.recovery?28:27})}computeSharedSecret(t){let r=e.computePublicKey(t);return Ct(Ub.getSharedSecret(as(this.#e),zt(r),!1))}static computePublicKey(e,t){let r=zt(e,"key");if(32===r.length){return Ct(Ub.getPublicKey(r,!!t))}if(64===r.length){let e=new Uint8Array(65);e[0]=4,e.set(r,1),r=e}return Ct(Ub.ProjectivePoint.fromHex(r).toRawBytes(t))}static recoverPublicKey(e,t){Te(32===Ob(e),"invalid digest length","digest",e);let r=Rs.from(t),n=Ub.Signature.fromCompact(as(xn([r.r,r.s])));n=n.addRecoveryBit(r.yParity);let i=n.recoverPublicKey(as(e));return Te(null!=i,"invalid signautre for digest","signature",t),"0x"+i.toHex(!1)}static addPoints(t,r,n){let i=Ub.ProjectivePoint.fromHex(e.computePublicKey(t).substring(2)),o=Ub.ProjectivePoint.fromHex(e.computePublicKey(r).substring(2));return"0x"+i.add(o).toHex(!!n)}},SCr=BigInt(0),CCr=BigInt(36);function _gt(e){let t=(e=e.toLowerCase()).substring(2).split(""),r=new Uint8Array(40);for(let e=0;e<40;e++)r[e]=t[e].charCodeAt(0);let n=zt(Fr(r));for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&(t[e]=t[e].toUpperCase()),(15&n[e>>1])>=8&&(t[e+1]=t[e+1].toUpperCase());return"0x"+t.join("")}var u1e={};for(let e=0;e<10;e++)u1e[String(e)]=String(e);for(let e=0;e<26;e++)u1e[String.fromCharCode(65+e)]=String(10+e);var Rgt=15;function ICr(e){let t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((e=>u1e[e])).join("");for(;t.length>=Rgt;){let e=t.substring(0,Rgt);t=parseInt(e,10)%97+t.substring(e.length)}let r=String(98-parseInt(t,10)%97);for(;r.length<2;)r="0"+r;return r}var OCr=function(){let e={};for(let t=0;t<36;t++){e["0123456789abcdefghijklmnopqrstuvwxyz"[t]]=BigInt(t)}return e}();function PCr(e){e=e.toLowerCase();let t=SCr;for(let r=0;r<e.length;r++)t=t*CCr+OCr[e[r]];return t}function Ds(e){if(Te("string"==typeof e,"invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/)){e.startsWith("0x")||(e="0x"+e);let t=_gt(e);return Te(!e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)||t===e,"bad address checksum","address",e),t}if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){Te(e.substring(2,4)===ICr(e),"bad icap checksum","address",e);let t=PCr(e.substring(4)).toString(16);for(;t.length<40;)t="0"+t;return _gt("0x"+t)}Te(!1,"invalid address","address",e)}function Ngt(e){return e&&"function"==typeof e.getAddress}async function l1e(e,t){let r=await t;return(null==r||"0x0000000000000000000000000000000000000000"===r)&&(Ar("string"!=typeof e,"unconfigured name","UNCONFIGURED_NAME",{value:e}),Te(!1,"invalid AddressLike value; did not resolve to a value address","target",e)),Ds(r)}function Z2(e,t){return"string"==typeof e?e.match(/^0x[0-9a-f]{40}$/i)?Ds(e):(Ar(null!=t,"ENS resolution requires a provider","UNSUPPORTED_OPERATION",{operation:"resolveName"}),l1e(e,t.resolveName(e))):Ngt(e)?l1e(e,e.getAddress()):e&&"function"==typeof e.then?l1e(e,e):void Te(!1,"unsupported addressable value","target",e)}m(),m();var Sp={};function vr(e,t){let r=!1;return t<0&&(r=!0,t*=-1),new fs(Sp,`${r?"":"u"}int${t}`,e,{signed:r,width:t})}function Fi(e,t){return new fs(Sp,`bytes${t||""}`,e,{size:t})}var Dgt=Symbol.for("_ethers_typed"),fs=class e{type;value;#e;_typedSymbol;constructor(e,t,r,n){null==n&&(n=null),Qu(Sp,e,"Typed"),Ur(this,{_typedSymbol:Dgt,type:t,value:r}),this.#e=n,this.format()}format(){if("array"===this.type)throw new Error("");if("dynamicArray"===this.type)throw new Error("");return"tuple"===this.type?`tuple(${this.value.map((e=>e.format())).join(",")})`:this.type}defaultValue(){return 0}minValue(){return 0}maxValue(){return 0}isBigInt(){return!!this.type.match(/^u?int[0-9]+$/)}isData(){return this.type.startsWith("bytes")}isString(){return"string"===this.type}get tupleName(){if("tuple"!==this.type)throw TypeError("not a tuple");return this.#e}get arrayLength(){if("array"!==this.type)throw TypeError("not an array");return!0===this.#e?-1:!1===this.#e?this.value.length:null}static from(t,r){return new e(Sp,t,r)}static uint8(e){return vr(e,8)}static uint16(e){return vr(e,16)}static uint24(e){return vr(e,24)}static uint32(e){return vr(e,32)}static uint40(e){return vr(e,40)}static uint48(e){return vr(e,48)}static uint56(e){return vr(e,56)}static uint64(e){return vr(e,64)}static uint72(e){return vr(e,72)}static uint80(e){return vr(e,80)}static uint88(e){return vr(e,88)}static uint96(e){return vr(e,96)}static uint104(e){return vr(e,104)}static uint112(e){return vr(e,112)}static uint120(e){return vr(e,120)}static uint128(e){return vr(e,128)}static uint136(e){return vr(e,136)}static uint144(e){return vr(e,144)}static uint152(e){return vr(e,152)}static uint160(e){return vr(e,160)}static uint168(e){return vr(e,168)}static uint176(e){return vr(e,176)}static uint184(e){return vr(e,184)}static uint192(e){return vr(e,192)}static uint200(e){return vr(e,200)}static uint208(e){return vr(e,208)}static uint216(e){return vr(e,216)}static uint224(e){return vr(e,224)}static uint232(e){return vr(e,232)}static uint240(e){return vr(e,240)}static uint248(e){return vr(e,248)}static uint256(e){return vr(e,256)}static uint(e){return vr(e,256)}static int8(e){return vr(e,-8)}static int16(e){return vr(e,-16)}static int24(e){return vr(e,-24)}static int32(e){return vr(e,-32)}static int40(e){return vr(e,-40)}static int48(e){return vr(e,-48)}static int56(e){return vr(e,-56)}static int64(e){return vr(e,-64)}static int72(e){return vr(e,-72)}static int80(e){return vr(e,-80)}static int88(e){return vr(e,-88)}static int96(e){return vr(e,-96)}static int104(e){return vr(e,-104)}static int112(e){return vr(e,-112)}static int120(e){return vr(e,-120)}static int128(e){return vr(e,-128)}static int136(e){return vr(e,-136)}static int144(e){return vr(e,-144)}static int152(e){return vr(e,-152)}static int160(e){return vr(e,-160)}static int168(e){return vr(e,-168)}static int176(e){return vr(e,-176)}static int184(e){return vr(e,-184)}static int192(e){return vr(e,-192)}static int200(e){return vr(e,-200)}static int208(e){return vr(e,-208)}static int216(e){return vr(e,-216)}static int224(e){return vr(e,-224)}static int232(e){return vr(e,-232)}static int240(e){return vr(e,-240)}static int248(e){return vr(e,-248)}static int256(e){return vr(e,-256)}static int(e){return vr(e,-256)}static bytes1(e){return Fi(e,1)}static bytes2(e){return Fi(e,2)}static bytes3(e){return Fi(e,3)}static bytes4(e){return Fi(e,4)}static bytes5(e){return Fi(e,5)}static bytes6(e){return Fi(e,6)}static bytes7(e){return Fi(e,7)}static bytes8(e){return Fi(e,8)}static bytes9(e){return Fi(e,9)}static bytes10(e){return Fi(e,10)}static bytes11(e){return Fi(e,11)}static bytes12(e){return Fi(e,12)}static bytes13(e){return Fi(e,13)}static bytes14(e){return Fi(e,14)}static bytes15(e){return Fi(e,15)}static bytes16(e){return Fi(e,16)}static bytes17(e){return Fi(e,17)}static bytes18(e){return Fi(e,18)}static bytes19(e){return Fi(e,19)}static bytes20(e){return Fi(e,20)}static bytes21(e){return Fi(e,21)}static bytes22(e){return Fi(e,22)}static bytes23(e){return Fi(e,23)}static bytes24(e){return Fi(e,24)}static bytes25(e){return Fi(e,25)}static bytes26(e){return Fi(e,26)}static bytes27(e){return Fi(e,27)}static bytes28(e){return Fi(e,28)}static bytes29(e){return Fi(e,29)}static bytes30(e){return Fi(e,30)}static bytes31(e){return Fi(e,31)}static bytes32(e){return Fi(e,32)}static address(t){return new e(Sp,"address",t)}static bool(t){return new e(Sp,"bool",!!t)}static bytes(t){return new e(Sp,"bytes",t)}static string(t){return new e(Sp,"string",t)}static array(e,t){throw new Error("not implemented yet")}static tuple(e,t){throw new Error("not implemented yet")}static overrides(t){return new e(Sp,"overrides",Object.assign({},t))}static isTyped(e){return e&&"object"==typeof e&&"_typedSymbol"in e&&e._typedSymbol===Dgt}static dereference(t,r){if(e.isTyped(t)){if(t.type!==r)throw new Error(`invalid type: expecetd ${r}, got ${t.type}`);return t.value}return t}},CV=class extends va{constructor(e){super("address","address",e,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(e,t){let r=fs.dereference(t,"string");try{r=Ds(r)}catch(e){return this._throwError(e.message,t)}return e.writeValue(r)}decode(e){return Ds(Ga(e.readValue(),20))}};m(),m();var IV=class extends va{coder;constructor(e){super(e.name,e.type,"_",e.dynamic),this.coder=e}defaultValue(){return this.coder.defaultValue()}encode(e,t){return this.coder.encode(e,t)}decode(e){return this.coder.decode(e)}};function f1e(e,t,r){let n=[];if(Array.isArray(r))n=r;else if(r&&"object"==typeof r){let e={};n=t.map((t=>{let n=t.localName;return Ar(n,"cannot encode object for signature with missing names","INVALID_ARGUMENT",{argument:"values",info:{coder:t},value:r}),Ar(!e[n],"cannot encode object for signature with duplicate names","INVALID_ARGUMENT",{argument:"values",info:{coder:t},value:r}),e[n]=!0,r[n]}))}else Te(!1,"invalid tuple value","tuple",r);Te(t.length===n.length,"types/value length mismatch","tuple",r);let i=new G2,o=new G2,s=[];t.forEach(((e,t)=>{let r=n[t];if(e.dynamic){let t=o.length;e.encode(o,r);let n=i.writeUpdatableValue();s.push((e=>{n(e+t)}))}else e.encode(i,r)})),s.forEach((e=>{e(i.length)}));let a=e.appendWriter(i);return a+=e.appendWriter(o),a}function d1e(e,t){let r=[],n=[],i=e.subReader(0);return t.forEach((t=>{let o=null;if(t.dynamic){let r=e.readIndex(),n=i.subReader(r);try{o=t.decode(n)}catch(e){if(j8(e,"BUFFER_OVERRUN"))throw e;o=e,o.baseType=t.name,o.name=t.localName,o.type=t.type}}else try{o=t.decode(e)}catch(e){if(j8(e,"BUFFER_OVERRUN"))throw e;o=e,o.baseType=t.name,o.name=t.localName,o.type=t.type}if(null==o)throw new Error("investigate");r.push(o),n.push(t.localName||null)})),Ap.fromItems(r,n)}var OV=class extends va{coder;length;constructor(e,t,r){super("array",e.type+"["+(t>=0?t:"")+"]",r,-1===t||e.dynamic),Ur(this,{coder:e,length:t})}defaultValue(){let e=this.coder.defaultValue(),t=[];for(let r=0;r<this.length;r++)t.push(e);return t}encode(e,t){let r=fs.dereference(t,"array");Array.isArray(r)||this._throwError("expected array value",r);let n=this.length;-1===n&&(n=r.length,e.writeValue(r.length)),V8(r.length,n,"coder array"+(this.localName?" "+this.localName:""));let i=[];for(let e=0;e<r.length;e++)i.push(this.coder);return f1e(e,i,r)}decode(e){let t=this.length;-1===t&&(t=e.readIndex(),Ar(t*nu<=e.dataLength,"insufficient data length","BUFFER_OVERRUN",{buffer:e.bytes,offset:t*nu,length:e.dataLength}));let r=[];for(let e=0;e<t;e++)r.push(new IV(this.coder));return d1e(e,r)}};m();var PV=class extends va{constructor(e){super("bool","bool",e,!1)}defaultValue(){return!1}encode(e,t){let r=fs.dereference(t,"bool");return e.writeValue(r?1:0)}decode(e){return!!e.readValue()}};m();var lR=class extends va{constructor(e,t){super(e,e,t,!0)}defaultValue(){return"0x"}encode(e,t){t=as(t);let r=e.writeValue(t.length);return r+=e.writeBytes(t),r}decode(e){return e.readBytes(e.readIndex(),!0)}},BV=class extends lR{constructor(e){super("bytes",e)}decode(e){return Ct(super.decode(e))}};m();var MV=class extends va{size;constructor(e,t){let r="bytes"+String(e);super(r,r,t,!1),Ur(this,{size:e},{size:"number"})}defaultValue(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)}encode(e,t){let r=as(fs.dereference(t,this.type));return r.length!==this.size&&this._throwError("incorrect data length",t),e.writeBytes(r)}decode(e){return Ct(e.readBytes(this.size))}};m();var BCr=new Uint8Array([]),kV=class extends va{constructor(e){super("null","",e,!1)}defaultValue(){return null}encode(e,t){return null!=t&&this._throwError("not null",t),e.writeBytes(BCr)}decode(e){return e.readBytes(0),null}};m();var MCr=BigInt(0),kCr=BigInt(1),_Cr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),_V=class extends va{size;signed;constructor(e,t,r){let n=(t?"int":"uint")+8*e;super(n,n,r,!1),Ur(this,{size:e,signed:t},{size:"number",signed:"boolean"})}defaultValue(){return 0}encode(e,t){let r=Mn(fs.dereference(t,this.type)),n=xp(_Cr,8*nu);if(this.signed){let e=xp(n,8*this.size-1);(r>e||r<-(e+kCr))&&this._throwError("value out-of-bounds",t),r=nx(r,8*nu)}else(r<MCr||r>xp(n,8*this.size))&&this._throwError("value out-of-bounds",t);return e.writeValue(r)}decode(e){let t=xp(e.readValue(),8*this.size);return this.signed&&(t=$G(t,8*this.size)),t}};m();var RV=class extends lR{constructor(e){super("string",e)}defaultValue(){return""}encode(e,t){return super.encode(e,us(fs.dereference(t,"string")))}decode(e){return Z8(super.decode(e))}};m();var $2=class extends va{coders;constructor(e,t){let r=!1,n=[];e.forEach((e=>{e.dynamic&&(r=!0),n.push(e.type)})),super("tuple","tuple("+n.join(",")+")",t,r),Ur(this,{coders:Object.freeze(e.slice())})}defaultValue(){let e=[];this.coders.forEach((t=>{e.push(t.defaultValue())}));let t=this.coders.reduce(((e,t)=>{let r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});return this.coders.forEach(((r,n)=>{let i=r.localName;!i||1!==t[i]||("length"===i&&(i="_length"),null==e[i]&&(e[i]=e[n]))})),Object.freeze(e)}encode(e,t){let r=fs.dereference(t,"tuple");return f1e(e,this.coders,r)}decode(e){return d1e(e,this.coders)}};function Ja(e){return Fr(us(e))}function h1e(e,t){return{address:Ds(e),storageKeys:t.map(((e,t)=>(Te(cs(e,32),"invalid slot",`storageKeys[${t}]`,e),e.toLowerCase())))}}function yx(e){if(Array.isArray(e))return e.map(((t,r)=>Array.isArray(t)?(Te(2===t.length,"invalid slot set",`value[${r}]`,t),h1e(t[0],t[1])):(Te(null!=t&&"object"==typeof t,"invalid address-slot set","value",e),h1e(t.address,t.storageKeys))));Te(null!=e&&"object"==typeof e,"invalid access list","value",e);let t=Object.keys(e).map((t=>{let r=e[t].reduce(((e,t)=>(e[t]=!0,e)),{});return h1e(t,Object.keys(r).sort())}));return t.sort(((e,t)=>e.address.localeCompare(t.address))),t}function mx(e){let t;return t="string"==typeof e?Ns.computePublicKey(e,!1):e.publicKey,Ds(Fr("0x"+t.substring(4)).substring(26))}function zf(e,t){return mx(Ns.recoverPublicKey(e,t))}m(),m(),m(),m(),m(),m(),m(),m();var Sc=BigInt(0),RCr=BigInt(2),NCr=BigInt(27),DCr=BigInt(28),UCr=BigInt(35),LCr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),p1e=131072;function Ugt(e,t){let r=e.toString(16);for(;r.length<2;)r="0"+r;return r+=ls(t).substring(4),"0x"+r}function NV(e){return"0x"===e?null:Ds(e)}function g1e(e,t){try{return yx(e)}catch(r){Te(!1,r.message,t,e)}}function fR(e,t){return"0x"===e?0:ko(e,t)}function ra(e,t){if("0x"===e)return Sc;let r=Mn(e,t);return Te(r<=LCr,"value exceeds uint size",t,r),r}function jo(e,t){let r=Mn(e,"value"),n=ta(r);return Te(n.length<=32,"value too large",`tx.${t}`,r),n}function y1e(e){return yx(e).map((e=>[e.address,e.storageKeys]))}function FCr(e,t){Te(Array.isArray(e),`invalid ${t}`,"value",e);for(let t=0;t<e.length;t++)Te(cs(e[t],32),"invalid ${ param } hash",`value[${t}]`,e[t]);return e}function WCr(e){let t=q2(e);Te(Array.isArray(t)&&(9===t.length||6===t.length),"invalid field count for legacy transaction","data",e);let r={type:0,nonce:fR(t[0],"nonce"),gasPrice:ra(t[1],"gasPrice"),gasLimit:ra(t[2],"gasLimit"),to:NV(t[3]),value:ra(t[4],"value"),data:Ct(t[5]),chainId:Sc};if(6===t.length)return r;let n=ra(t[6],"v"),i=ra(t[7],"r"),o=ra(t[8],"s");if(i===Sc&&o===Sc)r.chainId=n;else{let e=(n-UCr)/RCr;e<Sc&&(e=Sc),r.chainId=e,Te(e!==Sc||n===NCr||n===DCr,"non-canonical legacy v","v",t[6]),r.signature=Rs.from({r:Ul(t[7],32),s:Ul(t[8],32),v:n})}return r}function zCr(e,t){let r=[jo(e.nonce,"nonce"),jo(e.gasPrice||0,"gasPrice"),jo(e.gasLimit,"gasLimit"),e.to||"0x",jo(e.value,"value"),e.data],n=Sc;if(e.chainId!=Sc)n=Mn(e.chainId,"tx.chainId"),Te(!t||null==t.networkV||t.legacyChainId===n,"tx.chainId/sig.v mismatch","sig",t);else if(e.signature){let t=e.signature.legacyChainId;null!=t&&(n=t)}if(!t)return n!==Sc&&(r.push(ta(n)),r.push("0x"),r.push("0x")),Bb(r);let i=BigInt(27+t.yParity);return n!==Sc?i=Rs.getChainIdV(n,t.v):BigInt(t.v)!==i&&Te(!1,"tx.chainId/sig.v mismatch","sig",t),r.push(ta(i)),r.push(ta(t.r)),r.push(ta(t.s)),Bb(r)}function m1e(e,t){let r;try{if(r=fR(t[0],"yParity"),0!==r&&1!==r)throw new Error("bad yParity")}catch{Te(!1,"invalid yParity","yParity",t[0])}let n=Ul(t[1],32),i=Ul(t[2],32),o=Rs.from({r:n,s:i,yParity:r});e.signature=o}function KCr(e){let t=q2(zt(e).slice(1));Te(Array.isArray(t)&&(9===t.length||12===t.length),"invalid field count for transaction type: 2","data",Ct(e));let r={type:2,chainId:ra(t[0],"chainId"),nonce:fR(t[1],"nonce"),maxPriorityFeePerGas:ra(t[2],"maxPriorityFeePerGas"),maxFeePerGas:ra(t[3],"maxFeePerGas"),gasPrice:null,gasLimit:ra(t[4],"gasLimit"),to:NV(t[5]),value:ra(t[6],"value"),data:Ct(t[7]),accessList:g1e(t[8],"accessList")};return 9===t.length||m1e(r,t.slice(9)),r}function HCr(e,t){let r=[jo(e.chainId,"chainId"),jo(e.nonce,"nonce"),jo(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),jo(e.maxFeePerGas||0,"maxFeePerGas"),jo(e.gasLimit,"gasLimit"),e.to||"0x",jo(e.value,"value"),e.data,y1e(e.accessList||[])];return t&&(r.push(jo(t.yParity,"yParity")),r.push(ta(t.r)),r.push(ta(t.s))),xn(["0x02",Bb(r)])}function qCr(e){let t=q2(zt(e).slice(1));Te(Array.isArray(t)&&(8===t.length||11===t.length),"invalid field count for transaction type: 1","data",Ct(e));let r={type:1,chainId:ra(t[0],"chainId"),nonce:fR(t[1],"nonce"),gasPrice:ra(t[2],"gasPrice"),gasLimit:ra(t[3],"gasLimit"),to:NV(t[4]),value:ra(t[5],"value"),data:Ct(t[6]),accessList:g1e(t[7],"accessList")};return 8===t.length||m1e(r,t.slice(8)),r}function jCr(e,t){let r=[jo(e.chainId,"chainId"),jo(e.nonce,"nonce"),jo(e.gasPrice||0,"gasPrice"),jo(e.gasLimit,"gasLimit"),e.to||"0x",jo(e.value,"value"),e.data,y1e(e.accessList||[])];return t&&(r.push(jo(t.yParity,"recoveryParam")),r.push(ta(t.r)),r.push(ta(t.s))),xn(["0x01",Bb(r)])}function GCr(e){let t=q2(zt(e).slice(1)),r="3",n=null;if(4===t.length&&Array.isArray(t[0])){r="3 (network format)";let e=t[1],i=t[2],o=t[3];Te(Array.isArray(e),"invalid network format: blobs not an array","fields[1]",e),Te(Array.isArray(i),"invalid network format: commitments not an array","fields[2]",i),Te(Array.isArray(o),"invalid network format: proofs not an array","fields[3]",o),Te(e.length===i.length,"invalid network format: blobs/commitments length mismatch","fields",t),Te(e.length===o.length,"invalid network format: blobs/proofs length mismatch","fields",t),n=[];for(let r=0;r<t[1].length;r++)n.push({data:e[r],commitment:i[r],proof:o[r]});t=t[0]}Te(Array.isArray(t)&&(11===t.length||14===t.length),`invalid field count for transaction type: ${r}`,"data",Ct(e));let i={type:3,chainId:ra(t[0],"chainId"),nonce:fR(t[1],"nonce"),maxPriorityFeePerGas:ra(t[2],"maxPriorityFeePerGas"),maxFeePerGas:ra(t[3],"maxFeePerGas"),gasPrice:null,gasLimit:ra(t[4],"gasLimit"),to:NV(t[5]),value:ra(t[6],"value"),data:Ct(t[7]),accessList:g1e(t[8],"accessList"),maxFeePerBlobGas:ra(t[9],"maxFeePerBlobGas"),blobVersionedHashes:t[10]};n&&(i.blobs=n),Te(null!=i.to,`invalid address for transaction type: ${r}`,"data",e),Te(Array.isArray(i.blobVersionedHashes),"invalid blobVersionedHashes: must be an array","data",e);for(let t=0;t<i.blobVersionedHashes.length;t++)Te(cs(i.blobVersionedHashes[t],32),`invalid blobVersionedHash at index ${t}: must be length 32`,"data",e);return 11===t.length||m1e(i,t.slice(11)),i}function VCr(e,t,r){let n=[jo(e.chainId,"chainId"),jo(e.nonce,"nonce"),jo(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),jo(e.maxFeePerGas||0,"maxFeePerGas"),jo(e.gasLimit,"gasLimit"),e.to||a1e,jo(e.value,"value"),e.data,y1e(e.accessList||[]),jo(e.maxFeePerBlobGas||0,"maxFeePerBlobGas"),FCr(e.blobVersionedHashes||[],"blobVersionedHashes")];return t&&(n.push(jo(t.yParity,"yParity")),n.push(ta(t.r)),n.push(ta(t.s)),r)?xn(["0x03",Bb([n,r.map((e=>e.data)),r.map((e=>e.commitment)),r.map((e=>e.proof))])]):xn(["0x03",Bb(n)])}var bx=class e{#e;#t;#r;#n;#i;#o;#s;#a;#c;#u;#l;#d;#h;#f;#p;#g;get type(){return this.#e}set type(e){switch(e){case null:this.#e=null;break;case 0:case"legacy":this.#e=0;break;case 1:case"berlin":case"eip-2930":this.#e=1;break;case 2:case"london":case"eip-1559":this.#e=2;break;case 3:case"cancun":case"eip-4844":this.#e=3;break;default:Te(!1,"unsupported transaction type","type",e)}}get typeName(){switch(this.type){case 0:return"legacy";case 1:return"eip-2930";case 2:return"eip-1559";case 3:return"eip-4844"}return null}get to(){let e=this.#t;return null==e&&3===this.type?a1e:e}set to(e){this.#t=null==e?null:Ds(e)}get nonce(){return this.#n}set nonce(e){this.#n=ko(e,"value")}get gasLimit(){return this.#i}set gasLimit(e){this.#i=Mn(e)}get gasPrice(){let e=this.#o;return null!=e||0!==this.type&&1!==this.type?e:Sc}set gasPrice(e){this.#o=null==e?null:Mn(e,"gasPrice")}get maxPriorityFeePerGas(){return this.#s??(2===this.type||3===this.type?Sc:null)}set maxPriorityFeePerGas(e){this.#s=null==e?null:Mn(e,"maxPriorityFeePerGas")}get maxFeePerGas(){return this.#a??(2===this.type||3===this.type?Sc:null)}set maxFeePerGas(e){this.#a=null==e?null:Mn(e,"maxFeePerGas")}get data(){return this.#r}set data(e){this.#r=Ct(e)}get value(){return this.#c}set value(e){this.#c=Mn(e,"value")}get chainId(){return this.#u}set chainId(e){this.#u=Mn(e)}get signature(){return this.#l||null}set signature(e){this.#l=null==e?null:Rs.from(e)}get accessList(){return(this.#d||null)??(1===this.type||2===this.type||3===this.type?[]:null)}set accessList(e){this.#d=null==e?null:yx(e)}get maxFeePerBlobGas(){let e=this.#h;return null==e&&3===this.type?Sc:e}set maxFeePerBlobGas(e){this.#h=null==e?null:Mn(e,"maxFeePerBlobGas")}get blobVersionedHashes(){let e=this.#f;return null==e&&3===this.type?[]:e}set blobVersionedHashes(e){if(null!=e){Te(Array.isArray(e),"blobVersionedHashes must be an Array","value",e),e=e.slice();for(let t=0;t<e.length;t++)Te(cs(e[t],32),"invalid blobVersionedHash",`value[${t}]`,e[t])}this.#f=e}get blobs(){return null==this.#g?null:this.#g.map((e=>Object.assign({},e)))}set blobs(e){if(null==e)return void(this.#g=null);let t=[],r=[];for(let n=0;n<e.length;n++){let i=e[n];if(Ey(i)){Ar(this.#p,"adding a raw blob requires a KZG library","UNSUPPORTED_OPERATION",{operation:"set blobs()"});let e=zt(i);if(Te(e.length<=p1e,"blob is too large",`blobs[${n}]`,i),e.length!==p1e){let t=new Uint8Array(p1e);t.set(e),e=t}let o=this.#p.blobToKzgCommitment(e),s=Ct(this.#p.computeBlobKzgProof(e,o));t.push({data:Ct(e),commitment:Ct(o),proof:s}),r.push(Ugt(1,o))}else{let e=Ct(i.commitment);t.push({data:Ct(i.data),commitment:e,proof:Ct(i.proof)}),r.push(Ugt(1,e))}}this.#g=t,this.#f=r}get kzg(){return this.#p}set kzg(e){this.#p=e}constructor(){this.#e=null,this.#t=null,this.#n=0,this.#i=Sc,this.#o=null,this.#s=null,this.#a=null,this.#r="0x",this.#c=Sc,this.#u=Sc,this.#l=null,this.#d=null,this.#h=null,this.#f=null,this.#g=null,this.#p=null}get hash(){return null==this.signature?null:Fr(this.#y(!0,!1))}get unsignedHash(){return Fr(this.unsignedSerialized)}get from(){return null==this.signature?null:zf(this.unsignedHash,this.signature)}get fromPublicKey(){return null==this.signature?null:Ns.recoverPublicKey(this.unsignedHash,this.signature)}isSigned(){return null!=this.signature}#y(e,t){Ar(!e||null!=this.signature,"cannot serialize unsigned transaction; maybe you meant .unsignedSerialized","UNSUPPORTED_OPERATION",{operation:".serialized"});let r=e?this.signature:null;switch(this.inferType()){case 0:return zCr(this,r);case 1:return jCr(this,r);case 2:return HCr(this,r);case 3:return VCr(this,r,t?this.blobs:null)}Ar(!1,"unsupported transaction type","UNSUPPORTED_OPERATION",{operation:".serialized"})}get serialized(){return this.#y(!0,!0)}get unsignedSerialized(){return this.#y(!1,!1)}inferType(){let e=this.inferTypes();return e.indexOf(2)>=0?2:e.pop()}inferTypes(){let e=null!=this.gasPrice,t=null!=this.maxFeePerGas||null!=this.maxPriorityFeePerGas,r=null!=this.accessList,n=null!=this.#h||this.#f;null!=this.maxFeePerGas&&null!=this.maxPriorityFeePerGas&&Ar(this.maxFeePerGas>=this.maxPriorityFeePerGas,"priorityFee cannot be more than maxFee","BAD_DATA",{value:this}),Ar(!t||0!==this.type&&1!==this.type,"transaction type cannot have maxFeePerGas or maxPriorityFeePerGas","BAD_DATA",{value:this}),Ar(0!==this.type||!r,"legacy transaction cannot have accessList","BAD_DATA",{value:this});let i=[];return null!=this.type?i.push(this.type):t?i.push(2):e?(i.push(1),r||i.push(0)):r?(i.push(1),i.push(2)):(n&&this.to||(i.push(0),i.push(1),i.push(2)),i.push(3)),i.sort(),i}isLegacy(){return 0===this.type}isBerlin(){return 1===this.type}isLondon(){return 2===this.type}isCancun(){return 3===this.type}clone(){return e.from(this)}toJSON(){let e=e=>null==e?null:e.toString();return{type:this.type,to:this.to,data:this.data,nonce:this.nonce,gasLimit:e(this.gasLimit),gasPrice:e(this.gasPrice),maxPriorityFeePerGas:e(this.maxPriorityFeePerGas),maxFeePerGas:e(this.maxFeePerGas),value:e(this.value),chainId:e(this.chainId),sig:this.signature?this.signature.toJSON():null,accessList:this.accessList}}static from(t){if(null==t)return new e;if("string"==typeof t){let r=zt(t);if(r[0]>=127)return e.from(WCr(r));switch(r[0]){case 1:return e.from(qCr(r));case 2:return e.from(KCr(r));case 3:return e.from(GCr(r))}Ar(!1,"unsupported transaction type","UNSUPPORTED_OPERATION",{operation:"from"})}let r=new e;return null!=t.type&&(r.type=t.type),null!=t.to&&(r.to=t.to),null!=t.nonce&&(r.nonce=t.nonce),null!=t.gasLimit&&(r.gasLimit=t.gasLimit),null!=t.gasPrice&&(r.gasPrice=t.gasPrice),null!=t.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=t.maxPriorityFeePerGas),null!=t.maxFeePerGas&&(r.maxFeePerGas=t.maxFeePerGas),null!=t.maxFeePerBlobGas&&(r.maxFeePerBlobGas=t.maxFeePerBlobGas),null!=t.data&&(r.data=t.data),null!=t.value&&(r.value=t.value),null!=t.chainId&&(r.chainId=t.chainId),null!=t.signature&&(r.signature=Rs.from(t.signature)),null!=t.accessList&&(r.accessList=t.accessList),null!=t.blobVersionedHashes&&(r.blobVersionedHashes=t.blobVersionedHashes),null!=t.kzg&&(r.kzg=t.kzg),null!=t.blobs&&(r.blobs=t.blobs),null!=t.hash&&(Te(r.isSigned(),"unsigned transaction cannot define '.hash'","tx",t),Te(r.hash===t.hash,"hash mismatch","tx",t)),null!=t.from&&(Te(r.isSigned(),"unsigned transaction cannot define '.from'","tx",t),Te(r.from.toLowerCase()===(t.from||"").toLowerCase(),"from mismatch","tx",t)),r}};function DV(e){return"string"==typeof e&&(e=us(e)),Fr(xn([us(c1e),us(String(e.length)),e]))}m();var zgt=new Uint8Array(32);zgt.fill(0);var JCr=BigInt(-1),Kgt=BigInt(0),Hgt=BigInt(1),XCr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function YCr(e){let t=zt(e),r=t.length%32;return r?xn([t,zgt.slice(r)]):Ct(t)}var QCr=Ga(Hgt,32),ZCr=Ga(Kgt,32),Lgt={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},b1e=["name","version","chainId","verifyingContract","salt"];function Fgt(e){return function(t){return Te("string"==typeof t,`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,t),t}}var $Cr={name:Fgt("name"),version:Fgt("version"),chainId:function(e){let t=Mn(e,"domain.chainId");return Te(t>=0,"invalid chain ID","domain.chainId",e),Number.isSafeInteger(t)?Number(t):Q8(t)},verifyingContract:function(e){try{return Ds(e).toLowerCase()}catch{}Te(!1,'invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){let t=zt(e,"domain.salt");return Te(32===t.length,'invalid domain value "salt"',"domain.salt",e),Ct(t)}};function v1e(e){{let t=e.match(/^(u?)int(\d+)$/);if(t){let r=""===t[1],n=parseInt(t[2]);Te(n%8==0&&0!==n&&n<=256&&t[2]===String(n),"invalid numeric width","type",e);let i=xp(XCr,r?n-1:n),o=r?(i+Hgt)*JCr:Kgt;return function(t){let n=Mn(t,"value");return Te(n>=o&&n<=i,`value out-of-bounds for ${e}`,"value",n),Ga(r?nx(n,256):n,32)}}}{let t=e.match(/^bytes(\d+)$/);if(t){let r=parseInt(t[1]);return Te(0!==r&&r<=32&&t[1]===String(r),"invalid bytes width","type",e),function(t){return Te(zt(t).length===r,`invalid length for ${e}`,"value",t),YCr(t)}}}switch(e){case"address":return function(e){return Ul(Ds(e),32)};case"bool":return function(e){return e?QCr:ZCr};case"bytes":return function(e){return Fr(e)};case"string":return function(e){return Ja(e)}}return null}function Wgt(e,t){return`${e}(${t.map((({name:e,type:t})=>t+" "+e)).join(",")})`}function UV(e){let t=e.match(/^([^\x5b]*)((\x5b\d*\x5d)*)(\x5b(\d*)\x5d)$/);return t?{base:t[1],index:t[2]+t[4],array:{base:t[1],prefix:t[1]+t[2],count:t[5]?parseInt(t[5]):-1}}:{base:e}}var eT=class e{primaryType;#e;get types(){return JSON.parse(this.#e)}#t;#r;constructor(e){this.#t=new Map,this.#r=new Map;let t=new Map,r=new Map,n=new Map,i={};Object.keys(e).forEach((o=>{i[o]=e[o].map((({name:t,type:r})=>{let{base:n,index:i}=UV(r);return"int"===n&&!e.int&&(n="int256"),"uint"===n&&!e.uint&&(n="uint256"),{name:t,type:n+(i||"")}})),t.set(o,new Set),r.set(o,[]),n.set(o,new Set)})),this.#e=JSON.stringify(i);for(let n in i){let o=new Set;for(let s of i[n]){Te(!o.has(s.name),`duplicate variable name ${JSON.stringify(s.name)} in ${JSON.stringify(n)}`,"types",e),o.add(s.name);let i=UV(s.type).base;Te(i!==n,`circular type reference to ${JSON.stringify(i)}`,"types",e),!v1e(i)&&(Te(r.has(i),`unknown type ${JSON.stringify(i)}`,"types",e),r.get(i).push(n),t.get(n).add(i))}}let o=Array.from(r.keys()).filter((e=>0===r.get(e).length));Te(0!==o.length,"missing primary type","types",e),Te(1===o.length,`ambiguous primary types or unused types: ${o.map((e=>JSON.stringify(e))).join(", ")}`,"types",e),Ur(this,{primaryType:o[0]}),function i(o,s){Te(!s.has(o),`circular type reference to ${JSON.stringify(o)}`,"types",e),s.add(o);for(let e of t.get(o))if(r.has(e)){i(e,s);for(let t of s)n.get(t).add(e)}s.delete(o)}(this.primaryType,new Set);for(let[e,t]of n){let r=Array.from(t);r.sort(),this.#t.set(e,Wgt(e,i[e])+r.map((e=>Wgt(e,i[e]))).join(""))}}getEncoder(e){let t=this.#r.get(e);return t||(t=this.#n(e),this.#r.set(e,t)),t}#n(e){{let t=v1e(e);if(t)return t}let t=UV(e).array;if(t){let e=t.prefix,r=this.getEncoder(e);return n=>{Te(-1===t.count||t.count===n.length,`array length mismatch; expected length ${t.count}`,"value",n);let i=n.map(r);return this.#t.has(e)&&(i=i.map(Fr)),Fr(xn(i))}}let r=this.types[e];if(r){let t=Ja(this.#t.get(e));return e=>{let n=r.map((({name:t,type:r})=>{let n=this.getEncoder(r)(e[t]);return this.#t.has(r)?Fr(n):n}));return n.unshift(t),xn(n)}}Te(!1,`unknown type: ${e}`,"type",e)}encodeType(e){let t=this.#t.get(e);return Te(t,`unknown type: ${JSON.stringify(e)}`,"name",e),t}encodeData(e,t){return this.getEncoder(e)(t)}hashStruct(e,t){return Fr(this.encodeData(e,t))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,t,r){if(v1e(e))return r(e,t);let n=UV(e).array;if(n)return Te(-1===n.count||n.count===t.length,`array length mismatch; expected length ${n.count}`,"value",t),t.map((e=>this._visit(n.prefix,e,r)));let i=this.types[e];if(i)return i.reduce(((e,{name:n,type:i})=>(e[n]=this._visit(i,t[n],r),e)),{});Te(!1,`unknown type: ${e}`,"type",e)}visit(e,t){return this._visit(this.primaryType,e,t)}static from(t){return new e(t)}static getPrimaryType(t){return e.from(t).primaryType}static hashStruct(t,r,n){return e.from(r).hashStruct(t,n)}static hashDomain(t){let r=[];for(let e in t){if(null==t[e])continue;let n=Lgt[e];Te(n,`invalid typed-data domain key: ${JSON.stringify(e)}`,"domain",t),r.push({name:e,type:n})}return r.sort(((e,t)=>b1e.indexOf(e.name)-b1e.indexOf(t.name))),e.hashStruct("EIP712Domain",{EIP712Domain:r},t)}static encode(t,r,n){return xn(["0x1901",e.hashDomain(t),e.from(r).hash(n)])}static hash(t,r,n){return Fr(e.encode(t,r,n))}static async resolveNames(t,r,n,i){t=Object.assign({},t);for(let e in t)null==t[e]&&delete t[e];let o={};t.verifyingContract&&!cs(t.verifyingContract,20)&&(o[t.verifyingContract]="0x");let s=e.from(r);s.visit(n,((e,t)=>("address"===e&&!cs(t,20)&&(o[t]="0x"),t)));for(let e in o)o[e]=await i(e);return t.verifyingContract&&o[t.verifyingContract]&&(t.verifyingContract=o[t.verifyingContract]),{domain:t,value:n=s.visit(n,((e,t)=>"address"===e&&o[t]?o[t]:t))}}static getPayload(t,r,n){e.hashDomain(t);let i={},o=[];b1e.forEach((e=>{let r=t[e];null!=r&&(i[e]=$Cr[e](r),o.push({name:e,type:Lgt[e]}))}));let s=e.from(r);r=s.types;let a=Object.assign({},r);return Te(null==a.EIP712Domain,"types must not contain EIP712Domain type","types.EIP712Domain",r),a.EIP712Domain=o,s.encode(n),{types:a,domain:i,primaryType:s.primaryType,message:s.visit(n,((e,t)=>{if(e.match(/^bytes(\d*)/))return Ct(zt(t));if(e.match(/^u?int/))return Mn(t).toString();switch(e){case"address":return t.toLowerCase();case"bool":return!!t;case"string":return Te("string"==typeof t,"invalid string","value",t),t}Te(!1,"unsupported type","type",e)}))}}};function oC(e){let t=new Set;return e.forEach((e=>t.add(e))),Object.freeze(t)}var rIr="external public payable override",uNn=oC(rIr.split(" ")),Jgt="constant external internal payable private public pure view override",lNn=oC(Jgt.split(" ")),Xgt="constructor error event fallback function receive struct",fNn=oC(Xgt.split(" ")),Ygt="calldata memory storage payable indexed",nIr=oC(Ygt.split(" ")),iIr="tuple returns",oIr=[Xgt,Ygt,iIr,Jgt].join(" "),sIr=oC(oIr.split(" ")),aIr={"(":"OPEN_PAREN",")":"CLOSE_PAREN","[":"OPEN_BRACKET","]":"CLOSE_BRACKET",",":"COMMA","@":"AT"},cIr=new RegExp("^(\\s*)"),uIr=new RegExp("^([0-9]+)"),lIr=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)"),fIr=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)$"),Qgt=new RegExp("^(address|bool|bytes([0-9]*)|string|u?int([0-9]*))$"),LV=class e{#e;#t;get offset(){return this.#e}get length(){return this.#t.length-this.#e}constructor(e){this.#e=0,this.#t=e.slice()}clone(){return new e(this.#t)}reset(){this.#e=0}#r(t=0,r=0){return new e(this.#t.slice(t,r).map((e=>Object.freeze(Object.assign({},e,{match:e.match-t,linkBack:e.linkBack-t,linkNext:e.linkNext-t})))))}popKeyword(e){let t=this.peek();if("KEYWORD"!==t.type||!e.has(t.text))throw new Error(`expected keyword ${t.text}`);return this.pop().text}popType(e){if(this.peek().type!==e){let t=this.peek();throw new Error(`expected ${e}; got ${t.type} ${JSON.stringify(t.text)}`)}return this.pop().text}popParen(){let e=this.peek();if("OPEN_PAREN"!==e.type)throw new Error("bad start");let t=this.#r(this.#e+1,e.match+1);return this.#e=e.match+1,t}popParams(){let e=this.peek();if("OPEN_PAREN"!==e.type)throw new Error("bad start");let t=[];for(;this.#e<e.match-1;){let e=this.peek().linkNext;t.push(this.#r(this.#e+1,e)),this.#e=e}return this.#e=e.match+1,t}peek(){if(this.#e>=this.#t.length)throw new Error("out-of-bounds");return this.#t[this.#e]}peekKeyword(e){let t=this.peekType("KEYWORD");return null!=t&&e.has(t)?t:null}peekType(e){if(0===this.length)return null;let t=this.peek();return t.type===e?t.text:null}pop(){let e=this.peek();return this.#e++,e}toString(){let e=[];for(let t=this.#e;t<this.#t.length;t++){let r=this.#t[t];e.push(`${r.type}:${r.text}`)}return`<TokenString ${e.join(" ")}>`}};function dIr(e){let t=[],r=t=>{let r=o<e.length?JSON.stringify(e[o]):"$EOI";throw new Error(`invalid token ${r} at ${o}: ${t}`)},n=[],i=[],o=0;for(;o<e.length;){let s=e.substring(o),a=s.match(cIr);a&&(o+=a[1].length,s=e.substring(o));let c={depth:n.length,linkBack:-1,linkNext:-1,match:-1,type:"",text:"",offset:o,value:-1};t.push(c);let u=aIr[s[0]]||"";if(u){if(c.type=u,c.text=s[0],o++,"OPEN_PAREN"===u)n.push(t.length-1),i.push(t.length-1);else if("CLOSE_PAREN"==u)0===n.length&&r("no matching open bracket"),c.match=n.pop(),t[c.match].match=t.length-1,c.depth--,c.linkBack=i.pop(),t[c.linkBack].linkNext=t.length-1;else if("COMMA"===u)c.linkBack=i.pop(),t[c.linkBack].linkNext=t.length-1,i.push(t.length-1);else if("OPEN_BRACKET"===u)c.type="BRACKET";else if("CLOSE_BRACKET"===u){let e=t.pop().text;if(t.length>0&&"NUMBER"===t[t.length-1].type){let r=t.pop().text;e=r+e,t[t.length-1].value=ko(r)}if(0===t.length||"BRACKET"!==t[t.length-1].type)throw new Error("missing opening bracket");t[t.length-1].text+=e}}else if(a=s.match(lIr),a){if(c.text=a[1],o+=c.text.length,sIr.has(c.text)){c.type="KEYWORD";continue}if(c.text.match(Qgt)){c.type="TYPE";continue}c.type="ID"}else{if(a=s.match(uIr),!a)throw new Error(`unexpected token ${JSON.stringify(s[0])} at position ${o}`);c.text=a[1],c.type="NUMBER",o+=c.text.length}}return new LV(t.map((e=>Object.freeze(e))))}function qgt(e,t){let r=new Set;for(;;){let n=e.peekType("KEYWORD");if(null==n||t&&!t.has(n))break;if(e.pop(),r.has(n))throw new Error(`duplicate keywords: ${JSON.stringify(n)}`);r.add(n)}return Object.freeze(r)}var hIr=new RegExp(/^(.*)\[([0-9]*)\]$/);function jgt(e){let t=e.match(Qgt);if(Te(t,"invalid type","type",e),"uint"===e)return"uint256";if("int"===e)return"int256";if(t[2]){let r=parseInt(t[2]);Te(0!==r&&r<=32,"invalid bytes length","type",e)}else if(t[3]){let r=parseInt(t[3]);Te(0!==r&&r<=256&&r%8==0,"invalid numeric width","type",e)}return e}var iC={},Ggt=Symbol.for("_ethers_internal"),Vgt="_ParamTypeInternal",tT=class e{name;type;baseType;indexed;components;arrayLength;arrayChildren;constructor(e,t,r,n,i,o,s,a){if(Qu(e,iC,"ParamType"),Object.defineProperty(this,Ggt,{value:Vgt}),o&&(o=Object.freeze(o.slice())),"array"===n){if(null==s||null==a)throw new Error("")}else if(null!=s||null!=a)throw new Error("");if("tuple"===n){if(null==o)throw new Error("")}else if(null!=o)throw new Error("");Ur(this,{name:t,type:r,baseType:n,indexed:i,components:o,arrayLength:s,arrayChildren:a})}format(e){if(null==e&&(e="sighash"),"json"===e){let t=this.name||"";if(this.isArray()){let e=JSON.parse(this.arrayChildren.format("json"));return e.name=t,e.type+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`,JSON.stringify(e)}let r={type:"tuple"===this.baseType?"tuple":this.type,name:t};return"boolean"==typeof this.indexed&&(r.indexed=this.indexed),this.isTuple()&&(r.components=this.components.map((t=>JSON.parse(t.format(e))))),JSON.stringify(r)}let t="";return this.isArray()?(t+=this.arrayChildren.format(e),t+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`):this.isTuple()?t+="("+this.components.map((t=>t.format(e))).join("full"===e?", ":",")+")":t+=this.type,"sighash"!==e&&(!0===this.indexed&&(t+=" indexed"),"full"===e&&this.name&&(t+=" "+this.name)),t}isArray(){return"array"===this.baseType}isTuple(){return"tuple"===this.baseType}isIndexable(){return null!=this.indexed}walk(e,t){if(this.isArray()){if(!Array.isArray(e))throw new Error("invalid array value");if(-1!==this.arrayLength&&e.length!==this.arrayLength)throw new Error("array is wrong length");let r=this;return e.map((e=>r.arrayChildren.walk(e,t)))}if(this.isTuple()){if(!Array.isArray(e))throw new Error("invalid tuple value");if(e.length!==this.components.length)throw new Error("array is wrong length");let r=this;return e.map(((e,n)=>r.components[n].walk(e,t)))}return t(this.type,e)}#e(e,t,r,n){if(this.isArray()){if(!Array.isArray(t))throw new Error("invalid array value");if(-1!==this.arrayLength&&t.length!==this.arrayLength)throw new Error("array is wrong length");let i=this.arrayChildren,o=t.slice();return o.forEach(((t,n)=>{i.#e(e,t,r,(e=>{o[n]=e}))})),void n(o)}if(this.isTuple()){let i,o=this.components;if(Array.isArray(t))i=t.slice();else{if(null==t||"object"!=typeof t)throw new Error("invalid tuple value");i=o.map((e=>{if(!e.name)throw new Error("cannot use object value with unnamed components");if(!(e.name in t))throw new Error(`missing value for component ${e.name}`);return t[e.name]}))}if(i.length!==this.components.length)throw new Error("array is wrong length");return i.forEach(((t,n)=>{o[n].#e(e,t,r,(e=>{i[n]=e}))})),void n(i)}let i=r(this.type,t);i.then?e.push(async function(){n(await i)}()):n(i)}async walkAsync(e,t){let r=[],n=[e];return this.#e(r,e,t,(e=>{n[0]=e})),r.length&&await Promise.all(r),n[0]}static from(t,r){if(e.isParamType(t))return t;if("string"==typeof t)try{return e.from(dIr(t),r)}catch{Te(!1,"invalid param type","obj",t)}else if(t instanceof LV){let n="",i="",o=null;qgt(t,oC(["tuple"])).has("tuple")||t.peekType("OPEN_PAREN")?(i="tuple",o=t.popParams().map((t=>e.from(t))),n=`tuple(${o.map((e=>e.format())).join(",")})`):(n=jgt(t.popType("TYPE")),i=n);let s=null,a=null;for(;t.length&&t.peekType("BRACKET");){let r=t.pop();s=new e(iC,"",n,i,null,o,a,s),a=r.value,n+=r.text,i="array",o=null}let c=null;if(qgt(t,nIr).has("indexed")){if(!r)throw new Error("");c=!0}let u=t.peekType("ID")?t.pop().text:"";if(t.length)throw new Error("leftover tokens");return new e(iC,u,n,i,c,o,a,s)}let n=t.name;Te(!n||"string"==typeof n&&n.match(fIr),"invalid name","obj.name",n);let i=t.indexed;null!=i&&(Te(r,"parameter cannot be indexed","obj.indexed",t.indexed),i=!!i);let o=t.type,s=o.match(hIr);if(s){let r=parseInt(s[2]||"-1"),a=e.from({type:s[1],components:t.components});return new e(iC,n||"",o,"array",i,null,r,a)}if("tuple"===o||o.startsWith("tuple(")||o.startsWith("(")){let r=null!=t.components?t.components.map((t=>e.from(t))):null;return new e(iC,n||"",o,"tuple",i,r,null,null)}return o=jgt(t.type),new e(iC,n||"",o,o,i,null,null,null)}static isParamType(e){return e&&e[Ggt]===Vgt}},Cp=new Map;Cp.set(0,"GENERIC_PANIC"),Cp.set(1,"ASSERT_FALSE"),Cp.set(17,"OVERFLOW"),Cp.set(18,"DIVIDE_BY_ZERO"),Cp.set(33,"ENUM_RANGE_ERROR"),Cp.set(34,"BAD_STORAGE_DATA"),Cp.set(49,"STACK_UNDERFLOW"),Cp.set(50,"ARRAY_RANGE_ERROR"),Cp.set(65,"OUT_OF_MEMORY"),Cp.set(81,"UNINITIALIZED_FUNCTION_CALL");var pIr=new RegExp(/^bytes([0-9]*)$/),gIr=new RegExp(/^(u?int)([0-9]*)$/),w1e=null,Zgt=1024;function yIr(e,t,r,n){let i="missing revert data",o=null,s=null;if(r){i="execution reverted";let e=zt(r);if(r=Ct(r),0===e.length)i+=" (no data present; likely require(false) occurred",o="require(false)";else if(e.length%32!=4)i+=" (could not decode reason; invalid data length)";else if("0x08c379a0"===Ct(e.slice(0,4)))try{o=n.decode(["string"],e.slice(4))[0],s={signature:"Error(string)",name:"Error",args:[o]},i+=`: ${JSON.stringify(o)}`}catch{i+=" (could not decode reason; invalid string data)"}else if("0x4e487b71"===Ct(e.slice(0,4)))try{let t=Number(n.decode(["uint256"],e.slice(4))[0]);s={signature:"Panic(uint256)",name:"Panic",args:[t]},o=`Panic due to ${Cp.get(t)||"UNKNOWN"}(${t})`,i+=`: ${o}`}catch{i+=" (could not decode panic code)"}else i+=" (unknown custom error)"}let a={to:t.to?Ds(t.to):null,data:t.data||"0x"};return t.from&&(a.from=Ds(t.from)),G8(i,"CALL_EXCEPTION",{action:e,data:r,reason:o,transaction:a,invocation:null,revert:s})}var Kf=class e{#e(e){if(e.isArray())return new OV(this.#e(e.arrayChildren),e.arrayLength,e.name);if(e.isTuple())return new $2(e.components.map((e=>this.#e(e))),e.name);switch(e.baseType){case"address":return new CV(e.name);case"bool":return new PV(e.name);case"string":return new RV(e.name);case"bytes":return new BV(e.name);case"":return new kV(e.name)}let t=e.type.match(gIr);if(t){let r=parseInt(t[2]||"256");return Te(0!==r&&r<=256&&r%8==0,"invalid "+t[1]+" bit length","param",e),new _V(r/8,"int"===t[1],e.name)}if(t=e.type.match(pIr),t){let r=parseInt(t[1]);return Te(0!==r&&r<=32,"invalid bytes length","param",e),new MV(r,e.name)}Te(!1,"invalid type","type",e.type)}getDefaultValue(e){let t=e.map((e=>this.#e(tT.from(e))));return new $2(t,"_").defaultValue()}encode(e,t){V8(t.length,e.length,"types/values length mismatch");let r=e.map((e=>this.#e(tT.from(e)))),n=new $2(r,"_"),i=new G2;return n.encode(i,t),i.data}decode(e,t,r){let n=e.map((e=>this.#e(tT.from(e))));return new $2(n,"_").decode(new aV(t,r,Zgt))}static _setDefaultMaxInflation(e){Te("number"==typeof e&&Number.isInteger(e),"invalid defaultMaxInflation factor","value",e),Zgt=e}static defaultAbiCoder(){return null==w1e&&(w1e=new e),w1e}static getBuiltinCallException(t,r,n){return yIr(t,r,n,e.defaultAbiCoder())}};m(),m();var WNn=BigInt(0);function dR(e){let t={};e.to&&(t.to=e.to),e.from&&(t.from=e.from),e.data&&(t.data=Ct(e.data));let r="chainId,gasLimit,gasPrice,maxFeePerBlobGas,maxFeePerGas,maxPriorityFeePerGas,value".split(/,/);for(let n of r)!(n in e)||null==e[n]||(t[n]=Mn(e[n],`request.${n}`));let n="type,nonce".split(/,/);for(let r of n)!(r in e)||null==e[r]||(t[r]=ko(e[r],`request.${r}`));return e.accessList&&(t.accessList=yx(e.accessList)),"blockTag"in e&&(t.blockTag=e.blockTag),"enableCcipRead"in e&&(t.enableCcipRead=!!e.enableCcipRead),"customData"in e&&(t.customData=e.customData),"blobVersionedHashes"in e&&e.blobVersionedHashes&&(t.blobVersionedHashes=e.blobVersionedHashes.slice()),"kzg"in e&&(t.kzg=e.kzg),"blobs"in e&&e.blobs&&(t.blobs=e.blobs.map((e=>Ey(e)?Ct(e):Object.assign({},e)))),t}function sC(e,t){if(e.provider)return e.provider;Ar(!1,"missing provider","UNSUPPORTED_OPERATION",{operation:t})}async function $gt(e,t){let r=dR(t);if(null!=r.to&&(r.to=Z2(r.to,e)),null!=r.from){let t=r.from;r.from=Promise.all([e.getAddress(),Z2(t,e)]).then((([e,t])=>(Te(e.toLowerCase()===t.toLowerCase(),"transaction from mismatch","tx.from",t),e)))}else r.from=e.getAddress();return await rx(r)}m(),m();var aC=class{provider;constructor(e){Ur(this,{provider:e||null})}async getNonce(e){return sC(this,"getTransactionCount").getTransactionCount(await this.getAddress(),e)}async populateCall(e){return await $gt(this,e)}async populateTransaction(e){let t=sC(this,"populateTransaction"),r=await $gt(this,e);null==r.nonce&&(r.nonce=await this.getNonce("pending")),null==r.gasLimit&&(r.gasLimit=await this.estimateGas(r));let n=await this.provider.getNetwork();if(null!=r.chainId){Te(Mn(r.chainId)===n.chainId,"transaction chainId mismatch","tx.chainId",e.chainId)}else r.chainId=n.chainId;let i=null!=r.maxFeePerGas||null!=r.maxPriorityFeePerGas;if(null==r.gasPrice||2!==r.type&&!i?(0===r.type||1===r.type)&&i&&Te(!1,"pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","tx",e):Te(!1,"eip-1559 transaction do not support gasPrice","tx",e),2!==r.type&&null!=r.type||null==r.maxFeePerGas||null==r.maxPriorityFeePerGas)if(0===r.type||1===r.type){let e=await t.getFeeData();Ar(null!=e.gasPrice,"network does not support gasPrice","UNSUPPORTED_OPERATION",{operation:"getGasPrice"}),null==r.gasPrice&&(r.gasPrice=e.gasPrice)}else{let e=await t.getFeeData();if(null==r.type)if(null!=e.maxFeePerGas&&null!=e.maxPriorityFeePerGas)if(r.type=2,null!=r.gasPrice){let e=r.gasPrice;delete r.gasPrice,r.maxFeePerGas=e,r.maxPriorityFeePerGas=e}else null==r.maxFeePerGas&&(r.maxFeePerGas=e.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=e.maxPriorityFeePerGas);else null!=e.gasPrice?(Ar(!i,"network does not support EIP-1559","UNSUPPORTED_OPERATION",{operation:"populateTransaction"}),null==r.gasPrice&&(r.gasPrice=e.gasPrice),r.type=0):Ar(!1,"failed to get consistent fee data","UNSUPPORTED_OPERATION",{operation:"signer.getFeeData"});else(2===r.type||3===r.type)&&(null==r.maxFeePerGas&&(r.maxFeePerGas=e.maxFeePerGas),null==r.maxPriorityFeePerGas&&(r.maxPriorityFeePerGas=e.maxPriorityFeePerGas))}else r.type=2;return await rx(r)}async estimateGas(e){return sC(this,"estimateGas").estimateGas(await this.populateCall(e))}async call(e){return sC(this,"call").call(await this.populateCall(e))}async resolveName(e){return await sC(this,"resolveName").resolveName(e)}async sendTransaction(e){let t=sC(this,"sendTransaction"),r=await this.populateTransaction(e);delete r.from;let n=bx.from(r);return await t.broadcastTransaction(await this.signTransaction(n))}},hR=class e extends aC{address;constructor(e,t){super(t),Ur(this,{address:e})}async getAddress(){return this.address}connect(t){return new e(this.address,t)}#e(e,t){Ar(!1,`VoidSigner cannot sign ${e}`,"UNSUPPORTED_OPERATION",{operation:t})}async signTransaction(e){this.#e("transactions","signTransaction")}async signMessage(e){this.#e("messages","signMessage")}async signTypedData(e,t,r){this.#e("typed-data","signTypedData")}};m(),m();var pR=class e extends aC{address;#e;constructor(e,t){super(t),Te(e&&"function"==typeof e.sign,"invalid private key","privateKey","[ REDACTED ]"),this.#e=e,Ur(this,{address:mx(this.signingKey.publicKey)})}get signingKey(){return this.#e}get privateKey(){return this.signingKey.privateKey}async getAddress(){return this.address}connect(t){return new e(this.#e,t)}async signTransaction(e){e=dR(e);let{to:t,from:r}=await rx({to:e.to?Z2(e.to,this.provider):void 0,from:e.from?Z2(e.from,this.provider):void 0});null!=t&&(e.to=t),null!=r&&(e.from=r),null!=e.from&&(Te(Ds(e.from)===this.address,"transaction from address mismatch","tx.from",e.from),delete e.from);let n=bx.from(e);return n.signature=this.signingKey.sign(n.unsignedHash),n.serialized}async signMessage(e){return this.signMessageSync(e)}signMessageSync(e){return this.signingKey.sign(DV(e)).serialized}async signTypedData(e,t,r){let n=await eT.resolveNames(e,t,r,(async e=>{Ar(null!=this.provider,"cannot resolve ENS names without a provider","UNSUPPORTED_OPERATION",{operation:"resolveName",info:{name:e}});let t=await this.provider.resolveName(e);return Ar(null!=t,"unconfigured ENS name","UNCONFIGURED_NAME",{value:e}),t}));return this.signingKey.sign(eT.hash(n.domain,t,n.value)).serialized}};m(),m(),m(),m();var FV=" !#$%&'()*+,-./<=>?@[]^_`{|}~",AIr=/^[a-z]*$/i;function eyt(e,t){let r=97;return e.reduce(((e,n)=>(n===t?r++:n.match(AIr)?e.push(String.fromCharCode(r)+n):(r=97,e.push(n)),e)),[])}function EIr(e,t){for(let r=FV.length-1;r>=0;r--)e=e.split(FV[r]).join(t.substring(2*r,2*r+2));let r=[],n=e.replace(/(:|([0-9])|([A-Z][a-z]*))/g,((e,t,n,i)=>{if(n)for(let e=parseInt(n);e>=0;e--)r.push(";");else r.push(t.toLowerCase());return""}));if(n)throw new Error(`leftovers: ${JSON.stringify(n)}`);return eyt(eyt(r,";"),":")}function tyt(e){return Te("0"===e[0],"unsupported auwl data","data",e),EIr(e.substring(1+2*FV.length),e.substring(1,1+2*FV.length))}m();var vx=class{locale;constructor(e){Ur(this,{locale:e})}split(e){return e.toLowerCase().split(/\s+/g)}join(e){return e.join(" ")}},gR=class extends vx{#e;#t;constructor(e,t,r){super(e),this.#e=t,this.#t=r,this.#r=null}get _data(){return this.#e}_decodeWords(){return tyt(this.#e)}#r;#n(){if(null==this.#r){let e=this._decodeWords();if(Ja(e.join("\n")+"\n")!==this.#t)throw new Error(`BIP39 Wordlist for ${this.locale} FAILED`);this.#r=e}return this.#r}getWord(e){let t=this.#n();return Te(e>=0&&e<t.length,`invalid word index: ${e}`,"index",e),t[e]}getWordIndex(e){return this.#n().indexOf(e)}},TIr="0erleonalorenseinceregesticitStanvetearctssi#ch2Athck&tneLl0And#Il.yLeOutO=S|S%b/ra@SurdU'0Ce[Cid|CountCu'Hie=IdOu,-Qui*Ro[TT]T%T*[Tu$0AptDD-tD*[Ju,M.UltV<)Vi)0Rob-0FairF%dRaid0A(EEntRee0Ead0MRRp%tS!_rmBumCoholErtI&LLeyLowMo,O}PhaReadySoT Ways0A>urAz(gOngOuntU'd0Aly,Ch%Ci|G G!GryIm$K!Noun)Nu$O` Sw T&naTiqueXietyY1ArtOlogyPe?P!Pro=Ril1ChCt-EaEnaGueMMedM%MyOundR<+Re,Ri=RowTTefa@Ti,Tw%k0KPe@SaultSetSi,SumeThma0H!>OmTa{T&dT.udeTra@0Ct]D.Gu,NtTh%ToTumn0Era+OcadoOid0AkeA*AyEsomeFulKw?d0Is:ByChel%C#D+GL<)Lc#y~MbooN<aNn RRelyRga(R*lSeS-SketTt!3A^AnAutyCau'ComeEfF%eG(Ha=H(dLie=LowLtN^Nef./TrayTt Twe&Y#d3Cyc!DKeNdOlogyRdR`Tt _{AdeAmeAnketA,EakE[IndOodO[omOu'UeUrUsh_rdAtDyIlMbNeNusOkO,Rd R(gRrowSsTtomUn)XY_{etA(AndA[A=EadEezeI{Id+IefIghtIngIskOccoliOk&OnzeOomO` OwnUsh2Bb!DdyD+tFf$oIldLbLkL!tNd!Nk Rd&Rg R,SS(e[SyTt Y Zz:Bba+B(B!CtusGeKe~LmM aMpNN$N)lNdyNn#NoeNvasNy#Pab!P.$Pta(RRb#RdRgoRpetRryRtSeShS(o/!Su$TT$ogT^Teg%yTt!UghtU'Ut]Ve3Il(gL yM|NsusNturyRe$Rta(_irAlkAmp]An+AosApt Ar+A'AtEapE{Ee'EfErryE,I{&IefIldIm}yOi)Oo'R#-U{!UnkUrn0G?Nnam#Rc!Tiz&TyVil_imApArifyAwAyE<ErkEv I{I|IffImbIn-IpO{OgO'O`OudOwnUbUmpU, Ut^_^A,C#utDeFfeeIlInL!@L%LumnMb(eMeMf%tM-Mm#Mp<yNc tNdu@NfirmNg*[N}@Nsid NtrolNv()OkOlPp PyR$ReRnR*@/Tt#U^UntryUp!Ur'Us(V Yo>_{Ad!AftAmA}AshAt AwlAzyEamEd.EekEwI{etImeIspIt-OpO[Ou^OwdUci$UelUi'Umb!Un^UshYY,$2BeLtu*PPbo?dRiousRr|Rta(R=Sh]/omTe3C!:DMa+MpN)Ng R(gShUght WnY3AlBa>BrisCadeCemb CideCl(eC%a>C*a'ErF&'F(eFyG*eLayLiv M<dMi'Ni$Nti,NyP?tP&dPos.P`PutyRi=ScribeS tSignSkSpair/royTailTe@VelopVi)Vo>3AgramAlAm#dAryCeE'lEtFf G.$Gn.yLemmaNn NosaurRe@RtSag*eScov Sea'ShSmi[S%d Splay/<)V tVideV%)Zzy5Ct%Cum|G~Lph(Ma(Na>NkeyN%OrSeUb!Ve_ftAg#AmaA,-AwEamE[IftIllInkIpI=OpUmY2CkMbNeR(g/T^Ty1Arf1Nam-:G G!RlyRnR`Sily/Sy1HoOlogyOnomy0GeItUca>1F%t0G1GhtTh 2BowD E@r-Eg<tEm|Eph<tEvat%I>Se0B?kBodyBra)Er+Ot]PloyPow Pty0Ab!A@DD![D%'EmyErgyF%)Ga+G(eH<)JoyLi,OughR-hRollSu*T Ti*TryVelope1Isode0U$Uip0AA'OdeOs]R%Upt0CapeSayS&)Ta>0Ern$H-s1Id&)IlOkeOl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Zz!3Ramid:99Al.yAntumArt E,]I{ItIzO>:Bb.Cco#CeCkD?DioIlInI'~yMpN^NdomN+PidReTeTh V&WZ%3AdyAlAs#BelBuildC$lCei=CipeC%dCyc!Du)F!@F%mFu'G]G*tGul?Je@LaxLea'LiefLyMa(Memb M(dMo=Nd NewNtOp&PairPeatPla)P%tQui*ScueSemb!Si,Sour)Sp#'SultTi*T*atTurnUn]Ve$ViewW?d2Y`m0BBb#CeChDeD+F!GhtGidNgOtPp!SkTu$V$V 5AdA,BotBu,CketM<)OfOkieOmSeTa>UghUndU>Y$5Bb DeGLeNNwayR$:DDd!D}[FeIlLadLm#L#LtLu>MeMp!NdTisfyToshiU)Usa+VeY1A!AnA*Att E}HemeHoolI&)I[%sOrp]OutRapRe&RiptRub1AAr^As#AtC#dC*tCt]Cur.yEdEkGm|Le@~M(?Ni%N'Nt&)RiesRvi)Ss]Tt!TupV&_dowAftAllowA*EdEllEriffIeldIftI}IpIv O{OeOotOpOrtOuld O=RimpRugUff!Y0Bl(gCkDeE+GhtGnL|Lk~yLv Mil?Mp!N)NgR&/ Tua>XZe1A>Et^IIllInIrtUll0AbAmEepEnd I)IdeIghtImOg<OtOwUsh0AllArtI!OkeOo`0A{AkeApIffOw0ApCc Ci$CkDaFtL?Ldi LidLut]L=Me#eNgOnRryRtUlUndUpUr)U`0A)A*Ati$AwnEakEci$EedEllEndH eI)Id IkeInIr.L.OilOns%O#OrtOtRayReadR(gY0Ua*UeezeUir*l_b!AdiumAffA+AirsAmpAndArtA>AyEakEelEmEpE*oI{IllIngO{Oma^O}OolOryO=Ra>gyReetRikeR#gRugg!Ud|UffUmb!Y!0Bje@Bm.BwayC)[ChDd&Ff G?G+,ItMm NNnyN'tP PplyP*meReRfa)R+Rpri'RroundR=ySpe@/a(1AllowAmpApArmE?EetIftImIngIt^Ord1MbolMptomRup/em:B!Ck!GIlL|LkNkPeR+tSk/eTtooXi3A^Am~NN<tNnisNtRm/Xt_nkAtEmeEnE%yE*EyIngIsOughtReeRi=RowUmbUnd 0CketDeG LtMb MeNyPRedSsueT!5A,BaccoDayDdl EGe` I!tK&MatoM%rowNeNgueNightOlO`PP-Pp!R^RnadoRtoi'SsT$Uri,W?dW WnY_{AdeAff-Ag-A(Ansf ApAshA=lAyEatEeEndI$IbeI{Igg ImIpOphyOub!U{UeUlyUmpetU,U`Y2BeIt]Mb!NaN}lRkeyRnRt!1El=EntyI)InI,O1PeP-$:5Ly5B*lla0Ab!Awa*C!Cov D DoFairFoldHappyIf%mIqueItIv 'KnownLo{TilUsu$Veil1Da>GradeHoldOnP Set1B<Ge0A+EEdEfulE![U$0Il.y:C<tCuumGueLidL!yL=NNishP%Rious/Ult3H-!L=tNd%Ntu*NueRbRifyRs]RyS'lT <3Ab!Br<tCiousCt%yDeoEw~a+Nta+Ol(Rtu$RusSaS.Su$T$Vid5C$I)IdLc<oLumeTeYa+:GeG#ItLk~LnutNtRfa*RmRri%ShSp/eT VeY3Al`Ap#ArA'lA` BDd(gEk&dIrdLcome/T_!AtEatEelEnE*IpIsp 0DeD`FeLd~NNdowNeNgNkNn Nt ReSdomSeShT}[5LfM<Nd OdOlRdRkRldRryR`_pE{E,!I,I>Ong::Rd3Ar~ow9UUngU`:3BraRo9NeO",SIr="0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60",A1e=null,qh=class e extends gR{constructor(){super("en",TIr,SIr)}static wordlist(){return null==A1e&&(A1e=new e),A1e}};function ryt(e){return(1<<e)-1<<8-e&255}function CIr(e){return(1<<e)-1&255}function E1e(e,t){J8("NFKD"),null==t&&(t=qh.wordlist());let r=t.split(e);Te(r.length%3==0&&r.length>=12&&r.length<=24,"invalid mnemonic length","mnemonic","[ REDACTED ]");let n=new Uint8Array(Math.ceil(11*r.length/8)),i=0;for(let e=0;e<r.length;e++){let o=t.getWordIndex(r[e].normalize("NFKD"));Te(o>=0,`invalid mnemonic word at index ${e}`,"mnemonic","[ REDACTED ]");for(let e=0;e<11;e++)o&1<<10-e&&(n[i>>3]|=1<<7-i%8),i++}let o=32*r.length/3,s=ryt(r.length/3);return Te((zt(ls(n.slice(0,o/8)))[0]&s)===(n[n.length-1]&s),"invalid mnemonic checksum","mnemonic","[ REDACTED ]"),Ct(n.slice(0,o/8))}function T1e(e,t){Te(e.length%4==0&&e.length>=16&&e.length<=32,"invalid entropy size","entropy","[ REDACTED ]"),null==t&&(t=qh.wordlist());let r=[0],n=11;for(let t=0;t<e.length;t++)n>8?(r[r.length-1]<<=8,r[r.length-1]|=e[t],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=e[t]>>8-n,r.push(e[t]&CIr(8-n)),n+=3);let i=e.length/4,o=parseInt(ls(e).substring(2,4),16)&ryt(i);return r[r.length-1]<<=i,r[r.length-1]|=o>>8-i,t.join(r.map((e=>t.getWord(e))))}m();var S1e={},jh=class e{phrase;password;wordlist;entropy;constructor(e,t,r,n,i){null==n&&(n=""),null==i&&(i=qh.wordlist()),Qu(e,S1e,"Mnemonic"),Ur(this,{phrase:r,password:n,wordlist:i,entropy:t})}computeSeed(){let e=us("mnemonic"+this.password,"NFKD");return Rb(us(this.phrase,"NFKD"),e,2048,64,"sha512")}static fromPhrase(t,r,n){let i=E1e(t,n);return t=T1e(zt(i),n),new e(S1e,i,t,r,n)}static fromEntropy(t,r,n){let i=zt(t,"entropy"),o=T1e(i,n);return new e(S1e,Ct(i),o,r,n)}static entropyToPhrase(e,t){return T1e(zt(e,"entropy"),t)}static phraseToEntropy(e,t){return E1e(e,t)}static isValidMnemonic(e,t){try{return E1e(e,t),!0}catch{}return!1}};m(),m(),m();var iu=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},C1e=function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},zV,Vh,Ty,IIr={16:10,24:12,32:14},OIr=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],Gh=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],WV=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],PIr=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],BIr=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],MIr=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],kIr=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],_Ir=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],RIr=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],NIr=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],DIr=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],UIr=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],LIr=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],FIr=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],WIr=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function I1e(e){let t=[];for(let r=0;r<e.length;r+=4)t.push(e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]);return t}var yR=class e{get key(){return iu(this,zV,"f").slice()}constructor(t){if(zV.set(this,void 0),Vh.set(this,void 0),Ty.set(this,void 0),!(this instanceof e))throw Error("AES must be instanitated with `new`");C1e(this,zV,new Uint8Array(t),"f");let r=IIr[this.key.length];if(null==r)throw new TypeError("invalid key size (must be 16, 24 or 32 bytes)");C1e(this,Ty,[],"f"),C1e(this,Vh,[],"f");for(let e=0;e<=r;e++)iu(this,Ty,"f").push([0,0,0,0]),iu(this,Vh,"f").push([0,0,0,0]);let n,i=4*(r+1),o=this.key.length/4,s=I1e(this.key);for(let e=0;e<o;e++)n=e>>2,iu(this,Ty,"f")[n][e%4]=s[e],iu(this,Vh,"f")[r-n][e%4]=s[e];let a,c=0,u=o;for(;u<i;){if(a=s[o-1],s[0]^=Gh[a>>16&255]<<24^Gh[a>>8&255]<<16^Gh[255&a]<<8^Gh[a>>24&255]^OIr[c]<<24,c+=1,8!=o)for(let e=1;e<o;e++)s[e]^=s[e-1];else{for(let e=1;e<o/2;e++)s[e]^=s[e-1];a=s[o/2-1],s[o/2]^=Gh[255&a]^Gh[a>>8&255]<<8^Gh[a>>16&255]<<16^Gh[a>>24&255]<<24;for(let e=o/2+1;e<o;e++)s[e]^=s[e-1]}let e,t,n=0;for(;n<o&&u<i;)e=u>>2,t=u%4,iu(this,Ty,"f")[e][t]=s[n],iu(this,Vh,"f")[r-e][t]=s[n++],u++}for(let e=1;e<r;e++)for(let t=0;t<4;t++)a=iu(this,Vh,"f")[e][t],iu(this,Vh,"f")[e][t]=UIr[a>>24&255]^LIr[a>>16&255]^FIr[a>>8&255]^WIr[255&a]}encrypt(e){if(16!=e.length)throw new TypeError("invalid plaintext size (must be 16 bytes)");let t=iu(this,Ty,"f").length-1,r=[0,0,0,0],n=I1e(e);for(let e=0;e<4;e++)n[e]^=iu(this,Ty,"f")[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)r[t]=PIr[n[t]>>24&255]^BIr[n[(t+1)%4]>>16&255]^MIr[n[(t+2)%4]>>8&255]^kIr[255&n[(t+3)%4]]^iu(this,Ty,"f")[e][t];n=r.slice()}let i=new Uint8Array(16),o=0;for(let e=0;e<4;e++)o=iu(this,Ty,"f")[t][e],i[4*e]=255&(Gh[n[e]>>24&255]^o>>24),i[4*e+1]=255&(Gh[n[(e+1)%4]>>16&255]^o>>16),i[4*e+2]=255&(Gh[n[(e+2)%4]>>8&255]^o>>8),i[4*e+3]=255&(Gh[255&n[(e+3)%4]]^o);return i}decrypt(e){if(16!=e.length)throw new TypeError("invalid ciphertext size (must be 16 bytes)");let t=iu(this,Vh,"f").length-1,r=[0,0,0,0],n=I1e(e);for(let e=0;e<4;e++)n[e]^=iu(this,Vh,"f")[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)r[t]=_Ir[n[t]>>24&255]^RIr[n[(t+3)%4]>>16&255]^NIr[n[(t+2)%4]>>8&255]^DIr[255&n[(t+1)%4]]^iu(this,Vh,"f")[e][t];n=r.slice()}let i=new Uint8Array(16),o=0;for(let e=0;e<4;e++)o=iu(this,Vh,"f")[t][e],i[4*e]=255&(WV[n[e]>>24&255]^o>>24),i[4*e+1]=255&(WV[n[(e+3)%4]>>16&255]^o>>16),i[4*e+2]=255&(WV[n[(e+2)%4]>>8&255]^o>>8),i[4*e+3]=255&(WV[255&n[(e+1)%4]]^o);return i}};zV=new WeakMap,Vh=new WeakMap,Ty=new WeakMap,m();var Lb=class{constructor(e,t,r){if(r&&!(this instanceof r))throw new Error(`${e} must be instantiated with "new"`);Object.defineProperties(this,{aes:{enumerable:!0,value:new yR(t)},name:{enumerable:!0,value:e}})}},zIr,KIr;m(),zIr=new WeakMap,KIr=new WeakMap,m();var O1e=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},HIr,qIr,KV,jIr;qIr=new WeakMap,KV=new WeakMap,HIr=new WeakSet,jIr=function(e){let t=this.segmentSize/8;O1e(this,KV,"f").set(O1e(this,KV,"f").subarray(t)),O1e(this,KV,"f").set(e.subarray(0,t),16-t)},m();var cC=function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},Jh=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},mR,rT,Xh,uC=class e extends Lb{constructor(t,r){super("CTR",t,e),mR.set(this,void 0),rT.set(this,void 0),Xh.set(this,void 0),cC(this,Xh,new Uint8Array(16),"f"),Jh(this,Xh,"f").fill(0),cC(this,mR,Jh(this,Xh,"f"),"f"),cC(this,rT,16,"f"),null==r&&(r=1),"number"==typeof r?this.setCounterValue(r):this.setCounterBytes(r)}get counter(){return new Uint8Array(Jh(this,Xh,"f"))}setCounterValue(e){if(!Number.isInteger(e)||e<0||e>Number.MAX_SAFE_INTEGER)throw new TypeError("invalid counter initial integer value");for(let t=15;t>=0;--t)Jh(this,Xh,"f")[t]=e%256,e=Math.floor(e/256)}setCounterBytes(e){if(16!==e.length)throw new TypeError("invalid counter initial Uint8Array value length");Jh(this,Xh,"f").set(e)}increment(){for(let e=15;e>=0;e--){if(255!==Jh(this,Xh,"f")[e]){Jh(this,Xh,"f")[e]++;break}Jh(this,Xh,"f")[e]=0}}encrypt(e){var t,r;let n=new Uint8Array(e);for(let e=0;e<n.length;e++)16===Jh(this,rT,"f")&&(cC(this,mR,this.aes.encrypt(Jh(this,Xh,"f")),"f"),cC(this,rT,0,"f"),this.increment()),n[e]^=Jh(this,mR,"f")[(cC(this,rT,(r=Jh(this,rT,"f"),t=r++,r),"f"),t)];return n}decrypt(e){return this.encrypt(e)}},GIr,VIr,JIr;function lC(e,t){for(e=String(e);e.length<t;)e="0"+e;return e}function P1e(e){return"string"==typeof e?us(e,"NFKC"):as(e)}mR=new WeakMap,rT=new WeakMap,Xh=new WeakMap,m(),m(),GIr=new WeakMap,VIr=new WeakMap,JIr=new WeakMap,m(),m();var XIr="m/44'/60'/0'/0/0";function nyt(e){let t=null!=e.salt?zt(e.salt,"options.salt"):Nd(32),r=1<<17,n=8,i=1;return e.scrypt&&(e.scrypt.N&&(r=e.scrypt.N),e.scrypt.r&&(n=e.scrypt.r),e.scrypt.p&&(i=e.scrypt.p)),Te("number"==typeof r&&r>0&&Number.isSafeInteger(r)&&(BigInt(r)&BigInt(r-1))===BigInt(0),"invalid scrypt N parameter","options.N",r),Te("number"==typeof n&&n>0&&Number.isSafeInteger(n),"invalid scrypt r parameter","options.r",n),Te("number"==typeof i&&i>0&&Number.isSafeInteger(i),"invalid scrypt p parameter","options.p",i),{name:"scrypt",dkLen:32,salt:t,N:r,r:n,p:i}}function iyt(e,t,r,n){let i=zt(r.privateKey,"privateKey"),o=null!=n.iv?zt(n.iv,"options.iv"):Nd(16);Te(16===o.length,"invalid options.iv length","options.iv",n.iv);let s=null!=n.uuid?zt(n.uuid,"options.uuid"):Nd(16);Te(16===s.length,"invalid options.uuid length","options.uuid",n.iv);let a=e.slice(0,16),c=e.slice(16,32),u=zt(new uC(a,o).encrypt(i)),l=Fr(xn([c,u])),d={address:r.address.substring(2).toLowerCase(),id:oV(s),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:Ct(o).substring(2)},ciphertext:Ct(u).substring(2),kdf:"scrypt",kdfparams:{salt:Ct(t.salt).substring(2),n:t.N,dklen:32,p:t.p,r:t.r},mac:l.substring(2)}};if(r.mnemonic){let t=null!=n.client?n.client:`ethers/${QG}`,i=r.mnemonic.path||XIr,o=r.mnemonic.locale||"en",s=e.slice(32,64),a=zt(r.mnemonic.entropy,"account.mnemonic.entropy"),c=Nd(16),u=zt(new uC(s,c).encrypt(a)),l=new Date,h="UTC--"+l.getUTCFullYear()+"-"+lC(l.getUTCMonth()+1,2)+"-"+lC(l.getUTCDate(),2)+"T"+lC(l.getUTCHours(),2)+"-"+lC(l.getUTCMinutes(),2)+"-"+lC(l.getUTCSeconds(),2)+".0Z--"+d.address;d["x-ethers"]={client:t,gethFilename:h,path:i,locale:o,mnemonicCounter:Ct(c).substring(2),mnemonicCiphertext:Ct(u).substring(2),version:"0.1"}}return JSON.stringify(d)}function B1e(e,t,r){null==r&&(r={});let n=P1e(t),i=nyt(r);return iyt(zt(hx(n,i.salt,i.N,i.r,i.p,64)),i,e,r)}async function M1e(e,t,r){null==r&&(r={});let n=P1e(t),i=nyt(r);return iyt(zt(await dx(n,i.salt,i.N,i.r,i.p,64,r.progressCallback)),i,e,r)}var bR="m/44'/60'/0'/0/0",YIr=new Uint8Array([66,105,116,99,111,105,110,32,115,101,101,100]),wx=2147483648,QIr=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),ZIr="0123456789abcdef";function HV(e,t){let r="";for(;e;)r=ZIr[e%16]+r,e=Math.trunc(e/16);for(;r.length<2*t;)r="0"+r;return"0x"+r}function k1e(e){let t=zt(e);return nV(xn([t,Rd(ls(ls(t)),0,4)]))}var Sy={};function oyt(e,t,r,n){let i=new Uint8Array(37);e&wx?(Ar(null!=n,"cannot derive child of neutered node","UNSUPPORTED_OPERATION",{operation:"deriveChild"}),i.set(zt(n),1)):i.set(zt(r));for(let t=24;t>=0;t-=8)i[33+(t>>3)]=e>>24-t&255;let o=zt(Kh("sha512",t,i));return{IL:o.slice(0,32),IR:o.slice(32)}}function syt(e,t){let r=t.split("/");Te(r.length>0,"invalid path","path",t),"m"===r[0]&&(Te(0===e.depth,`cannot derive root path (i.e. path starting with "m/") for a node at non-zero depth ${e.depth}`,"path",t),r.shift());let n=e;for(let e=0;e<r.length;e++){let t=r[e];if(t.match(/^[0-9]+'$/)){let r=parseInt(t.substring(0,t.length-1));Te(r<wx,"invalid path index",`path[${e}]`,t),n=n.deriveChild(wx+r)}else if(t.match(/^[0-9]+$/)){let r=parseInt(t);Te(r<wx,"invalid path index",`path[${e}]`,t),n=n.deriveChild(r)}else Te(!1,"invalid path component",`path[${e}]`,t)}return n}var Fb=class e extends pR{publicKey;fingerprint;parentFingerprint;mnemonic;chainCode;path;index;depth;constructor(e,t,r,n,i,o,s,a,c){super(t,c),Qu(e,Sy,"HDNodeWallet"),Ur(this,{publicKey:t.compressedPublicKey}),Ur(this,{parentFingerprint:r,fingerprint:Rd(_b(ls(this.publicKey)),0,4),chainCode:n,path:i,index:o,depth:s}),Ur(this,{mnemonic:a})}connect(t){return new e(Sy,this.signingKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,this.mnemonic,t)}#e(){let e={address:this.address,privateKey:this.privateKey},t=this.mnemonic;return this.path&&t&&"en"===t.wordlist.locale&&""===t.password&&(e.mnemonic={path:this.path,locale:"en",entropy:t.entropy}),e}async encrypt(e,t){return await M1e(this.#e(),e,{progressCallback:t})}encryptSync(e){return B1e(this.#e(),e)}get extendedKey(){return Ar(this.depth<256,"Depth too deep","UNSUPPORTED_OPERATION",{operation:"extendedKey"}),k1e(xn(["0x0488ADE4",HV(this.depth,1),this.parentFingerprint,HV(this.index,4),this.chainCode,xn(["0x00",this.privateKey])]))}hasPath(){return null!=this.path}neuter(){return new fC(Sy,this.address,this.publicKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,this.provider)}deriveChild(t){let r=ko(t,"index");Te(r<=4294967295,"invalid index","index",r);let n=this.path;n&&(n+="/"+(r&~wx),r&wx&&(n+="'"));let{IR:i,IL:o}=oyt(r,this.chainCode,this.publicKey,this.privateKey),s=new Ns(Ga((Pb(o)+BigInt(this.privateKey))%QIr,32));return new e(Sy,s,this.fingerprint,Ct(i),n,r,this.depth+1,this.mnemonic,this.provider)}derivePath(e){return syt(this,e)}static#t(t,r){Te(Ey(t),"invalid seed","seed","[REDACTED]");let n=zt(t,"seed");Te(n.length>=16&&n.length<=64,"invalid seed","seed","[REDACTED]");let i=zt(Kh("sha512",YIr,n)),o=new Ns(Ct(i.slice(0,32)));return new e(Sy,o,"0x00000000",Ct(i.slice(32)),"m",0,0,r,null)}static fromExtendedKey(t){let r=ta(iV(t));Te(82===r.length||k1e(r.slice(0,78))===t,"invalid extended key","extendedKey","[ REDACTED ]");let n=r[4],i=Ct(r.slice(5,9)),o=parseInt(Ct(r.slice(9,13)).substring(2),16),s=Ct(r.slice(13,45)),a=r.slice(45,78);switch(Ct(r.slice(0,4))){case"0x0488b21e":case"0x043587cf":{let e=Ct(a);return new fC(Sy,mx(e),e,i,s,null,o,n,null)}case"0x0488ade4":case"0x04358394 ":if(0!==a[0])break;return new e(Sy,new Ns(a.slice(1)),i,s,null,o,n,null,null)}Te(!1,"invalid extended key prefix","extendedKey","[ REDACTED ]")}static createRandom(t,r,n){null==t&&(t=""),null==r&&(r=bR),null==n&&(n=qh.wordlist());let i=jh.fromEntropy(Nd(16),t,n);return e.#t(i.computeSeed(),i).derivePath(r)}static fromMnemonic(t,r){return r||(r=bR),e.#t(t.computeSeed(),t).derivePath(r)}static fromPhrase(t,r,n,i){null==r&&(r=""),null==n&&(n=bR),null==i&&(i=qh.wordlist());let o=jh.fromPhrase(t,r,i);return e.#t(o.computeSeed(),o).derivePath(n)}static fromSeed(t){return e.#t(t,null)}},fC=class e extends hR{publicKey;fingerprint;parentFingerprint;chainCode;path;index;depth;constructor(e,t,r,n,i,o,s,a,c){super(t,c),Qu(e,Sy,"HDNodeVoidWallet"),Ur(this,{publicKey:r}),Ur(this,{publicKey:r,fingerprint:Rd(_b(ls(r)),0,4),parentFingerprint:n,chainCode:i,path:o,index:s,depth:a})}connect(t){return new e(Sy,this.address,this.publicKey,this.parentFingerprint,this.chainCode,this.path,this.index,this.depth,t)}get extendedKey(){return Ar(this.depth<256,"Depth too deep","UNSUPPORTED_OPERATION",{operation:"extendedKey"}),k1e(xn(["0x0488B21E",HV(this.depth,1),this.parentFingerprint,HV(this.index,4),this.chainCode,this.publicKey]))}hasPath(){return null!=this.path}deriveChild(t){let r=ko(t,"index");Te(r<=4294967295,"invalid index","index",r);let n=this.path;n&&(n+="/"+(r&~wx),r&wx&&(n+="'"));let{IR:i,IL:o}=oyt(r,this.chainCode,this.publicKey,null),s=Ns.addPoints(o,this.publicKey,!0),a=mx(s);return new e(Sy,a,s,this.fingerprint,Ct(i),n,r,this.depth+1,this.provider)}derivePath(e){return syt(this,e)}};m(),m();var qV={en:qh.wordlist()},_1e;function Ll(e){let t=new Set;return e.forEach((e=>t.add(e))),Object.freeze(t)}m(),m();var yyt="constant external internal payable private public pure view",tOr=Ll(yyt.split(" ")),myt="constructor error event fallback function receive struct",byt=Ll(myt.split(" ")),vyt="calldata memory storage payable indexed",rOr=Ll(vyt.split(" ")),nOr="tuple returns",iOr=[myt,vyt,nOr,yyt].join(" "),oOr=Ll(iOr.split(" ")),sOr={"(":"OPEN_PAREN",")":"CLOSE_PAREN","[":"OPEN_BRACKET","]":"CLOSE_BRACKET",",":"COMMA","@":"AT"},aOr=new RegExp("^(\\s*)"),cOr=new RegExp("^([0-9]+)"),uOr=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)"),wyt=new RegExp("^([a-zA-Z$_][a-zA-Z0-9$_]*)$"),xyt=new RegExp("^(trcToken|address|bool|bytes([0-9]*)|string|u?int([0-9]*))$"),Qh=class{#e;#t;get offset(){return this.#e}get length(){return this.#t.length-this.#e}constructor(e){this.#e=0,this.#t=e.slice()}clone(){return new _1e(this.#t)}reset(){this.#e=0}#r(e=0,t=0){return new _1e(this.#t.slice(e,t).map((t=>Object.freeze(Object.assign({},t,{match:t.match-e,linkBack:t.linkBack-e,linkNext:t.linkNext-e})))))}popKeyword(e){let t=this.peek();if("KEYWORD"!==t.type||!e.has(t.text))throw new Error(`expected keyword ${t.text}`);return this.pop().text}popType(e){if(this.peek().type!==e)throw new Error(`expected ${e}; got ${JSON.stringify(this.peek())}`);return this.pop().text}popParen(){let e=this.peek();if("OPEN_PAREN"!==e.type)throw new Error("bad start");let t=this.#r(this.#e+1,e.match+1);return this.#e=e.match+1,t}popParams(){let e=this.peek();if("OPEN_PAREN"!==e.type)throw new Error("bad start");let t=[];for(;this.#e<e.match-1;){let e=this.peek().linkNext;t.push(this.#r(this.#e+1,e)),this.#e=e}return this.#e=e.match+1,t}peek(){if(this.#e>=this.#t.length)throw new Error("out-of-bounds");return this.#t[this.#e]}peekKeyword(e){let t=this.peekType("KEYWORD");return null!=t&&e.has(t)?t:null}peekType(e){if(0===this.length)return null;let t=this.peek();return t.type===e?t.text:null}pop(){let e=this.peek();return this.#e++,e}toString(){let e=[];for(let t=this.#e;t<this.#t.length;t++){let r=this.#t[t];e.push(`${r.type}:${r.text}`)}return`<TokenString ${e.join(" ")}>`}};function xx(e){let t=[],r=t=>{let r=o<e.length?JSON.stringify(e[o]):"$EOI";throw new Error(`invalid token ${r} at ${o}: ${t}`)},n=[],i=[],o=0;for(;o<e.length;){let s=e.substring(o),a=s.match(aOr);a&&(o+=a[1].length,s=e.substring(o));let c={depth:n.length,linkBack:-1,linkNext:-1,match:-1,type:"",text:"",offset:o,value:-1};t.push(c);let u=sOr[s[0]]||"";if(u){if(c.type=u,c.text=s[0],o++,"OPEN_PAREN"===u)n.push(t.length-1),i.push(t.length-1);else if("CLOSE_PAREN"==u)0===n.length&&r("no matching open bracket"),c.match=n.pop(),t[c.match].match=t.length-1,c.depth--,c.linkBack=i.pop(),t[c.linkBack].linkNext=t.length-1;else if("COMMA"===u)c.linkBack=i.pop(),t[c.linkBack].linkNext=t.length-1,i.push(t.length-1);else if("OPEN_BRACKET"===u)c.type="BRACKET";else if("CLOSE_BRACKET"===u){let e=t.pop().text;if(t.length>0&&"NUMBER"===t[t.length-1].type){let r=t.pop().text;e=r+e,t[t.length-1].value=ko(r)}if(0===t.length||"BRACKET"!==t[t.length-1].type)throw new Error("missing opening bracket");t[t.length-1].text+=e}}else if(a=s.match(uOr),a){if(c.text=a[1],o+=c.text.length,oOr.has(c.text)){c.type="KEYWORD";continue}if(c.text.match(xyt)){c.type="TYPE";continue}c.type="ID"}else{if(a=s.match(cOr),!a)throw new Error(`unexpected token ${JSON.stringify(s[0])} at position ${o}`);c.text=a[1],c.type="NUMBER",o+=c.text.length}}return new Qh(t.map((e=>Object.freeze(e))))}function ayt(e,t){let r=[];for(let n in t.keys())e.has(n)&&r.push(n);if(r.length>1)throw new Error(`conflicting types: ${r.join(", ")}`)}function GV(e,t){if(t.peekKeyword(byt)){let r=t.pop().text;if(r!==e)throw new Error(`expected ${e}, got ${r}`)}return t.popType("ID")}function zb(e,t){let r=new Set;for(;;){let n=e.peekType("KEYWORD");if(null==n||t&&!t.has(n))break;if(e.pop(),r.has(n))throw new Error(`duplicate keywords: ${JSON.stringify(n)}`);r.add(n)}return Object.freeze(r)}function Ayt(e){let t=zb(e,tOr);return ayt(t,Ll("constant payable nonpayable".split(" "))),ayt(t,Ll("pure view payable nonpayable".split(" "))),t.has("view")?"view":t.has("pure")?"pure":t.has("payable")?"payable":t.has("nonpayable")?"nonpayable":t.has("constant")?"view":"nonpayable"}function Wb(e,t){return e.popParams().map((e=>Fl.from(e,t)))}function Eyt(e){if(e.peekType("AT")){if(e.pop(),e.peekType("NUMBER"))return Mn(e.pop().text);throw new Error("invalid gas")}return null}function sT(e){if(e.length)throw new Error(`unexpected tokens: ${e.toString()}`)}_1e=Qh;var lOr=new RegExp(/^(.*)\[([0-9]*)\]$/);function cyt(e){let t=e.match(xyt);if(Te(t,"invalid type","type",e),"uint"===e)return"uint256";if("int"===e)return"int256";if(t[2]){let r=parseInt(t[2]);Te(0!==r&&r<=32,"invalid bytes length","type",e)}else if(t[3]){let r=parseInt(t[3]);Te(0!==r&&r<=256&&r%8==0,"invalid numeric width","type",e)}return e}var ys={},Hf=Symbol.for("_ethers_internal"),uyt="_ParamTypeInternal",lyt="_ErrorInternal",fyt="_EventInternal",dyt="_ConstructorInternal",hyt="_FallbackInternal",pyt="_FunctionInternal",gyt="_StructInternal",Fl=class e{name;type;baseType;indexed;components;arrayLength;arrayChildren;constructor(e,t,r,n,i,o,s,a){if(Qu(e,ys,"ParamType"),Object.defineProperty(this,Hf,{value:uyt}),o&&(o=Object.freeze(o.slice())),"array"===n){if(null==s||null==a)throw new Error("")}else if(null!=s||null!=a)throw new Error("");if("tuple"===n){if(null==o)throw new Error("")}else if(null!=o)throw new Error("");Ur(this,{name:t,type:r,baseType:n,indexed:i,components:o,arrayLength:s,arrayChildren:a})}format(e){if(null==e&&(e="sighash"),"json"===e){let t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(t.indexed=this.indexed),this.isTuple()&&(t.components=this.components.map((t=>JSON.parse(t.format(e))))),JSON.stringify(t)}let t="";return this.isArray()?(t+=this.arrayChildren.format(e),t+=`[${this.arrayLength<0?"":String(this.arrayLength)}]`):this.isTuple()?("sighash"!==e&&(t+=this.type),t+="("+this.components.map((t=>t.format(e))).join("full"===e?", ":",")+")"):t+=this.type,"sighash"!==e&&(!0===this.indexed&&(t+=" indexed"),"full"===e&&this.name&&(t+=" "+this.name)),t}isArray(){return"array"===this.baseType}isTuple(){return"tuple"===this.baseType}isIndexable(){return null!=this.indexed}walk(e,t){if(this.isArray()){if(!Array.isArray(e))throw new Error("invalid array value");if(-1!==this.arrayLength&&e.length!==this.arrayLength)throw new Error("array is wrong length");return e.map((e=>this.arrayChildren?.walk(e,t)))}if(this.isTuple()){if(!Array.isArray(e))throw new Error("invalid tuple value");if(e.length!==this.components.length)throw new Error("array is wrong length");return e.map(((e,r)=>this.components?.[r].walk(e,t)))}return t(this.type,e)}#e(e,t,r,n){if(this.isArray()){if(!Array.isArray(t))throw new Error("invalid array value");if(-1!==this.arrayLength&&t.length!==this.arrayLength)throw new Error("array is wrong length");let i=this.arrayChildren,o=t.slice();return o.forEach(((t,n)=>{i.#e(e,t,r,(e=>{o[n]=e}))})),void n(o)}if(this.isTuple()){let i,o=this.components;if(Array.isArray(t))i=t.slice();else{if(null==t||"object"!=typeof t)throw new Error("invalid tuple value");i=o.map((e=>{if(!e.name)throw new Error("cannot use object value with unnamed components");if(!(e.name in t))throw new Error(`missing value for component ${e.name}`);return t[e.name]}))}if(i.length!==this.components.length)throw new Error("array is wrong length");return i.forEach(((t,n)=>{o[n].#e(e,t,r,(e=>{i[n]=e}))})),void n(i)}let i=r(this.type,t);i.then?e.push(async function(){n(await i)}()):n(i)}async walkAsync(e,t){let r=[],n=[e];return this.#e(r,e,t,(e=>{n[0]=e})),r.length&&await Promise.all(r),n[0]}static from(t,r){if(e.isParamType(t))return t;if("string"==typeof t)return e.from(xx(t),r);if(t instanceof Qh){let n="",i="",o=null;zb(t,Ll(["tuple"])).has("tuple")||t.peekType("OPEN_PAREN")?(i="tuple",o=t.popParams().map((t=>e.from(t))),n=`tuple(${o.map((e=>e.format())).join(",")})`):(n=cyt(t.popType("TYPE")),i=n);let s=null,a=null;for(;t.length&&t.peekType("BRACKET");){let r=t.pop();s=new e(ys,"",n,i,null,o,a,s),a=r.value,n+=r.text,i="array",o=null}let c=null;if(zb(t,rOr).has("indexed")){if(!r)throw new Error("");c=!0}let u=t.peekType("ID")?t.pop().text:"";if(t.length)throw new Error("leftover tokens");return new e(ys,u,n,i,c,o,a,s)}let n=t.name;Te(!n||"string"==typeof n&&n.match(wyt),"invalid name","obj.name",n);let i=t.indexed;null!=i&&(Te(r,"parameter cannot be indexed","obj.indexed",t.indexed),i=!!i);let o=t.type,s=o.match(lOr);if(s){let r=parseInt(s[2]||"-1"),a=e.from({type:s[1],components:t.components});return new e(ys,n||"",o,"array",i,null,r,a)}if("tuple"===o||o.startsWith("tuple(")||o.startsWith("(")){let r=null!=t.components?t.components.map((t=>e.from(t))):null;return new e(ys,n||"",o,"tuple",i,r,null,null)}return o=cyt(t.type),new e(ys,n||"",o,o,i,null,null,null)}static isParamType(e){return e&&e[Hf]===uyt}},aT=class e{type;inputs;constructor(e,t,r){Qu(e,ys,"Fragment"),Ur(this,{type:t,inputs:r=Object.freeze(r.slice())})}static from(t){if("string"==typeof t){try{e.from(JSON.parse(t))}catch{}return e.from(xx(t))}if(t instanceof Qh)switch(t.peekKeyword(byt)){case"constructor":return iT.from(t);case"error":return Yh.from(t);case"event":return nT.from(t);case"fallback":case"receive":return jV.from(t);case"function":return oT.from(t);case"struct":return vR.from(t)}else if("object"==typeof t){switch(t.type){case"constructor":return iT.from(t);case"error":return Yh.from(t);case"event":return nT.from(t);case"fallback":case"receive":return jV.from(t);case"function":return oT.from(t);case"struct":return vR.from(t)}Ar(!1,`unsupported type: ${t.type}`,"UNSUPPORTED_OPERATION",{operation:"Fragment.from"})}Te(!1,"unsupported frgament object","obj",t)}static isConstructor(e){return iT.isFragment(e)}static isError(e){return Yh.isFragment(e)}static isEvent(e){return nT.isFragment(e)}static isFunction(e){return oT.isFragment(e)}static isStruct(e){return vR.isFragment(e)}},dC=class extends aT{name;constructor(e,t,r,n){super(e,t,n),Te("string"==typeof r&&r.match(wyt),"invalid identifier","name",r),n=Object.freeze(n.slice()),Ur(this,{name:r})}};function wR(e,t){return"("+t.map((t=>t.format(e))).join("full"===e?", ":",")+")"}var Yh=class e extends dC{constructor(e,t,r){super(e,"error",t,r),Object.defineProperty(this,Hf,{value:lyt})}get selector(){return Ja(this.format("sighash")).substring(0,10)}format(e){if(null==e&&(e="sighash"),"json"===e)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((t=>JSON.parse(t.format(e))))});let t=[];return"sighash"!==e&&t.push("error"),t.push(this.name+wR(e,this.inputs)),t.join(" ")}static from(t){if(e.isFragment(t))return t;if("string"==typeof t)return e.from(xx(t));if(t instanceof Qh){let r=GV("error",t),n=Wb(t);return sT(t),new e(ys,r,n)}return new e(ys,t.name,t.inputs?t.inputs.map(Fl.from):[])}static isFragment(e){return e&&e[Hf]===lyt}},nT=class e extends dC{anonymous;constructor(e,t,r,n){super(e,"event",t,r),Object.defineProperty(this,Hf,{value:fyt}),Ur(this,{anonymous:n})}get topicHash(){return Ja(this.format("sighash"))}format(e){if(null==e&&(e="sighash"),"json"===e)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((t=>JSON.parse(t.format(e))))});let t=[];return"sighash"!==e&&t.push("event"),t.push(this.name+wR(e,this.inputs)),"sighash"!==e&&this.anonymous&&t.push("anonymous"),t.join(" ")}static getTopicHash(t,r){return r=(r||[]).map((e=>Fl.from(e))),new e(ys,t,r,!1).topicHash}static from(t){if(e.isFragment(t))return t;if("string"==typeof t)return e.from(xx(t));if(t instanceof Qh){let r=GV("event",t),n=Wb(t,!0),i=!!zb(t,Ll(["anonymous"])).has("anonymous");return sT(t),new e(ys,r,n,i)}return new e(ys,t.name,t.inputs?t.inputs.map((e=>Fl.from(e,!0))):[],!!t.anonymous)}static isFragment(e){return e&&e[Hf]===fyt}},iT=class e extends aT{payable;gas;constructor(e,t,r,n,i){super(e,t,r),Object.defineProperty(this,Hf,{value:dyt}),Ur(this,{payable:n,gas:i})}format(e){if(Ar(null!=e&&"sighash"!==e,"cannot format a constructor for sighash","UNSUPPORTED_OPERATION",{operation:"format(sighash)"}),"json"===e)return JSON.stringify({type:"constructor",stateMutability:this.payable?"payable":"undefined",payable:this.payable,gas:null!=this.gas?this.gas:void 0,inputs:this.inputs.map((t=>JSON.parse(t.format(e))))});let t=[`constructor${wR(e,this.inputs)}`];return t.push(this.payable?"payable":"nonpayable"),null!=this.gas&&t.push(`@${this.gas.toString()}`),t.join(" ")}static from(t){if(e.isFragment(t))return t;if("string"==typeof t)return e.from(xx(t));if(t instanceof Qh){zb(t,Ll(["constructor"]));let r=Wb(t),n=!!zb(t,Ll(["payable"])).has("payable"),i=Eyt(t);return sT(t),new e(ys,"constructor",r,n,i)}return new e(ys,"constructor",t.inputs?t.inputs.map(Fl.from):[],!!t.payable,null!=t.gas?t.gas:null)}static isFragment(e){return e&&e[Hf]===dyt}},jV=class e extends aT{payable;constructor(e,t,r){super(e,"fallback",t),Object.defineProperty(this,Hf,{value:hyt}),Ur(this,{payable:r})}format(e){let t=0===this.inputs.length?"receive":"fallback";if("json"===e){let e=this.payable?"payable":"nonpayable";return JSON.stringify({type:t,stateMutability:e})}return`${t}()${this.payable?" payable":""}`}static from(t){if(e.isFragment(t))return t;if("string"==typeof t)return e.from(xx(t));if(t instanceof Qh){let r=t.toString();if(Te(t.peekKeyword(Ll(["fallback","receive"])),"type must be fallback or receive","obj",r),"receive"===t.popKeyword(Ll(["fallback","receive"]))){let r=Wb(t);return Te(0===r.length,"receive cannot have arguments","obj.inputs",r),zb(t,Ll(["payable"])),sT(t),new e(ys,[],!0)}let n=Wb(t);n.length?Te(1===n.length&&"bytes"===n[0].type,"invalid fallback inputs","obj.inputs",n.map((e=>e.format("minimal"))).join(", ")):n=[Fl.from("bytes")];let i=Ayt(t);if(Te("nonpayable"===i||"payable"===i,"fallback cannot be constants","obj.stateMutability",i),zb(t,Ll(["returns"])).has("returns")){let e=Wb(t);Te(1===e.length&&"bytes"===e[0].type,"invalid fallback outputs","obj.outputs",e.map((e=>e.format("minimal"))).join(", "))}return sT(t),new e(ys,n,"payable"===i)}if("receive"===t.type)return new e(ys,[],!0);if("fallback"===t.type){let r=[Fl.from("bytes")],n="payable"===t.stateMutability;return new e(ys,r,n)}Te(!1,"invalid fallback description","obj",t)}static isFragment(e){return e&&e[Hf]===hyt}},oT=class e extends dC{constant;outputs;stateMutability;payable;gas;constructor(e,t,r,n,i,o){super(e,"function",t,n),Object.defineProperty(this,Hf,{value:pyt}),Ur(this,{constant:"view"===r||"pure"===r,gas:o,outputs:i=Object.freeze(i.slice()),payable:"payable"===r,stateMutability:r})}get selector(){return Ja(this.format("sighash")).substring(0,10)}format(e){if(null==e&&(e="sighash"),"json"===e)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:null!=this.gas?this.gas:void 0,inputs:this.inputs.map((t=>JSON.parse(t.format(e)))),outputs:this.outputs.map((t=>JSON.parse(t.format(e))))});let t=[];return"sighash"!==e&&t.push("function"),t.push(this.name+wR(e,this.inputs)),"sighash"!==e&&("nonpayable"!==this.stateMutability&&t.push(this.stateMutability),this.outputs&&this.outputs.length&&(t.push("returns"),t.push(wR(e,this.outputs))),null!=this.gas&&t.push(`@${this.gas.toString()}`)),t.join(" ")}static getSelector(t,r){return r=(r||[]).map((e=>Fl.from(e))),new e(ys,t,"view",r,[],null).selector}static from(t){if(e.isFragment(t))return t;if("string"==typeof t)return e.from(xx(t));if(t instanceof Qh){let r=GV("function",t),n=Wb(t),i=Ayt(t),o=[];zb(t,Ll(["returns"])).has("returns")&&(o=Wb(t));let s=Eyt(t);return sT(t),new e(ys,r,i,n,o,s)}let r=t.stateMutability;return null==r&&(r="payable","boolean"==typeof t.constant?(r="view",t.constant||(r="payable","boolean"==typeof t.payable&&!t.payable&&(r="nonpayable"))):"boolean"==typeof t.payable&&!t.payable&&(r="nonpayable")),new e(ys,t.name,r,t.inputs?t.inputs.map(Fl.from):[],t.outputs?t.outputs.map(Fl.from):[],null!=t.gas?t.gas:null)}static isFragment(e){return e&&e[Hf]===pyt}},vR=class e extends dC{constructor(e,t,r){super(e,"struct",t,r),Object.defineProperty(this,Hf,{value:gyt})}format(){throw new Error("@TODO")}static from(t){if("string"==typeof t)return e.from(xx(t));if(t instanceof Qh){let r=GV("struct",t),n=Wb(t);return sT(t),new e(ys,r,n)}return new e(ys,t.name,t.inputs?t.inputs.map(Fl.from):[])}static isFragment(e){return e&&e[Hf]===gyt}},R1e=class{fragment;name;signature;topic;args;constructor(e,t,r){let n=e.name,i=e.format();Ur(this,{fragment:e,name:n,signature:i,topic:t,args:r})}},N1e=class{fragment;name;args;signature;selector;value;constructor(e,t,r,n){let i=e.name,o=e.format();Ur(this,{fragment:e,name:i,args:r,signature:o,selector:t,value:n})}},D1e=class{fragment;name;args;signature;selector;constructor(e,t,r){let n=e.name,i=e.format();Ur(this,{fragment:e,name:n,args:r,signature:i,selector:t})}},VV=class{hash;_isIndexed;static isIndexed(e){return!(!e||!e._isIndexed)}constructor(e){Ur(this,{hash:e,_isIndexed:!0})}},Tyt={0:"generic panic",1:"assert(false)",17:"arithmetic overflow",18:"division or modulo by zero",33:"enum overflow",34:"invalid encoded storage byte array accessed",49:"out-of-bounds array access; popping on an empty array",50:"out-of-bounds access of an array or bytesN",65:"out of memory",81:"uninitialized function"},Syt={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:e=>`reverted with reason string ${JSON.stringify(e)}`},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"],reason:e=>{let t="unknown panic code";return e>=0&&e<=255&&Tyt[e.toString()]&&(t=Tyt[e.toString()]),`reverted with panic code 0x${e.toString(16)} (${t})`}}},JV=class e{fragments;deploy;fallback;receive;#e;#t;#r;#n;constructor(e){let t=[];t="string"==typeof e?JSON.parse(e):e,this.#r=new Map,this.#e=new Map,this.#t=new Map;let r=[];for(let e of t)try{r.push(aT.from(e))}catch(e){console.log("EE",e)}Ur(this,{fragments:Object.freeze(r)});let n=null,i=!1;this.#n=this.getAbiCoder(),this.fragments.forEach(((e,t)=>{let r;switch(e.type){case"constructor":return this.deploy?void console.log("duplicate definition - constructor"):void Ur(this,{deploy:e});case"fallback":return void(0===e.inputs.length?i=!0:(Te(!n||e.payable!==n.payable,"conflicting fallback fragments",`fragments[${t}]`,e),n=e,i=n.payable));case"function":r=this.#r;break;case"event":r=this.#t;break;case"error":r=this.#e;break;default:return}let o=e.format();r.has(o)||r.set(o,e)})),this.deploy||Ur(this,{deploy:iT.from("constructor()")}),Ur(this,{fallback:n,receive:i})}format(e){let t=e?"minimal":"full";return this.fragments.map((e=>e.format(t)))}formatJson(){let e=this.fragments.map((e=>e.format("json")));return JSON.stringify(e.map((e=>JSON.parse(e))))}getAbiCoder(){return Kf.defaultAbiCoder()}#i(e,t,r){if(cs(e)){let t=e.toLowerCase();for(let e of this.#r.values())if(t===e.selector)return e;return null}if(-1===e.indexOf("(")){let n=[];for(let[t,r]of this.#r)t.split("(")[0]===e&&n.push(r);if(t){let e=t.length>0?t[t.length-1]:null,r=t.length,i=!0;fs.isTyped(e)&&"overrides"===e.type&&(i=!1,r--);for(let e=n.length-1;e>=0;e--){let t=n[e].inputs.length;t!==r&&(!i||t!==r-1)&&n.splice(e,1)}for(let e=n.length-1;e>=0;e--){let r=n[e].inputs;for(let i=0;i<t.length;i++)if(fs.isTyped(t[i])){if(i>=r.length){if("overrides"===t[i].type)continue;n.splice(e,1);break}if(t[i].type!==r[i].baseType){n.splice(e,1);break}}}}if(1===n.length&&t&&t.length!==n[0].inputs.length){let e=t[t.length-1];(null==e||Array.isArray(e)||"object"!=typeof e)&&n.splice(0,1)}if(0===n.length)return null;if(n.length>1&&r){Te(!1,`ambiguous function description (i.e. matches ${n.map((e=>JSON.stringify(e.format()))).join(", ")})`,"key",e)}return n[0]}return this.#r.get(oT.from(e).format())||null}getFunctionName(e){let t=this.#i(e,null,!1);return Te(t,"no matching function","key",e),t.name}hasFunction(e){return!!this.#i(e,null,!1)}getFunction(e,t){return this.#i(e,t||null,!0)}forEachFunction(e){let t=Array.from(this.#r.keys());t.sort(((e,t)=>e.localeCompare(t)));for(let r=0;r<t.length;r++){let n=t[r];e(this.#r.get(n),r)}}#o(e,t,r){if(cs(e)){let t=e.toLowerCase();for(let e of this.#t.values())if(t===e.topicHash)return e;return null}if(-1===e.indexOf("(")){let n=[];for(let[t,r]of this.#t)t.split("(")[0]===e&&n.push(r);if(t){for(let e=n.length-1;e>=0;e--)n[e].inputs.length<t.length&&n.splice(e,1);for(let e=n.length-1;e>=0;e--){let r=n[e].inputs;for(let i=0;i<t.length;i++)if(fs.isTyped(t[i])&&t[i].type!==r[i].baseType){n.splice(e,1);break}}}if(0===n.length)return null;if(n.length>1&&r){Te(!1,`ambiguous event description (i.e. matches ${n.map((e=>JSON.stringify(e.format()))).join(", ")})`,"key",e)}return n[0]}return this.#t.get(nT.from(e).format())||null}getEventName(e){let t=this.#o(e,null,!1);return Te(t,"no matching event","key",e),t.name}hasEvent(e){return!!this.#o(e,null,!1)}getEvent(e,t){return this.#o(e,t||null,!0)}forEachEvent(e){let t=Array.from(this.#t.keys());t.sort(((e,t)=>e.localeCompare(t)));for(let r=0;r<t.length;r++){let n=t[r];e(this.#t.get(n),r)}}getError(e,t){if(cs(e)){let t=e.toLowerCase();if(Syt[t])return Yh.from(Syt[t].signature);for(let e of this.#e.values())if(t===e.selector)return e;return null}if(-1===e.indexOf("(")){let t=[];for(let[r,n]of this.#e)r.split("(")[0]===e&&t.push(n);if(0===t.length)return"Error"===e?Yh.from("error Error(string)"):"Panic"===e?Yh.from("error Panic(uint256)"):null;if(t.length>1){Te(!1,`ambiguous error description (i.e. ${t.map((e=>JSON.stringify(e.format()))).join(", ")})`,"name",e)}return t[0]}if("Error(string)"===(e=Yh.from(e).format()))return Yh.from("error Error(string)");if("Panic(uint256)"===e)return Yh.from("error Panic(uint256)");return this.#e.get(e)||null}forEachError(e){let t=Array.from(this.#e.keys());t.sort(((e,t)=>e.localeCompare(t)));for(let r=0;r<t.length;r++){let n=t[r];e(this.#e.get(n),r)}}_decodeParams(e,t){return this.#n.decode(e,t)}_encodeParams(e,t){return this.#n.encode(e,t)}encodeDeploy(e){return this._encodeParams(this.deploy.inputs,e||[])}decodeErrorResult(e,t){if("string"==typeof e){let t=this.getError(e);Te(t,"unknown error","fragment",e),e=t}return Te(Rd(t,0,4)===e.selector,`data signature does not match error ${e.name}.`,"data",t),this._decodeParams(e.inputs,Rd(t,4))}encodeErrorResult(e,t){if("string"==typeof e){let t=this.getError(e);Te(t,"unknown error","fragment",e),e=t}return xn([e.selector,this._encodeParams(e.inputs,t||[])])}decodeFunctionData(e,t){if("string"==typeof e){let t=this.getFunction(e);Te(t,"unknown function","fragment",e),e=t}return Te(Rd(t,0,4)===e.selector,`data signature does not match function ${e.name}.`,"data",t),this._decodeParams(e.inputs,Rd(t,4))}encodeFunctionData(e,t){if("string"==typeof e){let t=this.getFunction(e);Te(t,"unknown function","fragment",e),e=t}return xn([e.selector,this._encodeParams(e.inputs,t||[])])}decodeFunctionResult(e,t){if("string"==typeof e){let t=this.getFunction(e);Te(t,"unknown function","fragment",e),e=t}let r="invalid length for result data",n=as(t);if(n.length%32==0)try{return this.#n.decode(e.outputs,n)}catch{r="could not decode result data"}Ar(!1,r,"BAD_DATA",{value:Ct(n),info:{method:e.name,signature:e.format()}})}makeError(e,t){let r=zt(e,"data"),n=Kf.getBuiltinCallException("call",t,r);if(n.message.startsWith("execution reverted (unknown custom error)")){let e=Ct(r.slice(0,4)),t=this.getError(e);if(t)try{let e=this.#n.decode(t.inputs,r.slice(4));n.revert={name:t.name,signature:t.format(),args:e},n.reason=n.revert.signature,n.message=`execution reverted: ${n.reason}`}catch{n.message="execution reverted (coult not decode custom error)"}}let i=this.parseTransaction(t);return i&&(n.invocation={method:i.name,signature:i.signature,args:i.args}),n}encodeFunctionResult(e,t){if("string"==typeof e){let t=this.getFunction(e);Te(t,"unknown function","fragment",e),e=t}return Ct(this.#n.encode(e.outputs,t||[]))}encodeFilterTopics(e,t){if("string"==typeof e){let t=this.getEvent(e);Te(t,"unknown event","eventFragment",e),e=t}Ar(t.length<=e.inputs.length,`too many arguments for ${e.format()}`,"UNEXPECTED_ARGUMENT",{count:t.length,expectedCount:e.inputs.length});let r=[];e.anonymous||r.push(e.topicHash);let n=(e,t)=>"string"===e.type?Ja(t):"bytes"===e.type?Fr(Ct(t)):("bool"===e.type&&"boolean"==typeof t&&(t=t?"0x01":"0x00"),e.type.match(/^u?int/)&&(t=Ga(t)),"address"===e.type&&this.#n.encode(["address"],[t]),Ul(Ct(t),32));for(t.forEach(((t,i)=>{let o=e.inputs[i];o.indexed?null==t?r.push(null):"array"===o.baseType||"tuple"===o.baseType?Te(!1,"filtering with tuples or arrays not supported","contract."+o.name,t):Array.isArray(t)?r.push(t.map((e=>n(o,e)))):r.push(n(o,t)):Te(null==t,"cannot filter non-indexed parameters; must be null","contract."+o.name,t)}));r.length&&null===r[r.length-1];)r.pop();return r}encodeEventLog(e,t){if("string"==typeof e){let t=this.getEvent(e);Te(t,"unknown event","eventFragment",e),e=t}let r=[],n=[],i=[];return e.anonymous||r.push(e.topicHash),Te(t.length===e.inputs.length,"event arguments/values mismatch","values",t),e.inputs.forEach(((e,o)=>{let s=t[o];if(e.indexed)if("string"===e.type)r.push(Ja(s));else if("bytes"===e.type)r.push(Fr(s));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");r.push(this.#n.encode([e.type],[s]))}else n.push(e),i.push(s)})),{data:this.#n.encode(n,i),topics:r}}decodeEventLog(e,t,r){if("string"==typeof e){let t=this.getEvent(e);Te(t,"unknown event","eventFragment",e),e=t}if(null!=r&&!e.anonymous){let t=e.topicHash;Te(cs(r[0],32)&&r[0].toLowerCase()===t,"fragment/topic mismatch","topics[0]",r[0]),r=r.slice(1)}let n=[],i=[],o=[];e.inputs.forEach(((e,t)=>{e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(n.push(Fl.from({type:"bytes32",name:e.name})),o.push(!0)):(n.push(e),o.push(!1)):(i.push(e),o.push(!1))}));let s=null!=r?this.#n.decode(n,xn(r)):null,a=this.#n.decode(i,t,!0),c=[],u=[],l=0,d=0;return e.inputs.forEach(((e,t)=>{let r=null;if(e.indexed)if(null==s)r=new VV(null);else if(o[t])r=new VV(s[d++]);else try{r=s[d++]}catch(e){r=e}else try{r=a[l++]}catch(e){r=e}c.push(r),u.push(e.name||null)})),Ap.fromItems(c,u)}parseTransaction(e){let t=zt(e.data,"tx.data"),r=Mn(null!=e.value?e.value:0,"tx.value"),n=this.getFunction(Ct(t.slice(0,4)));if(!n)return null;let i=this.#n.decode(n.inputs,t.slice(4));return new N1e(n,n.selector,i,r)}parseCallResult(e){throw new Error("@TODO")}parseLog(e){let t=this.getEvent(e.topics[0]);return!t||t.anonymous?null:new R1e(t,t.topicHash,this.decodeEventLog(t,e.data,e.topics))}parseError(e){let t=Ct(e),r=this.getError(Rd(t,0,4));if(!r)return null;let n=this.#n.decode(r.inputs,Rd(t,4));return new D1e(r,r.selector,n)}static from(t){return t instanceof e?t:"string"==typeof t?new e(JSON.parse(t)):"function"==typeof t.format?new e(t.format("json")):new e(t)}},fOr=e=>Rs.from(e),U1e=e=>Rs.from(e).serialized,L1e=e=>zt(e),dOr={sighash:"sighash",minimal:"minimal",full:"full",json:"json"},hOr=jh.isValidMnemonic;Kh.register(((e,t,r)=>Kh._(e,P.Buffer.from(t),P.Buffer.from(r))));var W1e=34,tu="41",z1e=65,Kb=/^(41)/,Cyt="m/44'/195'",XV=Cyt+"/0'/0/0";function K1e(e){return Ib(e)?Ip(eu(e.replace(/^0x/,tu))):e}function xr(e){return Ib(e)?e.toLowerCase().replace(/^0x/,tu):qa(G1e(e)).toLowerCase()}function pOr(e){let t=(e=e.toLowerCase()).substring(2).split(""),r=new Uint8Array(40);for(let e=0;e<40;e++)r[e]=t[e].charCodeAt(0);let n=eu(Fr(r).slice(2));for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&(t[e]=t[e].toUpperCase()),(15&n[e>>1])>=8&&(t[e+1]=t[e+1].toUpperCase());return tu+t.join("")}function YV(e){if(!cT(e))throw new Error(`'${e}' is not a valid address string`);return pOr(xr(e))}function H1e(e){if(!Ib(e)||42!==e.length)return!1;try{return YV(e)===e}catch{return!1}}function q1e(e,t=!1){try{return hC(e,t)}catch{return!1}}function cT(e){if(!e||!ja(e))return!1;if(42===e.length)try{return cT(Ip(eu(e)))}catch{return!1}try{return V1e(e)}catch{return!1}}var Q1e={};Vr(Q1e,{decode58:()=>AR,encode58:()=>Y1e}),m();var J1e="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz",X1e={};for(let e=0;e<J1e.length;e++)X1e[J1e.charAt(e)]=e;var xR=58;function Y1e(e){if(0===e.length)return"";let t,r,n=[0];for(t=0;t<e.length;t++){for(r=0;r<n.length;r++)n[r]<<=8;n[0]+=e[t];let i=0;for(r=0;r<n.length;++r)n[r]+=i,i=n[r]/xR|0,n[r]%=xR;for(;i;)n.push(i%xR),i=i/xR|0}for(t=0;0===e[t]&&t<e.length-1;t++)n.push(0);return n.reverse().map((e=>J1e[e])).join("")}function AR(e){if(0===e.length)return[];let t,r,n=[0];for(t=0;t<e.length;t++){let i=e[t];if(!(i in X1e))throw new Error("Non-base58 character");for(r=0;r<n.length;r++)n[r]*=xR;n[0]+=X1e[i];let o=0;for(r=0;r<n.length;++r)n[r]+=o,o=n[r]>>8,n[r]&=255;for(;o;)n.push(255&o),o>>=8}for(t=0;"1"===e[t]&&t<e.length-1;t++)n.push(0);return n.reverse()}m(),m(),m(),m();var uT=class{host;timeout;user;password;headers;statusPage;instance;constructor(e,t=3e4,r="",n="",i={},o="/"){if(!nR(e))throw new Error("Invalid URL provided to HttpProvider");if(isNaN(t)||t<0)throw new Error("Invalid timeout duration provided");if(!tx(i))throw new Error("Invalid headers object provided");e=e.replace(/\/+$/,""),this.host=e,this.timeout=t,this.user=r,this.password=n,this.headers=i,this.statusPage=o,this.instance=R4.create({baseURL:e,timeout:t,headers:i,auth:r?{username:r,password:n}:void 0})}setStatusPage(e="/"){this.statusPage=e}async isConnected(e=this.statusPage){return this.request(e).then((e=>Mve(e,"blockID","block_header"))).catch((()=>!1))}request(e,t={},r="get"){return r=r.toLowerCase(),this.instance.request({data:"post"==r&&Object.keys(t).length?t:null,params:"get"==r&&t,url:e,method:r}).then((({data:e})=>e))}},Wl={HttpProvider:uT},dbt=hi(Oyt(),1),hbt=hi(mwe(),1);m();var vwe={};Vr(vwe,{decodeParams:()=>$Or,decodeParamsV2ByABI:()=>bwe,encodeParams:()=>e5r,encodeParamsV2ByABI:()=>xC}),m();var aJ=new Kf;function jyt(e){return hn.address.toHex(e).replace(Kb,"0x")}function $Or(e,t,r,n=!1){if(n&&r.replace(/^0x/,"").length%64==8&&(r="0x"+r.replace(/^0x/,"").substring(8)),r.replace(/^0x/,"").length%64)throw new Error("The encoded string is not valid. Its length must be a multiple of 64.");return t=t.map((e=>(/trcToken/.test(e)&&(e=e.replace(/trcToken/,"uint256")),e))),aJ.decode(t,r).reduce(((r,n,i)=>("address"==t[i]&&(n=tu+n.substr(2).toLowerCase()),e.length?r[e[i]]=n:r.push(n),r)),e.length?{}:[])}function e5r(e,t){for(let r=0;r<e.length;r++)"address"===e[r]&&(t[r]=hn.address.toHex(t[r]).replace(Kb,"0x"));return aJ.encode(e,t)}function PR(e){let t=e.match(/([a-zA-Z0-9])(\[.*\])/);return t?t[2]:""}function Gyt(e){return(PR(e).match(/\]\[/g)||[]).length+1}function xC(e,t){let r=[],n=e=>e&&0===e.type.indexOf("tuple")&&e.components?`tuple(${e.components.map((e=>n(e))).join(",")})${PR(e.type)}`:/trcToken/.test(e.type)?e.type.replace(/trcToken/,"uint256"):e.type,i=e=>Array.isArray(e)?(e.forEach(((t,r)=>{e[r]=i(t)})),e):jyt(e),o=(e,t,r)=>{r>1?t.length&&t.forEach((t=>{o(e,t,r-1)})):t.length&&r&&t.forEach((t=>{s(e,t)}))},s=(e=[],t)=>{e.length&&e.forEach(((e,r)=>{let n=e.type;if(t[r])if("address"===n)t[r]=jyt(t[r]);else if("address["===n.match(/^([^\x5b]*)(\x5b|$)/)[0])i(t[r]);else if(0===n.indexOf("tuple"))if(PR(n)){let i=Gyt(n);o(e.components,t[r],i)}else s(e.components,t[r])}))};if(e.inputs&&e.inputs.length)for(let i=0;i<e.inputs.length;i++){let o=e.inputs[i].type;"bool"===o&&"false"===t[i]&&(t[i]=!1),r.push(0===o.indexOf("tuple")?n(e.inputs[i]):o),t.length<r.length&&t.push("")}return s(e.inputs,t),(e=>{for(let t=0;t<e.length;t++){let r=e[t];/trcToken/.test(r)&&(e[t]=r.replace(/trcToken/,"uint256"))}})(r),aJ.encode(r,t)}function bwe(e,t){let r=e=>Array.isArray(e)?(e.forEach(((t,n)=>{e[n]=r(t)})),e):hn.address.toHex(e),n=(e,t,r)=>{r>1?t.length&&t.forEach((t=>{n(e,t,r-1)})):t.length&&r&&t.forEach((t=>{o(e,t)}))},i=e=>{let t=e.name?` ${e.name}`:"";return e&&0===e.type.indexOf("tuple")&&e.components?`tuple(${e.components.map((e=>i(e))).join(",")})${PR(e.type)}${t}`:/trcToken/.test(e.type)?e.type.replace(/trcToken/,"uint256")+t:e.type+t},o=(e,t)=>{e.length&&e.forEach(((e,i)=>{let{type:s,name:a}=e;if(t[i])if("address"===s)t[i]=hn.address.toHex(t[i]),a&&(t[a]=hn.address.toHex(t[i]));else if("address["===s.match(/^([^\x5b]*)(\x5b|$)/)[0])r(t[i]),a&&(t[a]=r(t[i]));else if(0===s.indexOf("tuple")){if(PR(s)){let r=Gyt(s);n(e.components,t[i],r)}else o(e.components,t[i]);a&&(t[a]=t[i])}else a&&(t[a]=t[i]);else a&&(t[a]=t[i])}))};if("outputs"in e&&e.outputs&&e.outputs.length>0){let r=[];for(let t=0;t<e.outputs.length;t++){let n=e.outputs[t].type,o=e.outputs[t].name?` ${e.outputs[t].name}`:"";r.push(0===n.indexOf("tuple")?i(e.outputs[t]):n+o)}(e=>{for(let t=0;t<e.length;t++){let r=e[t];/^trcToken/.test(r)&&(e[t]=r.replace(/^trcToken/,"uint256"))}})(r),(!t||!t.length)&&(t=new Uint8Array(32*e.outputs.length));let n=aJ.decode(r,t).toArray(!0);return o(e.outputs,n),n}return[]}m();var AC=class{invalid(e){return e.msg||`Invalid ${e.name}${"address"===e.type?" address":""} provided`}notPositive(e){return`${e.name} must be a positive integer`}notEqual(e){return e.msg||`${e.names?.[0]} can not be equal to ${e.names?.[1]}`}notValid(e){let t={},r=!1;for(let n of e){let{name:e,names:i,value:o,type:s,gt:a,lt:c,gte:u,lte:l,optional:d}=n;if(!d||ru(o)&&("boolean"===s||!1!==o)){switch(t[e]=n.value,s){case"address":cT(o)?t[e]=xr(o):r=!0;break;case"integer":(!Ay(o)||"number"==typeof a&&o<=a||"number"==typeof c&&o>=c||"number"==typeof u&&o<u||"number"==typeof l&&o>l)&&(r=!0);break;case"positive-integer":if(!Ay(o)||o<=0)throw new Error(this.notPositive(n));break;case"tokenId":case"not-empty-string":(!ja(o)||!o.length)&&(r=!0);break;case"notEmptyObject":(!tx(o)||!Object.keys(o).length)&&(r=!0);break;case"notEqual":if(i&&t[i[0]]===t[i[1]])throw new Error(this.notEqual(n));break;case"resource":["BANDWIDTH","ENERGY"].includes(o)||(r=!0);break;case"url":nR(o)||(r=!0);break;case"hex":Ib(o)||(r=!0);break;case"array":Array.isArray(o)||(r=!0);break;case"boolean":Bve(o)||(r=!0);break;case"string":(!ja(o)||"number"==typeof a&&o.length<=a||"number"==typeof c&&o.length>=c||"number"==typeof u&&o.length<u||"number"==typeof l&&o.length>l)&&(r=!0)}if(r)throw new Error(this.invalid(n))}}return!1}},Zn,Vyt,Jyt;m(),function(e){e.AccountCreateContract="AccountCreateContract",e.TransferContract="TransferContract",e.TransferAssetContract="TransferAssetContract",e.VoteAssetContract="VoteAssetContract",e.VoteWitnessContract="VoteWitnessContract",e.WitnessCreateContract="WitnessCreateContract",e.AssetIssueContract="AssetIssueContract",e.WitnessUpdateContract="WitnessUpdateContract",e.ParticipateAssetIssueContract="ParticipateAssetIssueContract",e.AccountUpdateContract="AccountUpdateContract",e.FreezeBalanceContract="FreezeBalanceContract",e.UnfreezeBalanceContract="UnfreezeBalanceContract",e.CancelAllUnfreezeV2Contract="CancelAllUnfreezeV2Contract",e.WithdrawBalanceContract="WithdrawBalanceContract",e.UnfreezeAssetContract="UnfreezeAssetContract",e.UpdateAssetContract="UpdateAssetContract",e.ProposalCreateContract="ProposalCreateContract",e.ProposalApproveContract="ProposalApproveContract",e.ProposalDeleteContract="ProposalDeleteContract",e.SetAccountIdContract="SetAccountIdContract",e.CustomContract="CustomContract",e.CreateSmartContract="CreateSmartContract",e.TriggerSmartContract="TriggerSmartContract",e.GetContract="GetContract",e.UpdateSettingContract="UpdateSettingContract",e.ExchangeCreateContract="ExchangeCreateContract",e.ExchangeInjectContract="ExchangeInjectContract",e.ExchangeWithdrawContract="ExchangeWithdrawContract",e.ExchangeTransactionContract="ExchangeTransactionContract",e.UpdateEnergyLimitContract="UpdateEnergyLimitContract",e.AccountPermissionUpdateContract="AccountPermissionUpdateContract",e.ClearABIContract="ClearABIContract",e.UpdateBrokerageContract="UpdateBrokerageContract",e.ShieldedTransferContract="ShieldedTransferContract",e.MarketSellAssetContract="MarketSellAssetContract",e.MarketCancelOrderContract="MarketCancelOrderContract",e.FreezeBalanceV2Contract="FreezeBalanceV2Contract",e.UnfreezeBalanceV2Contract="UnfreezeBalanceV2Contract",e.WithdrawExpireUnfreezeContract="WithdrawExpireUnfreezeContract",e.DelegateResourceContract="DelegateResourceContract",e.UnDelegateResourceContract="UnDelegateResourceContract",e.UNRECOGNIZED="UNRECOGNIZED"}(Zn||(Zn={})),function(e){e[e.Owner=0]="Owner",e[e.Witness=1]="Witness",e[e.Active=2]="Active",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Vyt||(Vyt={})),function(e){e[e.Normal=0]="Normal",e[e.AssetIssue=1]="AssetIssue",e[e.Contract=2]="Contract",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED"}(Jyt||(Jyt={})),m();var Uwe={};Vr(Uwe,{txCheck:()=>HR,txCheckWithArgs:()=>EJ,txJsonToPb:()=>AJ,txJsonToPbWithArgs:()=>tbt,txPbToRawDataHex:()=>Nwe,txPbToTxID:()=>Dwe}),m();var Zmt=hi(kwe(),1),Y7n=hi(xJ(),1),Q7n=hi(Nmt(),1),Z7n=hi(Umt(),1),$7n=hi(Fmt(),1),eLn=hi(Rwe(),1),tLn=hi(zmt(),1),rLn=hi(Hmt(),1),nLn=hi(jmt(),1),iLn=hi(Vmt(),1),oLn=hi(Xmt(),1),{Transaction:si,Permission:w5r,Key:x5r}=globalThis.TronWebProto,{TransferContract:A5r,FreezeBalanceContract:E5r,UnfreezeBalanceContract:T5r,WithdrawBalanceContract:S5r,FreezeBalanceV2Contract:C5r,UnfreezeBalanceV2Contract:I5r,WithdrawExpireUnfreezeContract:$mt,DelegateResourceContract:O5r,UnDelegateResourceContract:P5r}=globalThis.TronWebProto,{TransferAssetContract:B5r,ParticipateAssetIssueContract:M5r,AssetIssueContract:Ymt,UpdateAssetContract:k5r}=globalThis.TronWebProto,{TriggerSmartContract:_5r,ClearABIContract:R5r,UpdateEnergyLimitContract:N5r,UpdateSettingContract:D5r,CreateSmartContract:U5r,SmartContract:kC}=globalThis.TronWebProto,{ResourceCode:_C}=globalThis.TronWebProto,{WitnessCreateContract:L5r,VoteWitnessContract:Qmt}=globalThis.TronWebProto,{UpdateBrokerageContract:F5r}=globalThis.TronWebProto,{AccountCreateContract:W5r,AccountUpdateContract:z5r,SetAccountIdContract:K5r,AccountPermissionUpdateContract:H5r}=globalThis.TronWebProto,{ProposalCreateContract:q5r,ProposalDeleteContract:j5r,ProposalApproveContract:G5r}=globalThis.TronWebProto,{ExchangeCreateContract:V5r,ExchangeInjectContract:J5r,ExchangeWithdrawContract:X5r,ExchangeTransactionContract:Y5r}=globalThis.TronWebProto,nn=e=>e&&0!==e.length?new Uint8Array(TJ.address.toHex(e).match(/.{1,2}/g).map((e=>parseInt(e,16)))):new Uint8Array([]),na=e=>e&&0!==e.length?new Uint8Array((Ib(e)?e:TJ.toHex(e)).replace(/^0x/,"").match(/.{1,2}/g).map((e=>parseInt(e,16)))):new Uint8Array([]),yT=(e,t)=>na(t?TJ.fromUtf8(e).replace(/^0x/,""):e.replace(/^0x/,"")),Q5r=(e,t=!0)=>(t?"0x":"")+Fr(P.Buffer.from(e,"utf-8")).toString().substring(2),Ci=(e,t,r,n)=>{let i=new Zmt.default.Any;i.pack(e.serializeBinary(),"protocol."+r);let o=new si.Contract;o.setType(t),o.setParameter(i),n&&o.setPermissionId(n);let s=new si.raw;s.addContract(o);let a=new si;return a.setRawData(s),a},Z5r=(e,t)=>{let{to_address:r,owner_address:n,amount:i}=e,o=new A5r;return o.setToAddress(nn(r)),o.setOwnerAddress(nn(n)),o.setAmount(i),Ci(o,si.Contract.ContractType.TRANSFERCONTRACT,"TransferContract",t.Permission_id)},$5r=(e,t)=>{let{to_address:r,owner_address:n,amount:i,asset_name:o}=e,s=new B5r;return s.setToAddress(nn(r)),s.setOwnerAddress(nn(n)),s.setAssetName(yT(o,t.visible)),s.setAmount(i),Ci(s,si.Contract.ContractType.TRANSFERASSETCONTRACT,"TransferAssetContract",t.Permission_id)},ePr=(e,t)=>{let r=new M5r;return r.setToAddress(nn(e.to_address)),r.setOwnerAddress(nn(e.owner_address)),r.setAssetName(yT(e.asset_name,t.visible)),r.setAmount(e.amount),Ci(r,si.Contract.ContractType.PARTICIPATEASSETISSUECONTRACT,"ParticipateAssetIssueContract",t.Permission_id)},tPr=(e,t)=>{let r=new _5r,{owner_address:n,contract_address:i,parameter:o="",function_selector:s,call_value:a,call_token_value:c,token_id:u,data:l}=e;if(r.setOwnerAddress(nn(n)),r.setContractAddress(nn(i)),r.setCallValue(a),l)r.setData(na(l));else if(s){let e=Q5r(s).substring(2,10)+o;r.setData(na(e))}return u&&r.setTokenId(u),c&&r.setCallTokenValue(c),Ci(r,si.Contract.ContractType.TRIGGERSMARTCONTRACT,"TriggerSmartContract",t.Permission_id)},rPr=(e,t)=>{let r=new E5r,{owner_address:n,frozen_balance:i,frozen_duration:o,resource:s,receiver_address:a}=e;return r.setOwnerAddress(nn(n)),r.setFrozenBalance(i),r.setFrozenDuration(o),s&&r.setResource(_C[s]),a&&r.setReceiverAddress(nn(a)),Ci(r,si.Contract.ContractType.FREEZEBALANCECONTRACT,"FreezeBalanceContract",t.Permission_id)},nPr=(e,t)=>{let r=new T5r,{owner_address:n,resource:i,receiver_address:o}=e;return r.setOwnerAddress(nn(n)),i&&r.setResource(_C[i]),o&&r.setReceiverAddress(nn(o)),Ci(r,si.Contract.ContractType.UNFREEZEBALANCECONTRACT,"UnfreezeBalanceContract",t.Permission_id)},iPr=(e,t)=>{let r=new S5r,{owner_address:n}=e;return r.setOwnerAddress(nn(n)),Ci(r,si.Contract.ContractType.WITHDRAWBALANCECONTRACT,"WithdrawBalanceContract",t.Permission_id)},oPr=(e,t)=>{let r=new C5r,{owner_address:n,frozen_balance:i,resource:o}=e;return r.setOwnerAddress(nn(n)),r.setFrozenBalance(i),r.setResource(_C[o]),Ci(r,si.Contract.ContractType.FREEZEBALANCEV2CONTRACT,"FreezeBalanceV2Contract",t.Permission_id)},sPr=(e,t)=>{let r=new $mt,{owner_address:n}=e;return r.setOwnerAddress(nn(n)),Ci(r,si.Contract.ContractType.CANCELALLUNFREEZEV2CONTRACT,"CancelAllUnfreezeV2Contract",t.Permission_id)},aPr=(e,t)=>{let r=new I5r,{owner_address:n,unfreeze_balance:i,resource:o}=e;return r.setOwnerAddress(nn(n)),r.setUnfreezeBalance(i),r.setResource(_C[o]),Ci(r,si.Contract.ContractType.UNFREEZEBALANCEV2CONTRACT,"UnfreezeBalanceV2Contract",t.Permission_id)},cPr=(e,t)=>{let r=new O5r,{owner_address:n,receiver_address:i,balance:o,resource:s,lock:a=!1,lock_period:c}=e;return r.setOwnerAddress(nn(n)),r.setBalance(o),r.setResource(_C[s]),r.setLock(a),r.setLockPeriod(c),r.setReceiverAddress(nn(i)),Ci(r,si.Contract.ContractType.DELEGATERESOURCECONTRACT,"DelegateResourceContract",t.Permission_id)},uPr=(e,t)=>{let r=new P5r,{owner_address:n,receiver_address:i,balance:o,resource:s}=e;return r.setOwnerAddress(nn(n)),r.setBalance(o),r.setResource(_C[s]),r.setReceiverAddress(nn(i)),Ci(r,si.Contract.ContractType.UNDELEGATERESOURCECONTRACT,"UnDelegateResourceContract",t.Permission_id)},lPr=(e,t)=>{let r=new $mt,{owner_address:n}=e;return r.setOwnerAddress(nn(n)),Ci(r,si.Contract.ContractType.WITHDRAWEXPIREUNFREEZECONTRACT,"WithdrawExpireUnfreezeContract",t.Permission_id)},fPr=(e,t)=>{let r=new L5r,{owner_address:n,url:i}=e;return r.setOwnerAddress(nn(n)),r.setUrl(na(i.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.WITNESSCREATECONTRACT,"WitnessCreateContract",t.Permission_id)},dPr=(e,t)=>{let r=new Qmt,{owner_address:n,votes:i}=e;return r.setOwnerAddress(nn(n)),i.forEach((e=>{let t=new Qmt.Vote,{vote_address:n,vote_count:i}=e;t.setVoteAddress(nn(n));let o=parseInt(i);t.setVoteCount(o),r.addVotes(t)})),Ci(r,si.Contract.ContractType.VOTEWITNESSCONTRACT,"VoteWitnessContract",t.Permission_id)},hPr=(e,t)=>{let r=e?.new_contract?{owner_address:e.owner_address,call_token_value:e.call_token_value,token_id:e.token_id,...e.new_contract}:e,{owner_address:n,consume_user_resource_percent:i,origin_energy_limit:o,abi:s,bytecode:a="",parameter:c="",call_value:u,call_token_value:l,token_id:d,name:h}=r,{origin_address:f}=r,p=new U5r;p.setOwnerAddress(nn(n)),d&&p.setTokenId(d),l&&p.setCallTokenValue(l);let g=new kC;if(s){let e;e="string"==typeof s?JSON.parse(s):s?.entrys||[];let t=new kC.ABI,r=e=>{let t=new kC.ABI.Entry.Param,{indexed:r,name:n,type:i}=e;return!0===r&&t.setIndexed(!0),t.setName(n),t.setType(i),t},n=e.map((e=>{let{anonymous:t,constant:n,name:i,inputs:o,outputs:s,type:a,payable:c,stateMutability:u}=e,l=new kC.ABI.Entry;return l.setAnonymous(t),l.setConstant(n),l.setName(i),o&&l.setInputsList(o.map((e=>r(e)))),s&&l.setOutputsList(s.map((e=>r(e)))),a&&l.setType(kC.ABI.Entry.EntryType[a.toUpperCase()]),l.setPayable(c),u&&l.setStatemutability(kC.ABI.Entry.StateMutabilityType[u.toUpperCase()]),l}));t.setEntrysList(n),g.setAbi(t)}if(u&&g.setCallValue(u),g.setConsumeUserResourcePercent(i),g.setOriginEnergyLimit(o),f||(f=n),g.setOriginAddress(nn(f)),a){let e=a.replace(/^0x/,"")+c.replace(/^0x/,"");g.setBytecode(na(e))}return g.setName(h),p.setNewContract(g),Ci(p,si.Contract.ContractType.CREATESMARTCONTRACT,"CreateSmartContract",t.Permission_id)},pPr=(e,t)=>{let{contract_address:r,owner_address:n}=e,i=new R5r;return i.setOwnerAddress(nn(n)),i.setContractAddress(nn(r)),Ci(i,si.Contract.ContractType.CLEARABICONTRACT,"ClearABIContract",t.Permission_id)},gPr=(e,t)=>{let{brokerage:r,owner_address:n}=e,i=new F5r;return i.setOwnerAddress(nn(n)),i.setBrokerage(r),Ci(i,si.Contract.ContractType.UPDATEBROKERAGECONTRACT,"UpdateBrokerageContract",t.Permission_id)},yPr=(e,t)=>{let{owner_address:r,name:n,abbr:i,description:o,url:s,total_supply:a,trx_num:c,num:u,start_time:l,end_time:d,precision:h,free_asset_net_limit:f,public_free_asset_net_limit:p,public_free_asset_net_usage:g=0,public_latest_free_net_time:y=0,vote_score:m=0,frozen_supply:b}=e,w=new Ymt;if(w.setOwnerAddress(nn(r)),n&&w.setName(na(n.replace(/^0x/,""))),i&&w.setAbbr(na(i.replace(/^0x/,""))),w.setTotalSupply(a),w.setNum(u),w.setEndTime(d),w.setStartTime(l),w.setTrxNum(c),w.setVoteScore(m),h&&w.setPrecision(h),y&&w.setPublicLatestFreeNetTime(y),o&&w.setDescription(na(o.replace(/^0x/,""))),s&&w.setUrl(na(s.replace(/^0x/,""))),w.setPublicFreeAssetNetUsage(g),w.setFreeAssetNetLimit(f),w.setPublicFreeAssetNetLimit(p),b){let e=new Ymt.FrozenSupply;e.setFrozenAmount(b.length?b[0].frozen_amount:b.frozen_amount),e.setFrozenDays(b.length?b[0].frozen_days:b.frozen_days),w.addFrozenSupply(e)}return Ci(w,si.Contract.ContractType.ASSETISSUECONTRACT,"AssetIssueContract",t.Permission_id)},mPr=(e,t)=>{let r=new W5r,{account_address:n,owner_address:i}=e;return r.setOwnerAddress(nn(i)),r.setAccountAddress(nn(n.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.ACCOUNTCREATECONTRACT,"AccountCreateContract",t.Permission_id)},bPr=(e,t)=>{let r=new z5r,{account_name:n,owner_address:i}=e;return r.setOwnerAddress(nn(i)),r.setAccountName(na(n.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.ACCOUNTUPDATECONTRACT,"AccountUpdateContract",t.Permission_id)},vPr=(e,t)=>{let r=new K5r,{account_id:n,owner_address:i}=e;return r.setOwnerAddress(nn(i)),r.setAccountId(na(n.replace(/^0x/,""))),Ci(r,si.Contract.ContractType.SETACCOUNTIDCONTRACT,"SetAccountIdContract",t.Permission_id)},wPr=(e,t)=>{let r=new q5r,{owner_address:n,parameters:i}=e;return r.setOwnerAddress(nn(n)),i.forEach((e=>{r.getParametersMap().set(e.key,e.value)})),Ci(r,si.Contract.ContractType.PROPOSALCREATECONTRACT,"ProposalCreateContract",t.Permission_id)},xPr=(e,t)=>{let r=new j5r,{owner_address:n,proposal_id:i}=e;return r.setOwnerAddress(nn(n)),r.setProposalId(i),Ci(r,si.Contract.ContractType.PROPOSALDELETECONTRACT,"ProposalDeleteContract",t.Permission_id)},APr=(e,t)=>{let r=new G5r,{owner_address:n,proposal_id:i,is_add_approval:o}=e;return r.setOwnerAddress(nn(n)),r.setProposalId(i),r.setIsAddApproval(o),Ci(r,si.Contract.ContractType.PROPOSALAPPROVECONTRACT,"ProposalApproveContract",t.Permission_id)},EPr=(e,t)=>{let r=new V5r,{owner_address:n,first_token_id:i,first_token_balance:o,second_token_id:s,second_token_balance:a}=e;return r.setOwnerAddress(nn(n)),r.setFirstTokenId(yT(i,t.visible)),r.setFirstTokenBalance(o),r.setSecondTokenId(yT(s,t.visible)),r.setSecondTokenBalance(a),Ci(r,si.Contract.ContractType.EXCHANGECREATECONTRACT,"ExchangeCreateContract",t.Permission_id)},TPr=(e,t)=>{let r=new J5r,{owner_address:n,exchange_id:i,token_id:o,quant:s}=e;return r.setOwnerAddress(nn(n)),r.setExchangeId(i),r.setTokenId(yT(o,t.visible)),r.setQuant(s),Ci(r,si.Contract.ContractType.EXCHANGEINJECTCONTRACT,"ExchangeInjectContract",t.Permission_id)},SPr=(e,t)=>{let r=new X5r,{owner_address:n,exchange_id:i,token_id:o,quant:s}=e;return r.setOwnerAddress(nn(n)),r.setExchangeId(i),r.setTokenId(yT(o,t.visible)),r.setQuant(s),Ci(r,si.Contract.ContractType.EXCHANGEWITHDRAWCONTRACT,"ExchangeWithdrawContract",t.Permission_id)},CPr=(e,t)=>{let r=new Y5r,{owner_address:n,exchange_id:i,token_id:o,quant:s,expected:a}=e;return r.setOwnerAddress(nn(n)),r.setExchangeId(i),r.setTokenId(yT(o,t.visible)),r.setQuant(s),r.setExpected(a),Ci(r,si.Contract.ContractType.EXCHANGETRANSACTIONCONTRACT,"ExchangeTransactionContract",t.Permission_id)},IPr=(e,t)=>{let r=new D5r,{owner_address:n,contract_address:i,consume_user_resource_percent:o}=e;return r.setOwnerAddress(nn(n)),r.setContractAddress(nn(i)),r.setConsumeUserResourcePercent(o),Ci(r,si.Contract.ContractType.UPDATESETTINGCONTRACT,"UpdateSettingContract",t.Permission_id)},OPr=(e,t)=>{let r=new N5r,{owner_address:n,contract_address:i,origin_energy_limit:o}=e;return r.setOwnerAddress(nn(n)),r.setContractAddress(nn(i)),r.setOriginEnergyLimit(o),Ci(r,si.Contract.ContractType.UPDATEENERGYLIMITCONTRACT,"UpdateEnergyLimitContract",t.Permission_id)},PPr=(e,t)=>{let r=new H5r,{owner_address:n,owner:i,witness:o,actives:s}=e;r.setOwnerAddress(nn(n));let a=e=>{let t=new w5r,{type:r,id:n,permission_name:i,threshold:o,parentId:s,operations:a,keys:c}=e;return t.setType((e=>isNaN(e)?"Active"===e?2:"Witness"===e?1:0:e)(r)),t.setId(n),t.setPermissionName(i),t.setThreshold(o),s&&t.setParentId(s),a&&t.setOperations(na(a)),c&&t.setKeysList(c.map((e=>{let t=new x5r;return t.setAddress(nn(e.address)),t.setWeight(e.weight),t}))),t};return i&&r.setOwner(a(i)),o&&r.setWitness(a(o)),s&&(Array.isArray(s)?r.setActivesList(s.map((e=>a(e)))):r.setActivesList([a(s)])),Ci(r,si.Contract.ContractType.ACCOUNTPERMISSIONUPDATECONTRACT,"AccountPermissionUpdateContract",t.Permission_id)},BPr=(e,t)=>{let r=new k5r,{owner_address:n,description:i,url:o,new_limit:s,new_public_limit:a}=e;return r.setOwnerAddress(nn(n)),i&&r.setDescription(na(i.replace(/^0x/,""))),o&&r.setUrl(na(o.replace(/^0x/,""))),s&&r.setNewLimit(s),a&&r.setNewPublicLimit(a),Ci(r,si.Contract.ContractType.UPDATEASSETCONTRACT,"UpdateAssetContract",t.Permission_id)},ebt=(e,t,r)=>{switch(e.type){case"TransferContract":return Z5r(t,r);case"TransferAssetContract":return $5r(t,r);case"ParticipateAssetIssueContract":return ePr(t,r);case"TriggerSmartContract":return tPr(t,r);case"FreezeBalanceContract":return rPr(t,r);case"UnfreezeBalanceContract":return nPr(t,r);case"WithdrawBalanceContract":return iPr(t,r);case"FreezeBalanceV2Contract":return oPr(t,r);case"CancelAllUnfreezeV2Contract":return sPr(t,r);case"UnfreezeBalanceV2Contract":return aPr(t,r);case"DelegateResourceContract":return cPr(t,r);case"UnDelegateResourceContract":return uPr(t,r);case"WithdrawExpireUnfreezeContract":return lPr(t,r);case"WitnessCreateContract":return fPr(t,r);case"VoteWitnessContract":return dPr(t,r);case"CreateSmartContract":return hPr(t,r);case"ClearABIContract":return pPr(t,r);case"UpdateBrokerageContract":return gPr(t,r);case"AssetIssueContract":return yPr(t,r);case"AccountCreateContract":return mPr(t,r);case"AccountUpdateContract":return bPr(t,r);case"SetAccountIdContract":return vPr(t,r);case"ProposalCreateContract":return wPr(t,r);case"ProposalDeleteContract":return xPr(t,r);case"ProposalApproveContract":return APr(t,r);case"ExchangeCreateContract":return EPr(t,r);case"ExchangeInjectContract":return TPr(t,r);case"ExchangeWithdrawContract":return SPr(t,r);case"ExchangeTransactionContract":return CPr(t,r);case"UpdateSettingContract":return IPr(t,r);case"UpdateEnergyLimitContract":return OPr(t,r);case"AccountPermissionUpdateContract":return PPr(t,r);case"UpdateAssetContract":return BPr(t,r)}},AJ=e=>{let t=e.raw_data,r=t.contract[0],n=r.parameter.value,i={Permission_id:r.Permission_id,visible:e.visible},o=ebt(r,n,i),s=o.getRawData();return s.setRefBlockBytes(na(t.ref_block_bytes)),s.setRefBlockHash(na(t.ref_block_hash)),t.data&&s.setData(na(t.data)),t.fee_limit&&s.setFeeLimit(t.fee_limit),t.expiration&&s.setExpiration(t.expiration),t.timestamp&&s.setTimestamp(t.timestamp),o.setRawData(s),o},tbt=(e,t={},r={})=>{let n=e.raw_data,i=n.contract[0],o=ebt(i,t,{Permission_id:t?.Permission_id}),s=o.getRawData();return s.setRefBlockBytes(na(n.ref_block_bytes)),s.setRefBlockHash(na(n.ref_block_hash)),r.data&&s.setData(na(r.data.replace(/^0x/,""))),(r.fee_limit||t.fee_limit)&&s.setFeeLimit(r.fee_limit||t.fee_limit),n.expiration&&s.setExpiration(n.expiration),n.timestamp&&s.setTimestamp(n.timestamp),o.setRawData(s),o},rbt=(e,t)=>{let r=t.getRawData().serializeBinary(),n=qa(r),i=ls(r);return n.toLowerCase()===e.raw_data_hex.toLowerCase()&&i.replace(/^0x/,"").toLowerCase()===e.txID.replace(/^0x/,"").toLowerCase()},Nwe=e=>qa(e.getRawData().serializeBinary()),HR=e=>{let t=AJ(e);return rbt(e,t)},EJ=(e,t,r)=>{let n=tbt(e,t,r);return rbt(e,n)},Dwe=e=>ls(e.getRawData().serializeBinary());function nl(e){return hn.fromUtf8(e).replace(/^0x/,"")}function SJ(e){return JSON.parse(JSON.stringify(e))}function nbt(e,t,r){if(e.Error)throw new Error(e.Error);if(e.result&&e.result.message)throw new Error(hn.toUtf8(e.result.message));if(EJ(e,t,r))return e;throw new Error("Invalid transaction")}function ibt(e,t,r){if(e.Error)throw new Error(e.Error);if(e.result&&e.result.message)throw new Error(hn.toUtf8(e.result.message));if(!r._isConstant&&!r.estimateEnergy){if(EJ(e.transaction,t,r))return e;throw new Error("Invalid transaction")}return e}function obt(e,t){return"41"+Fr(P.Buffer.from(t+e,"hex")).toString().substring(2).slice(24)}function MPr(e){return e.request("wallet/getblock",{detail:!1},"post").then((e=>({ref_block_bytes:e.block_header.raw_data.number.toString(16).slice(-4).padStart(4,"0"),ref_block_hash:e.blockID.slice(16,32),expiration:e.block_header.raw_data.timestamp+6e4,timestamp:e.block_header.raw_data.timestamp})))}function sbt(e={}){if(typeof e.ref_block_bytes>"u"&&typeof e.ref_block_hash>"u"&&typeof e.expiration>"u"&&typeof e.timestamp>"u")return!1;if("string"!=typeof e.ref_block_bytes)throw new Error("Invalid ref_block_bytes provided.");if("string"!=typeof e.ref_block_hash)throw new Error("Invalid ref_block_hash provided.");if("number"!=typeof e.expiration)throw new Error("Invalid expiration provided.");if("number"!=typeof e.timestamp)throw new Error("Invalid timestamp provided.");return!0}async function ai(e,t,r,n,i={}){let o={visible:!1,txID:"",raw_data_hex:"",raw_data:{contract:[{parameter:{value:r,type_url:`type.googleapis.com/protocol.${t}`},type:t}],...sbt(i)?{}:await MPr(e.fullNode),...i}};n&&(o.raw_data.contract[0].Permission_id=n);let s=AJ(o);return o.txID=Dwe(s).replace(/^0x/,""),o.raw_data_hex=Nwe(s).toLowerCase(),o}function fi(e={}){let t={};return sbt(e.blockHeader)&&(t.ref_block_bytes=e.blockHeader.ref_block_bytes,t.ref_block_hash=e.blockHeader.ref_block_hash,t.expiration=e.blockHeader.expiration,t.timestamp=e.blockHeader.timestamp),t}var qR=class{tronWeb;validator;constructor(e){if(!(e&&e instanceof hn))throw new Error("Expected instance of TronWeb");this.tronWeb=e,this.validator=new AC}async sendTrx(e,t=0,r=this.tronWeb.defaultAddress.hex,n={}){t=parseInt(t),this.validator.notValid([{name:"recipient",type:"address",value:e},{name:"origin",type:"address",value:r},{names:["recipient","origin"],type:"notEqual",msg:"Cannot transfer TRX to the same account"},{name:"amount",type:"integer",gt:0,value:t}]);let i={to_address:xr(e),owner_address:xr(r),amount:t},o=fi(n);return ai(this.tronWeb,Zn.TransferContract,i,n?.permissionId,o)}async sendToken(e,t=0,r,n=this.tronWeb.defaultAddress.hex,i={}){t=parseInt(t),this.validator.notValid([{name:"recipient",type:"address",value:e},{name:"origin",type:"address",value:n},{names:["recipient","origin"],type:"notEqual",msg:"Cannot transfer tokens to the same account"},{name:"amount",type:"integer",gt:0,value:t},{name:"token ID",type:"tokenId",value:r}]);let o={to_address:xr(e),owner_address:xr(n),asset_name:nl(r),amount:t},s=fi(i);return ai(this.tronWeb,Zn.TransferAssetContract,o,i?.permissionId,s)}async purchaseToken(e,t,r=0,n=this.tronWeb.defaultAddress.hex,i={}){this.validator.notValid([{name:"buyer",type:"address",value:n},{name:"issuer",type:"address",value:e},{names:["buyer","issuer"],type:"notEqual",msg:"Cannot purchase tokens from same account"},{name:"amount",type:"integer",gt:0,value:r},{name:"token ID",type:"tokenId",value:t}]);let o={to_address:xr(e),owner_address:xr(n),asset_name:nl(t),amount:parseInt(r)},s=fi(i);return ai(this.tronWeb,Zn.ParticipateAssetIssueContract,o,i?.permissionId,s)}async freezeBalance(e=0,t=3,r="BANDWIDTH",n=this.tronWeb.defaultAddress.hex,i,o={}){this.validator.notValid([{name:"origin",type:"address",value:n},{name:"receiver",type:"address",value:i,optional:!0},{name:"amount",type:"integer",gt:0,value:e},{name:"duration",type:"integer",gte:3,value:t},{name:"resource",type:"resource",value:r,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'}]);let s={owner_address:xr(n),frozen_balance:parseInt(e),frozen_duration:parseInt(String(t))};"BANDWIDTH"!==r&&(s.resource=r),ru(i)&&xr(i)!==xr(n)&&(s.receiver_address=xr(i));let a=fi(o);return ai(this.tronWeb,Zn.FreezeBalanceContract,s,o?.permissionId,a)}async unfreezeBalance(e="BANDWIDTH",t=this.tronWeb.defaultAddress.hex,r,n={}){this.validator.notValid([{name:"origin",type:"address",value:t},{name:"receiver",type:"address",value:r,optional:!0},{name:"resource",type:"resource",value:e,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'}]);let i={owner_address:xr(t)};"BANDWIDTH"!==e&&(i.resource=e),ru(r)&&xr(r)!==xr(t)&&(i.receiver_address=xr(r));let o=fi(n);return ai(this.tronWeb,Zn.UnfreezeBalanceContract,i,n?.permissionId,o)}async freezeBalanceV2(e=0,t="BANDWIDTH",r=this.tronWeb.defaultAddress.hex,n={}){this.validator.notValid([{name:"origin",type:"address",value:r},{name:"amount",type:"integer",gt:0,value:e},{name:"resource",type:"resource",value:t,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'}]);let i={owner_address:xr(r),frozen_balance:parseInt(e)};"BANDWIDTH"!==t&&(i.resource=t);let o=fi(n);return ai(this.tronWeb,Zn.FreezeBalanceV2Contract,i,n?.permissionId,o)}async unfreezeBalanceV2(e=0,t="BANDWIDTH",r=this.tronWeb.defaultAddress.hex,n={}){this.validator.notValid([{name:"origin",type:"address",value:r},{name:"amount",type:"integer",gt:0,value:e},{name:"resource",type:"resource",value:t,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'}]);let i={owner_address:xr(r),unfreeze_balance:parseInt(e)};"BANDWIDTH"!==t&&(i.resource=t);let o=fi(n);return ai(this.tronWeb,Zn.UnfreezeBalanceV2Contract,i,n?.permissionId,o)}async cancelUnfreezeBalanceV2(e=this.tronWeb.defaultAddress.hex,t={}){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={owner_address:xr(e)},n=fi(t);return ai(this.tronWeb,Zn.CancelAllUnfreezeV2Contract,r,t?.permissionId,n)}async delegateResource(e=0,t,r="BANDWIDTH",n=this.tronWeb.defaultAddress.hex,i=!1,o,s={}){if(this.validator.notValid([{name:"amount",type:"integer",gt:0,value:e},{name:"resource",type:"resource",value:r,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'},{name:"receiver",type:"address",value:t},{name:"origin",type:"address",value:n},{name:"lock",type:"boolean",value:i},{name:"lock period",type:"integer",gte:0,value:o,optional:!0}]),xr(t)===xr(n))throw new Error("Receiver address must not be the same as owner address");let a={owner_address:xr(n),receiver_address:xr(t),balance:parseInt(e)};"BANDWIDTH"!==r&&(a.resource=r),i&&(a.lock=i,ru(o)&&(a.lock_period=o));let c=fi(s);return ai(this.tronWeb,Zn.DelegateResourceContract,a,s?.permissionId,c)}async undelegateResource(e=0,t,r="BANDWIDTH",n=this.tronWeb.defaultAddress.hex,i={}){if(this.validator.notValid([{name:"origin",type:"address",value:n},{name:"receiver",type:"address",value:t},{name:"amount",type:"integer",gt:0,value:e},{name:"resource",type:"resource",value:r,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'}]),xr(t)===xr(n))throw new Error("Receiver address must not be the same as owner address");let o={owner_address:xr(n),receiver_address:xr(t),balance:parseInt(e)};"BANDWIDTH"!==r&&(o.resource=r);let s=fi(i);return ai(this.tronWeb,Zn.UnDelegateResourceContract,o,i?.permissionId,s)}async withdrawExpireUnfreeze(e=this.tronWeb.defaultAddress.hex,t={}){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={owner_address:xr(e)},n=fi(t);return ai(this.tronWeb,Zn.WithdrawExpireUnfreezeContract,r,t?.permissionId,n)}async withdrawBlockRewards(e=this.tronWeb.defaultAddress.hex,t={}){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={owner_address:xr(e)},n=fi(t);return ai(this.tronWeb,Zn.WithdrawBalanceContract,r,t?.permissionId,n)}async applyForSR(e=this.tronWeb.defaultAddress.hex,t="",r={}){this.validator.notValid([{name:"origin",type:"address",value:e},{name:"url",type:"url",value:t,msg:"Invalid url provided"},{name:"url",type:"string",value:t,lte:256,msg:"Invalid url provided"}]);let n={owner_address:xr(e),url:nl(t)},i=fi(r);return ai(this.tronWeb,Zn.WitnessCreateContract,n,r?.permissionId,i)}async vote(e={},t=this.tronWeb.defaultAddress.hex,r={}){this.validator.notValid([{name:"voter",type:"address",value:t},{name:"votes",type:"notEmptyObject",value:e}]);let n=Object.entries(e);for(let[e,t]of n)this.validator.notValid([{name:"SR",type:"address",value:e},{name:"vote count",type:"integer",gt:0,value:t,msg:"Invalid vote count provided for SR: "+e}]);let i=n.map((([e,t])=>({vote_address:xr(e),vote_count:parseInt(t)}))),o={owner_address:xr(t),votes:i},s=fi(r);return ai(this.tronWeb,Zn.VoteWitnessContract,o,r?.permissionId,s)}async createSmartContract(e={},t=this.tronWeb.defaultAddress.hex){let r=e.feeLimit||this.tronWeb.feeLimit,n=e.userFeePercentage;"number"!=typeof n&&!n&&(n=100);let i=e.originEnergyLimit||1e7,o=e.callValue||0,s=e.tokenValue,a=e.tokenId||e.token_id,{abi:c}=e,{parameters:u=[]}=e,l="",{bytecode:d=!1,name:h=""}=e;if(c&&ja(c))try{c=JSON.parse(c)}catch{throw new Error("Invalid options.abi provided")}let f=c,p=f;if(f.entrys&&(p=f.entrys),!H2(p))throw new Error("Invalid options.abi provided");let g=p.some((e=>"constructor"===e.type&&"payable"===e.stateMutability.toLowerCase()));if(this.validator.notValid([{name:"bytecode",type:"hex",value:d},{name:"feeLimit",type:"integer",value:r,gt:0},{name:"callValue",type:"integer",value:o,gte:0},{name:"userFeePercentage",type:"integer",value:n,gte:0,lte:100},{name:"originEnergyLimit",type:"integer",value:i,gte:0,lte:1e7},{name:"parameters",type:"array",value:u},{name:"issuer",type:"address",value:t},{name:"tokenValue",type:"integer",value:s,gte:0,optional:!0},{name:"tokenId",type:"integer",value:a,gte:0,optional:!0}]),!g&&(o>0||s>0))throw new Error("When contract is not payable, options.callValue and options.tokenValue must be 0");let{rawParameter:y,funcABIV2:m,parametersV2:b}=e;if(y&&ja(y))l=y.replace(/^(0x)/,"");else if(m)l=xC(m,b).replace(/^(0x)/,"");else{let e=p.find((e=>"constructor"===e.type));if(typeof e<"u"&&e){let t=new Kf,r=[],n=[];if(e=e.inputs,u.length!=e.length)throw new Error(`constructor needs ${e.length} but ${u.length} provided`);for(let t=0;t<u.length;t++){let i=e[t].type,o=u[t];if(!i||!ja(i)||!i.length)throw new Error("Invalid parameter type provided: "+i);let s=e=>H2(e)?e.map((e=>s(e))):xr(e).replace(Kb,"0x");"address"===i||"address["===i.match(/^([^\x5b]*)(\x5b|$)/)?.[0]?o=s(o):/trcToken/.test(i)&&(i=i.replace(/trcToken/,"uint256")),r.push(i),n.push(o)}try{l=t.encode(r,n).replace(/^(0x)/,"")}catch(e){throw new Error(e)}}else l=""}let w={owner_address:xr(t),fee_limit:parseInt(r),call_value:parseInt(o),consume_user_resource_percent:n,origin_energy_limit:i,abi:JSON.stringify(c),bytecode:d,parameter:l,name:h};ru(s)&&(w.call_token_value=parseInt(s)),ru(a)&&(w.token_id=parseInt(a));let v={};v.owner_address=w.owner_address,ru(w.call_token_value)&&(v.call_token_value=w.call_token_value),ru(w.token_id)&&(v.token_id=w.token_id);let A=v.new_contract={};w.abi?A.abi={entrys:JSON.parse(w.abi)}:A.abi={},w.call_value&&(A.call_value=w.call_value),A.consume_user_resource_percent=w.consume_user_resource_percent,A.origin_energy_limit=w.origin_energy_limit,A.origin_address=w.origin_address??w.owner_address,w.bytecode+w.parameter&&(A.bytecode=(w.bytecode+w.parameter).replace(/^0x/,"")),ru(w.name)&&(A.name=w.name);let E=fi(e),T=await ai(this.tronWeb,Zn.CreateSmartContract,v,e?.permissionId,{...E,fee_limit:w.fee_limit});return T.contract_address=obt(w.owner_address,T.txID),T}async triggerSmartContract(e,t,r,n,i){let o=[e,t,r,n,i];return"object"!=typeof o[2]&&(o[2]={feeLimit:o[2],callValue:o[3]},o.splice(3,1)),o[2]?.txLocal?this._triggerSmartContractLocal(...o):this._triggerSmartContract(...o)}async triggerConstantContract(e,t,r={},n=[],i=this.tronWeb.defaultAddress.hex){return r._isConstant=!0,this._triggerSmartContract(e,t,r,n,i)}async triggerConfirmedConstantContract(e,t,r={},n=[],i=this.tronWeb.defaultAddress.hex){return r._isConstant=!0,r.confirmed=!0,this._triggerSmartContract(e,t,r,n,i)}async estimateEnergy(e,t,r={},n=[],i=this.tronWeb.defaultAddress.hex){return r.estimateEnergy=!0,await this._triggerSmartContract(e,t,r,n,i)}async deployConstantContract(e={input:"",ownerAddress:""}){let{input:t,ownerAddress:r,tokenId:n,tokenValue:i,callValue:o=0}=e;this.validator.notValid([{name:"input",type:"not-empty-string",value:t},{name:"callValue",type:"integer",value:o,gte:0},{name:"owner",type:"address",value:r},{name:"tokenValue",type:"integer",value:i,gte:0,optional:!0},{name:"tokenId",type:"integer",value:n,gte:0,optional:!0}]);let s={data:t,owner_address:xr(r),call_value:o};n&&(s.token_id=n),i&&(s.call_token_value=i);let a=`wallet${e.confirmed?"solidity":""}/estimateenergy`,c=await this.tronWeb[e.confirmed?"solidityNode":"fullNode"].request(a,s,"post");if(c.Error)throw new Error(c.Error);if(c.result&&c.result.message)throw new Error(this.tronWeb.toUtf8(c.result.message));return c}_getTriggerSmartContractArgs(e,t,r,n,i,o,s,a,c){let u={contract_address:xr(e),owner_address:xr(i)};if(t&&ja(t)){let e;if(t=t.replace(/\s*/g,""),n.length){let t=new Kf,r=[],i=[];for(let e=0;e<n.length;e++){let{value:t}=n[e],{type:o}=n[e];if(!o||!ja(o)||!o.length)throw new Error("Invalid parameter type provided: "+o);let s=e=>H2(e)?e.map((e=>s(e))):xr(e).replace(Kb,"0x");("address"===o||"address["===o.match(/^([^\x5b]*)(\x5b|$)/)?.[0])&&(t=s(t)),r.push(o),i.push(t)}try{r=r.map((e=>(/trcToken/.test(e)&&(e=e.replace(/trcToken/,"uint256")),e))),e=t.encode(r,i).replace(/^(0x)/,"")}catch(e){throw new Error(e)}}else e="";r.funcABIV2&&(e=xC(r.funcABIV2,r.parametersV2).replace(/^(0x)/,"")),r.shieldedParameter&&ja(r.shieldedParameter)&&(e=r.shieldedParameter.replace(/^(0x)/,"")),r.rawParameter&&ja(r.rawParameter)&&(e=r.rawParameter.replace(/^(0x)/,"")),u.function_selector=t,u.parameter=e}else r.input&&(u.data=r.input);return u.call_value=parseInt(a),ru(o)&&(u.call_token_value=parseInt(o)),ru(s)&&(u.token_id=parseInt(s)),r._isConstant||r.estimateEnergy||(u.fee_limit=parseInt(c)),r.permissionId&&(u.Permission_id=r.permissionId),u}async _triggerSmartContractLocal(e,t,r={},n=[],i=this.tronWeb.defaultAddress.hex){let{tokenValue:o,tokenId:s,callValue:a,feeLimit:c}=Object.assign({callValue:0,feeLimit:this.tronWeb.feeLimit},r);this.validator.notValid([{name:"feeLimit",type:"integer",value:c,gt:0},{name:"callValue",type:"integer",value:a,gte:0},{name:"parameters",type:"array",value:n},{name:"contract",type:"address",value:e},{name:"issuer",type:"address",value:i,optional:!0},{name:"tokenValue",type:"integer",value:o,gte:0,optional:!0},{name:"tokenId",type:"integer",value:s,gte:0,optional:!0}]);let u=this._getTriggerSmartContractArgs(e,t,r,n,i,o,s,a,c);u.function_selector&&(u.data=Fr(P.Buffer.from(u.function_selector,"utf-8")).toString().substring(2,10)+u.parameter);let l={data:u.data,owner_address:u.owner_address,contract_address:u.contract_address};u.call_value&&(l.call_value=u.call_value),u.call_token_value&&(l.call_token_value=u.call_token_value),u.token_id&&(l.token_id=u.token_id);let d=fi(r);return{result:{result:!0},transaction:await ai(this.tronWeb,Zn.TriggerSmartContract,l,r.permissionId,{...d,fee_limit:u.fee_limit})}}async _triggerSmartContract(e,t,r={},n=[],i=this.tronWeb.defaultAddress.hex){let{tokenValue:o,tokenId:s,callValue:a,feeLimit:c}=Object.assign({callValue:0,feeLimit:this.tronWeb.feeLimit},r);this.validator.notValid([{name:"feeLimit",type:"integer",value:c,gt:0},{name:"callValue",type:"integer",value:a,gte:0},{name:"parameters",type:"array",value:n},{name:"contract",type:"address",value:e},{name:"issuer",type:"address",value:i,optional:!0},{name:"tokenValue",type:"integer",value:o,gte:0,optional:!0},{name:"tokenId",type:"integer",value:s,gte:0,optional:!0}]);let u=this._getTriggerSmartContractArgs(e,t,r,n,i,o,s,a,c),l="triggersmartcontract";return r._isConstant?l="triggerconstantcontract":r.estimateEnergy&&(l="estimateenergy"),l=`wallet${r.confirmed?"solidity":""}/${l}`,ibt(await this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(l,u,"post"),u,r)}async clearABI(e,t=this.tronWeb.defaultAddress.hex,r={}){if(!hn.isAddress(e))throw new Error("Invalid contract address provided");if(!hn.isAddress(t))throw new Error("Invalid owner address provided");let n={contract_address:xr(e),owner_address:xr(t)};this.tronWeb.trx.cache.contracts[e]&&delete this.tronWeb.trx.cache.contracts[e];let i=fi(r);return ai(this.tronWeb,Zn.ClearABIContract,n,r?.permissionId,i)}async updateBrokerage(e,t=this.tronWeb.defaultAddress.hex,r={}){if(!ru(e))throw new Error("Invalid brokerage provided");if(!Ay(e)||e<0||e>100)throw new Error("Brokerage must be an integer between 0 and 100");if(!hn.isAddress(t))throw new Error("Invalid owner address provided");let n={brokerage:parseInt(e),owner_address:xr(t)},i=fi(r);return ai(this.tronWeb,Zn.UpdateBrokerageContract,n,r?.permissionId,i)}async createToken(e={},t=this.tronWeb.defaultAddress.hex){let{name:r=!1,abbreviation:n=!1,description:i="",url:o=!1,totalSupply:s=0,trxRatio:a=1,tokenRatio:c=1,saleStart:u=Date.now(),saleEnd:l=!1,freeBandwidth:d=0,freeBandwidthLimit:h=0,frozenAmount:f=0,frozenDuration:p=0,voteScore:g,precision:y}=e;if(this.validator.notValid([{name:"Supply amount",type:"positive-integer",value:s},{name:"TRX ratio",type:"positive-integer",value:a},{name:"Token ratio",type:"positive-integer",value:c},{name:"token abbreviation",type:"string",value:n,lte:32,gt:0},{name:"token name",type:"not-empty-string",value:r},{name:"token description",type:"string",value:i,lte:200},{name:"token url",type:"url",value:o},{name:"token url",type:"string",value:o,lte:256},{name:"issuer",type:"address",value:t},{name:"sale start timestamp",type:"integer",value:u,gte:Date.now()},{name:"sale end timestamp",type:"integer",value:l,gt:u},{name:"Frozen supply",type:"integer",value:f,gte:0},{name:"Frozen duration",type:"integer",value:p,gte:0}]),ru(g)&&(!Ay(g)||g<=0))throw new Error("voteScore must be a positive integer greater than 0");if(ru(y)&&(!Ay(y)||y<0||y>6))throw new Error("precision must be a positive integer >= 0 and <= 6");let m={owner_address:xr(t),name:nl(r),abbr:nl(n),description:nl(i),url:nl(o),total_supply:parseInt(s),trx_num:parseInt(a),num:parseInt(c),start_time:parseInt(u),end_time:parseInt(l),frozen_supply:[{frozen_amount:parseInt(f),frozen_days:parseInt(p)}]};["name","abbr","description","url"].forEach((e=>{m[e]||delete m[e]})),parseInt(f)>0||delete m.frozen_supply,d&&!isNaN(parseInt(d))&&parseInt(d)>=0&&(m.free_asset_net_limit=parseInt(d)),h&&!isNaN(parseInt(h))&&parseInt(h)>=0&&(m.public_free_asset_net_limit=parseInt(h)),y&&!isNaN(parseInt(y))&&(m.precision=parseInt(y)),g&&!isNaN(parseInt(g))&&(m.vote_score=parseInt(g));let b=fi(e);return ai(this.tronWeb,Zn.AssetIssueContract,m,e?.permissionId,b)}async createAccount(e,t=this.tronWeb.defaultAddress.hex,r={}){this.validator.notValid([{name:"account",type:"address",value:e},{name:"origin",type:"address",value:t}]);let n={owner_address:xr(t),account_address:xr(e)},i=fi(r);return ai(this.tronWeb,Zn.AccountCreateContract,n,r?.permissionId,i)}async updateAccount(e,t=this.tronWeb.defaultAddress.hex,r={}){this.validator.notValid([{name:"Name",type:"string",lte:200,gt:0,value:e,msg:"Invalid accountName"},{name:"origin",type:"address",value:t}]);let n={account_name:nl(e),owner_address:xr(t)},i=fi(r);return ai(this.tronWeb,Zn.AccountUpdateContract,n,r?.permissionId,i)}async setAccountId(e,t=this.tronWeb.defaultAddress.hex,r={}){e&&ja(e)&&e.startsWith("0x")&&(e=e.slice(2)),this.validator.notValid([{name:"accountId",type:"hex",value:e},{name:"accountId",type:"string",lte:32,gte:8,value:e},{name:"origin",type:"address",value:t}]);let n={account_id:e,owner_address:xr(t)},i=fi(r);return ai(this.tronWeb,Zn.SetAccountIdContract,n,r?.permissionId,i)}async updateToken(e={},t=this.tronWeb.defaultAddress.hex){let{description:r="",url:n=!1,freeBandwidth:i=0,freeBandwidthLimit:o=0}=e;this.validator.notValid([{name:"token description",type:"string",value:r,lte:200},{name:"token url",type:"url",value:n},{name:"token url",type:"string",value:n,lte:256},{name:"issuer",type:"address",value:t}]);let s={owner_address:xr(t),description:nl(r),url:nl(n)};i&&!isNaN(parseInt(i))&&parseInt(i)>=0&&(s.new_limit=parseInt(i)),o&&!isNaN(parseInt(o))&&parseInt(o)>=0&&(s.new_public_limit=parseInt(o));let a=fi(e);return ai(this.tronWeb,Zn.UpdateAssetContract,s,e?.permissionId,a)}async sendAsset(e,t=0,r,n=this.tronWeb.defaultAddress.hex,i={}){return this.sendToken(e,t,r,n,i)}async purchaseAsset(e,t,r=0,n=this.tronWeb.defaultAddress.hex,i={}){return this.purchaseToken(e,t,r,n,i)}async createAsset(e,t){return this.createToken(e,t)}async updateAsset(e={},t=this.tronWeb.defaultAddress.hex){return this.updateToken(e,t)}async createProposal(e,t=this.tronWeb.defaultAddress.hex,r={}){this.validator.notValid([{name:"issuer",type:"address",value:t}]);let n="Invalid proposal parameters provided";if(!e)throw new Error(n);let i=H2(e)?e:[e];for(let e of i)if(!tx(e))throw new Error(n);let o={owner_address:xr(t),parameters:i},s=fi(r);return ai(this.tronWeb,Zn.ProposalCreateContract,o,r?.permissionId,s)}async deleteProposal(e,t=this.tronWeb.defaultAddress.hex,r={}){this.validator.notValid([{name:"issuer",type:"address",value:t},{name:"proposalID",type:"integer",value:e,gte:0}]);let n={owner_address:xr(t),proposal_id:parseInt(e)},i=fi(r);return ai(this.tronWeb,Zn.ProposalDeleteContract,n,r?.permissionId,i)}async voteProposal(e,t=!1,r=this.tronWeb.defaultAddress.hex,n={}){this.validator.notValid([{name:"voter",type:"address",value:r},{name:"proposalID",type:"integer",value:e,gte:0},{name:"has approval",type:"boolean",value:t}]);let i={owner_address:xr(r),proposal_id:parseInt(e),is_add_approval:t},o=fi(n);return ai(this.tronWeb,Zn.ProposalApproveContract,i,n?.permissionId,o)}async createTRXExchange(e,t,r,n=this.tronWeb.defaultAddress.hex,i={}){this.validator.notValid([{name:"owner",type:"address",value:n},{name:"token name",type:"not-empty-string",value:e},{name:"token balance",type:"positive-integer",value:t},{name:"trx balance",type:"positive-integer",value:r}]);let o={owner_address:xr(n),first_token_id:nl(e),first_token_balance:t,second_token_id:"5f",second_token_balance:r},s=fi(i);return ai(this.tronWeb,Zn.ExchangeCreateContract,o,i?.permissionId,s)}async createTokenExchange(e,t,r,n,i=this.tronWeb.defaultAddress.hex,o={}){this.validator.notValid([{name:"owner",type:"address",value:i},{name:"first token name",type:"not-empty-string",value:e},{name:"second token name",type:"not-empty-string",value:r},{name:"first token balance",type:"positive-integer",value:t},{name:"second token balance",type:"positive-integer",value:n}]);let s={owner_address:xr(i),first_token_id:nl(e),first_token_balance:t,second_token_id:nl(r),second_token_balance:n},a=fi(o);return ai(this.tronWeb,Zn.ExchangeCreateContract,s,o?.permissionId,a)}async injectExchangeTokens(e,t,r,n=this.tronWeb.defaultAddress.hex,i={}){this.validator.notValid([{name:"owner",type:"address",value:n},{name:"token name",type:"not-empty-string",value:t},{name:"token amount",type:"integer",value:r,gte:1},{name:"exchangeID",type:"integer",value:e,gte:0}]);let o={owner_address:xr(n),exchange_id:parseInt(e),token_id:nl(t),quant:parseInt(r)},s=fi(i);return ai(this.tronWeb,Zn.ExchangeInjectContract,o,i?.permissionId,s)}async withdrawExchangeTokens(e,t,r,n=this.tronWeb.defaultAddress.hex,i={}){this.validator.notValid([{name:"owner",type:"address",value:n},{name:"token name",type:"not-empty-string",value:t},{name:"token amount",type:"integer",value:r,gte:1},{name:"exchangeID",type:"integer",value:e,gte:0}]);let o={owner_address:xr(n),exchange_id:parseInt(e),token_id:nl(t),quant:parseInt(r)},s=fi(i);return ai(this.tronWeb,Zn.ExchangeWithdrawContract,o,i?.permissionId,s)}async tradeExchangeTokens(e,t,r,n,i=this.tronWeb.defaultAddress.hex,o={}){this.validator.notValid([{name:"owner",type:"address",value:i},{name:"token name",type:"not-empty-string",value:t},{name:"tokenAmountSold",type:"integer",value:r,gte:1},{name:"tokenAmountExpected",type:"integer",value:n,gte:1},{name:"exchangeID",type:"integer",value:e,gte:0}]);let s={owner_address:xr(i),exchange_id:parseInt(e),token_id:hn.fromAscii(t).replace(/^0x/,""),quant:parseInt(r),expected:parseInt(n)},a=fi(o);return ai(this.tronWeb,Zn.ExchangeTransactionContract,s,o?.permissionId,a)}async updateSetting(e,t,r=this.tronWeb.defaultAddress.hex,n={}){this.validator.notValid([{name:"owner",type:"address",value:r},{name:"contract",type:"address",value:e},{name:"userFeePercentage",type:"integer",value:t,gte:0,lte:100}]);let i={owner_address:xr(r),contract_address:xr(e),consume_user_resource_percent:t},o=fi(n);return ai(this.tronWeb,Zn.UpdateSettingContract,i,n?.permissionId,o)}async updateEnergyLimit(e,t=0,r=this.tronWeb.defaultAddress.hex,n={}){this.validator.notValid([{name:"owner",type:"address",value:r},{name:"contract",type:"address",value:e},{name:"originEnergyLimit",type:"integer",value:t,gte:0,lte:1e7}]);let i={owner_address:xr(r),contract_address:xr(e),origin_energy_limit:t},o=fi(n);return ai(this.tronWeb,Zn.UpdateEnergyLimitContract,i,n?.permissionId,o)}checkPermissions(e,t){if(e){if(e.type!==t||!e.permission_name||!ja(e.permission_name)||!Ay(e.threshold)||e.threshold<1||!e.keys)return!1;for(let r of e.keys)if(!hn.isAddress(r.address)||!Ay(r.weight)||r.weight>e.threshold||r.weight<1||2===t&&!e.operations)return!1}return!0}async updateAccountPermissions(e=this.tronWeb.defaultAddress.hex,t,r,n,i={}){if(!hn.isAddress(e))throw new Error("Invalid ownerAddress provided");if(!this.checkPermissions(t,0))throw new Error("Invalid ownerPermissions provided");if(!this.checkPermissions(r,1))throw new Error("Invalid witnessPermissions provided");Array.isArray(n)||(n=[n]);for(let e of n)if(!this.checkPermissions(e,2))throw new Error("Invalid activesPermissions provided");let o={owner_address:xr(e)};if(t){let e=SJ(t);"type"in e&&delete e.type,e.keys=e.keys?.map((({address:e,weight:t})=>({address:this.tronWeb.address.toHex(e),weight:t}))),o.owner=e}if(r){let e=SJ(r);e.type="Witness",e.keys=e.keys.map((({address:e,weight:t})=>({address:this.tronWeb.address.toHex(e),weight:t}))),o.witness=e}if(n){let e=SJ(n);e.forEach((e=>{e.type="Active"})),e.forEach((e=>{e.keys=e.keys.map((({address:e,weight:t})=>({address:this.tronWeb.address.toHex(e),weight:t})))})),o.actives=e}let s=fi(i);return ai(this.tronWeb,Zn.AccountPermissionUpdateContract,o,i?.permissionId,s)}async newTxID(e,t={}){if(t?.txLocal){let t=e.raw_data.contract[0];try{let r=await ai(this.tronWeb,t.type,t.parameter.value,t.Permission_id,{fee_limit:e.raw_data.fee_limit,data:e.raw_data.data,ref_block_bytes:e.raw_data.ref_block_bytes,ref_block_hash:e.raw_data.ref_block_hash,expiration:e.raw_data.expiration,timestamp:e.raw_data.timestamp});return r.signature=e.signature,r.visible=e.visible,r}catch{throw new Error("Error generating a new transaction id.")}}try{let t=await this.tronWeb.fullNode.request("wallet/getsignweight",e,"post");return"boolean"==typeof e.visible&&(t.transaction.transaction.visible=e.visible),nbt(t.transaction.transaction,{...e.raw_data.contract[0].parameter.value,Permission_id:e.raw_data.contract[0].Permission_id},{data:e.raw_data.data,fee_limit:e.raw_data.fee_limit})}catch{throw new Error("Error generating a new transaction id.")}}async alterTransaction(e,t={}){if(Reflect.has(e,"signature"))throw new Error("You can not extend the expiration of a signed transaction.");if(t.data){if("hex"!==t.dataFormat&&(t.data=hn.toHex(t.data)),t.data=t.data.replace(/^0x/,""),0===t.data.length)throw new Error("Invalid data provided");e.raw_data.data=t.data}if(t.extension){if(t.extension=parseInt(1e3*t.extension),isNaN(t.extension)||e.raw_data.expiration+t.extension<=Date.now()+3e3)throw new Error("Invalid extension provided");e.raw_data.expiration+=t.extension}return await this.newTxID(e,{txLocal:t.txLocal})}async extendExpiration(e,t,r={}){return await this.alterTransaction(e,{extension:t,txLocal:r?.txLocal})}async addUpdateData(e,t,r="utf8",n={}){return this.alterTransaction(e,{data:t,dataFormat:r,txLocal:n?.txLocal})}};m();var abt="TRON Signed Message:\n32",cbt="Ethereum Signed Message:\n32";function Sx(e){return hn.address.toHex(e)}var jR=class e{tronWeb;cache;validator;signMessage;sendAsset;send;sendTrx;broadcast;broadcastHex;signTransaction;constructor(e){this.tronWeb=e,this.cache={contracts:{}},this.validator=new AC,this.signMessage=this.sign,this.sendAsset=this.sendToken,this.send=this.sendTransaction,this.sendTrx=this.sendTransaction,this.broadcast=this.sendRawTransaction,this.broadcastHex=this.sendHexTransaction,this.signTransaction=this.sign}_parseToken(e){return{...e,name:this.tronWeb.toUtf8(e.name),abbr:e.abbr&&this.tronWeb.toUtf8(e.abbr),description:e.description&&this.tronWeb.toUtf8(e.description),url:e.url&&this.tronWeb.toUtf8(e.url)}}getCurrentBlock(){return this.tronWeb.fullNode.request("wallet/getnowblock")}getConfirmedCurrentBlock(){return this.tronWeb.solidityNode.request("walletsolidity/getnowblock")}async getBlock(e=this.tronWeb.defaultBlock){if(!1===e)throw new Error("No block identifier provided");return"earliest"==e&&(e=0),"latest"==e?this.getCurrentBlock():isNaN(+e)&&Jt.isHex(e.toString())?this.getBlockByHash(e):this.getBlockByNumber(e)}async getBlockByHash(e){let t=await this.tronWeb.fullNode.request("wallet/getblockbyid",{value:e},"post");if(!Object.keys(t).length)throw new Error("Block not found");return t}async getBlockByNumber(e){if(!Jt.isInteger(e)||e<0)throw new Error("Invalid block number provided");return this.tronWeb.fullNode.request("wallet/getblockbynum",{num:parseInt(e)},"post").then((e=>{if(!Object.keys(e).length)throw new Error("Block not found");return e}))}async getBlockTransactionCount(e=this.tronWeb.defaultBlock){let{transactions:t=[]}=await this.getBlock(e);return t.length}async getTransactionFromBlock(e=this.tronWeb.defaultBlock,t){let{transactions:r}=await this.getBlock(e);if(!r)throw new Error("Transaction not found in block");if(t>=0&&t<r.length)return r[t];throw new Error("Invalid transaction index provided")}async getTransactionsFromBlock(e=this.tronWeb.defaultBlock){let{transactions:t}=await this.getBlock(e);if(!t)throw new Error("Transaction not found in block");return t}async getTransaction(e){let t=await this.tronWeb.fullNode.request("wallet/gettransactionbyid",{value:e},"post");if(!Object.keys(t).length)throw new Error("Transaction not found");return t}async getConfirmedTransaction(e){let t=await this.tronWeb.solidityNode.request("walletsolidity/gettransactionbyid",{value:e},"post");if(!Object.keys(t).length)throw new Error("Transaction not found");return t}getUnconfirmedTransactionInfo(e){return this.tronWeb.fullNode.request("wallet/gettransactioninfobyid",{value:e},"post")}getTransactionInfo(e){return this.tronWeb.solidityNode.request("walletsolidity/gettransactioninfobyid",{value:e},"post")}getTransactionsToAddress(e=this.tronWeb.defaultAddress.hex,t=30,r=0){return this.getTransactionsRelated(this.tronWeb.address.toHex(e),"to",t,r)}getTransactionsFromAddress(e=this.tronWeb.defaultAddress.hex,t=30,r=0){return this.getTransactionsRelated(this.tronWeb.address.toHex(e),"from",t,r)}async getTransactionsRelated(e=this.tronWeb.defaultAddress.hex,t="all",r=30,n=0){if(!["to","from","all"].includes(t))throw new Error('Invalid direction provided: Expected "to", "from" or "all"');if("all"==t){let[t,i]=await Promise.all([this.getTransactionsRelated(e,"from",r,n),this.getTransactionsRelated(e,"to",r,n)]);return[...t.map((e=>(e.direction="from",e))),...i.map((e=>(e.direction="to",e)))].sort(((e,t)=>t.raw_data.timestamp-e.raw_data.timestamp))}if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");if(!Jt.isInteger(r)||r<0||n&&r<1)throw new Error("Invalid limit provided");if(!Jt.isInteger(n)||n<0)throw new Error("Invalid offset provided");return e=this.tronWeb.address.toHex(e),this.tronWeb.solidityNode.request(`walletextension/gettransactions${t}this`,{account:{address:e},offset:n,limit:r},"post").then((({transaction:e})=>e))}async getAccount(e=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return e=this.tronWeb.address.toHex(e),this.tronWeb.solidityNode.request("walletsolidity/getaccount",{address:e},"post")}getAccountById(e){return this.getAccountInfoById(e,{confirmed:!0})}async getAccountInfoById(e,t){return this.validator.notValid([{name:"accountId",type:"hex",value:e},{name:"accountId",type:"string",lte:32,gte:8,value:e}]),e.startsWith("0x")&&(e=e.slice(2)),this.tronWeb[t.confirmed?"solidityNode":"fullNode"].request(`wallet${t.confirmed?"solidity":""}/getaccountbyid`,{account_id:e},"post")}async getBalance(e=this.tronWeb.defaultAddress.hex){let{balance:t=0}=await this.getAccount(e);return t}async getUnconfirmedAccount(e=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return e=this.tronWeb.address.toHex(e),this.tronWeb.fullNode.request("wallet/getaccount",{address:e},"post")}getUnconfirmedAccountById(e){return this.getAccountInfoById(e,{confirmed:!1})}async getUnconfirmedBalance(e=this.tronWeb.defaultAddress.hex){let{balance:t=0}=await this.getUnconfirmedAccount(e);return t}async getBandwidth(e=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return e=this.tronWeb.address.toHex(e),this.tronWeb.fullNode.request("wallet/getaccountnet",{address:e},"post").then((({freeNetUsed:e=0,freeNetLimit:t=0,NetUsed:r=0,NetLimit:n=0})=>t-e+(n-r)))}async getTokensIssuedByAddress(e=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return e=this.tronWeb.address.toHex(e),this.tronWeb.fullNode.request("wallet/getassetissuebyaccount",{address:e},"post").then((({assetIssue:e})=>e?e.map((e=>this._parseToken(e))).reduce(((e,t)=>(e[t.name]=t,e)),{}):{}))}async getTokenFromID(e){if(Jt.isInteger(e)&&(e=e.toString()),!Jt.isString(e)||!e.length)throw new Error("Invalid token ID provided");return this.tronWeb.fullNode.request("wallet/getassetissuebyname",{value:this.tronWeb.fromUtf8(e)},"post").then((e=>{if(!e.name)throw new Error("Token does not exist");return this._parseToken(e)}))}async listNodes(){let{nodes:e=[]}=await this.tronWeb.fullNode.request("wallet/listnodes");return e.map((({address:{host:e,port:t}})=>`${this.tronWeb.toUtf8(e)}:${t}`))}async getBlockRange(e=0,t=30){if(!Jt.isInteger(e)||e<0)throw new Error("Invalid start of range provided");if(!Jt.isInteger(t)||t<e)throw new Error("Invalid end of range provided");if(t+1-e>100)throw new Error("Invalid range size, which should be no more than 100.");return this.tronWeb.fullNode.request("wallet/getblockbylimitnext",{startNum:parseInt(e),endNum:parseInt(t)+1},"post").then((({block:e=[]})=>e))}async listSuperRepresentatives(){let{witnesses:e=[]}=await this.tronWeb.fullNode.request("wallet/listwitnesses");return e}async listTokens(e=0,t=0){if(!Jt.isInteger(e)||e<0||t&&e<1)throw new Error("Invalid limit provided");if(!Jt.isInteger(t)||t<0)throw new Error("Invalid offset provided");return e?this.tronWeb.fullNode.request("wallet/getpaginatedassetissuelist",{offset:parseInt(t),limit:parseInt(e)},"post").then((({assetIssue:e=[]})=>e.map((e=>this._parseToken(e))))):this.tronWeb.fullNode.request("wallet/getassetissuelist").then((({assetIssue:e=[]})=>e.map((e=>this._parseToken(e)))))}async timeUntilNextVoteCycle(){let{num:e=-1}=await this.tronWeb.fullNode.request("wallet/getnextmaintenancetime");if(-1==e)throw new Error("Failed to get time until next vote cycle");return Math.floor(e/1e3)}async getContract(e){if(!this.tronWeb.isAddress(e))throw new Error("Invalid contract address provided");if(this.cache.contracts[e])return this.cache.contracts[e];e=this.tronWeb.address.toHex(e);let t=await this.tronWeb.fullNode.request("wallet/getcontract",{value:e});if(t.Error)throw new Error("Contract does not exist");return this.cache.contracts[e]=t,t}ecRecover(t){return e.ecRecover(t)}static ecRecover(e){if(!HR(e))throw new Error("Invalid transaction");if(!e.signature?.length)throw new Error("Transaction is not signed");if(1===e.signature.length){let t=CJ(e.txID,e.signature[0]);return hn.address.fromHex(t)}return e.signature.map((t=>{let r=CJ(e.txID,t);return hn.address.fromHex(r)}))}async verifyMessage(t,r,n=this.tronWeb.defaultAddress.base58,i=!0){if(!Jt.isHex(t))throw new Error("Expected hex message input");if(e.verifySignature(t,n,r,i))return!0;throw new Error("Signature does not match")}static verifySignature(e,t,r,n=!0){e=e.replace(/^0x/,"");let i=[...us(n?abt:cbt),...Jt.code.hexStr2byteArray(e)],o=zf(Fr(new Uint8Array(i)),Rs.from(`0x${r.replace(/^0x/,"")}`)),s=tu+o.substr(2);return hn.address.fromHex(s)==hn.address.fromHex(t)}async verifyMessageV2(t,r){return e.verifyMessageV2(t,r)}static verifyMessageV2(e,t){return Jt.message.verifyMessage(e,t)}verifyTypedData(t,r,n,i,o=this.tronWeb.defaultAddress.base58){if(e.verifyTypedData(t,r,n,i,o))return!0;throw new Error("Signature does not match")}static verifyTypedData(e,t,r,n,i){let o=zf(Jt._TypedDataEncoder.hash(e,t,r),Rs.from(`0x${n.replace(/^0x/,"")}`)),s=tu+o.substr(2);return hn.address.fromHex(s)==hn.address.fromHex(i)}async sign(t,r=this.tronWeb.defaultPrivateKey,n=!0,i=!1){if(Jt.isString(t)){if(!Jt.isHex(t))throw new Error("Expected hex message input");return e.signString(t,r,n)}if(!Jt.isObject(t))throw new Error("Invalid transaction provided");if(!i&&t.signature)throw new Error("Transaction is already signed");if(!i){if(this.tronWeb.address.toHex(this.tronWeb.address.fromPrivateKey(r)).toLowerCase()!==this.tronWeb.address.toHex(t.raw_data.contract[0].parameter.value.owner_address))throw new Error("Private key does not match address in transaction");if(!HR(t))throw new Error("Invalid transaction")}return Jt.crypto.signTransaction(r,t)}static signString(e,t,r=!0){e=e.replace(/^0x/,"");let n=`0x${t.replace(/^0x/,"")}`,i=new Ns(n),o=[...us(r?abt:cbt),...Jt.code.hexStr2byteArray(e)],s=Fr(new Uint8Array(o)),a=i.sign(s);return["0x",a.r.substring(2),a.s.substring(2),Number(a.v).toString(16)].join("")}signMessageV2(t,r=this.tronWeb.defaultPrivateKey){return e.signMessageV2(t,r)}static signMessageV2(e,t){return Jt.message.signMessage(e,t)}_signTypedData(t,r,n,i=this.tronWeb.defaultPrivateKey){return e._signTypedData(t,r,n,i)}static _signTypedData(e,t,r,n){return Jt.crypto._signTypedData(e,t,r,n)}async multiSign(e,t=this.tronWeb.defaultPrivateKey,r=0){if(!Jt.isObject(e)||!e.raw_data||!e.raw_data.contract)throw new Error("Invalid transaction provided");if(!e.raw_data.contract[0].Permission_id&&r>0){e.raw_data.contract[0].Permission_id=r;let n=this.tronWeb.address.toHex(this.tronWeb.address.fromPrivateKey(t)).toLowerCase(),i=await this.getSignWeight(e,r);if("PERMISSION_ERROR"===i.result.code)throw new Error(i.result.message);let o=!1;if(i.permission.keys.map((e=>{e.address===n&&(o=!0)})),!o)throw new Error(t+" has no permission to sign");if(i.approved_list&&-1!=i.approved_list.indexOf(n))throw new Error(t+" already sign transaction");if(!i.transaction||!i.transaction.transaction)throw new Error("Invalid transaction provided");e=i.transaction.transaction,r>0&&(e.raw_data.contract[0].Permission_id=r)}if(!HR(e))throw new Error("Invalid transaction");return Jt.crypto.signTransaction(t,e)}async getApprovedList(e){if(!Jt.isObject(e))throw new Error("Invalid transaction provided");return this.tronWeb.fullNode.request("wallet/getapprovedlist",e,"post")}async getSignWeight(e,t){if(!Jt.isObject(e)||!e.raw_data||!e.raw_data.contract)throw new Error("Invalid transaction provided");return Jt.isInteger(t)?e.raw_data.contract[0].Permission_id=parseInt(t):"number"!=typeof e.raw_data.contract[0].Permission_id&&(e.raw_data.contract[0].Permission_id=0),this.tronWeb.fullNode.request("wallet/getsignweight",e,"post")}async sendRawTransaction(e){if(!Jt.isObject(e))throw new Error("Invalid transaction provided");if(!e.signature||!Jt.isArray(e.signature))throw new Error("Transaction is not signed");return{...await this.tronWeb.fullNode.request("wallet/broadcasttransaction",e,"post"),transaction:e}}async sendHexTransaction(e){if(!Jt.isHex(e))throw new Error("Invalid hex transaction provided");let t={transaction:e},r=await this.tronWeb.fullNode.request("wallet/broadcasthex",t,"post");return r.result?{...r,transaction:JSON.parse(r.transaction),hexTransaction:e}:r}async sendTransaction(e,t,r={}){if("string"==typeof r&&(r={privateKey:r}),!this.tronWeb.isAddress(e))throw new Error("Invalid recipient provided");if(!Jt.isInteger(t)||t<=0)throw new Error("Invalid amount provided");if(!(r={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...r}).privateKey&&!r.address)throw new Error("Function requires either a private key or address to be set");let n=r.privateKey?this.tronWeb.address.fromPrivateKey(r.privateKey):r.address,i=await this.tronWeb.transactionBuilder.sendTrx(e,t,n),o=await this.sign(i,r.privateKey);return await this.sendRawTransaction(o)}async sendToken(e,t,r,n={}){if("string"==typeof n&&(n={privateKey:n}),!this.tronWeb.isAddress(e))throw new Error("Invalid recipient provided");if(!Jt.isInteger(t)||t<=0)throw new Error("Invalid amount provided");if(Jt.isInteger(r)&&(r=r.toString()),!Jt.isString(r))throw new Error("Invalid token ID provided");if(!(n={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...n}).privateKey&&!n.address)throw new Error("Function requires either a private key or address to be set");let i=n.privateKey?this.tronWeb.address.fromPrivateKey(n.privateKey):n.address,o=await this.tronWeb.transactionBuilder.sendToken(e,t,r,i),s=await this.sign(o,n.privateKey);return await this.sendRawTransaction(s)}async freezeBalance(e=0,t=3,r="BANDWIDTH",n={},i){if("string"==typeof n&&(n={privateKey:n}),!["BANDWIDTH","ENERGY"].includes(r))throw new Error('Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"');if(!Jt.isInteger(e)||e<=0)throw new Error("Invalid amount provided");if(!Jt.isInteger(t)||t<3)throw new Error("Invalid duration provided, minimum of 3 days");if(!(n={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...n}).privateKey&&!n.address)throw new Error("Function requires either a private key or address to be set");let o=n.privateKey?this.tronWeb.address.fromPrivateKey(n.privateKey):n.address,s=await this.tronWeb.transactionBuilder.freezeBalance(e,t,r,o,i),a=await this.sign(s,n.privateKey);return await this.sendRawTransaction(a)}async unfreezeBalance(e="BANDWIDTH",t={},r){if("string"==typeof t&&(t={privateKey:t}),!["BANDWIDTH","ENERGY"].includes(e))throw new Error('Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"');if(!(t={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...t}).privateKey&&!t.address)throw new Error("Function requires either a private key or address to be set");let n=t.privateKey?this.tronWeb.address.fromPrivateKey(t.privateKey):t.address,i=await this.tronWeb.transactionBuilder.unfreezeBalance(e,n,r),o=await this.sign(i,t.privateKey);return await this.sendRawTransaction(o)}async updateAccount(e,t={}){if("string"==typeof t&&(t={privateKey:t}),!Jt.isString(e)||!e.length)throw new Error("Name must be a string");if(!(t={privateKey:this.tronWeb.defaultPrivateKey,address:this.tronWeb.defaultAddress.hex,...t}).privateKey&&!t.address)throw Error("Function requires either a private key or address to be set");let r=t.privateKey?this.tronWeb.address.fromPrivateKey(t.privateKey):t.address,n=await this.tronWeb.transactionBuilder.updateAccount(e,r),i=await this.sign(n,t.privateKey);return await this.sendRawTransaction(i)}async getProposal(e){if(!Jt.isInteger(e)||e<0)throw new Error("Invalid proposalID provided");return this.tronWeb.fullNode.request("wallet/getproposalbyid",{id:parseInt(e)},"post")}async listProposals(){let{proposals:e=[]}=await this.tronWeb.fullNode.request("wallet/listproposals",{},"post");return e}async getChainParameters(){let{chainParameter:e=[]}=await this.tronWeb.fullNode.request("wallet/getchainparameters",{},"post");return e}async getAccountResources(e=this.tronWeb.defaultAddress.hex){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return this.tronWeb.fullNode.request("wallet/getaccountresource",{address:this.tronWeb.address.toHex(e)},"post")}async getDelegatedResourceV2(e=this.tronWeb.defaultAddress.hex,t=this.tronWeb.defaultAddress.hex,r={confirmed:!0}){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");if(!this.tronWeb.isAddress(t))throw new Error("Invalid address provided");return this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getdelegatedresourcev2`,{fromAddress:Sx(e),toAddress:Sx(t)},"post")}async getDelegatedResourceAccountIndexV2(e=this.tronWeb.defaultAddress.hex,t={confirmed:!0}){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return this.tronWeb[t.confirmed?"solidityNode":"fullNode"].request(`wallet${t.confirmed?"solidity":""}/getdelegatedresourceaccountindexv2`,{value:Sx(e)},"post")}async getCanDelegatedMaxSize(e=this.tronWeb.defaultAddress.hex,t="BANDWIDTH",r={confirmed:!0}){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return this.validator.notValid([{name:"resource",type:"resource",value:t,msg:'Invalid resource provided: Expected "BANDWIDTH" or "ENERGY"'}]),this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getcandelegatedmaxsize`,{owner_address:Sx(e),type:"ENERGY"===t?1:0},"post")}async getAvailableUnfreezeCount(e=this.tronWeb.defaultAddress.hex,t={confirmed:!0}){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");return this.tronWeb[t.confirmed?"solidityNode":"fullNode"].request(`wallet${t.confirmed?"solidity":""}/getavailableunfreezecount`,{owner_address:Sx(e)},"post")}async getCanWithdrawUnfreezeAmount(e=this.tronWeb.defaultAddress.hex,t=Date.now(),r={confirmed:!0}){if(!this.tronWeb.isAddress(e))throw new Error("Invalid address provided");if(!Jt.isInteger(t)||t<0)throw new Error("Invalid timestamp provided");return this.tronWeb[r.confirmed?"solidityNode":"fullNode"].request(`wallet${r.confirmed?"solidity":""}/getcanwithdrawunfreezeamount`,{owner_address:Sx(e),timestamp:t},"post")}async getExchangeByID(e){if(!Jt.isInteger(e)||e<0)throw new Error("Invalid exchangeID provided");return this.tronWeb.fullNode.request("wallet/getexchangebyid",{id:e},"post")}async listExchanges(){return this.tronWeb.fullNode.request("wallet/listexchanges",{},"post").then((({exchanges:e=[]})=>e))}async listExchangesPaginated(e=10,t=0){return this.tronWeb.fullNode.request("wallet/getpaginatedexchangelist",{limit:e,offset:t},"post").then((({exchanges:e=[]})=>e))}async getNodeInfo(){return this.tronWeb.fullNode.request("wallet/getnodeinfo",{},"post")}async getTokenListByName(e){if(Jt.isInteger(e)&&(e=e.toString()),!Jt.isString(e)||!e.length)throw new Error("Invalid token ID provided");return this.tronWeb.fullNode.request("wallet/getassetissuelistbyname",{value:this.tronWeb.fromUtf8(e)},"post").then((e=>{if(Array.isArray(e.assetIssue))return e.assetIssue.map((e=>this._parseToken(e)));if(!e.name)throw new Error("Token does not exist");return this._parseToken(e)}))}getTokenByID(e){if(Jt.isInteger(e)&&(e=e.toString()),!Jt.isString(e)||!e.length)throw new Error("Invalid token ID provided");return this.tronWeb.fullNode.request("wallet/getassetissuebyid",{value:e},"post").then((e=>{if(!e.name)throw new Error("Token does not exist");return this._parseToken(e)}))}async getReward(e,t={}){return t.confirmed=!0,this._getReward(e,t)}async getUnconfirmedReward(e,t={}){return t.confirmed=!1,this._getReward(e,t)}async getBrokerage(e,t={}){return t.confirmed=!0,this._getBrokerage(e,t)}async getUnconfirmedBrokerage(e,t={}){return t.confirmed=!1,this._getBrokerage(e,t)}async _getReward(e=this.tronWeb.defaultAddress.hex,t){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={address:Sx(e)};return this.tronWeb[t.confirmed?"solidityNode":"fullNode"].request(`wallet${t.confirmed?"solidity":""}/getReward`,r,"post").then(((e={reward:void 0})=>{if(typeof e.reward>"u")throw new Error("Not found.");return e.reward}))}async _getBrokerage(e=this.tronWeb.defaultAddress.hex,t){this.validator.notValid([{name:"origin",type:"address",value:e}]);let r={address:Sx(e)};return this.tronWeb[t.confirmed?"solidityNode":"fullNode"].request(`wallet${t.confirmed?"solidity":""}/getBrokerage`,r,"post").then(((e={})=>{if(typeof e.brokerage>"u")throw new Error("Not found.");return e.brokerage}))}async getBandwidthPrices(){return this.tronWeb.fullNode.request("wallet/getbandwidthprices",{},"post").then(((e={})=>{if(typeof e.prices>"u")throw new Error("Not found.");return e.prices}))}async getEnergyPrices(){return this.tronWeb.fullNode.request("wallet/getenergyprices",{},"post").then(((e={})=>{if(typeof e.prices>"u")throw new Error("Not found.");return e.prices}))}};m(),m();var kPr=e=>{if("stateMutability"in e&&(e.stateMutability=e.stateMutability?e.stateMutability.toLowerCase():"nonpayable"),e.type=e.type?e.type.toLowerCase():"","fallback"===e.type||"receive"===e.type)return"0x";let t,r=new Jt.ethersUtils.Interface([e]);if(t="event"===e.type?r.getEvent(e.name):r.getFunction(e.name),t)return t.format("sighash");throw new Error("unknown function")},Lwe=(e,t)=>bwe(e,t),GR=class{tronWeb;contract;abi;name;inputs;outputs;functionSelector;signature;defaultOptions;constructor(e,t){this.tronWeb=e.tronWeb,this.contract=e,this.abi=t,this.name=t.name||t.type,this.inputs=t.inputs||[],this.outputs=[],"outputs"in t&&t.outputs&&(this.outputs=t.outputs),this.functionSelector=kPr(t),this.signature=Fwe(this.functionSelector,!1).slice(0,8),this.defaultOptions={feeLimit:this.tronWeb.feeLimit,callValue:0,userFeePercentage:100,shouldPollResponse:!1}}decodeInput(e){let t=JSON.parse(JSON.stringify(this.abi));return t.outputs=t.inputs,Lwe(t,"0x"+e)}onMethod(...e){let t="";return this.abi&&!/event/i.test(this.abi.type)&&(t=xC(this.abi,e)),{call:async(e={})=>(e={...e,rawParameter:t},await this._call([],[],e)),send:async(e={},r=this.tronWeb.defaultPrivateKey)=>(e={...e,rawParameter:t},await this._send([],[],e,r))}}async _call(e,t,r={}){if(e.length!==t.length)throw new Error("Invalid argument count provided");if(!this.contract.address)throw new Error("Smart contract is missing address");if(!this.contract.deployed)throw new Error("Calling smart contracts requires you to load the contract first");if("stateMutability"in this.abi){let{stateMutability:e}=this.abi;if(e&&!["pure","view"].includes(e.toLowerCase()))throw new Error(`Methods with state mutability "${e}" must use send()`)}r={...this.defaultOptions,from:this.tronWeb.defaultAddress.hex,...r,_isConstant:!0};let n=t.map(((t,r)=>({type:e[r],value:t}))),i=await this.tronWeb.transactionBuilder.triggerSmartContract(this.contract.address,this.functionSelector,r,n,r.from?this.tronWeb.address.toHex(r.from):void 0);if(!Jt.hasProperty(i,"constant_result"))throw new Error("Failed to execute");let o=i.constant_result[0].length;if(0===o||o%64==8){let e="The call has been reverted or has thrown an error.";if(0!==o){e+=" Error message: ";let t="",r=i.constant_result[0].substring(8);for(let e=0;e<o-8;e+=64)t+=this.tronWeb.toUtf8(r.substring(e,e+64));e+=t.replace(/(\u0000|\u000b|\f)+/g," ").replace(/ +/g," ").replace(/\s+$/g,"")}throw new Error(e)}let s=Lwe(this.abi,"0x"+i.constant_result[0]);return 1===s.length&&1===Object.keys(s).length&&(s=s[0]),s}async _send(e,t,r={},n=this.tronWeb.defaultPrivateKey){if(e.length!==t.length)throw new Error("Invalid argument count provided");if(!this.contract.address)throw new Error("Smart contract is missing address");if(!this.contract.deployed)throw new Error("Calling smart contracts requires you to load the contract first");let{stateMutability:i}=this.abi;if(["pure","view"].includes(i.toLowerCase()))throw new Error(`Methods with state mutability "${i}" must use call()`);["payable"].includes(i.toLowerCase())||(r.callValue=0),r={...this.defaultOptions,from:this.tronWeb.defaultAddress.hex,...r};let o=t.map(((t,r)=>({type:e[r],value:t}))),s=n?this.tronWeb.address.fromPrivateKey(n):this.tronWeb.defaultAddress.base58,a=await this.tronWeb.transactionBuilder.triggerSmartContract(this.contract.address,this.functionSelector,r,o,this.tronWeb.address.toHex(s));if(!a.result||!a.result.result)throw new Error("Unknown error: "+JSON.stringify(a,null,2));let c=await this.tronWeb.trx.sign(a.transaction,n);if(!c.signature)throw n?new Error("Invalid private key provided"):new Error("Transaction was not signed properly");let u=await this.tronWeb.trx.sendRawTransaction(c);if(u.code){let e={error:u.code,message:u.code};u.message&&(e.message=this.tronWeb.toUtf8(u.message));let t=new Error(e.message);throw t.error=u.code,t}if(!r.shouldPollResponse)return c.txID;let l=async e=>{if(e===(r.pollTimes||20)){let e=new Error("Cannot find result in solidity node");throw e.error="Cannot find result in solidity node",e.transaction=c,e}let t=await this.tronWeb.trx.getTransactionInfo(c.txID);if(!Object.keys(t).length)return await new Promise((e=>setTimeout(e,3e3))),l(e+1);if(t.result&&"FAILED"===t.result){let e=new Error(this.tronWeb.toUtf8(t.resMessage));throw e.error=this.tronWeb.toUtf8(t.resMessage),e.transaction=c,e.output=t,e}if(!Jt.hasProperty(t,"contractResult")){let e=new Error("Failed to execute: "+JSON.stringify(t,null,2));throw e.error="Failed to execute: "+JSON.stringify(t,null,2),e.transaction=c,e.output=t,e}if(r.rawResponse)return t;let n=Lwe(this.abi,"0x"+t.contractResult[0]);return 1===n.length&&1===Object.keys(n).length&&(n=n[0]),r.keepTxID?[c.txID,n]:n};return l(0)}},VR=class{tronWeb;abi;address;eventListener;bytecode;deployed;lastBlock;methods;methodInstances;props;constructor(e,t=[],r){if(!(e&&e instanceof hn))throw new Error("Expected instance of TronWeb");this.tronWeb=e,this.address=r,this.abi=t,this.eventListener=!1,this.bytecode=!1,this.deployed=!1,this.lastBlock=!1,this.methods={},this.methodInstances={},this.props=[],Jt.address.isAddress(r)?this.deployed=!0:this.address=!1,this.loadAbi(t)}hasProperty(e){return this.hasOwnProperty(e)||this.__proto__.hasOwnProperty(e)}loadAbi(e){this.abi=e,this.methods={},this.props.forEach((e=>delete this[e])),e.forEach((e=>{if(!e.type||/constructor|error/i.test(e.type))return;let t=new GR(this,e),r=t.onMethod.bind(t),{name:n,functionSelector:i,signature:o}=t;this.methods[n]=r,this.methods[i]=r,this.methods[o]=r,this.methodInstances[n]=t,this.methodInstances[i]=t,this.methodInstances[o]=t,this.hasProperty(n)||(this[n]=r,this.props.push(n)),this.hasProperty(i)||(this[i]=r,this.props.push(i)),this.hasProperty(o)||(this[o]=r,this.props.push(o))}))}decodeInput(e){let t=e.substring(0,8),r=e.substring(8);if(!this.methodInstances[t])throw new Error("Contract method "+t+" not found");return{name:this.methodInstances[t].name,params:this.methodInstances[t].decodeInput(r)}}async new(e,t=this.tronWeb.defaultPrivateKey){let r=this.tronWeb.address.fromPrivateKey(t),n=await this.tronWeb.transactionBuilder.createSmartContract(e,r),i=await this.tronWeb.trx.sign(n,t),o=await this.tronWeb.trx.sendRawTransaction(i);if(o.code)throw{error:o.code,message:this.tronWeb.toUtf8(o.message)};return await Jt.sleep(3e3),this.at(i.contract_address)}async at(e){try{let t=await this.tronWeb.trx.getContract(e);if(!t.contract_address)throw new Error("Unknown error: "+JSON.stringify(t,null,2));return this.address=t.contract_address,this.bytecode=t.bytecode,this.deployed=!0,this.loadAbi(t.abi&&t.abi.entrys?t.abi.entrys:[]),this}catch(e){throw e.toString().includes("does not exist")?new Error("Contract has not been deployed on the network"):new Error(e)}}};m();var ubt=hi(mwe(),1),JR=class{tronWeb;pluginNoOverride;disablePlugins;constructor(e,t={}){if(!(e&&e instanceof hn))throw new Error("Expected instance of TronWeb");this.tronWeb=e,this.pluginNoOverride=["register"],this.disablePlugins=!!t.disablePlugins}register(e,t){let r={requires:"0.0.0",components:{}},n={libs:[],plugged:[],skipped:[],error:void 0};if(this.disablePlugins)return n.error="This instance of TronWeb has plugins disabled.",n;let i=new e(this.tronWeb);if(Jt.isFunction(i.pluginInterface)&&(r=i.pluginInterface(t)),!ubt.default.satisfies(hn.version,r.requires))throw new Error("The plugin is not compatible with this version of TronWeb");if(r.fullClass){let t=i.constructor.name,r=t.substring(0,1).toLowerCase()+t.substring(1);t!==r&&(Object.assign(hn,{[t]:e}),Object.assign(this.tronWeb,{[r]:i}),n.libs.push(t))}else for(let e in r.components){if(!this.tronWeb.hasOwnProperty(e))continue;let t=r.components[e],i=this.tronWeb[e].pluginNoOverride||[];for(let r in t)"constructor"===r||this.tronWeb[e][r]&&(i.includes(r)||/^_/.test(r))?n.skipped.push(r):(this.tronWeb[e][r]=t[r].bind(this.tronWeb[e]),n.plugged.push(r))}return n}};m();var XR=class{tronWeb;constructor(e){if(!(e&&e instanceof hn))throw new Error("Expected instance of TronWeb");this.tronWeb=e}setServer(e,t="healthcheck"){if(!e)return this.tronWeb.eventServer=void 0;if(Jt.isString(e)&&(e=new uT(e)),!this.tronWeb.isValidProvider(e))throw new Error("Invalid event server provided");this.tronWeb.eventServer=e,this.tronWeb.eventServer.isConnected=()=>this.tronWeb.eventServer.request(t).then((()=>!0)).catch((()=>!1))}async getEventsByContractAddress(e,t={}){let r=Object.assign({limit:20},t),{eventName:n,blockNumber:i,onlyUnconfirmed:o,onlyConfirmed:s,minBlockTimestamp:a,maxBlockTimestamp:c,orderBy:u,fingerprint:l}=r,{limit:d}=r;if(!this.tronWeb.eventServer)throw new Error("No event server configured");if(!this.tronWeb.isAddress(e))throw new Error("Invalid contract address provided");if(typeof a<"u"&&!Jt.isInteger(a))throw new Error("Invalid minBlockTimestamp provided");if(typeof c<"u"&&!Jt.isInteger(c))throw new Error("Invalid maxBlockTimestamp provided");Jt.isInteger(d)&&d>200&&(console.warn("Defaulting to maximum accepted limit: 200"),d=200);let h={};n&&(h.event_name=n),i&&(h.block_number=i),"boolean"==typeof o&&(h.only_unconfirmed=o),"boolean"==typeof s&&(h.only_confirmed=s),a&&(h.min_block_timestamp=a),c&&(h.max_block_timestamp=c),u&&(h.order_by=u),l&&(h.fingerprint=l),Jt.isInteger(d)&&(h.limit=d);let f=await this.tronWeb.eventServer.request(`v1/contracts/${this.tronWeb.address.fromHex(e)}/events?${new URLSearchParams(h).toString()}`);if(f.success)return f;throw new Error(f.error)}async getEventsByTransactionID(e,t={}){if(!this.tronWeb.eventServer)throw new Error("No event server configured");let r={};return"boolean"==typeof t.only_unconfirmed&&(r.only_unconfirmed=t.only_unconfirmed),"boolean"==typeof t.only_confirmed&&(r.only_confirmed=t.only_confirmed),this.tronWeb.eventServer.request(`v1/transactions/${e}/events?${new URLSearchParams(r).toString()}`).then((e=>{if(e.success)return e;throw new Error(JSON.parse(e.error).message)}))}async getEventsByBlockNumber(e,t={}){if(!this.tronWeb.eventServer)throw new Error("No event server configured");let r={};return"boolean"==typeof t.only_confirmed&&(r.only_confirmed=t.only_confirmed),t.limit&&(r.limit=t.limit),t.fingerprint&&(r.fingerprint=t.fingerprint),this.tronWeb.eventServer.request(`v1/blocks/${e}/events?${new URLSearchParams(r).toString()}`).then((e=>{if(e.success)return e;throw new Error(e.error)}))}async getEventsOfLatestBlock(e={}){if(!this.tronWeb.eventServer)throw new Error("No event server configured");let t={};return"boolean"==typeof e.only_confirmed&&(t.only_confirmed=e.only_confirmed),this.tronWeb.eventServer.request(`v1/blocks/latest/events?${new URLSearchParams(t).toString()}`).then((e=>{if(e.success)return e;throw new Error(e.error)}))}},lbt="4.7.1",_Pr=15e7,RPr="6.0.0";function fbt(e){return!(!e||"object"!=typeof e||!e.fullNode&&!e.fullHost)}var hn=class e extends dbt.default{providers;BigNumber;transactionBuilder;trx;plugin;event;version;static version=RPr;utils;defaultBlock;defaultPrivateKey;defaultAddress;fullnodeVersion;feeLimit;fullNode;solidityNode;eventServer;constructor(t,r="",n,i=""){super();let o,s=!1,a=!1;fbt(t)?(o=t.fullNode||t.fullHost,r=t.solidityNode||t.fullHost,n=t.eventServer||t.fullHost,s=t.headers||!1,a=t.eventHeaders||s,i=t.privateKey):o=t,Jt.isString(o)&&(o=new Wl.HttpProvider(o)),Jt.isString(r)&&(r=new Wl.HttpProvider(r)),Jt.isString(n)&&(n=new Wl.HttpProvider(n)),this.event=new XR(this),this.transactionBuilder=new qR(this),this.trx=new jR(this),this.plugin=new JR(this,{disablePlugins:!!fbt(t)&&t.disablePlugins}),this.utils=Jt,this.setFullNode(o),this.setSolidityNode(r),this.setEventServer(n),this.providers=Wl,this.BigNumber=K2,this.defaultBlock=!1,this.defaultPrivateKey=!1,this.defaultAddress={hex:!1,base58:!1},this.version=e.version,this.sha3=e.sha3,this.fromUtf8=e.fromUtf8,this.address=e.address,this.toAscii=e.toAscii,this.toUtf8=e.toUtf8,this.isAddress=e.isAddress,this.fromAscii=e.fromAscii,this.toHex=e.toHex,this.toBigNumber=e.toBigNumber,this.toDecimal=e.toDecimal,this.fromDecimal=e.fromDecimal,this.toSun=e.toSun,this.fromSun=e.fromSun,this.createAccount=e.createAccount,this.createRandom=e.createRandom,this.fromMnemonic=e.fromMnemonic,i&&this.setPrivateKey(i),this.fullnodeVersion=lbt,this.feeLimit=_Pr,s&&this.setFullNodeHeader(s),a&&this.setEventHeader(a)}async getFullnodeVersion(){try{let e=await this.trx.getNodeInfo();this.fullnodeVersion=e.configNodeInfo.codeVersion,2===this.fullnodeVersion.split(".").length&&(this.fullnodeVersion+=".0")}catch{this.fullnodeVersion=lbt}}setDefaultBlock(e=!1){if([!1,"latest","earliest",0].includes(e))return this.defaultBlock=e;if(!Jt.isInteger(e)||!e)throw new Error("Invalid block ID provided");return this.defaultBlock=Math.abs(e)}setPrivateKey(t){try{this.setAddress(e.address.fromPrivateKey(t))}catch{throw new Error("Invalid private key provided")}this.defaultPrivateKey=t,this.emit("privateKeyChanged",t)}setAddress(t){if(!e.isAddress(t))throw new Error("Invalid address provided");let r=e.address.toHex(t),n=e.address.fromHex(t);this.defaultPrivateKey&&e.address.fromPrivateKey(this.defaultPrivateKey)!==n&&(this.defaultPrivateKey=!1),this.defaultAddress={hex:r,base58:n},this.emit("addressChanged",{hex:r,base58:n})}fullnodeSatisfies(e){return hbt.default.satisfies(this.fullnodeVersion,e)}isValidProvider(e){return Object.values(Wl).some((t=>e instanceof t))}setFullNode(e){if(ja(e)&&(e=new Wl.HttpProvider(e)),!this.isValidProvider(e))throw new Error("Invalid full node provided");this.fullNode=e,this.fullNode.setStatusPage("wallet/getnowblock")}setSolidityNode(e){if(Jt.isString(e)&&(e=new Wl.HttpProvider(e)),!this.isValidProvider(e))throw new Error("Invalid solidity node provided");this.solidityNode=e,this.solidityNode.setStatusPage("walletsolidity/getnowblock")}setEventServer(e,t){this.event.setServer(e,t)}setHeader(e={}){let t=new Wl.HttpProvider(this.fullNode.host,3e4,"","",e),r=new Wl.HttpProvider(this.solidityNode.host,3e4,"","",e),n=new Wl.HttpProvider(this.eventServer.host,3e4,"","",e);this.setFullNode(t),this.setSolidityNode(r),this.setEventServer(n)}setFullNodeHeader(e={}){let t=new Wl.HttpProvider(this.fullNode.host,3e4,"","",e),r=new Wl.HttpProvider(this.solidityNode.host,3e4,"","",e);this.setFullNode(t),this.setSolidityNode(r)}setEventHeader(e={}){let t=new Wl.HttpProvider(this.eventServer.host,3e4,"","",e);this.setEventServer(t)}currentProviders(){return{fullNode:this.fullNode,solidityNode:this.solidityNode,eventServer:this.eventServer}}currentProvider(){return this.currentProviders()}getEventResult(...e){return this.event.getEventsByContractAddress(...e)}getEventByTransactionID(...e){return this.event.getEventsByTransactionID(...e)}contract(e=[],t){return new VR(this,e,t)}address;static get address(){return{fromHex:e=>K1e(e),toHex:e=>xr(e),toChecksumAddress:e=>YV(e),isChecksumAddress:e=>H1e(e),fromPrivateKey:(e,t=!1)=>q1e(e,t)}}sha3;static sha3(e,t=!0){return(t?"0x":"")+Fr(P.Buffer.from(e,"utf-8")).toString().substring(2)}toHex;static toHex(t){if(Jt.isBoolean(t))return e.fromDecimal(+t);if(Jt.isBigNumber(t))return e.fromDecimal(t);if("object"==typeof t)return e.fromUtf8(JSON.stringify(t));if(Jt.isString(t)){if(/^(-|)0x/.test(t))return t;if(!isFinite(t)||/^\s*$/.test(t))return e.fromUtf8(t)}let r=e.fromDecimal(t);if("0xNaN"===r)throw new Error("The passed value is not convertible to a hex string");return r}toUtf8;static toUtf8(e){if(Jt.isHex(e))return e=e.replace(/^0x/,""),P.Buffer.from(e,"hex").toString("utf8");throw new Error("The passed value is not a valid hex string")}fromUtf8;static fromUtf8(e){if(!Jt.isString(e))throw new Error("The passed value is not a valid utf-8 string");return"0x"+P.Buffer.from(e,"utf8").toString("hex")}toAscii;static toAscii(e){if(Jt.isHex(e)){let t="",r=0,n=e.length;for("0x"===e.substring(0,2)&&(r=2);r<n;r+=2){let n=parseInt(e.substr(r,2),16);t+=String.fromCharCode(n)}return t}throw new Error("The passed value is not a valid hex string")}fromAscii;static fromAscii(e,t){if(!Jt.isString(e))throw new Error("The passed value is not a valid utf-8 string");return"0x"+P.Buffer.from(e,"ascii").toString("hex").padEnd(t,"0")}toDecimal;static toDecimal(t){return e.toBigNumber(t).toNumber()}fromDecimal;static fromDecimal(t){let r=e.toBigNumber(t),n=r.toString(16);return r.isLessThan(0)?"-0x"+n.substr(1):"0x"+n}fromSun;static fromSun(t){let r=e.toBigNumber(t).div(1e6);return Jt.isBigNumber(t)?r:r.toString(10)}toSun;static toSun(t){let r=e.toBigNumber(t).times(1e6);return Jt.isBigNumber(t)?r:r.toString(10)}toBigNumber;static toBigNumber(e=0){return Jt.isBigNumber(e)?e:Jt.isString(e)&&/^(-|)0x/.test(e)?new K2(e.replace("0x",""),16):new K2(e.toString(10),10)}isAddress;static isAddress(e=""){return cT(e)}createAccount;static async createAccount(){return Jt.accounts.generateAccount()}createRandom;static createRandom(...e){return Jt.accounts.generateRandom(...e)}fromMnemonic;static fromMnemonic(...e){return Jt.accounts.generateAccountWithMnemonic(...e)}async isConnected(){return{fullNode:await this.fullNode.isConnected(),solidityNode:await this.solidityNode.isConnected(),eventServer:this.eventServer&&await this.eventServer.isConnected()}}},TJ=hn;function NPr(e){return hn.address.toHex(e).replace(Kb,"0x")}function DPr(e){return hn.address.toHex(e)}var mbt=new Uint8Array(32);mbt.fill(0);var UPr=BigInt(-1),bbt=BigInt(0),vbt=BigInt(1),LPr=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");function FPr(e){let t=zt(e),r=t.length%32;return r?xn([t,mbt.slice(r)]):Ct(t)}var WPr=Ga(vbt,32),zPr=Ga(bbt,32),pbt={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},Wwe=["name","version","chainId","verifyingContract","salt"];function gbt(e){return function(t){return Te("string"==typeof t,`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,t),t}}var KPr={name:gbt("name"),version:gbt("version"),chainId:function(e){let t=Mn(e,"domain.chainId");return Te(t>=0,"invalid chain ID","domain.chainId",e),Number.isSafeInteger(t)?Number(t):Q8(t)},verifyingContract:function(e){try{return DPr(e).toLowerCase()}catch{}Te(!1,'invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){let t=zt(e,"domain.salt");return Te(32===t.length,'invalid domain value "salt"',"domain.salt",e),Ct(t)}};function IJ(e){{let t=e.match(/^(u?)int(\d*)$/);if(t){let r=""===t[1],n=parseInt(t[2]||"256");Te(n%8==0&&0!==n&&n<=256&&(null==t[2]||t[2]===String(n)),"invalid numeric width","type",e);let i=xp(LPr,r?n-1:n),o=r?(i+vbt)*UPr:bbt;return function(t){let n=Mn(t,"value");return Te(n>=o&&n<=i,`value out-of-bounds for ${e}`,"value",n),Ga(r?nx(n,256):n,32)}}}{let t=e.match(/^bytes(\d+)$/);if(t){let r=parseInt(t[1]);return Te(0!==r&&r<=32&&t[1]===String(r),"invalid bytes width","type",e),function(t){return Te(zt(t).length===r,`invalid length for ${e}`,"value",t),FPr(t)}}}switch(e){case"trcToken":return IJ("uint256");case"address":return function(e){return Ul(NPr(e),32)};case"bool":return function(e){return e?WPr:zPr};case"bytes":return function(e){return Fr(e)};case"string":return function(e){return Ja(e)}}return null}function ybt(e,t){return`${e}(${t.map((({name:e,type:t})=>t+" "+e)).join(",")})`}var RC=class e{primaryType;#e;get types(){return JSON.parse(this.#e)}#t;#r;constructor(e){this.#e=JSON.stringify(e),this.#t=new Map,this.#r=new Map;let t=new Map,r=new Map,n=new Map;Object.keys(e).forEach((e=>{t.set(e,new Set),r.set(e,[]),n.set(e,new Set)}));for(let n in e){let i=new Set;for(let o of e[n]){Te(!i.has(o.name),`duplicate variable name ${JSON.stringify(o.name)} in ${JSON.stringify(n)}`,"types",e),i.add(o.name);let s=o.type.match(/^([^\x5b]*)(\x5b|$)/)[1]||null;Te(s!==n,`circular type reference to ${JSON.stringify(s)}`,"types",e),!IJ(s)&&(Te(r.has(s),`unknown type ${JSON.stringify(s)}`,"types",e),r.get(s).push(n),t.get(n).add(s))}}let i=Array.from(r.keys()).filter((e=>0===r.get(e).length));Te(0!==i.length,"missing primary type","types",e),Te(1===i.length,`ambiguous primary types or unused types: ${i.map((e=>JSON.stringify(e))).join(", ")}`,"types",e),Ur(this,{primaryType:i[0]}),function i(o,s){Te(!s.has(o),`circular type reference to ${JSON.stringify(o)}`,"types",e),s.add(o);for(let e of t.get(o))if(r.has(e)){i(e,s);for(let t of s)n.get(t).add(e)}s.delete(o)}(this.primaryType,new Set);for(let[t,r]of n){let n=Array.from(r);n.sort(),this.#t.set(t,ybt(t,e[t])+n.map((t=>ybt(t,e[t]))).join(""))}}getEncoder(e){let t=this.#r.get(e);return t||(t=this.#n(e),this.#r.set(e,t)),t}#n(e){{let t=IJ(e);if(t)return t}let t=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(t){let e=t[1],r=this.getEncoder(e);return n=>{Te(!t[3]||parseInt(t[3])===n.length,`array length mismatch; expected length ${parseInt(t[3])}`,"value",n);let i=n.map(r);return this.#t.has(e)&&(i=i.map(Fr)),Fr(xn(i))}}let r=this.types[e];if(r){let t=Ja(this.#t.get(e));return e=>{let n=r.map((({name:t,type:r})=>{let n=this.getEncoder(r)(e[t]);return this.#t.has(r)?Fr(n):n}));return n.unshift(t),xn(n)}}Te(!1,`unknown type: ${e}`,"type",e)}encodeType(e){let t=this.#t.get(e);return Te(t,`unknown type: ${JSON.stringify(e)}`,"name",e),t}encodeData(e,t){return this.getEncoder(e)(t)}hashStruct(e,t){return Fr(this.encodeData(e,t))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,t,r){if(IJ(e))return r(e,t);let n=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n)return Te(!n[3]||parseInt(n[3])===t.length,`array length mismatch; expected length ${parseInt(n[3])}`,"value",t),t.map((e=>this._visit(n[1],e,r)));let i=this.types[e];if(i)return i.reduce(((e,{name:n,type:i})=>(e[n]=this._visit(i,t[n],r),e)),{});Te(!1,`unknown type: ${e}`,"type",e)}visit(e,t){return this._visit(this.primaryType,e,t)}static from(t){return new e(t)}static getPrimaryType(t){return e.from(t).primaryType}static hashStruct(t,r,n){return e.from(r).hashStruct(t,n)}static hashDomain(t){let r=[];for(let e in t){if(null==t[e])continue;let n=pbt[e];Te(n,`invalid typed-data domain key: ${JSON.stringify(e)}`,"domain",t),r.push({name:e,type:n})}return r.sort(((e,t)=>Wwe.indexOf(e.name)-Wwe.indexOf(t.name))),e.hashStruct("EIP712Domain",{EIP712Domain:r},t)}static encode(t,r,n){return xn(["0x1901",e.hashDomain(t),e.from(r).hash(n)])}static hash(t,r,n){return Fr(e.encode(t,r,n))}static async resolveNames(t,r,n,i){t=Object.assign({},t);for(let e in t)null==t[e]&&delete t[e];let o={};t.verifyingContract&&!cs(t.verifyingContract,20)&&(o[t.verifyingContract]="0x");let s=e.from(r);s.visit(n,((e,t)=>("address"===e&&!cs(t,20)&&(o[t]="0x"),t)));for(let e in o)o[e]=await i(e);return t.verifyingContract&&o[t.verifyingContract]&&(t.verifyingContract=o[t.verifyingContract]),{domain:t,value:n=s.visit(n,((e,t)=>"address"===e&&o[t]?o[t]:t))}}static getPayload(t,r,n){e.hashDomain(t);let i={},o=[];Wwe.forEach((e=>{let r=t[e];null!=r&&(i[e]=KPr[e](r),o.push({name:e,type:pbt[e]}))}));let s=e.from(r),a=Object.assign({},r);return Te(null==a.EIP712Domain,"types must not contain EIP712Domain type","types.EIP712Domain",r),a.EIP712Domain=o,s.encode(n),{types:a,domain:i,primaryType:s.primaryType,message:s.visit(n,((e,t)=>{if(e.match(/^bytes(\d*)/))return Ct(zt(t));if(e.match(/^u?int/))return Mn(t).toString();switch(e){case"trcToken":return Mn(t).toString();case"address":return t.toLowerCase();case"bool":return!!t;case"string":return Te("string"==typeof t,"invalid string","value",t),t}Te(!1,"unsupported type","type",e)}))}}};function wbt(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function HPr(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function NC(e,...t){if(!HPr(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function xbt(e){if("function"!=typeof e||"function"!=typeof e.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");wbt(e.outputLen),wbt(e.blockLen)}function DC(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Abt(e,t){NC(e);let r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}m(),m(),m(),m(),m(),m(),m();var OJ="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,PJ=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),Bp=(e,t)=>e<<32-t|e>>>t,SFn=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0];function qPr(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function YR(e){return"string"==typeof e&&(e=qPr(e)),NC(e),e}function Ebt(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];NC(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}var UC=class{clone(){return this._cloneInto()}},CFn={}.toString;function Tbt(e){let t=t=>e().update(YR(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}function Sbt(e=32){if(OJ&&"function"==typeof OJ.getRandomValues)return OJ.getRandomValues(new Uint8Array(e));throw new Error("crypto.getRandomValues must be defined")}function jPr(e,t,r,n){if("function"==typeof e.setBigUint64)return e.setBigUint64(t,r,n);let i=BigInt(32),o=BigInt(4294967295),s=Number(r>>i&o),a=Number(r&o),c=n?4:0,u=n?0:4;e.setUint32(t+c,s,n),e.setUint32(t+u,a,n)}var Cbt=(e,t,r)=>e&t^~e&r,Ibt=(e,t,r)=>e&t^e&r^t&r,BJ=class extends UC{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=PJ(this.buffer)}update(e){DC(this);let{view:t,buffer:r,blockLen:n}=this,i=(e=YR(e)).length;for(let o=0;o<i;){let s=Math.min(n-this.pos,i-o);if(s!==n)r.set(e.subarray(o,o+s),this.pos),this.pos+=s,o+=s,this.pos===n&&(this.process(t,0),this.pos=0);else{let t=PJ(e);for(;n<=i-o;o+=n)this.process(t,o)}}return this.length+=e.length,this.roundClean(),this}digestInto(e){DC(this),Abt(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:n,isLE:i}=this,{pos:o}=this;t[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>n-o&&(this.process(r,0),o=0);for(let e=o;e<n;e++)t[e]=0;jPr(r,n-8,BigInt(8*this.length),i),this.process(r,0);let s=PJ(e),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");let c=a/4,u=this.get();if(c>u.length)throw new Error("_sha2: outputLen bigger than state");for(let e=0;e<c;e++)s.setUint32(4*e,u[e],i)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());let{blockLen:t,buffer:r,length:n,finished:i,destroyed:o,pos:s}=this;return e.length=n,e.pos=s,e.finished=i,e.destroyed=o,n%t&&e.buffer.set(r),e}},GPr=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Cx=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Ix=new Uint32Array(64),zwe=class extends BJ{constructor(){super(64,32,8,!1),this.A=0|Cx[0],this.B=0|Cx[1],this.C=0|Cx[2],this.D=0|Cx[3],this.E=0|Cx[4],this.F=0|Cx[5],this.G=0|Cx[6],this.H=0|Cx[7]}get(){let{A:e,B:t,C:r,D:n,E:i,F:o,G:s,H:a}=this;return[e,t,r,n,i,o,s,a]}set(e,t,r,n,i,o,s,a){this.A=0|e,this.B=0|t,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let r=0;r<16;r++,t+=4)Ix[r]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=Ix[e-15],r=Ix[e-2],n=Bp(t,7)^Bp(t,18)^t>>>3,i=Bp(r,17)^Bp(r,19)^r>>>10;Ix[e]=i+Ix[e-7]+n+Ix[e-16]|0}let{A:r,B:n,C:i,D:o,E:s,F:a,G:c,H:u}=this;for(let e=0;e<64;e++){let t=u+(Bp(s,6)^Bp(s,11)^Bp(s,25))+Cbt(s,a,c)+GPr[e]+Ix[e]|0,l=(Bp(r,2)^Bp(r,13)^Bp(r,22))+Ibt(r,n,i)|0;u=c,c=a,a=s,s=o+t|0,o=i,i=n,n=r,r=t+l|0}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(r,n,i,o,s,a,c,u)}roundClean(){Ix.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}},Obt=Tbt((()=>new zwe));m(),m();var MJ=class extends UC{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,xbt(e);let r=YR(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let e=0;e<i.length;e++)i[e]^=54;this.iHash.update(i),this.oHash=e.create();for(let e=0;e<i.length;e++)i[e]^=106;this.oHash.update(i),i.fill(0)}update(e){return DC(this),this.iHash.update(e),this}digestInto(e){DC(this),NC(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){let e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));let{oHash:t,iHash:r,finished:n,destroyed:i,blockLen:o,outputLen:s}=this;return e.finished=n,e.destroyed=i,e.blockLen=o,e.outputLen=s,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}},Kwe=(e,t,r)=>new MJ(e,t).update(r).digest();Kwe.create=(e,t)=>new MJ(e,t),m(),m(),m();var Gwe={};Vr(Gwe,{abytes:()=>LC,bitGet:()=>$Pr,bitLen:()=>ZPr,bitMask:()=>QR,bitSet:()=>eBr,bytesToHex:()=>mT,bytesToNumberBE:()=>Vb,bytesToNumberLE:()=>_J,concatBytes:()=>FC,createHmacDrbg:()=>jwe,ensureBytes:()=>Hd,equalBytes:()=>YPr,hexToBytes:()=>bT,hexToNumber:()=>qwe,isBytes:()=>Ox,numberToBytesBE:()=>Px,numberToBytesLE:()=>RJ,numberToHexUnpadded:()=>kbt,numberToVarBytesBE:()=>XPr,utf8ToBytes:()=>QPr,validateObject:()=>Bx}),m();var Mbt=BigInt(0),kJ=BigInt(1),VPr=BigInt(2);function Ox(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function LC(e){if(!Ox(e))throw new Error("Uint8Array expected")}var JPr=Array.from({length:256},((e,t)=>t.toString(16).padStart(2,"0")));function mT(e){LC(e);let t="";for(let r=0;r<e.length;r++)t+=JPr[e[r]];return t}function kbt(e){let t=e.toString(16);return 1&t.length?`0${t}`:t}function qwe(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);return BigInt(""===e?"0":`0x${e}`)}var Gb={_0:48,_9:57,_A:65,_F:70,_a:97,_f:102};function Pbt(e){return e>=Gb._0&&e<=Gb._9?e-Gb._0:e>=Gb._A&&e<=Gb._F?e-(Gb._A-10):e>=Gb._a&&e<=Gb._f?e-(Gb._a-10):void 0}function bT(e){if("string"!=typeof e)throw new Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw new Error("padded hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t<r;t++,i+=2){let r=Pbt(e.charCodeAt(i)),o=Pbt(e.charCodeAt(i+1));if(void 0===r||void 0===o){let t=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+t+'" at index '+i)}n[t]=16*r+o}return n}function Vb(e){return qwe(mT(e))}function _J(e){return LC(e),qwe(mT(Uint8Array.from(e).reverse()))}function Px(e,t){return bT(e.toString(16).padStart(2*t,"0"))}function RJ(e,t){return Px(e,t).reverse()}function XPr(e){return bT(kbt(e))}function Hd(e,t,r){let n;if("string"==typeof t)try{n=bT(t)}catch(r){throw new Error(`${e} must be valid hex string, got "${t}". Cause: ${r}`)}else{if(!Ox(t))throw new Error(`${e} must be hex string or Uint8Array`);n=Uint8Array.from(t)}let i=n.length;if("number"==typeof r&&i!==r)throw new Error(`${e} expected ${r} bytes, got ${i}`);return n}function FC(...e){let t=0;for(let r=0;r<e.length;r++){let n=e[r];LC(n),t+=n.length}let r=new Uint8Array(t);for(let t=0,n=0;t<e.length;t++){let i=e[t];r.set(i,n),n+=i.length}return r}function YPr(e,t){if(e.length!==t.length)return!1;let r=0;for(let n=0;n<e.length;n++)r|=e[n]^t[n];return 0===r}function QPr(e){if("string"!=typeof e)throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array((new TextEncoder).encode(e))}function ZPr(e){let t;for(t=0;e>Mbt;e>>=kJ,t+=1);return t}function $Pr(e,t){return e>>BigInt(t)&kJ}function eBr(e,t,r){return e|(r?kJ:Mbt)<<BigInt(t)}var QR=e=>(VPr<<BigInt(e-1))-kJ,Hwe=e=>new Uint8Array(e),Bbt=e=>Uint8Array.from(e);function jwe(e,t,r){if("number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof t||t<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");let n=Hwe(e),i=Hwe(e),o=0,s=()=>{n.fill(1),i.fill(0),o=0},a=(...e)=>r(i,n,...e),c=(e=Hwe())=>{i=a(Bbt([0]),e),n=a(),0!==e.length&&(i=a(Bbt([1]),e),n=a())},u=()=>{if(o++>=1e3)throw new Error("drbg: tried 1000 values");let e=0,r=[];for(;e<t;){n=a();let t=n.slice();r.push(t),e+=n.length}return FC(...r)};return(e,t)=>{let r;for(s(),c(e);!(r=t(u()));)c();return s(),r}}var tBr={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||Ox(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>"function"==typeof e&&Number.isSafeInteger(e.outputLen)};function Bx(e,t,r={}){let n=(t,r,n)=>{let i=tBr[r];if("function"!=typeof i)throw new Error(`Invalid validator "${r}", expected function`);let o=e[t];if(!(n&&void 0===o||i(o,e)))throw new Error(`Invalid param ${String(t)}=${o} (${typeof o}), expected ${r}`)};for(let[e,r]of Object.entries(t))n(e,r,!1);for(let[e,t]of Object.entries(r))n(e,t,!0);return e}var Ya=BigInt(0),Fs=BigInt(1),vT=BigInt(2),rBr=BigInt(3),Vwe=BigInt(4),_bt=BigInt(5),Rbt=BigInt(8),nBr=BigInt(9),iBr=BigInt(16);function il(e,t){let r=e%t;return r>=Ya?r:t+r}function oBr(e,t,r){if(r<=Ya||t<Ya)throw new Error("Expected power/modulo > 0");if(r===Fs)return Ya;let n=Fs;for(;t>Ya;)t&Fs&&(n=n*e%r),e=e*e%r,t>>=Fs;return n}function qd(e,t,r){let n=e;for(;t-- >Ya;)n*=n,n%=r;return n}function NJ(e,t){if(e===Ya||t<=Ya)throw new Error(`invert: expected positive integers, got n=${e} mod=${t}`);let r=il(e,t),n=t,i=Ya,o=Fs,s=Fs,a=Ya;for(;r!==Ya;){let e=n/r,t=n%r,c=i-s*e,u=o-a*e;n=r,r=t,i=s,o=a,s=c,a=u}if(n!==Fs)throw new Error("invert: does not exist");return il(i,t)}function sBr(e){let t,r,n,i=(e-Fs)/vT;for(t=e-Fs,r=0;t%vT===Ya;t/=vT,r++);for(n=vT;n<e&&oBr(n,i,e)!==e-Fs;n++);if(1===r){let t=(e+Fs)/Vwe;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}let o=(t+Fs)/vT;return function(e,s){if(e.pow(s,i)===e.neg(e.ONE))throw new Error("Cannot find square root");let a=r,c=e.pow(e.mul(e.ONE,n),t),u=e.pow(s,o),l=e.pow(s,t);for(;!e.eql(l,e.ONE);){if(e.eql(l,e.ZERO))return e.ZERO;let t=1;for(let r=e.sqr(l);t<a&&!e.eql(r,e.ONE);t++)r=e.sqr(r);let r=e.pow(c,Fs<<BigInt(a-t-1));c=e.sqr(r),u=e.mul(u,r),l=e.mul(l,c),a=t}return u}}function aBr(e){if(e%Vwe===rBr){let t=(e+Fs)/Vwe;return function(e,r){let n=e.pow(r,t);if(!e.eql(e.sqr(n),r))throw new Error("Cannot find square root");return n}}if(e%Rbt===_bt){let t=(e-_bt)/Rbt;return function(e,r){let n=e.mul(r,vT),i=e.pow(n,t),o=e.mul(r,i),s=e.mul(e.mul(o,vT),i),a=e.mul(o,e.sub(s,e.ONE));if(!e.eql(e.sqr(a),r))throw new Error("Cannot find square root");return a}}return sBr(e)}var cBr=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Jwe(e){return Bx(e,cBr.reduce(((e,t)=>(e[t]="function",e)),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"}))}function uBr(e,t,r){if(r<Ya)throw new Error("Expected power > 0");if(r===Ya)return e.ONE;if(r===Fs)return t;let n=e.ONE,i=t;for(;r>Ya;)r&Fs&&(n=e.mul(n,i)),i=e.sqr(i),r>>=Fs;return n}function lBr(e,t){let r=new Array(t.length),n=t.reduce(((t,n,i)=>e.is0(n)?t:(r[i]=t,e.mul(t,n))),e.ONE),i=e.inv(n);return t.reduceRight(((t,n,i)=>e.is0(n)?t:(r[i]=e.mul(t,r[i]),e.mul(t,n))),i),r}function Xwe(e,t){let r=void 0!==t?t:e.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}function Nbt(e,t,r=!1,n={}){if(e<=Ya)throw new Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:i,nByteLength:o}=Xwe(e,t);if(o>2048)throw new Error("Field lengths over 2048 bytes are not supported");let s=aBr(e),a=Object.freeze({ORDER:e,BITS:i,BYTES:o,MASK:QR(i),ZERO:Ya,ONE:Fs,create:t=>il(t,e),isValid:t=>{if("bigint"!=typeof t)throw new Error("Invalid field element: expected bigint, got "+typeof t);return Ya<=t&&t<e},is0:e=>e===Ya,isOdd:e=>(e&Fs)===Fs,neg:t=>il(-t,e),eql:(e,t)=>e===t,sqr:t=>il(t*t,e),add:(t,r)=>il(t+r,e),sub:(t,r)=>il(t-r,e),mul:(t,r)=>il(t*r,e),pow:(e,t)=>uBr(a,e,t),div:(t,r)=>il(t*NJ(r,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>NJ(t,e),sqrt:n.sqrt||(e=>s(a,e)),invertBatch:e=>lBr(a,e),cmov:(e,t,r)=>r?t:e,toBytes:e=>r?RJ(e,o):Px(e,o),fromBytes:e=>{if(e.length!==o)throw new Error(`Fp.fromBytes: expected ${o}, got ${e.length}`);return r?_J(e):Vb(e)}});return Object.freeze(a)}function Dbt(e){if("bigint"!=typeof e)throw new Error("field order must be bigint");let t=e.toString(2).length;return Math.ceil(t/8)}function Ywe(e){let t=Dbt(e);return t+Math.ceil(t/2)}function Ubt(e,t,r=!1){let n=e.length,i=Dbt(t),o=Ywe(t);if(n<16||n<o||n>1024)throw new Error(`expected ${o}-1024 bytes of input, got ${n}`);let s=il(r?Vb(e):_J(e),t-Fs)+Fs;return r?RJ(s,i):Px(s,i)}var dBr=BigInt(0),Qwe=BigInt(1);function Lbt(e,t){let r=(e,t)=>{let r=t.negate();return e?r:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:r,unsafeLadder(t,r){let n=e.ZERO,i=t;for(;r>dBr;)r&Qwe&&(n=n.add(i)),i=i.double(),r>>=Qwe;return n},precomputeWindow(e,t){let{windows:r,windowSize:i}=n(t),o=[],s=e,a=s;for(let e=0;e<r;e++){a=s,o.push(a);for(let e=1;e<i;e++)a=a.add(s),o.push(a);s=a.double()}return o},wNAF(t,i,o){let{windows:s,windowSize:a}=n(t),c=e.ZERO,u=e.BASE,l=BigInt(2**t-1),d=2**t,h=BigInt(t);for(let e=0;e<s;e++){let t=e*a,n=Number(o&l);o>>=h,n>a&&(n-=d,o+=Qwe);let s=t,f=t+Math.abs(n)-1,p=e%2!=0,g=n<0;0===n?u=u.add(r(p,i[s])):c=c.add(r(g,i[f]))}return{p:c,f:u}},wNAFCached(e,t,r,n){let i=e._WINDOW_SIZE||1,o=t.get(e);return o||(o=this.precomputeWindow(e,i),1!==i&&t.set(e,n(o))),this.wNAF(i,o,r)}}}function Zwe(e){return Jwe(e.Fp),Bx(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...Xwe(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}function hBr(e){let t=Zwe(e);Bx(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:r,Fp:n,a:i}=t;if(r){if(!n.eql(i,n.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof r||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}var{bytesToNumberBE:pBr,hexToBytes:gBr}=Gwe,wT={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:t}=wT;if(e.length<2||2!==e[0])throw new t("Invalid signature integer tag");let r=e[1],n=e.subarray(2,r+2);if(!r||n.length!==r)throw new t("Invalid signature integer: wrong length");if(128&n[0])throw new t("Invalid signature integer: negative");if(0===n[0]&&!(128&n[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:pBr(n),l:e.subarray(r+2)}},toSig(e){let{Err:t}=wT,r="string"==typeof e?gBr(e):e;LC(r);let n=r.length;if(n<2||48!=r[0])throw new t("Invalid signature tag");if(r[1]!==n-2)throw new t("Invalid signature: incorrect length");let{d:i,l:o}=wT._parseInt(r.subarray(2)),{d:s,l:a}=wT._parseInt(o);if(a.length)throw new t("Invalid signature: left bytes after parsing");return{r:i,s:s}},hexFromSig(e){let t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,r=e=>{let t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(r(e.s)),i=t(r(e.r)),o=n.length/2,s=i.length/2,a=r(o),c=r(s);return`30${r(s+o+4)}02${c}${i}02${a}${n}`}},Jb=BigInt(0),e0=BigInt(1),QFn=BigInt(2),Fbt=BigInt(3),ZFn=BigInt(4);function yBr(e){let t=hBr(e),{Fp:r}=t,n=t.toBytes||((e,t,n)=>{let i=t.toAffine();return FC(Uint8Array.from([4]),r.toBytes(i.x),r.toBytes(i.y))}),i=t.fromBytes||(e=>{let t=e.subarray(1);return{x:r.fromBytes(t.subarray(0,r.BYTES)),y:r.fromBytes(t.subarray(r.BYTES,2*r.BYTES))}});function o(e){let{a:n,b:i}=t,o=r.sqr(e),s=r.mul(o,e);return r.add(r.add(s,r.mul(e,n)),i)}if(!r.eql(r.sqr(t.Gy),o(t.Gx)))throw new Error("bad generator point: equation left != right");function s(e){return"bigint"==typeof e&&Jb<e&&e<t.n}function a(e){if(!s(e))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function c(e){let r,{allowedPrivateKeyLengths:n,nByteLength:i,wrapPrivateKey:o,n:s}=t;if(n&&"bigint"!=typeof e){if(Ox(e)&&(e=mT(e)),"string"!=typeof e||!n.includes(e.length))throw new Error("Invalid key");e=e.padStart(2*i,"0")}try{r="bigint"==typeof e?e:Vb(Hd("private key",e,i))}catch{throw new Error(`private key must be ${i} bytes, hex or bigint, not ${typeof e}`)}return o&&(r=il(r,s)),a(r),r}let u=new Map;function l(e){if(!(e instanceof d))throw new Error("ProjectivePoint expected")}class d{constructor(e,t,n){if(this.px=e,this.py=t,this.pz=n,null==e||!r.isValid(e))throw new Error("x required");if(null==t||!r.isValid(t))throw new Error("y required");if(null==n||!r.isValid(n))throw new Error("z required")}static fromAffine(e){let{x:t,y:n}=e||{};if(!e||!r.isValid(t)||!r.isValid(n))throw new Error("invalid affine point");if(e instanceof d)throw new Error("projective point not allowed");let i=e=>r.eql(e,r.ZERO);return i(t)&&i(n)?d.ZERO:new d(t,n,r.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(d.fromAffine)}static fromHex(e){let t=d.fromAffine(i(Hd("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return d.BASE.multiply(c(e))}_setWindowSize(e){this._WINDOW_SIZE=e,u.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!r.is0(this.py))return;throw new Error("bad point: ZERO")}let{x:e,y:n}=this.toAffine();if(!r.isValid(e)||!r.isValid(n))throw new Error("bad point: x or y not FE");let i=r.sqr(n),s=o(e);if(!r.eql(i,s))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:e}=this.toAffine();if(r.isOdd)return!r.isOdd(e);throw new Error("Field doesn't support isOdd")}equals(e){l(e);let{px:t,py:n,pz:i}=this,{px:o,py:s,pz:a}=e,c=r.eql(r.mul(t,a),r.mul(o,i)),u=r.eql(r.mul(n,a),r.mul(s,i));return c&&u}negate(){return new d(this.px,r.neg(this.py),this.pz)}double(){let{a:e,b:n}=t,i=r.mul(n,Fbt),{px:o,py:s,pz:a}=this,c=r.ZERO,u=r.ZERO,l=r.ZERO,h=r.mul(o,o),f=r.mul(s,s),p=r.mul(a,a),g=r.mul(o,s);return g=r.add(g,g),l=r.mul(o,a),l=r.add(l,l),c=r.mul(e,l),u=r.mul(i,p),u=r.add(c,u),c=r.sub(f,u),u=r.add(f,u),u=r.mul(c,u),c=r.mul(g,c),l=r.mul(i,l),p=r.mul(e,p),g=r.sub(h,p),g=r.mul(e,g),g=r.add(g,l),l=r.add(h,h),h=r.add(l,h),h=r.add(h,p),h=r.mul(h,g),u=r.add(u,h),p=r.mul(s,a),p=r.add(p,p),h=r.mul(p,g),c=r.sub(c,h),l=r.mul(p,f),l=r.add(l,l),l=r.add(l,l),new d(c,u,l)}add(e){l(e);let{px:n,py:i,pz:o}=this,{px:s,py:a,pz:c}=e,u=r.ZERO,h=r.ZERO,f=r.ZERO,p=t.a,g=r.mul(t.b,Fbt),y=r.mul(n,s),m=r.mul(i,a),b=r.mul(o,c),w=r.add(n,i),v=r.add(s,a);w=r.mul(w,v),v=r.add(y,m),w=r.sub(w,v),v=r.add(n,o);let A=r.add(s,c);return v=r.mul(v,A),A=r.add(y,b),v=r.sub(v,A),A=r.add(i,o),u=r.add(a,c),A=r.mul(A,u),u=r.add(m,b),A=r.sub(A,u),f=r.mul(p,v),u=r.mul(g,b),f=r.add(u,f),u=r.sub(m,f),f=r.add(m,f),h=r.mul(u,f),m=r.add(y,y),m=r.add(m,y),b=r.mul(p,b),v=r.mul(g,v),m=r.add(m,b),b=r.sub(y,b),b=r.mul(p,b),v=r.add(v,b),y=r.mul(m,v),h=r.add(h,y),y=r.mul(A,v),u=r.mul(w,u),u=r.sub(u,y),y=r.mul(w,m),f=r.mul(A,f),f=r.add(f,y),new d(u,h,f)}subtract(e){return this.add(e.negate())}is0(){return this.equals(d.ZERO)}wNAF(e){return f.wNAFCached(this,u,e,(e=>{let t=r.invertBatch(e.map((e=>e.pz)));return e.map(((e,r)=>e.toAffine(t[r]))).map(d.fromAffine)}))}multiplyUnsafe(e){let n=d.ZERO;if(e===Jb)return n;if(a(e),e===e0)return this;let{endo:i}=t;if(!i)return f.unsafeLadder(this,e);let{k1neg:o,k1:s,k2neg:c,k2:u}=i.splitScalar(e),l=n,h=n,p=this;for(;s>Jb||u>Jb;)s&e0&&(l=l.add(p)),u&e0&&(h=h.add(p)),p=p.double(),s>>=e0,u>>=e0;return o&&(l=l.negate()),c&&(h=h.negate()),h=new d(r.mul(h.px,i.beta),h.py,h.pz),l.add(h)}multiply(e){a(e);let n,i,o=e,{endo:s}=t;if(s){let{k1neg:e,k1:t,k2neg:a,k2:c}=s.splitScalar(o),{p:u,f:l}=this.wNAF(t),{p:h,f:p}=this.wNAF(c);u=f.constTimeNegate(e,u),h=f.constTimeNegate(a,h),h=new d(r.mul(h.px,s.beta),h.py,h.pz),n=u.add(h),i=l.add(p)}else{let{p:e,f:t}=this.wNAF(o);n=e,i=t}return d.normalizeZ([n,i])[0]}multiplyAndAddUnsafe(e,t,r){let n=d.BASE,i=(e,t)=>t!==Jb&&t!==e0&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=i(this,t).add(i(e,r));return o.is0()?void 0:o}toAffine(e){let{px:t,py:n,pz:i}=this,o=this.is0();null==e&&(e=o?r.ONE:r.inv(i));let s=r.mul(t,e),a=r.mul(n,e),c=r.mul(i,e);if(o)return{x:r.ZERO,y:r.ZERO};if(!r.eql(c,r.ONE))throw new Error("invZ was invalid");return{x:s,y:a}}isTorsionFree(){let{h:e,isTorsionFree:r}=t;if(e===e0)return!0;if(r)return r(d,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:r}=t;return e===e0?this:r?r(d,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),n(d,this,e)}toHex(e=!0){return mT(this.toRawBytes(e))}}d.BASE=new d(t.Gx,t.Gy,r.ONE),d.ZERO=new d(r.ZERO,r.ONE,r.ZERO);let h=t.nBitLength,f=Lbt(d,t.endo?Math.ceil(h/2):h);return{CURVE:t,ProjectivePoint:d,normPrivateKeyToScalar:c,weierstrassEquation:o,isWithinCurveOrder:s}}function mBr(e){let t=Zwe(e);return Bx(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function Wbt(e){let t=mBr(e),{Fp:r,n:n}=t,i=r.BYTES+1,o=2*r.BYTES+1;function s(e){return il(e,n)}function a(e){return NJ(e,n)}let{ProjectivePoint:c,normPrivateKeyToScalar:u,weierstrassEquation:l,isWithinCurveOrder:d}=yBr({...t,toBytes(e,t,n){let i=t.toAffine(),o=r.toBytes(i.x),s=FC;return n?s(Uint8Array.from([t.hasEvenY()?2:3]),o):s(Uint8Array.from([4]),o,r.toBytes(i.y))},fromBytes(e){let t=e.length,n=e[0],s=e.subarray(1);if(t!==i||2!==n&&3!==n){if(t===o&&4===n){return{x:r.fromBytes(s.subarray(0,r.BYTES)),y:r.fromBytes(s.subarray(r.BYTES,2*r.BYTES))}}throw new Error(`Point of length ${t} was invalid. Expected ${i} compressed bytes or ${o} uncompressed bytes`)}{let e=Vb(s);if(!function(e){return Jb<e&&e<r.ORDER}(e))throw new Error("Point is not on curve");let t,i=l(e);try{t=r.sqrt(i)}catch(e){let t=e instanceof Error?": "+e.message:"";throw new Error("Point is not on curve"+t)}return!(1&~n)!==((t&e0)===e0)&&(t=r.neg(t)),{x:e,y:t}}}}),h=e=>mT(Px(e,t.nByteLength));function f(e){return e>n>>e0}let p=(e,t,r)=>Vb(e.slice(t,r));class g{constructor(e,t,r){this.r=e,this.s=t,this.recovery=r,this.assertValidity()}static fromCompact(e){let r=t.nByteLength;return e=Hd("compactSignature",e,2*r),new g(p(e,0,r),p(e,r,2*r))}static fromDER(e){let{r:t,s:r}=wT.toSig(Hd("DER",e));return new g(t,r)}assertValidity(){if(!d(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!d(this.s))throw new Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new g(this.r,this.s,e)}recoverPublicKey(e){let{r:n,s:i,recovery:o}=this,u=w(Hd("msgHash",e));if(null==o||![0,1,2,3].includes(o))throw new Error("recovery id invalid");let l=2===o||3===o?n+t.n:n;if(l>=r.ORDER)throw new Error("recovery id 2 or 3 invalid");let d=1&o?"03":"02",f=c.fromHex(d+h(l)),p=a(l),g=s(-u*p),y=s(i*p),m=c.BASE.multiplyAndAddUnsafe(f,g,y);if(!m)throw new Error("point at infinify");return m.assertValidity(),m}hasHighS(){return f(this.s)}normalizeS(){return this.hasHighS()?new g(this.r,s(-this.s),this.recovery):this}toDERRawBytes(){return bT(this.toDERHex())}toDERHex(){return wT.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return bT(this.toCompactHex())}toCompactHex(){return h(this.r)+h(this.s)}}let y={isValidPrivateKey(e){try{return u(e),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let e=Ywe(t.n);return Ubt(t.randomBytes(e),t.n)},precompute:(e=8,t=c.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)};function m(e){let t=Ox(e),r="string"==typeof e,n=(t||r)&&e.length;return t?n===i||n===o:r?n===2*i||n===2*o:e instanceof c}let b=t.bits2int||function(e){let r=Vb(e),n=8*e.length-t.nBitLength;return n>0?r>>BigInt(n):r},w=t.bits2int_modN||function(e){return s(b(e))},v=QR(t.nBitLength);function A(e){if("bigint"!=typeof e)throw new Error("bigint expected");if(!(Jb<=e&&e<v))throw new Error(`bigint expected < 2^${t.nBitLength}`);return Px(e,t.nByteLength)}function E(e,n,i=T){if(["recovered","canonical"].some((e=>e in i)))throw new Error("sign() legacy options not supported");let{hash:o,randomBytes:l}=t,{lowS:h,prehash:p,extraEntropy:y}=i;null==h&&(h=!0),e=Hd("msgHash",e),p&&(e=Hd("prehashed msgHash",o(e)));let m=w(e),v=u(n),E=[A(v),A(m)];if(null!=y&&!1!==y){let e=!0===y?l(r.BYTES):y;E.push(Hd("extraEntropy",e))}let C=FC(...E),S=m;return{seed:C,k2sig:function(e){let t=b(e);if(!d(t))return;let r=a(t),n=c.BASE.multiply(t).toAffine(),i=s(n.x);if(i===Jb)return;let o=s(r*s(S+i*v));if(o===Jb)return;let u=(n.x===i?0:2)|Number(n.y&e0),l=o;return h&&f(o)&&(l=function(e){return f(e)?s(-e):e}(o),u^=1),new g(i,l,u)}}}let T={lowS:t.lowS,prehash:!1},C={lowS:t.lowS,prehash:!1};return c.BASE._setWindowSize(8),{CURVE:t,getPublicKey:function(e,t=!0){return c.fromPrivateKey(e).toRawBytes(t)},getSharedSecret:function(e,t,r=!0){if(m(e))throw new Error("first arg must be private key");if(!m(t))throw new Error("second arg must be public key");return c.fromHex(t).multiply(u(e)).toRawBytes(r)},sign:function(e,r,n=T){let{seed:i,k2sig:o}=E(e,r,n),s=t;return jwe(s.hash.outputLen,s.nByteLength,s.hmac)(i,o)},verify:function(e,r,n,i=C){let o=e;if(r=Hd("msgHash",r),n=Hd("publicKey",n),"strict"in i)throw new Error("options.strict was renamed to lowS");let u,l,{lowS:d,prehash:h}=i;try{if("string"==typeof o||Ox(o))try{u=g.fromDER(o)}catch(e){if(!(e instanceof wT.Err))throw e;u=g.fromCompact(o)}else{if("object"!=typeof o||"bigint"!=typeof o.r||"bigint"!=typeof o.s)throw new Error("PARSE");{let{r:e,s:t}=o;u=new g(e,t)}}l=c.fromHex(n)}catch(e){if("PARSE"===e.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(d&&u.hasHighS())return!1;h&&(r=t.hash(r));let{r:f,s:p}=u,y=w(r),m=a(p),b=s(y*m),v=s(f*m),A=c.BASE.multiplyAndAddUnsafe(l,b,v)?.toAffine();return!!A&&s(A.x)===f},ProjectivePoint:c,Signature:g,utils:y}}function bBr(e){return{hash:e,hmac:(t,...r)=>Kwe(e,t,Ebt(...r)),randomBytes:Sbt}}function zbt(e,t){let r=t=>Wbt({...e,...bBr(t)});return Object.freeze({...r(t),create:r})}var qbt=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Kbt=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),vBr=BigInt(1),$we=BigInt(2),Hbt=(e,t)=>(e+t/$we)/t;function wBr(e){let t=qbt,r=BigInt(3),n=BigInt(6),i=BigInt(11),o=BigInt(22),s=BigInt(23),a=BigInt(44),c=BigInt(88),u=e*e*e%t,l=u*u*e%t,d=qd(l,r,t)*l%t,h=qd(d,r,t)*l%t,f=qd(h,$we,t)*u%t,p=qd(f,i,t)*f%t,g=qd(p,o,t)*p%t,y=qd(g,a,t)*g%t,m=qd(y,c,t)*y%t,b=qd(m,a,t)*g%t,w=qd(b,r,t)*l%t,v=qd(w,s,t)*p%t,A=qd(v,n,t)*u%t,E=qd(A,$we,t);if(!exe.eql(exe.sqr(E),e))throw new Error("Cannot find square root");return E}var exe=Nbt(qbt,void 0,void 0,{sqrt:wBr}),WC=zbt({a:BigInt(0),b:BigInt(7),Fp:exe,n:Kbt,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=Kbt,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-vBr*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),o=r,s=BigInt("0x100000000000000000000000000000000"),a=Hbt(o*e,t),c=Hbt(-n*e,t),u=il(e-a*r-c*i,t),l=il(-a*n-c*o,t),d=u>s,h=l>s;if(d&&(u=t-u),h&&(l=t-l),u>s||l>s)throw new Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:u,k2neg:h,k2:l}}}},Obt),uWn=BigInt(0),lWn=WC.ProjectivePoint;function xBr(e){return eu(qa(e).padStart(64,"0"))}function Ip(e){let t=Oy(e),r=Oy(t).slice(0,4);return r=e.concat(r),Y1e(r)}function G1e(e){if("string"!=typeof e||e.length<=4)return!1;let t=AR(e);if(e.length<=4)return!1;let r=t.length-4,n=t.slice(r);t=t.slice(0,r);let i=Oy(t),o=Oy(i).slice(0,4);if(n[0]==o[0]&&n[1]==o[1]&&n[2]==o[2]&&n[3]==o[3])return t;throw new Error("Invalid address provided")}function ABr(e,t){"string"==typeof e&&(e=eu(e));let r=rxe(eu(t.txID),e);return Array.isArray(t.signature)?t.signature.includes(r)||t.signature.push(r):t.signature=[r],t}function CJ(e,t){e="0x"+e.replace(/^0x/,""),t="0x"+t.replace(/^0x/,"");let r=zf(L1e(e),Rs.from(t));return tu+r.substring(2)}function EBr(e){return btoa(String.fromCharCode(...e))}function TBr(e,t){return"string"==typeof e&&(e=eu(e)),rxe(Oy(t),e)}function SBr(e,t,r,n){let i=`0x${n.replace(/^0x/,"")}`,o=new Ns(i),s=RC.hash(e,t,r),a=o.sign(s);return["0x",a.r.substring(2),a.s.substring(2),Number(a.v).toString(16)].join("")}function CBr(e){let t=Sb(e);return globalThis.proto.protocol.Transaction.deserializeBinary(t).getRawData().serializeBinary()}function txe(){let e=qa(WC.utils.randomPrivateKey());return e=e.padStart(64,"0"),eu(e)}function ZR(e){65===e.length&&(e=e.slice(1));let t=Fr(new Uint8Array(e)).toString().substring(2);return eu(tu+t.substring(24))}function $R(e){return ZR(xT(e))}function IBr(e){let t=AR(e);if(t.length<=4)return!1;let r=t.slice(0,t.length-4),n=Oy(r),i=Oy(n);return i[0]===t[r.length]&&i[1]===t[r.length+1]&&i[2]===t[r.length+2]&&i[3]===t[r.length+3]&&r}function V1e(e){if("string"!=typeof e||e.length!==W1e)return!1;let t=AR(e);if(25!==t.length||t[0]!==z1e)return!1;let r=t.slice(21);t=t.slice(0,21);let n=Oy(t),i=Oy(n).slice(0,4);return r[0]==i[0]&&r[1]==i[1]&&r[2]==i[2]&&r[3]==i[3]}function OBr(e){return Ip(ZR(xT(Sb(e))))}function PBr(e){return qa(ZR(xT(Sb(e))))}function BBr(e){return ek(ZR(xT(Sb(e))))}function xT(e){let t=WC.ProjectivePoint.fromPrivateKey(new Uint8Array(xBr(e))),r=t.x,n=t.y;return eu(`04${r.toString(16).padStart(64,"0")}${n.toString(16).padStart(64,"0")}`)}function rxe(e,t){let r=WC.sign(qa(e),qa(t)),n=r.r.toString(16),i=r.s.toString(16),o=r.recovery+27;return n.padStart(64,"0")+i.padStart(64,"0")+D8(o)}function Oy(e){return eu(ls("0x"+qa(e)).replace(/^0x/,""))}function MBr(e){return Ip($R(Sb(e)))}function hC(e,t=!1){return Ip($R(eu(e,t)))}function Fwe(e,t=!0){return(t?"0x":"")+Fr(P.Buffer.from(e,"utf-8")).toString().substring(2)}var kBr="Invalid tron path provided";function _Br(){let e=txe(),t=xT(e),r=$R(e);return{privateKey:qa(e),publicKey:qa(t),address:{base58:Ip(r),hex:qa(r)}}}function RBr(e="",t=XV,r){let n=Fb.createRandom(e,t,r);return{mnemonic:n.mnemonic,privateKey:n.privateKey,publicKey:n.signingKey.publicKey,address:hC(n.privateKey.replace(/^0x/,"")),path:n.path}}function NBr(e,t=XV,r="",n=null){if(!String(t).match(/^m\/44\'\/195\'/))throw new Error(kBr);let i=Fb.fromMnemonic(jh.fromPhrase(e,r,n),t);return{mnemonic:i.mnemonic,privateKey:i.privateKey,publicKey:i.signingKey.publicKey,address:hC(i.privateKey.replace(/^0x/,""))}}var sxe={};Vr(sxe,{TRON_MESSAGE_PREFIX:()=>jbt,hashMessage:()=>oxe,signMessage:()=>DBr,verifyMessage:()=>UBr}),m();var jbt="TRON Signed Message:\n";function oxe(e){return"string"==typeof e?e=us(e):Array.isArray(e)&&(e=new Uint8Array(e)),Fr(xn([us(jbt),us(String(e.length)),e]))}function DBr(e,t){t.match(/^0x/)||(t="0x"+t);let r=new Ns(t),n=oxe(e),i=r.sign(n);return U1e(i)}function UBr(e,t){return t.match(/^0x/)||(t="0x"+t),Ip(eu(zf(oxe(e),t).replace(/^0x/,tu)))}var LBr={...kve,address:j1e,code:nme,accounts:ixe,base58:Q1e,bytes:tme,crypto:nxe,abi:vwe,message:sxe,_TypedDataEncoder:RC,transaction:Uwe,ethersUtils:F1e},Jt=LBr,Gbt,Vbt,Jbt,Xbt;function WBr(){this.fullnodeVersion="3.5.0"}m(),m(),m(),m(),m(),m(),m(),m(),function(e){e[e.BANDWIDTH=0]="BANDWIDTH",e[e.ENERGY=1]="ENERGY",e[e.TRON_POWER=2]="TRON_POWER"}(Gbt||(Gbt={})),function(e){e.ENOUGH_PERMISSION="ENOUGH_PERMISSION",e.NOT_ENOUGH_PERMISSION="NOT_ENOUGH_PERMISSION",e.SIGNATURE_FORMAT_ERROR="SIGNATURE_FORMAT_ERROR",e.COMPUTE_ADDRESS_ERROR="COMPUTE_ADDRESS_ERROR",e.PERMISSION_ERROR="PERMISSION_ERROR",e.OTHER_ERROR="OTHER_ERROR"}(Vbt||(Vbt={})),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.SIGERROR=1]="SIGERROR",e[e.CONTRACT_VALIDATE_ERROR=2]="CONTRACT_VALIDATE_ERROR",e[e.CONTRACT_EXE_ERROR=3]="CONTRACT_EXE_ERROR",e[e.BANDWITH_ERROR=4]="BANDWITH_ERROR",e[e.DUP_TRANSACTION_ERROR=5]="DUP_TRANSACTION_ERROR",e[e.TAPOS_ERROR=6]="TAPOS_ERROR",e[e.TOO_BIG_TRANSACTION_ERROR=7]="TOO_BIG_TRANSACTION_ERROR",e[e.TRANSACTION_EXPIRATION_ERROR=8]="TRANSACTION_EXPIRATION_ERROR",e[e.SERVER_BUSY=9]="SERVER_BUSY",e[e.NO_CONNECTION=10]="NO_CONNECTION",e[e.NOT_ENOUGH_EFFECTIVE_CONNECTION=11]="NOT_ENOUGH_EFFECTIVE_CONNECTION",e[e.OTHER_ERROR=20]="OTHER_ERROR"}(Jbt||(Jbt={})),function(e){e[e.PENDING=0]="PENDING",e[e.DISAPPROVED=1]="DISAPPROVED",e[e.APPROVED=2]="APPROVED",e[e.CANCELED=3]="CANCELED"}(Xbt||(Xbt={})),m(),hn.prototype.getFullnodeVersion=WBr;var t0=new hn({fullHost:"https://api.trongrid.io",headers:{}}),DJ={ready:!1,get tronWeb(){return!!this.ready&&t0},request:async()=>{}},axe=class extends mf{tronProvider;lastSession=null;_connecting=!1;_readyState=kG.Found;tronLink;tronWeb;constructor(e){super(),this.tronProvider=e,t0.trx.sign=this.sign.bind(this),t0.trx.signMessage=this.signMessage.bind(this),t0.trx.signMessageV2=this.signMessageV2.bind(this),t0.request=this.request.bind(this),DJ.request=t0.request,this.tronLink=DJ,this.tronWeb=t0;try{window.tronLink=DJ,window.tronWeb=t0}catch(e){this.getLogger().error(`Inject tronLink and TronWeb error: ${e.message}`)}this.setTronWebDefaultAddress(),this.setTronLinkReady(),this.emitReadyStateChange()}get name(){return jf.name}get url(){return""}get icon(){return jf.icon}get address(){return this.getAccount()?.address}get readyState(){return this._readyState}get connecting(){return this._connecting}get connected(){return this.tronProvider?.connected||!1}get isConnectAndHasAddress(){return!(!this.address||!this.connected)}createProxy(){return new Proxy(this,bf())}async request(e){let{method:t}=e;return t===bP.TRON_REQUEST_ACCOUNTS?this.handleConnect():this.tronProvider.request(e)}async connect(){return this.handleConnect()}async disconnect(){await this.tronProvider.disconnect(),this.logger.info("disconnect: ",this.lastSession)}async signMessage(e){return this.tronProvider.signMessage(e)}async signMessageV2(e){return this.tronProvider.signMessageV2(e)}async sendRawTransaction(e){return t0.trx.sendRawTransaction(e)}getAccount(){return this.tronProvider.getAccount()}async signTransaction(e){return this.tronProvider.signTransaction(e)}async signAndSendTransaction(e){return this.tronProvider.signAndSendTransaction(e)}async sign(e){return"string"==typeof e?this.signMessage(e):this.signTransaction(e)}async handleConnect(){try{return this.logger.debug("handleTronConnect: ",this.tronProvider.connected),!this.tronProvider.connected&&!this._connecting&&(this._connecting=!0,await this.tronProvider.connect()),this.getLogger().debug("handleTronConnect result: ",this.address),{code:200}}catch(e){return this.getLogger().error(`Requesting accounts error: ${e.message}`),{code:4001}}finally{this._connecting=!1,this.setTronWebDefaultAddress(),this.setTronLinkReady()}}providerCallback(e,t){switch(e){case"connect":this.handleConnectedEvent(t);break;case"session_update":this.sessionUpdateCallback(t);break;case"session_delete":this.sessionDeleteCallback();break;default:this.getLogger().warn(`provider callback not implemented: ${e}`)}}handleConnectedEvent(e){e&&(this.emit("connect",this.address),this.emit("accountsChanged",this.address),this.emit("chainChanged",e?.chains[0]),this.dispatchEvent({action:"connect"}),this.dispatchEvent({action:"accountsChanged",data:{address:this.address||!1}}),this.setTronWebDefaultAddress(),this.setTronLinkReady(),this.lastSession=e)}sessionUpdateCallback(e){this.lastSession?.chains[0]!==e?.chains[0]&&this.emit("chainChanged",e?.chains[0]),this.lastSession?.accounts[0]!==e?.accounts[0]&&(this.emit("accountsChanged",this.address),this.setTronWebDefaultAddress()),this.lastSession=e}sessionDeleteCallback(){this.emit("disconnect"),this.emit("accountsChanged",""),this.emit("chainChanged",null),this.dispatchEvent({action:"disconnect"}),this.lastSession=null}emitReadyStateChange(){this.emit("readyStateChanged",this.readyState)}dispatchEvent(e){window.postMessage({message:e},"*")}setTronWebDefaultAddress(){t0.defaultAddress.base58=!!this.isConnectAndHasAddress&&this.address,t0.defaultAddress.hex=!!this.isConnectAndHasAddress&&t0.address.toHex(this.address)}setTronLinkReady(){DJ.ready=this.isConnectAndHasAddress}},Ybt=axe;m();var Qbt=hi(yg()),cxe=class e extends $l{static provider;client;static initialized=!1;universalProvider;constructor(){super()}get connected(){return this.universalProvider.isConnected}static init(t){return this.initialized||(this.provider=new e,this.provider.setupClient(t),e.initialized=!0),this.provider}setupClient(e){if(this.client)return void this.logger.info("client already initialized");let t=e.getClient();t&&(this.client=new Qbt.OKXTronProvider(t),this.universalProvider=e)}async request(e){return Object.values(bP).includes(e?.method)?Hr(this.universalProvider?.request(e,"tronWeb")):this.handleRpcRequest(e)}async connect(){return Hr(this.universalProvider.connect())}async disconnect(){await Hr(this.universalProvider.disconnect())}getAccount(){if(this.client)return this.client.getAccount(Nx[0]);this.logger.error("client not initialized")}async signMessage(e){if(this.client)return Hr(this.client.signMessage(e,Nx[0]));this.logger.error("client not initialized")}async signMessageV2(e){if(this.client)return Hr(this.client.signMessageV2(e,Nx[0]));this.logger.error("client not initialized")}async signTransaction(e){if(this.client)return Hr(this.client.signTransaction(e,Nx[0]));this.logger.error("client not initialized")}async signAndSendTransaction(e){if(this.client)return Hr(this.client.signAndSendTransaction(e,Nx[0]));this.logger.error("client not initialized")}async handleRpcRequest(e){let{method:t,params:r}=e;if(Object.values(bP).includes(t))return this.logger.error(`Method should not go through RPC request: ${t}`),Promise.reject(new Error("Method not supported"));let n={jsonrpc:"2.0",id:Date.now(),method:t,params:r};return(await fetch("https://api.trongrid.io/jsonrpc",{headers:{accept:"application/json","accept-language":"zh-CN,zh;q=0.9,en;q=0.8","cache-control":"no-cache","content-type":"application/json",pragma:"no-cache","sec-fetch-dest":"empty","sec-fetch-mode":"cors","sec-fetch-site":"none"},referrerPolicy:"strict-origin-when-cross-origin",body:JSON.stringify(n),method:"POST",mode:"cors"})).json()}parseResponse(e){}},Zbt=cxe,zC={appIconUrl:"data:image/png;base64,PHN2ZyB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5MiIgdmlld0JveD0iMCAwIDE5MiAxOTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxjaXJjbGUgb3BhY2l0eT0iMC4xIiBjeD0iOTYiIGN5PSI5NiIgcj0iOTYiIGZpbGw9IiM5MjkyOTIiLz4KPGcgb3BhY2l0eT0iMC4zIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03OS42MDM2IDExOS40MTRIMTA4LjMzQzExMC40OTUgMTE5LjQxNCAxMTIuMjkgMTE3LjYgMTEyLjI5IDExNS40MTRDMTEyLjI5IDExMy4yMjcgMTEwLjQ5NSAxMTEuNDY3IDEwOC4zMyAxMTEuNDY3SDc5LjYwMzZDNzcuND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gODAuMTZDMTMzLjEwOCA4MC4xNiAxMzQuMDgyIDgwLjE0ODggMTM1LjEzNiA4MC4xMzY2Wk0xMzYuNTkyIDcyLjM1MjZDMTMyLjI1MiA3Mi4zNjg2IDEyNy4xMzUgNzIuMzUyNiAxMjMuNDU1IDcyLjMxNTNDMTE3LjYxNCA3Mi4zMTUzIDExMi44MDQgNjcuNDU2NiAxMTIuODA0IDYxLjU1OFY0Ny40OTkzQzExMi44MDQgNDUuMjAwNiAxMTUuNTY1IDQ0LjA1OTMgMTE3LjE0NCA0NS43MThDMTIwLjAwMiA0OC43MTkgMTIzLjkyOSA1Mi44NDQyIDEyNy44MzggNTYuOTUwNkMxMzEuNzM3IDYxLjA0NjggMTM1LjYxOSA2NS4xMjQzIDEzOC40MDQgNjguMDQ4NkMxMzkuOTQ2IDY5LjY2NDYgMTM4LjgxNiA3Mi4zNDczIDEzNi41OTIgNzIuMzUyNloiIGZpbGw9IiM5MjkyOTIiLz4KPC9nPgo8L3N2Zz4K",canInjectProxies:!0,namespaces:{networks:["ethereum","solana","sui","bitcoin","aptos","ton","tronWeb"]},useMini:!0},uxe=class e extends _g{static sdk;static initialized=!1;static options=zC;universalProvider;connectProvider=new Map;providers=new Map;adapters={};logger;constructor(){super(),this.logger=this.initializeLogger(),this.triggerToAdapter=this.triggerToAdapter.bind(this)}get isConnected(){return this.universalProvider?.isConnected||!1}static async init(t=zC){return this.initialized||(this.options={...zC,...t},this.sdk=new e,await this.sdk.initialize(this.options)),this.sdk}getSession(){return this.universalProvider?.getClient()?.session}getSessionConfig(){if(this.universalProvider)return this.universalProvider.getSessionConfig();this.logger.error("OKX Universal Provider not initialized")}setSessionConfig(e){this.universalProvider?this.universalProvider.setSessionConfig(e):this.logger.error("OKX Universal Provider not initialized")}getProxyProviderByNetwork(e){if("bitcoin"===e){let e=this.adapters.bitcoin;return{bitcoin:e?.createProxy("okxwallet.bitcoin"),fractalBitcoin:e?.createProxy("okxwallet.fractalBitcoin")}}return this.providers.get(e)}async getUri(){if(this.universalProvider)return this.universalProvider.isConnected&&await Hr(this.universalProvider.disconnect()),e.options.canInjectProxies&&this.injectProxyProvider(),await this.universalProvider.getUri();this.logger.error("Universal provider is not initialized")}async connectOKXAppWallet(){this.universalProvider?(this.universalProvider.isConnected&&await Hr(this.universalProvider.disconnect()),e.options.canInjectProxies&&this.injectProxyProvider(),await Hr(this.universalProvider.connectOKXAppWallet())):this.logger.error("Universal provider is not initialized")}async connectOKXMiniWallet(){this.universalProvider?(this.universalProvider.isConnected&&await Hr(this.universalProvider.disconnect()),e.options.canInjectProxies&&this.injectProxyProvider(),await Hr(this.universalProvider.connectOKXMiniWallet())):this.logger.error("Universal provider is not initialized")}async connect(){this.universalProvider?(this.logger.debug("Connecting to universal provider"),await Hr(this.universalProvider.connect())):this.logger.error("Universal provider is not initialized")}async getAllAddresses(){if(this.universalProvider)return await this.universalProvider.getAllAddresses();this.logger.error("Universal provider is not initialized")}async disconnect(){this.universalProvider?(await Hr(this.universalProvider.disconnect()),this.removeInjectedProxies()):this.logger.error("OKX Connect SDK not initialized")}removeInjectedProxies(){let e=!1;return this.providers.forEach(((t,r)=>{window[r]&&window[r]===t&&(delete window[r],e=!0)})),e}async request(e,t){if(!this.universalProvider)return void this.logger.error("OKX Universal Provider not initialized");let r=this.providers.get(t||"ethereum");if(!r)throw new Error(`Provider not found for network: ${t}`);if(!r.request)throw new Error("Provider request method not implemented");return this.logger.debug(`sdk - request - ${e.method}: `,r),await r.request(e,t)}getLogger(){return this.logger}async initialize(t){try{await this.setupClient(t),this.setupConnectProvider(t?.namespaces?.networks),this.initAdapters(t),this.createProxyProviders(),e.options.canInjectProxies&&this.injectProxyProvider(),e.initialized=!0}catch(e){throw this.logger.error(`Failed to initialize OKX Connect SDK: ${e}`),e}}async setupClient({appName:e,appIconUrl:t,...r}){this.universalProvider?this.logger.error("SDK already initialized"):(this.universalProvider=Jke.init(),await this.universalProvider.setupClient(e,t,r),await this.universalProvider.subscribe(this.triggerToAdapter))}setupConnectProvider(e=[]){if(!this.universalProvider)return void this.logger.error("OKX Universal Provider not initialized");let t=this.universalProvider.getClient();for(let r of e){let e;switch(qGe[r]){case"universal":e=this.universalProvider;break;case"solana":if(!t)return void this.logger.error("OKX Universal Provider not initialized");e=ltt.init(this.universalProvider);break;case"sui":if(!t)return void this.logger.error("OKX Universal Provider not initialized");e=slt.init(this.universalProvider);break;case"aptos":if(!t)return void this.logger.error("OKX Universal Provider not initialized");e=FGe.init(this.universalProvider);break;case"ton":if(!t)return void this.logger.error("OKX Universal Provider not initialized");e=GZe.init(this.universalProvider);break;case"bitcoin":if(!t)return void this.logger.error("OKX Universal Provider not initialized");e=Yft.init(this.universalProvider);break;case"tron":if(!t)return void this.logger.error("OKX Universal Provider not initialized");e=Zbt.init(this.universalProvider)}this.connectProvider.set(r,e)}}triggerToAdapter(e,t){this.logger.debug(`Triggering to adapter: ${e}: `,t),"connect_error"!==e?"session_connecting"!==e?("connect"===e&&this.emit("connect",t.session),Object.keys(this.adapters).forEach((r=>{let n=this.adapters[r];n&&n.providerCallback&&("connect"===e?n.providerCallback(e,ku(t.session,r)):n.providerCallback(e,ku(t,r)))}))):this.emit("session_connecting"):this.emit("connect_error",t)}initAdapters(t){if(e.initialized)this.logger.error("OKX Connect SDK already initialized");else for(let e of t?.namespaces?.networks||[])switch(e){case"ethereum":this.adapters.ethereum=new HGe(this.connectProvider.get("ethereum"));break;case"solana":this.adapters.solana=new g$e(this.connectProvider.get("solana"));break;case"bitcoin":this.adapters.bitcoin=new alt(this.connectProvider.get("bitcoin"));break;case"sui":this.adapters.sui=new Htt(this.connectProvider.get("sui"));break;case"aptos":this.adapters.aptos=new qZe(this.connectProvider.get("aptos"));break;case"ton":this.adapters.ton=new QZe(this.connectProvider.get("ton"));break;case"tronWeb":this.adapters.tronWeb=new Ybt(this.connectProvider.get("tronWeb"));break;default:this.logger.error(`Unsupported network: ${e}`)}}createProxyProviders(){Object.keys(this.adapters).forEach((e=>{let t=this.adapters[e].createProxy();t&&this.providers.set(e,t)}))}injectProxyProvider(){this.providers.forEach(((e,t)=>{if(e)if("bitcoin"===t){let e=this.adapters.bitcoin;window.okxwallet||Object.defineProperty(window,"okxwallet",{value:{unisat:e?.createProxy("okxwallet.unisat"),bitcoin:e?.createProxy("okxwallet.bitcoin"),fractalBitcoin:e?.createProxy("okxwallet.fractalBitcoin")},writable:!1,configurable:!0}),window.unisat||Object.defineProperty(window,"unisat",{value:e?.createProxy("unisat"),writable:!1,configurable:!0})}else{if(window[t])return;Object.defineProperty(window,t,{value:e,writable:!1,configurable:!0})}}))}initializeLogger(){let e=mh.getInstance();return mh.setLevel(1),e.createScopedLogger("OKXConnectSdk")}},$bt=uxe;m();var evt=()=>{let e=document.querySelector('head > meta[property="og:site_name"]');if(e)return e.content;let t=document.querySelector('head > meta[name="title"]');return t?t.content:document.title&&document.title.length>0?document.title:window.location.hostname},tvt=()=>{let e=document.querySelectorAll('head > link[rel~="icon"]');for(let t=0;t<e.length;t++){let r=e[t];if(r&&r.href)return r.href}return""},so=null,mKn=async e=>{let t=e||zC,r=evt();r&&(t.appName=r);let n=tvt();return n&&(t.appIconUrl=n),(so=await $bt.init(t)).setSessionConfig({useMini:t?.useMini??zC.useMini}),so},bKn=()=>{if(so)return so.getSessionConfig();console.error("OKX Connect SDK not initialized")},vKn=e=>{so?so.setSessionConfig(e):console.error("OKX Connect SDK not initialized")},wKn=async()=>{if(so)return await so.getUri();console.error("OKX Connect SDK not initialized")},xKn=async()=>{if(so)return await so.connectOKXAppWallet();console.error("OKX Connect SDK not initialized")},AKn=async()=>{if(so)return await so.connectOKXMiniWallet();console.error("OKX Connect SDK not initialized")},EKn=async()=>{if(so)return await so.connect();console.error("OKX Connect SDK not initialized")},TKn=async()=>{so?await so.disconnect():console.error("OKX Connect SDK not initialized")},SKn=async(e,t)=>{if(so)return await so.request(e,t);console.error("OKX Connect SDK not initialized")},CKn=()=>{if(so)return so.isConnected?so.getSession():null;console.error("OKX Connect SDK not initialized")},IKn=()=>{if(so)return so.isConnected;console.error("OKX Connect SDK not initialized")},OKn=()=>so,PKn=e=>{if(so)return so.getProxyProviderByNetwork(e);console.error("OKX Connect SDK not initialized")},BKn=async()=>{if(so)return await so.getAllAddresses();console.error("OKX Connect SDK not initialized")};export{Xb as ConnectKitErrorCodes,jl as SupportedNetworks,EKn as connect,xKn as connectOKXAppWallet,AKn as connectOKXMiniWallet,TKn as disconnect,BKn as getAllAddresses,s1t as getAllSupportedChains,bKn as getConfig,OKn as getConnectKit,PKn as getProvider,CKn as getSession,qvt as getSupportWalletList,wKn as getUri,mKn as init,IKn as isConnected,ST as isTelegram,SKn as request,c1t as restoreTGParam,vKn as setConfig};
/*! Bundled license information:

ieee754/index.js:
  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)

buffer/index.js:
  (*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <https://feross.org>
   * @license  MIT
   *)

safe-buffer/index.js:
  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)

localforage/dist/localforage.js:
  (*!
      localForage -- Offline Storage, Improved
      Version 1.10.0
      https://localforage.github.io/localForage
      (c) 2013-2017 Mozilla, Apache License 2.0
  *)

crypto-js/ripemd160.js:
  (** @preserve
  	(c) 2012 by Cédric Mesnil. All rights reserved.
  
  	Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  
  	    - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  	    - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  
  	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  	*)

crypto-js/mode-ctr-gladman.js:
  (** @preserve
   * Counter block mode compatible with  Dr Brian Gladman fileenc.c
   * derived from CryptoJS.mode.CTR
   * Jan Hruby jhruby.web@gmail.com
   *)

@noble/hashes/utils.js:
  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/abstract/utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/abstract/modular.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/abstract/curve.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/abstract/edwards.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/abstract/montgomery.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/ed25519.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/base/lib/index.js:
  (*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/bip39/index.js:
  (*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)

@noble/curves/abstract/weierstrass.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/_shortw_utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/secp256k1.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/bip32/lib/index.js:
  (*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)

@noble/hashes/utils.js:
  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/base/lib/index.js:
  (*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/bip39/index.js:
  (*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)

@solana/buffer-layout/lib/Layout.js:
  (**
   * Support for translating between Uint8Array instances and JavaScript
   * native types.
   *
   * {@link module:Layout~Layout|Layout} is the basis of a class
   * hierarchy that associates property names with sequences of encoded
   * bytes.
   *
   * Layouts are supported for these scalar (numeric) types:
   * * {@link module:Layout~UInt|Unsigned integers in little-endian
   *   format} with {@link module:Layout.u8|8-bit}, {@link
   *   module:Layout.u16|16-bit}, {@link module:Layout.u24|24-bit},
   *   {@link module:Layout.u32|32-bit}, {@link
   *   module:Layout.u40|40-bit}, and {@link module:Layout.u48|48-bit}
   *   representation ranges;
   * * {@link module:Layout~UIntBE|Unsigned integers in big-endian
   *   format} with {@link module:Layout.u16be|16-bit}, {@link
   *   module:Layout.u24be|24-bit}, {@link module:Layout.u32be|32-bit},
   *   {@link module:Layout.u40be|40-bit}, and {@link
   *   module:Layout.u48be|48-bit} representation ranges;
   * * {@link module:Layout~Int|Signed integers in little-endian
   *   format} with {@link module:Layout.s8|8-bit}, {@link
   *   module:Layout.s16|16-bit}, {@link module:Layout.s24|24-bit},
   *   {@link module:Layout.s32|32-bit}, {@link
   *   module:Layout.s40|40-bit}, and {@link module:Layout.s48|48-bit}
   *   representation ranges;
   * * {@link module:Layout~IntBE|Signed integers in big-endian format}
   *   with {@link module:Layout.s16be|16-bit}, {@link
   *   module:Layout.s24be|24-bit}, {@link module:Layout.s32be|32-bit},
   *   {@link module:Layout.s40be|40-bit}, and {@link
   *   module:Layout.s48be|48-bit} representation ranges;
   * * 64-bit integral values that decode to an exact (if magnitude is
   *   less than 2^53) or nearby integral Number in {@link
   *   module:Layout.nu64|unsigned little-endian}, {@link
   *   module:Layout.nu64be|unsigned big-endian}, {@link
   *   module:Layout.ns64|signed little-endian}, and {@link
   *   module:Layout.ns64be|unsigned big-endian} encodings;
   * * 32-bit floating point values with {@link
   *   module:Layout.f32|little-endian} and {@link
   *   module:Layout.f32be|big-endian} representations;
   * * 64-bit floating point values with {@link
   *   module:Layout.f64|little-endian} and {@link
   *   module:Layout.f64be|big-endian} representations;
   * * {@link module:Layout.const|Constants} that take no space in the
   *   encoded expression.
   *
   * and for these aggregate types:
   * * {@link module:Layout.seq|Sequence}s of instances of a {@link
   *   module:Layout~Layout|Layout}, with JavaScript representation as
   *   an Array and constant or data-dependent {@link
   *   module:Layout~Sequence#count|length};
   * * {@link module:Layout.struct|Structure}s that aggregate a
   *   heterogeneous sequence of {@link module:Layout~Layout|Layout}
   *   instances, with JavaScript representation as an Object;
   * * {@link module:Layout.union|Union}s that support multiple {@link
   *   module:Layout~VariantLayout|variant layouts} over a fixed
   *   (padded) or variable (not padded) span of bytes, using an
   *   unsigned integer at the start of the data or a separate {@link
   *   module:Layout.unionLayoutDiscriminator|layout element} to
   *   determine which layout to use when interpreting the buffer
   *   contents;
   * * {@link module:Layout.bits|BitStructure}s that contain a sequence
   *   of individual {@link
   *   module:Layout~BitStructure#addField|BitField}s packed into an 8,
   *   16, 24, or 32-bit unsigned integer starting at the least- or
   *   most-significant bit;
   * * {@link module:Layout.cstr|C strings} of varying length;
   * * {@link module:Layout.blob|Blobs} of fixed- or variable-{@link
   *   module:Layout~Blob#length|length} raw data.
   *
   * All {@link module:Layout~Layout|Layout} instances are immutable
   * after construction, to prevent internal state from becoming
   * inconsistent.
   *
   * @local Layout
   * @local ExternalLayout
   * @local GreedyCount
   * @local OffsetLayout
   * @local UInt
   * @local UIntBE
   * @local Int
   * @local IntBE
   * @local NearUInt64
   * @local NearUInt64BE
   * @local NearInt64
   * @local NearInt64BE
   * @local Float
   * @local FloatBE
   * @local Double
   * @local DoubleBE
   * @local Sequence
   * @local Structure
   * @local UnionDiscriminator
   * @local UnionLayoutDiscriminator
   * @local Union
   * @local VariantLayout
   * @local BitStructure
   * @local BitField
   * @local Boolean
   * @local Blob
   * @local CString
   * @local Constant
   * @local bindConstructorLayout
   * @module Layout
   * @license MIT
   * @author Peter A. Bigot
   * @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub}
   *)

@noble/hashes/esm/utils.js:
  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/base/lib/esm/index.js:
  (*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/bip39/esm/index.js:
  (*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/modular.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/curve.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/edwards.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/ed25519.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/weierstrass.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/_shortw_utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/secp256k1.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@scure/bip32/lib/esm/index.js:
  (*! scure-bip32 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)

@noble/hashes/esm/utils.js:
  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/modular.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/curve.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/weierstrass.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/_shortw_utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/secp256k1.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

aes-js/lib.esm/aes.js:
  (*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. *)

@noble/hashes/esm/utils.js:
  (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/modular.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/curve.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/abstract/weierstrass.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/_shortw_utils.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)

@noble/curves/esm/secp256k1.js:
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
*/
//# sourceMappingURL=/sm/5d3e63091d7983c2d86f8aab949560575d4537afcd1050c646d12a2c8032b0cd.map